[2026-08-21 00:00:12] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0206e7140012d7cf7c005d62998000000ae29..."} 
[2026-08-21 00:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0206e7140012d7cf7c005d62998000000ae29..."} 
[2026-08-21 00:00:12] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0206e7140012d7cf7c005d62998000000ae29..."} 
[2026-08-21 00:00:12] local.INFO: Packet analysis {"connection_id":158990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0206e"} 
[2026-08-21 00:00:12] local.INFO: Extracted packet for processing {"connection_id":158990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0206e"} 
[2026-08-21 00:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763164608,"raw_latitude":97921432,"longitude_deg":76.3164608,"latitude_deg":9.7921432,"altitude":0,"angle":174,"satellites":41,"speed":38,"hex_longitude":"2d7cf7c0","hex_latitude":"05d62998","is_valid_coordinates":true} 
[2026-08-21 00:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536126720001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387410164677869568,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003751211346511872,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787250504000,"timestamp_ms":1787250504000,"timestamp_seconds":1787250504,"priority":1,"record_length":96,"hex_timestamp":"000001a0206e7140"} 
[2026-08-21 00:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536126720001,"66":27300,"29":206,"85":15104,"24":38,"16":387410164677869568,"45":9003751211346511872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-21 00:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536126720001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:00:12] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 00:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387410164677869568,"km_value":387410164677869.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003751211346511872,"description":"Unknown IO ID 45"} 
[2026-08-21 00:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536126720001,"power":27300,"unknown_29":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9003751211346511872}} 
[2026-08-21 00:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":158990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:00:12] local.INFO: GPS data processed {"connection_id":158990,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:00:12] local.INFO: Acknowledgment sent {"connection_id":158990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:00:16] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:00:16] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:00:16] local.INFO: IMEI packet received {"connection_id":161227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":161227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:00:21] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:00:21] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:00:21] local.INFO: IMEI packet received {"connection_id":161227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":161227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:00:22] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0206bb9f0012d196500071ff1280048014a29..."} 
[2026-08-21 00:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0206bb9f0012d196500071ff1280048014a29..."} 
[2026-08-21 00:00:22] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0206bb9f0012d196500071ff1280048014a29..."} 
[2026-08-21 00:00:22] local.INFO: Packet analysis {"connection_id":161227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0206b"} 
[2026-08-21 00:00:22] local.INFO: Extracted packet for processing {"connection_id":161227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0206b"} 
[2026-08-21 00:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536006400001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250326000,"timestamp_ms":1787250326000,"timestamp_seconds":1787250326,"priority":1,"record_length":96,"hex_timestamp":"000001a0206bb9f0"} 
[2026-08-21 00:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536006400001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536006400001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:00:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:00:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536006400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":161227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:00:22] local.INFO: GPS data processed {"connection_id":161227,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:00:22] local.INFO: Acknowledgment sent {"connection_id":161227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:00:27] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:27] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:27] local.INFO: IMEI packet received {"connection_id":159845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":159845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:00:31] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:31] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:31] local.INFO: IMEI packet received {"connection_id":159845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":159845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:00:32] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:32] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:00:32] local.INFO: IMEI packet received {"connection_id":159845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":159845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:00:33] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0206e9850012d7cfb8005d606f0000000ac27..."} 
[2026-08-21 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0206e9850012d7cfb8005d606f0000000ac27..."} 
[2026-08-21 00:00:33] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0206e9850012d7cfb8005d606f0000000ac27..."} 
[2026-08-21 00:00:33] local.INFO: Packet analysis {"connection_id":159845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0206e"} 
[2026-08-21 00:00:33] local.INFO: Extracted packet for processing {"connection_id":159845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0206e"} 
[2026-08-21 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763165568,"raw_latitude":97912560,"longitude_deg":76.3165568,"latitude_deg":9.791256,"altitude":0,"angle":172,"satellites":39,"speed":35,"hex_longitude":"2d7cfb80","hex_latitude":"05d606f0","is_valid_coordinates":true} 
[2026-08-21 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536129024001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387410594174599168,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004877111251015680,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787250514000,"timestamp_ms":1787250514000,"timestamp_seconds":1787250514,"priority":1,"record_length":96,"hex_timestamp":"000001a0206e9850"} 
[2026-08-21 00:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536129024001,"66":27137,"29":206,"85":15104,"24":35,"16":387410594174599168,"45":9004877111251015680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-21 00:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536129024001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:00:33] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 00:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387410594174599168,"km_value":387410594174599.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004877111251015680,"description":"Unknown IO ID 45"} 
[2026-08-21 00:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536129024001,"power":27137,"unknown_29":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9004877111251015680}} 
[2026-08-21 00:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":159845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:00:33] local.INFO: GPS data processed {"connection_id":159845,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:00:33] local.INFO: Acknowledgment sent {"connection_id":159845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:00:53] local.INFO: TCP Data received {"connection_id":161227,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0206bb9f0012d196500071ff1280048014a29..."} 
[2026-08-21 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0206bb9f0012d196500071ff1280048014a29..."} 
[2026-08-21 00:00:53] local.INFO: Processing buffer {"connection_id":161227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0206bb9f0012d196500071ff1280048014a29..."} 
[2026-08-21 00:00:53] local.INFO: Packet analysis {"connection_id":161227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0206b"} 
[2026-08-21 00:00:53] local.INFO: Extracted packet for processing {"connection_id":161227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0206b"} 
[2026-08-21 00:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536006400001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250326000,"timestamp_ms":1787250326000,"timestamp_seconds":1787250326,"priority":1,"record_length":96,"hex_timestamp":"000001a0206bb9f0"} 
[2026-08-21 00:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536006400001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536006400001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:00:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:00:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536006400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:00:54] local.INFO: DEBUG: GPS processor result {"connection_id":161227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:00:54] local.INFO: GPS data processed {"connection_id":161227,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:00:54] local.INFO: Acknowledgment sent {"connection_id":161227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:01:04] local.INFO: TCP Data received {"connection_id":159845,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020700398012d7d43c005d45438000500b22a..."} 
[2026-08-21 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020700398012d7d43c005d45438000500b22a..."} 
[2026-08-21 00:01:05] local.INFO: Processing buffer {"connection_id":159845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020700398012d7d43c005d45438000500b22a..."} 
[2026-08-21 00:01:05] local.INFO: Packet analysis {"connection_id":159845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:05] local.INFO: Extracted packet for processing {"connection_id":159845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97801272,"longitude_deg":76.3184064,"latitude_deg":9.7801272,"altitude":5,"angle":178,"satellites":42,"speed":50,"hex_longitude":"2d7d43c0","hex_latitude":"05d45438","is_valid_coordinates":true} 
[2026-08-21 00:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536153344001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387416100322672640,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024932203313403904,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01: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-08-21 00:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787250607000,"timestamp_ms":1787250607000,"timestamp_seconds":1787250607,"priority":1,"record_length":96,"hex_timestamp":"000001a020700398"} 
[2026-08-21 00:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536153344001,"66":27267,"81":206,"85":15104,"24":50,"16":387416100322672640,"45":9024932203313403904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 00:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536153344001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:01:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 00:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387416100322672640,"km_value":387416100322672.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024932203313403904,"description":"Unknown IO ID 45"} 
[2026-08-21 00:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536153344001,"power":27267,"unknown_81":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9024932203313403904}} 
[2026-08-21 00:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":159845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:01:05] local.INFO: GPS data processed {"connection_id":159845,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:01:05] local.INFO: Acknowledgment sent {"connection_id":159845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:01:16] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:01:16] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:01:16] local.INFO: IMEI packet received {"connection_id":158991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":158991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:01:21] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:01:21] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:01:21] local.INFO: IMEI packet received {"connection_id":158991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":158991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:01:22] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:01:22] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:01:22] local.INFO: Packet analysis {"connection_id":158991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:22] local.INFO: Extracted packet for processing {"connection_id":158991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:01:22] 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-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":158991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:01:22] local.INFO: GPS data processed {"connection_id":158991,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:01:22] local.INFO: Acknowledgment sent {"connection_id":158991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:01:27] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:01:27] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:01:27] local.INFO: IMEI packet received {"connection_id":158704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":158704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:01:32] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:01:32] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:01:32] local.INFO: IMEI packet received {"connection_id":158704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":158704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:01:34] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020701ef0012d7d444005d430f0000700b52a..."} 
[2026-08-21 00:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020701ef0012d7d444005d430f0000700b52a..."} 
[2026-08-21 00:01:34] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020701ef0012d7d444005d430f0000700b52a..."} 
[2026-08-21 00:01:34] local.INFO: Packet analysis {"connection_id":158704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:34] local.INFO: Extracted packet for processing {"connection_id":158704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97792240,"longitude_deg":76.3184192,"latitude_deg":9.779224,"altitude":7,"angle":181,"satellites":42,"speed":51,"hex_longitude":"2d7d4440","hex_latitude":"05d430f0","is_valid_coordinates":true} 
[2026-08-21 00:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536155392001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387416538409336832,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209450264576,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01: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-08-21 00:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787250614000,"timestamp_ms":1787250614000,"timestamp_seconds":1787250614,"priority":1,"record_length":96,"hex_timestamp":"000001a020701ef0"} 
[2026-08-21 00:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536155392001,"66":27321,"81":206,"85":15104,"24":51,"16":387416538409336832,"45":9026269209450264576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 00:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536155392001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:01:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 00:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387416538409336832,"km_value":387416538409336.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209450264576,"description":"Unknown IO ID 45"} 
[2026-08-21 00:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536155392001,"power":27321,"unknown_81":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9026269209450264576}} 
[2026-08-21 00:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":158704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:01:34] local.INFO: GPS data processed {"connection_id":158704,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:01:34] local.INFO: Acknowledgment sent {"connection_id":158704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:01:53] local.INFO: TCP Data received {"connection_id":158991,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:01:53] local.INFO: Processing buffer {"connection_id":158991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:01:53] local.INFO: Packet analysis {"connection_id":158991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:53] local.INFO: Extracted packet for processing {"connection_id":158991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:01:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:01:53] 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-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":158991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:01:53] local.INFO: GPS data processed {"connection_id":158991,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:01:53] local.INFO: Acknowledgment sent {"connection_id":158991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:02:05] local.INFO: TCP Data received {"connection_id":158704,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020703a48012d7d420005d40d88000800b929..."} 
[2026-08-21 00:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020703a48012d7d420005d40d88000800b929..."} 
[2026-08-21 00:02:05] local.INFO: Processing buffer {"connection_id":158704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020703a48012d7d420005d40d88000800b929..."} 
[2026-08-21 00:02:05] local.INFO: Packet analysis {"connection_id":158704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:05] local.INFO: Extracted packet for processing {"connection_id":158704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763183616,"raw_latitude":97783176,"longitude_deg":76.3183616,"latitude_deg":9.7783176,"altitude":8,"angle":185,"satellites":41,"speed":50,"hex_longitude":"2d7d4200","hex_latitude":"05d40d88","is_valid_coordinates":true} 
[2026-08-21 00:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536157184001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387416980790968320,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946936307712,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02: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-08-21 00:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787250621000,"timestamp_ms":1787250621000,"timestamp_seconds":1787250621,"priority":1,"record_length":96,"hex_timestamp":"000001a020703a48"} 
[2026-08-21 00:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:02: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-08-21 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:02: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-08-21 00:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536157184001,"66":27365,"81":206,"85":15104,"24":50,"16":387416980790968320,"45":9026409946936307712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 00:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536157184001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:02:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 00:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387416980790968320,"km_value":387416980790968.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946936307712,"description":"Unknown IO ID 45"} 
[2026-08-21 00:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536157184001,"power":27365,"unknown_81":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9026409946936307712}} 
[2026-08-21 00:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":158704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:02:05] local.INFO: GPS data processed {"connection_id":158704,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:02:05] local.INFO: Acknowledgment sent {"connection_id":158704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:02:17] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:02:17] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:02:17] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:02:21] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:02:21] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:02:21] local.INFO: IMEI packet received {"connection_id":159846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":159846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:02:22] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:02:22] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:02:22] local.INFO: Packet analysis {"connection_id":159846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:22] local.INFO: Extracted packet for processing {"connection_id":159846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:02:22] 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-08-21 00:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:02:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:02:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":159846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:02:22] local.INFO: GPS data processed {"connection_id":159846,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:02:22] local.INFO: Acknowledgment sent {"connection_id":159846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:02:27] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:02:27] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:02:27] local.INFO: IMEI packet received {"connection_id":161228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":161228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:02:32] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:02:32] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:02:32] local.INFO: IMEI packet received {"connection_id":161228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":161228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:02:33] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207055a0012d7d3f4005d3ead0000700b827..."} 
[2026-08-21 00:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207055a0012d7d3f4005d3ead0000700b827..."} 
[2026-08-21 00:02:33] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207055a0012d7d3f4005d3ead0000700b827..."} 
[2026-08-21 00:02:33] local.INFO: Packet analysis {"connection_id":161228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:33] local.INFO: Extracted packet for processing {"connection_id":161228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97774288,"longitude_deg":76.3182912,"latitude_deg":9.7774288,"altitude":7,"angle":184,"satellites":39,"speed":49,"hex_longitude":"2d7d3f40","hex_latitude":"05d3ead0","is_valid_coordinates":true} 
[2026-08-21 00:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536158976001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387417410287697920,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025776628236388352,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787250628000,"timestamp_ms":1787250628000,"timestamp_seconds":1787250628,"priority":1,"record_length":96,"hex_timestamp":"000001a0207055a0"} 
[2026-08-21 00:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 00:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536158976001,"66":27267,"81":206,"85":15104,"24":49,"16":387417410287697920,"45":9025776628236388352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 00:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536158976001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:02:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 00:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387417410287697920,"km_value":387417410287697.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025776628236388352,"description":"Unknown IO ID 45"} 
[2026-08-21 00:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536158976001,"power":27267,"unknown_81":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9025776628236388352}} 
[2026-08-21 00:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":161228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:02:33] local.INFO: GPS data processed {"connection_id":161228,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:02:33] local.INFO: Acknowledgment sent {"connection_id":161228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:02:53] local.INFO: TCP Data received {"connection_id":159846,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:02:53] local.INFO: Processing buffer {"connection_id":159846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:02:53] local.INFO: Packet analysis {"connection_id":159846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:53] local.INFO: Extracted packet for processing {"connection_id":159846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:02:53] 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-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:02:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:02:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":159846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:02:53] local.INFO: GPS data processed {"connection_id":159846,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:02:53] local.INFO: Acknowledgment sent {"connection_id":159846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:03:07] local.INFO: TCP Data received {"connection_id":161228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207074e0012d7d3c0005d3c670000500b828..."} 
[2026-08-21 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207074e0012d7d3c0005d3c670000500b828..."} 
[2026-08-21 00:03:07] local.INFO: Processing buffer {"connection_id":161228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207074e0012d7d3c0005d3c670000500b828..."} 
[2026-08-21 00:03:07] local.INFO: Packet analysis {"connection_id":161228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:03:07] local.INFO: Extracted packet for processing {"connection_id":161228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97764976,"longitude_deg":76.318208,"latitude_deg":9.7764976,"altitude":5,"angle":184,"satellites":40,"speed":40,"hex_longitude":"2d7d3c00","hex_latitude":"05d3c670","is_valid_coordinates":true} 
[2026-08-21 00:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160768001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387417865554231296,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572048158720,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787250636000,"timestamp_ms":1787250636000,"timestamp_seconds":1787250636,"priority":1,"record_length":96,"hex_timestamp":"000001a0207074e0"} 
[2026-08-21 00:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:03: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-08-21 00:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160768001,"66":27267,"81":206,"85":15104,"24":40,"16":387417865554231296,"45":9025002572048158720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 00:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160768001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:03:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 00:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387417865554231296,"km_value":387417865554231.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572048158720,"description":"Unknown IO ID 45"} 
[2026-08-21 00:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160768001,"power":27267,"unknown_81":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9025002572048158720}} 
[2026-08-21 00:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":161228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:03:07] local.INFO: GPS data processed {"connection_id":161228,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:03:07] local.INFO: Acknowledgment sent {"connection_id":161228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:03:16] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:03:16] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:03:16] local.INFO: IMEI packet received {"connection_id":158705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":158705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:03:21] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:03:21] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:03:21] local.INFO: IMEI packet received {"connection_id":158705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":158705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:03:22] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:03:22] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:03:22] local.INFO: Packet analysis {"connection_id":158705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:03:22] local.INFO: Extracted packet for processing {"connection_id":158705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:03:22] 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-08-21 00:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:03:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:03:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":158705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:03:22] local.INFO: GPS data processed {"connection_id":158705,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:03:22] local.INFO: Acknowledgment sent {"connection_id":158705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:03:32] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:03:32] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:03:32] local.INFO: IMEI packet received {"connection_id":158706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":158706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:03:35] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:03:35] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:03:35] local.INFO: IMEI packet received {"connection_id":158706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":158706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:03:36] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020721ac0012d7d438005d285d0000a00bc2b..."} 
[2026-08-21 00:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020721ac0012d7d438005d285d0000a00bc2b..."} 
[2026-08-21 00:03:36] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020721ac0012d7d438005d285d0000a00bc2b..."} 
[2026-08-21 00:03:36] local.INFO: Packet analysis {"connection_id":158706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:03:36] local.INFO: Extracted packet for processing {"connection_id":158706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:03:36] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97682896,"longitude_deg":76.3184,"latitude_deg":9.7682896,"altitude":10,"angle":188,"satellites":43,"speed":15,"hex_longitude":"2d7d4380","hex_latitude":"05d285d0","is_valid_coordinates":true} 
[2026-08-21 00:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536189952001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387421855578849280,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209420161024,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03: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-08-21 00:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787250744000,"timestamp_ms":1787250744000,"timestamp_seconds":1787250744,"priority":1,"record_length":96,"hex_timestamp":"000001a020721ac0"} 
[2026-08-21 00:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536189952001,"66":27300,"117":206,"85":15104,"24":15,"16":387421855578849280,"45":9026269209420161024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-08-21 00:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536189952001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:03:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 00:03:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387421855578849280,"km_value":387421855578849.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209420161024,"description":"Unknown IO ID 45"} 
[2026-08-21 00:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536189952001,"power":27300,"unknown_117":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9026269209420161024}} 
[2026-08-21 00:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":158706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:03:36] local.INFO: GPS data processed {"connection_id":158706,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:03:36] local.INFO: Acknowledgment sent {"connection_id":158706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:03:38] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020725940012d7d3f4005d260f8000b00bc26..."} 
[2026-08-21 00:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020725940012d7d3f4005d260f8000b00bc26..."} 
[2026-08-21 00:03:38] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020725940012d7d3f4005d260f8000b00bc26..."} 
[2026-08-21 00:03:38] local.INFO: Packet analysis {"connection_id":158706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:03:38] local.INFO: Extracted packet for processing {"connection_id":158706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97673464,"longitude_deg":76.3182912,"latitude_deg":9.7673464,"altitude":11,"angle":188,"satellites":38,"speed":29,"hex_longitude":"2d7d3f40","hex_latitude":"05d260f8","is_valid_coordinates":true} 
[2026-08-21 00:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536190464001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387422315140349952,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840675782656,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:38] 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-08-21 00:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787250760000,"timestamp_ms":1787250760000,"timestamp_seconds":1787250760,"priority":1,"record_length":96,"hex_timestamp":"000001a020725940"} 
[2026-08-21 00:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536190464001,"66":27376,"24":29,"85":15104,"16":387422315140349952,"45":9026198840675782656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-08-21 00:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536190464001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387422315140349952,"km_value":387422315140349.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840675782656,"description":"Unknown IO ID 45"} 
[2026-08-21 00:03:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457536190464001,"power":27376,"ignition":29,"unknown_85":15104,"odometer":null,"unknown_45":9026198840675782656}} 
[2026-08-21 00:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":158706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:03:38] local.INFO: GPS data processed {"connection_id":158706,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:03:38] local.INFO: Acknowledgment sent {"connection_id":158706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:03:53] local.INFO: TCP Data received {"connection_id":158705,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:03:53] local.INFO: Processing buffer {"connection_id":158705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:03:53] local.INFO: Packet analysis {"connection_id":158705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:03:53] local.INFO: Extracted packet for processing {"connection_id":158705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:03:53] 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-08-21 00:03:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:03:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:03:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:03:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":158705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:03:53] local.INFO: GPS data processed {"connection_id":158705,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:03:53] local.INFO: Acknowledgment sent {"connection_id":158705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:04:09] local.INFO: TCP Data received {"connection_id":158706,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207297c0012d7d398005d23dc0000900be29..."} 
[2026-08-21 00:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207297c0012d7d398005d23dc0000900be29..."} 
[2026-08-21 00:04:09] local.INFO: Processing buffer {"connection_id":158706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207297c0012d7d398005d23dc0000900be29..."} 
[2026-08-21 00:04:09] local.INFO: Packet analysis {"connection_id":158706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:04:09] local.INFO: Extracted packet for processing {"connection_id":158706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:04:09] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97664448,"longitude_deg":76.318144,"latitude_deg":9.7664448,"altitude":9,"angle":190,"satellites":41,"speed":15,"hex_longitude":"2d7d3980","hex_latitude":"05d23dc0","is_valid_coordinates":true} 
[2026-08-21 00:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536194560001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387422761816948736,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572022347776,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787250776000,"timestamp_ms":1787250776000,"timestamp_seconds":1787250776,"priority":1,"record_length":96,"hex_timestamp":"000001a0207297c0"} 
[2026-08-21 00:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 00:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536194560001,"66":27343,"23":206,"85":15104,"24":15,"16":387422761816948736,"45":9025002572022347776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-21 00:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536194560001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:04:09] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 00:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387422761816948736,"km_value":387422761816948.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572022347776,"description":"Unknown IO ID 45"} 
[2026-08-21 00:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536194560001,"power":27343,"unknown_23":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9025002572022347776}} 
[2026-08-21 00:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":158706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:04:09] local.INFO: GPS data processed {"connection_id":158706,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:04:09] local.INFO: Acknowledgment sent {"connection_id":158706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:04:21] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:04:21] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:04:21] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:04:26] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:04:26] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:04:26] local.INFO: IMEI packet received {"connection_id":159847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":159847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:04:27] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:04:27] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:04:27] local.INFO: Packet analysis {"connection_id":159847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:04:27] local.INFO: Extracted packet for processing {"connection_id":159847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:04:27] 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-08-21 00:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:04:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:04:27] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:04:27] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:04:27] local.INFO: IMEI packet received {"connection_id":161229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":161229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":159847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:04:27] local.INFO: GPS data processed {"connection_id":159847,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:04:27] local.INFO: Acknowledgment sent {"connection_id":159847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:04:31] local.INFO: TCP Data received {"connection_id":159847,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:04:31] local.INFO: Processing buffer {"connection_id":159847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:04:31] local.INFO: Packet analysis {"connection_id":159847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:04:31] local.INFO: Extracted packet for processing {"connection_id":159847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:04:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:04:31] 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-08-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":159847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:04:31] local.INFO: GPS data processed {"connection_id":159847,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:04:31] local.INFO: Acknowledgment sent {"connection_id":159847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:04:32] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:04:32] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:04:32] local.INFO: IMEI packet received {"connection_id":161229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":161229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:04:33] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02072e1f8012d7d334005d21b38000900bf2c..."} 
[2026-08-21 00:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02072e1f8012d7d334005d21b38000900bf2c..."} 
[2026-08-21 00:04:33] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02072e1f8012d7d334005d21b38000900bf2c..."} 
[2026-08-21 00:04:33] local.INFO: Packet analysis {"connection_id":161229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:04:33] local.INFO: Extracted packet for processing {"connection_id":161229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02072"} 
[2026-08-21 00:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":97655608,"longitude_deg":76.317984,"latitude_deg":9.7655608,"altitude":9,"angle":191,"satellites":44,"speed":21,"hex_longitude":"2d7d3340","hex_latitude":"05d21b38","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536198656001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387423195608645632,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090903953408,"note":"Value kept but may cause issues"} 
[2026-08-21 00:04: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-08-21 00:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787250795000,"timestamp_ms":1787250795000,"timestamp_seconds":1787250795,"priority":1,"record_length":96,"hex_timestamp":"000001a02072e1f8"} 
[2026-08-21 00:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00: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-08-21 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536198656001,"66":27267,"23":206,"85":15104,"24":21,"16":387423195608645632,"45":9023384090903953408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-21 00:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536198656001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:04:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 00:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387423195608645632,"km_value":387423195608645.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090903953408,"description":"Unknown IO ID 45"} 
[2026-08-21 00:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536198656001,"power":27267,"unknown_23":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9023384090903953408}} 
[2026-08-21 00:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":161229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:04:33] local.INFO: GPS data processed {"connection_id":161229,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:04:33] local.INFO: Acknowledgment sent {"connection_id":161229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:05:04] local.INFO: TCP Data received {"connection_id":161229,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207318a8012d7d2f8005d1f878000900b42c..."} 
[2026-08-21 00:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207318a8012d7d2f8005d1f878000900b42c..."} 
[2026-08-21 00:05:04] local.INFO: Processing buffer {"connection_id":161229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207318a8012d7d2f8005d1f878000900b42c..."} 
[2026-08-21 00:05:04] local.INFO: Packet analysis {"connection_id":161229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02073"} 
[2026-08-21 00:05:04] local.INFO: Extracted packet for processing {"connection_id":161229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02073"} 
[2026-08-21 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":97646712,"longitude_deg":76.317888,"latitude_deg":9.7646712,"altitude":9,"angle":180,"satellites":44,"speed":29,"hex_longitude":"2d7d2f80","hex_latitude":"05d1f878","is_valid_coordinates":true} 
[2026-08-21 00:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536203520001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387423629400342528,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872297248768,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05: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-08-21 00:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787250809000,"timestamp_ms":1787250809000,"timestamp_seconds":1787250809,"priority":1,"record_length":96,"hex_timestamp":"000001a0207318a8"} 
[2026-08-21 00:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536203520001,"66":27332,"23":206,"85":15104,"24":29,"16":387423629400342528,"45":9021624872297248768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-21 00:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536203520001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:05:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 00:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387423629400342528,"km_value":387423629400342.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872297248768,"description":"Unknown IO ID 45"} 
[2026-08-21 00:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536203520001,"power":27332,"unknown_23":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9021624872297248768}} 
[2026-08-21 00:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":161229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:05:04] local.INFO: GPS data processed {"connection_id":161229,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:05:04] local.INFO: Acknowledgment sent {"connection_id":161229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:05:16] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:05:16] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:05:16] local.INFO: IMEI packet received {"connection_id":159848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":159848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:05:21] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:05:21] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:05:21] local.INFO: IMEI packet received {"connection_id":159848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":159848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:05:22] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:05:22] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:05:22] local.INFO: Packet analysis {"connection_id":159848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:05:22] local.INFO: Extracted packet for processing {"connection_id":159848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:05:22] 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-08-21 00:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":159848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:05:22] local.INFO: GPS data processed {"connection_id":159848,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:05:22] local.INFO: Acknowledgment sent {"connection_id":159848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:05:27] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:27] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:27] local.INFO: IMEI packet received {"connection_id":158992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":158992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:05:28] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:28] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:28] local.INFO: IMEI packet received {"connection_id":158992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":158992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:05:32] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:32] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:05:32] local.INFO: IMEI packet received {"connection_id":158992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":158992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:05:33] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020734788012d7d30c005d1d3f8000b00b02e..."} 
[2026-08-21 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020734788012d7d30c005d1d3f8000b00b02e..."} 
[2026-08-21 00:05:33] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020734788012d7d30c005d1d3f8000b00b02e..."} 
[2026-08-21 00:05:33] local.INFO: Packet analysis {"connection_id":158992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02073"} 
[2026-08-21 00:05:33] local.INFO: Extracted packet for processing {"connection_id":158992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02073"} 
[2026-08-21 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":97637368,"longitude_deg":76.31792,"latitude_deg":9.7637368,"altitude":11,"angle":176,"satellites":46,"speed":31,"hex_longitude":"2d7d30c0","hex_latitude":"05d1d3f8","is_valid_coordinates":true} 
[2026-08-21 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387424084666875904,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341132306432,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05: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-08-21 00:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787250821000,"timestamp_ms":1787250821000,"timestamp_seconds":1787250821,"priority":1,"record_length":96,"hex_timestamp":"000001a020734788"} 
[2026-08-21 00:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 00:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536207104001,"66":27310,"23":206,"85":15104,"24":31,"16":387424084666875904,"45":9020569341132306432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-21 00:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:05:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 00:05:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387424084666875904,"km_value":387424084666875.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341132306432,"description":"Unknown IO ID 45"} 
[2026-08-21 00:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536207104001,"power":27310,"unknown_23":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9020569341132306432}} 
[2026-08-21 00:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":158992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:05:34] local.INFO: GPS data processed {"connection_id":158992,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:05:34] local.INFO: Acknowledgment sent {"connection_id":158992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:05:53] local.INFO: TCP Data received {"connection_id":159848,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:05:53] local.INFO: Processing buffer {"connection_id":159848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207051b8012d196500071ff1280048014a25..."} 
[2026-08-21 00:05:53] local.INFO: Packet analysis {"connection_id":159848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:05:53] local.INFO: Extracted packet for processing {"connection_id":159848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02070"} 
[2026-08-21 00:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536083456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250627000,"timestamp_ms":1787250627000,"timestamp_seconds":1787250627,"priority":1,"record_length":96,"hex_timestamp":"000001a0207051b8"} 
[2026-08-21 00:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:05:53] 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-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536083456001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536083456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536083456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":159848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:05:53] local.INFO: GPS data processed {"connection_id":159848,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:05:53] local.INFO: Acknowledgment sent {"connection_id":159848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:06:04] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020737a50012d7d338005d1af00000c00b22c..."} 
[2026-08-21 00:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020737a50012d7d338005d1af00000c00b22c..."} 
[2026-08-21 00:06:04] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020737a50012d7d338005d1af00000c00b22c..."} 
[2026-08-21 00:06:04] local.INFO: Packet analysis {"connection_id":158992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02073"} 
[2026-08-21 00:06:04] local.INFO: Extracted packet for processing {"connection_id":158992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02073"} 
[2026-08-21 00:06:04] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":97627904,"longitude_deg":76.3179904,"latitude_deg":9.7627904,"altitude":12,"angle":178,"satellites":44,"speed":27,"hex_longitude":"2d7d3380","hex_latitude":"05d1af00","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536210176001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387424544228376576,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184850802688,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06: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-08-21 00:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787250834000,"timestamp_ms":1787250834000,"timestamp_seconds":1787250834,"priority":1,"record_length":96,"hex_timestamp":"000001a020737a50"} 
[2026-08-21 00:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 00:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536210176001,"66":27376,"23":206,"85":15104,"24":27,"16":387424544228376576,"45":9020921184850802688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-08-21 00:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536210176001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:06:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 00:06:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387424544228376576,"km_value":387424544228376.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184850802688,"description":"Unknown IO ID 45"} 
[2026-08-21 00:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536210176001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9020921184850802688}} 
[2026-08-21 00:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":158992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:06:04] local.INFO: GPS data processed {"connection_id":158992,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:06:04] local.INFO: Acknowledgment sent {"connection_id":158992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:06:16] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:06:16] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:06:16] local.INFO: IMEI packet received {"connection_id":159849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":159849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:06:21] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:06:21] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:06:21] local.INFO: IMEI packet received {"connection_id":159849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":159849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:06:22] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:06:22] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:06:22] local.INFO: Packet analysis {"connection_id":159849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:06:22] local.INFO: Extracted packet for processing {"connection_id":159849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:06:22] 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-08-21 00:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:06:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":159849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:06:22] local.INFO: GPS data processed {"connection_id":159849,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:06:22] local.INFO: Acknowledgment sent {"connection_id":159849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:06:45] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:45] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:45] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:06:47] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:47] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:47] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:06:52] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:52] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:06:52] local.INFO: IMEI packet received {"connection_id":159850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":159850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:06:53] local.INFO: TCP Data received {"connection_id":159849,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:06:53] local.INFO: Processing buffer {"connection_id":159849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:06:53] local.INFO: Packet analysis {"connection_id":159849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:06:53] local.INFO: Extracted packet for processing {"connection_id":159849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:06:53] 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-08-21 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":159849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:06:53] local.INFO: GPS data processed {"connection_id":159849,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:06:53] local.INFO: Acknowledgment sent {"connection_id":159849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:06:53] local.INFO: TCP Data received {"connection_id":159850,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e1b0012d7d4a8005d04aa8000b00ae2f..."} 
[2026-08-21 00:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e1b0012d7d4a8005d04aa8000b00ae2f..."} 
[2026-08-21 00:06:53] local.INFO: Processing buffer {"connection_id":159850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e1b0012d7d4a8005d04aa8000b00ae2f..."} 
[2026-08-21 00:06:53] local.INFO: Packet analysis {"connection_id":159850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:06:53] local.INFO: Extracted packet for processing {"connection_id":159850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:06:53] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97536680,"longitude_deg":76.3185792,"latitude_deg":9.753668,"altitude":11,"angle":174,"satellites":47,"speed":40,"hex_longitude":"2d7d4a80","hex_latitude":"05d04aa8","is_valid_coordinates":true} 
[2026-08-21 00:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536234496001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387428985224560640,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027113634315175936,"note":"Value kept but may cause issues"} 
[2026-08-21 00:06:53] 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-08-21 00:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250926000,"timestamp_ms":1787250926000,"timestamp_seconds":1787250926,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e1b0"} 
[2026-08-21 00:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536234496001,"66":26604,"198":206,"85":15104,"24":40,"16":387428985224560640,"45":9027113634315175936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-21 00:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536234496001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387428985224560640,"km_value":387428985224560.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027113634315175936,"description":"Unknown IO ID 45"} 
[2026-08-21 00:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536234496001,"power":26604,"unknown_198":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9027113634315175936}} 
[2026-08-21 00:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":159850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:06:53] local.INFO: GPS data processed {"connection_id":159850,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:06:53] local.INFO: Acknowledgment sent {"connection_id":159850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:07:16] local.INFO: TCP Data received {"connection_id":158707,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:07:16] local.INFO: Processing buffer {"connection_id":158707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:07:16] local.INFO: IMEI packet received {"connection_id":158707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":158707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:07:21] local.INFO: TCP Data received {"connection_id":158707,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:07:21] local.INFO: Processing buffer {"connection_id":158707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:07:21] local.INFO: IMEI packet received {"connection_id":158707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":158707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:07:27] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:07:27] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:07:27] local.INFO: IMEI packet received {"connection_id":158993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":158993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:07:32] local.INFO: TCP Data received {"connection_id":158707,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:07:32] local.INFO: Processing buffer {"connection_id":158707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:07:32] local.INFO: Packet analysis {"connection_id":158707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:07:32] local.INFO: Extracted packet for processing {"connection_id":158707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:07: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-08-21 00:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:07:32] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:07:32] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:07:32] local.INFO: IMEI packet received {"connection_id":158993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":158993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":158707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:07:33] local.INFO: GPS data processed {"connection_id":158707,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:07:33] local.INFO: Acknowledgment sent {"connection_id":158707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:07:33] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207504d8012d7d4d4005d02598000b00b12e..."} 
[2026-08-21 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207504d8012d7d4d4005d02598000b00b12e..."} 
[2026-08-21 00:07:33] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207504d8012d7d4d4005d02598000b00b12e..."} 
[2026-08-21 00:07:33] local.INFO: Packet analysis {"connection_id":158993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02075"} 
[2026-08-21 00:07:33] local.INFO: Extracted packet for processing {"connection_id":158993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02075"} 
[2026-08-21 00:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763186496,"raw_latitude":97527192,"longitude_deg":76.3186496,"latitude_deg":9.7527192,"altitude":11,"angle":177,"satellites":46,"speed":42,"hex_longitude":"2d7d4d40","hex_latitude":"05d02598","is_valid_coordinates":true} 
[2026-08-21 00:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237056001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387429444786061312,"note":"Value kept but may cause issues"} 
[2026-08-21 00:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165475325952,"note":"Value kept but may cause issues"} 
[2026-08-21 00:07:33] 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-08-21 00:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787250935000,"timestamp_ms":1787250935000,"timestamp_seconds":1787250935,"priority":1,"record_length":96,"hex_timestamp":"000001a0207504d8"} 
[2026-08-21 00:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:07: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":103,"n8_eight_byte":236,"data_length":795,"current_offset":136} 
[2026-08-21 00:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2837,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237056001,"66":27343,"198":206,"85":15104,"24":42,"16":387429444786061312,"45":9028169165475325952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-21 00:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237056001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:07:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 00:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387429444786061312,"km_value":387429444786061.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165475325952,"description":"Unknown IO ID 45"} 
[2026-08-21 00:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237056001,"power":27343,"unknown_198":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9028169165475325952}} 
[2026-08-21 00:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":158993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:07:33] local.INFO: GPS data processed {"connection_id":158993,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:07:33] local.INFO: Acknowledgment sent {"connection_id":158993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:08:04] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020752418012d7d4e8005d00228000b00b12f..."} 
[2026-08-21 00:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020752418012d7d4e8005d00228000b00b12f..."} 
[2026-08-21 00:08:04] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020752418012d7d4e8005d00228000b00b12f..."} 
[2026-08-21 00:08:04] local.INFO: Packet analysis {"connection_id":158993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02075"} 
[2026-08-21 00:08:04] local.INFO: Extracted packet for processing {"connection_id":158993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02075"} 
[2026-08-21 00:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763186816,"raw_latitude":97518120,"longitude_deg":76.3186816,"latitude_deg":9.751812,"altitude":11,"angle":177,"satellites":47,"speed":46,"hex_longitude":"2d7d4e80","hex_latitude":"05d00228","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536239360001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387429887167692800,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028943221658851328,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:04] 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-08-21 00:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787250943000,"timestamp_ms":1787250943000,"timestamp_seconds":1787250943,"priority":1,"record_length":96,"hex_timestamp":"000001a020752418"} 
[2026-08-21 00:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536239360001,"66":27463,"198":206,"85":15104,"24":46,"16":387429887167692800,"45":9028943221658851328},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-08-21 00:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536239360001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:08:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 00:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387429887167692800,"km_value":387429887167692.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028943221658851328,"description":"Unknown IO ID 45"} 
[2026-08-21 00:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536239360001,"power":27463,"unknown_198":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9028943221658851328}} 
[2026-08-21 00:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":158993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:08:04] local.INFO: GPS data processed {"connection_id":158993,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:08:04] local.INFO: Acknowledgment sent {"connection_id":158993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:08:21] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:08:21] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:08:21] local.INFO: IMEI packet received {"connection_id":161230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":161230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:08:26] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:08:26] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:08:26] local.INFO: IMEI packet received {"connection_id":161230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":161230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:08:27] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:08:27] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:08:27] local.INFO: Packet analysis {"connection_id":161230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:08:27] local.INFO: Extracted packet for processing {"connection_id":161230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 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-08-21 00:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 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-08-21 00:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 00:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:08:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":161230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:08:27] local.INFO: GPS data processed {"connection_id":161230,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:08:27] local.INFO: Acknowledgment sent {"connection_id":161230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:08:27] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:27] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:27] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:08:28] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:28] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:28] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:08:31] local.INFO: TCP Data received {"connection_id":161230,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:08:31] local.INFO: Processing buffer {"connection_id":161230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:08:31] local.INFO: Packet analysis {"connection_id":161230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:08:31] local.INFO: Extracted packet for processing {"connection_id":161230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":161230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:08:31] local.INFO: GPS data processed {"connection_id":161230,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:08:31] local.INFO: Acknowledgment sent {"connection_id":161230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:08:32] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:32] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:08:32] local.INFO: IMEI packet received {"connection_id":159851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":159851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:08:33] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02076b288012d7d4ac005cea0d8000d00b531..."} 
[2026-08-21 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02076b288012d7d4ac005cea0d8000d00b531..."} 
[2026-08-21 00:08:33] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02076b288012d7d4ac005cea0d8000d00b531..."} 
[2026-08-21 00:08:33] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02076"} 
[2026-08-21 00:08:33] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02076"} 
[2026-08-21 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":763185856,"raw_latitude":97427672,"longitude_deg":76.3185856,"latitude_deg":9.7427672,"altitude":13,"angle":181,"satellites":49,"speed":35,"hex_longitude":"2d7d4ac0","hex_latitude":"05cea0d8","is_valid_coordinates":true} 
[2026-08-21 00:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536264704001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387434276624269312,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028380271682246656,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:33] 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-08-21 00:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251045000,"timestamp_ms":1787251045000,"timestamp_seconds":1787251045,"priority":1,"record_length":96,"hex_timestamp":"000001a02076b288"} 
[2026-08-21 00:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536264704001,"66":27343,"235":206,"85":15104,"24":35,"16":387434276624269312,"45":9028380271682246656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536264704001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:08:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387434276624269312,"km_value":387434276624269.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028380271682246656,"description":"Unknown IO ID 45"} 
[2026-08-21 00:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536264704001,"power":27343,"unknown_235":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9028380271682246656}} 
[2026-08-21 00:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:08:33] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:08:33] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:08:34] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02076d5b0012d7d490005ce7e48000b00b831..."} 
[2026-08-21 00:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02076d5b0012d7d490005ce7e48000b00b831..."} 
[2026-08-21 00:08:34] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02076d5b0012d7d490005ce7e48000b00b831..."} 
[2026-08-21 00:08:34] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02076"} 
[2026-08-21 00:08:34] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02076"} 
[2026-08-21 00:08:34] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97418824,"longitude_deg":76.3185408,"latitude_deg":9.7418824,"altitude":11,"angle":184,"satellites":49,"speed":42,"hex_longitude":"2d7d4900","hex_latitude":"05ce7e48","is_valid_coordinates":true} 
[2026-08-21 00:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536267520001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387434706120998912,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028239534191597568,"note":"Value kept but may cause issues"} 
[2026-08-21 00:08:34] 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-08-21 00:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787251054000,"timestamp_ms":1787251054000,"timestamp_seconds":1787251054,"priority":1,"record_length":96,"hex_timestamp":"000001a02076d5b0"} 
[2026-08-21 00:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:08: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-08-21 00:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536267520001,"66":27397,"235":206,"85":15104,"24":42,"16":387434706120998912,"45":9028239534191597568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536267520001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:08:34] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:08:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387434706120998912,"km_value":387434706120998.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028239534191597568,"description":"Unknown IO ID 45"} 
[2026-08-21 00:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536267520001,"power":27397,"unknown_235":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9028239534191597568}} 
[2026-08-21 00:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:08:34] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:08:34] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:09:05] local.INFO: TCP Data received {"connection_id":159851,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02076f4f0012d7d460005ce5ac0000a00b931..."} 
[2026-08-21 00:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02076f4f0012d7d460005ce5ac0000a00b931..."} 
[2026-08-21 00:09:05] local.INFO: Processing buffer {"connection_id":159851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02076f4f0012d7d460005ce5ac0000a00b931..."} 
[2026-08-21 00:09:05] local.INFO: Packet analysis {"connection_id":159851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02076"} 
[2026-08-21 00:09:05] local.INFO: Extracted packet for processing {"connection_id":159851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02076"} 
[2026-08-21 00:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97409728,"longitude_deg":76.318464,"latitude_deg":9.7409728,"altitude":10,"angle":185,"satellites":49,"speed":47,"hex_longitude":"2d7d4600","hex_latitude":"05ce5ac0","is_valid_coordinates":true} 
[2026-08-21 00:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536269824001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387435152797597696,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952980088832,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787251062000,"timestamp_ms":1787251062000,"timestamp_seconds":1787251062,"priority":1,"record_length":96,"hex_timestamp":"000001a02076f4f0"} 
[2026-08-21 00:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:09: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-08-21 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 00:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536269824001,"66":27332,"235":206,"85":15104,"24":47,"16":387435152797597696,"45":9027746952980088832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536269824001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:09:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387435152797597696,"km_value":387435152797597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952980088832,"description":"Unknown IO ID 45"} 
[2026-08-21 00:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536269824001,"power":27332,"unknown_235":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9027746952980088832}} 
[2026-08-21 00:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":159851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:09:05] local.INFO: GPS data processed {"connection_id":159851,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:09:05] local.INFO: Acknowledgment sent {"connection_id":159851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:09:16] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:09:16] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:09:16] local.INFO: IMEI packet received {"connection_id":161231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":161231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:09:21] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:09:21] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:09:21] local.INFO: IMEI packet received {"connection_id":161231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":161231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:09:22] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:09:22] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:09:22] local.INFO: Packet analysis {"connection_id":161231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:09:22] local.INFO: Extracted packet for processing {"connection_id":161231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:09:22] 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-08-21 00:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:09:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":161231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:09:22] local.INFO: GPS data processed {"connection_id":161231,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:09:22] local.INFO: Acknowledgment sent {"connection_id":161231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:09:27] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:09:27] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:09:27] local.INFO: IMEI packet received {"connection_id":158708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":158708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:09:30] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:09:30] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:09:30] local.INFO: IMEI packet received {"connection_id":158708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":158708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:09:31] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020771430012d7d43c005ce36f0000a00b931..."} 
[2026-08-21 00:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020771430012d7d43c005ce36f0000a00b931..."} 
[2026-08-21 00:09:31] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020771430012d7d43c005ce36f0000a00b931..."} 
[2026-08-21 00:09:31] local.INFO: Packet analysis {"connection_id":158708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02077"} 
[2026-08-21 00:09:31] local.INFO: Extracted packet for processing {"connection_id":158708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02077"} 
[2026-08-21 00:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":97400560,"longitude_deg":76.3184064,"latitude_deg":9.740056,"altitude":10,"angle":185,"satellites":49,"speed":43,"hex_longitude":"2d7d43c0","hex_latitude":"05ce36f0","is_valid_coordinates":true} 
[2026-08-21 00:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536271872001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387435595179229184,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528047628288,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09: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-08-21 00:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787251070000,"timestamp_ms":1787251070000,"timestamp_seconds":1787251070,"priority":1,"record_length":96,"hex_timestamp":"000001a020771430"} 
[2026-08-21 00:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 00:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536271872001,"66":27267,"235":206,"85":15104,"24":43,"16":387435595179229184,"45":9026902528047628288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536271872001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:09:31] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387435595179229184,"km_value":387435595179229.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528047628288,"description":"Unknown IO ID 45"} 
[2026-08-21 00:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536271872001,"power":27267,"unknown_235":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9026902528047628288}} 
[2026-08-21 00:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":158708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:09:31] local.INFO: GPS data processed {"connection_id":158708,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:09:31] local.INFO: Acknowledgment sent {"connection_id":158708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:09:56] local.INFO: TCP Data received {"connection_id":161231,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:09:56] local.INFO: Processing buffer {"connection_id":161231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:09:56] local.INFO: Packet analysis {"connection_id":161231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:09:56] local.INFO: Extracted packet for processing {"connection_id":161231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:09:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:09:56] 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-08-21 00:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":161231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:09:56] local.INFO: GPS data processed {"connection_id":161231,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:09:56] local.INFO: Acknowledgment sent {"connection_id":161231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:10:02] local.INFO: TCP Data received {"connection_id":158708,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207727b8012d7d428005ce23d8000b00ac31..."} 
[2026-08-21 00:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207727b8012d7d428005ce23d8000b00ac31..."} 
[2026-08-21 00:10:02] local.INFO: Processing buffer {"connection_id":158708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207727b8012d7d428005ce23d8000b00ac31..."} 
[2026-08-21 00:10:02] local.INFO: Packet analysis {"connection_id":158708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02077"} 
[2026-08-21 00:10:02] local.INFO: Extracted packet for processing {"connection_id":158708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02077"} 
[2026-08-21 00:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97395672,"longitude_deg":76.3183744,"latitude_deg":9.7395672,"altitude":11,"angle":172,"satellites":49,"speed":31,"hex_longitude":"2d7d4280","hex_latitude":"05ce23d8","is_valid_coordinates":true} 
[2026-08-21 00:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536273920001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387435835697397760,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209347682304,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:02] 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-08-21 00:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787251075000,"timestamp_ms":1787251075000,"timestamp_seconds":1787251075,"priority":1,"record_length":96,"hex_timestamp":"000001a0207727b8"} 
[2026-08-21 00:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536273920001,"66":27397,"235":206,"85":15104,"24":31,"16":387435835697397760,"45":9026269209347682304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536273920001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:10:02] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387435835697397760,"km_value":387435835697397.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209347682304,"description":"Unknown IO ID 45"} 
[2026-08-21 00:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536273920001,"power":27397,"unknown_235":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9026269209347682304}} 
[2026-08-21 00:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":158708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":672999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:10:02] local.INFO: GPS data processed {"connection_id":158708,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:10:02] local.INFO: Acknowledgment sent {"connection_id":158708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:10:16] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:10:16] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:10:16] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:10:21] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:10:21] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:10:21] local.INFO: IMEI packet received {"connection_id":159852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":159852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:10:22] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:10:22] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:10:22] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:10:22] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:10:22] 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-08-21 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:10:22] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:10:22] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:10:27] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:10:27] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:10:27] local.INFO: IMEI packet received {"connection_id":158709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":158709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:10:32] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:10:32] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:10:32] local.INFO: IMEI packet received {"connection_id":158709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":158709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:10:33] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020774ae0012d7d448005ce09f8000b00b931..."} 
[2026-08-21 00:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020774ae0012d7d448005ce09f8000b00b931..."} 
[2026-08-21 00:10:33] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020774ae0012d7d448005ce09f8000b00b931..."} 
[2026-08-21 00:10:33] local.INFO: Packet analysis {"connection_id":158709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02077"} 
[2026-08-21 00:10:33] local.INFO: Extracted packet for processing {"connection_id":158709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02077"} 
[2026-08-21 00:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763184256,"raw_latitude":97389048,"longitude_deg":76.3184256,"latitude_deg":9.7389048,"altitude":11,"angle":185,"satellites":49,"speed":28,"hex_longitude":"2d7d4480","hex_latitude":"05ce09f8","is_valid_coordinates":true} 
[2026-08-21 00:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536275200001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387436157819944960,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365625542656,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:33] 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-08-21 00:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251084000,"timestamp_ms":1787251084000,"timestamp_seconds":1787251084,"priority":1,"record_length":96,"hex_timestamp":"000001a020774ae0"} 
[2026-08-21 00:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 00:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536275200001,"66":27267,"235":206,"85":15104,"24":28,"16":387436157819944960,"45":9025917365625542656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536275200001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:10:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387436157819944960,"km_value":387436157819944.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365625542656,"description":"Unknown IO ID 45"} 
[2026-08-21 00:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536275200001,"power":27267,"unknown_235":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9025917365625542656}} 
[2026-08-21 00:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":158709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:10:33] local.INFO: GPS data processed {"connection_id":158709,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:10:33] local.INFO: Acknowledgment sent {"connection_id":158709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:10:53] local.INFO: TCP Data received {"connection_id":159852,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:10:53] local.INFO: Processing buffer {"connection_id":159852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02074e980012d196500071ff1280048014a27..."} 
[2026-08-21 00:10:53] local.INFO: Packet analysis {"connection_id":159852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:10:53] local.INFO: Extracted packet for processing {"connection_id":159852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02074"} 
[2026-08-21 00:10:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:10:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536160512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787250928000,"timestamp_ms":1787250928000,"timestamp_seconds":1787250928,"priority":1,"record_length":96,"hex_timestamp":"000001a02074e980"} 
[2026-08-21 00:10:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:10:53] 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-08-21 00: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 00:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:10:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:10:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536160512001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536160512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:10:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:10:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536160512001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":159852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:10:53] local.INFO: GPS data processed {"connection_id":159852,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:10:53] local.INFO: Acknowledgment sent {"connection_id":159852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:11:04] local.INFO: TCP Data received {"connection_id":158709,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020790448012d7d554005cc5480000b00ba31..."} 
[2026-08-21 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020790448012d7d554005cc5480000b00ba31..."} 
[2026-08-21 00:11:04] local.INFO: Processing buffer {"connection_id":158709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020790448012d7d554005cc5480000b00ba31..."} 
[2026-08-21 00:11:04] local.INFO: Packet analysis {"connection_id":158709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:04] local.INFO: Extracted packet for processing {"connection_id":158709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763188544,"raw_latitude":97277056,"longitude_deg":76.3188544,"latitude_deg":9.7277056,"altitude":11,"angle":186,"satellites":49,"speed":34,"hex_longitude":"2d7d5540","hex_latitude":"05cc5480","is_valid_coordinates":true} 
[2026-08-21 00:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536303872001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387441603838476288,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032180183829288960,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:04] 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-08-21 00:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787251197000,"timestamp_ms":1787251197000,"timestamp_seconds":1787251197,"priority":1,"record_length":96,"hex_timestamp":"000001a020790448"} 
[2026-08-21 00:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 00:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536303872001,"66":27343,"129":206,"85":15104,"24":34,"16":387441603838476288,"45":9032180183829288960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-21 00:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536303872001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:11:04] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 00:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387441603838476288,"km_value":387441603838476.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032180183829288960,"description":"Unknown IO ID 45"} 
[2026-08-21 00:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536303872001,"power":27343,"unknown_129":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9032180183829288960}} 
[2026-08-21 00:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":158709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:11:04] local.INFO: GPS data processed {"connection_id":158709,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:11:04] local.INFO: Acknowledgment sent {"connection_id":158709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:11:16] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:11:16] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:11:16] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:11:21] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:11:21] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:11:21] local.INFO: IMEI packet received {"connection_id":159853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":159853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:11:22] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:11:22] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:11:22] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:22] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:11:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:11:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:11:22] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:11:22] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:11:33] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:33] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:33] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:11:33] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:33] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:33] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:11:37] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:37] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:11:37] local.INFO: IMEI packet received {"connection_id":159854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":159854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:11:38] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020792770012d7d504005cc3828000b00c82f..."} 
[2026-08-21 00:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020792770012d7d504005cc3828000b00c82f..."} 
[2026-08-21 00:11:38] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020792770012d7d504005cc3828000b00c82f..."} 
[2026-08-21 00:11:38] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:38] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763187264,"raw_latitude":97269800,"longitude_deg":76.3187264,"latitude_deg":9.72698,"altitude":11,"angle":200,"satellites":47,"speed":23,"hex_longitude":"2d7d5040","hex_latitude":"05cc3828","is_valid_coordinates":true} 
[2026-08-21 00:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536306432001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387441964615729152,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9031195021408501760,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:38] 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-08-21 00:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787251206000,"timestamp_ms":1787251206000,"timestamp_seconds":1787251206,"priority":1,"record_length":96,"hex_timestamp":"000001a020792770"} 
[2026-08-21 00:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536306432001,"66":27321,"129":206,"85":15104,"24":23,"16":387441964615729152,"45":9031195021408501760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-21 00:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536306432001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:11:38] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 00:11:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387441964615729152,"km_value":387441964615729.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9031195021408501760,"description":"Unknown IO ID 45"} 
[2026-08-21 00:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536306432001,"power":27321,"unknown_129":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9031195021408501760}} 
[2026-08-21 00:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:11:38] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:11:38] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:11:53] local.INFO: TCP Data received {"connection_id":159853,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:11:53] local.INFO: Processing buffer {"connection_id":159853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:11:53] local.INFO: Packet analysis {"connection_id":159853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:53] local.INFO: Extracted packet for processing {"connection_id":159853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:11:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:11:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":159853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:11:53] local.INFO: GPS data processed {"connection_id":159853,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:11:53] local.INFO: Acknowledgment sent {"connection_id":159853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:12:10] local.INFO: TCP Data received {"connection_id":159854,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020795650012d7d490005cc2540000b00bd31..."} 
[2026-08-21 00:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020795650012d7d490005cc2540000b00bd31..."} 
[2026-08-21 00:12:10] local.INFO: Processing buffer {"connection_id":159854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020795650012d7d490005cc2540000b00bd31..."} 
[2026-08-21 00:12:10] local.INFO: Packet analysis {"connection_id":159854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:10] local.INFO: Extracted packet for processing {"connection_id":159854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":97264960,"longitude_deg":76.3185408,"latitude_deg":9.726496,"altitude":11,"angle":189,"satellites":49,"speed":20,"hex_longitude":"2d7d4900","hex_latitude":"05cc2540","is_valid_coordinates":true} 
[2026-08-21 00:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536308736001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387442213723832320,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029787646523090944,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787251218000,"timestamp_ms":1787251218000,"timestamp_seconds":1787251218,"priority":1,"record_length":96,"hex_timestamp":"000001a020795650"} 
[2026-08-21 00:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536308736001,"66":27289,"129":206,"85":15104,"24":20,"16":387442213723832320,"45":9029787646523090944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-21 00:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536308736001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:12:10] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 00:12:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387442213723832320,"km_value":387442213723832.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029787646523090944,"description":"Unknown IO ID 45"} 
[2026-08-21 00:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536308736001,"power":27289,"unknown_129":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9029787646523090944}} 
[2026-08-21 00:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":159854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:12:10] local.INFO: GPS data processed {"connection_id":159854,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:12:10] local.INFO: Acknowledgment sent {"connection_id":159854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:12:21] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:12:21] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:12:21] local.INFO: IMEI packet received {"connection_id":161232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":161232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:12:26] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:12:26] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:12:26] local.INFO: IMEI packet received {"connection_id":161232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":161232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:12:27] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:12:27] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:12:27] local.INFO: Packet analysis {"connection_id":161232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:27] local.INFO: Extracted packet for processing {"connection_id":161232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:12:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":161232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:12:27] local.INFO: GPS data processed {"connection_id":161232,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:12:27] local.INFO: Acknowledgment sent {"connection_id":161232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:12:31] local.INFO: TCP Data received {"connection_id":161232,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:12:31] local.INFO: Processing buffer {"connection_id":161232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:12:31] local.INFO: Packet analysis {"connection_id":161232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:31] local.INFO: Extracted packet for processing {"connection_id":161232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":161232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:12:31] local.INFO: GPS data processed {"connection_id":161232,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:12:31] local.INFO: Acknowledgment sent {"connection_id":161232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:12:32] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:12:32] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:12:32] local.INFO: IMEI packet received {"connection_id":161233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":161233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:12:36] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:12:36] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:12:36] local.INFO: IMEI packet received {"connection_id":161233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":161233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:12:37] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207990e8012d7d438005cc02e8000c00bd31..."} 
[2026-08-21 00:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207990e8012d7d438005cc02e8000c00bd31..."} 
[2026-08-21 00:12:37] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207990e8012d7d438005cc02e8000c00bd31..."} 
[2026-08-21 00:12:37] local.INFO: Packet analysis {"connection_id":161233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:37] local.INFO: Extracted packet for processing {"connection_id":161233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97256168,"longitude_deg":76.3184,"latitude_deg":9.7256168,"altitude":12,"angle":189,"satellites":49,"speed":27,"hex_longitude":"2d7d4380","hex_latitude":"05cc02e8","is_valid_coordinates":true} 
[2026-08-21 00:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536311808001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387442647515529216,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952940699648,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:37] 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-08-21 00:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787251233000,"timestamp_ms":1787251233000,"timestamp_seconds":1787251233,"priority":1,"record_length":96,"hex_timestamp":"000001a0207990e8"} 
[2026-08-21 00:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 00:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536311808001,"66":27397,"129":206,"85":15104,"24":27,"16":387442647515529216,"45":9027746952940699648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-08-21 00:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536311808001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:12:37] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 00:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387442647515529216,"km_value":387442647515529.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952940699648,"description":"Unknown IO ID 45"} 
[2026-08-21 00:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536311808001,"power":27397,"unknown_129":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9027746952940699648}} 
[2026-08-21 00:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":161233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:12:37] local.INFO: GPS data processed {"connection_id":161233,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:12:37] local.INFO: Acknowledgment sent {"connection_id":161233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:12:39] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02079e2f0012d7d394005cbc830000e00bb31..."} 
[2026-08-21 00:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02079e2f0012d7d394005cbc830000e00bb31..."} 
[2026-08-21 00:12:39] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02079e2f0012d7d394005cbc830000e00bb31..."} 
[2026-08-21 00:12:39] local.INFO: Packet analysis {"connection_id":161233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:39] local.INFO: Extracted packet for processing {"connection_id":161233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":97241136,"longitude_deg":76.3181376,"latitude_deg":9.7241136,"altitude":14,"angle":187,"satellites":49,"speed":30,"hex_longitude":"2d7d3940","hex_latitude":"05cbc830","is_valid_coordinates":true} 
[2026-08-21 00:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536315648001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387443008292782080,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840566540288,"note":"Value kept but may cause issues"} 
[2026-08-21 00:12:39] 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-08-21 00:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787251254000,"timestamp_ms":1787251254000,"timestamp_seconds":1787251254,"priority":1,"record_length":96,"hex_timestamp":"000001a02079e2f0"} 
[2026-08-21 00:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 00:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536315648001,"66":27321,"130":206,"85":15104,"24":30,"16":387443008292782080,"45":9026198840566540288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,85,24,16,45]} 
[2026-08-21 00:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536315648001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:12:39] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-08-21 00:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387443008292782080,"km_value":387443008292782.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840566540288,"description":"Unknown IO ID 45"} 
[2026-08-21 00:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536315648001,"power":27321,"unknown_130":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9026198840566540288}} 
[2026-08-21 00:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":161233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:12:39] local.INFO: GPS data processed {"connection_id":161233,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:12:39] local.INFO: Acknowledgment sent {"connection_id":161233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:13:10] local.INFO: TCP Data received {"connection_id":161233,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207a15b8012d7d358005cba370000f00b92e..."} 
[2026-08-21 00:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207a15b8012d7d358005cba370000f00b92e..."} 
[2026-08-21 00:13:10] local.INFO: Processing buffer {"connection_id":161233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207a15b8012d7d358005cba370000f00b92e..."} 
[2026-08-21 00:13:10] local.INFO: Packet analysis {"connection_id":161233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207a"} 
[2026-08-21 00:13:10] local.INFO: Extracted packet for processing {"connection_id":161233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207a"} 
[2026-08-21 00:13:10] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":97231728,"longitude_deg":76.3180416,"latitude_deg":9.7231728,"altitude":15,"angle":185,"satellites":46,"speed":31,"hex_longitude":"2d7d3580","hex_latitude":"05cba370","is_valid_coordinates":true} 
[2026-08-21 00:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536321024001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387443467854282752,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722051407872,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13: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-08-21 00:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787251267000,"timestamp_ms":1787251267000,"timestamp_seconds":1787251267,"priority":1,"record_length":96,"hex_timestamp":"000001a0207a15b8"} 
[2026-08-21 00:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536321024001,"66":27321,"131":206,"85":15104,"24":31,"16":387443467854282752,"45":9023313722051407872},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-21 00:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536321024001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:13:10] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-21 00:13:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387443467854282752,"km_value":387443467854282.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722051407872,"description":"Unknown IO ID 45"} 
[2026-08-21 00:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536321024001,"power":27321,"unknown_131":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9023313722051407872}} 
[2026-08-21 00:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":161233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:13:10] local.INFO: GPS data processed {"connection_id":161233,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:13:10] local.INFO: Acknowledgment sent {"connection_id":161233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:13:16] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:13:16] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:13:16] local.INFO: IMEI packet received {"connection_id":161234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":161234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:13:21] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:13:21] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:13:21] local.INFO: IMEI packet received {"connection_id":161234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":161234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:13:22] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:13:22] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:13:22] local.INFO: Packet analysis {"connection_id":161234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:13:22] local.INFO: Extracted packet for processing {"connection_id":161234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:13:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":161234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:13:22] local.INFO: GPS data processed {"connection_id":161234,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:13:22] local.INFO: Acknowledgment sent {"connection_id":161234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:13:32] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:13:32] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:13:32] local.INFO: IMEI packet received {"connection_id":158994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":158994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:13:38] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:13:38] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:13:38] local.INFO: IMEI packet received {"connection_id":158994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":158994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:13:40] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207a4498012d7d31c005cb7e40000c00b730..."} 
[2026-08-21 00:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207a4498012d7d31c005cb7e40000c00b730..."} 
[2026-08-21 00:13:40] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207a4498012d7d31c005cb7e40000c00b730..."} 
[2026-08-21 00:13:40] local.INFO: Packet analysis {"connection_id":158994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207a"} 
[2026-08-21 00:13:40] local.INFO: Extracted packet for processing {"connection_id":158994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207a"} 
[2026-08-21 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":97222208,"longitude_deg":76.3179456,"latitude_deg":9.7222208,"altitude":12,"angle":183,"satellites":48,"speed":32,"hex_longitude":"2d7d31c0","hex_latitude":"05cb7e40","is_valid_coordinates":true} 
[2026-08-21 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536324352001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387443931710750720,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022258190886334464,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:40] 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-08-21 00:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787251279000,"timestamp_ms":1787251279000,"timestamp_seconds":1787251279,"priority":1,"record_length":96,"hex_timestamp":"000001a0207a4498"} 
[2026-08-21 00:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536324352001,"66":27376,"131":206,"85":15104,"24":32,"16":387443931710750720,"45":9022258190886334464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-21 00:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536324352001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:13:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-21 00:13:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387443931710750720,"km_value":387443931710750.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022258190886334464,"description":"Unknown IO ID 45"} 
[2026-08-21 00:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536324352001,"power":27376,"unknown_131":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9022258190886334464}} 
[2026-08-21 00:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":158994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:13:40] local.INFO: GPS data processed {"connection_id":158994,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:13:40] local.INFO: Acknowledgment sent {"connection_id":158994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:13:50] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207a6f90012d7d2f4005cb5af8000a00b830..."} 
[2026-08-21 00:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207a6f90012d7d2f4005cb5af8000a00b830..."} 
[2026-08-21 00:13:50] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207a6f90012d7d2f4005cb5af8000a00b830..."} 
[2026-08-21 00:13:50] local.INFO: Packet analysis {"connection_id":158994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207a"} 
[2026-08-21 00:13:50] local.INFO: Extracted packet for processing {"connection_id":158994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207a"} 
[2026-08-21 00:13:50] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97213176,"longitude_deg":76.3178816,"latitude_deg":9.7213176,"altitude":10,"angle":184,"satellites":48,"speed":32,"hex_longitude":"2d7d2f40","hex_latitude":"05cb5af8","is_valid_coordinates":true} 
[2026-08-21 00:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536327424001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387444374092382208,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202659721232384,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:50] 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-08-21 00:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787251290000,"timestamp_ms":1787251290000,"timestamp_seconds":1787251290,"priority":1,"record_length":96,"hex_timestamp":"000001a0207a6f90"} 
[2026-08-21 00:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 00:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536327424001,"66":27234,"131":206,"85":15104,"24":32,"16":387444374092382208,"45":9021202659721232384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-08-21 00:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536327424001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:13:50] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-21 00:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 00:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387444374092382208,"km_value":387444374092382.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202659721232384,"description":"Unknown IO ID 45"} 
[2026-08-21 00:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536327424001,"power":27234,"unknown_131":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9021202659721232384}} 
[2026-08-21 00:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":158994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:13:50] local.INFO: GPS data processed {"connection_id":158994,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:13:50] local.INFO: Acknowledgment sent {"connection_id":158994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:13:53] local.INFO: TCP Data received {"connection_id":161234,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:13:53] local.INFO: Processing buffer {"connection_id":161234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:13:53] local.INFO: Packet analysis {"connection_id":161234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:13:53] local.INFO: Extracted packet for processing {"connection_id":161234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:13:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:13:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:13:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:13:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:13:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:13:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:13:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:13:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:13:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:13:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:13:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:13:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:13:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:13:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:13:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:13:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:13:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:13:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:13:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:13:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:13:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:13:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:13:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:13:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:13:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:13:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:13:53] local.INFO: DEBUG: GPS processor result {"connection_id":161234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:13:53] local.INFO: GPS data processed {"connection_id":161234,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:13:53] local.INFO: Acknowledgment sent {"connection_id":161234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:14:16] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:14:16] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:14:16] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:14:21] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:14:21] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:14:21] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:14:22] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:14:22] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:14:22] local.INFO: Packet analysis {"connection_id":158995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:14:22] local.INFO: Extracted packet for processing {"connection_id":158995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:14:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:14:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":158995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:14:22] local.INFO: GPS data processed {"connection_id":158995,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:14:22] local.INFO: Acknowledgment sent {"connection_id":158995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:14:27] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:14:27] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:14:27] local.INFO: IMEI packet received {"connection_id":159855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":159855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:14:32] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:14:32] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:14:32] local.INFO: IMEI packet received {"connection_id":159855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":159855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:14:33] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207c1958012d7d0c8005c993d0000b00b82e..."} 
[2026-08-21 00:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207c1958012d7d0c8005c993d0000b00b82e..."} 
[2026-08-21 00:14:33] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207c1958012d7d0c8005c993d0000b00b82e..."} 
[2026-08-21 00:14:33] local.INFO: Packet analysis {"connection_id":159855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:14:33] local.INFO: Extracted packet for processing {"connection_id":159855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763169920,"raw_latitude":97096656,"longitude_deg":76.316992,"latitude_deg":9.7096656,"altitude":11,"angle":184,"satellites":46,"speed":56,"hex_longitude":"2d7d0c80","hex_latitude":"05c993d0","is_valid_coordinates":true} 
[2026-08-21 00:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536356352001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387450043449212928,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011491772995053568,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251399000,"timestamp_ms":1787251399000,"timestamp_seconds":1787251399,"priority":1,"record_length":96,"hex_timestamp":"000001a0207c1958"} 
[2026-08-21 00:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536356352001,"66":27245,"205":206,"85":12288,"24":56,"16":387450043449212928,"45":9011491772995053568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 00:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536356352001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387450043449212928,"km_value":387450043449212.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011491772995053568,"description":"Unknown IO ID 45"} 
[2026-08-21 00:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536356352001,"power":27245,"cell_id":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":9011491772995053568}} 
[2026-08-21 00:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":159855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:14:33] local.INFO: GPS data processed {"connection_id":159855,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:14:33] local.INFO: Acknowledgment sent {"connection_id":159855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:14:53] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:14:53] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:14:53] local.INFO: Packet analysis {"connection_id":158995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:14:53] local.INFO: Extracted packet for processing {"connection_id":158995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:14:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:14:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:14: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-08-21 00:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:14:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:14:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":158995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:14:53] local.INFO: GPS data processed {"connection_id":158995,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:14:53] local.INFO: Acknowledgment sent {"connection_id":158995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:15:04] local.INFO: TCP Data received {"connection_id":159855,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207c34b0012d7d0a8005c96d28000b00b430..."} 
[2026-08-21 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207c34b0012d7d0a8005c96d28000b00b430..."} 
[2026-08-21 00:15:04] local.INFO: Processing buffer {"connection_id":159855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207c34b0012d7d0a8005c96d28000b00b430..."} 
[2026-08-21 00:15:04] local.INFO: Packet analysis {"connection_id":159855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:15:04] local.INFO: Extracted packet for processing {"connection_id":159855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":97086760,"longitude_deg":76.3169408,"latitude_deg":9.708676,"altitude":11,"angle":180,"satellites":48,"speed":54,"hex_longitude":"2d7d0a80","hex_latitude":"05c96d28","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536358144001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387450524485550080,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010717716806619136,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787251406000,"timestamp_ms":1787251406000,"timestamp_seconds":1787251406,"priority":1,"record_length":96,"hex_timestamp":"000001a0207c34b0"} 
[2026-08-21 00:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 00:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536358144001,"66":27300,"205":206,"85":12288,"24":54,"16":387450524485550080,"45":9010717716806619136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 00:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536358144001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387450524485550080,"km_value":387450524485550.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010717716806619136,"description":"Unknown IO ID 45"} 
[2026-08-21 00:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536358144001,"power":27300,"cell_id":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":9010717716806619136}} 
[2026-08-21 00:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":159855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:15:04] local.INFO: GPS data processed {"connection_id":159855,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:15:04] local.INFO: Acknowledgment sent {"connection_id":159855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:15:17] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:15:17] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:15:17] local.INFO: IMEI packet received {"connection_id":158710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":158710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:15:21] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:15:21] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:15:21] local.INFO: IMEI packet received {"connection_id":158710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":158710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:15:21] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:15:21] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:15:21] local.INFO: Packet analysis {"connection_id":158710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:15:21] local.INFO: Extracted packet for processing {"connection_id":158710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15: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-08-21 00:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:15:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:15: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-08-21 00:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":158710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":158710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":158710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:15:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:15:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":158710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:15:22] local.INFO: GPS data processed {"connection_id":158710,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:15:22] local.INFO: Acknowledgment sent {"connection_id":158710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:15:25] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:25] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:25] local.INFO: IMEI packet received {"connection_id":158996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":158996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:15:27] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:27] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:27] local.INFO: IMEI packet received {"connection_id":158996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":158996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:15:32] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:32] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:15:32] local.INFO: IMEI packet received {"connection_id":158996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":158996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:15:33] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207c5008012d7d0ac005c94970000b00b130..."} 
[2026-08-21 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207c5008012d7d0ac005c94970000b00b130..."} 
[2026-08-21 00:15:33] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207c5008012d7d0ac005c94970000b00b130..."} 
[2026-08-21 00:15:33] local.INFO: Packet analysis {"connection_id":158996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:15:33] local.INFO: Extracted packet for processing {"connection_id":158996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763169472,"raw_latitude":97077616,"longitude_deg":76.3169472,"latitude_deg":9.7077616,"altitude":11,"angle":177,"satellites":48,"speed":50,"hex_longitude":"2d7d0ac0","hex_latitude":"05c94970","is_valid_coordinates":true} 
[2026-08-21 00:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536359936001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387450966867181568,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154766850664448,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251413000,"timestamp_ms":1787251413000,"timestamp_seconds":1787251413,"priority":1,"record_length":96,"hex_timestamp":"000001a0207c5008"} 
[2026-08-21 00:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536359936001,"66":27365,"205":206,"85":12288,"24":50,"16":387450966867181568,"45":9010154766850664448},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 00:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536359936001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387450966867181568,"km_value":387450966867181.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154766850664448,"description":"Unknown IO ID 45"} 
[2026-08-21 00:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536359936001,"power":27365,"cell_id":206,"unknown_85":12288,"ignition":50,"odometer":null,"unknown_45":9010154766850664448}} 
[2026-08-21 00:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":158996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:15:33] local.INFO: GPS data processed {"connection_id":158996,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:15:33] local.INFO: Acknowledgment sent {"connection_id":158996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:15:52] local.INFO: TCP Data received {"connection_id":158710,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:15:52] local.INFO: Processing buffer {"connection_id":158710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020798148012d196500071ff1280048014a27..."} 
[2026-08-21 00:15:52] local.INFO: Packet analysis {"connection_id":158710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:15:52] local.INFO: Extracted packet for processing {"connection_id":158710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02079"} 
[2026-08-21 00:15:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:15:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536237568001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:15:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:15:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787251229000,"timestamp_ms":1787251229000,"timestamp_seconds":1787251229,"priority":1,"record_length":96,"hex_timestamp":"000001a020798148"} 
[2026-08-21 00:15:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:15:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:15:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:15:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:15:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:15:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:15:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:15:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:15:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:15:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:15:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:15:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:15:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:15:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536237568001,"66":2166,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:15:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:15:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:15:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536237568001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:15:52] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:15:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:15:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:15:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:15:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536237568001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:15:52] local.INFO: DEBUG: GPS processor result {"connection_id":158710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:15:52] local.INFO: GPS data processed {"connection_id":158710,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:15:52] local.INFO: Acknowledgment sent {"connection_id":158710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:16:04] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207c7b00012d7d0c4005c925b8000c00b130..."} 
[2026-08-21 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207c7b00012d7d0c4005c925b8000c00b130..."} 
[2026-08-21 00:16:04] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207c7b00012d7d0c4005c925b8000c00b130..."} 
[2026-08-21 00:16:04] local.INFO: Packet analysis {"connection_id":158996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:16:04] local.INFO: Extracted packet for processing {"connection_id":158996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":763169856,"raw_latitude":97068472,"longitude_deg":76.3169856,"latitude_deg":9.7068472,"altitude":12,"angle":177,"satellites":48,"speed":12,"hex_longitude":"2d7d0c40","hex_latitude":"05c925b8","is_valid_coordinates":true} 
[2026-08-21 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536361728001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387451413543780352,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010225135592501248,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787251424000,"timestamp_ms":1787251424000,"timestamp_seconds":1787251424,"priority":1,"record_length":96,"hex_timestamp":"000001a0207c7b00"} 
[2026-08-21 00:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 00:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536361728001,"66":27332,"205":206,"85":12288,"24":12,"16":387451413543780352,"45":9010225135592501248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 00:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536361728001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387451413543780352,"km_value":387451413543780.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010225135592501248,"description":"Unknown IO ID 45"} 
[2026-08-21 00:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536361728001,"power":27332,"cell_id":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9010225135592501248}} 
[2026-08-21 00:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":158996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:16:04] local.INFO: GPS data processed {"connection_id":158996,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:16:04] local.INFO: Acknowledgment sent {"connection_id":158996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:16:16] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:16:16] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:16:16] local.INFO: IMEI packet received {"connection_id":158997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":158997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:16:21] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:16:21] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:16:21] local.INFO: IMEI packet received {"connection_id":158997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":158997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:16:22] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:16:22] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:16:22] local.INFO: Packet analysis {"connection_id":158997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:16:22] local.INFO: Extracted packet for processing {"connection_id":158997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:16:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:16:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":158997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:16:22] local.INFO: GPS data processed {"connection_id":158997,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:16:22] local.INFO: Acknowledgment sent {"connection_id":158997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:16:25] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:25] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:25] local.INFO: IMEI packet received {"connection_id":158998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":158998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:16:27] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:27] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:27] local.INFO: IMEI packet received {"connection_id":158998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":158998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:16:32] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:32] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:16:32] local.INFO: IMEI packet received {"connection_id":158998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":158998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:16:33] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207cc150012d7d104005c90188000c00ad31..."} 
[2026-08-21 00:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207cc150012d7d104005c90188000c00ad31..."} 
[2026-08-21 00:16:33] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207cc150012d7d104005c90188000c00ad31..."} 
[2026-08-21 00:16:33] local.INFO: Packet analysis {"connection_id":158998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:16:33] local.INFO: Extracted packet for processing {"connection_id":158998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207c"} 
[2026-08-21 00:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763170880,"raw_latitude":97059208,"longitude_deg":76.317088,"latitude_deg":9.7059208,"altitude":12,"angle":173,"satellites":49,"speed":26,"hex_longitude":"2d7d1040","hex_latitude":"05c90188","is_valid_coordinates":true} 
[2026-08-21 00:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536364544001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387451864515346432,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010647348055226368,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251442000,"timestamp_ms":1787251442000,"timestamp_seconds":1787251442,"priority":1,"record_length":96,"hex_timestamp":"000001a0207cc150"} 
[2026-08-21 00:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 00:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536364544001,"66":27343,"205":206,"85":12288,"24":26,"16":387451864515346432,"45":9010647348055226368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 00:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536364544001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387451864515346432,"km_value":387451864515346.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010647348055226368,"description":"Unknown IO ID 45"} 
[2026-08-21 00:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536364544001,"power":27343,"cell_id":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9010647348055226368}} 
[2026-08-21 00:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":158998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:16:33] local.INFO: GPS data processed {"connection_id":158998,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:16:33] local.INFO: Acknowledgment sent {"connection_id":158998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:16:53] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:16:53] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:16:53] local.INFO: Packet analysis {"connection_id":158997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:16:53] local.INFO: Extracted packet for processing {"connection_id":158997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:16:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:16:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:16:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:16:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":158997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:16:53] local.INFO: GPS data processed {"connection_id":158997,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:16:53] local.INFO: Acknowledgment sent {"connection_id":158997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:17:04] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e99f8012d7daec005c75578000b007c2f..."} 
[2026-08-21 00:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e99f8012d7daec005c75578000b007c2f..."} 
[2026-08-21 00:17:04] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e99f8012d7daec005c75578000b007c2f..."} 
[2026-08-21 00:17:04] local.INFO: Packet analysis {"connection_id":158998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:04] local.INFO: Extracted packet for processing {"connection_id":158998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763211456,"raw_latitude":96949624,"longitude_deg":76.3211456,"latitude_deg":9.6949624,"altitude":11,"angle":124,"satellites":47,"speed":46,"hex_longitude":"2d7daec0","hex_latitude":"05c75578","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536398080001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:04] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 00:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387457791570214912,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047872413696221184,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:04] 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-08-21 00:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787251563000,"timestamp_ms":1787251563000,"timestamp_seconds":1787251563,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e99f8"} 
[2026-08-21 00:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536398080001,"66":27321,"200":0,"85":12288,"24":46,"16":387457791570214912,"45":9047872413696221184},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 00:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536398080001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387457791570214912,"km_value":387457791570214.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047872413696221184,"description":"Unknown IO ID 45"} 
[2026-08-21 00:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536398080001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9047872413696221184}} 
[2026-08-21 00:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":158998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:17:04] local.INFO: GPS data processed {"connection_id":158998,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:17:04] local.INFO: Acknowledgment sent {"connection_id":158998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:17:16] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:17:16] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:17:16] local.INFO: IMEI packet received {"connection_id":158711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":158711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:17:21] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:17:21] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:17:21] local.INFO: IMEI packet received {"connection_id":158711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":158711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:17:22] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:17:22] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:17:22] local.INFO: Packet analysis {"connection_id":158711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:22] local.INFO: Extracted packet for processing {"connection_id":158711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":158711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:17:22] local.INFO: GPS data processed {"connection_id":158711,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:17:22] local.INFO: Acknowledgment sent {"connection_id":158711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:17:26] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:26] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:26] local.INFO: IMEI packet received {"connection_id":158999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":158999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:17:27] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:27] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:27] local.INFO: IMEI packet received {"connection_id":158999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":158999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:17:32] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:32] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:17:32] local.INFO: IMEI packet received {"connection_id":158999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":158999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:17:33] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207eb938012d7dcc4005c74120000b007e2e..."} 
[2026-08-21 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207eb938012d7dcc4005c74120000b007e2e..."} 
[2026-08-21 00:17:33] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207eb938012d7dcc4005c74120000b007e2e..."} 
[2026-08-21 00:17:33] local.INFO: Packet analysis {"connection_id":158999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:33] local.INFO: Extracted packet for processing {"connection_id":158999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":763219008,"raw_latitude":96944416,"longitude_deg":76.3219008,"latitude_deg":9.6944416,"altitude":11,"angle":126,"satellites":46,"speed":44,"hex_longitude":"2d7dcc40","hex_latitude":"05c74120","is_valid_coordinates":true} 
[2026-08-21 00:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536400128001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:33] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 00:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387458233951846400,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056387031740282880,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:33] 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-08-21 00:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251571000,"timestamp_ms":1787251571000,"timestamp_seconds":1787251571,"priority":1,"record_length":96,"hex_timestamp":"000001a0207eb938"} 
[2026-08-21 00:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536400128001,"66":27397,"200":0,"85":12288,"24":44,"16":387458233951846400,"45":9056387031740282880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 00:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536400128001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:17:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387458233951846400,"km_value":387458233951846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056387031740282880,"description":"Unknown IO ID 45"} 
[2026-08-21 00:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536400128001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9056387031740282880}} 
[2026-08-21 00:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":158999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:17:33] local.INFO: GPS data processed {"connection_id":158999,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:17:33] local.INFO: Acknowledgment sent {"connection_id":158999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:17:53] local.INFO: TCP Data received {"connection_id":158711,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:17:53] local.INFO: Processing buffer {"connection_id":158711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:17:53] local.INFO: Packet analysis {"connection_id":158711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:53] local.INFO: Extracted packet for processing {"connection_id":158711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:17:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:17:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:17:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:17:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:17:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:17:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:17:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:17:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:17:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:17:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:17:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:17:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:17:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:17:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:17:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:17:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:17:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:17:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:17:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:17:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:17:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:17:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:17:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:17:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:17:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:17:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:17:53] local.INFO: DEBUG: GPS processor result {"connection_id":158711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:17:53] local.INFO: GPS data processed {"connection_id":158711,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:17:53] local.INFO: Acknowledgment sent {"connection_id":158711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:18:05] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207edc60012d7deb8005c72bc0000b007e2c..."} 
[2026-08-21 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207edc60012d7deb8005c72bc0000b007e2c..."} 
[2026-08-21 00:18:05] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207edc60012d7deb8005c72bc0000b007e2c..."} 
[2026-08-21 00:18:05] local.INFO: Packet analysis {"connection_id":158999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:05] local.INFO: Extracted packet for processing {"connection_id":158999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763227008,"raw_latitude":96938944,"longitude_deg":76.3227008,"latitude_deg":9.6938944,"altitude":11,"angle":126,"satellites":44,"speed":42,"hex_longitude":"2d7deb80","hex_latitude":"05c72bc0","is_valid_coordinates":true} 
[2026-08-21 00:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536402176001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:05] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 00:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387458697808314368,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9064690543551913984,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:05] 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-08-21 00:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787251580000,"timestamp_ms":1787251580000,"timestamp_seconds":1787251580,"priority":1,"record_length":96,"hex_timestamp":"000001a0207edc60"} 
[2026-08-21 00:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:18: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-08-21 00:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 00:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536402176001,"66":27300,"200":0,"85":12288,"24":42,"16":387458697808314368,"45":9064690543551913984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 00:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536402176001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387458697808314368,"km_value":387458697808314.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9064690543551913984,"description":"Unknown IO ID 45"} 
[2026-08-21 00:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536402176001,"power":27300,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9064690543551913984}} 
[2026-08-21 00:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":158999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:18:05] local.INFO: GPS data processed {"connection_id":158999,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:18:05] local.INFO: Acknowledgment sent {"connection_id":158999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:18:16] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:18:16] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:18:16] local.INFO: IMEI packet received {"connection_id":161235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":161235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:18:21] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:18:21] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:18:21] local.INFO: IMEI packet received {"connection_id":161235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":161235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:18:22] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:18:22] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:18:22] local.INFO: Packet analysis {"connection_id":161235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:22] local.INFO: Extracted packet for processing {"connection_id":161235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:18:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:18:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":161235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:18:22] local.INFO: GPS data processed {"connection_id":161235,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:18:22] local.INFO: Acknowledgment sent {"connection_id":161235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:18:27] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:18:27] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:18:27] local.INFO: IMEI packet received {"connection_id":159000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":159000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:18:32] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:18:32] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:18:32] local.INFO: IMEI packet received {"connection_id":159000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":159000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:18:32] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207eff88012d7e0a0005c715a8000b007d2e..."} 
[2026-08-21 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207eff88012d7e0a0005c715a8000b007d2e..."} 
[2026-08-21 00:18:32] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207eff88012d7e0a0005c715a8000b007d2e..."} 
[2026-08-21 00:18:32] local.INFO: Packet analysis {"connection_id":159000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:32] local.INFO: Extracted packet for processing {"connection_id":159000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":763234816,"raw_latitude":96933288,"longitude_deg":76.3234816,"latitude_deg":9.6933288,"altitude":11,"angle":125,"satellites":46,"speed":42,"hex_longitude":"2d7e0a00","hex_latitude":"05c715a8","is_valid_coordinates":true} 
[2026-08-21 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536404480001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:32] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 00:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387459161664782336,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073486636572721152,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:32] 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-08-21 00:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787251589000,"timestamp_ms":1787251589000,"timestamp_seconds":1787251589,"priority":1,"record_length":96,"hex_timestamp":"000001a0207eff88"} 
[2026-08-21 00:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536404480001,"66":27343,"200":0,"85":12288,"24":42,"16":387459161664782336,"45":9073486636572721152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 00:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536404480001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:18:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387459161664782336,"km_value":387459161664782.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073486636572721152,"description":"Unknown IO ID 45"} 
[2026-08-21 00:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536404480001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9073486636572721152}} 
[2026-08-21 00:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":159000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:18:32] local.INFO: GPS data processed {"connection_id":159000,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:18:32] local.INFO: Acknowledgment sent {"connection_id":159000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:18:53] local.INFO: TCP Data received {"connection_id":161235,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:18:53] local.INFO: Processing buffer {"connection_id":161235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:18:53] local.INFO: Packet analysis {"connection_id":161235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:53] local.INFO: Extracted packet for processing {"connection_id":161235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:18:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:18:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:18:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:18:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:18:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:18:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:18:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":161235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:18:53] local.INFO: GPS data processed {"connection_id":161235,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:18:53] local.INFO: Acknowledgment sent {"connection_id":161235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:19:03] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207f22b0012d7e284005c700b8000b007d2e..."} 
[2026-08-21 00:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207f22b0012d7e284005c700b8000b007d2e..."} 
[2026-08-21 00:19:03] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207f22b0012d7e284005c700b8000b007d2e..."} 
[2026-08-21 00:19:03] local.INFO: Packet analysis {"connection_id":159000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:19:03] local.INFO: Extracted packet for processing {"connection_id":159000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":763242560,"raw_latitude":96927928,"longitude_deg":76.324256,"latitude_deg":9.6927928,"altitude":11,"angle":125,"satellites":46,"speed":40,"hex_longitude":"2d7e2840","hex_latitude":"05c700b8","is_valid_coordinates":true} 
[2026-08-21 00:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536406784001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 00:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387459612636348416,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9082071623360948224,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:03] 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-08-21 00:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787251598000,"timestamp_ms":1787251598000,"timestamp_seconds":1787251598,"priority":1,"record_length":96,"hex_timestamp":"000001a0207f22b0"} 
[2026-08-21 00:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536406784001,"66":27321,"200":0,"85":12288,"24":40,"16":387459612636348416,"45":9082071623360948224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 00:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536406784001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:19:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387459612636348416,"km_value":387459612636348.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9082071623360948224,"description":"Unknown IO ID 45"} 
[2026-08-21 00:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536406784001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9082071623360948224}} 
[2026-08-21 00:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":159000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:19:03] local.INFO: GPS data processed {"connection_id":159000,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:19:03] local.INFO: Acknowledgment sent {"connection_id":159000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:19:16] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:19:16] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:19:16] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:19:21] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:19:21] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:19:21] local.INFO: IMEI packet received {"connection_id":159856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":159856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:19:22] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:19:22] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:19:22] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:19:22] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:19:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:19:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:19:22] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:19:22] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:19:27] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:19:27] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:19:27] local.INFO: IMEI packet received {"connection_id":159001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":159001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:19:32] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:19:32] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:19:32] local.INFO: IMEI packet received {"connection_id":159001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":159001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:19:33] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207f49c0012d7e470005c6ea40000c007f2c..."} 
[2026-08-21 00:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207f49c0012d7e470005c6ea40000c007f2c..."} 
[2026-08-21 00:19:33] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207f49c0012d7e470005c6ea40000c007f2c..."} 
[2026-08-21 00:19:33] local.INFO: Packet analysis {"connection_id":159001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:19:33] local.INFO: Extracted packet for processing {"connection_id":159001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":763250432,"raw_latitude":96922176,"longitude_deg":76.3250432,"latitude_deg":9.6922176,"altitude":12,"angle":127,"satellites":44,"speed":34,"hex_longitude":"2d7e4700","hex_latitude":"05c6ea40","is_valid_coordinates":true} 
[2026-08-21 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536409088001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387460080787783680,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090586241405073408,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251608000,"timestamp_ms":1787251608000,"timestamp_seconds":1787251608,"priority":1,"record_length":96,"hex_timestamp":"000001a0207f49c0"} 
[2026-08-21 00:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536409088001,"66":27343,"89":206,"85":12288,"24":34,"16":387460080787783680,"45":9090586241405073408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 00:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536409088001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:19:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 00:19:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387460080787783680,"km_value":387460080787783.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090586241405073408,"description":"Unknown IO ID 45"} 
[2026-08-21 00:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536409088001,"power":27343,"unknown_89":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9090586241405073408}} 
[2026-08-21 00:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":159001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:19:33] local.INFO: GPS data processed {"connection_id":159001,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:19:33] local.INFO: Acknowledgment sent {"connection_id":159001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:19:53] local.INFO: TCP Data received {"connection_id":159856,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:19:53] local.INFO: Processing buffer {"connection_id":159856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:19:53] local.INFO: Packet analysis {"connection_id":159856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:19:53] local.INFO: Extracted packet for processing {"connection_id":159856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:19:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:19:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":159856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:19:53] local.INFO: GPS data processed {"connection_id":159856,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:19:53] local.INFO: Acknowledgment sent {"connection_id":159856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:20:05] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207f70d0012d7e638005c6d628000b007e2c..."} 
[2026-08-21 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207f70d0012d7e638005c6d628000b007e2c..."} 
[2026-08-21 00:20:05] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207f70d0012d7e638005c6d628000b007e2c..."} 
[2026-08-21 00:20:05] local.INFO: Packet analysis {"connection_id":159001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:20:05] local.INFO: Extracted packet for processing {"connection_id":159001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763257728,"raw_latitude":96917032,"longitude_deg":76.3257728,"latitude_deg":9.6917032,"altitude":11,"angle":126,"satellites":44,"speed":35,"hex_longitude":"2d7e6380","hex_latitude":"05c6d628","is_valid_coordinates":true} 
[2026-08-21 00:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536411648001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387460510284513280,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9099241596937453568,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787251618000,"timestamp_ms":1787251618000,"timestamp_seconds":1787251618,"priority":1,"record_length":96,"hex_timestamp":"000001a0207f70d0"} 
[2026-08-21 00:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:20: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-08-21 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536411648001,"66":27332,"89":206,"85":12288,"24":35,"16":387460510284513280,"45":9099241596937453568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 00:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536411648001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387460510284513280,"km_value":387460510284513.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9099241596937453568,"description":"Unknown IO ID 45"} 
[2026-08-21 00:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536411648001,"power":27332,"unknown_89":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9099241596937453568}} 
[2026-08-21 00:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":159001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:20:05] local.INFO: GPS data processed {"connection_id":159001,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:20:05] local.INFO: Acknowledgment sent {"connection_id":159001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:20:21] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:20:21] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:20:21] local.INFO: IMEI packet received {"connection_id":158712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":158712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:20:26] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:20:26] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:20:26] local.INFO: IMEI packet received {"connection_id":158712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":158712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:20:27] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:20:27] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:20:27] local.INFO: Packet analysis {"connection_id":158712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:20:27] local.INFO: Extracted packet for processing {"connection_id":158712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:20:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":158712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:20:27] local.INFO: GPS data processed {"connection_id":158712,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:20:27] local.INFO: Acknowledgment sent {"connection_id":158712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:20:31] local.INFO: TCP Data received {"connection_id":158712,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:20:31] local.INFO: Processing buffer {"connection_id":158712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207e1910012d196500071ff1280048014a2a..."} 
[2026-08-21 00:20:31] local.INFO: Packet analysis {"connection_id":158712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:20:31] local.INFO: Extracted packet for processing {"connection_id":158712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207e"} 
[2026-08-21 00:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536314624001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787251530000,"timestamp_ms":1787251530000,"timestamp_seconds":1787251530,"priority":1,"record_length":96,"hex_timestamp":"000001a0207e1910"} 
[2026-08-21 00:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 00:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 00:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158712,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536314624001,"66":2144,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536314624001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:20:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:20:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536314624001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":158712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:20:32] local.INFO: GPS data processed {"connection_id":158712,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:20:32] local.INFO: Acknowledgment sent {"connection_id":158712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:20:32] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:20:32] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:20:32] local.INFO: IMEI packet received {"connection_id":161236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":161236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:20:38] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:20:38] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:20:38] local.INFO: IMEI packet received {"connection_id":161236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":161236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:20:39] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207faf50012d7e7f4005c6c108000b007a2d..."} 
[2026-08-21 00:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207faf50012d7e7f4005c6c108000b007a2d..."} 
[2026-08-21 00:20:39] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207faf50012d7e7f4005c6c108000b007a2d..."} 
[2026-08-21 00:20:39] local.INFO: Packet analysis {"connection_id":161236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:20:39] local.INFO: Extracted packet for processing {"connection_id":161236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763264832,"raw_latitude":96911624,"longitude_deg":76.3264832,"latitude_deg":9.6911624,"altitude":11,"angle":122,"satellites":45,"speed":12,"hex_longitude":"2d7e7f40","hex_latitude":"05c6c108","is_valid_coordinates":true} 
[2026-08-21 00:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536414208001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387460939781242880,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107263633772390400,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787251634000,"timestamp_ms":1787251634000,"timestamp_seconds":1787251634,"priority":1,"record_length":96,"hex_timestamp":"000001a0207faf50"} 
[2026-08-21 00:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 00:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536414208001,"66":27310,"89":206,"85":12288,"24":12,"16":387460939781242880,"45":9107263633772390400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536414208001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387460939781242880,"km_value":387460939781242.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107263633772390400,"description":"Unknown IO ID 45"} 
[2026-08-21 00:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536414208001,"power":27310,"unknown_89":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9107263633772390400}} 
[2026-08-21 00:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":161236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:20:39] local.INFO: GPS data processed {"connection_id":161236,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:20:39] local.INFO: Acknowledgment sent {"connection_id":161236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:20:39] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0207fedd0012d7e9f4005c6ad40000c00792e..."} 
[2026-08-21 00:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0207fedd0012d7e9f4005c6ad40000c00792e..."} 
[2026-08-21 00:20:39] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0207fedd0012d7e9f4005c6ad40000c00792e..."} 
[2026-08-21 00:20:39] local.INFO: Packet analysis {"connection_id":161236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:20:39] local.INFO: Extracted packet for processing {"connection_id":161236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0207f"} 
[2026-08-21 00:20:39] local.INFO: GPS Element Parsed {"raw_longitude":763273024,"raw_latitude":96906560,"longitude_deg":76.3273024,"latitude_deg":9.690656,"altitude":12,"angle":121,"satellites":46,"speed":30,"hex_longitude":"2d7e9f40","hex_latitude":"05c6ad40","is_valid_coordinates":true} 
[2026-08-21 00:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536418304001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387461403637710848,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115074564374726656,"note":"Value kept but may cause issues"} 
[2026-08-21 00:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787251650000,"timestamp_ms":1787251650000,"timestamp_seconds":1787251650,"priority":1,"record_length":96,"hex_timestamp":"000001a0207fedd0"} 
[2026-08-21 00:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 00:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536418304001,"66":27234,"89":206,"85":12288,"24":30,"16":387461403637710848,"45":9115074564374726656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 00:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536418304001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387461403637710848,"km_value":387461403637710.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115074564374726656,"description":"Unknown IO ID 45"} 
[2026-08-21 00:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536418304001,"power":27234,"unknown_89":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":9115074564374726656}} 
[2026-08-21 00:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":161236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:20:39] local.INFO: GPS data processed {"connection_id":161236,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:20:39] local.INFO: Acknowledgment sent {"connection_id":161236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:21:11] local.INFO: TCP Data received {"connection_id":161236,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208018c8012d7ebe4005c69950000d007a2b..."} 
[2026-08-21 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208018c8012d7ebe4005c69950000d007a2b..."} 
[2026-08-21 00:21:11] local.INFO: Processing buffer {"connection_id":161236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208018c8012d7ebe4005c69950000d007a2b..."} 
[2026-08-21 00:21:11] local.INFO: Packet analysis {"connection_id":161236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02080"} 
[2026-08-21 00:21:11] local.INFO: Extracted packet for processing {"connection_id":161236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02080"} 
[2026-08-21 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763280960,"raw_latitude":96901456,"longitude_deg":76.328096,"latitude_deg":9.6901456,"altitude":13,"angle":122,"satellites":43,"speed":33,"hex_longitude":"2d7ebe40","hex_latitude":"05c69950","is_valid_coordinates":true} 
[2026-08-21 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536422400001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387461854609276928,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124081763628171264,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787251661000,"timestamp_ms":1787251661000,"timestamp_seconds":1787251661,"priority":1,"record_length":96,"hex_timestamp":"000001a0208018c8"} 
[2026-08-21 00:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 00:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536422400001,"66":27376,"100":206,"85":12288,"24":33,"16":387461854609276928,"45":9124081763628171264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-21 00:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536422400001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387461854609276928,"km_value":387461854609276.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124081763628171264,"description":"Unknown IO ID 45"} 
[2026-08-21 00:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536422400001,"power":27376,"unknown_100":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9124081763628171264}} 
[2026-08-21 00:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":161236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:21:12] local.INFO: GPS data processed {"connection_id":161236,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:21:12] local.INFO: Acknowledgment sent {"connection_id":161236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:21:16] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:21:16] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:21:16] local.INFO: IMEI packet received {"connection_id":159002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:21:16] local.INFO: IMEI acknowledgment sent {"connection_id":159002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:21:21] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:21:21] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:21:21] local.INFO: IMEI packet received {"connection_id":159002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":159002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:21:22] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:21:22] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:21:22] local.INFO: Packet analysis {"connection_id":159002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:21:22] local.INFO: Extracted packet for processing {"connection_id":159002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536391680001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251831000,"timestamp_ms":1787251831000,"timestamp_seconds":1787251831,"priority":1,"record_length":96,"hex_timestamp":"000001a02082b0d8"} 
[2026-08-21 00:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:21:22] 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-08-21 00:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 00:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536391680001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536391680001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:21:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:21:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536391680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":159002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:21:22] local.INFO: GPS data processed {"connection_id":159002,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:21:22] local.INFO: Acknowledgment sent {"connection_id":159002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:21:27] local.INFO: TCP Data received {"connection_id":161237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:21:27] local.INFO: Processing buffer {"connection_id":161237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:21:27] local.INFO: IMEI packet received {"connection_id":161237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":161237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:21:32] local.INFO: TCP Data received {"connection_id":161237,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:21:32] local.INFO: Processing buffer {"connection_id":161237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:21:32] local.INFO: IMEI packet received {"connection_id":161237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":161237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:21:34] local.INFO: TCP Data received {"connection_id":161237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020829d50012d7f888005c5b3e0000c00902e..."} 
[2026-08-21 00:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020829d50012d7f888005c5b3e0000c00902e..."} 
[2026-08-21 00:21:34] local.INFO: Processing buffer {"connection_id":161237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020829d50012d7f888005c5b3e0000c00902e..."} 
[2026-08-21 00:21:34] local.INFO: Packet analysis {"connection_id":161237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:21:34] local.INFO: Extracted packet for processing {"connection_id":161237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":96842720,"longitude_deg":76.3332736,"latitude_deg":9.684272,"altitude":12,"angle":144,"satellites":46,"speed":34,"hex_longitude":"2d7f8880","hex_latitude":"05c5b3e0","is_valid_coordinates":true} 
[2026-08-21 00:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536464384001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387465672835203072,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183684089932244992,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787251826000,"timestamp_ms":1787251826000,"timestamp_seconds":1787251826,"priority":1,"record_length":96,"hex_timestamp":"000001a020829d50"} 
[2026-08-21 00:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:21: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-08-21 00:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536464384001,"66":27343,"100":206,"85":12288,"24":34,"16":387465672835203072,"45":9183684089932244992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,85,24,16,45]} 
[2026-08-21 00:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536464384001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:21:34] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 00:21:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387465672835203072,"km_value":387465672835203.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183684089932244992,"description":"Unknown IO ID 45"} 
[2026-08-21 00:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536464384001,"power":27343,"unknown_100":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9183684089932244992}} 
[2026-08-21 00:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":161237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:21:34] local.INFO: GPS data processed {"connection_id":161237,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:21:34] local.INFO: Acknowledgment sent {"connection_id":161237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:21:53] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:21:53] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:21:53] local.INFO: Packet analysis {"connection_id":159002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:21:53] local.INFO: Extracted packet for processing {"connection_id":159002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:21:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536391680001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251831000,"timestamp_ms":1787251831000,"timestamp_seconds":1787251831,"priority":1,"record_length":96,"hex_timestamp":"000001a02082b0d8"} 
[2026-08-21 00:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:21:53] 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-08-21 00: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 00:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536391680001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536391680001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:21:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:21:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536391680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":159002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:21:53] local.INFO: GPS data processed {"connection_id":159002,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:21:53] local.INFO: Acknowledgment sent {"connection_id":159002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:22:06] local.INFO: TCP Data received {"connection_id":161237,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02082c460012d7f9e0005c596f0000b00902d..."} 
[2026-08-21 00:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02082c460012d7f9e0005c596f0000b00902d..."} 
[2026-08-21 00:22:06] local.INFO: Processing buffer {"connection_id":161237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02082c460012d7f9e0005c596f0000b00902d..."} 
[2026-08-21 00:22:06] local.INFO: Packet analysis {"connection_id":161237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:06] local.INFO: Extracted packet for processing {"connection_id":161237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:06] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":96835312,"longitude_deg":76.333824,"latitude_deg":9.6835312,"altitude":11,"angle":144,"satellites":45,"speed":38,"hex_longitude":"2d7f9e00","hex_latitude":"05c596f0","is_valid_coordinates":true} 
[2026-08-21 00:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536467456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387466119511801856,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9189735801929588736,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787251836000,"timestamp_ms":1787251836000,"timestamp_seconds":1787251836,"priority":1,"record_length":96,"hex_timestamp":"000001a02082c460"} 
[2026-08-21 00:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:22: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-08-21 00:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:22: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-08-21 00:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536467456001,"66":27321,"98":206,"85":12288,"24":38,"16":387466119511801856,"45":9189735801929588736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-21 00:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536467456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:22:06] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 00:22:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387466119511801856,"km_value":387466119511801.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9189735801929588736,"description":"Unknown IO ID 45"} 
[2026-08-21 00:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536467456001,"power":27321,"unknown_98":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9189735801929588736}} 
[2026-08-21 00:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":161237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:22:06] local.INFO: GPS data processed {"connection_id":161237,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:22:06] local.INFO: Acknowledgment sent {"connection_id":161237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:22:16] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:22:16] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:22:16] local.INFO: IMEI packet received {"connection_id":158713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 00:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":158713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:22:21] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:22:21] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 00:22:21] local.INFO: IMEI packet received {"connection_id":158713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 00:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":158713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:22:22] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:22:22] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:22:22] local.INFO: Packet analysis {"connection_id":158713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:22] local.INFO: Extracted packet for processing {"connection_id":158713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536391680001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787251831000,"timestamp_ms":1787251831000,"timestamp_seconds":1787251831,"priority":1,"record_length":96,"hex_timestamp":"000001a02082b0d8"} 
[2026-08-21 00:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:22:22] 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-08-21 00:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 00:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536391680001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536391680001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536391680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":158713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:22:22] local.INFO: GPS data processed {"connection_id":158713,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:22:22] local.INFO: Acknowledgment sent {"connection_id":158713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:22:27] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:22:27] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:22:27] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:22:33] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:22:33] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:22:33] local.INFO: IMEI packet received {"connection_id":159857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":159857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:22:33] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02082e788012d7fb2c005c57a60000b008f2d..."} 
[2026-08-21 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02082e788012d7fb2c005c57a60000b008f2d..."} 
[2026-08-21 00:22:33] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02082e788012d7fb2c005c57a60000b008f2d..."} 
[2026-08-21 00:22:33] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:33] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763343552,"raw_latitude":96828000,"longitude_deg":76.3343552,"latitude_deg":9.6828,"altitude":11,"angle":143,"satellites":45,"speed":40,"hex_longitude":"2d7fb2c0","hex_latitude":"05c57a60","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536470016001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387466553303498752,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513926971392,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787251845000,"timestamp_ms":1787251845000,"timestamp_seconds":1787251845,"priority":1,"record_length":96,"hex_timestamp":"000001a02082e788"} 
[2026-08-21 00:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536470016001,"66":27343,"98":206,"85":12288,"24":40,"16":387466553303498752,"45":9195787513926971392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-21 00:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536470016001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:22:33] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 00:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387466553303498752,"km_value":387466553303498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513926971392,"description":"Unknown IO ID 45"} 
[2026-08-21 00:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536470016001,"power":27343,"unknown_98":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9195787513926971392}} 
[2026-08-21 00:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:22:33] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:22:33] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:22:53] local.INFO: TCP Data received {"connection_id":158713,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:22:53] local.INFO: Processing buffer {"connection_id":158713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02082b0d8012d196500071ff1280048014a27..."} 
[2026-08-21 00:22:53] local.INFO: Packet analysis {"connection_id":158713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:53] local.INFO: Extracted packet for processing {"connection_id":158713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02082"} 
[2026-08-21 00:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533864,"longitude_deg":75.6638976,"latitude_deg":11.9533864,"altitude":72,"angle":330,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff128","is_valid_coordinates":true} 
[2026-08-21 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536391680001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14271617978859520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196643840,"note":"Value kept but may cause issues"} 
[2026-08-21 00:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787251831000,"timestamp_ms":1787251831000,"timestamp_seconds":1787251831,"priority":1,"record_length":96,"hex_timestamp":"000001a02082b0d8"} 
[2026-08-21 00:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:22:53] 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-08-21 00:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 00:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 00:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 00:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 00:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536391680001,"66":2155,"102":206,"83":41984,"24":0,"16":14271617978859520,"45":1829868854196643840},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 00:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 00:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 00:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536391680001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:22:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 00:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 00:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14271617978859520,"km_value":14271617978859.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196643840,"description":"Unknown IO ID 45"} 
[2026-08-21 00:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536391680001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196643840}} 
[2026-08-21 00:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":158713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:22:53] local.INFO: GPS data processed {"connection_id":158713,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:22:53] local.INFO: Acknowledgment sent {"connection_id":158713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:23:09] local.INFO: TCP Data received {"connection_id":159857,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020830e98012d7fc84005c55d78000b008f2d..."} 
[2026-08-21 00:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020830e98012d7fc84005c55d78000b008f2d..."} 
[2026-08-21 00:23:09] local.INFO: Processing buffer {"connection_id":159857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020830e98012d7fc84005c55d78000b008f2d..."} 
[2026-08-21 00:23:09] local.INFO: Packet analysis {"connection_id":159857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02083"} 
[2026-08-21 00:23:09] local.INFO: Extracted packet for processing {"connection_id":159857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02083"} 
[2026-08-21 00:23:09] local.INFO: GPS Element Parsed {"raw_longitude":763349056,"raw_latitude":96820600,"longitude_deg":76.3349056,"latitude_deg":9.68206,"altitude":11,"angle":143,"satellites":45,"speed":36,"hex_longitude":"2d7fc840","hex_latitude":"05c55d78","is_valid_coordinates":true} 
[2026-08-21 00:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536472320001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387466999980097536,"note":"Value kept but may cause issues"} 
[2026-08-21 00:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201628119691845632,"note":"Value kept but may cause issues"} 
[2026-08-21 00:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787251855000,"timestamp_ms":1787251855000,"timestamp_seconds":1787251855,"priority":1,"record_length":96,"hex_timestamp":"000001a020830e98"} 
[2026-08-21 00:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:23: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-08-21 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:23: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-08-21 00:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536472320001,"66":27343,"98":206,"85":12288,"24":36,"16":387466999980097536,"45":9201628119691845632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,85,24,16,45]} 
[2026-08-21 00:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536472320001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387466999980097536,"km_value":387466999980097.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201628119691845632,"description":"Unknown IO ID 45"} 
[2026-08-21 00:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536472320001,"power":27343,"unknown_98":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9201628119691845632}} 
[2026-08-21 00:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":159857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:23:09] local.INFO: GPS data processed {"connection_id":159857,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:23:09] local.INFO: Acknowledgment sent {"connection_id":159857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:23:26] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:23:26] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:23:26] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:23:27] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:23:27] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:23:27] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:24:11] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 00:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 00:24:11] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 00:24:11] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:29:28] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:28] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:28] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:29:32] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:32] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:32] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:29:36] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:36] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:29:36] local.INFO: IMEI packet received {"connection_id":159858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":159858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:29:38] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02088fe20012d80894005c39c88000d00bf2b..."} 
[2026-08-21 00:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02088fe20012d80894005c39c88000d00bf2b..."} 
[2026-08-21 00:29:38] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02088fe20012d80894005c39c88000d00bf2b..."} 
[2026-08-21 00:29:38] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02088"} 
[2026-08-21 00:29:38] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02088"} 
[2026-08-21 00:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763398464,"raw_latitude":96705672,"longitude_deg":76.3398464,"latitude_deg":9.6705672,"altitude":13,"angle":191,"satellites":43,"speed":12,"hex_longitude":"2d808940","hex_latitude":"05c39c88","is_valid_coordinates":true} 
[2026-08-21 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536569088001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387473420956205056,"note":"Value kept but may cause issues"} 
[2026-08-21 00:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184035884101709824,"note":"Value kept but may cause issues"} 
[2026-08-21 00:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787252244000,"timestamp_ms":1787252244000,"timestamp_seconds":1787252244,"priority":1,"record_length":96,"hex_timestamp":"000001a02088fe20"} 
[2026-08-21 00:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 00:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536569088001,"66":27463,"157":206,"85":12288,"24":12,"16":387473420956205056,"45":-9184035884101709824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 00:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536569088001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:29:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 00:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387473420956205056,"km_value":387473420956205.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184035884101709824,"description":"Unknown IO ID 45"} 
[2026-08-21 00:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536569088001,"power":27463,"unknown_157":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":-9184035884101709824}} 
[2026-08-21 00:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:29:38] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:29:38] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:29:39] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020895028012d80840005c37c48000d00bc2d..."} 
[2026-08-21 00:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020895028012d80840005c37c48000d00bc2d..."} 
[2026-08-21 00:29:39] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020895028012d80840005c37c48000d00bc2d..."} 
[2026-08-21 00:29:39] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02089"} 
[2026-08-21 00:29:39] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02089"} 
[2026-08-21 00:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763397120,"raw_latitude":96697416,"longitude_deg":76.339712,"latitude_deg":9.6697416,"altitude":13,"angle":188,"satellites":45,"speed":20,"hex_longitude":"2d808400","hex_latitude":"05c37c48","is_valid_coordinates":true} 
[2026-08-21 00:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536574464001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387473824683130880,"note":"Value kept but may cause issues"} 
[2026-08-21 00:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184739571544586240,"note":"Value kept but may cause issues"} 
[2026-08-21 00:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787252265000,"timestamp_ms":1787252265000,"timestamp_seconds":1787252265,"priority":1,"record_length":96,"hex_timestamp":"000001a020895028"} 
[2026-08-21 00:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 00:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536574464001,"66":27376,"157":206,"85":12288,"24":20,"16":387473824683130880,"45":-9184739571544586240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 00:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536574464001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:29:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 00:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387473824683130880,"km_value":387473824683130.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184739571544586240,"description":"Unknown IO ID 45"} 
[2026-08-21 00:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536574464001,"power":27376,"unknown_157":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-9184739571544586240}} 
[2026-08-21 00:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:29:39] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:29:39] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:30:10] local.INFO: TCP Data received {"connection_id":159858,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02089a230012d807f8005c35ef0000d00bf2b..."} 
[2026-08-21 00:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02089a230012d807f8005c35ef0000d00bf2b..."} 
[2026-08-21 00:30:10] local.INFO: Processing buffer {"connection_id":159858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02089a230012d807f8005c35ef0000d00bf2b..."} 
[2026-08-21 00:30:10] local.INFO: Packet analysis {"connection_id":159858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02089"} 
[2026-08-21 00:30:10] local.INFO: Extracted packet for processing {"connection_id":159858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02089"} 
[2026-08-21 00:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763395968,"raw_latitude":96689904,"longitude_deg":76.3395968,"latitude_deg":9.6689904,"altitude":13,"angle":191,"satellites":43,"speed":11,"hex_longitude":"2d807f80","hex_latitude":"05c35ef0","is_valid_coordinates":true} 
[2026-08-21 00:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536579840001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387474194050318336,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186217315174430720,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787252286000,"timestamp_ms":1787252286000,"timestamp_seconds":1787252286,"priority":1,"record_length":96,"hex_timestamp":"000001a02089a230"} 
[2026-08-21 00:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00: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-08-21 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 00:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536579840001,"66":27343,"157":206,"85":12288,"24":11,"16":387474194050318336,"45":-9186217315174430720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 00:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536579840001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387474194050318336,"km_value":387474194050318.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186217315174430720,"description":"Unknown IO ID 45"} 
[2026-08-21 00:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536579840001,"power":27343,"unknown_157":206,"unknown_85":12288,"ignition":11,"odometer":null,"unknown_45":-9186217315174430720}} 
[2026-08-21 00:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":159858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:30:10] local.INFO: GPS data processed {"connection_id":159858,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:30:10] local.INFO: Acknowledgment sent {"connection_id":159858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:30:31] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:32] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:32] local.INFO: IMEI packet received {"connection_id":161241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":161241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:30:32] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:32] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:32] local.INFO: IMEI packet received {"connection_id":161241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":161241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:30:37] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:37] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:30:37] local.INFO: IMEI packet received {"connection_id":161241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":161241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:30:39] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208af608012d80488005c20310000d00b72d..."} 
[2026-08-21 00:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208af608012d80488005c20310000d00b72d..."} 
[2026-08-21 00:30:39] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208af608012d80488005c20310000d00b72d..."} 
[2026-08-21 00:30:39] local.INFO: Packet analysis {"connection_id":161241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208a"} 
[2026-08-21 00:30:39] local.INFO: Extracted packet for processing {"connection_id":161241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208a"} 
[2026-08-21 00:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763381888,"raw_latitude":96600848,"longitude_deg":76.3381888,"latitude_deg":9.6600848,"altitude":13,"angle":183,"satellites":45,"speed":56,"hex_longitude":"2d804880","hex_latitude":"05c20310","is_valid_coordinates":true} 
[2026-08-21 00:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536605696001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387478574916960256,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201205857706414080,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787252373000,"timestamp_ms":1787252373000,"timestamp_seconds":1787252373,"priority":1,"record_length":96,"hex_timestamp":"000001a0208af608"} 
[2026-08-21 00:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536605696001,"66":26593,"235":206,"85":12288,"24":56,"16":387478574916960256,"45":-9201205857706414080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536605696001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:30:39] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387478574916960256,"km_value":387478574916960.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201205857706414080,"description":"Unknown IO ID 45"} 
[2026-08-21 00:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536605696001,"power":26593,"unknown_235":206,"unknown_85":12288,"ignition":56,"odometer":null,"unknown_45":-9201205857706414080}} 
[2026-08-21 00:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":161241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:30:39] local.INFO: GPS data processed {"connection_id":161241,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:30:39] local.INFO: Acknowledgment sent {"connection_id":161241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:30:40] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208b1160012d8042c005c1db28000d00be2d..."} 
[2026-08-21 00:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208b1160012d8042c005c1db28000d00be2d..."} 
[2026-08-21 00:30:40] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208b1160012d8042c005c1db28000d00be2d..."} 
[2026-08-21 00:30:40] local.INFO: Packet analysis {"connection_id":161241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208b"} 
[2026-08-21 00:30:40] local.INFO: Extracted packet for processing {"connection_id":161241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208b"} 
[2026-08-21 00:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763380416,"raw_latitude":96590632,"longitude_deg":76.3380416,"latitude_deg":9.6590632,"altitude":13,"angle":190,"satellites":45,"speed":60,"hex_longitude":"2d8042c0","hex_latitude":"05c1db28","is_valid_coordinates":true} 
[2026-08-21 00:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536607488001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387479073133166592,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9202965076313436160,"note":"Value kept but may cause issues"} 
[2026-08-21 00:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787252380000,"timestamp_ms":1787252380000,"timestamp_seconds":1787252380,"priority":1,"record_length":96,"hex_timestamp":"000001a0208b1160"} 
[2026-08-21 00:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-21 00:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2738,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536607488001,"66":27115,"235":206,"85":12288,"24":60,"16":387479073133166592,"45":-9202965076313436160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-08-21 00:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536607488001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:30:40] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 00:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 00:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387479073133166592,"km_value":387479073133166.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9202965076313436160,"description":"Unknown IO ID 45"} 
[2026-08-21 00:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536607488001,"power":27115,"unknown_235":206,"unknown_85":12288,"ignition":60,"odometer":null,"unknown_45":-9202965076313436160}} 
[2026-08-21 00:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":161241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:30:40] local.INFO: GPS data processed {"connection_id":161241,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:30:40] local.INFO: Acknowledgment sent {"connection_id":161241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:31:11] local.INFO: TCP Data received {"connection_id":161241,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208b28d0012d803d8005c1b828000d00bb2d..."} 
[2026-08-21 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208b28d0012d803d8005c1b828000d00bb2d..."} 
[2026-08-21 00:31:11] local.INFO: Processing buffer {"connection_id":161241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208b28d0012d803d8005c1b828000d00bb2d..."} 
[2026-08-21 00:31:11] local.INFO: Packet analysis {"connection_id":161241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208b"} 
[2026-08-21 00:31:11] local.INFO: Extracted packet for processing {"connection_id":161241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208b"} 
[2026-08-21 00:31:11] local.INFO: GPS Element Parsed {"raw_longitude":763379072,"raw_latitude":96581672,"longitude_deg":76.3379072,"latitude_deg":9.6581672,"altitude":13,"angle":187,"satellites":45,"speed":59,"hex_longitude":"2d803d80","hex_latitude":"05c1b828","is_valid_coordinates":true} 
[2026-08-21 00:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536609280001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387479515514798080,"note":"Value kept but may cause issues"} 
[2026-08-21 00:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204583557432137728,"note":"Value kept but may cause issues"} 
[2026-08-21 00:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787252386000,"timestamp_ms":1787252386000,"timestamp_seconds":1787252386,"priority":1,"record_length":96,"hex_timestamp":"000001a0208b28d0"} 
[2026-08-21 00:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-21 00:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536609280001,"66":27300,"119":206,"85":12544,"24":59,"16":387479515514798080,"45":-9204583557432137728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536609280001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387479515514798080,"km_value":387479515514798.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204583557432137728,"description":"Unknown IO ID 45"} 
[2026-08-21 00:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536609280001,"power":27300,"unknown_119":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":-9204583557432137728}} 
[2026-08-21 00:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":161241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:31:11] local.INFO: GPS data processed {"connection_id":161241,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:31:11] local.INFO: Acknowledgment sent {"connection_id":161241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:31:27] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:31:27] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:31:27] local.INFO: IMEI packet received {"connection_id":158716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":158716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:31:30] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:31:30] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:31:30] local.INFO: IMEI packet received {"connection_id":158716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":158716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:31:31] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208b4428012d80378005c19078000e00bc2c..."} 
[2026-08-21 00:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208b4428012d80378005c19078000e00bc2c..."} 
[2026-08-21 00:31:31] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208b4428012d80378005c19078000e00bc2c..."} 
[2026-08-21 00:31:31] local.INFO: Packet analysis {"connection_id":158716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208b"} 
[2026-08-21 00:31:31] local.INFO: Extracted packet for processing {"connection_id":158716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208b"} 
[2026-08-21 00:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763377536,"raw_latitude":96571512,"longitude_deg":76.3377536,"latitude_deg":9.6571512,"altitude":14,"angle":188,"satellites":44,"speed":57,"hex_longitude":"2d803780","hex_latitude":"05c19078","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536610816001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387480013731004416,"note":"Value kept but may cause issues"} 
[2026-08-21 00:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206061301062162432,"note":"Value kept but may cause issues"} 
[2026-08-21 00:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787252393000,"timestamp_ms":1787252393000,"timestamp_seconds":1787252393,"priority":1,"record_length":96,"hex_timestamp":"000001a0208b4428"} 
[2026-08-21 00:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:31: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-08-21 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536610816001,"66":27321,"119":206,"85":12544,"24":57,"16":387480013731004416,"45":-9206061301062162432},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536610816001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387480013731004416,"km_value":387480013731004.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206061301062162432,"description":"Unknown IO ID 45"} 
[2026-08-21 00:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536610816001,"power":27321,"unknown_119":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":-9206061301062162432}} 
[2026-08-21 00:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":158716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:31:31] local.INFO: GPS data processed {"connection_id":158716,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:31:31] local.INFO: Acknowledgment sent {"connection_id":158716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:32:02] local.INFO: TCP Data received {"connection_id":158716,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208c5598012d7ffe4005c00ac8000c00bd2c..."} 
[2026-08-21 00:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208c5598012d7ffe4005c00ac8000c00bd2c..."} 
[2026-08-21 00:32:02] local.INFO: Processing buffer {"connection_id":158716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208c5598012d7ffe4005c00ac8000c00bd2c..."} 
[2026-08-21 00:32:02] local.INFO: Packet analysis {"connection_id":158716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208c"} 
[2026-08-21 00:32:02] local.INFO: Extracted packet for processing {"connection_id":158716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208c"} 
[2026-08-21 00:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763362880,"raw_latitude":96471752,"longitude_deg":76.336288,"latitude_deg":9.6471752,"altitude":12,"angle":189,"satellites":44,"speed":58,"hex_longitude":"2d7ffe40","hex_latitude":"05c00ac8","is_valid_coordinates":true} 
[2026-08-21 00:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536628992001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387484901403787264,"note":"Value kept but may cause issues"} 
[2026-08-21 00:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222175743504750592,"note":"Value kept but may cause issues"} 
[2026-08-21 00:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787252463000,"timestamp_ms":1787252463000,"timestamp_seconds":1787252463,"priority":1,"record_length":96,"hex_timestamp":"000001a0208c5598"} 
[2026-08-21 00:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 00:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536628992001,"66":27169,"119":206,"85":12544,"24":58,"16":387484901403787264,"45":-9222175743504750592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536628992001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:32:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387484901403787264,"km_value":387484901403787.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222175743504750592,"description":"Unknown IO ID 45"} 
[2026-08-21 00:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536628992001,"power":27169,"unknown_119":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":-9222175743504750592}} 
[2026-08-21 00:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":158716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:32:02] local.INFO: GPS data processed {"connection_id":158716,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:32:02] local.INFO: Acknowledgment sent {"connection_id":158716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:32:27] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:32:27] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:32:27] local.INFO: IMEI packet received {"connection_id":159004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":159004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:32:31] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:32:31] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:32:31] local.INFO: IMEI packet received {"connection_id":159004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":159004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:32:31] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208c70f0012d7ff80005bfe528000c00bd2b..."} 
[2026-08-21 00:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208c70f0012d7ff80005bfe528000c00bd2b..."} 
[2026-08-21 00:32:31] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208c70f0012d7ff80005bfe528000c00bd2b..."} 
[2026-08-21 00:32:31] local.INFO: Packet analysis {"connection_id":159004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208c"} 
[2026-08-21 00:32:31] local.INFO: Extracted packet for processing {"connection_id":159004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208c"} 
[2026-08-21 00:32:31] local.INFO: GPS Element Parsed {"raw_longitude":763361280,"raw_latitude":96462120,"longitude_deg":76.336128,"latitude_deg":9.646212,"altitude":12,"angle":189,"satellites":43,"speed":54,"hex_longitude":"2d7ff800","hex_latitude":"05bfe528","is_valid_coordinates":true} 
[2026-08-21 00:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536630528001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387485373850189824,"note":"Value kept but may cause issues"} 
[2026-08-21 00:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9222879480342300672,"note":"Value kept but may cause issues"} 
[2026-08-21 00:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787252470000,"timestamp_ms":1787252470000,"timestamp_seconds":1787252470,"priority":1,"record_length":96,"hex_timestamp":"000001a0208c70f0"} 
[2026-08-21 00:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:32: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-08-21 00:32: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":33,"data_length":795,"current_offset":136} 
[2026-08-21 00:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536630528001,"66":27310,"119":206,"85":12544,"24":54,"16":387485373850189824,"45":9222879480342300672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536630528001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387485373850189824,"km_value":387485373850189.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9222879480342300672,"description":"Unknown IO ID 45"} 
[2026-08-21 00:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536630528001,"power":27310,"unknown_119":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9222879480342300672}} 
[2026-08-21 00:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":159004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:32:32] local.INFO: GPS data processed {"connection_id":159004,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:32:32] local.INFO: Acknowledgment sent {"connection_id":159004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:33:02] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208c8c48012d7ff04005bfc0d0000d00be2d..."} 
[2026-08-21 00:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208c8c48012d7ff04005bfc0d0000d00be2d..."} 
[2026-08-21 00:33:02] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208c8c48012d7ff04005bfc0d0000d00be2d..."} 
[2026-08-21 00:33:02] local.INFO: Packet analysis {"connection_id":159004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208c"} 
[2026-08-21 00:33:02] local.INFO: Extracted packet for processing {"connection_id":159004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208c"} 
[2026-08-21 00:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763359296,"raw_latitude":96452816,"longitude_deg":76.3359296,"latitude_deg":9.6452816,"altitude":13,"angle":190,"satellites":45,"speed":53,"hex_longitude":"2d7ff040","hex_latitude":"05bfc0d0","is_valid_coordinates":true} 
[2026-08-21 00:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536632320001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387485833411690496,"note":"Value kept but may cause issues"} 
[2026-08-21 00:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221120261735393280,"note":"Value kept but may cause issues"} 
[2026-08-21 00:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787252477000,"timestamp_ms":1787252477000,"timestamp_seconds":1787252477,"priority":1,"record_length":96,"hex_timestamp":"000001a0208c8c48"} 
[2026-08-21 00:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 00:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536632320001,"66":27321,"119":206,"85":12544,"24":53,"16":387485833411690496,"45":9221120261735393280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536632320001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:33:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387485833411690496,"km_value":387485833411690.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221120261735393280,"description":"Unknown IO ID 45"} 
[2026-08-21 00:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536632320001,"power":27321,"unknown_119":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9221120261735393280}} 
[2026-08-21 00:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":159004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:33:02] local.INFO: GPS data processed {"connection_id":159004,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:33:02] local.INFO: Acknowledgment sent {"connection_id":159004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:33:27] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:33:27] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:33:27] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:33:30] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:33:30] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:33:30] local.INFO: IMEI packet received {"connection_id":159859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":159859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:33:31] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208dc0e0012d7fac4005be21f8000c00be2a..."} 
[2026-08-21 00:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208dc0e0012d7fac4005be21f8000c00be2a..."} 
[2026-08-21 00:33:31] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208dc0e0012d7fac4005be21f8000c00be2a..."} 
[2026-08-21 00:33:31] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208d"} 
[2026-08-21 00:33:31] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208d"} 
[2026-08-21 00:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":96346616,"longitude_deg":76.3341888,"latitude_deg":9.6346616,"altitude":12,"angle":190,"satellites":42,"speed":56,"hex_longitude":"2d7fac40","hex_latitude":"05be21f8","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536652544001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387491051796955136,"note":"Value kept but may cause issues"} 
[2026-08-21 00:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201909594547847168,"note":"Value kept but may cause issues"} 
[2026-08-21 00:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787252556000,"timestamp_ms":1787252556000,"timestamp_seconds":1787252556,"priority":1,"record_length":96,"hex_timestamp":"000001a0208dc0e0"} 
[2026-08-21 00:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 00:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536652544001,"66":27376,"119":206,"85":12544,"24":56,"16":387491051796955136,"45":9201909594547847168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536652544001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:33:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387491051796955136,"km_value":387491051796955.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201909594547847168,"description":"Unknown IO ID 45"} 
[2026-08-21 00:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536652544001,"power":27376,"unknown_119":206,"unknown_85":12544,"ignition":56,"odometer":null,"unknown_45":9201909594547847168}} 
[2026-08-21 00:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:33:31] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:33:31] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:34:02] local.INFO: TCP Data received {"connection_id":159859,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208ddc38012d7fa5c005bdfdb8000d00bd2c..."} 
[2026-08-21 00:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208ddc38012d7fa5c005bdfdb8000d00bd2c..."} 
[2026-08-21 00:34:02] local.INFO: Processing buffer {"connection_id":159859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208ddc38012d7fa5c005bdfdb8000d00bd2c..."} 
[2026-08-21 00:34:02] local.INFO: Packet analysis {"connection_id":159859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208d"} 
[2026-08-21 00:34:02] local.INFO: Extracted packet for processing {"connection_id":159859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208d"} 
[2026-08-21 00:34:02] local.INFO: GPS Element Parsed {"raw_longitude":763340224,"raw_latitude":96337336,"longitude_deg":76.3340224,"latitude_deg":9.6337336,"altitude":13,"angle":189,"satellites":44,"speed":49,"hex_longitude":"2d7fa5c0","hex_latitude":"05bdfdb8","is_valid_coordinates":true} 
[2026-08-21 00:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536654336001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387491507063488512,"note":"Value kept but may cause issues"} 
[2026-08-21 00:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798532219992064,"note":"Value kept but may cause issues"} 
[2026-08-21 00:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787252563000,"timestamp_ms":1787252563000,"timestamp_seconds":1787252563,"priority":1,"record_length":96,"hex_timestamp":"000001a0208ddc38"} 
[2026-08-21 00:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 00:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536654336001,"66":27365,"119":206,"85":12544,"24":49,"16":387491507063488512,"45":9199798532219992064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536654336001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:34:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387491507063488512,"km_value":387491507063488.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798532219992064,"description":"Unknown IO ID 45"} 
[2026-08-21 00:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536654336001,"power":27365,"unknown_119":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9199798532219992064}} 
[2026-08-21 00:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":159859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:34:02] local.INFO: GPS data processed {"connection_id":159859,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:34:02] local.INFO: Acknowledgment sent {"connection_id":159859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:34:26] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:26] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:26] local.INFO: IMEI packet received {"connection_id":158717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":158717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:34:27] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:27] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:27] local.INFO: IMEI packet received {"connection_id":158717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":158717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:34:32] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:32] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:34:32] local.INFO: IMEI packet received {"connection_id":158717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":158717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:34:33] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208dff60012d7fa24005bddc18000c00ad2c..."} 
[2026-08-21 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208dff60012d7fa24005bddc18000c00ad2c..."} 
[2026-08-21 00:34:33] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208dff60012d7fa24005bddc18000c00ad2c..."} 
[2026-08-21 00:34:33] local.INFO: Packet analysis {"connection_id":158717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208d"} 
[2026-08-21 00:34:33] local.INFO: Extracted packet for processing {"connection_id":158717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208d"} 
[2026-08-21 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763339328,"raw_latitude":96328728,"longitude_deg":76.3339328,"latitude_deg":9.6328728,"altitude":12,"angle":173,"satellites":44,"speed":27,"hex_longitude":"2d7fa240","hex_latitude":"05bddc18","is_valid_coordinates":true} 
[2026-08-21 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536656128001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387491927970283520,"note":"Value kept but may cause issues"} 
[2026-08-21 00:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197968944868997120,"note":"Value kept but may cause issues"} 
[2026-08-21 00:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787252572000,"timestamp_ms":1787252572000,"timestamp_seconds":1787252572,"priority":1,"record_length":96,"hex_timestamp":"000001a0208dff60"} 
[2026-08-21 00:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 00:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536656128001,"66":27267,"119":206,"85":12544,"24":27,"16":387491927970283520,"45":9197968944868997120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536656128001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:34:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387491927970283520,"km_value":387491927970283.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197968944868997120,"description":"Unknown IO ID 45"} 
[2026-08-21 00:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536656128001,"power":27267,"unknown_119":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9197968944868997120}} 
[2026-08-21 00:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":158717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:34:33] local.INFO: GPS data processed {"connection_id":158717,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:34:33] local.INFO: Acknowledgment sent {"connection_id":158717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:35:05] local.INFO: TCP Data received {"connection_id":158717,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208e0f00012d7fa2c005bdd1a8000c00ba2c..."} 
[2026-08-21 00:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208e0f00012d7fa2c005bdd1a8000c00ba2c..."} 
[2026-08-21 00:35:05] local.INFO: Processing buffer {"connection_id":158717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208e0f00012d7fa2c005bdd1a8000c00ba2c..."} 
[2026-08-21 00:35:05] local.INFO: Packet analysis {"connection_id":158717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:35:05] local.INFO: Extracted packet for processing {"connection_id":158717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":96326056,"longitude_deg":76.3339456,"latitude_deg":9.6326056,"altitude":12,"angle":186,"satellites":44,"speed":25,"hex_longitude":"2d7fa2c0","hex_latitude":"05bdd1a8","is_valid_coordinates":true} 
[2026-08-21 00:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387492061114269696,"note":"Value kept but may cause issues"} 
[2026-08-21 00:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196983782448306176,"note":"Value kept but may cause issues"} 
[2026-08-21 00:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787252576000,"timestamp_ms":1787252576000,"timestamp_seconds":1787252576,"priority":1,"record_length":96,"hex_timestamp":"000001a0208e0f00"} 
[2026-08-21 00:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536658432001,"66":27343,"119":206,"85":12544,"24":25,"16":387492061114269696,"45":9196983782448306176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:35:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387492061114269696,"km_value":387492061114269.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196983782448306176,"description":"Unknown IO ID 45"} 
[2026-08-21 00:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536658432001,"power":27343,"unknown_119":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9196983782448306176}} 
[2026-08-21 00:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":158717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:35:05] local.INFO: GPS data processed {"connection_id":158717,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:35:05] local.INFO: Acknowledgment sent {"connection_id":158717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:35:27] local.INFO: TCP Data received {"connection_id":158718,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:35:27] local.INFO: Processing buffer {"connection_id":158718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:35:27] local.INFO: IMEI packet received {"connection_id":158718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":158718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:35:32] local.INFO: TCP Data received {"connection_id":158718,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:35:32] local.INFO: Processing buffer {"connection_id":158718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:35:32] local.INFO: IMEI packet received {"connection_id":158718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":158718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:35:33] local.INFO: TCP Data received {"connection_id":158718,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208e41c8012d7f9c4005bdaf58000d00be2b..."} 
[2026-08-21 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208e41c8012d7f9c4005bdaf58000d00be2b..."} 
[2026-08-21 00:35:33] local.INFO: Processing buffer {"connection_id":158718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208e41c8012d7f9c4005bdaf58000d00be2b..."} 
[2026-08-21 00:35:33] local.INFO: Packet analysis {"connection_id":158718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:35:33] local.INFO: Extracted packet for processing {"connection_id":158718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":763337792,"raw_latitude":96317272,"longitude_deg":76.3337792,"latitude_deg":9.6317272,"altitude":13,"angle":190,"satellites":43,"speed":31,"hex_longitude":"2d7f9c40","hex_latitude":"05bdaf58","is_valid_coordinates":true} 
[2026-08-21 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536659456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387492494905966592,"note":"Value kept but may cause issues"} 
[2026-08-21 00:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519935977472,"note":"Value kept but may cause issues"} 
[2026-08-21 00:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787252589000,"timestamp_ms":1787252589000,"timestamp_seconds":1787252589,"priority":1,"record_length":96,"hex_timestamp":"000001a0208e41c8"} 
[2026-08-21 00:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536659456001,"66":27310,"119":206,"85":12544,"24":31,"16":387492494905966592,"45":9197124519935977472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536659456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:35:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:35:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387492494905966592,"km_value":387492494905966.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519935977472,"description":"Unknown IO ID 45"} 
[2026-08-21 00:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536659456001,"power":27310,"unknown_119":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9197124519935977472}} 
[2026-08-21 00:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":158718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:35:33] local.INFO: GPS data processed {"connection_id":158718,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:35:33] local.INFO: Acknowledgment sent {"connection_id":158718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:36:05] local.INFO: TCP Data received {"connection_id":158718,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208e6cc0012d7f94c005bd8cf0000c00bf2b..."} 
[2026-08-21 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208e6cc0012d7f94c005bd8cf0000c00bf2b..."} 
[2026-08-21 00:36:05] local.INFO: Processing buffer {"connection_id":158718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208e6cc0012d7f94c005bd8cf0000c00bf2b..."} 
[2026-08-21 00:36:05] local.INFO: Packet analysis {"connection_id":158718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:36:05] local.INFO: Extracted packet for processing {"connection_id":158718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":763335872,"raw_latitude":96308464,"longitude_deg":76.3335872,"latitude_deg":9.6308464,"altitude":12,"angle":191,"satellites":43,"speed":31,"hex_longitude":"2d7f94c0","hex_latitude":"05bd8cf0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 00:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536662784001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387492928697663488,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195294932585109504,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787252600000,"timestamp_ms":1787252600000,"timestamp_seconds":1787252600,"priority":1,"record_length":96,"hex_timestamp":"000001a0208e6cc0"} 
[2026-08-21 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-08-21 00:36: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-08-21 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 00:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 00:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536662784001,"66":27234,"119":206,"85":12544,"24":31,"16":387492928697663488,"45":9195294932585109504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536662784001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:36:05] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:36:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387492928697663488,"km_value":387492928697663.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195294932585109504,"description":"Unknown IO ID 45"} 
[2026-08-21 00:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536662784001,"power":27234,"unknown_119":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9195294932585109504}} 
[2026-08-21 00:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":158718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:36:05] local.INFO: GPS data processed {"connection_id":158718,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:36:05] local.INFO: Acknowledgment sent {"connection_id":158718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:36:32] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:36:32] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:36:32] local.INFO: IMEI packet received {"connection_id":161242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":161242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:36:34] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:36:34] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:36:34] local.INFO: IMEI packet received {"connection_id":161242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":161242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:36:35] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208ea370012d7f8d8005bd6a08000d00be2c..."} 
[2026-08-21 00:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208ea370012d7f8d8005bd6a08000d00be2c..."} 
[2026-08-21 00:36:35] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208ea370012d7f8d8005bd6a08000d00be2c..."} 
[2026-08-21 00:36:35] local.INFO: Packet analysis {"connection_id":161242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:36:35] local.INFO: Extracted packet for processing {"connection_id":161242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763334016,"raw_latitude":96299528,"longitude_deg":76.3334016,"latitude_deg":9.6299528,"altitude":13,"angle":190,"satellites":44,"speed":22,"hex_longitude":"2d7f8d80","hex_latitude":"05bd6a08","is_valid_coordinates":true} 
[2026-08-21 00:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536665600001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387493371079294976,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193183870257524736,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787252614000,"timestamp_ms":1787252614000,"timestamp_seconds":1787252614,"priority":1,"record_length":96,"hex_timestamp":"000001a0208ea370"} 
[2026-08-21 00:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:36: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-08-21 00:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 00:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536665600001,"66":27539,"119":206,"85":12544,"24":22,"16":387493371079294976,"45":9193183870257524736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536665600001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:36:35] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387493371079294976,"km_value":387493371079295.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193183870257524736,"description":"Unknown IO ID 45"} 
[2026-08-21 00:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536665600001,"power":27539,"unknown_119":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9193183870257524736}} 
[2026-08-21 00:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":161242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:36:35] local.INFO: GPS data processed {"connection_id":161242,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:36:35] local.INFO: Acknowledgment sent {"connection_id":161242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:36:38] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0208eda20012d7f880005bd4730000e00ba2b..."} 
[2026-08-21 00:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0208eda20012d7f880005bd4730000e00ba2b..."} 
[2026-08-21 00:36:38] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0208eda20012d7f880005bd4730000e00ba2b..."} 
[2026-08-21 00:36:38] local.INFO: Packet analysis {"connection_id":161242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:36:38] local.INFO: Extracted packet for processing {"connection_id":161242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0208e"} 
[2026-08-21 00:36:38] local.INFO: GPS Element Parsed {"raw_longitude":763332608,"raw_latitude":96290608,"longitude_deg":76.3332608,"latitude_deg":9.6290608,"altitude":14,"angle":186,"satellites":43,"speed":27,"hex_longitude":"2d7f8800","hex_latitude":"05bd4730","is_valid_coordinates":true} 
[2026-08-21 00:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536669184001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387493809165959168,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191143176674084864,"note":"Value kept but may cause issues"} 
[2026-08-21 00:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787252628000,"timestamp_ms":1787252628000,"timestamp_seconds":1787252628,"priority":1,"record_length":96,"hex_timestamp":"000001a0208eda20"} 
[2026-08-21 00:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-21 00:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536669184001,"66":27310,"119":206,"85":12544,"24":27,"16":387493809165959168,"45":9191143176674084864},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 00:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536669184001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:36:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 00:36:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387493809165959168,"km_value":387493809165959.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191143176674084864,"description":"Unknown IO ID 45"} 
[2026-08-21 00:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536669184001,"power":27310,"unknown_119":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9191143176674084864}} 
[2026-08-21 00:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":161242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:36:38] local.INFO: GPS data processed {"connection_id":161242,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:36:38] local.INFO: Acknowledgment sent {"connection_id":161242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:37:09] local.INFO: TCP Data received {"connection_id":161242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209104d0012d7f418005bbcf38000c00bd2e..."} 
[2026-08-21 00:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209104d0012d7f418005bbcf38000c00bd2e..."} 
[2026-08-21 00:37:09] local.INFO: Processing buffer {"connection_id":161242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209104d0012d7f418005bbcf38000c00bd2e..."} 
[2026-08-21 00:37:09] local.INFO: Packet analysis {"connection_id":161242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:37:09] local.INFO: Extracted packet for processing {"connection_id":161242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:37:09] local.INFO: GPS Element Parsed {"raw_longitude":763314560,"raw_latitude":96194360,"longitude_deg":76.331456,"latitude_deg":9.619436,"altitude":12,"angle":189,"satellites":46,"speed":60,"hex_longitude":"2d7f4180","hex_latitude":"05bbcf38","is_valid_coordinates":true} 
[2026-08-21 00:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536707328001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387498567989723136,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171932509489248256,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787252770000,"timestamp_ms":1787252770000,"timestamp_seconds":1787252770,"priority":1,"record_length":96,"hex_timestamp":"000001a0209104d0"} 
[2026-08-21 00:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 00:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536707328001,"66":27267,"121":206,"85":12544,"24":60,"16":387498567989723136,"45":9171932509489248256},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536707328001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:37:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:37:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387498567989723136,"km_value":387498567989723.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171932509489248256,"description":"Unknown IO ID 45"} 
[2026-08-21 00:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536707328001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":60,"odometer":null,"unknown_45":9171932509489248256}} 
[2026-08-21 00:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":161242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:37:09] local.INFO: GPS data processed {"connection_id":161242,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:37:09] local.INFO: Acknowledgment sent {"connection_id":161242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:37:27] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:27] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:27] local.INFO: IMEI packet received {"connection_id":161243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":161243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:37:28] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:28] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:28] local.INFO: IMEI packet received {"connection_id":161243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":161243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:37:30] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:30] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:37:30] local.INFO: IMEI packet received {"connection_id":161243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":161243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:37:31] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020911c40012d7f3b0005bbac98000b00c02e..."} 
[2026-08-21 00:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020911c40012d7f3b0005bbac98000b00c02e..."} 
[2026-08-21 00:37:31] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020911c40012d7f3b0005bbac98000b00c02e..."} 
[2026-08-21 00:37:31] local.INFO: Packet analysis {"connection_id":161243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:37:31] local.INFO: Extracted packet for processing {"connection_id":161243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763312896,"raw_latitude":96185496,"longitude_deg":76.3312896,"latitude_deg":9.6185496,"altitude":11,"angle":192,"satellites":46,"speed":59,"hex_longitude":"2d7f3b00","hex_latitude":"05bbac98","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536709120001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387499006076387328,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169751078417152000,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787252776000,"timestamp_ms":1787252776000,"timestamp_seconds":1787252776,"priority":1,"record_length":96,"hex_timestamp":"000001a020911c40"} 
[2026-08-21 00:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536709120001,"66":27267,"121":206,"85":12544,"24":59,"16":387499006076387328,"45":9169751078417152000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536709120001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387499006076387328,"km_value":387499006076387.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169751078417152000,"description":"Unknown IO ID 45"} 
[2026-08-21 00:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536709120001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9169751078417152000}} 
[2026-08-21 00:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":161243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:37:31] local.INFO: GPS data processed {"connection_id":161243,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:37:31] local.INFO: Acknowledgment sent {"connection_id":161243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:37:32] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020913b80012d7f334005bb8930000b00be2d..."} 
[2026-08-21 00:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020913b80012d7f334005bb8930000b00be2d..."} 
[2026-08-21 00:37:32] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020913b80012d7f334005bb8930000b00be2d..."} 
[2026-08-21 00:37:32] local.INFO: Packet analysis {"connection_id":161243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:37:32] local.INFO: Extracted packet for processing {"connection_id":161243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763310912,"raw_latitude":96176432,"longitude_deg":76.3310912,"latitude_deg":9.6176432,"altitude":11,"angle":190,"satellites":45,"speed":27,"hex_longitude":"2d7f3340","hex_latitude":"05bb8930","is_valid_coordinates":true} 
[2026-08-21 00:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536710656001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387499457047953408,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921491066263552,"note":"Value kept but may cause issues"} 
[2026-08-21 00:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787252784000,"timestamp_ms":1787252784000,"timestamp_seconds":1787252784,"priority":1,"record_length":96,"hex_timestamp":"000001a020913b80"} 
[2026-08-21 00:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:37: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-08-21 00:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:37: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-08-21 00:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536710656001,"66":27321,"121":206,"85":12544,"24":27,"16":387499457047953408,"45":9167921491066263552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536710656001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:37:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387499457047953408,"km_value":387499457047953.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921491066263552,"description":"Unknown IO ID 45"} 
[2026-08-21 00:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536710656001,"power":27321,"unknown_121":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9167921491066263552}} 
[2026-08-21 00:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":161243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:37:32] local.INFO: GPS data processed {"connection_id":161243,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:37:32] local.INFO: Acknowledgment sent {"connection_id":161243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:38:03] local.INFO: TCP Data received {"connection_id":161243,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020916e48012d7f2d0005bb64f0000a00bd2d..."} 
[2026-08-21 00:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020916e48012d7f2d0005bb64f0000a00bd2d..."} 
[2026-08-21 00:38:03] local.INFO: Processing buffer {"connection_id":161243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020916e48012d7f2d0005bb64f0000a00bd2d..."} 
[2026-08-21 00:38:03] local.INFO: Packet analysis {"connection_id":161243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:38:03] local.INFO: Extracted packet for processing {"connection_id":161243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763309312,"raw_latitude":96167152,"longitude_deg":76.3309312,"latitude_deg":9.6167152,"altitude":10,"angle":189,"satellites":45,"speed":33,"hex_longitude":"2d7f2d00","hex_latitude":"05bb64f0","is_valid_coordinates":true} 
[2026-08-21 00:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536712704001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387499912314486784,"note":"Value kept but may cause issues"} 
[2026-08-21 00:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165740059994435584,"note":"Value kept but may cause issues"} 
[2026-08-21 00:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787252797000,"timestamp_ms":1787252797000,"timestamp_seconds":1787252797,"priority":1,"record_length":96,"hex_timestamp":"000001a020916e48"} 
[2026-08-21 00:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536712704001,"66":27213,"121":206,"85":12544,"24":33,"16":387499912314486784,"45":9165740059994435584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536712704001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:38:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:38:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387499912314486784,"km_value":387499912314486.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165740059994435584,"description":"Unknown IO ID 45"} 
[2026-08-21 00:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536712704001,"power":27213,"unknown_121":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9165740059994435584}} 
[2026-08-21 00:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":161243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:38:03] local.INFO: GPS data processed {"connection_id":161243,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:38:03] local.INFO: Acknowledgment sent {"connection_id":161243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:38:27] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:38:27] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:38:27] local.INFO: IMEI packet received {"connection_id":158719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":158719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:38:30] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:38:30] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:38:30] local.INFO: IMEI packet received {"connection_id":158719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":158719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:38:31] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020919d28012d7f26c005bb4090000900b42e..."} 
[2026-08-21 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020919d28012d7f26c005bb4090000900b42e..."} 
[2026-08-21 00:38:31] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020919d28012d7f26c005bb4090000900b42e..."} 
[2026-08-21 00:38:31] local.INFO: Packet analysis {"connection_id":158719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:38:31] local.INFO: Extracted packet for processing {"connection_id":158719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:38:31] local.INFO: GPS Element Parsed {"raw_longitude":763307712,"raw_latitude":96157840,"longitude_deg":76.3307712,"latitude_deg":9.615784,"altitude":9,"angle":180,"satellites":46,"speed":31,"hex_longitude":"2d7f26c0","hex_latitude":"05bb4090","is_valid_coordinates":true} 
[2026-08-21 00:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536716032001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387500371875987456,"note":"Value kept but may cause issues"} 
[2026-08-21 00:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163980841387618304,"note":"Value kept but may cause issues"} 
[2026-08-21 00:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787252809000,"timestamp_ms":1787252809000,"timestamp_seconds":1787252809,"priority":1,"record_length":96,"hex_timestamp":"000001a020919d28"} 
[2026-08-21 00:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:38: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-08-21 00:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 00:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536716032001,"66":27365,"121":206,"85":12544,"24":31,"16":387500371875987456,"45":9163980841387618304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536716032001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387500371875987456,"km_value":387500371875987.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163980841387618304,"description":"Unknown IO ID 45"} 
[2026-08-21 00:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536716032001,"power":27365,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9163980841387618304}} 
[2026-08-21 00:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":158719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:38:31] local.INFO: GPS data processed {"connection_id":158719,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:38:31] local.INFO: Acknowledgment sent {"connection_id":158719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:39:02] local.INFO: TCP Data received {"connection_id":158719,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02091a8e0012d7f27c005bb3838000900a72d..."} 
[2026-08-21 00:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02091a8e0012d7f27c005bb3838000900a72d..."} 
[2026-08-21 00:39:02] local.INFO: Processing buffer {"connection_id":158719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02091a8e0012d7f27c005bb3838000900a72d..."} 
[2026-08-21 00:39:02] local.INFO: Packet analysis {"connection_id":158719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:39:02] local.INFO: Extracted packet for processing {"connection_id":158719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02091"} 
[2026-08-21 00:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763307968,"raw_latitude":96155704,"longitude_deg":76.3307968,"latitude_deg":9.6155704,"altitude":9,"angle":167,"satellites":45,"speed":26,"hex_longitude":"2d7f27c0","hex_latitude":"05bb3838","is_valid_coordinates":true} 
[2026-08-21 00:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536719104001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387500474955202560,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162221622780792832,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787252812000,"timestamp_ms":1787252812000,"timestamp_seconds":1787252812,"priority":1,"record_length":96,"hex_timestamp":"000001a02091a8e0"} 
[2026-08-21 00:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 00:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536719104001,"66":27343,"121":206,"85":12544,"24":26,"16":387500474955202560,"45":9162221622780792832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536719104001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:39:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:39:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387500474955202560,"km_value":387500474955202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162221622780792832,"description":"Unknown IO ID 45"} 
[2026-08-21 00:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536719104001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9162221622780792832}} 
[2026-08-21 00:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":158719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:39:02] local.INFO: GPS data processed {"connection_id":158719,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:39:02] local.INFO: Acknowledgment sent {"connection_id":158719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:39:27] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:27] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:27] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:39:30] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:30] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:30] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:39:32] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:32] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:39:32] local.INFO: IMEI packet received {"connection_id":159860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":159860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:39:33] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020933368012d7ef3c005b9e478000b00bf2d..."} 
[2026-08-21 00:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020933368012d7ef3c005b9e478000b00bf2d..."} 
[2026-08-21 00:39:33] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020933368012d7ef3c005b9e478000b00bf2d..."} 
[2026-08-21 00:39:33] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:39:33] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763294656,"raw_latitude":96068728,"longitude_deg":76.3294656,"latitude_deg":9.6068728,"altitude":11,"angle":191,"satellites":45,"speed":40,"hex_longitude":"2d7ef3c0","hex_latitude":"05b9e478","is_valid_coordinates":true} 
[2026-08-21 00:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536743424001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387504744152694784,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9149625617552496640,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787252913000,"timestamp_ms":1787252913000,"timestamp_seconds":1787252913,"priority":1,"record_length":96,"hex_timestamp":"000001a020933368"} 
[2026-08-21 00:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536743424001,"66":27365,"127":206,"85":12544,"24":40,"16":387504744152694784,"45":9149625617552496640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 00:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536743424001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387504744152694784,"km_value":387504744152694.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9149625617552496640,"description":"Unknown IO ID 45"} 
[2026-08-21 00:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536743424001,"power":27365,"unknown_127":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9149625617552496640}} 
[2026-08-21 00:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:39:33] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:39:33] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:39:38] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020935690012d7eed8005b9c118000b00bc2d..."} 
[2026-08-21 00:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020935690012d7eed8005b9c118000b00bc2d..."} 
[2026-08-21 00:39:38] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020935690012d7eed8005b9c118000b00bc2d..."} 
[2026-08-21 00:39:38] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:39:38] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763293056,"raw_latitude":96059672,"longitude_deg":76.3293056,"latitude_deg":9.6059672,"altitude":11,"angle":188,"satellites":45,"speed":40,"hex_longitude":"2d7eed80","hex_latitude":"05b9c118","is_valid_coordinates":true} 
[2026-08-21 00:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536745728001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387505190829293568,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9147866398945736704,"note":"Value kept but may cause issues"} 
[2026-08-21 00:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787252922000,"timestamp_ms":1787252922000,"timestamp_seconds":1787252922,"priority":1,"record_length":96,"hex_timestamp":"000001a020935690"} 
[2026-08-21 00:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 00:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536745728001,"66":27300,"121":206,"85":12544,"24":40,"16":387505190829293568,"45":9147866398945736704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536745728001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:39:38] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387505190829293568,"km_value":387505190829293.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9147866398945736704,"description":"Unknown IO ID 45"} 
[2026-08-21 00:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536745728001,"power":27300,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9147866398945736704}} 
[2026-08-21 00:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:39:38] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:39:38] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:40:09] local.INFO: TCP Data received {"connection_id":159860,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209379b8012d7ee74005b99d98000a00be2c..."} 
[2026-08-21 00:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209379b8012d7ee74005b99d98000a00be2c..."} 
[2026-08-21 00:40:09] local.INFO: Processing buffer {"connection_id":159860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209379b8012d7ee74005b99d98000a00be2c..."} 
[2026-08-21 00:40:09] local.INFO: Packet analysis {"connection_id":159860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:40:09] local.INFO: Extracted packet for processing {"connection_id":159860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:40:09] local.INFO: GPS Element Parsed {"raw_longitude":763291456,"raw_latitude":96050584,"longitude_deg":76.3291456,"latitude_deg":9.6050584,"altitude":10,"angle":190,"satellites":44,"speed":41,"hex_longitude":"2d7ee740","hex_latitude":"05b99d98","is_valid_coordinates":true} 
[2026-08-21 00:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536748032001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387505637505892352,"note":"Value kept but may cause issues"} 
[2026-08-21 00:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9146107180338976768,"note":"Value kept but may cause issues"} 
[2026-08-21 00:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787252931000,"timestamp_ms":1787252931000,"timestamp_seconds":1787252931,"priority":1,"record_length":96,"hex_timestamp":"000001a0209379b8"} 
[2026-08-21 00:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:40: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-08-21 00:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536748032001,"66":27158,"121":206,"85":12544,"24":41,"16":387505637505892352,"45":9146107180338976768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536748032001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:40:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:40:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387505637505892352,"km_value":387505637505892.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9146107180338976768,"description":"Unknown IO ID 45"} 
[2026-08-21 00:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536748032001,"power":27158,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9146107180338976768}} 
[2026-08-21 00:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":159860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:40:09] local.INFO: GPS data processed {"connection_id":159860,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:40:09] local.INFO: Acknowledgment sent {"connection_id":159860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:40:26] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:26] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:26] local.INFO: IMEI packet received {"connection_id":159005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":159005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:40:27] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:27] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:27] local.INFO: IMEI packet received {"connection_id":159005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":159005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:40:32] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:32] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:40:32] local.INFO: IMEI packet received {"connection_id":159005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":159005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:40:33] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02093a0c8012d7edfc005b97828000a00c62b..."} 
[2026-08-21 00:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02093a0c8012d7edfc005b97828000a00c62b..."} 
[2026-08-21 00:40:33] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02093a0c8012d7edfc005b97828000a00c62b..."} 
[2026-08-21 00:40:33] local.INFO: Packet analysis {"connection_id":159005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:40:33] local.INFO: Extracted packet for processing {"connection_id":159005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:40:33] local.INFO: GPS Element Parsed {"raw_longitude":763289536,"raw_latitude":96041000,"longitude_deg":76.3289536,"latitude_deg":9.6041,"altitude":10,"angle":198,"satellites":43,"speed":37,"hex_longitude":"2d7edfc0","hex_latitude":"05b97828","is_valid_coordinates":true} 
[2026-08-21 00:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536750336001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387506114247262208,"note":"Value kept but may cause issues"} 
[2026-08-21 00:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144347961732208640,"note":"Value kept but may cause issues"} 
[2026-08-21 00:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787252941000,"timestamp_ms":1787252941000,"timestamp_seconds":1787252941,"priority":1,"record_length":96,"hex_timestamp":"000001a02093a0c8"} 
[2026-08-21 00:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 00:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536750336001,"66":26941,"121":206,"85":12544,"24":37,"16":387506114247262208,"45":9144347961732208640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536750336001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:40:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387506114247262208,"km_value":387506114247262.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144347961732208640,"description":"Unknown IO ID 45"} 
[2026-08-21 00:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536750336001,"power":26941,"unknown_121":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9144347961732208640}} 
[2026-08-21 00:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":159005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:40:33] local.INFO: GPS data processed {"connection_id":159005,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:40:33] local.INFO: Acknowledgment sent {"connection_id":159005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:41:04] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02093c008012d7ed90005b95ab0000b00bb2b..."} 
[2026-08-21 00:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02093c008012d7ed90005b95ab0000b00bb2b..."} 
[2026-08-21 00:41:04] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02093c008012d7ed90005b95ab0000b00bb2b..."} 
[2026-08-21 00:41:04] local.INFO: Packet analysis {"connection_id":159005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:41:04] local.INFO: Extracted packet for processing {"connection_id":159005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:41:04] local.INFO: GPS Element Parsed {"raw_longitude":763287808,"raw_latitude":96033456,"longitude_deg":76.3287808,"latitude_deg":9.6033456,"altitude":11,"angle":187,"satellites":43,"speed":40,"hex_longitude":"2d7ed900","hex_latitude":"05b95ab0","is_valid_coordinates":true} 
[2026-08-21 00:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536752896001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387506487909416960,"note":"Value kept but may cause issues"} 
[2026-08-21 00:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9142236899404425216,"note":"Value kept but may cause issues"} 
[2026-08-21 00:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787252949000,"timestamp_ms":1787252949000,"timestamp_seconds":1787252949,"priority":1,"record_length":96,"hex_timestamp":"000001a02093c008"} 
[2026-08-21 00:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-08-21 00:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536752896001,"66":27310,"121":206,"85":12544,"24":40,"16":387506487909416960,"45":9142236899404425216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536752896001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:41:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387506487909416960,"km_value":387506487909416.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9142236899404425216,"description":"Unknown IO ID 45"} 
[2026-08-21 00:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536752896001,"power":27310,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9142236899404425216}} 
[2026-08-21 00:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":159005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:41:04] local.INFO: GPS data processed {"connection_id":159005,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:41:04] local.INFO: Acknowledgment sent {"connection_id":159005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:41:27] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:41:27] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:41:27] local.INFO: IMEI packet received {"connection_id":159861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":159861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:41:32] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:41:32] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:41:32] local.INFO: IMEI packet received {"connection_id":159861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":159861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:41:33] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02093e330012d7ed2c005b934a8000c00bd2c..."} 
[2026-08-21 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02093e330012d7ed2c005b934a8000c00bd2c..."} 
[2026-08-21 00:41:33] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02093e330012d7ed2c005b934a8000c00bd2c..."} 
[2026-08-21 00:41:33] local.INFO: Packet analysis {"connection_id":159861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:41:33] local.INFO: Extracted packet for processing {"connection_id":159861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02093"} 
[2026-08-21 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763286208,"raw_latitude":96023720,"longitude_deg":76.3286208,"latitude_deg":9.602372,"altitude":12,"angle":189,"satellites":44,"speed":44,"hex_longitude":"2d7ed2c0","hex_latitude":"05b934a8","is_valid_coordinates":true} 
[2026-08-21 00:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536754944001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387506968945754112,"note":"Value kept but may cause issues"} 
[2026-08-21 00:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9140336943309697024,"note":"Value kept but may cause issues"} 
[2026-08-21 00:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787252958000,"timestamp_ms":1787252958000,"timestamp_seconds":1787252958,"priority":1,"record_length":96,"hex_timestamp":"000001a02093e330"} 
[2026-08-21 00:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 00:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536754944001,"66":27245,"121":206,"85":12544,"24":44,"16":387506968945754112,"45":9140336943309697024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536754944001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:41:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387506968945754112,"km_value":387506968945754.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9140336943309697024,"description":"Unknown IO ID 45"} 
[2026-08-21 00:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536754944001,"power":27245,"unknown_121":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9140336943309697024}} 
[2026-08-21 00:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":159861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:41:33] local.INFO: GPS data processed {"connection_id":159861,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:41:33] local.INFO: Acknowledgment sent {"connection_id":159861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:42:04] local.INFO: TCP Data received {"connection_id":159861,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020958cf8012d7eb50005b79e10000d00b52c..."} 
[2026-08-21 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020958cf8012d7eb50005b79e10000d00b52c..."} 
[2026-08-21 00:42:04] local.INFO: Processing buffer {"connection_id":159861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020958cf8012d7eb50005b79e10000d00b52c..."} 
[2026-08-21 00:42:04] local.INFO: Packet analysis {"connection_id":159861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:42:04] local.INFO: Extracted packet for processing {"connection_id":159861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763278592,"raw_latitude":95919632,"longitude_deg":76.3278592,"latitude_deg":9.5919632,"altitude":13,"angle":181,"satellites":44,"speed":40,"hex_longitude":"2d7eb500","hex_latitude":"05b79e10","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536782848001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387512041302130688,"note":"Value kept but may cause issues"} 
[2026-08-21 00:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130344581609684992,"note":"Value kept but may cause issues"} 
[2026-08-21 00:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787253067000,"timestamp_ms":1787253067000,"timestamp_seconds":1787253067,"priority":1,"record_length":96,"hex_timestamp":"000001a020958cf8"} 
[2026-08-21 00:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 00:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536782848001,"66":27245,"121":206,"85":12544,"24":40,"16":387512041302130688,"45":9130344581609684992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536782848001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:42:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387512041302130688,"km_value":387512041302130.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130344581609684992,"description":"Unknown IO ID 45"} 
[2026-08-21 00:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536782848001,"power":27245,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9130344581609684992}} 
[2026-08-21 00:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":159861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:42:04] local.INFO: GPS data processed {"connection_id":159861,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:42:04] local.INFO: Acknowledgment sent {"connection_id":159861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:42:27] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:42:27] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:42:27] local.INFO: IMEI packet received {"connection_id":158720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":158720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:42:32] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:42:32] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:42:32] local.INFO: IMEI packet received {"connection_id":158720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":158720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:42:33] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02095b020012d7eb38005b77ad0000f00b62d..."} 
[2026-08-21 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02095b020012d7eb38005b77ad0000f00b62d..."} 
[2026-08-21 00:42:33] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02095b020012d7eb38005b77ad0000f00b62d..."} 
[2026-08-21 00:42:33] local.INFO: Packet analysis {"connection_id":158720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:42:33] local.INFO: Extracted packet for processing {"connection_id":158720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":763278208,"raw_latitude":95910608,"longitude_deg":76.3278208,"latitude_deg":9.5910608,"altitude":15,"angle":182,"satellites":45,"speed":40,"hex_longitude":"2d7eb380","hex_latitude":"05b77ad0","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536785152001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387512479388794880,"note":"Value kept but may cause issues"} 
[2026-08-21 00:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130203844118974464,"note":"Value kept but may cause issues"} 
[2026-08-21 00:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787253076000,"timestamp_ms":1787253076000,"timestamp_seconds":1787253076,"priority":1,"record_length":96,"hex_timestamp":"000001a02095b020"} 
[2026-08-21 00:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 00:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536785152001,"66":27245,"121":206,"85":12544,"24":40,"16":387512479388794880,"45":9130203844118974464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536785152001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:42:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387512479388794880,"km_value":387512479388794.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130203844118974464,"description":"Unknown IO ID 45"} 
[2026-08-21 00:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536785152001,"power":27245,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9130203844118974464}} 
[2026-08-21 00:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":158720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:42:33] local.INFO: GPS data processed {"connection_id":158720,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:42:33] local.INFO: Acknowledgment sent {"connection_id":158720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:43:04] local.INFO: TCP Data received {"connection_id":158720,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02095d348012d7eb28005b75578001000b42c..."} 
[2026-08-21 00:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02095d348012d7eb28005b75578001000b42c..."} 
[2026-08-21 00:43:04] local.INFO: Processing buffer {"connection_id":158720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02095d348012d7eb28005b75578001000b42c..."} 
[2026-08-21 00:43:04] local.INFO: Packet analysis {"connection_id":158720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:43:04] local.INFO: Extracted packet for processing {"connection_id":158720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763277952,"raw_latitude":95901048,"longitude_deg":76.3277952,"latitude_deg":9.5901048,"altitude":16,"angle":180,"satellites":44,"speed":43,"hex_longitude":"2d7eb280","hex_latitude":"05b75578","is_valid_coordinates":true} 
[2026-08-21 00:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536787456001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387512943245262848,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129781631651598336,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787253085000,"timestamp_ms":1787253085000,"timestamp_seconds":1787253085,"priority":1,"record_length":96,"hex_timestamp":"000001a02095d348"} 
[2026-08-21 00:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:43: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-08-21 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 00:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536787456001,"66":27365,"121":206,"85":12544,"24":43,"16":387512943245262848,"45":9129781631651598336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-08-21 00:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536787456001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:43:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-08-21 00:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387512943245262848,"km_value":387512943245262.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129781631651598336,"description":"Unknown IO ID 45"} 
[2026-08-21 00:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536787456001,"power":27365,"unknown_121":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9129781631651598336}} 
[2026-08-21 00:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":158720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:43:04] local.INFO: GPS data processed {"connection_id":158720,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:43:04] local.INFO: Acknowledgment sent {"connection_id":158720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:43:32] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:32] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:32] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:43:33] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:33] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:33] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:43:37] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:37] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:43:37] local.INFO: IMEI packet received {"connection_id":159862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":159862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:43:38] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02095f288012d7eb1c005b73180000e00b52d..."} 
[2026-08-21 00:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02095f288012d7eb1c005b73180000e00b52d..."} 
[2026-08-21 00:43:38] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02095f288012d7eb1c005b73180000e00b52d..."} 
[2026-08-21 00:43:38] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:43:38] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02095"} 
[2026-08-21 00:43:38] local.INFO: GPS Element Parsed {"raw_longitude":763277760,"raw_latitude":95891840,"longitude_deg":76.327776,"latitude_deg":9.589184,"altitude":14,"angle":181,"satellites":45,"speed":49,"hex_longitude":"2d7eb1c0","hex_latitude":"05b73180","is_valid_coordinates":true} 
[2026-08-21 00:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536789760001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387513389921861632,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129500156672440320,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787253093000,"timestamp_ms":1787253093000,"timestamp_seconds":1787253093,"priority":1,"record_length":96,"hex_timestamp":"000001a02095f288"} 
[2026-08-21 00:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 00:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536789760001,"66":27484,"223":206,"85":12544,"24":49,"16":387513389921861632,"45":9129500156672440320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-21 00:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536789760001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:43:38] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 00:43:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387513389921861632,"km_value":387513389921861.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129500156672440320,"description":"Unknown IO ID 45"} 
[2026-08-21 00:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536789760001,"power":27484,"unknown_223":206,"unknown_85":12544,"ignition":49,"odometer":null,"unknown_45":9129500156672440320}} 
[2026-08-21 00:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:43:38] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:43:38] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:43:43] local.INFO: TCP Data received {"connection_id":159862,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020960de0012d7eb08005b70d58000b00b62d..."} 
[2026-08-21 00:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020960de0012d7eb08005b70d58000b00b62d..."} 
[2026-08-21 00:43:43] local.INFO: Processing buffer {"connection_id":159862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020960de0012d7eb08005b70d58000b00b62d..."} 
[2026-08-21 00:43:43] local.INFO: Packet analysis {"connection_id":159862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02096"} 
[2026-08-21 00:43:43] local.INFO: Extracted packet for processing {"connection_id":159862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02096"} 
[2026-08-21 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":763277440,"raw_latitude":95882584,"longitude_deg":76.327744,"latitude_deg":9.5882584,"altitude":11,"angle":182,"satellites":45,"speed":51,"hex_longitude":"2d7eb080","hex_latitude":"05b70d58","is_valid_coordinates":true} 
[2026-08-21 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536791808001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387513840893427712,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129289050437550080,"note":"Value kept but may cause issues"} 
[2026-08-21 00:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787253100000,"timestamp_ms":1787253100000,"timestamp_seconds":1787253100,"priority":1,"record_length":96,"hex_timestamp":"000001a020960de0"} 
[2026-08-21 00:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 00:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536791808001,"66":27343,"223":206,"85":12544,"24":51,"16":387513840893427712,"45":9129289050437550080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-21 00:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536791808001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:43:43] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 00:43:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387513840893427712,"km_value":387513840893427.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129289050437550080,"description":"Unknown IO ID 45"} 
[2026-08-21 00:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536791808001,"power":27343,"unknown_223":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9129289050437550080}} 
[2026-08-21 00:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":159862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:43:43] local.INFO: GPS data processed {"connection_id":159862,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:43:43] local.INFO: Acknowledgment sent {"connection_id":159862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:44:27] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:44:27] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:44:27] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:44:32] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:44:32] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:44:32] local.INFO: IMEI packet received {"connection_id":159863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":159863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:44:33] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020961d80012d7eae0005b6fbd8000a00c22d..."} 
[2026-08-21 00:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020961d80012d7eae0005b6fbd8000a00c22d..."} 
[2026-08-21 00:44:33] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020961d80012d7eae0005b6fbd8000a00c22d..."} 
[2026-08-21 00:44:33] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02096"} 
[2026-08-21 00:44:33] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02096"} 
[2026-08-21 00:44:33] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":95878104,"longitude_deg":76.32768,"latitude_deg":9.5878104,"altitude":10,"angle":194,"satellites":45,"speed":40,"hex_longitude":"2d7eae00","hex_latitude":"05b6fbd8","is_valid_coordinates":true} 
[2026-08-21 00:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536793600001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387514059936759808,"note":"Value kept but may cause issues"} 
[2026-08-21 00:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128937206714292224,"note":"Value kept but may cause issues"} 
[2026-08-21 00:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787253104000,"timestamp_ms":1787253104000,"timestamp_seconds":1787253104,"priority":1,"record_length":96,"hex_timestamp":"000001a020961d80"} 
[2026-08-21 00:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536793600001,"66":27300,"223":206,"85":12544,"24":40,"16":387514059936759808,"45":9128937206714292224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,85,24,16,45]} 
[2026-08-21 00:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536793600001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:44:33] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 00:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387514059936759808,"km_value":387514059936759.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128937206714292224,"description":"Unknown IO ID 45"} 
[2026-08-21 00:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536793600001,"power":27300,"unknown_223":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9128937206714292224}} 
[2026-08-21 00:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:44:33] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:44:33] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:45:04] local.INFO: TCP Data received {"connection_id":159863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209828f0012d7eae0005b5bf78000b00b52c..."} 
[2026-08-21 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209828f0012d7eae0005b5bf78000b00b52c..."} 
[2026-08-21 00:45:04] local.INFO: Processing buffer {"connection_id":159863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209828f0012d7eae0005b5bf78000b00b52c..."} 
[2026-08-21 00:45:04] local.INFO: Packet analysis {"connection_id":159863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02098"} 
[2026-08-21 00:45:04] local.INFO: Extracted packet for processing {"connection_id":159863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02098"} 
[2026-08-21 00:45:04] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":95797112,"longitude_deg":76.32768,"latitude_deg":9.5797112,"altitude":11,"angle":181,"satellites":44,"speed":26,"hex_longitude":"2d7eae00","hex_latitude":"05b5bf78","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536825600001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387517998421770240,"note":"Value kept but may cause issues"} 
[2026-08-21 00:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128374256741328896,"note":"Value kept but may cause issues"} 
[2026-08-21 00:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787253238000,"timestamp_ms":1787253238000,"timestamp_seconds":1787253238,"priority":1,"record_length":96,"hex_timestamp":"000001a0209828f0"} 
[2026-08-21 00:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 00:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536825600001,"66":27343,"59":206,"85":12544,"24":26,"16":387517998421770240,"45":9128374256741328896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-21 00:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536825600001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:45:04] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-21 00:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387517998421770240,"km_value":387517998421770.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128374256741328896,"description":"Unknown IO ID 45"} 
[2026-08-21 00:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536825600001,"power":27343,"unknown_59":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9128374256741328896}} 
[2026-08-21 00:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":159863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:45:04] local.INFO: GPS data processed {"connection_id":159863,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:45:04] local.INFO: Acknowledgment sent {"connection_id":159863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:45:26] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:26] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:26] local.INFO: IMEI packet received {"connection_id":158721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":158721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:45:27] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:27] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:27] local.INFO: IMEI packet received {"connection_id":158721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":158721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:45:32] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:32] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:45:32] local.INFO: IMEI packet received {"connection_id":158721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":158721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:45:33] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020985fa0012d7ead0005b59b30000a00b92d..."} 
[2026-08-21 00:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020985fa0012d7ead0005b59b30000a00b92d..."} 
[2026-08-21 00:45:33] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020985fa0012d7ead0005b59b30000a00b92d..."} 
[2026-08-21 00:45:33] local.INFO: Packet analysis {"connection_id":158721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02098"} 
[2026-08-21 00:45:33] local.INFO: Extracted packet for processing {"connection_id":158721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02098"} 
[2026-08-21 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95787824,"longitude_deg":76.3276544,"latitude_deg":9.5787824,"altitude":10,"angle":185,"satellites":45,"speed":30,"hex_longitude":"2d7ead00","hex_latitude":"05b59b30","is_valid_coordinates":true} 
[2026-08-21 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536828928001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387518449393336320,"note":"Value kept but may cause issues"} 
[2026-08-21 00:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128233519250634752,"note":"Value kept but may cause issues"} 
[2026-08-21 00:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787253252000,"timestamp_ms":1787253252000,"timestamp_seconds":1787253252,"priority":1,"record_length":96,"hex_timestamp":"000001a020985fa0"} 
[2026-08-21 00:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 00:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536828928001,"66":27267,"59":206,"85":12544,"24":30,"16":387518449393336320,"45":9128233519250634752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-21 00:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536828928001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:45:33] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-21 00:45:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387518449393336320,"km_value":387518449393336.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128233519250634752,"description":"Unknown IO ID 45"} 
[2026-08-21 00:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536828928001,"power":27267,"unknown_59":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9128233519250634752}} 
[2026-08-21 00:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":158721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:45:33] local.INFO: GPS data processed {"connection_id":158721,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:45:33] local.INFO: Acknowledgment sent {"connection_id":158721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:46:05] local.INFO: TCP Data received {"connection_id":158721,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020988a98012d7ea8c005b57750000b00b72d..."} 
[2026-08-21 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020988a98012d7ea8c005b57750000b00b72d..."} 
[2026-08-21 00:46:05] local.INFO: Processing buffer {"connection_id":158721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020988a98012d7ea8c005b57750000b00b72d..."} 
[2026-08-21 00:46:05] local.INFO: Packet analysis {"connection_id":158721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02098"} 
[2026-08-21 00:46:05] local.INFO: Extracted packet for processing {"connection_id":158721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02098"} 
[2026-08-21 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95778640,"longitude_deg":76.3275456,"latitude_deg":9.577864,"altitude":11,"angle":183,"satellites":45,"speed":38,"hex_longitude":"2d7ea8c0","hex_latitude":"05b57750","is_valid_coordinates":true} 
[2026-08-21 00:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536832512001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387518900364902400,"note":"Value kept but may cause issues"} 
[2026-08-21 00:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044271546368,"note":"Value kept but may cause issues"} 
[2026-08-21 00:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787253263000,"timestamp_ms":1787253263000,"timestamp_seconds":1787253263,"priority":1,"record_length":96,"hex_timestamp":"000001a020988a98"} 
[2026-08-21 00:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536832512001,"66":27300,"59":206,"85":12544,"24":38,"16":387518900364902400,"45":9127952044271546368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-08-21 00:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536832512001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:46:05] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-21 00:46:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387518900364902400,"km_value":387518900364902.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044271546368,"description":"Unknown IO ID 45"} 
[2026-08-21 00:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536832512001,"power":27300,"unknown_59":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9127952044271546368}} 
[2026-08-21 00:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":158721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:46:05] local.INFO: GPS data processed {"connection_id":158721,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:46:05] local.INFO: Acknowledgment sent {"connection_id":158721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:46:28] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:46:28] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:46:28] local.INFO: IMEI packet received {"connection_id":161244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":161244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:46:31] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:46:31] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:46:31] local.INFO: IMEI packet received {"connection_id":161244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":161244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:46:32] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02099bb48012d7eb5c005b3dab8000a00b42c..."} 
[2026-08-21 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02099bb48012d7eb5c005b3dab8000a00b42c..."} 
[2026-08-21 00:46:32] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02099bb48012d7eb5c005b3dab8000a00b42c..."} 
[2026-08-21 00:46:32] local.INFO: Packet analysis {"connection_id":161244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02099"} 
[2026-08-21 00:46:32] local.INFO: Extracted packet for processing {"connection_id":161244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02099"} 
[2026-08-21 00:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95673016,"longitude_deg":76.3278784,"latitude_deg":9.5673016,"altitude":10,"angle":180,"satellites":44,"speed":58,"hex_longitude":"2d7eb5c0","hex_latitude":"05b3dab8","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536853760001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387524024260886528,"note":"Value kept but may cause issues"} 
[2026-08-21 00:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950290651136,"note":"Value kept but may cause issues"} 
[2026-08-21 00:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787253341000,"timestamp_ms":1787253341000,"timestamp_seconds":1787253341,"priority":1,"record_length":96,"hex_timestamp":"000001a02099bb48"} 
[2026-08-21 00:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:46: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-08-21 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:46: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-08-21 00: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-08-21 00:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536853760001,"66":27267,"93":206,"85":12544,"24":58,"16":387524024260886528,"45":9130414950290651136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-21 00:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536853760001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:46:32] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 00:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387524024260886528,"km_value":387524024260886.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950290651136,"description":"Unknown IO ID 45"} 
[2026-08-21 00:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536853760001,"power":27267,"unknown_93":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9130414950290651136}} 
[2026-08-21 00:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":161244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:46:32] local.INFO: GPS data processed {"connection_id":161244,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:46:32] local.INFO: Acknowledgment sent {"connection_id":161244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:47:03] local.INFO: TCP Data received {"connection_id":161244,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02099d2b8012d7eb6c005b3b7e8000900b12c..."} 
[2026-08-21 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02099d2b8012d7eb6c005b3b7e8000900b12c..."} 
[2026-08-21 00:47:03] local.INFO: Processing buffer {"connection_id":161244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02099d2b8012d7eb6c005b3b7e8000900b12c..."} 
[2026-08-21 00:47:03] local.INFO: Packet analysis {"connection_id":161244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02099"} 
[2026-08-21 00:47:03] local.INFO: Extracted packet for processing {"connection_id":161244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02099"} 
[2026-08-21 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95664104,"longitude_deg":76.327904,"latitude_deg":9.5664104,"altitude":9,"angle":177,"satellites":44,"speed":59,"hex_longitude":"2d7eb6c0","hex_latitude":"05b3b7e8","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536855296001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387524458052583424,"note":"Value kept but may cause issues"} 
[2026-08-21 00:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950288373760,"note":"Value kept but may cause issues"} 
[2026-08-21 00:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787253347000,"timestamp_ms":1787253347000,"timestamp_seconds":1787253347,"priority":1,"record_length":96,"hex_timestamp":"000001a02099d2b8"} 
[2026-08-21 00:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536855296001,"66":27300,"93":206,"85":12544,"24":59,"16":387524458052583424,"45":9130414950288373760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-21 00:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536855296001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:47:03] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 00:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387524458052583424,"km_value":387524458052583.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950288373760,"description":"Unknown IO ID 45"} 
[2026-08-21 00:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536855296001,"power":27300,"unknown_93":206,"unknown_85":12544,"ignition":59,"odometer":null,"unknown_45":9130414950288373760}} 
[2026-08-21 00:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":161244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:47:03] local.INFO: GPS data processed {"connection_id":161244,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:47:03] local.INFO: Acknowledgment sent {"connection_id":161244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:47:27] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:47:27] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:47:27] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:47:32] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:47:32] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:47:32] local.INFO: IMEI packet received {"connection_id":159864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":159864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:47:33] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02099ea28012d7eb7c005b39540000800b32c..."} 
[2026-08-21 00:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02099ea28012d7eb7c005b39540000800b32c..."} 
[2026-08-21 00:47:33] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02099ea28012d7eb7c005b39540000800b32c..."} 
[2026-08-21 00:47:33] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02099"} 
[2026-08-21 00:47:33] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02099"} 
[2026-08-21 00:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95655232,"longitude_deg":76.3279296,"latitude_deg":9.5655232,"altitude":8,"angle":179,"satellites":44,"speed":58,"hex_longitude":"2d7eb7c0","hex_latitude":"05b39540","is_valid_coordinates":true} 
[2026-08-21 00:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536856832001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387524887549313024,"note":"Value kept but may cause issues"} 
[2026-08-21 00:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425262802944,"note":"Value kept but may cause issues"} 
[2026-08-21 00:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787253353000,"timestamp_ms":1787253353000,"timestamp_seconds":1787253353,"priority":1,"record_length":96,"hex_timestamp":"000001a02099ea28"} 
[2026-08-21 00:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 00:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536856832001,"66":27332,"93":206,"85":12544,"24":58,"16":387524887549313024,"45":9130696425262802944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-21 00:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536856832001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:47:33] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 00:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387524887549313024,"km_value":387524887549313.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425262802944,"description":"Unknown IO ID 45"} 
[2026-08-21 00:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536856832001,"power":27332,"unknown_93":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9130696425262802944}} 
[2026-08-21 00:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:47:33] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:47:33] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:48:04] local.INFO: TCP Data received {"connection_id":159864,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209a0580012d7eb88005b36d30000900b22c..."} 
[2026-08-21 00:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209a0580012d7eb88005b36d30000900b22c..."} 
[2026-08-21 00:48:04] local.INFO: Processing buffer {"connection_id":159864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209a0580012d7eb88005b36d30000900b22c..."} 
[2026-08-21 00:48:04] local.INFO: Packet analysis {"connection_id":159864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209a"} 
[2026-08-21 00:48:04] local.INFO: Extracted packet for processing {"connection_id":159864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209a"} 
[2026-08-21 00:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763279488,"raw_latitude":95644976,"longitude_deg":76.3279488,"latitude_deg":9.5644976,"altitude":9,"angle":178,"satellites":44,"speed":58,"hex_longitude":"2d7eb880","hex_latitude":"05b36d30","is_valid_coordinates":true} 
[2026-08-21 00:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536858368001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387525385765519360,"note":"Value kept but may cause issues"} 
[2026-08-21 00:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900237242368,"note":"Value kept but may cause issues"} 
[2026-08-21 00:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787253360000,"timestamp_ms":1787253360000,"timestamp_seconds":1787253360,"priority":1,"record_length":96,"hex_timestamp":"000001a0209a0580"} 
[2026-08-21 00:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:48: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-08-21 00:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 00:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536858368001,"66":27310,"93":206,"85":12544,"24":58,"16":387525385765519360,"45":9130977900237242368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-08-21 00:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536858368001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:48:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 00:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387525385765519360,"km_value":387525385765519.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900237242368,"description":"Unknown IO ID 45"} 
[2026-08-21 00:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536858368001,"power":27310,"unknown_93":206,"unknown_85":12544,"ignition":58,"odometer":null,"unknown_45":9130977900237242368}} 
[2026-08-21 00:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:48:04] local.INFO: GPS data processed {"connection_id":159864,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:48:04] local.INFO: Acknowledgment sent {"connection_id":159864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:48:27] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:27] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:27] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:48:28] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:28] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:28] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:48:32] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:32] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:48:32] local.INFO: IMEI packet received {"connection_id":159865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":159865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:48:33] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209b3a18012d7eb0c005b1cfd0000d00ba2c..."} 
[2026-08-21 00:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209b3a18012d7eb0c005b1cfd0000d00ba2c..."} 
[2026-08-21 00:48:33] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209b3a18012d7eb0c005b1cfd0000d00ba2c..."} 
[2026-08-21 00:48:33] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:48:33] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":763277504,"raw_latitude":95539152,"longitude_deg":76.3277504,"latitude_deg":9.5539152,"altitude":13,"angle":186,"satellites":44,"speed":46,"hex_longitude":"2d7eb0c0","hex_latitude":"05b1cfd0","is_valid_coordinates":true} 
[2026-08-21 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536878336001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387530526841372672,"note":"Value kept but may cause issues"} 
[2026-08-21 00:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129922369047287808,"note":"Value kept but may cause issues"} 
[2026-08-21 00:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787253439000,"timestamp_ms":1787253439000,"timestamp_seconds":1787253439,"priority":1,"record_length":96,"hex_timestamp":"000001a0209b3a18"} 
[2026-08-21 00:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536878336001,"66":27397,"92":206,"85":12544,"24":46,"16":387530526841372672,"45":9129922369047287808},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-21 00:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536878336001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:48:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 00:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387530526841372672,"km_value":387530526841372.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129922369047287808,"description":"Unknown IO ID 45"} 
[2026-08-21 00:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536878336001,"power":27397,"unknown_92":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9129922369047287808}} 
[2026-08-21 00:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:48:33] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:48:33] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:49:04] local.INFO: TCP Data received {"connection_id":159865,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209b5958012d7ead0005b1ac90000f00ba2c..."} 
[2026-08-21 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209b5958012d7ead0005b1ac90000f00ba2c..."} 
[2026-08-21 00:49:04] local.INFO: Processing buffer {"connection_id":159865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209b5958012d7ead0005b1ac90000f00ba2c..."} 
[2026-08-21 00:49:04] local.INFO: Packet analysis {"connection_id":159865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:49:04] local.INFO: Extracted packet for processing {"connection_id":159865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:49:04] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95530128,"longitude_deg":76.3276544,"latitude_deg":9.5530128,"altitude":15,"angle":186,"satellites":44,"speed":44,"hex_longitude":"2d7ead00","hex_latitude":"05b1ac90","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536880384001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387530964928036864,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129007575370551296,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787253447000,"timestamp_ms":1787253447000,"timestamp_seconds":1787253447,"priority":1,"record_length":96,"hex_timestamp":"000001a0209b5958"} 
[2026-08-21 00:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 00:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536880384001,"66":27234,"92":206,"85":12544,"24":44,"16":387530964928036864,"45":9129007575370551296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-21 00:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536880384001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:49:05] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 00:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387530964928036864,"km_value":387530964928036.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129007575370551296,"description":"Unknown IO ID 45"} 
[2026-08-21 00:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536880384001,"power":27234,"unknown_92":206,"unknown_85":12544,"ignition":44,"odometer":null,"unknown_45":9129007575370551296}} 
[2026-08-21 00:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":159865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:49:05] local.INFO: GPS data processed {"connection_id":159865,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:49:05] local.INFO: Acknowledgment sent {"connection_id":159865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:49:32] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:32] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:32] local.INFO: IMEI packet received {"connection_id":158722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":158722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:49:33] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:33] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:33] local.INFO: IMEI packet received {"connection_id":158722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":158722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:49:37] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:37] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:49:37] local.INFO: IMEI packet received {"connection_id":158722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":158722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:49:38] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209b7898012d7eaa0005b188f0001000b62c..."} 
[2026-08-21 00:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209b7898012d7eaa0005b188f0001000b62c..."} 
[2026-08-21 00:49:38] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209b7898012d7eaa0005b188f0001000b62c..."} 
[2026-08-21 00:49:38] local.INFO: Packet analysis {"connection_id":158722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:49:38] local.INFO: Extracted packet for processing {"connection_id":158722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:49:38] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95521008,"longitude_deg":76.3275776,"latitude_deg":9.5521008,"altitude":16,"angle":182,"satellites":44,"speed":46,"hex_longitude":"2d7eaa00","hex_latitude":"05b188f0","is_valid_coordinates":true} 
[2026-08-21 00:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536882432001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387531411604635648,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127952044205576192,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787253455000,"timestamp_ms":1787253455000,"timestamp_seconds":1787253455,"priority":1,"record_length":96,"hex_timestamp":"000001a0209b7898"} 
[2026-08-21 00:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 00:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536882432001,"66":27234,"92":206,"85":12544,"24":46,"16":387531411604635648,"45":9127952044205576192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-21 00:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536882432001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:49:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 00:49:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387531411604635648,"km_value":387531411604635.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127952044205576192,"description":"Unknown IO ID 45"} 
[2026-08-21 00:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536882432001,"power":27234,"unknown_92":206,"unknown_85":12544,"ignition":46,"odometer":null,"unknown_45":9127952044205576192}} 
[2026-08-21 00:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":158722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:49:38] local.INFO: GPS data processed {"connection_id":158722,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:49:38] local.INFO: Acknowledgment sent {"connection_id":158722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:49:39] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209b97d8012d7ea74005b161e0000f00b82c..."} 
[2026-08-21 00:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209b97d8012d7ea74005b161e0000f00b82c..."} 
[2026-08-21 00:49:39] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209b97d8012d7ea74005b161e0000f00b82c..."} 
[2026-08-21 00:49:39] local.INFO: Packet analysis {"connection_id":158722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:49:39] local.INFO: Extracted packet for processing {"connection_id":158722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209b"} 
[2026-08-21 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":763275072,"raw_latitude":95511008,"longitude_deg":76.3275072,"latitude_deg":9.5511008,"altitude":15,"angle":184,"satellites":44,"speed":53,"hex_longitude":"2d7ea740","hex_latitude":"05b161e0","is_valid_coordinates":true} 
[2026-08-21 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536884480001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387531896935940096,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619273109504,"note":"Value kept but may cause issues"} 
[2026-08-21 00:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787253463000,"timestamp_ms":1787253463000,"timestamp_seconds":1787253463,"priority":1,"record_length":96,"hex_timestamp":"000001a0209b97d8"} 
[2026-08-21 00:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 00:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536884480001,"66":27343,"92":206,"85":12544,"24":53,"16":387531896935940096,"45":9127107619273109504},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-08-21 00:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536884480001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:49:39] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 00:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387531896935940096,"km_value":387531896935940.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619273109504,"description":"Unknown IO ID 45"} 
[2026-08-21 00:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536884480001,"power":27343,"unknown_92":206,"unknown_85":12544,"ignition":53,"odometer":null,"unknown_45":9127107619273109504}} 
[2026-08-21 00:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":158722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:49:39] local.INFO: GPS data processed {"connection_id":158722,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:49:39] local.INFO: Acknowledgment sent {"connection_id":158722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:50:10] local.INFO: TCP Data received {"connection_id":158722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209ce7c8012d7e9cc005afa3d8000e00b52d..."} 
[2026-08-21 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209ce7c8012d7e9cc005afa3d8000e00b52d..."} 
[2026-08-21 00:50:10] local.INFO: Processing buffer {"connection_id":158722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209ce7c8012d7e9cc005afa3d8000e00b52d..."} 
[2026-08-21 00:50:10] local.INFO: Packet analysis {"connection_id":158722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209c"} 
[2026-08-21 00:50:10] local.INFO: Extracted packet for processing {"connection_id":158722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209c"} 
[2026-08-21 00:50:10] local.INFO: GPS Element Parsed {"raw_longitude":763272384,"raw_latitude":95396824,"longitude_deg":76.3272384,"latitude_deg":9.5396824,"altitude":14,"angle":181,"satellites":45,"speed":47,"hex_longitude":"2d7e9cc0","hex_latitude":"05afa3d8","is_valid_coordinates":true} 
[2026-08-21 00:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536906496001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387537433148784640,"note":"Value kept but may cause issues"} 
[2026-08-21 00:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123870657011687424,"note":"Value kept but may cause issues"} 
[2026-08-21 00:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787253549000,"timestamp_ms":1787253549000,"timestamp_seconds":1787253549,"priority":1,"record_length":96,"hex_timestamp":"000001a0209ce7c8"} 
[2026-08-21 00:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":171,"data_length":795,"current_offset":136} 
[2026-08-21 00:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2252,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536906496001,"66":27267,"27":206,"85":12544,"24":47,"16":387537433148784640,"45":9123870657011687424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-21 00:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536906496001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:50:11] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 00:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387537433148784640,"km_value":387537433148784.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123870657011687424,"description":"Unknown IO ID 45"} 
[2026-08-21 00:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536906496001,"power":27267,"unknown_27":206,"unknown_85":12544,"ignition":47,"odometer":null,"unknown_45":9123870657011687424}} 
[2026-08-21 00:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":158722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:50:11] local.INFO: GPS data processed {"connection_id":158722,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:50:11] local.INFO: Acknowledgment sent {"connection_id":158722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:50:27] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:50:27] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:50:27] local.INFO: IMEI packet received {"connection_id":158723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":158723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:50:42] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:50:42] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:50:42] local.INFO: IMEI packet received {"connection_id":158723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":158723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:50:43] local.INFO: TCP Data received {"connection_id":158723,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209d0708012d7e9c0005af7f90000f00b32c..."} 
[2026-08-21 00:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209d0708012d7e9c0005af7f90000f00b32c..."} 
[2026-08-21 00:50:43] local.INFO: Processing buffer {"connection_id":158723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209d0708012d7e9c0005af7f90000f00b32c..."} 
[2026-08-21 00:50:43] local.INFO: Packet analysis {"connection_id":158723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209d"} 
[2026-08-21 00:50:43] local.INFO: Extracted packet for processing {"connection_id":158723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209d"} 
[2026-08-21 00:50:43] local.INFO: GPS Element Parsed {"raw_longitude":763272192,"raw_latitude":95387536,"longitude_deg":76.3272192,"latitude_deg":9.5387536,"altitude":15,"angle":179,"satellites":44,"speed":45,"hex_longitude":"2d7e9c00","hex_latitude":"05af7f90","is_valid_coordinates":true} 
[2026-08-21 00:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536908544001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387537884120350720,"note":"Value kept but may cause issues"} 
[2026-08-21 00:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123378075799902208,"note":"Value kept but may cause issues"} 
[2026-08-21 00:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787253557000,"timestamp_ms":1787253557000,"timestamp_seconds":1787253557,"priority":1,"record_length":96,"hex_timestamp":"000001a0209d0708"} 
[2026-08-21 00:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 00:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536908544001,"66":27300,"27":206,"85":12544,"24":45,"16":387537884120350720,"45":9123378075799902208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-21 00:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536908544001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:50:43] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 00:50:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 00:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387537884120350720,"km_value":387537884120350.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123378075799902208,"description":"Unknown IO ID 45"} 
[2026-08-21 00:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536908544001,"power":27300,"unknown_27":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9123378075799902208}} 
[2026-08-21 00:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":158723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:50:43] local.INFO: GPS data processed {"connection_id":158723,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:50:43] local.INFO: Acknowledgment sent {"connection_id":158723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:51:27] local.INFO: TCP Data received {"connection_id":161245,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:51:27] local.INFO: Processing buffer {"connection_id":161245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:51:27] local.INFO: IMEI packet received {"connection_id":161245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":161245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:51:31] local.INFO: TCP Data received {"connection_id":161245,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:51:31] local.INFO: Processing buffer {"connection_id":161245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:51:31] local.INFO: IMEI packet received {"connection_id":161245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":161245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:51:32] local.INFO: TCP Data received {"connection_id":161245,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209e4370012d7ea70005ade030000d00b12c..."} 
[2026-08-21 00:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209e4370012d7ea70005ade030000d00b12c..."} 
[2026-08-21 00:51:32] local.INFO: Processing buffer {"connection_id":161245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209e4370012d7ea70005ade030000d00b12c..."} 
[2026-08-21 00:51:32] local.INFO: Packet analysis {"connection_id":161245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:51:32] local.INFO: Extracted packet for processing {"connection_id":161245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763275008,"raw_latitude":95281200,"longitude_deg":76.3275008,"latitude_deg":9.52812,"altitude":13,"angle":177,"satellites":44,"speed":48,"hex_longitude":"2d7ea700","hex_latitude":"05ade030","is_valid_coordinates":true} 
[2026-08-21 00: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-08-21 00:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536929024001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387543046671040512,"note":"Value kept but may cause issues"} 
[2026-08-21 00:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125911350563264512,"note":"Value kept but may cause issues"} 
[2026-08-21 00:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787253638000,"timestamp_ms":1787253638000,"timestamp_seconds":1787253638,"priority":1,"record_length":96,"hex_timestamp":"000001a0209e4370"} 
[2026-08-21 00:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 00:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00: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-08-21 00:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536929024001,"66":27321,"168":206,"85":14336,"24":48,"16":387543046671040512,"45":9125911350563264512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-21 00:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536929024001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:51:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 00:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 00:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387543046671040512,"km_value":387543046671040.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125911350563264512,"description":"Unknown IO ID 45"} 
[2026-08-21 00:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536929024001,"power":27321,"unknown_168":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":9125911350563264512}} 
[2026-08-21 00:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":161245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:51:32] local.INFO: GPS data processed {"connection_id":161245,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:51:32] local.INFO: Acknowledgment sent {"connection_id":161245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:52:03] local.INFO: TCP Data received {"connection_id":161245,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209e5ec8012d7ea78005adbd00000c00b12c..."} 
[2026-08-21 00:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209e5ec8012d7ea78005adbd00000c00b12c..."} 
[2026-08-21 00:52:03] local.INFO: Processing buffer {"connection_id":161245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209e5ec8012d7ea78005adbd00000c00b12c..."} 
[2026-08-21 00:52:03] local.INFO: Packet analysis {"connection_id":161245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:52:03] local.INFO: Extracted packet for processing {"connection_id":161245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763275136,"raw_latitude":95272192,"longitude_deg":76.3275136,"latitude_deg":9.5272192,"altitude":12,"angle":177,"satellites":44,"speed":54,"hex_longitude":"2d7ea780","hex_latitude":"05adbd00","is_valid_coordinates":true} 
[2026-08-21 00:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536931328001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387543480462737408,"note":"Value kept but may cause issues"} 
[2026-08-21 00:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126263194281586688,"note":"Value kept but may cause issues"} 
[2026-08-21 00:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787253645000,"timestamp_ms":1787253645000,"timestamp_seconds":1787253645,"priority":1,"record_length":96,"hex_timestamp":"000001a0209e5ec8"} 
[2026-08-21 00:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536931328001,"66":27321,"168":206,"85":14336,"24":54,"16":387543480462737408,"45":9126263194281586688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-21 00:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536931328001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:52:03] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 00:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 00:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387543480462737408,"km_value":387543480462737.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126263194281586688,"description":"Unknown IO ID 45"} 
[2026-08-21 00:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536931328001,"power":27321,"unknown_168":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":9126263194281586688}} 
[2026-08-21 00:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":161245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:52:03] local.INFO: GPS data processed {"connection_id":161245,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:52:03] local.INFO: Acknowledgment sent {"connection_id":161245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:52:27] local.INFO: TCP Data received {"connection_id":158724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:52:27] local.INFO: Processing buffer {"connection_id":158724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:52:27] local.INFO: IMEI packet received {"connection_id":158724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":158724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:52:32] local.INFO: TCP Data received {"connection_id":158724,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:52:32] local.INFO: Processing buffer {"connection_id":158724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:52:32] local.INFO: IMEI packet received {"connection_id":158724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":158724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:52:33] local.INFO: TCP Data received {"connection_id":158724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209e7a20012d7ea88005ad9938000c00b32d..."} 
[2026-08-21 00:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209e7a20012d7ea88005ad9938000c00b32d..."} 
[2026-08-21 00:52:33] local.INFO: Processing buffer {"connection_id":158724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209e7a20012d7ea88005ad9938000c00b32d..."} 
[2026-08-21 00:52:33] local.INFO: Packet analysis {"connection_id":158724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:52:33] local.INFO: Extracted packet for processing {"connection_id":158724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763275392,"raw_latitude":95263032,"longitude_deg":76.3275392,"latitude_deg":9.5263032,"altitude":12,"angle":179,"satellites":45,"speed":43,"hex_longitude":"2d7ea880","hex_latitude":"05ad9938","is_valid_coordinates":true} 
[2026-08-21 00:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536933120001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387543927139336192,"note":"Value kept but may cause issues"} 
[2026-08-21 00:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931767635968,"note":"Value kept but may cause issues"} 
[2026-08-21 00:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787253652000,"timestamp_ms":1787253652000,"timestamp_seconds":1787253652,"priority":1,"record_length":96,"hex_timestamp":"000001a0209e7a20"} 
[2026-08-21 00:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 00:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 00:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536933120001,"66":27332,"168":206,"85":14336,"24":43,"16":387543927139336192,"45":9126403931767635968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-21 00:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536933120001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:52:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 00:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 00:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387543927139336192,"km_value":387543927139336.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931767635968,"description":"Unknown IO ID 45"} 
[2026-08-21 00:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536933120001,"power":27332,"unknown_168":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9126403931767635968}} 
[2026-08-21 00:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":158724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:52:33] local.INFO: GPS data processed {"connection_id":158724,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:52:33] local.INFO: Acknowledgment sent {"connection_id":158724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:53:04] local.INFO: TCP Data received {"connection_id":158724,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0209e9578012d7eaac005ad7f10000a00a82d..."} 
[2026-08-21 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0209e9578012d7eaac005ad7f10000a00a82d..."} 
[2026-08-21 00:53:04] local.INFO: Processing buffer {"connection_id":158724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0209e9578012d7eaac005ad7f10000a00a82d..."} 
[2026-08-21 00:53:04] local.INFO: Packet analysis {"connection_id":158724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:53:04] local.INFO: Extracted packet for processing {"connection_id":158724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0209e"} 
[2026-08-21 00:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95256336,"longitude_deg":76.3275968,"latitude_deg":9.5256336,"altitude":10,"angle":168,"satellites":45,"speed":35,"hex_longitude":"2d7eaac0","hex_latitude":"05ad7f10","is_valid_coordinates":true} 
[2026-08-21 00:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457536934912001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387544253556850688,"note":"Value kept but may cause issues"} 
[2026-08-21 00:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126685406742001664,"note":"Value kept but may cause issues"} 
[2026-08-21 00:53: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-08-21 00:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787253659000,"timestamp_ms":1787253659000,"timestamp_seconds":1787253659,"priority":1,"record_length":96,"hex_timestamp":"000001a0209e9578"} 
[2026-08-21 00:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:53: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-08-21 00:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 00:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457536934912001,"66":27169,"168":206,"85":14336,"24":35,"16":387544253556850688,"45":9126685406742001664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-08-21 00:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457536934912001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:53:04] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 00:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 00:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387544253556850688,"km_value":387544253556850.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126685406742001664,"description":"Unknown IO ID 45"} 
[2026-08-21 00:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457536934912001,"power":27169,"unknown_168":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9126685406742001664}} 
[2026-08-21 00:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":158724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:53:04] local.INFO: GPS data processed {"connection_id":158724,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:53:04] local.INFO: Acknowledgment sent {"connection_id":158724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 00:54:04] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:04] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:04] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:54:07] local.INFO: TCP Data received {"connection_id":159866,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:07] local.INFO: Processing buffer {"connection_id":159866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:07] local.INFO: IMEI packet received {"connection_id":159866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":159866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:54:37] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:37] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:37] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:54:37] local.INFO: TCP Data received {"connection_id":159867,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:37] local.INFO: Processing buffer {"connection_id":159867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:54:37] local.INFO: IMEI packet received {"connection_id":159867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 00:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":159867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 00:59:40] local.INFO: TCP Data received {"connection_id":158725,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:59:40] local.INFO: Processing buffer {"connection_id":158725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 00:59:40] local.INFO: IMEI packet received {"connection_id":158725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 00:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":158725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 00:59:41] local.INFO: TCP Data received {"connection_id":158725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a5a610012d7d904005a75f38001000a52c..."} 
[2026-08-21 00:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a5a610012d7d904005a75f38001000a52c..."} 
[2026-08-21 00:59:41] local.INFO: Processing buffer {"connection_id":158725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a5a610012d7d904005a75f38001000a52c..."} 
[2026-08-21 00:59:41] local.INFO: Packet analysis {"connection_id":158725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a5"} 
[2026-08-21 00:59:41] local.INFO: Extracted packet for processing {"connection_id":158725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a5"} 
[2026-08-21 00:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763203648,"raw_latitude":94854968,"longitude_deg":76.3203648,"latitude_deg":9.4854968,"altitude":16,"angle":165,"satellites":44,"speed":39,"hex_longitude":"2d7d9040","hex_latitude":"05a75f38","is_valid_coordinates":true} 
[2026-08-21 00:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 00:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537052928001,"note":"Value kept but may cause issues"} 
[2026-08-21 00:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387565195817385984,"note":"Value kept but may cause issues"} 
[2026-08-21 00:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9045550244603002880,"note":"Value kept but may cause issues"} 
[2026-08-21 00:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 00:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787254122000,"timestamp_ms":1787254122000,"timestamp_seconds":1787254122,"priority":1,"record_length":96,"hex_timestamp":"000001a020a5a610"} 
[2026-08-21 00:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 00:59: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-08-21 00:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 00:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 00:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 00:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 00:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 00:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 00:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 00:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 00:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 00:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 00:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537052928001,"66":27343,"166":206,"85":14336,"24":39,"16":387565195817385984,"45":9045550244603002880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-21 00:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 00:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 00:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537052928001,"description":"Unknown IO ID 0"} 
[2026-08-21 00:59:41] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 00:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 00:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387565195817385984,"km_value":387565195817386.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 00:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9045550244603002880,"description":"Unknown IO ID 45"} 
[2026-08-21 00:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537052928001,"power":27343,"unknown_166":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":9045550244603002880}} 
[2026-08-21 00:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":158725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 00:59:41] local.INFO: GPS data processed {"connection_id":158725,"processed":1,"errors":0,"total":1} 
[2026-08-21 00:59:41] local.INFO: Acknowledgment sent {"connection_id":158725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:00:12] local.INFO: TCP Data received {"connection_id":158725,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a5cd20012d7d990005a73bc8001000a62d..."} 
[2026-08-21 01:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a5cd20012d7d990005a73bc8001000a62d..."} 
[2026-08-21 01:00:12] local.INFO: Processing buffer {"connection_id":158725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a5cd20012d7d990005a73bc8001000a62d..."} 
[2026-08-21 01:00:12] local.INFO: Packet analysis {"connection_id":158725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a5"} 
[2026-08-21 01:00:12] local.INFO: Extracted packet for processing {"connection_id":158725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a5"} 
[2026-08-21 01:00:12] local.INFO: GPS Element Parsed {"raw_longitude":763205888,"raw_latitude":94845896,"longitude_deg":76.3205888,"latitude_deg":9.4845896,"altitude":16,"angle":166,"satellites":45,"speed":37,"hex_longitude":"2d7d9900","hex_latitude":"05a73bc8","is_valid_coordinates":true} 
[2026-08-21 01:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537055232001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387565646788952064,"note":"Value kept but may cause issues"} 
[2026-08-21 01:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047802044414375936,"note":"Value kept but may cause issues"} 
[2026-08-21 01:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787254132000,"timestamp_ms":1787254132000,"timestamp_seconds":1787254132,"priority":1,"record_length":96,"hex_timestamp":"000001a020a5cd20"} 
[2026-08-21 01:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537055232001,"66":27267,"166":206,"85":14336,"24":37,"16":387565646788952064,"45":9047802044414375936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-21 01:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537055232001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:00:12] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 01:00:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387565646788952064,"km_value":387565646788952.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047802044414375936,"description":"Unknown IO ID 45"} 
[2026-08-21 01:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537055232001,"power":27267,"unknown_166":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":9047802044414375936}} 
[2026-08-21 01:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":158725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:00:12] local.INFO: GPS data processed {"connection_id":158725,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:00:12] local.INFO: Acknowledgment sent {"connection_id":158725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:00:27] local.INFO: TCP Data received {"connection_id":161248,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:00:27] local.INFO: Processing buffer {"connection_id":161248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:00:27] local.INFO: IMEI packet received {"connection_id":161248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":161248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:00:32] local.INFO: TCP Data received {"connection_id":161248,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:00:32] local.INFO: Processing buffer {"connection_id":161248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:00:32] local.INFO: IMEI packet received {"connection_id":161248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":161248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:00:33] local.INFO: TCP Data received {"connection_id":161248,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a5f048012d7da28005a71978001000a52e..."} 
[2026-08-21 01:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a5f048012d7da28005a71978001000a52e..."} 
[2026-08-21 01:00:33] local.INFO: Processing buffer {"connection_id":161248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a5f048012d7da28005a71978001000a52e..."} 
[2026-08-21 01:00:33] local.INFO: Packet analysis {"connection_id":161248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a5"} 
[2026-08-21 01:00:33] local.INFO: Extracted packet for processing {"connection_id":161248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a5"} 
[2026-08-21 01:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763208320,"raw_latitude":94837112,"longitude_deg":76.320832,"latitude_deg":9.4837112,"altitude":16,"angle":165,"satellites":46,"speed":42,"hex_longitude":"2d7da280","hex_latitude":"05a71978","is_valid_coordinates":true} 
[2026-08-21 01:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537057792001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387566089170583552,"note":"Value kept but may cause issues"} 
[2026-08-21 01:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050264950458271744,"note":"Value kept but may cause issues"} 
[2026-08-21 01:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254141000,"timestamp_ms":1787254141000,"timestamp_seconds":1787254141,"priority":1,"record_length":96,"hex_timestamp":"000001a020a5f048"} 
[2026-08-21 01:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537057792001,"66":27343,"166":206,"85":14336,"24":42,"16":387566089170583552,"45":9050264950458271744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-21 01:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537057792001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:00:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 01:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387566089170583552,"km_value":387566089170583.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050264950458271744,"description":"Unknown IO ID 45"} 
[2026-08-21 01:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537057792001,"power":27343,"unknown_166":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9050264950458271744}} 
[2026-08-21 01:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":161248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:00:33] local.INFO: GPS data processed {"connection_id":161248,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:00:33] local.INFO: Acknowledgment sent {"connection_id":161248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:01:04] local.INFO: TCP Data received {"connection_id":161248,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a60f88012d7dab8005a6f7e0001000a42e..."} 
[2026-08-21 01:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a60f88012d7dab8005a6f7e0001000a42e..."} 
[2026-08-21 01:01:04] local.INFO: Processing buffer {"connection_id":161248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a60f88012d7dab8005a6f7e0001000a42e..."} 
[2026-08-21 01:01:04] local.INFO: Packet analysis {"connection_id":161248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a6"} 
[2026-08-21 01:01:04] local.INFO: Extracted packet for processing {"connection_id":161248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a6"} 
[2026-08-21 01:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763210624,"raw_latitude":94828512,"longitude_deg":76.3210624,"latitude_deg":9.4828512,"altitude":16,"angle":164,"satellites":46,"speed":44,"hex_longitude":"2d7dab80","hex_latitude":"05a6f7e0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537060096001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387566518667313152,"note":"Value kept but may cause issues"} 
[2026-08-21 01:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9052938962734774272,"note":"Value kept but may cause issues"} 
[2026-08-21 01:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254149000,"timestamp_ms":1787254149000,"timestamp_seconds":1787254149,"priority":1,"record_length":96,"hex_timestamp":"000001a020a60f88"} 
[2026-08-21 01:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:01: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-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537060096001,"66":27267,"166":206,"85":14336,"24":44,"16":387566518667313152,"45":9052938962734774272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-21 01:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537060096001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387566518667313152,"km_value":387566518667313.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9052938962734774272,"description":"Unknown IO ID 45"} 
[2026-08-21 01:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537060096001,"power":27267,"unknown_166":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":9052938962734774272}} 
[2026-08-21 01:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":161248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:01:04] local.INFO: GPS data processed {"connection_id":161248,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:01:04] local.INFO: Acknowledgment sent {"connection_id":161248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:01:26] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:26] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:26] local.INFO: IMEI packet received {"connection_id":161249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":161249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:01:27] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:27] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:27] local.INFO: IMEI packet received {"connection_id":161249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":161249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:01:32] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:32] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:01:32] local.INFO: IMEI packet received {"connection_id":161249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":161249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:01:33] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a73868012d7e620005a5faa0000e00792d..."} 
[2026-08-21 01:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a73868012d7e620005a5faa0000e00792d..."} 
[2026-08-21 01:01:33] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a73868012d7e620005a5faa0000e00792d..."} 
[2026-08-21 01:01:33] local.INFO: Packet analysis {"connection_id":161249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:01:33] local.INFO: Extracted packet for processing {"connection_id":161249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763257344,"raw_latitude":94763680,"longitude_deg":76.3257344,"latitude_deg":9.476368,"altitude":14,"angle":121,"satellites":45,"speed":59,"hex_longitude":"2d7e6200","hex_latitude":"05a5faa0","is_valid_coordinates":true} 
[2026-08-21 01:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537079808001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387570590296309760,"note":"Value kept but may cause issues"} 
[2026-08-21 01:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097341640293402624,"note":"Value kept but may cause issues"} 
[2026-08-21 01:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254225000,"timestamp_ms":1787254225000,"timestamp_seconds":1787254225,"priority":1,"record_length":96,"hex_timestamp":"000001a020a73868"} 
[2026-08-21 01:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 01:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537079808001,"66":27343,"32":206,"85":14336,"24":59,"16":387570590296309760,"45":9097341640293402624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-21 01:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537079808001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:01:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 01:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387570590296309760,"km_value":387570590296309.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097341640293402624,"description":"Unknown IO ID 45"} 
[2026-08-21 01:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537079808001,"power":27343,"unknown_32":206,"unknown_85":14336,"ignition":59,"odometer":null,"unknown_45":9097341640293402624}} 
[2026-08-21 01:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":161249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:01:33] local.INFO: GPS data processed {"connection_id":161249,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:01:33] local.INFO: Acknowledgment sent {"connection_id":161249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:02:04] local.INFO: TCP Data received {"connection_id":161249,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a74fd8012d7e808005a5e828000b00792d..."} 
[2026-08-21 01:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a74fd8012d7e808005a5e828000b00792d..."} 
[2026-08-21 01:02:04] local.INFO: Processing buffer {"connection_id":161249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a74fd8012d7e808005a5e828000b00792d..."} 
[2026-08-21 01:02:04] local.INFO: Packet analysis {"connection_id":161249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:02:04] local.INFO: Extracted packet for processing {"connection_id":161249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763265152,"raw_latitude":94758952,"longitude_deg":76.3265152,"latitude_deg":9.4758952,"altitude":11,"angle":121,"satellites":45,"speed":58,"hex_longitude":"2d7e8080","hex_latitude":"05a5e828","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537081600001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387571028382973952,"note":"Value kept but may cause issues"} 
[2026-08-21 01:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9106841420756066304,"note":"Value kept but may cause issues"} 
[2026-08-21 01:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254231000,"timestamp_ms":1787254231000,"timestamp_seconds":1787254231,"priority":1,"record_length":96,"hex_timestamp":"000001a020a74fd8"} 
[2026-08-21 01:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01: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-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537081600001,"66":27300,"32":206,"85":14336,"24":58,"16":387571028382973952,"45":9106841420756066304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-21 01:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537081600001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:02:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 01:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387571028382973952,"km_value":387571028382973.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9106841420756066304,"description":"Unknown IO ID 45"} 
[2026-08-21 01:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537081600001,"power":27300,"unknown_32":206,"unknown_85":14336,"ignition":58,"odometer":null,"unknown_45":9106841420756066304}} 
[2026-08-21 01:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":161249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:02:04] local.INFO: GPS data processed {"connection_id":161249,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:02:04] local.INFO: Acknowledgment sent {"connection_id":161249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:02:27] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:27] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:27] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:02:29] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:29] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:29] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:02:32] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:32] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:02:32] local.INFO: IMEI packet received {"connection_id":159869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":159869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:02:33] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a76f18012d7ea28005a5d4d0000900772d..."} 
[2026-08-21 01:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a76f18012d7ea28005a5d4d0000900772d..."} 
[2026-08-21 01:02:33] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a76f18012d7ea28005a5d4d0000900772d..."} 
[2026-08-21 01:02:33] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:02:33] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:02:33] local.INFO: GPS Element Parsed {"raw_longitude":763273856,"raw_latitude":94754000,"longitude_deg":76.3273856,"latitude_deg":9.4754,"altitude":9,"angle":119,"satellites":45,"speed":43,"hex_longitude":"2d7ea280","hex_latitude":"05a5d4d0","is_valid_coordinates":true} 
[2026-08-21 01:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537083136001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387571505124343808,"note":"Value kept but may cause issues"} 
[2026-08-21 01:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115426407544530944,"note":"Value kept but may cause issues"} 
[2026-08-21 01:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254239000,"timestamp_ms":1787254239000,"timestamp_seconds":1787254239,"priority":1,"record_length":96,"hex_timestamp":"000001a020a76f18"} 
[2026-08-21 01:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 01:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537083136001,"66":27343,"32":206,"85":14336,"24":43,"16":387571505124343808,"45":9115426407544530944},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-21 01:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537083136001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:02:33] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 01:02:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387571505124343808,"km_value":387571505124343.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115426407544530944,"description":"Unknown IO ID 45"} 
[2026-08-21 01:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537083136001,"power":27343,"unknown_32":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9115426407544530944}} 
[2026-08-21 01:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:02:33] local.INFO: GPS data processed {"connection_id":159869,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:02:33] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:03:04] local.INFO: TCP Data received {"connection_id":159869,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a79240012d7ec18005a5c308000b00752f..."} 
[2026-08-21 01:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a79240012d7ec18005a5c308000b00752f..."} 
[2026-08-21 01:03:04] local.INFO: Processing buffer {"connection_id":159869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a79240012d7ec18005a5c308000b00752f..."} 
[2026-08-21 01:03:04] local.INFO: Packet analysis {"connection_id":159869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:03:04] local.INFO: Extracted packet for processing {"connection_id":159869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a7"} 
[2026-08-21 01:03:04] local.INFO: GPS Element Parsed {"raw_longitude":763281792,"raw_latitude":94749448,"longitude_deg":76.3281792,"latitude_deg":9.4749448,"altitude":11,"angle":117,"satellites":47,"speed":39,"hex_longitude":"2d7ec180","hex_latitude":"05a5c308","is_valid_coordinates":true} 
[2026-08-21 01:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537085184001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387571947505975296,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124996556751425536,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254248000,"timestamp_ms":1787254248000,"timestamp_seconds":1787254248,"priority":1,"record_length":96,"hex_timestamp":"000001a020a79240"} 
[2026-08-21 01:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537085184001,"66":27234,"54":206,"85":14336,"24":39,"16":387571947505975296,"45":9124996556751425536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,85,24,16,45]} 
[2026-08-21 01:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537085184001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:03:04] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-21 01:03:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387571947505975296,"km_value":387571947505975.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124996556751425536,"description":"Unknown IO ID 45"} 
[2026-08-21 01:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537085184001,"power":27234,"unknown_54":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":9124996556751425536}} 
[2026-08-21 01:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":159869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:03:04] local.INFO: GPS data processed {"connection_id":159869,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:03:04] local.INFO: Acknowledgment sent {"connection_id":159869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:03:28] local.INFO: TCP Data received {"connection_id":158726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:28] local.INFO: Processing buffer {"connection_id":158726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:28] local.INFO: IMEI packet received {"connection_id":158726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":158726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:03:32] local.INFO: TCP Data received {"connection_id":158726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:32] local.INFO: Processing buffer {"connection_id":158726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:32] local.INFO: IMEI packet received {"connection_id":158726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":158726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:03:37] local.INFO: TCP Data received {"connection_id":158726,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:37] local.INFO: Processing buffer {"connection_id":158726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:03:37] local.INFO: IMEI packet received {"connection_id":158726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":158726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:03:38] local.INFO: TCP Data received {"connection_id":158726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a90558012d80030005a52618000900802d..."} 
[2026-08-21 01:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a90558012d80030005a52618000900802d..."} 
[2026-08-21 01:03:38] local.INFO: Processing buffer {"connection_id":158726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a90558012d80030005a52618000900802d..."} 
[2026-08-21 01:03:38] local.INFO: Packet analysis {"connection_id":158726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:03:38] local.INFO: Extracted packet for processing {"connection_id":158726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":763364096,"raw_latitude":94709272,"longitude_deg":76.3364096,"latitude_deg":9.4709272,"altitude":9,"angle":128,"satellites":45,"speed":42,"hex_longitude":"2d800300","hex_latitude":"05a52618","is_valid_coordinates":true} 
[2026-08-21 01:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537109504001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387576358437388288,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9216194449195571200,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787254343000,"timestamp_ms":1787254343000,"timestamp_seconds":1787254343,"priority":1,"record_length":96,"hex_timestamp":"000001a020a90558"} 
[2026-08-21 01:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 01:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537109504001,"66":27300,"53":206,"85":14336,"24":42,"16":387576358437388288,"45":9216194449195571200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 01:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537109504001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:03:38] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 01:03:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387576358437388288,"km_value":387576358437388.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9216194449195571200,"description":"Unknown IO ID 45"} 
[2026-08-21 01:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537109504001,"power":27300,"unknown_53":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9216194449195571200}} 
[2026-08-21 01:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":158726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:03:38] local.INFO: GPS data processed {"connection_id":158726,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:03:38] local.INFO: Acknowledgment sent {"connection_id":158726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:03:43] local.INFO: TCP Data received {"connection_id":158726,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a92880012d801ec005a50c50000900882e..."} 
[2026-08-21 01:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a92880012d801ec005a50c50000900882e..."} 
[2026-08-21 01:03:43] local.INFO: Processing buffer {"connection_id":158726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a92880012d801ec005a50c50000900882e..."} 
[2026-08-21 01:03:43] local.INFO: Packet analysis {"connection_id":158726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:03:43] local.INFO: Extracted packet for processing {"connection_id":158726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":763371200,"raw_latitude":94702672,"longitude_deg":76.33712,"latitude_deg":9.4702672,"altitude":9,"angle":136,"satellites":46,"speed":39,"hex_longitude":"2d801ec0","hex_latitude":"05a50c50","is_valid_coordinates":true} 
[2026-08-21 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537111808001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387576822293856256,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9222527587679070208,"note":"Value kept but may cause issues"} 
[2026-08-21 01:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787254352000,"timestamp_ms":1787254352000,"timestamp_seconds":1787254352,"priority":1,"record_length":96,"hex_timestamp":"000001a020a92880"} 
[2026-08-21 01:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 01:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537111808001,"66":27343,"53":206,"85":14336,"24":39,"16":387576822293856256,"45":-9222527587679070208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 01:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537111808001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387576822293856256,"km_value":387576822293856.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9222527587679070208,"description":"Unknown IO ID 45"} 
[2026-08-21 01:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537111808001,"power":27343,"unknown_53":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":-9222527587679070208}} 
[2026-08-21 01:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":158726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:03:43] local.INFO: GPS data processed {"connection_id":158726,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:03:43] local.INFO: Acknowledgment sent {"connection_id":158726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:04:27] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:27] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:27] local.INFO: IMEI packet received {"connection_id":158727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":158727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:04:28] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:28] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:28] local.INFO: IMEI packet received {"connection_id":158727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":158727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:04:32] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:32] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:04:32] local.INFO: IMEI packet received {"connection_id":158727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":158727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:04:33] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a94ba8012d80374005a4eef0000800902f..."} 
[2026-08-21 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a94ba8012d80374005a4eef0000800902f..."} 
[2026-08-21 01:04:33] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a94ba8012d80374005a4eef0000800902f..."} 
[2026-08-21 01:04:33] local.INFO: Packet analysis {"connection_id":158727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:04:33] local.INFO: Extracted packet for processing {"connection_id":158727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:04:33] local.INFO: GPS Element Parsed {"raw_longitude":763377472,"raw_latitude":94695152,"longitude_deg":76.3377472,"latitude_deg":9.4695152,"altitude":8,"angle":144,"satellites":47,"speed":45,"hex_longitude":"2d803740","hex_latitude":"05a4eef0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537114112001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387577294740258816,"note":"Value kept but may cause issues"} 
[2026-08-21 01:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214716657077039104,"note":"Value kept but may cause issues"} 
[2026-08-21 01:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254361000,"timestamp_ms":1787254361000,"timestamp_seconds":1787254361,"priority":1,"record_length":96,"hex_timestamp":"000001a020a94ba8"} 
[2026-08-21 01:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537114112001,"66":27332,"53":206,"85":14336,"24":45,"16":387577294740258816,"45":-9214716657077039104},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 01:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537114112001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:04:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 01:04:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387577294740258816,"km_value":387577294740258.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214716657077039104,"description":"Unknown IO ID 45"} 
[2026-08-21 01:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537114112001,"power":27332,"unknown_53":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":-9214716657077039104}} 
[2026-08-21 01:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":158727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:04:33] local.INFO: GPS data processed {"connection_id":158727,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:04:33] local.INFO: Acknowledgment sent {"connection_id":158727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:04:40] local.INFO: TCP Data received {"connection_id":158727,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020a96ed0012d804a4005a4d000000800952e..."} 
[2026-08-21 01:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020a96ed0012d804a4005a4d000000800952e..."} 
[2026-08-21 01:04:40] local.INFO: Processing buffer {"connection_id":158727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020a96ed0012d804a4005a4d000000800952e..."} 
[2026-08-21 01:04:40] local.INFO: Packet analysis {"connection_id":158727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:04:40] local.INFO: Extracted packet for processing {"connection_id":158727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020a9"} 
[2026-08-21 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":763382336,"raw_latitude":94687232,"longitude_deg":76.3382336,"latitude_deg":9.4687232,"altitude":8,"angle":149,"satellites":46,"speed":27,"hex_longitude":"2d804a40","hex_latitude":"05a4d000","is_valid_coordinates":true} 
[2026-08-21 01:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537116416001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387577745711824896,"note":"Value kept but may cause issues"} 
[2026-08-21 01:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207820520149553152,"note":"Value kept but may cause issues"} 
[2026-08-21 01:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787254370000,"timestamp_ms":1787254370000,"timestamp_seconds":1787254370,"priority":1,"record_length":96,"hex_timestamp":"000001a020a96ed0"} 
[2026-08-21 01:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537116416001,"66":27300,"53":206,"85":14336,"24":27,"16":387577745711824896,"45":-9207820520149553152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 01:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537116416001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:04:40] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 01:04:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387577745711824896,"km_value":387577745711824.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207820520149553152,"description":"Unknown IO ID 45"} 
[2026-08-21 01:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537116416001,"power":27300,"unknown_53":206,"unknown_85":14336,"ignition":27,"odometer":null,"unknown_45":-9207820520149553152}} 
[2026-08-21 01:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":158727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:04:40] local.INFO: GPS data processed {"connection_id":158727,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:04:40] local.INFO: Acknowledgment sent {"connection_id":158727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:05:27] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:05:27] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:05:27] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:05:31] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:05:31] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:05:31] local.INFO: IMEI packet received {"connection_id":159870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":159870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:05:32] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ab10c8012d809c0005a37688000a00aa2b..."} 
[2026-08-21 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ab10c8012d809c0005a37688000a00aa2b..."} 
[2026-08-21 01:05:32] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ab10c8012d809c0005a37688000a00aa2b..."} 
[2026-08-21 01:05:32] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ab"} 
[2026-08-21 01:05:32] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ab"} 
[2026-08-21 01:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763403264,"raw_latitude":94598792,"longitude_deg":76.3403264,"latitude_deg":9.4598792,"altitude":10,"angle":170,"satellites":43,"speed":49,"hex_longitude":"2d809c00","hex_latitude":"05a37688","is_valid_coordinates":true} 
[2026-08-21 01:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537144064001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387582182413041664,"note":"Value kept but may cause issues"} 
[2026-08-21 01:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181080397384218624,"note":"Value kept but may cause issues"} 
[2026-08-21 01:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787254477000,"timestamp_ms":1787254477000,"timestamp_seconds":1787254477,"priority":1,"record_length":96,"hex_timestamp":"000001a020ab10c8"} 
[2026-08-21 01:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:05: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-08-21 01:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537144064001,"66":27245,"17":206,"85":14336,"24":49,"16":387582182413041664,"45":-9181080397384218624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537144064001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387582182413041664,"km_value":387582182413041.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181080397384218624,"description":"Unknown IO ID 45"} 
[2026-08-21 01:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537144064001,"power":27245,"axis_x":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":-9181080397384218624}} 
[2026-08-21 01:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:05:32] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:05:32] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:06:03] local.INFO: TCP Data received {"connection_id":159870,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ab2c20012d80a14005a35410000a00ab2e..."} 
[2026-08-21 01:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ab2c20012d80a14005a35410000a00ab2e..."} 
[2026-08-21 01:06:03] local.INFO: Processing buffer {"connection_id":159870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ab2c20012d80a14005a35410000a00ab2e..."} 
[2026-08-21 01:06:03] local.INFO: Packet analysis {"connection_id":159870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ab"} 
[2026-08-21 01:06:03] local.INFO: Extracted packet for processing {"connection_id":159870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ab"} 
[2026-08-21 01:06:03] local.INFO: GPS Element Parsed {"raw_longitude":763404608,"raw_latitude":94589968,"longitude_deg":76.3404608,"latitude_deg":9.4589968,"altitude":10,"angle":171,"satellites":46,"speed":50,"hex_longitude":"2d80a140","hex_latitude":"05a35410","is_valid_coordinates":true} 
[2026-08-21 01:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537146112001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387582616204738560,"note":"Value kept but may cause issues"} 
[2026-08-21 01:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9179461916270622720,"note":"Value kept but may cause issues"} 
[2026-08-21 01:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787254484000,"timestamp_ms":1787254484000,"timestamp_seconds":1787254484,"priority":1,"record_length":96,"hex_timestamp":"000001a020ab2c20"} 
[2026-08-21 01:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 01:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537146112001,"66":27332,"17":206,"85":14336,"24":50,"16":387582616204738560,"45":-9179461916270622720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537146112001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387582616204738560,"km_value":387582616204738.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9179461916270622720,"description":"Unknown IO ID 45"} 
[2026-08-21 01:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537146112001,"power":27332,"axis_x":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":-9179461916270622720}} 
[2026-08-21 01:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":159870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:06:03] local.INFO: GPS data processed {"connection_id":159870,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:06:03] local.INFO: Acknowledgment sent {"connection_id":159870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:06:27] local.INFO: TCP Data received {"connection_id":161250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:06:27] local.INFO: Processing buffer {"connection_id":161250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:06:27] local.INFO: IMEI packet received {"connection_id":161250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":161250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:06:35] local.INFO: TCP Data received {"connection_id":161250,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:06:35] local.INFO: Processing buffer {"connection_id":161250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:06:35] local.INFO: IMEI packet received {"connection_id":161250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":161250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:06:44] local.INFO: TCP Data received {"connection_id":161250,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ab4b60012d80a70005a32e78000b00aa2d..."} 
[2026-08-21 01:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ab4b60012d80a70005a32e78000b00aa2d..."} 
[2026-08-21 01:06:44] local.INFO: Processing buffer {"connection_id":161250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ab4b60012d80a70005a32e78000b00aa2d..."} 
[2026-08-21 01:06:44] local.INFO: Packet analysis {"connection_id":161250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ab"} 
[2026-08-21 01:06:44] local.INFO: Extracted packet for processing {"connection_id":161250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ab"} 
[2026-08-21 01:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763406080,"raw_latitude":94580344,"longitude_deg":76.340608,"latitude_deg":9.4580344,"altitude":11,"angle":170,"satellites":45,"speed":46,"hex_longitude":"2d80a700","hex_latitude":"05a32e78","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537147904001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387583088651141120,"note":"Value kept but may cause issues"} 
[2026-08-21 01:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177984172645150720,"note":"Value kept but may cause issues"} 
[2026-08-21 01:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787254492000,"timestamp_ms":1787254492000,"timestamp_seconds":1787254492,"priority":1,"record_length":96,"hex_timestamp":"000001a020ab4b60"} 
[2026-08-21 01:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537147904001,"66":27321,"83":206,"85":14336,"24":46,"16":387583088651141120,"45":-9177984172645150720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,85,24,16,45]} 
[2026-08-21 01:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537147904001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-08-21 01:06:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387583088651141120,"km_value":387583088651141.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177984172645150720,"description":"Unknown IO ID 45"} 
[2026-08-21 01:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537147904001,"power":27321,"unknown_83":206,"unknown_85":14336,"ignition":46,"odometer":null,"unknown_45":-9177984172645150720}} 
[2026-08-21 01:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":161250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:06:44] local.INFO: GPS data processed {"connection_id":161250,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:06:44] local.INFO: Acknowledgment sent {"connection_id":161250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:07:26] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:26] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:26] local.INFO: IMEI packet received {"connection_id":158728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":158728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:07:27] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:27] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:27] local.INFO: IMEI packet received {"connection_id":158728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":158728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:07:32] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:32] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:07:32] local.INFO: IMEI packet received {"connection_id":158728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":158728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:07:33] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020acaaf0012d80ebc005a19b10000700a52e..."} 
[2026-08-21 01:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020acaaf0012d80ebc005a19b10000700a52e..."} 
[2026-08-21 01:07:33] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020acaaf0012d80ebc005a19b10000700a52e..."} 
[2026-08-21 01:07:33] local.INFO: Packet analysis {"connection_id":158728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ac"} 
[2026-08-21 01:07:33] local.INFO: Extracted packet for processing {"connection_id":158728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ac"} 
[2026-08-21 01:07:33] local.INFO: GPS Element Parsed {"raw_longitude":763423680,"raw_latitude":94477072,"longitude_deg":76.342368,"latitude_deg":9.4477072,"altitude":7,"angle":165,"satellites":46,"speed":54,"hex_longitude":"2d80ebc0","hex_latitude":"05a19b10","is_valid_coordinates":true} 
[2026-08-21 01:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537171200001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387588169597452288,"note":"Value kept but may cause issues"} 
[2026-08-21 01:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9159195717976252416,"note":"Value kept but may cause issues"} 
[2026-08-21 01:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254582000,"timestamp_ms":1787254582000,"timestamp_seconds":1787254582,"priority":1,"record_length":96,"hex_timestamp":"000001a020acaaf0"} 
[2026-08-21 01:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537171200001,"66":27267,"82":206,"85":14336,"24":54,"16":387588169597452288,"45":-9159195717976252416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-21 01:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537171200001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:07:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 01:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387588169597452288,"km_value":387588169597452.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9159195717976252416,"description":"Unknown IO ID 45"} 
[2026-08-21 01:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537171200001,"power":27267,"unknown_82":206,"unknown_85":14336,"ignition":54,"odometer":null,"unknown_45":-9159195717976252416}} 
[2026-08-21 01:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":158728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:07:33] local.INFO: GPS data processed {"connection_id":158728,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:07:33] local.INFO: Acknowledgment sent {"connection_id":158728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:08:04] local.INFO: TCP Data received {"connection_id":158728,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020acc648012d80f68005a17860000800a72e..."} 
[2026-08-21 01:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020acc648012d80f68005a17860000800a72e..."} 
[2026-08-21 01:08:04] local.INFO: Processing buffer {"connection_id":158728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020acc648012d80f68005a17860000800a72e..."} 
[2026-08-21 01:08:04] local.INFO: Packet analysis {"connection_id":158728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ac"} 
[2026-08-21 01:08:04] local.INFO: Extracted packet for processing {"connection_id":158728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ac"} 
[2026-08-21 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":763426432,"raw_latitude":94468192,"longitude_deg":76.3426432,"latitude_deg":9.4468192,"altitude":8,"angle":167,"satellites":46,"speed":51,"hex_longitude":"2d80f680","hex_latitude":"05a17860","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537172992001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387588620569018368,"note":"Value kept but may cause issues"} 
[2026-08-21 01:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157014286909108224,"note":"Value kept but may cause issues"} 
[2026-08-21 01:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254589000,"timestamp_ms":1787254589000,"timestamp_seconds":1787254589,"priority":1,"record_length":96,"hex_timestamp":"000001a020acc648"} 
[2026-08-21 01:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537172992001,"66":27169,"82":206,"85":14336,"24":51,"16":387588620569018368,"45":-9157014286909108224},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-21 01:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537172992001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:08:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 01:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387588620569018368,"km_value":387588620569018.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157014286909108224,"description":"Unknown IO ID 45"} 
[2026-08-21 01:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537172992001,"power":27169,"unknown_82":206,"unknown_85":14336,"ignition":51,"odometer":null,"unknown_45":-9157014286909108224}} 
[2026-08-21 01:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":158728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:08:04] local.INFO: GPS data processed {"connection_id":158728,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:08:04] local.INFO: Acknowledgment sent {"connection_id":158728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:08:27] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:08:27] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:08:27] local.INFO: IMEI packet received {"connection_id":158729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":158729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:08:31] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:08:31] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:08:31] local.INFO: IMEI packet received {"connection_id":158729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":158729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:08:32] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ace970012d80fd0005a15598000800a82e..."} 
[2026-08-21 01:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ace970012d80fd0005a15598000800a82e..."} 
[2026-08-21 01:08:32] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ace970012d80fd0005a15598000800a82e..."} 
[2026-08-21 01:08:32] local.INFO: Packet analysis {"connection_id":158729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ac"} 
[2026-08-21 01:08:32] local.INFO: Extracted packet for processing {"connection_id":158729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ac"} 
[2026-08-21 01:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763428096,"raw_latitude":94459288,"longitude_deg":76.3428096,"latitude_deg":9.4459288,"altitude":8,"angle":168,"satellites":46,"speed":32,"hex_longitude":"2d80fd00","hex_latitude":"05a15598","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537174784001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387589058655682560,"note":"Value kept but may cause issues"} 
[2026-08-21 01:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9153988430911741952,"note":"Value kept but may cause issues"} 
[2026-08-21 01:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787254598000,"timestamp_ms":1787254598000,"timestamp_seconds":1787254598,"priority":1,"record_length":96,"hex_timestamp":"000001a020ace970"} 
[2026-08-21 01:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 01:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537174784001,"66":27310,"82":206,"85":14336,"24":32,"16":387589058655682560,"45":-9153988430911741952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-21 01:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537174784001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:08:32] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 01:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387589058655682560,"km_value":387589058655682.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9153988430911741952,"description":"Unknown IO ID 45"} 
[2026-08-21 01:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537174784001,"power":27310,"unknown_82":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9153988430911741952}} 
[2026-08-21 01:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":158729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:08:32] local.INFO: GPS data processed {"connection_id":158729,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:08:32] local.INFO: Acknowledgment sent {"connection_id":158729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:09:04] local.INFO: TCP Data received {"connection_id":158729,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ad1080012d81044005a13348000700a82e..."} 
[2026-08-21 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ad1080012d81044005a13348000700a82e..."} 
[2026-08-21 01:09:04] local.INFO: Processing buffer {"connection_id":158729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ad1080012d81044005a13348000700a82e..."} 
[2026-08-21 01:09:04] local.INFO: Packet analysis {"connection_id":158729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ad"} 
[2026-08-21 01:09:04] local.INFO: Extracted packet for processing {"connection_id":158729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ad"} 
[2026-08-21 01:09:04] local.INFO: GPS Element Parsed {"raw_longitude":763429952,"raw_latitude":94450504,"longitude_deg":76.3429952,"latitude_deg":9.4450504,"altitude":7,"angle":168,"satellites":46,"speed":39,"hex_longitude":"2d810440","hex_latitude":"05a13348","is_valid_coordinates":true} 
[2026-08-21 01:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537177088001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387589496742346752,"note":"Value kept but may cause issues"} 
[2026-08-21 01:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9152158843565402112,"note":"Value kept but may cause issues"} 
[2026-08-21 01:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254608000,"timestamp_ms":1787254608000,"timestamp_seconds":1787254608,"priority":1,"record_length":96,"hex_timestamp":"000001a020ad1080"} 
[2026-08-21 01:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 01:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537177088001,"66":27213,"177":206,"85":14336,"24":39,"16":387589496742346752,"45":-9152158843565402112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 01:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537177088001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:09:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 01:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387589496742346752,"km_value":387589496742346.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9152158843565402112,"description":"Unknown IO ID 45"} 
[2026-08-21 01:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537177088001,"power":27213,"unknown_177":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":-9152158843565402112}} 
[2026-08-21 01:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":158729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:09:04] local.INFO: GPS data processed {"connection_id":158729,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:09:04] local.INFO: Acknowledgment sent {"connection_id":158729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:09:27] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:27] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:27] local.INFO: IMEI packet received {"connection_id":159007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":159007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:09:27] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:27] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:27] local.INFO: IMEI packet received {"connection_id":159007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":159007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:09:32] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:32] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:09:32] local.INFO: IMEI packet received {"connection_id":159007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":159007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:09:33] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ae9ef0012d8157c0059fa4f8000800a92d..."} 
[2026-08-21 01:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ae9ef0012d8157c0059fa4f8000800a92d..."} 
[2026-08-21 01:09:33] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ae9ef0012d8157c0059fa4f8000800a92d..."} 
[2026-08-21 01:09:33] local.INFO: Packet analysis {"connection_id":159007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ae"} 
[2026-08-21 01:09:33] local.INFO: Extracted packet for processing {"connection_id":159007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ae"} 
[2026-08-21 01:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763451328,"raw_latitude":94348536,"longitude_deg":76.3451328,"latitude_deg":9.4348536,"altitude":8,"angle":169,"satellites":45,"speed":44,"hex_longitude":"2d8157c0","hex_latitude":"059fa4f8","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537203456001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387594543328919552,"note":"Value kept but may cause issues"} 
[2026-08-21 01:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9128726051780136960,"note":"Value kept but may cause issues"} 
[2026-08-21 01:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254710000,"timestamp_ms":1787254710000,"timestamp_seconds":1787254710,"priority":1,"record_length":96,"hex_timestamp":"000001a020ae9ef0"} 
[2026-08-21 01:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537203456001,"66":27169,"177":206,"85":14336,"24":44,"16":387594543328919552,"45":-9128726051780136960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 01:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537203456001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:09:33] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 01:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387594543328919552,"km_value":387594543328919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9128726051780136960,"description":"Unknown IO ID 45"} 
[2026-08-21 01:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537203456001,"power":27169,"unknown_177":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":-9128726051780136960}} 
[2026-08-21 01:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":159007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:09:33] local.INFO: GPS data processed {"connection_id":159007,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:09:33] local.INFO: Acknowledgment sent {"connection_id":159007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:10:04] local.INFO: TCP Data received {"connection_id":159007,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020aec218012d815ec0059f8268000700a72d..."} 
[2026-08-21 01:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020aec218012d815ec0059f8268000700a72d..."} 
[2026-08-21 01:10:04] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020aec218012d815ec0059f8268000700a72d..."} 
[2026-08-21 01:10:04] local.INFO: Packet analysis {"connection_id":159007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ae"} 
[2026-08-21 01:10:04] local.INFO: Extracted packet for processing {"connection_id":159007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ae"} 
[2026-08-21 01:10:04] local.INFO: GPS Element Parsed {"raw_longitude":763453120,"raw_latitude":94339688,"longitude_deg":76.345312,"latitude_deg":9.4339688,"altitude":7,"angle":167,"satellites":45,"speed":36,"hex_longitude":"2d815ec0","hex_latitude":"059f8268","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537205760001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387594981415583744,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9126614989457262592,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254719000,"timestamp_ms":1787254719000,"timestamp_seconds":1787254719,"priority":1,"record_length":96,"hex_timestamp":"000001a020aec218"} 
[2026-08-21 01:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 01:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537205760001,"66":27343,"177":206,"85":14336,"24":36,"16":387594981415583744,"45":-9126614989457262592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 01:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537205760001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:10:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 01:10:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387594981415583744,"km_value":387594981415583.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9126614989457262592,"description":"Unknown IO ID 45"} 
[2026-08-21 01:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537205760001,"power":27343,"unknown_177":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":-9126614989457262592}} 
[2026-08-21 01:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":159007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:10:04] local.INFO: GPS data processed {"connection_id":159007,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:10:04] local.INFO: Acknowledgment sent {"connection_id":159007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:10:32] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:10:32] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:10:32] local.INFO: IMEI packet received {"connection_id":161251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":161251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:10:35] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:10:35] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:10:35] local.INFO: IMEI packet received {"connection_id":161251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":161251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:10:36] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020aee928012d816580059f5f28000700a92d..."} 
[2026-08-21 01:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020aee928012d816580059f5f28000700a92d..."} 
[2026-08-21 01:10:36] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020aee928012d816580059f5f28000700a92d..."} 
[2026-08-21 01:10:36] local.INFO: Packet analysis {"connection_id":161251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ae"} 
[2026-08-21 01:10:36] local.INFO: Extracted packet for processing {"connection_id":161251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ae"} 
[2026-08-21 01:10:36] local.INFO: GPS Element Parsed {"raw_longitude":763454848,"raw_latitude":94330664,"longitude_deg":76.3454848,"latitude_deg":9.4330664,"altitude":7,"angle":169,"satellites":45,"speed":35,"hex_longitude":"2d816580","hex_latitude":"059f5f28","is_valid_coordinates":true} 
[2026-08-21 01:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537208064001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387595428092182528,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124644664622553088,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787254729000,"timestamp_ms":1787254729000,"timestamp_seconds":1787254729,"priority":1,"record_length":96,"hex_timestamp":"000001a020aee928"} 
[2026-08-21 01:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537208064001,"66":27376,"178":206,"85":14336,"24":35,"16":387595428092182528,"45":-9124644664622553088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-21 01:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537208064001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:10:36] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 01:10:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387595428092182528,"km_value":387595428092182.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124644664622553088,"description":"Unknown IO ID 45"} 
[2026-08-21 01:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537208064001,"power":27376,"unknown_178":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9124644664622553088}} 
[2026-08-21 01:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":161251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:10:36] local.INFO: GPS data processed {"connection_id":161251,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:10:36] local.INFO: Acknowledgment sent {"connection_id":161251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:10:37] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020af1038012d816c80059f3cb0000700a82b..."} 
[2026-08-21 01:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020af1038012d816c80059f3cb0000700a82b..."} 
[2026-08-21 01:10:37] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020af1038012d816c80059f3cb0000700a82b..."} 
[2026-08-21 01:10:37] local.INFO: Packet analysis {"connection_id":161251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:10:37] local.INFO: Extracted packet for processing {"connection_id":161251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763456640,"raw_latitude":94321840,"longitude_deg":76.345664,"latitude_deg":9.432184,"altitude":7,"angle":168,"satellites":43,"speed":35,"hex_longitude":"2d816c80","hex_latitude":"059f3cb0","is_valid_coordinates":true} 
[2026-08-21 01:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537210624001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387595866178846720,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9122744708532066304,"note":"Value kept but may cause issues"} 
[2026-08-21 01:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787254739000,"timestamp_ms":1787254739000,"timestamp_seconds":1787254739,"priority":1,"record_length":96,"hex_timestamp":"000001a020af1038"} 
[2026-08-21 01:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 01:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537210624001,"66":27321,"178":206,"85":14336,"24":35,"16":387595866178846720,"45":-9122744708532066304},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-21 01:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537210624001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387595866178846720,"km_value":387595866178846.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9122744708532066304,"description":"Unknown IO ID 45"} 
[2026-08-21 01:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537210624001,"power":27321,"unknown_178":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":-9122744708532066304}} 
[2026-08-21 01:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":161251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:10:37] local.INFO: GPS data processed {"connection_id":161251,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:10:37] local.INFO: Acknowledgment sent {"connection_id":161251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:11:08] local.INFO: TCP Data received {"connection_id":161251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020af3748012d8173c0059f1868000800a92c..."} 
[2026-08-21 01:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020af3748012d8173c0059f1868000800a92c..."} 
[2026-08-21 01:11:08] local.INFO: Processing buffer {"connection_id":161251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020af3748012d8173c0059f1868000800a92c..."} 
[2026-08-21 01:11:08] local.INFO: Packet analysis {"connection_id":161251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:11:08] local.INFO: Extracted packet for processing {"connection_id":161251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763458496,"raw_latitude":94312552,"longitude_deg":76.3458496,"latitude_deg":9.4312552,"altitude":8,"angle":169,"satellites":44,"speed":31,"hex_longitude":"2d8173c0","hex_latitude":"059f1868","is_valid_coordinates":true} 
[2026-08-21 01:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537213184001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387596325740347392,"note":"Value kept but may cause issues"} 
[2026-08-21 01:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120774383697350656,"note":"Value kept but may cause issues"} 
[2026-08-21 01:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787254749000,"timestamp_ms":1787254749000,"timestamp_seconds":1787254749,"priority":1,"record_length":96,"hex_timestamp":"000001a020af3748"} 
[2026-08-21 01:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537213184001,"66":27234,"178":206,"85":14336,"24":31,"16":387596325740347392,"45":-9120774383697350656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-21 01:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537213184001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:11:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 01:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387596325740347392,"km_value":387596325740347.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120774383697350656,"description":"Unknown IO ID 45"} 
[2026-08-21 01:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537213184001,"power":27234,"unknown_178":206,"unknown_85":14336,"ignition":31,"odometer":null,"unknown_45":-9120774383697350656}} 
[2026-08-21 01:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":161251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:11:08] local.INFO: GPS data processed {"connection_id":161251,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:11:08] local.INFO: Acknowledgment sent {"connection_id":161251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:11:25] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:25] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:25] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:11:27] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:27] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:27] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:11:32] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:32] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:11:32] local.INFO: IMEI packet received {"connection_id":159871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":159871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:11:33] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020af6628012d817b80059ef3d8000700a72e..."} 
[2026-08-21 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020af6628012d817b80059ef3d8000700a72e..."} 
[2026-08-21 01:11:33] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020af6628012d817b80059ef3d8000700a72e..."} 
[2026-08-21 01:11:33] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:11:33] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:11:33] local.INFO: GPS Element Parsed {"raw_longitude":763460480,"raw_latitude":94303192,"longitude_deg":76.346048,"latitude_deg":9.4303192,"altitude":7,"angle":167,"satellites":46,"speed":37,"hex_longitude":"2d817b80","hex_latitude":"059ef3d8","is_valid_coordinates":true} 
[2026-08-21 01:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537215744001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387596789596815360,"note":"Value kept but may cause issues"} 
[2026-08-21 01:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118733690118576128,"note":"Value kept but may cause issues"} 
[2026-08-21 01:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254761000,"timestamp_ms":1787254761000,"timestamp_seconds":1787254761,"priority":1,"record_length":96,"hex_timestamp":"000001a020af6628"} 
[2026-08-21 01:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537215744001,"66":27267,"178":206,"85":14336,"24":37,"16":387596789596815360,"45":-9118733690118576128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-21 01:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537215744001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:11:33] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 01:11:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387596789596815360,"km_value":387596789596815.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118733690118576128,"description":"Unknown IO ID 45"} 
[2026-08-21 01:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537215744001,"power":27267,"unknown_178":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9118733690118576128}} 
[2026-08-21 01:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:11:33] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:11:33] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:12:04] local.INFO: TCP Data received {"connection_id":159871,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020af8950012d818280059ed128000700a82e..."} 
[2026-08-21 01:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020af8950012d818280059ed128000700a82e..."} 
[2026-08-21 01:12:04] local.INFO: Processing buffer {"connection_id":159871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020af8950012d818280059ed128000700a82e..."} 
[2026-08-21 01:12:04] local.INFO: Packet analysis {"connection_id":159871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:12:04] local.INFO: Extracted packet for processing {"connection_id":159871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020af"} 
[2026-08-21 01:12:04] local.INFO: GPS Element Parsed {"raw_longitude":763462272,"raw_latitude":94294312,"longitude_deg":76.3462272,"latitude_deg":9.4294312,"altitude":7,"angle":168,"satellites":46,"speed":42,"hex_longitude":"2d818280","hex_latitude":"059ed128","is_valid_coordinates":true} 
[2026-08-21 01:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537218816001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387597227683479552,"note":"Value kept but may cause issues"} 
[2026-08-21 01:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116552259051464704,"note":"Value kept but may cause issues"} 
[2026-08-21 01:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254770000,"timestamp_ms":1787254770000,"timestamp_seconds":1787254770,"priority":1,"record_length":96,"hex_timestamp":"000001a020af8950"} 
[2026-08-21 01:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:12: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-08-21 01:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537218816001,"66":27332,"178":206,"85":14336,"24":42,"16":387597227683479552,"45":-9116552259051464704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-21 01:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537218816001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387597227683479552,"km_value":387597227683479.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116552259051464704,"description":"Unknown IO ID 45"} 
[2026-08-21 01:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537218816001,"power":27332,"unknown_178":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9116552259051464704}} 
[2026-08-21 01:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":159871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:12:04] local.INFO: GPS data processed {"connection_id":159871,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:12:04] local.INFO: Acknowledgment sent {"connection_id":159871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:12:24] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:24] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:24] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:12:27] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:27] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:27] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:12:33] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:33] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:12:33] local.INFO: IMEI packet received {"connection_id":159872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":159872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:12:34] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b15258012d81d000059d4970000700a72e..."} 
[2026-08-21 01:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b15258012d81d000059d4970000700a72e..."} 
[2026-08-21 01:12:34] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b15258012d81d000059d4970000700a72e..."} 
[2026-08-21 01:12:34] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b1"} 
[2026-08-21 01:12:34] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b1"} 
[2026-08-21 01:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763482112,"raw_latitude":94194032,"longitude_deg":76.3482112,"latitude_deg":9.4194032,"altitude":7,"angle":167,"satellites":46,"speed":37,"hex_longitude":"2d81d000","hex_latitude":"059d4970","is_valid_coordinates":true} 
[2026-08-21 01:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537248256001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387602188370706432,"note":"Value kept but may cause issues"} 
[2026-08-21 01:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9094808317126144000,"note":"Value kept but may cause issues"} 
[2026-08-21 01:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787254887000,"timestamp_ms":1787254887000,"timestamp_seconds":1787254887,"priority":1,"record_length":96,"hex_timestamp":"000001a020b15258"} 
[2026-08-21 01:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-21 01:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537248256001,"66":27267,"193":206,"85":14336,"24":37,"16":387602188370706432,"45":-9094808317126144000},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-21 01:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537248256001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:12:34] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 01:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387602188370706432,"km_value":387602188370706.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9094808317126144000,"description":"Unknown IO ID 45"} 
[2026-08-21 01:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537248256001,"power":27267,"unknown_193":206,"unknown_85":14336,"ignition":37,"odometer":null,"unknown_45":-9094808317126144000}} 
[2026-08-21 01:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:12:34] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:12:34] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:13:19] local.INFO: TCP Data received {"connection_id":159872,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b17968012d81d740059d2478000700af2d..."} 
[2026-08-21 01:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b17968012d81d740059d2478000700af2d..."} 
[2026-08-21 01:13:19] local.INFO: Processing buffer {"connection_id":159872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b17968012d81d740059d2478000700af2d..."} 
[2026-08-21 01:13:19] local.INFO: Packet analysis {"connection_id":159872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b1"} 
[2026-08-21 01:13:19] local.INFO: Extracted packet for processing {"connection_id":159872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b1"} 
[2026-08-21 01:13:19] local.INFO: GPS Element Parsed {"raw_longitude":763483968,"raw_latitude":94184568,"longitude_deg":76.3483968,"latitude_deg":9.4184568,"altitude":7,"angle":175,"satellites":45,"speed":38,"hex_longitude":"2d81d740","hex_latitude":"059d2478","is_valid_coordinates":true} 
[2026-08-21 01:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537251072001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387602652227174400,"note":"Value kept but may cause issues"} 
[2026-08-21 01:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9092767623547359232,"note":"Value kept but may cause issues"} 
[2026-08-21 01:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787254897000,"timestamp_ms":1787254897000,"timestamp_seconds":1787254897,"priority":1,"record_length":96,"hex_timestamp":"000001a020b17968"} 
[2026-08-21 01:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537251072001,"66":27267,"193":206,"85":14336,"24":38,"16":387602652227174400,"45":-9092767623547359232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-21 01:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537251072001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:13:19] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 01:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387602652227174400,"km_value":387602652227174.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9092767623547359232,"description":"Unknown IO ID 45"} 
[2026-08-21 01:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537251072001,"power":27267,"unknown_193":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9092767623547359232}} 
[2026-08-21 01:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":159872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:13:19] local.INFO: GPS data processed {"connection_id":159872,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:13:19] local.INFO: Acknowledgment sent {"connection_id":159872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:13:25] local.INFO: TCP Data received {"connection_id":159008,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:25] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:25] local.INFO: IMEI packet received {"connection_id":159008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":159008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:13:27] local.INFO: TCP Data received {"connection_id":159008,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:27] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:27] local.INFO: IMEI packet received {"connection_id":159008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":159008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:13:32] local.INFO: TCP Data received {"connection_id":159008,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:32] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:13:32] local.INFO: IMEI packet received {"connection_id":159008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":159008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:13:33] local.INFO: TCP Data received {"connection_id":159008,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b19c90012d81dc00059d00b0000800a82c..."} 
[2026-08-21 01:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b19c90012d81dc00059d00b0000800a82c..."} 
[2026-08-21 01:13:33] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b19c90012d81dc00059d00b0000800a82c..."} 
[2026-08-21 01:13:33] local.INFO: Packet analysis {"connection_id":159008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b1"} 
[2026-08-21 01:13:33] local.INFO: Extracted packet for processing {"connection_id":159008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b1"} 
[2026-08-21 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763485184,"raw_latitude":94175408,"longitude_deg":76.3485184,"latitude_deg":9.4175408,"altitude":8,"angle":168,"satellites":44,"speed":43,"hex_longitude":"2d81dc00","hex_latitude":"059d00b0","is_valid_coordinates":true} 
[2026-08-21 01:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537253632001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387603103198740480,"note":"Value kept but may cause issues"} 
[2026-08-21 01:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9090726929968629760,"note":"Value kept but may cause issues"} 
[2026-08-21 01:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787254906000,"timestamp_ms":1787254906000,"timestamp_seconds":1787254906,"priority":1,"record_length":96,"hex_timestamp":"000001a020b19c90"} 
[2026-08-21 01:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537253632001,"66":26495,"192":206,"85":14336,"24":43,"16":387603103198740480,"45":-9090726929968629760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-21 01:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537253632001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:13:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 01:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 01:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387603103198740480,"km_value":387603103198740.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9090726929968629760,"description":"Unknown IO ID 45"} 
[2026-08-21 01:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537253632001,"power":26495,"unknown_192":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":-9090726929968629760}} 
[2026-08-21 01:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":159008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:13:33] local.INFO: GPS data processed {"connection_id":159008,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:13:33] local.INFO: Acknowledgment sent {"connection_id":159008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:14:04] local.INFO: TCP Data received {"connection_id":159008,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b2ec80012d823600059b8448000900b12b..."} 
[2026-08-21 01:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b2ec80012d823600059b8448000900b12b..."} 
[2026-08-21 01:14:04] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b2ec80012d823600059b8448000900b12b..."} 
[2026-08-21 01:14:04] local.INFO: Packet analysis {"connection_id":159008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b2"} 
[2026-08-21 01:14:04] local.INFO: Extracted packet for processing {"connection_id":159008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b2"} 
[2026-08-21 01:14:04] local.INFO: GPS Element Parsed {"raw_longitude":763508224,"raw_latitude":94078024,"longitude_deg":76.3508224,"latitude_deg":9.4078024,"altitude":9,"angle":177,"satellites":43,"speed":27,"hex_longitude":"2d823600","hex_latitude":"059b8448","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537275392001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387607965101719552,"note":"Value kept but may cause issues"} 
[2026-08-21 01:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064831232136212480,"note":"Value kept but may cause issues"} 
[2026-08-21 01:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787254992000,"timestamp_ms":1787254992000,"timestamp_seconds":1787254992,"priority":1,"record_length":96,"hex_timestamp":"000001a020b2ec80"} 
[2026-08-21 01:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 01:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537275392001,"66":27245,"179":206,"85":14592,"24":27,"16":387607965101719552,"45":-9064831232136212480},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-21 01:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537275392001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:14:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 01:14:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387607965101719552,"km_value":387607965101719.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064831232136212480,"description":"Unknown IO ID 45"} 
[2026-08-21 01:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537275392001,"power":27245,"unknown_179":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-9064831232136212480}} 
[2026-08-21 01:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":159008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:14:04] local.INFO: GPS data processed {"connection_id":159008,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:14:04] local.INFO: Acknowledgment sent {"connection_id":159008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:14:27] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:27] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:27] local.INFO: IMEI packet received {"connection_id":161252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":161252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:14:28] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:28] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:28] local.INFO: IMEI packet received {"connection_id":161252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":161252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:14:32] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:32] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:14:32] local.INFO: IMEI packet received {"connection_id":161252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":161252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:14:33] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b30bc0012d823800059b6bc8000800a52d..."} 
[2026-08-21 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b30bc0012d823800059b6bc8000800a52d..."} 
[2026-08-21 01:14:33] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b30bc0012d823800059b6bc8000800a52d..."} 
[2026-08-21 01:14:33] local.INFO: Packet analysis {"connection_id":161252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b3"} 
[2026-08-21 01:14:33] local.INFO: Extracted packet for processing {"connection_id":161252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b3"} 
[2026-08-21 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763508736,"raw_latitude":94071752,"longitude_deg":76.3508736,"latitude_deg":9.4071752,"altitude":8,"angle":165,"satellites":45,"speed":36,"hex_longitude":"2d823800","hex_latitude":"059b6bc8","is_valid_coordinates":true} 
[2026-08-21 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537277952001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387608274339364864,"note":"Value kept but may cause issues"} 
[2026-08-21 01:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064057175952570368,"note":"Value kept but may cause issues"} 
[2026-08-21 01:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255000000,"timestamp_ms":1787255000000,"timestamp_seconds":1787255000,"priority":1,"record_length":96,"hex_timestamp":"000001a020b30bc0"} 
[2026-08-21 01:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 01:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537277952001,"66":27213,"15":206,"85":14592,"24":36,"16":387608274339364864,"45":-9064057175952570368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537277952001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:14:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387608274339364864,"km_value":387608274339364.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064057175952570368,"description":"Unknown IO ID 45"} 
[2026-08-21 01:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537277952001,"power":27213,"unknown_15":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-9064057175952570368}} 
[2026-08-21 01:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":161252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:14:33] local.INFO: GPS data processed {"connection_id":161252,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:14:33] local.INFO: Acknowledgment sent {"connection_id":161252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:15:04] local.INFO: TCP Data received {"connection_id":161252,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b31f48012d823bc0059b5a08000800b32d..."} 
[2026-08-21 01:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b31f48012d823bc0059b5a08000800b32d..."} 
[2026-08-21 01:15:04] local.INFO: Processing buffer {"connection_id":161252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b31f48012d823bc0059b5a08000800b32d..."} 
[2026-08-21 01:15:04] local.INFO: Packet analysis {"connection_id":161252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b3"} 
[2026-08-21 01:15:04] local.INFO: Extracted packet for processing {"connection_id":161252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b3"} 
[2026-08-21 01:15:04] local.INFO: GPS Element Parsed {"raw_longitude":763509696,"raw_latitude":94067208,"longitude_deg":76.3509696,"latitude_deg":9.4067208,"altitude":8,"angle":179,"satellites":45,"speed":38,"hex_longitude":"2d823bc0","hex_latitude":"059b5a08","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537280000001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387608497677664256,"note":"Value kept but may cause issues"} 
[2026-08-21 01:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9063494226000754688,"note":"Value kept but may cause issues"} 
[2026-08-21 01:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787255005000,"timestamp_ms":1787255005000,"timestamp_seconds":1787255005,"priority":1,"record_length":96,"hex_timestamp":"000001a020b31f48"} 
[2026-08-21 01:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 01:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537280000001,"66":27267,"15":206,"85":14592,"24":38,"16":387608497677664256,"45":-9063494226000754688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537280000001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:15:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387608497677664256,"km_value":387608497677664.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9063494226000754688,"description":"Unknown IO ID 45"} 
[2026-08-21 01:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537280000001,"power":27267,"unknown_15":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-9063494226000754688}} 
[2026-08-21 01:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":161252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:15:04] local.INFO: GPS data processed {"connection_id":161252,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:15:04] local.INFO: Acknowledgment sent {"connection_id":161252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:15:27] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:15:27] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:15:27] local.INFO: IMEI packet received {"connection_id":161253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":161253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:15:37] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:15:37] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:15:37] local.INFO: IMEI packet received {"connection_id":161253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":161253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:15:38] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b34270012d823e00059b35b0000800ac2c..."} 
[2026-08-21 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b34270012d823e00059b35b0000800ac2c..."} 
[2026-08-21 01:15:38] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b34270012d823e00059b35b0000800ac2c..."} 
[2026-08-21 01:15:38] local.INFO: Packet analysis {"connection_id":161253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b3"} 
[2026-08-21 01:15:38] local.INFO: Extracted packet for processing {"connection_id":161253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b3"} 
[2026-08-21 01:15:38] local.INFO: GPS Element Parsed {"raw_longitude":763510272,"raw_latitude":94057904,"longitude_deg":76.3510272,"latitude_deg":9.4057904,"altitude":8,"angle":172,"satellites":44,"speed":43,"hex_longitude":"2d823e00","hex_latitude":"059b35b0","is_valid_coordinates":true} 
[2026-08-21 01:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387608952944197632,"note":"Value kept but may cause issues"} 
[2026-08-21 01:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062438694839252992,"note":"Value kept but may cause issues"} 
[2026-08-21 01:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787255014000,"timestamp_ms":1787255014000,"timestamp_seconds":1787255014,"priority":1,"record_length":96,"hex_timestamp":"000001a020b34270"} 
[2026-08-21 01:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537281280001,"66":27213,"15":206,"85":14592,"24":43,"16":387608952944197632,"45":-9062438694839252992},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:15:38] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:15:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387608952944197632,"km_value":387608952944197.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062438694839252992,"description":"Unknown IO ID 45"} 
[2026-08-21 01:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537281280001,"power":27213,"unknown_15":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-9062438694839252992}} 
[2026-08-21 01:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":161253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:15:38] local.INFO: GPS data processed {"connection_id":161253,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:15:38] local.INFO: Acknowledgment sent {"connection_id":161253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:16:14] local.INFO: TCP Data received {"connection_id":161253,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b4c910012d829bc00599a868000600ac2d..."} 
[2026-08-21 01:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b4c910012d829bc00599a868000600ac2d..."} 
[2026-08-21 01:16:14] local.INFO: Processing buffer {"connection_id":161253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b4c910012d829bc00599a868000600ac2d..."} 
[2026-08-21 01:16:14] local.INFO: Packet analysis {"connection_id":161253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b4"} 
[2026-08-21 01:16:14] local.INFO: Extracted packet for processing {"connection_id":161253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b4"} 
[2026-08-21 01:16:14] local.INFO: GPS Element Parsed {"raw_longitude":763534272,"raw_latitude":93956200,"longitude_deg":76.3534272,"latitude_deg":9.39562,"altitude":6,"angle":172,"satellites":45,"speed":36,"hex_longitude":"2d829bc0","hex_latitude":"0599a868","is_valid_coordinates":true} 
[2026-08-21 01:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537306624001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387614025300574208,"note":"Value kept but may cause issues"} 
[2026-08-21 01:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037950371891484672,"note":"Value kept but may cause issues"} 
[2026-08-21 01:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787255114000,"timestamp_ms":1787255114000,"timestamp_seconds":1787255114,"priority":1,"record_length":96,"hex_timestamp":"000001a020b4c910"} 
[2026-08-21 01:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:16: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-08-21 01:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537306624001,"66":27397,"19":206,"85":14592,"24":36,"16":387614025300574208,"45":-9037950371891484672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 01:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537306624001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:16:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 01:16:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387614025300574208,"km_value":387614025300574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037950371891484672,"description":"Unknown IO ID 45"} 
[2026-08-21 01:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537306624001,"power":27397,"unknown_19":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-9037950371891484672}} 
[2026-08-21 01:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":161253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:16:15] local.INFO: GPS data processed {"connection_id":161253,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:16:15] local.INFO: Acknowledgment sent {"connection_id":161253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:16:27] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:16:27] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:16:27] local.INFO: IMEI packet received {"connection_id":158730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":158730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:16:32] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:16:32] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:16:32] local.INFO: IMEI packet received {"connection_id":158730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":158730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:16:33] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b4f020012d82a10005998378000700b32e..."} 
[2026-08-21 01:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b4f020012d82a10005998378000700b32e..."} 
[2026-08-21 01:16:33] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b4f020012d82a10005998378000700b32e..."} 
[2026-08-21 01:16:33] local.INFO: Packet analysis {"connection_id":158730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b4"} 
[2026-08-21 01:16:33] local.INFO: Extracted packet for processing {"connection_id":158730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b4"} 
[2026-08-21 01:16:33] local.INFO: GPS Element Parsed {"raw_longitude":763535616,"raw_latitude":93946744,"longitude_deg":76.3535616,"latitude_deg":9.3946744,"altitude":7,"angle":179,"satellites":46,"speed":41,"hex_longitude":"2d82a100","hex_latitude":"05998378","is_valid_coordinates":true} 
[2026-08-21 01:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537309184001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387614489157042176,"note":"Value kept but may cause issues"} 
[2026-08-21 01:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035417097103448064,"note":"Value kept but may cause issues"} 
[2026-08-21 01:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255124000,"timestamp_ms":1787255124000,"timestamp_seconds":1787255124,"priority":1,"record_length":96,"hex_timestamp":"000001a020b4f020"} 
[2026-08-21 01:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 01:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537309184001,"66":27343,"19":206,"85":14592,"24":41,"16":387614489157042176,"45":-9035417097103448064},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 01:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537309184001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 01:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387614489157042176,"km_value":387614489157042.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035417097103448064,"description":"Unknown IO ID 45"} 
[2026-08-21 01:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537309184001,"power":27343,"unknown_19":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-9035417097103448064}} 
[2026-08-21 01:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":158730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:16:33] local.INFO: GPS data processed {"connection_id":158730,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:16:33] local.INFO: Acknowledgment sent {"connection_id":158730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:17:04] local.INFO: TCP Data received {"connection_id":158730,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b50790012d829e4005996b38000800be2e..."} 
[2026-08-21 01:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b50790012d829e4005996b38000800be2e..."} 
[2026-08-21 01:17:04] local.INFO: Processing buffer {"connection_id":158730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b50790012d829e4005996b38000800be2e..."} 
[2026-08-21 01:17:04] local.INFO: Packet analysis {"connection_id":158730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:17:04] local.INFO: Extracted packet for processing {"connection_id":158730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":93940536,"longitude_deg":76.3534912,"latitude_deg":9.3940536,"altitude":8,"angle":190,"satellites":46,"speed":41,"hex_longitude":"2d829e40","hex_latitude":"05996b38","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537311744001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387614789804752896,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033939353478137856,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787255130000,"timestamp_ms":1787255130000,"timestamp_seconds":1787255130,"priority":1,"record_length":96,"hex_timestamp":"000001a020b50790"} 
[2026-08-21 01:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537311744001,"66":27321,"19":206,"85":14592,"24":41,"16":387614789804752896,"45":-9033939353478137856},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 01:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537311744001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:17:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 01:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387614789804752896,"km_value":387614789804752.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033939353478137856,"description":"Unknown IO ID 45"} 
[2026-08-21 01:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537311744001,"power":27321,"unknown_19":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-9033939353478137856}} 
[2026-08-21 01:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":158730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:17:04] local.INFO: GPS data processed {"connection_id":158730,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:17:04] local.INFO: Acknowledgment sent {"connection_id":158730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:17:30] local.INFO: TCP Data received {"connection_id":158731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:30] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:30] local.INFO: IMEI packet received {"connection_id":158731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":158731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:17:32] local.INFO: TCP Data received {"connection_id":158731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:32] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:32] local.INFO: IMEI packet received {"connection_id":158731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":158731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:17:37] local.INFO: TCP Data received {"connection_id":158731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:37] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:17:37] local.INFO: IMEI packet received {"connection_id":158731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":158731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:17:38] local.INFO: TCP Data received {"connection_id":158731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b52ab8012d82950005994820000900c42d..."} 
[2026-08-21 01:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b52ab8012d82950005994820000900c42d..."} 
[2026-08-21 01:17:38] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b52ab8012d82950005994820000900c42d..."} 
[2026-08-21 01:17:38] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:17:38] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":93931552,"longitude_deg":76.3532544,"latitude_deg":9.3931552,"altitude":9,"angle":196,"satellites":45,"speed":41,"hex_longitude":"2d829500","hex_latitude":"05994820","is_valid_coordinates":true} 
[2026-08-21 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537313280001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387615240776318976,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713409665681408,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787255139000,"timestamp_ms":1787255139000,"timestamp_seconds":1787255139,"priority":1,"record_length":96,"hex_timestamp":"000001a020b52ab8"} 
[2026-08-21 01:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537313280001,"66":27267,"19":206,"85":14592,"24":41,"16":387615240776318976,"45":-9034713409665681408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 01:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537313280001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:17:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 01:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387615240776318976,"km_value":387615240776319.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713409665681408,"description":"Unknown IO ID 45"} 
[2026-08-21 01:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537313280001,"power":27267,"unknown_19":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-9034713409665681408}} 
[2026-08-21 01:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:17:38] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:17:38] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:17:39] local.INFO: TCP Data received {"connection_id":158731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b54de0012d828b00059925a8000a00c22e..."} 
[2026-08-21 01:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b54de0012d828b00059925a8000a00c22e..."} 
[2026-08-21 01:17:39] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b54de0012d828b00059925a8000a00c22e..."} 
[2026-08-21 01:17:39] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:17:39] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763529984,"raw_latitude":93922728,"longitude_deg":76.3529984,"latitude_deg":9.3922728,"altitude":10,"angle":194,"satellites":46,"speed":39,"hex_longitude":"2d828b00","hex_latitude":"059925a8","is_valid_coordinates":true} 
[2026-08-21 01:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537315584001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387615687452917760,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037317053202554880,"note":"Value kept but may cause issues"} 
[2026-08-21 01:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787255148000,"timestamp_ms":1787255148000,"timestamp_seconds":1787255148,"priority":1,"record_length":96,"hex_timestamp":"000001a020b54de0"} 
[2026-08-21 01:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537315584001,"66":27365,"17":206,"85":14592,"24":39,"16":387615687452917760,"45":-9037317053202554880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537315584001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387615687452917760,"km_value":387615687452917.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037317053202554880,"description":"Unknown IO ID 45"} 
[2026-08-21 01:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537315584001,"power":27365,"axis_x":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-9037317053202554880}} 
[2026-08-21 01:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:17:39] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:17:39] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:18:17] local.INFO: TCP Data received {"connection_id":158731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b578d8012d82854005990100000d00b82e..."} 
[2026-08-21 01:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b578d8012d82854005990100000d00b82e..."} 
[2026-08-21 01:18:17] local.INFO: Processing buffer {"connection_id":158731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b578d8012d82854005990100000d00b82e..."} 
[2026-08-21 01:18:17] local.INFO: Packet analysis {"connection_id":158731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:18:17] local.INFO: Extracted packet for processing {"connection_id":158731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":763528512,"raw_latitude":93913344,"longitude_deg":76.3528512,"latitude_deg":9.3913344,"altitude":13,"angle":184,"satellites":46,"speed":28,"hex_longitude":"2d828540","hex_latitude":"05990100","is_valid_coordinates":true} 
[2026-08-21 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537317888001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387616147014418432,"note":"Value kept but may cause issues"} 
[2026-08-21 01:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040131802971920384,"note":"Value kept but may cause issues"} 
[2026-08-21 01:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787255159000,"timestamp_ms":1787255159000,"timestamp_seconds":1787255159,"priority":1,"record_length":96,"hex_timestamp":"000001a020b578d8"} 
[2026-08-21 01:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537317888001,"66":27213,"19":206,"85":14592,"24":28,"16":387616147014418432,"45":-9040131802971920384},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 01:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537317888001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:18:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 01:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387616147014418432,"km_value":387616147014418.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040131802971920384,"description":"Unknown IO ID 45"} 
[2026-08-21 01:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537317888001,"power":27213,"unknown_19":206,"unknown_85":14592,"ignition":28,"odometer":null,"unknown_45":-9040131802971920384}} 
[2026-08-21 01:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":158731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:18:17] local.INFO: GPS data processed {"connection_id":158731,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:18:17] local.INFO: Acknowledgment sent {"connection_id":158731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:18:27] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:18:27] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:18:27] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:18:32] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:18:32] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:18:32] local.INFO: IMEI packet received {"connection_id":159873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":159873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:18:33] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b5a3d0012d8285800598e268000e00ad2e..."} 
[2026-08-21 01:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b5a3d0012d8285800598e268000e00ad2e..."} 
[2026-08-21 01:18:33] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b5a3d0012d8285800598e268000e00ad2e..."} 
[2026-08-21 01:18:33] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:18:33] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b5"} 
[2026-08-21 01:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763528576,"raw_latitude":93905512,"longitude_deg":76.3528576,"latitude_deg":9.3905512,"altitude":14,"angle":173,"satellites":46,"speed":30,"hex_longitude":"2d828580","hex_latitude":"0598e268","is_valid_coordinates":true} 
[2026-08-21 01:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537320704001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387616529266507776,"note":"Value kept but may cause issues"} 
[2026-08-21 01:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041750284090408960,"note":"Value kept but may cause issues"} 
[2026-08-21 01:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255170000,"timestamp_ms":1787255170000,"timestamp_seconds":1787255170,"priority":1,"record_length":96,"hex_timestamp":"000001a020b5a3d0"} 
[2026-08-21 01:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 01:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537320704001,"66":27343,"19":206,"85":14592,"24":30,"16":387616529266507776,"45":-9041750284090408960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 01:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537320704001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 01:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387616529266507776,"km_value":387616529266507.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041750284090408960,"description":"Unknown IO ID 45"} 
[2026-08-21 01:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537320704001,"power":27343,"unknown_19":206,"unknown_85":14592,"ignition":30,"odometer":null,"unknown_45":-9041750284090408960}} 
[2026-08-21 01:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:18:33] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:18:33] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:19:04] local.INFO: TCP Data received {"connection_id":159873,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b75180012d82f5400597ad30000800a62d..."} 
[2026-08-21 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b75180012d82f5400597ad30000800a62d..."} 
[2026-08-21 01:19:04] local.INFO: Processing buffer {"connection_id":159873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b75180012d82f5400597ad30000800a62d..."} 
[2026-08-21 01:19:04] local.INFO: Packet analysis {"connection_id":159873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b7"} 
[2026-08-21 01:19:04] local.INFO: Extracted packet for processing {"connection_id":159873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b7"} 
[2026-08-21 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":763557184,"raw_latitude":93826352,"longitude_deg":76.3557184,"latitude_deg":9.3826352,"altitude":8,"angle":166,"satellites":45,"speed":19,"hex_longitude":"2d82f540","hex_latitude":"0597ad30","is_valid_coordinates":true} 
[2026-08-21 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537347840001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387620673909948416,"note":"Value kept but may cause issues"} 
[2026-08-21 01:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9012406517789192192,"note":"Value kept but may cause issues"} 
[2026-08-21 01:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787255280000,"timestamp_ms":1787255280000,"timestamp_seconds":1787255280,"priority":1,"record_length":96,"hex_timestamp":"000001a020b75180"} 
[2026-08-21 01:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537347840001,"66":27310,"18":206,"85":14592,"24":19,"16":387620673909948416,"45":-9012406517789192192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 01:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537347840001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387620673909948416,"km_value":387620673909948.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9012406517789192192,"description":"Unknown IO ID 45"} 
[2026-08-21 01:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537347840001,"power":27310,"unknown_18":206,"unknown_85":14592,"ignition":19,"odometer":null,"unknown_45":-9012406517789192192}} 
[2026-08-21 01:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":159873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:19:04] local.INFO: GPS data processed {"connection_id":159873,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:19:04] local.INFO: Acknowledgment sent {"connection_id":159873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:19:27] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:19:27] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:19:27] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:19:31] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:19:31] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:19:31] local.INFO: IMEI packet received {"connection_id":159874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":159874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:19:32] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b78830012d83004005978b00000600a12e..."} 
[2026-08-21 01:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b78830012d83004005978b00000600a12e..."} 
[2026-08-21 01:19:32] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b78830012d83004005978b00000600a12e..."} 
[2026-08-21 01:19:32] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b7"} 
[2026-08-21 01:19:32] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b7"} 
[2026-08-21 01:19:32] local.INFO: GPS Element Parsed {"raw_longitude":763560000,"raw_latitude":93817600,"longitude_deg":76.356,"latitude_deg":9.38176,"altitude":6,"angle":161,"satellites":46,"speed":31,"hex_longitude":"2d830040","hex_latitude":"05978b00","is_valid_coordinates":true} 
[2026-08-21 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537351680001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387621120586547200,"note":"Value kept but may cause issues"} 
[2026-08-21 01:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9010225086721085440,"note":"Value kept but may cause issues"} 
[2026-08-21 01:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787255294000,"timestamp_ms":1787255294000,"timestamp_seconds":1787255294,"priority":1,"record_length":96,"hex_timestamp":"000001a020b78830"} 
[2026-08-21 01:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 01:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537351680001,"66":27321,"18":206,"85":14592,"24":31,"16":387621120586547200,"45":-9010225086721085440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 01:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537351680001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:19:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 01:19:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387621120586547200,"km_value":387621120586547.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9010225086721085440,"description":"Unknown IO ID 45"} 
[2026-08-21 01:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537351680001,"power":27321,"unknown_18":206,"unknown_85":14592,"ignition":31,"odometer":null,"unknown_45":-9010225086721085440}} 
[2026-08-21 01:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:19:32] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:19:32] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:20:03] local.INFO: TCP Data received {"connection_id":159874,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b7b328012d830d40059769e00006009e2e..."} 
[2026-08-21 01:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b7b328012d830d40059769e00006009e2e..."} 
[2026-08-21 01:20:03] local.INFO: Processing buffer {"connection_id":159874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b7b328012d830d40059769e00006009e2e..."} 
[2026-08-21 01:20:03] local.INFO: Packet analysis {"connection_id":159874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b7"} 
[2026-08-21 01:20:03] local.INFO: Extracted packet for processing {"connection_id":159874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b7"} 
[2026-08-21 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763563328,"raw_latitude":93809120,"longitude_deg":76.3563328,"latitude_deg":9.380912,"altitude":6,"angle":158,"satellites":46,"speed":35,"hex_longitude":"2d830d40","hex_latitude":"059769e0","is_valid_coordinates":true} 
[2026-08-21 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537355264001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387621562968178688,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9007128861979508736,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787255305000,"timestamp_ms":1787255305000,"timestamp_seconds":1787255305,"priority":1,"record_length":96,"hex_timestamp":"000001a020b7b328"} 
[2026-08-21 01:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537355264001,"66":27267,"18":206,"85":14592,"24":35,"16":387621562968178688,"45":-9007128861979508736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 01:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537355264001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:20:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 01:20:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387621562968178688,"km_value":387621562968178.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9007128861979508736,"description":"Unknown IO ID 45"} 
[2026-08-21 01:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537355264001,"power":27267,"unknown_18":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-9007128861979508736}} 
[2026-08-21 01:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":159874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:20:03] local.INFO: GPS data processed {"connection_id":159874,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:20:03] local.INFO: Acknowledgment sent {"connection_id":159874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:20:37] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:20:37] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:20:37] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:20:39] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:20:39] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:20:39] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:20:40] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b8f378012d8399800595eb78000600a52e..."} 
[2026-08-21 01:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b8f378012d8399800595eb78000600a52e..."} 
[2026-08-21 01:20:40] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b8f378012d8399800595eb78000600a52e..."} 
[2026-08-21 01:20:40] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b8"} 
[2026-08-21 01:20:40] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b8"} 
[2026-08-21 01:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763599232,"raw_latitude":93711224,"longitude_deg":76.3599232,"latitude_deg":9.3711224,"altitude":6,"angle":165,"satellites":46,"speed":59,"hex_longitude":"2d839980","hex_latitude":"0595eb78","is_valid_coordinates":true} 
[2026-08-21 01:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537377536001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387626626734620672,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8966596465358170112,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787255387000,"timestamp_ms":1787255387000,"timestamp_seconds":1787255387,"priority":1,"record_length":96,"hex_timestamp":"000001a020b8f378"} 
[2026-08-21 01:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537377536001,"66":27332,"143":206,"85":14592,"24":59,"16":387626626734620672,"45":-8966596465358170112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-21 01:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537377536001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:20:40] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-21 01:20:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387626626734620672,"km_value":387626626734620.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8966596465358170112,"description":"Unknown IO ID 45"} 
[2026-08-21 01:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537377536001,"power":27332,"unknown_143":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8966596465358170112}} 
[2026-08-21 01:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:20:40] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:20:40] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:20:43] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b90ed0012d83a4800595c500000600a12e..."} 
[2026-08-21 01:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b90ed0012d83a4800595c500000600a12e..."} 
[2026-08-21 01:20:43] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b90ed0012d83a4800595c500000600a12e..."} 
[2026-08-21 01:20:43] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:20:43] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:20:43] local.INFO: GPS Element Parsed {"raw_longitude":763602048,"raw_latitude":93701376,"longitude_deg":76.3602048,"latitude_deg":9.3701376,"altitude":6,"angle":161,"satellites":46,"speed":57,"hex_longitude":"2d83a480","hex_latitude":"0595c500","is_valid_coordinates":true} 
[2026-08-21 01:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537379072001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387627124950827008,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8963992821825832960,"note":"Value kept but may cause issues"} 
[2026-08-21 01:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787255394000,"timestamp_ms":1787255394000,"timestamp_seconds":1787255394,"priority":1,"record_length":96,"hex_timestamp":"000001a020b90ed0"} 
[2026-08-21 01:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537379072001,"66":27234,"143":206,"85":14592,"24":57,"16":387627124950827008,"45":-8963992821825832960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,85,24,16,45]} 
[2026-08-21 01:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537379072001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:20:43] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-21 01:20:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387627124950827008,"km_value":387627124950827.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8963992821825832960,"description":"Unknown IO ID 45"} 
[2026-08-21 01:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537379072001,"power":27234,"unknown_143":206,"unknown_85":14592,"ignition":57,"odometer":null,"unknown_45":-8963992821825832960}} 
[2026-08-21 01:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:20:43] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:20:43] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:21:27] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:21:27] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:21:27] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:21:34] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:21:34] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:21:34] local.INFO: IMEI packet received {"connection_id":159875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":159875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:21:36] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b92a28012d83b1c00595a028000700a02e..."} 
[2026-08-21 01:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b92a28012d83b1c00595a028000700a02e..."} 
[2026-08-21 01:21:36] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b92a28012d83b1c00595a028000700a02e..."} 
[2026-08-21 01:21:36] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:21:36] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:21:36] local.INFO: GPS Element Parsed {"raw_longitude":763605440,"raw_latitude":93691944,"longitude_deg":76.360544,"latitude_deg":9.3691944,"altitude":7,"angle":160,"satellites":46,"speed":56,"hex_longitude":"2d83b1c0","hex_latitude":"0595a028","is_valid_coordinates":true} 
[2026-08-21 01:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537380864001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387627605987164160,"note":"Value kept but may cause issues"} 
[2026-08-21 01:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8960896597084536832,"note":"Value kept but may cause issues"} 
[2026-08-21 01:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787255401000,"timestamp_ms":1787255401000,"timestamp_seconds":1787255401,"priority":1,"record_length":96,"hex_timestamp":"000001a020b92a28"} 
[2026-08-21 01:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:21: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-08-21 01:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537380864001,"66":27234,"217":206,"85":14592,"24":56,"16":387627605987164160,"45":-8960896597084536832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-21 01:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537380864001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:21:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-21 01:21:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387627605987164160,"km_value":387627605987164.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8960896597084536832,"description":"Unknown IO ID 45"} 
[2026-08-21 01:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537380864001,"power":27234,"unknown_217":206,"unknown_85":14592,"ignition":56,"odometer":null,"unknown_45":-8960896597084536832}} 
[2026-08-21 01:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:21:36] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:21:36] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:21:37] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b94580012d83bfc005957c080007009e2d..."} 
[2026-08-21 01:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b94580012d83bfc005957c080007009e2d..."} 
[2026-08-21 01:21:37] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b94580012d83bfc005957c080007009e2d..."} 
[2026-08-21 01:21:37] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:21:37] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:21:37] local.INFO: GPS Element Parsed {"raw_longitude":763609024,"raw_latitude":93682696,"longitude_deg":76.3609024,"latitude_deg":9.3682696,"altitude":7,"angle":158,"satellites":45,"speed":56,"hex_longitude":"2d83bfc0","hex_latitude":"05957c08","is_valid_coordinates":true} 
[2026-08-21 01:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537382656001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387628087023501312,"note":"Value kept but may cause issues"} 
[2026-08-21 01:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8957167053645535232,"note":"Value kept but may cause issues"} 
[2026-08-21 01:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787255408000,"timestamp_ms":1787255408000,"timestamp_seconds":1787255408,"priority":1,"record_length":96,"hex_timestamp":"000001a020b94580"} 
[2026-08-21 01:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:21: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-08-21 01:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537382656001,"66":27332,"217":206,"85":14592,"24":56,"16":387628087023501312,"45":-8957167053645535232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-21 01:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537382656001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:21:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-21 01:21:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387628087023501312,"km_value":387628087023501.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8957167053645535232,"description":"Unknown IO ID 45"} 
[2026-08-21 01:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537382656001,"power":27332,"unknown_217":206,"unknown_85":14592,"ignition":56,"odometer":null,"unknown_45":-8957167053645535232}} 
[2026-08-21 01:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:21:37] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:21:37] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:22:08] local.INFO: TCP Data received {"connection_id":159875,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b960d8012d83ce40059558780007009e2d..."} 
[2026-08-21 01:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b960d8012d83ce40059558780007009e2d..."} 
[2026-08-21 01:22:08] local.INFO: Processing buffer {"connection_id":159875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b960d8012d83ce40059558780007009e2d..."} 
[2026-08-21 01:22:08] local.INFO: Packet analysis {"connection_id":159875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:22:08] local.INFO: Extracted packet for processing {"connection_id":159875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":763612736,"raw_latitude":93673592,"longitude_deg":76.3612736,"latitude_deg":9.3673592,"altitude":7,"angle":158,"satellites":45,"speed":56,"hex_longitude":"2d83ce40","hex_latitude":"05955878","is_valid_coordinates":true} 
[2026-08-21 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537384448001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387628563764871168,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8953226403973953536,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787255415000,"timestamp_ms":1787255415000,"timestamp_seconds":1787255415,"priority":1,"record_length":96,"hex_timestamp":"000001a020b960d8"} 
[2026-08-21 01:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537384448001,"66":27169,"217":206,"85":14592,"24":56,"16":387628563764871168,"45":-8953226403973953536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-21 01:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537384448001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:22:08] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-21 01:22:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387628563764871168,"km_value":387628563764871.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8953226403973953536,"description":"Unknown IO ID 45"} 
[2026-08-21 01:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537384448001,"power":27169,"unknown_217":206,"unknown_85":14592,"ignition":56,"odometer":null,"unknown_45":-8953226403973953536}} 
[2026-08-21 01:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":159875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:22:08] local.INFO: GPS data processed {"connection_id":159875,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:22:08] local.INFO: Acknowledgment sent {"connection_id":159875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:22:30] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:22:30] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:22:30] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:22:38] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:22:38] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:22:38] local.INFO: IMEI packet received {"connection_id":159876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":159876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:22:39] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b97c30012d83dd4005953400000500a12e..."} 
[2026-08-21 01:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b97c30012d83dd4005953400000500a12e..."} 
[2026-08-21 01:22:39] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b97c30012d83dd4005953400000500a12e..."} 
[2026-08-21 01:22:39] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:22:39] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":763616576,"raw_latitude":93664256,"longitude_deg":76.3616576,"latitude_deg":9.3664256,"altitude":5,"angle":161,"satellites":46,"speed":56,"hex_longitude":"2d83dd40","hex_latitude":"05953400","is_valid_coordinates":true} 
[2026-08-21 01:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537386240001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387629053391142912,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8949145016813979648,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787255422000,"timestamp_ms":1787255422000,"timestamp_seconds":1787255422,"priority":1,"record_length":96,"hex_timestamp":"000001a020b97c30"} 
[2026-08-21 01:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 01:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537386240001,"66":27332,"217":206,"85":14592,"24":56,"16":387629053391142912,"45":-8949145016813979648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-21 01:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537386240001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:22:39] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-21 01:22:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387629053391142912,"km_value":387629053391142.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8949145016813979648,"description":"Unknown IO ID 45"} 
[2026-08-21 01:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537386240001,"power":27332,"unknown_217":206,"unknown_85":14592,"ignition":56,"odometer":null,"unknown_45":-8949145016813979648}} 
[2026-08-21 01:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:22:39] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:22:39] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:22:40] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020b99788012d83e8c005950ea0000400a32f..."} 
[2026-08-21 01:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020b99788012d83e8c005950ea0000400a32f..."} 
[2026-08-21 01:22:40] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020b99788012d83e8c005950ea0000400a32f..."} 
[2026-08-21 01:22:40] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:22:40] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020b9"} 
[2026-08-21 01:22:40] local.INFO: GPS Element Parsed {"raw_longitude":763619520,"raw_latitude":93654688,"longitude_deg":76.361952,"latitude_deg":9.3654688,"altitude":4,"angle":163,"satellites":47,"speed":55,"hex_longitude":"2d83e8c0","hex_latitude":"05950ea0","is_valid_coordinates":true} 
[2026-08-21 01:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537388032001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387629538722447360,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8944922892165709824,"note":"Value kept but may cause issues"} 
[2026-08-21 01:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787255429000,"timestamp_ms":1787255429000,"timestamp_seconds":1787255429,"priority":1,"record_length":96,"hex_timestamp":"000001a020b99788"} 
[2026-08-21 01:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537388032001,"66":27332,"217":206,"85":14592,"24":55,"16":387629538722447360,"45":-8944922892165709824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-21 01:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537388032001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:22:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-21 01:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387629538722447360,"km_value":387629538722447.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8944922892165709824,"description":"Unknown IO ID 45"} 
[2026-08-21 01:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537388032001,"power":27332,"unknown_217":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8944922892165709824}} 
[2026-08-21 01:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:22:40] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:22:40] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:23:11] local.INFO: TCP Data received {"connection_id":159876,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bb31b0012d846bc0059343180004009b2c..."} 
[2026-08-21 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bb31b0012d846bc0059343180004009b2c..."} 
[2026-08-21 01:23:11] local.INFO: Processing buffer {"connection_id":159876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bb31b0012d846bc0059343180004009b2c..."} 
[2026-08-21 01:23:11] local.INFO: Packet analysis {"connection_id":159876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:23:11] local.INFO: Extracted packet for processing {"connection_id":159876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":763653056,"raw_latitude":93537048,"longitude_deg":76.3653056,"latitude_deg":9.3537048,"altitude":4,"angle":155,"satellites":44,"speed":40,"hex_longitude":"2d846bc0","hex_latitude":"05934318","is_valid_coordinates":true} 
[2026-08-21 01:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537414400001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387635487252152320,"note":"Value kept but may cause issues"} 
[2026-08-21 01:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8908753357688711168,"note":"Value kept but may cause issues"} 
[2026-08-21 01:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787255534000,"timestamp_ms":1787255534000,"timestamp_seconds":1787255534,"priority":1,"record_length":96,"hex_timestamp":"000001a020bb31b0"} 
[2026-08-21 01:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 01:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537414400001,"66":27343,"148":206,"85":14592,"24":40,"16":387635487252152320,"45":-8908753357688711168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 01:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537414400001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387635487252152320,"km_value":387635487252152.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8908753357688711168,"description":"Unknown IO ID 45"} 
[2026-08-21 01:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537414400001,"power":27343,"unknown_148":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-8908753357688711168}} 
[2026-08-21 01:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":159876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:23:11] local.INFO: GPS data processed {"connection_id":159876,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:23:11] local.INFO: Acknowledgment sent {"connection_id":159876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:23:27] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:27] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:27] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:23:29] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:29] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:29] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:23:32] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:32] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:23:32] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:23:33] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bb54d8012d847ac0059322880005009a2e..."} 
[2026-08-21 01:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bb54d8012d847ac0059322880005009a2e..."} 
[2026-08-21 01:23:33] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bb54d8012d847ac0059322880005009a2e..."} 
[2026-08-21 01:23:33] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:23:33] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763656896,"raw_latitude":93528712,"longitude_deg":76.3656896,"latitude_deg":9.3528712,"altitude":5,"angle":154,"satellites":46,"speed":42,"hex_longitude":"2d847ac0","hex_latitude":"05932288","is_valid_coordinates":true} 
[2026-08-21 01:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537416704001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387635933928751104,"note":"Value kept but may cause issues"} 
[2026-08-21 01:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8904812708017006592,"note":"Value kept but may cause issues"} 
[2026-08-21 01:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255543000,"timestamp_ms":1787255543000,"timestamp_seconds":1787255543,"priority":1,"record_length":96,"hex_timestamp":"000001a020bb54d8"} 
[2026-08-21 01:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537416704001,"66":27310,"148":206,"85":14592,"24":42,"16":387635933928751104,"45":-8904812708017006592},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 01:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537416704001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:23:33] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 01:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387635933928751104,"km_value":387635933928751.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8904812708017006592,"description":"Unknown IO ID 45"} 
[2026-08-21 01:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537416704001,"power":27310,"unknown_148":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8904812708017006592}} 
[2026-08-21 01:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:23:33] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:23:33] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:24:06] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bb7800012d848b4005930098000300992e..."} 
[2026-08-21 01:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bb7800012d848b4005930098000300992e..."} 
[2026-08-21 01:24:06] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bb7800012d848b4005930098000300992e..."} 
[2026-08-21 01:24:06] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:24:06] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763661120,"raw_latitude":93520024,"longitude_deg":76.366112,"latitude_deg":9.3520024,"altitude":3,"angle":153,"satellites":46,"speed":44,"hex_longitude":"2d848b40","hex_latitude":"05930098","is_valid_coordinates":true} 
[2026-08-21 01:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537419008001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387636397785219072,"note":"Value kept but may cause issues"} 
[2026-08-21 01:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8900590583368480768,"note":"Value kept but may cause issues"} 
[2026-08-21 01:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787255552000,"timestamp_ms":1787255552000,"timestamp_seconds":1787255552,"priority":1,"record_length":96,"hex_timestamp":"000001a020bb7800"} 
[2026-08-21 01:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:24: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-08-21 01: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 01:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537419008001,"66":26984,"148":206,"85":14592,"24":44,"16":387636397785219072,"45":-8900590583368480768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 01:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537419008001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:24:06] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 01:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387636397785219072,"km_value":387636397785219.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8900590583368480768,"description":"Unknown IO ID 45"} 
[2026-08-21 01:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537419008001,"power":26984,"unknown_148":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8900590583368480768}} 
[2026-08-21 01:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:24:06] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:24:06] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:24:27] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:27] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:27] local.INFO: IMEI packet received {"connection_id":158732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":158732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:24:30] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:30] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:30] local.INFO: IMEI packet received {"connection_id":158732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":158732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:24:32] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:32] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:24:32] local.INFO: IMEI packet received {"connection_id":158732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":158732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:24:33] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bb9740012d849a800592e0b00003009c2d..."} 
[2026-08-21 01:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bb9740012d849a800592e0b00003009c2d..."} 
[2026-08-21 01:24:33] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bb9740012d849a800592e0b00003009c2d..."} 
[2026-08-21 01:24:33] local.INFO: Packet analysis {"connection_id":158732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:24:33] local.INFO: Extracted packet for processing {"connection_id":158732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bb"} 
[2026-08-21 01:24:33] local.INFO: GPS Element Parsed {"raw_longitude":763665024,"raw_latitude":93511856,"longitude_deg":76.3665024,"latitude_deg":9.3511856,"altitude":3,"angle":156,"satellites":45,"speed":43,"hex_longitude":"2d849a80","hex_latitude":"0592e0b0","is_valid_coordinates":true} 
[2026-08-21 01:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537421312001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387636835871883264,"note":"Value kept but may cause issues"} 
[2026-08-21 01:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8895946246254979072,"note":"Value kept but may cause issues"} 
[2026-08-21 01:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255560000,"timestamp_ms":1787255560000,"timestamp_seconds":1787255560,"priority":1,"record_length":96,"hex_timestamp":"000001a020bb9740"} 
[2026-08-21 01:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 01:24:33] 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-08-21 01:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537421312001,"66":27245,"148":206,"85":14592,"24":43,"16":387636835871883264,"45":-8895946246254979072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 01:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537421312001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:24:33] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 01:24:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387636835871883264,"km_value":387636835871883.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8895946246254979072,"description":"Unknown IO ID 45"} 
[2026-08-21 01:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537421312001,"power":27245,"unknown_148":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8895946246254979072}} 
[2026-08-21 01:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":158732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:24:33] local.INFO: GPS data processed {"connection_id":158732,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:24:33] local.INFO: Acknowledgment sent {"connection_id":158732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:25:04] local.INFO: TCP Data received {"connection_id":158732,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bcfab8012d855380059121d80004009c2e..."} 
[2026-08-21 01:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bcfab8012d855380059121d80004009c2e..."} 
[2026-08-21 01:25:04] local.INFO: Processing buffer {"connection_id":158732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bcfab8012d855380059121d80004009c2e..."} 
[2026-08-21 01:25:04] local.INFO: Packet analysis {"connection_id":158732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bc"} 
[2026-08-21 01:25:04] local.INFO: Extracted packet for processing {"connection_id":158732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bc"} 
[2026-08-21 01:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763712384,"raw_latitude":93397464,"longitude_deg":76.3712384,"latitude_deg":9.3397464,"altitude":4,"angle":156,"satellites":46,"speed":59,"hex_longitude":"2d855380","hex_latitude":"059121d8","is_valid_coordinates":true} 
[2026-08-21 01:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537445120001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387642831646228480,"note":"Value kept but may cause issues"} 
[2026-08-21 01:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8843662269360279552,"note":"Value kept but may cause issues"} 
[2026-08-21 01:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787255651000,"timestamp_ms":1787255651000,"timestamp_seconds":1787255651,"priority":1,"record_length":96,"hex_timestamp":"000001a020bcfab8"} 
[2026-08-21 01:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537445120001,"66":27343,"173":206,"85":14592,"24":59,"16":387642831646228480,"45":-8843662269360279552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-21 01:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537445120001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:25:04] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-21 01:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387642831646228480,"km_value":387642831646228.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8843662269360279552,"description":"Unknown IO ID 45"} 
[2026-08-21 01:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537445120001,"power":27343,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8843662269360279552}} 
[2026-08-21 01:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":158732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:25:04] local.INFO: GPS data processed {"connection_id":158732,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:25:04] local.INFO: Acknowledgment sent {"connection_id":158732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:25:39] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:25:39] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:25:39] local.INFO: IMEI packet received {"connection_id":159011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:25:39] local.INFO: IMEI acknowledgment sent {"connection_id":159011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:25:44] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:25:44] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:25:44] local.INFO: IMEI packet received {"connection_id":159011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":159011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:25:44] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bd1228012d856180059102080005009c2e..."} 
[2026-08-21 01:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bd1228012d856180059102080005009c2e..."} 
[2026-08-21 01:25:44] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bd1228012d856180059102080005009c2e..."} 
[2026-08-21 01:25:44] local.INFO: Packet analysis {"connection_id":159011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bd"} 
[2026-08-21 01:25:44] local.INFO: Extracted packet for processing {"connection_id":159011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bd"} 
[2026-08-21 01:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763715968,"raw_latitude":93389320,"longitude_deg":76.3715968,"latitude_deg":9.338932,"altitude":5,"angle":156,"satellites":46,"speed":59,"hex_longitude":"2d856180","hex_latitude":"05910208","is_valid_coordinates":true} 
[2026-08-21 01:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537446656001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387643261142958080,"note":"Value kept but may cause issues"} 
[2026-08-21 01:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8839580882200045568,"note":"Value kept but may cause issues"} 
[2026-08-21 01:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787255657000,"timestamp_ms":1787255657000,"timestamp_seconds":1787255657,"priority":1,"record_length":96,"hex_timestamp":"000001a020bd1228"} 
[2026-08-21 01:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537446656001,"66":27321,"173":206,"85":14592,"24":59,"16":387643261142958080,"45":-8839580882200045568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-21 01:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537446656001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:25:44] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-21 01:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387643261142958080,"km_value":387643261142958.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8839580882200045568,"description":"Unknown IO ID 45"} 
[2026-08-21 01:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537446656001,"power":27321,"unknown_173":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8839580882200045568}} 
[2026-08-21 01:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":159011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:25:44] local.INFO: GPS data processed {"connection_id":159011,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:25:44] local.INFO: Acknowledgment sent {"connection_id":159011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:26:27] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:26:27] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:26:27] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:26:32] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:26:32] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:26:32] local.INFO: IMEI packet received {"connection_id":159877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":159877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:26:33] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bd2d80012d8571800590dcd80005009e2e..."} 
[2026-08-21 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bd2d80012d8571800590dcd80005009e2e..."} 
[2026-08-21 01:26:33] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bd2d80012d8571800590dcd80005009e2e..."} 
[2026-08-21 01:26:33] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bd"} 
[2026-08-21 01:26:33] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bd"} 
[2026-08-21 01:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763720064,"raw_latitude":93379800,"longitude_deg":76.3720064,"latitude_deg":9.33798,"altitude":5,"angle":158,"satellites":46,"speed":58,"hex_longitude":"2d857180","hex_latitude":"0590dcd8","is_valid_coordinates":true} 
[2026-08-21 01:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537448192001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387643763654131712,"note":"Value kept but may cause issues"} 
[2026-08-21 01:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8835640232528181248,"note":"Value kept but may cause issues"} 
[2026-08-21 01:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255664000,"timestamp_ms":1787255664000,"timestamp_seconds":1787255664,"priority":1,"record_length":96,"hex_timestamp":"000001a020bd2d80"} 
[2026-08-21 01:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537448192001,"66":27169,"173":206,"85":14592,"24":58,"16":387643763654131712,"45":-8835640232528181248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-21 01:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537448192001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:26:33] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-21 01:26:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387643763654131712,"km_value":387643763654131.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8835640232528181248,"description":"Unknown IO ID 45"} 
[2026-08-21 01:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537448192001,"power":27169,"unknown_173":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8835640232528181248}} 
[2026-08-21 01:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:26:33] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:26:33] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:27:04] local.INFO: TCP Data received {"connection_id":159877,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020beb808012d862500058f4b60000600a42c..."} 
[2026-08-21 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020beb808012d862500058f4b60000600a42c..."} 
[2026-08-21 01:27:04] local.INFO: Processing buffer {"connection_id":159877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020beb808012d862500058f4b60000600a42c..."} 
[2026-08-21 01:27:04] local.INFO: Packet analysis {"connection_id":159877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020be"} 
[2026-08-21 01:27:04] local.INFO: Extracted packet for processing {"connection_id":159877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020be"} 
[2026-08-21 01:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763766016,"raw_latitude":93277024,"longitude_deg":76.3766016,"latitude_deg":9.3277024,"altitude":6,"angle":164,"satellites":44,"speed":42,"hex_longitude":"2d862500","hex_latitude":"058f4b60","is_valid_coordinates":true} 
[2026-08-21 01:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537473536001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387649231147499520,"note":"Value kept but may cause issues"} 
[2026-08-21 01:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8783848836839981056,"note":"Value kept but may cause issues"} 
[2026-08-21 01:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787255765000,"timestamp_ms":1787255765000,"timestamp_seconds":1787255765,"priority":1,"record_length":96,"hex_timestamp":"000001a020beb808"} 
[2026-08-21 01:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537473536001,"66":27267,"89":206,"85":14592,"24":42,"16":387649231147499520,"45":-8783848836839981056},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 01:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537473536001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:27:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 01:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387649231147499520,"km_value":387649231147499.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8783848836839981056,"description":"Unknown IO ID 45"} 
[2026-08-21 01:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537473536001,"power":27267,"unknown_89":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8783848836839981056}} 
[2026-08-21 01:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":159877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:27:04] local.INFO: GPS data processed {"connection_id":159877,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:27:04] local.INFO: Acknowledgment sent {"connection_id":159877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:27:27] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:27] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:27] local.INFO: IMEI packet received {"connection_id":159012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":159012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:27:28] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:28] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:28] local.INFO: IMEI packet received {"connection_id":159012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":159012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:27:32] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:32] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:27:32] local.INFO: IMEI packet received {"connection_id":159012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":159012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:27:33] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bed748012d862ec0058f2a28000600a22d..."} 
[2026-08-21 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bed748012d862ec0058f2a28000600a22d..."} 
[2026-08-21 01:27:33] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bed748012d862ec0058f2a28000600a22d..."} 
[2026-08-21 01:27:33] local.INFO: Packet analysis {"connection_id":159012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020be"} 
[2026-08-21 01:27:33] local.INFO: Extracted packet for processing {"connection_id":159012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020be"} 
[2026-08-21 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763768512,"raw_latitude":93268520,"longitude_deg":76.3768512,"latitude_deg":9.326852,"altitude":6,"angle":162,"satellites":45,"speed":44,"hex_longitude":"2d862ec0","hex_latitude":"058f2a28","is_valid_coordinates":true} 
[2026-08-21 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537475840001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387649660644229120,"note":"Value kept but may cause issues"} 
[2026-08-21 01:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8780611874609995776,"note":"Value kept but may cause issues"} 
[2026-08-21 01:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255773000,"timestamp_ms":1787255773000,"timestamp_seconds":1787255773,"priority":1,"record_length":96,"hex_timestamp":"000001a020bed748"} 
[2026-08-21 01:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537475840001,"66":27050,"89":206,"85":14592,"24":44,"16":387649660644229120,"45":-8780611874609995776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 01:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537475840001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:27:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 01:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387649660644229120,"km_value":387649660644229.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8780611874609995776,"description":"Unknown IO ID 45"} 
[2026-08-21 01:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537475840001,"power":27050,"unknown_89":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8780611874609995776}} 
[2026-08-21 01:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":159012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:27:33] local.INFO: GPS data processed {"connection_id":159012,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:27:33] local.INFO: Acknowledgment sent {"connection_id":159012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:28:04] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bfd918012d86e880058e32680001008a2f..."} 
[2026-08-21 01:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bfd918012d86e880058e32680001008a2f..."} 
[2026-08-21 01:28:04] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bfd918012d86e880058e32680001008a2f..."} 
[2026-08-21 01:28:04] local.INFO: Packet analysis {"connection_id":159012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bf"} 
[2026-08-21 01:28:04] local.INFO: Extracted packet for processing {"connection_id":159012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bf"} 
[2026-08-21 01:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763816064,"raw_latitude":93205096,"longitude_deg":76.3816064,"latitude_deg":9.3205096,"altitude":1,"angle":138,"satellites":47,"speed":24,"hex_longitude":"2d86e880","hex_latitude":"058e3268","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537494272001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387653624899043328,"note":"Value kept but may cause issues"} 
[2026-08-21 01:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8726216835378821120,"note":"Value kept but may cause issues"} 
[2026-08-21 01:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787255839000,"timestamp_ms":1787255839000,"timestamp_seconds":1787255839,"priority":1,"record_length":96,"hex_timestamp":"000001a020bfd918"} 
[2026-08-21 01:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:28: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-08-21 01: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 01:28:04] 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-08-21 01: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-08-21 01:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537494272001,"66":27223,"87":206,"85":14592,"24":24,"16":387653624899043328,"45":-8726216835378821120},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-21 01:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537494272001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:28:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-21 01:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387653624899043328,"km_value":387653624899043.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8726216835378821120,"description":"Unknown IO ID 45"} 
[2026-08-21 01:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537494272001,"power":27223,"unknown_87":206,"unknown_85":14592,"ignition":24,"odometer":null,"unknown_45":-8726216835378821120}} 
[2026-08-21 01:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":159012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:28:04] local.INFO: GPS data processed {"connection_id":159012,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:28:04] local.INFO: Acknowledgment sent {"connection_id":159012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:28:27] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:27] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:27] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:28:29] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:29] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:29] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:28:33] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:33] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:28:33] local.INFO: IMEI packet received {"connection_id":159878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":159878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:28:33] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bfdd00012d86ea40058e30d00002007d2f..."} 
[2026-08-21 01:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bfdd00012d86ea40058e30d00002007d2f..."} 
[2026-08-21 01:28:33] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bfdd00012d86ea40058e30d00002007d2f..."} 
[2026-08-21 01:28:33] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bf"} 
[2026-08-21 01:28:33] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bf"} 
[2026-08-21 01:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763816512,"raw_latitude":93204688,"longitude_deg":76.3816512,"latitude_deg":9.3204688,"altitude":2,"angle":125,"satellites":47,"speed":24,"hex_longitude":"2d86ea40","hex_latitude":"058e30d0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537494784001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387653650668847104,"note":"Value kept but may cause issues"} 
[2026-08-21 01:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8725583516681476096,"note":"Value kept but may cause issues"} 
[2026-08-21 01:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255840000,"timestamp_ms":1787255840000,"timestamp_seconds":1787255840,"priority":1,"record_length":96,"hex_timestamp":"000001a020bfdd00"} 
[2026-08-21 01:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 01:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537494784001,"66":26984,"137":206,"85":14592,"24":24,"16":387653650668847104,"45":-8725583516681476096},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,85,24,16,45]} 
[2026-08-21 01:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537494784001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:28:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-21 01:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387653650668847104,"km_value":387653650668847.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8725583516681476096,"description":"Unknown IO ID 45"} 
[2026-08-21 01:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537494784001,"power":26984,"unknown_137":206,"unknown_85":14592,"ignition":24,"odometer":null,"unknown_45":-8725583516681476096}} 
[2026-08-21 01:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:28:33] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:28:33] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:29:05] local.INFO: TCP Data received {"connection_id":159878,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020bfe0e8012d86ec80058e2f98000200722f..."} 
[2026-08-21 01:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020bfe0e8012d86ec80058e2f98000200722f..."} 
[2026-08-21 01:29:05] local.INFO: Processing buffer {"connection_id":159878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020bfe0e8012d86ec80058e2f98000200722f..."} 
[2026-08-21 01:29:05] local.INFO: Packet analysis {"connection_id":159878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020bf"} 
[2026-08-21 01:29:05] local.INFO: Extracted packet for processing {"connection_id":159878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020bf"} 
[2026-08-21 01:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763817088,"raw_latitude":93204376,"longitude_deg":76.3817088,"latitude_deg":9.3204376,"altitude":2,"angle":114,"satellites":47,"speed":24,"hex_longitude":"2d86ec80","hex_latitude":"058e2f98","is_valid_coordinates":true} 
[2026-08-21 01:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537495040001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387653680733618176,"note":"Value kept but may cause issues"} 
[2026-08-21 01:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8725090935472336896,"note":"Value kept but may cause issues"} 
[2026-08-21 01:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787255841000,"timestamp_ms":1787255841000,"timestamp_seconds":1787255841,"priority":1,"record_length":96,"hex_timestamp":"000001a020bfe0e8"} 
[2026-08-21 01:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:29: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-08-21 01: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 01:29:05] 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-08-21 01:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537495040001,"66":26984,"137":206,"85":14592,"24":24,"16":387653680733618176,"45":-8725090935472336896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,85,24,16,45]} 
[2026-08-21 01:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537495040001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:29:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-21 01:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387653680733618176,"km_value":387653680733618.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8725090935472336896,"description":"Unknown IO ID 45"} 
[2026-08-21 01:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537495040001,"power":26984,"unknown_137":206,"unknown_85":14592,"ignition":24,"odometer":null,"unknown_45":-8725090935472336896}} 
[2026-08-21 01:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":159878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:29:05] local.INFO: GPS data processed {"connection_id":159878,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:29:05] local.INFO: Acknowledgment sent {"connection_id":159878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:29:37] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:29:37] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:29:37] local.INFO: IMEI packet received {"connection_id":159013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":159013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:29:38] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:29:38] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:29:38] local.INFO: IMEI packet received {"connection_id":159013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":159013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:29:39] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c00fc8012d870f00058e2058000500742e..."} 
[2026-08-21 01:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c00fc8012d870f00058e2058000500742e..."} 
[2026-08-21 01:29:39] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c00fc8012d870f00058e2058000500742e..."} 
[2026-08-21 01:29:39] local.INFO: Packet analysis {"connection_id":159013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c0"} 
[2026-08-21 01:29:39] local.INFO: Extracted packet for processing {"connection_id":159013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c0"} 
[2026-08-21 01:29:39] local.INFO: GPS Element Parsed {"raw_longitude":763825920,"raw_latitude":93200472,"longitude_deg":76.382592,"latitude_deg":9.3200472,"altitude":5,"angle":116,"satellites":46,"speed":37,"hex_longitude":"2d870f00","hex_latitude":"058e2058","is_valid_coordinates":true} 
[2026-08-21 01:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537495296001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387654144590086144,"note":"Value kept but may cause issues"} 
[2026-08-21 01:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8724457616774817792,"note":"Value kept but may cause issues"} 
[2026-08-21 01:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787255853000,"timestamp_ms":1787255853000,"timestamp_seconds":1787255853,"priority":1,"record_length":96,"hex_timestamp":"000001a020c00fc8"} 
[2026-08-21 01:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 01:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537495296001,"66":27397,"137":206,"85":14592,"24":37,"16":387654144590086144,"45":-8724457616774817792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,85,24,16,45]} 
[2026-08-21 01:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537495296001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:29:39] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-21 01:29:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 01:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387654144590086144,"km_value":387654144590086.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8724457616774817792,"description":"Unknown IO ID 45"} 
[2026-08-21 01:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537495296001,"power":27397,"unknown_137":206,"unknown_85":14592,"ignition":37,"odometer":null,"unknown_45":-8724457616774817792}} 
[2026-08-21 01:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":159013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:29:39] local.INFO: GPS data processed {"connection_id":159013,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:29:39] local.INFO: Acknowledgment sent {"connection_id":159013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:30:10] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c19e38012d889c40058d6ed8000500542d..."} 
[2026-08-21 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c19e38012d889c40058d6ed8000500542d..."} 
[2026-08-21 01:30:10] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c19e38012d889c40058d6ed8000500542d..."} 
[2026-08-21 01:30:10] local.INFO: Packet analysis {"connection_id":159013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:30:10] local.INFO: Extracted packet for processing {"connection_id":159013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763927616,"raw_latitude":93155032,"longitude_deg":76.3927616,"latitude_deg":9.3155032,"altitude":5,"angle":84,"satellites":45,"speed":57,"hex_longitude":"2d889c40","hex_latitude":"058d6ed8","is_valid_coordinates":true} 
[2026-08-21 01:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537522688001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387659736637505536,"note":"Value kept but may cause issues"} 
[2026-08-21 01:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613697213451950080,"note":"Value kept but may cause issues"} 
[2026-08-21 01:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787255955000,"timestamp_ms":1787255955000,"timestamp_seconds":1787255955,"priority":1,"record_length":96,"hex_timestamp":"000001a020c19e38"} 
[2026-08-21 01:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01: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-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:30: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-08-21 01:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537522688001,"66":27245,"15":206,"85":14080,"24":57,"16":387659736637505536,"45":-8613697213451950080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537522688001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387659736637505536,"km_value":387659736637505.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613697213451950080,"description":"Unknown IO ID 45"} 
[2026-08-21 01:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537522688001,"power":27245,"unknown_15":206,"unknown_85":14080,"ignition":57,"odometer":null,"unknown_45":-8613697213451950080}} 
[2026-08-21 01:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":159013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:30:10] local.INFO: GPS data processed {"connection_id":159013,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:30:10] local.INFO: Acknowledgment sent {"connection_id":159013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:30:27] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:27] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:27] local.INFO: IMEI packet received {"connection_id":159014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":159014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:30:28] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:28] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:28] local.INFO: IMEI packet received {"connection_id":159014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":159014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:30:32] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:32] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:30:32] local.INFO: IMEI packet received {"connection_id":159014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":159014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:30:33] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c1b990012d88c380058d7358000400532e..."} 
[2026-08-21 01:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c1b990012d88c380058d7358000400532e..."} 
[2026-08-21 01:30:33] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c1b990012d88c380058d7358000400532e..."} 
[2026-08-21 01:30:33] local.INFO: Packet analysis {"connection_id":159014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:30:33] local.INFO: Extracted packet for processing {"connection_id":159014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:30:33] local.INFO: GPS Element Parsed {"raw_longitude":763937664,"raw_latitude":93156184,"longitude_deg":76.3937664,"latitude_deg":9.3156184,"altitude":4,"angle":83,"satellites":46,"speed":55,"hex_longitude":"2d88c380","hex_latitude":"058d7358","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537524480001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387660221968809984,"note":"Value kept but may cause issues"} 
[2026-08-21 01:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8602930795592624128,"note":"Value kept but may cause issues"} 
[2026-08-21 01:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255962000,"timestamp_ms":1787255962000,"timestamp_seconds":1787255962,"priority":1,"record_length":96,"hex_timestamp":"000001a020c1b990"} 
[2026-08-21 01:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 01:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537524480001,"66":27180,"15":206,"85":14080,"24":55,"16":387660221968809984,"45":-8602930795592624128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537524480001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:30:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:30:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387660221968809984,"km_value":387660221968810.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8602930795592624128,"description":"Unknown IO ID 45"} 
[2026-08-21 01:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537524480001,"power":27180,"unknown_15":206,"unknown_85":14080,"ignition":55,"odometer":null,"unknown_45":-8602930795592624128}} 
[2026-08-21 01:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":159014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:30:33] local.INFO: GPS data processed {"connection_id":159014,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:30:33] local.INFO: Acknowledgment sent {"connection_id":159014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:31:04] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c1d4e8012d88e940058d77a8000400532f..."} 
[2026-08-21 01:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c1d4e8012d88e940058d77a8000400532f..."} 
[2026-08-21 01:31:04] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c1d4e8012d88e940058d77a8000400532f..."} 
[2026-08-21 01:31:04] local.INFO: Packet analysis {"connection_id":159014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:31:04] local.INFO: Extracted packet for processing {"connection_id":159014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:31:04] local.INFO: GPS Element Parsed {"raw_longitude":763947328,"raw_latitude":93157288,"longitude_deg":76.3947328,"latitude_deg":9.3157288,"altitude":4,"angle":83,"satellites":47,"speed":53,"hex_longitude":"2d88e940","hex_latitude":"058d77a8","is_valid_coordinates":true} 
[2026-08-21 01:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537526272001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387660685825277952,"note":"Value kept but may cause issues"} 
[2026-08-21 01:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8591882902756435968,"note":"Value kept but may cause issues"} 
[2026-08-21 01:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787255969000,"timestamp_ms":1787255969000,"timestamp_seconds":1787255969,"priority":1,"record_length":96,"hex_timestamp":"000001a020c1d4e8"} 
[2026-08-21 01:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:31: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-08-21 01:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 01:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537526272001,"66":27321,"15":206,"85":14080,"24":53,"16":387660685825277952,"45":-8591882902756435968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537526272001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:31:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:31:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387660685825277952,"km_value":387660685825277.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8591882902756435968,"description":"Unknown IO ID 45"} 
[2026-08-21 01:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537526272001,"power":27321,"unknown_15":206,"unknown_85":14080,"ignition":53,"odometer":null,"unknown_45":-8591882902756435968}} 
[2026-08-21 01:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":159014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:31:04] local.INFO: GPS data processed {"connection_id":159014,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:31:04] local.INFO: Acknowledgment sent {"connection_id":159014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:31:27] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:31:27] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:31:27] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:31:32] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:31:32] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:31:32] local.INFO: IMEI packet received {"connection_id":159879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":159879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:31:33] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c1f040012d890dc0058d7c10000400532f..."} 
[2026-08-21 01:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c1f040012d890dc0058d7c10000400532f..."} 
[2026-08-21 01:31:33] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c1f040012d890dc0058d7c10000400532f..."} 
[2026-08-21 01:31:33] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:31:33] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c1"} 
[2026-08-21 01:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763956672,"raw_latitude":93158416,"longitude_deg":76.3956672,"latitude_deg":9.3158416,"altitude":4,"angle":83,"satellites":47,"speed":53,"hex_longitude":"2d890dc0","hex_latitude":"058d7c10","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537528064001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387661136796844032,"note":"Value kept but may cause issues"} 
[2026-08-21 01:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8581257222385326080,"note":"Value kept but may cause issues"} 
[2026-08-21 01:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787255976000,"timestamp_ms":1787255976000,"timestamp_seconds":1787255976,"priority":1,"record_length":96,"hex_timestamp":"000001a020c1f040"} 
[2026-08-21 01:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537528064001,"66":27245,"15":206,"85":14080,"24":53,"16":387661136796844032,"45":-8581257222385326080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537528064001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:31:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387661136796844032,"km_value":387661136796844.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8581257222385326080,"description":"Unknown IO ID 45"} 
[2026-08-21 01:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537528064001,"power":27245,"unknown_15":206,"unknown_85":14080,"ignition":53,"odometer":null,"unknown_45":-8581257222385326080}} 
[2026-08-21 01:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:31:33] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:31:33] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:32:04] local.INFO: TCP Data received {"connection_id":159879,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c34800012d8a4500058d9c98000500562e..."} 
[2026-08-21 01:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c34800012d8a4500058d9c98000500562e..."} 
[2026-08-21 01:32:04] local.INFO: Processing buffer {"connection_id":159879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c34800012d8a4500058d9c98000500562e..."} 
[2026-08-21 01:32:04] local.INFO: Packet analysis {"connection_id":159879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:32:04] local.INFO: Extracted packet for processing {"connection_id":159879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":764036352,"raw_latitude":93166744,"longitude_deg":76.4036352,"latitude_deg":9.3166744,"altitude":5,"angle":86,"satellites":46,"speed":34,"hex_longitude":"2d8a4500","hex_latitude":"058d9c98","is_valid_coordinates":true} 
[2026-08-21 01:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537549824001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387664985087541248,"note":"Value kept but may cause issues"} 
[2026-08-21 01:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8493999979602774016,"note":"Value kept but may cause issues"} 
[2026-08-21 01:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256064000,"timestamp_ms":1787256064000,"timestamp_seconds":1787256064,"priority":1,"record_length":96,"hex_timestamp":"000001a020c34800"} 
[2026-08-21 01:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537549824001,"66":27365,"15":206,"85":14080,"24":34,"16":387664985087541248,"45":-8493999979602774016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537549824001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:32:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:32:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387664985087541248,"km_value":387664985087541.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8493999979602774016,"description":"Unknown IO ID 45"} 
[2026-08-21 01:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537549824001,"power":27365,"unknown_15":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-8493999979602774016}} 
[2026-08-21 01:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":159879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:32:04] local.INFO: GPS data processed {"connection_id":159879,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:32:04] local.INFO: Acknowledgment sent {"connection_id":159879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:32:27] local.INFO: TCP Data received {"connection_id":158733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:32:27] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:32:27] local.INFO: IMEI packet received {"connection_id":158733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":158733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:32:32] local.INFO: TCP Data received {"connection_id":158733,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:32:32] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:32:32] local.INFO: IMEI packet received {"connection_id":158733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":158733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:32:33] local.INFO: TCP Data received {"connection_id":158733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c372f8012d8a68c0058d9e50000600552e..."} 
[2026-08-21 01:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c372f8012d8a68c0058d9e50000600552e..."} 
[2026-08-21 01:32:33] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c372f8012d8a68c0058d9e50000600552e..."} 
[2026-08-21 01:32:33] local.INFO: Packet analysis {"connection_id":158733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:32:33] local.INFO: Extracted packet for processing {"connection_id":158733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":764045504,"raw_latitude":93167184,"longitude_deg":76.4045504,"latitude_deg":9.3167184,"altitude":6,"angle":85,"satellites":46,"speed":33,"hex_longitude":"2d8a68c0","hex_latitude":"058d9e50","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537552384001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387665423174205440,"note":"Value kept but may cause issues"} 
[2026-08-21 01:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8483374299231774720,"note":"Value kept but may cause issues"} 
[2026-08-21 01:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256075000,"timestamp_ms":1787256075000,"timestamp_seconds":1787256075,"priority":1,"record_length":96,"hex_timestamp":"000001a020c372f8"} 
[2026-08-21 01:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537552384001,"66":27343,"15":206,"85":14080,"24":33,"16":387665423174205440,"45":-8483374299231774720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537552384001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:32:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:32:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387665423174205440,"km_value":387665423174205.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8483374299231774720,"description":"Unknown IO ID 45"} 
[2026-08-21 01:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537552384001,"power":27343,"unknown_15":206,"unknown_85":14080,"ignition":33,"odometer":null,"unknown_45":-8483374299231774720}} 
[2026-08-21 01:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":158733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:32:33] local.INFO: GPS data processed {"connection_id":158733,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:32:33] local.INFO: Acknowledgment sent {"connection_id":158733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:33:04] local.INFO: TCP Data received {"connection_id":158733,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c39a08012d8a8cc0058d9ed00005005b2d..."} 
[2026-08-21 01:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c39a08012d8a8cc0058d9ed00005005b2d..."} 
[2026-08-21 01:33:04] local.INFO: Processing buffer {"connection_id":158733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c39a08012d8a8cc0058d9ed00005005b2d..."} 
[2026-08-21 01:33:04] local.INFO: Packet analysis {"connection_id":158733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:33:04] local.INFO: Extracted packet for processing {"connection_id":158733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:33:04] local.INFO: GPS Element Parsed {"raw_longitude":764054720,"raw_latitude":93167312,"longitude_deg":76.405472,"latitude_deg":9.3167312,"altitude":5,"angle":91,"satellites":45,"speed":38,"hex_longitude":"2d8a8cc0","hex_latitude":"058d9ed0","is_valid_coordinates":true} 
[2026-08-21 01:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537555200001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387665865555836928,"note":"Value kept but may cause issues"} 
[2026-08-21 01:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8473311568814256128,"note":"Value kept but may cause issues"} 
[2026-08-21 01:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256085000,"timestamp_ms":1787256085000,"timestamp_seconds":1787256085,"priority":1,"record_length":96,"hex_timestamp":"000001a020c39a08"} 
[2026-08-21 01:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:33: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-08-21 01:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537555200001,"66":27321,"15":206,"85":14080,"24":38,"16":387665865555836928,"45":-8473311568814256128},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537555200001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:33:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:33:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387665865555836928,"km_value":387665865555836.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8473311568814256128,"description":"Unknown IO ID 45"} 
[2026-08-21 01:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537555200001,"power":27321,"unknown_15":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8473311568814256128}} 
[2026-08-21 01:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":158733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:33:04] local.INFO: GPS data processed {"connection_id":158733,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:33:04] local.INFO: Acknowledgment sent {"connection_id":158733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:33:27] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:33:27] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:33:27] local.INFO: IMEI packet received {"connection_id":161254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":161254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:33:32] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:33:32] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:33:32] local.INFO: IMEI packet received {"connection_id":161254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":161254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:33:33] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c3c118012d8ab380058d9c800005005d2d..."} 
[2026-08-21 01:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c3c118012d8ab380058d9c800005005d2d..."} 
[2026-08-21 01:33:33] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c3c118012d8ab380058d9c800005005d2d..."} 
[2026-08-21 01:33:33] local.INFO: Packet analysis {"connection_id":161254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:33:33] local.INFO: Extracted packet for processing {"connection_id":161254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:33:33] local.INFO: GPS Element Parsed {"raw_longitude":764064640,"raw_latitude":93166720,"longitude_deg":76.406464,"latitude_deg":9.316672,"altitude":5,"angle":93,"satellites":45,"speed":37,"hex_longitude":"2d8ab380","hex_latitude":"058d9c80","is_valid_coordinates":true} 
[2026-08-21 01:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537557760001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387666342297206784,"note":"Value kept but may cause issues"} 
[2026-08-21 01:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8463178469652639744,"note":"Value kept but may cause issues"} 
[2026-08-21 01:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256095000,"timestamp_ms":1787256095000,"timestamp_seconds":1787256095,"priority":1,"record_length":96,"hex_timestamp":"000001a020c3c118"} 
[2026-08-21 01:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537557760001,"66":27332,"15":206,"85":14080,"24":37,"16":387666342297206784,"45":-8463178469652639744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537557760001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:33:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387666342297206784,"km_value":387666342297206.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8463178469652639744,"description":"Unknown IO ID 45"} 
[2026-08-21 01:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537557760001,"power":27332,"unknown_15":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-8463178469652639744}} 
[2026-08-21 01:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":161254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:33:33] local.INFO: GPS data processed {"connection_id":161254,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:33:33] local.INFO: Acknowledgment sent {"connection_id":161254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:34:04] local.INFO: TCP Data received {"connection_id":161254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c3e440012d8ad640058d97e8000700612f..."} 
[2026-08-21 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c3e440012d8ad640058d97e8000700612f..."} 
[2026-08-21 01:34:04] local.INFO: Processing buffer {"connection_id":161254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c3e440012d8ad640058d97e8000700612f..."} 
[2026-08-21 01:34:04] local.INFO: Packet analysis {"connection_id":161254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:34:04] local.INFO: Extracted packet for processing {"connection_id":161254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c3"} 
[2026-08-21 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":764073536,"raw_latitude":93165544,"longitude_deg":76.4073536,"latitude_deg":9.3165544,"altitude":7,"angle":97,"satellites":47,"speed":40,"hex_longitude":"2d8ad640","hex_latitude":"058d97e8","is_valid_coordinates":true} 
[2026-08-21 01:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537560320001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387666771793936384,"note":"Value kept but may cause issues"} 
[2026-08-21 01:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8452271314305253376,"note":"Value kept but may cause issues"} 
[2026-08-21 01:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256104000,"timestamp_ms":1787256104000,"timestamp_seconds":1787256104,"priority":1,"record_length":96,"hex_timestamp":"000001a020c3e440"} 
[2026-08-21 01:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01: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-08-21 01:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537560320001,"66":27332,"15":206,"85":14080,"24":40,"16":387666771793936384,"45":-8452271314305253376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 01:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537560320001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387666771793936384,"km_value":387666771793936.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8452271314305253376,"description":"Unknown IO ID 45"} 
[2026-08-21 01:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537560320001,"power":27332,"unknown_15":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-8452271314305253376}} 
[2026-08-21 01:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":161254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:34:04] local.INFO: GPS data processed {"connection_id":161254,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:34:04] local.INFO: Acknowledgment sent {"connection_id":161254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:34:27] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:34:27] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:34:27] local.INFO: IMEI packet received {"connection_id":161255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":161255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:34:32] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:34:32] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:34:32] local.INFO: IMEI packet received {"connection_id":161255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":161255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:34:33] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c566f8012d8c4bc0058d9c90000800432d..."} 
[2026-08-21 01:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c566f8012d8c4bc0058d9c90000800432d..."} 
[2026-08-21 01:34:33] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c566f8012d8c4bc0058d9c90000800432d..."} 
[2026-08-21 01:34:33] local.INFO: Packet analysis {"connection_id":161255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:34:33] local.INFO: Extracted packet for processing {"connection_id":161255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:34:33] local.INFO: GPS Element Parsed {"raw_longitude":764169152,"raw_latitude":93166736,"longitude_deg":76.4169152,"latitude_deg":9.3166736,"altitude":8,"angle":67,"satellites":45,"speed":43,"hex_longitude":"2d8c4bc0","hex_latitude":"058d9c90","is_valid_coordinates":true} 
[2026-08-21 01:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537585664001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387671397473714176,"note":"Value kept but may cause issues"} 
[2026-08-21 01:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8347351516737124352,"note":"Value kept but may cause issues"} 
[2026-08-21 01:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256203000,"timestamp_ms":1787256203000,"timestamp_seconds":1787256203,"priority":1,"record_length":96,"hex_timestamp":"000001a020c566f8"} 
[2026-08-21 01:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 01:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537585664001,"66":27343,"213":206,"85":14080,"24":43,"16":387671397473714176,"45":-8347351516737124352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 01:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537585664001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:34:33] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 01:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387671397473714176,"km_value":387671397473714.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8347351516737124352,"description":"Unknown IO ID 45"} 
[2026-08-21 01:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537585664001,"power":27343,"unknown_213":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8347351516737124352}} 
[2026-08-21 01:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":161255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:34:33] local.INFO: GPS data processed {"connection_id":161255,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:34:33] local.INFO: Acknowledgment sent {"connection_id":161255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:35:04] local.INFO: TCP Data received {"connection_id":161255,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c58e08012d8c6cc0058da9d8000800462c..."} 
[2026-08-21 01:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c58e08012d8c6cc0058da9d8000800462c..."} 
[2026-08-21 01:35:04] local.INFO: Processing buffer {"connection_id":161255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c58e08012d8c6cc0058da9d8000800462c..."} 
[2026-08-21 01:35:04] local.INFO: Packet analysis {"connection_id":161255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:35:04] local.INFO: Extracted packet for processing {"connection_id":161255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:35:04] local.INFO: GPS Element Parsed {"raw_longitude":764177600,"raw_latitude":93170136,"longitude_deg":76.41776,"latitude_deg":9.3170136,"altitude":8,"angle":70,"satellites":44,"speed":25,"hex_longitude":"2d8c6cc0","hex_latitude":"058da9d8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 01:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537587968001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387671835560378368,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8337359155063123968,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256213000,"timestamp_ms":1787256213000,"timestamp_seconds":1787256213,"priority":1,"record_length":96,"hex_timestamp":"000001a020c58e08"} 
[2026-08-21 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-08-21 01:35: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-08-21 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 01:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537587968001,"66":27267,"213":206,"85":14080,"24":25,"16":387671835560378368,"45":-8337359155063123968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 01:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537587968001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:35:04] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 01:35:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387671835560378368,"km_value":387671835560378.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8337359155063123968,"description":"Unknown IO ID 45"} 
[2026-08-21 01:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537587968001,"power":27267,"unknown_213":206,"unknown_85":14080,"ignition":25,"odometer":null,"unknown_45":-8337359155063123968}} 
[2026-08-21 01:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":161255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:35:04] local.INFO: GPS data processed {"connection_id":161255,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:35:04] local.INFO: Acknowledgment sent {"connection_id":161255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:35:32] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:35:32] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:35:32] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:35:32] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 01:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 01:35:32] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 01:35:32] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:35:37] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:35:37] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 01:35:37] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:35:38] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c5c0d0012d8c8fc0058db680000800452d..."} 
[2026-08-21 01:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c5c0d0012d8c8fc0058db680000800452d..."} 
[2026-08-21 01:35:38] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a020..."} 
[2026-08-21 01:35:38] local.INFO: IMEI packet received {"connection_id":159880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":159880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:35:42] local.INFO: TCP Data received {"connection_id":159880,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c5e7e0012d8cb400058dc440000700462c..."} 
[2026-08-21 01:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c5e7e0012d8cb400058dc440000700462c..."} 
[2026-08-21 01:35:42] local.INFO: Processing buffer {"connection_id":159880,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a020c5c0d0012d8c8fc0058db680000800452d..."} 
[2026-08-21 01:35:42] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:35:42] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:35:42] local.INFO: GPS Element Parsed {"raw_longitude":764186560,"raw_latitude":93173376,"longitude_deg":76.418656,"latitude_deg":9.3173376,"altitude":8,"angle":69,"satellites":45,"speed":35,"hex_longitude":"2d8c8fc0","hex_latitude":"058db680","is_valid_coordinates":true} 
[2026-08-21 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537590528001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387672286531944448,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8328070480830801920,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787256226000,"timestamp_ms":1787256226000,"timestamp_seconds":1787256226,"priority":1,"record_length":96,"hex_timestamp":"000001a020c5c0d0"} 
[2026-08-21 01:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537590528001,"66":27267,"213":206,"85":14080,"24":35,"16":387672286531944448,"45":-8328070480830801920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537590528001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387672286531944448,"km_value":387672286531944.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8328070480830801920,"description":"Unknown IO ID 45"} 
[2026-08-21 01:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537590528001,"power":27267,"unknown_213":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-8328070480830801920}} 
[2026-08-21 01:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:35:42] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:35:42] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:35:42] local.INFO: Packet analysis {"connection_id":159880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:35:42] local.INFO: Extracted packet for processing {"connection_id":159880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c5"} 
[2026-08-21 01:35:42] local.INFO: GPS Element Parsed {"raw_longitude":764195840,"raw_latitude":93176896,"longitude_deg":76.419584,"latitude_deg":9.3176896,"altitude":7,"angle":70,"satellites":44,"speed":42,"hex_longitude":"2d8cb400","hex_latitude":"058dc440","is_valid_coordinates":true} 
[2026-08-21 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537593856001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387672763273314304,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8318218856645099520,"note":"Value kept but may cause issues"} 
[2026-08-21 01:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787256236000,"timestamp_ms":1787256236000,"timestamp_seconds":1787256236,"priority":1,"record_length":96,"hex_timestamp":"000001a020c5e7e0"} 
[2026-08-21 01:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537593856001,"66":26789,"213":206,"85":14080,"24":42,"16":387672763273314304,"45":-8318218856645099520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 01:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537593856001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387672763273314304,"km_value":387672763273314.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8318218856645099520,"description":"Unknown IO ID 45"} 
[2026-08-21 01:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537593856001,"power":26789,"unknown_213":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8318218856645099520}} 
[2026-08-21 01:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":159880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:35:42] local.INFO: GPS data processed {"connection_id":159880,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:35:42] local.INFO: Acknowledgment sent {"connection_id":159880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:36:27] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:27] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:27] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:36:28] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:28] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:28] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:36:32] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:32] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:36:32] local.INFO: IMEI packet received {"connection_id":159881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":159881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:36:33] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c71c78012d8db380058ddc18000800802f..."} 
[2026-08-21 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c71c78012d8db380058ddc18000800802f..."} 
[2026-08-21 01:36:33] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c71c78012d8db380058ddc18000800802f..."} 
[2026-08-21 01:36:33] local.INFO: Packet analysis {"connection_id":159881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c7"} 
[2026-08-21 01:36:33] local.INFO: Extracted packet for processing {"connection_id":159881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c7"} 
[2026-08-21 01:36:33] local.INFO: GPS Element Parsed {"raw_longitude":764261248,"raw_latitude":93183000,"longitude_deg":76.4261248,"latitude_deg":9.3183,"altitude":8,"angle":128,"satellites":47,"speed":47,"hex_longitude":"2d8db380","hex_latitude":"058ddc18","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537615360001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387676036038393856,"note":"Value kept but may cause issues"} 
[2026-08-21 01:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8241446556744044544,"note":"Value kept but may cause issues"} 
[2026-08-21 01:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256315000,"timestamp_ms":1787256315000,"timestamp_seconds":1787256315,"priority":1,"record_length":96,"hex_timestamp":"000001a020c71c78"} 
[2026-08-21 01:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01: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-08-21 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537615360001,"66":27343,"18":206,"85":14080,"24":47,"16":387676036038393856,"45":-8241446556744044544},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 01:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537615360001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:36:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 01:36:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387676036038393856,"km_value":387676036038393.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8241446556744044544,"description":"Unknown IO ID 45"} 
[2026-08-21 01:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537615360001,"power":27343,"unknown_18":206,"unknown_85":14080,"ignition":47,"odometer":null,"unknown_45":-8241446556744044544}} 
[2026-08-21 01:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":159881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:36:33] local.INFO: GPS data processed {"connection_id":159881,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:36:33] local.INFO: Acknowledgment sent {"connection_id":159881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:37:04] local.INFO: TCP Data received {"connection_id":159881,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c733e8012d8dc940058dc8580006008b2f..."} 
[2026-08-21 01:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c733e8012d8dc940058dc8580006008b2f..."} 
[2026-08-21 01:37:04] local.INFO: Processing buffer {"connection_id":159881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c733e8012d8dc940058dc8580006008b2f..."} 
[2026-08-21 01:37:04] local.INFO: Packet analysis {"connection_id":159881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c7"} 
[2026-08-21 01:37:04] local.INFO: Extracted packet for processing {"connection_id":159881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c7"} 
[2026-08-21 01:37:04] local.INFO: GPS Element Parsed {"raw_longitude":764266816,"raw_latitude":93177944,"longitude_deg":76.4266816,"latitude_deg":9.3177944,"altitude":6,"angle":139,"satellites":47,"speed":51,"hex_longitude":"2d8dc940","hex_latitude":"058dc858","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537616640001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387676396815646720,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8236098532187301888,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256321000,"timestamp_ms":1787256321000,"timestamp_seconds":1787256321,"priority":1,"record_length":96,"hex_timestamp":"000001a020c733e8"} 
[2026-08-21 01:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537616640001,"66":27245,"18":206,"85":14080,"24":51,"16":387676396815646720,"45":-8236098532187301888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 01:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537616640001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:37:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 01:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387676396815646720,"km_value":387676396815646.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8236098532187301888,"description":"Unknown IO ID 45"} 
[2026-08-21 01:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537616640001,"power":27245,"unknown_18":206,"unknown_85":14080,"ignition":51,"odometer":null,"unknown_45":-8236098532187301888}} 
[2026-08-21 01:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":159881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:37:04] local.INFO: GPS data processed {"connection_id":159881,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:37:04] local.INFO: Acknowledgment sent {"connection_id":159881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:37:32] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:37:32] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:37:32] local.INFO: IMEI packet received {"connection_id":158734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":158734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:37:36] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:37:36] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:37:36] local.INFO: IMEI packet received {"connection_id":158734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":158734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:37:37] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c86c68012d8e8a00058c6de8000600a32e..."} 
[2026-08-21 01:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c86c68012d8e8a00058c6de8000600a32e..."} 
[2026-08-21 01:37:37] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c86c68012d8e8a00058c6de8000600a32e..."} 
[2026-08-21 01:37:37] local.INFO: Packet analysis {"connection_id":158734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:37:37] local.INFO: Extracted packet for processing {"connection_id":158734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:37:37] local.INFO: GPS Element Parsed {"raw_longitude":764316160,"raw_latitude":93089256,"longitude_deg":76.431616,"latitude_deg":9.3089256,"altitude":6,"angle":163,"satellites":46,"speed":43,"hex_longitude":"2d8e8a00","hex_latitude":"058c6de8","is_valid_coordinates":true} 
[2026-08-21 01:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537636352001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387681310258233344,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8179873905611059200,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787256401000,"timestamp_ms":1787256401000,"timestamp_seconds":1787256401,"priority":1,"record_length":96,"hex_timestamp":"000001a020c86c68"} 
[2026-08-21 01:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537636352001,"66":27234,"17":206,"85":14080,"24":43,"16":387681310258233344,"45":-8179873905611059200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537636352001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387681310258233344,"km_value":387681310258233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8179873905611059200,"description":"Unknown IO ID 45"} 
[2026-08-21 01:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537636352001,"power":27234,"axis_x":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8179873905611059200}} 
[2026-08-21 01:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":158734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:37:37] local.INFO: GPS data processed {"connection_id":158734,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:37:37] local.INFO: Acknowledgment sent {"connection_id":158734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:37:38] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c88ba8012d8e9180058c4c00000500a92d..."} 
[2026-08-21 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c88ba8012d8e9180058c4c00000500a92d..."} 
[2026-08-21 01:37:38] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c88ba8012d8e9180058c4c00000500a92d..."} 
[2026-08-21 01:37:38] local.INFO: Packet analysis {"connection_id":158734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:37:38] local.INFO: Extracted packet for processing {"connection_id":158734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":764318080,"raw_latitude":93080576,"longitude_deg":76.431808,"latitude_deg":9.3080576,"altitude":5,"angle":169,"satellites":45,"speed":43,"hex_longitude":"2d8e9180","hex_latitude":"058c4c00","is_valid_coordinates":true} 
[2026-08-21 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537638656001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387681739754962944,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8175722149706864640,"note":"Value kept but may cause issues"} 
[2026-08-21 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787256409000,"timestamp_ms":1787256409000,"timestamp_seconds":1787256409,"priority":1,"record_length":96,"hex_timestamp":"000001a020c88ba8"} 
[2026-08-21 01:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537638656001,"66":27332,"17":206,"85":14080,"24":43,"16":387681739754962944,"45":-8175722149706864640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537638656001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387681739754962944,"km_value":387681739754962.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8175722149706864640,"description":"Unknown IO ID 45"} 
[2026-08-21 01:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537638656001,"power":27332,"axis_x":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8175722149706864640}} 
[2026-08-21 01:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":158734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:37:38] local.INFO: GPS data processed {"connection_id":158734,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:37:38] local.INFO: Acknowledgment sent {"connection_id":158734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:38:19] local.INFO: TCP Data received {"connection_id":158734,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c8aed0012d8e97c0058c27e8000500aa2b..."} 
[2026-08-21 01:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c8aed0012d8e97c0058c27e8000500aa2b..."} 
[2026-08-21 01:38:19] local.INFO: Processing buffer {"connection_id":158734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c8aed0012d8e97c0058c27e8000500aa2b..."} 
[2026-08-21 01:38:19] local.INFO: Packet analysis {"connection_id":158734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:38:19] local.INFO: Extracted packet for processing {"connection_id":158734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:38:19] local.INFO: GPS Element Parsed {"raw_longitude":764319680,"raw_latitude":93071336,"longitude_deg":76.431968,"latitude_deg":9.3071336,"altitude":5,"angle":170,"satellites":43,"speed":38,"hex_longitude":"2d8e97c0","hex_latitude":"058c27e8","is_valid_coordinates":true} 
[2026-08-21 01:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537640704001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387682195021496320,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8173611087383756800,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787256418000,"timestamp_ms":1787256418000,"timestamp_seconds":1787256418,"priority":1,"record_length":96,"hex_timestamp":"000001a020c8aed0"} 
[2026-08-21 01:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:38:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537640704001,"66":27245,"17":206,"85":14080,"24":38,"16":387682195021496320,"45":-8173611087383756800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537640704001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:38:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387682195021496320,"km_value":387682195021496.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8173611087383756800,"description":"Unknown IO ID 45"} 
[2026-08-21 01:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537640704001,"power":27245,"axis_x":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8173611087383756800}} 
[2026-08-21 01:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":158734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:38:19] local.INFO: GPS data processed {"connection_id":158734,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:38:19] local.INFO: Acknowledgment sent {"connection_id":158734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:38:35] local.INFO: TCP Data received {"connection_id":159015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:38:35] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:38:35] local.INFO: IMEI packet received {"connection_id":159015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":159015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:38:37] local.INFO: TCP Data received {"connection_id":159015,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:38:37] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:38:37] local.INFO: IMEI packet received {"connection_id":159015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":159015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:38:38] local.INFO: TCP Data received {"connection_id":159015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c8e580012d8e9fc0058c04d0000400a12f..."} 
[2026-08-21 01:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c8e580012d8e9fc0058c04d0000400a12f..."} 
[2026-08-21 01:38:38] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c8e580012d8e9fc0058c04d0000400a12f..."} 
[2026-08-21 01:38:38] local.INFO: Packet analysis {"connection_id":159015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:38:38] local.INFO: Extracted packet for processing {"connection_id":159015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c8"} 
[2026-08-21 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":764321728,"raw_latitude":93062352,"longitude_deg":76.4321728,"latitude_deg":9.3062352,"altitude":4,"angle":161,"satellites":47,"speed":23,"hex_longitude":"2d8e9fc0","hex_latitude":"058c04d0","is_valid_coordinates":true} 
[2026-08-21 01:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537643008001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387682641698095104,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8171851868781680640,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787256432000,"timestamp_ms":1787256432000,"timestamp_seconds":1787256432,"priority":1,"record_length":96,"hex_timestamp":"000001a020c8e580"} 
[2026-08-21 01:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 01:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537643008001,"66":27245,"17":206,"85":14080,"24":23,"16":387682641698095104,"45":-8171851868781680640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537643008001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:38:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387682641698095104,"km_value":387682641698095.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8171851868781680640,"description":"Unknown IO ID 45"} 
[2026-08-21 01:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537643008001,"power":27245,"axis_x":206,"unknown_85":14080,"ignition":23,"odometer":null,"unknown_45":-8171851868781680640}} 
[2026-08-21 01:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":159015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:38:38] local.INFO: GPS data processed {"connection_id":159015,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:38:38] local.INFO: Acknowledgment sent {"connection_id":159015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:38:50] local.INFO: TCP Data received {"connection_id":159015,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c91848012d8ea880058be138000300a72f..."} 
[2026-08-21 01:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c91848012d8ea880058be138000300a72f..."} 
[2026-08-21 01:38:50] local.INFO: Processing buffer {"connection_id":159015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c91848012d8ea880058be138000300a72f..."} 
[2026-08-21 01:38:50] local.INFO: Packet analysis {"connection_id":159015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c9"} 
[2026-08-21 01:38:50] local.INFO: Extracted packet for processing {"connection_id":159015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c9"} 
[2026-08-21 01:38:50] local.INFO: GPS Element Parsed {"raw_longitude":764323968,"raw_latitude":93053240,"longitude_deg":76.4323968,"latitude_deg":9.305324,"altitude":3,"angle":167,"satellites":47,"speed":34,"hex_longitude":"2d8ea880","hex_latitude":"058be138","is_valid_coordinates":true} 
[2026-08-21 01:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537646592001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387683096964628480,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8169600068970295296,"note":"Value kept but may cause issues"} 
[2026-08-21 01:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787256445000,"timestamp_ms":1787256445000,"timestamp_seconds":1787256445,"priority":1,"record_length":96,"hex_timestamp":"000001a020c91848"} 
[2026-08-21 01:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 01:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537646592001,"66":27365,"17":206,"85":14080,"24":34,"16":387683096964628480,"45":-8169600068970295296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537646592001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:38:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387683096964628480,"km_value":387683096964628.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8169600068970295296,"description":"Unknown IO ID 45"} 
[2026-08-21 01:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537646592001,"power":27365,"axis_x":206,"unknown_85":14080,"ignition":34,"odometer":null,"unknown_45":-8169600068970295296}} 
[2026-08-21 01:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":159015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:38:50] local.INFO: GPS data processed {"connection_id":159015,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:38:50] local.INFO: Acknowledgment sent {"connection_id":159015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:39:27] local.INFO: TCP Data received {"connection_id":158735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:39:27] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:39:27] local.INFO: IMEI packet received {"connection_id":158735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":158735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:39:31] local.INFO: TCP Data received {"connection_id":158735,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:39:31] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:39:31] local.INFO: IMEI packet received {"connection_id":158735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":158735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:39:32] local.INFO: TCP Data received {"connection_id":158735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c93f58012d8eaf80058bbce0000300a92f..."} 
[2026-08-21 01:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c93f58012d8eaf80058bbce0000300a92f..."} 
[2026-08-21 01:39:32] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c93f58012d8eaf80058bbce0000300a92f..."} 
[2026-08-21 01:39:32] local.INFO: Packet analysis {"connection_id":158735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c9"} 
[2026-08-21 01:39:32] local.INFO: Extracted packet for processing {"connection_id":158735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c9"} 
[2026-08-21 01:39:32] local.INFO: GPS Element Parsed {"raw_longitude":764325760,"raw_latitude":93043936,"longitude_deg":76.432576,"latitude_deg":9.3043936,"altitude":3,"angle":169,"satellites":47,"speed":39,"hex_longitude":"2d8eaf80","hex_latitude":"058bbce0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537649920001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387683556526129152,"note":"Value kept but may cause issues"} 
[2026-08-21 01:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8167137162926409728,"note":"Value kept but may cause issues"} 
[2026-08-21 01:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787256455000,"timestamp_ms":1787256455000,"timestamp_seconds":1787256455,"priority":1,"record_length":96,"hex_timestamp":"000001a020c93f58"} 
[2026-08-21 01:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537649920001,"66":27332,"17":206,"85":14080,"24":39,"16":387683556526129152,"45":-8167137162926409728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537649920001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387683556526129152,"km_value":387683556526129.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8167137162926409728,"description":"Unknown IO ID 45"} 
[2026-08-21 01:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537649920001,"power":27332,"axis_x":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8167137162926409728}} 
[2026-08-21 01:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":158735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:39:32] local.INFO: GPS data processed {"connection_id":158735,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:39:32] local.INFO: Acknowledgment sent {"connection_id":158735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:40:03] local.INFO: TCP Data received {"connection_id":158735,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020c96280012d8eb600058b99f8000400a92f..."} 
[2026-08-21 01:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020c96280012d8eb600058b99f8000400a92f..."} 
[2026-08-21 01:40:03] local.INFO: Processing buffer {"connection_id":158735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020c96280012d8eb600058b99f8000400a92f..."} 
[2026-08-21 01:40:03] local.INFO: Packet analysis {"connection_id":158735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020c9"} 
[2026-08-21 01:40:03] local.INFO: Extracted packet for processing {"connection_id":158735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020c9"} 
[2026-08-21 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":764327424,"raw_latitude":93035000,"longitude_deg":76.4327424,"latitude_deg":9.3035,"altitude":4,"angle":169,"satellites":47,"speed":39,"hex_longitude":"2d8eb600","hex_latitude":"058b99f8","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537652480001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387683994612793344,"note":"Value kept but may cause issues"} 
[2026-08-21 01:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8165166838091816960,"note":"Value kept but may cause issues"} 
[2026-08-21 01:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787256464000,"timestamp_ms":1787256464000,"timestamp_seconds":1787256464,"priority":1,"record_length":96,"hex_timestamp":"000001a020c96280"} 
[2026-08-21 01:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537652480001,"66":27104,"17":206,"85":14080,"24":39,"16":387683994612793344,"45":-8165166838091816960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537652480001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387683994612793344,"km_value":387683994612793.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8165166838091816960,"description":"Unknown IO ID 45"} 
[2026-08-21 01:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537652480001,"power":27104,"axis_x":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-8165166838091816960}} 
[2026-08-21 01:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":158735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:40:03] local.INFO: GPS data processed {"connection_id":158735,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:40:03] local.INFO: Acknowledgment sent {"connection_id":158735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:40:27] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:40:27] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:40:27] local.INFO: IMEI packet received {"connection_id":161256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":161256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:40:32] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:40:32] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:40:32] local.INFO: IMEI packet received {"connection_id":161256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":161256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:40:33] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020caf8c0012d8efe00058a10e8000400b42e..."} 
[2026-08-21 01:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020caf8c0012d8efe00058a10e8000400b42e..."} 
[2026-08-21 01:40:33] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020caf8c0012d8efe00058a10e8000400b42e..."} 
[2026-08-21 01:40:33] local.INFO: Packet analysis {"connection_id":161256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ca"} 
[2026-08-21 01:40:33] local.INFO: Extracted packet for processing {"connection_id":161256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ca"} 
[2026-08-21 01:40:33] local.INFO: GPS Element Parsed {"raw_longitude":764345856,"raw_latitude":92934376,"longitude_deg":76.4345856,"latitude_deg":9.2934376,"altitude":4,"angle":180,"satellites":46,"speed":11,"hex_longitude":"2d8efe00","hex_latitude":"058a10e8","is_valid_coordinates":true} 
[2026-08-21 01:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537677824001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387688972479889408,"note":"Value kept but may cause issues"} 
[2026-08-21 01:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8144689533561907200,"note":"Value kept but may cause issues"} 
[2026-08-21 01:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256568000,"timestamp_ms":1787256568000,"timestamp_seconds":1787256568,"priority":1,"record_length":96,"hex_timestamp":"000001a020caf8c0"} 
[2026-08-21 01:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01: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-08-21 01:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537677824001,"66":27300,"209":206,"85":14080,"24":11,"16":387688972479889408,"45":-8144689533561907200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 01:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537677824001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:40:33] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 01:40:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387688972479889408,"km_value":387688972479889.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8144689533561907200,"description":"Unknown IO ID 45"} 
[2026-08-21 01:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537677824001,"power":27300,"unknown_209":206,"unknown_85":14080,"ignition":11,"odometer":null,"unknown_45":-8144689533561907200}} 
[2026-08-21 01:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":161256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:40:33] local.INFO: GPS data processed {"connection_id":161256,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:40:33] local.INFO: Acknowledgment sent {"connection_id":161256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:41:04] local.INFO: TCP Data received {"connection_id":161256,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cb1418012d8efe80058a07b0000500a32f..."} 
[2026-08-21 01:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cb1418012d8efe80058a07b0000500a32f..."} 
[2026-08-21 01:41:04] local.INFO: Processing buffer {"connection_id":161256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cb1418012d8efe80058a07b0000500a32f..."} 
[2026-08-21 01:41:04] local.INFO: Packet analysis {"connection_id":161256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cb"} 
[2026-08-21 01:41:04] local.INFO: Extracted packet for processing {"connection_id":161256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cb"} 
[2026-08-21 01:41:04] local.INFO: GPS Element Parsed {"raw_longitude":764345984,"raw_latitude":92932016,"longitude_deg":76.4345984,"latitude_deg":9.2932016,"altitude":5,"angle":163,"satellites":47,"speed":12,"hex_longitude":"2d8efe80","hex_latitude":"058a07b0","is_valid_coordinates":true} 
[2026-08-21 01:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537681408001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387689088444006400,"note":"Value kept but may cause issues"} 
[2026-08-21 01:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8143071052448077824,"note":"Value kept but may cause issues"} 
[2026-08-21 01:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256575000,"timestamp_ms":1787256575000,"timestamp_seconds":1787256575,"priority":1,"record_length":96,"hex_timestamp":"000001a020cb1418"} 
[2026-08-21 01:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 01:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537681408001,"66":27321,"209":206,"85":14080,"24":12,"16":387689088444006400,"45":-8143071052448077824},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 01:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537681408001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:41:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 01:41:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387689088444006400,"km_value":387689088444006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8143071052448077824,"description":"Unknown IO ID 45"} 
[2026-08-21 01:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537681408001,"power":27321,"unknown_209":206,"unknown_85":14080,"ignition":12,"odometer":null,"unknown_45":-8143071052448077824}} 
[2026-08-21 01:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:41:04] local.INFO: GPS data processed {"connection_id":161256,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:41:04] local.INFO: Acknowledgment sent {"connection_id":161256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:41:27] local.INFO: TCP Data received {"connection_id":159016,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:41:27] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:41:27] local.INFO: IMEI packet received {"connection_id":159016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":159016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:41:29] local.INFO: TCP Data received {"connection_id":159016,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:41:29] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:41:29] local.INFO: IMEI packet received {"connection_id":159016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":159016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:41:30] local.INFO: TCP Data received {"connection_id":159016,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cb3740012d8f05400589fa00000500972f..."} 
[2026-08-21 01:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cb3740012d8f05400589fa00000500972f..."} 
[2026-08-21 01:41:30] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cb3740012d8f05400589fa00000500972f..."} 
[2026-08-21 01:41:30] local.INFO: Packet analysis {"connection_id":159016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cb"} 
[2026-08-21 01:41:30] local.INFO: Extracted packet for processing {"connection_id":159016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cb"} 
[2026-08-21 01:41:30] local.INFO: GPS Element Parsed {"raw_longitude":764347712,"raw_latitude":92928512,"longitude_deg":76.4347712,"latitude_deg":9.2928512,"altitude":5,"angle":151,"satellites":47,"speed":24,"hex_longitude":"2d8f0540","hex_latitude":"0589fa00","is_valid_coordinates":true} 
[2026-08-21 01:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537683200001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387689277422567424,"note":"Value kept but may cause issues"} 
[2026-08-21 01:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8142930314960326656,"note":"Value kept but may cause issues"} 
[2026-08-21 01:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787256584000,"timestamp_ms":1787256584000,"timestamp_seconds":1787256584,"priority":1,"record_length":96,"hex_timestamp":"000001a020cb3740"} 
[2026-08-21 01:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537683200001,"66":27463,"209":206,"85":14080,"24":24,"16":387689277422567424,"45":-8142930314960326656},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 01:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537683200001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387689277422567424,"km_value":387689277422567.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8142930314960326656,"description":"Unknown IO ID 45"} 
[2026-08-21 01:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537683200001,"power":27463,"unknown_209":206,"unknown_85":14080,"ignition":24,"odometer":null,"unknown_45":-8142930314960326656}} 
[2026-08-21 01:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":159016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:41:30] local.INFO: GPS data processed {"connection_id":159016,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:41:30] local.INFO: Acknowledgment sent {"connection_id":159016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:42:01] local.INFO: TCP Data received {"connection_id":159016,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cb6a08012d8f19c00589db100006008e2e..."} 
[2026-08-21 01:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cb6a08012d8f19c00589db100006008e2e..."} 
[2026-08-21 01:42:01] local.INFO: Processing buffer {"connection_id":159016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cb6a08012d8f19c00589db100006008e2e..."} 
[2026-08-21 01:42:01] local.INFO: Packet analysis {"connection_id":159016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cb"} 
[2026-08-21 01:42:01] local.INFO: Extracted packet for processing {"connection_id":159016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cb"} 
[2026-08-21 01:42:01] local.INFO: GPS Element Parsed {"raw_longitude":764352960,"raw_latitude":92920592,"longitude_deg":76.435296,"latitude_deg":9.2920592,"altitude":6,"angle":142,"satellites":46,"speed":33,"hex_longitude":"2d8f19c0","hex_latitude":"0589db10","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537685504001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387689736984068096,"note":"Value kept but may cause issues"} 
[2026-08-21 01:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8141030358868426752,"note":"Value kept but may cause issues"} 
[2026-08-21 01:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787256597000,"timestamp_ms":1787256597000,"timestamp_seconds":1787256597,"priority":1,"record_length":96,"hex_timestamp":"000001a020cb6a08"} 
[2026-08-21 01:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 01:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537685504001,"66":27180,"209":206,"85":14080,"24":33,"16":387689736984068096,"45":-8141030358868426752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 01:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537685504001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:42:01] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 01:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387689736984068096,"km_value":387689736984068.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8141030358868426752,"description":"Unknown IO ID 45"} 
[2026-08-21 01:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537685504001,"power":27180,"unknown_209":206,"unknown_85":14080,"ignition":33,"odometer":null,"unknown_45":-8141030358868426752}} 
[2026-08-21 01:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":159016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:42:01] local.INFO: GPS data processed {"connection_id":159016,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:42:01] local.INFO: Acknowledgment sent {"connection_id":159016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:42:27] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:27] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:27] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:42:28] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:28] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:28] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:42:29] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:29] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:29] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:42:32] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:32] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:42:32] local.INFO: IMEI packet received {"connection_id":159882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":159882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:42:33] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cc9ab8012d8fa38005892148000600962f..."} 
[2026-08-21 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cc9ab8012d8fa38005892148000600962f..."} 
[2026-08-21 01:42:33] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cc9ab8012d8fa38005892148000600962f..."} 
[2026-08-21 01:42:33] local.INFO: Packet analysis {"connection_id":159882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:42:33] local.INFO: Extracted packet for processing {"connection_id":159882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:42:33] local.INFO: GPS Element Parsed {"raw_longitude":764388224,"raw_latitude":92873032,"longitude_deg":76.4388224,"latitude_deg":9.2873032,"altitude":6,"angle":150,"satellites":47,"speed":43,"hex_longitude":"2d8fa380","hex_latitude":"05892148","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537706496001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387692610317189120,"note":"Value kept but may cause issues"} 
[2026-08-21 01:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8101694230885257216,"note":"Value kept but may cause issues"} 
[2026-08-21 01:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256675000,"timestamp_ms":1787256675000,"timestamp_seconds":1787256675,"priority":1,"record_length":96,"hex_timestamp":"000001a020cc9ab8"} 
[2026-08-21 01:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537706496001,"66":26299,"208":206,"85":14080,"24":43,"16":387692610317189120,"45":-8101694230885257216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 01:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537706496001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:42:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 01:42:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387692610317189120,"km_value":387692610317189.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8101694230885257216,"description":"Unknown IO ID 45"} 
[2026-08-21 01:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537706496001,"power":26299,"unknown_208":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8101694230885257216}} 
[2026-08-21 01:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:42:33] local.INFO: GPS data processed {"connection_id":159882,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:42:33] local.INFO: Acknowledgment sent {"connection_id":159882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:43:04] local.INFO: TCP Data received {"connection_id":159882,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ccbde0012d8fb7000588ffb80007009c2f..."} 
[2026-08-21 01:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ccbde0012d8fb7000588ffb80007009c2f..."} 
[2026-08-21 01:43:04] local.INFO: Processing buffer {"connection_id":159882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ccbde0012d8fb7000588ffb80007009c2f..."} 
[2026-08-21 01:43:04] local.INFO: Packet analysis {"connection_id":159882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:43:04] local.INFO: Extracted packet for processing {"connection_id":159882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:43:04] local.INFO: GPS Element Parsed {"raw_longitude":764393216,"raw_latitude":92864440,"longitude_deg":76.4393216,"latitude_deg":9.286444,"altitude":7,"angle":156,"satellites":47,"speed":45,"hex_longitude":"2d8fb700","hex_latitude":"0588ffb8","is_valid_coordinates":true} 
[2026-08-21 01:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537708800001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387693091353526272,"note":"Value kept but may cause issues"} 
[2026-08-21 01:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8096486943818168320,"note":"Value kept but may cause issues"} 
[2026-08-21 01:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256684000,"timestamp_ms":1787256684000,"timestamp_seconds":1787256684,"priority":1,"record_length":96,"hex_timestamp":"000001a020ccbde0"} 
[2026-08-21 01:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":102,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 01:43:04] 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-08-21 01:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537708800001,"66":27310,"208":206,"85":14080,"24":45,"16":387693091353526272,"45":-8096486943818168320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 01:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537708800001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:43:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 01:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387693091353526272,"km_value":387693091353526.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8096486943818168320,"description":"Unknown IO ID 45"} 
[2026-08-21 01:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537708800001,"power":27310,"unknown_208":206,"unknown_85":14080,"ignition":45,"odometer":null,"unknown_45":-8096486943818168320}} 
[2026-08-21 01:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":159882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:43:04] local.INFO: GPS data processed {"connection_id":159882,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:43:04] local.INFO: Acknowledgment sent {"connection_id":159882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:43:27] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:43:27] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:43:27] local.INFO: IMEI packet received {"connection_id":159017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":159017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:43:32] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:43:32] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:43:32] local.INFO: IMEI packet received {"connection_id":159017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":159017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:43:33] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ccdd20012d8fc6400588dd200007009b2e..."} 
[2026-08-21 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ccdd20012d8fc6400588dd200007009b2e..."} 
[2026-08-21 01:43:33] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ccdd20012d8fc6400588dd200007009b2e..."} 
[2026-08-21 01:43:33] local.INFO: Packet analysis {"connection_id":159017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:43:33] local.INFO: Extracted packet for processing {"connection_id":159017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":764397120,"raw_latitude":92855584,"longitude_deg":76.439712,"latitude_deg":9.2855584,"altitude":7,"angle":155,"satellites":46,"speed":49,"hex_longitude":"2d8fc640","hex_latitude":"0588dd20","is_valid_coordinates":true} 
[2026-08-21 01:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537711104001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387693559504961536,"note":"Value kept but may cause issues"} 
[2026-08-21 01:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8090998181774510080,"note":"Value kept but may cause issues"} 
[2026-08-21 01:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256692000,"timestamp_ms":1787256692000,"timestamp_seconds":1787256692,"priority":1,"record_length":96,"hex_timestamp":"000001a020ccdd20"} 
[2026-08-21 01:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 01:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537711104001,"66":27365,"208":206,"85":14080,"24":49,"16":387693559504961536,"45":-8090998181774510080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 01:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537711104001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:43:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 01:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387693559504961536,"km_value":387693559504961.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8090998181774510080,"description":"Unknown IO ID 45"} 
[2026-08-21 01:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537711104001,"power":27365,"unknown_208":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8090998181774510080}} 
[2026-08-21 01:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":159017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:43:33] local.INFO: GPS data processed {"connection_id":159017,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:43:33] local.INFO: Acknowledgment sent {"connection_id":159017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:44:04] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ccfc60012d8fdb400588bbb0000700902d..."} 
[2026-08-21 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ccfc60012d8fdb400588bbb0000700902d..."} 
[2026-08-21 01:44:04] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ccfc60012d8fdb400588bbb0000700902d..."} 
[2026-08-21 01:44:04] local.INFO: Packet analysis {"connection_id":159017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:44:04] local.INFO: Extracted packet for processing {"connection_id":159017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cc"} 
[2026-08-21 01:44:04] local.INFO: GPS Element Parsed {"raw_longitude":764402496,"raw_latitude":92847024,"longitude_deg":76.4402496,"latitude_deg":9.2847024,"altitude":7,"angle":144,"satellites":45,"speed":49,"hex_longitude":"2d8fdb40","hex_latitude":"0588bbb0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537713152001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387694049131233280,"note":"Value kept but may cause issues"} 
[2026-08-21 01:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8086705688381939712,"note":"Value kept but may cause issues"} 
[2026-08-21 01:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256700000,"timestamp_ms":1787256700000,"timestamp_seconds":1787256700,"priority":1,"record_length":96,"hex_timestamp":"000001a020ccfc60"} 
[2026-08-21 01:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01: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-08-21 01:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537713152001,"66":27267,"208":206,"85":14080,"24":49,"16":387694049131233280,"45":-8086705688381939712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 01:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537713152001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387694049131233280,"km_value":387694049131233.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8086705688381939712,"description":"Unknown IO ID 45"} 
[2026-08-21 01:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537713152001,"power":27267,"unknown_208":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8086705688381939712}} 
[2026-08-21 01:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":159017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:44:04] local.INFO: GPS data processed {"connection_id":159017,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:44:04] local.INFO: Acknowledgment sent {"connection_id":159017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:44:27] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:27] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:27] local.INFO: IMEI packet received {"connection_id":161257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":161257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:44:27] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:27] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:27] local.INFO: IMEI packet received {"connection_id":161257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":161257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:44:32] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:32] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:44:32] local.INFO: IMEI packet received {"connection_id":161257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":161257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:44:33] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ce86e8012d90e74005883650000900642c..."} 
[2026-08-21 01:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ce86e8012d90e74005883650000900642c..."} 
[2026-08-21 01:44:33] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ce86e8012d90e74005883650000900642c..."} 
[2026-08-21 01:44:33] local.INFO: Packet analysis {"connection_id":161257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:44:33] local.INFO: Extracted packet for processing {"connection_id":161257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:44:33] local.INFO: GPS Element Parsed {"raw_longitude":764471104,"raw_latitude":92812880,"longitude_deg":76.4471104,"latitude_deg":9.281288,"altitude":9,"angle":100,"satellites":44,"speed":36,"hex_longitude":"2d90e740","hex_latitude":"05883650","is_valid_coordinates":true} 
[2026-08-21 01:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537739008001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387697845882322944,"note":"Value kept but may cause issues"} 
[2026-08-21 01:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8015140675563810816,"note":"Value kept but may cause issues"} 
[2026-08-21 01:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256801000,"timestamp_ms":1787256801000,"timestamp_seconds":1787256801,"priority":1,"record_length":96,"hex_timestamp":"000001a020ce86e8"} 
[2026-08-21 01:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537739008001,"66":27332,"111":206,"85":14080,"24":36,"16":387697845882322944,"45":-8015140675563810816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 01:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537739008001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:44:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 01:44:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387697845882322944,"km_value":387697845882322.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8015140675563810816,"description":"Unknown IO ID 45"} 
[2026-08-21 01:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537739008001,"power":27332,"unknown_111":206,"unknown_85":14080,"ignition":36,"odometer":null,"unknown_45":-8015140675563810816}} 
[2026-08-21 01:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":161257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:44:33] local.INFO: GPS data processed {"connection_id":161257,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:44:33] local.INFO: Acknowledgment sent {"connection_id":161257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:45:04] local.INFO: TCP Data received {"connection_id":161257,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020ceb9b0012d910840058832f0000a00582f..."} 
[2026-08-21 01:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ceb9b0012d910840058832f0000a00582f..."} 
[2026-08-21 01:45:04] local.INFO: Processing buffer {"connection_id":161257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ceb9b0012d910840058832f0000a00582f..."} 
[2026-08-21 01:45:04] local.INFO: Packet analysis {"connection_id":161257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:45:04] local.INFO: Extracted packet for processing {"connection_id":161257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:45:04] local.INFO: GPS Element Parsed {"raw_longitude":764479552,"raw_latitude":92812016,"longitude_deg":76.4479552,"latitude_deg":9.2812016,"altitude":10,"angle":88,"satellites":47,"speed":29,"hex_longitude":"2d910840","hex_latitude":"058832f0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 01:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537741056001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387698249609248768,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8005359420123492352,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787256814000,"timestamp_ms":1787256814000,"timestamp_seconds":1787256814,"priority":1,"record_length":96,"hex_timestamp":"000001a020ceb9b0"} 
[2026-08-21 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-08-21 01:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 01:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537741056001,"66":27321,"111":206,"85":14080,"24":29,"16":387698249609248768,"45":-8005359420123492352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 01:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537741056001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387698249609248768,"km_value":387698249609248.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8005359420123492352,"description":"Unknown IO ID 45"} 
[2026-08-21 01:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537741056001,"power":27321,"unknown_111":206,"unknown_85":14080,"ignition":29,"odometer":null,"unknown_45":-8005359420123492352}} 
[2026-08-21 01:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":161257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:45:04] local.INFO: GPS data processed {"connection_id":161257,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:45:04] local.INFO: Acknowledgment sent {"connection_id":161257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:45:32] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:45:32] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:45:32] local.INFO: IMEI packet received {"connection_id":161258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":161258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:45:35] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:45:35] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:45:35] local.INFO: IMEI packet received {"connection_id":161258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":161258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:45:36] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cee4a8012d912f0005883490000a00572e..."} 
[2026-08-21 01:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cee4a8012d912f0005883490000a00572e..."} 
[2026-08-21 01:45:36] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cee4a8012d912f0005883490000a00572e..."} 
[2026-08-21 01:45:36] local.INFO: Packet analysis {"connection_id":161258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:45:36] local.INFO: Extracted packet for processing {"connection_id":161258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":764489472,"raw_latitude":92812432,"longitude_deg":76.4489472,"latitude_deg":9.2812432,"altitude":10,"angle":87,"satellites":46,"speed":40,"hex_longitude":"2d912f00","hex_latitude":"05883490","is_valid_coordinates":true} 
[2026-08-21 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537744384001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387698722055651328,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7996070745892261888,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787256825000,"timestamp_ms":1787256825000,"timestamp_seconds":1787256825,"priority":1,"record_length":96,"hex_timestamp":"000001a020cee4a8"} 
[2026-08-21 01:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537744384001,"66":27365,"111":206,"85":14080,"24":40,"16":387698722055651328,"45":-7996070745892261888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 01:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537744384001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387698722055651328,"km_value":387698722055651.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7996070745892261888,"description":"Unknown IO ID 45"} 
[2026-08-21 01:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537744384001,"power":27365,"unknown_111":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-7996070745892261888}} 
[2026-08-21 01:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":161258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:45:36] local.INFO: GPS data processed {"connection_id":161258,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:45:36] local.INFO: Acknowledgment sent {"connection_id":161258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:45:37] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cef448012d913e00058836880009004c2d..."} 
[2026-08-21 01:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cef448012d913e00058836880009004c2d..."} 
[2026-08-21 01:45:37] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cef448012d913e00058836880009004c2d..."} 
[2026-08-21 01:45:37] local.INFO: Packet analysis {"connection_id":161258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:45:37] local.INFO: Extracted packet for processing {"connection_id":161258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ce"} 
[2026-08-21 01:45:37] local.INFO: GPS Element Parsed {"raw_longitude":764493312,"raw_latitude":92812936,"longitude_deg":76.4493312,"latitude_deg":9.2812936,"altitude":9,"angle":76,"satellites":45,"speed":37,"hex_longitude":"2d913e00","hex_latitude":"05883688","is_valid_coordinates":true} 
[2026-08-21 01:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537747200001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387698911034212352,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7985163590544617472,"note":"Value kept but may cause issues"} 
[2026-08-21 01:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787256829000,"timestamp_ms":1787256829000,"timestamp_seconds":1787256829,"priority":1,"record_length":96,"hex_timestamp":"000001a020cef448"} 
[2026-08-21 01:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537747200001,"66":27234,"111":206,"85":14080,"24":37,"16":387698911034212352,"45":-7985163590544617472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 01:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537747200001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:45:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 01:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387698911034212352,"km_value":387698911034212.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7985163590544617472,"description":"Unknown IO ID 45"} 
[2026-08-21 01:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537747200001,"power":27234,"unknown_111":206,"unknown_85":14080,"ignition":37,"odometer":null,"unknown_45":-7985163590544617472}} 
[2026-08-21 01:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":161258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:45:37] local.INFO: GPS data processed {"connection_id":161258,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:45:37] local.INFO: Acknowledgment sent {"connection_id":161258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:46:08] local.INFO: TCP Data received {"connection_id":161258,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cf07d0012d9150c005883950000a00582e..."} 
[2026-08-21 01:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cf07d0012d9150c005883950000a00582e..."} 
[2026-08-21 01:46:08] local.INFO: Processing buffer {"connection_id":161258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cf07d0012d9150c005883950000a00582e..."} 
[2026-08-21 01:46:08] local.INFO: Packet analysis {"connection_id":161258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cf"} 
[2026-08-21 01:46:08] local.INFO: Extracted packet for processing {"connection_id":161258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cf"} 
[2026-08-21 01:46:08] local.INFO: GPS Element Parsed {"raw_longitude":764498112,"raw_latitude":92813648,"longitude_deg":76.4498112,"latitude_deg":9.2813648,"altitude":10,"angle":88,"satellites":46,"speed":39,"hex_longitude":"2d9150c0","hex_latitude":"05883950","is_valid_coordinates":true} 
[2026-08-21 01:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537748224001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387699142962446336,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7980941465893828608,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787256834000,"timestamp_ms":1787256834000,"timestamp_seconds":1787256834,"priority":1,"record_length":96,"hex_timestamp":"000001a020cf07d0"} 
[2026-08-21 01:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537748224001,"66":27343,"111":206,"85":14080,"24":39,"16":387699142962446336,"45":-7980941465893828608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 01:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537748224001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:46:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 01:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387699142962446336,"km_value":387699142962446.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7980941465893828608,"description":"Unknown IO ID 45"} 
[2026-08-21 01:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537748224001,"power":27343,"unknown_111":206,"unknown_85":14080,"ignition":39,"odometer":null,"unknown_45":-7980941465893828608}} 
[2026-08-21 01:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":161258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:46:08] local.INFO: GPS data processed {"connection_id":161258,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:46:08] local.INFO: Acknowledgment sent {"connection_id":161258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:46:27] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:46:27] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:46:27] local.INFO: IMEI packet received {"connection_id":161259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":161259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:46:29] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:46:29] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:46:29] local.INFO: IMEI packet received {"connection_id":161259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":161259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:46:30] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cf2af8012d91744005883a98000900582f..."} 
[2026-08-21 01:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cf2af8012d91744005883a98000900582f..."} 
[2026-08-21 01:46:30] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cf2af8012d91744005883a98000900582f..."} 
[2026-08-21 01:46:30] local.INFO: Packet analysis {"connection_id":161259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cf"} 
[2026-08-21 01:46:30] local.INFO: Extracted packet for processing {"connection_id":161259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cf"} 
[2026-08-21 01:46:30] local.INFO: GPS Element Parsed {"raw_longitude":764507200,"raw_latitude":92813976,"longitude_deg":76.45072,"latitude_deg":9.2813976,"altitude":9,"angle":88,"satellites":47,"speed":40,"hex_longitude":"2d917440","hex_latitude":"05883a98","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537749504001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387699581049110528,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7975663810080321536,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787256843000,"timestamp_ms":1787256843000,"timestamp_seconds":1787256843,"priority":1,"record_length":96,"hex_timestamp":"000001a020cf2af8"} 
[2026-08-21 01:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537749504001,"66":27343,"111":206,"85":14080,"24":40,"16":387699581049110528,"45":-7975663810080321536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 01:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537749504001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:46:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 01:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387699581049110528,"km_value":387699581049110.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7975663810080321536,"description":"Unknown IO ID 45"} 
[2026-08-21 01:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537749504001,"power":27343,"unknown_111":206,"unknown_85":14080,"ignition":40,"odometer":null,"unknown_45":-7975663810080321536}} 
[2026-08-21 01:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":161259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:46:30] local.INFO: GPS data processed {"connection_id":161259,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:46:30] local.INFO: Acknowledgment sent {"connection_id":161259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:46:32] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020cf4e20012d91994005883bb0000800582f..."} 
[2026-08-21 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020cf4e20012d91994005883bb0000800582f..."} 
[2026-08-21 01:46:32] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020cf4e20012d91994005883bb0000800582f..."} 
[2026-08-21 01:46:32] local.INFO: Packet analysis {"connection_id":161259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020cf"} 
[2026-08-21 01:46:32] local.INFO: Extracted packet for processing {"connection_id":161259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020cf"} 
[2026-08-21 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":764516672,"raw_latitude":92814256,"longitude_deg":76.4516672,"latitude_deg":9.2814256,"altitude":8,"angle":88,"satellites":47,"speed":42,"hex_longitude":"2d919940","hex_latitude":"05883bb0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537751808001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387700032020676608,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7965671448407009280,"note":"Value kept but may cause issues"} 
[2026-08-21 01:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787256852000,"timestamp_ms":1787256852000,"timestamp_seconds":1787256852,"priority":1,"record_length":96,"hex_timestamp":"000001a020cf4e20"} 
[2026-08-21 01:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537751808001,"66":27376,"111":206,"85":14080,"24":42,"16":387700032020676608,"45":-7965671448407009280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 01:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537751808001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:46:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 01:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387700032020676608,"km_value":387700032020676.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7965671448407009280,"description":"Unknown IO ID 45"} 
[2026-08-21 01:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537751808001,"power":27376,"unknown_111":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-7965671448407009280}} 
[2026-08-21 01:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":161259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:46:32] local.INFO: GPS data processed {"connection_id":161259,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:46:32] local.INFO: Acknowledgment sent {"connection_id":161259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:47:03] local.INFO: TCP Data received {"connection_id":161259,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d0ec30012d92c40005880348000b008d2e..."} 
[2026-08-21 01:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d0ec30012d92c40005880348000b008d2e..."} 
[2026-08-21 01:47:03] local.INFO: Processing buffer {"connection_id":161259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d0ec30012d92c40005880348000b008d2e..."} 
[2026-08-21 01:47:03] local.INFO: Packet analysis {"connection_id":161259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d0"} 
[2026-08-21 01:47:03] local.INFO: Extracted packet for processing {"connection_id":161259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d0"} 
[2026-08-21 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":764593152,"raw_latitude":92799816,"longitude_deg":76.4593152,"latitude_deg":9.2799816,"altitude":11,"angle":141,"satellites":46,"speed":22,"hex_longitude":"2d92c400","hex_latitude":"05880348","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537779456001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387703914671112192,"note":"Value kept but may cause issues"} 
[2026-08-21 01:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7874895768420851712,"note":"Value kept but may cause issues"} 
[2026-08-21 01:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787256958000,"timestamp_ms":1787256958000,"timestamp_seconds":1787256958,"priority":1,"record_length":96,"hex_timestamp":"000001a020d0ec30"} 
[2026-08-21 01:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537779456001,"66":27104,"127":206,"85":14080,"24":22,"16":387703914671112192,"45":-7874895768420851712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537779456001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:47:03] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:47:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387703914671112192,"km_value":387703914671112.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7874895768420851712,"description":"Unknown IO ID 45"} 
[2026-08-21 01:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537779456001,"power":27104,"unknown_127":206,"unknown_85":14080,"ignition":22,"odometer":null,"unknown_45":-7874895768420851712}} 
[2026-08-21 01:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":161259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:47:03] local.INFO: GPS data processed {"connection_id":161259,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:47:03] local.INFO: Acknowledgment sent {"connection_id":161259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:47:27] local.INFO: TCP Data received {"connection_id":158736,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:47:27] local.INFO: Processing buffer {"connection_id":158736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:47:27] local.INFO: IMEI packet received {"connection_id":158736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":158736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:47:30] local.INFO: TCP Data received {"connection_id":158736,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:47:30] local.INFO: Processing buffer {"connection_id":158736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:47:30] local.INFO: IMEI packet received {"connection_id":158736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":158736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:47:31] local.INFO: TCP Data received {"connection_id":158736,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d103a0012d92cac00587f700000a009a2e..."} 
[2026-08-21 01:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d103a0012d92cac00587f700000a009a2e..."} 
[2026-08-21 01:47:31] local.INFO: Processing buffer {"connection_id":158736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d103a0012d92cac00587f700000a009a2e..."} 
[2026-08-21 01:47:31] local.INFO: Packet analysis {"connection_id":158736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:47:31] local.INFO: Extracted packet for processing {"connection_id":158736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:47:31] local.INFO: GPS Element Parsed {"raw_longitude":764594880,"raw_latitude":92796672,"longitude_deg":76.459488,"latitude_deg":9.2796672,"altitude":10,"angle":154,"satellites":46,"speed":23,"hex_longitude":"2d92cac0","hex_latitude":"0587f700","is_valid_coordinates":true} 
[2026-08-21 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537781248001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704090764771328,"note":"Value kept but may cause issues"} 
[2026-08-21 01:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7871166224980031488,"note":"Value kept but may cause issues"} 
[2026-08-21 01:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787256964000,"timestamp_ms":1787256964000,"timestamp_seconds":1787256964,"priority":1,"record_length":96,"hex_timestamp":"000001a020d103a0"} 
[2026-08-21 01:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:47: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-08-21 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 01:47: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-08-21 01:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537781248001,"66":27321,"127":206,"85":14080,"24":23,"16":387704090764771328,"45":-7871166224980031488},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537781248001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704090764771328,"km_value":387704090764771.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7871166224980031488,"description":"Unknown IO ID 45"} 
[2026-08-21 01:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537781248001,"power":27321,"unknown_127":206,"unknown_85":14080,"ignition":23,"odometer":null,"unknown_45":-7871166224980031488}} 
[2026-08-21 01:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":158736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:47:31] local.INFO: GPS data processed {"connection_id":158736,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:47:31] local.INFO: Acknowledgment sent {"connection_id":158736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:48:02] local.INFO: TCP Data received {"connection_id":158736,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d11b10012d92ce800587ed20000a00a72d..."} 
[2026-08-21 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d11b10012d92ce800587ed20000a00a72d..."} 
[2026-08-21 01:48:02] local.INFO: Processing buffer {"connection_id":158736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d11b10012d92ce800587ed20000a00a72d..."} 
[2026-08-21 01:48:02] local.INFO: Packet analysis {"connection_id":158736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:48:02] local.INFO: Extracted packet for processing {"connection_id":158736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:48:02] local.INFO: GPS Element Parsed {"raw_longitude":764595840,"raw_latitude":92794144,"longitude_deg":76.459584,"latitude_deg":9.2794144,"altitude":10,"angle":167,"satellites":45,"speed":9,"hex_longitude":"2d92ce80","hex_latitude":"0587ed20","is_valid_coordinates":true} 
[2026-08-21 01:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537782784001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704223908757504,"note":"Value kept but may cause issues"} 
[2026-08-21 01:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7869266268888039424,"note":"Value kept but may cause issues"} 
[2026-08-21 01:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787256970000,"timestamp_ms":1787256970000,"timestamp_seconds":1787256970,"priority":1,"record_length":96,"hex_timestamp":"000001a020d11b10"} 
[2026-08-21 01:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537782784001,"66":27376,"127":206,"85":14080,"24":9,"16":387704223908757504,"45":-7869266268888039424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537782784001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:48:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704223908757504,"km_value":387704223908757.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7869266268888039424,"description":"Unknown IO ID 45"} 
[2026-08-21 01:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537782784001,"power":27376,"unknown_127":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-7869266268888039424}} 
[2026-08-21 01:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":158736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:48:02] local.INFO: GPS data processed {"connection_id":158736,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:48:02] local.INFO: Acknowledgment sent {"connection_id":158736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:48:27] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:48:27] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:48:27] local.INFO: IMEI packet received {"connection_id":161260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":161260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:48:32] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:48:32] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:48:32] local.INFO: IMEI packet received {"connection_id":161260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":161260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:48:33] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d16d18012d92cf400587ebf0000a00a72a..."} 
[2026-08-21 01:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d16d18012d92cf400587ebf0000a00a72a..."} 
[2026-08-21 01:48:33] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d16d18012d92cf400587ebf0000a00a72a..."} 
[2026-08-21 01:48:33] local.INFO: Packet analysis {"connection_id":161260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:48:33] local.INFO: Extracted packet for processing {"connection_id":161260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:48:33] local.INFO: GPS Element Parsed {"raw_longitude":764596032,"raw_latitude":92793840,"longitude_deg":76.4596032,"latitude_deg":9.279384,"altitude":10,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d92cf40","hex_latitude":"0587ebf0","is_valid_coordinates":true} 
[2026-08-21 01:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537784320001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704241088626688,"note":"Value kept but may cause issues"} 
[2026-08-21 01:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7868210737726021632,"note":"Value kept but may cause issues"} 
[2026-08-21 01:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787256991000,"timestamp_ms":1787256991000,"timestamp_seconds":1787256991,"priority":1,"record_length":96,"hex_timestamp":"000001a020d16d18"} 
[2026-08-21 01:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 01:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537784320001,"66":27376,"127":206,"85":14080,"24":0,"16":387704241088626688,"45":-7868210737726021632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537784320001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:48:33] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:48:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704241088626688,"km_value":387704241088626.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7868210737726021632,"description":"Unknown IO ID 45"} 
[2026-08-21 01:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537784320001,"power":27376,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7868210737726021632}} 
[2026-08-21 01:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":161260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:48:33] local.INFO: GPS data processed {"connection_id":161260,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:48:33] local.INFO: Acknowledgment sent {"connection_id":161260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:49:04] local.INFO: TCP Data received {"connection_id":161260,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d1bf20012d92cf400587ebf0000a00a72a..."} 
[2026-08-21 01:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d1bf20012d92cf400587ebf0000a00a72a..."} 
[2026-08-21 01:49:04] local.INFO: Processing buffer {"connection_id":161260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d1bf20012d92cf400587ebf0000a00a72a..."} 
[2026-08-21 01:49:04] local.INFO: Packet analysis {"connection_id":161260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:49:04] local.INFO: Extracted packet for processing {"connection_id":161260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d1"} 
[2026-08-21 01:49:04] local.INFO: GPS Element Parsed {"raw_longitude":764596032,"raw_latitude":92793840,"longitude_deg":76.4596032,"latitude_deg":9.279384,"altitude":10,"angle":167,"satellites":42,"speed":0,"hex_longitude":"2d92cf40","hex_latitude":"0587ebf0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537789696001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704241088626688,"note":"Value kept but may cause issues"} 
[2026-08-21 01:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7867999631493566464,"note":"Value kept but may cause issues"} 
[2026-08-21 01:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787257012000,"timestamp_ms":1787257012000,"timestamp_seconds":1787257012,"priority":1,"record_length":96,"hex_timestamp":"000001a020d1bf20"} 
[2026-08-21 01:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 01:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537789696001,"66":27104,"127":206,"85":14080,"24":0,"16":387704241088626688,"45":-7867999631493566464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537789696001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:49:04] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:49:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704241088626688,"km_value":387704241088626.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7867999631493566464,"description":"Unknown IO ID 45"} 
[2026-08-21 01:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537789696001,"power":27104,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7867999631493566464}} 
[2026-08-21 01:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":161260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:49:04] local.INFO: GPS data processed {"connection_id":161260,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:49:04] local.INFO: Acknowledgment sent {"connection_id":161260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:49:27] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:49:27] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:49:27] local.INFO: IMEI packet received {"connection_id":159018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":159018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:49:32] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:49:32] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:49:32] local.INFO: IMEI packet received {"connection_id":159018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":159018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:49:33] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d21128012d92cf400587ebf0000a00a72b..."} 
[2026-08-21 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d21128012d92cf400587ebf0000a00a72b..."} 
[2026-08-21 01:49:33] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d21128012d92cf400587ebf0000a00a72b..."} 
[2026-08-21 01:49:33] local.INFO: Packet analysis {"connection_id":159018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d2"} 
[2026-08-21 01:49:33] local.INFO: Extracted packet for processing {"connection_id":159018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d2"} 
[2026-08-21 01:49:33] local.INFO: GPS Element Parsed {"raw_longitude":764596032,"raw_latitude":92793840,"longitude_deg":76.4596032,"latitude_deg":9.279384,"altitude":10,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d92cf40","hex_latitude":"0587ebf0","is_valid_coordinates":true} 
[2026-08-21 01:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537795072001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704241088626688,"note":"Value kept but may cause issues"} 
[2026-08-21 01:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7867999631493566464,"note":"Value kept but may cause issues"} 
[2026-08-21 01:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787257033000,"timestamp_ms":1787257033000,"timestamp_seconds":1787257033,"priority":1,"record_length":96,"hex_timestamp":"000001a020d21128"} 
[2026-08-21 01:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 01:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537795072001,"66":27300,"127":206,"85":14080,"24":0,"16":387704241088626688,"45":-7867999631493566464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537795072001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:49:33] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704241088626688,"km_value":387704241088626.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7867999631493566464,"description":"Unknown IO ID 45"} 
[2026-08-21 01:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537795072001,"power":27300,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7867999631493566464}} 
[2026-08-21 01:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":159018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:49:33] local.INFO: GPS data processed {"connection_id":159018,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:49:33] local.INFO: Acknowledgment sent {"connection_id":159018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:50:04] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d26330012d92cf400587ebf0000a00a72b..."} 
[2026-08-21 01:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d26330012d92cf400587ebf0000a00a72b..."} 
[2026-08-21 01:50:04] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d26330012d92cf400587ebf0000a00a72b..."} 
[2026-08-21 01:50:04] local.INFO: Packet analysis {"connection_id":159018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d2"} 
[2026-08-21 01:50:04] local.INFO: Extracted packet for processing {"connection_id":159018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d2"} 
[2026-08-21 01:50:04] local.INFO: GPS Element Parsed {"raw_longitude":764596032,"raw_latitude":92793840,"longitude_deg":76.4596032,"latitude_deg":9.279384,"altitude":10,"angle":167,"satellites":43,"speed":0,"hex_longitude":"2d92cf40","hex_latitude":"0587ebf0","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537800448001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704241088626688,"note":"Value kept but may cause issues"} 
[2026-08-21 01:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7867999631493566464,"note":"Value kept but may cause issues"} 
[2026-08-21 01:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787257054000,"timestamp_ms":1787257054000,"timestamp_seconds":1787257054,"priority":1,"record_length":96,"hex_timestamp":"000001a020d26330"} 
[2026-08-21 01:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 01:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537800448001,"66":27397,"127":206,"85":14080,"24":0,"16":387704241088626688,"45":-7867999631493566464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537800448001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:50:04] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:50:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704241088626688,"km_value":387704241088626.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7867999631493566464,"description":"Unknown IO ID 45"} 
[2026-08-21 01:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537800448001,"power":27397,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7867999631493566464}} 
[2026-08-21 01:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":159018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:50:04] local.INFO: GPS data processed {"connection_id":159018,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:50:04] local.INFO: Acknowledgment sent {"connection_id":159018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:50:27] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:50:27] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:50:27] local.INFO: IMEI packet received {"connection_id":158737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":158737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:50:32] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:50:32] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:50:32] local.INFO: IMEI packet received {"connection_id":158737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":158737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:50:33] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d2b538012d92d3000587e630000d00a72e..."} 
[2026-08-21 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d2b538012d92d3000587e630000d00a72e..."} 
[2026-08-21 01:50:33] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d2b538012d92d3000587e630000d00a72e..."} 
[2026-08-21 01:50:33] local.INFO: Packet analysis {"connection_id":158737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d2"} 
[2026-08-21 01:50:33] local.INFO: Extracted packet for processing {"connection_id":158737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d2"} 
[2026-08-21 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":764596992,"raw_latitude":92792368,"longitude_deg":76.4596992,"latitude_deg":9.2792368,"altitude":13,"angle":167,"satellites":46,"speed":4,"hex_longitude":"2d92d300","hex_latitude":"0587e630","is_valid_coordinates":true} 
[2026-08-21 01:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537805824001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704339872874496,"note":"Value kept but may cause issues"} 
[2026-08-21 01:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7867999631493566464,"note":"Value kept but may cause issues"} 
[2026-08-21 01:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787257075000,"timestamp_ms":1787257075000,"timestamp_seconds":1787257075,"priority":1,"record_length":96,"hex_timestamp":"000001a020d2b538"} 
[2026-08-21 01:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 01:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537805824001,"66":27365,"127":206,"85":14080,"24":4,"16":387704339872874496,"45":-7867999631493566464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537805824001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:50:33] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:50:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704339872874496,"km_value":387704339872874.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7867999631493566464,"description":"Unknown IO ID 45"} 
[2026-08-21 01:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537805824001,"power":27365,"unknown_127":206,"unknown_85":14080,"ignition":4,"odometer":null,"unknown_45":-7867999631493566464}} 
[2026-08-21 01:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":158737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:50:33] local.INFO: GPS data processed {"connection_id":158737,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:50:33] local.INFO: Acknowledgment sent {"connection_id":158737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:51:04] local.INFO: TCP Data received {"connection_id":158737,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d30740012d92d3800587e370000d00a22d..."} 
[2026-08-21 01:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d30740012d92d3800587e370000d00a22d..."} 
[2026-08-21 01:51:04] local.INFO: Processing buffer {"connection_id":158737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d30740012d92d3800587e370000d00a22d..."} 
[2026-08-21 01:51:04] local.INFO: Packet analysis {"connection_id":158737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d3"} 
[2026-08-21 01:51:04] local.INFO: Extracted packet for processing {"connection_id":158737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d3"} 
[2026-08-21 01:51:04] local.INFO: GPS Element Parsed {"raw_longitude":764597120,"raw_latitude":92791664,"longitude_deg":76.459712,"latitude_deg":9.2791664,"altitude":13,"angle":162,"satellites":45,"speed":0,"hex_longitude":"2d92d380","hex_latitude":"0587e370","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537811200001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704378527580160,"note":"Value kept but may cause issues"} 
[2026-08-21 01:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7866944100331278336,"note":"Value kept but may cause issues"} 
[2026-08-21 01:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787257096000,"timestamp_ms":1787257096000,"timestamp_seconds":1787257096,"priority":1,"record_length":96,"hex_timestamp":"000001a020d30740"} 
[2026-08-21 01:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537811200001,"66":27484,"127":206,"85":14080,"24":0,"16":387704378527580160,"45":-7866944100331278336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537811200001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:51:04] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704378527580160,"km_value":387704378527580.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7866944100331278336,"description":"Unknown IO ID 45"} 
[2026-08-21 01:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537811200001,"power":27484,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7866944100331278336}} 
[2026-08-21 01:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":158737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:51:04] local.INFO: GPS data processed {"connection_id":158737,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:51:04] local.INFO: Acknowledgment sent {"connection_id":158737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:51:27] local.INFO: TCP Data received {"connection_id":158738,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:51:27] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:51:27] local.INFO: IMEI packet received {"connection_id":158738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":158738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:51:32] local.INFO: TCP Data received {"connection_id":158738,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:51:32] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:51:32] local.INFO: IMEI packet received {"connection_id":158738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":158738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:51:33] local.INFO: TCP Data received {"connection_id":158738,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d35948012d92d3800587e370000d00a22c..."} 
[2026-08-21 01:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d35948012d92d3800587e370000d00a22c..."} 
[2026-08-21 01:51:33] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d35948012d92d3800587e370000d00a22c..."} 
[2026-08-21 01:51:33] local.INFO: Packet analysis {"connection_id":158738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d3"} 
[2026-08-21 01:51:33] local.INFO: Extracted packet for processing {"connection_id":158738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d3"} 
[2026-08-21 01:51:33] local.INFO: GPS Element Parsed {"raw_longitude":764597120,"raw_latitude":92791664,"longitude_deg":76.459712,"latitude_deg":9.2791664,"altitude":13,"angle":162,"satellites":44,"speed":0,"hex_longitude":"2d92d380","hex_latitude":"0587e370","is_valid_coordinates":true} 
[2026-08-21 01:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537816576001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704378527580160,"note":"Value kept but may cause issues"} 
[2026-08-21 01:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7866803362843103232,"note":"Value kept but may cause issues"} 
[2026-08-21 01:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787257117000,"timestamp_ms":1787257117000,"timestamp_seconds":1787257117,"priority":1,"record_length":96,"hex_timestamp":"000001a020d35948"} 
[2026-08-21 01:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 01:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537816576001,"66":27713,"127":206,"85":14080,"24":0,"16":387704378527580160,"45":-7866803362843103232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537816576001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:51:33] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704378527580160,"km_value":387704378527580.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7866803362843103232,"description":"Unknown IO ID 45"} 
[2026-08-21 01:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537816576001,"power":27713,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7866803362843103232}} 
[2026-08-21 01:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":158738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:51:33] local.INFO: GPS data processed {"connection_id":158738,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:51:33] local.INFO: Acknowledgment sent {"connection_id":158738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:52:04] local.INFO: TCP Data received {"connection_id":158738,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d3ab50012d92d3800587e370000d00a22d..."} 
[2026-08-21 01:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d3ab50012d92d3800587e370000d00a22d..."} 
[2026-08-21 01:52:04] local.INFO: Processing buffer {"connection_id":158738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d3ab50012d92d3800587e370000d00a22d..."} 
[2026-08-21 01:52:04] local.INFO: Packet analysis {"connection_id":158738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d3"} 
[2026-08-21 01:52:04] local.INFO: Extracted packet for processing {"connection_id":158738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d3"} 
[2026-08-21 01:52:04] local.INFO: GPS Element Parsed {"raw_longitude":764597120,"raw_latitude":92791664,"longitude_deg":76.459712,"latitude_deg":9.2791664,"altitude":13,"angle":162,"satellites":45,"speed":0,"hex_longitude":"2d92d380","hex_latitude":"0587e370","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537821952001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387704378527580160,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7866803362843103232,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787257138000,"timestamp_ms":1787257138000,"timestamp_seconds":1787257138,"priority":1,"record_length":96,"hex_timestamp":"000001a020d3ab50"} 
[2026-08-21 01:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 01:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537821952001,"66":27767,"127":206,"85":14080,"24":0,"16":387704378527580160,"45":-7866803362843103232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537821952001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:52:04] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:52:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387704378527580160,"km_value":387704378527580.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7866803362843103232,"description":"Unknown IO ID 45"} 
[2026-08-21 01:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537821952001,"power":27767,"unknown_127":206,"unknown_85":14080,"ignition":0,"odometer":null,"unknown_45":-7866803362843103232}} 
[2026-08-21 01:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":158738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:52:04] local.INFO: GPS data processed {"connection_id":158738,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:52:04] local.INFO: Acknowledgment sent {"connection_id":158738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:52:31] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:31] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:31] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:52:32] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:32] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:32] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:52:38] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:38] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:52:38] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:52:39] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d5fd10012d92dc00058744e8000a00b12f..."} 
[2026-08-21 01:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d5fd10012d92dc00058744e8000a00b12f..."} 
[2026-08-21 01:52:39] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d5fd10012d92dc00058744e8000a00b12f..."} 
[2026-08-21 01:52:39] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d5"} 
[2026-08-21 01:52:39] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d5"} 
[2026-08-21 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":764599296,"raw_latitude":92751080,"longitude_deg":76.4599296,"latitude_deg":9.275108,"altitude":10,"angle":177,"satellites":47,"speed":46,"hex_longitude":"2d92dc00","hex_latitude":"058744e8","is_valid_coordinates":true} 
[2026-08-21 01:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537864192001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387706358507503616,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7864481194293278720,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787257290000,"timestamp_ms":1787257290000,"timestamp_seconds":1787257290,"priority":1,"record_length":96,"hex_timestamp":"000001a020d5fd10"} 
[2026-08-21 01:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537864192001,"66":27321,"127":206,"85":14080,"24":46,"16":387706358507503616,"45":-7864481194293278720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537864192001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:52:39] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:52:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387706358507503616,"km_value":387706358507503.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7864481194293278720,"description":"Unknown IO ID 45"} 
[2026-08-21 01:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537864192001,"power":27321,"unknown_127":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-7864481194293278720}} 
[2026-08-21 01:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:52:39] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:52:39] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:52:40] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d61c50012d92dac005871fa8000b00b12f..."} 
[2026-08-21 01:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d61c50012d92dac005871fa8000b00b12f..."} 
[2026-08-21 01:52:40] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d61c50012d92dac005871fa8000b00b12f..."} 
[2026-08-21 01:52:40] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d6"} 
[2026-08-21 01:52:40] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d6"} 
[2026-08-21 01:52:40] local.INFO: GPS Element Parsed {"raw_longitude":764598976,"raw_latitude":92741544,"longitude_deg":76.4598976,"latitude_deg":9.2741544,"altitude":11,"angle":177,"satellites":47,"speed":48,"hex_longitude":"2d92dac0","hex_latitude":"05871fa8","is_valid_coordinates":true} 
[2026-08-21 01:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537866240001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387706822363971584,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7864410825551452160,"note":"Value kept but may cause issues"} 
[2026-08-21 01:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787257298000,"timestamp_ms":1787257298000,"timestamp_seconds":1787257298,"priority":1,"record_length":96,"hex_timestamp":"000001a020d61c50"} 
[2026-08-21 01:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 01:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537866240001,"66":27267,"127":206,"85":14080,"24":48,"16":387706822363971584,"45":-7864410825551452160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 01:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537866240001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:52:40] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 01:52:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387706822363971584,"km_value":387706822363971.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7864410825551452160,"description":"Unknown IO ID 45"} 
[2026-08-21 01:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537866240001,"power":27267,"unknown_127":206,"unknown_85":14080,"ignition":48,"odometer":null,"unknown_45":-7864410825551452160}} 
[2026-08-21 01:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:52:40] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:52:40] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:53:11] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d63b90012d92df800586f868000a00a92f..."} 
[2026-08-21 01:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d63b90012d92df800586f868000a00a92f..."} 
[2026-08-21 01:53:11] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d63b90012d92df800586f868000a00a92f..."} 
[2026-08-21 01:53:11] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d6"} 
[2026-08-21 01:53:11] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d6"} 
[2026-08-21 01:53:11] local.INFO: GPS Element Parsed {"raw_longitude":764600192,"raw_latitude":92731496,"longitude_deg":76.4600192,"latitude_deg":9.2731496,"altitude":10,"angle":169,"satellites":47,"speed":52,"hex_longitude":"2d92df80","hex_latitude":"0586f868","is_valid_coordinates":true} 
[2026-08-21 01:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537868288001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387707316285210624,"note":"Value kept but may cause issues"} 
[2026-08-21 01:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7864762669274781696,"note":"Value kept but may cause issues"} 
[2026-08-21 01:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787257306000,"timestamp_ms":1787257306000,"timestamp_seconds":1787257306,"priority":1,"record_length":96,"hex_timestamp":"000001a020d63b90"} 
[2026-08-21 01:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537868288001,"66":27234,"155":206,"85":14080,"24":52,"16":387707316285210624,"45":-7864762669274781696},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 01:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537868288001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387707316285210624,"km_value":387707316285210.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7864762669274781696,"description":"Unknown IO ID 45"} 
[2026-08-21 01:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537868288001,"power":27234,"unknown_155":206,"unknown_85":14080,"ignition":52,"odometer":null,"unknown_45":-7864762669274781696}} 
[2026-08-21 01:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:53:11] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:53:11] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:53:27] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:53:27] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:53:27] local.INFO: IMEI packet received {"connection_id":159883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":159883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:53:30] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:53:30] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:53:30] local.INFO: IMEI packet received {"connection_id":159883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":159883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:53:31] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d656e8012d92e6c00586d4b8000a00a82f..."} 
[2026-08-21 01:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d656e8012d92e6c00586d4b8000a00a82f..."} 
[2026-08-21 01:53:31] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d656e8012d92e6c00586d4b8000a00a82f..."} 
[2026-08-21 01:53:31] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d6"} 
[2026-08-21 01:53:31] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d6"} 
[2026-08-21 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":764602048,"raw_latitude":92722360,"longitude_deg":76.4602048,"latitude_deg":9.272236,"altitude":10,"angle":168,"satellites":47,"speed":54,"hex_longitude":"2d92e6c0","hex_latitude":"0586d4b8","is_valid_coordinates":true} 
[2026-08-21 01: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-08-21 01:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537870336001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387707767256776704,"note":"Value kept but may cause issues"} 
[2026-08-21 01:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7863425663137978368,"note":"Value kept but may cause issues"} 
[2026-08-21 01:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787257313000,"timestamp_ms":1787257313000,"timestamp_seconds":1787257313,"priority":1,"record_length":96,"hex_timestamp":"000001a020d656e8"} 
[2026-08-21 01:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537870336001,"66":27234,"155":206,"85":14080,"24":54,"16":387707767256776704,"45":-7863425663137978368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 01:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537870336001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 01:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387707767256776704,"km_value":387707767256776.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7863425663137978368,"description":"Unknown IO ID 45"} 
[2026-08-21 01:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537870336001,"power":27234,"unknown_155":206,"unknown_85":14080,"ignition":54,"odometer":null,"unknown_45":-7863425663137978368}} 
[2026-08-21 01:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:53:31] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:53:31] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:54:02] local.INFO: TCP Data received {"connection_id":159883,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d76858012d933e0005856480000a009e2e..."} 
[2026-08-21 01:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d76858012d933e0005856480000a009e2e..."} 
[2026-08-21 01:54:02] local.INFO: Processing buffer {"connection_id":159883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d76858012d933e0005856480000a009e2e..."} 
[2026-08-21 01:54:02] local.INFO: Packet analysis {"connection_id":159883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:54:02] local.INFO: Extracted packet for processing {"connection_id":159883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:54:02] local.INFO: GPS Element Parsed {"raw_longitude":764624384,"raw_latitude":92628096,"longitude_deg":76.4624384,"latitude_deg":9.2628096,"altitude":10,"angle":158,"satellites":46,"speed":28,"hex_longitude":"2d933e00","hex_latitude":"05856480","is_valid_coordinates":true} 
[2026-08-21 01:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537889024001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387712487425835008,"note":"Value kept but may cause issues"} 
[2026-08-21 01:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7838515127724912640,"note":"Value kept but may cause issues"} 
[2026-08-21 01:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787257383000,"timestamp_ms":1787257383000,"timestamp_seconds":1787257383,"priority":1,"record_length":96,"hex_timestamp":"000001a020d76858"} 
[2026-08-21 01:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537889024001,"66":27332,"169":206,"85":15360,"24":28,"16":387712487425835008,"45":-7838515127724912640},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 01:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537889024001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:54:02] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 01:54:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387712487425835008,"km_value":387712487425835.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7838515127724912640,"description":"Unknown IO ID 45"} 
[2026-08-21 01:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537889024001,"power":27332,"unknown_169":206,"unknown_85":15360,"ignition":28,"odometer":null,"unknown_45":-7838515127724912640}} 
[2026-08-21 01:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":159883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:54:02] local.INFO: GPS data processed {"connection_id":159883,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:54:02] local.INFO: Acknowledgment sent {"connection_id":159883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:54:28] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:54:28] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:54:28] local.INFO: IMEI packet received {"connection_id":161261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":161261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:54:31] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:54:31] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:54:31] local.INFO: IMEI packet received {"connection_id":161261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":161261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:54:32] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d79350012d934a40058541d0000a00a02e..."} 
[2026-08-21 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d79350012d934a40058541d0000a00a02e..."} 
[2026-08-21 01:54:32] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d79350012d934a40058541d0000a00a02e..."} 
[2026-08-21 01:54:32] local.INFO: Packet analysis {"connection_id":161261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:54:32] local.INFO: Extracted packet for processing {"connection_id":161261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":764627520,"raw_latitude":92619216,"longitude_deg":76.462752,"latitude_deg":9.2619216,"altitude":10,"angle":160,"satellites":46,"speed":39,"hex_longitude":"2d934a40","hex_latitude":"058541d0","is_valid_coordinates":true} 
[2026-08-21 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537890048001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387712942692368384,"note":"Value kept but may cause issues"} 
[2026-08-21 01:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7836826277865291776,"note":"Value kept but may cause issues"} 
[2026-08-21 01:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787257394000,"timestamp_ms":1787257394000,"timestamp_seconds":1787257394,"priority":1,"record_length":96,"hex_timestamp":"000001a020d79350"} 
[2026-08-21 01:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537890048001,"66":27213,"169":206,"85":15360,"24":39,"16":387712942692368384,"45":-7836826277865291776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 01:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537890048001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:54:32] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 01:54:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387712942692368384,"km_value":387712942692368.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7836826277865291776,"description":"Unknown IO ID 45"} 
[2026-08-21 01:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537890048001,"power":27213,"unknown_169":206,"unknown_85":15360,"ignition":39,"odometer":null,"unknown_45":-7836826277865291776}} 
[2026-08-21 01:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":161261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:54:32] local.INFO: GPS data processed {"connection_id":161261,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:54:32] local.INFO: Acknowledgment sent {"connection_id":161261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:55:03] local.INFO: TCP Data received {"connection_id":161261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d7b678012d9355c005851e40000a00a22c..."} 
[2026-08-21 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d7b678012d9355c005851e40000a00a22c..."} 
[2026-08-21 01:55:03] local.INFO: Processing buffer {"connection_id":161261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d7b678012d9355c005851e40000a00a22c..."} 
[2026-08-21 01:55:03] local.INFO: Packet analysis {"connection_id":161261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:55:03] local.INFO: Extracted packet for processing {"connection_id":161261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":764630464,"raw_latitude":92610112,"longitude_deg":76.4630464,"latitude_deg":9.2610112,"altitude":10,"angle":162,"satellites":44,"speed":43,"hex_longitude":"2d9355c0","hex_latitude":"05851e40","is_valid_coordinates":true} 
[2026-08-21 01:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537892864001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387713406548836352,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7833378209402859520,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787257403000,"timestamp_ms":1787257403000,"timestamp_seconds":1787257403,"priority":1,"record_length":96,"hex_timestamp":"000001a020d7b678"} 
[2026-08-21 01:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 01:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537892864001,"66":27365,"169":206,"85":15360,"24":43,"16":387713406548836352,"45":-7833378209402859520},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 01:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537892864001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:55:03] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 01:55:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387713406548836352,"km_value":387713406548836.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7833378209402859520,"description":"Unknown IO ID 45"} 
[2026-08-21 01:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537892864001,"power":27365,"unknown_169":206,"unknown_85":15360,"ignition":43,"odometer":null,"unknown_45":-7833378209402859520}} 
[2026-08-21 01:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":161261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:55:03] local.INFO: GPS data processed {"connection_id":161261,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:55:03] local.INFO: Acknowledgment sent {"connection_id":161261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:55:27] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:27] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:27] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:55:30] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:30] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:30] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:55:32] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:32] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:55:32] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:55:33] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d7d9a0012d935f400584fb68000a00a62d..."} 
[2026-08-21 01:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d7d9a0012d935f400584fb68000a00a62d..."} 
[2026-08-21 01:55:33] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d7d9a0012d935f400584fb68000a00a62d..."} 
[2026-08-21 01:55:33] local.INFO: Packet analysis {"connection_id":159020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:55:33] local.INFO: Extracted packet for processing {"connection_id":159020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d7"} 
[2026-08-21 01:55:33] local.INFO: GPS Element Parsed {"raw_longitude":764632896,"raw_latitude":92601192,"longitude_deg":76.4632896,"latitude_deg":9.2601192,"altitude":10,"angle":166,"satellites":45,"speed":35,"hex_longitude":"2d935f40","hex_latitude":"0584fb68","is_valid_coordinates":true} 
[2026-08-21 01:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537895168001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387713853225435136,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7830141247173017600,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787257412000,"timestamp_ms":1787257412000,"timestamp_seconds":1787257412,"priority":1,"record_length":96,"hex_timestamp":"000001a020d7d9a0"} 
[2026-08-21 01:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01: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-08-21 01:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537895168001,"66":27234,"169":206,"85":15360,"24":35,"16":387713853225435136,"45":-7830141247173017600},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 01:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537895168001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:55:33] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 01:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387713853225435136,"km_value":387713853225435.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7830141247173017600,"description":"Unknown IO ID 45"} 
[2026-08-21 01:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537895168001,"power":27234,"unknown_169":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7830141247173017600}} 
[2026-08-21 01:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":159020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:55:33] local.INFO: GPS data processed {"connection_id":159020,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:55:33] local.INFO: Acknowledgment sent {"connection_id":159020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:55:37] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a020d800b0012d936a000584d8a0000900a72e..."} 
[2026-08-21 01:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d800b0012d936a000584d8a0000900a72e..."} 
[2026-08-21 01:55:37] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d800b0012d936a000584d8a0000900a72e..."} 
[2026-08-21 01:55:37] local.INFO: Packet analysis {"connection_id":159020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d8"} 
[2026-08-21 01:55:37] local.INFO: Extracted packet for processing {"connection_id":159020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d8"} 
[2026-08-21 01:55:37] local.INFO: GPS Element Parsed {"raw_longitude":764635648,"raw_latitude":92592288,"longitude_deg":76.4635648,"latitude_deg":9.2592288,"altitude":9,"angle":167,"satellites":46,"speed":36,"hex_longitude":"2d936a00","hex_latitude":"0584d8a0","is_valid_coordinates":true} 
[2026-08-21 01:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537897472001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387714304197001216,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7827467234896549888,"note":"Value kept but may cause issues"} 
[2026-08-21 01:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787257422000,"timestamp_ms":1787257422000,"timestamp_seconds":1787257422,"priority":1,"record_length":96,"hex_timestamp":"000001a020d800b0"} 
[2026-08-21 01:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 01:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537897472001,"66":27267,"169":206,"85":15360,"24":36,"16":387714304197001216,"45":-7827467234896549888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 01:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537897472001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:55:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 01:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387714304197001216,"km_value":387714304197001.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7827467234896549888,"description":"Unknown IO ID 45"} 
[2026-08-21 01:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537897472001,"power":27267,"unknown_169":206,"unknown_85":15360,"ignition":36,"odometer":null,"unknown_45":-7827467234896549888}} 
[2026-08-21 01:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":159020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:55:37] local.INFO: GPS data processed {"connection_id":159020,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:55:37] local.INFO: Acknowledgment sent {"connection_id":159020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:56:22] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:56:22] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:56:22] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:56:27] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:56:27] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:56:27] local.INFO: IMEI packet received {"connection_id":159884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":159884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:56:28] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020d99308012d9416400582ef38000b00a32b..."} 
[2026-08-21 01:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d99308012d9416400582ef38000b00a32b..."} 
[2026-08-21 01:56:28] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d99308012d9416400582ef38000b00a32b..."} 
[2026-08-21 01:56:28] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d9"} 
[2026-08-21 01:56:28] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d9"} 
[2026-08-21 01:56:28] local.INFO: GPS Element Parsed {"raw_longitude":764679744,"raw_latitude":92467000,"longitude_deg":76.4679744,"latitude_deg":9.2467,"altitude":11,"angle":163,"satellites":43,"speed":55,"hex_longitude":"2d941640","hex_latitude":"0582ef38","is_valid_coordinates":true} 
[2026-08-21 01:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537924608001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387720746647945216,"note":"Value kept but may cause issues"} 
[2026-08-21 01:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7778983170190129152,"note":"Value kept but may cause issues"} 
[2026-08-21 01:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787257525000,"timestamp_ms":1787257525000,"timestamp_seconds":1787257525,"priority":1,"record_length":96,"hex_timestamp":"000001a020d99308"} 
[2026-08-21 01:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:56: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-08-21 01:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 01:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537924608001,"66":27267,"17":206,"85":15360,"24":55,"16":387720746647945216,"45":-7778983170190129152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537924608001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387720746647945216,"km_value":387720746647945.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7778983170190129152,"description":"Unknown IO ID 45"} 
[2026-08-21 01:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537924608001,"power":27267,"axis_x":206,"unknown_85":15360,"ignition":55,"odometer":null,"unknown_45":-7778983170190129152}} 
[2026-08-21 01:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:56:28] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:56:28] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:56:59] local.INFO: TCP Data received {"connection_id":159884,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020d9b248012d9421c00582c9f8000b00a12c..."} 
[2026-08-21 01:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d9b248012d9421c00582c9f8000b00a12c..."} 
[2026-08-21 01:56:59] local.INFO: Processing buffer {"connection_id":159884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d9b248012d9421c00582c9f8000b00a12c..."} 
[2026-08-21 01:56:59] local.INFO: Packet analysis {"connection_id":159884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d9"} 
[2026-08-21 01:56:59] local.INFO: Extracted packet for processing {"connection_id":159884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d9"} 
[2026-08-21 01:56:59] local.INFO: GPS Element Parsed {"raw_longitude":764682688,"raw_latitude":92457464,"longitude_deg":76.4682688,"latitude_deg":9.2457464,"altitude":11,"angle":161,"satellites":44,"speed":44,"hex_longitude":"2d9421c0","hex_latitude":"0582c9f8","is_valid_coordinates":true} 
[2026-08-21 01:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537926400001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387721227684282368,"note":"Value kept but may cause issues"} 
[2026-08-21 01:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7775957314192852992,"note":"Value kept but may cause issues"} 
[2026-08-21 01:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787257533000,"timestamp_ms":1787257533000,"timestamp_seconds":1787257533,"priority":1,"record_length":96,"hex_timestamp":"000001a020d9b248"} 
[2026-08-21 01:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537926400001,"66":27267,"17":206,"85":15360,"24":44,"16":387721227684282368,"45":-7775957314192852992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537926400001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387721227684282368,"km_value":387721227684282.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7775957314192852992,"description":"Unknown IO ID 45"} 
[2026-08-21 01:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537926400001,"power":27267,"axis_x":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7775957314192852992}} 
[2026-08-21 01:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":159884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:56:59] local.INFO: GPS data processed {"connection_id":159884,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:56:59] local.INFO: Acknowledgment sent {"connection_id":159884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:57:30] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:30] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:30] local.INFO: IMEI packet received {"connection_id":158739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":158739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:57:32] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:32] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:32] local.INFO: IMEI packet received {"connection_id":158739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":158739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:57:37] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:37] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:57:37] local.INFO: IMEI packet received {"connection_id":158739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":158739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:57:38] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020d9d188012d942d800582a788000b00a12d..."} 
[2026-08-21 01:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020d9d188012d942d800582a788000b00a12d..."} 
[2026-08-21 01:57:38] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020d9d188012d942d800582a788000b00a12d..."} 
[2026-08-21 01:57:38] local.INFO: Packet analysis {"connection_id":158739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020d9"} 
[2026-08-21 01:57:38] local.INFO: Extracted packet for processing {"connection_id":158739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020d9"} 
[2026-08-21 01:57:38] local.INFO: GPS Element Parsed {"raw_longitude":764685696,"raw_latitude":92448648,"longitude_deg":76.4685696,"latitude_deg":9.2448648,"altitude":11,"angle":161,"satellites":45,"speed":48,"hex_longitude":"2d942d80","hex_latitude":"0582a788","is_valid_coordinates":true} 
[2026-08-21 01:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537928448001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387721678655848448,"note":"Value kept but may cause issues"} 
[2026-08-21 01:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7772720351963121664,"note":"Value kept but may cause issues"} 
[2026-08-21 01:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 01:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787257541000,"timestamp_ms":1787257541000,"timestamp_seconds":1787257541,"priority":1,"record_length":96,"hex_timestamp":"000001a020d9d188"} 
[2026-08-21 01:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 01:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537928448001,"66":27213,"17":206,"85":15360,"24":48,"16":387721678655848448,"45":-7772720351963121664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 01:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537928448001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387721678655848448,"km_value":387721678655848.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7772720351963121664,"description":"Unknown IO ID 45"} 
[2026-08-21 01:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537928448001,"power":27213,"axis_x":206,"unknown_85":15360,"ignition":48,"odometer":null,"unknown_45":-7772720351963121664}} 
[2026-08-21 01:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":158739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:57:38] local.INFO: GPS data processed {"connection_id":158739,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:57:38] local.INFO: Acknowledgment sent {"connection_id":158739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:58:10] local.INFO: TCP Data received {"connection_id":158739,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020db2560012d94a3c005816210000900862b..."} 
[2026-08-21 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020db2560012d94a3c005816210000900862b..."} 
[2026-08-21 01:58:10] local.INFO: Processing buffer {"connection_id":158739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020db2560012d94a3c005816210000900862b..."} 
[2026-08-21 01:58:10] local.INFO: Packet analysis {"connection_id":158739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:58:10] local.INFO: Extracted packet for processing {"connection_id":158739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:58:10] local.INFO: GPS Element Parsed {"raw_longitude":764715968,"raw_latitude":92365328,"longitude_deg":76.4715968,"latitude_deg":9.2365328,"altitude":9,"angle":134,"satellites":43,"speed":27,"hex_longitude":"2d94a3c0","hex_latitude":"05816210","is_valid_coordinates":true} 
[2026-08-21 01:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537952256001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387726003687915520,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7737043398688368640,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:10] 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-08-21 01:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787257628000,"timestamp_ms":1787257628000,"timestamp_seconds":1787257628,"priority":1,"record_length":96,"hex_timestamp":"000001a020db2560"} 
[2026-08-21 01:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 01:58: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-08-21 01:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537952256001,"66":27213,"237":206,"85":15360,"24":27,"16":387726003687915520,"45":-7737043398688368640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-21 01:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537952256001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387726003687915520,"km_value":387726003687915.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7737043398688368640,"description":"Unknown IO ID 45"} 
[2026-08-21 01:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537952256001,"power":27213,"unknown_237":206,"unknown_85":15360,"ignition":27,"odometer":null,"unknown_45":-7737043398688368640}} 
[2026-08-21 01:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":158739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:58:10] local.INFO: GPS data processed {"connection_id":158739,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:58:10] local.INFO: Acknowledgment sent {"connection_id":158739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:58:24] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:24] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:24] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:58:27] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:27] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:27] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:58:32] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:32] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:58:32] local.INFO: IMEI packet received {"connection_id":159885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":159885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:58:33] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020db3118012d94a90005815c20000900962a..."} 
[2026-08-21 01:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020db3118012d94a90005815c20000900962a..."} 
[2026-08-21 01:58:33] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020db3118012d94a90005815c20000900962a..."} 
[2026-08-21 01:58:33] local.INFO: Packet analysis {"connection_id":159885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:58:33] local.INFO: Extracted packet for processing {"connection_id":159885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:58:33] local.INFO: GPS Element Parsed {"raw_longitude":764717312,"raw_latitude":92363808,"longitude_deg":76.4717312,"latitude_deg":9.2363808,"altitude":9,"angle":150,"satellites":42,"speed":27,"hex_longitude":"2d94a900","hex_latitude":"05815c20","is_valid_coordinates":true} 
[2026-08-21 01:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537952768001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387726106767130624,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7736128605014323200,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:33] 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-08-21 01:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787257631000,"timestamp_ms":1787257631000,"timestamp_seconds":1787257631,"priority":1,"record_length":96,"hex_timestamp":"000001a020db3118"} 
[2026-08-21 01:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 01:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537952768001,"66":27300,"237":206,"85":15360,"24":27,"16":387726106767130624,"45":-7736128605014323200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-21 01:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537952768001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:58:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 01:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387726106767130624,"km_value":387726106767130.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7736128605014323200,"description":"Unknown IO ID 45"} 
[2026-08-21 01:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537952768001,"power":27300,"unknown_237":206,"unknown_85":15360,"ignition":27,"odometer":null,"unknown_45":-7736128605014323200}} 
[2026-08-21 01:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":159885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:58:33] local.INFO: GPS data processed {"connection_id":159885,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:58:33] local.INFO: Acknowledgment sent {"connection_id":159885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:58:37] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020db5c10012d94b78005813ac00009009d2c..."} 
[2026-08-21 01:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020db5c10012d94b78005813ac00009009d2c..."} 
[2026-08-21 01:58:37] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020db5c10012d94b78005813ac00009009d2c..."} 
[2026-08-21 01:58:37] local.INFO: Packet analysis {"connection_id":159885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:58:37] local.INFO: Extracted packet for processing {"connection_id":159885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:58:37] local.INFO: GPS Element Parsed {"raw_longitude":764721024,"raw_latitude":92355264,"longitude_deg":76.4721024,"latitude_deg":9.2355264,"altitude":9,"angle":157,"satellites":44,"speed":35,"hex_longitude":"2d94b780","hex_latitude":"05813ac0","is_valid_coordinates":true} 
[2026-08-21 01:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537953536001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387726553443729408,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7734650861386981376,"note":"Value kept but may cause issues"} 
[2026-08-21 01:58:37] 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-08-21 01:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787257642000,"timestamp_ms":1787257642000,"timestamp_seconds":1787257642,"priority":1,"record_length":96,"hex_timestamp":"000001a020db5c10"} 
[2026-08-21 01:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 01:58:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537953536001,"66":27397,"237":206,"85":15360,"24":35,"16":387726553443729408,"45":-7734650861386981376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-21 01:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537953536001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:58:37] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 01:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387726553443729408,"km_value":387726553443729.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7734650861386981376,"description":"Unknown IO ID 45"} 
[2026-08-21 01:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537953536001,"power":27397,"unknown_237":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7734650861386981376}} 
[2026-08-21 01:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":159885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:58:37] local.INFO: GPS data processed {"connection_id":159885,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:58:37] local.INFO: Acknowledgment sent {"connection_id":159885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:59:09] local.INFO: TCP Data received {"connection_id":159885,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020db8320012d94c44005811880000a00a12b..."} 
[2026-08-21 01:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020db8320012d94c44005811880000a00a12b..."} 
[2026-08-21 01:59:09] local.INFO: Processing buffer {"connection_id":159885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020db8320012d94c44005811880000a00a12b..."} 
[2026-08-21 01:59:09] local.INFO: Packet analysis {"connection_id":159885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:59:09] local.INFO: Extracted packet for processing {"connection_id":159885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:59:09] local.INFO: GPS Element Parsed {"raw_longitude":764724288,"raw_latitude":92346496,"longitude_deg":76.4724288,"latitude_deg":9.2346496,"altitude":10,"angle":161,"satellites":43,"speed":37,"hex_longitude":"2d94c440","hex_latitude":"05811880","is_valid_coordinates":true} 
[2026-08-21 01:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537956352001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387727008710262784,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7730569474226864128,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:09] 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-08-21 01:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787257652000,"timestamp_ms":1787257652000,"timestamp_seconds":1787257652,"priority":1,"record_length":96,"hex_timestamp":"000001a020db8320"} 
[2026-08-21 01:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:59: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-08-21 01:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 01:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537956352001,"66":27332,"237":206,"85":15360,"24":37,"16":387727008710262784,"45":-7730569474226864128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-21 01:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537956352001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387727008710262784,"km_value":387727008710262.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7730569474226864128,"description":"Unknown IO ID 45"} 
[2026-08-21 01:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537956352001,"power":27332,"unknown_237":206,"unknown_85":15360,"ignition":37,"odometer":null,"unknown_45":-7730569474226864128}} 
[2026-08-21 01:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":159885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:59:09] local.INFO: GPS data processed {"connection_id":159885,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:59:09] local.INFO: Acknowledgment sent {"connection_id":159885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:59:29] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:29] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:29] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 01:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 01:59:29] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:29] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:29] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:59:32] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:32] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 01:59:32] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 01:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 01:59:37] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020db96a8012d94c98005810b50000b00902d..."} 
[2026-08-21 01:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020db96a8012d94c98005810b50000b00902d..."} 
[2026-08-21 01:59:37] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020db96a8012d94c98005810b50000b00902d..."} 
[2026-08-21 01:59:37] local.INFO: Packet analysis {"connection_id":159021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:59:37] local.INFO: Extracted packet for processing {"connection_id":159021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:59:37] local.INFO: GPS Element Parsed {"raw_longitude":764725632,"raw_latitude":92343120,"longitude_deg":76.4725632,"latitude_deg":9.234312,"altitude":11,"angle":144,"satellites":45,"speed":21,"hex_longitude":"2d94c980","hex_latitude":"05810b50","is_valid_coordinates":true} 
[2026-08-21 01:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537958912001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387727184803921920,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7726980668276047872,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:37] 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-08-21 01:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787257657000,"timestamp_ms":1787257657000,"timestamp_seconds":1787257657,"priority":1,"record_length":96,"hex_timestamp":"000001a020db96a8"} 
[2026-08-21 01:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:59: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-08-21 01:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 01:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537958912001,"66":27310,"237":206,"85":15360,"24":21,"16":387727184803921920,"45":-7726980668276047872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-21 01:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537958912001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:59:37] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 01:59:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387727184803921920,"km_value":387727184803921.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7726980668276047872,"description":"Unknown IO ID 45"} 
[2026-08-21 01:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537958912001,"power":27310,"unknown_237":206,"unknown_85":15360,"ignition":21,"odometer":null,"unknown_45":-7726980668276047872}} 
[2026-08-21 01:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":159021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:59:37] local.INFO: GPS data processed {"connection_id":159021,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:59:37] local.INFO: Acknowledgment sent {"connection_id":159021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 01:59:38] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020db9e78012d94cc4005810858000b00812c..."} 
[2026-08-21 01:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020db9e78012d94cc4005810858000b00812c..."} 
[2026-08-21 01:59:38] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020db9e78012d94cc4005810858000b00812c..."} 
[2026-08-21 01:59:38] local.INFO: Packet analysis {"connection_id":159021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:59:38] local.INFO: Extracted packet for processing {"connection_id":159021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020db"} 
[2026-08-21 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":764726336,"raw_latitude":92342360,"longitude_deg":76.4726336,"latitude_deg":9.234236,"altitude":11,"angle":129,"satellites":44,"speed":21,"hex_longitude":"2d94cc40","hex_latitude":"05810858","is_valid_coordinates":true} 
[2026-08-21 01:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 01:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537960192001,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387727236343529472,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7725502924649181184,"note":"Value kept but may cause issues"} 
[2026-08-21 01:59:38] 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-08-21 01:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787257659000,"timestamp_ms":1787257659000,"timestamp_seconds":1787257659,"priority":1,"record_length":96,"hex_timestamp":"000001a020db9e78"} 
[2026-08-21 01:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 01:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 01: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 01:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 01:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 01:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 01:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 01:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 01:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 01:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 01:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 01:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 01:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537960192001,"66":27169,"237":206,"85":15360,"24":21,"16":387727236343529472,"45":-7725502924649181184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-08-21 01:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 01:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 01:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537960192001,"description":"Unknown IO ID 0"} 
[2026-08-21 01:59:38] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 01:59:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 01:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387727236343529472,"km_value":387727236343529.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 01:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7725502924649181184,"description":"Unknown IO ID 45"} 
[2026-08-21 01:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537960192001,"power":27169,"unknown_237":206,"unknown_85":15360,"ignition":21,"odometer":null,"unknown_45":-7725502924649181184}} 
[2026-08-21 01:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":159021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 01:59:38] local.INFO: GPS data processed {"connection_id":159021,"processed":1,"errors":0,"total":1} 
[2026-08-21 01:59:38] local.INFO: Acknowledgment sent {"connection_id":159021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:00:19] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020dd1960012d957500057f7e10000900a22c..."} 
[2026-08-21 02:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020dd1960012d957500057f7e10000900a22c..."} 
[2026-08-21 02:00:19] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020dd1960012d957500057f7e10000900a22c..."} 
[2026-08-21 02:00:19] local.INFO: Packet analysis {"connection_id":159021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:00:19] local.INFO: Extracted packet for processing {"connection_id":159021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:00:19] local.INFO: GPS Element Parsed {"raw_longitude":764769536,"raw_latitude":92241424,"longitude_deg":76.4769536,"latitude_deg":9.2241424,"altitude":9,"angle":162,"satellites":44,"speed":59,"hex_longitude":"2d957500","hex_latitude":"057f7e10","is_valid_coordinates":true} 
[2026-08-21 02:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537984000001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387732570692911104,"note":"Value kept but may cause issues"} 
[2026-08-21 02:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7680466928399345664,"note":"Value kept but may cause issues"} 
[2026-08-21 02:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787257756000,"timestamp_ms":1787257756000,"timestamp_seconds":1787257756,"priority":1,"record_length":96,"hex_timestamp":"000001a020dd1960"} 
[2026-08-21 02:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537984000001,"66":27321,"20":206,"85":15360,"24":59,"16":387732570692911104,"45":-7680466928399345664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-08-21 02:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537984000001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:00:19] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-21 02:00:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387732570692911104,"km_value":387732570692911.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7680466928399345664,"description":"Unknown IO ID 45"} 
[2026-08-21 02:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537984000001,"power":27321,"unknown_20":206,"unknown_85":15360,"ignition":59,"odometer":null,"unknown_45":-7680466928399345664}} 
[2026-08-21 02:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":159021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:00:19] local.INFO: GPS data processed {"connection_id":159021,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:00:19] local.INFO: Acknowledgment sent {"connection_id":159021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:00:27] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:27] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:27] local.INFO: IMEI packet received {"connection_id":161262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":161262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:00:28] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:28] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:28] local.INFO: IMEI packet received {"connection_id":161262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":161262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:00:33] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:33] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:00:33] local.INFO: IMEI packet received {"connection_id":161262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":161262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:00:34] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020dd30d0012d957ec0057f5ca0000900a22b..."} 
[2026-08-21 02:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020dd30d0012d957ec0057f5ca0000900a22b..."} 
[2026-08-21 02:00:34] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020dd30d0012d957ec0057f5ca0000900a22b..."} 
[2026-08-21 02:00:34] local.INFO: Packet analysis {"connection_id":161262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:00:34] local.INFO: Extracted packet for processing {"connection_id":161262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":764772032,"raw_latitude":92232864,"longitude_deg":76.4772032,"latitude_deg":9.2232864,"altitude":9,"angle":162,"satellites":43,"speed":56,"hex_longitude":"2d957ec0","hex_latitude":"057f5ca0","is_valid_coordinates":true} 
[2026-08-21 02:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537985536001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387733004484608000,"note":"Value kept but may cause issues"} 
[2026-08-21 02:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7677229966169337856,"note":"Value kept but may cause issues"} 
[2026-08-21 02:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787257762000,"timestamp_ms":1787257762000,"timestamp_seconds":1787257762,"priority":1,"record_length":96,"hex_timestamp":"000001a020dd30d0"} 
[2026-08-21 02:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537985536001,"66":27267,"20":206,"85":15360,"24":56,"16":387733004484608000,"45":-7677229966169337856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,85,24,16,45]} 
[2026-08-21 02:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537985536001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:00:34] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-08-21 02:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387733004484608000,"km_value":387733004484608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7677229966169337856,"description":"Unknown IO ID 45"} 
[2026-08-21 02:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537985536001,"power":27267,"unknown_20":206,"unknown_85":15360,"ignition":56,"odometer":null,"unknown_45":-7677229966169337856}} 
[2026-08-21 02:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":161262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:00:34] local.INFO: GPS data processed {"connection_id":161262,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:00:34] local.INFO: Acknowledgment sent {"connection_id":161262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:01:05] local.INFO: TCP Data received {"connection_id":161262,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020dd4c28012d958940057f3800000800a42b..."} 
[2026-08-21 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020dd4c28012d958940057f3800000800a42b..."} 
[2026-08-21 02:01:05] local.INFO: Processing buffer {"connection_id":161262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020dd4c28012d958940057f3800000800a42b..."} 
[2026-08-21 02:01:05] local.INFO: Packet analysis {"connection_id":161262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:01:05] local.INFO: Extracted packet for processing {"connection_id":161262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:01:05] local.INFO: GPS Element Parsed {"raw_longitude":764774720,"raw_latitude":92223488,"longitude_deg":76.477472,"latitude_deg":9.2223488,"altitude":8,"angle":164,"satellites":43,"speed":54,"hex_longitude":"2d958940","hex_latitude":"057f3800","is_valid_coordinates":true} 
[2026-08-21 02:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537987072001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387733476931010560,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7674485585148600320,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787257769000,"timestamp_ms":1787257769000,"timestamp_seconds":1787257769,"priority":1,"record_length":96,"hex_timestamp":"000001a020dd4c28"} 
[2026-08-21 02:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:01: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-08-21 02:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537987072001,"66":27267,"65":206,"85":15360,"24":54,"16":387733476931010560,"45":-7674485585148600320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 02:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537987072001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:01:05] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 02:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387733476931010560,"km_value":387733476931010.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7674485585148600320,"description":"Unknown IO ID 45"} 
[2026-08-21 02:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537987072001,"power":27267,"unknown_65":206,"unknown_85":15360,"ignition":54,"odometer":null,"unknown_45":-7674485585148600320}} 
[2026-08-21 02:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":161262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:01:05] local.INFO: GPS data processed {"connection_id":161262,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:01:05] local.INFO: Acknowledgment sent {"connection_id":161262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:01:27] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:27] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:27] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:01:31] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:31] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:31] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:01:32] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:32] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:01:32] local.INFO: IMEI packet received {"connection_id":159886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":159886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:01:32] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020dd6780012d959340057f1478000800a42c..."} 
[2026-08-21 02:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020dd6780012d959340057f1478000800a42c..."} 
[2026-08-21 02:01:32] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020dd6780012d959340057f1478000800a42c..."} 
[2026-08-21 02:01:32] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:01:32] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:01:32] local.INFO: GPS Element Parsed {"raw_longitude":764777280,"raw_latitude":92214392,"longitude_deg":76.477728,"latitude_deg":9.2214392,"altitude":8,"angle":164,"satellites":44,"speed":53,"hex_longitude":"2d959340","hex_latitude":"057f1478","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537988864001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387733932197543936,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7671530097895538688,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787257776000,"timestamp_ms":1787257776000,"timestamp_seconds":1787257776,"priority":1,"record_length":96,"hex_timestamp":"000001a020dd6780"} 
[2026-08-21 02:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:01: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-08-21 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:01: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-08-21 02: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-08-21 02:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537988864001,"66":27245,"65":206,"85":15360,"24":53,"16":387733932197543936,"45":-7671530097895538688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 02:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537988864001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:01:32] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 02:01:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387733932197543936,"km_value":387733932197543.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7671530097895538688,"description":"Unknown IO ID 45"} 
[2026-08-21 02:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537988864001,"power":27245,"unknown_65":206,"unknown_85":15360,"ignition":53,"odometer":null,"unknown_45":-7671530097895538688}} 
[2026-08-21 02:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:01:32] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:01:32] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:01:38] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020dd82d8012d959dc0057ef158000800a32d..."} 
[2026-08-21 02:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020dd82d8012d959dc0057ef158000800a32d..."} 
[2026-08-21 02:01:38] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020dd82d8012d959dc0057ef158000800a32d..."} 
[2026-08-21 02:01:38] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:01:38] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020dd"} 
[2026-08-21 02:01:38] local.INFO: GPS Element Parsed {"raw_longitude":764779968,"raw_latitude":92205400,"longitude_deg":76.4779968,"latitude_deg":9.22054,"altitude":8,"angle":163,"satellites":45,"speed":52,"hex_longitude":"2d959dc0","hex_latitude":"057ef158","is_valid_coordinates":true} 
[2026-08-21 02:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457537990656001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387734387464077312,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7668715348130760704,"note":"Value kept but may cause issues"} 
[2026-08-21 02:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787257783000,"timestamp_ms":1787257783000,"timestamp_seconds":1787257783,"priority":1,"record_length":96,"hex_timestamp":"000001a020dd82d8"} 
[2026-08-21 02:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 02:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457537990656001,"66":27267,"65":206,"85":15360,"24":52,"16":387734387464077312,"45":-7668715348130760704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 02:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457537990656001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:01:38] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 02:01:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387734387464077312,"km_value":387734387464077.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7668715348130760704,"description":"Unknown IO ID 45"} 
[2026-08-21 02:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457537990656001,"power":27267,"unknown_65":206,"unknown_85":15360,"ignition":52,"odometer":null,"unknown_45":-7668715348130760704}} 
[2026-08-21 02:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:01:38] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:01:38] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:02:09] local.INFO: TCP Data received {"connection_id":159886,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020dee650012d962440057d4718000f00a32e..."} 
[2026-08-21 02:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020dee650012d962440057d4718000f00a32e..."} 
[2026-08-21 02:02:09] local.INFO: Processing buffer {"connection_id":159886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020dee650012d962440057d4718000f00a32e..."} 
[2026-08-21 02:02:09] local.INFO: Packet analysis {"connection_id":159886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020de"} 
[2026-08-21 02:02:09] local.INFO: Extracted packet for processing {"connection_id":159886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020de"} 
[2026-08-21 02:02:09] local.INFO: GPS Element Parsed {"raw_longitude":764814400,"raw_latitude":92096280,"longitude_deg":76.48144,"latitude_deg":9.209628,"altitude":15,"angle":163,"satellites":46,"speed":54,"hex_longitude":"2d962440","hex_latitude":"057d4718","is_valid_coordinates":true} 
[2026-08-21 02:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538013952001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387739932266856448,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7630716226302646272,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787257874000,"timestamp_ms":1787257874000,"timestamp_seconds":1787257874,"priority":1,"record_length":96,"hex_timestamp":"000001a020dee650"} 
[2026-08-21 02:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538013952001,"66":27321,"19":206,"85":15360,"24":54,"16":387739932266856448,"45":-7630716226302646272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 02:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538013952001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:02:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 02:02:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387739932266856448,"km_value":387739932266856.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7630716226302646272,"description":"Unknown IO ID 45"} 
[2026-08-21 02:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538013952001,"power":27321,"unknown_19":206,"unknown_85":15360,"ignition":54,"odometer":null,"unknown_45":-7630716226302646272}} 
[2026-08-21 02:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":159886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:02:09] local.INFO: GPS data processed {"connection_id":159886,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:02:09] local.INFO: Acknowledgment sent {"connection_id":159886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:02:32] local.INFO: TCP Data received {"connection_id":158740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:32] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:32] local.INFO: IMEI packet received {"connection_id":158740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":158740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:02:33] local.INFO: TCP Data received {"connection_id":158740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:33] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:33] local.INFO: IMEI packet received {"connection_id":158740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":158740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:02:37] local.INFO: TCP Data received {"connection_id":158740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:37] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:02:37] local.INFO: IMEI packet received {"connection_id":158740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":158740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:02:38] local.INFO: TCP Data received {"connection_id":158740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020df01a8012d963000057d2370000f00a22e..."} 
[2026-08-21 02:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020df01a8012d963000057d2370000f00a22e..."} 
[2026-08-21 02:02:38] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020df01a8012d963000057d2370000f00a22e..."} 
[2026-08-21 02:02:38] local.INFO: Packet analysis {"connection_id":158740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:02:38] local.INFO: Extracted packet for processing {"connection_id":158740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":764817408,"raw_latitude":92087152,"longitude_deg":76.4817408,"latitude_deg":9.2087152,"altitude":15,"angle":162,"satellites":46,"speed":55,"hex_longitude":"2d963000","hex_latitude":"057d2370","is_valid_coordinates":true} 
[2026-08-21 02:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538015744001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387740400418291712,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7627901476537952256,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787257881000,"timestamp_ms":1787257881000,"timestamp_seconds":1787257881,"priority":1,"record_length":96,"hex_timestamp":"000001a020df01a8"} 
[2026-08-21 02:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538015744001,"66":27365,"19":206,"85":15360,"24":55,"16":387740400418291712,"45":-7627901476537952256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 02:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538015744001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:02:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 02:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387740400418291712,"km_value":387740400418291.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7627901476537952256,"description":"Unknown IO ID 45"} 
[2026-08-21 02:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538015744001,"power":27365,"unknown_19":206,"unknown_85":15360,"ignition":55,"odometer":null,"unknown_45":-7627901476537952256}} 
[2026-08-21 02:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":158740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:02:38] local.INFO: GPS data processed {"connection_id":158740,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:02:38] local.INFO: Acknowledgment sent {"connection_id":158740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:02:40] local.INFO: TCP Data received {"connection_id":158740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020df1d00012d963c00057cfec0000e00a12f..."} 
[2026-08-21 02:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020df1d00012d963c00057cfec0000e00a12f..."} 
[2026-08-21 02:02:40] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020df1d00012d963c00057cfec0000e00a12f..."} 
[2026-08-21 02:02:40] local.INFO: Packet analysis {"connection_id":158740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:02:40] local.INFO: Extracted packet for processing {"connection_id":158740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:02:40] local.INFO: GPS Element Parsed {"raw_longitude":764820480,"raw_latitude":92077760,"longitude_deg":76.482048,"latitude_deg":9.207776,"altitude":14,"angle":161,"satellites":47,"speed":56,"hex_longitude":"2d963c00","hex_latitude":"057cfec0","is_valid_coordinates":true} 
[2026-08-21 02:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538017536001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387740877159661568,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7624594145563938816,"note":"Value kept but may cause issues"} 
[2026-08-21 02:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787257888000,"timestamp_ms":1787257888000,"timestamp_seconds":1787257888,"priority":1,"record_length":96,"hex_timestamp":"000001a020df1d00"} 
[2026-08-21 02:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538017536001,"66":27267,"19":206,"85":15360,"24":56,"16":387740877159661568,"45":-7624594145563938816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 02:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538017536001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:02:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 02:02:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387740877159661568,"km_value":387740877159661.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7624594145563938816,"description":"Unknown IO ID 45"} 
[2026-08-21 02:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538017536001,"power":27267,"unknown_19":206,"unknown_85":15360,"ignition":56,"odometer":null,"unknown_45":-7624594145563938816}} 
[2026-08-21 02:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":158740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:02:40] local.INFO: GPS data processed {"connection_id":158740,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:02:40] local.INFO: Acknowledgment sent {"connection_id":158740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:03:11] local.INFO: TCP Data received {"connection_id":158740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020df3858012d9648c0057cd978000f00a02f..."} 
[2026-08-21 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020df3858012d9648c0057cd978000f00a02f..."} 
[2026-08-21 02:03:11] local.INFO: Processing buffer {"connection_id":158740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020df3858012d9648c0057cd978000f00a02f..."} 
[2026-08-21 02:03:11] local.INFO: Packet analysis {"connection_id":158740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:03:11] local.INFO: Extracted packet for processing {"connection_id":158740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":764823744,"raw_latitude":92068216,"longitude_deg":76.4823744,"latitude_deg":9.2068216,"altitude":15,"angle":160,"satellites":47,"speed":57,"hex_longitude":"2d9648c0","hex_latitude":"057cd978","is_valid_coordinates":true} 
[2026-08-21 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538019328001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387741366785933312,"note":"Value kept but may cause issues"} 
[2026-08-21 02:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7621216445845815296,"note":"Value kept but may cause issues"} 
[2026-08-21 02:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787257895000,"timestamp_ms":1787257895000,"timestamp_seconds":1787257895,"priority":1,"record_length":96,"hex_timestamp":"000001a020df3858"} 
[2026-08-21 02:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538019328001,"66":27267,"19":206,"85":15360,"24":57,"16":387741366785933312,"45":-7621216445845815296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 02:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538019328001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387741366785933312,"km_value":387741366785933.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7621216445845815296,"description":"Unknown IO ID 45"} 
[2026-08-21 02:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538019328001,"power":27267,"unknown_19":206,"unknown_85":15360,"ignition":57,"odometer":null,"unknown_45":-7621216445845815296}} 
[2026-08-21 02:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":158740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:03:11] local.INFO: GPS data processed {"connection_id":158740,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:03:11] local.INFO: Acknowledgment sent {"connection_id":158740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:03:27] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:27] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:27] local.INFO: IMEI packet received {"connection_id":158741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":158741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:03:28] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:28] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:28] local.INFO: IMEI packet received {"connection_id":158741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":158741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:03:32] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:32] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:03:32] local.INFO: IMEI packet received {"connection_id":158741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":158741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:03:41] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020df53b0012d965700057cb410000f009f2f..."} 
[2026-08-21 02:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020df53b0012d965700057cb410000f009f2f..."} 
[2026-08-21 02:03:41] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020df53b0012d965700057cb410000f009f2f..."} 
[2026-08-21 02:03:41] local.INFO: Packet analysis {"connection_id":158741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:03:41] local.INFO: Extracted packet for processing {"connection_id":158741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020df"} 
[2026-08-21 02:03:41] local.INFO: GPS Element Parsed {"raw_longitude":764827392,"raw_latitude":92058640,"longitude_deg":76.4827392,"latitude_deg":9.205864,"altitude":15,"angle":159,"satellites":47,"speed":58,"hex_longitude":"2d965700","hex_latitude":"057cb410","is_valid_coordinates":true} 
[2026-08-21 02:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538021120001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387741860707172352,"note":"Value kept but may cause issues"} 
[2026-08-21 02:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7617627639895197696,"note":"Value kept but may cause issues"} 
[2026-08-21 02:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787257902000,"timestamp_ms":1787257902000,"timestamp_seconds":1787257902,"priority":1,"record_length":96,"hex_timestamp":"000001a020df53b0"} 
[2026-08-21 02:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538021120001,"66":27365,"19":206,"85":15360,"24":58,"16":387741860707172352,"45":-7617627639895197696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 02:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538021120001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:03:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 02:03:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387741860707172352,"km_value":387741860707172.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7617627639895197696,"description":"Unknown IO ID 45"} 
[2026-08-21 02:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538021120001,"power":27365,"unknown_19":206,"unknown_85":15360,"ignition":58,"odometer":null,"unknown_45":-7617627639895197696}} 
[2026-08-21 02:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":158741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:03:41] local.INFO: GPS data processed {"connection_id":158741,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:03:41] local.INFO: Acknowledgment sent {"connection_id":158741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:04:07] local.INFO: TCP Data received {"connection_id":158741,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e08460012d96cd80057b3990000a00a32f..."} 
[2026-08-21 02:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e08460012d96cd80057b3990000a00a32f..."} 
[2026-08-21 02:04:07] local.INFO: Processing buffer {"connection_id":158741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e08460012d96cd80057b3990000a00a32f..."} 
[2026-08-21 02:04:07] local.INFO: Packet analysis {"connection_id":158741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:04:07] local.INFO: Extracted packet for processing {"connection_id":158741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:04:07] local.INFO: GPS Element Parsed {"raw_longitude":764857728,"raw_latitude":91961744,"longitude_deg":76.4857728,"latitude_deg":9.1961744,"altitude":10,"angle":163,"satellites":47,"speed":38,"hex_longitude":"2d96cd80","hex_latitude":"057b3990","is_valid_coordinates":true} 
[2026-08-21 02:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538040320001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387746787034660864,"note":"Value kept but may cause issues"} 
[2026-08-21 02:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7583076586528989184,"note":"Value kept but may cause issues"} 
[2026-08-21 02:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787257980000,"timestamp_ms":1787257980000,"timestamp_seconds":1787257980,"priority":1,"record_length":96,"hex_timestamp":"000001a020e08460"} 
[2026-08-21 02:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:04: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-08-21 02:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 02:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538040320001,"66":27267,"119":206,"85":15360,"24":38,"16":387746787034660864,"45":-7583076586528989184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 02:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538040320001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:04:07] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 02:04:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387746787034660864,"km_value":387746787034660.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7583076586528989184,"description":"Unknown IO ID 45"} 
[2026-08-21 02:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538040320001,"power":27267,"unknown_119":206,"unknown_85":15360,"ignition":38,"odometer":null,"unknown_45":-7583076586528989184}} 
[2026-08-21 02:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":158741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:04:07] local.INFO: GPS data processed {"connection_id":158741,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:04:07] local.INFO: Acknowledgment sent {"connection_id":158741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:04:26] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:26] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:26] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:04:27] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:27] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:27] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:04:32] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:32] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:04:32] local.INFO: IMEI packet received {"connection_id":159887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":159887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:05:03] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e0a788012d96d880057b1720000900a12d..."} 
[2026-08-21 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e0a788012d96d880057b1720000900a12d..."} 
[2026-08-21 02:05:03] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e0a788012d96d880057b1720000900a12d..."} 
[2026-08-21 02:05:03] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:05:03] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":764860544,"raw_latitude":91952928,"longitude_deg":76.4860544,"latitude_deg":9.1952928,"altitude":9,"angle":161,"satellites":45,"speed":41,"hex_longitude":"2d96d880","hex_latitude":"057b1720","is_valid_coordinates":true} 
[2026-08-21 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538042880001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387747233711259648,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7580261836764114944,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787257989000,"timestamp_ms":1787257989000,"timestamp_seconds":1787257989,"priority":1,"record_length":96,"hex_timestamp":"000001a020e0a788"} 
[2026-08-21 02:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538042880001,"66":27365,"119":206,"85":15360,"24":41,"16":387747233711259648,"45":-7580261836764114944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538042880001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:05:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 02:05:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387747233711259648,"km_value":387747233711259.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7580261836764114944,"description":"Unknown IO ID 45"} 
[2026-08-21 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538042880001,"power":27365,"unknown_119":206,"unknown_85":15360,"ignition":41,"odometer":null,"unknown_45":-7580261836764114944}} 
[2026-08-21 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:05:03] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:05:03] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:05:04] local.INFO: TCP Data received {"connection_id":159887,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e0ce98012d96e480057af318000900a12e..."} 
[2026-08-21 02:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e0ce98012d96e480057af318000900a12e..."} 
[2026-08-21 02:05:04] local.INFO: Processing buffer {"connection_id":159887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e0ce98012d96e480057af318000900a12e..."} 
[2026-08-21 02:05:04] local.INFO: Packet analysis {"connection_id":159887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:05:04] local.INFO: Extracted packet for processing {"connection_id":159887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:05:04] local.INFO: GPS Element Parsed {"raw_longitude":764863616,"raw_latitude":91943704,"longitude_deg":76.4863616,"latitude_deg":9.1943704,"altitude":9,"angle":161,"satellites":46,"speed":35,"hex_longitude":"2d96e480","hex_latitude":"057af318","is_valid_coordinates":true} 
[2026-08-21 02:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387747701862694912,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7577165612022554624,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787257999000,"timestamp_ms":1787257999000,"timestamp_seconds":1787257999,"priority":1,"record_length":96,"hex_timestamp":"000001a020e0ce98"} 
[2026-08-21 02:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:05: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-08-21 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538045184001,"66":27321,"119":206,"85":15360,"24":35,"16":387747701862694912,"45":-7577165612022554624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-08-21 02:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:05:04] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 02:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 02:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387747701862694912,"km_value":387747701862694.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7577165612022554624,"description":"Unknown IO ID 45"} 
[2026-08-21 02:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538045184001,"power":27321,"unknown_119":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7577165612022554624}} 
[2026-08-21 02:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":159887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:05:04] local.INFO: GPS data processed {"connection_id":159887,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:05:04] local.INFO: Acknowledgment sent {"connection_id":159887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:05:27] local.INFO: TCP Data received {"connection_id":158742,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:05:27] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:05:27] local.INFO: IMEI packet received {"connection_id":158742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":158742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:05:31] local.INFO: TCP Data received {"connection_id":158742,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:05:31] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:05:31] local.INFO: IMEI packet received {"connection_id":158742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":158742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:05:31] local.INFO: TCP Data received {"connection_id":158742,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e0f5a8012d96ef80057ad098000900a32d..."} 
[2026-08-21 02:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e0f5a8012d96ef80057ad098000900a32d..."} 
[2026-08-21 02:05:31] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e0f5a8012d96ef80057ad098000900a32d..."} 
[2026-08-21 02:05:31] local.INFO: Packet analysis {"connection_id":158742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:05:31] local.INFO: Extracted packet for processing {"connection_id":158742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e0"} 
[2026-08-21 02:05:31] local.INFO: GPS Element Parsed {"raw_longitude":764866432,"raw_latitude":91934872,"longitude_deg":76.4866432,"latitude_deg":9.1934872,"altitude":9,"angle":163,"satellites":45,"speed":39,"hex_longitude":"2d96ef80","hex_latitude":"057ad098","is_valid_coordinates":true} 
[2026-08-21 02:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538047744001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387748152834260992,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7573787912304388096,"note":"Value kept but may cause issues"} 
[2026-08-21 02:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787258009000,"timestamp_ms":1787258009000,"timestamp_seconds":1787258009,"priority":1,"record_length":96,"hex_timestamp":"000001a020e0f5a8"} 
[2026-08-21 02:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:05: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-08-21 02:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538047744001,"66":27267,"12":206,"85":15872,"24":39,"16":387748152834260992,"45":-7573787912304388096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,85,24,16,45]} 
[2026-08-21 02:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538047744001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387748152834260992,"km_value":387748152834261.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7573787912304388096,"description":"Unknown IO ID 45"} 
[2026-08-21 02:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538047744001,"power":27267,"unknown_12":206,"unknown_85":15872,"ignition":39,"odometer":null,"unknown_45":-7573787912304388096}} 
[2026-08-21 02:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":158742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:05:32] local.INFO: GPS data processed {"connection_id":158742,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:05:32] local.INFO: Acknowledgment sent {"connection_id":158742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:06:03] local.INFO: TCP Data received {"connection_id":158742,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e27860012d977dc005795db0000b00972e..."} 
[2026-08-21 02:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e27860012d977dc005795db0000b00972e..."} 
[2026-08-21 02:06:03] local.INFO: Processing buffer {"connection_id":158742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e27860012d977dc005795db0000b00972e..."} 
[2026-08-21 02:06:03] local.INFO: Packet analysis {"connection_id":158742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:06:03] local.INFO: Extracted packet for processing {"connection_id":158742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":764902848,"raw_latitude":91839920,"longitude_deg":76.4902848,"latitude_deg":9.183992,"altitude":11,"angle":151,"satellites":46,"speed":46,"hex_longitude":"2d977dc0","hex_latitude":"05795db0","is_valid_coordinates":true} 
[2026-08-21 02:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538073600001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387753122111422464,"note":"Value kept but may cause issues"} 
[2026-08-21 02:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7535788790472851456,"note":"Value kept but may cause issues"} 
[2026-08-21 02:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787258108000,"timestamp_ms":1787258108000,"timestamp_seconds":1787258108,"priority":1,"record_length":96,"hex_timestamp":"000001a020e27860"} 
[2026-08-21 02:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538073600001,"66":27321,"192":206,"85":15872,"24":46,"16":387753122111422464,"45":-7535788790472851456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-21 02:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538073600001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:06:03] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 02:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387753122111422464,"km_value":387753122111422.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7535788790472851456,"description":"Unknown IO ID 45"} 
[2026-08-21 02:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538073600001,"power":27321,"unknown_192":206,"unknown_85":15872,"ignition":46,"odometer":null,"unknown_45":-7535788790472851456}} 
[2026-08-21 02:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":158742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:06:03] local.INFO: GPS data processed {"connection_id":158742,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:06:03] local.INFO: Acknowledgment sent {"connection_id":158742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:06:25] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:25] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:25] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:06:27] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:27] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:27] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:06:32] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:32] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:06:32] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:06:33] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e297a0012d978b00057947d0000b008c2e..."} 
[2026-08-21 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e297a0012d978b00057947d0000b008c2e..."} 
[2026-08-21 02:06:33] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e297a0012d978b00057947d0000b008c2e..."} 
[2026-08-21 02:06:33] local.INFO: Packet analysis {"connection_id":159022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:06:33] local.INFO: Extracted packet for processing {"connection_id":159022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:06:33] local.INFO: GPS Element Parsed {"raw_longitude":764906240,"raw_latitude":91834320,"longitude_deg":76.490624,"latitude_deg":9.183432,"altitude":11,"angle":140,"satellites":46,"speed":26,"hex_longitude":"2d978b00","hex_latitude":"057947d0","is_valid_coordinates":true} 
[2026-08-21 02:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538075648001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387753435644035072,"note":"Value kept but may cause issues"} 
[2026-08-21 02:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7530651872150048768,"note":"Value kept but may cause issues"} 
[2026-08-21 02:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258116000,"timestamp_ms":1787258116000,"timestamp_seconds":1787258116,"priority":1,"record_length":96,"hex_timestamp":"000001a020e297a0"} 
[2026-08-21 02:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538075648001,"66":27321,"192":206,"85":15872,"24":26,"16":387753435644035072,"45":-7530651872150048768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-21 02:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538075648001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:06:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 02:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387753435644035072,"km_value":387753435644035.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7530651872150048768,"description":"Unknown IO ID 45"} 
[2026-08-21 02:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538075648001,"power":27321,"unknown_192":206,"unknown_85":15872,"ignition":26,"odometer":null,"unknown_45":-7530651872150048768}} 
[2026-08-21 02:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":159022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:06:33] local.INFO: GPS data processed {"connection_id":159022,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:06:33] local.INFO: Acknowledgment sent {"connection_id":159022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:07:04] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e2a358012d978fc005794178000b00982e..."} 
[2026-08-21 02:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e2a358012d978fc005794178000b00982e..."} 
[2026-08-21 02:07:04] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e2a358012d978fc005794178000b00982e..."} 
[2026-08-21 02:07:04] local.INFO: Packet analysis {"connection_id":159022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:07:04] local.INFO: Extracted packet for processing {"connection_id":159022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:07:04] local.INFO: GPS Element Parsed {"raw_longitude":764907456,"raw_latitude":91832696,"longitude_deg":76.4907456,"latitude_deg":9.1832696,"altitude":11,"angle":152,"satellites":46,"speed":28,"hex_longitude":"2d978fc0","hex_latitude":"05794178","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538077696001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387753534428282880,"note":"Value kept but may cause issues"} 
[2026-08-21 02:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7526922328710066176,"note":"Value kept but may cause issues"} 
[2026-08-21 02:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787258119000,"timestamp_ms":1787258119000,"timestamp_seconds":1787258119,"priority":1,"record_length":96,"hex_timestamp":"000001a020e2a358"} 
[2026-08-21 02:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:07: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-08-21 02:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538077696001,"66":27234,"190":206,"85":15872,"24":28,"16":387753534428282880,"45":-7526922328710066176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 02:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538077696001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:07:04] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 02:07:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387753534428282880,"km_value":387753534428282.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7526922328710066176,"description":"Unknown IO ID 45"} 
[2026-08-21 02:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538077696001,"power":27234,"unknown_190":206,"unknown_85":15872,"ignition":28,"odometer":null,"unknown_45":-7526922328710066176}} 
[2026-08-21 02:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":159022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:07:04] local.INFO: GPS data processed {"connection_id":159022,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:07:04] local.INFO: Acknowledgment sent {"connection_id":159022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:07:27] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:27] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:27] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:07:28] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:28] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:28] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:07:32] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:32] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:07:32] local.INFO: IMEI packet received {"connection_id":159888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":159888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:07:33] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e2ce50012d979fc005792090000a00952e..."} 
[2026-08-21 02:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e2ce50012d979fc005792090000a00952e..."} 
[2026-08-21 02:07:33] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e2ce50012d979fc005792090000a00952e..."} 
[2026-08-21 02:07:33] local.INFO: Packet analysis {"connection_id":159888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:07:33] local.INFO: Extracted packet for processing {"connection_id":159888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:07:33] local.INFO: GPS Element Parsed {"raw_longitude":764911552,"raw_latitude":91824272,"longitude_deg":76.4911552,"latitude_deg":9.1824272,"altitude":10,"angle":149,"satellites":46,"speed":38,"hex_longitude":"2d979fc0","hex_latitude":"05792090","is_valid_coordinates":true} 
[2026-08-21 02:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538078464001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387753989694816256,"note":"Value kept but may cause issues"} 
[2026-08-21 02:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7525585322571106304,"note":"Value kept but may cause issues"} 
[2026-08-21 02:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258130000,"timestamp_ms":1787258130000,"timestamp_seconds":1787258130,"priority":1,"record_length":96,"hex_timestamp":"000001a020e2ce50"} 
[2026-08-21 02:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 02:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538078464001,"66":27310,"190":206,"85":15872,"24":38,"16":387753989694816256,"45":-7525585322571106304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 02:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538078464001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:07:33] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 02:07:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387753989694816256,"km_value":387753989694816.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7525585322571106304,"description":"Unknown IO ID 45"} 
[2026-08-21 02:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538078464001,"power":27310,"unknown_190":206,"unknown_85":15872,"ignition":38,"odometer":null,"unknown_45":-7525585322571106304}} 
[2026-08-21 02:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":159888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:07:33] local.INFO: GPS data processed {"connection_id":159888,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:07:33] local.INFO: Acknowledgment sent {"connection_id":159888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:08:04] local.INFO: TCP Data received {"connection_id":159888,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e2f178012d97b140057900980008009a2f..."} 
[2026-08-21 02:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e2f178012d97b140057900980008009a2f..."} 
[2026-08-21 02:08:04] local.INFO: Processing buffer {"connection_id":159888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e2f178012d97b140057900980008009a2f..."} 
[2026-08-21 02:08:04] local.INFO: Packet analysis {"connection_id":159888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:08:04] local.INFO: Extracted packet for processing {"connection_id":159888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e2"} 
[2026-08-21 02:08:04] local.INFO: GPS Element Parsed {"raw_longitude":764916032,"raw_latitude":91816088,"longitude_deg":76.4916032,"latitude_deg":9.1816088,"altitude":8,"angle":154,"satellites":47,"speed":43,"hex_longitude":"2d97b140","hex_latitude":"05790098","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538081280001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387754440666382336,"note":"Value kept but may cause issues"} 
[2026-08-21 02:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7521081722945892352,"note":"Value kept but may cause issues"} 
[2026-08-21 02:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787258139000,"timestamp_ms":1787258139000,"timestamp_seconds":1787258139,"priority":1,"record_length":96,"hex_timestamp":"000001a020e2f178"} 
[2026-08-21 02:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:08: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-08-21 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 02:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538081280001,"66":27267,"190":206,"85":15872,"24":43,"16":387754440666382336,"45":-7521081722945892352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 02:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538081280001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387754440666382336,"km_value":387754440666382.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7521081722945892352,"description":"Unknown IO ID 45"} 
[2026-08-21 02:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538081280001,"power":27267,"unknown_190":206,"unknown_85":15872,"ignition":43,"odometer":null,"unknown_45":-7521081722945892352}} 
[2026-08-21 02:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":159888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:08:04] local.INFO: GPS data processed {"connection_id":159888,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:08:04] local.INFO: Acknowledgment sent {"connection_id":159888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:08:26] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:26] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:26] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:08:27] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:27] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:27] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:08:32] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:32] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:08:32] local.INFO: IMEI packet received {"connection_id":159889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":159889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:08:33] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e46c60012d9861800577d980000b00912e..."} 
[2026-08-21 02:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e46c60012d9861800577d980000b00912e..."} 
[2026-08-21 02:08:33] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e46c60012d9861800577d980000b00912e..."} 
[2026-08-21 02:08:33] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:08:33] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:08:33] local.INFO: GPS Element Parsed {"raw_longitude":764961152,"raw_latitude":91740544,"longitude_deg":76.4961152,"latitude_deg":9.1740544,"altitude":11,"angle":145,"satellites":46,"speed":32,"hex_longitude":"2d986180","hex_latitude":"0577d980","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538105344001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387758701273939968,"note":"Value kept but may cause issues"} 
[2026-08-21 02:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7472245814506037248,"note":"Value kept but may cause issues"} 
[2026-08-21 02:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258236000,"timestamp_ms":1787258236000,"timestamp_seconds":1787258236,"priority":1,"record_length":96,"hex_timestamp":"000001a020e46c60"} 
[2026-08-21 02:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538105344001,"66":27300,"110":206,"85":15872,"24":32,"16":387758701273939968,"45":-7472245814506037248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-21 02:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538105344001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:08:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 02:08:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387758701273939968,"km_value":387758701273939.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7472245814506037248,"description":"Unknown IO ID 45"} 
[2026-08-21 02:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538105344001,"power":27300,"unknown_110":206,"unknown_85":15872,"ignition":32,"odometer":null,"unknown_45":-7472245814506037248}} 
[2026-08-21 02:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:08:33] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:08:33] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:09:04] local.INFO: TCP Data received {"connection_id":159889,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e49b40012d9876000577ba58000c00922f..."} 
[2026-08-21 02:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e49b40012d9876000577ba58000c00922f..."} 
[2026-08-21 02:09:04] local.INFO: Processing buffer {"connection_id":159889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e49b40012d9876000577ba58000c00922f..."} 
[2026-08-21 02:09:04] local.INFO: Packet analysis {"connection_id":159889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:09:04] local.INFO: Extracted packet for processing {"connection_id":159889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:09:04] local.INFO: GPS Element Parsed {"raw_longitude":764966400,"raw_latitude":91732568,"longitude_deg":76.49664,"latitude_deg":9.1732568,"altitude":12,"angle":146,"satellites":47,"speed":33,"hex_longitude":"2d987600","hex_latitude":"0577ba58","is_valid_coordinates":true} 
[2026-08-21 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-08-21 02:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538108416001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387759160835440640,"note":"Value kept but may cause issues"} 
[2026-08-21 02:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7466545946229637120,"note":"Value kept but may cause issues"} 
[2026-08-21 02:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787258248000,"timestamp_ms":1787258248000,"timestamp_seconds":1787258248,"priority":1,"record_length":96,"hex_timestamp":"000001a020e49b40"} 
[2026-08-21 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-08-21 02:09: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-08-21 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 02:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538108416001,"66":26430,"110":206,"85":15872,"24":33,"16":387759160835440640,"45":-7466545946229637120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-21 02:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538108416001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:09:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 02:09:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387759160835440640,"km_value":387759160835440.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7466545946229637120,"description":"Unknown IO ID 45"} 
[2026-08-21 02:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538108416001,"power":26430,"unknown_110":206,"unknown_85":15872,"ignition":33,"odometer":null,"unknown_45":-7466545946229637120}} 
[2026-08-21 02:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":159889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:09:04] local.INFO: GPS data processed {"connection_id":159889,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:09:04] local.INFO: Acknowledgment sent {"connection_id":159889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:09:27] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:27] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:27] local.INFO: IMEI packet received {"connection_id":158743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":158743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:09:28] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:28] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:28] local.INFO: IMEI packet received {"connection_id":158743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:09:28] local.INFO: IMEI acknowledgment sent {"connection_id":158743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:09:32] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:32] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:09:32] local.INFO: IMEI packet received {"connection_id":158743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":158743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:09:33] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e4c638012d988b0005779a98000a00932f..."} 
[2026-08-21 02:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e4c638012d988b0005779a98000a00932f..."} 
[2026-08-21 02:09:33] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e4c638012d988b0005779a98000a00932f..."} 
[2026-08-21 02:09:33] local.INFO: Packet analysis {"connection_id":158743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:09:33] local.INFO: Extracted packet for processing {"connection_id":158743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:09:33] local.INFO: GPS Element Parsed {"raw_longitude":764971776,"raw_latitude":91724440,"longitude_deg":76.4971776,"latitude_deg":9.172444,"altitude":10,"angle":147,"satellites":47,"speed":37,"hex_longitude":"2d988b00","hex_latitude":"05779a98","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538111488001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387759633281843200,"note":"Value kept but may cause issues"} 
[2026-08-21 02:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7460775709209110528,"note":"Value kept but may cause issues"} 
[2026-08-21 02:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258259000,"timestamp_ms":1787258259000,"timestamp_seconds":1787258259,"priority":1,"record_length":96,"hex_timestamp":"000001a020e4c638"} 
[2026-08-21 02:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 02:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538111488001,"66":27397,"110":206,"85":15872,"24":37,"16":387759633281843200,"45":-7460775709209110528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-21 02:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538111488001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:09:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 02:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387759633281843200,"km_value":387759633281843.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7460775709209110528,"description":"Unknown IO ID 45"} 
[2026-08-21 02:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538111488001,"power":27397,"unknown_110":206,"unknown_85":15872,"ignition":37,"odometer":null,"unknown_45":-7460775709209110528}} 
[2026-08-21 02:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":158743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:09:33] local.INFO: GPS data processed {"connection_id":158743,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:09:33] local.INFO: Acknowledgment sent {"connection_id":158743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:10:06] local.INFO: TCP Data received {"connection_id":158743,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e4e960012d989f4005777c000008009330..."} 
[2026-08-21 02:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e4e960012d989f4005777c000008009330..."} 
[2026-08-21 02:10:06] local.INFO: Processing buffer {"connection_id":158743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e4e960012d989f4005777c000008009330..."} 
[2026-08-21 02:10:06] local.INFO: Packet analysis {"connection_id":158743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:10:06] local.INFO: Extracted packet for processing {"connection_id":158743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e4"} 
[2026-08-21 02:10:06] local.INFO: GPS Element Parsed {"raw_longitude":764976960,"raw_latitude":91716608,"longitude_deg":76.497696,"latitude_deg":9.1716608,"altitude":8,"angle":147,"satellites":48,"speed":44,"hex_longitude":"2d989f40","hex_latitude":"05777c00","is_valid_coordinates":true} 
[2026-08-21 02:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538114304001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387760084253409280,"note":"Value kept but may cause issues"} 
[2026-08-21 02:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7454864734700267520,"note":"Value kept but may cause issues"} 
[2026-08-21 02:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787258268000,"timestamp_ms":1787258268000,"timestamp_seconds":1787258268,"priority":1,"record_length":96,"hex_timestamp":"000001a020e4e960"} 
[2026-08-21 02:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:10: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-08-21 02:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 02:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538114304001,"66":27343,"110":206,"85":15872,"24":44,"16":387760084253409280,"45":-7454864734700267520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-21 02:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538114304001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:10:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 02:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387760084253409280,"km_value":387760084253409.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7454864734700267520,"description":"Unknown IO ID 45"} 
[2026-08-21 02:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538114304001,"power":27343,"unknown_110":206,"unknown_85":15872,"ignition":44,"odometer":null,"unknown_45":-7454864734700267520}} 
[2026-08-21 02:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":158743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:10:07] local.INFO: GPS data processed {"connection_id":158743,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:10:07] local.INFO: Acknowledgment sent {"connection_id":158743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:10:29] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:29] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:29] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:10:33] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:33] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:33] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:10:37] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:37] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:10:37] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:10:38] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e508a0012d98b140057763980006008530..."} 
[2026-08-21 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e508a0012d98b140057763980006008530..."} 
[2026-08-21 02:10:38] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e508a0012d98b140057763980006008530..."} 
[2026-08-21 02:10:38] local.INFO: Packet analysis {"connection_id":159023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e5"} 
[2026-08-21 02:10:38] local.INFO: Extracted packet for processing {"connection_id":159023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e5"} 
[2026-08-21 02:10:38] local.INFO: GPS Element Parsed {"raw_longitude":764981568,"raw_latitude":91710360,"longitude_deg":76.4981568,"latitude_deg":9.171036,"altitude":6,"angle":133,"satellites":48,"speed":28,"hex_longitude":"2d98b140","hex_latitude":"05776398","is_valid_coordinates":true} 
[2026-08-21 02:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538116608001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387760462210531328,"note":"Value kept but may cause issues"} 
[2026-08-21 02:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7449164866423881728,"note":"Value kept but may cause issues"} 
[2026-08-21 02:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787258276000,"timestamp_ms":1787258276000,"timestamp_seconds":1787258276,"priority":1,"record_length":96,"hex_timestamp":"000001a020e508a0"} 
[2026-08-21 02:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538116608001,"66":27267,"110":206,"85":15872,"24":28,"16":387760462210531328,"45":-7449164866423881728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,85,24,16,45]} 
[2026-08-21 02:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538116608001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:10:38] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 02:10:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387760462210531328,"km_value":387760462210531.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7449164866423881728,"description":"Unknown IO ID 45"} 
[2026-08-21 02:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538116608001,"power":27267,"unknown_110":206,"unknown_85":15872,"ignition":28,"odometer":null,"unknown_45":-7449164866423881728}} 
[2026-08-21 02:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":159023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:10:38] local.INFO: GPS data processed {"connection_id":159023,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:10:38] local.INFO: Acknowledgment sent {"connection_id":159023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:11:09] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e717f8012d99a440057626b80009007f2f..."} 
[2026-08-21 02:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e717f8012d99a440057626b80009007f2f..."} 
[2026-08-21 02:11:09] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e717f8012d99a440057626b80009007f2f..."} 
[2026-08-21 02:11:09] local.INFO: Packet analysis {"connection_id":159023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:11:09] local.INFO: Extracted packet for processing {"connection_id":159023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:11:09] local.INFO: GPS Element Parsed {"raw_longitude":765043776,"raw_latitude":91629240,"longitude_deg":76.5043776,"latitude_deg":9.162924,"altitude":9,"angle":127,"satellites":47,"speed":41,"hex_longitude":"2d99a440","hex_latitude":"057626b8","is_valid_coordinates":true} 
[2026-08-21 02:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538150912001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387765414307823616,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7383088615661809664,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787258411000,"timestamp_ms":1787258411000,"timestamp_seconds":1787258411,"priority":1,"record_length":96,"hex_timestamp":"000001a020e717f8"} 
[2026-08-21 02:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:11: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-08-21 02:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 02:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538150912001,"66":27376,"109":206,"85":15872,"24":41,"16":387765414307823616,"45":-7383088615661809664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 02:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538150912001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:11:09] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 02:11:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387765414307823616,"km_value":387765414307823.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7383088615661809664,"description":"Unknown IO ID 45"} 
[2026-08-21 02:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538150912001,"power":27376,"unknown_109":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7383088615661809664}} 
[2026-08-21 02:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":159023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:11:09] local.INFO: GPS data processed {"connection_id":159023,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:11:09] local.INFO: Acknowledgment sent {"connection_id":159023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:11:37] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:37] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:37] local.INFO: IMEI packet received {"connection_id":161263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":161263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:11:37] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:37] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:37] local.INFO: IMEI packet received {"connection_id":161263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":161263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:11:42] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:42] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:11:42] local.INFO: IMEI packet received {"connection_id":161263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":161263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:11:43] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e73b20012d99c400057610a8000a007c2c..."} 
[2026-08-21 02:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e73b20012d99c400057610a8000a007c2c..."} 
[2026-08-21 02:11:43] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e73b20012d99c400057610a8000a007c2c..."} 
[2026-08-21 02:11:43] local.INFO: Packet analysis {"connection_id":161263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:11:43] local.INFO: Extracted packet for processing {"connection_id":161263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":765051904,"raw_latitude":91623592,"longitude_deg":76.5051904,"latitude_deg":9.1623592,"altitude":10,"angle":124,"satellites":44,"speed":45,"hex_longitude":"2d99c400","hex_latitude":"057610a8","is_valid_coordinates":true} 
[2026-08-21 02:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538153216001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387765891049193472,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7375699897524766720,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787258420000,"timestamp_ms":1787258420000,"timestamp_seconds":1787258420,"priority":1,"record_length":96,"hex_timestamp":"000001a020e73b20"} 
[2026-08-21 02:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 02:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538153216001,"66":27365,"109":206,"85":15872,"24":45,"16":387765891049193472,"45":-7375699897524766720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 02:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538153216001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:11:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 02:11:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387765891049193472,"km_value":387765891049193.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7375699897524766720,"description":"Unknown IO ID 45"} 
[2026-08-21 02:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538153216001,"power":27365,"unknown_109":206,"unknown_85":15872,"ignition":45,"odometer":null,"unknown_45":-7375699897524766720}} 
[2026-08-21 02:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":161263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:11:43] local.INFO: GPS data processed {"connection_id":161263,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:11:43] local.INFO: Acknowledgment sent {"connection_id":161263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:11:47] local.INFO: TCP Data received {"connection_id":161263,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e75a60012d99e2400575fba8000a007d2e..."} 
[2026-08-21 02:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e75a60012d99e2400575fba8000a007d2e..."} 
[2026-08-21 02:11:47] local.INFO: Processing buffer {"connection_id":161263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e75a60012d99e2400575fba8000a007d2e..."} 
[2026-08-21 02:11:47] local.INFO: Packet analysis {"connection_id":161263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:11:47] local.INFO: Extracted packet for processing {"connection_id":161263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:11:47] local.INFO: GPS Element Parsed {"raw_longitude":765059648,"raw_latitude":91618216,"longitude_deg":76.5059648,"latitude_deg":9.1618216,"altitude":10,"angle":125,"satellites":46,"speed":48,"hex_longitude":"2d99e240","hex_latitude":"0575fba8","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538155520001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387766346315726848,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7366763067015649280,"note":"Value kept but may cause issues"} 
[2026-08-21 02:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787258428000,"timestamp_ms":1787258428000,"timestamp_seconds":1787258428,"priority":1,"record_length":96,"hex_timestamp":"000001a020e75a60"} 
[2026-08-21 02:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538155520001,"66":27104,"163":206,"85":15872,"24":48,"16":387766346315726848,"45":-7366763067015649280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-21 02:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538155520001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:11:47] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 02:11:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387766346315726848,"km_value":387766346315726.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7366763067015649280,"description":"Unknown IO ID 45"} 
[2026-08-21 02:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538155520001,"power":27104,"unknown_163":206,"unknown_85":15872,"ignition":48,"odometer":null,"unknown_45":-7366763067015649280}} 
[2026-08-21 02:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":161263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:11:47] local.INFO: GPS data processed {"connection_id":161263,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:11:47] local.INFO: Acknowledgment sent {"connection_id":161263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:12:27] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:12:27] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:12:27] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:12:32] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:12:32] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:12:32] local.INFO: IMEI packet received {"connection_id":159890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":159890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:12:33] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e779a0012d9a02c00575e4f8000a007d2c..."} 
[2026-08-21 02:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e779a0012d9a02c00575e4f8000a007d2c..."} 
[2026-08-21 02:12:33] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e779a0012d9a02c00575e4f8000a007d2c..."} 
[2026-08-21 02:12:33] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:12:33] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e7"} 
[2026-08-21 02:12:33] local.INFO: GPS Element Parsed {"raw_longitude":765067968,"raw_latitude":91612408,"longitude_deg":76.5067968,"latitude_deg":9.1612408,"altitude":10,"angle":125,"satellites":44,"speed":52,"hex_longitude":"2d9a02c0","hex_latitude":"0575e4f8","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538157568001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387766831647031296,"note":"Value kept but may cause issues"} 
[2026-08-21 02:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7358248448971528192,"note":"Value kept but may cause issues"} 
[2026-08-21 02:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258436000,"timestamp_ms":1787258436000,"timestamp_seconds":1787258436,"priority":1,"record_length":96,"hex_timestamp":"000001a020e779a0"} 
[2026-08-21 02:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 02:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538157568001,"66":27300,"163":206,"85":15872,"24":52,"16":387766831647031296,"45":-7358248448971528192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-21 02:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538157568001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:12:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 02:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387766831647031296,"km_value":387766831647031.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7358248448971528192,"description":"Unknown IO ID 45"} 
[2026-08-21 02:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538157568001,"power":27300,"unknown_163":206,"unknown_85":15872,"ignition":52,"odometer":null,"unknown_45":-7358248448971528192}} 
[2026-08-21 02:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:12:33] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:12:33] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:13:04] local.INFO: TCP Data received {"connection_id":159890,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e913c8012d9a8ac00574d558000a00c32d..."} 
[2026-08-21 02:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e913c8012d9a8ac00574d558000a00c32d..."} 
[2026-08-21 02:13:04] local.INFO: Processing buffer {"connection_id":159890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e913c8012d9a8ac00574d558000a00c32d..."} 
[2026-08-21 02:13:04] local.INFO: Packet analysis {"connection_id":159890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:13:04] local.INFO: Extracted packet for processing {"connection_id":159890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:13:04] local.INFO: GPS Element Parsed {"raw_longitude":765102784,"raw_latitude":91542872,"longitude_deg":76.5102784,"latitude_deg":9.1542872,"altitude":10,"angle":195,"satellites":45,"speed":14,"hex_longitude":"2d9a8ac0","hex_latitude":"0574d558","is_valid_coordinates":true} 
[2026-08-21 02:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538186240001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387770667052826624,"note":"Value kept but may cause issues"} 
[2026-08-21 02:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7310749546670804992,"note":"Value kept but may cause issues"} 
[2026-08-21 02:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787258541000,"timestamp_ms":1787258541000,"timestamp_seconds":1787258541,"priority":1,"record_length":96,"hex_timestamp":"000001a020e913c8"} 
[2026-08-21 02:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538186240001,"66":27332,"163":206,"85":15872,"24":14,"16":387770667052826624,"45":-7310749546670804992},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-21 02:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538186240001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:13:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 02:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387770667052826624,"km_value":387770667052826.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7310749546670804992,"description":"Unknown IO ID 45"} 
[2026-08-21 02:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538186240001,"power":27332,"unknown_163":206,"unknown_85":15872,"ignition":14,"odometer":null,"unknown_45":-7310749546670804992}} 
[2026-08-21 02:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":159890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:13:04] local.INFO: GPS data processed {"connection_id":159890,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:13:04] local.INFO: Acknowledgment sent {"connection_id":159890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:13:27] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:13:27] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:13:27] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:13:32] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:13:32] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:13:32] local.INFO: IMEI packet received {"connection_id":159891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":159891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:13:34] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e91b98012d9a8a000574d260000b00b22e..."} 
[2026-08-21 02:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e91b98012d9a8a000574d260000b00b22e..."} 
[2026-08-21 02:13:34] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e91b98012d9a8a000574d260000b00b22e..."} 
[2026-08-21 02:13:34] local.INFO: Packet analysis {"connection_id":159891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:13:34] local.INFO: Extracted packet for processing {"connection_id":159891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:13:34] local.INFO: GPS Element Parsed {"raw_longitude":765102592,"raw_latitude":91542112,"longitude_deg":76.5102592,"latitude_deg":9.1542112,"altitude":11,"angle":178,"satellites":46,"speed":16,"hex_longitude":"2d9a8a00","hex_latitude":"0574d260","is_valid_coordinates":true} 
[2026-08-21 02:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538186496001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387770701412564992,"note":"Value kept but may cause issues"} 
[2026-08-21 02:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7310819915415070720,"note":"Value kept but may cause issues"} 
[2026-08-21 02:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787258543000,"timestamp_ms":1787258543000,"timestamp_seconds":1787258543,"priority":1,"record_length":96,"hex_timestamp":"000001a020e91b98"} 
[2026-08-21 02:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:13: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-08-21 02:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538186496001,"66":27332,"163":206,"85":15872,"24":16,"16":387770701412564992,"45":-7310819915415070720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-21 02:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538186496001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:13:34] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 02:13:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387770701412564992,"km_value":387770701412565.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7310819915415070720,"description":"Unknown IO ID 45"} 
[2026-08-21 02:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538186496001,"power":27332,"unknown_163":206,"unknown_85":15872,"ignition":16,"odometer":null,"unknown_45":-7310819915415070720}} 
[2026-08-21 02:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":159891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:13:34] local.INFO: GPS data processed {"connection_id":159891,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:13:34] local.INFO: Acknowledgment sent {"connection_id":159891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:14:05] local.INFO: TCP Data received {"connection_id":159891,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e91f80012d9a8a800574d0b0000b00a22e..."} 
[2026-08-21 02:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e91f80012d9a8a800574d0b0000b00a22e..."} 
[2026-08-21 02:14:05] local.INFO: Processing buffer {"connection_id":159891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e91f80012d9a8a800574d0b0000b00a22e..."} 
[2026-08-21 02:14:05] local.INFO: Packet analysis {"connection_id":159891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:14:05] local.INFO: Extracted packet for processing {"connection_id":159891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:14:05] local.INFO: GPS Element Parsed {"raw_longitude":765102720,"raw_latitude":91541680,"longitude_deg":76.510272,"latitude_deg":9.154168,"altitude":11,"angle":162,"satellites":46,"speed":18,"hex_longitude":"2d9a8a80","hex_latitude":"0574d0b0","is_valid_coordinates":true} 
[2026-08-21 02:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538187008001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387770722887401472,"note":"Value kept but may cause issues"} 
[2026-08-21 02:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7311031021647798272,"note":"Value kept but may cause issues"} 
[2026-08-21 02:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787258544000,"timestamp_ms":1787258544000,"timestamp_seconds":1787258544,"priority":1,"record_length":96,"hex_timestamp":"000001a020e91f80"} 
[2026-08-21 02:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02: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-08-21 02: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":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:14: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-08-21 02:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:14: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-08-21 02:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538187008001,"66":26376,"163":206,"85":15872,"24":18,"16":387770722887401472,"45":-7311031021647798272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-21 02:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538187008001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:14:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 02:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387770722887401472,"km_value":387770722887401.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7311031021647798272,"description":"Unknown IO ID 45"} 
[2026-08-21 02:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538187008001,"power":26376,"unknown_163":206,"unknown_85":15872,"ignition":18,"odometer":null,"unknown_45":-7311031021647798272}} 
[2026-08-21 02:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":159891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:14:05] local.INFO: GPS data processed {"connection_id":159891,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:14:05] local.INFO: Acknowledgment sent {"connection_id":159891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:14:27] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:14:27] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:14:27] local.INFO: IMEI packet received {"connection_id":159892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":159892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:14:32] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:14:32] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:14:32] local.INFO: IMEI packet received {"connection_id":159892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":159892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:14:33] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e92750012d9a8c400574cd68000b00942e..."} 
[2026-08-21 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e92750012d9a8c400574cd68000b00942e..."} 
[2026-08-21 02:14:33] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e92750012d9a8c400574cd68000b00942e..."} 
[2026-08-21 02:14:33] local.INFO: Packet analysis {"connection_id":159892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:14:33] local.INFO: Extracted packet for processing {"connection_id":159892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:14:33] local.INFO: GPS Element Parsed {"raw_longitude":765103168,"raw_latitude":91540840,"longitude_deg":76.5103168,"latitude_deg":9.154084,"altitude":11,"angle":148,"satellites":46,"speed":19,"hex_longitude":"2d9a8c40","hex_latitude":"0574cd68","is_valid_coordinates":true} 
[2026-08-21 02:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538187264001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387770770132041728,"note":"Value kept but may cause issues"} 
[2026-08-21 02:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7310890284159553536,"note":"Value kept but may cause issues"} 
[2026-08-21 02:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258546000,"timestamp_ms":1787258546000,"timestamp_seconds":1787258546,"priority":1,"record_length":96,"hex_timestamp":"000001a020e92750"} 
[2026-08-21 02:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-08-21 02:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538187264001,"66":27223,"163":206,"85":15872,"24":19,"16":387770770132041728,"45":-7310890284159553536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-21 02:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538187264001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:14:33] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 02:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387770770132041728,"km_value":387770770132041.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7310890284159553536,"description":"Unknown IO ID 45"} 
[2026-08-21 02:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538187264001,"power":27223,"unknown_163":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7310890284159553536}} 
[2026-08-21 02:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":159892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:14:33] local.INFO: GPS data processed {"connection_id":159892,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:14:33] local.INFO: Acknowledgment sent {"connection_id":159892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:15:04] local.INFO: TCP Data received {"connection_id":159892,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020e94e60012d9a95c00574bf30000c008630..."} 
[2026-08-21 02:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020e94e60012d9a95c00574bf30000c008630..."} 
[2026-08-21 02:15:04] local.INFO: Processing buffer {"connection_id":159892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020e94e60012d9a95c00574bf30000c008630..."} 
[2026-08-21 02:15:04] local.INFO: Packet analysis {"connection_id":159892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:15:04] local.INFO: Extracted packet for processing {"connection_id":159892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020e9"} 
[2026-08-21 02:15:04] local.INFO: GPS Element Parsed {"raw_longitude":765105600,"raw_latitude":91537200,"longitude_deg":76.51056,"latitude_deg":9.15372,"altitude":12,"angle":134,"satellites":48,"speed":18,"hex_longitude":"2d9a95c0","hex_latitude":"0574bf30","is_valid_coordinates":true} 
[2026-08-21 02:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538187776001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387770984880406528,"note":"Value kept but may cause issues"} 
[2026-08-21 02:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7310397702950524928,"note":"Value kept but may cause issues"} 
[2026-08-21 02:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787258556000,"timestamp_ms":1787258556000,"timestamp_seconds":1787258556,"priority":1,"record_length":96,"hex_timestamp":"000001a020e94e60"} 
[2026-08-21 02:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:15: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-08-21 02:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 02:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538187776001,"66":27310,"163":206,"85":15872,"24":18,"16":387770984880406528,"45":-7310397702950524928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,85,24,16,45]} 
[2026-08-21 02:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538187776001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:15:04] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 02:15:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387770984880406528,"km_value":387770984880406.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7310397702950524928,"description":"Unknown IO ID 45"} 
[2026-08-21 02:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538187776001,"power":27310,"unknown_163":206,"unknown_85":15872,"ignition":18,"odometer":null,"unknown_45":-7310397702950524928}} 
[2026-08-21 02:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":159892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:15:04] local.INFO: GPS data processed {"connection_id":159892,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:15:04] local.INFO: Acknowledgment sent {"connection_id":159892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:15:27] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:15:27] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:15:27] local.INFO: IMEI packet received {"connection_id":161264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":161264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:15:32] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:15:32] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:15:32] local.INFO: IMEI packet received {"connection_id":161264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":161264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:15:33] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020eb1380012d9af7800573bf60000a00bf2e..."} 
[2026-08-21 02:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020eb1380012d9af7800573bf60000a00bf2e..."} 
[2026-08-21 02:15:33] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020eb1380012d9af7800573bf60000a00bf2e..."} 
[2026-08-21 02:15:33] local.INFO: Packet analysis {"connection_id":161264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:15:33] local.INFO: Extracted packet for processing {"connection_id":161264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:15:33] local.INFO: GPS Element Parsed {"raw_longitude":765130624,"raw_latitude":91471712,"longitude_deg":76.5130624,"latitude_deg":9.1471712,"altitude":10,"angle":191,"satellites":46,"speed":41,"hex_longitude":"2d9af780","hex_latitude":"0573bf60","is_valid_coordinates":true} 
[2026-08-21 02:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538217728001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387774717206986752,"note":"Value kept but may cause issues"} 
[2026-08-21 02:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7278379924365078528,"note":"Value kept but may cause issues"} 
[2026-08-21 02:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258672000,"timestamp_ms":1787258672000,"timestamp_seconds":1787258672,"priority":1,"record_length":96,"hex_timestamp":"000001a020eb1380"} 
[2026-08-21 02:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538217728001,"66":27365,"162":206,"85":15872,"24":41,"16":387774717206986752,"45":-7278379924365078528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 02:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538217728001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:15:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387774717206986752,"km_value":387774717206986.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7278379924365078528,"description":"Unknown IO ID 45"} 
[2026-08-21 02:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538217728001,"power":27365,"unknown_162":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7278379924365078528}} 
[2026-08-21 02:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":161264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:15:33] local.INFO: GPS data processed {"connection_id":161264,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:15:33] local.INFO: Acknowledgment sent {"connection_id":161264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:16:04] local.INFO: TCP Data received {"connection_id":161264,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020eb36a8012d9aee4005739a20000a00c32f..."} 
[2026-08-21 02:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020eb36a8012d9aee4005739a20000a00c32f..."} 
[2026-08-21 02:16:04] local.INFO: Processing buffer {"connection_id":161264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020eb36a8012d9aee4005739a20000a00c32f..."} 
[2026-08-21 02:16:04] local.INFO: Packet analysis {"connection_id":161264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:16:04] local.INFO: Extracted packet for processing {"connection_id":161264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:16:04] local.INFO: GPS Element Parsed {"raw_longitude":765128256,"raw_latitude":91462176,"longitude_deg":76.5128256,"latitude_deg":9.1462176,"altitude":10,"angle":195,"satellites":47,"speed":41,"hex_longitude":"2d9aee40","hex_latitude":"05739a20","is_valid_coordinates":true} 
[2026-08-21 02:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538220032001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387775193948356608,"note":"Value kept but may cause issues"} 
[2026-08-21 02:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280209511716003840,"note":"Value kept but may cause issues"} 
[2026-08-21 02:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787258681000,"timestamp_ms":1787258681000,"timestamp_seconds":1787258681,"priority":1,"record_length":96,"hex_timestamp":"000001a020eb36a8"} 
[2026-08-21 02:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:16: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-08-21 02:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538220032001,"66":27180,"162":206,"85":15872,"24":41,"16":387775193948356608,"45":-7280209511716003840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 02:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538220032001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:16:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:16:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387775193948356608,"km_value":387775193948356.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280209511716003840,"description":"Unknown IO ID 45"} 
[2026-08-21 02:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538220032001,"power":27180,"unknown_162":206,"unknown_85":15872,"ignition":41,"odometer":null,"unknown_45":-7280209511716003840}} 
[2026-08-21 02:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":161264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:16:04] local.INFO: GPS data processed {"connection_id":161264,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:16:04] local.INFO: Acknowledgment sent {"connection_id":161264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:16:27] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:16:27] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:16:27] local.INFO: IMEI packet received {"connection_id":161265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":161265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:16:32] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:16:32] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:16:32] local.INFO: IMEI packet received {"connection_id":161265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":161265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:16:33] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020eb4a30012d9ae9c005738c60000b00d62b..."} 
[2026-08-21 02:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020eb4a30012d9ae9c005738c60000b00d62b..."} 
[2026-08-21 02:16:33] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020eb4a30012d9ae9c005738c60000b00d62b..."} 
[2026-08-21 02:16:33] local.INFO: Packet analysis {"connection_id":161265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:16:33] local.INFO: Extracted packet for processing {"connection_id":161265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:16:33] local.INFO: GPS Element Parsed {"raw_longitude":765127104,"raw_latitude":91458656,"longitude_deg":76.5127104,"latitude_deg":9.1458656,"altitude":11,"angle":214,"satellites":43,"speed":22,"hex_longitude":"2d9ae9c0","hex_latitude":"05738c60","is_valid_coordinates":true} 
[2026-08-21 02:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538222336001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387775374336983040,"note":"Value kept but may cause issues"} 
[2026-08-21 02:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7282813155253018624,"note":"Value kept but may cause issues"} 
[2026-08-21 02:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787258686000,"timestamp_ms":1787258686000,"timestamp_seconds":1787258686,"priority":1,"record_length":96,"hex_timestamp":"000001a020eb4a30"} 
[2026-08-21 02:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 02:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538222336001,"66":27267,"162":206,"85":15872,"24":22,"16":387775374336983040,"45":-7282813155253018624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 02:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538222336001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:16:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:16:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387775374336983040,"km_value":387775374336983.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7282813155253018624,"description":"Unknown IO ID 45"} 
[2026-08-21 02:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538222336001,"power":27267,"unknown_162":206,"unknown_85":15872,"ignition":22,"odometer":null,"unknown_45":-7282813155253018624}} 
[2026-08-21 02:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":161265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:16:33] local.INFO: GPS data processed {"connection_id":161265,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:16:33] local.INFO: Acknowledgment sent {"connection_id":161265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:17:04] local.INFO: TCP Data received {"connection_id":161265,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020eb6970012d9ade8005737d98000c00c82d..."} 
[2026-08-21 02:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020eb6970012d9ade8005737d98000c00c82d..."} 
[2026-08-21 02:17:04] local.INFO: Processing buffer {"connection_id":161265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020eb6970012d9ade8005737d98000c00c82d..."} 
[2026-08-21 02:17:04] local.INFO: Packet analysis {"connection_id":161265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:17:04] local.INFO: Extracted packet for processing {"connection_id":161265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:17:04] local.INFO: GPS Element Parsed {"raw_longitude":765124224,"raw_latitude":91454872,"longitude_deg":76.5124224,"latitude_deg":9.1454872,"altitude":12,"angle":200,"satellites":45,"speed":28,"hex_longitude":"2d9ade80","hex_latitude":"05737d98","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538223616001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387775606265217024,"note":"Value kept but may cause issues"} 
[2026-08-21 02:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7284079792649117696,"note":"Value kept but may cause issues"} 
[2026-08-21 02:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787258694000,"timestamp_ms":1787258694000,"timestamp_seconds":1787258694,"priority":1,"record_length":96,"hex_timestamp":"000001a020eb6970"} 
[2026-08-21 02:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:17: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-08-21 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538223616001,"66":27332,"162":206,"85":15872,"24":28,"16":387775606265217024,"45":-7284079792649117696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 02:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538223616001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:17:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387775606265217024,"km_value":387775606265217.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7284079792649117696,"description":"Unknown IO ID 45"} 
[2026-08-21 02:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538223616001,"power":27332,"unknown_162":206,"unknown_85":15872,"ignition":28,"odometer":null,"unknown_45":-7284079792649117696}} 
[2026-08-21 02:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":161265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:17:04] local.INFO: GPS data processed {"connection_id":161265,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:17:04] local.INFO: Acknowledgment sent {"connection_id":161265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:17:30] local.INFO: TCP Data received {"connection_id":158744,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:30] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:30] local.INFO: IMEI packet received {"connection_id":158744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":158744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:17:32] local.INFO: TCP Data received {"connection_id":158744,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:32] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:32] local.INFO: IMEI packet received {"connection_id":158744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":158744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:17:37] local.INFO: TCP Data received {"connection_id":158744,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:37] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:17:37] local.INFO: IMEI packet received {"connection_id":158744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":158744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:17:38] local.INFO: TCP Data received {"connection_id":158744,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020eb9080012d9ad6c005735e30000c00bd2e..."} 
[2026-08-21 02:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020eb9080012d9ad6c005735e30000c00bd2e..."} 
[2026-08-21 02:17:38] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020eb9080012d9ad6c005735e30000c00bd2e..."} 
[2026-08-21 02:17:38] local.INFO: Packet analysis {"connection_id":158744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:17:38] local.INFO: Extracted packet for processing {"connection_id":158744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020eb"} 
[2026-08-21 02:17:38] local.INFO: GPS Element Parsed {"raw_longitude":765122240,"raw_latitude":91446832,"longitude_deg":76.512224,"latitude_deg":9.1446832,"altitude":12,"angle":189,"satellites":46,"speed":38,"hex_longitude":"2d9ad6c0","hex_latitude":"05735e30","is_valid_coordinates":true} 
[2026-08-21 02:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538225664001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387776005697175552,"note":"Value kept but may cause issues"} 
[2026-08-21 02:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7287246386138081280,"note":"Value kept but may cause issues"} 
[2026-08-21 02:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787258704000,"timestamp_ms":1787258704000,"timestamp_seconds":1787258704,"priority":1,"record_length":96,"hex_timestamp":"000001a020eb9080"} 
[2026-08-21 02:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538225664001,"66":27332,"162":206,"85":15872,"24":38,"16":387776005697175552,"45":-7287246386138081280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 02:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538225664001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:17:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:17:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 02:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387776005697175552,"km_value":387776005697175.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7287246386138081280,"description":"Unknown IO ID 45"} 
[2026-08-21 02:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538225664001,"power":27332,"unknown_162":206,"unknown_85":15872,"ignition":38,"odometer":null,"unknown_45":-7287246386138081280}} 
[2026-08-21 02:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":158744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:17:38] local.INFO: GPS data processed {"connection_id":158744,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:17:38] local.INFO: Acknowledgment sent {"connection_id":158744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:18:09] local.INFO: TCP Data received {"connection_id":158744,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ed70f8012d9ae680057225d0000a009c2c..."} 
[2026-08-21 02:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ed70f8012d9ae680057225d0000a009c2c..."} 
[2026-08-21 02:18:09] local.INFO: Processing buffer {"connection_id":158744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ed70f8012d9ae680057225d0000a009c2c..."} 
[2026-08-21 02:18:09] local.INFO: Packet analysis {"connection_id":158744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:18:09] local.INFO: Extracted packet for processing {"connection_id":158744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:18:09] local.INFO: GPS Element Parsed {"raw_longitude":765126272,"raw_latitude":91366864,"longitude_deg":76.5126272,"latitude_deg":9.1366864,"altitude":10,"angle":156,"satellites":44,"speed":30,"hex_longitude":"2d9ae680","hex_latitude":"057225d0","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538255872001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387779948477153280,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7288724129786150912,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787258827000,"timestamp_ms":1787258827000,"timestamp_seconds":1787258827,"priority":1,"record_length":96,"hex_timestamp":"000001a020ed70f8"} 
[2026-08-21 02:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02: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-08-21 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 02:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538255872001,"66":27169,"192":206,"84":8448,"24":30,"16":387779948477153280,"45":-7288724129786150912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-21 02:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538255872001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:18:09] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 02:18:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387779948477153280,"km_value":387779948477153.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7288724129786150912,"description":"Unknown IO ID 45"} 
[2026-08-21 02:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538255872001,"power":27169,"unknown_192":206,"unknown_84":8448,"ignition":30,"odometer":null,"unknown_45":-7288724129786150912}} 
[2026-08-21 02:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":158744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:18:09] local.INFO: GPS data processed {"connection_id":158744,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:18:09] local.INFO: Acknowledgment sent {"connection_id":158744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:18:24] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:24] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:24] local.INFO: IMEI packet received {"connection_id":161266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":161266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:18:27] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:27] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:27] local.INFO: IMEI packet received {"connection_id":161266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":161266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:18:30] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:30] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:18:30] local.INFO: IMEI packet received {"connection_id":161266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":161266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:18:34] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ed9bf0012d9af580057203c00009009c2c..."} 
[2026-08-21 02:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ed9bf0012d9af580057203c00009009c2c..."} 
[2026-08-21 02:18:34] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ed9bf0012d9af580057203c00009009c2c..."} 
[2026-08-21 02:18:34] local.INFO: Packet analysis {"connection_id":161266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:18:34] local.INFO: Extracted packet for processing {"connection_id":161266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:18:34] local.INFO: GPS Element Parsed {"raw_longitude":765130112,"raw_latitude":91358144,"longitude_deg":76.5130112,"latitude_deg":9.1358144,"altitude":9,"angle":156,"satellites":44,"speed":36,"hex_longitude":"2d9af580","hex_latitude":"057203c0","is_valid_coordinates":true} 
[2026-08-21 02:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538259712001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387780408038653952,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7284994586346926080,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787258838000,"timestamp_ms":1787258838000,"timestamp_seconds":1787258838,"priority":1,"record_length":96,"hex_timestamp":"000001a020ed9bf0"} 
[2026-08-21 02:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 02:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538259712001,"66":27321,"192":206,"84":8448,"24":36,"16":387780408038653952,"45":-7284994586346926080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-21 02:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538259712001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:18:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 02:18:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387780408038653952,"km_value":387780408038653.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7284994586346926080,"description":"Unknown IO ID 45"} 
[2026-08-21 02:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538259712001,"power":27321,"unknown_192":206,"unknown_84":8448,"ignition":36,"odometer":null,"unknown_45":-7284994586346926080}} 
[2026-08-21 02:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":161266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:18:34] local.INFO: GPS data processed {"connection_id":161266,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:18:34] local.INFO: Acknowledgment sent {"connection_id":161266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:18:47] local.INFO: TCP Data received {"connection_id":161266,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020edc300012d9b04400571e0380008009d2d..."} 
[2026-08-21 02:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020edc300012d9b04400571e0380008009d2d..."} 
[2026-08-21 02:18:47] local.INFO: Processing buffer {"connection_id":161266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020edc300012d9b04400571e0380008009d2d..."} 
[2026-08-21 02:18:47] local.INFO: Packet analysis {"connection_id":161266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:18:47] local.INFO: Extracted packet for processing {"connection_id":161266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:18:47] local.INFO: GPS Element Parsed {"raw_longitude":765133888,"raw_latitude":91349048,"longitude_deg":76.5133888,"latitude_deg":9.1349048,"altitude":8,"angle":157,"satellites":45,"speed":39,"hex_longitude":"2d9b0440","hex_latitude":"0571e038","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:18:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538262528001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387780884780023808,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280772461698498560,"note":"Value kept but may cause issues"} 
[2026-08-21 02:18:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:18:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787258848000,"timestamp_ms":1787258848000,"timestamp_seconds":1787258848,"priority":1,"record_length":96,"hex_timestamp":"000001a020edc300"} 
[2026-08-21 02:18:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:18:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:18:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:18:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:18:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:18:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:18:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:18:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:18:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:18:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:18:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:18:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:18:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538262528001,"66":27365,"192":206,"84":8448,"24":39,"16":387780884780023808,"45":-7280772461698498560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-21 02:18:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:18:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:18:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538262528001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:18:47] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 02:18:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:18:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387780884780023808,"km_value":387780884780023.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:18:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280772461698498560,"description":"Unknown IO ID 45"} 
[2026-08-21 02:18:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538262528001,"power":27365,"unknown_192":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7280772461698498560}} 
[2026-08-21 02:18:47] local.INFO: DEBUG: GPS processor result {"connection_id":161266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:18:47] local.INFO: GPS data processed {"connection_id":161266,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:18:47] local.INFO: Acknowledgment sent {"connection_id":161266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:19:30] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:19:30] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:19:30] local.INFO: IMEI packet received {"connection_id":161267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":161267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:19:30] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:19:30] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:19:30] local.INFO: IMEI packet received {"connection_id":161267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":161267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:19:31] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ede628012d9b10800571bd88000900a22f..."} 
[2026-08-21 02:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ede628012d9b10800571bd88000900a22f..."} 
[2026-08-21 02:19:31] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ede628012d9b10800571bd88000900a22f..."} 
[2026-08-21 02:19:31] local.INFO: Packet analysis {"connection_id":161267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:19:31] local.INFO: Extracted packet for processing {"connection_id":161267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ed"} 
[2026-08-21 02:19:31] local.INFO: GPS Element Parsed {"raw_longitude":765137024,"raw_latitude":91340168,"longitude_deg":76.5137024,"latitude_deg":9.1340168,"altitude":9,"angle":162,"satellites":47,"speed":42,"hex_longitude":"2d9b1080","hex_latitude":"0571bd88","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538265088001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387781340046557184,"note":"Value kept but may cause issues"} 
[2026-08-21 02:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7276620705794344960,"note":"Value kept but may cause issues"} 
[2026-08-21 02:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787258857000,"timestamp_ms":1787258857000,"timestamp_seconds":1787258857,"priority":1,"record_length":96,"hex_timestamp":"000001a020ede628"} 
[2026-08-21 02:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02: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-08-21 02: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":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538265088001,"66":27321,"192":206,"84":8448,"24":42,"16":387781340046557184,"45":-7276620705794344960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-21 02:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538265088001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387781340046557184,"km_value":387781340046557.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7276620705794344960,"description":"Unknown IO ID 45"} 
[2026-08-21 02:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538265088001,"power":27321,"unknown_192":206,"unknown_84":8448,"ignition":42,"odometer":null,"unknown_45":-7276620705794344960}} 
[2026-08-21 02:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":161267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:19:31] local.INFO: GPS data processed {"connection_id":161267,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:19:31] local.INFO: Acknowledgment sent {"connection_id":161267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:19:32] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ee0950012d9b1bc005719ad0000900a12e..."} 
[2026-08-21 02:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ee0950012d9b1bc005719ad0000900a12e..."} 
[2026-08-21 02:19:32] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ee0950012d9b1bc005719ad0000900a12e..."} 
[2026-08-21 02:19:32] local.INFO: Packet analysis {"connection_id":161267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ee"} 
[2026-08-21 02:19:32] local.INFO: Extracted packet for processing {"connection_id":161267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ee"} 
[2026-08-21 02:19:32] local.INFO: GPS Element Parsed {"raw_longitude":765139904,"raw_latitude":91331280,"longitude_deg":76.5139904,"latitude_deg":9.133128,"altitude":9,"angle":161,"satellites":46,"speed":31,"hex_longitude":"2d9b1bc0","hex_latitude":"05719ad0","is_valid_coordinates":true} 
[2026-08-21 02:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538267392001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387781795313090560,"note":"Value kept but may cause issues"} 
[2026-08-21 02:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7273172637331912704,"note":"Value kept but may cause issues"} 
[2026-08-21 02:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787258866000,"timestamp_ms":1787258866000,"timestamp_seconds":1787258866,"priority":1,"record_length":96,"hex_timestamp":"000001a020ee0950"} 
[2026-08-21 02:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:19: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-08-21 02:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538267392001,"66":27343,"192":206,"84":8448,"24":31,"16":387781795313090560,"45":-7273172637331912704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,84,24,16,45]} 
[2026-08-21 02:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538267392001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:19:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 02:19:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387781795313090560,"km_value":387781795313090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7273172637331912704,"description":"Unknown IO ID 45"} 
[2026-08-21 02:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538267392001,"power":27343,"unknown_192":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7273172637331912704}} 
[2026-08-21 02:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":161267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:19:32] local.INFO: GPS data processed {"connection_id":161267,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:19:32] local.INFO: Acknowledgment sent {"connection_id":161267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:20:52] local.INFO: TCP Data received {"connection_id":161267,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ee20c0012d9b200005718f20000900962b..."} 
[2026-08-21 02:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ee20c0012d9b200005718f20000900962b..."} 
[2026-08-21 02:20:52] local.INFO: Processing buffer {"connection_id":161267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ee20c0012d9b200005718f20000900962b..."} 
[2026-08-21 02:20:52] local.INFO: Packet analysis {"connection_id":161267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ee"} 
[2026-08-21 02:20:52] local.INFO: Extracted packet for processing {"connection_id":161267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ee"} 
[2026-08-21 02:20:52] local.INFO: GPS Element Parsed {"raw_longitude":765140992,"raw_latitude":91328288,"longitude_deg":76.5140992,"latitude_deg":9.1328288,"altitude":9,"angle":150,"satellites":43,"speed":17,"hex_longitude":"2d9b2000","hex_latitude":"05718f20","is_valid_coordinates":true} 
[2026-08-21 02:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538269696001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387781945636945920,"note":"Value kept but may cause issues"} 
[2026-08-21 02:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7270006043846193152,"note":"Value kept but may cause issues"} 
[2026-08-21 02:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787258872000,"timestamp_ms":1787258872000,"timestamp_seconds":1787258872,"priority":1,"record_length":96,"hex_timestamp":"000001a020ee20c0"} 
[2026-08-21 02:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:20: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-08-21 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538269696001,"66":27234,"92":206,"84":8448,"24":17,"16":387781945636945920,"45":-7270006043846193152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,84,24,16,45]} 
[2026-08-21 02:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538269696001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:20:52] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 02:20:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387781945636945920,"km_value":387781945636945.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7270006043846193152,"description":"Unknown IO ID 45"} 
[2026-08-21 02:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538269696001,"power":27234,"unknown_92":206,"unknown_84":8448,"ignition":17,"odometer":null,"unknown_45":-7270006043846193152}} 
[2026-08-21 02:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":161267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:20:52] local.INFO: GPS data processed {"connection_id":161267,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:20:52] local.INFO: Acknowledgment sent {"connection_id":161267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:21:02] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:02] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:02] local.INFO: IMEI packet received {"connection_id":158745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":158745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:21:05] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:05] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:05] local.INFO: IMEI packet received {"connection_id":158745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":158745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:21:06] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020efb318012d9b970005707b00000f009b2d..."} 
[2026-08-21 02:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020efb318012d9b970005707b00000f009b2d..."} 
[2026-08-21 02:21:06] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020efb318012d9b970005707b00000f009b2d..."} 
[2026-08-21 02:21:06] local.INFO: Packet analysis {"connection_id":158745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:06] local.INFO: Extracted packet for processing {"connection_id":158745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":765171456,"raw_latitude":91257600,"longitude_deg":76.5171456,"latitude_deg":9.12576,"altitude":15,"angle":155,"satellites":45,"speed":39,"hex_longitude":"2d9b9700","hex_latitude":"05707b00","is_valid_coordinates":true} 
[2026-08-21 02:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538295296001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387785695143395328,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7239395640145686528,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787258975000,"timestamp_ms":1787258975000,"timestamp_seconds":1787258975,"priority":1,"record_length":96,"hex_timestamp":"000001a020efb318"} 
[2026-08-21 02:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:21:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 02:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:21:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538295296001,"66":27267,"92":206,"84":8448,"24":39,"16":387785695143395328,"45":-7239395640145686528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,84,24,16,45]} 
[2026-08-21 02:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538295296001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:21:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 02:21:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387785695143395328,"km_value":387785695143395.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7239395640145686528,"description":"Unknown IO ID 45"} 
[2026-08-21 02:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538295296001,"power":27267,"unknown_92":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7239395640145686528}} 
[2026-08-21 02:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":158745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:21:06] local.INFO: GPS data processed {"connection_id":158745,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:21:06] local.INFO: Acknowledgment sent {"connection_id":158745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:21:07] local.INFO: TCP Data received {"connection_id":158745,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020efd640012d9ba2c005705918000f00a72d..."} 
[2026-08-21 02:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020efd640012d9ba2c005705918000f00a72d..."} 
[2026-08-21 02:21:07] local.INFO: Processing buffer {"connection_id":158745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020efd640012d9ba2c005705918000f00a72d..."} 
[2026-08-21 02:21:07] local.INFO: Packet analysis {"connection_id":158745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:07] local.INFO: Extracted packet for processing {"connection_id":158745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:07] local.INFO: GPS Element Parsed {"raw_longitude":765174464,"raw_latitude":91248920,"longitude_deg":76.5174464,"latitude_deg":9.124892,"altitude":15,"angle":167,"satellites":45,"speed":41,"hex_longitude":"2d9ba2c0","hex_latitude":"05705918","is_valid_coordinates":true} 
[2026-08-21 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538297600001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387786141819994112,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7235314252985466880,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787258984000,"timestamp_ms":1787258984000,"timestamp_seconds":1787258984,"priority":1,"record_length":96,"hex_timestamp":"000001a020efd640"} 
[2026-08-21 02:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:21: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-08-21 02:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538297600001,"66":27267,"92":206,"84":8448,"24":41,"16":387786141819994112,"45":-7235314252985466880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,84,24,16,45]} 
[2026-08-21 02:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538297600001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:21:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 02:21:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387786141819994112,"km_value":387786141819994.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7235314252985466880,"description":"Unknown IO ID 45"} 
[2026-08-21 02:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538297600001,"power":27267,"unknown_92":206,"unknown_84":8448,"ignition":41,"odometer":null,"unknown_45":-7235314252985466880}} 
[2026-08-21 02:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":158745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:21:07] local.INFO: GPS data processed {"connection_id":158745,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:21:07] local.INFO: Acknowledgment sent {"connection_id":158745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:21:29] local.INFO: TCP Data received {"connection_id":161268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:29] local.INFO: Processing buffer {"connection_id":161268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:29] local.INFO: IMEI packet received {"connection_id":161268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":161268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:21:32] local.INFO: TCP Data received {"connection_id":161268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:32] local.INFO: Processing buffer {"connection_id":161268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:32] local.INFO: IMEI packet received {"connection_id":161268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":161268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:21:37] local.INFO: TCP Data received {"connection_id":161268,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:37] local.INFO: Processing buffer {"connection_id":161268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:21:37] local.INFO: IMEI packet received {"connection_id":161268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":161268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:21:39] local.INFO: TCP Data received {"connection_id":161268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020efd640012d9ba2c005705918000f00a72d..."} 
[2026-08-21 02:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020efd640012d9ba2c005705918000f00a72d..."} 
[2026-08-21 02:21:39] local.INFO: Processing buffer {"connection_id":161268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020efd640012d9ba2c005705918000f00a72d..."} 
[2026-08-21 02:21:39] local.INFO: Packet analysis {"connection_id":161268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:39] local.INFO: Extracted packet for processing {"connection_id":161268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:39] local.INFO: GPS Element Parsed {"raw_longitude":765174464,"raw_latitude":91248920,"longitude_deg":76.5174464,"latitude_deg":9.124892,"altitude":15,"angle":167,"satellites":45,"speed":41,"hex_longitude":"2d9ba2c0","hex_latitude":"05705918","is_valid_coordinates":true} 
[2026-08-21 02:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538299904001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387786141819994112,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7232006922011338752,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787258984000,"timestamp_ms":1787258984000,"timestamp_seconds":1787258984,"priority":1,"record_length":96,"hex_timestamp":"000001a020efd640"} 
[2026-08-21 02:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538299904001,"66":27267,"92":206,"84":8448,"24":41,"16":387786141819994112,"45":-7232006922011338752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,84,24,16,45]} 
[2026-08-21 02:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538299904001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:21:39] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 02:21:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387786141819994112,"km_value":387786141819994.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7232006922011338752,"description":"Unknown IO ID 45"} 
[2026-08-21 02:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538299904001,"power":27267,"unknown_92":206,"unknown_84":8448,"ignition":41,"odometer":null,"unknown_45":-7232006922011338752}} 
[2026-08-21 02:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":161268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:21:39] local.INFO: GPS data processed {"connection_id":161268,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:21:39] local.INFO: Acknowledgment sent {"connection_id":161268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:21:40] local.INFO: TCP Data received {"connection_id":161268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020eff968012d9ba980057033c8000e00ac2d..."} 
[2026-08-21 02:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020eff968012d9ba980057033c8000e00ac2d..."} 
[2026-08-21 02:21:40] local.INFO: Processing buffer {"connection_id":161268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020eff968012d9ba980057033c8000e00ac2d..."} 
[2026-08-21 02:21:40] local.INFO: Packet analysis {"connection_id":161268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:40] local.INFO: Extracted packet for processing {"connection_id":161268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ef"} 
[2026-08-21 02:21:40] local.INFO: GPS Element Parsed {"raw_longitude":765176192,"raw_latitude":91239368,"longitude_deg":76.5176192,"latitude_deg":9.1239368,"altitude":14,"angle":172,"satellites":45,"speed":43,"hex_longitude":"2d9ba980","hex_latitude":"057033c8","is_valid_coordinates":true} 
[2026-08-21 02:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538299904001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387786614266396672,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7232006922011338752,"note":"Value kept but may cause issues"} 
[2026-08-21 02:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787258993000,"timestamp_ms":1787258993000,"timestamp_seconds":1787258993,"priority":1,"record_length":96,"hex_timestamp":"000001a020eff968"} 
[2026-08-21 02:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538299904001,"66":27245,"92":206,"84":8448,"24":43,"16":387786614266396672,"45":-7232006922011338752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,84,24,16,45]} 
[2026-08-21 02:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538299904001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:21:40] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 02:21:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387786614266396672,"km_value":387786614266396.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7232006922011338752,"description":"Unknown IO ID 45"} 
[2026-08-21 02:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538299904001,"power":27245,"unknown_92":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7232006922011338752}} 
[2026-08-21 02:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":161268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:21:40] local.INFO: GPS data processed {"connection_id":161268,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:21:40] local.INFO: Acknowledgment sent {"connection_id":161268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:22:11] local.INFO: TCP Data received {"connection_id":161268,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f01c90012d9bb0c005700e30000e00a824..."} 
[2026-08-21 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f01c90012d9bb0c005700e30000e00a824..."} 
[2026-08-21 02:22:11] local.INFO: Processing buffer {"connection_id":161268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f01c90012d9bb0c005700e30000e00a824..."} 
[2026-08-21 02:22:11] local.INFO: Packet analysis {"connection_id":161268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f0"} 
[2026-08-21 02:22:11] local.INFO: Extracted packet for processing {"connection_id":161268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f0"} 
[2026-08-21 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":765178048,"raw_latitude":91229744,"longitude_deg":76.5178048,"latitude_deg":9.1229744,"altitude":14,"angle":168,"satellites":36,"speed":43,"hex_longitude":"2d9bb0c0","hex_latitude":"05700e30","is_valid_coordinates":true} 
[2026-08-21 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538302208001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387787091007766528,"note":"Value kept but may cause issues"} 
[2026-08-21 02:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7230106965920987136,"note":"Value kept but may cause issues"} 
[2026-08-21 02:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787259002000,"timestamp_ms":1787259002000,"timestamp_seconds":1787259002,"priority":1,"record_length":96,"hex_timestamp":"000001a020f01c90"} 
[2026-08-21 02:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 02:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538302208001,"66":27267,"92":206,"84":8448,"24":43,"16":387787091007766528,"45":-7230106965920987136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,84,24,16,45]} 
[2026-08-21 02:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538302208001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:22:11] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-08-21 02:22:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387787091007766528,"km_value":387787091007766.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7230106965920987136,"description":"Unknown IO ID 45"} 
[2026-08-21 02:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538302208001,"power":27267,"unknown_92":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7230106965920987136}} 
[2026-08-21 02:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":161268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:22:11] local.INFO: GPS data processed {"connection_id":161268,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:22:11] local.INFO: Acknowledgment sent {"connection_id":161268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:22:27] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:22:27] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:22:27] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:22:31] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:22:31] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:22:31] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:22:32] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f16c80012d9beec0056e7fb8000e00ae2d..."} 
[2026-08-21 02:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f16c80012d9beec0056e7fb8000e00ae2d..."} 
[2026-08-21 02:22:32] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f16c80012d9beec0056e7fb8000e00ae2d..."} 
[2026-08-21 02:22:32] local.INFO: Packet analysis {"connection_id":159024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:22:32] local.INFO: Extracted packet for processing {"connection_id":159024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:22:32] local.INFO: GPS Element Parsed {"raw_longitude":765193920,"raw_latitude":91127736,"longitude_deg":76.519392,"latitude_deg":9.1127736,"altitude":14,"angle":174,"satellites":45,"speed":40,"hex_longitude":"2d9beec0","hex_latitude":"056e7fb8","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538324480001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387792103234600960,"note":"Value kept but may cause issues"} 
[2026-08-21 02:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7211740723716696064,"note":"Value kept but may cause issues"} 
[2026-08-21 02:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787259088000,"timestamp_ms":1787259088000,"timestamp_seconds":1787259088,"priority":1,"record_length":96,"hex_timestamp":"000001a020f16c80"} 
[2026-08-21 02:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:22: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-08-21 02: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-08-21 02:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538324480001,"66":27484,"231":206,"84":8448,"24":40,"16":387792103234600960,"45":-7211740723716696064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-08-21 02:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538324480001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:22:32] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-21 02:22:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387792103234600960,"km_value":387792103234600.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7211740723716696064,"description":"Unknown IO ID 45"} 
[2026-08-21 02:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538324480001,"power":27484,"unknown_231":206,"unknown_84":8448,"ignition":40,"odometer":null,"unknown_45":-7211740723716696064}} 
[2026-08-21 02:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":159024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:22:32] local.INFO: GPS data processed {"connection_id":159024,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:22:32] local.INFO: Acknowledgment sent {"connection_id":159024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:23:07] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f18fa8012d9bf100056e5a48000f00b12d..."} 
[2026-08-21 02:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f18fa8012d9bf100056e5a48000f00b12d..."} 
[2026-08-21 02:23:07] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f18fa8012d9bf100056e5a48000f00b12d..."} 
[2026-08-21 02:23:07] local.INFO: Packet analysis {"connection_id":159024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:23:07] local.INFO: Extracted packet for processing {"connection_id":159024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:23:07] local.INFO: GPS Element Parsed {"raw_longitude":765194496,"raw_latitude":91118152,"longitude_deg":76.5194496,"latitude_deg":9.1118152,"altitude":15,"angle":177,"satellites":45,"speed":45,"hex_longitude":"2d9bf100","hex_latitude":"056e5a48","is_valid_coordinates":true} 
[2026-08-21 02:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538326528001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387792571386036224,"note":"Value kept but may cause issues"} 
[2026-08-21 02:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7210614823812352000,"note":"Value kept but may cause issues"} 
[2026-08-21 02:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787259097000,"timestamp_ms":1787259097000,"timestamp_seconds":1787259097,"priority":1,"record_length":96,"hex_timestamp":"000001a020f18fa8"} 
[2026-08-21 02:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 02:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538326528001,"66":27365,"231":206,"84":8448,"24":45,"16":387792571386036224,"45":-7210614823812352000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-08-21 02:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538326528001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:23:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-21 02:23:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387792571386036224,"km_value":387792571386036.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7210614823812352000,"description":"Unknown IO ID 45"} 
[2026-08-21 02:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538326528001,"power":27365,"unknown_231":206,"unknown_84":8448,"ignition":45,"odometer":null,"unknown_45":-7210614823812352000}} 
[2026-08-21 02:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":159024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:23:07] local.INFO: GPS data processed {"connection_id":159024,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:23:07] local.INFO: Acknowledgment sent {"connection_id":159024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:23:27] local.INFO: TCP Data received {"connection_id":158746,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:23:27] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:23:27] local.INFO: IMEI packet received {"connection_id":158746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":158746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:23:29] local.INFO: TCP Data received {"connection_id":158746,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:23:29] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:23:29] local.INFO: IMEI packet received {"connection_id":158746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":158746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:23:30] local.INFO: TCP Data received {"connection_id":158746,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f1aee8012d9bf280056e3538000e00b12c..."} 
[2026-08-21 02:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f1aee8012d9bf280056e3538000e00b12c..."} 
[2026-08-21 02:23:30] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f1aee8012d9bf280056e3538000e00b12c..."} 
[2026-08-21 02:23:30] local.INFO: Packet analysis {"connection_id":158746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:23:30] local.INFO: Extracted packet for processing {"connection_id":158746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:23:30] local.INFO: GPS Element Parsed {"raw_longitude":765194880,"raw_latitude":91108664,"longitude_deg":76.519488,"latitude_deg":9.1108664,"altitude":14,"angle":177,"satellites":44,"speed":48,"hex_longitude":"2d9bf280","hex_latitude":"056e3538","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538328832001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387793030947536896,"note":"Value kept but may cause issues"} 
[2026-08-21 02:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209981505117206528,"note":"Value kept but may cause issues"} 
[2026-08-21 02:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787259105000,"timestamp_ms":1787259105000,"timestamp_seconds":1787259105,"priority":1,"record_length":96,"hex_timestamp":"000001a020f1aee8"} 
[2026-08-21 02:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":158746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":158746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":158746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538328832001,"66":27234,"53":206,"84":8448,"24":48,"16":387793030947536896,"45":-7209981505117206528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-21 02:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538328832001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:23:30] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 02:23:30] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387793030947536896,"km_value":387793030947536.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209981505117206528,"description":"Unknown IO ID 45"} 
[2026-08-21 02:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538328832001,"power":27234,"unknown_53":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7209981505117206528}} 
[2026-08-21 02:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":158746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:23:30] local.INFO: GPS data processed {"connection_id":158746,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:23:30] local.INFO: Acknowledgment sent {"connection_id":158746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:24:11] local.INFO: TCP Data received {"connection_id":158746,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f1ce28012d9bf4c0056e0e08000f00ae2a..."} 
[2026-08-21 02:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f1ce28012d9bf4c0056e0e08000f00ae2a..."} 
[2026-08-21 02:24:11] local.INFO: Processing buffer {"connection_id":158746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f1ce28012d9bf4c0056e0e08000f00ae2a..."} 
[2026-08-21 02:24:11] local.INFO: Packet analysis {"connection_id":158746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:24:11] local.INFO: Extracted packet for processing {"connection_id":158746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:24:11] local.INFO: GPS Element Parsed {"raw_longitude":765195456,"raw_latitude":91098632,"longitude_deg":76.5195456,"latitude_deg":9.1098632,"altitude":15,"angle":174,"satellites":42,"speed":50,"hex_longitude":"2d9bf4c0","hex_latitude":"056e0e08","is_valid_coordinates":true} 
[2026-08-21 02:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538330880001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387793520573808640,"note":"Value kept but may cause issues"} 
[2026-08-21 02:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7209559292654569472,"note":"Value kept but may cause issues"} 
[2026-08-21 02:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787259113000,"timestamp_ms":1787259113000,"timestamp_seconds":1787259113,"priority":1,"record_length":96,"hex_timestamp":"000001a020f1ce28"} 
[2026-08-21 02:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 02:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538330880001,"66":27332,"53":206,"84":8448,"24":50,"16":387793520573808640,"45":-7209559292654569472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-21 02:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538330880001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:24:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 02:24:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387793520573808640,"km_value":387793520573808.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7209559292654569472,"description":"Unknown IO ID 45"} 
[2026-08-21 02:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538330880001,"power":27332,"unknown_53":206,"unknown_84":8448,"ignition":50,"odometer":null,"unknown_45":-7209559292654569472}} 
[2026-08-21 02:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":158746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:24:11] local.INFO: GPS data processed {"connection_id":158746,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:24:11] local.INFO: Acknowledgment sent {"connection_id":158746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:24:27] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:27] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:27] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:24:27] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:28] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:28] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:24:32] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:32] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:24:32] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:24:33] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f1f150012d9bf900056dead8000d00ac2b..."} 
[2026-08-21 02:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f1f150012d9bf900056dead8000d00ac2b..."} 
[2026-08-21 02:24:33] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f1f150012d9bf900056dead8000d00ac2b..."} 
[2026-08-21 02:24:33] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:24:33] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f1"} 
[2026-08-21 02:24:33] local.INFO: GPS Element Parsed {"raw_longitude":765196544,"raw_latitude":91089624,"longitude_deg":76.5196544,"latitude_deg":9.1089624,"altitude":13,"angle":172,"satellites":43,"speed":20,"hex_longitude":"2d9bf900","hex_latitude":"056dead8","is_valid_coordinates":true} 
[2026-08-21 02:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538332928001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387793958660472832,"note":"Value kept but may cause issues"} 
[2026-08-21 02:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7208925973959538688,"note":"Value kept but may cause issues"} 
[2026-08-21 02:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787259122000,"timestamp_ms":1787259122000,"timestamp_seconds":1787259122,"priority":1,"record_length":96,"hex_timestamp":"000001a020f1f150"} 
[2026-08-21 02:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538332928001,"66":27365,"53":206,"84":8448,"24":20,"16":387793958660472832,"45":-7208925973959538688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-21 02:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538332928001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:24:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 02:24:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387793958660472832,"km_value":387793958660472.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7208925973959538688,"description":"Unknown IO ID 45"} 
[2026-08-21 02:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538332928001,"power":27365,"unknown_53":206,"unknown_84":8448,"ignition":20,"odometer":null,"unknown_45":-7208925973959538688}} 
[2026-08-21 02:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:24:33] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:24:33] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:25:07] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f3c228012d9c7c80056c7b00000d008b2d..."} 
[2026-08-21 02:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f3c228012d9c7c80056c7b00000d008b2d..."} 
[2026-08-21 02:25:07] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f3c228012d9c7c80056c7b00000d008b2d..."} 
[2026-08-21 02:25:07] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f3"} 
[2026-08-21 02:25:07] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f3"} 
[2026-08-21 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":765230208,"raw_latitude":90995456,"longitude_deg":76.5230208,"latitude_deg":9.0995456,"altitude":13,"angle":139,"satellites":45,"speed":37,"hex_longitude":"2d9c7c80","hex_latitude":"056c7b00","is_valid_coordinates":true} 
[2026-08-21 02:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538362624001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387798842038288384,"note":"Value kept but may cause issues"} 
[2026-08-21 02:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7177260039104016384,"note":"Value kept but may cause issues"} 
[2026-08-21 02:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787259241000,"timestamp_ms":1787259241000,"timestamp_seconds":1787259241,"priority":1,"record_length":96,"hex_timestamp":"000001a020f3c228"} 
[2026-08-21 02:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538362624001,"66":27213,"51":206,"84":8448,"24":37,"16":387798842038288384,"45":-7177260039104016384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 02:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538362624001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:25:07] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 02:25:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387798842038288384,"km_value":387798842038288.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7177260039104016384,"description":"Unknown IO ID 45"} 
[2026-08-21 02:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538362624001,"power":27213,"unknown_51":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7177260039104016384}} 
[2026-08-21 02:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:25:07] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:25:07] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:25:41] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:41] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:41] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:25:42] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:42] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:42] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:25:42] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:25:45] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:45] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:25:45] local.INFO: IMEI packet received {"connection_id":159893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":159893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:25:46] local.INFO: TCP Data received {"connection_id":159893,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f3e938012d9c9500056c5d90000c008c2b..."} 
[2026-08-21 02:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f3e938012d9c9500056c5d90000c008c2b..."} 
[2026-08-21 02:25:46] local.INFO: Processing buffer {"connection_id":159893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f3e938012d9c9500056c5d90000c008c2b..."} 
[2026-08-21 02:25:46] local.INFO: Packet analysis {"connection_id":159893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f3"} 
[2026-08-21 02:25:46] local.INFO: Extracted packet for processing {"connection_id":159893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f3"} 
[2026-08-21 02:25:46] local.INFO: GPS Element Parsed {"raw_longitude":765236480,"raw_latitude":90987920,"longitude_deg":76.523648,"latitude_deg":9.098792,"altitude":12,"angle":140,"satellites":43,"speed":40,"hex_longitude":"2d9c9500","hex_latitude":"056c5d90","is_valid_coordinates":true} 
[2026-08-21 02:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538365696001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387799314484690944,"note":"Value kept but may cause issues"} 
[2026-08-21 02:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7170715745897480192,"note":"Value kept but may cause issues"} 
[2026-08-21 02:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787259251000,"timestamp_ms":1787259251000,"timestamp_seconds":1787259251,"priority":1,"record_length":96,"hex_timestamp":"000001a020f3e938"} 
[2026-08-21 02:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 02:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538365696001,"66":27310,"51":206,"84":8448,"24":40,"16":387799314484690944,"45":-7170715745897480192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 02:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538365696001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:25:46] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 02:25:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387799314484690944,"km_value":387799314484690.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7170715745897480192,"description":"Unknown IO ID 45"} 
[2026-08-21 02:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538365696001,"power":27310,"unknown_51":206,"unknown_84":8448,"ignition":40,"odometer":null,"unknown_45":-7170715745897480192}} 
[2026-08-21 02:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":159893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:25:46] local.INFO: GPS data processed {"connection_id":159893,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:25:46] local.INFO: Acknowledgment sent {"connection_id":159893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:26:27] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:27] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:27] local.INFO: IMEI packet received {"connection_id":158747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":158747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:26:30] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:30] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:30] local.INFO: IMEI packet received {"connection_id":158747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":158747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:26:33] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:33] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:26:33] local.INFO: IMEI packet received {"connection_id":158747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":158747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:26:33] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f40c60012d9caa40056c4030000c00932c..."} 
[2026-08-21 02:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f40c60012d9caa40056c4030000c00932c..."} 
[2026-08-21 02:26:33] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f40c60012d9caa40056c4030000c00932c..."} 
[2026-08-21 02:26:33] local.INFO: Packet analysis {"connection_id":158747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f4"} 
[2026-08-21 02:26:33] local.INFO: Extracted packet for processing {"connection_id":158747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f4"} 
[2026-08-21 02:26:33] local.INFO: GPS Element Parsed {"raw_longitude":765241920,"raw_latitude":90980400,"longitude_deg":76.524192,"latitude_deg":9.09804,"altitude":12,"angle":147,"satellites":44,"speed":42,"hex_longitude":"2d9caa40","hex_latitude":"056c4030","is_valid_coordinates":true} 
[2026-08-21 02:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538368256001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387799761161289728,"note":"Value kept but may cause issues"} 
[2026-08-21 02:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7163819608969998336,"note":"Value kept but may cause issues"} 
[2026-08-21 02:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787259260000,"timestamp_ms":1787259260000,"timestamp_seconds":1787259260,"priority":1,"record_length":96,"hex_timestamp":"000001a020f40c60"} 
[2026-08-21 02:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 02:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538368256001,"66":27463,"51":206,"84":8448,"24":42,"16":387799761161289728,"45":-7163819608969998336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 02:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538368256001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:26:33] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 02:26:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387799761161289728,"km_value":387799761161289.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7163819608969998336,"description":"Unknown IO ID 45"} 
[2026-08-21 02:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538368256001,"power":27463,"unknown_51":206,"unknown_84":8448,"ignition":42,"odometer":null,"unknown_45":-7163819608969998336}} 
[2026-08-21 02:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":158747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:26:33] local.INFO: GPS data processed {"connection_id":158747,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:26:33] local.INFO: Acknowledgment sent {"connection_id":158747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:26:37] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f42f88012d9cbcc0056c1f18000b00982c..."} 
[2026-08-21 02:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f42f88012d9cbcc0056c1f18000b00982c..."} 
[2026-08-21 02:26:37] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f42f88012d9cbcc0056c1f18000b00982c..."} 
[2026-08-21 02:26:37] local.INFO: Packet analysis {"connection_id":158747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f4"} 
[2026-08-21 02:26:37] local.INFO: Extracted packet for processing {"connection_id":158747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f4"} 
[2026-08-21 02:26:37] local.INFO: GPS Element Parsed {"raw_longitude":765246656,"raw_latitude":90971928,"longitude_deg":76.5246656,"latitude_deg":9.0971928,"altitude":11,"angle":152,"satellites":44,"speed":44,"hex_longitude":"2d9cbcc0","hex_latitude":"056c1f18","is_valid_coordinates":true} 
[2026-08-21 02:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538370560001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387800233607692288,"note":"Value kept but may cause issues"} 
[2026-08-21 02:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7157838265716822016,"note":"Value kept but may cause issues"} 
[2026-08-21 02:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787259269000,"timestamp_ms":1787259269000,"timestamp_seconds":1787259269,"priority":1,"record_length":96,"hex_timestamp":"000001a020f42f88"} 
[2026-08-21 02:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 02:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538370560001,"66":27321,"51":206,"84":8448,"24":44,"16":387800233607692288,"45":-7157838265716822016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 02:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538370560001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:26:37] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 02:26:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387800233607692288,"km_value":387800233607692.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7157838265716822016,"description":"Unknown IO ID 45"} 
[2026-08-21 02:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538370560001,"power":27321,"unknown_51":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7157838265716822016}} 
[2026-08-21 02:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":158747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:26:37] local.INFO: GPS data processed {"connection_id":158747,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:26:37] local.INFO: Acknowledgment sent {"connection_id":158747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:27:08] local.INFO: TCP Data received {"connection_id":158747,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f5ae58012d9d5180056aa438000c009e2c..."} 
[2026-08-21 02:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f5ae58012d9d5180056aa438000c009e2c..."} 
[2026-08-21 02:27:08] local.INFO: Processing buffer {"connection_id":158747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f5ae58012d9d5180056aa438000c009e2c..."} 
[2026-08-21 02:27:08] local.INFO: Packet analysis {"connection_id":158747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f5"} 
[2026-08-21 02:27:08] local.INFO: Extracted packet for processing {"connection_id":158747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f5"} 
[2026-08-21 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":765284736,"raw_latitude":90874936,"longitude_deg":76.5284736,"latitude_deg":9.0874936,"altitude":12,"angle":158,"satellites":44,"speed":50,"hex_longitude":"2d9d5180","hex_latitude":"056aa438","is_valid_coordinates":true} 
[2026-08-21 02:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538396160001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387805288784199680,"note":"Value kept but may cause issues"} 
[2026-08-21 02:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7114491119328270336,"note":"Value kept but may cause issues"} 
[2026-08-21 02:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787259367000,"timestamp_ms":1787259367000,"timestamp_seconds":1787259367,"priority":1,"record_length":96,"hex_timestamp":"000001a020f5ae58"} 
[2026-08-21 02:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538396160001,"66":27267,"193":206,"84":8448,"24":50,"16":387805288784199680,"45":-7114491119328270336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-21 02:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538396160001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:27:08] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 02:27:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387805288784199680,"km_value":387805288784199.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7114491119328270336,"description":"Unknown IO ID 45"} 
[2026-08-21 02:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538396160001,"power":27267,"unknown_193":206,"unknown_84":8448,"ignition":50,"odometer":null,"unknown_45":-7114491119328270336}} 
[2026-08-21 02:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":158747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:27:08] local.INFO: GPS data processed {"connection_id":158747,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:27:08] local.INFO: Acknowledgment sent {"connection_id":158747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:27:27] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:27] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:27] local.INFO: IMEI packet received {"connection_id":161269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":161269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:27:28] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:28] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:28] local.INFO: IMEI packet received {"connection_id":161269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":161269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:27:32] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:32] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:27:32] local.INFO: IMEI packet received {"connection_id":161269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":161269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:27:33] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f5c9b0012d9d5e40056a83d0000c009d2f..."} 
[2026-08-21 02:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f5c9b0012d9d5e40056a83d0000c009d2f..."} 
[2026-08-21 02:27:33] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f5c9b0012d9d5e40056a83d0000c009d2f..."} 
[2026-08-21 02:27:33] local.INFO: Packet analysis {"connection_id":161269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f5"} 
[2026-08-21 02:27:33] local.INFO: Extracted packet for processing {"connection_id":161269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f5"} 
[2026-08-21 02:27:33] local.INFO: GPS Element Parsed {"raw_longitude":765288000,"raw_latitude":90866640,"longitude_deg":76.5288,"latitude_deg":9.086664,"altitude":12,"angle":157,"satellites":47,"speed":50,"hex_longitude":"2d9d5e40","hex_latitude":"056a83d0","is_valid_coordinates":true} 
[2026-08-21 02:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538397952001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387805718280929280,"note":"Value kept but may cause issues"} 
[2026-08-21 02:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7110761575888963584,"note":"Value kept but may cause issues"} 
[2026-08-21 02:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787259374000,"timestamp_ms":1787259374000,"timestamp_seconds":1787259374,"priority":1,"record_length":96,"hex_timestamp":"000001a020f5c9b0"} 
[2026-08-21 02:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538397952001,"66":27321,"193":206,"84":8448,"24":50,"16":387805718280929280,"45":-7110761575888963584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-21 02:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538397952001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:27:33] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 02:27:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387805718280929280,"km_value":387805718280929.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7110761575888963584,"description":"Unknown IO ID 45"} 
[2026-08-21 02:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538397952001,"power":27321,"unknown_193":206,"unknown_84":8448,"ignition":50,"odometer":null,"unknown_45":-7110761575888963584}} 
[2026-08-21 02:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":161269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:27:33] local.INFO: GPS data processed {"connection_id":161269,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:27:33] local.INFO: Acknowledgment sent {"connection_id":161269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:28:04] local.INFO: TCP Data received {"connection_id":161269,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020f5e508012d9d6b80056a63a8000c009c2e..."} 
[2026-08-21 02:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020f5e508012d9d6b80056a63a8000c009c2e..."} 
[2026-08-21 02:28:04] local.INFO: Processing buffer {"connection_id":161269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020f5e508012d9d6b80056a63a8000c009c2e..."} 
[2026-08-21 02:28:04] local.INFO: Packet analysis {"connection_id":161269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020f5"} 
[2026-08-21 02:28:04] local.INFO: Extracted packet for processing {"connection_id":161269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020f5"} 
[2026-08-21 02:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765291392,"raw_latitude":90858408,"longitude_deg":76.5291392,"latitude_deg":9.0858408,"altitude":12,"angle":156,"satellites":46,"speed":50,"hex_longitude":"2d9d6b80","hex_latitude":"056a63a8","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538399744001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387806152072626176,"note":"Value kept but may cause issues"} 
[2026-08-21 02:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7107172769938026496,"note":"Value kept but may cause issues"} 
[2026-08-21 02:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787259381000,"timestamp_ms":1787259381000,"timestamp_seconds":1787259381,"priority":1,"record_length":96,"hex_timestamp":"000001a020f5e508"} 
[2026-08-21 02:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:28: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-08-21 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538399744001,"66":27245,"193":206,"84":8448,"24":50,"16":387806152072626176,"45":-7107172769938026496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,84,24,16,45]} 
[2026-08-21 02:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538399744001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:28:04] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 02:28:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387806152072626176,"km_value":387806152072626.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7107172769938026496,"description":"Unknown IO ID 45"} 
[2026-08-21 02:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538399744001,"power":27245,"unknown_193":206,"unknown_84":8448,"ignition":50,"odometer":null,"unknown_45":-7107172769938026496}} 
[2026-08-21 02:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":161269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:28:04] local.INFO: GPS data processed {"connection_id":161269,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:28:04] local.INFO: Acknowledgment sent {"connection_id":161269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:28:42] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:28:42] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:28:42] local.INFO: IMEI packet received {"connection_id":159026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":159026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:28:53] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:28:53] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:28:53] local.INFO: IMEI packet received {"connection_id":159026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:28:53] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 02:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 02:28:53] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 02:28:53] local.INFO: IMEI packet received {"connection_id":159026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:33:53] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:33:53] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:33:53] local.INFO: IMEI packet received {"connection_id":159896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":159896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:33:54] local.INFO: TCP Data received {"connection_id":159896,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fb7ab8012d9e63400565abd8000a00b530..."} 
[2026-08-21 02:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fb7ab8012d9e63400565abd8000a00b530..."} 
[2026-08-21 02:33:54] local.INFO: Processing buffer {"connection_id":159896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fb7ab8012d9e63400565abd8000a00b530..."} 
[2026-08-21 02:33:54] local.INFO: Packet analysis {"connection_id":159896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fb"} 
[2026-08-21 02:33:54] local.INFO: Extracted packet for processing {"connection_id":159896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fb"} 
[2026-08-21 02:33:54] local.INFO: GPS Element Parsed {"raw_longitude":765354816,"raw_latitude":90549208,"longitude_deg":76.5354816,"latitude_deg":9.0549208,"altitude":10,"angle":181,"satellites":48,"speed":36,"hex_longitude":"2d9e6340","hex_latitude":"0565abd8","is_valid_coordinates":true} 
[2026-08-21 02:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538492416001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387821721329074176,"note":"Value kept but may cause issues"} 
[2026-08-21 02:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033285588630306816,"note":"Value kept but may cause issues"} 
[2026-08-21 02:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787259747000,"timestamp_ms":1787259747000,"timestamp_seconds":1787259747,"priority":1,"record_length":96,"hex_timestamp":"000001a020fb7ab8"} 
[2026-08-21 02:33:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:33:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:33:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:33:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:33:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:33: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-08-21 02:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538492416001,"66":27300,"198":206,"84":8448,"24":36,"16":387821721329074176,"45":-7033285588630306816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,84,24,16,45]} 
[2026-08-21 02:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538492416001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:33:54] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 02:33:54] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387821721329074176,"km_value":387821721329074.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033285588630306816,"description":"Unknown IO ID 45"} 
[2026-08-21 02:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538492416001,"power":27300,"unknown_198":206,"unknown_84":8448,"ignition":36,"odometer":null,"unknown_45":-7033285588630306816}} 
[2026-08-21 02:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":159896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:33:54] local.INFO: GPS data processed {"connection_id":159896,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:33:54] local.INFO: Acknowledgment sent {"connection_id":159896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:34:27] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:34:27] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:34:27] local.INFO: IMEI packet received {"connection_id":159027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":159027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:34:30] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:34:30] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:34:30] local.INFO: IMEI packet received {"connection_id":159027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":159027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:34:31] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fba1c8012d9e6440056586f8000a00ad2f..."} 
[2026-08-21 02:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fba1c8012d9e6440056586f8000a00ad2f..."} 
[2026-08-21 02:34:31] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fba1c8012d9e6440056586f8000a00ad2f..."} 
[2026-08-21 02:34:31] local.INFO: Packet analysis {"connection_id":159027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fb"} 
[2026-08-21 02:34:31] local.INFO: Extracted packet for processing {"connection_id":159027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fb"} 
[2026-08-21 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":765355072,"raw_latitude":90539768,"longitude_deg":76.5355072,"latitude_deg":9.0539768,"altitude":10,"angle":173,"satellites":47,"speed":37,"hex_longitude":"2d9e6440","hex_latitude":"056586f8","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538495232001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387822180890574848,"note":"Value kept but may cause issues"} 
[2026-08-21 02:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033707801097807872,"note":"Value kept but may cause issues"} 
[2026-08-21 02:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787259757000,"timestamp_ms":1787259757000,"timestamp_seconds":1787259757,"priority":1,"record_length":96,"hex_timestamp":"000001a020fba1c8"} 
[2026-08-21 02:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:34: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-08-21 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538495232001,"66":27343,"198":206,"84":8448,"24":37,"16":387822180890574848,"45":-7033707801097807872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,84,24,16,45]} 
[2026-08-21 02:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538495232001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387822180890574848,"km_value":387822180890574.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033707801097807872,"description":"Unknown IO ID 45"} 
[2026-08-21 02:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538495232001,"power":27343,"unknown_198":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7033707801097807872}} 
[2026-08-21 02:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":159027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:34:31] local.INFO: GPS data processed {"connection_id":159027,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:34:31] local.INFO: Acknowledgment sent {"connection_id":159027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:35:05] local.INFO: TCP Data received {"connection_id":159027,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fbccc0012d9e694005656308000a00ab2e..."} 
[2026-08-21 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fbccc0012d9e694005656308000a00ab2e..."} 
[2026-08-21 02:35:05] local.INFO: Processing buffer {"connection_id":159027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fbccc0012d9e694005656308000a00ab2e..."} 
[2026-08-21 02:35:05] local.INFO: Packet analysis {"connection_id":159027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fb"} 
[2026-08-21 02:35:05] local.INFO: Extracted packet for processing {"connection_id":159027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fb"} 
[2026-08-21 02:35:05] local.INFO: GPS Element Parsed {"raw_longitude":765356352,"raw_latitude":90530568,"longitude_deg":76.5356352,"latitude_deg":9.0530568,"altitude":10,"angle":171,"satellites":46,"speed":26,"hex_longitude":"2d9e6940","hex_latitude":"05656308","is_valid_coordinates":true} 
[2026-08-21 02:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538497792001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387822631862140928,"note":"Value kept but may cause issues"} 
[2026-08-21 02:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033426326123513856,"note":"Value kept but may cause issues"} 
[2026-08-21 02:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787259768000,"timestamp_ms":1787259768000,"timestamp_seconds":1787259768,"priority":1,"record_length":96,"hex_timestamp":"000001a020fbccc0"} 
[2026-08-21 02:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:35: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-08-21 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:35: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-08-21 02:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538497792001,"66":27343,"198":206,"84":8448,"24":26,"16":387822631862140928,"45":-7033426326123513856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,84,24,16,45]} 
[2026-08-21 02:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538497792001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:35:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 02:35:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 02:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387822631862140928,"km_value":387822631862140.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033426326123513856,"description":"Unknown IO ID 45"} 
[2026-08-21 02:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538497792001,"power":27343,"unknown_198":206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7033426326123513856}} 
[2026-08-21 02:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":159027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:35:05] local.INFO: GPS data processed {"connection_id":159027,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:35:05] local.INFO: Acknowledgment sent {"connection_id":159027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:35:27] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:27] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:27] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:35:27] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:27] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:27] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:35:32] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:32] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:35:32] local.INFO: IMEI packet received {"connection_id":159897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":159897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:35:33] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fd43c0012d9e6dc0056411c0000800ad2d..."} 
[2026-08-21 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fd43c0012d9e6dc0056411c0000800ad2d..."} 
[2026-08-21 02:35:33] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fd43c0012d9e6dc0056411c0000800ad2d..."} 
[2026-08-21 02:35:33] local.INFO: Packet analysis {"connection_id":159897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fd"} 
[2026-08-21 02:35:33] local.INFO: Extracted packet for processing {"connection_id":159897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fd"} 
[2026-08-21 02:35:33] local.INFO: GPS Element Parsed {"raw_longitude":765357504,"raw_latitude":90444224,"longitude_deg":76.5357504,"latitude_deg":9.0444224,"altitude":8,"angle":173,"satellites":45,"speed":34,"hex_longitude":"2d9e6dc0","hex_latitude":"056411c0","is_valid_coordinates":true} 
[2026-08-21 02:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538522624001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387826858109960192,"note":"Value kept but may cause issues"} 
[2026-08-21 02:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030541207634485248,"note":"Value kept but may cause issues"} 
[2026-08-21 02:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787259864000,"timestamp_ms":1787259864000,"timestamp_seconds":1787259864,"priority":1,"record_length":96,"hex_timestamp":"000001a020fd43c0"} 
[2026-08-21 02:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538522624001,"66":27321,"108":206,"84":7168,"24":34,"16":387826858109960192,"45":-7030541207634485248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-21 02:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538522624001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:35:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-21 02:35:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387826858109960192,"km_value":387826858109960.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030541207634485248,"description":"Unknown IO ID 45"} 
[2026-08-21 02:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538522624001,"power":27321,"unknown_108":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7030541207634485248}} 
[2026-08-21 02:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":159897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:35:33] local.INFO: GPS data processed {"connection_id":159897,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:35:33] local.INFO: Acknowledgment sent {"connection_id":159897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:36:03] local.INFO: TCP Data received {"connection_id":159897,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fd5b30012d9e72400563fd90000a00a02d..."} 
[2026-08-21 02:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fd5b30012d9e72400563fd90000a00a02d..."} 
[2026-08-21 02:36:03] local.INFO: Processing buffer {"connection_id":159897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fd5b30012d9e72400563fd90000a00a02d..."} 
[2026-08-21 02:36:03] local.INFO: Packet analysis {"connection_id":159897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fd"} 
[2026-08-21 02:36:03] local.INFO: Extracted packet for processing {"connection_id":159897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fd"} 
[2026-08-21 02:36:03] local.INFO: GPS Element Parsed {"raw_longitude":765358656,"raw_latitude":90439056,"longitude_deg":76.5358656,"latitude_deg":9.0439056,"altitude":10,"angle":160,"satellites":45,"speed":35,"hex_longitude":"2d9e7240","hex_latitude":"0563fd90","is_valid_coordinates":true} 
[2026-08-21 02:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538525184001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387827115807997952,"note":"Value kept but may cause issues"} 
[2026-08-21 02:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030752313869221888,"note":"Value kept but may cause issues"} 
[2026-08-21 02:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787259870000,"timestamp_ms":1787259870000,"timestamp_seconds":1787259870,"priority":1,"record_length":96,"hex_timestamp":"000001a020fd5b30"} 
[2026-08-21 02:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538525184001,"66":27245,"108":206,"84":7168,"24":35,"16":387827115807997952,"45":-7030752313869221888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-21 02:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538525184001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:36:03] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-21 02:36:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387827115807997952,"km_value":387827115807997.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030752313869221888,"description":"Unknown IO ID 45"} 
[2026-08-21 02:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538525184001,"power":27245,"unknown_108":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7030752313869221888}} 
[2026-08-21 02:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":159897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:36:03] local.INFO: GPS data processed {"connection_id":159897,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:36:03] local.INFO: Acknowledgment sent {"connection_id":159897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:36:27] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:36:27] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:36:27] local.INFO: IMEI packet received {"connection_id":158750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":158750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:36:32] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:36:32] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:36:32] local.INFO: IMEI packet received {"connection_id":158750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":158750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:36:33] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fd7688012d9e7d000563e7b0000b00942d..."} 
[2026-08-21 02:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fd7688012d9e7d000563e7b0000b00942d..."} 
[2026-08-21 02:36:33] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fd7688012d9e7d000563e7b0000b00942d..."} 
[2026-08-21 02:36:33] local.INFO: Packet analysis {"connection_id":158750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fd"} 
[2026-08-21 02:36:33] local.INFO: Extracted packet for processing {"connection_id":158750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fd"} 
[2026-08-21 02:36:33] local.INFO: GPS Element Parsed {"raw_longitude":765361408,"raw_latitude":90433456,"longitude_deg":76.5361408,"latitude_deg":9.0433456,"altitude":11,"angle":148,"satellites":45,"speed":35,"hex_longitude":"2d9e7d00","hex_latitude":"0563e7b0","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538526720001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387827416455708672,"note":"Value kept but may cause issues"} 
[2026-08-21 02:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029485676475346944,"note":"Value kept but may cause issues"} 
[2026-08-21 02:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787259877000,"timestamp_ms":1787259877000,"timestamp_seconds":1787259877,"priority":1,"record_length":96,"hex_timestamp":"000001a020fd7688"} 
[2026-08-21 02:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 02:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538526720001,"66":27343,"108":206,"84":7168,"24":35,"16":387827416455708672,"45":-7029485676475346944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-21 02:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538526720001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:36:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-21 02:36:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387827416455708672,"km_value":387827416455708.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029485676475346944,"description":"Unknown IO ID 45"} 
[2026-08-21 02:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538526720001,"power":27343,"unknown_108":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7029485676475346944}} 
[2026-08-21 02:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":158750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:36:33] local.INFO: GPS data processed {"connection_id":158750,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:36:33] local.INFO: Acknowledgment sent {"connection_id":158750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:37:04] local.INFO: TCP Data received {"connection_id":158750,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fece48012d9f410005630f880004009c2d..."} 
[2026-08-21 02:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fece48012d9f410005630f880004009c2d..."} 
[2026-08-21 02:37:04] local.INFO: Processing buffer {"connection_id":158750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fece48012d9f410005630f880004009c2d..."} 
[2026-08-21 02:37:04] local.INFO: Packet analysis {"connection_id":158750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fe"} 
[2026-08-21 02:37:04] local.INFO: Extracted packet for processing {"connection_id":158750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fe"} 
[2026-08-21 02:37:04] local.INFO: GPS Element Parsed {"raw_longitude":765411584,"raw_latitude":90378120,"longitude_deg":76.5411584,"latitude_deg":9.037812,"altitude":4,"angle":156,"satellites":45,"speed":40,"hex_longitude":"2d9f4100","hex_latitude":"05630f88","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538548480001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387831123012485120,"note":"Value kept but may cause issues"} 
[2026-08-21 02:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6975935062169483264,"note":"Value kept but may cause issues"} 
[2026-08-21 02:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787259965000,"timestamp_ms":1787259965000,"timestamp_seconds":1787259965,"priority":1,"record_length":96,"hex_timestamp":"000001a020fece48"} 
[2026-08-21 02:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:37: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-08-21 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538548480001,"66":27213,"245":206,"84":7168,"24":40,"16":387831123012485120,"45":-6975935062169483264},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 02:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538548480001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:37:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387831123012485120,"km_value":387831123012485.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6975935062169483264,"description":"Unknown IO ID 45"} 
[2026-08-21 02:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538548480001,"power":27213,"geofence_id":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-6975935062169483264}} 
[2026-08-21 02:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":158750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:37:04] local.INFO: GPS data processed {"connection_id":158750,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:37:04] local.INFO: Acknowledgment sent {"connection_id":158750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:37:27] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:37:27] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:37:27] local.INFO: IMEI packet received {"connection_id":159028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":159028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:37:32] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:37:32] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:37:32] local.INFO: IMEI packet received {"connection_id":159028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":159028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:37:33] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020fef170012d9f4ec00562ed680004009f2b..."} 
[2026-08-21 02:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020fef170012d9f4ec00562ed680004009f2b..."} 
[2026-08-21 02:37:33] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020fef170012d9f4ec00562ed680004009f2b..."} 
[2026-08-21 02:37:33] local.INFO: Packet analysis {"connection_id":159028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020fe"} 
[2026-08-21 02:37:33] local.INFO: Extracted packet for processing {"connection_id":159028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020fe"} 
[2026-08-21 02:37:33] local.INFO: GPS Element Parsed {"raw_longitude":765415104,"raw_latitude":90369384,"longitude_deg":76.5415104,"latitude_deg":9.0369384,"altitude":4,"angle":159,"satellites":43,"speed":42,"hex_longitude":"2d9f4ec0","hex_latitude":"0562ed68","is_valid_coordinates":true} 
[2026-08-21 02:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538551040001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387831578279018496,"note":"Value kept but may cause issues"} 
[2026-08-21 02:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6971290725056018432,"note":"Value kept but may cause issues"} 
[2026-08-21 02:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787259974000,"timestamp_ms":1787259974000,"timestamp_seconds":1787259974,"priority":1,"record_length":96,"hex_timestamp":"000001a020fef170"} 
[2026-08-21 02:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 02:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538551040001,"66":27300,"245":206,"84":7168,"24":42,"16":387831578279018496,"45":-6971290725056018432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 02:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538551040001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:37:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387831578279018496,"km_value":387831578279018.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6971290725056018432,"description":"Unknown IO ID 45"} 
[2026-08-21 02:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538551040001,"power":27300,"geofence_id":206,"unknown_84":7168,"ignition":42,"odometer":null,"unknown_45":-6971290725056018432}} 
[2026-08-21 02:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":159028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:37:33] local.INFO: GPS data processed {"connection_id":159028,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:37:33] local.INFO: Acknowledgment sent {"connection_id":159028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:38:06] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ff10b0012d9f59800562cc58000600a32d..."} 
[2026-08-21 02:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ff10b0012d9f59800562cc58000600a32d..."} 
[2026-08-21 02:38:06] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ff10b0012d9f59800562cc58000600a32d..."} 
[2026-08-21 02:38:06] local.INFO: Packet analysis {"connection_id":159028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:38:06] local.INFO: Extracted packet for processing {"connection_id":159028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:38:06] local.INFO: GPS Element Parsed {"raw_longitude":765417856,"raw_latitude":90360920,"longitude_deg":76.5417856,"latitude_deg":9.036092,"altitude":6,"angle":163,"satellites":45,"speed":45,"hex_longitude":"2d9f5980","hex_latitude":"0562cc58","is_valid_coordinates":true} 
[2026-08-21 02:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538553344001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387832007775748096,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6967420444128483328,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787259982000,"timestamp_ms":1787259982000,"timestamp_seconds":1787259982,"priority":1,"record_length":96,"hex_timestamp":"000001a020ff10b0"} 
[2026-08-21 02:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:38: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-08-21 02:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538553344001,"66":27213,"245":206,"84":7168,"24":45,"16":387832007775748096,"45":-6967420444128483328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 02:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538553344001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:38:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387832007775748096,"km_value":387832007775748.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6967420444128483328,"description":"Unknown IO ID 45"} 
[2026-08-21 02:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538553344001,"power":27213,"geofence_id":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-6967420444128483328}} 
[2026-08-21 02:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":159028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:38:06] local.INFO: GPS data processed {"connection_id":159028,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:38:06] local.INFO: Acknowledgment sent {"connection_id":159028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:38:32] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:38:32] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:38:32] local.INFO: IMEI packet received {"connection_id":159029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":159029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:38:35] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:38:35] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:38:35] local.INFO: IMEI packet received {"connection_id":159029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":159029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:38:36] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ff2ff0012d9f64800562aa48000700a12d..."} 
[2026-08-21 02:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ff2ff0012d9f64800562aa48000700a12d..."} 
[2026-08-21 02:38:36] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ff2ff0012d9f64800562aa48000700a12d..."} 
[2026-08-21 02:38:36] local.INFO: Packet analysis {"connection_id":159029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:38:36] local.INFO: Extracted packet for processing {"connection_id":159029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:38:36] local.INFO: GPS Element Parsed {"raw_longitude":765420672,"raw_latitude":90352200,"longitude_deg":76.5420672,"latitude_deg":9.03522,"altitude":7,"angle":161,"satellites":45,"speed":45,"hex_longitude":"2d9f6480","hex_latitude":"0562aa48","is_valid_coordinates":true} 
[2026-08-21 02:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538555392001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387832454452346880,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964394588131010560,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787259990000,"timestamp_ms":1787259990000,"timestamp_seconds":1787259990,"priority":1,"record_length":96,"hex_timestamp":"000001a020ff2ff0"} 
[2026-08-21 02:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 02:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538555392001,"66":27463,"246":206,"84":7168,"24":45,"16":387832454452346880,"45":-6964394588131010560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-08-21 02:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538555392001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:38:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387832454452346880,"km_value":387832454452346.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964394588131010560,"description":"Unknown IO ID 45"} 
[2026-08-21 02:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538555392001,"power":27463,"main_input_voltage":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-6964394588131010560}} 
[2026-08-21 02:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":159029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:38:36] local.INFO: GPS data processed {"connection_id":159029,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:38:36] local.INFO: Acknowledgment sent {"connection_id":159029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:38:37] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ff4f30012d9f6fc005628820000800a02e..."} 
[2026-08-21 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ff4f30012d9f6fc005628820000800a02e..."} 
[2026-08-21 02:38:37] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ff4f30012d9f6fc005628820000800a02e..."} 
[2026-08-21 02:38:37] local.INFO: Packet analysis {"connection_id":159029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:38:37] local.INFO: Extracted packet for processing {"connection_id":159029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":765423552,"raw_latitude":90343456,"longitude_deg":76.5423552,"latitude_deg":9.0343456,"altitude":8,"angle":160,"satellites":46,"speed":45,"hex_longitude":"2d9f6fc0","hex_latitude":"05628820","is_valid_coordinates":true} 
[2026-08-21 02:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538557440001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387832896833978368,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6961298363389425664,"note":"Value kept but may cause issues"} 
[2026-08-21 02:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787259998000,"timestamp_ms":1787259998000,"timestamp_seconds":1787259998,"priority":1,"record_length":96,"hex_timestamp":"000001a020ff4f30"} 
[2026-08-21 02:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:38: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-08-21 02:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 02:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538557440001,"66":27365,"246":206,"84":7168,"24":45,"16":387832896833978368,"45":-6961298363389425664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-08-21 02:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538557440001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:38:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387832896833978368,"km_value":387832896833978.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6961298363389425664,"description":"Unknown IO ID 45"} 
[2026-08-21 02:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538557440001,"power":27365,"main_input_voltage":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-6961298363389425664}} 
[2026-08-21 02:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":159029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:38:37] local.INFO: GPS data processed {"connection_id":159029,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:38:37] local.INFO: Acknowledgment sent {"connection_id":159029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:39:17] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ff6e70012d9f7e80056267580007009b2f..."} 
[2026-08-21 02:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ff6e70012d9f7e80056267580007009b2f..."} 
[2026-08-21 02:39:17] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ff6e70012d9f7e80056267580007009b2f..."} 
[2026-08-21 02:39:17] local.INFO: Packet analysis {"connection_id":159029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:39:17] local.INFO: Extracted packet for processing {"connection_id":159029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:39:17] local.INFO: GPS Element Parsed {"raw_longitude":765427328,"raw_latitude":90335064,"longitude_deg":76.5427328,"latitude_deg":9.0335064,"altitude":7,"angle":155,"satellites":47,"speed":45,"hex_longitude":"2d9f7e80","hex_latitude":"05626758","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538559488001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387833343510577152,"note":"Value kept but may cause issues"} 
[2026-08-21 02:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6958131769903669248,"note":"Value kept but may cause issues"} 
[2026-08-21 02:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787260006000,"timestamp_ms":1787260006000,"timestamp_seconds":1787260006,"priority":1,"record_length":96,"hex_timestamp":"000001a020ff6e70"} 
[2026-08-21 02:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538559488001,"66":27180,"246":206,"84":7168,"24":45,"16":387833343510577152,"45":-6958131769903669248},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-08-21 02:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538559488001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:39:17] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387833343510577152,"km_value":387833343510577.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6958131769903669248,"description":"Unknown IO ID 45"} 
[2026-08-21 02:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538559488001,"power":27180,"main_input_voltage":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-6958131769903669248}} 
[2026-08-21 02:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":159029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:39:17] local.INFO: GPS data processed {"connection_id":159029,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:39:17] local.INFO: Acknowledgment sent {"connection_id":159029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:39:27] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:39:27] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:39:27] local.INFO: IMEI packet received {"connection_id":158751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":158751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:39:31] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:39:31] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:39:31] local.INFO: IMEI packet received {"connection_id":158751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":158751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:39:32] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ff8db0012d9f8c40056247200007009e2e..."} 
[2026-08-21 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ff8db0012d9f8c40056247200007009e2e..."} 
[2026-08-21 02:39:32] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ff8db0012d9f8c40056247200007009e2e..."} 
[2026-08-21 02:39:32] local.INFO: Packet analysis {"connection_id":158751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:39:32] local.INFO: Extracted packet for processing {"connection_id":158751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:39:32] local.INFO: GPS Element Parsed {"raw_longitude":765430848,"raw_latitude":90326816,"longitude_deg":76.5430848,"latitude_deg":9.0326816,"altitude":7,"angle":158,"satellites":46,"speed":42,"hex_longitude":"2d9f8c40","hex_latitude":"05624720","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538561536001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387833777302274048,"note":"Value kept but may cause issues"} 
[2026-08-21 02:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6953980013999335424,"note":"Value kept but may cause issues"} 
[2026-08-21 02:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787260014000,"timestamp_ms":1787260014000,"timestamp_seconds":1787260014,"priority":1,"record_length":96,"hex_timestamp":"000001a020ff8db0"} 
[2026-08-21 02:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:39: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-08-21 02:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 02:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538561536001,"66":27310,"246":206,"84":7168,"24":42,"16":387833777302274048,"45":-6953980013999335424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-08-21 02:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538561536001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:39:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387833777302274048,"km_value":387833777302274.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6953980013999335424,"description":"Unknown IO ID 45"} 
[2026-08-21 02:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538561536001,"power":27310,"main_input_voltage":206,"unknown_84":7168,"ignition":42,"odometer":null,"unknown_45":-6953980013999335424}} 
[2026-08-21 02:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":158751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:39:32] local.INFO: GPS data processed {"connection_id":158751,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:39:32] local.INFO: Acknowledgment sent {"connection_id":158751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:40:02] local.INFO: TCP Data received {"connection_id":158751,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a020ffb0d8012d9f954005622790000800a92d..."} 
[2026-08-21 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a020ffb0d8012d9f954005622790000800a92d..."} 
[2026-08-21 02:40:02] local.INFO: Processing buffer {"connection_id":158751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a020ffb0d8012d9f954005622790000800a92d..."} 
[2026-08-21 02:40:02] local.INFO: Packet analysis {"connection_id":158751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:40:02] local.INFO: Extracted packet for processing {"connection_id":158751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a020ff"} 
[2026-08-21 02:40:02] local.INFO: GPS Element Parsed {"raw_longitude":765433152,"raw_latitude":90318736,"longitude_deg":76.5433152,"latitude_deg":9.0318736,"altitude":8,"angle":169,"satellites":45,"speed":30,"hex_longitude":"2d9f9540","hex_latitude":"05622790","is_valid_coordinates":true} 
[2026-08-21 02:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538563584001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387834185324167168,"note":"Value kept but may cause issues"} 
[2026-08-21 02:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6950109733071675392,"note":"Value kept but may cause issues"} 
[2026-08-21 02:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787260023000,"timestamp_ms":1787260023000,"timestamp_seconds":1787260023,"priority":1,"record_length":96,"hex_timestamp":"000001a020ffb0d8"} 
[2026-08-21 02:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02: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-08-21 02:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 02:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538563584001,"66":27321,"246":206,"84":7168,"24":30,"16":387834185324167168,"45":-6950109733071675392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,84,24,16,45]} 
[2026-08-21 02:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538563584001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:40:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387834185324167168,"km_value":387834185324167.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6950109733071675392,"description":"Unknown IO ID 45"} 
[2026-08-21 02:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538563584001,"power":27321,"main_input_voltage":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-6950109733071675392}} 
[2026-08-21 02:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":158751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:40:02] local.INFO: GPS data processed {"connection_id":158751,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:40:02] local.INFO: Acknowledgment sent {"connection_id":158751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:40:27] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:27] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:27] local.INFO: IMEI packet received {"connection_id":161270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":161270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:40:28] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:28] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:28] local.INFO: IMEI packet received {"connection_id":161270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":161270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:40:32] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:32] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:40:32] local.INFO: IMEI packet received {"connection_id":161270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":161270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:40:33] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02101c418012d9f58400560bc30000700db2f..."} 
[2026-08-21 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02101c418012d9f58400560bc30000700db2f..."} 
[2026-08-21 02:40:33] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02101c418012d9f58400560bc30000700db2f..."} 
[2026-08-21 02:40:33] local.INFO: Packet analysis {"connection_id":161270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02101"} 
[2026-08-21 02:40:33] local.INFO: Extracted packet for processing {"connection_id":161270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02101"} 
[2026-08-21 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":765417536,"raw_latitude":90225712,"longitude_deg":76.5417536,"latitude_deg":9.0225712,"altitude":7,"angle":219,"satellites":47,"speed":37,"hex_longitude":"2d9f5840","hex_latitude":"0560bc30","is_valid_coordinates":true} 
[2026-08-21 02:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538598656001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387838832478781440,"note":"Value kept but may cause issues"} 
[2026-08-21 02:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6959961357280774144,"note":"Value kept but may cause issues"} 
[2026-08-21 02:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260159000,"timestamp_ms":1787260159000,"timestamp_seconds":1787260159,"priority":1,"record_length":96,"hex_timestamp":"000001a02101c418"} 
[2026-08-21 02:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538598656001,"66":27321,"175":206,"84":7168,"24":37,"16":387838832478781440,"45":-6959961357280774144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 02:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538598656001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:40:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 02:40:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387838832478781440,"km_value":387838832478781.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6959961357280774144,"description":"Unknown IO ID 45"} 
[2026-08-21 02:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538598656001,"power":27321,"unknown_175":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-6959961357280774144}} 
[2026-08-21 02:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":161270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:40:33] local.INFO: GPS data processed {"connection_id":161270,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:40:33] local.INFO: Acknowledgment sent {"connection_id":161270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:41:04] local.INFO: TCP Data received {"connection_id":161270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02101eb28012d9f40000560a1e8000700df2c..."} 
[2026-08-21 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02101eb28012d9f40000560a1e8000700df2c..."} 
[2026-08-21 02:41:04] local.INFO: Processing buffer {"connection_id":161270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02101eb28012d9f40000560a1e8000700df2c..."} 
[2026-08-21 02:41:04] local.INFO: Packet analysis {"connection_id":161270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02101"} 
[2026-08-21 02:41:04] local.INFO: Extracted packet for processing {"connection_id":161270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02101"} 
[2026-08-21 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":765411328,"raw_latitude":90218984,"longitude_deg":76.5411328,"latitude_deg":9.0218984,"altitude":7,"angle":223,"satellites":44,"speed":36,"hex_longitude":"2d9f4000","hex_latitude":"0560a1e8","is_valid_coordinates":true} 
[2026-08-21 02:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538600704001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387839274860412928,"note":"Value kept but may cause issues"} 
[2026-08-21 02:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964746431886512128,"note":"Value kept but may cause issues"} 
[2026-08-21 02:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787260169000,"timestamp_ms":1787260169000,"timestamp_seconds":1787260169,"priority":1,"record_length":96,"hex_timestamp":"000001a02101eb28"} 
[2026-08-21 02:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538600704001,"66":27365,"175":206,"84":7168,"24":36,"16":387839274860412928,"45":-6964746431886512128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 02:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538600704001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:41:04] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 02:41:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387839274860412928,"km_value":387839274860412.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964746431886512128,"description":"Unknown IO ID 45"} 
[2026-08-21 02:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538600704001,"power":27365,"unknown_175":206,"unknown_84":7168,"ignition":36,"odometer":null,"unknown_45":-6964746431886512128}} 
[2026-08-21 02:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:41:04] local.INFO: GPS data processed {"connection_id":161270,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:41:04] local.INFO: Acknowledgment sent {"connection_id":161270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:41:27] local.INFO: TCP Data received {"connection_id":158752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:41:27] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:41:27] local.INFO: IMEI packet received {"connection_id":158752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":158752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:41:32] local.INFO: TCP Data received {"connection_id":158752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:41:32] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:41:32] local.INFO: IMEI packet received {"connection_id":158752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":158752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:41:33] local.INFO: TCP Data received {"connection_id":158752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021023d30012d9f2c4005608cd0000600de2f..."} 
[2026-08-21 02:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021023d30012d9f2c4005608cd0000600de2f..."} 
[2026-08-21 02:41:33] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021023d30012d9f2c4005608cd0000600de2f..."} 
[2026-08-21 02:41:33] local.INFO: Packet analysis {"connection_id":158752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02102"} 
[2026-08-21 02:41:33] local.INFO: Extracted packet for processing {"connection_id":158752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02102"} 
[2026-08-21 02:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765406272,"raw_latitude":90213584,"longitude_deg":76.5406272,"latitude_deg":9.0213584,"altitude":6,"angle":222,"satellites":47,"speed":12,"hex_longitude":"2d9f2c40","hex_latitude":"05608cd0","is_valid_coordinates":true} 
[2026-08-21 02:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538603264001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387839631342698496,"note":"Value kept but may cause issues"} 
[2026-08-21 02:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6971572200073467904,"note":"Value kept but may cause issues"} 
[2026-08-21 02:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260190000,"timestamp_ms":1787260190000,"timestamp_seconds":1787260190,"priority":1,"record_length":96,"hex_timestamp":"000001a021023d30"} 
[2026-08-21 02:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538603264001,"66":27343,"175":206,"84":7168,"24":12,"16":387839631342698496,"45":-6971572200073467904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 02:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538603264001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:41:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 02:41:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387839631342698496,"km_value":387839631342698.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6971572200073467904,"description":"Unknown IO ID 45"} 
[2026-08-21 02:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538603264001,"power":27343,"unknown_175":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-6971572200073467904}} 
[2026-08-21 02:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":158752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:41:33] local.INFO: GPS data processed {"connection_id":158752,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:41:33] local.INFO: Acknowledgment sent {"connection_id":158752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:42:03] local.INFO: TCP Data received {"connection_id":158752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021027bb0012d9f1240056071f8000600dd2f..."} 
[2026-08-21 02:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021027bb0012d9f1240056071f8000600dd2f..."} 
[2026-08-21 02:42:03] local.INFO: Processing buffer {"connection_id":158752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021027bb0012d9f1240056071f8000600dd2f..."} 
[2026-08-21 02:42:03] local.INFO: Packet analysis {"connection_id":158752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02102"} 
[2026-08-21 02:42:03] local.INFO: Extracted packet for processing {"connection_id":158752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02102"} 
[2026-08-21 02:42:03] local.INFO: GPS Element Parsed {"raw_longitude":765399616,"raw_latitude":90206712,"longitude_deg":76.5399616,"latitude_deg":9.0206712,"altitude":6,"angle":221,"satellites":47,"speed":28,"hex_longitude":"2d9f1240","hex_latitude":"056071f8","is_valid_coordinates":true} 
[2026-08-21 02:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538608640001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387840090904199168,"note":"Value kept but may cause issues"} 
[2026-08-21 02:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6977131330864885760,"note":"Value kept but may cause issues"} 
[2026-08-21 02:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787260206000,"timestamp_ms":1787260206000,"timestamp_seconds":1787260206,"priority":1,"record_length":96,"hex_timestamp":"000001a021027bb0"} 
[2026-08-21 02:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538608640001,"66":27234,"175":206,"84":7168,"24":28,"16":387840090904199168,"45":-6977131330864885760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 02:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538608640001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:42:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 02:42:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387840090904199168,"km_value":387840090904199.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6977131330864885760,"description":"Unknown IO ID 45"} 
[2026-08-21 02:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538608640001,"power":27234,"unknown_175":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-6977131330864885760}} 
[2026-08-21 02:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":158752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:42:03] local.INFO: GPS data processed {"connection_id":158752,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:42:03] local.INFO: Acknowledgment sent {"connection_id":158752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:42:27] local.INFO: TCP Data received {"connection_id":161271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:27] local.INFO: Processing buffer {"connection_id":161271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:27] local.INFO: IMEI packet received {"connection_id":161271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":161271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:42:29] local.INFO: TCP Data received {"connection_id":161271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:29] local.INFO: Processing buffer {"connection_id":161271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:29] local.INFO: IMEI packet received {"connection_id":161271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":161271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:42:32] local.INFO: TCP Data received {"connection_id":161271,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:32] local.INFO: Processing buffer {"connection_id":161271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:42:32] local.INFO: IMEI packet received {"connection_id":161271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":161271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:42:32] local.INFO: TCP Data received {"connection_id":161271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02103b048012d9ea340055feb30000700c931..."} 
[2026-08-21 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02103b048012d9ea340055feb30000700c931..."} 
[2026-08-21 02:42:32] local.INFO: Processing buffer {"connection_id":161271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02103b048012d9ea340055feb30000700c931..."} 
[2026-08-21 02:42:32] local.INFO: Packet analysis {"connection_id":161271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02103"} 
[2026-08-21 02:42:32] local.INFO: Extracted packet for processing {"connection_id":161271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02103"} 
[2026-08-21 02:42:32] local.INFO: GPS Element Parsed {"raw_longitude":765371200,"raw_latitude":90172208,"longitude_deg":76.53712,"latitude_deg":9.0172208,"altitude":7,"angle":201,"satellites":49,"speed":38,"hex_longitude":"2d9ea340","hex_latitude":"055feb30","is_valid_coordinates":true} 
[2026-08-21 02:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538630400001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387842319992225792,"note":"Value kept but may cause issues"} 
[2026-08-21 02:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7011893490497157120,"note":"Value kept but may cause issues"} 
[2026-08-21 02:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787260285000,"timestamp_ms":1787260285000,"timestamp_seconds":1787260285,"priority":1,"record_length":96,"hex_timestamp":"000001a02103b048"} 
[2026-08-21 02:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-21 02:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538630400001,"66":27321,"127":206,"84":7168,"24":38,"16":387842319992225792,"45":-7011893490497157120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-08-21 02:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538630400001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:42:32] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 02:42:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387842319992225792,"km_value":387842319992225.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7011893490497157120,"description":"Unknown IO ID 45"} 
[2026-08-21 02:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538630400001,"power":27321,"unknown_127":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7011893490497157120}} 
[2026-08-21 02:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":161271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:42:32] local.INFO: GPS data processed {"connection_id":161271,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:42:32] local.INFO: Acknowledgment sent {"connection_id":161271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:43:03] local.INFO: TCP Data received {"connection_id":161271,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02103d370012d9e9640055fc948000800c930..."} 
[2026-08-21 02:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02103d370012d9e9640055fc948000800c930..."} 
[2026-08-21 02:43:03] local.INFO: Processing buffer {"connection_id":161271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02103d370012d9e9640055fc948000800c930..."} 
[2026-08-21 02:43:03] local.INFO: Packet analysis {"connection_id":161271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02103"} 
[2026-08-21 02:43:03] local.INFO: Extracted packet for processing {"connection_id":161271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02103"} 
[2026-08-21 02:43:03] local.INFO: GPS Element Parsed {"raw_longitude":765367872,"raw_latitude":90163528,"longitude_deg":76.5367872,"latitude_deg":9.0163528,"altitude":8,"angle":201,"satellites":48,"speed":41,"hex_longitude":"2d9e9640","hex_latitude":"055fc948","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538632960001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387842766668824576,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015693402684837888,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787260294000,"timestamp_ms":1787260294000,"timestamp_seconds":1787260294,"priority":1,"record_length":96,"hex_timestamp":"000001a02103d370"} 
[2026-08-21 02:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538632960001,"66":27300,"127":206,"84":7168,"24":41,"16":387842766668824576,"45":-7015693402684837888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,84,24,16,45]} 
[2026-08-21 02:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538632960001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:43:03] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 02:43:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387842766668824576,"km_value":387842766668824.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015693402684837888,"description":"Unknown IO ID 45"} 
[2026-08-21 02:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538632960001,"power":27300,"unknown_127":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-7015693402684837888}} 
[2026-08-21 02:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":161271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:43:03] local.INFO: GPS data processed {"connection_id":161271,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:43:03] local.INFO: Acknowledgment sent {"connection_id":161271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:43:32] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:43:32] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:43:32] local.INFO: IMEI packet received {"connection_id":158753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":158753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:43:36] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:43:36] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:43:36] local.INFO: IMEI packet received {"connection_id":158753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":158753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:43:38] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02103f698012d9e8980055fa658000900c630..."} 
[2026-08-21 02:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02103f698012d9e8980055fa658000900c630..."} 
[2026-08-21 02:43:38] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02103f698012d9e8980055fa658000900c630..."} 
[2026-08-21 02:43:38] local.INFO: Packet analysis {"connection_id":158753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02103"} 
[2026-08-21 02:43:38] local.INFO: Extracted packet for processing {"connection_id":158753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02103"} 
[2026-08-21 02:43:38] local.INFO: GPS Element Parsed {"raw_longitude":765364608,"raw_latitude":90154584,"longitude_deg":76.5364608,"latitude_deg":9.0154584,"altitude":9,"angle":198,"satellites":48,"speed":43,"hex_longitude":"2d9e8980","hex_latitude":"055fa658","is_valid_coordinates":true} 
[2026-08-21 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538635264001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387843230525292544,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7019352577384298496,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787260303000,"timestamp_ms":1787260303000,"timestamp_seconds":1787260303,"priority":1,"record_length":96,"hex_timestamp":"000001a02103f698"} 
[2026-08-21 02:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538635264001,"66":27267,"128":206,"84":7168,"24":43,"16":387843230525292544,"45":-7019352577384298496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-21 02:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538635264001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:43:38] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-21 02:43:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387843230525292544,"km_value":387843230525292.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7019352577384298496,"description":"Unknown IO ID 45"} 
[2026-08-21 02:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538635264001,"power":27267,"unknown_128":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-7019352577384298496}} 
[2026-08-21 02:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":158753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:43:38] local.INFO: GPS data processed {"connection_id":158753,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:43:38] local.INFO: Acknowledgment sent {"connection_id":158753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:43:43] local.INFO: TCP Data received {"connection_id":158753,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210415d8012d9e8200055f8500000900ba30..."} 
[2026-08-21 02:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210415d8012d9e8200055f8500000900ba30..."} 
[2026-08-21 02:43:43] local.INFO: Processing buffer {"connection_id":158753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210415d8012d9e8200055f8500000900ba30..."} 
[2026-08-21 02:43:43] local.INFO: Packet analysis {"connection_id":158753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02104"} 
[2026-08-21 02:43:43] local.INFO: Extracted packet for processing {"connection_id":158753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02104"} 
[2026-08-21 02:43:43] local.INFO: GPS Element Parsed {"raw_longitude":765362688,"raw_latitude":90146048,"longitude_deg":76.5362688,"latitude_deg":9.0146048,"altitude":9,"angle":186,"satellites":48,"speed":44,"hex_longitude":"2d9e8200","hex_latitude":"055f8500","is_valid_coordinates":true} 
[2026-08-21 02:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538637568001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387843655727054848,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7022941383339649024,"note":"Value kept but may cause issues"} 
[2026-08-21 02:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787260311000,"timestamp_ms":1787260311000,"timestamp_seconds":1787260311,"priority":1,"record_length":96,"hex_timestamp":"000001a0210415d8"} 
[2026-08-21 02:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538637568001,"66":27213,"128":206,"84":7168,"24":44,"16":387843655727054848,"45":-7022941383339649024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-21 02:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538637568001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:43:43] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-21 02:43:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387843655727054848,"km_value":387843655727054.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7022941383339649024,"description":"Unknown IO ID 45"} 
[2026-08-21 02:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538637568001,"power":27213,"unknown_128":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7022941383339649024}} 
[2026-08-21 02:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":158753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:43:43] local.INFO: GPS data processed {"connection_id":158753,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:43:43] local.INFO: Acknowledgment sent {"connection_id":158753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:44:25] local.INFO: TCP Data received {"connection_id":161272,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:25] local.INFO: Processing buffer {"connection_id":161272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:25] local.INFO: IMEI packet received {"connection_id":161272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":161272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:44:27] local.INFO: TCP Data received {"connection_id":161272,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:27] local.INFO: Processing buffer {"connection_id":161272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:27] local.INFO: IMEI packet received {"connection_id":161272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":161272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:44:32] local.INFO: TCP Data received {"connection_id":161272,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:32] local.INFO: Processing buffer {"connection_id":161272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:44:32] local.INFO: IMEI packet received {"connection_id":161272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":161272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:44:33] local.INFO: TCP Data received {"connection_id":161272,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021055a10012d9ea6c0055ed680000b00b730..."} 
[2026-08-21 02:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021055a10012d9ea6c0055ed680000b00b730..."} 
[2026-08-21 02:44:33] local.INFO: Processing buffer {"connection_id":161272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021055a10012d9ea6c0055ed680000b00b730..."} 
[2026-08-21 02:44:33] local.INFO: Packet analysis {"connection_id":161272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:44:33] local.INFO: Extracted packet for processing {"connection_id":161272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:44:33] local.INFO: GPS Element Parsed {"raw_longitude":765372096,"raw_latitude":90101376,"longitude_deg":76.5372096,"latitude_deg":9.0101376,"altitude":11,"angle":183,"satellites":48,"speed":26,"hex_longitude":"2d9ea6c0","hex_latitude":"055ed680","is_valid_coordinates":true} 
[2026-08-21 02:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538659840001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387845923469787136,"note":"Value kept but may cause issues"} 
[2026-08-21 02:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014074921586206720,"note":"Value kept but may cause issues"} 
[2026-08-21 02:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260394000,"timestamp_ms":1787260394000,"timestamp_seconds":1787260394,"priority":1,"record_length":96,"hex_timestamp":"000001a021055a10"} 
[2026-08-21 02:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 02:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538659840001,"66":27343,"128":206,"84":7168,"24":26,"16":387845923469787136,"45":-7014074921586206720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-21 02:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538659840001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:44:33] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-21 02:44:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387845923469787136,"km_value":387845923469787.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014074921586206720,"description":"Unknown IO ID 45"} 
[2026-08-21 02:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538659840001,"power":27343,"unknown_128":206,"unknown_84":7168,"ignition":26,"odometer":null,"unknown_45":-7014074921586206720}} 
[2026-08-21 02:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":161272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:44:33] local.INFO: GPS data processed {"connection_id":161272,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:44:33] local.INFO: Acknowledgment sent {"connection_id":161272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:45:04] local.INFO: TCP Data received {"connection_id":161272,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210588f0012d9ea5c0055eb338000900ba30..."} 
[2026-08-21 02:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210588f0012d9ea5c0055eb338000900ba30..."} 
[2026-08-21 02:45:04] local.INFO: Processing buffer {"connection_id":161272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210588f0012d9ea5c0055eb338000900ba30..."} 
[2026-08-21 02:45:04] local.INFO: Packet analysis {"connection_id":161272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:45:04] local.INFO: Extracted packet for processing {"connection_id":161272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:45:04] local.INFO: GPS Element Parsed {"raw_longitude":765371840,"raw_latitude":90092344,"longitude_deg":76.537184,"latitude_deg":9.0092344,"altitude":9,"angle":186,"satellites":48,"speed":32,"hex_longitude":"2d9ea5c0","hex_latitude":"055eb338","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538660864001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387846361556451328,"note":"Value kept but may cause issues"} 
[2026-08-21 02:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014708240284483584,"note":"Value kept but may cause issues"} 
[2026-08-21 02:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787260406000,"timestamp_ms":1787260406000,"timestamp_seconds":1787260406,"priority":1,"record_length":96,"hex_timestamp":"000001a0210588f0"} 
[2026-08-21 02:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:45: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-08-21 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538660864001,"66":27343,"143":206,"84":7168,"24":32,"16":387846361556451328,"45":-7014708240284483584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-21 02:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538660864001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:45:04] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-21 02:45:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387846361556451328,"km_value":387846361556451.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014708240284483584,"description":"Unknown IO ID 45"} 
[2026-08-21 02:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538660864001,"power":27343,"unknown_143":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-7014708240284483584}} 
[2026-08-21 02:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":161272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:45:04] local.INFO: GPS data processed {"connection_id":161272,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:45:04] local.INFO: Acknowledgment sent {"connection_id":161272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:45:27] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:45:27] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:45:27] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:45:32] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:45:32] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:45:32] local.INFO: IMEI packet received {"connection_id":159898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":159898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:45:33] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02105b000012d9ea080055e9298000900c631..."} 
[2026-08-21 02:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02105b000012d9ea080055e9298000900c631..."} 
[2026-08-21 02:45:33] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02105b000012d9ea080055e9298000900c631..."} 
[2026-08-21 02:45:33] local.INFO: Packet analysis {"connection_id":159898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:45:33] local.INFO: Extracted packet for processing {"connection_id":159898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:45:33] local.INFO: GPS Element Parsed {"raw_longitude":765370496,"raw_latitude":90083992,"longitude_deg":76.5370496,"latitude_deg":9.0083992,"altitude":9,"angle":198,"satellites":49,"speed":33,"hex_longitude":"2d9ea080","hex_latitude":"055e9298","is_valid_coordinates":true} 
[2026-08-21 02:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538663936001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387846773873311744,"note":"Value kept but may cause issues"} 
[2026-08-21 02:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014989715263506432,"note":"Value kept but may cause issues"} 
[2026-08-21 02:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260416000,"timestamp_ms":1787260416000,"timestamp_seconds":1787260416,"priority":1,"record_length":96,"hex_timestamp":"000001a02105b000"} 
[2026-08-21 02:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538663936001,"66":27234,"143":206,"84":7168,"24":33,"16":387846773873311744,"45":-7014989715263506432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-21 02:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538663936001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:45:33] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-21 02:45:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387846773873311744,"km_value":387846773873311.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014989715263506432,"description":"Unknown IO ID 45"} 
[2026-08-21 02:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538663936001,"power":27234,"unknown_143":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7014989715263506432}} 
[2026-08-21 02:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":159898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:45:33] local.INFO: GPS data processed {"connection_id":159898,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:45:33] local.INFO: Acknowledgment sent {"connection_id":159898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:46:28] local.INFO: TCP Data received {"connection_id":159898,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02105daf8012d9e9340055e6f98000900cd30..."} 
[2026-08-21 02:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02105daf8012d9e9340055e6f98000900cd30..."} 
[2026-08-21 02:46:28] local.INFO: Processing buffer {"connection_id":159898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02105daf8012d9e9340055e6f98000900cd30..."} 
[2026-08-21 02:46:28] local.INFO: Packet analysis {"connection_id":159898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:46:28] local.INFO: Extracted packet for processing {"connection_id":159898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02105"} 
[2026-08-21 02:46:28] local.INFO: GPS Element Parsed {"raw_longitude":765367104,"raw_latitude":90075032,"longitude_deg":76.5367104,"latitude_deg":9.0075032,"altitude":9,"angle":205,"satellites":48,"speed":36,"hex_longitude":"2d9e9340","hex_latitude":"055e6f98","is_valid_coordinates":true} 
[2026-08-21 02:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538666496001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387847237729779712,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7016467458893375488,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787260427000,"timestamp_ms":1787260427000,"timestamp_seconds":1787260427,"priority":1,"record_length":96,"hex_timestamp":"000001a02105daf8"} 
[2026-08-21 02:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 02:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538666496001,"66":27104,"143":206,"84":7168,"24":36,"16":387847237729779712,"45":-7016467458893375488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-21 02:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538666496001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:46:28] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-21 02:46:28] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387847237729779712,"km_value":387847237729779.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7016467458893375488,"description":"Unknown IO ID 45"} 
[2026-08-21 02:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538666496001,"power":27104,"unknown_143":206,"unknown_84":7168,"ignition":36,"odometer":null,"unknown_45":-7016467458893375488}} 
[2026-08-21 02:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":159898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:46:28] local.INFO: GPS data processed {"connection_id":159898,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:46:28] local.INFO: Acknowledgment sent {"connection_id":159898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:46:32] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:46:32] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:46:32] local.INFO: IMEI packet received {"connection_id":159030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":159030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:46:34] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:46:34] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:46:34] local.INFO: IMEI packet received {"connection_id":159030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":159030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:46:35] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021077520012d9e4700055d55e0000900d230..."} 
[2026-08-21 02:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021077520012d9e4700055d55e0000900d230..."} 
[2026-08-21 02:46:35] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021077520012d9e4700055d55e0000900d230..."} 
[2026-08-21 02:46:35] local.INFO: Packet analysis {"connection_id":159030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:46:35] local.INFO: Extracted packet for processing {"connection_id":159030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:46:35] local.INFO: GPS Element Parsed {"raw_longitude":765347584,"raw_latitude":90002912,"longitude_deg":76.5347584,"latitude_deg":9.0002912,"altitude":9,"angle":210,"satellites":48,"speed":25,"hex_longitude":"2d9e4700","hex_latitude":"055d55e0","is_valid_coordinates":true} 
[2026-08-21 02:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538692352001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387850918516752384,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036452182258628608,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787260532000,"timestamp_ms":1787260532000,"timestamp_seconds":1787260532,"priority":1,"record_length":96,"hex_timestamp":"000001a021077520"} 
[2026-08-21 02:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538692352001,"66":27310,"145":206,"84":7168,"24":25,"16":387850918516752384,"45":-7036452182258628608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-21 02:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538692352001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:46:35] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 02:46:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387850918516752384,"km_value":387850918516752.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036452182258628608,"description":"Unknown IO ID 45"} 
[2026-08-21 02:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538692352001,"power":27310,"unknown_145":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-7036452182258628608}} 
[2026-08-21 02:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":159030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:46:35] local.INFO: GPS data processed {"connection_id":159030,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:46:35] local.INFO: Acknowledgment sent {"connection_id":159030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:46:38] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02107a7e8012d9e33c0055d38e8000800d42b..."} 
[2026-08-21 02:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02107a7e8012d9e33c0055d38e8000800d42b..."} 
[2026-08-21 02:46:38] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02107a7e8012d9e33c0055d38e8000800d42b..."} 
[2026-08-21 02:46:38] local.INFO: Packet analysis {"connection_id":159030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:46:38] local.INFO: Extracted packet for processing {"connection_id":159030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:46:38] local.INFO: GPS Element Parsed {"raw_longitude":765342656,"raw_latitude":89995496,"longitude_deg":76.5342656,"latitude_deg":8.9995496,"altitude":8,"angle":212,"satellites":43,"speed":32,"hex_longitude":"2d9e33c0","hex_latitude":"055d38e8","is_valid_coordinates":true} 
[2026-08-21 02:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538696192001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387851348013481984,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041659469329735680,"note":"Value kept but may cause issues"} 
[2026-08-21 02:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787260545000,"timestamp_ms":1787260545000,"timestamp_seconds":1787260545,"priority":1,"record_length":96,"hex_timestamp":"000001a02107a7e8"} 
[2026-08-21 02:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 02:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538696192001,"66":27321,"145":206,"84":7168,"24":32,"16":387851348013481984,"45":-7041659469329735680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-21 02:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538696192001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:46:38] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 02:46:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387851348013481984,"km_value":387851348013482.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041659469329735680,"description":"Unknown IO ID 45"} 
[2026-08-21 02:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538696192001,"power":27321,"unknown_145":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-7041659469329735680}} 
[2026-08-21 02:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":159030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:46:38] local.INFO: GPS data processed {"connection_id":159030,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:46:38] local.INFO: Acknowledgment sent {"connection_id":159030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:47:13] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02107d2e0012d9e2000055d1850000800cf2b..."} 
[2026-08-21 02:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02107d2e0012d9e2000055d1850000800cf2b..."} 
[2026-08-21 02:47:13] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02107d2e0012d9e2000055d1850000800cf2b..."} 
[2026-08-21 02:47:13] local.INFO: Packet analysis {"connection_id":159030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:47:13] local.INFO: Extracted packet for processing {"connection_id":159030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":765337600,"raw_latitude":89987152,"longitude_deg":76.53376,"latitude_deg":8.9987152,"altitude":8,"angle":207,"satellites":43,"speed":37,"hex_longitude":"2d9e2000","hex_latitude":"055d1850","is_valid_coordinates":true} 
[2026-08-21 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538699520001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387851820459884544,"note":"Value kept but may cause issues"} 
[2026-08-21 02:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047077862633314304,"note":"Value kept but may cause issues"} 
[2026-08-21 02:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787260556000,"timestamp_ms":1787260556000,"timestamp_seconds":1787260556,"priority":1,"record_length":96,"hex_timestamp":"000001a02107d2e0"} 
[2026-08-21 02:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538699520001,"66":27300,"249":206,"84":7168,"24":37,"16":387851820459884544,"45":-7047077862633314304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-21 02:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538699520001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:47:13] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-21 02:47:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387851820459884544,"km_value":387851820459884.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047077862633314304,"description":"Unknown IO ID 45"} 
[2026-08-21 02:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538699520001,"power":27300,"unknown_249":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-7047077862633314304}} 
[2026-08-21 02:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":159030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:47:13] local.INFO: GPS data processed {"connection_id":159030,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:47:13] local.INFO: Acknowledgment sent {"connection_id":159030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:47:27] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:47:27] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:47:27] local.INFO: IMEI packet received {"connection_id":161273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":161273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:47:32] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:47:32] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:47:32] local.INFO: IMEI packet received {"connection_id":161273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":161273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:47:33] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02107f608012d9e1240055cf858000900c830..."} 
[2026-08-21 02:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02107f608012d9e1240055cf858000900c830..."} 
[2026-08-21 02:47:33] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02107f608012d9e1240055cf858000900c830..."} 
[2026-08-21 02:47:33] local.INFO: Packet analysis {"connection_id":161273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:47:33] local.INFO: Extracted packet for processing {"connection_id":161273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02107"} 
[2026-08-21 02:47:33] local.INFO: GPS Element Parsed {"raw_longitude":765334080,"raw_latitude":89978968,"longitude_deg":76.533408,"latitude_deg":8.9978968,"altitude":9,"angle":200,"satellites":48,"speed":40,"hex_longitude":"2d9e1240","hex_latitude":"055cf858","is_valid_coordinates":true} 
[2026-08-21 02:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538702336001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387852249956614144,"note":"Value kept but may cause issues"} 
[2026-08-21 02:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052636993425485824,"note":"Value kept but may cause issues"} 
[2026-08-21 02:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260565000,"timestamp_ms":1787260565000,"timestamp_seconds":1787260565,"priority":1,"record_length":96,"hex_timestamp":"000001a02107f608"} 
[2026-08-21 02:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538702336001,"66":27267,"249":206,"84":7168,"24":40,"16":387852249956614144,"45":-7052636993425485824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-21 02:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538702336001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:47:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-21 02:47:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387852249956614144,"km_value":387852249956614.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052636993425485824,"description":"Unknown IO ID 45"} 
[2026-08-21 02:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538702336001,"power":27267,"unknown_249":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7052636993425485824}} 
[2026-08-21 02:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":161273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:47:33] local.INFO: GPS data processed {"connection_id":161273,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:47:33] local.INFO: Acknowledgment sent {"connection_id":161273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:48:04] local.INFO: TCP Data received {"connection_id":161273,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021081930012d9e0840055cd5b0000900bf2f..."} 
[2026-08-21 02:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021081930012d9e0840055cd5b0000900bf2f..."} 
[2026-08-21 02:48:04] local.INFO: Processing buffer {"connection_id":161273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021081930012d9e0840055cd5b0000900bf2f..."} 
[2026-08-21 02:48:04] local.INFO: Packet analysis {"connection_id":161273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02108"} 
[2026-08-21 02:48:04] local.INFO: Extracted packet for processing {"connection_id":161273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02108"} 
[2026-08-21 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":765331520,"raw_latitude":89970096,"longitude_deg":76.533152,"latitude_deg":8.9970096,"altitude":9,"angle":191,"satellites":47,"speed":42,"hex_longitude":"2d9e0840","hex_latitude":"055cd5b0","is_valid_coordinates":true} 
[2026-08-21 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538704640001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387852700928180224,"note":"Value kept but may cause issues"} 
[2026-08-21 02:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7056507274357352448,"note":"Value kept but may cause issues"} 
[2026-08-21 02:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787260574000,"timestamp_ms":1787260574000,"timestamp_seconds":1787260574,"priority":1,"record_length":96,"hex_timestamp":"000001a021081930"} 
[2026-08-21 02:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538704640001,"66":27332,"249":206,"84":7168,"24":42,"16":387852700928180224,"45":-7056507274357352448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-21 02:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538704640001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387852700928180224,"km_value":387852700928180.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7056507274357352448,"description":"Unknown IO ID 45"} 
[2026-08-21 02:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538704640001,"power":27332,"unknown_249":206,"unknown_84":7168,"ignition":42,"odometer":null,"unknown_45":-7056507274357352448}} 
[2026-08-21 02:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":161273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:48:04] local.INFO: GPS data processed {"connection_id":161273,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:48:04] local.INFO: Acknowledgment sent {"connection_id":161273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:48:27] local.INFO: TCP Data received {"connection_id":161274,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:48:27] local.INFO: Processing buffer {"connection_id":161274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:48:27] local.INFO: IMEI packet received {"connection_id":161274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":161274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:48:32] local.INFO: TCP Data received {"connection_id":161274,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:48:32] local.INFO: Processing buffer {"connection_id":161274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:48:32] local.INFO: IMEI packet received {"connection_id":161274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":161274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:48:33] local.INFO: TCP Data received {"connection_id":161274,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021083c58012d9e02c0055cb0e8000900b82d..."} 
[2026-08-21 02:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021083c58012d9e02c0055cb0e8000900b82d..."} 
[2026-08-21 02:48:33] local.INFO: Processing buffer {"connection_id":161274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021083c58012d9e02c0055cb0e8000900b82d..."} 
[2026-08-21 02:48:33] local.INFO: Packet analysis {"connection_id":161274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02108"} 
[2026-08-21 02:48:33] local.INFO: Extracted packet for processing {"connection_id":161274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02108"} 
[2026-08-21 02:48:33] local.INFO: GPS Element Parsed {"raw_longitude":765330112,"raw_latitude":89960680,"longitude_deg":76.5330112,"latitude_deg":8.996068,"altitude":9,"angle":184,"satellites":45,"speed":41,"hex_longitude":"2d9e02c0","hex_latitude":"055cb0e8","is_valid_coordinates":true} 
[2026-08-21 02:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538706944001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387853160489680896,"note":"Value kept but may cause issues"} 
[2026-08-21 02:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7059322024126730240,"note":"Value kept but may cause issues"} 
[2026-08-21 02:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260583000,"timestamp_ms":1787260583000,"timestamp_seconds":1787260583,"priority":1,"record_length":96,"hex_timestamp":"000001a021083c58"} 
[2026-08-21 02:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538706944001,"66":27397,"249":206,"84":7168,"24":41,"16":387853160489680896,"45":-7059322024126730240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-21 02:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538706944001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:48:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-21 02:48:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387853160489680896,"km_value":387853160489680.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7059322024126730240,"description":"Unknown IO ID 45"} 
[2026-08-21 02:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538706944001,"power":27397,"unknown_249":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-7059322024126730240}} 
[2026-08-21 02:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":161274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:48:33] local.INFO: GPS data processed {"connection_id":161274,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:48:33] local.INFO: Acknowledgment sent {"connection_id":161274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:49:04] local.INFO: TCP Data received {"connection_id":161274,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02109ab88012d9e2cc0055b9838000a00a82e..."} 
[2026-08-21 02:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02109ab88012d9e2cc0055b9838000a00a82e..."} 
[2026-08-21 02:49:04] local.INFO: Processing buffer {"connection_id":161274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02109ab88012d9e2cc0055b9838000a00a82e..."} 
[2026-08-21 02:49:04] local.INFO: Packet analysis {"connection_id":161274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02109"} 
[2026-08-21 02:49:04] local.INFO: Extracted packet for processing {"connection_id":161274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02109"} 
[2026-08-21 02:49:04] local.INFO: GPS Element Parsed {"raw_longitude":765340864,"raw_latitude":89888824,"longitude_deg":76.5340864,"latitude_deg":8.9888824,"altitude":10,"angle":168,"satellites":46,"speed":36,"hex_longitude":"2d9e2cc0","hex_latitude":"055b9838","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538730496001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387856716722601984,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051511093541457920,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787260677000,"timestamp_ms":1787260677000,"timestamp_seconds":1787260677,"priority":1,"record_length":96,"hex_timestamp":"000001a02109ab88"} 
[2026-08-21 02:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 02:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538730496001,"66":27300,"248":206,"84":7168,"24":36,"16":387856716722601984,"45":-7051511093541457920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 02:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538730496001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:49:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387856716722601984,"km_value":387856716722602.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051511093541457920,"description":"Unknown IO ID 45"} 
[2026-08-21 02:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538730496001,"power":27300,"tamper_alert":206,"unknown_84":7168,"ignition":36,"odometer":null,"unknown_45":-7051511093541457920}} 
[2026-08-21 02:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":161274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:49:04] local.INFO: GPS data processed {"connection_id":161274,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:49:04] local.INFO: Acknowledgment sent {"connection_id":161274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:49:27] local.INFO: TCP Data received {"connection_id":158754,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:27] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:27] local.INFO: IMEI packet received {"connection_id":158754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":158754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:49:30] local.INFO: TCP Data received {"connection_id":158754,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:30] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:30] local.INFO: IMEI packet received {"connection_id":158754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":158754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:49:32] local.INFO: TCP Data received {"connection_id":158754,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:32] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:49:32] local.INFO: IMEI packet received {"connection_id":158754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":158754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:49:32] local.INFO: TCP Data received {"connection_id":158754,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02109d298012d9e3440055b73d0000900a82e..."} 
[2026-08-21 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02109d298012d9e3440055b73d0000900a82e..."} 
[2026-08-21 02:49:32] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02109d298012d9e3440055b73d0000900a82e..."} 
[2026-08-21 02:49:32] local.INFO: Packet analysis {"connection_id":158754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02109"} 
[2026-08-21 02:49:32] local.INFO: Extracted packet for processing {"connection_id":158754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02109"} 
[2026-08-21 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":765342784,"raw_latitude":89879504,"longitude_deg":76.5342784,"latitude_deg":8.9879504,"altitude":9,"angle":168,"satellites":46,"speed":37,"hex_longitude":"2d9e3440","hex_latitude":"055b73d0","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538733312001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387857176284102656,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049048187497596928,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787260687000,"timestamp_ms":1787260687000,"timestamp_seconds":1787260687,"priority":1,"record_length":96,"hex_timestamp":"000001a02109d298"} 
[2026-08-21 02:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:49: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-08-21 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538733312001,"66":27267,"248":206,"84":7168,"24":37,"16":387857176284102656,"45":-7049048187497596928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 02:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538733312001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:49:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387857176284102656,"km_value":387857176284102.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049048187497596928,"description":"Unknown IO ID 45"} 
[2026-08-21 02:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538733312001,"power":27267,"tamper_alert":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-7049048187497596928}} 
[2026-08-21 02:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":158754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:49:32] local.INFO: GPS data processed {"connection_id":158754,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:49:32] local.INFO: Acknowledgment sent {"connection_id":158754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:49:34] local.INFO: TCP Data received {"connection_id":158754,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02109f9a8012d9e3c00055b4f70000900a730..."} 
[2026-08-21 02:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02109f9a8012d9e3c00055b4f70000900a730..."} 
[2026-08-21 02:49:34] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02109f9a8012d9e3c00055b4f70000900a730..."} 
[2026-08-21 02:49:34] local.INFO: Packet analysis {"connection_id":158754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02109"} 
[2026-08-21 02:49:34] local.INFO: Extracted packet for processing {"connection_id":158754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02109"} 
[2026-08-21 02:49:34] local.INFO: GPS Element Parsed {"raw_longitude":765344768,"raw_latitude":89870192,"longitude_deg":76.5344768,"latitude_deg":8.9870192,"altitude":9,"angle":167,"satellites":48,"speed":38,"hex_longitude":"2d9e3c00","hex_latitude":"055b4f70","is_valid_coordinates":true} 
[2026-08-21 02:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538735872001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387857640140570624,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7046937125174652928,"note":"Value kept but may cause issues"} 
[2026-08-21 02:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787260697000,"timestamp_ms":1787260697000,"timestamp_seconds":1787260697,"priority":1,"record_length":96,"hex_timestamp":"000001a02109f9a8"} 
[2026-08-21 02:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538735872001,"66":27300,"248":206,"84":7168,"24":38,"16":387857640140570624,"45":-7046937125174652928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 02:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538735872001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:49:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387857640140570624,"km_value":387857640140570.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7046937125174652928,"description":"Unknown IO ID 45"} 
[2026-08-21 02:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538735872001,"power":27300,"tamper_alert":206,"unknown_84":7168,"ignition":38,"odometer":null,"unknown_45":-7046937125174652928}} 
[2026-08-21 02:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":158754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:49:34] local.INFO: GPS data processed {"connection_id":158754,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:49:34] local.INFO: Acknowledgment sent {"connection_id":158754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:50:05] local.INFO: TCP Data received {"connection_id":158754,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210a1cd0012d9e4240055b2ce0000900ac2f..."} 
[2026-08-21 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210a1cd0012d9e4240055b2ce0000900ac2f..."} 
[2026-08-21 02:50:05] local.INFO: Processing buffer {"connection_id":158754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210a1cd0012d9e4240055b2ce0000900ac2f..."} 
[2026-08-21 02:50:05] local.INFO: Packet analysis {"connection_id":158754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210a"} 
[2026-08-21 02:50:05] local.INFO: Extracted packet for processing {"connection_id":158754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210a"} 
[2026-08-21 02:50:05] local.INFO: GPS Element Parsed {"raw_longitude":765346368,"raw_latitude":89861344,"longitude_deg":76.5346368,"latitude_deg":8.9861344,"altitude":9,"angle":172,"satellites":47,"speed":40,"hex_longitude":"2d9e4240","hex_latitude":"055b2ce0","is_valid_coordinates":true} 
[2026-08-21 02:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538738432001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387858073932267520,"note":"Value kept but may cause issues"} 
[2026-08-21 02:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7044755694107529216,"note":"Value kept but may cause issues"} 
[2026-08-21 02:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787260706000,"timestamp_ms":1787260706000,"timestamp_seconds":1787260706,"priority":1,"record_length":96,"hex_timestamp":"000001a0210a1cd0"} 
[2026-08-21 02:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:50: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-08-21 02: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 02:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:50: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-08-21 02:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538738432001,"66":27267,"117":206,"84":7168,"24":40,"16":387858073932267520,"45":-7044755694107529216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 02:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538738432001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:50:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 02:50:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387858073932267520,"km_value":387858073932267.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7044755694107529216,"description":"Unknown IO ID 45"} 
[2026-08-21 02:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538738432001,"power":27267,"unknown_117":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7044755694107529216}} 
[2026-08-21 02:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":158754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:50:05] local.INFO: GPS data processed {"connection_id":158754,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:50:05] local.INFO: Acknowledgment sent {"connection_id":158754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:50:27] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:27] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:27] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:50:29] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:29] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:29] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:50:32] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:32] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:50:32] local.INFO: IMEI packet received {"connection_id":159899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":159899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:50:33] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210a3ff8012d9e44c0055b07b0000800b231..."} 
[2026-08-21 02:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210a3ff8012d9e44c0055b07b0000800b231..."} 
[2026-08-21 02:50:33] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210a3ff8012d9e44c0055b07b0000800b231..."} 
[2026-08-21 02:50:33] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210a"} 
[2026-08-21 02:50:33] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210a"} 
[2026-08-21 02:50:33] local.INFO: GPS Element Parsed {"raw_longitude":765347008,"raw_latitude":89851824,"longitude_deg":76.5347008,"latitude_deg":8.9851824,"altitude":8,"angle":178,"satellites":49,"speed":44,"hex_longitude":"2d9e44c0","hex_latitude":"055b07b0","is_valid_coordinates":true} 
[2026-08-21 02:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538740736001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387858537788735488,"note":"Value kept but may cause issues"} 
[2026-08-21 02:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475505352704,"note":"Value kept but may cause issues"} 
[2026-08-21 02:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260715000,"timestamp_ms":1787260715000,"timestamp_seconds":1787260715,"priority":1,"record_length":96,"hex_timestamp":"000001a0210a3ff8"} 
[2026-08-21 02:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538740736001,"66":27463,"117":206,"84":7168,"24":44,"16":387858537788735488,"45":-7042996475505352704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 02:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538740736001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:50:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 02:50:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387858537788735488,"km_value":387858537788735.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475505352704,"description":"Unknown IO ID 45"} 
[2026-08-21 02:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538740736001,"power":27463,"unknown_117":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7042996475505352704}} 
[2026-08-21 02:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:50:33] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:50:33] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:51:03] local.INFO: TCP Data received {"connection_id":159899,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210a5f38012d9e4500055ae470000700b430..."} 
[2026-08-21 02:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210a5f38012d9e4500055ae470000700b430..."} 
[2026-08-21 02:51:03] local.INFO: Processing buffer {"connection_id":159899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210a5f38012d9e4500055ae470000700b430..."} 
[2026-08-21 02:51:03] local.INFO: Packet analysis {"connection_id":159899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210a"} 
[2026-08-21 02:51:03] local.INFO: Extracted packet for processing {"connection_id":159899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210a"} 
[2026-08-21 02:51:03] local.INFO: GPS Element Parsed {"raw_longitude":765347072,"raw_latitude":89842800,"longitude_deg":76.5347072,"latitude_deg":8.98428,"altitude":7,"angle":180,"satellites":48,"speed":45,"hex_longitude":"2d9e4500","hex_latitude":"055ae470","is_valid_coordinates":true} 
[2026-08-21 02:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538743040001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387858975875399680,"note":"Value kept but may cause issues"} 
[2026-08-21 02:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042292788066013184,"note":"Value kept but may cause issues"} 
[2026-08-21 02:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787260723000,"timestamp_ms":1787260723000,"timestamp_seconds":1787260723,"priority":1,"record_length":96,"hex_timestamp":"000001a0210a5f38"} 
[2026-08-21 02:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 02:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538743040001,"66":27213,"117":206,"84":7168,"24":45,"16":387858975875399680,"45":-7042292788066013184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 02:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538743040001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:51:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 02:51:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387858975875399680,"km_value":387858975875399.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042292788066013184,"description":"Unknown IO ID 45"} 
[2026-08-21 02:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538743040001,"power":27213,"unknown_117":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-7042292788066013184}} 
[2026-08-21 02:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":159899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:51:03] local.INFO: GPS data processed {"connection_id":159899,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:51:03] local.INFO: Acknowledgment sent {"connection_id":159899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:51:27] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:27] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:27] local.INFO: IMEI packet received {"connection_id":159031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":159031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:51:27] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:27] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:27] local.INFO: IMEI packet received {"connection_id":159031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":159031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:51:32] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:32] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:51:32] local.INFO: IMEI packet received {"connection_id":159031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":159031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:51:33] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210be9c0012d9e4e000559faa8000700ad2f..."} 
[2026-08-21 02:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210be9c0012d9e4e000559faa8000700ad2f..."} 
[2026-08-21 02:51:33] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210be9c0012d9e4e000559faa8000700ad2f..."} 
[2026-08-21 02:51:33] local.INFO: Packet analysis {"connection_id":159031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210b"} 
[2026-08-21 02:51:33] local.INFO: Extracted packet for processing {"connection_id":159031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210b"} 
[2026-08-21 02:51:33] local.INFO: GPS Element Parsed {"raw_longitude":765349376,"raw_latitude":89782952,"longitude_deg":76.5349376,"latitude_deg":8.9782952,"altitude":7,"angle":173,"satellites":47,"speed":25,"hex_longitude":"2d9e4e00","hex_latitude":"0559faa8","is_valid_coordinates":true} 
[2026-08-21 02:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538767360001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387861913633030144,"note":"Value kept but may cause issues"} 
[2026-08-21 02:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040463200732637184,"note":"Value kept but may cause issues"} 
[2026-08-21 02:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260824000,"timestamp_ms":1787260824000,"timestamp_seconds":1787260824,"priority":1,"record_length":96,"hex_timestamp":"000001a0210be9c0"} 
[2026-08-21 02:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538767360001,"66":27213,"118":206,"84":7168,"24":25,"16":387861913633030144,"45":-7040463200732637184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-21 02:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538767360001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:51:33] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-21 02:51:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387861913633030144,"km_value":387861913633030.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040463200732637184,"description":"Unknown IO ID 45"} 
[2026-08-21 02:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538767360001,"power":27213,"unknown_118":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-7040463200732637184}} 
[2026-08-21 02:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":159031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:51:33] local.INFO: GPS data processed {"connection_id":159031,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:51:33] local.INFO: Acknowledgment sent {"connection_id":159031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:52:04] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210c1c88012d9e51800559d5d8000700ae31..."} 
[2026-08-21 02:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210c1c88012d9e51800559d5d8000700ae31..."} 
[2026-08-21 02:52:04] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210c1c88012d9e51800559d5d8000700ae31..."} 
[2026-08-21 02:52:04] local.INFO: Packet analysis {"connection_id":159031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:52:04] local.INFO: Extracted packet for processing {"connection_id":159031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:52:04] local.INFO: GPS Element Parsed {"raw_longitude":765350272,"raw_latitude":89773528,"longitude_deg":76.5350272,"latitude_deg":8.9773528,"altitude":7,"angle":174,"satellites":49,"speed":29,"hex_longitude":"2d9e5180","hex_latitude":"0559d5d8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 02:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538770944001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387862373194530816,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039689144549070848,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787260837000,"timestamp_ms":1787260837000,"timestamp_seconds":1787260837,"priority":1,"record_length":96,"hex_timestamp":"000001a0210c1c88"} 
[2026-08-21 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-08-21 02:52: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-08-21 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 02:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 02:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538770944001,"66":27343,"118":206,"84":7168,"24":29,"16":387862373194530816,"45":-7039689144549070848},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-21 02:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538770944001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:52:04] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-21 02:52:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387862373194530816,"km_value":387862373194530.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039689144549070848,"description":"Unknown IO ID 45"} 
[2026-08-21 02:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538770944001,"power":27343,"unknown_118":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-7039689144549070848}} 
[2026-08-21 02:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":159031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:52:04] local.INFO: GPS data processed {"connection_id":159031,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:52:04] local.INFO: Acknowledgment sent {"connection_id":159031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:52:32] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:52:32] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:52:32] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:52:37] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:52:37] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:52:37] local.INFO: IMEI packet received {"connection_id":159900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":159900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:52:38] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210c4b68012d9e55000559b270000700ae30..."} 
[2026-08-21 02:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210c4b68012d9e55000559b270000700ae30..."} 
[2026-08-21 02:52:38] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210c4b68012d9e55000559b270000700ae30..."} 
[2026-08-21 02:52:38] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:52:38] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:52:38] local.INFO: GPS Element Parsed {"raw_longitude":765351168,"raw_latitude":89764464,"longitude_deg":76.5351168,"latitude_deg":8.9764464,"altitude":7,"angle":174,"satellites":48,"speed":32,"hex_longitude":"2d9e5500","hex_latitude":"0559b270","is_valid_coordinates":true} 
[2026-08-21 02:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538774272001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387862815576162304,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7038703982132996096,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787260849000,"timestamp_ms":1787260849000,"timestamp_seconds":1787260849,"priority":1,"record_length":96,"hex_timestamp":"000001a0210c4b68"} 
[2026-08-21 02:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538774272001,"66":27343,"161":206,"84":7168,"24":32,"16":387862815576162304,"45":-7038703982132996096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-08-21 02:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538774272001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:52:38] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 02:52:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387862815576162304,"km_value":387862815576162.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7038703982132996096,"description":"Unknown IO ID 45"} 
[2026-08-21 02:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538774272001,"power":27343,"unknown_161":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-7038703982132996096}} 
[2026-08-21 02:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:52:38] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:52:38] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:52:40] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210c9d70012d9e580005599500000800ad2f..."} 
[2026-08-21 02:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210c9d70012d9e580005599500000800ad2f..."} 
[2026-08-21 02:52:41] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210c9d70012d9e580005599500000800ad2f..."} 
[2026-08-21 02:52:41] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:52:41] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:52:41] local.INFO: GPS Element Parsed {"raw_longitude":765351936,"raw_latitude":89756928,"longitude_deg":76.5351936,"latitude_deg":8.9756928,"altitude":8,"angle":173,"satellites":47,"speed":7,"hex_longitude":"2d9e5800","hex_latitude":"05599500","is_valid_coordinates":true} 
[2026-08-21 02:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538777344001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387863184943349760,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037718819716829184,"note":"Value kept but may cause issues"} 
[2026-08-21 02:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787260870000,"timestamp_ms":1787260870000,"timestamp_seconds":1787260870,"priority":1,"record_length":96,"hex_timestamp":"000001a0210c9d70"} 
[2026-08-21 02:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:52:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538777344001,"66":27245,"161":206,"84":7168,"24":7,"16":387863184943349760,"45":-7037718819716829184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-08-21 02:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538777344001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:52:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 02:52:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387863184943349760,"km_value":387863184943349.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037718819716829184,"description":"Unknown IO ID 45"} 
[2026-08-21 02:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538777344001,"power":27245,"unknown_161":206,"unknown_84":7168,"ignition":7,"odometer":null,"unknown_45":-7037718819716829184}} 
[2026-08-21 02:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:52:41] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:52:41] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:53:12] local.INFO: TCP Data received {"connection_id":159900,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210cc098012d9e584005598a78000800ba2f..."} 
[2026-08-21 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210cc098012d9e584005598a78000800ba2f..."} 
[2026-08-21 02:53:12] local.INFO: Processing buffer {"connection_id":159900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210cc098012d9e584005598a78000800ba2f..."} 
[2026-08-21 02:53:12] local.INFO: Packet analysis {"connection_id":159900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:53:12] local.INFO: Extracted packet for processing {"connection_id":159900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":765352000,"raw_latitude":89754232,"longitude_deg":76.5352,"latitude_deg":8.9754232,"altitude":8,"angle":186,"satellites":47,"speed":15,"hex_longitude":"2d9e5840","hex_latitude":"05598a78","is_valid_coordinates":true} 
[2026-08-21 02:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538782720001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387863318087335936,"note":"Value kept but may cause issues"} 
[2026-08-21 02:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036874394788626432,"note":"Value kept but may cause issues"} 
[2026-08-21 02:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787260879000,"timestamp_ms":1787260879000,"timestamp_seconds":1787260879,"priority":1,"record_length":96,"hex_timestamp":"000001a0210cc098"} 
[2026-08-21 02:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 02:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538782720001,"66":27332,"161":206,"84":7168,"24":15,"16":387863318087335936,"45":-7036874394788626432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-08-21 02:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538782720001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:53:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 02:53:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387863318087335936,"km_value":387863318087335.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036874394788626432,"description":"Unknown IO ID 45"} 
[2026-08-21 02:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538782720001,"power":27332,"unknown_161":206,"unknown_84":7168,"ignition":15,"odometer":null,"unknown_45":-7036874394788626432}} 
[2026-08-21 02:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":159900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:53:12] local.INFO: GPS data processed {"connection_id":159900,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:53:12] local.INFO: Acknowledgment sent {"connection_id":159900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:53:27] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:53:27] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:53:27] local.INFO: IMEI packet received {"connection_id":159032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":159032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:53:32] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:53:32] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:53:32] local.INFO: IMEI packet received {"connection_id":159032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":159032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:53:33] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210ccc50012d9e574005598578000800c92e..."} 
[2026-08-21 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210ccc50012d9e574005598578000800c92e..."} 
[2026-08-21 02:53:33] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210ccc50012d9e574005598578000800c92e..."} 
[2026-08-21 02:53:33] local.INFO: Packet analysis {"connection_id":159032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:53:33] local.INFO: Extracted packet for processing {"connection_id":159032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210c"} 
[2026-08-21 02:53:33] local.INFO: GPS Element Parsed {"raw_longitude":765351744,"raw_latitude":89752952,"longitude_deg":76.5351744,"latitude_deg":8.9752952,"altitude":8,"angle":201,"satellites":46,"speed":18,"hex_longitude":"2d9e5740","hex_latitude":"05598578","is_valid_coordinates":true} 
[2026-08-21 02:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538785024001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387863378216878080,"note":"Value kept but may cause issues"} 
[2026-08-21 02:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7036804026045138944,"note":"Value kept but may cause issues"} 
[2026-08-21 02:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260882000,"timestamp_ms":1787260882000,"timestamp_seconds":1787260882,"priority":1,"record_length":96,"hex_timestamp":"000001a0210ccc50"} 
[2026-08-21 02:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538785024001,"66":27223,"161":206,"84":7168,"24":18,"16":387863378216878080,"45":-7036804026045138944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,84,24,16,45]} 
[2026-08-21 02:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538785024001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:53:33] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 02:53:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387863378216878080,"km_value":387863378216878.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7036804026045138944,"description":"Unknown IO ID 45"} 
[2026-08-21 02:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538785024001,"power":27223,"unknown_161":206,"unknown_84":7168,"ignition":18,"odometer":null,"unknown_45":-7036804026045138944}} 
[2026-08-21 02:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":159032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:53:33] local.INFO: GPS data processed {"connection_id":159032,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:53:33] local.INFO: Acknowledgment sent {"connection_id":159032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:54:04] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210e56d8012d9df8c00558a740000600bc32..."} 
[2026-08-21 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210e56d8012d9df8c00558a740000600bc32..."} 
[2026-08-21 02:54:04] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210e56d8012d9df8c00558a740000600bc32..."} 
[2026-08-21 02:54:04] local.INFO: Packet analysis {"connection_id":159032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:54:04] local.INFO: Extracted packet for processing {"connection_id":159032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:54:04] local.INFO: GPS Element Parsed {"raw_longitude":765327552,"raw_latitude":89696064,"longitude_deg":76.5327552,"latitude_deg":8.9696064,"altitude":6,"angle":188,"satellites":50,"speed":21,"hex_longitude":"2d9df8c0","hex_latitude":"0558a740","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538810880001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387866410463789056,"note":"Value kept but may cause issues"} 
[2026-08-21 02:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7063684886335516672,"note":"Value kept but may cause issues"} 
[2026-08-21 02:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787260983000,"timestamp_ms":1787260983000,"timestamp_seconds":1787260983,"priority":1,"record_length":96,"hex_timestamp":"000001a0210e56d8"} 
[2026-08-21 02:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-21 02:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538810880001,"66":27321,"162":206,"84":7168,"24":21,"16":387866410463789056,"45":-7063684886335516672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 02:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538810880001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:54:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:54:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387866410463789056,"km_value":387866410463789.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7063684886335516672,"description":"Unknown IO ID 45"} 
[2026-08-21 02:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538810880001,"power":27321,"unknown_162":206,"unknown_84":7168,"ignition":21,"odometer":null,"unknown_45":-7063684886335516672}} 
[2026-08-21 02:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":159032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:54:04] local.INFO: GPS data processed {"connection_id":159032,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:54:04] local.INFO: Acknowledgment sent {"connection_id":159032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:54:27] local.INFO: TCP Data received {"connection_id":161275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:54:27] local.INFO: Processing buffer {"connection_id":161275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:54:27] local.INFO: IMEI packet received {"connection_id":161275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":161275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:54:32] local.INFO: TCP Data received {"connection_id":161275,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:54:32] local.INFO: Processing buffer {"connection_id":161275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:54:32] local.INFO: IMEI packet received {"connection_id":161275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":161275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:54:33] local.INFO: TCP Data received {"connection_id":161275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210e5ea8012d9df7800558a310000600ca2f..."} 
[2026-08-21 02:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210e5ea8012d9df7800558a310000600ca2f..."} 
[2026-08-21 02:54:33] local.INFO: Processing buffer {"connection_id":161275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210e5ea8012d9df7800558a310000600ca2f..."} 
[2026-08-21 02:54:33] local.INFO: Packet analysis {"connection_id":161275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:54:33] local.INFO: Extracted packet for processing {"connection_id":161275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:54:33] local.INFO: GPS Element Parsed {"raw_longitude":765327232,"raw_latitude":89694992,"longitude_deg":76.5327232,"latitude_deg":8.9694992,"altitude":6,"angle":202,"satellites":47,"speed":22,"hex_longitude":"2d9df780","hex_latitude":"0558a310","is_valid_coordinates":true} 
[2026-08-21 02:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538811648001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387866462003396608,"note":"Value kept but may cause issues"} 
[2026-08-21 02:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7063684886335897600,"note":"Value kept but may cause issues"} 
[2026-08-21 02:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787260985000,"timestamp_ms":1787260985000,"timestamp_seconds":1787260985,"priority":1,"record_length":96,"hex_timestamp":"000001a0210e5ea8"} 
[2026-08-21 02:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 02:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538811648001,"66":27332,"162":206,"84":7168,"24":22,"16":387866462003396608,"45":-7063684886335897600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 02:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538811648001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:54:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:54:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387866462003396608,"km_value":387866462003396.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7063684886335897600,"description":"Unknown IO ID 45"} 
[2026-08-21 02:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538811648001,"power":27332,"unknown_162":206,"unknown_84":7168,"ignition":22,"odometer":null,"unknown_45":-7063684886335897600}} 
[2026-08-21 02:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":161275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:54:33] local.INFO: GPS data processed {"connection_id":161275,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:54:33] local.INFO: Acknowledgment sent {"connection_id":161275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:55:04] local.INFO: TCP Data received {"connection_id":161275,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210e9558012d9de78005588438000500cf30..."} 
[2026-08-21 02:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210e9558012d9de78005588438000500cf30..."} 
[2026-08-21 02:55:04] local.INFO: Processing buffer {"connection_id":161275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210e9558012d9de78005588438000500cf30..."} 
[2026-08-21 02:55:04] local.INFO: Packet analysis {"connection_id":161275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:55:04] local.INFO: Extracted packet for processing {"connection_id":161275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:55:04] local.INFO: GPS Element Parsed {"raw_longitude":765323136,"raw_latitude":89687096,"longitude_deg":76.5323136,"latitude_deg":8.9687096,"altitude":5,"angle":207,"satellites":48,"speed":24,"hex_longitude":"2d9de780","hex_latitude":"05588438","is_valid_coordinates":true} 
[2026-08-21 02: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-08-21 02:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538812160001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387866895795093504,"note":"Value kept but may cause issues"} 
[2026-08-21 02:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7064036730057060352,"note":"Value kept but may cause issues"} 
[2026-08-21 02:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787260999000,"timestamp_ms":1787260999000,"timestamp_seconds":1787260999,"priority":1,"record_length":96,"hex_timestamp":"000001a0210e9558"} 
[2026-08-21 02:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 02:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538812160001,"66":27397,"162":206,"84":7168,"24":24,"16":387866895795093504,"45":-7064036730057060352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 02:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538812160001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:55:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:55:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387866895795093504,"km_value":387866895795093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7064036730057060352,"description":"Unknown IO ID 45"} 
[2026-08-21 02:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538812160001,"power":27397,"unknown_162":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7064036730057060352}} 
[2026-08-21 02:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":161275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:55:04] local.INFO: GPS data processed {"connection_id":161275,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:55:04] local.INFO: Acknowledgment sent {"connection_id":161275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:55:27] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:55:27] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:55:27] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:55:32] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:55:32] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:55:32] local.INFO: IMEI packet received {"connection_id":159901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":159901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:55:33] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210ecff0012d9dd540055865e8000600d32e..."} 
[2026-08-21 02:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210ecff0012d9dd540055865e8000600d32e..."} 
[2026-08-21 02:55:33] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210ecff0012d9dd540055865e8000600d32e..."} 
[2026-08-21 02:55:33] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:55:33] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:55:33] local.INFO: GPS Element Parsed {"raw_longitude":765318464,"raw_latitude":89679336,"longitude_deg":76.5318464,"latitude_deg":8.9679336,"altitude":6,"angle":211,"satellites":46,"speed":27,"hex_longitude":"2d9dd540","hex_latitude":"055865e8","is_valid_coordinates":true} 
[2026-08-21 02:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538815744001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387867333881757696,"note":"Value kept but may cause issues"} 
[2026-08-21 02:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7068540329686452224,"note":"Value kept but may cause issues"} 
[2026-08-21 02:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261014000,"timestamp_ms":1787261014000,"timestamp_seconds":1787261014,"priority":1,"record_length":96,"hex_timestamp":"000001a0210ecff0"} 
[2026-08-21 02:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 02:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02: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-08-21 02:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538815744001,"66":27343,"162":206,"84":7168,"24":27,"16":387867333881757696,"45":-7068540329686452224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 02:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538815744001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:55:33] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 02:55:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387867333881757696,"km_value":387867333881757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7068540329686452224,"description":"Unknown IO ID 45"} 
[2026-08-21 02:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538815744001,"power":27343,"unknown_162":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-7068540329686452224}} 
[2026-08-21 02:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:55:33] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:55:33] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:56:04] local.INFO: TCP Data received {"connection_id":159901,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210efed0012d9dc140055846e0000500d32f..."} 
[2026-08-21 02:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210efed0012d9dc140055846e0000500d32f..."} 
[2026-08-21 02:56:04] local.INFO: Processing buffer {"connection_id":159901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210efed0012d9dc140055846e0000500d32f..."} 
[2026-08-21 02:56:04] local.INFO: Packet analysis {"connection_id":159901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:56:04] local.INFO: Extracted packet for processing {"connection_id":159901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210e"} 
[2026-08-21 02:56:04] local.INFO: GPS Element Parsed {"raw_longitude":765313344,"raw_latitude":89671392,"longitude_deg":76.5313344,"latitude_deg":8.9671392,"altitude":5,"angle":211,"satellites":47,"speed":32,"hex_longitude":"2d9dc140","hex_latitude":"055846e0","is_valid_coordinates":true} 
[2026-08-21 02:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538819584001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387867789148291072,"note":"Value kept but may cause issues"} 
[2026-08-21 02:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7073677248013408256,"note":"Value kept but may cause issues"} 
[2026-08-21 02:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261026000,"timestamp_ms":1787261026000,"timestamp_seconds":1787261026,"priority":1,"record_length":96,"hex_timestamp":"000001a0210efed0"} 
[2026-08-21 02:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 02:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538819584001,"66":27234,"179":206,"84":7168,"24":32,"16":387867789148291072,"45":-7073677248013408256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 02:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538819584001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:56:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 02:56:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387867789148291072,"km_value":387867789148291.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7073677248013408256,"description":"Unknown IO ID 45"} 
[2026-08-21 02:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538819584001,"power":27234,"unknown_179":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-7073677248013408256}} 
[2026-08-21 02:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":159901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:56:04] local.INFO: GPS data processed {"connection_id":159901,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:56:04] local.INFO: Acknowledgment sent {"connection_id":159901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:56:27] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:56:27] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:56:27] local.INFO: IMEI packet received {"connection_id":161276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":161276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:56:32] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:56:32] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:56:32] local.INFO: IMEI packet received {"connection_id":161276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":161276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:56:33] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210f21f8012d9db680055830e0000400c72e..."} 
[2026-08-21 02:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210f21f8012d9db680055830e0000400c72e..."} 
[2026-08-21 02:56:33] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210f21f8012d9db680055830e0000400c72e..."} 
[2026-08-21 02:56:33] local.INFO: Packet analysis {"connection_id":161276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210f"} 
[2026-08-21 02:56:33] local.INFO: Extracted packet for processing {"connection_id":161276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210f"} 
[2026-08-21 02:56:33] local.INFO: GPS Element Parsed {"raw_longitude":765310592,"raw_latitude":89665760,"longitude_deg":76.5310592,"latitude_deg":8.966576,"altitude":4,"angle":199,"satellites":46,"speed":25,"hex_longitude":"2d9db680","hex_latitude":"055830e0","is_valid_coordinates":true} 
[2026-08-21 02:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538822656001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387868094090969088,"note":"Value kept but may cause issues"} 
[2026-08-21 02:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079306747549655040,"note":"Value kept but may cause issues"} 
[2026-08-21 02:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261035000,"timestamp_ms":1787261035000,"timestamp_seconds":1787261035,"priority":1,"record_length":96,"hex_timestamp":"000001a0210f21f8"} 
[2026-08-21 02:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 02:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538822656001,"66":27267,"179":206,"84":7168,"24":25,"16":387868094090969088,"45":-7079306747549655040},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 02:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538822656001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:56:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 02:56:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387868094090969088,"km_value":387868094090969.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079306747549655040,"description":"Unknown IO ID 45"} 
[2026-08-21 02:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538822656001,"power":27267,"unknown_179":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-7079306747549655040}} 
[2026-08-21 02:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":161276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:56:33] local.INFO: GPS data processed {"connection_id":161276,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:56:33] local.INFO: Acknowledgment sent {"connection_id":161276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:57:04] local.INFO: TCP Data received {"connection_id":161276,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0210f4cf0012d9dae8005581188000600bc2f..."} 
[2026-08-21 02:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0210f4cf0012d9dae8005581188000600bc2f..."} 
[2026-08-21 02:57:04] local.INFO: Processing buffer {"connection_id":161276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0210f4cf0012d9dae8005581188000600bc2f..."} 
[2026-08-21 02:57:04] local.INFO: Packet analysis {"connection_id":161276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0210f"} 
[2026-08-21 02:57:04] local.INFO: Extracted packet for processing {"connection_id":161276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0210f"} 
[2026-08-21 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":765308544,"raw_latitude":89657736,"longitude_deg":76.5308544,"latitude_deg":8.9657736,"altitude":6,"angle":188,"satellites":47,"speed":33,"hex_longitude":"2d9dae80","hex_latitude":"05581188","is_valid_coordinates":true} 
[2026-08-21 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-08-21 02:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538824960001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387868493522927616,"note":"Value kept but may cause issues"} 
[2026-08-21 02:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7082332603550736384,"note":"Value kept but may cause issues"} 
[2026-08-21 02:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261046000,"timestamp_ms":1787261046000,"timestamp_seconds":1787261046,"priority":1,"record_length":96,"hex_timestamp":"000001a0210f4cf0"} 
[2026-08-21 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-08-21 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 02:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538824960001,"66":27463,"179":206,"84":7168,"24":33,"16":387868493522927616,"45":-7082332603550736384},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 02:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538824960001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387868493522927616,"km_value":387868493522927.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7082332603550736384,"description":"Unknown IO ID 45"} 
[2026-08-21 02:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538824960001,"power":27463,"unknown_179":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7082332603550736384}} 
[2026-08-21 02:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":161276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:57:04] local.INFO: GPS data processed {"connection_id":161276,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:57:04] local.INFO: Acknowledgment sent {"connection_id":161276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:57:32] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:57:32] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:57:32] local.INFO: IMEI packet received {"connection_id":159033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":159033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:57:34] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:57:34] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:57:34] local.INFO: IMEI packet received {"connection_id":159033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":159033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:57:35] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021116418012d9e03c00556f4000006009f2e..."} 
[2026-08-21 02:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021116418012d9e03c00556f4000006009f2e..."} 
[2026-08-21 02:57:35] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021116418012d9e03c00556f4000006009f2e..."} 
[2026-08-21 02:57:35] local.INFO: Packet analysis {"connection_id":159033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02111"} 
[2026-08-21 02:57:35] local.INFO: Extracted packet for processing {"connection_id":159033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02111"} 
[2026-08-21 02:57:35] local.INFO: GPS Element Parsed {"raw_longitude":765330368,"raw_latitude":89584640,"longitude_deg":76.5330368,"latitude_deg":8.958464,"altitude":6,"angle":159,"satellites":46,"speed":33,"hex_longitude":"2d9e03c0","hex_latitude":"0556f400","is_valid_coordinates":true} 
[2026-08-21 02:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538859520001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387872230144475136,"note":"Value kept but may cause issues"} 
[2026-08-21 02:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7064107098827352064,"note":"Value kept but may cause issues"} 
[2026-08-21 02:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787261183000,"timestamp_ms":1787261183000,"timestamp_seconds":1787261183,"priority":1,"record_length":96,"hex_timestamp":"000001a021116418"} 
[2026-08-21 02:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:57:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 02:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538859520001,"66":27376,"179":206,"84":7168,"24":33,"16":387872230144475136,"45":-7064107098827352064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 02:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538859520001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:57:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 02:57:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387872230144475136,"km_value":387872230144475.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7064107098827352064,"description":"Unknown IO ID 45"} 
[2026-08-21 02:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538859520001,"power":27376,"unknown_179":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7064107098827352064}} 
[2026-08-21 02:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":159033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:57:35] local.INFO: GPS data processed {"connection_id":159033,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:57:35] local.INFO: Acknowledgment sent {"connection_id":159033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:58:06] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02111b238012d9e0f400556d2b0000700a12e..."} 
[2026-08-21 02:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02111b238012d9e0f400556d2b0000700a12e..."} 
[2026-08-21 02:58:06] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02111b238012d9e0f400556d2b0000700a12e..."} 
[2026-08-21 02:58:06] local.INFO: Packet analysis {"connection_id":159033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02111"} 
[2026-08-21 02:58:06] local.INFO: Extracted packet for processing {"connection_id":159033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02111"} 
[2026-08-21 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":765333312,"raw_latitude":89576112,"longitude_deg":76.5333312,"latitude_deg":8.9576112,"altitude":7,"angle":161,"satellites":46,"speed":24,"hex_longitude":"2d9e0f40","hex_latitude":"0556d2b0","is_valid_coordinates":true} 
[2026-08-21 02:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538862848001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387872668231139328,"note":"Value kept but may cause issues"} 
[2026-08-21 02:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060588661620604928,"note":"Value kept but may cause issues"} 
[2026-08-21 02:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787261203000,"timestamp_ms":1787261203000,"timestamp_seconds":1787261203,"priority":1,"record_length":96,"hex_timestamp":"000001a02111b238"} 
[2026-08-21 02:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 02:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538862848001,"66":27365,"179":206,"84":7168,"24":24,"16":387872668231139328,"45":-7060588661620604928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 02:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538862848001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:58:06] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 02:58:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387872668231139328,"km_value":387872668231139.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060588661620604928,"description":"Unknown IO ID 45"} 
[2026-08-21 02:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538862848001,"power":27365,"unknown_179":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-7060588661620604928}} 
[2026-08-21 02:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":159033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:58:06] local.INFO: GPS data processed {"connection_id":159033,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:58:06] local.INFO: Acknowledgment sent {"connection_id":159033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:58:27] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:58:27] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:58:27] local.INFO: IMEI packet received {"connection_id":158755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":158755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:58:32] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:58:32] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:58:32] local.INFO: IMEI packet received {"connection_id":158755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":158755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:58:33] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02111e500012d9e1a400556b108000600a231..."} 
[2026-08-21 02:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02111e500012d9e1a400556b108000600a231..."} 
[2026-08-21 02:58:33] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02111e500012d9e1a400556b108000600a231..."} 
[2026-08-21 02:58:33] local.INFO: Packet analysis {"connection_id":158755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02111"} 
[2026-08-21 02:58:33] local.INFO: Extracted packet for processing {"connection_id":158755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02111"} 
[2026-08-21 02:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765336128,"raw_latitude":89567496,"longitude_deg":76.5336128,"latitude_deg":8.9567496,"altitude":6,"angle":162,"satellites":49,"speed":28,"hex_longitude":"2d9e1a40","hex_latitude":"0556b108","is_valid_coordinates":true} 
[2026-08-21 02:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538867968001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387873110612770816,"note":"Value kept but may cause issues"} 
[2026-08-21 02:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7057351699390615552,"note":"Value kept but may cause issues"} 
[2026-08-21 02:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261216000,"timestamp_ms":1787261216000,"timestamp_seconds":1787261216,"priority":1,"record_length":96,"hex_timestamp":"000001a02111e500"} 
[2026-08-21 02:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 02:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538867968001,"66":27245,"179":206,"84":7168,"24":28,"16":387873110612770816,"45":-7057351699390615552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 02:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538867968001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:58:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 02:58:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387873110612770816,"km_value":387873110612770.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7057351699390615552,"description":"Unknown IO ID 45"} 
[2026-08-21 02:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538867968001,"power":27245,"unknown_179":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7057351699390615552}} 
[2026-08-21 02:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":158755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:58:33] local.INFO: GPS data processed {"connection_id":158755,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:58:33] local.INFO: Acknowledgment sent {"connection_id":158755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:59:04] local.INFO: TCP Data received {"connection_id":158755,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211217c8012d9e264005568da80007009f30..."} 
[2026-08-21 02:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211217c8012d9e264005568da80007009f30..."} 
[2026-08-21 02:59:04] local.INFO: Processing buffer {"connection_id":158755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211217c8012d9e264005568da80007009f30..."} 
[2026-08-21 02:59:04] local.INFO: Packet analysis {"connection_id":158755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02112"} 
[2026-08-21 02:59:04] local.INFO: Extracted packet for processing {"connection_id":158755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02112"} 
[2026-08-21 02:59:04] local.INFO: GPS Element Parsed {"raw_longitude":765339200,"raw_latitude":89558440,"longitude_deg":76.53392,"latitude_deg":8.955844,"altitude":7,"angle":159,"satellites":48,"speed":32,"hex_longitude":"2d9e2640","hex_latitude":"05568da8","is_valid_coordinates":true} 
[2026-08-21 02:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538871296001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387873574469238784,"note":"Value kept but may cause issues"} 
[2026-08-21 02:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7054255474649004032,"note":"Value kept but may cause issues"} 
[2026-08-21 02:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261229000,"timestamp_ms":1787261229000,"timestamp_seconds":1787261229,"priority":1,"record_length":96,"hex_timestamp":"000001a0211217c8"} 
[2026-08-21 02:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 02:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538871296001,"66":27267,"197":206,"84":7168,"24":32,"16":387873574469238784,"45":-7054255474649004032},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-21 02:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538871296001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:59:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 02:59:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387873574469238784,"km_value":387873574469238.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7054255474649004032,"description":"Unknown IO ID 45"} 
[2026-08-21 02:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538871296001,"power":27267,"unknown_197":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-7054255474649004032}} 
[2026-08-21 02:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":158755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:59:04] local.INFO: GPS data processed {"connection_id":158755,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:59:04] local.INFO: Acknowledgment sent {"connection_id":158755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 02:59:26] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:26] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:26] local.INFO: IMEI packet received {"connection_id":159034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 02:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":159034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 02:59:27] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:27] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:27] local.INFO: IMEI packet received {"connection_id":159034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":159034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:59:32] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:32] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 02:59:32] local.INFO: IMEI packet received {"connection_id":159034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 02:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":159034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 02:59:33] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211246a8012d9e340005566bf80007009e31..."} 
[2026-08-21 02:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211246a8012d9e340005566bf80007009e31..."} 
[2026-08-21 02:59:33] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211246a8012d9e340005566bf80007009e31..."} 
[2026-08-21 02:59:33] local.INFO: Packet analysis {"connection_id":159034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02112"} 
[2026-08-21 02:59:33] local.INFO: Extracted packet for processing {"connection_id":159034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02112"} 
[2026-08-21 02:59:33] local.INFO: GPS Element Parsed {"raw_longitude":765342720,"raw_latitude":89549816,"longitude_deg":76.534272,"latitude_deg":8.9549816,"altitude":7,"angle":158,"satellites":49,"speed":31,"hex_longitude":"2d9e3400","hex_latitude":"05566bf8","is_valid_coordinates":true} 
[2026-08-21 02:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 02:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538874624001,"note":"Value kept but may cause issues"} 
[2026-08-21 02:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387874021145837568,"note":"Value kept but may cause issues"} 
[2026-08-21 02:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7050877774930794496,"note":"Value kept but may cause issues"} 
[2026-08-21 02:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 02:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261241000,"timestamp_ms":1787261241000,"timestamp_seconds":1787261241,"priority":1,"record_length":96,"hex_timestamp":"000001a0211246a8"} 
[2026-08-21 02:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 02:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 02:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 02:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 02:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 02:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 02:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 02:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 02:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 02:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 02:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 02:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 02:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538874624001,"66":27343,"197":206,"84":7168,"24":31,"16":387874021145837568,"45":-7050877774930794496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,84,24,16,45]} 
[2026-08-21 02:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 02:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 02:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538874624001,"description":"Unknown IO ID 0"} 
[2026-08-21 02:59:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 02:59:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 02:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387874021145837568,"km_value":387874021145837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 02:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7050877774930794496,"description":"Unknown IO ID 45"} 
[2026-08-21 02:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538874624001,"power":27343,"unknown_197":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-7050877774930794496}} 
[2026-08-21 02:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":159034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 02:59:33] local.INFO: GPS data processed {"connection_id":159034,"processed":1,"errors":0,"total":1} 
[2026-08-21 02:59:33] local.INFO: Acknowledgment sent {"connection_id":159034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:00:04] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02113dce8012d9e9640055513f8000700a131..."} 
[2026-08-21 03:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02113dce8012d9e9640055513f8000700a131..."} 
[2026-08-21 03:00:04] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02113dce8012d9e9640055513f8000700a131..."} 
[2026-08-21 03:00:04] local.INFO: Packet analysis {"connection_id":159034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02113"} 
[2026-08-21 03:00:04] local.INFO: Extracted packet for processing {"connection_id":159034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02113"} 
[2026-08-21 03:00:04] local.INFO: GPS Element Parsed {"raw_longitude":765367872,"raw_latitude":89461752,"longitude_deg":76.5367872,"latitude_deg":8.9461752,"altitude":7,"angle":161,"satellites":49,"speed":45,"hex_longitude":"2d9e9640","hex_latitude":"055513f8","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538902272001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387878470731956224,"note":"Value kept but may cause issues"} 
[2026-08-21 03:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7022519171049762816,"note":"Value kept but may cause issues"} 
[2026-08-21 03:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261345000,"timestamp_ms":1787261345000,"timestamp_seconds":1787261345,"priority":1,"record_length":96,"hex_timestamp":"000001a02113dce8"} 
[2026-08-21 03:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 03:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538902272001,"66":27071,"196":206,"84":7168,"24":45,"16":387878470731956224,"45":-7022519171049762816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 03:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538902272001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 03:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387878470731956224,"km_value":387878470731956.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7022519171049762816,"description":"Unknown IO ID 45"} 
[2026-08-21 03:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538902272001,"power":27071,"unknown_196":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-7022519171049762816}} 
[2026-08-21 03:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":159034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:00:04] local.INFO: GPS data processed {"connection_id":159034,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:00:04] local.INFO: Acknowledgment sent {"connection_id":159034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:00:27] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:00:27] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:00:27] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:00:32] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:00:32] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:00:32] local.INFO: IMEI packet received {"connection_id":159902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":159902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:00:33] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02113fc28012d9ea2800554f028000700a131..."} 
[2026-08-21 03:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02113fc28012d9ea2800554f028000700a131..."} 
[2026-08-21 03:00:33] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02113fc28012d9ea2800554f028000700a131..."} 
[2026-08-21 03:00:33] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02113"} 
[2026-08-21 03:00:33] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02113"} 
[2026-08-21 03:00:33] local.INFO: GPS Element Parsed {"raw_longitude":765371008,"raw_latitude":89452584,"longitude_deg":76.5371008,"latitude_deg":8.9452584,"altitude":7,"angle":161,"satellites":49,"speed":50,"hex_longitude":"2d9ea280","hex_latitude":"0554f028","is_valid_coordinates":true} 
[2026-08-21 03:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538904320001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387878938883391488,"note":"Value kept but may cause issues"} 
[2026-08-21 03:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7019352577563953152,"note":"Value kept but may cause issues"} 
[2026-08-21 03:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261353000,"timestamp_ms":1787261353000,"timestamp_seconds":1787261353,"priority":1,"record_length":96,"hex_timestamp":"000001a02113fc28"} 
[2026-08-21 03:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 03:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538904320001,"66":27234,"196":206,"84":7168,"24":50,"16":387878938883391488,"45":-7019352577563953152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 03:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538904320001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:00:33] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 03:00:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 03:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387878938883391488,"km_value":387878938883391.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7019352577563953152,"description":"Unknown IO ID 45"} 
[2026-08-21 03:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538904320001,"power":27234,"unknown_196":206,"unknown_84":7168,"ignition":50,"odometer":null,"unknown_45":-7019352577563953152}} 
[2026-08-21 03:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:00:33] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:00:33] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:01:04] local.INFO: TCP Data received {"connection_id":159902,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021141780012d9eae400554ce18000700a031..."} 
[2026-08-21 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021141780012d9eae400554ce18000700a031..."} 
[2026-08-21 03:01:04] local.INFO: Processing buffer {"connection_id":159902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021141780012d9eae400554ce18000700a031..."} 
[2026-08-21 03:01:04] local.INFO: Packet analysis {"connection_id":159902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02114"} 
[2026-08-21 03:01:04] local.INFO: Extracted packet for processing {"connection_id":159902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02114"} 
[2026-08-21 03:01:04] local.INFO: GPS Element Parsed {"raw_longitude":765374016,"raw_latitude":89443864,"longitude_deg":76.5374016,"latitude_deg":8.9443864,"altitude":7,"angle":160,"satellites":49,"speed":53,"hex_longitude":"2d9eae40","hex_latitude":"0554ce18","is_valid_coordinates":true} 
[2026-08-21 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-08-21 03:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538906368001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387879385559990272,"note":"Value kept but may cause issues"} 
[2026-08-21 03:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015904509101594624,"note":"Value kept but may cause issues"} 
[2026-08-21 03:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261360000,"timestamp_ms":1787261360000,"timestamp_seconds":1787261360,"priority":1,"record_length":96,"hex_timestamp":"000001a021141780"} 
[2026-08-21 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-08-21 03:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 03:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 03:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538906368001,"66":27223,"196":206,"84":7168,"24":53,"16":387879385559990272,"45":-7015904509101594624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 03:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538906368001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:01:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 03:01:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 03:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387879385559990272,"km_value":387879385559990.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015904509101594624,"description":"Unknown IO ID 45"} 
[2026-08-21 03:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538906368001,"power":27223,"unknown_196":206,"unknown_84":7168,"ignition":53,"odometer":null,"unknown_45":-7015904509101594624}} 
[2026-08-21 03:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":159902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:01:04] local.INFO: GPS data processed {"connection_id":159902,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:01:04] local.INFO: Acknowledgment sent {"connection_id":159902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:01:27] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:01:27] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:01:27] local.INFO: IMEI packet received {"connection_id":161277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":161277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:01:32] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:01:32] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:01:32] local.INFO: IMEI packet received {"connection_id":161277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":161277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:01:33] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211432d8012d9ebdc00554ab300007009532..."} 
[2026-08-21 03:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211432d8012d9ebdc00554ab300007009532..."} 
[2026-08-21 03:01:33] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211432d8012d9ebdc00554ab300007009532..."} 
[2026-08-21 03:01:33] local.INFO: Packet analysis {"connection_id":161277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02114"} 
[2026-08-21 03:01:33] local.INFO: Extracted packet for processing {"connection_id":161277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02114"} 
[2026-08-21 03:01:33] local.INFO: GPS Element Parsed {"raw_longitude":765377984,"raw_latitude":89434928,"longitude_deg":76.5377984,"latitude_deg":8.9434928,"altitude":7,"angle":149,"satellites":50,"speed":57,"hex_longitude":"2d9ebdc0","hex_latitude":"0554ab30","is_valid_coordinates":true} 
[2026-08-21 03:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538908160001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387879862301360128,"note":"Value kept but may cause issues"} 
[2026-08-21 03:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7012597178127476736,"note":"Value kept but may cause issues"} 
[2026-08-21 03:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261367000,"timestamp_ms":1787261367000,"timestamp_seconds":1787261367,"priority":1,"record_length":96,"hex_timestamp":"000001a0211432d8"} 
[2026-08-21 03:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 03:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538908160001,"66":27180,"196":206,"84":7168,"24":57,"16":387879862301360128,"45":-7012597178127476736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 03:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538908160001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:01:33] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 03:01:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 03:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387879862301360128,"km_value":387879862301360.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7012597178127476736,"description":"Unknown IO ID 45"} 
[2026-08-21 03:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538908160001,"power":27180,"unknown_196":206,"unknown_84":7168,"ignition":57,"odometer":null,"unknown_45":-7012597178127476736}} 
[2026-08-21 03:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":161277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:01:33] local.INFO: GPS data processed {"connection_id":161277,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:01:33] local.INFO: Acknowledgment sent {"connection_id":161277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:02:04] local.INFO: TCP Data received {"connection_id":161277,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021159e20012d9fbe800553cb08000700a033..."} 
[2026-08-21 03:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021159e20012d9fbe800553cb08000700a033..."} 
[2026-08-21 03:02:04] local.INFO: Processing buffer {"connection_id":161277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021159e20012d9fbe800553cb08000700a033..."} 
[2026-08-21 03:02:04] local.INFO: Packet analysis {"connection_id":161277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02115"} 
[2026-08-21 03:02:04] local.INFO: Extracted packet for processing {"connection_id":161277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02115"} 
[2026-08-21 03:02:04] local.INFO: GPS Element Parsed {"raw_longitude":765443712,"raw_latitude":89377544,"longitude_deg":76.5443712,"latitude_deg":8.9377544,"altitude":7,"angle":160,"satellites":51,"speed":26,"hex_longitude":"2d9fbe80","hex_latitude":"0553cb08","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538930176001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387884183038459904,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6940539584104536064,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261460000,"timestamp_ms":1787261460000,"timestamp_seconds":1787261460,"priority":1,"record_length":96,"hex_timestamp":"000001a021159e20"} 
[2026-08-21 03:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03: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-08-21 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 03:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538930176001,"66":27267,"115":206,"84":6144,"24":26,"16":387884183038459904,"45":-6940539584104536064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 03:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538930176001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:02:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 03:02:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387884183038459904,"km_value":387884183038459.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6940539584104536064,"description":"Unknown IO ID 45"} 
[2026-08-21 03:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538930176001,"power":27267,"unknown_115":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6940539584104536064}} 
[2026-08-21 03:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":161277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:02:04] local.INFO: GPS data processed {"connection_id":161277,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:02:04] local.INFO: Acknowledgment sent {"connection_id":161277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:02:32] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:02:32] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:02:32] local.INFO: IMEI packet received {"connection_id":159035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":159035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:02:37] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:02:37] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:02:37] local.INFO: IMEI packet received {"connection_id":159035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":159035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:02:49] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02115b1a8012d9fc1c00553bdd8000700ac32..."} 
[2026-08-21 03:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02115b1a8012d9fc1c00553bdd8000700ac32..."} 
[2026-08-21 03:02:49] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02115b1a8012d9fc1c00553bdd8000700ac32..."} 
[2026-08-21 03:02:49] local.INFO: Packet analysis {"connection_id":159035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02115"} 
[2026-08-21 03:02:49] local.INFO: Extracted packet for processing {"connection_id":159035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02115"} 
[2026-08-21 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":765444544,"raw_latitude":89374168,"longitude_deg":76.5444544,"latitude_deg":8.9374168,"altitude":7,"angle":172,"satellites":50,"speed":27,"hex_longitude":"2d9fc1c0","hex_latitude":"0553bdd8","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538933760001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387884354837151744,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6935965615734978560,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787261465000,"timestamp_ms":1787261465000,"timestamp_seconds":1787261465,"priority":1,"record_length":96,"hex_timestamp":"000001a02115b1a8"} 
[2026-08-21 03:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 03:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538933760001,"66":27234,"115":206,"84":6144,"24":27,"16":387884354837151744,"45":-6935965615734978560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 03:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538933760001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:02:49] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 03:02:49] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387884354837151744,"km_value":387884354837151.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6935965615734978560,"description":"Unknown IO ID 45"} 
[2026-08-21 03:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538933760001,"power":27234,"unknown_115":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6935965615734978560}} 
[2026-08-21 03:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":159035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:02:49] local.INFO: GPS data processed {"connection_id":159035,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:02:49] local.INFO: Acknowledgment sent {"connection_id":159035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:02:50] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02115e858012d9fc5c005539938000a00ad31..."} 
[2026-08-21 03:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02115e858012d9fc5c005539938000a00ad31..."} 
[2026-08-21 03:02:50] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02115e858012d9fc5c005539938000a00ad31..."} 
[2026-08-21 03:02:50] local.INFO: Packet analysis {"connection_id":159035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02115"} 
[2026-08-21 03:02:50] local.INFO: Extracted packet for processing {"connection_id":159035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02115"} 
[2026-08-21 03:02:50] local.INFO: GPS Element Parsed {"raw_longitude":765445568,"raw_latitude":89364792,"longitude_deg":76.5445568,"latitude_deg":8.9364792,"altitude":10,"angle":173,"satellites":49,"speed":26,"hex_longitude":"2d9fc5c0","hex_latitude":"05539938","is_valid_coordinates":true} 
[2026-08-21 03:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538935040001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387884810103685120,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6935050822061533184,"note":"Value kept but may cause issues"} 
[2026-08-21 03:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787261479000,"timestamp_ms":1787261479000,"timestamp_seconds":1787261479,"priority":1,"record_length":96,"hex_timestamp":"000001a02115e858"} 
[2026-08-21 03:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 03:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538935040001,"66":27310,"115":206,"84":6144,"24":26,"16":387884810103685120,"45":-6935050822061533184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 03:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538935040001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:02:50] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 03:02:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387884810103685120,"km_value":387884810103685.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6935050822061533184,"description":"Unknown IO ID 45"} 
[2026-08-21 03:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538935040001,"power":27310,"unknown_115":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6935050822061533184}} 
[2026-08-21 03:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":159035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:02:50] local.INFO: GPS data processed {"connection_id":159035,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:02:50] local.INFO: Acknowledgment sent {"connection_id":159035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:03:23] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:23] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:23] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:03:27] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:27] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:27] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:03:32] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:32] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:03:32] local.INFO: IMEI packet received {"connection_id":159903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":159903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:03:33] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021161f08012d9fc98005537470000e00ae32..."} 
[2026-08-21 03:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021161f08012d9fc98005537470000e00ae32..."} 
[2026-08-21 03:03:33] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021161f08012d9fc98005537470000e00ae32..."} 
[2026-08-21 03:03:33] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:03:33] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:03:33] local.INFO: GPS Element Parsed {"raw_longitude":765446528,"raw_latitude":89355376,"longitude_deg":76.5446528,"latitude_deg":8.9355376,"altitude":14,"angle":174,"satellites":50,"speed":26,"hex_longitude":"2d9fc980","hex_latitude":"05537470","is_valid_coordinates":true} 
[2026-08-21 03:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538938624001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387885269665185792,"note":"Value kept but may cause issues"} 
[2026-08-21 03:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6933924922157090816,"note":"Value kept but may cause issues"} 
[2026-08-21 03:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261493000,"timestamp_ms":1787261493000,"timestamp_seconds":1787261493,"priority":1,"record_length":96,"hex_timestamp":"000001a021161f08"} 
[2026-08-21 03:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 03:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538938624001,"66":27213,"115":206,"84":6144,"24":26,"16":387885269665185792,"45":-6933924922157090816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 03:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538938624001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:03:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 03:03:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387885269665185792,"km_value":387885269665185.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6933924922157090816,"description":"Unknown IO ID 45"} 
[2026-08-21 03:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538938624001,"power":27213,"unknown_115":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6933924922157090816}} 
[2026-08-21 03:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:03:33] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:03:33] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:03:34] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211655b8012d9fcd4005535030000e00af32..."} 
[2026-08-21 03:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211655b8012d9fcd4005535030000e00af32..."} 
[2026-08-21 03:03:34] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211655b8012d9fcd4005535030000e00af32..."} 
[2026-08-21 03:03:34] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:03:34] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:03:34] local.INFO: GPS Element Parsed {"raw_longitude":765447488,"raw_latitude":89346096,"longitude_deg":76.5447488,"latitude_deg":8.9346096,"altitude":14,"angle":175,"satellites":50,"speed":27,"hex_longitude":"2d9fcd40","hex_latitude":"05535030","is_valid_coordinates":true} 
[2026-08-21 03:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538942208001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387885720636751872,"note":"Value kept but may cause issues"} 
[2026-08-21 03:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6932869390996836352,"note":"Value kept but may cause issues"} 
[2026-08-21 03:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787261507000,"timestamp_ms":1787261507000,"timestamp_seconds":1787261507,"priority":1,"record_length":96,"hex_timestamp":"000001a0211655b8"} 
[2026-08-21 03:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:03: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-08-21 03:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 03:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538942208001,"66":27376,"115":206,"84":6144,"24":27,"16":387885720636751872,"45":-6932869390996836352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 03:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538942208001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:03:34] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 03:03:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387885720636751872,"km_value":387885720636751.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6932869390996836352,"description":"Unknown IO ID 45"} 
[2026-08-21 03:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538942208001,"power":27376,"unknown_115":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6932869390996836352}} 
[2026-08-21 03:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:03:34] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:03:34] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:04:05] local.INFO: TCP Data received {"connection_id":159903,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021168498012d9fd0c005532d90000b00af32..."} 
[2026-08-21 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021168498012d9fd0c005532d90000b00af32..."} 
[2026-08-21 03:04:05] local.INFO: Processing buffer {"connection_id":159903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021168498012d9fd0c005532d90000b00af32..."} 
[2026-08-21 03:04:05] local.INFO: Packet analysis {"connection_id":159903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:04:05] local.INFO: Extracted packet for processing {"connection_id":159903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":765448384,"raw_latitude":89337232,"longitude_deg":76.5448384,"latitude_deg":8.9337232,"altitude":11,"angle":175,"satellites":50,"speed":29,"hex_longitude":"2d9fd0c0","hex_latitude":"05532d90","is_valid_coordinates":true} 
[2026-08-21 03:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538945792001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387886154428448768,"note":"Value kept but may cause issues"} 
[2026-08-21 03:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6931813859836547072,"note":"Value kept but may cause issues"} 
[2026-08-21 03:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787261519000,"timestamp_ms":1787261519000,"timestamp_seconds":1787261519,"priority":1,"record_length":96,"hex_timestamp":"000001a021168498"} 
[2026-08-21 03:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03: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-08-21 03: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":240,"data_length":795,"current_offset":136} 
[2026-08-21 03:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:04: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-08-21 03:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538945792001,"66":27365,"115":206,"84":6144,"24":29,"16":387886154428448768,"45":-6931813859836547072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 03:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538945792001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:04:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 03:04:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387886154428448768,"km_value":387886154428448.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6931813859836547072,"description":"Unknown IO ID 45"} 
[2026-08-21 03:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538945792001,"power":27365,"unknown_115":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6931813859836547072}} 
[2026-08-21 03:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":159903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:04:05] local.INFO: GPS data processed {"connection_id":159903,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:04:05] local.INFO: Acknowledgment sent {"connection_id":159903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:04:26] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:26] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:26] local.INFO: IMEI packet received {"connection_id":158756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":158756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:04:27] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:27] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:27] local.INFO: IMEI packet received {"connection_id":158756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":158756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:04:32] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:32] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:04:32] local.INFO: IMEI packet received {"connection_id":158756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":158756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:04:33] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02116b760012d9fd44005530950000a00ab31..."} 
[2026-08-21 03:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02116b760012d9fd44005530950000a00ab31..."} 
[2026-08-21 03:04:33] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02116b760012d9fd44005530950000a00ab31..."} 
[2026-08-21 03:04:33] local.INFO: Packet analysis {"connection_id":158756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:04:33] local.INFO: Extracted packet for processing {"connection_id":158756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02116"} 
[2026-08-21 03:04:33] local.INFO: GPS Element Parsed {"raw_longitude":765449280,"raw_latitude":89327952,"longitude_deg":76.544928,"latitude_deg":8.9327952,"altitude":10,"angle":171,"satellites":49,"speed":27,"hex_longitude":"2d9fd440","hex_latitude":"05530950","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538948864001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387886605400014848,"note":"Value kept but may cause issues"} 
[2026-08-21 03:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6930828697420328960,"note":"Value kept but may cause issues"} 
[2026-08-21 03:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261532000,"timestamp_ms":1787261532000,"timestamp_seconds":1787261532,"priority":1,"record_length":96,"hex_timestamp":"000001a02116b760"} 
[2026-08-21 03:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 03:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538948864001,"66":27343,"115":206,"84":6144,"24":27,"16":387886605400014848,"45":-6930828697420328960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 03:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538948864001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:04:33] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 03:04:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387886605400014848,"km_value":387886605400014.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6930828697420328960,"description":"Unknown IO ID 45"} 
[2026-08-21 03:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538948864001,"power":27343,"unknown_115":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6930828697420328960}} 
[2026-08-21 03:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":158756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:04:33] local.INFO: GPS data processed {"connection_id":158756,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:04:33] local.INFO: Acknowledgment sent {"connection_id":158756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:05:04] local.INFO: TCP Data received {"connection_id":158756,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021185570012da09000055280280007008033..."} 
[2026-08-21 03:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021185570012da09000055280280007008033..."} 
[2026-08-21 03:05:04] local.INFO: Processing buffer {"connection_id":158756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021185570012da09000055280280007008033..."} 
[2026-08-21 03:05:04] local.INFO: Packet analysis {"connection_id":158756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02118"} 
[2026-08-21 03:05:04] local.INFO: Extracted packet for processing {"connection_id":158756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02118"} 
[2026-08-21 03:05:04] local.INFO: GPS Element Parsed {"raw_longitude":765497344,"raw_latitude":89292840,"longitude_deg":76.5497344,"latitude_deg":8.929284,"altitude":7,"angle":128,"satellites":51,"speed":37,"hex_longitude":"2da09000","hex_latitude":"05528028","is_valid_coordinates":true} 
[2026-08-21 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-08-21 03:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538976768001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387889745021108224,"note":"Value kept but may cause issues"} 
[2026-08-21 03:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6885229751203246080,"note":"Value kept but may cause issues"} 
[2026-08-21 03:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261638000,"timestamp_ms":1787261638000,"timestamp_seconds":1787261638,"priority":1,"record_length":96,"hex_timestamp":"000001a021185570"} 
[2026-08-21 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-08-21 03:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 03:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 03:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538976768001,"66":27267,"125":206,"84":6144,"24":37,"16":387889745021108224,"45":-6885229751203246080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 03:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538976768001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:05:04] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 03:05:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387889745021108224,"km_value":387889745021108.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6885229751203246080,"description":"Unknown IO ID 45"} 
[2026-08-21 03:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538976768001,"power":27267,"unknown_125":206,"unknown_84":6144,"ignition":37,"odometer":null,"unknown_45":-6885229751203246080}} 
[2026-08-21 03:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":158756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:05:04] local.INFO: GPS data processed {"connection_id":158756,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:05:04] local.INFO: Acknowledgment sent {"connection_id":158756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:05:27] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:05:27] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:05:27] local.INFO: IMEI packet received {"connection_id":161278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":161278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:05:32] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:05:32] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:05:32] local.INFO: IMEI packet received {"connection_id":161278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":161278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:05:33] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021187898012da0ab4005526a180007008130..."} 
[2026-08-21 03:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021187898012da0ab4005526a180007008130..."} 
[2026-08-21 03:05:33] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021187898012da0ab4005526a180007008130..."} 
[2026-08-21 03:05:33] local.INFO: Packet analysis {"connection_id":161278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02118"} 
[2026-08-21 03:05:33] local.INFO: Extracted packet for processing {"connection_id":161278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02118"} 
[2026-08-21 03:05:33] local.INFO: GPS Element Parsed {"raw_longitude":765504320,"raw_latitude":89287192,"longitude_deg":76.550432,"latitude_deg":8.9287192,"altitude":7,"angle":129,"satellites":48,"speed":40,"hex_longitude":"2da0ab40","hex_latitude":"05526a18","is_valid_coordinates":true} 
[2026-08-21 03:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538979328001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387890178812805120,"note":"Value kept but may cause issues"} 
[2026-08-21 03:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6876996608135780352,"note":"Value kept but may cause issues"} 
[2026-08-21 03:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261647000,"timestamp_ms":1787261647000,"timestamp_seconds":1787261647,"priority":1,"record_length":96,"hex_timestamp":"000001a021187898"} 
[2026-08-21 03:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 03:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538979328001,"66":27463,"125":206,"84":6144,"24":40,"16":387890178812805120,"45":-6876996608135780352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 03:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538979328001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:05:33] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 03:05:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387890178812805120,"km_value":387890178812805.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6876996608135780352,"description":"Unknown IO ID 45"} 
[2026-08-21 03:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538979328001,"power":27463,"unknown_125":206,"unknown_84":6144,"ignition":40,"odometer":null,"unknown_45":-6876996608135780352}} 
[2026-08-21 03:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":161278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:05:33] local.INFO: GPS data processed {"connection_id":161278,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:05:33] local.INFO: Acknowledgment sent {"connection_id":161278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:06:04] local.INFO: TCP Data received {"connection_id":161278,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021189bc0012da0c800055255980007007e32..."} 
[2026-08-21 03:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021189bc0012da0c800055255980007007e32..."} 
[2026-08-21 03:06:04] local.INFO: Processing buffer {"connection_id":161278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021189bc0012da0c800055255980007007e32..."} 
[2026-08-21 03:06:04] local.INFO: Packet analysis {"connection_id":161278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02118"} 
[2026-08-21 03:06:04] local.INFO: Extracted packet for processing {"connection_id":161278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02118"} 
[2026-08-21 03:06:04] local.INFO: GPS Element Parsed {"raw_longitude":765511680,"raw_latitude":89281944,"longitude_deg":76.551168,"latitude_deg":8.9281944,"altitude":7,"angle":126,"satellites":50,"speed":38,"hex_longitude":"2da0c800","hex_latitude":"05525598","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457538981632001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387890612604502016,"note":"Value kept but may cause issues"} 
[2026-08-21 03:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6869326415021860864,"note":"Value kept but may cause issues"} 
[2026-08-21 03:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787261656000,"timestamp_ms":1787261656000,"timestamp_seconds":1787261656,"priority":1,"record_length":96,"hex_timestamp":"000001a021189bc0"} 
[2026-08-21 03:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:06: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-08-21 03:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 03:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457538981632001,"66":27376,"125":206,"84":6144,"24":38,"16":387890612604502016,"45":-6869326415021860864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 03:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457538981632001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:06:04] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 03:06:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387890612604502016,"km_value":387890612604502.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6869326415021860864,"description":"Unknown IO ID 45"} 
[2026-08-21 03:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457538981632001,"power":27376,"unknown_125":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6869326415021860864}} 
[2026-08-21 03:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":161278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:06:04] local.INFO: GPS data processed {"connection_id":161278,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:06:04] local.INFO: Acknowledgment sent {"connection_id":161278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:06:27] local.INFO: TCP Data received {"connection_id":158757,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:06:27] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:06:27] local.INFO: IMEI packet received {"connection_id":158757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":158757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:06:32] local.INFO: TCP Data received {"connection_id":158757,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:06:32] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:06:32] local.INFO: IMEI packet received {"connection_id":158757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":158757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:06:33] local.INFO: TCP Data received {"connection_id":158757,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02119ad30012da18cc00551e7d8000800a726..."} 
[2026-08-21 03:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02119ad30012da18cc00551e7d8000800a726..."} 
[2026-08-21 03:06:33] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02119ad30012da18cc00551e7d8000800a726..."} 
[2026-08-21 03:06:33] local.INFO: Packet analysis {"connection_id":158757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:06:33] local.INFO: Extracted packet for processing {"connection_id":158757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:06:33] local.INFO: GPS Element Parsed {"raw_longitude":765562048,"raw_latitude":89253848,"longitude_deg":76.5562048,"latitude_deg":8.9253848,"altitude":8,"angle":167,"satellites":38,"speed":11,"hex_longitude":"2da18cc0","hex_latitude":"0551e7d8","is_valid_coordinates":true} 
[2026-08-21 03:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539001344001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387893408628211712,"note":"Value kept but may cause issues"} 
[2026-08-21 03:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6806276020247109632,"note":"Value kept but may cause issues"} 
[2026-08-21 03:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261726000,"timestamp_ms":1787261726000,"timestamp_seconds":1787261726,"priority":1,"record_length":96,"hex_timestamp":"000001a02119ad30"} 
[2026-08-21 03:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 03:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539001344001,"66":27006,"123":206,"84":6144,"24":11,"16":387893408628211712,"45":-6806276020247109632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,84,24,16,45]} 
[2026-08-21 03:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539001344001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:06:33] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 03:06:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387893408628211712,"km_value":387893408628211.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6806276020247109632,"description":"Unknown IO ID 45"} 
[2026-08-21 03:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539001344001,"power":27006,"unknown_123":206,"unknown_84":6144,"ignition":11,"odometer":null,"unknown_45":-6806276020247109632}} 
[2026-08-21 03:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":158757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:06:33] local.INFO: GPS data processed {"connection_id":158757,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:06:33] local.INFO: Acknowledgment sent {"connection_id":158757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:07:07] local.INFO: TCP Data received {"connection_id":158757,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02119bcd0012da18c800551e3f8000900be28..."} 
[2026-08-21 03:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02119bcd0012da18c800551e3f8000900be28..."} 
[2026-08-21 03:07:07] local.INFO: Processing buffer {"connection_id":158757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02119bcd0012da18c800551e3f8000900be28..."} 
[2026-08-21 03:07:07] local.INFO: Packet analysis {"connection_id":158757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:07:07] local.INFO: Extracted packet for processing {"connection_id":158757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:07:07] local.INFO: GPS Element Parsed {"raw_longitude":765561984,"raw_latitude":89252856,"longitude_deg":76.5561984,"latitude_deg":8.9252856,"altitude":9,"angle":190,"satellites":40,"speed":13,"hex_longitude":"2da18c80","hex_latitude":"0551e3f8","is_valid_coordinates":true} 
[2026-08-21 03:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539001856001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387893460167819264,"note":"Value kept but may cause issues"} 
[2026-08-21 03:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6805853807782144000,"note":"Value kept but may cause issues"} 
[2026-08-21 03:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787261730000,"timestamp_ms":1787261730000,"timestamp_seconds":1787261730,"priority":1,"record_length":96,"hex_timestamp":"000001a02119bcd0"} 
[2026-08-21 03:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-08-21 03:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1857,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539001856001,"66":27365,"124":206,"84":6144,"24":13,"16":387893460167819264,"45":-6805853807782144000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-08-21 03:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539001856001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:07:07] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 03:07:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387893460167819264,"km_value":387893460167819.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6805853807782144000,"description":"Unknown IO ID 45"} 
[2026-08-21 03:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539001856001,"power":27365,"unknown_124":206,"unknown_84":6144,"ignition":13,"odometer":null,"unknown_45":-6805853807782144000}} 
[2026-08-21 03:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":158757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:07:07] local.INFO: GPS data processed {"connection_id":158757,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:07:07] local.INFO: Acknowledgment sent {"connection_id":158757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:07:27] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:27] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:27] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:07:30] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:30] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:30] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:07:31] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:31] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:31] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:07:32] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:32] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:07:32] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:07:33] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02119cc70012da18ac00551de30000900ac2e..."} 
[2026-08-21 03:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02119cc70012da18ac00551de30000900ac2e..."} 
[2026-08-21 03:07:33] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02119cc70012da18ac00551de30000900ac2e..."} 
[2026-08-21 03:07:33] local.INFO: Packet analysis {"connection_id":159036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:07:33] local.INFO: Extracted packet for processing {"connection_id":159036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":765561536,"raw_latitude":89251376,"longitude_deg":76.5561536,"latitude_deg":8.9251376,"altitude":9,"angle":172,"satellites":46,"speed":15,"hex_longitude":"2da18ac0","hex_latitude":"0551de30","is_valid_coordinates":true} 
[2026-08-21 03:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539002880001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387893537477230592,"note":"Value kept but may cause issues"} 
[2026-08-21 03:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6805924176526575616,"note":"Value kept but may cause issues"} 
[2026-08-21 03:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261734000,"timestamp_ms":1787261734000,"timestamp_seconds":1787261734,"priority":1,"record_length":96,"hex_timestamp":"000001a02119cc70"} 
[2026-08-21 03:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 03:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539002880001,"66":27332,"124":206,"84":6144,"24":15,"16":387893537477230592,"45":-6805924176526575616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-08-21 03:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539002880001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:07:33] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 03:07:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387893537477230592,"km_value":387893537477230.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6805924176526575616,"description":"Unknown IO ID 45"} 
[2026-08-21 03:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539002880001,"power":27332,"unknown_124":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6805924176526575616}} 
[2026-08-21 03:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":159036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:07:33] local.INFO: GPS data processed {"connection_id":159036,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:07:33] local.INFO: Acknowledgment sent {"connection_id":159036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:08:05] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02119d440012da18b400551daf8000a009d31..."} 
[2026-08-21 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02119d440012da18b400551daf8000a009d31..."} 
[2026-08-21 03:08:05] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02119d440012da18b400551daf8000a009d31..."} 
[2026-08-21 03:08:05] local.INFO: Packet analysis {"connection_id":159036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:08:05] local.INFO: Extracted packet for processing {"connection_id":159036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02119"} 
[2026-08-21 03:08:05] local.INFO: GPS Element Parsed {"raw_longitude":765561664,"raw_latitude":89250552,"longitude_deg":76.5561664,"latitude_deg":8.9250552,"altitude":10,"angle":157,"satellites":49,"speed":14,"hex_longitude":"2da18b40","hex_latitude":"0551daf8","is_valid_coordinates":true} 
[2026-08-21 03:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539003904001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387893576131936256,"note":"Value kept but may cause issues"} 
[2026-08-21 03:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6806416757736198144,"note":"Value kept but may cause issues"} 
[2026-08-21 03:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787261736000,"timestamp_ms":1787261736000,"timestamp_seconds":1787261736,"priority":1,"record_length":96,"hex_timestamp":"000001a02119d440"} 
[2026-08-21 03:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:08: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-08-21 03:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 03:08: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-08-21 03:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:08: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-08-21 03:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539003904001,"66":27267,"124":206,"84":6144,"24":14,"16":387893576131936256,"45":-6806416757736198144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,84,24,16,45]} 
[2026-08-21 03:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539003904001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387893576131936256,"km_value":387893576131936.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6806416757736198144,"description":"Unknown IO ID 45"} 
[2026-08-21 03:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539003904001,"power":27267,"unknown_124":206,"unknown_84":6144,"ignition":14,"odometer":null,"unknown_45":-6806416757736198144}} 
[2026-08-21 03:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":159036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:08:05] local.INFO: GPS data processed {"connection_id":159036,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:08:05] local.INFO: Acknowledgment sent {"connection_id":159036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:08:33] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:33] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:33] local.INFO: IMEI packet received {"connection_id":161279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":161279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:08:33] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:33] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:33] local.INFO: IMEI packet received {"connection_id":161279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":161279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:08:37] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:37] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:08:37] local.INFO: IMEI packet received {"connection_id":161279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":161279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:08:59] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211b6e68012da1fa800550eb08000c00af2f..."} 
[2026-08-21 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211b6e68012da1fa800550eb08000c00af2f..."} 
[2026-08-21 03:08:59] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211b6e68012da1fa800550eb08000c00af2f..."} 
[2026-08-21 03:08:59] local.INFO: Packet analysis {"connection_id":161279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:08:59] local.INFO: Extracted packet for processing {"connection_id":161279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:08:59] local.INFO: GPS Element Parsed {"raw_longitude":765590144,"raw_latitude":89189128,"longitude_deg":76.5590144,"latitude_deg":8.9189128,"altitude":12,"angle":175,"satellites":47,"speed":32,"hex_longitude":"2da1fa80","hex_latitude":"0550eb08","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539028224001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387896951976230912,"note":"Value kept but may cause issues"} 
[2026-08-21 03:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6775665616544178176,"note":"Value kept but may cause issues"} 
[2026-08-21 03:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787261841000,"timestamp_ms":1787261841000,"timestamp_seconds":1787261841,"priority":1,"record_length":96,"hex_timestamp":"000001a0211b6e68"} 
[2026-08-21 03:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 03:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539028224001,"66":27397,"238":206,"84":6144,"24":32,"16":387896951976230912,"45":-6775665616544178176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-08-21 03:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539028224001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:08:59] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-21 03:08:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387896951976230912,"km_value":387896951976230.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6775665616544178176,"description":"Unknown IO ID 45"} 
[2026-08-21 03:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539028224001,"power":27397,"unknown_238":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6775665616544178176}} 
[2026-08-21 03:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":161279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:08:59] local.INFO: GPS data processed {"connection_id":161279,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:08:59] local.INFO: Acknowledgment sent {"connection_id":161279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:09:00] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.106.6.35","data_length":1348,"data_hex":"000000000000030f8e0a000001a0211b9960012da1fd800550c5d0000a00af2d..."} 
[2026-08-21 03:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0211b9960012da1fd800550c5d0000a00af2d..."} 
[2026-08-21 03:09:00] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0211b9960012da1fd800550c5d0000a00af2d..."} 
[2026-08-21 03:09:00] local.INFO: Packet analysis {"connection_id":161279,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:09:00] local.INFO: Extracted packet for processing {"connection_id":161279,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:09:00] local.INFO: GPS Element Parsed {"raw_longitude":765590912,"raw_latitude":89179600,"longitude_deg":76.5590912,"latitude_deg":8.91796,"altitude":10,"angle":175,"satellites":45,"speed":35,"hex_longitude":"2da1fd80","hex_latitude":"0550c5d0","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539031296001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387897415832698880,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6774961929104717824,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787261852000,"timestamp_ms":1787261852000,"timestamp_seconds":1787261852,"priority":1,"record_length":96,"hex_timestamp":"000001a0211b9960"} 
[2026-08-21 03:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03: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-08-21 03:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 03:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539031296001,"66":27332,"238":206,"84":6144,"24":35,"16":387897415832698880,"45":-6774961929104717824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539031296001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387897415832698880,"km_value":387897415832698.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6774961929104717824,"description":"Unknown IO ID 45"} 
[2026-08-21 03:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539031296001,"power":27332,"unknown_238":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6774961929104717824}} 
[2026-08-21 03:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":161279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:09:00] local.INFO: GPS data processed {"connection_id":161279,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:09:00] local.INFO: Acknowledgment sent {"connection_id":161279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:09:00] local.INFO: Packet analysis {"connection_id":161279,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:09:00] local.INFO: Incomplete packet, waiting for more data {"connection_id":161279,"needed":795,"available":553} 
[2026-08-21 03:09:00] local.INFO: TCP Data received {"connection_id":161279,"ip":"42.106.6.35","data_length":242,"data_hex":"000000000001a0211ace40012da1e140055160d8000a009430001d0000000a00..."} 
[2026-08-21 03:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161279,"packet_length":242,"packet_hex":"000000000001a0211ace40012da1e140055160d8000a009430001d0000000a00..."} 
[2026-08-21 03:09:00] local.INFO: Processing buffer {"connection_id":161279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211bc458012da201000550a028000900ae31..."} 
[2026-08-21 03:09:00] local.INFO: Packet analysis {"connection_id":161279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:09:00] local.INFO: Extracted packet for processing {"connection_id":161279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:09:00] local.INFO: GPS Element Parsed {"raw_longitude":765591808,"raw_latitude":89169960,"longitude_deg":76.5591808,"latitude_deg":8.916996,"altitude":9,"angle":174,"satellites":49,"speed":35,"hex_longitude":"2da20100","hex_latitude":"0550a028","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539034112001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387897883984134144,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6774117504177025024,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787261863000,"timestamp_ms":1787261863000,"timestamp_seconds":1787261863,"priority":1,"record_length":96,"hex_timestamp":"000001a0211bc458"} 
[2026-08-21 03:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:09: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-08-21 03: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":196,"data_length":795,"current_offset":136} 
[2026-08-21 03:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539034112001,"66":27376,"238":206,"84":6144,"24":35,"16":387897883984134144,"45":-6774117504177025024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-08-21 03:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539034112001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387897883984134144,"km_value":387897883984134.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6774117504177025024,"description":"Unknown IO ID 45"} 
[2026-08-21 03:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539034112001,"power":27376,"unknown_238":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6774117504177025024}} 
[2026-08-21 03:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":161279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:09:00] local.INFO: GPS data processed {"connection_id":161279,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:09:00] local.INFO: Acknowledgment sent {"connection_id":161279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:09:25] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:25] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:25] local.INFO: IMEI packet received {"connection_id":158758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":158758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:09:27] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:27] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:27] local.INFO: IMEI packet received {"connection_id":158758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":158758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:09:32] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:32] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:09:32] local.INFO: IMEI packet received {"connection_id":158758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":158758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:09:33] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211beb68012da2054005507d98000900ac2f..."} 
[2026-08-21 03:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211beb68012da2054005507d98000900ac2f..."} 
[2026-08-21 03:09:33] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211beb68012da2054005507d98000900ac2f..."} 
[2026-08-21 03:09:33] local.INFO: Packet analysis {"connection_id":158758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:09:33] local.INFO: Extracted packet for processing {"connection_id":158758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211b"} 
[2026-08-21 03:09:33] local.INFO: GPS Element Parsed {"raw_longitude":765592896,"raw_latitude":89161112,"longitude_deg":76.5592896,"latitude_deg":8.9161112,"altitude":9,"angle":172,"satellites":47,"speed":33,"hex_longitude":"2da20540","hex_latitude":"05507d98","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539036928001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387898317775831040,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6773132341761005568,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787261873000,"timestamp_ms":1787261873000,"timestamp_seconds":1787261873,"priority":1,"record_length":96,"hex_timestamp":"000001a0211beb68"} 
[2026-08-21 03:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 03:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539036928001,"66":27300,"238":206,"84":6144,"24":33,"16":387898317775831040,"45":-6773132341761005568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,84,24,16,45]} 
[2026-08-21 03:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539036928001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:09:33] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-08-21 03:09:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387898317775831040,"km_value":387898317775831.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6773132341761005568,"description":"Unknown IO ID 45"} 
[2026-08-21 03:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539036928001,"power":27300,"unknown_238":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6773132341761005568}} 
[2026-08-21 03:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":158758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:09:33] local.INFO: GPS data processed {"connection_id":158758,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:09:33] local.INFO: Acknowledgment sent {"connection_id":158758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:09:35] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211c1660012da20d0005505aa8000a00a62f..."} 
[2026-08-21 03:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211c1660012da20d0005505aa8000a00a62f..."} 
[2026-08-21 03:09:35] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211c1660012da20d0005505aa8000a00a62f..."} 
[2026-08-21 03:09:35] local.INFO: Packet analysis {"connection_id":158758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211c"} 
[2026-08-21 03:09:35] local.INFO: Extracted packet for processing {"connection_id":158758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211c"} 
[2026-08-21 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":765594880,"raw_latitude":89152168,"longitude_deg":76.559488,"latitude_deg":8.9152168,"altitude":10,"angle":166,"satellites":47,"speed":34,"hex_longitude":"2da20d00","hex_latitude":"05505aa8","is_valid_coordinates":true} 
[2026-08-21 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539039488001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387898764452429824,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6771936073112250368,"note":"Value kept but may cause issues"} 
[2026-08-21 03:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787261884000,"timestamp_ms":1787261884000,"timestamp_seconds":1787261884,"priority":1,"record_length":96,"hex_timestamp":"000001a0211c1660"} 
[2026-08-21 03:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 03:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539039488001,"66":26452,"202":206,"84":6144,"24":34,"16":387898764452429824,"45":-6771936073112250368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,84,24,16,45]} 
[2026-08-21 03:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539039488001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:09:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387898764452429824,"km_value":387898764452429.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6771936073112250368,"description":"Unknown IO ID 45"} 
[2026-08-21 03:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539039488001,"power":26452,"mcc":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6771936073112250368}} 
[2026-08-21 03:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":158758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:09:35] local.INFO: GPS data processed {"connection_id":158758,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:09:35] local.INFO: Acknowledgment sent {"connection_id":158758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:10:06] local.INFO: TCP Data received {"connection_id":158758,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211c4158012da2168005503678000c00a531..."} 
[2026-08-21 03:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211c4158012da2168005503678000c00a531..."} 
[2026-08-21 03:10:06] local.INFO: Processing buffer {"connection_id":158758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211c4158012da2168005503678000c00a531..."} 
[2026-08-21 03:10:06] local.INFO: Packet analysis {"connection_id":158758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211c"} 
[2026-08-21 03:10:06] local.INFO: Extracted packet for processing {"connection_id":158758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211c"} 
[2026-08-21 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":765597312,"raw_latitude":89142904,"longitude_deg":76.5597312,"latitude_deg":8.9142904,"altitude":12,"angle":165,"satellites":49,"speed":34,"hex_longitude":"2da21680","hex_latitude":"05503678","is_valid_coordinates":true} 
[2026-08-21 03:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539042304001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387899228308897792,"note":"Value kept but may cause issues"} 
[2026-08-21 03:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6769754642045032448,"note":"Value kept but may cause issues"} 
[2026-08-21 03:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787261895000,"timestamp_ms":1787261895000,"timestamp_seconds":1787261895,"priority":1,"record_length":96,"hex_timestamp":"000001a0211c4158"} 
[2026-08-21 03:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 03:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539042304001,"66":27343,"202":206,"84":6144,"24":34,"16":387899228308897792,"45":-6769754642045032448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,84,24,16,45]} 
[2026-08-21 03:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539042304001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:10:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387899228308897792,"km_value":387899228308897.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6769754642045032448,"description":"Unknown IO ID 45"} 
[2026-08-21 03:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539042304001,"power":27343,"mcc":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6769754642045032448}} 
[2026-08-21 03:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":158758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:10:06] local.INFO: GPS data processed {"connection_id":158758,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:10:06] local.INFO: Acknowledgment sent {"connection_id":158758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:10:26] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:26] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:26] local.INFO: IMEI packet received {"connection_id":159904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":159904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:10:27] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:27] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:27] local.INFO: IMEI packet received {"connection_id":159904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":159904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:10:34] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:34] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:10:34] local.INFO: IMEI packet received {"connection_id":159904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":159904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:10:38] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211c6c50012da21e8005501380000e00a92f..."} 
[2026-08-21 03:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211c6c50012da21e8005501380000e00a92f..."} 
[2026-08-21 03:10:38] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211c6c50012da21e8005501380000e00a92f..."} 
[2026-08-21 03:10:38] local.INFO: Packet analysis {"connection_id":159904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211c"} 
[2026-08-21 03:10:38] local.INFO: Extracted packet for processing {"connection_id":159904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211c"} 
[2026-08-21 03:10:38] local.INFO: GPS Element Parsed {"raw_longitude":765599360,"raw_latitude":89133952,"longitude_deg":76.559936,"latitude_deg":8.9133952,"altitude":14,"angle":169,"satellites":47,"speed":33,"hex_longitude":"2da21e80","hex_latitude":"05501380","is_valid_coordinates":true} 
[2026-08-21 03:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539045120001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387899670690529280,"note":"Value kept but may cause issues"} 
[2026-08-21 03:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6767080629768652800,"note":"Value kept but may cause issues"} 
[2026-08-21 03:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787261906000,"timestamp_ms":1787261906000,"timestamp_seconds":1787261906,"priority":1,"record_length":96,"hex_timestamp":"000001a0211c6c50"} 
[2026-08-21 03:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 03:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539045120001,"66":27234,"202":206,"84":6144,"24":33,"16":387899670690529280,"45":-6767080629768652800},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,84,24,16,45]} 
[2026-08-21 03:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539045120001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:10:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387899670690529280,"km_value":387899670690529.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6767080629768652800,"description":"Unknown IO ID 45"} 
[2026-08-21 03:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539045120001,"power":27234,"mcc":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6767080629768652800}} 
[2026-08-21 03:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":159904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:10:38] local.INFO: GPS data processed {"connection_id":159904,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:10:38] local.INFO: Acknowledgment sent {"connection_id":159904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:11:09] local.INFO: TCP Data received {"connection_id":159904,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211e21d0012da29040054e97d0000e009a30..."} 
[2026-08-21 03:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211e21d0012da29040054e97d0000e009a30..."} 
[2026-08-21 03:11:09] local.INFO: Processing buffer {"connection_id":159904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211e21d0012da29040054e97d0000e009a30..."} 
[2026-08-21 03:11:09] local.INFO: Packet analysis {"connection_id":159904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:11:09] local.INFO: Extracted packet for processing {"connection_id":159904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:11:09] local.INFO: GPS Element Parsed {"raw_longitude":765628480,"raw_latitude":89036752,"longitude_deg":76.562848,"latitude_deg":8.9036752,"altitude":14,"angle":154,"satellites":48,"speed":37,"hex_longitude":"2da29040","hex_latitude":"054e97d0","is_valid_coordinates":true} 
[2026-08-21 03:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539074048001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387904691507298304,"note":"Value kept but may cause issues"} 
[2026-08-21 03:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6738370182169313280,"note":"Value kept but may cause issues"} 
[2026-08-21 03:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787262018000,"timestamp_ms":1787262018000,"timestamp_seconds":1787262018,"priority":1,"record_length":96,"hex_timestamp":"000001a0211e21d0"} 
[2026-08-21 03:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:11: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-08-21 03:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-21 03:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539074048001,"66":27267,"183":206,"84":6144,"24":37,"16":387904691507298304,"45":-6738370182169313280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 03:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539074048001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:11:09] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 03:11:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387904691507298304,"km_value":387904691507298.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6738370182169313280,"description":"Unknown IO ID 45"} 
[2026-08-21 03:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539074048001,"power":27267,"unknown_183":206,"unknown_84":6144,"ignition":37,"odometer":null,"unknown_45":-6738370182169313280}} 
[2026-08-21 03:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":159904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:11:09] local.INFO: GPS data processed {"connection_id":159904,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:11:09] local.INFO: Acknowledgment sent {"connection_id":159904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:11:26] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:26] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:26] local.INFO: IMEI packet received {"connection_id":161280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":161280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:11:27] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:27] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:27] local.INFO: IMEI packet received {"connection_id":161280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":161280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:11:32] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:32] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:11:32] local.INFO: IMEI packet received {"connection_id":161280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":161280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:11:33] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211e21d0012da29040054e97d0000e009a30..."} 
[2026-08-21 03:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211e21d0012da29040054e97d0000e009a30..."} 
[2026-08-21 03:11:33] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211e21d0012da29040054e97d0000e009a30..."} 
[2026-08-21 03:11:33] local.INFO: Packet analysis {"connection_id":161280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:11:33] local.INFO: Extracted packet for processing {"connection_id":161280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:11:33] local.INFO: GPS Element Parsed {"raw_longitude":765628480,"raw_latitude":89036752,"longitude_deg":76.562848,"latitude_deg":8.9036752,"altitude":14,"angle":154,"satellites":48,"speed":37,"hex_longitude":"2da29040","hex_latitude":"054e97d0","is_valid_coordinates":true} 
[2026-08-21 03:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539076608001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387904691507298304,"note":"Value kept but may cause issues"} 
[2026-08-21 03:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6732811051381305344,"note":"Value kept but may cause issues"} 
[2026-08-21 03:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787262018000,"timestamp_ms":1787262018000,"timestamp_seconds":1787262018,"priority":1,"record_length":96,"hex_timestamp":"000001a0211e21d0"} 
[2026-08-21 03:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 03:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539076608001,"66":27267,"183":206,"84":6144,"24":37,"16":387904691507298304,"45":-6732811051381305344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 03:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539076608001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:11:33] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 03:11:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387904691507298304,"km_value":387904691507298.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6732811051381305344,"description":"Unknown IO ID 45"} 
[2026-08-21 03:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539076608001,"power":27267,"unknown_183":206,"unknown_84":6144,"ignition":37,"odometer":null,"unknown_45":-6732811051381305344}} 
[2026-08-21 03:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":161280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:11:33] local.INFO: GPS data processed {"connection_id":161280,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:11:33] local.INFO: Acknowledgment sent {"connection_id":161280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:12:04] local.INFO: TCP Data received {"connection_id":161280,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211e48e0012da2a040054e75d8000e009c2f..."} 
[2026-08-21 03:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211e48e0012da2a040054e75d8000e009c2f..."} 
[2026-08-21 03:12:04] local.INFO: Processing buffer {"connection_id":161280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211e48e0012da2a040054e75d8000e009c2f..."} 
[2026-08-21 03:12:04] local.INFO: Packet analysis {"connection_id":161280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:12:04] local.INFO: Extracted packet for processing {"connection_id":161280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:12:04] local.INFO: GPS Element Parsed {"raw_longitude":765632576,"raw_latitude":89028056,"longitude_deg":76.5632576,"latitude_deg":8.9028056,"altitude":14,"angle":156,"satellites":47,"speed":38,"hex_longitude":"2da2a040","hex_latitude":"054e75d8","is_valid_coordinates":true} 
[2026-08-21 03:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539076608001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387905155363766272,"note":"Value kept but may cause issues"} 
[2026-08-21 03:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6732811051381305344,"note":"Value kept but may cause issues"} 
[2026-08-21 03:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787262028000,"timestamp_ms":1787262028000,"timestamp_seconds":1787262028,"priority":1,"record_length":96,"hex_timestamp":"000001a0211e48e0"} 
[2026-08-21 03:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 03:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539076608001,"66":27289,"183":206,"84":6144,"24":38,"16":387905155363766272,"45":-6732811051381305344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 03:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539076608001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:12:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 03:12:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387905155363766272,"km_value":387905155363766.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6732811051381305344,"description":"Unknown IO ID 45"} 
[2026-08-21 03:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539076608001,"power":27289,"unknown_183":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6732811051381305344}} 
[2026-08-21 03:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":161280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:12:04] local.INFO: GPS data processed {"connection_id":161280,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:12:04] local.INFO: Acknowledgment sent {"connection_id":161280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:12:27] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:27] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:27] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:12:30] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:30] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:30] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:12:32] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:32] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:12:32] local.INFO: IMEI packet received {"connection_id":159905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":159905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:12:33] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211e6ff0012da2af00054e5310000e009c30..."} 
[2026-08-21 03:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211e6ff0012da2af00054e5310000e009c30..."} 
[2026-08-21 03:12:33] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211e6ff0012da2af00054e5310000e009c30..."} 
[2026-08-21 03:12:33] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:12:33] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:12:33] local.INFO: GPS Element Parsed {"raw_longitude":765636352,"raw_latitude":89019152,"longitude_deg":76.5636352,"latitude_deg":8.9019152,"altitude":14,"angle":156,"satellites":48,"speed":37,"hex_longitude":"2da2af00","hex_latitude":"054e5310","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539079168001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387905623515201536,"note":"Value kept but may cause issues"} 
[2026-08-21 03:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6728307451756161024,"note":"Value kept but may cause issues"} 
[2026-08-21 03:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787262038000,"timestamp_ms":1787262038000,"timestamp_seconds":1787262038,"priority":1,"record_length":96,"hex_timestamp":"000001a0211e6ff0"} 
[2026-08-21 03:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 03:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539079168001,"66":27343,"183":206,"84":6144,"24":37,"16":387905623515201536,"45":-6728307451756161024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 03:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539079168001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:12:33] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 03:12:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387905623515201536,"km_value":387905623515201.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6728307451756161024,"description":"Unknown IO ID 45"} 
[2026-08-21 03:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539079168001,"power":27343,"unknown_183":206,"unknown_84":6144,"ignition":37,"odometer":null,"unknown_45":-6728307451756161024}} 
[2026-08-21 03:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:12:33] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:12:33] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:13:06] local.INFO: TCP Data received {"connection_id":159905,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0211e9700012da2bd00054e3178000f009e2f..."} 
[2026-08-21 03:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0211e9700012da2bd00054e3178000f009e2f..."} 
[2026-08-21 03:13:06] local.INFO: Processing buffer {"connection_id":159905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0211e9700012da2bd00054e3178000f009e2f..."} 
[2026-08-21 03:13:06] local.INFO: Packet analysis {"connection_id":159905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:13:06] local.INFO: Extracted packet for processing {"connection_id":159905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0211e"} 
[2026-08-21 03:13:06] local.INFO: GPS Element Parsed {"raw_longitude":765639936,"raw_latitude":89010552,"longitude_deg":76.5639936,"latitude_deg":8.9010552,"altitude":15,"angle":158,"satellites":47,"speed":36,"hex_longitude":"2da2bd00","hex_latitude":"054e3178","is_valid_coordinates":true} 
[2026-08-21 03:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539081728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387906078781734912,"note":"Value kept but may cause issues"} 
[2026-08-21 03:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6724155695851958272,"note":"Value kept but may cause issues"} 
[2026-08-21 03:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787262048000,"timestamp_ms":1787262048000,"timestamp_seconds":1787262048,"priority":1,"record_length":96,"hex_timestamp":"000001a0211e9700"} 
[2026-08-21 03:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 03:13: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-08-21 03:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539081728001,"66":26984,"182":206,"84":6144,"24":36,"16":387906078781734912,"45":-6724155695851958272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 03:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539081728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:13:06] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 03:13:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387906078781734912,"km_value":387906078781734.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6724155695851958272,"description":"Unknown IO ID 45"} 
[2026-08-21 03:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539081728001,"power":26984,"unknown_182":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6724155695851958272}} 
[2026-08-21 03:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":159905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:13:06] local.INFO: GPS data processed {"connection_id":159905,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:13:06] local.INFO: Acknowledgment sent {"connection_id":159905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:13:27] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:13:27] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:13:27] local.INFO: IMEI packet received {"connection_id":159037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":159037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:13:32] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:13:32] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:13:32] local.INFO: IMEI packet received {"connection_id":159037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":159037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:13:33] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021202d40012da343c0054d2c00000b00982f..."} 
[2026-08-21 03:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021202d40012da343c0054d2c00000b00982f..."} 
[2026-08-21 03:13:33] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021202d40012da343c0054d2c00000b00982f..."} 
[2026-08-21 03:13:33] local.INFO: Packet analysis {"connection_id":159037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:13:33] local.INFO: Extracted packet for processing {"connection_id":159037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:13:33] local.INFO: GPS Element Parsed {"raw_longitude":765674432,"raw_latitude":88943616,"longitude_deg":76.5674432,"latitude_deg":8.8943616,"altitude":11,"angle":152,"satellites":47,"speed":28,"hex_longitude":"2da343c0","hex_latitude":"054d2c00","is_valid_coordinates":true} 
[2026-08-21 03:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539107584001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387909789633478656,"note":"Value kept but may cause issues"} 
[2026-08-21 03:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6686860261454944256,"note":"Value kept but may cause issues"} 
[2026-08-21 03:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787262152000,"timestamp_ms":1787262152000,"timestamp_seconds":1787262152,"priority":1,"record_length":96,"hex_timestamp":"000001a021202d40"} 
[2026-08-21 03:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 03:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539107584001,"66":27267,"30":206,"84":6144,"24":28,"16":387909789633478656,"45":-6686860261454944256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-21 03:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539107584001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:13:33] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-21 03:13:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387909789633478656,"km_value":387909789633478.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6686860261454944256,"description":"Unknown IO ID 45"} 
[2026-08-21 03:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539107584001,"power":27267,"unknown_30":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6686860261454944256}} 
[2026-08-21 03:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":159037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:13:33] local.INFO: GPS data processed {"connection_id":159037,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:13:33] local.INFO: Acknowledgment sent {"connection_id":159037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:14:04] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021206008012da35280054d0b80000b009c30..."} 
[2026-08-21 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021206008012da35280054d0b80000b009c30..."} 
[2026-08-21 03:14:04] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021206008012da35280054d0b80000b009c30..."} 
[2026-08-21 03:14:04] local.INFO: Packet analysis {"connection_id":159037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:14:04] local.INFO: Extracted packet for processing {"connection_id":159037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":765678208,"raw_latitude":88935296,"longitude_deg":76.5678208,"latitude_deg":8.8935296,"altitude":11,"angle":156,"satellites":48,"speed":28,"hex_longitude":"2da35280","hex_latitude":"054d0b80","is_valid_coordinates":true} 
[2026-08-21 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-08-21 03:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539110912001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387910232015110144,"note":"Value kept but may cause issues"} 
[2026-08-21 03:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6682286293085585408,"note":"Value kept but may cause issues"} 
[2026-08-21 03:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787262165000,"timestamp_ms":1787262165000,"timestamp_seconds":1787262165,"priority":1,"record_length":96,"hex_timestamp":"000001a021206008"} 
[2026-08-21 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-08-21 03:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 03:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 03:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539110912001,"66":27397,"30":206,"84":6144,"24":28,"16":387910232015110144,"45":-6682286293085585408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,84,24,16,45]} 
[2026-08-21 03:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539110912001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:14:04] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-21 03:14:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387910232015110144,"km_value":387910232015110.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6682286293085585408,"description":"Unknown IO ID 45"} 
[2026-08-21 03:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539110912001,"power":27397,"unknown_30":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6682286293085585408}} 
[2026-08-21 03:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":159037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:14:04] local.INFO: GPS data processed {"connection_id":159037,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:14:04] local.INFO: Acknowledgment sent {"connection_id":159037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:14:32] local.INFO: TCP Data received {"connection_id":158759,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:14:32] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:14:32] local.INFO: IMEI packet received {"connection_id":158759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":158759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:14:34] local.INFO: TCP Data received {"connection_id":158759,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:14:34] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:14:34] local.INFO: IMEI packet received {"connection_id":158759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":158759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:14:35] local.INFO: TCP Data received {"connection_id":158759,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021208330012da35e00054cf5a8000b008f2f..."} 
[2026-08-21 03:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021208330012da35e00054cf5a8000b008f2f..."} 
[2026-08-21 03:14:35] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021208330012da35e00054cf5a8000b008f2f..."} 
[2026-08-21 03:14:35] local.INFO: Packet analysis {"connection_id":158759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:14:35] local.INFO: Extracted packet for processing {"connection_id":158759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:14:35] local.INFO: GPS Element Parsed {"raw_longitude":765681152,"raw_latitude":88929704,"longitude_deg":76.5681152,"latitude_deg":8.8929704,"altitude":11,"angle":143,"satellites":47,"speed":27,"hex_longitude":"2da35e00","hex_latitude":"054cf5a8","is_valid_coordinates":true} 
[2026-08-21 03:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539114240001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387910536957788160,"note":"Value kept but may cause issues"} 
[2026-08-21 03:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6678134537181233152,"note":"Value kept but may cause issues"} 
[2026-08-21 03:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787262174000,"timestamp_ms":1787262174000,"timestamp_seconds":1787262174,"priority":1,"record_length":96,"hex_timestamp":"000001a021208330"} 
[2026-08-21 03:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 03:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539114240001,"66":27310,"80":206,"84":6144,"24":27,"16":387910536957788160,"45":-6678134537181233152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 03:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539114240001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:14:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 03:14:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387910536957788160,"km_value":387910536957788.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6678134537181233152,"description":"Unknown IO ID 45"} 
[2026-08-21 03:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539114240001,"power":27310,"unknown_80":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6678134537181233152}} 
[2026-08-21 03:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":158759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:14:35] local.INFO: GPS data processed {"connection_id":158759,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:14:35] local.INFO: Acknowledgment sent {"connection_id":158759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:15:06] local.INFO: TCP Data received {"connection_id":158759,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02120a270012da36b00054ce5f0000b00832f..."} 
[2026-08-21 03:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02120a270012da36b00054ce5f0000b00832f..."} 
[2026-08-21 03:15:06] local.INFO: Processing buffer {"connection_id":158759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02120a270012da36b00054ce5f0000b00832f..."} 
[2026-08-21 03:15:06] local.INFO: Packet analysis {"connection_id":158759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:15:06] local.INFO: Extracted packet for processing {"connection_id":158759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02120"} 
[2026-08-21 03:15:06] local.INFO: GPS Element Parsed {"raw_longitude":765684480,"raw_latitude":88925680,"longitude_deg":76.568448,"latitude_deg":8.892568,"altitude":11,"angle":131,"satellites":47,"speed":24,"hex_longitude":"2da36b00","hex_latitude":"054ce5f0","is_valid_coordinates":true} 
[2026-08-21 03:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539116544001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387910790360858624,"note":"Value kept but may cause issues"} 
[2026-08-21 03:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6674897574950492160,"note":"Value kept but may cause issues"} 
[2026-08-21 03:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787262182000,"timestamp_ms":1787262182000,"timestamp_seconds":1787262182,"priority":1,"record_length":96,"hex_timestamp":"000001a02120a270"} 
[2026-08-21 03:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:15: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-08-21 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 03:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539116544001,"66":27343,"80":206,"84":6144,"24":24,"16":387910790360858624,"45":-6674897574950492160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 03:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539116544001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:15:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 03:15:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387910790360858624,"km_value":387910790360858.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6674897574950492160,"description":"Unknown IO ID 45"} 
[2026-08-21 03:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539116544001,"power":27343,"unknown_80":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6674897574950492160}} 
[2026-08-21 03:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":158759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:15:06] local.INFO: GPS data processed {"connection_id":158759,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:15:06] local.INFO: Acknowledgment sent {"connection_id":158759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:15:24] local.INFO: TCP Data received {"connection_id":161281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:24] local.INFO: Processing buffer {"connection_id":161281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:24] local.INFO: IMEI packet received {"connection_id":161281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":161281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:15:25] local.INFO: TCP Data received {"connection_id":161281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:25] local.INFO: Processing buffer {"connection_id":161281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:25] local.INFO: IMEI packet received {"connection_id":161281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":161281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:15:27] local.INFO: TCP Data received {"connection_id":161281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:27] local.INFO: Processing buffer {"connection_id":161281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:27] local.INFO: IMEI packet received {"connection_id":161281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":161281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:15:27] local.INFO: TCP Data received {"connection_id":161281,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:27] local.INFO: Processing buffer {"connection_id":161281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:15:27] local.INFO: IMEI packet received {"connection_id":161281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":161281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:20:32] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:20:32] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:20:32] local.INFO: IMEI packet received {"connection_id":159907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":159907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:20:33] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0212620b0012da62600054b8530000a006926..."} 
[2026-08-21 03:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0212620b0012da62600054b8530000a006926..."} 
[2026-08-21 03:20:33] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0212620b0012da62600054b8530000a006926..."} 
[2026-08-21 03:20:33] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:20:33] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:20:33] local.INFO: GPS Element Parsed {"raw_longitude":765863424,"raw_latitude":88835376,"longitude_deg":76.5863424,"latitude_deg":8.8835376,"altitude":10,"angle":105,"satellites":38,"speed":24,"hex_longitude":"2da62600","hex_latitude":"054b8530","is_valid_coordinates":true} 
[2026-08-21 03:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539209216001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387922275103408128,"note":"Value kept but may cause issues"} 
[2026-08-21 03:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6479202097416402944,"note":"Value kept but may cause issues"} 
[2026-08-21 03:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787262542000,"timestamp_ms":1787262542000,"timestamp_seconds":1787262542,"priority":1,"record_length":96,"hex_timestamp":"000001a0212620b0"} 
[2026-08-21 03:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 03:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539209216001,"66":27463,"111":206,"84":6144,"24":24,"16":387922275103408128,"45":-6479202097416402944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539209216001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:20:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:20:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387922275103408128,"km_value":387922275103408.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6479202097416402944,"description":"Unknown IO ID 45"} 
[2026-08-21 03:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539209216001,"power":27463,"unknown_111":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6479202097416402944}} 
[2026-08-21 03:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:20:33] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:20:33] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:21:04] local.INFO: TCP Data received {"connection_id":159907,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021262880012da62a40054b8340000b008129..."} 
[2026-08-21 03:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021262880012da62a40054b8340000b008129..."} 
[2026-08-21 03:21:04] local.INFO: Processing buffer {"connection_id":159907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021262880012da62a40054b8340000b008129..."} 
[2026-08-21 03:21:04] local.INFO: Packet analysis {"connection_id":159907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:21:04] local.INFO: Extracted packet for processing {"connection_id":159907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:21:04] local.INFO: GPS Element Parsed {"raw_longitude":765864512,"raw_latitude":88834880,"longitude_deg":76.5864512,"latitude_deg":8.883488,"altitude":11,"angle":129,"satellites":41,"speed":21,"hex_longitude":"2da62a40","hex_latitude":"054b8340","is_valid_coordinates":true} 
[2026-08-21 03:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539210752001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387922335232950272,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6474487391556653056,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787262544000,"timestamp_ms":1787262544000,"timestamp_seconds":1787262544,"priority":1,"record_length":96,"hex_timestamp":"000001a021262880"} 
[2026-08-21 03:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 03:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539210752001,"66":27365,"111":206,"84":6144,"24":21,"16":387922335232950272,"45":-6474487391556653056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539210752001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:21:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:21:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387922335232950272,"km_value":387922335232950.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6474487391556653056,"description":"Unknown IO ID 45"} 
[2026-08-21 03:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539210752001,"power":27365,"unknown_111":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6474487391556653056}} 
[2026-08-21 03:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":159907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:21:04] local.INFO: GPS data processed {"connection_id":159907,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:21:04] local.INFO: Acknowledgment sent {"connection_id":159907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:21:32] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:21:32] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:21:32] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:21:37] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:21:37] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:21:37] local.INFO: IMEI packet received {"connection_id":159908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":159908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:21:38] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021262c68012da62bc0054b81a0000b009227..."} 
[2026-08-21 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021262c68012da62bc0054b81a0000b009227..."} 
[2026-08-21 03:21:38] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021262c68012da62bc0054b81a0000b009227..."} 
[2026-08-21 03:21:38] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:21:38] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":765864896,"raw_latitude":88834464,"longitude_deg":76.5864896,"latitude_deg":8.8834464,"altitude":11,"angle":146,"satellites":39,"speed":21,"hex_longitude":"2da62bc0","hex_latitude":"054b81a0","is_valid_coordinates":true} 
[2026-08-21 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539211264001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387922361002754048,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6473291122905759744,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787262545000,"timestamp_ms":1787262545000,"timestamp_seconds":1787262545,"priority":1,"record_length":96,"hex_timestamp":"000001a021262c68"} 
[2026-08-21 03:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 03:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539211264001,"66":27365,"111":206,"84":6144,"24":21,"16":387922361002754048,"45":-6473291122905759744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539211264001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:21:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:21:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387922361002754048,"km_value":387922361002754.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6473291122905759744,"description":"Unknown IO ID 45"} 
[2026-08-21 03:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539211264001,"power":27365,"unknown_111":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6473291122905759744}} 
[2026-08-21 03:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:21:38] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:21:38] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:21:40] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021263050012da62c80054b7fd8000b009f28..."} 
[2026-08-21 03:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021263050012da62c80054b7fd8000b009f28..."} 
[2026-08-21 03:21:40] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021263050012da62c80054b7fd8000b009f28..."} 
[2026-08-21 03:21:40] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:21:40] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:21:40] local.INFO: GPS Element Parsed {"raw_longitude":765865088,"raw_latitude":88834008,"longitude_deg":76.5865088,"latitude_deg":8.8834008,"altitude":11,"angle":159,"satellites":40,"speed":21,"hex_longitude":"2da62c80","hex_latitude":"054b7fd8","is_valid_coordinates":true} 
[2026-08-21 03:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539211520001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387922386772557824,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6472868910440800256,"note":"Value kept but may cause issues"} 
[2026-08-21 03:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787262546000,"timestamp_ms":1787262546000,"timestamp_seconds":1787262546,"priority":1,"record_length":96,"hex_timestamp":"000001a021263050"} 
[2026-08-21 03:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 03:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539211520001,"66":27245,"111":206,"84":6144,"24":21,"16":387922386772557824,"45":-6472868910440800256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539211520001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:21:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:21:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387922386772557824,"km_value":387922386772557.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6472868910440800256,"description":"Unknown IO ID 45"} 
[2026-08-21 03:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539211520001,"power":27245,"unknown_111":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6472868910440800256}} 
[2026-08-21 03:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:21:40] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:21:40] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:22:11] local.INFO: TCP Data received {"connection_id":159908,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021263438012da62d40054b7dd0000b00ab29..."} 
[2026-08-21 03:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021263438012da62d40054b7dd0000b00ab29..."} 
[2026-08-21 03:22:11] local.INFO: Processing buffer {"connection_id":159908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021263438012da62d40054b7dd0000b00ab29..."} 
[2026-08-21 03:22:11] local.INFO: Packet analysis {"connection_id":159908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:22:11] local.INFO: Extracted packet for processing {"connection_id":159908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02126"} 
[2026-08-21 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":765865280,"raw_latitude":88833488,"longitude_deg":76.586528,"latitude_deg":8.8833488,"altitude":11,"angle":171,"satellites":41,"speed":22,"hex_longitude":"2da62d40","hex_latitude":"054b7dd0","is_valid_coordinates":true} 
[2026-08-21 03:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539211776001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387922412542361600,"note":"Value kept but may cause issues"} 
[2026-08-21 03:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6472657804208384000,"note":"Value kept but may cause issues"} 
[2026-08-21 03:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787262547000,"timestamp_ms":1787262547000,"timestamp_seconds":1787262547,"priority":1,"record_length":96,"hex_timestamp":"000001a021263438"} 
[2026-08-21 03:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 03:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539211776001,"66":27245,"111":206,"84":6144,"24":22,"16":387922412542361600,"45":-6472657804208384000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539211776001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:22:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:22:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387922412542361600,"km_value":387922412542361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6472657804208384000,"description":"Unknown IO ID 45"} 
[2026-08-21 03:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539211776001,"power":27245,"unknown_111":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6472657804208384000}} 
[2026-08-21 03:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":159908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:22:11] local.INFO: GPS data processed {"connection_id":159908,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:22:11] local.INFO: Acknowledgment sent {"connection_id":159908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:22:23] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:23] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:23] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:22:25] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:25] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:25] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:22:26] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:26] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:26] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:22:27] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:27] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:22:27] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:27:28] local.INFO: TCP Data received {"connection_id":161284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:27:28] local.INFO: Processing buffer {"connection_id":161284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:27:28] local.INFO: IMEI packet received {"connection_id":161284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":161284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:27:32] local.INFO: TCP Data received {"connection_id":161284,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:27:32] local.INFO: Processing buffer {"connection_id":161284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:27:32] local.INFO: IMEI packet received {"connection_id":161284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":161284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:27:33] local.INFO: TCP Data received {"connection_id":161284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021289980012da67840054b37400011005f2d..."} 
[2026-08-21 03:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021289980012da67840054b37400011005f2d..."} 
[2026-08-21 03:27:33] local.INFO: Processing buffer {"connection_id":161284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021289980012da67840054b37400011005f2d..."} 
[2026-08-21 03:27:33] local.INFO: Packet analysis {"connection_id":161284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:27:33] local.INFO: Extracted packet for processing {"connection_id":161284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:27:33] local.INFO: GPS Element Parsed {"raw_longitude":765884480,"raw_latitude":88815424,"longitude_deg":76.588448,"latitude_deg":8.8815424,"altitude":17,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67840","hex_latitude":"054b3740","is_valid_coordinates":true} 
[2026-08-21 03:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539246848001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787262704000,"timestamp_ms":1787262704000,"timestamp_seconds":1787262704,"priority":1,"record_length":96,"hex_timestamp":"000001a021289980"} 
[2026-08-21 03:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 03:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 03:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539246848001,"66":27908,"102":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,84,24,16,45]} 
[2026-08-21 03:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539246848001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:27:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 03:27:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539246848001,"power":27908,"unknown_102":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":161284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:27:33] local.INFO: GPS data processed {"connection_id":161284,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:27:33] local.INFO: Acknowledgment sent {"connection_id":161284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:28:05] local.INFO: TCP Data received {"connection_id":161284,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021289d68012da67840054b37400011005f2d..."} 
[2026-08-21 03:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021289d68012da67840054b37400011005f2d..."} 
[2026-08-21 03:28:05] local.INFO: Processing buffer {"connection_id":161284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021289d68012da67840054b37400011005f2d..."} 
[2026-08-21 03:28:05] local.INFO: Packet analysis {"connection_id":161284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:28:05] local.INFO: Extracted packet for processing {"connection_id":161284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:28:05] local.INFO: GPS Element Parsed {"raw_longitude":765884480,"raw_latitude":88815424,"longitude_deg":76.588448,"latitude_deg":8.8815424,"altitude":17,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67840","hex_latitude":"054b3740","is_valid_coordinates":true} 
[2026-08-21 03:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539252224001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787262705000,"timestamp_ms":1787262705000,"timestamp_seconds":1787262705,"priority":1,"record_length":96,"hex_timestamp":"000001a021289d68"} 
[2026-08-21 03:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:28: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-08-21 03:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 03:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539252224001,"66":27908,"102":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,84,24,16,45]} 
[2026-08-21 03:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539252224001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:28:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 03:28:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539252224001,"power":27908,"unknown_102":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":161284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:28:05] local.INFO: GPS data processed {"connection_id":161284,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:28:05] local.INFO: Acknowledgment sent {"connection_id":161284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:28:27] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:28:27] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:28:27] local.INFO: IMEI packet received {"connection_id":159041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":159041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:28:32] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:28:32] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:28:32] local.INFO: IMEI packet received {"connection_id":159041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":159041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:28:33] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02128a538012da67840054b37400011005f2d..."} 
[2026-08-21 03:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02128a538012da67840054b37400011005f2d..."} 
[2026-08-21 03:28:33] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02128a538012da67840054b37400011005f2d..."} 
[2026-08-21 03:28:33] local.INFO: Packet analysis {"connection_id":159041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:28:33] local.INFO: Extracted packet for processing {"connection_id":159041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:28:33] local.INFO: GPS Element Parsed {"raw_longitude":765884480,"raw_latitude":88815424,"longitude_deg":76.588448,"latitude_deg":8.8815424,"altitude":17,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67840","hex_latitude":"054b3740","is_valid_coordinates":true} 
[2026-08-21 03:28: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-08-21 03:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539252480001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787262707000,"timestamp_ms":1787262707000,"timestamp_seconds":1787262707,"priority":1,"record_length":96,"hex_timestamp":"000001a02128a538"} 
[2026-08-21 03:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 03:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539252480001,"66":27593,"102":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,84,24,16,45]} 
[2026-08-21 03:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539252480001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 03:28:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539252480001,"power":27593,"unknown_102":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":159041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:28:33] local.INFO: GPS data processed {"connection_id":159041,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:28:33] local.INFO: Acknowledgment sent {"connection_id":159041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:29:04] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02128a920012da67840054b37400011005f2d..."} 
[2026-08-21 03:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02128a920012da67840054b37400011005f2d..."} 
[2026-08-21 03:29:04] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02128a920012da67840054b37400011005f2d..."} 
[2026-08-21 03:29:04] local.INFO: Packet analysis {"connection_id":159041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:29:04] local.INFO: Extracted packet for processing {"connection_id":159041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02128"} 
[2026-08-21 03:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765884480,"raw_latitude":88815424,"longitude_deg":76.588448,"latitude_deg":8.8815424,"altitude":17,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67840","hex_latitude":"054b3740","is_valid_coordinates":true} 
[2026-08-21 03:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539252992001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787262708000,"timestamp_ms":1787262708000,"timestamp_seconds":1787262708,"priority":1,"record_length":96,"hex_timestamp":"000001a02128a920"} 
[2026-08-21 03:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:29: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-08-21 03:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 03:29:04] 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-08-21 03: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-08-21 03:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03: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-08-21 03:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539252992001,"66":26984,"102":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,84,24,16,45]} 
[2026-08-21 03:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539252992001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:29:04] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 03:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539252992001,"power":26984,"unknown_102":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":159041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:29:04] local.INFO: GPS data processed {"connection_id":159041,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:29:04] local.INFO: Acknowledgment sent {"connection_id":159041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:29:27] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:29:27] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:29:27] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:29:32] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:29:32] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:29:32] local.INFO: IMEI packet received {"connection_id":159909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":159909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:29:33] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:29:33] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:29:33] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:29:33] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:29:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539253248001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263010000,"timestamp_ms":1787263010000,"timestamp_seconds":1787263010,"priority":1,"record_length":96,"hex_timestamp":"000001a0212d44d0"} 
[2026-08-21 03:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 03:29:33] 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-08-21 03: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-08-21 03:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539253248001,"66":26408,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539253248001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:29:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:29:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539253248001,"power":26408,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:29:33] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:29:33] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:30:05] local.INFO: TCP Data received {"connection_id":159909,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:30:05] local.INFO: Processing buffer {"connection_id":159909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:30:05] local.INFO: Packet analysis {"connection_id":159909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:30:05] local.INFO: Extracted packet for processing {"connection_id":159909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:30:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539253248001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263010000,"timestamp_ms":1787263010000,"timestamp_seconds":1787263010,"priority":1,"record_length":96,"hex_timestamp":"000001a0212d44d0"} 
[2026-08-21 03:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:30: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-08-21 03:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 03:30:05] 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-08-21 03:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539253248001,"66":26408,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539253248001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:30:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:30:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539253248001,"power":26408,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":159909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:30:05] local.INFO: GPS data processed {"connection_id":159909,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:30:05] local.INFO: Acknowledgment sent {"connection_id":159909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:30:27] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:30:27] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:30:27] local.INFO: IMEI packet received {"connection_id":161285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":161285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:30:32] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:30:32] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:30:32] local.INFO: IMEI packet received {"connection_id":161285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":161285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:30:33] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:30:33] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:30:33] local.INFO: Packet analysis {"connection_id":161285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:30:33] local.INFO: Extracted packet for processing {"connection_id":161285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:30:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539253248001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263010000,"timestamp_ms":1787263010000,"timestamp_seconds":1787263010,"priority":1,"record_length":96,"hex_timestamp":"000001a0212d44d0"} 
[2026-08-21 03:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 03:30:33] 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-08-21 03: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-08-21 03:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539253248001,"66":26408,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539253248001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:30:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:30:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539253248001,"power":26408,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":161285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:30:33] local.INFO: GPS data processed {"connection_id":161285,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:30:33] local.INFO: Acknowledgment sent {"connection_id":161285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:31:05] local.INFO: TCP Data received {"connection_id":161285,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:05] local.INFO: Processing buffer {"connection_id":161285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:05] local.INFO: Packet analysis {"connection_id":161285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:31:05] local.INFO: Extracted packet for processing {"connection_id":161285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:31:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539253248001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263010000,"timestamp_ms":1787263010000,"timestamp_seconds":1787263010,"priority":1,"record_length":96,"hex_timestamp":"000001a0212d44d0"} 
[2026-08-21 03:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:31: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-08-21 03:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 03:31:05] 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-08-21 03:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539253248001,"66":26408,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539253248001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:31:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:31:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539253248001,"power":26408,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":161285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:31:05] local.INFO: GPS data processed {"connection_id":161285,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:31:05] local.INFO: Acknowledgment sent {"connection_id":161285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:31:32] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:31:32] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:31:32] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:31:37] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:31:37] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:31:37] local.INFO: IMEI packet received {"connection_id":159910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":159910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:31:38] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:38] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:38] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:31:38] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:31:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539253248001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787263010000,"timestamp_ms":1787263010000,"timestamp_seconds":1787263010,"priority":1,"record_length":96,"hex_timestamp":"000001a0212d44d0"} 
[2026-08-21 03:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 03:31:38] 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-08-21 03:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539253248001,"66":26408,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539253248001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:31:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:31:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539253248001,"power":26408,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:31:38] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:31:38] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:31:43] local.INFO: TCP Data received {"connection_id":159910,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:43] local.INFO: Processing buffer {"connection_id":159910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0212d44d0012da67700054b3710001e005f29..."} 
[2026-08-21 03:31:43] local.INFO: Packet analysis {"connection_id":159910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:31:43] local.INFO: Extracted packet for processing {"connection_id":159910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0212d"} 
[2026-08-21 03:31:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539253248001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727309312,"note":"Value kept but may cause issues"} 
[2026-08-21 03:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787263010000,"timestamp_ms":1787263010000,"timestamp_seconds":1787263010,"priority":1,"record_length":96,"hex_timestamp":"000001a0212d44d0"} 
[2026-08-21 03:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 03:31:43] 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-08-21 03:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539253248001,"66":26408,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451336074727309312},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539253248001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:31:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:31:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727309312,"description":"Unknown IO ID 45"} 
[2026-08-21 03:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539253248001,"power":26408,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451336074727309312}} 
[2026-08-21 03:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":159910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:31:43] local.INFO: GPS data processed {"connection_id":159910,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:31:43] local.INFO: Acknowledgment sent {"connection_id":159910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:32:27] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:32:27] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:32:27] local.INFO: IMEI packet received {"connection_id":159042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":159042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:32:29] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:32:29] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:32:29] local.INFO: IMEI packet received {"connection_id":159042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":159042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:32:30] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:32:30] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:32:30] local.INFO: Packet analysis {"connection_id":159042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:32:30] local.INFO: Extracted packet for processing {"connection_id":159042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:32:30] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":159042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:32:30] local.INFO: GPS data processed {"connection_id":159042,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:32:30] local.INFO: Acknowledgment sent {"connection_id":159042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:33:01] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:33:01] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:33:01] local.INFO: Packet analysis {"connection_id":159042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:33:01] local.INFO: Extracted packet for processing {"connection_id":159042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:33:01] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:33:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":159042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:33:01] local.INFO: GPS data processed {"connection_id":159042,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:33:01] local.INFO: Acknowledgment sent {"connection_id":159042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:33:27] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:33:27] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:33:27] local.INFO: IMEI packet received {"connection_id":159043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":159043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:33:32] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:33:32] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:33:32] local.INFO: IMEI packet received {"connection_id":159043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":159043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:33:33] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:33:33] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:33:33] local.INFO: Packet analysis {"connection_id":159043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:33:33] local.INFO: Extracted packet for processing {"connection_id":159043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:33:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:33:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:33:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":159043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:33:33] local.INFO: GPS data processed {"connection_id":159043,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:33:33] local.INFO: Acknowledgment sent {"connection_id":159043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:34:05] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:34:05] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:34:05] local.INFO: Packet analysis {"connection_id":159043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:34:05] local.INFO: Extracted packet for processing {"connection_id":159043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:34:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:34:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:34:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":159043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:34:05] local.INFO: GPS data processed {"connection_id":159043,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:34:05] local.INFO: Acknowledgment sent {"connection_id":159043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:34:27] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:34:27] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:34:27] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:34:32] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:34:32] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:34:32] local.INFO: IMEI packet received {"connection_id":159911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":159911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:34:33] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:34:33] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:34:33] local.INFO: Packet analysis {"connection_id":159911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:34:33] local.INFO: Extracted packet for processing {"connection_id":159911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:34:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:34:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:34:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":159911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:34:33] local.INFO: GPS data processed {"connection_id":159911,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:34:33] local.INFO: Acknowledgment sent {"connection_id":159911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:35:04] local.INFO: TCP Data received {"connection_id":159911,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:35:04] local.INFO: Processing buffer {"connection_id":159911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:35:04] local.INFO: Packet analysis {"connection_id":159911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:35:04] local.INFO: Extracted packet for processing {"connection_id":159911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:35:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:35:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:35:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":159911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:35:04] local.INFO: GPS data processed {"connection_id":159911,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:35:04] local.INFO: Acknowledgment sent {"connection_id":159911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:35:27] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:35:27] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:35:27] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:35:32] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:35:32] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:35:32] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:35:33] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:35:33] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:35:33] local.INFO: Packet analysis {"connection_id":159044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:35:33] local.INFO: Extracted packet for processing {"connection_id":159044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:35:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:35:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:35:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":159044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:35:33] local.INFO: GPS data processed {"connection_id":159044,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:35:33] local.INFO: Acknowledgment sent {"connection_id":159044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:36:05] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:36:05] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:36:05] local.INFO: Packet analysis {"connection_id":159044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:36:05] local.INFO: Extracted packet for processing {"connection_id":159044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:36:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:36:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:36:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":159044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:36:05] local.INFO: GPS data processed {"connection_id":159044,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:36:05] local.INFO: Acknowledgment sent {"connection_id":159044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:36:29] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:36:29] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:36:29] local.INFO: IMEI packet received {"connection_id":158763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":158763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:36:32] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:36:32] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:36:32] local.INFO: IMEI packet received {"connection_id":158763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":158763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:36:33] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:36:33] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:36:33] local.INFO: Packet analysis {"connection_id":158763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:36:33] local.INFO: Extracted packet for processing {"connection_id":158763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:36:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 03:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:36:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:36:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":158763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:36:33] local.INFO: GPS data processed {"connection_id":158763,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:36:33] local.INFO: Acknowledgment sent {"connection_id":158763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:37:04] local.INFO: TCP Data received {"connection_id":158763,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:37:04] local.INFO: Processing buffer {"connection_id":158763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02131dc98012da67700054b3710001e005f2d..."} 
[2026-08-21 03:37:04] local.INFO: Packet analysis {"connection_id":158763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:37:04] local.INFO: Extracted packet for processing {"connection_id":158763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02131"} 
[2026-08-21 03:37:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":30,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 03:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539330560001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787263311000,"timestamp_ms":1787263311000,"timestamp_seconds":1787263311,"priority":1,"record_length":96,"hex_timestamp":"000001a02131dc98"} 
[2026-08-21 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-08-21 03:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 03:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 03:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539330560001,"66":26115,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539330560001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:37:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:37:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539330560001,"power":26115,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":158763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:37:04] local.INFO: GPS data processed {"connection_id":158763,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:37:04] local.INFO: Acknowledgment sent {"connection_id":158763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:37:31] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:31] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:31] local.INFO: IMEI packet received {"connection_id":161286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":161286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:37:32] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:32] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:32] local.INFO: IMEI packet received {"connection_id":161286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":161286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:37:37] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:37] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:37:37] local.INFO: IMEI packet received {"connection_id":161286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":161286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:37:38] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:37:38] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:37:38] local.INFO: Packet analysis {"connection_id":161286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:37:38] local.INFO: Extracted packet for processing {"connection_id":161286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:37:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:37:38] 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-08-21 03:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:37:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:37:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":161286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:37:38] local.INFO: GPS data processed {"connection_id":161286,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:37:38] local.INFO: Acknowledgment sent {"connection_id":161286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:38:09] local.INFO: TCP Data received {"connection_id":161286,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:38:09] local.INFO: Processing buffer {"connection_id":161286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:38:09] local.INFO: Packet analysis {"connection_id":161286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:38:09] local.INFO: Extracted packet for processing {"connection_id":161286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:38:09] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:38:09] 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-08-21 03:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":161286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:38:09] local.INFO: GPS data processed {"connection_id":161286,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:38:09] local.INFO: Acknowledgment sent {"connection_id":161286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:38:27] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:38:27] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:38:27] local.INFO: IMEI packet received {"connection_id":158764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":158764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:38:32] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:38:32] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:38:32] local.INFO: IMEI packet received {"connection_id":158764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":158764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:38:33] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:38:33] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:38:33] local.INFO: Packet analysis {"connection_id":158764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:38:33] local.INFO: Extracted packet for processing {"connection_id":158764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:38:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:38:33] 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-08-21 03:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:38:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:38:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":158764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:38:33] local.INFO: GPS data processed {"connection_id":158764,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:38:33] local.INFO: Acknowledgment sent {"connection_id":158764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:39:04] local.INFO: TCP Data received {"connection_id":158764,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:39:04] local.INFO: Processing buffer {"connection_id":158764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:39:04] local.INFO: Packet analysis {"connection_id":158764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:39:04] local.INFO: Extracted packet for processing {"connection_id":158764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:39:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:39: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-08-21 03: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:39:04] 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-08-21 03:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:39:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:39:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":158764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:39:04] local.INFO: GPS data processed {"connection_id":158764,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:39:04] local.INFO: Acknowledgment sent {"connection_id":158764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:39:27] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:39:27] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:39:27] local.INFO: IMEI packet received {"connection_id":159045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":159045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:39:32] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:39:32] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:39:32] local.INFO: IMEI packet received {"connection_id":159045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":159045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:39:33] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:39:33] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:39:33] local.INFO: Packet analysis {"connection_id":159045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:39:33] local.INFO: Extracted packet for processing {"connection_id":159045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:39:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:39:33] 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-08-21 03:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:39:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:39:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":159045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:39:33] local.INFO: GPS data processed {"connection_id":159045,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:39:33] local.INFO: Acknowledgment sent {"connection_id":159045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:40:05] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:40:05] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:40:05] local.INFO: Packet analysis {"connection_id":159045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:40:05] local.INFO: Extracted packet for processing {"connection_id":159045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:40:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03: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-08-21 03: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:40:05] 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-08-21 03:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:40:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:40:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":159045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:40:05] local.INFO: GPS data processed {"connection_id":159045,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:40:05] local.INFO: Acknowledgment sent {"connection_id":159045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:40:27] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:40:27] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:40:27] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:40:32] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:40:32] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:40:32] local.INFO: IMEI packet received {"connection_id":159913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":159913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:40:33] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:40:33] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:40:33] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:40:33] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:40:33] 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-08-21 03:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:40:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:40:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:40:33] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:40:33] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:41:04] local.INFO: TCP Data received {"connection_id":159913,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:41:04] local.INFO: Processing buffer {"connection_id":159913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:41:04] local.INFO: Packet analysis {"connection_id":159913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:41:04] local.INFO: Extracted packet for processing {"connection_id":159913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:41:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:41: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-08-21 03:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:41:04] 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-08-21 03:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:41:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:41:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":159913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:41:04] local.INFO: GPS data processed {"connection_id":159913,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:41:04] local.INFO: Acknowledgment sent {"connection_id":159913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:41:27] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:41:27] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:41:27] local.INFO: IMEI packet received {"connection_id":159046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":159046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:41:32] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:41:32] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:41:32] local.INFO: IMEI packet received {"connection_id":159046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":159046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:41:33] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:41:33] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:41:33] local.INFO: Packet analysis {"connection_id":159046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:41:33] local.INFO: Extracted packet for processing {"connection_id":159046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:41:33] 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-08-21 03:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:41:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:41:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":159046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:41:33] local.INFO: GPS data processed {"connection_id":159046,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:41:33] local.INFO: Acknowledgment sent {"connection_id":159046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:42:05] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:42:05] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021367460012da67700054b37100016005f2b..."} 
[2026-08-21 03:42:05] local.INFO: Packet analysis {"connection_id":159046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:42:05] local.INFO: Extracted packet for processing {"connection_id":159046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02136"} 
[2026-08-21 03:42:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539407616001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263612000,"timestamp_ms":1787263612000,"timestamp_seconds":1787263612,"priority":1,"record_length":96,"hex_timestamp":"000001a021367460"} 
[2026-08-21 03:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:42: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-08-21 03:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 03:42:05] 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-08-21 03:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539407616001,"66":25962,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539407616001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:42:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:42:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539407616001,"power":25962,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":159046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:42:05] local.INFO: GPS data processed {"connection_id":159046,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:42:05] local.INFO: Acknowledgment sent {"connection_id":159046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:42:31] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:31] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:31] local.INFO: IMEI packet received {"connection_id":158765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":158765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:42:32] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:32] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:32] local.INFO: IMEI packet received {"connection_id":158765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":158765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:42:37] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:37] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:42:37] local.INFO: IMEI packet received {"connection_id":158765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:42:37] local.INFO: IMEI acknowledgment sent {"connection_id":158765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:42:38] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:42:38] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:42:38] local.INFO: Packet analysis {"connection_id":158765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:42:38] local.INFO: Extracted packet for processing {"connection_id":158765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:42:38] 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-08-21 03:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:42:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:42:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":158765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:42:38] local.INFO: GPS data processed {"connection_id":158765,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:42:38] local.INFO: Acknowledgment sent {"connection_id":158765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:42:43] local.INFO: TCP Data received {"connection_id":158765,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:42:43] local.INFO: Processing buffer {"connection_id":158765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:42:43] local.INFO: Packet analysis {"connection_id":158765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:42:43] local.INFO: Extracted packet for processing {"connection_id":158765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:42:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:42:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:42:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:42:43] 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-08-21 03:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:42:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:42:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":158765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:42:43] local.INFO: GPS data processed {"connection_id":158765,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:42:43] local.INFO: Acknowledgment sent {"connection_id":158765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:43:27] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:43:27] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:43:27] local.INFO: IMEI packet received {"connection_id":161287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":161287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:43:32] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:43:32] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:43:32] local.INFO: IMEI packet received {"connection_id":161287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":161287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:43:33] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:43:33] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:43:33] local.INFO: Packet analysis {"connection_id":161287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:43:33] local.INFO: Extracted packet for processing {"connection_id":161287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:43:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:43:33] 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-08-21 03:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:43:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:43:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":161287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:43:33] local.INFO: GPS data processed {"connection_id":161287,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:43:33] local.INFO: Acknowledgment sent {"connection_id":161287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:44:04] local.INFO: TCP Data received {"connection_id":161287,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:44:04] local.INFO: Processing buffer {"connection_id":161287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:44:04] local.INFO: Packet analysis {"connection_id":161287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:44:04] local.INFO: Extracted packet for processing {"connection_id":161287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:44:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:44: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-08-21 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:44:04] 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-08-21 03: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-08-21 03:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:44:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:44:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":161287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:44:04] local.INFO: GPS data processed {"connection_id":161287,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:44:04] local.INFO: Acknowledgment sent {"connection_id":161287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:44:27] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:44:27] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:44:27] local.INFO: IMEI packet received {"connection_id":159047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":159047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:44:32] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:44:32] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:44:32] local.INFO: IMEI packet received {"connection_id":159047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":159047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:44:33] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:44:33] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:44:33] local.INFO: Packet analysis {"connection_id":159047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:44:33] local.INFO: Extracted packet for processing {"connection_id":159047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:44:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:44:33] 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-08-21 03:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:44:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:44:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":159047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:44:33] local.INFO: GPS data processed {"connection_id":159047,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:44:33] local.INFO: Acknowledgment sent {"connection_id":159047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:45:04] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:45:04] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:45:04] local.INFO: Packet analysis {"connection_id":159047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:45:04] local.INFO: Extracted packet for processing {"connection_id":159047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:45:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:45: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-08-21 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:45:04] 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-08-21 03: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-08-21 03:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:45:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:45:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":159047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:45:04] local.INFO: GPS data processed {"connection_id":159047,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:45:04] local.INFO: Acknowledgment sent {"connection_id":159047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:45:27] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:45:27] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:45:27] local.INFO: IMEI packet received {"connection_id":161288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":161288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:45:32] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:45:32] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:45:32] local.INFO: IMEI packet received {"connection_id":161288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":161288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:45:33] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:45:33] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:45:33] local.INFO: Packet analysis {"connection_id":161288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:45:33] local.INFO: Extracted packet for processing {"connection_id":161288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:45:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:45:33] 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-08-21 03:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:45:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:45:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":161288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:45:33] local.INFO: GPS data processed {"connection_id":161288,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:45:33] local.INFO: Acknowledgment sent {"connection_id":161288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:46:05] local.INFO: TCP Data received {"connection_id":161288,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:46:05] local.INFO: Processing buffer {"connection_id":161288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:46:05] local.INFO: Packet analysis {"connection_id":161288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:46:05] local.INFO: Extracted packet for processing {"connection_id":161288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:46:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:46: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-08-21 03:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:46:05] 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-08-21 03:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:46:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:46:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":161288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:46:05] local.INFO: GPS data processed {"connection_id":161288,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:46:05] local.INFO: Acknowledgment sent {"connection_id":161288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:46:27] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:46:27] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:46:27] local.INFO: IMEI packet received {"connection_id":159048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":159048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:46:32] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:46:32] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:46:32] local.INFO: IMEI packet received {"connection_id":159048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":159048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:46:33] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:46:33] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:46:33] local.INFO: Packet analysis {"connection_id":159048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:46:33] local.INFO: Extracted packet for processing {"connection_id":159048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:46:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:46:33] 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-08-21 03: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-08-21 03:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:46:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:46:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":159048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:46:33] local.INFO: GPS data processed {"connection_id":159048,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:46:33] local.INFO: Acknowledgment sent {"connection_id":159048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:47:05] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:47:05] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213b0c28012da67700054b37100016005f30..."} 
[2026-08-21 03:47:05] local.INFO: Packet analysis {"connection_id":159048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:47:05] local.INFO: Extracted packet for processing {"connection_id":159048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213b"} 
[2026-08-21 03:47:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787263913000,"timestamp_ms":1787263913000,"timestamp_seconds":1787263913,"priority":1,"record_length":96,"hex_timestamp":"000001a0213b0c28"} 
[2026-08-21 03:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03: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-08-21 03: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 03:47:05] 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-08-21 03:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539484672001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:47:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:47:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539484672001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":159048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:47:05] local.INFO: GPS data processed {"connection_id":159048,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:47:05] local.INFO: Acknowledgment sent {"connection_id":159048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:47:32] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:32] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:32] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:47:32] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:32] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:32] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:47:37] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:37] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:47:37] local.INFO: IMEI packet received {"connection_id":159914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":159914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:47:38] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:47:38] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:47:38] local.INFO: Packet analysis {"connection_id":159914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:47:38] local.INFO: Extracted packet for processing {"connection_id":159914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:47:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:47: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":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:47:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:47:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":159914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:47:38] local.INFO: GPS data processed {"connection_id":159914,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:47:38] local.INFO: Acknowledgment sent {"connection_id":159914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:47:43] local.INFO: TCP Data received {"connection_id":159914,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:47:43] local.INFO: Processing buffer {"connection_id":159914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:47:43] local.INFO: Packet analysis {"connection_id":159914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:47:43] local.INFO: Extracted packet for processing {"connection_id":159914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:47:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:47:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:47:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":159914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:47:43] local.INFO: GPS data processed {"connection_id":159914,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:47:43] local.INFO: Acknowledgment sent {"connection_id":159914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:48:27] local.INFO: TCP Data received {"connection_id":158766,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:48:27] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:48:27] local.INFO: IMEI packet received {"connection_id":158766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":158766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:48:32] local.INFO: TCP Data received {"connection_id":158766,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:48:32] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:48:32] local.INFO: IMEI packet received {"connection_id":158766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":158766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:48:33] local.INFO: TCP Data received {"connection_id":158766,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:48:33] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:48:33] local.INFO: Packet analysis {"connection_id":158766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:48:33] local.INFO: Extracted packet for processing {"connection_id":158766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:48:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:48:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":158766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:48:33] local.INFO: GPS data processed {"connection_id":158766,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:48:33] local.INFO: Acknowledgment sent {"connection_id":158766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:49:04] local.INFO: TCP Data received {"connection_id":158766,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:49:04] local.INFO: Processing buffer {"connection_id":158766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:49:04] local.INFO: Packet analysis {"connection_id":158766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:49:04] local.INFO: Extracted packet for processing {"connection_id":158766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:49:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:49: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-08-21 03: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:49:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:49:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":158766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:49:04] local.INFO: GPS data processed {"connection_id":158766,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:49:04] local.INFO: Acknowledgment sent {"connection_id":158766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:49:27] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:49:27] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:49:27] local.INFO: IMEI packet received {"connection_id":161289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":161289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:49:32] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:49:32] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:49:32] local.INFO: IMEI packet received {"connection_id":161289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":161289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:49:36] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:49:36] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:49:36] local.INFO: Packet analysis {"connection_id":161289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:49:36] local.INFO: Extracted packet for processing {"connection_id":161289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:49:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:49:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:49:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:49:36] local.INFO: GPS data processed {"connection_id":161289,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:49:36] local.INFO: Acknowledgment sent {"connection_id":161289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:50:07] local.INFO: TCP Data received {"connection_id":161289,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:50:07] local.INFO: Processing buffer {"connection_id":161289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:50:07] local.INFO: Packet analysis {"connection_id":161289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:50:07] local.INFO: Extracted packet for processing {"connection_id":161289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:50:07] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:50:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:50:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":161289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:50:07] local.INFO: GPS data processed {"connection_id":161289,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:50:07] local.INFO: Acknowledgment sent {"connection_id":161289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:50:27] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:50:27] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:50:27] local.INFO: IMEI packet received {"connection_id":159049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":159049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:50:32] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:50:32] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:50:32] local.INFO: IMEI packet received {"connection_id":159049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":159049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:50:33] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:50:33] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:50:33] local.INFO: Packet analysis {"connection_id":159049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:50:33] local.INFO: Extracted packet for processing {"connection_id":159049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:50:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:50:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:50:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":159049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:50:33] local.INFO: GPS data processed {"connection_id":159049,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:50:33] local.INFO: Acknowledgment sent {"connection_id":159049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:51:04] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:51:04] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:51:04] local.INFO: Packet analysis {"connection_id":159049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:51:04] local.INFO: Extracted packet for processing {"connection_id":159049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:51:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:51: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-08-21 03: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:51:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:51:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":159049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:51:04] local.INFO: GPS data processed {"connection_id":159049,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:51:04] local.INFO: Acknowledgment sent {"connection_id":159049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:51:27] local.INFO: TCP Data received {"connection_id":158767,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:51:27] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:51:27] local.INFO: IMEI packet received {"connection_id":158767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":158767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:51:32] local.INFO: TCP Data received {"connection_id":158767,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:51:32] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:51:32] local.INFO: IMEI packet received {"connection_id":158767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":158767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:51:33] local.INFO: TCP Data received {"connection_id":158767,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:51:33] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:51:33] local.INFO: Packet analysis {"connection_id":158767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:51:33] local.INFO: Extracted packet for processing {"connection_id":158767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:51:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:51:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:51:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":158767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:51:33] local.INFO: GPS data processed {"connection_id":158767,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:51:33] local.INFO: Acknowledgment sent {"connection_id":158767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:52:04] local.INFO: TCP Data received {"connection_id":158767,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:52:04] local.INFO: Processing buffer {"connection_id":158767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0213fa3f0012da67700054b37100016005f30..."} 
[2026-08-21 03:52:04] local.INFO: Packet analysis {"connection_id":158767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:52:04] local.INFO: Extracted packet for processing {"connection_id":158767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0213f"} 
[2026-08-21 03:52:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539561728001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264214000,"timestamp_ms":1787264214000,"timestamp_seconds":1787264214,"priority":1,"record_length":96,"hex_timestamp":"000001a0213fa3f0"} 
[2026-08-21 03:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:52: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-08-21 03: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03: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-08-21 03:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539561728001,"66":25832,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539561728001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539561728001,"power":25832,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":158767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:52:04] local.INFO: GPS data processed {"connection_id":158767,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:52:04] local.INFO: Acknowledgment sent {"connection_id":158767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:52:32] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:52:32] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:52:32] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:52:33] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:52:33] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:52:33] local.INFO: IMEI packet received {"connection_id":159915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":159915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:52:34] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:52:34] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:52:34] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:52:34] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:52:34] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:52:34] 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-08-21 03:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:52:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:52:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:52:34] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:52:34] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:52:38] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:52:38] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:52:38] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:52:38] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:52:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:52:38] 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-08-21 03:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:52:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:52:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:52:38] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:52:38] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:53:08] local.INFO: TCP Data received {"connection_id":159915,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:53:08] local.INFO: Processing buffer {"connection_id":159915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:53:08] local.INFO: Packet analysis {"connection_id":159915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:53:08] local.INFO: Extracted packet for processing {"connection_id":159915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:53:08] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:53: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":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:53:08] 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-08-21 03:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:53:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:53:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":159915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:53:09] local.INFO: GPS data processed {"connection_id":159915,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:53:09] local.INFO: Acknowledgment sent {"connection_id":159915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:53:27] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:53:27] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:53:27] local.INFO: IMEI packet received {"connection_id":161290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":161290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:53:32] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:53:32] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:53:32] local.INFO: IMEI packet received {"connection_id":161290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":161290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:53:33] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:53:33] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:53:33] local.INFO: Packet analysis {"connection_id":161290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:53:33] local.INFO: Extracted packet for processing {"connection_id":161290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:53:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:53:33] 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-08-21 03:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:53:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:53:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":161290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:53:33] local.INFO: GPS data processed {"connection_id":161290,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:53:33] local.INFO: Acknowledgment sent {"connection_id":161290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:54:04] local.INFO: TCP Data received {"connection_id":161290,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:54:04] local.INFO: Processing buffer {"connection_id":161290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:54:04] local.INFO: Packet analysis {"connection_id":161290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:54:04] local.INFO: Extracted packet for processing {"connection_id":161290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:54:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03: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-08-21 03:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:54:04] 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-08-21 03: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-08-21 03:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:54:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:54:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":161290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:54:04] local.INFO: GPS data processed {"connection_id":161290,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:54:04] local.INFO: Acknowledgment sent {"connection_id":161290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:54:27] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:54:27] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:54:27] local.INFO: IMEI packet received {"connection_id":159050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":159050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:54:32] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:54:32] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:54:32] local.INFO: IMEI packet received {"connection_id":159050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":159050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:54:33] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:54:33] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:54:33] local.INFO: Packet analysis {"connection_id":159050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:54:33] local.INFO: Extracted packet for processing {"connection_id":159050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:54:33] 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-08-21 03:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:54:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:54:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":159050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:54:33] local.INFO: GPS data processed {"connection_id":159050,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:54:33] local.INFO: Acknowledgment sent {"connection_id":159050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:55:05] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:55:05] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:55:05] local.INFO: Packet analysis {"connection_id":159050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:55:05] local.INFO: Extracted packet for processing {"connection_id":159050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:55:05] 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-08-21 03:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:55:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:55:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":159050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:55:05] local.INFO: GPS data processed {"connection_id":159050,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:55:05] local.INFO: Acknowledgment sent {"connection_id":159050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:55:27] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:55:27] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:55:27] local.INFO: IMEI packet received {"connection_id":158768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":158768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:55:32] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:55:32] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:55:32] local.INFO: IMEI packet received {"connection_id":158768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":158768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:55:33] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:55:33] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:55:33] local.INFO: Packet analysis {"connection_id":158768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:55:33] local.INFO: Extracted packet for processing {"connection_id":158768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:55:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:55:33] 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-08-21 03: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-08-21 03:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:55:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:55:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":158768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:55:33] local.INFO: GPS data processed {"connection_id":158768,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:55:33] local.INFO: Acknowledgment sent {"connection_id":158768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:56:05] local.INFO: TCP Data received {"connection_id":158768,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:05] local.INFO: Processing buffer {"connection_id":158768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:05] local.INFO: Packet analysis {"connection_id":158768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:56:05] local.INFO: Extracted packet for processing {"connection_id":158768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:56:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:56:05] 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-08-21 03:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:56:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:56:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":158768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:56:05] local.INFO: GPS data processed {"connection_id":158768,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:56:05] local.INFO: Acknowledgment sent {"connection_id":158768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:56:32] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:56:32] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:56:32] local.INFO: IMEI packet received {"connection_id":159916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":159916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:56:37] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:56:37] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:56:37] local.INFO: IMEI packet received {"connection_id":159916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":159916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:56:38] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:38] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:38] local.INFO: Packet analysis {"connection_id":159916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:56:38] local.INFO: Extracted packet for processing {"connection_id":159916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:56:38] 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-08-21 03:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:56:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:56:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":159916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:56:38] local.INFO: GPS data processed {"connection_id":159916,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:56:38] local.INFO: Acknowledgment sent {"connection_id":159916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:56:42] local.INFO: TCP Data received {"connection_id":159916,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:42] local.INFO: Processing buffer {"connection_id":159916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:56:42] local.INFO: Packet analysis {"connection_id":159916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:56:42] local.INFO: Extracted packet for processing {"connection_id":159916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:56:42] 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-08-21 03:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:56:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:56:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":159916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:56:42] local.INFO: GPS data processed {"connection_id":159916,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:56:42] local.INFO: Acknowledgment sent {"connection_id":159916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:57:27] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:57:27] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:57:27] local.INFO: IMEI packet received {"connection_id":159917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":159917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:57:32] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:57:32] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:57:32] local.INFO: IMEI packet received {"connection_id":159917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":159917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:57:33] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:57:33] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021443bb8012da67700054b37100016005f30..."} 
[2026-08-21 03:57:33] local.INFO: Packet analysis {"connection_id":159917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:57:33] local.INFO: Extracted packet for processing {"connection_id":159917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02144"} 
[2026-08-21 03:57:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":22,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264515000,"timestamp_ms":1787264515000,"timestamp_seconds":1787264515,"priority":1,"record_length":96,"hex_timestamp":"000001a021443bb8"} 
[2026-08-21 03:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 03:57:33] 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-08-21 03:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539638784001,"66":25778,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:57:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:57:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539638784001,"power":25778,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":159917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:57:33] local.INFO: GPS data processed {"connection_id":159917,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:57:33] local.INFO: Acknowledgment sent {"connection_id":159917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:58:04] local.INFO: TCP Data received {"connection_id":159917,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:58:04] local.INFO: Processing buffer {"connection_id":159917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:58:04] local.INFO: Packet analysis {"connection_id":159917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:58:04] local.INFO: Extracted packet for processing {"connection_id":159917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:58:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 03:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 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-08-21 03: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-08-21 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 03:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:58:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:58:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":159917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:58:04] local.INFO: GPS data processed {"connection_id":159917,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:58:04] local.INFO: Acknowledgment sent {"connection_id":159917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:58:27] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:58:27] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:58:27] local.INFO: IMEI packet received {"connection_id":161291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":161291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:58:32] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:58:32] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:58:32] local.INFO: IMEI packet received {"connection_id":161291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":161291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:58:33] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:58:33] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:58:33] local.INFO: Packet analysis {"connection_id":161291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:58:33] local.INFO: Extracted packet for processing {"connection_id":161291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 03:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:58:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:58:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":161291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:58:33] local.INFO: GPS data processed {"connection_id":161291,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:58:33] local.INFO: Acknowledgment sent {"connection_id":161291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:59:04] local.INFO: TCP Data received {"connection_id":161291,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:59:04] local.INFO: Processing buffer {"connection_id":161291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:59:04] local.INFO: Packet analysis {"connection_id":161291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:59:04] local.INFO: Extracted packet for processing {"connection_id":161291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:59:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 03:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:59: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-08-21 03:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:59:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:59:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":161291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:59:04] local.INFO: GPS data processed {"connection_id":161291,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:59:04] local.INFO: Acknowledgment sent {"connection_id":161291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 03:59:27] local.INFO: TCP Data received {"connection_id":158769,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:59:27] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:59:27] local.INFO: IMEI packet received {"connection_id":158769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 03:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":158769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 03:59:32] local.INFO: TCP Data received {"connection_id":158769,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:59:32] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 03:59:32] local.INFO: IMEI packet received {"connection_id":158769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 03:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":158769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 03:59:33] local.INFO: TCP Data received {"connection_id":158769,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:59:33] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 03:59:33] local.INFO: Packet analysis {"connection_id":158769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:59:33] local.INFO: Extracted packet for processing {"connection_id":158769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 03:59:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 03:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 03:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 03:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 03:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 03:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 03:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 03:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 03:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 03:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 03:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 03:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 03:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 03:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 03:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 03:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 03:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 03:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 03:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 03:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 03:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 03:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 03:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 03:59:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 03:59:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 03:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 03:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 03:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 03:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":158769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 03:59:33] local.INFO: GPS data processed {"connection_id":158769,"processed":1,"errors":0,"total":1} 
[2026-08-21 03:59:33] local.INFO: Acknowledgment sent {"connection_id":158769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:00:04] local.INFO: TCP Data received {"connection_id":158769,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:00:04] local.INFO: Processing buffer {"connection_id":158769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:00:04] local.INFO: Packet analysis {"connection_id":158769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:00:04] local.INFO: Extracted packet for processing {"connection_id":158769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:00:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 04:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:00: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-08-21 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 04:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:00:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:00:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":158769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:00:04] local.INFO: GPS data processed {"connection_id":158769,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:00:04] local.INFO: Acknowledgment sent {"connection_id":158769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:00:27] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:00:27] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:00:27] local.INFO: IMEI packet received {"connection_id":161292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":161292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:00:32] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:00:32] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:00:32] local.INFO: IMEI packet received {"connection_id":161292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":161292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:00:36] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:00:36] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:00:36] local.INFO: Packet analysis {"connection_id":161292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:00:36] local.INFO: Extracted packet for processing {"connection_id":161292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:00:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 04:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 04:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:00:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:00:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":161292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:00:36] local.INFO: GPS data processed {"connection_id":161292,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:00:36] local.INFO: Acknowledgment sent {"connection_id":161292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:01:07] local.INFO: TCP Data received {"connection_id":161292,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:01:07] local.INFO: Processing buffer {"connection_id":161292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:01:07] local.INFO: Packet analysis {"connection_id":161292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:01:07] local.INFO: Extracted packet for processing {"connection_id":161292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:01:07] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 04:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 04:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:01:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:01:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":161292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:01:07] local.INFO: GPS data processed {"connection_id":161292,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:01:07] local.INFO: Acknowledgment sent {"connection_id":161292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:01:27] local.INFO: TCP Data received {"connection_id":158770,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:01:27] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:01:27] local.INFO: IMEI packet received {"connection_id":158770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":158770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:01:32] local.INFO: TCP Data received {"connection_id":158770,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:01:32] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:01:32] local.INFO: IMEI packet received {"connection_id":158770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":158770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:01:33] local.INFO: TCP Data received {"connection_id":158770,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:01:33] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:01:33] local.INFO: Packet analysis {"connection_id":158770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:01:33] local.INFO: Extracted packet for processing {"connection_id":158770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:01:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 04:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 04:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:01: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-08-21 04:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:01:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:01:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":158770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:01:33] local.INFO: GPS data processed {"connection_id":158770,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:01:33] local.INFO: Acknowledgment sent {"connection_id":158770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:02:04] local.INFO: TCP Data received {"connection_id":158770,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:04] local.INFO: Processing buffer {"connection_id":158770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02148d380012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:04] local.INFO: Packet analysis {"connection_id":158770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:02:04] local.INFO: Extracted packet for processing {"connection_id":158770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02148"} 
[2026-08-21 04:02:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539715840001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787264816000,"timestamp_ms":1787264816000,"timestamp_seconds":1787264816,"priority":1,"record_length":96,"hex_timestamp":"000001a02148d380"} 
[2026-08-21 04:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:02: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-08-21 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 04:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:02: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-08-21 04:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539715840001,"66":25691,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539715840001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:02:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:02:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539715840001,"power":25691,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":158770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:02:04] local.INFO: GPS data processed {"connection_id":158770,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:02:04] local.INFO: Acknowledgment sent {"connection_id":158770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:02:32] local.INFO: TCP Data received {"connection_id":158771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:02:32] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:02:32] local.INFO: IMEI packet received {"connection_id":158771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":158771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:02:35] local.INFO: TCP Data received {"connection_id":158771,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:02:35] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:02:35] local.INFO: IMEI packet received {"connection_id":158771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":158771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:02:36] local.INFO: TCP Data received {"connection_id":158771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:36] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:36] local.INFO: Packet analysis {"connection_id":158771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:02:36] local.INFO: Extracted packet for processing {"connection_id":158771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:02:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:02:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:02:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":158771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:02:36] local.INFO: GPS data processed {"connection_id":158771,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:02:36] local.INFO: Acknowledgment sent {"connection_id":158771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:02:37] local.INFO: TCP Data received {"connection_id":158771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:37] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:02:37] local.INFO: Packet analysis {"connection_id":158771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:02:37] local.INFO: Extracted packet for processing {"connection_id":158771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:02:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:02:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":158771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:02:37] local.INFO: GPS data processed {"connection_id":158771,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:02:37] local.INFO: Acknowledgment sent {"connection_id":158771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:03:08] local.INFO: TCP Data received {"connection_id":158771,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:03:08] local.INFO: Processing buffer {"connection_id":158771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:03:08] local.INFO: Packet analysis {"connection_id":158771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:03:08] local.INFO: Extracted packet for processing {"connection_id":158771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:03:08] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:03:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:03:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":158771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:03:08] local.INFO: GPS data processed {"connection_id":158771,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:03:08] local.INFO: Acknowledgment sent {"connection_id":158771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:03:27] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:03:27] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:03:27] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:03:32] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:03:32] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:03:32] local.INFO: IMEI packet received {"connection_id":159918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":159918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:03:33] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:03:33] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:03:33] local.INFO: Packet analysis {"connection_id":159918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:03:33] local.INFO: Extracted packet for processing {"connection_id":159918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:03:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:03:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:03:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":159918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:03:33] local.INFO: GPS data processed {"connection_id":159918,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:03:33] local.INFO: Acknowledgment sent {"connection_id":159918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:04:04] local.INFO: TCP Data received {"connection_id":159918,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:04:04] local.INFO: Processing buffer {"connection_id":159918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:04:04] local.INFO: Packet analysis {"connection_id":159918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:04:04] local.INFO: Extracted packet for processing {"connection_id":159918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:04:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:04: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-08-21 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:04: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-08-21 04:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:04:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:04:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":159918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:04:04] local.INFO: GPS data processed {"connection_id":159918,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:04:04] local.INFO: Acknowledgment sent {"connection_id":159918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:04:27] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:04:27] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:04:27] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:04:32] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:04:32] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:04:32] local.INFO: IMEI packet received {"connection_id":159919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":159919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:04:33] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:04:33] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:04:33] local.INFO: Packet analysis {"connection_id":159919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:04:33] local.INFO: Extracted packet for processing {"connection_id":159919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:04:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:04:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":159919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:04:33] local.INFO: GPS data processed {"connection_id":159919,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:04:33] local.INFO: Acknowledgment sent {"connection_id":159919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:05:04] local.INFO: TCP Data received {"connection_id":159919,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:05:04] local.INFO: Processing buffer {"connection_id":159919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:05:04] local.INFO: Packet analysis {"connection_id":159919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:05:04] local.INFO: Extracted packet for processing {"connection_id":159919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:05:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:05: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-08-21 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:05:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:05:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":159919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:05:04] local.INFO: GPS data processed {"connection_id":159919,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:05:04] local.INFO: Acknowledgment sent {"connection_id":159919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:05:27] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:05:27] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:05:27] local.INFO: IMEI packet received {"connection_id":159051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":159051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:05:32] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:05:32] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:05:32] local.INFO: IMEI packet received {"connection_id":159051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":159051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:05:33] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:05:33] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:05:33] local.INFO: Packet analysis {"connection_id":159051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:05:33] local.INFO: Extracted packet for processing {"connection_id":159051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:05:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:05:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:05:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":159051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:05:33] local.INFO: GPS data processed {"connection_id":159051,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:05:33] local.INFO: Acknowledgment sent {"connection_id":159051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:06:04] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:04] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:04] local.INFO: Packet analysis {"connection_id":159051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:06:04] local.INFO: Extracted packet for processing {"connection_id":159051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:06:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:06: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-08-21 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":159051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:06:04] local.INFO: GPS data processed {"connection_id":159051,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:06:04] local.INFO: Acknowledgment sent {"connection_id":159051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:06:32] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:06:32] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:06:32] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:06:37] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:06:37] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:06:37] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:06:38] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:38] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:38] local.INFO: Packet analysis {"connection_id":159052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:06:38] local.INFO: Extracted packet for processing {"connection_id":159052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:06:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:06:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":159052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:06:38] local.INFO: GPS data processed {"connection_id":159052,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:06:38] local.INFO: Acknowledgment sent {"connection_id":159052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:06:43] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:43] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:06:43] local.INFO: Packet analysis {"connection_id":159052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:06:43] local.INFO: Extracted packet for processing {"connection_id":159052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:06:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:06:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:06:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":159052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:06:43] local.INFO: GPS data processed {"connection_id":159052,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:06:43] local.INFO: Acknowledgment sent {"connection_id":159052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:07:27] local.INFO: TCP Data received {"connection_id":159053,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:07:27] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:07:27] local.INFO: IMEI packet received {"connection_id":159053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":159053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:07:32] local.INFO: TCP Data received {"connection_id":159053,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:07:32] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:07:32] local.INFO: IMEI packet received {"connection_id":159053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":159053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:07:33] local.INFO: TCP Data received {"connection_id":159053,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:07:33] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0214d6b48012da67700054b3710001b005f2e..."} 
[2026-08-21 04:07:33] local.INFO: Packet analysis {"connection_id":159053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:07:33] local.INFO: Extracted packet for processing {"connection_id":159053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0214d"} 
[2026-08-21 04:07:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":27,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539792896001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265117000,"timestamp_ms":1787265117000,"timestamp_seconds":1787265117,"priority":1,"record_length":96,"hex_timestamp":"000001a0214d6b48"} 
[2026-08-21 04:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 04:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539792896001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539792896001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:07:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:07:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539792896001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":159053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:07:33] local.INFO: GPS data processed {"connection_id":159053,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:07:33] local.INFO: Acknowledgment sent {"connection_id":159053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:08:05] local.INFO: TCP Data received {"connection_id":159053,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:08:05] local.INFO: Processing buffer {"connection_id":159053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:08:05] local.INFO: Packet analysis {"connection_id":159053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:08:05] local.INFO: Extracted packet for processing {"connection_id":159053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:08:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:08: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-08-21 04:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:08:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:08:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":159053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:08:05] local.INFO: GPS data processed {"connection_id":159053,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:08:05] local.INFO: Acknowledgment sent {"connection_id":159053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:08:27] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:08:27] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:08:27] local.INFO: IMEI packet received {"connection_id":161293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":161293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:08:32] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:08:32] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:08:32] local.INFO: IMEI packet received {"connection_id":161293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":161293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:08:33] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:08:33] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:08:33] local.INFO: Packet analysis {"connection_id":161293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:08:33] local.INFO: Extracted packet for processing {"connection_id":161293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:08:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:08:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:08:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":161293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:08:33] local.INFO: GPS data processed {"connection_id":161293,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:08:33] local.INFO: Acknowledgment sent {"connection_id":161293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:09:05] local.INFO: TCP Data received {"connection_id":161293,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:09:05] local.INFO: Processing buffer {"connection_id":161293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:09:05] local.INFO: Packet analysis {"connection_id":161293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:09:05] local.INFO: Extracted packet for processing {"connection_id":161293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:09:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:09: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-08-21 04:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:09:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:09:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":161293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:09:05] local.INFO: GPS data processed {"connection_id":161293,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:09:05] local.INFO: Acknowledgment sent {"connection_id":161293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:09:27] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:09:27] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:09:27] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:09:32] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:09:32] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:09:32] local.INFO: IMEI packet received {"connection_id":159920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":159920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:09:33] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:09:33] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:09:33] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:09:33] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:09:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:09:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:09:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:09:33] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:09:33] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:10:04] local.INFO: TCP Data received {"connection_id":159920,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:10:04] local.INFO: Processing buffer {"connection_id":159920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:10:04] local.INFO: Packet analysis {"connection_id":159920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:10:04] local.INFO: Extracted packet for processing {"connection_id":159920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:10:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:10: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-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:10:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:10:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":159920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:10:05] local.INFO: GPS data processed {"connection_id":159920,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:10:05] local.INFO: Acknowledgment sent {"connection_id":159920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:10:27] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:10:27] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:10:27] local.INFO: IMEI packet received {"connection_id":161294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":161294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:10:32] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:10:32] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:10:32] local.INFO: IMEI packet received {"connection_id":161294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":161294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:10:33] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:10:33] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:10:33] local.INFO: Packet analysis {"connection_id":161294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:10:33] local.INFO: Extracted packet for processing {"connection_id":161294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:10:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:10:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:10:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":161294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:10:33] local.INFO: GPS data processed {"connection_id":161294,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:10:33] local.INFO: Acknowledgment sent {"connection_id":161294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:11:04] local.INFO: TCP Data received {"connection_id":161294,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:04] local.INFO: Processing buffer {"connection_id":161294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:04] local.INFO: Packet analysis {"connection_id":161294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:11:04] local.INFO: Extracted packet for processing {"connection_id":161294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:11:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:11: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-08-21 04:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":161294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:11:04] local.INFO: GPS data processed {"connection_id":161294,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:11:04] local.INFO: Acknowledgment sent {"connection_id":161294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:11:32] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:11:32] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:11:32] local.INFO: IMEI packet received {"connection_id":159054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":159054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:11:37] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:11:37] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:11:37] local.INFO: IMEI packet received {"connection_id":159054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":159054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:11:38] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:38] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:38] local.INFO: Packet analysis {"connection_id":159054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:11:38] local.INFO: Extracted packet for processing {"connection_id":159054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:11:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:11:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:11:38] local.INFO: GPS data processed {"connection_id":159054,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:11:38] local.INFO: Acknowledgment sent {"connection_id":159054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:11:42] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:42] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:11:42] local.INFO: Packet analysis {"connection_id":159054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:11:42] local.INFO: Extracted packet for processing {"connection_id":159054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:11:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:11:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:11:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":159054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:11:42] local.INFO: GPS data processed {"connection_id":159054,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:11:42] local.INFO: Acknowledgment sent {"connection_id":159054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:12:27] local.INFO: TCP Data received {"connection_id":158772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:12:27] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:12:27] local.INFO: IMEI packet received {"connection_id":158772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":158772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:12:32] local.INFO: TCP Data received {"connection_id":158772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:12:32] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:12:32] local.INFO: IMEI packet received {"connection_id":158772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":158772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:12:33] local.INFO: TCP Data received {"connection_id":158772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:12:33] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021520310012da67700054b37100010005f2d..."} 
[2026-08-21 04:12:33] local.INFO: Packet analysis {"connection_id":158772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:12:33] local.INFO: Extracted packet for processing {"connection_id":158772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02152"} 
[2026-08-21 04:12:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539869952001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265418000,"timestamp_ms":1787265418000,"timestamp_seconds":1787265418,"priority":1,"record_length":96,"hex_timestamp":"000001a021520310"} 
[2026-08-21 04:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539869952001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539869952001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:12:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:12:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539869952001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":158772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:12:33] local.INFO: GPS data processed {"connection_id":158772,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:12:33] local.INFO: Acknowledgment sent {"connection_id":158772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:13:04] local.INFO: TCP Data received {"connection_id":158772,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:13:04] local.INFO: Processing buffer {"connection_id":158772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:13:04] local.INFO: Packet analysis {"connection_id":158772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:13:04] local.INFO: Extracted packet for processing {"connection_id":158772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:13:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:13: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-08-21 04:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:13:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:13:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":158772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:13:04] local.INFO: GPS data processed {"connection_id":158772,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:13:04] local.INFO: Acknowledgment sent {"connection_id":158772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:13:27] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:13:27] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:13:27] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:13:32] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:13:32] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:13:32] local.INFO: IMEI packet received {"connection_id":159921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":159921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:13:33] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:13:33] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:13:33] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:13:33] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:13:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:13:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:13:33] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:13:33] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:14:04] local.INFO: TCP Data received {"connection_id":159921,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:14:04] local.INFO: Processing buffer {"connection_id":159921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:14:04] local.INFO: Packet analysis {"connection_id":159921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:14:04] local.INFO: Extracted packet for processing {"connection_id":159921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:14:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04: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-08-21 04:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:14:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:14:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":159921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:14:04] local.INFO: GPS data processed {"connection_id":159921,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:14:04] local.INFO: Acknowledgment sent {"connection_id":159921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:14:27] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:14:27] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:14:27] local.INFO: IMEI packet received {"connection_id":159055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":159055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:14:32] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:14:32] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:14:32] local.INFO: IMEI packet received {"connection_id":159055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":159055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:14:34] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:14:34] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:14:34] local.INFO: Packet analysis {"connection_id":159055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:14:34] local.INFO: Extracted packet for processing {"connection_id":159055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:14:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:14:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":159055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:14:34] local.INFO: GPS data processed {"connection_id":159055,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:14:34] local.INFO: Acknowledgment sent {"connection_id":159055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:15:05] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:15:05] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:15:05] local.INFO: Packet analysis {"connection_id":159055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:15:05] local.INFO: Extracted packet for processing {"connection_id":159055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:15:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:15: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-08-21 04:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:15:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:15:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":159055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:15:05] local.INFO: GPS data processed {"connection_id":159055,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:15:05] local.INFO: Acknowledgment sent {"connection_id":159055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:15:27] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:15:27] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:15:27] local.INFO: IMEI packet received {"connection_id":158773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":158773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:15:32] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:15:32] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:15:32] local.INFO: IMEI packet received {"connection_id":158773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":158773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:15:33] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:15:33] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:15:33] local.INFO: Packet analysis {"connection_id":158773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:15:33] local.INFO: Extracted packet for processing {"connection_id":158773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:15:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:15:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:15:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":158773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:15:33] local.INFO: GPS data processed {"connection_id":158773,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:15:33] local.INFO: Acknowledgment sent {"connection_id":158773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:16:04] local.INFO: TCP Data received {"connection_id":158773,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:16:04] local.INFO: Processing buffer {"connection_id":158773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:16:04] local.INFO: Packet analysis {"connection_id":158773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:16:04] local.INFO: Extracted packet for processing {"connection_id":158773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:16:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:16:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:16:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":158773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:16:04] local.INFO: GPS data processed {"connection_id":158773,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:16:04] local.INFO: Acknowledgment sent {"connection_id":158773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:16:27] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:16:27] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:16:27] local.INFO: IMEI packet received {"connection_id":158774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":158774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:16:32] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:16:32] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:16:32] local.INFO: IMEI packet received {"connection_id":158774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":158774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:16:36] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:16:36] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:16:36] local.INFO: Packet analysis {"connection_id":158774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:16:36] local.INFO: Extracted packet for processing {"connection_id":158774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:16:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:16:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":158774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:16:36] local.INFO: GPS data processed {"connection_id":158774,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:16:36] local.INFO: Acknowledgment sent {"connection_id":158774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:17:07] local.INFO: TCP Data received {"connection_id":158774,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:07] local.INFO: Processing buffer {"connection_id":158774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:07] local.INFO: Packet analysis {"connection_id":158774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:17:07] local.INFO: Extracted packet for processing {"connection_id":158774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:17:07] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":158774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":158774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:17:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:17:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":158774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:17:07] local.INFO: GPS data processed {"connection_id":158774,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:17:07] local.INFO: Acknowledgment sent {"connection_id":158774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:17:27] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:17:27] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:17:27] local.INFO: IMEI packet received {"connection_id":159056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":159056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:17:32] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:17:32] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:17:32] local.INFO: IMEI packet received {"connection_id":159056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":159056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:17:33] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:33] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:33] local.INFO: Packet analysis {"connection_id":159056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:17:33] local.INFO: Extracted packet for processing {"connection_id":159056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:17:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:17:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":159056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:17:33] local.INFO: GPS data processed {"connection_id":159056,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:17:33] local.INFO: Acknowledgment sent {"connection_id":159056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:17:37] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:37] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021569ad8012da67700054b37100010005f2f..."} 
[2026-08-21 04:17:37] local.INFO: Packet analysis {"connection_id":159056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:17:37] local.INFO: Extracted packet for processing {"connection_id":159056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02156"} 
[2026-08-21 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457539947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787265719000,"timestamp_ms":1787265719000,"timestamp_seconds":1787265719,"priority":1,"record_length":96,"hex_timestamp":"000001a021569ad8"} 
[2026-08-21 04:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457539947008001,"66":25734,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457539947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:17:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:17:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457539947008001,"power":25734,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":159056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:17:37] local.INFO: GPS data processed {"connection_id":159056,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:17:37] local.INFO: Acknowledgment sent {"connection_id":159056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:18:09] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:18:09] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:18:09] local.INFO: Packet analysis {"connection_id":159056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:18:09] local.INFO: Extracted packet for processing {"connection_id":159056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:18:09] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:18:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:18:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":159056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:18:09] local.INFO: GPS data processed {"connection_id":159056,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:18:09] local.INFO: Acknowledgment sent {"connection_id":159056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:18:27] local.INFO: TCP Data received {"connection_id":158775,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:18:27] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:18:27] local.INFO: IMEI packet received {"connection_id":158775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":158775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:18:32] local.INFO: TCP Data received {"connection_id":158775,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:18:32] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:18:32] local.INFO: IMEI packet received {"connection_id":158775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":158775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:18:33] local.INFO: TCP Data received {"connection_id":158775,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:18:33] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:18:33] local.INFO: Packet analysis {"connection_id":158775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:18:33] local.INFO: Extracted packet for processing {"connection_id":158775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:18:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:18:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:18:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":158775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:18:33] local.INFO: GPS data processed {"connection_id":158775,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:18:33] local.INFO: Acknowledgment sent {"connection_id":158775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:19:04] local.INFO: TCP Data received {"connection_id":158775,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:19:04] local.INFO: Processing buffer {"connection_id":158775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:19:04] local.INFO: Packet analysis {"connection_id":158775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:19:04] local.INFO: Extracted packet for processing {"connection_id":158775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:19:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:19: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-08-21 04:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:19:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:19:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":158775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:19:04] local.INFO: GPS data processed {"connection_id":158775,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:19:04] local.INFO: Acknowledgment sent {"connection_id":158775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:19:27] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:19:27] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:19:27] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:19:32] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:19:32] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:19:32] local.INFO: IMEI packet received {"connection_id":159922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":159922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:19:33] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:19:33] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:19:33] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:19:33] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:19:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:19:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:19:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:19:33] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:19:33] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:20:05] local.INFO: TCP Data received {"connection_id":159922,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:20:05] local.INFO: Processing buffer {"connection_id":159922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:20:05] local.INFO: Packet analysis {"connection_id":159922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:20:05] local.INFO: Extracted packet for processing {"connection_id":159922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:20:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:20:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:20:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":159922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:20:05] local.INFO: GPS data processed {"connection_id":159922,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:20:05] local.INFO: Acknowledgment sent {"connection_id":159922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:20:27] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:20:27] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:20:27] local.INFO: IMEI packet received {"connection_id":161295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":161295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:20:32] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:20:32] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:20:32] local.INFO: IMEI packet received {"connection_id":161295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":161295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:20:51] local.INFO: TCP Data received {"connection_id":161295,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:20:51] local.INFO: Processing buffer {"connection_id":161295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:20:51] local.INFO: Packet analysis {"connection_id":161295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:20:51] local.INFO: Extracted packet for processing {"connection_id":161295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:20:51] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:20:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:20:51] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:20:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":161295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:20:51] local.INFO: GPS data processed {"connection_id":161295,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:20:51] local.INFO: Acknowledgment sent {"connection_id":161295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:21:26] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:21:26] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:21:26] local.INFO: IMEI packet received {"connection_id":161296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":161296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:21:32] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:21:32] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:21:32] local.INFO: IMEI packet received {"connection_id":161296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":161296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:21:33] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:21:33] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:21:33] local.INFO: Packet analysis {"connection_id":161296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:21:33] local.INFO: Extracted packet for processing {"connection_id":161296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:21:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:21:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:21:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":161296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:21:33] local.INFO: GPS data processed {"connection_id":161296,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:21:33] local.INFO: Acknowledgment sent {"connection_id":161296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:22:04] local.INFO: TCP Data received {"connection_id":161296,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:22:04] local.INFO: Processing buffer {"connection_id":161296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:22:04] local.INFO: Packet analysis {"connection_id":161296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:22:04] local.INFO: Extracted packet for processing {"connection_id":161296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:22:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04: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-08-21 04: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:22:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:22:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":161296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:22:04] local.INFO: GPS data processed {"connection_id":161296,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:22:04] local.INFO: Acknowledgment sent {"connection_id":161296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:22:32] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:22:32] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:22:32] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:22:37] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:22:37] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:22:37] local.INFO: IMEI packet received {"connection_id":159923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":159923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:22:38] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:22:38] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215b32a0012da67700054b37100010005f2e..."} 
[2026-08-21 04:22:38] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:22:38] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215b"} 
[2026-08-21 04:22:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":16,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787266020000,"timestamp_ms":1787266020000,"timestamp_seconds":1787266020,"priority":1,"record_length":96,"hex_timestamp":"000001a0215b32a0"} 
[2026-08-21 04:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:22: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":134,"data_length":795,"current_offset":136} 
[2026-08-21 04:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540024064001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:22:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:22:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540024064001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:22:38] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:22:38] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:22:39] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:22:39] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:22:39] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:22:39] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:22:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:22:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:22:39] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:22:39] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:23:10] local.INFO: TCP Data received {"connection_id":159923,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:23:10] local.INFO: Processing buffer {"connection_id":159923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:23:10] local.INFO: Packet analysis {"connection_id":159923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:23:10] local.INFO: Extracted packet for processing {"connection_id":159923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:23:10] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:23:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:23:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":159923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:23:11] local.INFO: GPS data processed {"connection_id":159923,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:23:11] local.INFO: Acknowledgment sent {"connection_id":159923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:23:27] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:23:27] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:23:27] local.INFO: IMEI packet received {"connection_id":159057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":159057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:23:32] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:23:32] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:23:32] local.INFO: IMEI packet received {"connection_id":159057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":159057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:23:33] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:23:33] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:23:33] local.INFO: Packet analysis {"connection_id":159057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:23:33] local.INFO: Extracted packet for processing {"connection_id":159057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:23:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:23:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:23:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":159057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:23:33] local.INFO: GPS data processed {"connection_id":159057,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:23:33] local.INFO: Acknowledgment sent {"connection_id":159057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:24:04] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:24:04] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:24:04] local.INFO: Packet analysis {"connection_id":159057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:24:04] local.INFO: Extracted packet for processing {"connection_id":159057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:24:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:24: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-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:24:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:24:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":159057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:24:04] local.INFO: GPS data processed {"connection_id":159057,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:24:04] local.INFO: Acknowledgment sent {"connection_id":159057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:24:27] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:24:27] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:24:27] local.INFO: IMEI packet received {"connection_id":159058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":159058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:24:32] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:24:32] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:24:32] local.INFO: IMEI packet received {"connection_id":159058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":159058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:24:33] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:24:33] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:24:33] local.INFO: Packet analysis {"connection_id":159058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:24:33] local.INFO: Extracted packet for processing {"connection_id":159058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:24:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:24:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:24:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":159058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:24:33] local.INFO: GPS data processed {"connection_id":159058,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:24:33] local.INFO: Acknowledgment sent {"connection_id":159058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:25:05] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:25:05] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:25:05] local.INFO: Packet analysis {"connection_id":159058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:25:05] local.INFO: Extracted packet for processing {"connection_id":159058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:25:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:25: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-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:25:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:25:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":159058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:25:05] local.INFO: GPS data processed {"connection_id":159058,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:25:05] local.INFO: Acknowledgment sent {"connection_id":159058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:25:27] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:25:27] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:25:27] local.INFO: IMEI packet received {"connection_id":159059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":159059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:25:32] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:25:32] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:25:32] local.INFO: IMEI packet received {"connection_id":159059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":159059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:25:33] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:25:33] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:25:33] local.INFO: Packet analysis {"connection_id":159059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:25:33] local.INFO: Extracted packet for processing {"connection_id":159059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:25:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:25:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":159059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:25:33] local.INFO: GPS data processed {"connection_id":159059,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:25:33] local.INFO: Acknowledgment sent {"connection_id":159059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:26:05] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:05] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:05] local.INFO: Packet analysis {"connection_id":159059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:26:05] local.INFO: Extracted packet for processing {"connection_id":159059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:26:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:26: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-08-21 04:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:26: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-08-21 04:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:26:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:26:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":159059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:26:05] local.INFO: GPS data processed {"connection_id":159059,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:26:05] local.INFO: Acknowledgment sent {"connection_id":159059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:26:32] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:26:32] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:26:32] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:26:37] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:26:37] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:26:37] local.INFO: IMEI packet received {"connection_id":159924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":159924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:26:38] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:38] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:38] local.INFO: Packet analysis {"connection_id":159924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:26:38] local.INFO: Extracted packet for processing {"connection_id":159924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:26: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:26: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-08-21 04:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:26:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:26:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":159924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:26:38] local.INFO: GPS data processed {"connection_id":159924,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:26:38] local.INFO: Acknowledgment sent {"connection_id":159924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:26:43] local.INFO: TCP Data received {"connection_id":159924,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:43] local.INFO: Processing buffer {"connection_id":159924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:26:43] local.INFO: Packet analysis {"connection_id":159924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:26:43] local.INFO: Extracted packet for processing {"connection_id":159924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:26:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:26:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:26:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":159924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:26:43] local.INFO: GPS data processed {"connection_id":159924,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:26:43] local.INFO: Acknowledgment sent {"connection_id":159924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:27:26] local.INFO: TCP Data received {"connection_id":158776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:27:26] local.INFO: Processing buffer {"connection_id":158776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:27:26] local.INFO: IMEI packet received {"connection_id":158776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":158776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:27:34] local.INFO: TCP Data received {"connection_id":158776,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:27:34] local.INFO: Processing buffer {"connection_id":158776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:27:34] local.INFO: IMEI packet received {"connection_id":158776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":158776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:27:35] local.INFO: TCP Data received {"connection_id":158776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:27:35] local.INFO: Processing buffer {"connection_id":158776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:27:35] local.INFO: Packet analysis {"connection_id":158776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:27:35] local.INFO: Extracted packet for processing {"connection_id":158776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:27:35] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:27:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:27:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":158776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:27:35] local.INFO: GPS data processed {"connection_id":158776,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:27:35] local.INFO: Acknowledgment sent {"connection_id":158776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:27:37] local.INFO: TCP Data received {"connection_id":158776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:27:37] local.INFO: Processing buffer {"connection_id":158776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0215fca68012da67700054b3710001a005f2f..."} 
[2026-08-21 04:27:37] local.INFO: Packet analysis {"connection_id":158776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:27:37] local.INFO: Extracted packet for processing {"connection_id":158776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0215f"} 
[2026-08-21 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540101120001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787266321000,"timestamp_ms":1787266321000,"timestamp_seconds":1787266321,"priority":1,"record_length":96,"hex_timestamp":"000001a0215fca68"} 
[2026-08-21 04:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540101120001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540101120001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:27:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:27:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540101120001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":158776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:27:37] local.INFO: GPS data processed {"connection_id":158776,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:27:37] local.INFO: Acknowledgment sent {"connection_id":158776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:28:08] local.INFO: TCP Data received {"connection_id":158776,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:28:08] local.INFO: Processing buffer {"connection_id":158776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:28:08] local.INFO: Packet analysis {"connection_id":158776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:28:08] local.INFO: Extracted packet for processing {"connection_id":158776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:28:08] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:28:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:28:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":158776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:28:08] local.INFO: GPS data processed {"connection_id":158776,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:28:08] local.INFO: Acknowledgment sent {"connection_id":158776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:28:27] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:28:27] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:28:27] local.INFO: IMEI packet received {"connection_id":159060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":159060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:28:32] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:28:32] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:28:32] local.INFO: IMEI packet received {"connection_id":159060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":159060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:28:33] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:28:33] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:28:33] local.INFO: Packet analysis {"connection_id":159060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:28:33] local.INFO: Extracted packet for processing {"connection_id":159060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:28:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:28:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:28:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":159060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:28:33] local.INFO: GPS data processed {"connection_id":159060,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:28:33] local.INFO: Acknowledgment sent {"connection_id":159060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:29:04] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:29:04] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:29:04] local.INFO: Packet analysis {"connection_id":159060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:29:04] local.INFO: Extracted packet for processing {"connection_id":159060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:29: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-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:29: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-08-21 04:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:29:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":159060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:29:04] local.INFO: GPS data processed {"connection_id":159060,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:29:04] local.INFO: Acknowledgment sent {"connection_id":159060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:29:27] local.INFO: TCP Data received {"connection_id":158777,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:29:27] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:29:27] local.INFO: IMEI packet received {"connection_id":158777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":158777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:29:32] local.INFO: TCP Data received {"connection_id":158777,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:29:32] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:29:32] local.INFO: IMEI packet received {"connection_id":158777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":158777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:29:33] local.INFO: TCP Data received {"connection_id":158777,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:29:33] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:29:33] local.INFO: Packet analysis {"connection_id":158777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:29:33] local.INFO: Extracted packet for processing {"connection_id":158777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:29:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:29:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:29:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":158777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:29:33] local.INFO: GPS data processed {"connection_id":158777,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:29:33] local.INFO: Acknowledgment sent {"connection_id":158777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:30:04] local.INFO: TCP Data received {"connection_id":158777,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:30:04] local.INFO: Processing buffer {"connection_id":158777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:30:04] local.INFO: Packet analysis {"connection_id":158777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:30:04] local.INFO: Extracted packet for processing {"connection_id":158777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:30:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:30: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-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:30: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-08-21 04:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:30:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:30:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":158777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:30:04] local.INFO: GPS data processed {"connection_id":158777,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:30:04] local.INFO: Acknowledgment sent {"connection_id":158777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:30:28] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:30:28] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:30:28] local.INFO: IMEI packet received {"connection_id":159061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":159061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:30:32] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:30:32] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:30:32] local.INFO: IMEI packet received {"connection_id":159061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":159061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:30:35] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:30:35] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:30:35] local.INFO: Packet analysis {"connection_id":159061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:30:35] local.INFO: Extracted packet for processing {"connection_id":159061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:30:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:30:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":159061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:30:35] local.INFO: GPS data processed {"connection_id":159061,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:30:35] local.INFO: Acknowledgment sent {"connection_id":159061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:31:08] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:08] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:08] local.INFO: Packet analysis {"connection_id":159061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:31:08] local.INFO: Extracted packet for processing {"connection_id":159061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:31: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-08-21 04:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:31:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:31:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":159061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:31:08] local.INFO: GPS data processed {"connection_id":159061,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:31:08] local.INFO: Acknowledgment sent {"connection_id":159061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:31:32] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:31:32] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:31:32] local.INFO: IMEI packet received {"connection_id":161297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":161297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:31:37] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:31:37] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:31:37] local.INFO: IMEI packet received {"connection_id":161297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":161297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:31:38] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:38] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:38] local.INFO: Packet analysis {"connection_id":161297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:31:38] local.INFO: Extracted packet for processing {"connection_id":161297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:31:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:31:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:31:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:31:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:31:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:31:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:31:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:31:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:31:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:31:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:31:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:31:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:31:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:31:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:31:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:31:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:31:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:31:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:31:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:31:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:31:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:31:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:31:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:31:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:31:38] local.INFO: DEBUG: GPS processor result {"connection_id":161297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:31:38] local.INFO: GPS data processed {"connection_id":161297,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:31:38] local.INFO: Acknowledgment sent {"connection_id":161297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:31:42] local.INFO: TCP Data received {"connection_id":161297,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:42] local.INFO: Processing buffer {"connection_id":161297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:31:42] local.INFO: Packet analysis {"connection_id":161297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:31:42] local.INFO: Extracted packet for processing {"connection_id":161297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:31:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:31:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:31:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":161297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:31:42] local.INFO: GPS data processed {"connection_id":161297,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:31:42] local.INFO: Acknowledgment sent {"connection_id":161297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:32:27] local.INFO: TCP Data received {"connection_id":158778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:32:27] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:32:27] local.INFO: IMEI packet received {"connection_id":158778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":158778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:32:32] local.INFO: TCP Data received {"connection_id":158778,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:32:32] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:32:32] local.INFO: IMEI packet received {"connection_id":158778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":158778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:32:33] local.INFO: TCP Data received {"connection_id":158778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:32:33] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021646230012da67700054b3710001a005f2e..."} 
[2026-08-21 04:32:33] local.INFO: Packet analysis {"connection_id":158778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:32:33] local.INFO: Extracted packet for processing {"connection_id":158778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02164"} 
[2026-08-21 04:32:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540178176001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266622000,"timestamp_ms":1787266622000,"timestamp_seconds":1787266622,"priority":1,"record_length":96,"hex_timestamp":"000001a021646230"} 
[2026-08-21 04:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540178176001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540178176001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:32:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:32:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540178176001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":158778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:32:33] local.INFO: GPS data processed {"connection_id":158778,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:32:33] local.INFO: Acknowledgment sent {"connection_id":158778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:33:04] local.INFO: TCP Data received {"connection_id":158778,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:33:04] local.INFO: Processing buffer {"connection_id":158778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:33:04] local.INFO: Packet analysis {"connection_id":158778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:33:04] local.INFO: Extracted packet for processing {"connection_id":158778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:33:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:33:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:33:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":158778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:33:04] local.INFO: GPS data processed {"connection_id":158778,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:33:04] local.INFO: Acknowledgment sent {"connection_id":158778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:33:26] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:33:26] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:33:26] local.INFO: IMEI packet received {"connection_id":161298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":161298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:33:32] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:33:32] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:33:32] local.INFO: IMEI packet received {"connection_id":161298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":161298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:33:33] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:33:33] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:33:33] local.INFO: Packet analysis {"connection_id":161298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:33:33] local.INFO: Extracted packet for processing {"connection_id":161298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:33:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:33: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-08-21 04:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:33:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:33:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":161298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:33:33] local.INFO: GPS data processed {"connection_id":161298,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:33:33] local.INFO: Acknowledgment sent {"connection_id":161298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:34:05] local.INFO: TCP Data received {"connection_id":161298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:34:05] local.INFO: Processing buffer {"connection_id":161298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:34:05] local.INFO: Packet analysis {"connection_id":161298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:34:05] local.INFO: Extracted packet for processing {"connection_id":161298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:34:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:34: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-08-21 04:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:34:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:34:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":161298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:34:05] local.INFO: GPS data processed {"connection_id":161298,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:34:05] local.INFO: Acknowledgment sent {"connection_id":161298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:34:26] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:34:26] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:34:26] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:34:32] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:34:32] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:34:32] local.INFO: IMEI packet received {"connection_id":159925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":159925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:34:33] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:34:33] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:34:33] local.INFO: Packet analysis {"connection_id":159925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:34:33] local.INFO: Extracted packet for processing {"connection_id":159925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:34:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:34:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:34:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":159925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:34:33] local.INFO: GPS data processed {"connection_id":159925,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:34:33] local.INFO: Acknowledgment sent {"connection_id":159925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:35:05] local.INFO: TCP Data received {"connection_id":159925,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:05] local.INFO: Processing buffer {"connection_id":159925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:05] local.INFO: Packet analysis {"connection_id":159925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:35:05] local.INFO: Extracted packet for processing {"connection_id":159925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:35:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:35: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-08-21 04:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:35:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:35:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":159925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:35:05] local.INFO: GPS data processed {"connection_id":159925,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:35:05] local.INFO: Acknowledgment sent {"connection_id":159925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:35:32] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:35:32] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:35:32] local.INFO: IMEI packet received {"connection_id":159062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":159062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:35:37] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:35:37] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:35:37] local.INFO: IMEI packet received {"connection_id":159062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":159062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:35:38] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:38] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:38] local.INFO: Packet analysis {"connection_id":159062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:35:38] local.INFO: Extracted packet for processing {"connection_id":159062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:35:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:35:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":159062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:35:38] local.INFO: GPS data processed {"connection_id":159062,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:35:38] local.INFO: Acknowledgment sent {"connection_id":159062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:35:42] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:42] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:35:42] local.INFO: Packet analysis {"connection_id":159062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:35:42] local.INFO: Extracted packet for processing {"connection_id":159062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:35:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:35:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:35:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":159062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:35:42] local.INFO: GPS data processed {"connection_id":159062,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:35:42] local.INFO: Acknowledgment sent {"connection_id":159062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:36:27] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:36:27] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:36:27] local.INFO: IMEI packet received {"connection_id":159926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":159926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:36:32] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:36:32] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:36:32] local.INFO: IMEI packet received {"connection_id":159926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":159926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:36:33] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:36:33] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:36:33] local.INFO: Packet analysis {"connection_id":159926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:36:33] local.INFO: Extracted packet for processing {"connection_id":159926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:36:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:36:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:36:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":159926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:36:33] local.INFO: GPS data processed {"connection_id":159926,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:36:33] local.INFO: Acknowledgment sent {"connection_id":159926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:37:05] local.INFO: TCP Data received {"connection_id":159926,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:37:05] local.INFO: Processing buffer {"connection_id":159926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:37:05] local.INFO: Packet analysis {"connection_id":159926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:37:05] local.INFO: Extracted packet for processing {"connection_id":159926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:37:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:37:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:37:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:37:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":159926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:37:05] local.INFO: GPS data processed {"connection_id":159926,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:37:05] local.INFO: Acknowledgment sent {"connection_id":159926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:37:27] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:37:27] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:37:27] local.INFO: IMEI packet received {"connection_id":159927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":159927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:37:32] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:37:32] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:37:32] local.INFO: IMEI packet received {"connection_id":159927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":159927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:37:34] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:37:34] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02168f9f8012da67700054b3710001a005f2f..."} 
[2026-08-21 04:37:34] local.INFO: Packet analysis {"connection_id":159927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:37:34] local.INFO: Extracted packet for processing {"connection_id":159927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02168"} 
[2026-08-21 04:37:34] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540255232001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787266923000,"timestamp_ms":1787266923000,"timestamp_seconds":1787266923,"priority":1,"record_length":96,"hex_timestamp":"000001a02168f9f8"} 
[2026-08-21 04:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540255232001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540255232001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:37:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:37:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540255232001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":159927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:37:34] local.INFO: GPS data processed {"connection_id":159927,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:37:34] local.INFO: Acknowledgment sent {"connection_id":159927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:38:05] local.INFO: TCP Data received {"connection_id":159927,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:38:05] local.INFO: Processing buffer {"connection_id":159927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:38:05] local.INFO: Packet analysis {"connection_id":159927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:38:05] local.INFO: Extracted packet for processing {"connection_id":159927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:38:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:38: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-08-21 04:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:38: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-08-21 04:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:38:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:38:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":159927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:38:05] local.INFO: GPS data processed {"connection_id":159927,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:38:05] local.INFO: Acknowledgment sent {"connection_id":159927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:38:27] local.INFO: TCP Data received {"connection_id":158779,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:38:27] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:38:27] local.INFO: IMEI packet received {"connection_id":158779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":158779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:38:32] local.INFO: TCP Data received {"connection_id":158779,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:38:32] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:38:32] local.INFO: IMEI packet received {"connection_id":158779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":158779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:38:33] local.INFO: TCP Data received {"connection_id":158779,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:38:33] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:38:33] local.INFO: Packet analysis {"connection_id":158779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:38:33] local.INFO: Extracted packet for processing {"connection_id":158779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:38:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:38:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:38:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":158779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:38:33] local.INFO: GPS data processed {"connection_id":158779,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:38:33] local.INFO: Acknowledgment sent {"connection_id":158779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:39:04] local.INFO: TCP Data received {"connection_id":158779,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:39:04] local.INFO: Processing buffer {"connection_id":158779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:39:04] local.INFO: Packet analysis {"connection_id":158779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:39:04] local.INFO: Extracted packet for processing {"connection_id":158779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:39:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04: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-08-21 04: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":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:39:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:39:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":158779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:39:04] local.INFO: GPS data processed {"connection_id":158779,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:39:04] local.INFO: Acknowledgment sent {"connection_id":158779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:39:26] local.INFO: TCP Data received {"connection_id":158780,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:39:26] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:39:26] local.INFO: IMEI packet received {"connection_id":158780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":158780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:39:32] local.INFO: TCP Data received {"connection_id":158780,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:39:32] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:39:32] local.INFO: IMEI packet received {"connection_id":158780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":158780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:39:33] local.INFO: TCP Data received {"connection_id":158780,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:39:33] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:39:33] local.INFO: Packet analysis {"connection_id":158780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:39:33] local.INFO: Extracted packet for processing {"connection_id":158780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:39:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:39:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:39:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":158780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:39:33] local.INFO: GPS data processed {"connection_id":158780,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:39:33] local.INFO: Acknowledgment sent {"connection_id":158780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:40:05] local.INFO: TCP Data received {"connection_id":158780,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:05] local.INFO: Processing buffer {"connection_id":158780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:05] local.INFO: Packet analysis {"connection_id":158780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:40:05] local.INFO: Extracted packet for processing {"connection_id":158780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:40:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04: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-08-21 04:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:40: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-08-21 04:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:40:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:40:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":158780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:40:05] local.INFO: GPS data processed {"connection_id":158780,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:40:05] local.INFO: Acknowledgment sent {"connection_id":158780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:40:32] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:40:32] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:40:32] local.INFO: IMEI packet received {"connection_id":159063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":159063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:40:37] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:40:37] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:40:37] local.INFO: IMEI packet received {"connection_id":159063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:40:37] local.INFO: IMEI acknowledgment sent {"connection_id":159063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:40:38] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:38] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:38] local.INFO: Packet analysis {"connection_id":159063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:40:38] local.INFO: Extracted packet for processing {"connection_id":159063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:40:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:40:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":159063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:40:38] local.INFO: GPS data processed {"connection_id":159063,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:40:38] local.INFO: Acknowledgment sent {"connection_id":159063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:40:42] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:42] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:40:42] local.INFO: Packet analysis {"connection_id":159063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:40:42] local.INFO: Extracted packet for processing {"connection_id":159063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:40:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:40:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:40:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":159063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:40:42] local.INFO: GPS data processed {"connection_id":159063,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:40:42] local.INFO: Acknowledgment sent {"connection_id":159063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:41:27] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:41:27] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:41:27] local.INFO: IMEI packet received {"connection_id":161299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":161299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:41:32] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:41:32] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:41:32] local.INFO: IMEI packet received {"connection_id":161299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":161299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:41:33] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:41:33] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:41:33] local.INFO: Packet analysis {"connection_id":161299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:41:33] local.INFO: Extracted packet for processing {"connection_id":161299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:41:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:41:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":161299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:41:33] local.INFO: GPS data processed {"connection_id":161299,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:41:33] local.INFO: Acknowledgment sent {"connection_id":161299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:42:04] local.INFO: TCP Data received {"connection_id":161299,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:42:04] local.INFO: Processing buffer {"connection_id":161299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:42:04] local.INFO: Packet analysis {"connection_id":161299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:42:04] local.INFO: Extracted packet for processing {"connection_id":161299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:42:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04: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-08-21 04: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":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:42: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-08-21 04:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":161299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:42:04] local.INFO: GPS data processed {"connection_id":161299,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:42:04] local.INFO: Acknowledgment sent {"connection_id":161299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:42:27] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:42:27] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:42:27] local.INFO: IMEI packet received {"connection_id":159064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":159064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:42:32] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:42:32] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:42:32] local.INFO: IMEI packet received {"connection_id":159064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":159064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:42:33] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:42:33] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0216d91c0012da67700054b3710001a005f31..."} 
[2026-08-21 04:42:33] local.INFO: Packet analysis {"connection_id":159064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:42:33] local.INFO: Extracted packet for processing {"connection_id":159064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0216d"} 
[2026-08-21 04:42:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":26,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540332288001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267224000,"timestamp_ms":1787267224000,"timestamp_seconds":1787267224,"priority":1,"record_length":96,"hex_timestamp":"000001a0216d91c0"} 
[2026-08-21 04:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540332288001,"66":25702,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540332288001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:42:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:42:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540332288001,"power":25702,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:42:33] local.INFO: GPS data processed {"connection_id":159064,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:42:33] local.INFO: Acknowledgment sent {"connection_id":159064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:43:04] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:43:04] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:43:04] local.INFO: Packet analysis {"connection_id":159064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:43:04] local.INFO: Extracted packet for processing {"connection_id":159064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:43:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 04:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 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-08-21 04:43: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-08-21 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 04:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:43:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:43:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":159064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:43:04] local.INFO: GPS data processed {"connection_id":159064,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:43:04] local.INFO: Acknowledgment sent {"connection_id":159064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:43:26] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:43:26] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:43:26] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:43:32] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:43:32] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:43:32] local.INFO: IMEI packet received {"connection_id":159928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":159928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:43:33] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:43:33] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:43:33] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:43:33] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:43: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-08-21 04:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:43:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:43:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:43:33] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:43:33] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:44:04] local.INFO: TCP Data received {"connection_id":159928,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:44:04] local.INFO: Processing buffer {"connection_id":159928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:44:04] local.INFO: Packet analysis {"connection_id":159928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:44:04] local.INFO: Extracted packet for processing {"connection_id":159928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:44:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:44: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-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:44: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-08-21 04:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:44:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:44:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":159928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:44:04] local.INFO: GPS data processed {"connection_id":159928,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:44:04] local.INFO: Acknowledgment sent {"connection_id":159928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:44:26] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:44:26] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:44:26] local.INFO: IMEI packet received {"connection_id":161300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":161300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:44:32] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:44:32] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:44:32] local.INFO: IMEI packet received {"connection_id":161300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":161300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:44:33] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:44:33] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:44:33] local.INFO: Packet analysis {"connection_id":161300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:44:33] local.INFO: Extracted packet for processing {"connection_id":161300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:44:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:44:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:44:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:44:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":161300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:44:33] local.INFO: GPS data processed {"connection_id":161300,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:44:33] local.INFO: Acknowledgment sent {"connection_id":161300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:45:04] local.INFO: TCP Data received {"connection_id":161300,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:04] local.INFO: Processing buffer {"connection_id":161300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:04] local.INFO: Packet analysis {"connection_id":161300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:45:04] local.INFO: Extracted packet for processing {"connection_id":161300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:45:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:45: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-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:45:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:45:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":161300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:45:04] local.INFO: GPS data processed {"connection_id":161300,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:45:04] local.INFO: Acknowledgment sent {"connection_id":161300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:45:32] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:45:32] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:45:32] local.INFO: IMEI packet received {"connection_id":159065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":159065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:45:37] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:45:37] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:45:37] local.INFO: IMEI packet received {"connection_id":159065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":159065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:45:38] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:38] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:38] local.INFO: Packet analysis {"connection_id":159065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:45:38] local.INFO: Extracted packet for processing {"connection_id":159065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:45:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:45:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:45:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":159065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:45:38] local.INFO: GPS data processed {"connection_id":159065,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:45:38] local.INFO: Acknowledgment sent {"connection_id":159065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:45:42] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:42] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:45:42] local.INFO: Packet analysis {"connection_id":159065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:45:42] local.INFO: Extracted packet for processing {"connection_id":159065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:45:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:45:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":159065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:45:42] local.INFO: GPS data processed {"connection_id":159065,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:45:42] local.INFO: Acknowledgment sent {"connection_id":159065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:46:29] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:46:29] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:46:29] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:46:32] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:46:32] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:46:32] local.INFO: IMEI packet received {"connection_id":159929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":159929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:46:33] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:46:33] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:46:33] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:46:33] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:46:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:46:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:46:33] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:46:33] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:46:44] local.INFO: TCP Data received {"connection_id":159929,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:46:44] local.INFO: Processing buffer {"connection_id":159929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:46:44] local.INFO: Packet analysis {"connection_id":159929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:46:44] local.INFO: Extracted packet for processing {"connection_id":159929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:46:44] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:46:44] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:46:44] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":159929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:46:44] local.INFO: GPS data processed {"connection_id":159929,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:46:44] local.INFO: Acknowledgment sent {"connection_id":159929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:47:27] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:47:27] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:47:27] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:47:32] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:47:32] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:47:32] local.INFO: IMEI packet received {"connection_id":159930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":159930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:47:33] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:47:33] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021722988012da67700054b37100012005f2d..."} 
[2026-08-21 04:47:33] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:47:33] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02172"} 
[2026-08-21 04:47:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540409344001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267525000,"timestamp_ms":1787267525000,"timestamp_seconds":1787267525,"priority":1,"record_length":96,"hex_timestamp":"000001a021722988"} 
[2026-08-21 04:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 04:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540409344001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540409344001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:47:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:47:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540409344001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:47:33] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:47:33] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:48:04] local.INFO: TCP Data received {"connection_id":159930,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:48:04] local.INFO: Processing buffer {"connection_id":159930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:48:04] local.INFO: Packet analysis {"connection_id":159930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:48:04] local.INFO: Extracted packet for processing {"connection_id":159930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:48:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:48:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:48:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:48:04] local.INFO: GPS data processed {"connection_id":159930,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:48:04] local.INFO: Acknowledgment sent {"connection_id":159930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:48:26] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:48:26] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:48:26] local.INFO: IMEI packet received {"connection_id":159066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":159066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:48:32] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:48:32] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:48:32] local.INFO: IMEI packet received {"connection_id":159066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":159066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:48:36] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:48:36] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:48:36] local.INFO: Packet analysis {"connection_id":159066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:48:36] local.INFO: Extracted packet for processing {"connection_id":159066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:48:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:48:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:48:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":159066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:48:36] local.INFO: GPS data processed {"connection_id":159066,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:48:36] local.INFO: Acknowledgment sent {"connection_id":159066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:49:07] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:49:07] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:49:07] local.INFO: Packet analysis {"connection_id":159066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:49:07] local.INFO: Extracted packet for processing {"connection_id":159066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:49:07] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:49:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:49:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":159066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:49:07] local.INFO: GPS data processed {"connection_id":159066,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:49:07] local.INFO: Acknowledgment sent {"connection_id":159066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:49:26] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:49:26] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:49:26] local.INFO: IMEI packet received {"connection_id":161301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":161301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:49:32] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:49:32] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:49:32] local.INFO: IMEI packet received {"connection_id":161301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":161301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:49:33] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:49:33] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:49:33] local.INFO: Packet analysis {"connection_id":161301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:49:33] local.INFO: Extracted packet for processing {"connection_id":161301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:49:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:49: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-08-21 04:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:49:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:49:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":161301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:49:33] local.INFO: GPS data processed {"connection_id":161301,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:49:33] local.INFO: Acknowledgment sent {"connection_id":161301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:50:04] local.INFO: TCP Data received {"connection_id":161301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:04] local.INFO: Processing buffer {"connection_id":161301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:04] local.INFO: Packet analysis {"connection_id":161301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:50:04] local.INFO: Extracted packet for processing {"connection_id":161301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:50:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:50: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-08-21 04:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:50:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:50:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":161301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:50:04] local.INFO: GPS data processed {"connection_id":161301,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:50:04] local.INFO: Acknowledgment sent {"connection_id":161301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:50:32] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:50:32] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:50:32] local.INFO: IMEI packet received {"connection_id":159931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":159931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:50:37] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:50:37] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:50:37] local.INFO: IMEI packet received {"connection_id":159931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":159931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:50:38] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:38] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:38] local.INFO: Packet analysis {"connection_id":159931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:50:38] local.INFO: Extracted packet for processing {"connection_id":159931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:50:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:50:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":159931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:50:38] local.INFO: GPS data processed {"connection_id":159931,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:50:38] local.INFO: Acknowledgment sent {"connection_id":159931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:50:42] local.INFO: TCP Data received {"connection_id":159931,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:42] local.INFO: Processing buffer {"connection_id":159931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:50:42] local.INFO: Packet analysis {"connection_id":159931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:50:42] local.INFO: Extracted packet for processing {"connection_id":159931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:50:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":159931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:50:42] local.INFO: GPS data processed {"connection_id":159931,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:50:42] local.INFO: Acknowledgment sent {"connection_id":159931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:51:27] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:51:27] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:51:27] local.INFO: IMEI packet received {"connection_id":159067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":159067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:51:32] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:51:32] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:51:32] local.INFO: IMEI packet received {"connection_id":159067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":159067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:51:33] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:51:33] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:51:33] local.INFO: Packet analysis {"connection_id":159067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:51:33] local.INFO: Extracted packet for processing {"connection_id":159067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:51:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:51:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:51:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":159067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:51:33] local.INFO: GPS data processed {"connection_id":159067,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:51:33] local.INFO: Acknowledgment sent {"connection_id":159067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:52:04] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:52:04] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:52:04] local.INFO: Packet analysis {"connection_id":159067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:52:04] local.INFO: Extracted packet for processing {"connection_id":159067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:52:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04: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-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":159067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:52:04] local.INFO: GPS data processed {"connection_id":159067,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:52:04] local.INFO: Acknowledgment sent {"connection_id":159067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:52:27] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:52:27] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:52:27] local.INFO: IMEI packet received {"connection_id":159932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":159932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:52:32] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:52:32] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:52:32] local.INFO: IMEI packet received {"connection_id":159932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":159932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:52:32] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:52:32] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02176c150012da67700054b37100012005f2f..."} 
[2026-08-21 04:52:32] local.INFO: Packet analysis {"connection_id":159932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:52:32] local.INFO: Extracted packet for processing {"connection_id":159932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02176"} 
[2026-08-21 04:52:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540486400001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787267826000,"timestamp_ms":1787267826000,"timestamp_seconds":1787267826,"priority":1,"record_length":96,"hex_timestamp":"000001a02176c150"} 
[2026-08-21 04:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:52: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-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540486400001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540486400001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:52:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:52:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540486400001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":159932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:52:32] local.INFO: GPS data processed {"connection_id":159932,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:52:32] local.INFO: Acknowledgment sent {"connection_id":159932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:53:03] local.INFO: TCP Data received {"connection_id":159932,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:53:03] local.INFO: Processing buffer {"connection_id":159932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:53:03] local.INFO: Packet analysis {"connection_id":159932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:53:03] local.INFO: Extracted packet for processing {"connection_id":159932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:53:03] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:53:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:53:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":159932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:53:03] local.INFO: GPS data processed {"connection_id":159932,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:53:03] local.INFO: Acknowledgment sent {"connection_id":159932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:53:26] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:53:26] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:53:26] local.INFO: IMEI packet received {"connection_id":161302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":161302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:53:32] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:53:32] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:53:32] local.INFO: IMEI packet received {"connection_id":161302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":161302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:53:33] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:53:33] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:53:33] local.INFO: Packet analysis {"connection_id":161302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:53:33] local.INFO: Extracted packet for processing {"connection_id":161302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:53:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:53:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:53:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":161302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:53:33] local.INFO: GPS data processed {"connection_id":161302,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:53:33] local.INFO: Acknowledgment sent {"connection_id":161302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:54:05] local.INFO: TCP Data received {"connection_id":161302,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:54:05] local.INFO: Processing buffer {"connection_id":161302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:54:05] local.INFO: Packet analysis {"connection_id":161302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:54:05] local.INFO: Extracted packet for processing {"connection_id":161302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:54:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:54:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:54:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:54:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:54:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":161302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:54:05] local.INFO: GPS data processed {"connection_id":161302,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:54:05] local.INFO: Acknowledgment sent {"connection_id":161302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:54:26] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:54:26] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:54:26] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:54:32] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:54:32] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:54:32] local.INFO: IMEI packet received {"connection_id":159933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":159933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:54:33] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:54:33] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:54:33] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:54:33] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:54:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:54:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:54:33] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:54:33] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:55:04] local.INFO: TCP Data received {"connection_id":159933,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:04] local.INFO: Processing buffer {"connection_id":159933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:04] local.INFO: Packet analysis {"connection_id":159933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:55:04] local.INFO: Extracted packet for processing {"connection_id":159933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:55:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04: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-08-21 04:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04: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-08-21 04:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:55:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:55:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":159933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:55:04] local.INFO: GPS data processed {"connection_id":159933,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:55:04] local.INFO: Acknowledgment sent {"connection_id":159933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:55:32] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:55:32] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:55:32] local.INFO: IMEI packet received {"connection_id":161303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":161303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:55:37] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:55:37] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:55:37] local.INFO: IMEI packet received {"connection_id":161303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":161303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:55:38] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:38] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:38] local.INFO: Packet analysis {"connection_id":161303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:55:38] local.INFO: Extracted packet for processing {"connection_id":161303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:55:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:55:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":161303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:55:38] local.INFO: GPS data processed {"connection_id":161303,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:55:38] local.INFO: Acknowledgment sent {"connection_id":161303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:55:42] local.INFO: TCP Data received {"connection_id":161303,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:42] local.INFO: Processing buffer {"connection_id":161303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:55:42] local.INFO: Packet analysis {"connection_id":161303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:55:42] local.INFO: Extracted packet for processing {"connection_id":161303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":161303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:55:42] local.INFO: GPS data processed {"connection_id":161303,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:55:42] local.INFO: Acknowledgment sent {"connection_id":161303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:56:27] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:56:27] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:56:27] local.INFO: IMEI packet received {"connection_id":159068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":159068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:56:32] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:56:32] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:56:32] local.INFO: IMEI packet received {"connection_id":159068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":159068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:56:33] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:56:33] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:56:33] local.INFO: Packet analysis {"connection_id":159068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:56:33] local.INFO: Extracted packet for processing {"connection_id":159068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:56:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:56:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:56:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:56:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":159068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:56:33] local.INFO: GPS data processed {"connection_id":159068,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:56:33] local.INFO: Acknowledgment sent {"connection_id":159068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:57:04] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:57:04] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:57:04] local.INFO: Packet analysis {"connection_id":159068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:57:04] local.INFO: Extracted packet for processing {"connection_id":159068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:57:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:57:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:57:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":159068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:57:04] local.INFO: GPS data processed {"connection_id":159068,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:57:04] local.INFO: Acknowledgment sent {"connection_id":159068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:57:27] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:57:27] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:57:27] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:57:32] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:57:32] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:57:32] local.INFO: IMEI packet received {"connection_id":159934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":159934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:57:33] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:57:33] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217b5918012da67700054b37100012005f2f..."} 
[2026-08-21 04:57:33] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:57:33] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217b"} 
[2026-08-21 04:57:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540563456001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268127000,"timestamp_ms":1787268127000,"timestamp_seconds":1787268127,"priority":1,"record_length":96,"hex_timestamp":"000001a0217b5918"} 
[2026-08-21 04:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 04:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540563456001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540563456001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:57:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:57:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540563456001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:57:33] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:57:33] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:58:04] local.INFO: TCP Data received {"connection_id":159934,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:58:04] local.INFO: Processing buffer {"connection_id":159934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:58:04] local.INFO: Packet analysis {"connection_id":159934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:58:04] local.INFO: Extracted packet for processing {"connection_id":159934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:58:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 04:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:58:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:58:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":159934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:58:04] local.INFO: GPS data processed {"connection_id":159934,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:58:04] local.INFO: Acknowledgment sent {"connection_id":159934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:58:26] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:58:26] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:58:26] local.INFO: IMEI packet received {"connection_id":161304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":161304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:58:32] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:58:32] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:58:32] local.INFO: IMEI packet received {"connection_id":161304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":161304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:58:33] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:58:33] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:58:33] local.INFO: Packet analysis {"connection_id":161304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:58:33] local.INFO: Extracted packet for processing {"connection_id":161304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 04:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:58:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:58:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":161304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:58:33] local.INFO: GPS data processed {"connection_id":161304,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:58:33] local.INFO: Acknowledgment sent {"connection_id":161304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:59:04] local.INFO: TCP Data received {"connection_id":161304,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:59:04] local.INFO: Processing buffer {"connection_id":161304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:59:04] local.INFO: Packet analysis {"connection_id":161304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:59:04] local.INFO: Extracted packet for processing {"connection_id":161304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:59:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 04:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 04:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:59:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:59:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":161304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:59:04] local.INFO: GPS data processed {"connection_id":161304,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:59:04] local.INFO: Acknowledgment sent {"connection_id":161304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 04:59:26] local.INFO: TCP Data received {"connection_id":158781,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:59:26] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:59:26] local.INFO: IMEI packet received {"connection_id":158781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 04:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":158781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 04:59:32] local.INFO: TCP Data received {"connection_id":158781,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:59:32] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 04:59:32] local.INFO: IMEI packet received {"connection_id":158781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 04:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":158781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 04:59:33] local.INFO: TCP Data received {"connection_id":158781,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:59:33] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 04:59:33] local.INFO: Packet analysis {"connection_id":158781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:59:33] local.INFO: Extracted packet for processing {"connection_id":158781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 04:59:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 04:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 04:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 04:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 04:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 04:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 04:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 04:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 04:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 04:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 04:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 04:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 04:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 04:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 04:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 04:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 04:59: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-08-21 04:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 04:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 04:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 04:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 04:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 04:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 04:59:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 04:59:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 04:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 04:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 04:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 04:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":158781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 04:59:33] local.INFO: GPS data processed {"connection_id":158781,"processed":1,"errors":0,"total":1} 
[2026-08-21 04:59:33] local.INFO: Acknowledgment sent {"connection_id":158781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:00:05] local.INFO: TCP Data received {"connection_id":158781,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:05] local.INFO: Processing buffer {"connection_id":158781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:05] local.INFO: Packet analysis {"connection_id":158781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:00:05] local.INFO: Extracted packet for processing {"connection_id":158781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:00:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 05:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:00: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-08-21 05:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:00: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-08-21 05:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:00:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:00:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":158781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:00:05] local.INFO: GPS data processed {"connection_id":158781,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:00:05] local.INFO: Acknowledgment sent {"connection_id":158781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:00:32] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:00:32] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:00:32] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:00:37] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:00:37] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:00:37] local.INFO: IMEI packet received {"connection_id":159935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":159935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:00:37] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:37] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:37] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:00:37] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:00:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 05:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:00:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:00:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:00:37] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:00:37] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:00:43] local.INFO: TCP Data received {"connection_id":159935,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:43] local.INFO: Processing buffer {"connection_id":159935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:00:43] local.INFO: Packet analysis {"connection_id":159935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:00:43] local.INFO: Extracted packet for processing {"connection_id":159935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:00:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 05:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:00:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:00:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":159935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:00:43] local.INFO: GPS data processed {"connection_id":159935,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:00:43] local.INFO: Acknowledgment sent {"connection_id":159935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:01:27] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:01:27] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:01:27] local.INFO: IMEI packet received {"connection_id":159069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":159069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:01:32] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:01:32] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:01:32] local.INFO: IMEI packet received {"connection_id":159069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":159069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:01:33] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:01:33] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:01:33] local.INFO: Packet analysis {"connection_id":159069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:01:33] local.INFO: Extracted packet for processing {"connection_id":159069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:01:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 05:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:01:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:01:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":159069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:01:33] local.INFO: GPS data processed {"connection_id":159069,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:01:33] local.INFO: Acknowledgment sent {"connection_id":159069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:02:05] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:02:05] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:02:05] local.INFO: Packet analysis {"connection_id":159069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:02:05] local.INFO: Extracted packet for processing {"connection_id":159069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:02:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 05:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:02: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-08-21 05:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:02:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:02:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":159069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:02:05] local.INFO: GPS data processed {"connection_id":159069,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:02:05] local.INFO: Acknowledgment sent {"connection_id":159069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:02:27] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:02:27] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:02:27] local.INFO: IMEI packet received {"connection_id":159936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":159936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:02:32] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:02:32] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:02:32] local.INFO: IMEI packet received {"connection_id":159936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":159936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:02:33] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:02:33] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0217ff0e0012da67700054b37100012005f2d..."} 
[2026-08-21 05:02:33] local.INFO: Packet analysis {"connection_id":159936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:02:33] local.INFO: Extracted packet for processing {"connection_id":159936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0217f"} 
[2026-08-21 05:02:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540640512001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268428000,"timestamp_ms":1787268428000,"timestamp_seconds":1787268428,"priority":1,"record_length":96,"hex_timestamp":"000001a0217ff0e0"} 
[2026-08-21 05:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540640512001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540640512001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:02:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:02:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540640512001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":159936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:02:33] local.INFO: GPS data processed {"connection_id":159936,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:02:33] local.INFO: Acknowledgment sent {"connection_id":159936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:03:04] local.INFO: TCP Data received {"connection_id":159936,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:03:04] local.INFO: Processing buffer {"connection_id":159936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:03:04] local.INFO: Packet analysis {"connection_id":159936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:03:04] local.INFO: Extracted packet for processing {"connection_id":159936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:03:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 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-08-21 05:03: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-08-21 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:03:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:03:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":159936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:03:04] local.INFO: GPS data processed {"connection_id":159936,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:03:04] local.INFO: Acknowledgment sent {"connection_id":159936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:03:26] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:03:26] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:03:26] local.INFO: IMEI packet received {"connection_id":159070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":159070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:03:32] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:03:32] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:03:32] local.INFO: IMEI packet received {"connection_id":159070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":159070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:03:33] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:03:33] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:03:33] local.INFO: Packet analysis {"connection_id":159070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:03:33] local.INFO: Extracted packet for processing {"connection_id":159070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:03:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:03:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:03:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":159070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:03:33] local.INFO: GPS data processed {"connection_id":159070,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:03:33] local.INFO: Acknowledgment sent {"connection_id":159070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:04:04] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:04:04] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:04:04] local.INFO: Packet analysis {"connection_id":159070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:04:04] local.INFO: Extracted packet for processing {"connection_id":159070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:04:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:04: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-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:04: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-08-21 05:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":159070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:04:04] local.INFO: GPS data processed {"connection_id":159070,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:04:04] local.INFO: Acknowledgment sent {"connection_id":159070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:04:26] local.INFO: TCP Data received {"connection_id":158782,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:04:26] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:04:26] local.INFO: IMEI packet received {"connection_id":158782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":158782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:04:32] local.INFO: TCP Data received {"connection_id":158782,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:04:32] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:04:32] local.INFO: IMEI packet received {"connection_id":158782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":158782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:04:33] local.INFO: TCP Data received {"connection_id":158782,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:04:33] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:04:33] local.INFO: Packet analysis {"connection_id":158782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:04:33] local.INFO: Extracted packet for processing {"connection_id":158782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:04:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:04: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-08-21 05:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:04:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:04:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":158782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:04:33] local.INFO: GPS data processed {"connection_id":158782,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:04:33] local.INFO: Acknowledgment sent {"connection_id":158782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:05:04] local.INFO: TCP Data received {"connection_id":158782,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:04] local.INFO: Processing buffer {"connection_id":158782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:04] local.INFO: Packet analysis {"connection_id":158782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:05:04] local.INFO: Extracted packet for processing {"connection_id":158782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:05:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05: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-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:05: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-08-21 05:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:05:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:05:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":158782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:05:04] local.INFO: GPS data processed {"connection_id":158782,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:05:04] local.INFO: Acknowledgment sent {"connection_id":158782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:05:32] local.INFO: TCP Data received {"connection_id":158783,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:05:32] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:05:32] local.INFO: IMEI packet received {"connection_id":158783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":158783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:05:37] local.INFO: TCP Data received {"connection_id":158783,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:05:37] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:05:37] local.INFO: IMEI packet received {"connection_id":158783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":158783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:05:37] local.INFO: TCP Data received {"connection_id":158783,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:37] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:37] local.INFO: Packet analysis {"connection_id":158783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:05:37] local.INFO: Extracted packet for processing {"connection_id":158783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:05:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:05:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:05:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":158783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:05:38] local.INFO: GPS data processed {"connection_id":158783,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:05:38] local.INFO: Acknowledgment sent {"connection_id":158783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:05:42] local.INFO: TCP Data received {"connection_id":158783,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:42] local.INFO: Processing buffer {"connection_id":158783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:05:42] local.INFO: Packet analysis {"connection_id":158783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:05:42] local.INFO: Extracted packet for processing {"connection_id":158783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:05:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:05:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:05:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":158783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:05:42] local.INFO: GPS data processed {"connection_id":158783,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:05:42] local.INFO: Acknowledgment sent {"connection_id":158783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:06:27] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:06:27] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:06:27] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:06:32] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:06:32] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:06:32] local.INFO: IMEI packet received {"connection_id":159937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":159937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:06:33] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:06:33] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:06:33] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:06:33] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:06:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:06:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:06:33] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:06:33] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:07:04] local.INFO: TCP Data received {"connection_id":159937,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:07:04] local.INFO: Processing buffer {"connection_id":159937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:07:04] local.INFO: Packet analysis {"connection_id":159937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:07:04] local.INFO: Extracted packet for processing {"connection_id":159937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:07:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:07: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-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:07:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:07:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":159937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:07:04] local.INFO: GPS data processed {"connection_id":159937,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:07:04] local.INFO: Acknowledgment sent {"connection_id":159937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:07:27] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:07:27] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:07:27] local.INFO: IMEI packet received {"connection_id":161305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":161305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:07:32] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:07:32] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:07:32] local.INFO: IMEI packet received {"connection_id":161305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":161305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:07:33] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:07:33] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218488a8012da67700054b37100012005f30..."} 
[2026-08-21 05:07:33] local.INFO: Packet analysis {"connection_id":161305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:07:33] local.INFO: Extracted packet for processing {"connection_id":161305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02184"} 
[2026-08-21 05:07:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540717568001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787268729000,"timestamp_ms":1787268729000,"timestamp_seconds":1787268729,"priority":1,"record_length":96,"hex_timestamp":"000001a0218488a8"} 
[2026-08-21 05:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540717568001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540717568001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:07:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:07:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540717568001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":161305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:07:33] local.INFO: GPS data processed {"connection_id":161305,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:07:33] local.INFO: Acknowledgment sent {"connection_id":161305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:08:04] local.INFO: TCP Data received {"connection_id":161305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:08:04] local.INFO: Processing buffer {"connection_id":161305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:08:04] local.INFO: Packet analysis {"connection_id":161305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:08:04] local.INFO: Extracted packet for processing {"connection_id":161305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:08:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:08:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:08:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":161305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:08:04] local.INFO: GPS data processed {"connection_id":161305,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:08:04] local.INFO: Acknowledgment sent {"connection_id":161305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:08:26] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:08:26] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:08:26] local.INFO: IMEI packet received {"connection_id":161306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":161306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:08:32] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:08:32] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:08:32] local.INFO: IMEI packet received {"connection_id":161306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":161306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:08:33] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:08:33] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:08:33] local.INFO: Packet analysis {"connection_id":161306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:08:33] local.INFO: Extracted packet for processing {"connection_id":161306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:08:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:08:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:08:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":161306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:08:33] local.INFO: GPS data processed {"connection_id":161306,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:08:33] local.INFO: Acknowledgment sent {"connection_id":161306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:09:04] local.INFO: TCP Data received {"connection_id":161306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:04] local.INFO: Processing buffer {"connection_id":161306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:04] local.INFO: Packet analysis {"connection_id":161306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:09:04] local.INFO: Extracted packet for processing {"connection_id":161306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05: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-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05: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-08-21 05:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":161306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:09:04] local.INFO: GPS data processed {"connection_id":161306,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:09:04] local.INFO: Acknowledgment sent {"connection_id":161306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:09:31] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:09:31] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:09:31] local.INFO: IMEI packet received {"connection_id":161307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":161307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:09:36] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:09:36] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:09:36] local.INFO: IMEI packet received {"connection_id":161307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":161307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:09:37] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:37] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:37] local.INFO: Packet analysis {"connection_id":161307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:09:37] local.INFO: Extracted packet for processing {"connection_id":161307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:09:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:09:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:09:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":161307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:09:37] local.INFO: GPS data processed {"connection_id":161307,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:09:37] local.INFO: Acknowledgment sent {"connection_id":161307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:09:42] local.INFO: TCP Data received {"connection_id":161307,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:42] local.INFO: Processing buffer {"connection_id":161307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:09:42] local.INFO: Packet analysis {"connection_id":161307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:09:42] local.INFO: Extracted packet for processing {"connection_id":161307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":161307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:09:42] local.INFO: GPS data processed {"connection_id":161307,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:09:42] local.INFO: Acknowledgment sent {"connection_id":161307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:10:27] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:10:27] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:10:27] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:10:32] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:10:32] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:10:32] local.INFO: IMEI packet received {"connection_id":159938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":159938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:10:33] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:10:33] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:10:33] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:10:33] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:10:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:10:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:10:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:10:33] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:10:33] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:11:04] local.INFO: TCP Data received {"connection_id":159938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:11:04] local.INFO: Processing buffer {"connection_id":159938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:11:04] local.INFO: Packet analysis {"connection_id":159938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:11:04] local.INFO: Extracted packet for processing {"connection_id":159938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:11:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:11: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-08-21 05:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:11:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:11:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":159938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:11:04] local.INFO: GPS data processed {"connection_id":159938,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:11:04] local.INFO: Acknowledgment sent {"connection_id":159938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:11:26] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:11:26] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:11:26] local.INFO: IMEI packet received {"connection_id":159071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":159071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:11:31] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:11:31] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:11:31] local.INFO: IMEI packet received {"connection_id":159071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":159071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:11:33] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:11:33] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:11:33] local.INFO: Packet analysis {"connection_id":159071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:11:33] local.INFO: Extracted packet for processing {"connection_id":159071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:11:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:11:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:11:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":159071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:11:33] local.INFO: GPS data processed {"connection_id":159071,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:11:33] local.INFO: Acknowledgment sent {"connection_id":159071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:12:04] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:12:04] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:12:04] local.INFO: Packet analysis {"connection_id":159071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:12:04] local.INFO: Extracted packet for processing {"connection_id":159071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 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-08-21 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 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-08-21 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:12:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:12:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":159071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:12:04] local.INFO: GPS data processed {"connection_id":159071,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:12:04] local.INFO: Acknowledgment sent {"connection_id":159071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:12:27] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:12:27] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:12:27] local.INFO: IMEI packet received {"connection_id":161308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":161308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:12:32] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:12:32] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:12:32] local.INFO: IMEI packet received {"connection_id":161308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":161308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:12:33] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:12:33] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021892070012da67700054b37100012005f2f..."} 
[2026-08-21 05:12:33] local.INFO: Packet analysis {"connection_id":161308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:12:33] local.INFO: Extracted packet for processing {"connection_id":161308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02189"} 
[2026-08-21 05:12:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540794624001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269030000,"timestamp_ms":1787269030000,"timestamp_seconds":1787269030,"priority":1,"record_length":96,"hex_timestamp":"000001a021892070"} 
[2026-08-21 05:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540794624001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540794624001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:12:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:12:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540794624001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":161308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:12:33] local.INFO: GPS data processed {"connection_id":161308,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:12:33] local.INFO: Acknowledgment sent {"connection_id":161308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:13:04] local.INFO: TCP Data received {"connection_id":161308,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:13:04] local.INFO: Processing buffer {"connection_id":161308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:13:04] local.INFO: Packet analysis {"connection_id":161308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:13:04] local.INFO: Extracted packet for processing {"connection_id":161308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:13:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:13: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-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:13:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:13:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":161308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:13:04] local.INFO: GPS data processed {"connection_id":161308,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:13:04] local.INFO: Acknowledgment sent {"connection_id":161308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:13:26] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:13:26] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:13:26] local.INFO: IMEI packet received {"connection_id":161309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":161309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:13:32] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:13:32] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:13:32] local.INFO: IMEI packet received {"connection_id":161309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":161309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:13:33] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:13:33] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:13:33] local.INFO: Packet analysis {"connection_id":161309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:13:33] local.INFO: Extracted packet for processing {"connection_id":161309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:13:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:13:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":161309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:13:33] local.INFO: GPS data processed {"connection_id":161309,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:13:33] local.INFO: Acknowledgment sent {"connection_id":161309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:14:05] local.INFO: TCP Data received {"connection_id":161309,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:05] local.INFO: Processing buffer {"connection_id":161309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:05] local.INFO: Packet analysis {"connection_id":161309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:14:05] local.INFO: Extracted packet for processing {"connection_id":161309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:14:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:14:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:14:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":161309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:14:05] local.INFO: GPS data processed {"connection_id":161309,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:14:05] local.INFO: Acknowledgment sent {"connection_id":161309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:14:32] local.INFO: TCP Data received {"connection_id":158784,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:14:32] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:14:32] local.INFO: IMEI packet received {"connection_id":158784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":158784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:14:37] local.INFO: TCP Data received {"connection_id":158784,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:14:37] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:14:37] local.INFO: IMEI packet received {"connection_id":158784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":158784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:14:38] local.INFO: TCP Data received {"connection_id":158784,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:38] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:38] local.INFO: Packet analysis {"connection_id":158784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:14:38] local.INFO: Extracted packet for processing {"connection_id":158784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:14:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:14:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":158784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:14:38] local.INFO: GPS data processed {"connection_id":158784,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:14:38] local.INFO: Acknowledgment sent {"connection_id":158784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:14:42] local.INFO: TCP Data received {"connection_id":158784,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:42] local.INFO: Processing buffer {"connection_id":158784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:14:42] local.INFO: Packet analysis {"connection_id":158784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:14:42] local.INFO: Extracted packet for processing {"connection_id":158784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:14:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:14:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:14:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":158784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:14:42] local.INFO: GPS data processed {"connection_id":158784,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:14:42] local.INFO: Acknowledgment sent {"connection_id":158784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:15:27] local.INFO: TCP Data received {"connection_id":158785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:15:27] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:15:27] local.INFO: IMEI packet received {"connection_id":158785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":158785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:15:32] local.INFO: TCP Data received {"connection_id":158785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:15:32] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:15:32] local.INFO: IMEI packet received {"connection_id":158785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":158785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:15:33] local.INFO: TCP Data received {"connection_id":158785,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:15:33] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:15:33] local.INFO: Packet analysis {"connection_id":158785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:15:33] local.INFO: Extracted packet for processing {"connection_id":158785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:15:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:15:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:15:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":158785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:15:33] local.INFO: GPS data processed {"connection_id":158785,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:15:33] local.INFO: Acknowledgment sent {"connection_id":158785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:16:04] local.INFO: TCP Data received {"connection_id":158785,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:16:04] local.INFO: Processing buffer {"connection_id":158785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:16:04] local.INFO: Packet analysis {"connection_id":158785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:16:04] local.INFO: Extracted packet for processing {"connection_id":158785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:16:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:16: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-08-21 05:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:16:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:16:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":158785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:16:04] local.INFO: GPS data processed {"connection_id":158785,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:16:04] local.INFO: Acknowledgment sent {"connection_id":158785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:16:27] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:16:27] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:16:27] local.INFO: IMEI packet received {"connection_id":159939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":159939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:16:32] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:16:32] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:16:32] local.INFO: IMEI packet received {"connection_id":159939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":159939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:16:33] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:16:33] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:16:33] local.INFO: Packet analysis {"connection_id":159939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:16:33] local.INFO: Extracted packet for processing {"connection_id":159939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:16:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:16:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:16:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":159939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:16:33] local.INFO: GPS data processed {"connection_id":159939,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:16:33] local.INFO: Acknowledgment sent {"connection_id":159939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:17:04] local.INFO: TCP Data received {"connection_id":159939,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:17:04] local.INFO: Processing buffer {"connection_id":159939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:17:04] local.INFO: Packet analysis {"connection_id":159939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:17:04] local.INFO: Extracted packet for processing {"connection_id":159939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:17:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 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-08-21 05:17: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-08-21 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:17:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:17:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":159939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:17:04] local.INFO: GPS data processed {"connection_id":159939,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:17:04] local.INFO: Acknowledgment sent {"connection_id":159939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:17:27] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:17:27] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:17:27] local.INFO: IMEI packet received {"connection_id":161310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":161310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:17:32] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:17:32] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:17:32] local.INFO: IMEI packet received {"connection_id":161310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":161310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:17:33] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:17:33] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0218db838012da67700054b37100012005f2f..."} 
[2026-08-21 05:17:33] local.INFO: Packet analysis {"connection_id":161310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:17:33] local.INFO: Extracted packet for processing {"connection_id":161310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0218d"} 
[2026-08-21 05:17:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540871680001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269331000,"timestamp_ms":1787269331000,"timestamp_seconds":1787269331,"priority":1,"record_length":96,"hex_timestamp":"000001a0218db838"} 
[2026-08-21 05:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540871680001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540871680001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:17:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:17:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540871680001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":161310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:17:33] local.INFO: GPS data processed {"connection_id":161310,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:17:33] local.INFO: Acknowledgment sent {"connection_id":161310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:18:04] local.INFO: TCP Data received {"connection_id":161310,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:18:04] local.INFO: Processing buffer {"connection_id":161310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:18:04] local.INFO: Packet analysis {"connection_id":161310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:18:04] local.INFO: Extracted packet for processing {"connection_id":161310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":161310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:18:04] local.INFO: GPS data processed {"connection_id":161310,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:18:04] local.INFO: Acknowledgment sent {"connection_id":161310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:18:26] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:18:26] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:18:26] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:18:32] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:18:32] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:18:32] local.INFO: IMEI packet received {"connection_id":159940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":159940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:18:32] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:18:32] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:18:32] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:18:32] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:18:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:18: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:18: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-08-21 05:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:18:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:18:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:18:32] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:18:32] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:19:04] local.INFO: TCP Data received {"connection_id":159940,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:04] local.INFO: Processing buffer {"connection_id":159940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:04] local.INFO: Packet analysis {"connection_id":159940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:19:04] local.INFO: Extracted packet for processing {"connection_id":159940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:19:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:19: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-08-21 05:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:19:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:19:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":159940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:19:04] local.INFO: GPS data processed {"connection_id":159940,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:19:04] local.INFO: Acknowledgment sent {"connection_id":159940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:19:32] local.INFO: TCP Data received {"connection_id":158786,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:19:32] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:19:32] local.INFO: IMEI packet received {"connection_id":158786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":158786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:19:37] local.INFO: TCP Data received {"connection_id":158786,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:19:37] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:19:37] local.INFO: IMEI packet received {"connection_id":158786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":158786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:19:37] local.INFO: TCP Data received {"connection_id":158786,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:37] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:37] local.INFO: Packet analysis {"connection_id":158786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:19:37] local.INFO: Extracted packet for processing {"connection_id":158786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:19:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:19:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":158786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:19:37] local.INFO: GPS data processed {"connection_id":158786,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:19:37] local.INFO: Acknowledgment sent {"connection_id":158786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:19:42] local.INFO: TCP Data received {"connection_id":158786,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:42] local.INFO: Processing buffer {"connection_id":158786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:19:42] local.INFO: Packet analysis {"connection_id":158786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:19:42] local.INFO: Extracted packet for processing {"connection_id":158786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":158786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:19:42] local.INFO: GPS data processed {"connection_id":158786,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:19:42] local.INFO: Acknowledgment sent {"connection_id":158786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:20:27] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:20:27] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:20:27] local.INFO: IMEI packet received {"connection_id":159941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":159941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:20:32] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:20:32] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:20:32] local.INFO: IMEI packet received {"connection_id":159941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":159941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:20:33] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:20:33] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:20:33] local.INFO: Packet analysis {"connection_id":159941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:20:33] local.INFO: Extracted packet for processing {"connection_id":159941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:20:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:20:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:20:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":159941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:20:33] local.INFO: GPS data processed {"connection_id":159941,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:20:33] local.INFO: Acknowledgment sent {"connection_id":159941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:21:04] local.INFO: TCP Data received {"connection_id":159941,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:21:04] local.INFO: Processing buffer {"connection_id":159941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:21:04] local.INFO: Packet analysis {"connection_id":159941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:21:04] local.INFO: Extracted packet for processing {"connection_id":159941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:21:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 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-08-21 05:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:21:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:21:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":159941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:21:04] local.INFO: GPS data processed {"connection_id":159941,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:21:04] local.INFO: Acknowledgment sent {"connection_id":159941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:21:27] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:21:27] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:21:27] local.INFO: IMEI packet received {"connection_id":161311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":161311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:21:32] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:21:32] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:21:32] local.INFO: IMEI packet received {"connection_id":161311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":161311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:21:33] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:21:33] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:21:33] local.INFO: Packet analysis {"connection_id":161311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:21:33] local.INFO: Extracted packet for processing {"connection_id":161311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:21:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:21:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:21:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":161311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:21:33] local.INFO: GPS data processed {"connection_id":161311,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:21:33] local.INFO: Acknowledgment sent {"connection_id":161311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:22:04] local.INFO: TCP Data received {"connection_id":161311,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:22:04] local.INFO: Processing buffer {"connection_id":161311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:22:04] local.INFO: Packet analysis {"connection_id":161311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:22:04] local.INFO: Extracted packet for processing {"connection_id":161311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:22:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:22:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:22:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":161311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:22:04] local.INFO: GPS data processed {"connection_id":161311,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:22:04] local.INFO: Acknowledgment sent {"connection_id":161311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:22:27] local.INFO: TCP Data received {"connection_id":158787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:22:27] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:22:27] local.INFO: IMEI packet received {"connection_id":158787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":158787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:22:32] local.INFO: TCP Data received {"connection_id":158787,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:22:32] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:22:32] local.INFO: IMEI packet received {"connection_id":158787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":158787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:22:33] local.INFO: TCP Data received {"connection_id":158787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:22:33] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021925000012da67700054b37100012005f30..."} 
[2026-08-21 05:22:33] local.INFO: Packet analysis {"connection_id":158787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:22:33] local.INFO: Extracted packet for processing {"connection_id":158787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02192"} 
[2026-08-21 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457540948736001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269632000,"timestamp_ms":1787269632000,"timestamp_seconds":1787269632,"priority":1,"record_length":96,"hex_timestamp":"000001a021925000"} 
[2026-08-21 05:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457540948736001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457540948736001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:22:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:22:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457540948736001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":158787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:22:33] local.INFO: GPS data processed {"connection_id":158787,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:22:33] local.INFO: Acknowledgment sent {"connection_id":158787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:23:04] local.INFO: TCP Data received {"connection_id":158787,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:23:04] local.INFO: Processing buffer {"connection_id":158787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:23:04] local.INFO: Packet analysis {"connection_id":158787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:23:04] local.INFO: Extracted packet for processing {"connection_id":158787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:23:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05: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-08-21 05:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:23:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:23:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":158787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:23:04] local.INFO: GPS data processed {"connection_id":158787,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:23:04] local.INFO: Acknowledgment sent {"connection_id":158787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:23:26] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:23:26] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:23:26] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:23:31] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:23:31] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:23:31] local.INFO: IMEI packet received {"connection_id":159942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":159942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:23:32] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:23:32] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:23:32] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:23:32] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:23:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:23: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-08-21 05:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:23:32] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:23:32] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:24:04] local.INFO: TCP Data received {"connection_id":159942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:24:04] local.INFO: Processing buffer {"connection_id":159942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:24:04] local.INFO: Packet analysis {"connection_id":159942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:24:04] local.INFO: Extracted packet for processing {"connection_id":159942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:24:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:24: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-08-21 05:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:24:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:24:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":159942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:24:04] local.INFO: GPS data processed {"connection_id":159942,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:24:04] local.INFO: Acknowledgment sent {"connection_id":159942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:24:26] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:24:26] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:24:26] local.INFO: IMEI packet received {"connection_id":159072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":159072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:24:32] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:24:32] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:24:32] local.INFO: IMEI packet received {"connection_id":159072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":159072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:24:36] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:24:36] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:24:36] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:24:36] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:24:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:24:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:24:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:24:36] local.INFO: GPS data processed {"connection_id":159072,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:24:36] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:25:07] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:07] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:07] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:25:07] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:25:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:25:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:25:07] local.INFO: GPS data processed {"connection_id":159072,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:25:07] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:25:32] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:25:32] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:25:32] local.INFO: IMEI packet received {"connection_id":159073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":159073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:25:37] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:25:37] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:25:37] local.INFO: IMEI packet received {"connection_id":159073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":159073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:25:38] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:38] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:38] local.INFO: Packet analysis {"connection_id":159073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:25:38] local.INFO: Extracted packet for processing {"connection_id":159073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:25:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:25:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:25:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":159073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:25:38] local.INFO: GPS data processed {"connection_id":159073,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:25:38] local.INFO: Acknowledgment sent {"connection_id":159073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:25:42] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:42] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:25:42] local.INFO: Packet analysis {"connection_id":159073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:25:42] local.INFO: Extracted packet for processing {"connection_id":159073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":159073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:25:42] local.INFO: GPS data processed {"connection_id":159073,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:25:42] local.INFO: Acknowledgment sent {"connection_id":159073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:26:27] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:26:27] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:26:27] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:26:32] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:26:32] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:26:32] local.INFO: IMEI packet received {"connection_id":159943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":159943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:26:33] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:26:33] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:26:33] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:26:33] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:26:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:26:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:26:33] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:26:33] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:27:04] local.INFO: TCP Data received {"connection_id":159943,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:27:04] local.INFO: Processing buffer {"connection_id":159943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:27:04] local.INFO: Packet analysis {"connection_id":159943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:27:04] local.INFO: Extracted packet for processing {"connection_id":159943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:27:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:27:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:27:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":159943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:27:04] local.INFO: GPS data processed {"connection_id":159943,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:27:04] local.INFO: Acknowledgment sent {"connection_id":159943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:27:27] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:27:27] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:27:27] local.INFO: IMEI packet received {"connection_id":159074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":159074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:27:32] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:27:32] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:27:32] local.INFO: IMEI packet received {"connection_id":159074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":159074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:27:37] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:27:37] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02196e7c8012da67700054b37100012005f2d..."} 
[2026-08-21 05:27:37] local.INFO: Packet analysis {"connection_id":159074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:27:37] local.INFO: Extracted packet for processing {"connection_id":159074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02196"} 
[2026-08-21 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541025792001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787269933000,"timestamp_ms":1787269933000,"timestamp_seconds":1787269933,"priority":1,"record_length":96,"hex_timestamp":"000001a02196e7c8"} 
[2026-08-21 05:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541025792001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541025792001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:27:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:27:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541025792001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":159074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:27:37] local.INFO: GPS data processed {"connection_id":159074,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:27:37] local.INFO: Acknowledgment sent {"connection_id":159074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:28:09] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:28:09] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:28:09] local.INFO: Packet analysis {"connection_id":159074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:28:09] local.INFO: Extracted packet for processing {"connection_id":159074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:28:09] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:28:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:28:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":159074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:28:09] local.INFO: GPS data processed {"connection_id":159074,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:28:09] local.INFO: Acknowledgment sent {"connection_id":159074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:28:26] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:28:26] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:28:26] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:28:32] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:28:32] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:28:32] local.INFO: IMEI packet received {"connection_id":159944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":159944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:28:33] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:28:33] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:28:33] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:28:33] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:28:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:28:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:28:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:28:33] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:28:33] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:29:04] local.INFO: TCP Data received {"connection_id":159944,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:29:04] local.INFO: Processing buffer {"connection_id":159944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:29:04] local.INFO: Packet analysis {"connection_id":159944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:29:04] local.INFO: Extracted packet for processing {"connection_id":159944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 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-08-21 05:29: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-08-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:29:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":159944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:29:04] local.INFO: GPS data processed {"connection_id":159944,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:29:04] local.INFO: Acknowledgment sent {"connection_id":159944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:29:26] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:29:26] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:29:26] local.INFO: IMEI packet received {"connection_id":159075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":159075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:29:34] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:29:34] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:29:34] local.INFO: IMEI packet received {"connection_id":159075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":159075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:29:35] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:29:35] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:29:35] local.INFO: Packet analysis {"connection_id":159075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:29:35] local.INFO: Extracted packet for processing {"connection_id":159075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:29:35] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:29:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:29:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":159075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:29:35] local.INFO: GPS data processed {"connection_id":159075,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:29:35] local.INFO: Acknowledgment sent {"connection_id":159075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:30:06] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:06] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:06] local.INFO: Packet analysis {"connection_id":159075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:30:06] local.INFO: Extracted packet for processing {"connection_id":159075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:30:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:30:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":159075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:30:06] local.INFO: GPS data processed {"connection_id":159075,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:30:06] local.INFO: Acknowledgment sent {"connection_id":159075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:30:32] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:30:32] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:30:32] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:30:37] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:30:37] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:30:37] local.INFO: IMEI packet received {"connection_id":159945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":159945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:30:38] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:38] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:38] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:30:38] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:30:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:30:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:30:38] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:30:38] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:30:43] local.INFO: TCP Data received {"connection_id":159945,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:43] local.INFO: Processing buffer {"connection_id":159945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:30:43] local.INFO: Packet analysis {"connection_id":159945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:30:43] local.INFO: Extracted packet for processing {"connection_id":159945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:30:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:30:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:30:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":159945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:30:43] local.INFO: GPS data processed {"connection_id":159945,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:30:43] local.INFO: Acknowledgment sent {"connection_id":159945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:31:27] local.INFO: TCP Data received {"connection_id":161312,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:31:27] local.INFO: Processing buffer {"connection_id":161312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:31:27] local.INFO: IMEI packet received {"connection_id":161312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":161312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:31:32] local.INFO: TCP Data received {"connection_id":161312,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:31:32] local.INFO: Processing buffer {"connection_id":161312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:31:32] local.INFO: IMEI packet received {"connection_id":161312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":161312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:31:33] local.INFO: TCP Data received {"connection_id":161312,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:31:33] local.INFO: Processing buffer {"connection_id":161312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:31:33] local.INFO: Packet analysis {"connection_id":161312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:31:33] local.INFO: Extracted packet for processing {"connection_id":161312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:31:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:31:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:31:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":161312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:31:33] local.INFO: GPS data processed {"connection_id":161312,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:31:33] local.INFO: Acknowledgment sent {"connection_id":161312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:32:04] local.INFO: TCP Data received {"connection_id":161312,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:32:04] local.INFO: Processing buffer {"connection_id":161312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:32:04] local.INFO: Packet analysis {"connection_id":161312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:32:04] local.INFO: Extracted packet for processing {"connection_id":161312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:32:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05: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-08-21 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:32:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:32:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":161312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:32:04] local.INFO: GPS data processed {"connection_id":161312,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:32:04] local.INFO: Acknowledgment sent {"connection_id":161312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:32:27] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:32:27] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:32:27] local.INFO: IMEI packet received {"connection_id":159946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":159946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:32:32] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:32:32] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:32:32] local.INFO: IMEI packet received {"connection_id":159946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":159946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:32:32] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:32:32] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0219b7f90012da67700054b37100012005f30..."} 
[2026-08-21 05:32:32] local.INFO: Packet analysis {"connection_id":159946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:32:32] local.INFO: Extracted packet for processing {"connection_id":159946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0219b"} 
[2026-08-21 05:32:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541102848001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787270234000,"timestamp_ms":1787270234000,"timestamp_seconds":1787270234,"priority":1,"record_length":96,"hex_timestamp":"000001a0219b7f90"} 
[2026-08-21 05:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:32: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-08-21 05: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 05:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:32: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-08-21 05:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541102848001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541102848001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541102848001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":159946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:32:32] local.INFO: GPS data processed {"connection_id":159946,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:32:32] local.INFO: Acknowledgment sent {"connection_id":159946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:33:04] local.INFO: TCP Data received {"connection_id":159946,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:33:04] local.INFO: Processing buffer {"connection_id":159946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:33:04] local.INFO: Packet analysis {"connection_id":159946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:33:04] local.INFO: Extracted packet for processing {"connection_id":159946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:33:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:33: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-08-21 05:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:33: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-08-21 05:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:33:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:33:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":159946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:33:04] local.INFO: GPS data processed {"connection_id":159946,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:33:04] local.INFO: Acknowledgment sent {"connection_id":159946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:33:26] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:33:26] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:33:26] local.INFO: IMEI packet received {"connection_id":161313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":161313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:33:32] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:33:32] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:33:32] local.INFO: IMEI packet received {"connection_id":161313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":161313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:33:33] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:33:33] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:33:33] local.INFO: Packet analysis {"connection_id":161313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:33:33] local.INFO: Extracted packet for processing {"connection_id":161313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:33:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:33:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:33:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":161313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:33:33] local.INFO: GPS data processed {"connection_id":161313,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:33:33] local.INFO: Acknowledgment sent {"connection_id":161313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:34:04] local.INFO: TCP Data received {"connection_id":161313,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:04] local.INFO: Processing buffer {"connection_id":161313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:04] local.INFO: Packet analysis {"connection_id":161313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:34:04] local.INFO: Extracted packet for processing {"connection_id":161313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:34:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 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-08-21 05: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-08-21 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":161313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:34:04] local.INFO: GPS data processed {"connection_id":161313,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:34:04] local.INFO: Acknowledgment sent {"connection_id":161313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:34:32] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:34:32] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:34:32] local.INFO: IMEI packet received {"connection_id":159076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":159076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:34:37] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:34:37] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:34:37] local.INFO: IMEI packet received {"connection_id":159076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":159076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:34:38] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:38] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:38] local.INFO: Packet analysis {"connection_id":159076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:34:38] local.INFO: Extracted packet for processing {"connection_id":159076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:34:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:34:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:34:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":159076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:34:38] local.INFO: GPS data processed {"connection_id":159076,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:34:38] local.INFO: Acknowledgment sent {"connection_id":159076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:34:42] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:42] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:34:42] local.INFO: Packet analysis {"connection_id":159076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:34:42] local.INFO: Extracted packet for processing {"connection_id":159076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:34:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:34:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:34:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":159076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:34:42] local.INFO: GPS data processed {"connection_id":159076,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:34:42] local.INFO: Acknowledgment sent {"connection_id":159076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:35:27] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:35:27] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:35:27] local.INFO: IMEI packet received {"connection_id":159077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":159077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:35:32] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:35:32] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:35:32] local.INFO: IMEI packet received {"connection_id":159077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":159077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:35:33] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:35:33] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:35:33] local.INFO: Packet analysis {"connection_id":159077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:35:33] local.INFO: Extracted packet for processing {"connection_id":159077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:35:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:35:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:35:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":159077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:35:33] local.INFO: GPS data processed {"connection_id":159077,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:35:33] local.INFO: Acknowledgment sent {"connection_id":159077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:36:05] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:36:05] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:36:05] local.INFO: Packet analysis {"connection_id":159077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:36:05] local.INFO: Extracted packet for processing {"connection_id":159077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:36:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:36: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-08-21 05:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:36: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-08-21 05:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:36:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:36:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":159077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:36:05] local.INFO: GPS data processed {"connection_id":159077,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:36:05] local.INFO: Acknowledgment sent {"connection_id":159077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:36:27] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:36:27] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:36:27] local.INFO: IMEI packet received {"connection_id":159947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":159947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:36:32] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:36:32] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:36:32] local.INFO: IMEI packet received {"connection_id":159947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":159947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:36:33] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:36:33] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:36:33] local.INFO: Packet analysis {"connection_id":159947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:36:33] local.INFO: Extracted packet for processing {"connection_id":159947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:36:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:36:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:36:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":159947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:36:33] local.INFO: GPS data processed {"connection_id":159947,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:36:33] local.INFO: Acknowledgment sent {"connection_id":159947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:37:04] local.INFO: TCP Data received {"connection_id":159947,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:37:04] local.INFO: Processing buffer {"connection_id":159947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:37:04] local.INFO: Packet analysis {"connection_id":159947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:37:04] local.INFO: Extracted packet for processing {"connection_id":159947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:37:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:37: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:37:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:37:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":159947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:37:04] local.INFO: GPS data processed {"connection_id":159947,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:37:04] local.INFO: Acknowledgment sent {"connection_id":159947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:37:26] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:37:27] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:37:27] local.INFO: IMEI packet received {"connection_id":161314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":161314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:37:32] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:37:32] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:37:32] local.INFO: IMEI packet received {"connection_id":161314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":161314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:37:33] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:37:33] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a01758012da67700054b37100012005f30..."} 
[2026-08-21 05:37:33] local.INFO: Packet analysis {"connection_id":161314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:37:33] local.INFO: Extracted packet for processing {"connection_id":161314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a0"} 
[2026-08-21 05:37:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541179904001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270535000,"timestamp_ms":1787270535000,"timestamp_seconds":1787270535,"priority":1,"record_length":96,"hex_timestamp":"000001a021a01758"} 
[2026-08-21 05:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:37:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541179904001,"66":25680,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541179904001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:37:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:37:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541179904001,"power":25680,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":161314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:37:33] local.INFO: GPS data processed {"connection_id":161314,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:37:33] local.INFO: Acknowledgment sent {"connection_id":161314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:38:04] local.INFO: TCP Data received {"connection_id":161314,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:38:04] local.INFO: Processing buffer {"connection_id":161314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:38:04] local.INFO: Packet analysis {"connection_id":161314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:38:04] local.INFO: Extracted packet for processing {"connection_id":161314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:38:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:38: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-08-21 05:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:38:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:38:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":161314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:38:04] local.INFO: GPS data processed {"connection_id":161314,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:38:04] local.INFO: Acknowledgment sent {"connection_id":161314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:38:26] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:38:26] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:38:26] local.INFO: IMEI packet received {"connection_id":161315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":161315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:38:32] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:38:32] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:38:32] local.INFO: IMEI packet received {"connection_id":161315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":161315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:38:33] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:38:33] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:38:33] local.INFO: Packet analysis {"connection_id":161315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:38:33] local.INFO: Extracted packet for processing {"connection_id":161315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:38:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:38:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:38:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":161315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:38:33] local.INFO: GPS data processed {"connection_id":161315,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:38:33] local.INFO: Acknowledgment sent {"connection_id":161315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:39:04] local.INFO: TCP Data received {"connection_id":161315,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:04] local.INFO: Processing buffer {"connection_id":161315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:04] local.INFO: Packet analysis {"connection_id":161315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:39:04] local.INFO: Extracted packet for processing {"connection_id":161315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:39:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 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-08-21 05:39: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-08-21 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:39:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:39:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":161315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:39:04] local.INFO: GPS data processed {"connection_id":161315,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:39:04] local.INFO: Acknowledgment sent {"connection_id":161315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:39:32] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:39:32] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:39:32] local.INFO: IMEI packet received {"connection_id":159078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":159078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:39:37] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:39:37] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:39:37] local.INFO: IMEI packet received {"connection_id":159078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":159078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:39:37] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:37] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:37] local.INFO: Packet analysis {"connection_id":159078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:39:37] local.INFO: Extracted packet for processing {"connection_id":159078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:39:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:39:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":159078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:39:37] local.INFO: GPS data processed {"connection_id":159078,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:39:37] local.INFO: Acknowledgment sent {"connection_id":159078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:39:42] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:42] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:39:42] local.INFO: Packet analysis {"connection_id":159078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:39:42] local.INFO: Extracted packet for processing {"connection_id":159078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:39:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:39:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:39:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":159078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:39:42] local.INFO: GPS data processed {"connection_id":159078,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:39:42] local.INFO: Acknowledgment sent {"connection_id":159078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:40:27] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:40:27] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:40:27] local.INFO: IMEI packet received {"connection_id":159079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":159079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:40:32] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:40:32] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:40:32] local.INFO: IMEI packet received {"connection_id":159079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":159079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:40:32] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:40:32] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:40:32] local.INFO: Packet analysis {"connection_id":159079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:40:32] local.INFO: Extracted packet for processing {"connection_id":159079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:40:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:40: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-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:40:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:40:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":159079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:40:32] local.INFO: GPS data processed {"connection_id":159079,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:40:32] local.INFO: Acknowledgment sent {"connection_id":159079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:41:04] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:41:04] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:41:04] local.INFO: Packet analysis {"connection_id":159079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:41:04] local.INFO: Extracted packet for processing {"connection_id":159079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:41:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:41: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-08-21 05:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:41:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:41:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":159079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:41:04] local.INFO: GPS data processed {"connection_id":159079,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:41:04] local.INFO: Acknowledgment sent {"connection_id":159079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:41:27] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:41:27] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:41:27] local.INFO: IMEI packet received {"connection_id":159080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":159080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:41:32] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:41:32] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:41:32] local.INFO: IMEI packet received {"connection_id":159080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":159080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:41:33] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:41:33] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:41:33] local.INFO: Packet analysis {"connection_id":159080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:41:33] local.INFO: Extracted packet for processing {"connection_id":159080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:41:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:41:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":159080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:41:33] local.INFO: GPS data processed {"connection_id":159080,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:41:33] local.INFO: Acknowledgment sent {"connection_id":159080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:42:04] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:42:04] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:42:04] local.INFO: Packet analysis {"connection_id":159080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:42:04] local.INFO: Extracted packet for processing {"connection_id":159080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:42:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:42: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-08-21 05: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":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:42:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:42:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":159080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:42:04] local.INFO: GPS data processed {"connection_id":159080,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:42:04] local.INFO: Acknowledgment sent {"connection_id":159080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:42:27] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:42:27] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:42:27] local.INFO: IMEI packet received {"connection_id":159948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":159948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:42:32] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:42:32] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:42:32] local.INFO: IMEI packet received {"connection_id":159948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":159948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:42:33] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:42:33] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a4af20012da67700054b37100012005f31..."} 
[2026-08-21 05:42:33] local.INFO: Packet analysis {"connection_id":159948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:42:33] local.INFO: Extracted packet for processing {"connection_id":159948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a4"} 
[2026-08-21 05:42:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541256960001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787270836000,"timestamp_ms":1787270836000,"timestamp_seconds":1787270836,"priority":1,"record_length":96,"hex_timestamp":"000001a021a4af20"} 
[2026-08-21 05:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 05:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541256960001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541256960001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:42:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:42:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541256960001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:42:33] local.INFO: GPS data processed {"connection_id":159948,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:42:33] local.INFO: Acknowledgment sent {"connection_id":159948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:43:04] local.INFO: TCP Data received {"connection_id":159948,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:43:04] local.INFO: Processing buffer {"connection_id":159948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:43:04] local.INFO: Packet analysis {"connection_id":159948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:43:04] local.INFO: Extracted packet for processing {"connection_id":159948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:43:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:43: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:43: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-08-21 05:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:43:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:43:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":159948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:43:04] local.INFO: GPS data processed {"connection_id":159948,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:43:04] local.INFO: Acknowledgment sent {"connection_id":159948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:43:26] local.INFO: TCP Data received {"connection_id":158788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:43:26] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:43:26] local.INFO: IMEI packet received {"connection_id":158788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":158788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:43:32] local.INFO: TCP Data received {"connection_id":158788,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:43:32] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:43:32] local.INFO: IMEI packet received {"connection_id":158788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":158788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:43:33] local.INFO: TCP Data received {"connection_id":158788,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:43:33] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:43:33] local.INFO: Packet analysis {"connection_id":158788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:43:33] local.INFO: Extracted packet for processing {"connection_id":158788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:43:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:43:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:43:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":158788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:43:33] local.INFO: GPS data processed {"connection_id":158788,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:43:33] local.INFO: Acknowledgment sent {"connection_id":158788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:44:04] local.INFO: TCP Data received {"connection_id":158788,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:04] local.INFO: Processing buffer {"connection_id":158788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:04] local.INFO: Packet analysis {"connection_id":158788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:44:04] local.INFO: Extracted packet for processing {"connection_id":158788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:44:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:44: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":158788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:44:04] local.INFO: GPS data processed {"connection_id":158788,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:44:04] local.INFO: Acknowledgment sent {"connection_id":158788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:44:32] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:44:32] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:44:32] local.INFO: IMEI packet received {"connection_id":159081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":159081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:44:37] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:44:37] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:44:37] local.INFO: IMEI packet received {"connection_id":159081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":159081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:44:38] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:38] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:38] local.INFO: Packet analysis {"connection_id":159081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:44:38] local.INFO: Extracted packet for processing {"connection_id":159081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:44:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:44: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":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:44:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:44:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":159081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:44:38] local.INFO: GPS data processed {"connection_id":159081,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:44:38] local.INFO: Acknowledgment sent {"connection_id":159081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:44:42] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:42] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:44:42] local.INFO: Packet analysis {"connection_id":159081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:44:42] local.INFO: Extracted packet for processing {"connection_id":159081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:44:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:44:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":159081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:44:42] local.INFO: GPS data processed {"connection_id":159081,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:44:42] local.INFO: Acknowledgment sent {"connection_id":159081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:45:27] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:45:27] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:45:27] local.INFO: IMEI packet received {"connection_id":161316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":161316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:45:32] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:45:32] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:45:32] local.INFO: IMEI packet received {"connection_id":161316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":161316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:45:33] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:45:33] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:45:33] local.INFO: Packet analysis {"connection_id":161316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:45:33] local.INFO: Extracted packet for processing {"connection_id":161316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:45:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:45:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:45:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":161316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:45:33] local.INFO: GPS data processed {"connection_id":161316,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:45:33] local.INFO: Acknowledgment sent {"connection_id":161316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:46:04] local.INFO: TCP Data received {"connection_id":161316,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:46:04] local.INFO: Processing buffer {"connection_id":161316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:46:04] local.INFO: Packet analysis {"connection_id":161316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:46:04] local.INFO: Extracted packet for processing {"connection_id":161316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:46:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:46: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-08-21 05:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:46:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:46:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":161316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:46:04] local.INFO: GPS data processed {"connection_id":161316,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:46:04] local.INFO: Acknowledgment sent {"connection_id":161316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:46:27] local.INFO: TCP Data received {"connection_id":158789,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:46:27] local.INFO: Processing buffer {"connection_id":158789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:46:27] local.INFO: IMEI packet received {"connection_id":158789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":158789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:46:32] local.INFO: TCP Data received {"connection_id":158789,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:46:32] local.INFO: Processing buffer {"connection_id":158789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:46:32] local.INFO: IMEI packet received {"connection_id":158789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":158789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:46:33] local.INFO: TCP Data received {"connection_id":158789,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:46:33] local.INFO: Processing buffer {"connection_id":158789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:46:33] local.INFO: Packet analysis {"connection_id":158789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:46:33] local.INFO: Extracted packet for processing {"connection_id":158789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:46:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:46:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:46:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":158789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:46:33] local.INFO: GPS data processed {"connection_id":158789,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:46:33] local.INFO: Acknowledgment sent {"connection_id":158789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:47:04] local.INFO: TCP Data received {"connection_id":158789,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:47:04] local.INFO: Processing buffer {"connection_id":158789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:47:04] local.INFO: Packet analysis {"connection_id":158789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:47:04] local.INFO: Extracted packet for processing {"connection_id":158789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:47:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:47: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:47:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:47:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":158789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:47:04] local.INFO: GPS data processed {"connection_id":158789,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:47:04] local.INFO: Acknowledgment sent {"connection_id":158789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:47:26] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:47:26] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:47:26] local.INFO: IMEI packet received {"connection_id":159082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":159082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:47:32] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:47:32] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:47:32] local.INFO: IMEI packet received {"connection_id":159082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":159082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:47:33] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:47:33] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021a946e8012da67700054b37100012005f32..."} 
[2026-08-21 05:47:33] local.INFO: Packet analysis {"connection_id":159082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:47:33] local.INFO: Extracted packet for processing {"connection_id":159082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021a9"} 
[2026-08-21 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271137000,"timestamp_ms":1787271137000,"timestamp_seconds":1787271137,"priority":1,"record_length":96,"hex_timestamp":"000001a021a946e8"} 
[2026-08-21 05:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541334016001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:47:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:47:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541334016001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":159082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:47:33] local.INFO: GPS data processed {"connection_id":159082,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:47:33] local.INFO: Acknowledgment sent {"connection_id":159082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:48:04] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:48:04] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:48:04] local.INFO: Packet analysis {"connection_id":159082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:48:04] local.INFO: Extracted packet for processing {"connection_id":159082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:48:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:48: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-08-21 05:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:48:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:48:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:48:04] local.INFO: GPS data processed {"connection_id":159082,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:48:04] local.INFO: Acknowledgment sent {"connection_id":159082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:48:26] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:48:26] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:48:26] local.INFO: IMEI packet received {"connection_id":159083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":159083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:48:32] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:48:32] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:48:32] local.INFO: IMEI packet received {"connection_id":159083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":159083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:48:33] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:48:33] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:48:33] local.INFO: Packet analysis {"connection_id":159083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:48:33] local.INFO: Extracted packet for processing {"connection_id":159083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:48:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:48:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:48:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":159083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:48:33] local.INFO: GPS data processed {"connection_id":159083,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:48:33] local.INFO: Acknowledgment sent {"connection_id":159083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:49:04] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:04] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:04] local.INFO: Packet analysis {"connection_id":159083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:49:04] local.INFO: Extracted packet for processing {"connection_id":159083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:49:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 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-08-21 05:49: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-08-21 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:49: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-08-21 05:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":159083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:49:04] local.INFO: GPS data processed {"connection_id":159083,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:49:04] local.INFO: Acknowledgment sent {"connection_id":159083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:49:32] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:49:32] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:49:32] local.INFO: IMEI packet received {"connection_id":161317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":161317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:49:37] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:49:37] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:49:37] local.INFO: IMEI packet received {"connection_id":161317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":161317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:49:38] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:38] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:38] local.INFO: Packet analysis {"connection_id":161317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:49:38] local.INFO: Extracted packet for processing {"connection_id":161317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:49:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:49:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":161317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:49:38] local.INFO: GPS data processed {"connection_id":161317,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:49:38] local.INFO: Acknowledgment sent {"connection_id":161317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:49:42] local.INFO: TCP Data received {"connection_id":161317,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:42] local.INFO: Processing buffer {"connection_id":161317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:49:42] local.INFO: Packet analysis {"connection_id":161317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:49:42] local.INFO: Extracted packet for processing {"connection_id":161317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:49:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":161317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:49:42] local.INFO: GPS data processed {"connection_id":161317,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:49:42] local.INFO: Acknowledgment sent {"connection_id":161317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:50:27] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:50:27] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:50:27] local.INFO: IMEI packet received {"connection_id":159949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":159949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:50:32] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:50:32] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:50:32] local.INFO: IMEI packet received {"connection_id":159949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":159949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:50:33] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:50:33] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:50:33] local.INFO: Packet analysis {"connection_id":159949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:50:33] local.INFO: Extracted packet for processing {"connection_id":159949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:50:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:50:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:50:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":159949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:50:33] local.INFO: GPS data processed {"connection_id":159949,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:50:33] local.INFO: Acknowledgment sent {"connection_id":159949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:51:04] local.INFO: TCP Data received {"connection_id":159949,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:51:04] local.INFO: Processing buffer {"connection_id":159949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:51:04] local.INFO: Packet analysis {"connection_id":159949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:51:04] local.INFO: Extracted packet for processing {"connection_id":159949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:51:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:51: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:51:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:51:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":159949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:51:04] local.INFO: GPS data processed {"connection_id":159949,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:51:04] local.INFO: Acknowledgment sent {"connection_id":159949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:51:27] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:51:27] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:51:27] local.INFO: IMEI packet received {"connection_id":161318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":161318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:51:32] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:51:32] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:51:32] local.INFO: IMEI packet received {"connection_id":161318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":161318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:51:33] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:51:33] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:51:33] local.INFO: Packet analysis {"connection_id":161318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:51:33] local.INFO: Extracted packet for processing {"connection_id":161318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:51:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:51:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:51:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":161318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:51:33] local.INFO: GPS data processed {"connection_id":161318,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:51:33] local.INFO: Acknowledgment sent {"connection_id":161318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:52:04] local.INFO: TCP Data received {"connection_id":161318,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:52:04] local.INFO: Processing buffer {"connection_id":161318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:52:04] local.INFO: Packet analysis {"connection_id":161318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:52:04] local.INFO: Extracted packet for processing {"connection_id":161318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:52:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:52: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:52: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-08-21 05:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:52:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:52:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":161318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:52:04] local.INFO: GPS data processed {"connection_id":161318,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:52:04] local.INFO: Acknowledgment sent {"connection_id":161318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:52:27] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:52:27] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:52:27] local.INFO: IMEI packet received {"connection_id":159084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":159084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:52:32] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:52:32] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:52:32] local.INFO: IMEI packet received {"connection_id":159084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":159084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:52:33] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:52:33] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021addeb0012da67700054b37100012005f31..."} 
[2026-08-21 05:52:33] local.INFO: Packet analysis {"connection_id":159084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:52:33] local.INFO: Extracted packet for processing {"connection_id":159084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ad"} 
[2026-08-21 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541411072001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271438000,"timestamp_ms":1787271438000,"timestamp_seconds":1787271438,"priority":1,"record_length":96,"hex_timestamp":"000001a021addeb0"} 
[2026-08-21 05:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541411072001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541411072001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:52:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:52:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541411072001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":159084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:52:33] local.INFO: GPS data processed {"connection_id":159084,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:52:33] local.INFO: Acknowledgment sent {"connection_id":159084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:53:04] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:53:04] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:53:04] local.INFO: Packet analysis {"connection_id":159084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:53:04] local.INFO: Extracted packet for processing {"connection_id":159084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:53:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:53: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-08-21 05:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:53:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:53:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":159084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:53:04] local.INFO: GPS data processed {"connection_id":159084,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:53:04] local.INFO: Acknowledgment sent {"connection_id":159084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:53:26] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:53:26] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:53:26] local.INFO: IMEI packet received {"connection_id":159085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":159085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:53:32] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:53:32] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:53:32] local.INFO: IMEI packet received {"connection_id":159085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":159085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:53:33] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:53:33] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:53:33] local.INFO: Packet analysis {"connection_id":159085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:53:33] local.INFO: Extracted packet for processing {"connection_id":159085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:53:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:53:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:53:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":159085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:53:33] local.INFO: GPS data processed {"connection_id":159085,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:53:33] local.INFO: Acknowledgment sent {"connection_id":159085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:54:04] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:04] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:04] local.INFO: Packet analysis {"connection_id":159085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:54:04] local.INFO: Extracted packet for processing {"connection_id":159085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:54:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 05:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 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-08-21 05:54: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-08-21 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 05:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:54:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:54:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":159085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:54:04] local.INFO: GPS data processed {"connection_id":159085,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:54:04] local.INFO: Acknowledgment sent {"connection_id":159085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:54:32] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:54:32] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:54:32] local.INFO: IMEI packet received {"connection_id":159086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":159086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:54:37] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:54:37] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:54:37] local.INFO: IMEI packet received {"connection_id":159086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":159086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:54:38] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:38] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:38] local.INFO: Packet analysis {"connection_id":159086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:54:38] local.INFO: Extracted packet for processing {"connection_id":159086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:54:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:54:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":159086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:54:38] local.INFO: GPS data processed {"connection_id":159086,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:54:38] local.INFO: Acknowledgment sent {"connection_id":159086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:54:42] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:42] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:54:42] local.INFO: Packet analysis {"connection_id":159086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:54:42] local.INFO: Extracted packet for processing {"connection_id":159086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:54:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:54:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:54:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":159086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:54:42] local.INFO: GPS data processed {"connection_id":159086,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:54:42] local.INFO: Acknowledgment sent {"connection_id":159086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:55:27] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:55:27] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:55:27] local.INFO: IMEI packet received {"connection_id":159950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":159950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:55:32] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:55:32] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:55:32] local.INFO: IMEI packet received {"connection_id":159950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":159950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:55:32] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:55:32] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:55:32] local.INFO: Packet analysis {"connection_id":159950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:55:32] local.INFO: Extracted packet for processing {"connection_id":159950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:55:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05: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-08-21 05:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:55: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05: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-08-21 05:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:55:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:55:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":159950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:55:33] local.INFO: GPS data processed {"connection_id":159950,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:55:33] local.INFO: Acknowledgment sent {"connection_id":159950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:56:04] local.INFO: TCP Data received {"connection_id":159950,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:56:04] local.INFO: Processing buffer {"connection_id":159950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:56:04] local.INFO: Packet analysis {"connection_id":159950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:56:04] local.INFO: Extracted packet for processing {"connection_id":159950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:56:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:56: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-08-21 05:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:56:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:56:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":159950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:56:04] local.INFO: GPS data processed {"connection_id":159950,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:56:04] local.INFO: Acknowledgment sent {"connection_id":159950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:56:57] local.INFO: TCP Data received {"connection_id":158790,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:56:57] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:56:57] local.INFO: IMEI packet received {"connection_id":158790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":158790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:57:02] local.INFO: TCP Data received {"connection_id":158790,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:02] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:02] local.INFO: IMEI packet received {"connection_id":158790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":158790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:57:02] local.INFO: TCP Data received {"connection_id":158790,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:57:02] local.INFO: Processing buffer {"connection_id":158790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:57:02] local.INFO: Packet analysis {"connection_id":158790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:57:02] local.INFO: Extracted packet for processing {"connection_id":158790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:57:02] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":158790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":158790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":158790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:57:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:57:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":158790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:57:02] local.INFO: GPS data processed {"connection_id":158790,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:57:02] local.INFO: Acknowledgment sent {"connection_id":158790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:57:27] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:27] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:27] local.INFO: IMEI packet received {"connection_id":159951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":159951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:57:32] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:32] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:57:32] local.INFO: IMEI packet received {"connection_id":159951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":159951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:57:33] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:57:33] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b27678012da67700054b37100012005f31..."} 
[2026-08-21 05:57:33] local.INFO: Packet analysis {"connection_id":159951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:57:33] local.INFO: Extracted packet for processing {"connection_id":159951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b2"} 
[2026-08-21 05:57:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541488128001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787271739000,"timestamp_ms":1787271739000,"timestamp_seconds":1787271739,"priority":1,"record_length":96,"hex_timestamp":"000001a021b27678"} 
[2026-08-21 05:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541488128001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541488128001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:57:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:57:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541488128001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":159951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:57:33] local.INFO: GPS data processed {"connection_id":159951,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:57:33] local.INFO: Acknowledgment sent {"connection_id":159951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:58:04] local.INFO: TCP Data received {"connection_id":159951,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:04] local.INFO: Processing buffer {"connection_id":159951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:04] local.INFO: Packet analysis {"connection_id":159951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:58:04] local.INFO: Extracted packet for processing {"connection_id":159951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:58:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 05:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05: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-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:58:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:58:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":159951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:58:04] local.INFO: GPS data processed {"connection_id":159951,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:58:04] local.INFO: Acknowledgment sent {"connection_id":159951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:58:32] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:58:32] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:58:32] local.INFO: IMEI packet received {"connection_id":159087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":159087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:58:37] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:58:37] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:58:37] local.INFO: IMEI packet received {"connection_id":159087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:58:37] local.INFO: IMEI acknowledgment sent {"connection_id":159087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:58:38] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:38] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:38] local.INFO: Packet analysis {"connection_id":159087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:58:38] local.INFO: Extracted packet for processing {"connection_id":159087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 05:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:58: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":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:58: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-08-21 05:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:58:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:58:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":159087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:58:38] local.INFO: GPS data processed {"connection_id":159087,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:58:38] local.INFO: Acknowledgment sent {"connection_id":159087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:58:42] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:42] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:58:42] local.INFO: Packet analysis {"connection_id":159087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:58:42] local.INFO: Extracted packet for processing {"connection_id":159087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 05:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:58:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:58:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:58:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:58:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":159087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:58:42] local.INFO: GPS data processed {"connection_id":159087,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:58:42] local.INFO: Acknowledgment sent {"connection_id":159087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:59:26] local.INFO: TCP Data received {"connection_id":158791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:59:26] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:59:26] local.INFO: IMEI packet received {"connection_id":158791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 05:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":158791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 05:59:31] local.INFO: TCP Data received {"connection_id":158791,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:59:31] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 05:59:31] local.INFO: IMEI packet received {"connection_id":158791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 05:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":158791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 05:59:34] local.INFO: TCP Data received {"connection_id":158791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:59:34] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:59:34] local.INFO: Packet analysis {"connection_id":158791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:59:34] local.INFO: Extracted packet for processing {"connection_id":158791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:59:34] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 05:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:59:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:59:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":158791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:59:34] local.INFO: GPS data processed {"connection_id":158791,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:59:34] local.INFO: Acknowledgment sent {"connection_id":158791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 05:59:39] local.INFO: TCP Data received {"connection_id":158791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:59:39] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 05:59:39] local.INFO: Packet analysis {"connection_id":158791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:59:39] local.INFO: Extracted packet for processing {"connection_id":158791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 05:59:39] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 05:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 05:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 05:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 05:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 05:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 05:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 05:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 05:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 05:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 05:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 05:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 05:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 05:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 05:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 05:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 05:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 05:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 05:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 05:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 05:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 05:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 05:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 05:59:39] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 05:59:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 05:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 05:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 05:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 05:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":158791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 05:59:39] local.INFO: GPS data processed {"connection_id":158791,"processed":1,"errors":0,"total":1} 
[2026-08-21 05:59:39] local.INFO: Acknowledgment sent {"connection_id":158791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:00:10] local.INFO: TCP Data received {"connection_id":158791,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:00:10] local.INFO: Processing buffer {"connection_id":158791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:00:10] local.INFO: Packet analysis {"connection_id":158791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:00:10] local.INFO: Extracted packet for processing {"connection_id":158791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 06:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":158791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:00:10] local.INFO: GPS data processed {"connection_id":158791,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:00:10] local.INFO: Acknowledgment sent {"connection_id":158791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:00:27] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:00:27] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:00:27] local.INFO: IMEI packet received {"connection_id":161319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":161319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:00:32] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:00:32] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:00:32] local.INFO: IMEI packet received {"connection_id":161319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":161319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:00:35] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:00:35] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:00:35] local.INFO: Packet analysis {"connection_id":161319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:00:35] local.INFO: Extracted packet for processing {"connection_id":161319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 06:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:00:35] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:00:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":161319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:00:35] local.INFO: GPS data processed {"connection_id":161319,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:00:35] local.INFO: Acknowledgment sent {"connection_id":161319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:01:08] local.INFO: TCP Data received {"connection_id":161319,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:01:08] local.INFO: Processing buffer {"connection_id":161319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:01:08] local.INFO: Packet analysis {"connection_id":161319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:01:08] local.INFO: Extracted packet for processing {"connection_id":161319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:01:08] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 06:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:01: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-08-21 06:01: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":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:01: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-08-21 06:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:01:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:01:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":161319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:01:08] local.INFO: GPS data processed {"connection_id":161319,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:01:08] local.INFO: Acknowledgment sent {"connection_id":161319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:01:26] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:01:26] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:01:26] local.INFO: IMEI packet received {"connection_id":159088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":159088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:01:31] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:01:31] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:01:31] local.INFO: IMEI packet received {"connection_id":159088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":159088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:01:33] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:01:33] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:01:33] local.INFO: Packet analysis {"connection_id":159088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:01:33] local.INFO: Extracted packet for processing {"connection_id":159088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:01:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 06:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:01:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:01:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":159088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:01:33] local.INFO: GPS data processed {"connection_id":159088,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:01:33] local.INFO: Acknowledgment sent {"connection_id":159088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:02:04] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:02:04] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:02:04] local.INFO: Packet analysis {"connection_id":159088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:02:04] local.INFO: Extracted packet for processing {"connection_id":159088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:02:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 06:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:02: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-08-21 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:02: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-08-21 06:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:02:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:02:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:02:04] local.INFO: GPS data processed {"connection_id":159088,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:02:04] local.INFO: Acknowledgment sent {"connection_id":159088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:02:26] local.INFO: TCP Data received {"connection_id":161320,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:02:26] local.INFO: Processing buffer {"connection_id":161320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:02:26] local.INFO: IMEI packet received {"connection_id":161320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":161320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:02:32] local.INFO: TCP Data received {"connection_id":161320,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:02:32] local.INFO: Processing buffer {"connection_id":161320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:02:32] local.INFO: IMEI packet received {"connection_id":161320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":161320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:02:38] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:38] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:38] local.INFO: IMEI packet received {"connection_id":161321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":161321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:02:39] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:39] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:39] local.INFO: IMEI packet received {"connection_id":161321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":161321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:02:41] local.INFO: TCP Data received {"connection_id":161320,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:02:41] local.INFO: Processing buffer {"connection_id":161320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021b70e40012da67700054b37100012005f30..."} 
[2026-08-21 06:02:41] local.INFO: Packet analysis {"connection_id":161320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:02:41] local.INFO: Extracted packet for processing {"connection_id":161320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021b7"} 
[2026-08-21 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541565184001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787272040000,"timestamp_ms":1787272040000,"timestamp_seconds":1787272040,"priority":1,"record_length":96,"hex_timestamp":"000001a021b70e40"} 
[2026-08-21 06:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541565184001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541565184001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541565184001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":161320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:02:41] local.INFO: GPS data processed {"connection_id":161320,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:02:41] local.INFO: Acknowledgment sent {"connection_id":161320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:02:43] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:43] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:02:43] local.INFO: IMEI packet received {"connection_id":161321,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":161321,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:02:44] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-21 06:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-21 06:02:44] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-21 06:02:44] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 06:02:44] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 06:02: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-08-21 06:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:02:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 06:02:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:02:44] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 06:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 06:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 06:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 06:02:44] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 06:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 06:02:44] local.ERROR: GPS data processing failed {"connection_id":161321,"error":"No valid data to process"} 
[2026-08-21 06:02:44] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 06:03:15] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-21 06:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-21 06:03:15] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-21 06:03:15] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 06:03:15] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 06:03:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:03:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 06:03:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:03:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 06:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 06:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 06:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 06:03:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 06:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 06:03:15] local.ERROR: GPS data processing failed {"connection_id":161321,"error":"No valid data to process"} 
[2026-08-21 06:03:15] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 06:03:26] local.INFO: TCP Data received {"connection_id":158792,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:03:26] local.INFO: Processing buffer {"connection_id":158792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:03:26] local.INFO: IMEI packet received {"connection_id":158792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":158792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:03:32] local.INFO: TCP Data received {"connection_id":158792,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:03:32] local.INFO: Processing buffer {"connection_id":158792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:03:32] local.INFO: IMEI packet received {"connection_id":158792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":158792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:03:33] local.INFO: TCP Data received {"connection_id":158792,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:03:33] local.INFO: Processing buffer {"connection_id":158792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:03:33] local.INFO: Packet analysis {"connection_id":158792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:03:33] local.INFO: Extracted packet for processing {"connection_id":158792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:03:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:03:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:03:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":158792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:03:33] local.INFO: GPS data processed {"connection_id":158792,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:03:33] local.INFO: Acknowledgment sent {"connection_id":158792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:03:46] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bc90680100000000000000000000000000..."} 
[2026-08-21 06:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bc90680100000000000000000000000000..."} 
[2026-08-21 06:03:46] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bc90680100000000000000000000000000..."} 
[2026-08-21 06:03:46] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bc"} 
[2026-08-21 06:03:46] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bc"} 
[2026-08-21 06:03:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 06:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:03:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 06:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787272401000,"timestamp_ms":1787272401000,"timestamp_seconds":1787272401,"priority":1,"record_length":96,"hex_timestamp":"000001a021bc9068"} 
[2026-08-21 06:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 06:03: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-08-21 06: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-08-21 06:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 06:03:46] local.INFO: GPS data processed {"connection_id":161321,"processed":0,"errors":0,"total":1} 
[2026-08-21 06:03:46] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:04:04] local.INFO: TCP Data received {"connection_id":158792,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:04] local.INFO: Processing buffer {"connection_id":158792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:04] local.INFO: Packet analysis {"connection_id":158792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:04:04] local.INFO: Extracted packet for processing {"connection_id":158792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 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-08-21 06:04: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-08-21 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:04:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:04:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":158792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:04:05] local.INFO: GPS data processed {"connection_id":158792,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:04:05] local.INFO: Acknowledgment sent {"connection_id":158792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:04:17] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bce2700100000000000000000000000000..."} 
[2026-08-21 06:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bce2700100000000000000000000000000..."} 
[2026-08-21 06:04:17] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bce2700100000000000000000000000000..."} 
[2026-08-21 06:04:17] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bc"} 
[2026-08-21 06:04:17] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bc"} 
[2026-08-21 06:04:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 06:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 06:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787272422000,"timestamp_ms":1787272422000,"timestamp_seconds":1787272422,"priority":1,"record_length":96,"hex_timestamp":"000001a021bce270"} 
[2026-08-21 06:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 06:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 06:04:17] local.INFO: GPS data processed {"connection_id":161321,"processed":0,"errors":0,"total":1} 
[2026-08-21 06:04:17] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:04:32] local.INFO: TCP Data received {"connection_id":158793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:04:32] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:04:32] local.INFO: IMEI packet received {"connection_id":158793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":158793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:04:37] local.INFO: TCP Data received {"connection_id":158793,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:04:37] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:04:37] local.INFO: IMEI packet received {"connection_id":158793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":158793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:04:38] local.INFO: TCP Data received {"connection_id":158793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:38] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:38] local.INFO: Packet analysis {"connection_id":158793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:04:38] local.INFO: Extracted packet for processing {"connection_id":158793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:04:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:04:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":158793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:04:38] local.INFO: GPS data processed {"connection_id":158793,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:04:38] local.INFO: Acknowledgment sent {"connection_id":158793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:04:42] local.INFO: TCP Data received {"connection_id":158793,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:42] local.INFO: Processing buffer {"connection_id":158793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:04:42] local.INFO: Packet analysis {"connection_id":158793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:04:42] local.INFO: Extracted packet for processing {"connection_id":158793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:04:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":158793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:04:42] local.INFO: GPS data processed {"connection_id":158793,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:04:42] local.INFO: Acknowledgment sent {"connection_id":158793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:04:48] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bd34780100000000000000000000000000..."} 
[2026-08-21 06:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bd34780100000000000000000000000000..."} 
[2026-08-21 06:04:48] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bd34780100000000000000000000000000..."} 
[2026-08-21 06:04:48] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bd"} 
[2026-08-21 06:04:48] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bd"} 
[2026-08-21 06:04: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-08-21 06:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:04:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 06:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787272443000,"timestamp_ms":1787272443000,"timestamp_seconds":1787272443,"priority":1,"record_length":96,"hex_timestamp":"000001a021bd3478"} 
[2026-08-21 06:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-21 06:04: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-08-21 06:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 06:04:48] local.INFO: GPS data processed {"connection_id":161321,"processed":0,"errors":0,"total":1} 
[2026-08-21 06:04:48] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:05:20] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bd86800100000000000000000000000000..."} 
[2026-08-21 06:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bd86800100000000000000000000000000..."} 
[2026-08-21 06:05:20] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bd86800100000000000000000000000000..."} 
[2026-08-21 06:05:20] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bd"} 
[2026-08-21 06:05:20] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bd"} 
[2026-08-21 06:05: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-08-21 06: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-08-21 06:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:05:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 06:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787272464000,"timestamp_ms":1787272464000,"timestamp_seconds":1787272464,"priority":1,"record_length":96,"hex_timestamp":"000001a021bd8680"} 
[2026-08-21 06:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-21 06:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 06:05:20] local.INFO: GPS data processed {"connection_id":161321,"processed":0,"errors":0,"total":1} 
[2026-08-21 06:05:20] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:05:27] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:05:27] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:05:27] local.INFO: IMEI packet received {"connection_id":159089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":159089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:05:32] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:05:32] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:05:32] local.INFO: IMEI packet received {"connection_id":159089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":159089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:05:36] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:05:36] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:05:36] local.INFO: Packet analysis {"connection_id":159089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:05:36] local.INFO: Extracted packet for processing {"connection_id":159089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:05:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:05:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:05:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":159089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:05:36] local.INFO: GPS data processed {"connection_id":159089,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:05:36] local.INFO: Acknowledgment sent {"connection_id":159089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:05:50] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bdc500012d19aa00071fbea0003200d40a..."} 
[2026-08-21 06:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bdc500012d19aa00071fbea0003200d40a..."} 
[2026-08-21 06:05:50] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bdc500012d19aa00071fbea0003200d40a..."} 
[2026-08-21 06:05:50] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bd"} 
[2026-08-21 06:05:50] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bd"} 
[2026-08-21 06:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119520928,"longitude_deg":75.665664,"latitude_deg":11.9520928,"altitude":50,"angle":212,"satellites":10,"speed":0,"hex_longitude":"2d19aa00","hex_latitude":"071fbea0","is_valid_coordinates":true} 
[2026-08-21 06:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:05:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 06:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787272480000,"timestamp_ms":1787272480000,"timestamp_seconds":1787272480,"priority":1,"record_length":96,"hex_timestamp":"000001a021bdc500"} 
[2026-08-21 06:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 06:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12722,"101":206,"83":41984,"24":0,"16":14172271090335744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16]} 
[2026-08-21 06:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-21 06:05:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172271090335744,"km_value":14172271090335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:05:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null}} 
[2026-08-21 06:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:05:51] local.INFO: GPS data processed {"connection_id":161321,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:05:51] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:06:21] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021be1708012d19aa80071fbeb0002400d40d..."} 
[2026-08-21 06:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021be1708012d19aa80071fbeb0002400d40d..."} 
[2026-08-21 06:06:21] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021be1708012d19aa80071fbeb0002400d40d..."} 
[2026-08-21 06:06:21] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021be"} 
[2026-08-21 06:06:21] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021be"} 
[2026-08-21 06:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756656768,"raw_latitude":119520944,"longitude_deg":75.6656768,"latitude_deg":11.9520944,"altitude":36,"angle":212,"satellites":13,"speed":0,"hex_longitude":"2d19aa80","hex_latitude":"071fbeb0","is_valid_coordinates":true} 
[2026-08-21 06:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541754880001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172283975237632,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627586367488,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787272501000,"timestamp_ms":1787272501000,"timestamp_seconds":1787272501,"priority":1,"record_length":96,"hex_timestamp":"000001a021be1708"} 
[2026-08-21 06:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 06:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541754880001,"66":12711,"101":206,"83":41984,"24":0,"16":14172283975237632,"45":1849290627586367488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541754880001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:06:21] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:06:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172283975237632,"km_value":14172283975237.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627586367488,"description":"Unknown IO ID 45"} 
[2026-08-21 06:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541754880001,"power":12711,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849290627586367488}} 
[2026-08-21 06:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:06:22] local.INFO: GPS data processed {"connection_id":161321,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:06:22] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:06:27] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:06:27] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:06:27] local.INFO: IMEI packet received {"connection_id":159090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":159090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:06:27] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:06:27] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:06:27] local.INFO: Packet analysis {"connection_id":159089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:06:27] local.INFO: Extracted packet for processing {"connection_id":159089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:06:27] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:06:27] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:06:27] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":159089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:06:27] local.INFO: GPS data processed {"connection_id":159089,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:06:27] local.INFO: Acknowledgment sent {"connection_id":159089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:06:32] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:06:32] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:06:32] local.INFO: IMEI packet received {"connection_id":159090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":159090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:06:33] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:06:33] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:06:33] local.INFO: Packet analysis {"connection_id":159090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:06:33] local.INFO: Extracted packet for processing {"connection_id":159090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:06:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:06:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:06:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":159090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:06:33] local.INFO: GPS data processed {"connection_id":159090,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:06:33] local.INFO: Acknowledgment sent {"connection_id":159090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:06:53] local.INFO: TCP Data received {"connection_id":161321,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021be6910012d19aa80071fbe70002700d40f..."} 
[2026-08-21 06:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021be6910012d19aa80071fbe70002700d40f..."} 
[2026-08-21 06:06:53] local.INFO: Processing buffer {"connection_id":161321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021be6910012d19aa80071fbe70002700d40f..."} 
[2026-08-21 06:06:53] local.INFO: Packet analysis {"connection_id":161321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021be"} 
[2026-08-21 06:06:53] local.INFO: Extracted packet for processing {"connection_id":161321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021be"} 
[2026-08-21 06:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756656768,"raw_latitude":119520880,"longitude_deg":75.6656768,"latitude_deg":11.952088,"altitude":39,"angle":212,"satellites":15,"speed":0,"hex_longitude":"2d19aa80","hex_latitude":"071fbe70","is_valid_coordinates":true} 
[2026-08-21 06:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541760256001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172283975237632,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849431365074726912,"note":"Value kept but may cause issues"} 
[2026-08-21 06:06: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-08-21 06:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787272522000,"timestamp_ms":1787272522000,"timestamp_seconds":1787272522,"priority":1,"record_length":96,"hex_timestamp":"000001a021be6910"} 
[2026-08-21 06:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-21 06:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161321,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541760256001,"66":12667,"101":206,"83":41984,"24":0,"16":14172283975237632,"45":1849431365074726912},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541760256001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:06:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172283975237632,"km_value":14172283975237.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849431365074726912,"description":"Unknown IO ID 45"} 
[2026-08-21 06:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541760256001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849431365074726912}} 
[2026-08-21 06:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":161321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:06:53] local.INFO: GPS data processed {"connection_id":161321,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:06:53] local.INFO: Acknowledgment sent {"connection_id":161321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:07:04] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:07:04] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:07:04] local.INFO: Packet analysis {"connection_id":159090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:07:04] local.INFO: Extracted packet for processing {"connection_id":159090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:07:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:07: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-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":159090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:07:04] local.INFO: GPS data processed {"connection_id":159090,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:07:04] local.INFO: Acknowledgment sent {"connection_id":159090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:07:19] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:07:19] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:07:19] local.INFO: IMEI packet received {"connection_id":159952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":159952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:07:23] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:07:23] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:07:23] local.INFO: IMEI packet received {"connection_id":159952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":159952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:07:24] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bebb18012d19ab00071fbe80002700d411..."} 
[2026-08-21 06:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bebb18012d19ab00071fbe80002700d411..."} 
[2026-08-21 06:07:24] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bebb18012d19ab00071fbe80002700d411..."} 
[2026-08-21 06:07:24] local.INFO: Packet analysis {"connection_id":159952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021be"} 
[2026-08-21 06:07:24] local.INFO: Extracted packet for processing {"connection_id":159952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021be"} 
[2026-08-21 06:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119520896,"longitude_deg":75.6656896,"latitude_deg":11.9520896,"altitude":39,"angle":212,"satellites":17,"speed":0,"hex_longitude":"2d19ab00","hex_latitude":"071fbe80","is_valid_coordinates":true} 
[2026-08-21 06:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541765632001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172288270204928,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849431365074710528,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787272543000,"timestamp_ms":1787272543000,"timestamp_seconds":1787272543,"priority":1,"record_length":96,"hex_timestamp":"000001a021bebb18"} 
[2026-08-21 06:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 06:07: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-08-21 06:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541765632001,"66":12667,"101":206,"83":41984,"24":0,"16":14172288270204928,"45":1849431365074710528},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541765632001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:07:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172288270204928,"km_value":14172288270204.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849431365074710528,"description":"Unknown IO ID 45"} 
[2026-08-21 06:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541765632001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849431365074710528}} 
[2026-08-21 06:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":159952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:07:24] local.INFO: GPS data processed {"connection_id":159952,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:07:24] local.INFO: Acknowledgment sent {"connection_id":159952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:07:26] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:07:26] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:07:26] local.INFO: IMEI packet received {"connection_id":159091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":159091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:07:32] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:07:32] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:07:32] local.INFO: IMEI packet received {"connection_id":159091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":159091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:07:33] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:07:33] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bba608012da67700054b37100012005f32..."} 
[2026-08-21 06:07:33] local.INFO: Packet analysis {"connection_id":159091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:07:33] local.INFO: Extracted packet for processing {"connection_id":159091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bb"} 
[2026-08-21 06:07:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":50,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272341000,"timestamp_ms":1787272341000,"timestamp_seconds":1787272341,"priority":1,"record_length":96,"hex_timestamp":"000001a021bba608"} 
[2026-08-21 06:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541642240001,"66":25647,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:07:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:07:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541642240001,"power":25647,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":159091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:07:33] local.INFO: GPS data processed {"connection_id":159091,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:07:33] local.INFO: Acknowledgment sent {"connection_id":159091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:07:55] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bf0d20012d19ab00071fbea0002600d412..."} 
[2026-08-21 06:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bf0d20012d19ab00071fbea0002600d412..."} 
[2026-08-21 06:07:55] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bf0d20012d19ab00071fbea0002600d412..."} 
[2026-08-21 06:07:55] local.INFO: Packet analysis {"connection_id":159952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bf"} 
[2026-08-21 06:07:55] local.INFO: Extracted packet for processing {"connection_id":159952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bf"} 
[2026-08-21 06:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119520928,"longitude_deg":75.6656896,"latitude_deg":11.9520928,"altitude":38,"angle":212,"satellites":18,"speed":0,"hex_longitude":"2d19ab00","hex_latitude":"071fbea0","is_valid_coordinates":true} 
[2026-08-21 06:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541771008001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172292565172224,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102563069952,"note":"Value kept but may cause issues"} 
[2026-08-21 06:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787272564000,"timestamp_ms":1787272564000,"timestamp_seconds":1787272564,"priority":1,"record_length":96,"hex_timestamp":"000001a021bf0d20"} 
[2026-08-21 06:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 06:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541771008001,"66":12667,"101":206,"83":41984,"24":0,"16":14172292565172224,"45":1849572102563069952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541771008001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:07:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172292565172224,"km_value":14172292565172.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102563069952,"description":"Unknown IO ID 45"} 
[2026-08-21 06:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541771008001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849572102563069952}} 
[2026-08-21 06:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":159952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:07:55] local.INFO: GPS data processed {"connection_id":159952,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:07:55] local.INFO: Acknowledgment sent {"connection_id":159952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:08:04] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:08:04] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:08:04] local.INFO: Packet analysis {"connection_id":159091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:08:04] local.INFO: Extracted packet for processing {"connection_id":159091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:08:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:08: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-08-21 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:08:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:08:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":159091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:08:04] local.INFO: GPS data processed {"connection_id":159091,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:08:04] local.INFO: Acknowledgment sent {"connection_id":159091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:08:26] local.INFO: TCP Data received {"connection_id":158794,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:08:26] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:08:26] local.INFO: IMEI packet received {"connection_id":158794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":158794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:08:30] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bf5f28012d19ab80071fbe88002400d415..."} 
[2026-08-21 06:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bf5f28012d19ab80071fbe88002400d415..."} 
[2026-08-21 06:08:30] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bf5f28012d19ab80071fbe88002400d415..."} 
[2026-08-21 06:08:30] local.INFO: Packet analysis {"connection_id":159952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bf"} 
[2026-08-21 06:08:30] local.INFO: Extracted packet for processing {"connection_id":159952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bf"} 
[2026-08-21 06:08:30] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119520904,"longitude_deg":75.6657024,"latitude_deg":11.9520904,"altitude":36,"angle":212,"satellites":21,"speed":0,"hex_longitude":"2d19ab80","hex_latitude":"071fbe88","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541776384001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172305450074112,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102563078144,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787272585000,"timestamp_ms":1787272585000,"timestamp_seconds":1787272585,"priority":1,"record_length":96,"hex_timestamp":"000001a021bf5f28"} 
[2026-08-21 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-08-21 06:08:30] 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-08-21 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 06:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541776384001,"66":12580,"101":206,"83":41984,"24":0,"16":14172305450074112,"45":1849572102563078144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541776384001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172305450074112,"km_value":14172305450074.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102563078144,"description":"Unknown IO ID 45"} 
[2026-08-21 06:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541776384001,"power":12580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849572102563078144}} 
[2026-08-21 06:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":159952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:08:30] local.INFO: GPS data processed {"connection_id":159952,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:08:30] local.INFO: Acknowledgment sent {"connection_id":159952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:08:32] local.INFO: TCP Data received {"connection_id":158794,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:08:32] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:08:32] local.INFO: IMEI packet received {"connection_id":158794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":158794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:08:33] local.INFO: TCP Data received {"connection_id":158794,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:08:33] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:08:33] local.INFO: Packet analysis {"connection_id":158794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:08:33] local.INFO: Extracted packet for processing {"connection_id":158794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:08:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:08:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:08:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":158794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:08:33] local.INFO: GPS data processed {"connection_id":158794,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:08:33] local.INFO: Acknowledgment sent {"connection_id":158794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:09:01] local.INFO: TCP Data received {"connection_id":159952,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021bfb130012d19ab40071fbec8002600d415..."} 
[2026-08-21 06:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021bfb130012d19ab40071fbec8002600d415..."} 
[2026-08-21 06:09:01] local.INFO: Processing buffer {"connection_id":159952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021bfb130012d19ab40071fbec8002600d415..."} 
[2026-08-21 06:09:01] local.INFO: Packet analysis {"connection_id":159952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021bf"} 
[2026-08-21 06:09:01] local.INFO: Extracted packet for processing {"connection_id":159952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021bf"} 
[2026-08-21 06:09:01] local.INFO: GPS Element Parsed {"raw_longitude":756656960,"raw_latitude":119520968,"longitude_deg":75.665696,"latitude_deg":11.9520968,"altitude":38,"angle":212,"satellites":21,"speed":0,"hex_longitude":"2d19ab40","hex_latitude":"071fbec8","is_valid_coordinates":true} 
[2026-08-21 06:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541781760001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172314040008704,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849712840051427328,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787272606000,"timestamp_ms":1787272606000,"timestamp_seconds":1787272606,"priority":1,"record_length":96,"hex_timestamp":"000001a021bfb130"} 
[2026-08-21 06:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":36,"data_length":795,"current_offset":136} 
[2026-08-21 06:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541781760001,"66":12613,"101":206,"83":41984,"24":0,"16":14172314040008704,"45":1849712840051427328},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541781760001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:09:01] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:09:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172314040008704,"km_value":14172314040008.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849712840051427328,"description":"Unknown IO ID 45"} 
[2026-08-21 06:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541781760001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849712840051427328}} 
[2026-08-21 06:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":159952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:09:01] local.INFO: GPS data processed {"connection_id":159952,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:09:01] local.INFO: Acknowledgment sent {"connection_id":159952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:09:04] local.INFO: TCP Data received {"connection_id":158794,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:04] local.INFO: Processing buffer {"connection_id":158794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:04] local.INFO: Packet analysis {"connection_id":158794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:04] local.INFO: Extracted packet for processing {"connection_id":158794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:09: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-08-21 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:09:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:09:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":158794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:09:04] local.INFO: GPS data processed {"connection_id":158794,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:09:04] local.INFO: Acknowledgment sent {"connection_id":158794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:09:18] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:09:18] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:09:18] local.INFO: IMEI packet received {"connection_id":159953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":159953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:09:23] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:09:23] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:09:23] local.INFO: IMEI packet received {"connection_id":159953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":159953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:09:24] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c00338012d19ab00071fbf50002900d417..."} 
[2026-08-21 06:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c00338012d19ab00071fbf50002900d417..."} 
[2026-08-21 06:09:24] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c00338012d19ab00071fbf50002900d417..."} 
[2026-08-21 06:09:24] local.INFO: Packet analysis {"connection_id":159953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:24] local.INFO: Extracted packet for processing {"connection_id":159953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119521104,"longitude_deg":75.6656896,"latitude_deg":11.9521104,"altitude":41,"angle":212,"satellites":23,"speed":0,"hex_longitude":"2d19ab00","hex_latitude":"071fbf50","is_valid_coordinates":true} 
[2026-08-21 06:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541787136001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172322629943296,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849642471307266048,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787272627000,"timestamp_ms":1787272627000,"timestamp_seconds":1787272627,"priority":1,"record_length":96,"hex_timestamp":"000001a021c00338"} 
[2026-08-21 06:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 06:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541787136001,"66":12613,"101":206,"83":41984,"24":0,"16":14172322629943296,"45":1849642471307266048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541787136001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:09:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172322629943296,"km_value":14172322629943.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849642471307266048,"description":"Unknown IO ID 45"} 
[2026-08-21 06:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541787136001,"power":12613,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849642471307266048}} 
[2026-08-21 06:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":159953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:09:24] local.INFO: GPS data processed {"connection_id":159953,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:09:24] local.INFO: Acknowledgment sent {"connection_id":159953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:09:32] local.INFO: TCP Data received {"connection_id":158795,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:09:32] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:09:32] local.INFO: IMEI packet received {"connection_id":158795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":158795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:09:37] local.INFO: TCP Data received {"connection_id":158795,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:09:37] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:09:37] local.INFO: IMEI packet received {"connection_id":158795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":158795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:09:38] local.INFO: TCP Data received {"connection_id":158795,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:38] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:38] local.INFO: Packet analysis {"connection_id":158795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:38] local.INFO: Extracted packet for processing {"connection_id":158795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:09:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:09:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":158795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:09:38] local.INFO: GPS data processed {"connection_id":158795,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:09:38] local.INFO: Acknowledgment sent {"connection_id":158795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:09:42] local.INFO: TCP Data received {"connection_id":158795,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:42] local.INFO: Processing buffer {"connection_id":158795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:09:42] local.INFO: Packet analysis {"connection_id":158795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:42] local.INFO: Extracted packet for processing {"connection_id":158795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":158795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:09:42] local.INFO: GPS data processed {"connection_id":158795,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:09:42] local.INFO: Acknowledgment sent {"connection_id":158795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:09:55] local.INFO: TCP Data received {"connection_id":159953,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c05540012d19ab00071fbf68002900d417..."} 
[2026-08-21 06:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c05540012d19ab00071fbf68002900d417..."} 
[2026-08-21 06:09:55] local.INFO: Processing buffer {"connection_id":159953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c05540012d19ab00071fbf68002900d417..."} 
[2026-08-21 06:09:55] local.INFO: Packet analysis {"connection_id":159953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:55] local.INFO: Extracted packet for processing {"connection_id":159953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119521128,"longitude_deg":75.6656896,"latitude_deg":11.9521128,"altitude":41,"angle":212,"satellites":23,"speed":0,"hex_longitude":"2d19ab00","hex_latitude":"071fbf68","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541792512001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172322629943296,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102563123200,"note":"Value kept but may cause issues"} 
[2026-08-21 06:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787272648000,"timestamp_ms":1787272648000,"timestamp_seconds":1787272648,"priority":1,"record_length":96,"hex_timestamp":"000001a021c05540"} 
[2026-08-21 06:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:09:55] 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-08-21 06:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 06:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541792512001,"66":12558,"101":206,"83":41984,"24":0,"16":14172322629943296,"45":1849572102563123200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541792512001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:09:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172322629943296,"km_value":14172322629943.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102563123200,"description":"Unknown IO ID 45"} 
[2026-08-21 06:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541792512001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849572102563123200}} 
[2026-08-21 06:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":159953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:09:55] local.INFO: GPS data processed {"connection_id":159953,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:09:55] local.INFO: Acknowledgment sent {"connection_id":159953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:10:18] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:10:18] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:10:18] local.INFO: IMEI packet received {"connection_id":159092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":159092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:10:23] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:10:23] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:10:23] local.INFO: IMEI packet received {"connection_id":159092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":159092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:10:24] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c0a748012d19ab00071fbf48002900d417..."} 
[2026-08-21 06:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c0a748012d19ab00071fbf48002900d417..."} 
[2026-08-21 06:10:24] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c0a748012d19ab00071fbf48002900d417..."} 
[2026-08-21 06:10:24] local.INFO: Packet analysis {"connection_id":159092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:10:24] local.INFO: Extracted packet for processing {"connection_id":159092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119521096,"longitude_deg":75.6656896,"latitude_deg":11.9521096,"altitude":41,"angle":212,"satellites":23,"speed":0,"hex_longitude":"2d19ab00","hex_latitude":"071fbf48","is_valid_coordinates":true} 
[2026-08-21 06:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541797888001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172326924910592,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102563129344,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787272669000,"timestamp_ms":1787272669000,"timestamp_seconds":1787272669,"priority":1,"record_length":96,"hex_timestamp":"000001a021c0a748"} 
[2026-08-21 06:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:10:24] 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-08-21 06: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2734686208,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249816072976580272,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3205308417,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3198156838,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:24] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,89,160,3,45,191,41,23,10,66,177,64,190,38,21,95,128,1,240,36,227,33,31,4,113,205,187,171,17,239,49,2,50,7,39,120,206],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-21 06:10:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954594550804381696,"timestamp_seconds":2954594550804381.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541797888001,"66":12580,"101":206,"83":41984,"24":0,"16":14172326924910592,"45":1849572102563129344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541797888001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:10:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172326924910592,"km_value":14172326924910.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102563129344,"description":"Unknown IO ID 45"} 
[2026-08-21 06:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541797888001,"power":12580,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1849572102563129344}} 
[2026-08-21 06:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":159092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:10:24] local.INFO: GPS data processed {"connection_id":159092,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:10:24] local.INFO: Acknowledgment sent {"connection_id":159092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:10:27] local.INFO: TCP Data received {"connection_id":158796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:10:27] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:10:27] local.INFO: IMEI packet received {"connection_id":158796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":158796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:10:32] local.INFO: TCP Data received {"connection_id":158796,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:10:32] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:10:32] local.INFO: IMEI packet received {"connection_id":158796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":158796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:10:33] local.INFO: TCP Data received {"connection_id":158796,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:10:33] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:10:33] local.INFO: Packet analysis {"connection_id":158796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:10:33] local.INFO: Extracted packet for processing {"connection_id":158796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:10:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:10:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:10:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":158796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:10:33] local.INFO: GPS data processed {"connection_id":158796,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:10:33] local.INFO: Acknowledgment sent {"connection_id":158796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:10:55] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c36e38012d19a540071fc2380024001519..."} 
[2026-08-21 06:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c36e38012d19a540071fc2380024001519..."} 
[2026-08-21 06:10:55] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c36e38012d19a540071fc2380024001519..."} 
[2026-08-21 06:10:55] local.INFO: Packet analysis {"connection_id":159092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c3"} 
[2026-08-21 06:10:55] local.INFO: Extracted packet for processing {"connection_id":159092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c3"} 
[2026-08-21 06:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119521848,"longitude_deg":75.6655424,"latitude_deg":11.9521848,"altitude":36,"angle":21,"satellites":25,"speed":5,"hex_longitude":"2d19a540","hex_latitude":"071fc238","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541849344001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172472953798656,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252702996480,"note":"Value kept but may cause issues"} 
[2026-08-21 06:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787272851000,"timestamp_ms":1787272851000,"timestamp_seconds":1787272851,"priority":1,"record_length":96,"hex_timestamp":"000001a021c36e38"} 
[2026-08-21 06:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 06:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541849344001,"66":14135,"101":206,"83":41984,"24":5,"16":14172472953798656,"45":1847883252702996480},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541849344001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:10:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172472953798656,"km_value":14172472953798.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252702996480,"description":"Unknown IO ID 45"} 
[2026-08-21 06:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541849344001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1847883252702996480}} 
[2026-08-21 06:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":159092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:10:55] local.INFO: GPS data processed {"connection_id":159092,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:10:55] local.INFO: Acknowledgment sent {"connection_id":159092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:11:04] local.INFO: TCP Data received {"connection_id":158796,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:11:04] local.INFO: Processing buffer {"connection_id":158796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:11:04] local.INFO: Packet analysis {"connection_id":158796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:11:04] local.INFO: Extracted packet for processing {"connection_id":158796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:11: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-08-21 06:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:11:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:11:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":158796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:11:04] local.INFO: GPS data processed {"connection_id":158796,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:11:04] local.INFO: Acknowledgment sent {"connection_id":158796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:11:19] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:19] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:19] local.INFO: IMEI packet received {"connection_id":161322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":161322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:11:23] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:23] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:23] local.INFO: IMEI packet received {"connection_id":161322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":161322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:11:23] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:23] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:23] local.INFO: IMEI packet received {"connection_id":161322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":161322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:11:24] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:24] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:11:24] local.INFO: IMEI packet received {"connection_id":161322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":161322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:11:25] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c37220012d19a580071fc2e00024000819..."} 
[2026-08-21 06:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c37220012d19a580071fc2e00024000819..."} 
[2026-08-21 06:11:25] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c37220012d19a580071fc2e00024000819..."} 
[2026-08-21 06:11:25] local.INFO: Packet analysis {"connection_id":161322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c3"} 
[2026-08-21 06:11:25] local.INFO: Extracted packet for processing {"connection_id":161322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c3"} 
[2026-08-21 06:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119522016,"longitude_deg":75.6655488,"latitude_deg":11.9522016,"altitude":36,"angle":8,"satellites":25,"speed":7,"hex_longitude":"2d19a580","hex_latitude":"071fc2e0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541849856001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172481543733248,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847953621447227392,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787272852000,"timestamp_ms":1787272852000,"timestamp_seconds":1787272852,"priority":1,"record_length":96,"hex_timestamp":"000001a021c37220"} 
[2026-08-21 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-08-21 06:11:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 06:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541849856001,"66":14233,"101":206,"83":41984,"24":7,"16":14172481543733248,"45":1847953621447227392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541849856001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:11:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:11:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172481543733248,"km_value":14172481543733.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847953621447227392,"description":"Unknown IO ID 45"} 
[2026-08-21 06:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541849856001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1847953621447227392}} 
[2026-08-21 06:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":161322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:11:25] local.INFO: GPS data processed {"connection_id":161322,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:11:25] local.INFO: Acknowledgment sent {"connection_id":161322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:11:27] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:11:27] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:11:27] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:11:28] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c37608012d19a580071fc3e00023016419..."} 
[2026-08-21 06:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c37608012d19a580071fc3e00023016419..."} 
[2026-08-21 06:11:28] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c37608012d19a580071fc3e00023016419..."} 
[2026-08-21 06:11:28] local.INFO: Packet analysis {"connection_id":161322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c3"} 
[2026-08-21 06:11:28] local.INFO: Extracted packet for processing {"connection_id":161322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c3"} 
[2026-08-21 06:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756655488,"raw_latitude":119522272,"longitude_deg":75.6655488,"latitude_deg":11.9522272,"altitude":35,"angle":356,"satellites":25,"speed":12,"hex_longitude":"2d19a580","hex_latitude":"071fc3e0","is_valid_coordinates":true} 
[2026-08-21 06:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541850112001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172494428635136,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848023990191448064,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787272853000,"timestamp_ms":1787272853000,"timestamp_seconds":1787272853,"priority":1,"record_length":96,"hex_timestamp":"000001a021c37608"} 
[2026-08-21 06:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 06:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541850112001,"66":14233,"101":206,"83":41984,"24":12,"16":14172494428635136,"45":1848023990191448064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541850112001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:11:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14172494428635136,"km_value":14172494428635.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848023990191448064,"description":"Unknown IO ID 45"} 
[2026-08-21 06:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541850112001,"power":14233,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1848023990191448064}} 
[2026-08-21 06:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":161322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:11:28] local.INFO: GPS data processed {"connection_id":161322,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:11:28] local.INFO: Acknowledgment sent {"connection_id":161322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:11:32] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:11:32] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:11:32] local.INFO: IMEI packet received {"connection_id":159954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":159954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:11:33] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:11:33] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:11:33] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:11:33] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:11:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:11:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:11:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:11:33] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:11:33] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:11:58] local.INFO: TCP Data received {"connection_id":161322,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c448f8012d19cb00071ff3c0001b002218..."} 
[2026-08-21 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c448f8012d19cb00071ff3c0001b002218..."} 
[2026-08-21 06:11:58] local.INFO: Processing buffer {"connection_id":161322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c448f8012d19cb00071ff3c0001b002218..."} 
[2026-08-21 06:11:58] local.INFO: Packet analysis {"connection_id":161322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:11:58] local.INFO: Extracted packet for processing {"connection_id":161322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119534528,"longitude_deg":75.6665088,"latitude_deg":11.9534528,"altitude":27,"angle":34,"satellites":24,"speed":15,"hex_longitude":"2d19cb00","hex_latitude":"071ff3c0","is_valid_coordinates":true} 
[2026-08-21 06:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541863936001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173559580524544,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844502016,"note":"Value kept but may cause issues"} 
[2026-08-21 06:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787272907000,"timestamp_ms":1787272907000,"timestamp_seconds":1787272907,"priority":1,"record_length":96,"hex_timestamp":"000001a021c448f8"} 
[2026-08-21 06:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 06:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541863936001,"66":14374,"101":206,"83":41984,"24":15,"16":14173559580524544,"45":1858297826844502016},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541863936001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:11:58] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:11:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173559580524544,"km_value":14173559580524.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844502016,"description":"Unknown IO ID 45"} 
[2026-08-21 06:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541863936001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1858297826844502016}} 
[2026-08-21 06:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":161322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:11:59] local.INFO: GPS data processed {"connection_id":161322,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:11:59] local.INFO: Acknowledgment sent {"connection_id":161322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:12:05] local.INFO: TCP Data received {"connection_id":159954,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:12:05] local.INFO: Processing buffer {"connection_id":159954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:12:05] local.INFO: Packet analysis {"connection_id":159954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:12:05] local.INFO: Extracted packet for processing {"connection_id":159954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:12:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:12: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-08-21 06:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:12:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:12:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":159954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:12:05] local.INFO: GPS data processed {"connection_id":159954,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:12:05] local.INFO: Acknowledgment sent {"connection_id":159954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:12:17] local.INFO: TCP Data received {"connection_id":158797,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:17] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:17] local.INFO: IMEI packet received {"connection_id":158797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":158797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:12:18] local.INFO: TCP Data received {"connection_id":158797,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:18] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:18] local.INFO: IMEI packet received {"connection_id":158797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":158797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:12:23] local.INFO: TCP Data received {"connection_id":158797,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:23] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:12:23] local.INFO: IMEI packet received {"connection_id":158797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":158797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:12:23] local.INFO: TCP Data received {"connection_id":158797,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c45898012d19cf00071ffa40001c003818..."} 
[2026-08-21 06:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c45898012d19cf00071ffa40001c003818..."} 
[2026-08-21 06:12:23] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c45898012d19cf00071ffa40001c003818..."} 
[2026-08-21 06:12:23] local.INFO: Packet analysis {"connection_id":158797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:12:23] local.INFO: Extracted packet for processing {"connection_id":158797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756666112,"raw_latitude":119536192,"longitude_deg":75.6666112,"latitude_deg":11.9536192,"altitude":28,"angle":56,"satellites":24,"speed":18,"hex_longitude":"2d19cf00","hex_latitude":"071ffa40","is_valid_coordinates":true} 
[2026-08-21 06:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541864192001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173654069805056,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301821300736,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787272911000,"timestamp_ms":1787272911000,"timestamp_seconds":1787272911,"priority":1,"record_length":96,"hex_timestamp":"000001a021c45898"} 
[2026-08-21 06:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 06:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541864192001,"66":14374,"101":206,"83":41984,"24":18,"16":14173654069805056,"45":1858579301821300736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541864192001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:12:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173654069805056,"km_value":14173654069805.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301821300736,"description":"Unknown IO ID 45"} 
[2026-08-21 06:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541864192001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858579301821300736}} 
[2026-08-21 06:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":158797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:12:24] local.INFO: GPS data processed {"connection_id":158797,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:12:24] local.INFO: Acknowledgment sent {"connection_id":158797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:12:27] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:12:27] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:12:27] local.INFO: IMEI packet received {"connection_id":159955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":159955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:12:32] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:12:32] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:12:32] local.INFO: IMEI packet received {"connection_id":159955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":159955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:12:32] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:12:32] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c03dd0012da67700054b37100012005f34..."} 
[2026-08-21 06:12:32] local.INFO: Packet analysis {"connection_id":159955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:12:32] local.INFO: Extracted packet for processing {"connection_id":159955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c0"} 
[2026-08-21 06:12:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":18,"angle":95,"satellites":52,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541719296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787272642000,"timestamp_ms":1787272642000,"timestamp_seconds":1787272642,"priority":1,"record_length":96,"hex_timestamp":"000001a021c03dd0"} 
[2026-08-21 06:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:12: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-08-21 06: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 06:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541719296001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541719296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:12:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:12:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541719296001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":159955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:12:32] local.INFO: GPS data processed {"connection_id":159955,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:12:32] local.INFO: Acknowledgment sent {"connection_id":159955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:12:55] local.INFO: TCP Data received {"connection_id":158797,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c47008012d19d8c007200180001f002a18..."} 
[2026-08-21 06:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c47008012d19d8c007200180001f002a18..."} 
[2026-08-21 06:12:55] local.INFO: Processing buffer {"connection_id":158797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c47008012d19d8c007200180001f002a18..."} 
[2026-08-21 06:12:55] local.INFO: Packet analysis {"connection_id":158797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:12:55] local.INFO: Extracted packet for processing {"connection_id":158797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119538048,"longitude_deg":75.6668608,"latitude_deg":11.9538048,"altitude":31,"angle":42,"satellites":24,"speed":24,"hex_longitude":"2d19d8c0","hex_latitude":"07200180","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541865216001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173804393660416,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859705201728569344,"note":"Value kept but may cause issues"} 
[2026-08-21 06:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787272917000,"timestamp_ms":1787272917000,"timestamp_seconds":1787272917,"priority":1,"record_length":96,"hex_timestamp":"000001a021c47008"} 
[2026-08-21 06:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5888,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 06:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541865216001,"66":14298,"101":206,"83":41984,"24":24,"16":14173804393660416,"45":1859705201728569344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541865216001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:12:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173804393660416,"km_value":14173804393660.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859705201728569344,"description":"Unknown IO ID 45"} 
[2026-08-21 06:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541865216001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1859705201728569344}} 
[2026-08-21 06:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":158797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:12:55] local.INFO: GPS data processed {"connection_id":158797,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:12:55] local.INFO: Acknowledgment sent {"connection_id":158797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:13:04] local.INFO: TCP Data received {"connection_id":159955,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:13:04] local.INFO: Processing buffer {"connection_id":159955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:13:04] local.INFO: Packet analysis {"connection_id":159955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:04] local.INFO: Extracted packet for processing {"connection_id":159955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:13: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-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:13:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:13:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":159955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:13:04] local.INFO: GPS data processed {"connection_id":159955,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:13:04] local.INFO: Acknowledgment sent {"connection_id":159955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:13:18] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:18] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:18] local.INFO: IMEI packet received {"connection_id":161323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":161323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:13:19] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:19] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:19] local.INFO: IMEI packet received {"connection_id":161323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":161323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:13:23] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:23] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:13:23] local.INFO: IMEI packet received {"connection_id":161323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":161323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:13:23] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c48390012d19df00072008500020001c18..."} 
[2026-08-21 06:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c48390012d19df00072008500020001c18..."} 
[2026-08-21 06:13:23] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c48390012d19df00072008500020001c18..."} 
[2026-08-21 06:13:23] local.INFO: Packet analysis {"connection_id":161323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:23] local.INFO: Extracted packet for processing {"connection_id":161323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119539792,"longitude_deg":75.6670208,"latitude_deg":11.9539792,"altitude":32,"angle":28,"satellites":24,"speed":10,"hex_longitude":"2d19df00","hex_latitude":"07200850","is_valid_coordinates":true} 
[2026-08-21 06:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541866752001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173920357777408,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862449582751973376,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787272922000,"timestamp_ms":1787272922000,"timestamp_seconds":1787272922,"priority":1,"record_length":96,"hex_timestamp":"000001a021c48390"} 
[2026-08-21 06:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 06:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541866752001,"66":14243,"101":206,"83":41984,"24":10,"16":14173920357777408,"45":1862449582751973376},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541866752001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:13:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173920357777408,"km_value":14173920357777.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862449582751973376,"description":"Unknown IO ID 45"} 
[2026-08-21 06:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541866752001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1862449582751973376}} 
[2026-08-21 06:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":161323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:13:24] local.INFO: GPS data processed {"connection_id":161323,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:13:24] local.INFO: Acknowledgment sent {"connection_id":161323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:13:26] local.INFO: TCP Data received {"connection_id":159093,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:13:26] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:13:26] local.INFO: IMEI packet received {"connection_id":159093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":159093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:13:28] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c48778012d19df00072009400020000d18..."} 
[2026-08-21 06:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c48778012d19df00072009400020000d18..."} 
[2026-08-21 06:13:28] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c48778012d19df00072009400020000d18..."} 
[2026-08-21 06:13:28] local.INFO: Packet analysis {"connection_id":161323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:28] local.INFO: Extracted packet for processing {"connection_id":161323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119540032,"longitude_deg":75.6670208,"latitude_deg":11.9540032,"altitude":32,"angle":13,"satellites":24,"speed":8,"hex_longitude":"2d19df00","hex_latitude":"07200940","is_valid_coordinates":true} 
[2026-08-21 06:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541868032001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173933242679296,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356861440,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787272923000,"timestamp_ms":1787272923000,"timestamp_seconds":1787272923,"priority":1,"record_length":96,"hex_timestamp":"000001a021c48778"} 
[2026-08-21 06:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-21 06:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541868032001,"66":14243,"101":206,"83":41984,"24":8,"16":14173933242679296,"45":1864208801356861440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541868032001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:13:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173933242679296,"km_value":14173933242679.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356861440,"description":"Unknown IO ID 45"} 
[2026-08-21 06:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541868032001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1864208801356861440}} 
[2026-08-21 06:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":161323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:13:28] local.INFO: GPS data processed {"connection_id":161323,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:13:28] local.INFO: Acknowledgment sent {"connection_id":161323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:13:32] local.INFO: TCP Data received {"connection_id":159093,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:13:32] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:13:32] local.INFO: IMEI packet received {"connection_id":159093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":159093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:13:36] local.INFO: TCP Data received {"connection_id":159093,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:13:36] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:13:36] local.INFO: Packet analysis {"connection_id":159093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:36] local.INFO: Extracted packet for processing {"connection_id":159093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:36] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:13:36] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:13:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":159093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:13:36] local.INFO: GPS data processed {"connection_id":159093,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:13:36] local.INFO: Acknowledgment sent {"connection_id":159093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:13:59] local.INFO: TCP Data received {"connection_id":161323,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c48b60012d19df0007200a080020015a18..."} 
[2026-08-21 06:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c48b60012d19df0007200a080020015a18..."} 
[2026-08-21 06:13:59] local.INFO: Processing buffer {"connection_id":161323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c48b60012d19df0007200a080020015a18..."} 
[2026-08-21 06:13:59] local.INFO: Packet analysis {"connection_id":161323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:59] local.INFO: Extracted packet for processing {"connection_id":161323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119540232,"longitude_deg":75.6670208,"latitude_deg":11.9540232,"altitude":32,"angle":346,"satellites":24,"speed":7,"hex_longitude":"2d19df00","hex_latitude":"07200a08","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541868288001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173941832613888,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356922880,"note":"Value kept but may cause issues"} 
[2026-08-21 06:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787272924000,"timestamp_ms":1787272924000,"timestamp_seconds":1787272924,"priority":1,"record_length":96,"hex_timestamp":"000001a021c48b60"} 
[2026-08-21 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-08-21 06:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-21 06:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541868288001,"66":14396,"101":206,"83":41984,"24":7,"16":14173941832613888,"45":1864208801356922880},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541868288001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173941832613888,"km_value":14173941832613.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356922880,"description":"Unknown IO ID 45"} 
[2026-08-21 06:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541868288001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1864208801356922880}} 
[2026-08-21 06:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":161323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:13:59] local.INFO: GPS data processed {"connection_id":161323,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:13:59] local.INFO: Acknowledgment sent {"connection_id":161323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:14:08] local.INFO: TCP Data received {"connection_id":159093,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:08] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:08] local.INFO: Packet analysis {"connection_id":159093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:08] local.INFO: Extracted packet for processing {"connection_id":159093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:08] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:14: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-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:14:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:14:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":159093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:14:08] local.INFO: GPS data processed {"connection_id":159093,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:14:08] local.INFO: Acknowledgment sent {"connection_id":159093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:14:18] local.INFO: TCP Data received {"connection_id":161324,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:14:18] local.INFO: Processing buffer {"connection_id":161324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:14:18] local.INFO: IMEI packet received {"connection_id":161324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":161324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:14:22] local.INFO: TCP Data received {"connection_id":161324,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:14:22] local.INFO: Processing buffer {"connection_id":161324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:14:22] local.INFO: IMEI packet received {"connection_id":161324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":161324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:14:23] local.INFO: TCP Data received {"connection_id":161324,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c48f48012d19de8007200aa8001f014b18..."} 
[2026-08-21 06:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c48f48012d19de8007200aa8001f014b18..."} 
[2026-08-21 06:14:23] local.INFO: Processing buffer {"connection_id":161324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c48f48012d19de8007200aa8001f014b18..."} 
[2026-08-21 06:14:23] local.INFO: Packet analysis {"connection_id":161324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:23] local.INFO: Extracted packet for processing {"connection_id":161324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:23] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119540392,"longitude_deg":75.667008,"latitude_deg":11.9540392,"altitude":31,"angle":331,"satellites":24,"speed":6,"hex_longitude":"2d19de80","hex_latitude":"07200aa8","is_valid_coordinates":true} 
[2026-08-21 06:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541868544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173954717515776,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356974080,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787272925000,"timestamp_ms":1787272925000,"timestamp_seconds":1787272925,"priority":1,"record_length":96,"hex_timestamp":"000001a021c48f48"} 
[2026-08-21 06:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:14:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 06:14:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541868544001,"66":14396,"101":206,"83":41984,"24":6,"16":14173954717515776,"45":1864208801356974080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541868544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:14:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:14:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173954717515776,"km_value":14173954717515.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356974080,"description":"Unknown IO ID 45"} 
[2026-08-21 06:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541868544001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1864208801356974080}} 
[2026-08-21 06:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":161324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:14:23] local.INFO: GPS data processed {"connection_id":161324,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:14:23] local.INFO: Acknowledgment sent {"connection_id":161324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:14:32] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:14:32] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:14:32] local.INFO: IMEI packet received {"connection_id":159094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":159094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:14:37] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:14:37] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:14:37] local.INFO: IMEI packet received {"connection_id":159094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":159094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:14:38] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:38] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:38] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:38] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:14:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:14:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:14:38] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:14:38] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:14:42] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:42] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:14:42] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:42] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:14:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:14:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:14:42] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:14:42] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:14:56] local.INFO: TCP Data received {"connection_id":161324,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c49330012d19de0007200b58001f013d18..."} 
[2026-08-21 06:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c49330012d19de0007200b58001f013d18..."} 
[2026-08-21 06:14:56] local.INFO: Processing buffer {"connection_id":161324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c49330012d19de0007200b58001f013d18..."} 
[2026-08-21 06:14:56] local.INFO: Packet analysis {"connection_id":161324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:56] local.INFO: Extracted packet for processing {"connection_id":161324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:14:56] local.INFO: GPS Element Parsed {"raw_longitude":756669952,"raw_latitude":119540568,"longitude_deg":75.6669952,"latitude_deg":11.9540568,"altitude":31,"angle":317,"satellites":24,"speed":10,"hex_longitude":"2d19de00","hex_latitude":"07200b58","is_valid_coordinates":true} 
[2026-08-21 06:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541868800001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173963307450368,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864068063868659712,"note":"Value kept but may cause issues"} 
[2026-08-21 06:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787272926000,"timestamp_ms":1787272926000,"timestamp_seconds":1787272926,"priority":1,"record_length":96,"hex_timestamp":"000001a021c49330"} 
[2026-08-21 06:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 06:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541868800001,"66":14265,"101":206,"83":41984,"24":10,"16":14173963307450368,"45":1864068063868659712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541868800001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:14:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:14:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173963307450368,"km_value":14173963307450.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864068063868659712,"description":"Unknown IO ID 45"} 
[2026-08-21 06:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541868800001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1864068063868659712}} 
[2026-08-21 06:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":161324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:14:56] local.INFO: GPS data processed {"connection_id":161324,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:14:56] local.INFO: Acknowledgment sent {"connection_id":161324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:15:18] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:15:18] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:15:18] local.INFO: IMEI packet received {"connection_id":159956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":159956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:15:23] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:15:23] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:15:23] local.INFO: IMEI packet received {"connection_id":159956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":159956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:15:24] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c49718012d19dcc007200c18001e013118..."} 
[2026-08-21 06:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c49718012d19dcc007200c18001e013118..."} 
[2026-08-21 06:15:24] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c49718012d19dcc007200c18001e013118..."} 
[2026-08-21 06:15:24] local.INFO: Packet analysis {"connection_id":159956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:15:24] local.INFO: Extracted packet for processing {"connection_id":159956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756669632,"raw_latitude":119540760,"longitude_deg":75.6669632,"latitude_deg":11.954076,"altitude":30,"angle":305,"satellites":24,"speed":14,"hex_longitude":"2d19dcc0","hex_latitude":"07200c18","is_valid_coordinates":true} 
[2026-08-21 06:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541869056001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173980487319552,"note":"Value kept but may cause issues"} 
[2026-08-21 06:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380349440,"note":"Value kept but may cause issues"} 
[2026-08-21 06:15:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787272927000,"timestamp_ms":1787272927000,"timestamp_seconds":1787272927,"priority":1,"record_length":96,"hex_timestamp":"000001a021c49718"} 
[2026-08-21 06:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 06:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541869056001,"66":14265,"101":206,"83":41984,"24":14,"16":14173980487319552,"45":1863927326380349440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541869056001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:15:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173980487319552,"km_value":14173980487319.553,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380349440,"description":"Unknown IO ID 45"} 
[2026-08-21 06:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541869056001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1863927326380349440}} 
[2026-08-21 06:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":159956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:15:24] local.INFO: GPS data processed {"connection_id":159956,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:15:24] local.INFO: Acknowledgment sent {"connection_id":159956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:15:27] local.INFO: TCP Data received {"connection_id":158798,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:15:27] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:15:27] local.INFO: IMEI packet received {"connection_id":158798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":158798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:15:32] local.INFO: TCP Data received {"connection_id":158798,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:15:32] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:15:32] local.INFO: IMEI packet received {"connection_id":158798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":158798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:15:33] local.INFO: TCP Data received {"connection_id":158798,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:15:33] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:15:33] local.INFO: Packet analysis {"connection_id":158798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:15:33] local.INFO: Extracted packet for processing {"connection_id":158798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:15:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:15:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:15:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":158798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:15:33] local.INFO: GPS data processed {"connection_id":158798,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:15:33] local.INFO: Acknowledgment sent {"connection_id":158798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:16:00] local.INFO: TCP Data received {"connection_id":159956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c7e6c0012d19ac80072091980035000520..."} 
[2026-08-21 06:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c7e6c0012d19ac80072091980035000520..."} 
[2026-08-21 06:16:00] local.INFO: Processing buffer {"connection_id":159956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c7e6c0012d19ac80072091980035000520..."} 
[2026-08-21 06:16:00] local.INFO: Packet analysis {"connection_id":159956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c7"} 
[2026-08-21 06:16:00] local.INFO: Extracted packet for processing {"connection_id":159956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c7"} 
[2026-08-21 06:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756657280,"raw_latitude":119574936,"longitude_deg":75.665728,"latitude_deg":11.9574936,"altitude":53,"angle":5,"satellites":32,"speed":32,"hex_longitude":"2d19ac80","hex_latitude":"07209198","is_valid_coordinates":true} 
[2026-08-21 06:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541924096001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175810143387648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421273847808,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787273144000,"timestamp_ms":1787273144000,"timestamp_seconds":1787273144,"priority":1,"record_length":96,"hex_timestamp":"000001a021c7e6c0"} 
[2026-08-21 06:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 06:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541924096001,"66":14080,"103":206,"83":41984,"24":32,"16":14175810143387648,"45":1850205421273847808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541924096001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:16:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175810143387648,"km_value":14175810143387.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421273847808,"description":"Unknown IO ID 45"} 
[2026-08-21 06:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541924096001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850205421273847808}} 
[2026-08-21 06:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":159956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:16:00] local.INFO: GPS data processed {"connection_id":159956,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:16:00] local.INFO: Acknowledgment sent {"connection_id":159956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:16:04] local.INFO: TCP Data received {"connection_id":158798,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:16:04] local.INFO: Processing buffer {"connection_id":158798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:16:04] local.INFO: Packet analysis {"connection_id":158798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:16:04] local.INFO: Extracted packet for processing {"connection_id":158798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:16: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-08-21 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":158798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:16:04] local.INFO: GPS data processed {"connection_id":158798,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:16:04] local.INFO: Acknowledgment sent {"connection_id":158798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:16:18] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:18] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:18] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:16:21] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:21] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:21] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:16:24] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:24] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:16:24] local.INFO: IMEI packet received {"connection_id":159957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":159957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:16:24] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c7eaa8012d19ad40072094980035001220..."} 
[2026-08-21 06:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c7eaa8012d19ad40072094980035001220..."} 
[2026-08-21 06:16:24] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c7eaa8012d19ad40072094980035001220..."} 
[2026-08-21 06:16:24] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c7"} 
[2026-08-21 06:16:24] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c7"} 
[2026-08-21 06:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119575704,"longitude_deg":75.6657472,"latitude_deg":11.9575704,"altitude":53,"angle":18,"satellites":32,"speed":30,"hex_longitude":"2d19ad40","hex_latitude":"07209498","is_valid_coordinates":true} 
[2026-08-21 06:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541924864001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175848798093312,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849994315041970176,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16: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-08-21 06:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273145000,"timestamp_ms":1787273145000,"timestamp_seconds":1787273145,"priority":1,"record_length":96,"hex_timestamp":"000001a021c7eaa8"} 
[2026-08-21 06:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3344060417,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-21 06:16:24] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148970,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:24] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":466972,"corrected_to":0} 
[2026-08-21 06:16:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,92,160,219,45,64,135,53,32,10,66,179,192,99,50,133,1,240,174,227,91,33,4,113,205,13,54,202,72,239,106,2,7,35],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":202,"original":466972,"validated":0}]} 
[2026-08-21 06:16:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819058119009370112,"timestamp_seconds":3819058119009370.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541924864001,"66":14080,"103":206,"83":41984,"24":30,"16":14175848798093312,"45":1849994315041970176},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541924864001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:16:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175848798093312,"km_value":14175848798093.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849994315041970176,"description":"Unknown IO ID 45"} 
[2026-08-21 06:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541924864001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1849994315041970176}} 
[2026-08-21 06:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:16:25] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:16:25] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:16:27] local.INFO: TCP Data received {"connection_id":158799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:16:27] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:16:27] local.INFO: IMEI packet received {"connection_id":158799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":158799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:16:32] local.INFO: TCP Data received {"connection_id":158799,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:16:32] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:16:32] local.INFO: IMEI packet received {"connection_id":158799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":158799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:16:33] local.INFO: TCP Data received {"connection_id":158799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:16:33] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:16:33] local.INFO: Packet analysis {"connection_id":158799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:16:33] local.INFO: Extracted packet for processing {"connection_id":158799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:16:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:16:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:16:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":158799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:16:33] local.INFO: GPS data processed {"connection_id":158799,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:16:33] local.INFO: Acknowledgment sent {"connection_id":158799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:16:56] local.INFO: TCP Data received {"connection_id":159957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c7ee90012d19af00072097500035002120..."} 
[2026-08-21 06:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c7ee90012d19af00072097500035002120..."} 
[2026-08-21 06:16:56] local.INFO: Processing buffer {"connection_id":159957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c7ee90012d19af00072097500035002120..."} 
[2026-08-21 06:16:56] local.INFO: Packet analysis {"connection_id":159957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c7"} 
[2026-08-21 06:16:56] local.INFO: Extracted packet for processing {"connection_id":159957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c7"} 
[2026-08-21 06:16:56] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119576400,"longitude_deg":75.665792,"latitude_deg":11.95764,"altitude":53,"angle":33,"satellites":32,"speed":32,"hex_longitude":"2d19af00","hex_latitude":"07209750","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541925120001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175887452798976,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274699776,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787273146000,"timestamp_ms":1787273146000,"timestamp_seconds":1787273146,"priority":1,"record_length":96,"hex_timestamp":"000001a021c7ee90"} 
[2026-08-21 06:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3347388417,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-21 06:16:56] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738794,"note":"Value kept but may cause issues"} 
[2026-08-21 06:16:56] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,92,160,230,45,128,145,53,32,10,66,219,64,135,179,192,1,240,5,227,33,4,113,205,82,201,48,239,55,106,2,50,7,35],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-21 06:16:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819072412660400128,"timestamp_seconds":3819072412660400.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541925120001,"66":14407,"103":206,"83":41984,"24":32,"16":14175887452798976,"45":1850205421274699776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541925120001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:16:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:16:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175887452798976,"km_value":14175887452798.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274699776,"description":"Unknown IO ID 45"} 
[2026-08-21 06:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541925120001,"power":14407,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850205421274699776}} 
[2026-08-21 06:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":159957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:16:56] local.INFO: GPS data processed {"connection_id":159957,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:16:56] local.INFO: Acknowledgment sent {"connection_id":159957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:17:04] local.INFO: TCP Data received {"connection_id":158799,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:17:04] local.INFO: Processing buffer {"connection_id":158799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:17:04] local.INFO: Packet analysis {"connection_id":158799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:17:04] local.INFO: Extracted packet for processing {"connection_id":158799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:17:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:17: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-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:17:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:17:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":158799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:17:04] local.INFO: GPS data processed {"connection_id":158799,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:17:04] local.INFO: Acknowledgment sent {"connection_id":158799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:17:18] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:17:18] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:17:18] local.INFO: IMEI packet received {"connection_id":159095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":159095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:17:23] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:17:23] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:17:23] local.INFO: IMEI packet received {"connection_id":159095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":159095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:17:24] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c8c568012d1950000720aaf8002f011f20..."} 
[2026-08-21 06:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c8c568012d1950000720aaf8002f011f20..."} 
[2026-08-21 06:17:24] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c8c568012d1950000720aaf8002f011f20..."} 
[2026-08-21 06:17:24] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c8"} 
[2026-08-21 06:17:24] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c8"} 
[2026-08-21 06:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756633600,"raw_latitude":119581432,"longitude_deg":75.66336,"latitude_deg":11.9581432,"altitude":47,"angle":287,"satellites":32,"speed":8,"hex_longitude":"2d195000","hex_latitude":"0720aaf8","is_valid_coordinates":true} 
[2026-08-21 06:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541938944001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14177480885665792,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092162940928,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17: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-08-21 06:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273201000,"timestamp_ms":1787273201000,"timestamp_seconds":1787273201,"priority":1,"record_length":96,"hex_timestamp":"000001a021c8c568"} 
[2026-08-21 06:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:17: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-08-21 06:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 06:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541938944001,"66":14298,"103":206,"83":41984,"24":8,"16":14177480885665792,"45":1824380092162940928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541938944001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:17:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14177480885665792,"km_value":14177480885665.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092162940928,"description":"Unknown IO ID 45"} 
[2026-08-21 06:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541938944001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1824380092162940928}} 
[2026-08-21 06:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:17:24] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:17:24] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:17:26] local.INFO: TCP Data received {"connection_id":158800,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:17:26] local.INFO: Processing buffer {"connection_id":158800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:17:26] local.INFO: IMEI packet received {"connection_id":158800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":158800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:17:32] local.INFO: TCP Data received {"connection_id":158800,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:17:32] local.INFO: Processing buffer {"connection_id":158800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:17:32] local.INFO: IMEI packet received {"connection_id":158800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":158800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:17:50] local.INFO: TCP Data received {"connection_id":158800,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:17:50] local.INFO: Processing buffer {"connection_id":158800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c4d598012da67700054b3710001c005f2f..."} 
[2026-08-21 06:17:50] local.INFO: Packet analysis {"connection_id":158800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:17:50] local.INFO: Extracted packet for processing {"connection_id":158800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c4"} 
[2026-08-21 06:17:50] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541796352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787272943000,"timestamp_ms":1787272943000,"timestamp_seconds":1787272943,"priority":1,"record_length":96,"hex_timestamp":"000001a021c4d598"} 
[2026-08-21 06:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541796352001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541796352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:17:50] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:17:50] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541796352001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":158800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:17:50] local.INFO: GPS data processed {"connection_id":158800,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:17:50] local.INFO: Acknowledgment sent {"connection_id":158800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:17:56] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c8e890012d193cc00720b258002e012c20..."} 
[2026-08-21 06:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c8e890012d193cc00720b258002e012c20..."} 
[2026-08-21 06:17:56] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c8e890012d193cc00720b258002e012c20..."} 
[2026-08-21 06:17:56] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c8"} 
[2026-08-21 06:17:56] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c8"} 
[2026-08-21 06:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756628672,"raw_latitude":119583320,"longitude_deg":75.6628672,"latitude_deg":11.958332,"altitude":46,"angle":300,"satellites":32,"speed":35,"hex_longitude":"2d193cc0","hex_latitude":"0720b258","is_valid_coordinates":true} 
[2026-08-21 06:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541939456001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14177734288736256,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879697897472,"note":"Value kept but may cause issues"} 
[2026-08-21 06:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787273210000,"timestamp_ms":1787273210000,"timestamp_seconds":1787273210,"priority":1,"record_length":96,"hex_timestamp":"000001a021c8e890"} 
[2026-08-21 06:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 06:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541939456001,"66":13678,"103":206,"83":41984,"24":35,"16":14177734288736256,"45":1823957879697897472},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541939456001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:17:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:17:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14177734288736256,"km_value":14177734288736.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879697897472,"description":"Unknown IO ID 45"} 
[2026-08-21 06:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541939456001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1823957879697897472}} 
[2026-08-21 06:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:17:56] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:17:56] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:18:18] local.INFO: TCP Data received {"connection_id":158801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:18] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:18] local.INFO: IMEI packet received {"connection_id":158801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":158801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:18:19] local.INFO: TCP Data received {"connection_id":158801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:19] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:19] local.INFO: IMEI packet received {"connection_id":158801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":158801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:18:20] local.INFO: TCP Data received {"connection_id":158801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:20] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:20] local.INFO: IMEI packet received {"connection_id":158801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":158801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:18:23] local.INFO: TCP Data received {"connection_id":158801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:23] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:18:23] local.INFO: IMEI packet received {"connection_id":158801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":158801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:18:24] local.INFO: TCP Data received {"connection_id":158801,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c9bb80012d18c480072142100039015d20..."} 
[2026-08-21 06:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c9bb80012d18c480072142100039015d20..."} 
[2026-08-21 06:18:24] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c9bb80012d18c480072142100039015d20..."} 
[2026-08-21 06:18:24] local.INFO: Packet analysis {"connection_id":158801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:18:24] local.INFO: Extracted packet for processing {"connection_id":158801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756597888,"raw_latitude":119620112,"longitude_deg":75.6597888,"latitude_deg":11.9620112,"altitude":57,"angle":349,"satellites":32,"speed":39,"hex_longitude":"2d18c480","hex_latitude":"07214210","is_valid_coordinates":true} 
[2026-08-21 06:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541954304001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180212484866048,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786873551525033984,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18: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-08-21 06:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273264000,"timestamp_ms":1787273264000,"timestamp_seconds":1787273264,"priority":1,"record_length":96,"hex_timestamp":"000001a021c9bb80"} 
[2026-08-21 06:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-21 06:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541954304001,"66":14265,"103":206,"83":41984,"24":39,"16":14180212484866048,"45":1786873551525033984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541954304001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:18:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180212484866048,"km_value":14180212484866.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786873551525033984,"description":"Unknown IO ID 45"} 
[2026-08-21 06:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541954304001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1786873551525033984}} 
[2026-08-21 06:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":158801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:18:24] local.INFO: GPS data processed {"connection_id":158801,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:18:24] local.INFO: Acknowledgment sent {"connection_id":158801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:18:26] local.INFO: TCP Data received {"connection_id":158802,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:18:26] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:18:26] local.INFO: IMEI packet received {"connection_id":158802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":158802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:18:32] local.INFO: TCP Data received {"connection_id":158802,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:18:32] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:18:32] local.INFO: IMEI packet received {"connection_id":158802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":158802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:18:33] local.INFO: TCP Data received {"connection_id":158802,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:18:33] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:18:33] local.INFO: Packet analysis {"connection_id":158802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:18:33] local.INFO: Extracted packet for processing {"connection_id":158802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:18:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:18:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:18:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":158802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:18:33] local.INFO: GPS data processed {"connection_id":158802,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:18:33] local.INFO: Acknowledgment sent {"connection_id":158802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:18:55] local.INFO: TCP Data received {"connection_id":158801,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021c9d2f0012d18c14007215530003c014e20..."} 
[2026-08-21 06:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c9d2f0012d18c14007215530003c014e20..."} 
[2026-08-21 06:18:55] local.INFO: Processing buffer {"connection_id":158801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c9d2f0012d18c14007215530003c014e20..."} 
[2026-08-21 06:18:55] local.INFO: Packet analysis {"connection_id":158801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:18:55] local.INFO: Extracted packet for processing {"connection_id":158801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119625008,"longitude_deg":75.6597056,"latitude_deg":11.9625008,"altitude":60,"angle":334,"satellites":32,"speed":29,"hex_longitude":"2d18c140","hex_latitude":"07215530","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541955584001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180453003034624,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120456663040,"note":"Value kept but may cause issues"} 
[2026-08-21 06:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787273270000,"timestamp_ms":1787273270000,"timestamp_seconds":1787273270,"priority":1,"record_length":96,"hex_timestamp":"000001a021c9d2f0"} 
[2026-08-21 06:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:18: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-08-21 06: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 06:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541955584001,"66":13656,"103":206,"83":41984,"24":29,"16":14180453003034624,"45":1784692120456663040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541955584001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:18:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180453003034624,"km_value":14180453003034.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120456663040,"description":"Unknown IO ID 45"} 
[2026-08-21 06:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541955584001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1784692120456663040}} 
[2026-08-21 06:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":158801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:18:55] local.INFO: GPS data processed {"connection_id":158801,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:18:55] local.INFO: Acknowledgment sent {"connection_id":158801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:19:04] local.INFO: TCP Data received {"connection_id":158802,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:04] local.INFO: Processing buffer {"connection_id":158802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:04] local.INFO: Packet analysis {"connection_id":158802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:19:04] local.INFO: Extracted packet for processing {"connection_id":158802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:19:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06: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-08-21 06:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:19:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:19:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":158802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:19:04] local.INFO: GPS data processed {"connection_id":158802,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:19:04] local.INFO: Acknowledgment sent {"connection_id":158802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:19:18] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:18] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:18] local.INFO: IMEI packet received {"connection_id":161325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":161325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:19:21] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:21] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:21] local.INFO: IMEI packet received {"connection_id":161325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":161325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:19:22] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:22] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:22] local.INFO: IMEI packet received {"connection_id":161325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":161325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:19:23] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:23] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:19:23] local.INFO: IMEI packet received {"connection_id":161325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":161325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:19:23] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cad0d8012d1823400721a2700048013120..."} 
[2026-08-21 06:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cad0d8012d1823400721a2700048013120..."} 
[2026-08-21 06:19:23] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cad0d8012d1823400721a2700048013120..."} 
[2026-08-21 06:19:23] local.INFO: Packet analysis {"connection_id":161325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ca"} 
[2026-08-21 06:19:23] local.INFO: Extracted packet for processing {"connection_id":161325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ca"} 
[2026-08-21 06:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119644784,"longitude_deg":75.6556608,"latitude_deg":11.9644784,"altitude":72,"angle":305,"satellites":32,"speed":16,"hex_longitude":"2d182340","hex_latitude":"0721a270","is_valid_coordinates":true} 
[2026-08-21 06:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541971200001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14182703565897728,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074142488576,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787273335000,"timestamp_ms":1787273335000,"timestamp_seconds":1787273335,"priority":1,"record_length":96,"hex_timestamp":"000001a021cad0d8"} 
[2026-08-21 06:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-21 06:19: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-08-21 06:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541971200001,"66":14363,"105":206,"83":41984,"24":16,"16":14182703565897728,"45":1740219074142488576},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541971200001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:19:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14182703565897728,"km_value":14182703565897.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074142488576,"description":"Unknown IO ID 45"} 
[2026-08-21 06:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541971200001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1740219074142488576}} 
[2026-08-21 06:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":161325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:19:24] local.INFO: GPS data processed {"connection_id":161325,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:19:24] local.INFO: Acknowledgment sent {"connection_id":161325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:19:32] local.INFO: TCP Data received {"connection_id":158803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:19:32] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:19:32] local.INFO: IMEI packet received {"connection_id":158803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":158803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:19:37] local.INFO: TCP Data received {"connection_id":158803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:19:37] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:19:37] local.INFO: IMEI packet received {"connection_id":158803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":158803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:19:37] local.INFO: TCP Data received {"connection_id":158803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:37] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:37] local.INFO: Packet analysis {"connection_id":158803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:19:37] local.INFO: Extracted packet for processing {"connection_id":158803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:19:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:19:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":158803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:19:37] local.INFO: GPS data processed {"connection_id":158803,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:19:37] local.INFO: Acknowledgment sent {"connection_id":158803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:19:42] local.INFO: TCP Data received {"connection_id":158803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:42] local.INFO: Processing buffer {"connection_id":158803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:19:42] local.INFO: Packet analysis {"connection_id":158803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:19:42] local.INFO: Extracted packet for processing {"connection_id":158803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":158803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:19:42] local.INFO: GPS data processed {"connection_id":158803,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:19:42] local.INFO: Acknowledgment sent {"connection_id":158803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:19:54] local.INFO: TCP Data received {"connection_id":161325,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cae078012d181f800721a4f0004a013f20..."} 
[2026-08-21 06:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cae078012d181f800721a4f0004a013f20..."} 
[2026-08-21 06:19:54] local.INFO: Processing buffer {"connection_id":161325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cae078012d181f800721a4f0004a013f20..."} 
[2026-08-21 06:19:54] local.INFO: Packet analysis {"connection_id":161325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ca"} 
[2026-08-21 06:19:54] local.INFO: Extracted packet for processing {"connection_id":161325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ca"} 
[2026-08-21 06:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119645424,"longitude_deg":75.6555648,"latitude_deg":11.9645424,"altitude":74,"angle":319,"satellites":32,"speed":5,"hex_longitude":"2d181f80","hex_latitude":"0721a4f0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541973760001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14182759400472576,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280468385792,"note":"Value kept but may cause issues"} 
[2026-08-21 06:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787273339000,"timestamp_ms":1787273339000,"timestamp_seconds":1787273339,"priority":1,"record_length":96,"hex_timestamp":"000001a021cae078"} 
[2026-08-21 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-08-21 06:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 06:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541973760001,"66":14298,"105":206,"83":41984,"24":5,"16":14182759400472576,"45":1739304280468385792},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541973760001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:19:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14182759400472576,"km_value":14182759400472.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280468385792,"description":"Unknown IO ID 45"} 
[2026-08-21 06:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541973760001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739304280468385792}} 
[2026-08-21 06:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":161325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:19:55] local.INFO: GPS data processed {"connection_id":161325,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:19:55] local.INFO: Acknowledgment sent {"connection_id":161325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:20:23] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:20:23] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:20:23] local.INFO: IMEI packet received {"connection_id":161326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":161326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:20:26] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:20:26] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:20:26] local.INFO: IMEI packet received {"connection_id":161326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":161326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:20:27] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:20:27] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:20:27] local.INFO: IMEI packet received {"connection_id":161327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":161327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:20:27] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021caf018012d181e400721a678004b014a20..."} 
[2026-08-21 06:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021caf018012d181e400721a678004b014a20..."} 
[2026-08-21 06:20:27] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021caf018012d181e400721a678004b014a20..."} 
[2026-08-21 06:20:27] local.INFO: Packet analysis {"connection_id":161326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ca"} 
[2026-08-21 06:20:27] local.INFO: Extracted packet for processing {"connection_id":161326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ca"} 
[2026-08-21 06:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645816,"longitude_deg":75.6555328,"latitude_deg":11.9645816,"altitude":75,"angle":330,"satellites":32,"speed":3,"hex_longitude":"2d181e40","hex_latitude":"0721a678","is_valid_coordinates":true} 
[2026-08-21 06:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541974784001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14182785170276352,"note":"Value kept but may cause issues"} 
[2026-08-21 06:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749305884672,"note":"Value kept but may cause issues"} 
[2026-08-21 06:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787273343000,"timestamp_ms":1787273343000,"timestamp_seconds":1787273343,"priority":1,"record_length":96,"hex_timestamp":"000001a021caf018"} 
[2026-08-21 06:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 06:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541974784001,"66":14265,"105":206,"83":41984,"24":3,"16":14182785170276352,"45":1738248749305884672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541974784001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:20:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14182785170276352,"km_value":14182785170276.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749305884672,"description":"Unknown IO ID 45"} 
[2026-08-21 06:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541974784001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738248749305884672}} 
[2026-08-21 06:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":161326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:20:27] local.INFO: GPS data processed {"connection_id":161326,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:20:27] local.INFO: Acknowledgment sent {"connection_id":161326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:20:32] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:20:32] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:20:32] local.INFO: IMEI packet received {"connection_id":161327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":161327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:20:33] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:20:33] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:20:33] local.INFO: Packet analysis {"connection_id":161327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:20:33] local.INFO: Extracted packet for processing {"connection_id":161327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:20:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:20:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:20:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":161327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:20:33] local.INFO: GPS data processed {"connection_id":161327,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:20:33] local.INFO: Acknowledgment sent {"connection_id":161327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:21:04] local.INFO: TCP Data received {"connection_id":161327,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:21:04] local.INFO: Processing buffer {"connection_id":161327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:21:04] local.INFO: Packet analysis {"connection_id":161327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:21:04] local.INFO: Extracted packet for processing {"connection_id":161327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:21:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:21: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-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":161327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:21:04] local.INFO: GPS data processed {"connection_id":161327,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:21:04] local.INFO: Acknowledgment sent {"connection_id":161327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:21:21] local.INFO: TCP Data received {"connection_id":161326,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cc24b0012d18a1c0072276e8006a001220..."} 
[2026-08-21 06:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cc24b0012d18a1c0072276e8006a001220..."} 
[2026-08-21 06:21:21] local.INFO: Processing buffer {"connection_id":161326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cc24b0012d18a1c0072276e8006a001220..."} 
[2026-08-21 06:21:21] local.INFO: Packet analysis {"connection_id":161326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021cc"} 
[2026-08-21 06:21:21] local.INFO: Extracted packet for processing {"connection_id":161326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021cc"} 
[2026-08-21 06:21:21] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119699176,"longitude_deg":75.6588992,"latitude_deg":11.9699176,"altitude":106,"angle":18,"satellites":32,"speed":27,"hex_longitude":"2d18a1c0","hex_latitude":"072276e8","is_valid_coordinates":true} 
[2026-08-21 06:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:21:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541994496001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14185834597056512,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773010908942424064,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21: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-08-21 06:21:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787273422000,"timestamp_ms":1787273422000,"timestamp_seconds":1787273422,"priority":1,"record_length":96,"hex_timestamp":"000001a021cc24b0"} 
[2026-08-21 06:21:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:21:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:21:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 06:21:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:21:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:21:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:21:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:21:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:21:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:21:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:21:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:21:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:21:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:21:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541994496001,"66":14363,"105":206,"83":41984,"24":27,"16":14185834597056512,"45":1773010908942424064},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:21:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:21:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:21:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541994496001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:21:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:21:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:21:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14185834597056512,"km_value":14185834597056.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:21:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773010908942424064,"description":"Unknown IO ID 45"} 
[2026-08-21 06:21:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541994496001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1773010908942424064}} 
[2026-08-21 06:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":161326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:21:22] local.INFO: GPS data processed {"connection_id":161326,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:21:22] local.INFO: Acknowledgment sent {"connection_id":161326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:21:27] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:21:27] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:21:27] local.INFO: IMEI packet received {"connection_id":159096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":159096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:21:28] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:21:28] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:21:28] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:21:32] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:21:32] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:21:32] local.INFO: IMEI packet received {"connection_id":159096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":159096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:21:33] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:21:33] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:21:33] local.INFO: Packet analysis {"connection_id":159096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:21:33] local.INFO: Extracted packet for processing {"connection_id":159096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:21:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:21:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:21:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":159096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:21:33] local.INFO: GPS data processed {"connection_id":159096,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:21:33] local.INFO: Acknowledgment sent {"connection_id":159096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:21:39] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:21:39] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:21:39] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:21:41] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cc4008012d18a58007228a00006f000620..."} 
[2026-08-21 06:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cc4008012d18a58007228a00006f000620..."} 
[2026-08-21 06:21:41] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cc4008012d18a58007228a00006f000620..."} 
[2026-08-21 06:21:41] local.INFO: Packet analysis {"connection_id":159097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021cc"} 
[2026-08-21 06:21:41] local.INFO: Extracted packet for processing {"connection_id":159097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021cc"} 
[2026-08-21 06:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119704064,"longitude_deg":75.6589952,"latitude_deg":11.9704064,"altitude":111,"angle":6,"satellites":32,"speed":29,"hex_longitude":"2d18a580","hex_latitude":"07228a00","is_valid_coordinates":true} 
[2026-08-21 06:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541996032001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14186079410192384,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774910865036208128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787273429000,"timestamp_ms":1787273429000,"timestamp_seconds":1787273429,"priority":1,"record_length":96,"hex_timestamp":"000001a021cc4008"} 
[2026-08-21 06:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 06:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541996032001,"66":14080,"105":206,"83":41984,"24":29,"16":14186079410192384,"45":1774910865036208128},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541996032001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:21:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14186079410192384,"km_value":14186079410192.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774910865036208128,"description":"Unknown IO ID 45"} 
[2026-08-21 06:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541996032001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1774910865036208128}} 
[2026-08-21 06:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":159097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:21:42] local.INFO: GPS data processed {"connection_id":159097,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:21:42] local.INFO: Acknowledgment sent {"connection_id":159097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:22:04] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:22:04] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:22:04] local.INFO: Packet analysis {"connection_id":159096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:22:04] local.INFO: Extracted packet for processing {"connection_id":159096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:22:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:22: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-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:22:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:22:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":159096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:22:04] local.INFO: GPS data processed {"connection_id":159096,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:22:04] local.INFO: Acknowledgment sent {"connection_id":159096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:22:26] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:22:26] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:22:26] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:22:32] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:22:32] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:22:32] local.INFO: IMEI packet received {"connection_id":159958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":159958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:22:33] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:22:33] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021c96d60012da67700054b3710001c005f31..."} 
[2026-08-21 06:22:33] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:22:33] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021c9"} 
[2026-08-21 06:22:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541873408001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273244000,"timestamp_ms":1787273244000,"timestamp_seconds":1787273244,"priority":1,"record_length":96,"hex_timestamp":"000001a021c96d60"} 
[2026-08-21 06:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541873408001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541873408001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:22:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:22:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541873408001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:22:33] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:22:33] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:22:53] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:53] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:53] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:22:55] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:55] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:55] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:22:57] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:57] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:57] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:22:58] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:58] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:22:58] local.INFO: IMEI packet received {"connection_id":159959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":159959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:23:00] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cd7888012d1889c00722db60006f006221..."} 
[2026-08-21 06:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cd7888012d1889c00722db60006f006221..."} 
[2026-08-21 06:23:00] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cd7888012d1889c00722db60006f006221..."} 
[2026-08-21 06:23:00] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021cd"} 
[2026-08-21 06:23:00] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021cd"} 
[2026-08-21 06:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756582848,"raw_latitude":119724896,"longitude_deg":75.6582848,"latitude_deg":11.9724896,"altitude":111,"angle":98,"satellites":33,"speed":7,"hex_longitude":"2d1889c0","hex_latitude":"0722db60","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542018048001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14187775922274304,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768085096857579520,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787273509000,"timestamp_ms":1787273509000,"timestamp_seconds":1787273509,"priority":1,"record_length":96,"hex_timestamp":"000001a021cd7888"} 
[2026-08-21 06:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:23: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-08-21 06: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 06:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542018048001,"66":14265,"177":206,"83":42752,"24":7,"16":14187775922274304,"45":1768085096857579520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-21 06:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542018048001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:23:00] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 06:23:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-21 06:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14187775922274304,"km_value":14187775922274.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768085096857579520,"description":"Unknown IO ID 45"} 
[2026-08-21 06:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542018048001,"power":14265,"unknown_177":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1768085096857579520}} 
[2026-08-21 06:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:23:00] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:23:00] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:23:03] local.INFO: TCP Data received {"connection_id":159959,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cd7c70012d188a800722db58006f005021..."} 
[2026-08-21 06:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cd7c70012d188a800722db58006f005021..."} 
[2026-08-21 06:23:03] local.INFO: Processing buffer {"connection_id":159959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cd7c70012d188a800722db58006f005021..."} 
[2026-08-21 06:23:03] local.INFO: Packet analysis {"connection_id":159959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021cd"} 
[2026-08-21 06:23:03] local.INFO: Extracted packet for processing {"connection_id":159959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021cd"} 
[2026-08-21 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":756583040,"raw_latitude":119724888,"longitude_deg":75.658304,"latitude_deg":11.9724888,"altitude":111,"angle":80,"satellites":33,"speed":6,"hex_longitude":"2d188a80","hex_latitude":"0722db58","is_valid_coordinates":true} 
[2026-08-21 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542018304001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14187784512208896,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768155465601736704,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787273510000,"timestamp_ms":1787273510000,"timestamp_seconds":1787273510,"priority":1,"record_length":96,"hex_timestamp":"000001a021cd7c70"} 
[2026-08-21 06:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 06:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542018304001,"66":14374,"177":206,"83":42752,"24":6,"16":14187784512208896,"45":1768155465601736704},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-08-21 06:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542018304001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:23:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 06:23:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-21 06:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14187784512208896,"km_value":14187784512208.896,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768155465601736704,"description":"Unknown IO ID 45"} 
[2026-08-21 06:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542018304001,"power":14374,"unknown_177":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1768155465601736704}} 
[2026-08-21 06:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":159959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:23:03] local.INFO: GPS data processed {"connection_id":159959,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:23:03] local.INFO: Acknowledgment sent {"connection_id":159959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:23:04] local.INFO: TCP Data received {"connection_id":159958,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:23:04] local.INFO: Processing buffer {"connection_id":159958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:23:04] local.INFO: Packet analysis {"connection_id":159958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:23:04] local.INFO: Extracted packet for processing {"connection_id":159958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:23:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:23:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:23:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":159958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:23:04] local.INFO: GPS data processed {"connection_id":159958,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:23:04] local.INFO: Acknowledgment sent {"connection_id":159958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:23:23] local.INFO: TCP Data received {"connection_id":159098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:23] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:23] local.INFO: IMEI packet received {"connection_id":159098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":159098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:23:23] local.INFO: TCP Data received {"connection_id":159098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:23] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:23] local.INFO: IMEI packet received {"connection_id":159098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":159098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:23:24] local.INFO: TCP Data received {"connection_id":159098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:24] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:24] local.INFO: IMEI packet received {"connection_id":159098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":159098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:23:26] local.INFO: TCP Data received {"connection_id":158804,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:23:26] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:23:26] local.INFO: IMEI packet received {"connection_id":158804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":158804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:23:28] local.INFO: TCP Data received {"connection_id":159098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:28] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:23:28] local.INFO: IMEI packet received {"connection_id":159098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":159098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:23:30] local.INFO: TCP Data received {"connection_id":159098,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce66d0012d1887c00722db38006e015421..."} 
[2026-08-21 06:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce66d0012d1887c00722db38006e015421..."} 
[2026-08-21 06:23:30] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce66d0012d1887c00722db38006e015421..."} 
[2026-08-21 06:23:30] local.INFO: Packet analysis {"connection_id":159098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:23:30] local.INFO: Extracted packet for processing {"connection_id":159098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:23:30] local.INFO: GPS Element Parsed {"raw_longitude":756582336,"raw_latitude":119724856,"longitude_deg":75.6582336,"latitude_deg":11.9724856,"altitude":110,"angle":340,"satellites":33,"speed":4,"hex_longitude":"2d1887c0","hex_latitude":"0722db38","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542033664001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14187874706522112,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767662884392456192,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787273570000,"timestamp_ms":1787273570000,"timestamp_seconds":1787273570,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce66d0"} 
[2026-08-21 06:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:23: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-08-21 06: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 06:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542033664001,"66":14374,"137":206,"83":42752,"24":4,"16":14187874706522112,"45":1767662884392456192},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-21 06:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542033664001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:23:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-21 06:23:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-21 06:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14187874706522112,"km_value":14187874706522.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767662884392456192,"description":"Unknown IO ID 45"} 
[2026-08-21 06:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542033664001,"power":14374,"unknown_137":206,"unknown_83":42752,"ignition":4,"odometer":null,"unknown_45":1767662884392456192}} 
[2026-08-21 06:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":159098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:23:30] local.INFO: GPS data processed {"connection_id":159098,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:23:30] local.INFO: Acknowledgment sent {"connection_id":159098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:23:32] local.INFO: TCP Data received {"connection_id":158804,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:23:32] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:23:32] local.INFO: IMEI packet received {"connection_id":158804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":158804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:23:33] local.INFO: TCP Data received {"connection_id":158804,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:23:33] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:23:33] local.INFO: Packet analysis {"connection_id":158804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:23:33] local.INFO: Extracted packet for processing {"connection_id":158804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:23:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:23:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:23:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":158804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:23:33] local.INFO: GPS data processed {"connection_id":158804,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:23:33] local.INFO: Acknowledgment sent {"connection_id":158804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:24:00] local.INFO: TCP Data received {"connection_id":159098,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cec0a8012d1890800722e3e80070004021..."} 
[2026-08-21 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cec0a8012d1890800722e3e80070004021..."} 
[2026-08-21 06:24:00] local.INFO: Processing buffer {"connection_id":159098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cec0a8012d1890800722e3e80070004021..."} 
[2026-08-21 06:24:00] local.INFO: Packet analysis {"connection_id":159098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:00] local.INFO: Extracted packet for processing {"connection_id":159098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:00] local.INFO: GPS Element Parsed {"raw_longitude":756584576,"raw_latitude":119727080,"longitude_deg":75.6584576,"latitude_deg":11.972708,"altitude":112,"angle":64,"satellites":33,"speed":8,"hex_longitude":"2d189080","hex_latitude":"0722e3e8","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542039552001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188033620312064,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769844315462533120,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787273593000,"timestamp_ms":1787273593000,"timestamp_seconds":1787273593,"priority":1,"record_length":96,"hex_timestamp":"000001a021cec0a8"} 
[2026-08-21 06:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:24: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-08-21 06: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":181,"data_length":795,"current_offset":136} 
[2026-08-21 06:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542039552001,"66":14265,"137":206,"83":42752,"24":8,"16":14188033620312064,"45":1769844315462533120},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-21 06:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542039552001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:24:00] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-21 06:24:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-21 06:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188033620312064,"km_value":14188033620312.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769844315462533120,"description":"Unknown IO ID 45"} 
[2026-08-21 06:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542039552001,"power":14265,"unknown_137":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1769844315462533120}} 
[2026-08-21 06:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":159098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:24:01] local.INFO: GPS data processed {"connection_id":159098,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:24:01] local.INFO: Acknowledgment sent {"connection_id":159098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:24:04] local.INFO: TCP Data received {"connection_id":158804,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:04] local.INFO: Processing buffer {"connection_id":158804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:04] local.INFO: Packet analysis {"connection_id":158804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:04] local.INFO: Extracted packet for processing {"connection_id":158804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:24:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:24:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":158804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:24:04] local.INFO: GPS data processed {"connection_id":158804,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:24:04] local.INFO: Acknowledgment sent {"connection_id":158804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:24:27] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:27] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:27] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:24:28] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:28] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:28] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:24:32] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:24:32] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:24:32] local.INFO: IMEI packet received {"connection_id":159100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":159100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:24:33] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:33] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:24:33] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:24:34] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cec878012d1892400722e450006f004d21..."} 
[2026-08-21 06:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cec878012d1892400722e450006f004d21..."} 
[2026-08-21 06:24:34] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cec878012d1892400722e450006f004d21..."} 
[2026-08-21 06:24:34] local.INFO: Packet analysis {"connection_id":159099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:34] local.INFO: Extracted packet for processing {"connection_id":159099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:34] local.INFO: GPS Element Parsed {"raw_longitude":756585024,"raw_latitude":119727184,"longitude_deg":75.6585024,"latitude_deg":11.9727184,"altitude":111,"angle":77,"satellites":33,"speed":10,"hex_longitude":"2d189240","hex_latitude":"0722e450","is_valid_coordinates":true} 
[2026-08-21 06:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542039808001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188055095148544,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1770055421695092736,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787273595000,"timestamp_ms":1787273595000,"timestamp_seconds":1787273595,"priority":1,"record_length":96,"hex_timestamp":"000001a021cec878"} 
[2026-08-21 06:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 06:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542039808001,"66":14265,"137":206,"83":42752,"24":10,"16":14188055095148544,"45":1770055421695092736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-08-21 06:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542039808001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:24:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-21 06:24:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-08-21 06:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188055095148544,"km_value":14188055095148.545,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1770055421695092736,"description":"Unknown IO ID 45"} 
[2026-08-21 06:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542039808001,"power":14265,"unknown_137":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1770055421695092736}} 
[2026-08-21 06:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":159099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:24:34] local.INFO: GPS data processed {"connection_id":159099,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:24:34] local.INFO: Acknowledgment sent {"connection_id":159099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:24:37] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:24:37] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:24:37] local.INFO: IMEI packet received {"connection_id":159100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":159100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:24:38] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:38] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:38] local.INFO: Packet analysis {"connection_id":159100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:38] local.INFO: Extracted packet for processing {"connection_id":159100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:24: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":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:24:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:24:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":159100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:24:38] local.INFO: GPS data processed {"connection_id":159100,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:24:38] local.INFO: Acknowledgment sent {"connection_id":159100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:24:42] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:42] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:24:42] local.INFO: Packet analysis {"connection_id":159100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:42] local.INFO: Extracted packet for processing {"connection_id":159100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:24:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":159100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:24:42] local.INFO: GPS data processed {"connection_id":159100,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:24:42] local.INFO: Acknowledgment sent {"connection_id":159100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:25:18] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:25:18] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:25:18] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:25:22] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:25:22] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:25:22] local.INFO: IMEI packet received {"connection_id":159960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":159960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:25:23] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cfc278012d18a880072288f8006d00ba22..."} 
[2026-08-21 06:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cfc278012d18a880072288f8006d00ba22..."} 
[2026-08-21 06:25:23] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cfc278012d18a880072288f8006d00ba22..."} 
[2026-08-21 06:25:23] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021cf"} 
[2026-08-21 06:25:23] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021cf"} 
[2026-08-21 06:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119703800,"longitude_deg":75.659072,"latitude_deg":11.97038,"altitude":109,"angle":186,"satellites":34,"speed":33,"hex_longitude":"2d18a880","hex_latitude":"072288f8","is_valid_coordinates":true} 
[2026-08-21 06:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542055168001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14189571218604032,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131507712,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787273659000,"timestamp_ms":1787273659000,"timestamp_seconds":1787273659,"priority":1,"record_length":96,"hex_timestamp":"000001a021cfc278"} 
[2026-08-21 06:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:25:23] 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-08-21 06: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-21 06:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542055168001,"66":13015,"105":206,"83":41984,"24":33,"16":14189571218604032,"45":1776810821131507712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542055168001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:25:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14189571218604032,"km_value":14189571218604.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131507712,"description":"Unknown IO ID 45"} 
[2026-08-21 06:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542055168001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1776810821131507712}} 
[2026-08-21 06:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:25:23] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:25:23] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:25:27] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:25:27] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:25:27] local.INFO: IMEI packet received {"connection_id":161328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":161328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:25:32] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:25:32] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:25:32] local.INFO: IMEI packet received {"connection_id":161328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":161328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:25:33] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:25:33] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:25:33] local.INFO: Packet analysis {"connection_id":161328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:25:33] local.INFO: Extracted packet for processing {"connection_id":161328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:25:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:25:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":161328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:25:33] local.INFO: GPS data processed {"connection_id":161328,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:25:33] local.INFO: Acknowledgment sent {"connection_id":161328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:25:54] local.INFO: TCP Data received {"connection_id":159960,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cfd600012d18a44007227830006b00c822..."} 
[2026-08-21 06:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cfd600012d18a44007227830006b00c822..."} 
[2026-08-21 06:25:54] local.INFO: Processing buffer {"connection_id":159960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cfd600012d18a44007227830006b00c822..."} 
[2026-08-21 06:25:54] local.INFO: Packet analysis {"connection_id":159960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021cf"} 
[2026-08-21 06:25:54] local.INFO: Extracted packet for processing {"connection_id":159960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021cf"} 
[2026-08-21 06:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756589632,"raw_latitude":119699504,"longitude_deg":75.6589632,"latitude_deg":11.9699504,"altitude":107,"angle":200,"satellites":34,"speed":37,"hex_longitude":"2d18a440","hex_latitude":"07227830","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542056704001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14189781672001536,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821130188800,"note":"Value kept but may cause issues"} 
[2026-08-21 06:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787273664000,"timestamp_ms":1787273664000,"timestamp_seconds":1787273664,"priority":1,"record_length":96,"hex_timestamp":"000001a021cfd600"} 
[2026-08-21 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-08-21 06:25:54] 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-08-21 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 06:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542056704001,"66":13004,"105":206,"83":41984,"24":37,"16":14189781672001536,"45":1776810821130188800},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542056704001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:25:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14189781672001536,"km_value":14189781672001.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821130188800,"description":"Unknown IO ID 45"} 
[2026-08-21 06:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542056704001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1776810821130188800}} 
[2026-08-21 06:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":159960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:25:54] local.INFO: GPS data processed {"connection_id":159960,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:25:54] local.INFO: Acknowledgment sent {"connection_id":159960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:26:04] local.INFO: TCP Data received {"connection_id":161328,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:26:04] local.INFO: Processing buffer {"connection_id":161328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:26:04] local.INFO: Packet analysis {"connection_id":161328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:26:04] local.INFO: Extracted packet for processing {"connection_id":161328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:26:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:26:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:26:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":161328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:26:04] local.INFO: GPS data processed {"connection_id":161328,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:26:04] local.INFO: Acknowledgment sent {"connection_id":161328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:26:18] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:26:18] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:26:18] local.INFO: IMEI packet received {"connection_id":159101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":159101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:26:23] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:26:23] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:26:23] local.INFO: IMEI packet received {"connection_id":159101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":159101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:26:24] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021cfed70012d189900072261c8006700d322..."} 
[2026-08-21 06:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021cfed70012d189900072261c8006700d322..."} 
[2026-08-21 06:26:24] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021cfed70012d189900072261c8006700d322..."} 
[2026-08-21 06:26:24] local.INFO: Packet analysis {"connection_id":159101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021cf"} 
[2026-08-21 06:26:24] local.INFO: Extracted packet for processing {"connection_id":159101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021cf"} 
[2026-08-21 06:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756586752,"raw_latitude":119693768,"longitude_deg":75.6586752,"latitude_deg":11.9693768,"altitude":103,"angle":211,"satellites":34,"speed":47,"hex_longitude":"2d189900","hex_latitude":"072261c8","is_valid_coordinates":true} 
[2026-08-21 06:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542057984001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14190095204614144,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775614552478068736,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26: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-08-21 06:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273670000,"timestamp_ms":1787273670000,"timestamp_seconds":1787273670,"priority":1,"record_length":96,"hex_timestamp":"000001a021cfed70"} 
[2026-08-21 06:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-21 06:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542057984001,"66":12776,"105":206,"83":41984,"24":47,"16":14190095204614144,"45":1775614552478068736},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542057984001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:26:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14190095204614144,"km_value":14190095204614.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775614552478068736,"description":"Unknown IO ID 45"} 
[2026-08-21 06:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542057984001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1775614552478068736}} 
[2026-08-21 06:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":159101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:26:24] local.INFO: GPS data processed {"connection_id":159101,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:26:24] local.INFO: Acknowledgment sent {"connection_id":159101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:26:27] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:26:27] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:26:27] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:26:32] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:26:32] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:26:32] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:26:33] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:26:33] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:26:33] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:26:33] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:26:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:26: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-08-21 06:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:26:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:26:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:26:33] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:26:33] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:26:55] local.INFO: TCP Data received {"connection_id":159101,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d008c8012d188500072242b0005f00d522..."} 
[2026-08-21 06:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d008c8012d188500072242b0005f00d522..."} 
[2026-08-21 06:26:55] local.INFO: Processing buffer {"connection_id":159101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d008c8012d188500072242b0005f00d522..."} 
[2026-08-21 06:26:55] local.INFO: Packet analysis {"connection_id":159101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:26:55] local.INFO: Extracted packet for processing {"connection_id":159101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756581632,"raw_latitude":119685808,"longitude_deg":75.6581632,"latitude_deg":11.9685808,"altitude":95,"angle":213,"satellites":34,"speed":57,"hex_longitude":"2d188500","hex_latitude":"072242b0","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542059520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14190550471147520,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772447958988605440,"note":"Value kept but may cause issues"} 
[2026-08-21 06:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787273677000,"timestamp_ms":1787273677000,"timestamp_seconds":1787273677,"priority":1,"record_length":96,"hex_timestamp":"000001a021d008c8"} 
[2026-08-21 06:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 06:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542059520001,"66":12776,"105":206,"83":41984,"24":57,"16":14190550471147520,"45":1772447958988605440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542059520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:26:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14190550471147520,"km_value":14190550471147.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772447958988605440,"description":"Unknown IO ID 45"} 
[2026-08-21 06:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542059520001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":57,"odometer":null,"unknown_45":1772447958988605440}} 
[2026-08-21 06:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":159101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:26:55] local.INFO: GPS data processed {"connection_id":159101,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:26:55] local.INFO: Acknowledgment sent {"connection_id":159101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:27:04] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:27:04] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:27:04] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:27:04] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:27:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:27: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-08-21 06:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:27:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:27:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:27:04] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:27:04] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:27:23] local.INFO: TCP Data received {"connection_id":158805,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:27:23] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:27:23] local.INFO: IMEI packet received {"connection_id":158805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":158805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:27:26] local.INFO: TCP Data received {"connection_id":158805,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:27:26] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:27:26] local.INFO: IMEI packet received {"connection_id":158805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":158805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:27:26] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:27:26] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:27:26] local.INFO: IMEI packet received {"connection_id":159961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":159961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:27:27] local.INFO: TCP Data received {"connection_id":158805,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d02420012d186e8007222148005900d522..."} 
[2026-08-21 06:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d02420012d186e8007222148005900d522..."} 
[2026-08-21 06:27:27] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d02420012d186e8007222148005900d522..."} 
[2026-08-21 06:27:27] local.INFO: Packet analysis {"connection_id":158805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:27:27] local.INFO: Extracted packet for processing {"connection_id":158805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756575872,"raw_latitude":119677256,"longitude_deg":75.6575872,"latitude_deg":11.9677256,"altitude":89,"angle":213,"satellites":34,"speed":58,"hex_longitude":"2d186e80","hex_latitude":"07222148","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542061312001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14191048687353856,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766818459452354560,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787273684000,"timestamp_ms":1787273684000,"timestamp_seconds":1787273684,"priority":1,"record_length":96,"hex_timestamp":"000001a021d02420"} 
[2026-08-21 06:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 06:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542061312001,"66":12613,"105":206,"83":41984,"24":58,"16":14191048687353856,"45":1766818459452354560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542061312001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:27:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14191048687353856,"km_value":14191048687353.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766818459452354560,"description":"Unknown IO ID 45"} 
[2026-08-21 06:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542061312001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":58,"odometer":null,"unknown_45":1766818459452354560}} 
[2026-08-21 06:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":158805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:27:27] local.INFO: GPS data processed {"connection_id":158805,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:27:27] local.INFO: Acknowledgment sent {"connection_id":158805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:27:28] local.INFO: TCP Data received {"connection_id":158805,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d03f78012d185840072200d8005400d522..."} 
[2026-08-21 06:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d03f78012d185840072200d8005400d522..."} 
[2026-08-21 06:27:28] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d03f78012d185840072200d8005400d522..."} 
[2026-08-21 06:27:28] local.INFO: Packet analysis {"connection_id":158805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:27:28] local.INFO: Extracted packet for processing {"connection_id":158805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756570176,"raw_latitude":119668952,"longitude_deg":75.6570176,"latitude_deg":11.9668952,"altitude":84,"angle":213,"satellites":34,"speed":51,"hex_longitude":"2d185840","hex_latitude":"072200d8","is_valid_coordinates":true} 
[2026-08-21 06:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542063104001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14191529723691008,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760485272474175488,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787273691000,"timestamp_ms":1787273691000,"timestamp_seconds":1787273691,"priority":1,"record_length":96,"hex_timestamp":"000001a021d03f78"} 
[2026-08-21 06:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:27:28] 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-08-21 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 06:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542063104001,"66":12580,"105":206,"83":41984,"24":51,"16":14191529723691008,"45":1760485272474175488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542063104001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:27:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:27:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14191529723691008,"km_value":14191529723691.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760485272474175488,"description":"Unknown IO ID 45"} 
[2026-08-21 06:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542063104001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1760485272474175488}} 
[2026-08-21 06:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":158805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:27:28] local.INFO: GPS data processed {"connection_id":158805,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:27:28] local.INFO: Acknowledgment sent {"connection_id":158805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:27:32] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:27:32] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:27:32] local.INFO: IMEI packet received {"connection_id":159961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":159961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:27:33] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:27:33] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ce0528012da67700054b3710001c005f2d..."} 
[2026-08-21 06:27:33] local.INFO: Packet analysis {"connection_id":159961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:27:33] local.INFO: Extracted packet for processing {"connection_id":159961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ce"} 
[2026-08-21 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457541950464001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273545000,"timestamp_ms":1787273545000,"timestamp_seconds":1787273545,"priority":1,"record_length":96,"hex_timestamp":"000001a021ce0528"} 
[2026-08-21 06:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457541950464001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457541950464001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:27:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:27:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457541950464001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":159961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:27:33] local.INFO: GPS data processed {"connection_id":159961,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:27:33] local.INFO: Acknowledgment sent {"connection_id":159961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:27:59] local.INFO: TCP Data received {"connection_id":158805,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d05eb8012d1844000721e298005100d522..."} 
[2026-08-21 06:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d05eb8012d1844000721e298005100d522..."} 
[2026-08-21 06:27:59] local.INFO: Processing buffer {"connection_id":158805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d05eb8012d1844000721e298005100d522..."} 
[2026-08-21 06:27:59] local.INFO: Packet analysis {"connection_id":158805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:27:59] local.INFO: Extracted packet for processing {"connection_id":158805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756564992,"raw_latitude":119661208,"longitude_deg":75.6564992,"latitude_deg":11.9661208,"altitude":81,"angle":213,"satellites":34,"speed":45,"hex_longitude":"2d184400","hex_latitude":"0721e298","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542064896001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14191980695257088,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454240237568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787273699000,"timestamp_ms":1787273699000,"timestamp_seconds":1787273699,"priority":1,"record_length":96,"hex_timestamp":"000001a021d05eb8"} 
[2026-08-21 06:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:27:59] 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-08-21 06:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-21 06:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542064896001,"66":12504,"105":206,"83":41984,"24":45,"16":14191980695257088,"45":1754222454240237568},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542064896001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:27:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14191980695257088,"km_value":14191980695257.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454240237568,"description":"Unknown IO ID 45"} 
[2026-08-21 06:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542064896001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1754222454240237568}} 
[2026-08-21 06:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":158805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:27:59] local.INFO: GPS data processed {"connection_id":158805,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:27:59] local.INFO: Acknowledgment sent {"connection_id":158805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:28:04] local.INFO: TCP Data received {"connection_id":159961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:28:04] local.INFO: Processing buffer {"connection_id":159961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:28:04] local.INFO: Packet analysis {"connection_id":159961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:28:04] local.INFO: Extracted packet for processing {"connection_id":159961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:28: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-08-21 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:28:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:28:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":159961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:28:04] local.INFO: GPS data processed {"connection_id":159961,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:28:04] local.INFO: Acknowledgment sent {"connection_id":159961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:28:18] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:28:18] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:28:18] local.INFO: IMEI packet received {"connection_id":161329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":161329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:28:23] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:28:23] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:28:23] local.INFO: IMEI packet received {"connection_id":161329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":161329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:28:24] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d07df8012d1830800721c550004d00d322..."} 
[2026-08-21 06:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d07df8012d1830800721c550004d00d322..."} 
[2026-08-21 06:28:24] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d07df8012d1830800721c550004d00d322..."} 
[2026-08-21 06:28:24] local.INFO: Packet analysis {"connection_id":161329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:28:24] local.INFO: Extracted packet for processing {"connection_id":161329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d0"} 
[2026-08-21 06:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756560000,"raw_latitude":119653712,"longitude_deg":75.656,"latitude_deg":11.9653712,"altitude":77,"angle":211,"satellites":34,"speed":38,"hex_longitude":"2d183080","hex_latitude":"0721c550","is_valid_coordinates":true} 
[2026-08-21 06:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542066944001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192414486953984,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748522585959864320,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28: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-08-21 06:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273707000,"timestamp_ms":1787273707000,"timestamp_seconds":1787273707,"priority":1,"record_length":96,"hex_timestamp":"000001a021d07df8"} 
[2026-08-21 06:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:28:24] 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-08-21 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 06:28: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-08-21 06:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542066944001,"66":12461,"105":206,"83":41984,"24":38,"16":14192414486953984,"45":1748522585959864320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542066944001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:28:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192414486953984,"km_value":14192414486953.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748522585959864320,"description":"Unknown IO ID 45"} 
[2026-08-21 06:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542066944001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1748522585959864320}} 
[2026-08-21 06:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":161329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:28:24] local.INFO: GPS data processed {"connection_id":161329,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:28:24] local.INFO: Acknowledgment sent {"connection_id":161329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:28:26] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:28:26] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:28:26] local.INFO: IMEI packet received {"connection_id":161330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":161330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:28:32] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:28:32] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:28:32] local.INFO: IMEI packet received {"connection_id":161330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":161330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:28:32] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:28:32] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:28:32] local.INFO: Packet analysis {"connection_id":161330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:28:32] local.INFO: Extracted packet for processing {"connection_id":161330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:28:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:28: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-08-21 06:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:28:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:28:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":161330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:28:32] local.INFO: GPS data processed {"connection_id":161330,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:28:32] local.INFO: Acknowledgment sent {"connection_id":161330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:28:55] local.INFO: TCP Data received {"connection_id":161329,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d2bc30012d181e000721ad20004800d726..."} 
[2026-08-21 06:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d2bc30012d181e000721ad20004800d726..."} 
[2026-08-21 06:28:55] local.INFO: Processing buffer {"connection_id":161329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d2bc30012d181e000721ad20004800d726..."} 
[2026-08-21 06:28:55] local.INFO: Packet analysis {"connection_id":161329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:28:55] local.INFO: Extracted packet for processing {"connection_id":161329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542101248001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787273854000,"timestamp_ms":1787273854000,"timestamp_seconds":1787273854,"priority":1,"record_length":96,"hex_timestamp":"000001a021d2bc30"} 
[2026-08-21 06:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 06:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542101248001,"66":12776,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542101248001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:28:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542101248001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":161329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:28:55] local.INFO: GPS data processed {"connection_id":161329,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:28:55] local.INFO: Acknowledgment sent {"connection_id":161329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:29:04] local.INFO: TCP Data received {"connection_id":161330,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:04] local.INFO: Processing buffer {"connection_id":161330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:04] local.INFO: Packet analysis {"connection_id":161330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:29:04] local.INFO: Extracted packet for processing {"connection_id":161330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 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-08-21 06:29: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-08-21 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:29:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":161330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:29:04] local.INFO: GPS data processed {"connection_id":161330,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:29:04] local.INFO: Acknowledgment sent {"connection_id":161330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:29:15] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:15] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:15] local.INFO: IMEI packet received {"connection_id":159103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":159103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:29:18] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:18] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:18] local.INFO: IMEI packet received {"connection_id":159103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":159103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:29:23] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:23] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:29:23] local.INFO: IMEI packet received {"connection_id":159103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":159103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:29:24] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d30e38012d181e000721ad20004800d726..."} 
[2026-08-21 06:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d30e38012d181e000721ad20004800d726..."} 
[2026-08-21 06:29:24] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d30e38012d181e000721ad20004800d726..."} 
[2026-08-21 06:29:24] local.INFO: Packet analysis {"connection_id":159103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d3"} 
[2026-08-21 06:29:24] local.INFO: Extracted packet for processing {"connection_id":159103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d3"} 
[2026-08-21 06:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542106624001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29: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-08-21 06:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273875000,"timestamp_ms":1787273875000,"timestamp_seconds":1787273875,"priority":1,"record_length":96,"hex_timestamp":"000001a021d30e38"} 
[2026-08-21 06:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:29:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 06:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542106624001,"66":12798,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542106624001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:29:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542106624001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":159103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:29:24] local.INFO: GPS data processed {"connection_id":159103,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:29:24] local.INFO: Acknowledgment sent {"connection_id":159103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:29:32] local.INFO: TCP Data received {"connection_id":158806,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:29:32] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:29:32] local.INFO: IMEI packet received {"connection_id":158806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":158806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:29:37] local.INFO: TCP Data received {"connection_id":158806,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:29:37] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:29:37] local.INFO: IMEI packet received {"connection_id":158806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":158806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:29:37] local.INFO: TCP Data received {"connection_id":158806,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:37] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:37] local.INFO: Packet analysis {"connection_id":158806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:29:37] local.INFO: Extracted packet for processing {"connection_id":158806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:29:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:29:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":158806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:29:37] local.INFO: GPS data processed {"connection_id":158806,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:29:37] local.INFO: Acknowledgment sent {"connection_id":158806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:29:42] local.INFO: TCP Data received {"connection_id":158806,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:42] local.INFO: Processing buffer {"connection_id":158806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:29:42] local.INFO: Packet analysis {"connection_id":158806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:29:42] local.INFO: Extracted packet for processing {"connection_id":158806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":158806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:29:42] local.INFO: GPS data processed {"connection_id":158806,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:29:42] local.INFO: Acknowledgment sent {"connection_id":158806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:29:55] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d36040012d181e000721ad20004800d727..."} 
[2026-08-21 06:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d36040012d181e000721ad20004800d727..."} 
[2026-08-21 06:29:55] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d36040012d181e000721ad20004800d727..."} 
[2026-08-21 06:29:55] local.INFO: Packet analysis {"connection_id":159103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d3"} 
[2026-08-21 06:29:55] local.INFO: Extracted packet for processing {"connection_id":159103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d3"} 
[2026-08-21 06:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542112000001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787273896000,"timestamp_ms":1787273896000,"timestamp_seconds":1787273896,"priority":1,"record_length":96,"hex_timestamp":"000001a021d36040"} 
[2026-08-21 06:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 06:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542112000001,"66":12776,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542112000001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:29:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542112000001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":159103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:29:55] local.INFO: GPS data processed {"connection_id":159103,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:29:55] local.INFO: Acknowledgment sent {"connection_id":159103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:30:18] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:18] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:18] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:30:19] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:19] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:19] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:30:23] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:23] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:30:23] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:30:24] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d3b248012d181e000721ad20004800d728..."} 
[2026-08-21 06:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d3b248012d181e000721ad20004800d728..."} 
[2026-08-21 06:30:24] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d3b248012d181e000721ad20004800d728..."} 
[2026-08-21 06:30:24] local.INFO: Packet analysis {"connection_id":159104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d3"} 
[2026-08-21 06:30:24] local.INFO: Extracted packet for processing {"connection_id":159104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d3"} 
[2026-08-21 06:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542117376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30: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-08-21 06:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273917000,"timestamp_ms":1787273917000,"timestamp_seconds":1787273917,"priority":1,"record_length":96,"hex_timestamp":"000001a021d3b248"} 
[2026-08-21 06:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 06:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542117376001,"66":12722,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542117376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:30:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542117376001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":159104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:30:24] local.INFO: GPS data processed {"connection_id":159104,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:30:24] local.INFO: Acknowledgment sent {"connection_id":159104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:30:27] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:30:27] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:30:27] local.INFO: IMEI packet received {"connection_id":161331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":161331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:30:32] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:30:32] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:30:32] local.INFO: IMEI packet received {"connection_id":161331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":161331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:30:33] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:30:33] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:30:33] local.INFO: Packet analysis {"connection_id":161331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:30:33] local.INFO: Extracted packet for processing {"connection_id":161331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:30:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:30:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":161331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:30:33] local.INFO: GPS data processed {"connection_id":161331,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:30:33] local.INFO: Acknowledgment sent {"connection_id":161331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:30:55] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d40450012d181e000721ad20004800d727..."} 
[2026-08-21 06:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d40450012d181e000721ad20004800d727..."} 
[2026-08-21 06:30:55] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d40450012d181e000721ad20004800d727..."} 
[2026-08-21 06:30:55] local.INFO: Packet analysis {"connection_id":159104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:30:55] local.INFO: Extracted packet for processing {"connection_id":159104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542122752001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787273938000,"timestamp_ms":1787273938000,"timestamp_seconds":1787273938,"priority":1,"record_length":96,"hex_timestamp":"000001a021d40450"} 
[2026-08-21 06:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 06:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542122752001,"66":12722,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542122752001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:30:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542122752001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":159104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:30:55] local.INFO: GPS data processed {"connection_id":159104,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:30:55] local.INFO: Acknowledgment sent {"connection_id":159104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:31:04] local.INFO: TCP Data received {"connection_id":161331,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:31:04] local.INFO: Processing buffer {"connection_id":161331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:31:04] local.INFO: Packet analysis {"connection_id":161331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:31:04] local.INFO: Extracted packet for processing {"connection_id":161331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:31:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:31: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-08-21 06:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:31:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:31:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":161331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:31:04] local.INFO: GPS data processed {"connection_id":161331,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:31:04] local.INFO: Acknowledgment sent {"connection_id":161331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:31:19] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:19] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:19] local.INFO: IMEI packet received {"connection_id":159105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:31:19] local.INFO: IMEI acknowledgment sent {"connection_id":159105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:31:21] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:21] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:21] local.INFO: IMEI packet received {"connection_id":159105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":159105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:31:23] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:23] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:31:23] local.INFO: IMEI packet received {"connection_id":159105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":159105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:31:24] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d45658012d181e000721ad20004800d728..."} 
[2026-08-21 06:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d45658012d181e000721ad20004800d728..."} 
[2026-08-21 06:31:24] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d45658012d181e000721ad20004800d728..."} 
[2026-08-21 06:31:24] local.INFO: Packet analysis {"connection_id":159105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:31:24] local.INFO: Extracted packet for processing {"connection_id":159105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542128128001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31: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-08-21 06:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787273959000,"timestamp_ms":1787273959000,"timestamp_seconds":1787273959,"priority":1,"record_length":96,"hex_timestamp":"000001a021d45658"} 
[2026-08-21 06:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 06:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542128128001,"66":12722,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542128128001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:31:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542128128001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":159105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:31:24] local.INFO: GPS data processed {"connection_id":159105,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:31:24] local.INFO: Acknowledgment sent {"connection_id":159105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:31:27] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:31:27] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:31:27] local.INFO: IMEI packet received {"connection_id":161332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":161332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:31:29] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d4a860012d181e000721ad20004800d728..."} 
[2026-08-21 06:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d4a860012d181e000721ad20004800d728..."} 
[2026-08-21 06:31:29] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d4a860012d181e000721ad20004800d728..."} 
[2026-08-21 06:31:29] local.INFO: Packet analysis {"connection_id":159105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:31:29] local.INFO: Extracted packet for processing {"connection_id":159105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:31:29] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542133504001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787273980000,"timestamp_ms":1787273980000,"timestamp_seconds":1787273980,"priority":1,"record_length":96,"hex_timestamp":"000001a021d4a860"} 
[2026-08-21 06:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 06:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542133504001,"66":12689,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542133504001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:31:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:31:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542133504001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":159105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:31:29] local.INFO: GPS data processed {"connection_id":159105,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:31:29] local.INFO: Acknowledgment sent {"connection_id":159105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:31:32] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:31:32] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:31:32] local.INFO: IMEI packet received {"connection_id":161332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":161332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:31:33] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:31:33] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:31:33] local.INFO: Packet analysis {"connection_id":161332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:31:33] local.INFO: Extracted packet for processing {"connection_id":161332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:31:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:31:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:31:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":161332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:31:33] local.INFO: GPS data processed {"connection_id":161332,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:31:33] local.INFO: Acknowledgment sent {"connection_id":161332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:32:00] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d4fa68012d181e000721ad20004800d726..."} 
[2026-08-21 06:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d4fa68012d181e000721ad20004800d726..."} 
[2026-08-21 06:32:00] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d4fa68012d181e000721ad20004800d726..."} 
[2026-08-21 06:32:00] local.INFO: Packet analysis {"connection_id":159105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:32:00] local.INFO: Extracted packet for processing {"connection_id":159105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d4"} 
[2026-08-21 06:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542138880001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787274001000,"timestamp_ms":1787274001000,"timestamp_seconds":1787274001,"priority":1,"record_length":96,"hex_timestamp":"000001a021d4fa68"} 
[2026-08-21 06:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 06:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542138880001,"66":12689,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542138880001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:32:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542138880001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":159105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:32:00] local.INFO: GPS data processed {"connection_id":159105,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:32:00] local.INFO: Acknowledgment sent {"connection_id":159105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:32:04] local.INFO: TCP Data received {"connection_id":161332,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:32:04] local.INFO: Processing buffer {"connection_id":161332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:32:04] local.INFO: Packet analysis {"connection_id":161332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:32:04] local.INFO: Extracted packet for processing {"connection_id":161332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:32:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06: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-08-21 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:32:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:32:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":161332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:32:04] local.INFO: GPS data processed {"connection_id":161332,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:32:04] local.INFO: Acknowledgment sent {"connection_id":161332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:32:18] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:32:18] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:32:18] local.INFO: IMEI packet received {"connection_id":159106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":159106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:32:23] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:32:23] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:32:23] local.INFO: IMEI packet received {"connection_id":159106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":159106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:32:24] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d54c70012d181e000721ad20004800d727..."} 
[2026-08-21 06:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d54c70012d181e000721ad20004800d727..."} 
[2026-08-21 06:32:24] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d54c70012d181e000721ad20004800d727..."} 
[2026-08-21 06:32:24] local.INFO: Packet analysis {"connection_id":159106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d5"} 
[2026-08-21 06:32:24] local.INFO: Extracted packet for processing {"connection_id":159106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d5"} 
[2026-08-21 06:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542144256001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32: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-08-21 06:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274022000,"timestamp_ms":1787274022000,"timestamp_seconds":1787274022,"priority":1,"record_length":96,"hex_timestamp":"000001a021d54c70"} 
[2026-08-21 06:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 06:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542144256001,"66":12678,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542144256001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:32:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542144256001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":159106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:32:24] local.INFO: GPS data processed {"connection_id":159106,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:32:24] local.INFO: Acknowledgment sent {"connection_id":159106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:32:26] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:32:26] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:32:26] local.INFO: IMEI packet received {"connection_id":159962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":159962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:32:32] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:32:32] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:32:32] local.INFO: IMEI packet received {"connection_id":159962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":159962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:32:32] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:32:32] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:32:32] local.INFO: Packet analysis {"connection_id":159962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:32:32] local.INFO: Extracted packet for processing {"connection_id":159962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:32:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:32: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-08-21 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:32:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:32:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":159962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:32:32] local.INFO: GPS data processed {"connection_id":159962,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:32:32] local.INFO: Acknowledgment sent {"connection_id":159962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:32:55] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d59e78012d181e000721ad20004800d728..."} 
[2026-08-21 06:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d59e78012d181e000721ad20004800d728..."} 
[2026-08-21 06:32:55] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d59e78012d181e000721ad20004800d728..."} 
[2026-08-21 06:32:55] local.INFO: Packet analysis {"connection_id":159106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d5"} 
[2026-08-21 06:32:55] local.INFO: Extracted packet for processing {"connection_id":159106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d5"} 
[2026-08-21 06:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542149632001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274043000,"timestamp_ms":1787274043000,"timestamp_seconds":1787274043,"priority":1,"record_length":96,"hex_timestamp":"000001a021d59e78"} 
[2026-08-21 06:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 06:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542149632001,"66":12667,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542149632001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:32:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542149632001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":159106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:32:55] local.INFO: GPS data processed {"connection_id":159106,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:32:55] local.INFO: Acknowledgment sent {"connection_id":159106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:33:04] local.INFO: TCP Data received {"connection_id":159962,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:33:04] local.INFO: Processing buffer {"connection_id":159962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d29908012da67700054b3710001c005f2e..."} 
[2026-08-21 06:33:04] local.INFO: Packet analysis {"connection_id":159962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:33:04] local.INFO: Extracted packet for processing {"connection_id":159962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d2"} 
[2026-08-21 06:33:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542027520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787273845000,"timestamp_ms":1787273845000,"timestamp_seconds":1787273845,"priority":1,"record_length":96,"hex_timestamp":"000001a021d29908"} 
[2026-08-21 06:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:33: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-08-21 06:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542027520001,"66":25625,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542027520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:33:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:33:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542027520001,"power":25625,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":159962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:33:04] local.INFO: GPS data processed {"connection_id":159962,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:33:04] local.INFO: Acknowledgment sent {"connection_id":159962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:33:23] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:33:23] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:33:23] local.INFO: IMEI packet received {"connection_id":161333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":161333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:33:26] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:33:26] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:33:26] local.INFO: IMEI packet received {"connection_id":159107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":159107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:33:27] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:33:27] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:33:27] local.INFO: IMEI packet received {"connection_id":161333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":161333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:33:28] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d5f080012d181e000721ad20004800d728..."} 
[2026-08-21 06:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d5f080012d181e000721ad20004800d728..."} 
[2026-08-21 06:33:28] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d5f080012d181e000721ad20004800d728..."} 
[2026-08-21 06:33:28] local.INFO: Packet analysis {"connection_id":161333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d5"} 
[2026-08-21 06:33:28] local.INFO: Extracted packet for processing {"connection_id":161333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d5"} 
[2026-08-21 06:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542155008001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787274064000,"timestamp_ms":1787274064000,"timestamp_seconds":1787274064,"priority":1,"record_length":96,"hex_timestamp":"000001a021d5f080"} 
[2026-08-21 06:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 06:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542155008001,"66":12667,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542155008001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:33:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542155008001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":161333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:33:28] local.INFO: GPS data processed {"connection_id":161333,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:33:28] local.INFO: Acknowledgment sent {"connection_id":161333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:33:29] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d64288012d181e000721ad20004800d727..."} 
[2026-08-21 06:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d64288012d181e000721ad20004800d727..."} 
[2026-08-21 06:33:29] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d64288012d181e000721ad20004800d727..."} 
[2026-08-21 06:33:29] local.INFO: Packet analysis {"connection_id":161333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d6"} 
[2026-08-21 06:33:29] local.INFO: Extracted packet for processing {"connection_id":161333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d6"} 
[2026-08-21 06:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542160384001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787274085000,"timestamp_ms":1787274085000,"timestamp_seconds":1787274085,"priority":1,"record_length":96,"hex_timestamp":"000001a021d64288"} 
[2026-08-21 06:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 06:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542160384001,"66":12613,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542160384001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:33:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542160384001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":161333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:33:29] local.INFO: GPS data processed {"connection_id":161333,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:33:29] local.INFO: Acknowledgment sent {"connection_id":161333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:33:32] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:33:32] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:33:32] local.INFO: IMEI packet received {"connection_id":159107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":159107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:33:33] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:33:33] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:33:33] local.INFO: Packet analysis {"connection_id":159107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:33:33] local.INFO: Extracted packet for processing {"connection_id":159107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:33:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:33:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:33:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:33:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":159107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:33:33] local.INFO: GPS data processed {"connection_id":159107,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:33:33] local.INFO: Acknowledgment sent {"connection_id":159107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:34:00] local.INFO: TCP Data received {"connection_id":161333,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d69490012d181e000721ad20004800d727..."} 
[2026-08-21 06:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d69490012d181e000721ad20004800d727..."} 
[2026-08-21 06:34:00] local.INFO: Processing buffer {"connection_id":161333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d69490012d181e000721ad20004800d727..."} 
[2026-08-21 06:34:00] local.INFO: Packet analysis {"connection_id":161333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d6"} 
[2026-08-21 06:34:00] local.INFO: Extracted packet for processing {"connection_id":161333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d6"} 
[2026-08-21 06:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542165760001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787274106000,"timestamp_ms":1787274106000,"timestamp_seconds":1787274106,"priority":1,"record_length":96,"hex_timestamp":"000001a021d69490"} 
[2026-08-21 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-08-21 06:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 06:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542165760001,"66":12613,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542165760001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:34:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542165760001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":161333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:34:00] local.INFO: GPS data processed {"connection_id":161333,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:34:00] local.INFO: Acknowledgment sent {"connection_id":161333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:34:05] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:05] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:05] local.INFO: Packet analysis {"connection_id":159107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:05] local.INFO: Extracted packet for processing {"connection_id":159107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:34:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:34:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":159107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:34:05] local.INFO: GPS data processed {"connection_id":159107,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:34:05] local.INFO: Acknowledgment sent {"connection_id":159107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:34:18] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:34:18] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:34:18] local.INFO: IMEI packet received {"connection_id":161334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":161334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:34:23] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:34:23] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:34:23] local.INFO: IMEI packet received {"connection_id":161334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":161334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:34:24] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d6e698012d181e000721ad20004800d728..."} 
[2026-08-21 06:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d6e698012d181e000721ad20004800d728..."} 
[2026-08-21 06:34:24] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d6e698012d181e000721ad20004800d728..."} 
[2026-08-21 06:34:24] local.INFO: Packet analysis {"connection_id":161334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d6"} 
[2026-08-21 06:34:24] local.INFO: Extracted packet for processing {"connection_id":161334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d6"} 
[2026-08-21 06:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542171136001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34: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-08-21 06:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274127000,"timestamp_ms":1787274127000,"timestamp_seconds":1787274127,"priority":1,"record_length":96,"hex_timestamp":"000001a021d6e698"} 
[2026-08-21 06:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 06:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542171136001,"66":12602,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542171136001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:34:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542171136001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":161334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:34:24] local.INFO: GPS data processed {"connection_id":161334,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:34:24] local.INFO: Acknowledgment sent {"connection_id":161334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:34:32] local.INFO: TCP Data received {"connection_id":161335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:34:32] local.INFO: Processing buffer {"connection_id":161335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:34:32] local.INFO: IMEI packet received {"connection_id":161335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":161335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:34:37] local.INFO: TCP Data received {"connection_id":161335,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:34:37] local.INFO: Processing buffer {"connection_id":161335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:34:37] local.INFO: IMEI packet received {"connection_id":161335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":161335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:34:38] local.INFO: TCP Data received {"connection_id":161335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:38] local.INFO: Processing buffer {"connection_id":161335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:38] local.INFO: Packet analysis {"connection_id":161335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:38] local.INFO: Extracted packet for processing {"connection_id":161335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:34:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:34:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":161335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:34:38] local.INFO: GPS data processed {"connection_id":161335,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:34:38] local.INFO: Acknowledgment sent {"connection_id":161335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:34:42] local.INFO: TCP Data received {"connection_id":161335,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:42] local.INFO: Processing buffer {"connection_id":161335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:34:42] local.INFO: Packet analysis {"connection_id":161335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:42] local.INFO: Extracted packet for processing {"connection_id":161335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:34:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:34:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":161335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:34:42] local.INFO: GPS data processed {"connection_id":161335,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:34:42] local.INFO: Acknowledgment sent {"connection_id":161335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:34:55] local.INFO: TCP Data received {"connection_id":161334,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d738a0012d181e000721ad20004800d727..."} 
[2026-08-21 06:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d738a0012d181e000721ad20004800d727..."} 
[2026-08-21 06:34:55] local.INFO: Processing buffer {"connection_id":161334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d738a0012d181e000721ad20004800d727..."} 
[2026-08-21 06:34:55] local.INFO: Packet analysis {"connection_id":161334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:55] local.INFO: Extracted packet for processing {"connection_id":161334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542176512001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274148000,"timestamp_ms":1787274148000,"timestamp_seconds":1787274148,"priority":1,"record_length":96,"hex_timestamp":"000001a021d738a0"} 
[2026-08-21 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-08-21 06:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 06:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542176512001,"66":12580,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542176512001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:34:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:34:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542176512001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":161334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:34:55] local.INFO: GPS data processed {"connection_id":161334,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:34:55] local.INFO: Acknowledgment sent {"connection_id":161334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:35:18] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:35:18] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:35:18] local.INFO: IMEI packet received {"connection_id":159108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":159108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:35:23] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:35:23] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:35:23] local.INFO: IMEI packet received {"connection_id":159108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":159108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:35:24] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d78aa8012d181e000721ad20004800d729..."} 
[2026-08-21 06:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d78aa8012d181e000721ad20004800d729..."} 
[2026-08-21 06:35:24] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d78aa8012d181e000721ad20004800d729..."} 
[2026-08-21 06:35:24] local.INFO: Packet analysis {"connection_id":159108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:35:24] local.INFO: Extracted packet for processing {"connection_id":159108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181888001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35: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-08-21 06:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274169000,"timestamp_ms":1787274169000,"timestamp_seconds":1787274169,"priority":1,"record_length":96,"hex_timestamp":"000001a021d78aa8"} 
[2026-08-21 06:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-21 06:35:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181888001,"66":12558,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181888001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:35:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181888001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":159108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:35:24] local.INFO: GPS data processed {"connection_id":159108,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:35:24] local.INFO: Acknowledgment sent {"connection_id":159108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:35:27] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:35:27] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:35:27] local.INFO: IMEI packet received {"connection_id":159963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":159963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:35:32] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:35:32] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:35:32] local.INFO: IMEI packet received {"connection_id":159963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":159963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:35:33] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:35:33] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:35:33] local.INFO: Packet analysis {"connection_id":159963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:35:33] local.INFO: Extracted packet for processing {"connection_id":159963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:35:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:35:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:35:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":159963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:35:33] local.INFO: GPS data processed {"connection_id":159963,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:35:33] local.INFO: Acknowledgment sent {"connection_id":159963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:35:55] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d7dcb0012d181e000721ad20004800d729..."} 
[2026-08-21 06:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d7dcb0012d181e000721ad20004800d729..."} 
[2026-08-21 06:35:55] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d7dcb0012d181e000721ad20004800d729..."} 
[2026-08-21 06:35:55] local.INFO: Packet analysis {"connection_id":159108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:35:55] local.INFO: Extracted packet for processing {"connection_id":159108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542187264001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274190000,"timestamp_ms":1787274190000,"timestamp_seconds":1787274190,"priority":1,"record_length":96,"hex_timestamp":"000001a021d7dcb0"} 
[2026-08-21 06:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380116616293664,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2904555592,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 06:35:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,108,160,56,45,173,72,39,10,66,230,40,148,1,240,69,227,33,4,113,205,30,32,239,49,2,50,7,106,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 06:35:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383341824442368,"timestamp_seconds":5188383341824442.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542187264001,"66":12558,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542187264001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:35:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542187264001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":159108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:35:55] local.INFO: GPS data processed {"connection_id":159108,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:35:55] local.INFO: Acknowledgment sent {"connection_id":159108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:36:05] local.INFO: TCP Data received {"connection_id":159963,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:36:05] local.INFO: Processing buffer {"connection_id":159963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:36:05] local.INFO: Packet analysis {"connection_id":159963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:36:05] local.INFO: Extracted packet for processing {"connection_id":159963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:36:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:36:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:36:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":159963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:36:05] local.INFO: GPS data processed {"connection_id":159963,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:36:05] local.INFO: Acknowledgment sent {"connection_id":159963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:36:18] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:36:18] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:36:18] local.INFO: IMEI packet received {"connection_id":159109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":159109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:36:23] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:36:23] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:36:23] local.INFO: IMEI packet received {"connection_id":159109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":159109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:36:24] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d82eb8012d181e000721ad20004800d729..."} 
[2026-08-21 06:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d82eb8012d181e000721ad20004800d729..."} 
[2026-08-21 06:36:24] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d82eb8012d181e000721ad20004800d729..."} 
[2026-08-21 06:36:24] local.INFO: Packet analysis {"connection_id":159109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d8"} 
[2026-08-21 06:36:24] local.INFO: Extracted packet for processing {"connection_id":159109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d8"} 
[2026-08-21 06:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542192640001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36: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-08-21 06:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274211000,"timestamp_ms":1787274211000,"timestamp_seconds":1787274211,"priority":1,"record_length":96,"hex_timestamp":"000001a021d82eb8"} 
[2026-08-21 06:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2281778456,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249380116616293664,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2904555592,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:24] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,108,160,138,45,173,72,41,10,66,56,39,230,1,240,58,227,33,4,113,205,30,32,239,49,2,50,7,106,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 06:36:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383341824442368,"timestamp_seconds":5188383341824442.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542192640001,"66":12548,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542192640001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:36:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542192640001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":159109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:36:24] local.INFO: GPS data processed {"connection_id":159109,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:36:24] local.INFO: Acknowledgment sent {"connection_id":159109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:36:27] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:36:27] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:36:27] local.INFO: IMEI packet received {"connection_id":159110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":159110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:36:32] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:36:32] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:36:32] local.INFO: IMEI packet received {"connection_id":159110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":159110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:36:33] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:36:33] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:36:33] local.INFO: Packet analysis {"connection_id":159110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:36:33] local.INFO: Extracted packet for processing {"connection_id":159110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:36:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:36:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:36:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":159110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:36:33] local.INFO: GPS data processed {"connection_id":159110,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:36:33] local.INFO: Acknowledgment sent {"connection_id":159110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:36:55] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d880c0012d181e000721ad20004800d729..."} 
[2026-08-21 06:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d880c0012d181e000721ad20004800d729..."} 
[2026-08-21 06:36:55] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d880c0012d181e000721ad20004800d729..."} 
[2026-08-21 06:36:55] local.INFO: Packet analysis {"connection_id":159109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d8"} 
[2026-08-21 06:36:55] local.INFO: Extracted packet for processing {"connection_id":159109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d8"} 
[2026-08-21 06:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542198016001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274232000,"timestamp_ms":1787274232000,"timestamp_seconds":1787274232,"priority":1,"record_length":96,"hex_timestamp":"000001a021d880c0"} 
[2026-08-21 06:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2904555592,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 06:36:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,108,160,220,45,173,72,41,10,66,138,56,1,240,36,227,33,4,113,205,148,30,32,39,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 06:36:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383341824442368,"timestamp_seconds":5188383341824442.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542198016001,"66":12548,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542198016001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:36:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542198016001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":159109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:36:55] local.INFO: GPS data processed {"connection_id":159109,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:36:55] local.INFO: Acknowledgment sent {"connection_id":159109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:37:04] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:37:04] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:37:04] local.INFO: Packet analysis {"connection_id":159110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:37:04] local.INFO: Extracted packet for processing {"connection_id":159110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:37:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:37: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-08-21 06: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:37:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:37:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":159110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:37:04] local.INFO: GPS data processed {"connection_id":159110,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:37:04] local.INFO: Acknowledgment sent {"connection_id":159110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:37:19] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:19] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:19] local.INFO: IMEI packet received {"connection_id":159111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":159111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:37:19] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:19] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:19] local.INFO: IMEI packet received {"connection_id":159111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":159111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:37:23] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:23] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:37:23] local.INFO: IMEI packet received {"connection_id":159111,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":159111,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:37:24] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d8d2c8012d181e000721ad20004800d729..."} 
[2026-08-21 06:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d8d2c8012d181e000721ad20004800d729..."} 
[2026-08-21 06:37:24] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d8d2c8012d181e000721ad20004800d729..."} 
[2026-08-21 06:37:24] local.INFO: Packet analysis {"connection_id":159111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d8"} 
[2026-08-21 06:37:24] local.INFO: Extracted packet for processing {"connection_id":159111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d8"} 
[2026-08-21 06:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542203392001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37: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-08-21 06:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274253000,"timestamp_ms":1787274253000,"timestamp_seconds":1787274253,"priority":1,"record_length":96,"hex_timestamp":"000001a021d8d2c8"} 
[2026-08-21 06:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2904555592,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:24] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,108,160,46,45,173,72,41,10,66,220,138,1,240,14,227,33,4,113,205,230,30,32,40,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 06:37:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383341824442368,"timestamp_seconds":5188383341824442.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542203392001,"66":12504,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542203392001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:37:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542203392001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":159111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:37:24] local.INFO: GPS data processed {"connection_id":159111,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:37:24] local.INFO: Acknowledgment sent {"connection_id":159111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:37:26] local.INFO: TCP Data received {"connection_id":159112,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:37:26] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:37:26] local.INFO: IMEI packet received {"connection_id":159112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":159112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:37:32] local.INFO: TCP Data received {"connection_id":159112,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:37:32] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:37:32] local.INFO: IMEI packet received {"connection_id":159112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":159112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:37:32] local.INFO: TCP Data received {"connection_id":159112,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:37:32] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:37:32] local.INFO: Packet analysis {"connection_id":159112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:37:32] local.INFO: Extracted packet for processing {"connection_id":159112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:37: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-08-21 06:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:37:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:37:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":159112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:37:32] local.INFO: GPS data processed {"connection_id":159112,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:37:32] local.INFO: Acknowledgment sent {"connection_id":159112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:37:55] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d924d0012d181e000721ad20004800d729..."} 
[2026-08-21 06:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d924d0012d181e000721ad20004800d729..."} 
[2026-08-21 06:37:55] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d924d0012d181e000721ad20004800d729..."} 
[2026-08-21 06:37:55] local.INFO: Packet analysis {"connection_id":159111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d9"} 
[2026-08-21 06:37:55] local.INFO: Extracted packet for processing {"connection_id":159111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d9"} 
[2026-08-21 06:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542208768001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274274000,"timestamp_ms":1787274274000,"timestamp_seconds":1787274274,"priority":1,"record_length":96,"hex_timestamp":"000001a021d924d0"} 
[2026-08-21 06:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 06:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159111,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542208768001,"66":12287,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542208768001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:37:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542208768001,"power":12287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":159111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:37:55] local.INFO: GPS data processed {"connection_id":159111,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:37:55] local.INFO: Acknowledgment sent {"connection_id":159111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:38:04] local.INFO: TCP Data received {"connection_id":159112,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:38:04] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d730d0012da67700054b3710001c005f2d..."} 
[2026-08-21 06:38:04] local.INFO: Packet analysis {"connection_id":159112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:38:04] local.INFO: Extracted packet for processing {"connection_id":159112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d7"} 
[2026-08-21 06:38:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274146000,"timestamp_ms":1787274146000,"timestamp_seconds":1787274146,"priority":1,"record_length":96,"hex_timestamp":"000001a021d730d0"} 
[2026-08-21 06:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:38: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-08-21 06:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 06:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:38: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-08-21 06:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542104320001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:38:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:38:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542104320001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":159112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:38:04] local.INFO: GPS data processed {"connection_id":159112,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:38:04] local.INFO: Acknowledgment sent {"connection_id":159112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:38:18] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:18] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:18] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:38:21] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:21] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:21] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:38:23] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:23] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:38:23] local.INFO: IMEI packet received {"connection_id":159964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":159964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:38:24] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d976d8012d181e000721ad20004800d728..."} 
[2026-08-21 06:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d976d8012d181e000721ad20004800d728..."} 
[2026-08-21 06:38:24] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d976d8012d181e000721ad20004800d728..."} 
[2026-08-21 06:38:24] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d9"} 
[2026-08-21 06:38:24] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d9"} 
[2026-08-21 06:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542214144001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38: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-08-21 06:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274295000,"timestamp_ms":1787274295000,"timestamp_seconds":1787274295,"priority":1,"record_length":96,"hex_timestamp":"000001a021d976d8"} 
[2026-08-21 06:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 06:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542214144001,"66":12504,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542214144001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:38:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542214144001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:38:24] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:38:24] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:38:26] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:38:26] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:38:26] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:38:32] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:38:32] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:38:32] local.INFO: IMEI packet received {"connection_id":159965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":159965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:38:33] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:38:33] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:38:33] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:38:33] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:38:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:38:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:38:33] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:38:33] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:38:55] local.INFO: TCP Data received {"connection_id":159964,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021d9c8e0012d181e000721ad20004800d728..."} 
[2026-08-21 06:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021d9c8e0012d181e000721ad20004800d728..."} 
[2026-08-21 06:38:55] local.INFO: Processing buffer {"connection_id":159964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021d9c8e0012d181e000721ad20004800d728..."} 
[2026-08-21 06:38:55] local.INFO: Packet analysis {"connection_id":159964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021d9"} 
[2026-08-21 06:38:55] local.INFO: Extracted packet for processing {"connection_id":159964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021d9"} 
[2026-08-21 06:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542219520001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274316000,"timestamp_ms":1787274316000,"timestamp_seconds":1787274316,"priority":1,"record_length":96,"hex_timestamp":"000001a021d9c8e0"} 
[2026-08-21 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-08-21 06:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 06:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542219520001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542219520001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:38:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542219520001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":159964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:38:55] local.INFO: GPS data processed {"connection_id":159964,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:38:55] local.INFO: Acknowledgment sent {"connection_id":159964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:39:04] local.INFO: TCP Data received {"connection_id":159965,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:04] local.INFO: Processing buffer {"connection_id":159965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:04] local.INFO: Packet analysis {"connection_id":159965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:39:04] local.INFO: Extracted packet for processing {"connection_id":159965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:39:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:39:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:39:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":159965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:39:04] local.INFO: GPS data processed {"connection_id":159965,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:39:04] local.INFO: Acknowledgment sent {"connection_id":159965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:39:18] local.INFO: TCP Data received {"connection_id":158807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:39:18] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:39:18] local.INFO: IMEI packet received {"connection_id":158807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":158807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:39:23] local.INFO: TCP Data received {"connection_id":158807,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:39:23] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:39:23] local.INFO: IMEI packet received {"connection_id":158807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":158807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:39:24] local.INFO: TCP Data received {"connection_id":158807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021da1ae8012d181e000721ad20004800d728..."} 
[2026-08-21 06:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021da1ae8012d181e000721ad20004800d728..."} 
[2026-08-21 06:39:24] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021da1ae8012d181e000721ad20004800d728..."} 
[2026-08-21 06:39:24] local.INFO: Packet analysis {"connection_id":158807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021da"} 
[2026-08-21 06:39:24] local.INFO: Extracted packet for processing {"connection_id":158807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021da"} 
[2026-08-21 06:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542224896001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06: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-08-21 06:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274337000,"timestamp_ms":1787274337000,"timestamp_seconds":1787274337,"priority":1,"record_length":96,"hex_timestamp":"000001a021da1ae8"} 
[2026-08-21 06:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:39: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-08-21 06:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542224896001,"66":12504,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542224896001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:39:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542224896001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":158807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:39:24] local.INFO: GPS data processed {"connection_id":158807,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:39:24] local.INFO: Acknowledgment sent {"connection_id":158807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:39:32] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:39:32] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:39:32] local.INFO: IMEI packet received {"connection_id":159966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":159966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:39:37] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:39:37] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:39:37] local.INFO: IMEI packet received {"connection_id":159966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:39:37] local.INFO: IMEI acknowledgment sent {"connection_id":159966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:39:37] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:37] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:37] local.INFO: Packet analysis {"connection_id":159966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:39:37] local.INFO: Extracted packet for processing {"connection_id":159966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:39:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:39:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":159966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:39:37] local.INFO: GPS data processed {"connection_id":159966,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:39:37] local.INFO: Acknowledgment sent {"connection_id":159966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:39:42] local.INFO: TCP Data received {"connection_id":159966,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:42] local.INFO: Processing buffer {"connection_id":159966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:39:42] local.INFO: Packet analysis {"connection_id":159966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:39:42] local.INFO: Extracted packet for processing {"connection_id":159966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:39:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:39:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:39:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":159966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:39:42] local.INFO: GPS data processed {"connection_id":159966,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:39:42] local.INFO: Acknowledgment sent {"connection_id":159966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:39:55] local.INFO: TCP Data received {"connection_id":158807,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021da6cf0012d181e000721ad20004800d729..."} 
[2026-08-21 06:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021da6cf0012d181e000721ad20004800d729..."} 
[2026-08-21 06:39:55] local.INFO: Processing buffer {"connection_id":158807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021da6cf0012d181e000721ad20004800d729..."} 
[2026-08-21 06:39:55] local.INFO: Packet analysis {"connection_id":158807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021da"} 
[2026-08-21 06:39:55] local.INFO: Extracted packet for processing {"connection_id":158807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021da"} 
[2026-08-21 06:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542230272001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274358000,"timestamp_ms":1787274358000,"timestamp_seconds":1787274358,"priority":1,"record_length":96,"hex_timestamp":"000001a021da6cf0"} 
[2026-08-21 06:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 06:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542230272001,"66":12515,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542230272001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:39:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542230272001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":158807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:39:55] local.INFO: GPS data processed {"connection_id":158807,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:39:55] local.INFO: Acknowledgment sent {"connection_id":158807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:40:23] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:40:23] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:40:23] local.INFO: IMEI packet received {"connection_id":161336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":161336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:40:27] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:40:27] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:40:27] local.INFO: IMEI packet received {"connection_id":161337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":161337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:40:27] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:40:27] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:40:27] local.INFO: IMEI packet received {"connection_id":161336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":161336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:40:28] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021dabef8012d181e000721ad20004800d727..."} 
[2026-08-21 06:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dabef8012d181e000721ad20004800d727..."} 
[2026-08-21 06:40:28] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dabef8012d181e000721ad20004800d727..."} 
[2026-08-21 06:40:28] local.INFO: Packet analysis {"connection_id":161336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021da"} 
[2026-08-21 06:40:28] local.INFO: Extracted packet for processing {"connection_id":161336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021da"} 
[2026-08-21 06:40:28] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542235648001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787274379000,"timestamp_ms":1787274379000,"timestamp_seconds":1787274379,"priority":1,"record_length":96,"hex_timestamp":"000001a021dabef8"} 
[2026-08-21 06:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-21 06:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542235648001,"66":12439,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542235648001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:40:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:40:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542235648001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":161336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:40:28] local.INFO: GPS data processed {"connection_id":161336,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:40:28] local.INFO: Acknowledgment sent {"connection_id":161336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:40:29] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021db1100012d181e000721ad20004800d727..."} 
[2026-08-21 06:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021db1100012d181e000721ad20004800d727..."} 
[2026-08-21 06:40:29] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021db1100012d181e000721ad20004800d727..."} 
[2026-08-21 06:40:29] local.INFO: Packet analysis {"connection_id":161336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:40:29] local.INFO: Extracted packet for processing {"connection_id":161336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542241024001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787274400000,"timestamp_ms":1787274400000,"timestamp_seconds":1787274400,"priority":1,"record_length":96,"hex_timestamp":"000001a021db1100"} 
[2026-08-21 06:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-21 06:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542241024001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542241024001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:40:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542241024001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":161336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:40:29] local.INFO: GPS data processed {"connection_id":161336,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:40:29] local.INFO: Acknowledgment sent {"connection_id":161336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:40:32] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:40:32] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:40:32] local.INFO: IMEI packet received {"connection_id":161337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":161337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:40:33] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:40:33] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:40:33] local.INFO: Packet analysis {"connection_id":161337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:40:33] local.INFO: Extracted packet for processing {"connection_id":161337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:40:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:40:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:40:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":161337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:40:33] local.INFO: GPS data processed {"connection_id":161337,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:40:33] local.INFO: Acknowledgment sent {"connection_id":161337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:41:00] local.INFO: TCP Data received {"connection_id":161336,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021db6308012d181e000721ad20004800d72a..."} 
[2026-08-21 06:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021db6308012d181e000721ad20004800d72a..."} 
[2026-08-21 06:41:00] local.INFO: Processing buffer {"connection_id":161336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021db6308012d181e000721ad20004800d72a..."} 
[2026-08-21 06:41:00] local.INFO: Packet analysis {"connection_id":161336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:00] local.INFO: Extracted packet for processing {"connection_id":161336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:00] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542246400001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787274421000,"timestamp_ms":1787274421000,"timestamp_seconds":1787274421,"priority":1,"record_length":96,"hex_timestamp":"000001a021db6308"} 
[2026-08-21 06:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:41: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-08-21 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542246400001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542246400001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:41:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:41:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542246400001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":161336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:41:00] local.INFO: GPS data processed {"connection_id":161336,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:41:00] local.INFO: Acknowledgment sent {"connection_id":161336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:41:04] local.INFO: TCP Data received {"connection_id":161337,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:41:04] local.INFO: Processing buffer {"connection_id":161337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:41:04] local.INFO: Packet analysis {"connection_id":161337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:04] local.INFO: Extracted packet for processing {"connection_id":161337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:41:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:41:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:41:04] local.INFO: GPS data processed {"connection_id":161337,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:41:04] local.INFO: Acknowledgment sent {"connection_id":161337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:41:18] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:41:18] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:41:18] local.INFO: IMEI packet received {"connection_id":159113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":159113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:41:23] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:41:23] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:41:23] local.INFO: IMEI packet received {"connection_id":159113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":159113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:41:24] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbb510012d181e000721ad20004800d728..."} 
[2026-08-21 06:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbb510012d181e000721ad20004800d728..."} 
[2026-08-21 06:41:24] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbb510012d181e000721ad20004800d728..."} 
[2026-08-21 06:41:24] local.INFO: Packet analysis {"connection_id":159113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:24] local.INFO: Extracted packet for processing {"connection_id":159113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542251776001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41: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-08-21 06:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274442000,"timestamp_ms":1787274442000,"timestamp_seconds":1787274442,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbb510"} 
[2026-08-21 06:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:41: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-08-21 06:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542251776001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542251776001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:41:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542251776001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":159113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:41:24] local.INFO: GPS data processed {"connection_id":159113,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:41:24] local.INFO: Acknowledgment sent {"connection_id":159113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:41:27] local.INFO: TCP Data received {"connection_id":161338,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:41:27] local.INFO: Processing buffer {"connection_id":161338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:41:27] local.INFO: IMEI packet received {"connection_id":161338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":161338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:41:32] local.INFO: TCP Data received {"connection_id":161338,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:41:32] local.INFO: Processing buffer {"connection_id":161338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:41:32] local.INFO: IMEI packet received {"connection_id":161338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":161338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:41:33] local.INFO: TCP Data received {"connection_id":161338,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:41:33] local.INFO: Processing buffer {"connection_id":161338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:41:33] local.INFO: Packet analysis {"connection_id":161338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:33] local.INFO: Extracted packet for processing {"connection_id":161338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:41:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:41:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:41:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":161338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:41:33] local.INFO: GPS data processed {"connection_id":161338,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:41:33] local.INFO: Acknowledgment sent {"connection_id":161338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:41:55] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021dc0718012d181e000721ad20004800d727..."} 
[2026-08-21 06:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dc0718012d181e000721ad20004800d727..."} 
[2026-08-21 06:41:55] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dc0718012d181e000721ad20004800d727..."} 
[2026-08-21 06:41:55] local.INFO: Packet analysis {"connection_id":159113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:41:55] local.INFO: Extracted packet for processing {"connection_id":159113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542257152001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274463000,"timestamp_ms":1787274463000,"timestamp_seconds":1787274463,"priority":1,"record_length":96,"hex_timestamp":"000001a021dc0718"} 
[2026-08-21 06:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542257152001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542257152001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:41:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542257152001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":159113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:41:55] local.INFO: GPS data processed {"connection_id":159113,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:41:55] local.INFO: Acknowledgment sent {"connection_id":159113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:42:04] local.INFO: TCP Data received {"connection_id":161338,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:42:04] local.INFO: Processing buffer {"connection_id":161338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:42:04] local.INFO: Packet analysis {"connection_id":161338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:42:04] local.INFO: Extracted packet for processing {"connection_id":161338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:42:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:42:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:42:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":161338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:42:04] local.INFO: GPS data processed {"connection_id":161338,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:42:04] local.INFO: Acknowledgment sent {"connection_id":161338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:42:18] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:42:18] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:42:18] local.INFO: IMEI packet received {"connection_id":159114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":159114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:42:23] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:42:23] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:42:23] local.INFO: IMEI packet received {"connection_id":159114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":159114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:42:24] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021dc5920012d181e000721ad20004800d72a..."} 
[2026-08-21 06:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dc5920012d181e000721ad20004800d72a..."} 
[2026-08-21 06:42:24] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dc5920012d181e000721ad20004800d72a..."} 
[2026-08-21 06:42:24] local.INFO: Packet analysis {"connection_id":159114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:42:24] local.INFO: Extracted packet for processing {"connection_id":159114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542262528001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42: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-08-21 06:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274484000,"timestamp_ms":1787274484000,"timestamp_seconds":1787274484,"priority":1,"record_length":96,"hex_timestamp":"000001a021dc5920"} 
[2026-08-21 06:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:42: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-08-21 06:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542262528001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542262528001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:42:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542262528001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":159114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:42:24] local.INFO: GPS data processed {"connection_id":159114,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:42:24] local.INFO: Acknowledgment sent {"connection_id":159114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:42:26] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:42:26] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:42:26] local.INFO: IMEI packet received {"connection_id":161339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":161339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:42:32] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:42:32] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:42:32] local.INFO: IMEI packet received {"connection_id":161339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":161339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:42:33] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:42:33] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:42:33] local.INFO: Packet analysis {"connection_id":161339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:42:33] local.INFO: Extracted packet for processing {"connection_id":161339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:42:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:42:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":161339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:42:33] local.INFO: GPS data processed {"connection_id":161339,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:42:33] local.INFO: Acknowledgment sent {"connection_id":161339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:42:55] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021dcab28012d181e000721ad20004800d72a..."} 
[2026-08-21 06:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dcab28012d181e000721ad20004800d72a..."} 
[2026-08-21 06:42:55] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dcab28012d181e000721ad20004800d72a..."} 
[2026-08-21 06:42:55] local.INFO: Packet analysis {"connection_id":159114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:42:55] local.INFO: Extracted packet for processing {"connection_id":159114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542267904001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274505000,"timestamp_ms":1787274505000,"timestamp_seconds":1787274505,"priority":1,"record_length":96,"hex_timestamp":"000001a021dcab28"} 
[2026-08-21 06:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542267904001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542267904001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:42:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542267904001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":159114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:42:55] local.INFO: GPS data processed {"connection_id":159114,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:42:55] local.INFO: Acknowledgment sent {"connection_id":159114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:43:04] local.INFO: TCP Data received {"connection_id":161339,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:43:04] local.INFO: Processing buffer {"connection_id":161339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dbc898012da67700054b3710001c005f2e..."} 
[2026-08-21 06:43:04] local.INFO: Packet analysis {"connection_id":161339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:43:04] local.INFO: Extracted packet for processing {"connection_id":161339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021db"} 
[2026-08-21 06:43:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274447000,"timestamp_ms":1787274447000,"timestamp_seconds":1787274447,"priority":1,"record_length":96,"hex_timestamp":"000001a021dbc898"} 
[2026-08-21 06:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06: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-08-21 06: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 06:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542181376001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:43:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:43:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542181376001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":161339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:43:04] local.INFO: GPS data processed {"connection_id":161339,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:43:04] local.INFO: Acknowledgment sent {"connection_id":161339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:43:18] local.INFO: TCP Data received {"connection_id":158808,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:43:18] local.INFO: Processing buffer {"connection_id":158808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:43:18] local.INFO: IMEI packet received {"connection_id":158808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":158808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:43:23] local.INFO: TCP Data received {"connection_id":158808,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:43:23] local.INFO: Processing buffer {"connection_id":158808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:43:23] local.INFO: IMEI packet received {"connection_id":158808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":158808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:43:24] local.INFO: TCP Data received {"connection_id":158808,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021dcfd30012d181e000721ad20004800d72a..."} 
[2026-08-21 06:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dcfd30012d181e000721ad20004800d72a..."} 
[2026-08-21 06:43:24] local.INFO: Processing buffer {"connection_id":158808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dcfd30012d181e000721ad20004800d72a..."} 
[2026-08-21 06:43:24] local.INFO: Packet analysis {"connection_id":158808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:43:24] local.INFO: Extracted packet for processing {"connection_id":158808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021dc"} 
[2026-08-21 06:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542273280001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43: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-08-21 06:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274526000,"timestamp_ms":1787274526000,"timestamp_seconds":1787274526,"priority":1,"record_length":96,"hex_timestamp":"000001a021dcfd30"} 
[2026-08-21 06:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:43: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-08-21 06:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542273280001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542273280001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:43:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542273280001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":158808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:43:24] local.INFO: GPS data processed {"connection_id":158808,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:43:24] local.INFO: Acknowledgment sent {"connection_id":158808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:43:26] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:43:26] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:43:26] local.INFO: IMEI packet received {"connection_id":159967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":159967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:43:32] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:43:32] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:43:32] local.INFO: IMEI packet received {"connection_id":159967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":159967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:43:32] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:43:32] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:43:32] local.INFO: Packet analysis {"connection_id":159967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:43:32] local.INFO: Extracted packet for processing {"connection_id":159967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:43:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 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-08-21 06:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:43:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:43:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":159967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:43:32] local.INFO: GPS data processed {"connection_id":159967,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:43:32] local.INFO: Acknowledgment sent {"connection_id":159967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:43:55] local.INFO: TCP Data received {"connection_id":158808,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021dd4f38012d181e000721ad20004800d729..."} 
[2026-08-21 06:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021dd4f38012d181e000721ad20004800d729..."} 
[2026-08-21 06:43:55] local.INFO: Processing buffer {"connection_id":158808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021dd4f38012d181e000721ad20004800d729..."} 
[2026-08-21 06:43:55] local.INFO: Packet analysis {"connection_id":158808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021dd"} 
[2026-08-21 06:43:55] local.INFO: Extracted packet for processing {"connection_id":158808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021dd"} 
[2026-08-21 06:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542278656001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274547000,"timestamp_ms":1787274547000,"timestamp_seconds":1787274547,"priority":1,"record_length":96,"hex_timestamp":"000001a021dd4f38"} 
[2026-08-21 06:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 06:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542278656001,"66":12461,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542278656001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:43:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542278656001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":158808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:43:55] local.INFO: GPS data processed {"connection_id":158808,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:43:55] local.INFO: Acknowledgment sent {"connection_id":158808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:44:04] local.INFO: TCP Data received {"connection_id":159967,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:04] local.INFO: Processing buffer {"connection_id":159967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:04] local.INFO: Packet analysis {"connection_id":159967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:04] local.INFO: Extracted packet for processing {"connection_id":159967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:44:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:44:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":159967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:44:04] local.INFO: GPS data processed {"connection_id":159967,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:44:04] local.INFO: Acknowledgment sent {"connection_id":159967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:44:18] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:18] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:18] local.INFO: IMEI packet received {"connection_id":159115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":159115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:44:18] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:18] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:18] local.INFO: IMEI packet received {"connection_id":159115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":159115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:44:23] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:23] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:44:23] local.INFO: IMEI packet received {"connection_id":159115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":159115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:44:24] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e0d590012d181e000721ad20004800d72a..."} 
[2026-08-21 06:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e0d590012d181e000721ad20004800d72a..."} 
[2026-08-21 06:44:24] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e0d590012d181e000721ad20004800d72a..."} 
[2026-08-21 06:44:24] local.INFO: Packet analysis {"connection_id":159115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:24] local.INFO: Extracted packet for processing {"connection_id":159115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542337792001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44: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-08-21 06:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274778000,"timestamp_ms":1787274778000,"timestamp_seconds":1787274778,"priority":1,"record_length":96,"hex_timestamp":"000001a021e0d590"} 
[2026-08-21 06:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:44:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 06:44:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542337792001,"66":12385,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542337792001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:44:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542337792001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":159115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:44:24] local.INFO: GPS data processed {"connection_id":159115,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:44:24] local.INFO: Acknowledgment sent {"connection_id":159115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:44:32] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:44:32] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:44:32] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:44:37] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:44:37] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:44:37] local.INFO: IMEI packet received {"connection_id":159968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":159968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:44:38] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:38] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:38] local.INFO: Packet analysis {"connection_id":159968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:38] local.INFO: Extracted packet for processing {"connection_id":159968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:44: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":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:44:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:44:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":159968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:44:38] local.INFO: GPS data processed {"connection_id":159968,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:44:38] local.INFO: Acknowledgment sent {"connection_id":159968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:44:42] local.INFO: TCP Data received {"connection_id":159968,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:42] local.INFO: Processing buffer {"connection_id":159968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:44:42] local.INFO: Packet analysis {"connection_id":159968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:42] local.INFO: Extracted packet for processing {"connection_id":159968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":159968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:44:42] local.INFO: GPS data processed {"connection_id":159968,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:44:42] local.INFO: Acknowledgment sent {"connection_id":159968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:44:55] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e12798012d181e000721ad20004800d729..."} 
[2026-08-21 06:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e12798012d181e000721ad20004800d729..."} 
[2026-08-21 06:44:55] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e12798012d181e000721ad20004800d729..."} 
[2026-08-21 06:44:55] local.INFO: Packet analysis {"connection_id":159115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e1"} 
[2026-08-21 06:44:55] local.INFO: Extracted packet for processing {"connection_id":159115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e1"} 
[2026-08-21 06:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542343168001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274799000,"timestamp_ms":1787274799000,"timestamp_seconds":1787274799,"priority":1,"record_length":96,"hex_timestamp":"000001a021e12798"} 
[2026-08-21 06:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 06:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542343168001,"66":12385,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542343168001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:44:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542343168001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":159115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:44:55] local.INFO: GPS data processed {"connection_id":159115,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:44:55] local.INFO: Acknowledgment sent {"connection_id":159115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:45:21] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:21] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:21] local.INFO: IMEI packet received {"connection_id":159969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":159969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:45:23] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:23] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:23] local.INFO: IMEI packet received {"connection_id":159969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":159969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:45:27] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:45:27] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:45:27] local.INFO: IMEI packet received {"connection_id":161340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":161340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:45:28] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:28] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:45:28] local.INFO: IMEI packet received {"connection_id":159969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":159969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:45:29] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e179a0012d181e000721ad20004800d729..."} 
[2026-08-21 06:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e179a0012d181e000721ad20004800d729..."} 
[2026-08-21 06:45:29] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e179a0012d181e000721ad20004800d729..."} 
[2026-08-21 06:45:29] local.INFO: Packet analysis {"connection_id":159969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e1"} 
[2026-08-21 06:45:29] local.INFO: Extracted packet for processing {"connection_id":159969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e1"} 
[2026-08-21 06:45:29] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542348544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787274820000,"timestamp_ms":1787274820000,"timestamp_seconds":1787274820,"priority":1,"record_length":96,"hex_timestamp":"000001a021e179a0"} 
[2026-08-21 06:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 06:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:45:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542348544001,"66":12385,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542348544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:45:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:45:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542348544001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":159969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:45:29] local.INFO: GPS data processed {"connection_id":159969,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:45:29] local.INFO: Acknowledgment sent {"connection_id":159969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:45:32] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:45:32] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:45:32] local.INFO: IMEI packet received {"connection_id":161340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":161340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:45:33] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:45:33] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:45:33] local.INFO: Packet analysis {"connection_id":161340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:45:33] local.INFO: Extracted packet for processing {"connection_id":161340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":161340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:45:33] local.INFO: GPS data processed {"connection_id":161340,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:45:33] local.INFO: Acknowledgment sent {"connection_id":161340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:45:33] local.INFO: TCP Data received {"connection_id":159969,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e1cba8012d181e000721ad20004800d729..."} 
[2026-08-21 06:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e1cba8012d181e000721ad20004800d729..."} 
[2026-08-21 06:45:33] local.INFO: Processing buffer {"connection_id":159969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e1cba8012d181e000721ad20004800d729..."} 
[2026-08-21 06:45:33] local.INFO: Packet analysis {"connection_id":159969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e1"} 
[2026-08-21 06:45:33] local.INFO: Extracted packet for processing {"connection_id":159969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e1"} 
[2026-08-21 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542353920001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274841000,"timestamp_ms":1787274841000,"timestamp_seconds":1787274841,"priority":1,"record_length":96,"hex_timestamp":"000001a021e1cba8"} 
[2026-08-21 06:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 06:45:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542353920001,"66":12385,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542353920001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542353920001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":159969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:45:34] local.INFO: GPS data processed {"connection_id":159969,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:45:34] local.INFO: Acknowledgment sent {"connection_id":159969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:46:04] local.INFO: TCP Data received {"connection_id":161340,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:46:04] local.INFO: Processing buffer {"connection_id":161340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:46:04] local.INFO: Packet analysis {"connection_id":161340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:46:04] local.INFO: Extracted packet for processing {"connection_id":161340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:46:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:46: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":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:46:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:46:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":161340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:46:04] local.INFO: GPS data processed {"connection_id":161340,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:46:04] local.INFO: Acknowledgment sent {"connection_id":161340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:46:18] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:46:18] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:46:18] local.INFO: IMEI packet received {"connection_id":159116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":159116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:46:23] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:46:23] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:46:23] local.INFO: IMEI packet received {"connection_id":159116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":159116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:46:24] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e21db0012d181e000721ad20004800d729..."} 
[2026-08-21 06:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e21db0012d181e000721ad20004800d729..."} 
[2026-08-21 06:46:24] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e21db0012d181e000721ad20004800d729..."} 
[2026-08-21 06:46:24] local.INFO: Packet analysis {"connection_id":159116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e2"} 
[2026-08-21 06:46:24] local.INFO: Extracted packet for processing {"connection_id":159116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e2"} 
[2026-08-21 06:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542359296001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46: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-08-21 06:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274862000,"timestamp_ms":1787274862000,"timestamp_seconds":1787274862,"priority":1,"record_length":96,"hex_timestamp":"000001a021e21db0"} 
[2026-08-21 06:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 06:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542359296001,"66":12374,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542359296001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:46:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542359296001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":159116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:46:24] local.INFO: GPS data processed {"connection_id":159116,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:46:24] local.INFO: Acknowledgment sent {"connection_id":159116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:46:26] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:46:26] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:46:26] local.INFO: IMEI packet received {"connection_id":159970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":159970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:46:32] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:46:32] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:46:32] local.INFO: IMEI packet received {"connection_id":159970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":159970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:46:33] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:46:33] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:46:33] local.INFO: Packet analysis {"connection_id":159970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:46:33] local.INFO: Extracted packet for processing {"connection_id":159970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:46:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:46:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:46:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":159970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:46:33] local.INFO: GPS data processed {"connection_id":159970,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:46:33] local.INFO: Acknowledgment sent {"connection_id":159970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:46:55] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e26fb8012d181e000721ad20004800d72a..."} 
[2026-08-21 06:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e26fb8012d181e000721ad20004800d72a..."} 
[2026-08-21 06:46:55] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e26fb8012d181e000721ad20004800d72a..."} 
[2026-08-21 06:46:55] local.INFO: Packet analysis {"connection_id":159116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e2"} 
[2026-08-21 06:46:55] local.INFO: Extracted packet for processing {"connection_id":159116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e2"} 
[2026-08-21 06:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542364672001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274883000,"timestamp_ms":1787274883000,"timestamp_seconds":1787274883,"priority":1,"record_length":96,"hex_timestamp":"000001a021e26fb8"} 
[2026-08-21 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-08-21 06:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 06:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542364672001,"66":12374,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542364672001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:46:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542364672001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":159116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:46:55] local.INFO: GPS data processed {"connection_id":159116,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:46:55] local.INFO: Acknowledgment sent {"connection_id":159116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:47:04] local.INFO: TCP Data received {"connection_id":159970,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:47:04] local.INFO: Processing buffer {"connection_id":159970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:47:04] local.INFO: Packet analysis {"connection_id":159970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:47:04] local.INFO: Extracted packet for processing {"connection_id":159970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:47:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:47:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:47:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":159970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:47:04] local.INFO: GPS data processed {"connection_id":159970,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:47:04] local.INFO: Acknowledgment sent {"connection_id":159970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:47:18] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:47:18] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:47:18] local.INFO: IMEI packet received {"connection_id":161341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":161341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:47:23] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:47:23] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:47:23] local.INFO: IMEI packet received {"connection_id":161341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":161341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:47:24] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e2c1c0012d181e000721ad20004800d72a..."} 
[2026-08-21 06:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e2c1c0012d181e000721ad20004800d72a..."} 
[2026-08-21 06:47:24] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e2c1c0012d181e000721ad20004800d72a..."} 
[2026-08-21 06:47:24] local.INFO: Packet analysis {"connection_id":161341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e2"} 
[2026-08-21 06:47:24] local.INFO: Extracted packet for processing {"connection_id":161341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e2"} 
[2026-08-21 06:47:24] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542370048001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47: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-08-21 06:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787274904000,"timestamp_ms":1787274904000,"timestamp_seconds":1787274904,"priority":1,"record_length":96,"hex_timestamp":"000001a021e2c1c0"} 
[2026-08-21 06:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 06:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542370048001,"66":12385,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542370048001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:47:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542370048001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":161341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:47:24] local.INFO: GPS data processed {"connection_id":161341,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:47:24] local.INFO: Acknowledgment sent {"connection_id":161341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:47:26] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:47:26] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:47:26] local.INFO: IMEI packet received {"connection_id":159117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":159117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:47:32] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:47:32] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:47:32] local.INFO: IMEI packet received {"connection_id":159117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":159117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:47:33] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:47:33] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:47:33] local.INFO: Packet analysis {"connection_id":159117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:47:33] local.INFO: Extracted packet for processing {"connection_id":159117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:47:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:47:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:47:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":159117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:47:33] local.INFO: GPS data processed {"connection_id":159117,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:47:33] local.INFO: Acknowledgment sent {"connection_id":159117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:47:55] local.INFO: TCP Data received {"connection_id":161341,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e313c8012d181e000721ad20004800d729..."} 
[2026-08-21 06:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e313c8012d181e000721ad20004800d729..."} 
[2026-08-21 06:47:55] local.INFO: Processing buffer {"connection_id":161341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e313c8012d181e000721ad20004800d729..."} 
[2026-08-21 06:47:55] local.INFO: Packet analysis {"connection_id":161341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e3"} 
[2026-08-21 06:47:55] local.INFO: Extracted packet for processing {"connection_id":161341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e3"} 
[2026-08-21 06:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542375424001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787274925000,"timestamp_ms":1787274925000,"timestamp_seconds":1787274925,"priority":1,"record_length":96,"hex_timestamp":"000001a021e313c8"} 
[2026-08-21 06:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 06:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542375424001,"66":12374,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542375424001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:47:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542375424001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":161341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:47:56] local.INFO: GPS data processed {"connection_id":161341,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:47:56] local.INFO: Acknowledgment sent {"connection_id":161341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:48:04] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:48:04] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e06060012da67700054b3710001c005f2e..."} 
[2026-08-21 06:48:04] local.INFO: Packet analysis {"connection_id":159117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:48:04] local.INFO: Extracted packet for processing {"connection_id":159117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e0"} 
[2026-08-21 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787274748000,"timestamp_ms":1787274748000,"timestamp_seconds":1787274748,"priority":1,"record_length":96,"hex_timestamp":"000001a021e06060"} 
[2026-08-21 06:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542258432001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:48:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:48:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542258432001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:48:04] local.INFO: GPS data processed {"connection_id":159117,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:48:04] local.INFO: Acknowledgment sent {"connection_id":159117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:48:17] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:17] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:17] local.INFO: IMEI packet received {"connection_id":161342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":161342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:48:18] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:18] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:18] local.INFO: IMEI packet received {"connection_id":161342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":161342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:48:21] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:21] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:48:21] local.INFO: IMEI packet received {"connection_id":161342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":161342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:48:22] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e365d0012d181e000721ad20004800d72a..."} 
[2026-08-21 06:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e365d0012d181e000721ad20004800d72a..."} 
[2026-08-21 06:48:22] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e365d0012d181e000721ad20004800d72a..."} 
[2026-08-21 06:48:22] local.INFO: Packet analysis {"connection_id":161342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e3"} 
[2026-08-21 06:48:22] local.INFO: Extracted packet for processing {"connection_id":161342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e3"} 
[2026-08-21 06:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542380800001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787274946000,"timestamp_ms":1787274946000,"timestamp_seconds":1787274946,"priority":1,"record_length":96,"hex_timestamp":"000001a021e365d0"} 
[2026-08-21 06:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 06:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542380800001,"66":12374,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542380800001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:48:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542380800001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":161342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:48:22] local.INFO: GPS data processed {"connection_id":161342,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:48:22] local.INFO: Acknowledgment sent {"connection_id":161342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:48:26] local.INFO: TCP Data received {"connection_id":158809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:48:26] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:48:26] local.INFO: IMEI packet received {"connection_id":158809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":158809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:48:32] local.INFO: TCP Data received {"connection_id":158809,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:48:32] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:48:32] local.INFO: IMEI packet received {"connection_id":158809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":158809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:48:33] local.INFO: TCP Data received {"connection_id":158809,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:48:33] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:48:33] local.INFO: Packet analysis {"connection_id":158809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:48:33] local.INFO: Extracted packet for processing {"connection_id":158809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:48:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:48:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:48:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":158809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:48:33] local.INFO: GPS data processed {"connection_id":158809,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:48:33] local.INFO: Acknowledgment sent {"connection_id":158809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:48:53] local.INFO: TCP Data received {"connection_id":161342,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e3b7d8012d181e000721ad20004800d729..."} 
[2026-08-21 06:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e3b7d8012d181e000721ad20004800d729..."} 
[2026-08-21 06:48:53] local.INFO: Processing buffer {"connection_id":161342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e3b7d8012d181e000721ad20004800d729..."} 
[2026-08-21 06:48:53] local.INFO: Packet analysis {"connection_id":161342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e3"} 
[2026-08-21 06:48:53] local.INFO: Extracted packet for processing {"connection_id":161342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e3"} 
[2026-08-21 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647520,"longitude_deg":75.6555264,"latitude_deg":11.964752,"altitude":72,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ad20","is_valid_coordinates":true} 
[2026-08-21 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542386176001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192822508847104,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841355264,"note":"Value kept but may cause issues"} 
[2026-08-21 06:48: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-08-21 06:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787274967000,"timestamp_ms":1787274967000,"timestamp_seconds":1787274967,"priority":1,"record_length":96,"hex_timestamp":"000001a021e3b7d8"} 
[2026-08-21 06:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 06:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542386176001,"66":12363,"105":206,"83":41984,"24":0,"16":14192822508847104,"45":1737826536841355264},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542386176001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:48:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:48:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192822508847104,"km_value":14192822508847.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841355264,"description":"Unknown IO ID 45"} 
[2026-08-21 06:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542386176001,"power":12363,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841355264}} 
[2026-08-21 06:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":161342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:48:53] local.INFO: GPS data processed {"connection_id":161342,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:48:53] local.INFO: Acknowledgment sent {"connection_id":161342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:49:04] local.INFO: TCP Data received {"connection_id":158809,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:04] local.INFO: Processing buffer {"connection_id":158809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:04] local.INFO: Packet analysis {"connection_id":158809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:49:04] local.INFO: Extracted packet for processing {"connection_id":158809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:49:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:49:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:49:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":158809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:49:04] local.INFO: GPS data processed {"connection_id":158809,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:49:04] local.INFO: Acknowledgment sent {"connection_id":158809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:49:18] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:18] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:18] local.INFO: IMEI packet received {"connection_id":159118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":159118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:49:21] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:21] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:21] local.INFO: IMEI packet received {"connection_id":159118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":159118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:49:23] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:23] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:49:23] local.INFO: IMEI packet received {"connection_id":159118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":159118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:49:24] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e5afc0012d1820400721a6a8004900882c..."} 
[2026-08-21 06:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e5afc0012d1820400721a6a8004900882c..."} 
[2026-08-21 06:49:24] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e5afc0012d1820400721a6a8004900882c..."} 
[2026-08-21 06:49:24] local.INFO: Packet analysis {"connection_id":159118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e5"} 
[2026-08-21 06:49:24] local.INFO: Extracted packet for processing {"connection_id":159118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e5"} 
[2026-08-21 06:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645864,"longitude_deg":75.655584,"latitude_deg":11.9645864,"altitude":73,"angle":136,"satellites":44,"speed":7,"hex_longitude":"2d182040","hex_latitude":"0721a6a8","is_valid_coordinates":true} 
[2026-08-21 06:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542421760001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192921293094912,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050242560,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49: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-08-21 06:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275096000,"timestamp_ms":1787275096000,"timestamp_seconds":1787275096,"priority":1,"record_length":96,"hex_timestamp":"000001a021e5afc0"} 
[2026-08-21 06:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:49: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-08-21 06:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 06:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542421760001,"66":14211,"105":206,"83":41984,"24":7,"16":14192921293094912,"45":1738319118050242560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542421760001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:49:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192921293094912,"km_value":14192921293094.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050242560,"description":"Unknown IO ID 45"} 
[2026-08-21 06:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542421760001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738319118050242560}} 
[2026-08-21 06:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":159118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:49:24] local.INFO: GPS data processed {"connection_id":159118,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:49:24] local.INFO: Acknowledgment sent {"connection_id":159118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:49:27] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e5dea0012d182cc007219b40004c007c2b..."} 
[2026-08-21 06:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e5dea0012d182cc007219b40004c007c2b..."} 
[2026-08-21 06:49:27] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e5dea0012d182cc007219b40004c007c2b..."} 
[2026-08-21 06:49:27] local.INFO: Packet analysis {"connection_id":159118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e5"} 
[2026-08-21 06:49:27] local.INFO: Extracted packet for processing {"connection_id":159118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e5"} 
[2026-08-21 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756559040,"raw_latitude":119642944,"longitude_deg":75.655904,"latitude_deg":11.9642944,"altitude":76,"angle":124,"satellites":43,"speed":23,"hex_longitude":"2d182cc0","hex_latitude":"07219b40","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542424576001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14193127451525120,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538530304,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787275108000,"timestamp_ms":1787275108000,"timestamp_seconds":1787275108,"priority":1,"record_length":96,"hex_timestamp":"000001a021e5dea0"} 
[2026-08-21 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-08-21 06:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 06:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542424576001,"66":14233,"105":206,"83":41984,"24":23,"16":14193127451525120,"45":1738459855538530304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542424576001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:49:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14193127451525120,"km_value":14193127451525.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538530304,"description":"Unknown IO ID 45"} 
[2026-08-21 06:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542424576001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1738459855538530304}} 
[2026-08-21 06:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":159118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:49:27] local.INFO: GPS data processed {"connection_id":159118,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:49:27] local.INFO: Acknowledgment sent {"connection_id":159118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:49:32] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:49:32] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:49:32] local.INFO: IMEI packet received {"connection_id":159119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":159119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:49:37] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:49:37] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:49:37] local.INFO: IMEI packet received {"connection_id":159119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:49:37] local.INFO: IMEI acknowledgment sent {"connection_id":159119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:49:38] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:38] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:38] local.INFO: Packet analysis {"connection_id":159119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:49:38] local.INFO: Extracted packet for processing {"connection_id":159119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:49:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:49:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:49:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":159119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:49:38] local.INFO: GPS data processed {"connection_id":159119,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:49:38] local.INFO: Acknowledgment sent {"connection_id":159119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:49:42] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:42] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:49:42] local.INFO: Packet analysis {"connection_id":159119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:49:42] local.INFO: Extracted packet for processing {"connection_id":159119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:49:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":159119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:49:42] local.INFO: GPS data processed {"connection_id":159119,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:49:42] local.INFO: Acknowledgment sent {"connection_id":159119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:49:58] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021e5ea58012d183380072197c8004d00712c..."} 
[2026-08-21 06:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e5ea58012d183380072197c8004d00712c..."} 
[2026-08-21 06:49:58] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e5ea58012d183380072197c8004d00712c..."} 
[2026-08-21 06:49:58] local.INFO: Packet analysis {"connection_id":159118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e5"} 
[2026-08-21 06:49:58] local.INFO: Extracted packet for processing {"connection_id":159118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e5"} 
[2026-08-21 06:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756560768,"raw_latitude":119642056,"longitude_deg":75.6560768,"latitude_deg":11.9642056,"altitude":77,"angle":113,"satellites":44,"speed":27,"hex_longitude":"2d183380","hex_latitude":"072197c8","is_valid_coordinates":true} 
[2026-08-21 06:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542427648001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14193217645838336,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741978292746665984,"note":"Value kept but may cause issues"} 
[2026-08-21 06:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787275111000,"timestamp_ms":1787275111000,"timestamp_seconds":1787275111,"priority":1,"record_length":96,"hex_timestamp":"000001a021e5ea58"} 
[2026-08-21 06:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 06:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542427648001,"66":14211,"105":206,"83":41984,"24":27,"16":14193217645838336,"45":1741978292746665984},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 06:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542427648001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:49:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 06:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14193217645838336,"km_value":14193217645838.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741978292746665984,"description":"Unknown IO ID 45"} 
[2026-08-21 06:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542427648001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1741978292746665984}} 
[2026-08-21 06:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":159118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:49:58] local.INFO: GPS data processed {"connection_id":159118,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:49:58] local.INFO: Acknowledgment sent {"connection_id":159118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:50:18] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:18] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:18] local.INFO: IMEI packet received {"connection_id":159971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":159971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:50:18] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:18] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:18] local.INFO: IMEI packet received {"connection_id":159971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":159971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:50:19] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:19] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:19] local.INFO: IMEI packet received {"connection_id":159971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":159971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:50:22] local.INFO: TCP Data received {"connection_id":159971,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159971,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:22] local.INFO: Processing buffer {"connection_id":159971,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:50:22] local.INFO: IMEI packet received {"connection_id":159971,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":159971,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:50:27] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:50:27] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:50:27] local.INFO: IMEI packet received {"connection_id":159972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":159972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:50:27] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:27] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:27] local.INFO: IMEI packet received {"connection_id":158810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 06:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":158810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:50:28] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:28] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:28] local.INFO: IMEI packet received {"connection_id":158810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":158810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:50:32] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:50:32] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:50:32] local.INFO: IMEI packet received {"connection_id":159972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":159972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:50:32] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:32] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:50:32] local.INFO: IMEI packet received {"connection_id":158810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":158810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:50:33] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:50:33] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:50:33] local.INFO: Packet analysis {"connection_id":159972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:50:33] local.INFO: Extracted packet for processing {"connection_id":159972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:50:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:50:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:50:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":159972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:50:33] local.INFO: GPS data processed {"connection_id":159972,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:50:33] local.INFO: Acknowledgment sent {"connection_id":159972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:50:33] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 06:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 06:50:33] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 06:50:33] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 06:50:33] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 06:50:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 06:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424381929848832,"note":"Value kept but may cause issues"} 
[2026-08-21 06:50:33] 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-08-21 06:50:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:50:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 06:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 06:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 06:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 06:50:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 06:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 06:50:33] local.ERROR: GPS data processing failed {"connection_id":158810,"error":"No valid data to process"} 
[2026-08-21 06:50:33] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 06:50:37] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:50:37] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:50:37] local.INFO: Packet analysis {"connection_id":159972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:50:37] local.INFO: Extracted packet for processing {"connection_id":159972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:50:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:50:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:50:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":159972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:50:37] local.INFO: GPS data processed {"connection_id":159972,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:50:37] local.INFO: Acknowledgment sent {"connection_id":159972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:51:04] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e7cad0012d7c07c005bd4b080006000008..."} 
[2026-08-21 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e7cad0012d7c07c005bd4b080006000008..."} 
[2026-08-21 06:51:04] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e7cad0012d7c07c005bd4b080006000008..."} 
[2026-08-21 06:51:04] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e7"} 
[2026-08-21 06:51:04] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e7"} 
[2026-08-21 06:51:04] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291592,"longitude_deg":76.3103168,"latitude_deg":9.6291592,"altitude":6,"angle":0,"satellites":8,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b08","is_valid_coordinates":true} 
[2026-08-21 06:51: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":795,"current_offset":40} 
[2026-08-21 06:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424381929848832,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:04] 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-08-21 06:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275234000,"timestamp_ms":1787275234000,"timestamp_seconds":1787275234,"priority":1,"record_length":96,"hex_timestamp":"000001a021e7cad0"} 
[2026-08-21 06:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 06:51:04] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:04] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221302652,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:04] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,197,85,24,241,157,16,98,27,10,66,1,240,119,4,113,205,233,9,48,35,239,2,175,160],"length":434,"final_offset":564,"validated_count":25,"validation_warnings":[]} 
[2026-08-21 06:51:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":11634,"197":206,"85":12544,"24":0,"16":121424381929848832},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16]} 
[2026-08-21 06:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-21 06:51:04] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:51:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424381929848832,"km_value":121424381929848.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:51:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":11634,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-08-21 06:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:51:04] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:51:04] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:51:08] local.INFO: TCP Data received {"connection_id":159972,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:51:08] local.INFO: Processing buffer {"connection_id":159972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:51:08] local.INFO: Packet analysis {"connection_id":159972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:51:08] local.INFO: Extracted packet for processing {"connection_id":159972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:51:08] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:51: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-08-21 06:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:51: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-08-21 06:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:51:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:51:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":159972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:51:08] local.INFO: GPS data processed {"connection_id":159972,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:51:08] local.INFO: Acknowledgment sent {"connection_id":159972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:51:27] local.INFO: TCP Data received {"connection_id":161344,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:51:27] local.INFO: Processing buffer {"connection_id":161344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:51:27] local.INFO: IMEI packet received {"connection_id":161344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":161344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:51:32] local.INFO: TCP Data received {"connection_id":161344,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:51:32] local.INFO: Processing buffer {"connection_id":161344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:51:32] local.INFO: IMEI packet received {"connection_id":161344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":161344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:51:34] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e7f9b0012d7c07c005bd4b18000400000c..."} 
[2026-08-21 06:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e7f9b0012d7c07c005bd4b18000400000c..."} 
[2026-08-21 06:51:34] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e7f9b0012d7c07c005bd4b18000400000c..."} 
[2026-08-21 06:51:34] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e7"} 
[2026-08-21 06:51:34] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e7"} 
[2026-08-21 06:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291608,"longitude_deg":76.3103168,"latitude_deg":9.6291608,"altitude":4,"angle":0,"satellites":12,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd4b18","is_valid_coordinates":true} 
[2026-08-21 06:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542459904001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424381929848832,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423219200,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787275246000,"timestamp_ms":1787275246000,"timestamp_seconds":1787275246,"priority":1,"record_length":96,"hex_timestamp":"000001a021e7f9b0"} 
[2026-08-21 06:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 06:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542459904001,"66":11656,"197":206,"85":12544,"24":0,"16":121424381929848832,"45":8937323116423219200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-21 06:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542459904001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:51:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424381929848832,"km_value":121424381929848.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423219200,"description":"Unknown IO ID 45"} 
[2026-08-21 06:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542459904001,"power":11656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423219200}} 
[2026-08-21 06:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:51:35] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:51:35] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:51:43] local.INFO: TCP Data received {"connection_id":161344,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:51:43] local.INFO: Processing buffer {"connection_id":161344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:51:43] local.INFO: Packet analysis {"connection_id":161344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:51:43] local.INFO: Extracted packet for processing {"connection_id":161344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:51:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:51:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":161344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:51:44] local.INFO: GPS data processed {"connection_id":161344,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:51:44] local.INFO: Acknowledgment sent {"connection_id":161344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:52:05] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e84bb8012d7c080005bd4aa8000300000e..."} 
[2026-08-21 06:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e84bb8012d7c080005bd4aa8000300000e..."} 
[2026-08-21 06:52:05] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e84bb8012d7c080005bd4aa8000300000e..."} 
[2026-08-21 06:52:05] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e8"} 
[2026-08-21 06:52:05] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e8"} 
[2026-08-21 06:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291496,"longitude_deg":76.3103232,"latitude_deg":9.6291496,"altitude":3,"angle":0,"satellites":14,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4aa8","is_valid_coordinates":true} 
[2026-08-21 06:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542462976001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424399109718016,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423223296,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787275267000,"timestamp_ms":1787275267000,"timestamp_seconds":1787275267,"priority":1,"record_length":96,"hex_timestamp":"000001a021e84bb8"} 
[2026-08-21 06:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:52:05] 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-08-21 06: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-21 06:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542462976001,"66":11624,"197":206,"85":12544,"24":0,"16":121424399109718016,"45":8937323116423223296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-21 06:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542462976001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:52:05] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424399109718016,"km_value":121424399109718.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423223296,"description":"Unknown IO ID 45"} 
[2026-08-21 06:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542462976001,"power":11624,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423223296}} 
[2026-08-21 06:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673900,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:52:05] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:52:05] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:52:26] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:52:26] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:52:26] local.INFO: IMEI packet received {"connection_id":159121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":159121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:52:32] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:52:32] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:52:32] local.INFO: IMEI packet received {"connection_id":159121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":159121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:52:33] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:52:33] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:52:33] local.INFO: Packet analysis {"connection_id":159121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:52:33] local.INFO: Extracted packet for processing {"connection_id":159121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:52:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:52:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:52:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":159121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:52:33] local.INFO: GPS data processed {"connection_id":159121,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:52:33] local.INFO: Acknowledgment sent {"connection_id":159121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:52:37] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e89dc0012d7c07c005bd49d8000400000f..."} 
[2026-08-21 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e89dc0012d7c07c005bd49d8000400000f..."} 
[2026-08-21 06:52:37] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e89dc0012d7c07c005bd49d8000400000f..."} 
[2026-08-21 06:52:37] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e8"} 
[2026-08-21 06:52:37] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e8"} 
[2026-08-21 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763103168,"raw_latitude":96291288,"longitude_deg":76.3103168,"latitude_deg":9.6291288,"altitude":4,"angle":0,"satellites":15,"speed":0,"hex_longitude":"2d7c07c0","hex_latitude":"05bd49d8","is_valid_coordinates":true} 
[2026-08-21 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542468352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424411994619904,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167372288,"note":"Value kept but may cause issues"} 
[2026-08-21 06:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787275288000,"timestamp_ms":1787275288000,"timestamp_seconds":1787275288,"priority":1,"record_length":96,"hex_timestamp":"000001a021e89dc0"} 
[2026-08-21 06:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:52:37] 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-08-21 06:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 06:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1359,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542468352001,"66":11308,"197":206,"85":12544,"24":0,"16":121424411994619904,"45":8937393485167372288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-21 06:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542468352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:52:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424411994619904,"km_value":121424411994619.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167372288,"description":"Unknown IO ID 45"} 
[2026-08-21 06:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542468352001,"power":11308,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937393485167372288}} 
[2026-08-21 06:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:52:37] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:52:37] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:53:04] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:53:04] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e4f828012da67700054b3710001c005f30..."} 
[2026-08-21 06:53:04] local.INFO: Packet analysis {"connection_id":159121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:53:04] local.INFO: Extracted packet for processing {"connection_id":159121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e4"} 
[2026-08-21 06:53:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275049000,"timestamp_ms":1787275049000,"timestamp_seconds":1787275049,"priority":1,"record_length":96,"hex_timestamp":"000001a021e4f828"} 
[2026-08-21 06:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542335488001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:53:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:53:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542335488001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":159121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:53:04] local.INFO: GPS data processed {"connection_id":159121,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:53:04] local.INFO: Acknowledgment sent {"connection_id":159121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:53:08] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e8efc8012d7c080005bd4a080004000014..."} 
[2026-08-21 06:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e8efc8012d7c080005bd4a080004000014..."} 
[2026-08-21 06:53:08] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e8efc8012d7c080005bd4a080004000014..."} 
[2026-08-21 06:53:08] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e8"} 
[2026-08-21 06:53:08] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e8"} 
[2026-08-21 06:53:08] local.INFO: GPS Element Parsed {"raw_longitude":763103232,"raw_latitude":96291336,"longitude_deg":76.3103232,"latitude_deg":9.6291336,"altitude":4,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d7c0800","hex_latitude":"05bd4a08","is_valid_coordinates":true} 
[2026-08-21 06:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542473728001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424420584554496,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937323116423141376,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787275309000,"timestamp_ms":1787275309000,"timestamp_seconds":1787275309,"priority":1,"record_length":96,"hex_timestamp":"000001a021e8efc8"} 
[2026-08-21 06:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 06:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542473728001,"66":11308,"197":206,"85":12544,"24":0,"16":121424420584554496,"45":8937323116423141376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-21 06:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542473728001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:53:08] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:53:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424420584554496,"km_value":121424420584554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937323116423141376,"description":"Unknown IO ID 45"} 
[2026-08-21 06:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542473728001,"power":11308,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8937323116423141376}} 
[2026-08-21 06:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:53:08] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:53:08] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:53:26] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:53:26] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:53:26] local.INFO: IMEI packet received {"connection_id":161346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":161346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:53:32] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:53:32] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:53:32] local.INFO: IMEI packet received {"connection_id":161346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":161346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:53:33] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:53:33] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:53:33] local.INFO: Packet analysis {"connection_id":161346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:53:33] local.INFO: Extracted packet for processing {"connection_id":161346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:53:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:53:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:53:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":161346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:53:33] local.INFO: GPS data processed {"connection_id":161346,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:53:33] local.INFO: Acknowledgment sent {"connection_id":161346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:53:39] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e91ea8012d7c08c005bd4a080003005c14..."} 
[2026-08-21 06:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e91ea8012d7c08c005bd4a080003005c14..."} 
[2026-08-21 06:53:39] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e91ea8012d7c08c005bd4a080003005c14..."} 
[2026-08-21 06:53:39] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:53:39] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:53:39] local.INFO: GPS Element Parsed {"raw_longitude":763103424,"raw_latitude":96291336,"longitude_deg":76.3103424,"latitude_deg":9.6291336,"altitude":3,"angle":92,"satellites":20,"speed":2,"hex_longitude":"2d7c08c0","hex_latitude":"05bd4a08","is_valid_coordinates":true} 
[2026-08-21 06:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542479104001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424429174489088,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937393485167331328,"note":"Value kept but may cause issues"} 
[2026-08-21 06:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787275321000,"timestamp_ms":1787275321000,"timestamp_seconds":1787275321,"priority":1,"record_length":96,"hex_timestamp":"000001a021e91ea8"} 
[2026-08-21 06:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:53:39] 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-08-21 06:53: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":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 06:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":814,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542479104001,"66":11352,"197":206,"85":12544,"24":2,"16":121424429174489088,"45":8937393485167331328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-21 06:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542479104001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:53:39] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424429174489088,"km_value":121424429174489.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937393485167331328,"description":"Unknown IO ID 45"} 
[2026-08-21 06:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542479104001,"power":11352,"unknown_197":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":8937393485167331328}} 
[2026-08-21 06:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:53:39] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:53:39] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:54:04] local.INFO: TCP Data received {"connection_id":161346,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:54:04] local.INFO: Processing buffer {"connection_id":161346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:54:04] local.INFO: Packet analysis {"connection_id":161346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:04] local.INFO: Extracted packet for processing {"connection_id":161346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:54:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:54:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":161346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:54:04] local.INFO: GPS data processed {"connection_id":161346,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:54:04] local.INFO: Acknowledgment sent {"connection_id":161346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:54:10] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e92290012d7c094005bd49e00003006a14..."} 
[2026-08-21 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e92290012d7c094005bd49e00003006a14..."} 
[2026-08-21 06:54:10] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e92290012d7c094005bd49e00003006a14..."} 
[2026-08-21 06:54:10] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:10] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":763103552,"raw_latitude":96291296,"longitude_deg":76.3103552,"latitude_deg":9.6291296,"altitude":3,"angle":106,"satellites":20,"speed":3,"hex_longitude":"2d7c0940","hex_latitude":"05bd49e0","is_valid_coordinates":true} 
[2026-08-21 06:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542482176001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424437764423680,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937604591399864320,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787275322000,"timestamp_ms":1787275322000,"timestamp_seconds":1787275322,"priority":1,"record_length":96,"hex_timestamp":"000001a021e92290"} 
[2026-08-21 06:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":44,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-21 06:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1210,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542482176001,"66":10547,"197":206,"85":12544,"24":3,"16":121424437764423680,"45":8937604591399864320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-21 06:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542482176001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424437764423680,"km_value":121424437764423.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937604591399864320,"description":"Unknown IO ID 45"} 
[2026-08-21 06:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542482176001,"power":10547,"unknown_197":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":8937604591399864320}} 
[2026-08-21 06:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:54:10] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:54:10] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:54:26] local.INFO: TCP Data received {"connection_id":158812,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:54:26] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:54:26] local.INFO: IMEI packet received {"connection_id":158812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":158812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:54:32] local.INFO: TCP Data received {"connection_id":158812,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:54:32] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:54:32] local.INFO: IMEI packet received {"connection_id":158812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":158812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:54:34] local.INFO: TCP Data received {"connection_id":158812,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:54:34] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:54:34] local.INFO: Packet analysis {"connection_id":158812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:34] local.INFO: Extracted packet for processing {"connection_id":158812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:34] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:54:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:54:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":158812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:54:34] local.INFO: GPS data processed {"connection_id":158812,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:54:34] local.INFO: Acknowledgment sent {"connection_id":158812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:54:41] local.INFO: TCP Data received {"connection_id":158810,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a021e92678012d7c098005bd49b00003007c14..."} 
[2026-08-21 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e92678012d7c098005bd49b00003007c14..."} 
[2026-08-21 06:54:41] local.INFO: Processing buffer {"connection_id":158810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e92678012d7c098005bd49b00003007c14..."} 
[2026-08-21 06:54:41] local.INFO: Packet analysis {"connection_id":158810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:41] local.INFO: Extracted packet for processing {"connection_id":158810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":763103616,"raw_latitude":96291248,"longitude_deg":76.3103616,"latitude_deg":9.6291248,"altitude":3,"angle":124,"satellites":20,"speed":5,"hex_longitude":"2d7c0980","hex_latitude":"05bd49b0","is_valid_coordinates":true} 
[2026-08-21 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542482432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424442059390976,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937745328888209408,"note":"Value kept but may cause issues"} 
[2026-08-21 06:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787275323000,"timestamp_ms":1787275323000,"timestamp_seconds":1787275323,"priority":1,"record_length":96,"hex_timestamp":"000001a021e92678"} 
[2026-08-21 06:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 06:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":862,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542482432001,"66":10547,"197":206,"85":12544,"24":5,"16":121424442059390976,"45":8937745328888209408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-08-21 06:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542482432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424442059390976,"km_value":121424442059390.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937745328888209408,"description":"Unknown IO ID 45"} 
[2026-08-21 06:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542482432001,"power":10547,"unknown_197":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8937745328888209408}} 
[2026-08-21 06:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":158810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:54:41] local.INFO: GPS data processed {"connection_id":158810,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:54:41] local.INFO: Acknowledgment sent {"connection_id":158810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:55:06] local.INFO: TCP Data received {"connection_id":158812,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:55:06] local.INFO: Processing buffer {"connection_id":158812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:55:06] local.INFO: Packet analysis {"connection_id":158812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:55:06] local.INFO: Extracted packet for processing {"connection_id":158812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:55:06] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":158812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":158812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":158812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:55:06] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:55:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":158812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:55:06] local.INFO: GPS data processed {"connection_id":158812,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:55:06] local.INFO: Acknowledgment sent {"connection_id":158812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:55:07] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:55:07] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:55:07] local.INFO: IMEI packet received {"connection_id":159122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 06:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":159122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:55:12] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:55:12] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:55:12] local.INFO: IMEI packet received {"connection_id":159122,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":159122,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:55:13] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021e92a60012d7c0a0005bd49500003008c14..."} 
[2026-08-21 06:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e92a60012d7c0a0005bd49500003008c14..."} 
[2026-08-21 06:55:13] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e92a60012d7c0a0005bd49500003008c14..."} 
[2026-08-21 06:55:13] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:55:13] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763103744,"raw_latitude":96291152,"longitude_deg":76.3103744,"latitude_deg":9.6291152,"altitude":3,"angle":140,"satellites":20,"speed":5,"hex_longitude":"2d7c0a00","hex_latitude":"05bd4950","is_valid_coordinates":true} 
[2026-08-21 06:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542482688001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424446354358272,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937815697632374784,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787275324000,"timestamp_ms":1787275324000,"timestamp_seconds":1787275324,"priority":1,"record_length":96,"hex_timestamp":"000001a021e92a60"} 
[2026-08-21 06:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 06:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":862,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542482688001,"66":10547,"197":206,"85":12544,"24":5,"16":121424446354358272,"45":8937815697632374784},"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-08-21 06:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542482688001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:55:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:55:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424446354358272,"km_value":121424446354358.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937815697632374784,"description":"Unknown IO ID 45"} 
[2026-08-21 06:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542482688001,"power":10547,"unknown_197":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8937815697632374784}} 
[2026-08-21 06:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:55:13] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:55:13] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:55:23] local.INFO: TCP Data received {"connection_id":159123,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:55:23] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:55:23] local.INFO: IMEI packet received {"connection_id":159123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":159123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:55:24] local.INFO: TCP Data received {"connection_id":159123,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021eb64b0012d1a87c007205808004100152a..."} 
[2026-08-21 06:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eb64b0012d1a87c007205808004100152a..."} 
[2026-08-21 06:55:24] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eb64b0012d1a87c007205808004100152a..."} 
[2026-08-21 06:55:24] local.INFO: Packet analysis {"connection_id":159123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:55:24] local.INFO: Extracted packet for processing {"connection_id":159123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756713408,"raw_latitude":119560200,"longitude_deg":75.6713408,"latitude_deg":11.95602,"altitude":65,"angle":21,"satellites":42,"speed":11,"hex_longitude":"2d1a87c0","hex_latitude":"07205808","is_valid_coordinates":true} 
[2026-08-21 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542518784001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14204208467148800,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911637334937141248,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275470000,"timestamp_ms":1787275470000,"timestamp_seconds":1787275470,"priority":1,"record_length":96,"hex_timestamp":"000001a021eb64b0"} 
[2026-08-21 06:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 06:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542518784001,"66":14102,"101":206,"83":41984,"24":11,"16":14204208467148800,"45":1911637334937141248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542518784001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:55:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14204208467148800,"km_value":14204208467148.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911637334937141248,"description":"Unknown IO ID 45"} 
[2026-08-21 06:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542518784001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1911637334937141248}} 
[2026-08-21 06:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":159123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:55:24] local.INFO: GPS data processed {"connection_id":159123,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:55:24] local.INFO: Acknowledgment sent {"connection_id":159123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:55:26] local.INFO: TCP Data received {"connection_id":158813,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:55:26] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:55:26] local.INFO: IMEI packet received {"connection_id":158813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":158813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:55:32] local.INFO: TCP Data received {"connection_id":158813,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:55:32] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:55:32] local.INFO: IMEI packet received {"connection_id":158813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":158813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:55:33] local.INFO: TCP Data received {"connection_id":158813,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:55:33] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:55:33] local.INFO: Packet analysis {"connection_id":158813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:55:33] local.INFO: Extracted packet for processing {"connection_id":158813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:55:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:55:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:55:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":158813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:55:33] local.INFO: GPS data processed {"connection_id":158813,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:55:33] local.INFO: Acknowledgment sent {"connection_id":158813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:55:44] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ec4f10012d7c104005bd3908000300ac1f..."} 
[2026-08-21 06:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ec4f10012d7c104005bd3908000300ac1f..."} 
[2026-08-21 06:55:44] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ec4f10012d7c104005bd3908000300ac1f..."} 
[2026-08-21 06:55:44] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ec"} 
[2026-08-21 06:55:44] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ec"} 
[2026-08-21 06:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763105344,"raw_latitude":96286984,"longitude_deg":76.3105344,"latitude_deg":9.6286984,"altitude":3,"angle":172,"satellites":31,"speed":4,"hex_longitude":"2d7c1040","hex_latitude":"05bd3908","is_valid_coordinates":true} 
[2026-08-21 06:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542534144001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424721232265216,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939715653724289024,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787275530000,"timestamp_ms":1787275530000,"timestamp_seconds":1787275530,"priority":1,"record_length":96,"hex_timestamp":"000001a021ec4f10"} 
[2026-08-21 06:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 06:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542534144001,"66":13276,"197":206,"85":12544,"24":4,"16":121424721232265216,"45":8939715653724289024},"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-08-21 06:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542534144001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:55:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424721232265216,"km_value":121424721232265.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939715653724289024,"description":"Unknown IO ID 45"} 
[2026-08-21 06:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542534144001,"power":13276,"unknown_197":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":8939715653724289024}} 
[2026-08-21 06:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:55:44] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:55:44] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:55:56] local.INFO: TCP Data received {"connection_id":159123,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021eb6c80012d1a88c007205960004100302a..."} 
[2026-08-21 06:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eb6c80012d1a88c007205960004100302a..."} 
[2026-08-21 06:55:56] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eb6c80012d1a88c007205960004100302a..."} 
[2026-08-21 06:55:56] local.INFO: Packet analysis {"connection_id":159123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:55:56] local.INFO: Extracted packet for processing {"connection_id":159123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756713664,"raw_latitude":119560544,"longitude_deg":75.6713664,"latitude_deg":11.9560544,"altitude":65,"angle":48,"satellites":42,"speed":8,"hex_longitude":"2d1a88c0","hex_latitude":"07205960","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542520320001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14204229941985280,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911707703682009088,"note":"Value kept but may cause issues"} 
[2026-08-21 06:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787275472000,"timestamp_ms":1787275472000,"timestamp_seconds":1787275472,"priority":1,"record_length":96,"hex_timestamp":"000001a021eb6c80"} 
[2026-08-21 06:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:55: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-08-21 06: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 06:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542520320001,"66":14080,"101":206,"83":41984,"24":8,"16":14204229941985280,"45":1911707703682009088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542520320001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:55:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:55:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14204229941985280,"km_value":14204229941985.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911707703682009088,"description":"Unknown IO ID 45"} 
[2026-08-21 06:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542520320001,"power":14080,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1911707703682009088}} 
[2026-08-21 06:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":159123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:55:56] local.INFO: GPS data processed {"connection_id":159123,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:55:56] local.INFO: Acknowledgment sent {"connection_id":159123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:56:04] local.INFO: TCP Data received {"connection_id":158813,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:04] local.INFO: Processing buffer {"connection_id":158813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:04] local.INFO: Packet analysis {"connection_id":158813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:56:04] local.INFO: Extracted packet for processing {"connection_id":158813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:56:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:56:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":158813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:56:04] local.INFO: GPS data processed {"connection_id":158813,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:56:04] local.INFO: Acknowledgment sent {"connection_id":158813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:56:15] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ec5eb0012d7c108005bd37600003009f1f..."} 
[2026-08-21 06:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ec5eb0012d7c108005bd37600003009f1f..."} 
[2026-08-21 06:56:15] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ec5eb0012d7c108005bd37600003009f1f..."} 
[2026-08-21 06:56:15] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ec"} 
[2026-08-21 06:56:15] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ec"} 
[2026-08-21 06:56:15] local.INFO: GPS Element Parsed {"raw_longitude":763105408,"raw_latitude":96286560,"longitude_deg":76.3105408,"latitude_deg":9.628656,"altitude":3,"angle":159,"satellites":31,"speed":4,"hex_longitude":"2d7c1080","hex_latitude":"05bd3760","is_valid_coordinates":true} 
[2026-08-21 06:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542535680001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424742707101696,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939715653724080128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787275534000,"timestamp_ms":1787275534000,"timestamp_seconds":1787275534,"priority":1,"record_length":96,"hex_timestamp":"000001a021ec5eb0"} 
[2026-08-21 06:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 06:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:56: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-08-21 06:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542535680001,"66":13406,"197":206,"85":12544,"24":4,"16":121424742707101696,"45":8939715653724080128},"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-08-21 06:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542535680001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:56:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:56:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424742707101696,"km_value":121424742707101.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939715653724080128,"description":"Unknown IO ID 45"} 
[2026-08-21 06:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542535680001,"power":13406,"unknown_197":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":8939715653724080128}} 
[2026-08-21 06:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:56:15] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:56:15] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:56:18] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:18] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:18] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:56:21] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:21] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:21] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:56:22] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:22] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:22] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:56:23] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:23] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:56:23] local.INFO: IMEI packet received {"connection_id":159973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":159973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:56:24] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021eb7068012d1a8980072059a8004100492a..."} 
[2026-08-21 06:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eb7068012d1a8980072059a8004100492a..."} 
[2026-08-21 06:56:24] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eb7068012d1a8980072059a8004100492a..."} 
[2026-08-21 06:56:24] local.INFO: Packet analysis {"connection_id":159973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:56:24] local.INFO: Extracted packet for processing {"connection_id":159973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:56:24] local.INFO: GPS Element Parsed {"raw_longitude":756713856,"raw_latitude":119560616,"longitude_deg":75.6713856,"latitude_deg":11.9560616,"altitude":65,"angle":73,"satellites":42,"speed":9,"hex_longitude":"2d1a8980","hex_latitude":"072059a8","is_valid_coordinates":true} 
[2026-08-21 06:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542520832001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14204242826887168,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911989178658807808,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275473000,"timestamp_ms":1787275473000,"timestamp_seconds":1787275473,"priority":1,"record_length":96,"hex_timestamp":"000001a021eb7068"} 
[2026-08-21 06:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2281778458,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3947196417,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-21 06:56:24] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050232,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:24] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,118,160,100,45,192,88,65,42,10,66,77,128,64,43,73,1,240,180,227,33,32,4,113,205,12,134,72,239,54,2,50,7,61],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-21 06:56:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4683796569412599808,"timestamp_seconds":4683796569412600.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542520832001,"66":13417,"101":206,"83":41984,"24":9,"16":14204242826887168,"45":1911989178658807808},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542520832001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:56:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14204242826887168,"km_value":14204242826887.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911989178658807808,"description":"Unknown IO ID 45"} 
[2026-08-21 06:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542520832001,"power":13417,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1911989178658807808}} 
[2026-08-21 06:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":159973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:56:24] local.INFO: GPS data processed {"connection_id":159973,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:56:24] local.INFO: Acknowledgment sent {"connection_id":159973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:56:28] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021eb7c20012d1a8c40072059c8004200552b..."} 
[2026-08-21 06:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eb7c20012d1a8c40072059c8004200552b..."} 
[2026-08-21 06:56:28] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eb7c20012d1a8c40072059c8004200552b..."} 
[2026-08-21 06:56:28] local.INFO: Packet analysis {"connection_id":159973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:56:28] local.INFO: Extracted packet for processing {"connection_id":159973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021eb"} 
[2026-08-21 06:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119560648,"longitude_deg":75.671456,"latitude_deg":11.9560648,"altitude":66,"angle":85,"satellites":43,"speed":8,"hex_longitude":"2d1a8c40","hex_latitude":"072059c8","is_valid_coordinates":true} 
[2026-08-21 06:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542521088001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14204272891658240,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912200284891359232,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787275476000,"timestamp_ms":1787275476000,"timestamp_seconds":1787275476,"priority":1,"record_length":96,"hex_timestamp":"000001a021eb7c20"} 
[2026-08-21 06:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":105,"data_length":795,"current_offset":136} 
[2026-08-21 06:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542521088001,"66":14070,"101":206,"83":41984,"24":8,"16":14204272891658240,"45":1912200284891359232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542521088001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:56:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14204272891658240,"km_value":14204272891658.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912200284891359232,"description":"Unknown IO ID 45"} 
[2026-08-21 06:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542521088001,"power":14070,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1912200284891359232}} 
[2026-08-21 06:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":159973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:56:29] local.INFO: GPS data processed {"connection_id":159973,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:56:29] local.INFO: Acknowledgment sent {"connection_id":159973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:56:32] local.INFO: TCP Data received {"connection_id":158814,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:56:32] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:56:32] local.INFO: IMEI packet received {"connection_id":158814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":158814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:56:37] local.INFO: TCP Data received {"connection_id":158814,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:56:37] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:56:37] local.INFO: IMEI packet received {"connection_id":158814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":158814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:56:38] local.INFO: TCP Data received {"connection_id":158814,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:38] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:38] local.INFO: Packet analysis {"connection_id":158814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:56:38] local.INFO: Extracted packet for processing {"connection_id":158814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:56:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:56:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:56:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:56:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:56:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":158814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:56:38] local.INFO: GPS data processed {"connection_id":158814,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:56:38] local.INFO: Acknowledgment sent {"connection_id":158814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:56:42] local.INFO: TCP Data received {"connection_id":158814,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:42] local.INFO: Processing buffer {"connection_id":158814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:56:42] local.INFO: Packet analysis {"connection_id":158814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:56:42] local.INFO: Extracted packet for processing {"connection_id":158814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":158814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:56:42] local.INFO: GPS data processed {"connection_id":158814,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:56:42] local.INFO: Acknowledgment sent {"connection_id":158814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:56:46] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ed25e8012d7c128005bd2a40000200e120..."} 
[2026-08-21 06:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ed25e8012d7c128005bd2a40000200e120..."} 
[2026-08-21 06:56:46] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ed25e8012d7c128005bd2a40000200e120..."} 
[2026-08-21 06:56:46] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:56:46] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:56:46] local.INFO: GPS Element Parsed {"raw_longitude":763105920,"raw_latitude":96283200,"longitude_deg":76.310592,"latitude_deg":9.62832,"altitude":2,"angle":225,"satellites":32,"speed":5,"hex_longitude":"2d7c1280","hex_latitude":"05bd2a40","is_valid_coordinates":true} 
[2026-08-21 06:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542549504001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424923095728128,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940348972420700160,"note":"Value kept but may cause issues"} 
[2026-08-21 06:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787275585000,"timestamp_ms":1787275585000,"timestamp_seconds":1787275585,"priority":1,"record_length":96,"hex_timestamp":"000001a021ed25e8"} 
[2026-08-21 06:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:56:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-21 06:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542549504001,"66":13515,"197":206,"85":12544,"24":5,"16":121424923095728128,"45":8940348972420700160},"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-08-21 06:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542549504001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:56:46] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:56:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424923095728128,"km_value":121424923095728.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940348972420700160,"description":"Unknown IO ID 45"} 
[2026-08-21 06:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542549504001,"power":13515,"unknown_197":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8940348972420700160}} 
[2026-08-21 06:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673923,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:56:46] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:56:46] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:57:00] local.INFO: TCP Data received {"connection_id":159973,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ecef38012d1a850007204840004201052b..."} 
[2026-08-21 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ecef38012d1a850007204840004201052b..."} 
[2026-08-21 06:57:00] local.INFO: Processing buffer {"connection_id":159973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ecef38012d1a850007204840004201052b..."} 
[2026-08-21 06:57:00] local.INFO: Packet analysis {"connection_id":159973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ec"} 
[2026-08-21 06:57:00] local.INFO: Extracted packet for processing {"connection_id":159973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ec"} 
[2026-08-21 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":756712704,"raw_latitude":119556160,"longitude_deg":75.6712704,"latitude_deg":11.955616,"altitude":66,"angle":261,"satellites":43,"speed":19,"hex_longitude":"2d1a8500","hex_latitude":"07204840","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542545920001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14204668028649472,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1911426228704284672,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787275571000,"timestamp_ms":1787275571000,"timestamp_seconds":1787275571,"priority":1,"record_length":96,"hex_timestamp":"000001a021ecef38"} 
[2026-08-21 06:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 06:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542545920001,"66":14396,"101":206,"83":41984,"24":19,"16":14204668028649472,"45":1911426228704284672},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542545920001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:57:00] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:57:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14204668028649472,"km_value":14204668028649.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1911426228704284672,"description":"Unknown IO ID 45"} 
[2026-08-21 06:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542545920001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1911426228704284672}} 
[2026-08-21 06:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":159973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:57:00] local.INFO: GPS data processed {"connection_id":159973,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:57:00] local.INFO: Acknowledgment sent {"connection_id":159973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:57:07] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:57:07] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:57:07] local.INFO: IMEI packet received {"connection_id":159974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 06:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":159974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:57:12] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:57:12] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:57:12] local.INFO: IMEI packet received {"connection_id":159974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":159974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:57:12] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ed2db8012d7c11c005bd2978000100f920..."} 
[2026-08-21 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ed2db8012d7c11c005bd2978000100f920..."} 
[2026-08-21 06:57:12] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ed2db8012d7c11c005bd2978000100f920..."} 
[2026-08-21 06:57:12] local.INFO: Packet analysis {"connection_id":159974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:12] local.INFO: Extracted packet for processing {"connection_id":159974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":763105728,"raw_latitude":96283000,"longitude_deg":76.3105728,"latitude_deg":9.6283,"altitude":1,"angle":249,"satellites":32,"speed":8,"hex_longitude":"2d7c11c0","hex_latitude":"05bd2978","is_valid_coordinates":true} 
[2026-08-21 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542549760001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424940275597312,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940348972420710400,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787275587000,"timestamp_ms":1787275587000,"timestamp_seconds":1787275587,"priority":1,"record_length":96,"hex_timestamp":"000001a021ed2db8"} 
[2026-08-21 06:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-21 06:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542549760001,"66":13406,"197":206,"85":12544,"24":8,"16":121424940275597312,"45":8940348972420710400},"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-08-21 06:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542549760001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:57:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:57:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424940275597312,"km_value":121424940275597.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940348972420710400,"description":"Unknown IO ID 45"} 
[2026-08-21 06:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542549760001,"power":13406,"unknown_197":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":8940348972420710400}} 
[2026-08-21 06:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":159974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:57:12] local.INFO: GPS data processed {"connection_id":159974,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:57:12] local.INFO: Acknowledgment sent {"connection_id":159974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:57:18] local.INFO: TCP Data received {"connection_id":158815,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:18] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:18] local.INFO: IMEI packet received {"connection_id":158815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":158815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:57:21] local.INFO: TCP Data received {"connection_id":158815,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:21] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:21] local.INFO: IMEI packet received {"connection_id":158815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":158815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:57:23] local.INFO: TCP Data received {"connection_id":158815,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:23] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:57:23] local.INFO: IMEI packet received {"connection_id":158815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":158815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:57:24] local.INFO: TCP Data received {"connection_id":158815,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ed02c0012d1a798007204870004101102b..."} 
[2026-08-21 06:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ed02c0012d1a798007204870004101102b..."} 
[2026-08-21 06:57:24] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ed02c0012d1a798007204870004101102b..."} 
[2026-08-21 06:57:24] local.INFO: Packet analysis {"connection_id":158815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:24] local.INFO: Extracted packet for processing {"connection_id":158815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756709760,"raw_latitude":119556208,"longitude_deg":75.670976,"latitude_deg":11.9556208,"altitude":65,"angle":272,"satellites":43,"speed":24,"hex_longitude":"2d1a7980","hex_latitude":"07204870","is_valid_coordinates":true} 
[2026-08-21 06:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542546176001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14204809762570240,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910933647495020544,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275576000,"timestamp_ms":1787275576000,"timestamp_seconds":1787275576,"priority":1,"record_length":96,"hex_timestamp":"000001a021ed02c0"} 
[2026-08-21 06:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 06:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542546176001,"66":14483,"101":206,"83":41984,"24":24,"16":14204809762570240,"45":1910933647495020544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542546176001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:57:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14204809762570240,"km_value":14204809762570.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910933647495020544,"description":"Unknown IO ID 45"} 
[2026-08-21 06:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542546176001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1910933647495020544}} 
[2026-08-21 06:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":158815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:57:24] local.INFO: GPS data processed {"connection_id":158815,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:57:24] local.INFO: Acknowledgment sent {"connection_id":158815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:57:27] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:57:27] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:57:27] local.INFO: IMEI packet received {"connection_id":159124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":159124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:57:32] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:57:32] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:57:32] local.INFO: IMEI packet received {"connection_id":159124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":159124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:57:33] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:57:33] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:57:33] local.INFO: Packet analysis {"connection_id":159124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:57:33] local.INFO: Extracted packet for processing {"connection_id":159124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:57:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:57:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:57:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":159124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:57:33] local.INFO: GPS data processed {"connection_id":159124,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:57:33] local.INFO: Acknowledgment sent {"connection_id":159124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:57:43] local.INFO: TCP Data received {"connection_id":159974,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ed3588012d7c0f8005bd29100001010a20..."} 
[2026-08-21 06:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ed3588012d7c0f8005bd29100001010a20..."} 
[2026-08-21 06:57:43] local.INFO: Processing buffer {"connection_id":159974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ed3588012d7c0f8005bd29100001010a20..."} 
[2026-08-21 06:57:43] local.INFO: Packet analysis {"connection_id":159974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:43] local.INFO: Extracted packet for processing {"connection_id":159974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":763105152,"raw_latitude":96282896,"longitude_deg":76.3105152,"latitude_deg":9.6282896,"altitude":1,"angle":266,"satellites":32,"speed":9,"hex_longitude":"2d7c0f80","hex_latitude":"05bd2910","is_valid_coordinates":true} 
[2026-08-21 06:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542550272001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121424966045401088,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940137866188126208,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787275589000,"timestamp_ms":1787275589000,"timestamp_seconds":1787275589,"priority":1,"record_length":96,"hex_timestamp":"000001a021ed3588"} 
[2026-08-21 06:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 06:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542550272001,"66":13428,"197":206,"85":12544,"24":9,"16":121424966045401088,"45":8940137866188126208},"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-08-21 06:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542550272001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:57:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121424966045401088,"km_value":121424966045401.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940137866188126208,"description":"Unknown IO ID 45"} 
[2026-08-21 06:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542550272001,"power":13428,"unknown_197":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":8940137866188126208}} 
[2026-08-21 06:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":159974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673928,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:57:43] local.INFO: GPS data processed {"connection_id":159974,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:57:43] local.INFO: Acknowledgment sent {"connection_id":159974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:57:55] local.INFO: TCP Data received {"connection_id":158815,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ed1648012d1a6d40072049a0003f011e2a..."} 
[2026-08-21 06:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ed1648012d1a6d40072049a0003f011e2a..."} 
[2026-08-21 06:57:55] local.INFO: Processing buffer {"connection_id":158815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ed1648012d1a6d40072049a0003f011e2a..."} 
[2026-08-21 06:57:55] local.INFO: Packet analysis {"connection_id":158815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:55] local.INFO: Extracted packet for processing {"connection_id":158815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756706624,"raw_latitude":119556512,"longitude_deg":75.6706624,"latitude_deg":11.9556512,"altitude":63,"angle":286,"satellites":42,"speed":22,"hex_longitude":"2d1a6d40","hex_latitude":"072049a0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 06:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542547456001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14204960086425600,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907696685262860288,"note":"Value kept but may cause issues"} 
[2026-08-21 06:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787275581000,"timestamp_ms":1787275581000,"timestamp_seconds":1787275581,"priority":1,"record_length":96,"hex_timestamp":"000001a021ed1648"} 
[2026-08-21 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-08-21 06:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-21 06:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 06:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542547456001,"66":14494,"101":206,"83":41984,"24":22,"16":14204960086425600,"45":1907696685262860288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542547456001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:57:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14204960086425600,"km_value":14204960086425.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907696685262860288,"description":"Unknown IO ID 45"} 
[2026-08-21 06:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542547456001,"power":14494,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1907696685262860288}} 
[2026-08-21 06:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":158815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:57:55] local.INFO: GPS data processed {"connection_id":158815,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:57:55] local.INFO: Acknowledgment sent {"connection_id":158815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:58:04] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:58:04] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021e98ff0012da67700054b3710001c005f2f..."} 
[2026-08-21 06:58:04] local.INFO: Packet analysis {"connection_id":159124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:58:04] local.INFO: Extracted packet for processing {"connection_id":159124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021e9"} 
[2026-08-21 06:58:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275350000,"timestamp_ms":1787275350000,"timestamp_seconds":1787275350,"priority":1,"record_length":96,"hex_timestamp":"000001a021e98ff0"} 
[2026-08-21 06:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 06:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542412544001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:58:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:58:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542412544001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":159124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:58:04] local.INFO: GPS data processed {"connection_id":159124,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:58:04] local.INFO: Acknowledgment sent {"connection_id":159124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:58:07] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:07] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:07] local.INFO: IMEI packet received {"connection_id":161347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 06:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":161347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:58:08] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:08] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:08] local.INFO: IMEI packet received {"connection_id":161347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":161347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:58:12] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:12] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:58:12] local.INFO: IMEI packet received {"connection_id":161347,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":161347,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:58:12] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ed7bd8012d7beb4005bd25180000010b20..."} 
[2026-08-21 06:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ed7bd8012d7beb4005bd25180000010b20..."} 
[2026-08-21 06:58:12] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ed7bd8012d7beb4005bd25180000010b20..."} 
[2026-08-21 06:58:12] local.INFO: Packet analysis {"connection_id":161347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:58:12] local.INFO: Extracted packet for processing {"connection_id":161347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:58:12] local.INFO: GPS Element Parsed {"raw_longitude":763095872,"raw_latitude":96281880,"longitude_deg":76.3095872,"latitude_deg":9.628188,"altitude":0,"angle":267,"satellites":32,"speed":25,"hex_longitude":"2d7beb40","hex_latitude":"05bd2518","is_valid_coordinates":true} 
[2026-08-21 06:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542550784001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121425412721999872,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939504547490500608,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787275607000,"timestamp_ms":1787275607000,"timestamp_seconds":1787275607,"priority":1,"record_length":96,"hex_timestamp":"000001a021ed7bd8"} 
[2026-08-21 06:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 06:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542550784001,"66":13059,"197":206,"85":12544,"24":25,"16":121425412721999872,"45":8939504547490500608},"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-08-21 06:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542550784001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:58:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:58:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121425412721999872,"km_value":121425412721999.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939504547490500608,"description":"Unknown IO ID 45"} 
[2026-08-21 06:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542550784001,"power":13059,"unknown_197":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":8939504547490500608}} 
[2026-08-21 06:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":161347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:58:12] local.INFO: GPS data processed {"connection_id":161347,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:58:12] local.INFO: Acknowledgment sent {"connection_id":161347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:58:23] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:23] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:23] local.INFO: IMEI packet received {"connection_id":159975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":159975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:58:24] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:24] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:24] local.INFO: IMEI packet received {"connection_id":159975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":159975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:58:26] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:58:26] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:58:26] local.INFO: IMEI packet received {"connection_id":161348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":161348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:58:28] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:28] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:58:28] local.INFO: IMEI packet received {"connection_id":159975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":159975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:58:29] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee0490012d19d24007202430003100dc2c..."} 
[2026-08-21 06:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee0490012d19d24007202430003100dc2c..."} 
[2026-08-21 06:58:29] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee0490012d19d24007202430003100dc2c..."} 
[2026-08-21 06:58:29] local.INFO: Packet analysis {"connection_id":159975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:58:29] local.INFO: Extracted packet for processing {"connection_id":159975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:58:29] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119546928,"longitude_deg":75.6666944,"latitude_deg":11.9546928,"altitude":49,"angle":220,"satellites":44,"speed":18,"hex_longitude":"2d19d240","hex_latitude":"07202430","is_valid_coordinates":true} 
[2026-08-21 06: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-08-21 06:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542564096001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14206965836152832,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839126603776,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787275642000,"timestamp_ms":1787275642000,"timestamp_seconds":1787275642,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee0490"} 
[2026-08-21 06:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 06:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06: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-08-21 06:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542564096001,"66":14396,"101":206,"83":41984,"24":18,"16":14206965836152832,"45":1860971839126603776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 06:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542564096001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:58:29] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 06:58:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14206965836152832,"km_value":14206965836152.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839126603776,"description":"Unknown IO ID 45"} 
[2026-08-21 06:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542564096001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1860971839126603776}} 
[2026-08-21 06:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":159975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:58:29] local.INFO: GPS data processed {"connection_id":159975,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:58:29] local.INFO: Acknowledgment sent {"connection_id":159975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:58:32] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:58:32] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:58:32] local.INFO: IMEI packet received {"connection_id":161348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":161348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:58:32] local.INFO: TCP Data received {"connection_id":159975,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee1818012d19cd4007201e70002f00f02c..."} 
[2026-08-21 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee1818012d19cd4007201e70002f00f02c..."} 
[2026-08-21 06:58:32] local.INFO: Processing buffer {"connection_id":159975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee1818012d19cd4007201e70002f00f02c..."} 
[2026-08-21 06:58:32] local.INFO: Packet analysis {"connection_id":159975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:58:32] local.INFO: Extracted packet for processing {"connection_id":159975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756665664,"raw_latitude":119545456,"longitude_deg":75.6665664,"latitude_deg":11.9545456,"altitude":47,"angle":240,"satellites":44,"speed":9,"hex_longitude":"2d19cd40","hex_latitude":"07201e70","is_valid_coordinates":true} 
[2026-08-21 06:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542564352001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14207060325433344,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860619995405627392,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787275647000,"timestamp_ms":1787275647000,"timestamp_seconds":1787275647,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee1818"} 
[2026-08-21 06:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 06:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542564352001,"66":14211,"103":206,"83":41984,"24":9,"16":14207060325433344,"45":1860619995405627392},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542564352001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:58:32] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:58:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14207060325433344,"km_value":14207060325433.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860619995405627392,"description":"Unknown IO ID 45"} 
[2026-08-21 06:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542564352001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1860619995405627392}} 
[2026-08-21 06:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":159975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:58:33] local.INFO: GPS data processed {"connection_id":159975,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:58:33] local.INFO: Acknowledgment sent {"connection_id":159975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:58:33] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:58:33] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:58:33] local.INFO: Packet analysis {"connection_id":161348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:58:33] local.INFO: Extracted packet for processing {"connection_id":161348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 06:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:58:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:58:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":161348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:58:33] local.INFO: GPS data processed {"connection_id":161348,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:58:33] local.INFO: Acknowledgment sent {"connection_id":161348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:58:43] local.INFO: TCP Data received {"connection_id":161347,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021edba58012d7bc80005bd24d80002010f20..."} 
[2026-08-21 06:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021edba58012d7bc80005bd24d80002010f20..."} 
[2026-08-21 06:58:43] local.INFO: Processing buffer {"connection_id":161347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021edba58012d7bc80005bd24d80002010f20..."} 
[2026-08-21 06:58:43] local.INFO: Packet analysis {"connection_id":161347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:58:43] local.INFO: Extracted packet for processing {"connection_id":161347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ed"} 
[2026-08-21 06:58:43] local.INFO: GPS Element Parsed {"raw_longitude":763086848,"raw_latitude":96281816,"longitude_deg":76.3086848,"latitude_deg":9.6281816,"altitude":2,"angle":271,"satellites":32,"speed":15,"hex_longitude":"2d7bc800","hex_latitude":"05bd24d8","is_valid_coordinates":true} 
[2026-08-21 06:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542555392001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121425846513696768,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929301079584479232,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787275623000,"timestamp_ms":1787275623000,"timestamp_seconds":1787275623,"priority":1,"record_length":96,"hex_timestamp":"000001a021edba58"} 
[2026-08-21 06:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:58:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:58:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311974,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":197,"raw_value":58077514145726468,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":13477573,"corrected_to":0} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3978428417,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147859754,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3173752832,"note":"Value kept but may cause issues"} 
[2026-08-21 06:58:43] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,197,85,24,241,157,16,99,160,53,45,128,41,1,32,10,66,192,37,240,203,227,33,189,4,113,205,2,14,18,239,52,175,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":203,"original":13477573,"validated":0},{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-08-21 06:58:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":293707045208064,"timestamp_seconds":293707045208.064,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 06:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161347,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542555392001,"66":12885,"197":206,"85":12544,"24":15,"16":121425846513696768,"45":8929301079584479232},"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-08-21 06:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542555392001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:58:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:58:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121425846513696768,"km_value":121425846513696.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929301079584479232,"description":"Unknown IO ID 45"} 
[2026-08-21 06:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542555392001,"power":12885,"unknown_197":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":8929301079584479232}} 
[2026-08-21 06:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":161347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:58:43] local.INFO: GPS data processed {"connection_id":161347,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:58:43] local.INFO: Acknowledgment sent {"connection_id":161347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:59:04] local.INFO: TCP Data received {"connection_id":161348,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:59:04] local.INFO: Processing buffer {"connection_id":161348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:59:04] local.INFO: Packet analysis {"connection_id":161348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:04] local.INFO: Extracted packet for processing {"connection_id":161348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 06:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":161348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:59:04] local.INFO: GPS data processed {"connection_id":161348,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:59:04] local.INFO: Acknowledgment sent {"connection_id":161348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:59:07] local.INFO: TCP Data received {"connection_id":158816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:07] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:07] local.INFO: IMEI packet received {"connection_id":158816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 06:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":158816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:59:11] local.INFO: TCP Data received {"connection_id":158816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:11] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:11] local.INFO: IMEI packet received {"connection_id":158816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":158816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:59:12] local.INFO: TCP Data received {"connection_id":158816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:12] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 06:59:12] local.INFO: IMEI packet received {"connection_id":158816,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 06:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":158816,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:59:12] local.INFO: TCP Data received {"connection_id":158816,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee0c60012d7bbb0005bd24780006011421..."} 
[2026-08-21 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee0c60012d7bbb0005bd24780006011421..."} 
[2026-08-21 06:59:12] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee0c60012d7bbb0005bd24780006011421..."} 
[2026-08-21 06:59:12] local.INFO: Packet analysis {"connection_id":158816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:12] local.INFO: Extracted packet for processing {"connection_id":158816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":33,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542559488001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919379086655412224,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787275644000,"timestamp_ms":1787275644000,"timestamp_seconds":1787275644,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee0c60"} 
[2026-08-21 06:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-21 06:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542559488001,"66":13135,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8919379086655412224},"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-08-21 06:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542559488001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:59:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919379086655412224,"description":"Unknown IO ID 45"} 
[2026-08-21 06:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542559488001,"power":13135,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8919379086655412224}} 
[2026-08-21 06:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":158816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:59:12] local.INFO: GPS data processed {"connection_id":158816,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:59:12] local.INFO: Acknowledgment sent {"connection_id":158816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:59:14] local.INFO: TCP Data received {"connection_id":161349,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:14] local.INFO: Processing buffer {"connection_id":161349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:14] local.INFO: IMEI packet received {"connection_id":161349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 06:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":161349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:59:18] local.INFO: TCP Data received {"connection_id":161349,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:18] local.INFO: Processing buffer {"connection_id":161349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:18] local.INFO: IMEI packet received {"connection_id":161349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":161349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:59:23] local.INFO: TCP Data received {"connection_id":161349,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:23] local.INFO: Processing buffer {"connection_id":161349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 06:59:23] local.INFO: IMEI packet received {"connection_id":161349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 06:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":161349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:59:24] local.INFO: TCP Data received {"connection_id":161349,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021eedf50012d19b8000720abf80033013d2b..."} 
[2026-08-21 06:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eedf50012d19b8000720abf80033013d2b..."} 
[2026-08-21 06:59:24] local.INFO: Processing buffer {"connection_id":161349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eedf50012d19b8000720abf80033013d2b..."} 
[2026-08-21 06:59:24] local.INFO: Packet analysis {"connection_id":161349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:24] local.INFO: Extracted packet for processing {"connection_id":161349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119581688,"longitude_deg":75.6660224,"latitude_deg":11.9581688,"altitude":51,"angle":317,"satellites":43,"speed":15,"hex_longitude":"2d19b800","hex_latitude":"0720abf8","is_valid_coordinates":true} 
[2026-08-21 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542578432001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14208980175814656,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996681728,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59: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-08-21 06:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275698000,"timestamp_ms":1787275698000,"timestamp_seconds":1787275698,"priority":1,"record_length":96,"hex_timestamp":"000001a021eedf50"} 
[2026-08-21 06:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-21 06:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542578432001,"66":13417,"103":206,"83":41984,"24":15,"16":14208980175814656,"45":1853583120996681728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542578432001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14208980175814656,"km_value":14208980175814.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996681728,"description":"Unknown IO ID 45"} 
[2026-08-21 06:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542578432001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1853583120996681728}} 
[2026-08-21 06:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":161349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:59:24] local.INFO: GPS data processed {"connection_id":161349,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:59:24] local.INFO: Acknowledgment sent {"connection_id":161349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:59:24] local.INFO: TCP Data received {"connection_id":161349,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021eee338012d19b5c00720acf00033012e2c..."} 
[2026-08-21 06:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eee338012d19b5c00720acf00033012e2c..."} 
[2026-08-21 06:59:24] local.INFO: Processing buffer {"connection_id":161349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eee338012d19b5c00720acf00033012e2c..."} 
[2026-08-21 06:59:24] local.INFO: Packet analysis {"connection_id":161349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:24] local.INFO: Extracted packet for processing {"connection_id":161349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756659648,"raw_latitude":119581936,"longitude_deg":75.6659648,"latitude_deg":11.9581936,"altitude":51,"angle":302,"satellites":44,"speed":19,"hex_longitude":"2d19b5c0","hex_latitude":"0720acf0","is_valid_coordinates":true} 
[2026-08-21 06:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542578688001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209010240585728,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275871232,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59: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-08-21 06:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275699000,"timestamp_ms":1787275699000,"timestamp_seconds":1787275699,"priority":1,"record_length":96,"hex_timestamp":"000001a021eee338"} 
[2026-08-21 06:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06: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":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-21 06:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542578688001,"66":13993,"103":206,"83":41984,"24":19,"16":14209010240585728,"45":1853231277275871232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542578688001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209010240585728,"km_value":14209010240585.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275871232,"description":"Unknown IO ID 45"} 
[2026-08-21 06:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542578688001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853231277275871232}} 
[2026-08-21 06:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":161349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:59:25] local.INFO: GPS data processed {"connection_id":161349,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:59:25] local.INFO: Acknowledgment sent {"connection_id":161349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:59:26] local.INFO: TCP Data received {"connection_id":161350,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:59:26] local.INFO: Processing buffer {"connection_id":161350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:59:26] local.INFO: IMEI packet received {"connection_id":161350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 06:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":161350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 06:59:32] local.INFO: TCP Data received {"connection_id":161350,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:59:32] local.INFO: Processing buffer {"connection_id":161350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 06:59:32] local.INFO: IMEI packet received {"connection_id":161350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 06:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":161350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 06:59:33] local.INFO: TCP Data received {"connection_id":161350,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:59:33] local.INFO: Processing buffer {"connection_id":161350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 06:59:33] local.INFO: Packet analysis {"connection_id":161350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:33] local.INFO: Extracted packet for processing {"connection_id":161350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 06:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 06:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 06:59:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 06:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:59:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 06:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 06:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 06:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 06:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 06:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 06:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:59:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 06:59:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 06:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 06:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 06:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":161350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:59:33] local.INFO: GPS data processed {"connection_id":161350,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:59:33] local.INFO: Acknowledgment sent {"connection_id":161350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:59:43] local.INFO: TCP Data received {"connection_id":158816,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee5e68012d7bbb0005bd24780006011422..."} 
[2026-08-21 06:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee5e68012d7bbb0005bd24780006011422..."} 
[2026-08-21 06:59:43] local.INFO: Processing buffer {"connection_id":158816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee5e68012d7bbb0005bd24780006011422..."} 
[2026-08-21 06:59:43] local.INFO: Packet analysis {"connection_id":158816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:43] local.INFO: Extracted packet for processing {"connection_id":158816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 06:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542564864001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787275665000,"timestamp_ms":1787275665000,"timestamp_seconds":1787275665,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee5e68"} 
[2026-08-21 06:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 06:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158816,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 06:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 06:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 06:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542564864001,"66":13656,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 06:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 06:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 06:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542564864001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:59:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 06:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 06:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 06:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542564864001,"power":13656,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 06:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":158816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:59:43] local.INFO: GPS data processed {"connection_id":158816,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:59:43] local.INFO: Acknowledgment sent {"connection_id":158816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 06:59:56] local.INFO: TCP Data received {"connection_id":161349,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021eef2d8012d19ad400720b0100035011f2c..."} 
[2026-08-21 06:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eef2d8012d19ad400720b0100035011f2c..."} 
[2026-08-21 06:59:56] local.INFO: Processing buffer {"connection_id":161349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eef2d8012d19ad400720b0100035011f2c..."} 
[2026-08-21 06:59:56] local.INFO: Packet analysis {"connection_id":161349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:56] local.INFO: Extracted packet for processing {"connection_id":161349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 06:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119582736,"longitude_deg":75.6657472,"latitude_deg":11.9582736,"altitude":53,"angle":287,"satellites":44,"speed":21,"hex_longitude":"2d19ad40","hex_latitude":"0720b010","is_valid_coordinates":true} 
[2026-08-21 06:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 06:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542578944001,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209121909735424,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852597958578335744,"note":"Value kept but may cause issues"} 
[2026-08-21 06:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 06:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787275703000,"timestamp_ms":1787275703000,"timestamp_seconds":1787275703,"priority":1,"record_length":96,"hex_timestamp":"000001a021eef2d8"} 
[2026-08-21 06:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 06:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 06:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 06:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 06:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 06:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 06:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 06:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 06:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 06:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 06:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 06:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 06:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542578944001,"66":14080,"103":206,"83":41984,"24":21,"16":14209121909735424,"45":1852597958578335744},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 06:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 06:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 06:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542578944001,"description":"Unknown IO ID 0"} 
[2026-08-21 06:59:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 06:59:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 06:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209121909735424,"km_value":14209121909735.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 06:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852597958578335744,"description":"Unknown IO ID 45"} 
[2026-08-21 06:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542578944001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1852597958578335744}} 
[2026-08-21 06:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":161349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 06:59:56] local.INFO: GPS data processed {"connection_id":161349,"processed":1,"errors":0,"total":1} 
[2026-08-21 06:59:56] local.INFO: Acknowledgment sent {"connection_id":161349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:04] local.INFO: TCP Data received {"connection_id":161350,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:00:04] local.INFO: Processing buffer {"connection_id":161350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:00:04] local.INFO: Packet analysis {"connection_id":161350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:00:04] local.INFO: Extracted packet for processing {"connection_id":161350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:00:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 07:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:00:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:00:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":161350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:04] local.INFO: GPS data processed {"connection_id":161350,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:04] local.INFO: Acknowledgment sent {"connection_id":161350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:12] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:00:12] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:00:12] local.INFO: IMEI packet received {"connection_id":161351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":161351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:00:14] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:00:14] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:00:14] local.INFO: IMEI packet received {"connection_id":161351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":161351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:00:14] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021eeb070012d7bbb0005bd24780006011422..."} 
[2026-08-21 07:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eeb070012d7bbb0005bd24780006011422..."} 
[2026-08-21 07:00:14] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eeb070012d7bbb0005bd24780006011422..."} 
[2026-08-21 07:00:14] local.INFO: Packet analysis {"connection_id":161351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:00:14] local.INFO: Extracted packet for processing {"connection_id":161351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:00:14] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":34,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 07:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542570240001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787275686000,"timestamp_ms":1787275686000,"timestamp_seconds":1787275686,"priority":1,"record_length":96,"hex_timestamp":"000001a021eeb070"} 
[2026-08-21 07:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-21 07:00: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-08-21 07:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542570240001,"66":13015,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 07:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542570240001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:00:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542570240001,"power":13015,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 07:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":161351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:14] local.INFO: GPS data processed {"connection_id":161351,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:14] local.INFO: Acknowledgment sent {"connection_id":161351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:17] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:17] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:17] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:00:17] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ef0278012d7bbb0005bd24780006011425..."} 
[2026-08-21 07:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ef0278012d7bbb0005bd24780006011425..."} 
[2026-08-21 07:00:17] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ef0278012d7bbb0005bd24780006011425..."} 
[2026-08-21 07:00:17] local.INFO: Packet analysis {"connection_id":161351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:17] local.INFO: Extracted packet for processing {"connection_id":161351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:17] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 07:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542575616001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00: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-08-21 07:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787275707000,"timestamp_ms":1787275707000,"timestamp_seconds":1787275707,"priority":1,"record_length":96,"hex_timestamp":"000001a021ef0278"} 
[2026-08-21 07:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 07:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542575616001,"66":13526,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 07:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542575616001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:00:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542575616001,"power":13526,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 07:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":161351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:17] local.INFO: GPS data processed {"connection_id":161351,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:17] local.INFO: Acknowledgment sent {"connection_id":161351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:18] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:18] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:18] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:00:19] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:19] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:19] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:00:23] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:23] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:00:23] local.INFO: IMEI packet received {"connection_id":159976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":159976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:00:23] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ef0a48012d199d800720b220003601142c..."} 
[2026-08-21 07:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ef0a48012d199d800720b220003601142c..."} 
[2026-08-21 07:00:23] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ef0a48012d199d800720b220003601142c..."} 
[2026-08-21 07:00:23] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:23] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756653440,"raw_latitude":119583264,"longitude_deg":75.665344,"latitude_deg":11.9583264,"altitude":54,"angle":276,"satellites":44,"speed":29,"hex_longitude":"2d199d80","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-21 07:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542579968001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209315183263744,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421276499968,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787275709000,"timestamp_ms":1787275709000,"timestamp_seconds":1787275709,"priority":1,"record_length":96,"hex_timestamp":"000001a021ef0a48"} 
[2026-08-21 07:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00: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-08-21 07: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":122,"raw_value":4177526784,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2839019570,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758148984,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,123,160,227,45,192,172,51,44,10,66,223,171,43,122,219,64,1,240,105,33,32,4,113,205,17,211,186,80,239,54,2,50,7,47],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 07:00:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819368232827289600,"timestamp_seconds":3819368232827289.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542579968001,"66":14135,"103":206,"83":41984,"24":29,"16":14209315183263744,"45":1850205421276499968},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542579968001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209315183263744,"km_value":14209315183263.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421276499968,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542579968001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850205421276499968}} 
[2026-08-21 07:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:23] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:23] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:24] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ef25a0012d1987800720b318003601062c..."} 
[2026-08-21 07:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ef25a0012d1987800720b318003601062c..."} 
[2026-08-21 07:00:24] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ef25a0012d1987800720b318003601062c..."} 
[2026-08-21 07:00:24] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:24] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756647808,"raw_latitude":119583512,"longitude_deg":75.6647808,"latitude_deg":11.9583512,"altitude":54,"angle":262,"satellites":44,"speed":33,"hex_longitude":"2d198780","hex_latitude":"0720b318","is_valid_coordinates":true} 
[2026-08-21 07:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542581504001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209581471236096,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845772190393442304,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00: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-08-21 07:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275716000,"timestamp_ms":1787275716000,"timestamp_seconds":1787275716,"priority":1,"record_length":96,"hex_timestamp":"000001a021ef25a0"} 
[2026-08-21 07:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 07:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542581504001,"66":13580,"103":206,"83":41984,"24":33,"16":14209581471236096,"45":1845772190393442304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542581504001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209581471236096,"km_value":14209581471236.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845772190393442304,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542581504001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1845772190393442304}} 
[2026-08-21 07:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:24] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:24] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:26] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:00:26] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:00:26] local.INFO: IMEI packet received {"connection_id":161352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":161352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:00:32] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:00:32] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:00:32] local.INFO: IMEI packet received {"connection_id":161352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":161352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:00:33] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:00:33] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:00:33] local.INFO: Packet analysis {"connection_id":161352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:00:33] local.INFO: Extracted packet for processing {"connection_id":161352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:00:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 07:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:00:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":161352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:33] local.INFO: GPS data processed {"connection_id":161352,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:33] local.INFO: Acknowledgment sent {"connection_id":161352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:48] local.INFO: TCP Data received {"connection_id":161351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ef5480012d7bbb0005bd24780006011424..."} 
[2026-08-21 07:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ef5480012d7bbb0005bd24780006011424..."} 
[2026-08-21 07:00:48] local.INFO: Processing buffer {"connection_id":161351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ef5480012d7bbb0005bd24780006011424..."} 
[2026-08-21 07:00:48] local.INFO: Packet analysis {"connection_id":161351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:48] local.INFO: Extracted packet for processing {"connection_id":161351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:00:48] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542580992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787275728000,"timestamp_ms":1787275728000,"timestamp_seconds":1787275728,"priority":1,"record_length":96,"hex_timestamp":"000001a021ef5480"} 
[2026-08-21 07:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 07:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542580992001,"66":13178,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 07:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542580992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:48] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:00:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542580992001,"power":13178,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 07:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":161351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673949,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:49] local.INFO: GPS data processed {"connection_id":161351,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:49] local.INFO: Acknowledgment sent {"connection_id":161351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:00:55] local.INFO: TCP Data received {"connection_id":159976,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f08918012d18be4007215a08004301442b..."} 
[2026-08-21 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f08918012d18be4007215a08004301442b..."} 
[2026-08-21 07:00:55] local.INFO: Processing buffer {"connection_id":159976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f08918012d18be4007215a08004301442b..."} 
[2026-08-21 07:00:55] local.INFO: Packet analysis {"connection_id":159976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:00:55] local.INFO: Extracted packet for processing {"connection_id":159976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756596288,"raw_latitude":119626248,"longitude_deg":75.6596288,"latitude_deg":11.9626248,"altitude":67,"angle":324,"satellites":43,"speed":35,"hex_longitude":"2d18be40","hex_latitude":"07215a08","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542606080001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14213318092783616,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783918064271890432,"note":"Value kept but may cause issues"} 
[2026-08-21 07:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787275807000,"timestamp_ms":1787275807000,"timestamp_seconds":1787275807,"priority":1,"record_length":96,"hex_timestamp":"000001a021f08918"} 
[2026-08-21 07:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 07:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542606080001,"66":13993,"106":206,"83":41984,"24":35,"16":14213318092783616,"45":1783918064271890432},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 07:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542606080001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:00:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 07:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14213318092783616,"km_value":14213318092783.615,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783918064271890432,"description":"Unknown IO ID 45"} 
[2026-08-21 07:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542606080001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1783918064271890432}} 
[2026-08-21 07:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":159976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:00:55] local.INFO: GPS data processed {"connection_id":159976,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:00:55] local.INFO: Acknowledgment sent {"connection_id":159976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:01:04] local.INFO: TCP Data received {"connection_id":161352,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:04] local.INFO: Processing buffer {"connection_id":161352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:04] local.INFO: Packet analysis {"connection_id":161352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:01:04] local.INFO: Extracted packet for processing {"connection_id":161352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 07:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":161352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:01:04] local.INFO: GPS data processed {"connection_id":161352,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:01:04] local.INFO: Acknowledgment sent {"connection_id":161352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:01:07] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:01:07] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:01:07] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:01:12] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:01:12] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:01:12] local.INFO: IMEI packet received {"connection_id":159977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":159977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:01:12] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021efa688012d7bbb0005bd24780006011424..."} 
[2026-08-21 07:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021efa688012d7bbb0005bd24780006011424..."} 
[2026-08-21 07:01:12] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021efa688012d7bbb0005bd24780006011424..."} 
[2026-08-21 07:01:12] local.INFO: Packet analysis {"connection_id":159977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:01:12] local.INFO: Extracted packet for processing {"connection_id":159977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:01:12] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":36,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 07:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542586368001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787275749000,"timestamp_ms":1787275749000,"timestamp_seconds":1787275749,"priority":1,"record_length":96,"hex_timestamp":"000001a021efa688"} 
[2026-08-21 07:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 07:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542586368001,"66":13526,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 07:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542586368001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:01:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:01:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542586368001,"power":13526,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 07:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":159977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:01:12] local.INFO: GPS data processed {"connection_id":159977,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:01:12] local.INFO: Acknowledgment sent {"connection_id":159977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:01:18] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:18] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:18] local.INFO: IMEI packet received {"connection_id":159125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":159125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:01:19] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:19] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:19] local.INFO: IMEI packet received {"connection_id":159125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":159125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:01:23] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:23] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:01:23] local.INFO: IMEI packet received {"connection_id":159125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":159125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:01:24] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f0a858012d18ad0007217098004801392b..."} 
[2026-08-21 07:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f0a858012d18ad0007217098004801392b..."} 
[2026-08-21 07:01:24] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f0a858012d18ad0007217098004801392b..."} 
[2026-08-21 07:01:24] local.INFO: Packet analysis {"connection_id":159125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:01:24] local.INFO: Extracted packet for processing {"connection_id":159125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119632024,"longitude_deg":75.6591872,"latitude_deg":11.9632024,"altitude":72,"angle":313,"satellites":43,"speed":34,"hex_longitude":"2d18ad00","hex_latitude":"07217098","is_valid_coordinates":true} 
[2026-08-21 07:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542606592001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14213665985134592,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782932901853792256,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275815000,"timestamp_ms":1787275815000,"timestamp_seconds":1787275815,"priority":1,"record_length":96,"hex_timestamp":"000001a021f0a858"} 
[2026-08-21 07:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 07:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542606592001,"66":14080,"106":206,"83":41984,"24":34,"16":14213665985134592,"45":1782932901853792256},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 07:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542606592001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:01:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 07:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14213665985134592,"km_value":14213665985134.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782932901853792256,"description":"Unknown IO ID 45"} 
[2026-08-21 07:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542606592001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1782932901853792256}} 
[2026-08-21 07:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":159125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:01:24] local.INFO: GPS data processed {"connection_id":159125,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:01:24] local.INFO: Acknowledgment sent {"connection_id":159125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:01:32] local.INFO: TCP Data received {"connection_id":158817,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:01:32] local.INFO: Processing buffer {"connection_id":158817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:01:32] local.INFO: IMEI packet received {"connection_id":158817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":158817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:01:37] local.INFO: TCP Data received {"connection_id":158817,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:01:37] local.INFO: Processing buffer {"connection_id":158817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:01:37] local.INFO: IMEI packet received {"connection_id":158817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":158817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:01:38] local.INFO: TCP Data received {"connection_id":158817,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:38] local.INFO: Processing buffer {"connection_id":158817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:38] local.INFO: Packet analysis {"connection_id":158817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:01:38] local.INFO: Extracted packet for processing {"connection_id":158817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:01:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 07:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:01: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":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:01:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:01:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":158817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:01:38] local.INFO: GPS data processed {"connection_id":158817,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:01:38] local.INFO: Acknowledgment sent {"connection_id":158817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:01:42] local.INFO: TCP Data received {"connection_id":158817,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:42] local.INFO: Processing buffer {"connection_id":158817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:01:42] local.INFO: Packet analysis {"connection_id":158817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:01:42] local.INFO: Extracted packet for processing {"connection_id":158817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 07:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":158817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:01:42] local.INFO: GPS data processed {"connection_id":158817,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:01:42] local.INFO: Acknowledgment sent {"connection_id":158817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:01:43] local.INFO: TCP Data received {"connection_id":159977,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021eff890012d7bbb0005bd24780006011426..."} 
[2026-08-21 07:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021eff890012d7bbb0005bd24780006011426..."} 
[2026-08-21 07:01:43] local.INFO: Processing buffer {"connection_id":159977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021eff890012d7bbb0005bd24780006011426..."} 
[2026-08-21 07:01:43] local.INFO: Packet analysis {"connection_id":159977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:01:43] local.INFO: Extracted packet for processing {"connection_id":159977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ef"} 
[2026-08-21 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 07:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542591744001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787275770000,"timestamp_ms":1787275770000,"timestamp_seconds":1787275770,"priority":1,"record_length":96,"hex_timestamp":"000001a021eff890"} 
[2026-08-21 07:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 07:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542591744001,"66":13189,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 07:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542591744001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:01:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:01:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542591744001,"power":13189,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 07:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":159977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:01:43] local.INFO: GPS data processed {"connection_id":159977,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:01:43] local.INFO: Acknowledgment sent {"connection_id":159977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:01:55] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f0b028012d18a7c007217448004901282b..."} 
[2026-08-21 07:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f0b028012d18a7c007217448004901282b..."} 
[2026-08-21 07:01:55] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f0b028012d18a7c007217448004901282b..."} 
[2026-08-21 07:01:55] local.INFO: Packet analysis {"connection_id":159125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:01:55] local.INFO: Extracted packet for processing {"connection_id":159125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119632968,"longitude_deg":75.6590528,"latitude_deg":11.9632968,"altitude":73,"angle":296,"satellites":43,"speed":32,"hex_longitude":"2d18a7c0","hex_latitude":"07217448","is_valid_coordinates":true} 
[2026-08-21 07:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542608640001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14213747589513216,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778077458507012096,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787275817000,"timestamp_ms":1787275817000,"timestamp_seconds":1787275817,"priority":1,"record_length":96,"hex_timestamp":"000001a021f0b028"} 
[2026-08-21 07:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":209,"raw_value":3221692691,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:01:55] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,127,160,137,45,64,90,67,43,10,66,126,129,192,84,42,109,1,240,22,227,33,4,113,205,36,55,209,32,239,51,103,2,50,7,62,35],"length":479,"final_offset":609,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-21 07:01:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188491102556127232,"timestamp_seconds":5188491102556127.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542608640001,"66":13656,"106":206,"83":41984,"24":32,"16":14213747589513216,"45":1778077458507012096},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 07:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542608640001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:01:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 07:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14213747589513216,"km_value":14213747589513.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778077458507012096,"description":"Unknown IO ID 45"} 
[2026-08-21 07:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542608640001,"power":13656,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1778077458507012096}} 
[2026-08-21 07:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":159125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:01:55] local.INFO: GPS data processed {"connection_id":159125,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:01:55] local.INFO: Acknowledgment sent {"connection_id":159125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:02:07] local.INFO: TCP Data received {"connection_id":158818,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:02:07] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:02:07] local.INFO: IMEI packet received {"connection_id":158818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":158818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:02:12] local.INFO: TCP Data received {"connection_id":158818,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:02:12] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:02:12] local.INFO: IMEI packet received {"connection_id":158818,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":158818,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:02:16] local.INFO: TCP Data received {"connection_id":158818,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f04a98012d7bbb0005bd24780006011425..."} 
[2026-08-21 07:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f04a98012d7bbb0005bd24780006011425..."} 
[2026-08-21 07:02:16] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f04a98012d7bbb0005bd24780006011425..."} 
[2026-08-21 07:02:16] local.INFO: Packet analysis {"connection_id":158818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:02:16] local.INFO: Extracted packet for processing {"connection_id":158818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":37,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542597120001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787275791000,"timestamp_ms":1787275791000,"timestamp_seconds":1787275791,"priority":1,"record_length":96,"hex_timestamp":"000001a021f04a98"} 
[2026-08-21 07:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:02:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 07:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:02:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":158818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":158818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":158818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:02: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-08-21 07:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542597120001,"66":13559,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 07:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542597120001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:02:16] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:02:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542597120001,"power":13559,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 07:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":158818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:02:16] local.INFO: GPS data processed {"connection_id":158818,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:02:16] local.INFO: Acknowledgment sent {"connection_id":158818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:02:18] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:02:18] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:02:18] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:02:23] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:02:23] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:02:23] local.INFO: IMEI packet received {"connection_id":159978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":159978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:02:24] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f0d738012d18864007218080004a011e2b..."} 
[2026-08-21 07:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f0d738012d18864007218080004a011e2b..."} 
[2026-08-21 07:02:24] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f0d738012d18864007218080004a011e2b..."} 
[2026-08-21 07:02:24] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:02:24] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756581952,"raw_latitude":119636096,"longitude_deg":75.6581952,"latitude_deg":11.9636096,"altitude":74,"angle":286,"satellites":43,"speed":36,"hex_longitude":"2d188640","hex_latitude":"07218080","is_valid_coordinates":true} 
[2026-08-21 07:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542609152001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14214181381210112,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776599714879522816,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275827000,"timestamp_ms":1787275827000,"timestamp_seconds":1787275827,"priority":1,"record_length":96,"hex_timestamp":"000001a021f0d738"} 
[2026-08-21 07:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:02:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-21 07:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542609152001,"66":14113,"106":206,"83":41984,"24":36,"16":14214181381210112,"45":1776599714879522816},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 07:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542609152001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:02:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 07:02:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14214181381210112,"km_value":14214181381210.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776599714879522816,"description":"Unknown IO ID 45"} 
[2026-08-21 07:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542609152001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1776599714879522816}} 
[2026-08-21 07:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:02:24] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:02:24] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:02:27] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:02:27] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:02:27] local.INFO: IMEI packet received {"connection_id":159126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":159126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:02:32] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:02:32] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:02:32] local.INFO: IMEI packet received {"connection_id":159126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":159126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:02:33] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:02:33] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:02:33] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:02:33] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:02:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 07:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:02:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:02:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:02:33] local.INFO: GPS data processed {"connection_id":159126,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:02:33] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:02:55] local.INFO: TCP Data received {"connection_id":159978,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f22ef8012d181ec00721a7d8004c00742c..."} 
[2026-08-21 07:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f22ef8012d181ec00721a7d8004c00742c..."} 
[2026-08-21 07:02:55] local.INFO: Processing buffer {"connection_id":159978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f22ef8012d181ec00721a7d8004c00742c..."} 
[2026-08-21 07:02:55] local.INFO: Packet analysis {"connection_id":159978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:02:55] local.INFO: Extracted packet for processing {"connection_id":159978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646168,"longitude_deg":75.6555456,"latitude_deg":11.9646168,"altitude":76,"angle":116,"satellites":44,"speed":8,"hex_longitude":"2d181ec0","hex_latitude":"0721a7d8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542633984001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215628785188864,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585201152,"note":"Value kept but may cause issues"} 
[2026-08-21 07:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787275915000,"timestamp_ms":1787275915000,"timestamp_seconds":1787275915,"priority":1,"record_length":96,"hex_timestamp":"000001a021f22ef8"} 
[2026-08-21 07:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 07:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542633984001,"66":14298,"105":206,"83":41984,"24":8,"16":14215628785188864,"45":1737896905585201152},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 07:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542633984001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:02:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 07:02:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215628785188864,"km_value":14215628785188.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585201152,"description":"Unknown IO ID 45"} 
[2026-08-21 07:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542633984001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737896905585201152}} 
[2026-08-21 07:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":159978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:02:55] local.INFO: GPS data processed {"connection_id":159978,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:02:55] local.INFO: Acknowledgment sent {"connection_id":159978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:04] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:03:04] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ee27b8012da67700054b3710001c005f2f..."} 
[2026-08-21 07:03:04] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:03:04] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ee"} 
[2026-08-21 07:03:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275651000,"timestamp_ms":1787275651000,"timestamp_seconds":1787275651,"priority":1,"record_length":96,"hex_timestamp":"000001a021ee27b8"} 
[2026-08-21 07:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542489600001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:03:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542489600001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:04] local.INFO: GPS data processed {"connection_id":159126,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:04] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:09] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:03:09] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:03:09] local.INFO: IMEI packet received {"connection_id":159127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":159127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:03:15] local.INFO: TCP Data received {"connection_id":158818,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f09ca0012d7bbb0005bd24780006011426..."} 
[2026-08-21 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f09ca0012d7bbb0005bd24780006011426..."} 
[2026-08-21 07:03:15] local.INFO: Processing buffer {"connection_id":158818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f09ca0012d7bbb0005bd24780006011426..."} 
[2026-08-21 07:03:15] local.INFO: Packet analysis {"connection_id":158818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:03:15] local.INFO: Extracted packet for processing {"connection_id":158818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f0"} 
[2026-08-21 07:03:15] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":96281720,"longitude_deg":76.308352,"latitude_deg":9.628172,"altitude":6,"angle":276,"satellites":38,"speed":0,"hex_longitude":"2d7bbb00","hex_latitude":"05bd2478","is_valid_coordinates":true} 
[2026-08-21 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542602496001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426005427486720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719911958149120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787275812000,"timestamp_ms":1787275812000,"timestamp_seconds":1787275812,"priority":1,"record_length":96,"hex_timestamp":"000001a021f09ca0"} 
[2026-08-21 07:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:03: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-08-21 07:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-21 07:03: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-08-21 07:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158818,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03: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-08-21 07:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542602496001,"66":13135,"197":206,"85":12544,"24":0,"16":121426005427486720,"45":8915719911958149120},"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-08-21 07:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542602496001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:15] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:03:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426005427486720,"km_value":121426005427486.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719911958149120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542602496001,"power":13135,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8915719911958149120}} 
[2026-08-21 07:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":158818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673963,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:15] local.INFO: GPS data processed {"connection_id":158818,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:15] local.INFO: Acknowledgment sent {"connection_id":158818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:16] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:03:16] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:03:16] local.INFO: IMEI packet received {"connection_id":159127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":159127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:03:16] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f330c8012d7bb28005bd25e8000c011326..."} 
[2026-08-21 07:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f330c8012d7bb28005bd25e8000c011326..."} 
[2026-08-21 07:03:16] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a021..."} 
[2026-08-21 07:03:16] local.INFO: IMEI packet received {"connection_id":159127,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":159127,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:03:17] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f334b0012d7bb24005bd25d8000c010226..."} 
[2026-08-21 07:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f334b0012d7bb24005bd25d8000c010226..."} 
[2026-08-21 07:03:17] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a021f330c8012d7bb28005bd25e8000c011326..."} 
[2026-08-21 07:03:17] local.INFO: Packet analysis {"connection_id":159127,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:17] local.INFO: Extracted packet for processing {"connection_id":159127,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":763081344,"raw_latitude":96282088,"longitude_deg":76.3081344,"latitude_deg":9.6282088,"altitude":12,"angle":275,"satellites":38,"speed":4,"hex_longitude":"2d7bb280","hex_latitude":"05bd25e8","is_valid_coordinates":true} 
[2026-08-21 07:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542650112001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426121391603712,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913960693353820160,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03: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-08-21 07:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787275981000,"timestamp_ms":1787275981000,"timestamp_seconds":1787275981,"priority":1,"record_length":96,"hex_timestamp":"000001a021f330c8"} 
[2026-08-21 07:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-21 07:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542650112001,"66":13493,"197":206,"85":12544,"24":4,"16":121426121391603712,"45":8913960693353820160},"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-08-21 07:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542650112001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426121391603712,"km_value":121426121391603.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913960693353820160,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542650112001,"power":13493,"unknown_197":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":8913960693353820160}} 
[2026-08-21 07:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":159127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:17] local.INFO: GPS data processed {"connection_id":159127,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:17] local.INFO: Acknowledgment sent {"connection_id":159127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:17] local.INFO: Packet analysis {"connection_id":159127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:17] local.INFO: Extracted packet for processing {"connection_id":159127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":763081280,"raw_latitude":96282072,"longitude_deg":76.308128,"latitude_deg":9.6282072,"altitude":12,"angle":258,"satellites":38,"speed":3,"hex_longitude":"2d7bb240","hex_latitude":"05bd25d8","is_valid_coordinates":true} 
[2026-08-21 07:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542651136001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426125686571008,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913327374656202752,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03: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-08-21 07:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787275982000,"timestamp_ms":1787275982000,"timestamp_seconds":1787275982,"priority":1,"record_length":96,"hex_timestamp":"000001a021f334b0"} 
[2026-08-21 07:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 07:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542651136001,"66":13580,"197":206,"85":12544,"24":3,"16":121426125686571008,"45":8913327374656202752},"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-08-21 07:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542651136001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426125686571008,"km_value":121426125686571.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913327374656202752,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542651136001,"power":13580,"unknown_197":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":8913327374656202752}} 
[2026-08-21 07:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":159127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:17] local.INFO: GPS data processed {"connection_id":159127,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:17] local.INFO: Acknowledgment sent {"connection_id":159127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:18] local.INFO: TCP Data received {"connection_id":158819,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:03:18] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:03:18] local.INFO: IMEI packet received {"connection_id":158819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":158819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:03:22] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f33c80012d7bb1c005bd25c8000c010e26..."} 
[2026-08-21 07:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f33c80012d7bb1c005bd25c8000c010e26..."} 
[2026-08-21 07:03:23] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f33c80012d7bb1c005bd25c8000c010e26..."} 
[2026-08-21 07:03:23] local.INFO: Packet analysis {"connection_id":159127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:23] local.INFO: Extracted packet for processing {"connection_id":159127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:23] local.INFO: GPS Element Parsed {"raw_longitude":763081152,"raw_latitude":96282056,"longitude_deg":76.3081152,"latitude_deg":9.6282056,"altitude":12,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d7bb1c0","hex_latitude":"05bd25c8","is_valid_coordinates":true} 
[2026-08-21 07:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542651392001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426134276505600,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913257005912020992,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03: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-08-21 07:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787275984000,"timestamp_ms":1787275984000,"timestamp_seconds":1787275984,"priority":1,"record_length":96,"hex_timestamp":"000001a021f33c80"} 
[2026-08-21 07:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":12,"data_length":795,"current_offset":136} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624036,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4077244417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1451566454896853002,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634368462202565,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797928654,"corrected_to":0} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":53,"raw_value":8719194994742709845,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3173283840,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":123,"raw_value":-4971967678698225658,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,197,85,24,241,157,16,100,160,48,45,128,37,12,38,10,66,33,192,13,9,1,240,214,227,189,4,113,205,3,218,187,120,239,53,2,175,5,6,123,49],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2797928654,"validated":0}]} 
[2026-08-21 07:03:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864974965664055296,"timestamp_seconds":864974965664055.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159127,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542651392001,"66":13526,"197":206,"85":12544,"24":0,"16":121426134276505600,"45":8913257005912020992},"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-08-21 07:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542651392001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:23] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:03:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426134276505600,"km_value":121426134276505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913257005912020992,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542651392001,"power":13526,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8913257005912020992}} 
[2026-08-21 07:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":159127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:23] local.INFO: GPS data processed {"connection_id":159127,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:23] local.INFO: Acknowledgment sent {"connection_id":159127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:23] local.INFO: TCP Data received {"connection_id":158819,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:03:23] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:03:23] local.INFO: IMEI packet received {"connection_id":158819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":158819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:03:24] local.INFO: TCP Data received {"connection_id":158819,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f236c8012d1820000721a718004c00832c..."} 
[2026-08-21 07:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f236c8012d1820000721a718004c00832c..."} 
[2026-08-21 07:03:24] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f236c8012d1820000721a718004c00832c..."} 
[2026-08-21 07:03:24] local.INFO: Packet analysis {"connection_id":158819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:03:24] local.INFO: Extracted packet for processing {"connection_id":158819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645976,"longitude_deg":75.6555776,"latitude_deg":11.9645976,"altitude":76,"angle":131,"satellites":44,"speed":6,"hex_longitude":"2d182000","hex_latitude":"0721a718","is_valid_coordinates":true} 
[2026-08-21 07:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542634240001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215645965058048,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073542144,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03: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-08-21 07:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275917000,"timestamp_ms":1787275917000,"timestamp_seconds":1787275917,"priority":1,"record_length":96,"hex_timestamp":"000001a021f236c8"} 
[2026-08-21 07:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 07:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542634240001,"66":13624,"105":206,"83":41984,"24":6,"16":14215645965058048,"45":1738037643073542144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 07:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542634240001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 07:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215645965058048,"km_value":14215645965058.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073542144,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542634240001,"power":13624,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738037643073542144}} 
[2026-08-21 07:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":158819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:24] local.INFO: GPS data processed {"connection_id":158819,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:24] local.INFO: Acknowledgment sent {"connection_id":158819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:26] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:03:26] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:03:26] local.INFO: IMEI packet received {"connection_id":159128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":159128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:03:31] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:03:31] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:03:31] local.INFO: IMEI packet received {"connection_id":159128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":159128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:03:32] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:03:32] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:03:32] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:03:32] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:03:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:03:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:32] local.INFO: GPS data processed {"connection_id":159128,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:32] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:03:55] local.INFO: TCP Data received {"connection_id":158819,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f357d8012d18d1c0072129d80043009f2b..."} 
[2026-08-21 07:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f357d8012d18d1c0072129d80043009f2b..."} 
[2026-08-21 07:03:55] local.INFO: Processing buffer {"connection_id":158819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f357d8012d18d1c0072129d80043009f2b..."} 
[2026-08-21 07:03:55] local.INFO: Packet analysis {"connection_id":158819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:55] local.INFO: Extracted packet for processing {"connection_id":158819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756601280,"raw_latitude":119613912,"longitude_deg":75.660128,"latitude_deg":11.9613912,"altitude":67,"angle":159,"satellites":43,"speed":37,"hex_longitude":"2d18d1c0","hex_latitude":"072129d8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542652416001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14218549362950144,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785606914130419712,"note":"Value kept but may cause issues"} 
[2026-08-21 07:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787275991000,"timestamp_ms":1787275991000,"timestamp_seconds":1787275991,"priority":1,"record_length":96,"hex_timestamp":"000001a021f357d8"} 
[2026-08-21 07:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 07:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542652416001,"66":12917,"103":206,"83":41984,"24":37,"16":14218549362950144,"45":1785606914130419712},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542652416001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:03:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14218549362950144,"km_value":14218549362950.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785606914130419712,"description":"Unknown IO ID 45"} 
[2026-08-21 07:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542652416001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1785606914130419712}} 
[2026-08-21 07:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":158819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:03:55] local.INFO: GPS data processed {"connection_id":158819,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:03:55] local.INFO: Acknowledgment sent {"connection_id":158819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:04:04] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:04:04] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:04:04] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:04:04] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:04:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:04:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:04:04] local.INFO: GPS data processed {"connection_id":159128,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:04:04] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:04:07] local.INFO: TCP Data received {"connection_id":158820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:07] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:07] local.INFO: IMEI packet received {"connection_id":158820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":158820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:04:09] local.INFO: TCP Data received {"connection_id":158820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:09] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:09] local.INFO: IMEI packet received {"connection_id":158820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":158820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:04:12] local.INFO: TCP Data received {"connection_id":158820,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:12] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:04:12] local.INFO: IMEI packet received {"connection_id":158820,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":158820,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:04:13] local.INFO: TCP Data received {"connection_id":158820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f38e88012d7bb1c005bd25a8000c010e26..."} 
[2026-08-21 07:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f38e88012d7bb1c005bd25a8000c010e26..."} 
[2026-08-21 07:04:13] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f38e88012d7bb1c005bd25a8000c010e26..."} 
[2026-08-21 07:04:13] local.INFO: Packet analysis {"connection_id":158820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:04:13] local.INFO: Extracted packet for processing {"connection_id":158820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763081152,"raw_latitude":96282024,"longitude_deg":76.3081152,"latitude_deg":9.6282024,"altitude":12,"angle":270,"satellites":38,"speed":0,"hex_longitude":"2d7bb1c0","hex_latitude":"05bd25a8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542651904001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426134276505600,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913116268423661568,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276005000,"timestamp_ms":1787276005000,"timestamp_seconds":1787276005,"priority":1,"record_length":96,"hex_timestamp":"000001a021f38e88"} 
[2026-08-21 07:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:04: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-08-21 07: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 07:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542651904001,"66":13559,"197":206,"85":12544,"24":0,"16":121426134276505600,"45":8913116268423661568},"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-08-21 07:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542651904001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:04:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426134276505600,"km_value":121426134276505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913116268423661568,"description":"Unknown IO ID 45"} 
[2026-08-21 07:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542651904001,"power":13559,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8913116268423661568}} 
[2026-08-21 07:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":158820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:04:13] local.INFO: GPS data processed {"connection_id":158820,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:04:13] local.INFO: Acknowledgment sent {"connection_id":158820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:04:18] local.INFO: TCP Data received {"connection_id":158821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:18] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:18] local.INFO: IMEI packet received {"connection_id":158821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":158821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:04:19] local.INFO: TCP Data received {"connection_id":158821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:19] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:19] local.INFO: IMEI packet received {"connection_id":158821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":158821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:04:23] local.INFO: TCP Data received {"connection_id":158821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:23] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:04:23] local.INFO: IMEI packet received {"connection_id":158821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":158821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:04:24] local.INFO: TCP Data received {"connection_id":158821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f35bc0012d18d28007212640004200ab2b..."} 
[2026-08-21 07:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f35bc0012d18d28007212640004200ab2b..."} 
[2026-08-21 07:04:24] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f35bc0012d18d28007212640004200ab2b..."} 
[2026-08-21 07:04:24] local.INFO: Packet analysis {"connection_id":158821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:04:24] local.INFO: Extracted packet for processing {"connection_id":158821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119612992,"longitude_deg":75.6601472,"latitude_deg":11.9612992,"altitude":66,"angle":171,"satellites":43,"speed":37,"hex_longitude":"2d18d280","hex_latitude":"07212640","is_valid_coordinates":true} 
[2026-08-21 07:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542653696001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14218596607590400,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788421663896492032,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04: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-08-21 07:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787275992000,"timestamp_ms":1787275992000,"timestamp_seconds":1787275992,"priority":1,"record_length":96,"hex_timestamp":"000001a021f35bc0"} 
[2026-08-21 07:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 07:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542653696001,"66":12917,"103":206,"83":41984,"24":37,"16":14218596607590400,"45":1788421663896492032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542653696001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:04:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14218596607590400,"km_value":14218596607590.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788421663896492032,"description":"Unknown IO ID 45"} 
[2026-08-21 07:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542653696001,"power":12917,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788421663896492032}} 
[2026-08-21 07:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":158821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:04:24] local.INFO: GPS data processed {"connection_id":158821,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:04:24] local.INFO: Acknowledgment sent {"connection_id":158821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:04:26] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:04:26] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:04:26] local.INFO: IMEI packet received {"connection_id":159129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":159129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:04:32] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:04:32] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:04:32] local.INFO: IMEI packet received {"connection_id":159129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":159129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:04:33] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:04:33] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:04:33] local.INFO: Packet analysis {"connection_id":159129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:04:33] local.INFO: Extracted packet for processing {"connection_id":159129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:04:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:04:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":159129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:04:33] local.INFO: GPS data processed {"connection_id":159129,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:04:33] local.INFO: Acknowledgment sent {"connection_id":159129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:04:44] local.INFO: TCP Data received {"connection_id":158820,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f3e090012d7bb1c005bd25a8000c010e25..."} 
[2026-08-21 07:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f3e090012d7bb1c005bd25a8000c010e25..."} 
[2026-08-21 07:04:44] local.INFO: Processing buffer {"connection_id":158820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f3e090012d7bb1c005bd25a8000c010e25..."} 
[2026-08-21 07:04:44] local.INFO: Packet analysis {"connection_id":158820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:04:44] local.INFO: Extracted packet for processing {"connection_id":158820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f3"} 
[2026-08-21 07:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763081152,"raw_latitude":96282024,"longitude_deg":76.3081152,"latitude_deg":9.6282024,"altitude":12,"angle":270,"satellites":37,"speed":0,"hex_longitude":"2d7bb1c0","hex_latitude":"05bd25a8","is_valid_coordinates":true} 
[2026-08-21 07:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542657280001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426134276505600,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913116268423653376,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787276026000,"timestamp_ms":1787276026000,"timestamp_seconds":1787276026,"priority":1,"record_length":96,"hex_timestamp":"000001a021f3e090"} 
[2026-08-21 07:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-21 07:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158820,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542657280001,"66":13450,"197":206,"85":12544,"24":0,"16":121426134276505600,"45":8913116268423653376},"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-08-21 07:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542657280001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:04:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:04:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426134276505600,"km_value":121426134276505.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913116268423653376,"description":"Unknown IO ID 45"} 
[2026-08-21 07:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542657280001,"power":13450,"unknown_197":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":8913116268423653376}} 
[2026-08-21 07:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":158820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673974,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:04:44] local.INFO: GPS data processed {"connection_id":158820,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:04:44] local.INFO: Acknowledgment sent {"connection_id":158820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:04:56] local.INFO: TCP Data received {"connection_id":158821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f41740012d195a400720abf8003200552a..."} 
[2026-08-21 07:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f41740012d195a400720abf8003200552a..."} 
[2026-08-21 07:04:56] local.INFO: Processing buffer {"connection_id":158821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f41740012d195a400720abf8003200552a..."} 
[2026-08-21 07:04:56] local.INFO: Packet analysis {"connection_id":158821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:04:56] local.INFO: Extracted packet for processing {"connection_id":158821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756636224,"raw_latitude":119581688,"longitude_deg":75.6636224,"latitude_deg":11.9581688,"altitude":50,"angle":85,"satellites":42,"speed":31,"hex_longitude":"2d195a40","hex_latitude":"0720abf8","is_valid_coordinates":true} 
[2026-08-21 07:04:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542665472001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14221057623851008,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823957879697960960,"note":"Value kept but may cause issues"} 
[2026-08-21 07:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787276040000,"timestamp_ms":1787276040000,"timestamp_seconds":1787276040,"priority":1,"record_length":96,"hex_timestamp":"000001a021f41740"} 
[2026-08-21 07:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-21 07:04: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-08-21 07:04:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":158821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":158821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":158821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542665472001,"66":14265,"103":206,"83":41984,"24":31,"16":14221057623851008,"45":1823957879697960960},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542665472001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:04:56] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:04:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14221057623851008,"km_value":14221057623851.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823957879697960960,"description":"Unknown IO ID 45"} 
[2026-08-21 07:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542665472001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1823957879697960960}} 
[2026-08-21 07:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":158821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:04:56] local.INFO: GPS data processed {"connection_id":158821,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:04:56] local.INFO: Acknowledgment sent {"connection_id":158821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:05:04] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:05:04] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:05:04] local.INFO: Packet analysis {"connection_id":159129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:05:04] local.INFO: Extracted packet for processing {"connection_id":159129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:05:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:05:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:05:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":159129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:05:04] local.INFO: GPS data processed {"connection_id":159129,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:05:04] local.INFO: Acknowledgment sent {"connection_id":159129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:05:07] local.INFO: TCP Data received {"connection_id":158822,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:05:07] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:05:07] local.INFO: IMEI packet received {"connection_id":158822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":158822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:05:12] local.INFO: TCP Data received {"connection_id":158822,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:05:12] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:05:12] local.INFO: IMEI packet received {"connection_id":158822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":158822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:05:13] local.INFO: TCP Data received {"connection_id":158822,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f43298012d7bac4005bd2500000c010d28..."} 
[2026-08-21 07:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f43298012d7bac4005bd2500000c010d28..."} 
[2026-08-21 07:05:13] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f43298012d7bac4005bd2500000c010d28..."} 
[2026-08-21 07:05:13] local.INFO: Packet analysis {"connection_id":158822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:05:13] local.INFO: Extracted packet for processing {"connection_id":158822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763079744,"raw_latitude":96281856,"longitude_deg":76.3079744,"latitude_deg":9.6281856,"altitude":12,"angle":269,"satellites":40,"speed":11,"hex_longitude":"2d7bac40","hex_latitude":"05bd2500","is_valid_coordinates":true} 
[2026-08-21 07:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542662656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426202995982336,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913116268423653376,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276047000,"timestamp_ms":1787276047000,"timestamp_seconds":1787276047,"priority":1,"record_length":96,"hex_timestamp":"000001a021f43298"} 
[2026-08-21 07:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 07:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542662656001,"66":12667,"197":206,"85":12544,"24":11,"16":121426202995982336,"45":8913116268423653376},"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-08-21 07:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542662656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:05:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426202995982336,"km_value":121426202995982.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913116268423653376,"description":"Unknown IO ID 45"} 
[2026-08-21 07:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542662656001,"power":12667,"unknown_197":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":8913116268423653376}} 
[2026-08-21 07:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":158822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:05:13] local.INFO: GPS data processed {"connection_id":158822,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:05:13] local.INFO: Acknowledgment sent {"connection_id":158822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:05:18] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:18] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:18] local.INFO: IMEI packet received {"connection_id":161353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":161353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:05:21] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:21] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:21] local.INFO: IMEI packet received {"connection_id":161353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":161353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:05:23] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:23] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:05:23] local.INFO: IMEI packet received {"connection_id":161353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":161353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:05:24] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f43298012d196c400720adb00034004929..."} 
[2026-08-21 07:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f43298012d196c400720adb00034004929..."} 
[2026-08-21 07:05:24] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f43298012d196c400720adb00034004929..."} 
[2026-08-21 07:05:24] local.INFO: Packet analysis {"connection_id":161353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:05:24] local.INFO: Extracted packet for processing {"connection_id":161353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119582128,"longitude_deg":75.6640832,"latitude_deg":11.9582128,"altitude":52,"angle":73,"satellites":41,"speed":26,"hex_longitude":"2d196c40","hex_latitude":"0720adb0","is_valid_coordinates":true} 
[2026-08-21 07:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542666240001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14221280962150400,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998209247232,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05: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-08-21 07:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276047000,"timestamp_ms":1787276047000,"timestamp_seconds":1787276047,"priority":1,"record_length":96,"hex_timestamp":"000001a021f43298"} 
[2026-08-21 07:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 07:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542666240001,"66":14243,"103":206,"83":41984,"24":26,"16":14221280962150400,"45":1826842998209247232},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542666240001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:05:24] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14221280962150400,"km_value":14221280962150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998209247232,"description":"Unknown IO ID 45"} 
[2026-08-21 07:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542666240001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1826842998209247232}} 
[2026-08-21 07:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":161353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:05:24] local.INFO: GPS data processed {"connection_id":161353,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:05:24] local.INFO: Acknowledgment sent {"connection_id":161353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:05:26] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:05:26] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:05:26] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:05:32] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:05:32] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:05:32] local.INFO: IMEI packet received {"connection_id":159979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":159979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:05:32] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:05:32] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:05:32] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:05:32] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:05:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:05:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:05:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:05:32] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:05:32] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:05:44] local.INFO: TCP Data received {"connection_id":158822,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f47cd0012d7b894005bd2410000a010c28..."} 
[2026-08-21 07:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f47cd0012d7b894005bd2410000a010c28..."} 
[2026-08-21 07:05:44] local.INFO: Processing buffer {"connection_id":158822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f47cd0012d7b894005bd2410000a010c28..."} 
[2026-08-21 07:05:44] local.INFO: Packet analysis {"connection_id":158822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:05:44] local.INFO: Extracted packet for processing {"connection_id":158822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763070784,"raw_latitude":96281616,"longitude_deg":76.3070784,"latitude_deg":9.6281616,"altitude":10,"angle":268,"satellites":40,"speed":19,"hex_longitude":"2d7b8940","hex_latitude":"05bd2410","is_valid_coordinates":true} 
[2026-08-21 07:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542668032001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426632492711936,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911568156051701760,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787276066000,"timestamp_ms":1787276066000,"timestamp_seconds":1787276066,"priority":1,"record_length":96,"hex_timestamp":"000001a021f47cd0"} 
[2026-08-21 07:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:05: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-08-21 07:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 07:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542668032001,"66":13646,"197":206,"85":12544,"24":19,"16":121426632492711936,"45":8911568156051701760},"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-08-21 07:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542668032001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:05:44] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:05:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426632492711936,"km_value":121426632492711.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911568156051701760,"description":"Unknown IO ID 45"} 
[2026-08-21 07:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542668032001,"power":13646,"unknown_197":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":8911568156051701760}} 
[2026-08-21 07:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":158822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673980,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:05:44] local.INFO: GPS data processed {"connection_id":158822,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:05:44] local.INFO: Acknowledgment sent {"connection_id":158822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:05:54] local.INFO: TCP Data received {"connection_id":161353,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f520e0012d19ad8007209260003200c72b..."} 
[2026-08-21 07:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f520e0012d19ad8007209260003200c72b..."} 
[2026-08-21 07:05:54] local.INFO: Processing buffer {"connection_id":161353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f520e0012d19ad8007209260003200c72b..."} 
[2026-08-21 07:05:54] local.INFO: Packet analysis {"connection_id":161353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:05:54] local.INFO: Extracted packet for processing {"connection_id":161353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:05:54] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119575136,"longitude_deg":75.6657536,"latitude_deg":11.9575136,"altitude":50,"angle":199,"satellites":43,"speed":26,"hex_longitude":"2d19ad80","hex_latitude":"07209260","is_valid_coordinates":true} 
[2026-08-21 07:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542681856001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14222616696979456,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996081664,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787276108000,"timestamp_ms":1787276108000,"timestamp_seconds":1787276108,"priority":1,"record_length":96,"hex_timestamp":"000001a021f520e0"} 
[2026-08-21 07:05:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:05:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249794632499901352,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4109756417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-5543930892178674432,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221692586,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2266103808,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57834754016170916,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":244,"raw_value":-4667979720554676217,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":21,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 07:05:54] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,135,160,1,45,128,163,51,42,10,66,253,64,165,44,249,240,180,227,33,32,4,113,205,19,242,185,239,54,2,50,7,55,25,22,244,21,120,58],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 07:05:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675180468394196992,"timestamp_seconds":3675180468394197.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:05:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542681856001,"66":14102,"103":206,"83":41984,"24":26,"16":14222616696979456,"45":1853583120996081664},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542681856001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:05:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:05:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14222616696979456,"km_value":14222616696979.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996081664,"description":"Unknown IO ID 45"} 
[2026-08-21 07:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542681856001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1853583120996081664}} 
[2026-08-21 07:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":161353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:05:55] local.INFO: GPS data processed {"connection_id":161353,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:05:55] local.INFO: Acknowledgment sent {"connection_id":161353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:04] local.INFO: TCP Data received {"connection_id":159979,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:04] local.INFO: Processing buffer {"connection_id":159979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:04] local.INFO: Packet analysis {"connection_id":159979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:06:04] local.INFO: Extracted packet for processing {"connection_id":159979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:06:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 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-08-21 07:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:06:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":159979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:04] local.INFO: GPS data processed {"connection_id":159979,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:04] local.INFO: Acknowledgment sent {"connection_id":159979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:07] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:07] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:07] local.INFO: IMEI packet received {"connection_id":161354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":161354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:06:07] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:07] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:07] local.INFO: IMEI packet received {"connection_id":161354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":161354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:06:12] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:12] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:06:12] local.INFO: IMEI packet received {"connection_id":161354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":161354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:06:12] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f48888012d7b830005bd2280000900fe28..."} 
[2026-08-21 07:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f48888012d7b830005bd2280000900fe28..."} 
[2026-08-21 07:06:12] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f48888012d7b830005bd2280000900fe28..."} 
[2026-08-21 07:06:12] local.INFO: Packet analysis {"connection_id":161354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:06:12] local.INFO: Extracted packet for processing {"connection_id":161354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":96281216,"longitude_deg":76.3069184,"latitude_deg":9.6281216,"altitude":9,"angle":254,"satellites":40,"speed":21,"hex_longitude":"2d7b8300","hex_latitude":"05bd2280","is_valid_coordinates":true} 
[2026-08-21 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542672896001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121426714097090560,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901716531866767360,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787276069000,"timestamp_ms":1787276069000,"timestamp_seconds":1787276069,"priority":1,"record_length":96,"hex_timestamp":"000001a021f48888"} 
[2026-08-21 07:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542672896001,"66":13602,"197":206,"85":12544,"24":21,"16":121426714097090560,"45":8901716531866767360},"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-08-21 07:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542672896001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:06:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121426714097090560,"km_value":121426714097090.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901716531866767360,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542672896001,"power":13602,"unknown_197":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":8901716531866767360}} 
[2026-08-21 07:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":161354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:12] local.INFO: GPS data processed {"connection_id":161354,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:12] local.INFO: Acknowledgment sent {"connection_id":161354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:23] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:23] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:23] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:06:23] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:23] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:23] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:06:28] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:28] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:06:28] local.INFO: IMEI packet received {"connection_id":159980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":159980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:06:29] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":1348,"data_hex":"000000000000030f8e0a000001a021f524c8012d19ad4007208fa0003200b82a..."} 
[2026-08-21 07:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a021f524c8012d19ad4007208fa0003200b82a..."} 
[2026-08-21 07:06:29] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a021f524c8012d19ad4007208fa0003200b82a..."} 
[2026-08-21 07:06:29] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:06:29] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:06:29] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119574432,"longitude_deg":75.6657472,"latitude_deg":11.9574432,"altitude":50,"angle":184,"satellites":42,"speed":29,"hex_longitude":"2d19ad40","hex_latitude":"07208fa0","is_valid_coordinates":true} 
[2026-08-21 07:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542683648001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14222651056717824,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018732032,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787276109000,"timestamp_ms":1787276109000,"timestamp_seconds":1787276109,"priority":1,"record_length":96,"hex_timestamp":"000001a021f524c8"} 
[2026-08-21 07:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:06:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542683648001,"66":14363,"103":206,"83":41984,"24":29,"16":14222651056717824,"45":1850275790018732032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542683648001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:06:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14222651056717824,"km_value":14222651056717.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018732032,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542683648001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850275790018732032}} 
[2026-08-21 07:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:29] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:29] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:29] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:06:29] local.INFO: Incomplete packet, waiting for more data {"connection_id":159980,"needed":795,"available":553} 
[2026-08-21 07:06:30] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":242,"data_hex":"000000000001a021f4f5e8012d19bb000720a8c8003400952c00130000000a00..."} 
[2026-08-21 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":242,"packet_hex":"000000000001a021f4f5e8012d19bb000720a8c8003400952c00130000000a00..."} 
[2026-08-21 07:06:30] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f52c98012d19ae0007208930003100aa2c..."} 
[2026-08-21 07:06:30] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:06:30] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119572784,"longitude_deg":75.6657664,"latitude_deg":11.9572784,"altitude":49,"angle":170,"satellites":44,"speed":36,"hex_longitude":"2d19ae00","hex_latitude":"07208930","is_valid_coordinates":true} 
[2026-08-21 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542683904001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14222732661096448,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274374144,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787276111000,"timestamp_ms":1787276111000,"timestamp_seconds":1787276111,"priority":1,"record_length":96,"hex_timestamp":"000001a021f52c98"} 
[2026-08-21 07:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542683904001,"66":14211,"103":206,"83":41984,"24":36,"16":14222732661096448,"45":1850205421274374144},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542683904001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14222732661096448,"km_value":14222732661096.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274374144,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542683904001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1850205421274374144}} 
[2026-08-21 07:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:30] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:30] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:30] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f54408012d19b480072072b0002d009e2c..."} 
[2026-08-21 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f54408012d19b480072072b0002d009e2c..."} 
[2026-08-21 07:06:30] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f54408012d19b480072072b0002d009e2c..."} 
[2026-08-21 07:06:30] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:06:30] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f5"} 
[2026-08-21 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":756659328,"raw_latitude":119567024,"longitude_deg":75.6659328,"latitude_deg":11.9567024,"altitude":45,"angle":158,"satellites":44,"speed":41,"hex_longitude":"2d19b480","hex_latitude":"072072b0","is_valid_coordinates":true} 
[2026-08-21 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542684416001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14223024718872576,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506485248,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787276117000,"timestamp_ms":1787276117000,"timestamp_seconds":1787276117,"priority":1,"record_length":96,"hex_timestamp":"000001a021f54408"} 
[2026-08-21 07:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542684416001,"66":14396,"103":206,"83":41984,"24":41,"16":14223024718872576,"45":1850416527506485248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 07:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542684416001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14223024718872576,"km_value":14223024718872.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506485248,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542684416001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1850416527506485248}} 
[2026-08-21 07:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:30] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:30] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:32] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:06:32] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:06:32] local.INFO: IMEI packet received {"connection_id":159130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":159130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:06:37] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:06:37] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:06:37] local.INFO: IMEI packet received {"connection_id":159130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":159130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:06:38] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:38] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:38] local.INFO: Packet analysis {"connection_id":159130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:06:38] local.INFO: Extracted packet for processing {"connection_id":159130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:06:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:06:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":159130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:38] local.INFO: GPS data processed {"connection_id":159130,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:38] local.INFO: Acknowledgment sent {"connection_id":159130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:42] local.INFO: TCP Data received {"connection_id":159130,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:42] local.INFO: Processing buffer {"connection_id":159130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:06:42] local.INFO: Packet analysis {"connection_id":159130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:06:42] local.INFO: Extracted packet for processing {"connection_id":159130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:06:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:06:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":159130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:42] local.INFO: GPS data processed {"connection_id":159130,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:42] local.INFO: Acknowledgment sent {"connection_id":159130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:06:43] local.INFO: TCP Data received {"connection_id":161354,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f4bf38012d7b65c005bd18380006010928..."} 
[2026-08-21 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f4bf38012d7b65c005bd18380006010928..."} 
[2026-08-21 07:06:43] local.INFO: Processing buffer {"connection_id":161354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f4bf38012d7b65c005bd18380006010928..."} 
[2026-08-21 07:06:43] local.INFO: Packet analysis {"connection_id":161354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:06:43] local.INFO: Extracted packet for processing {"connection_id":161354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f4"} 
[2026-08-21 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":763061696,"raw_latitude":96278584,"longitude_deg":76.3061696,"latitude_deg":9.6278584,"altitude":6,"angle":265,"satellites":40,"speed":21,"hex_longitude":"2d7b65c0","hex_latitude":"05bd1838","is_valid_coordinates":true} 
[2026-08-21 07:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542673664001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121427092054212608,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957313262223360,"note":"Value kept but may cause issues"} 
[2026-08-21 07:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787276083000,"timestamp_ms":1787276083000,"timestamp_seconds":1787276083,"priority":1,"record_length":96,"hex_timestamp":"000001a021f4bf38"} 
[2026-08-21 07:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-21 07:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542673664001,"66":13613,"197":206,"85":12544,"24":21,"16":121427092054212608,"45":8899957313262223360},"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-08-21 07:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542673664001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121427092054212608,"km_value":121427092054212.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957313262223360,"description":"Unknown IO ID 45"} 
[2026-08-21 07:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542673664001,"power":13613,"unknown_197":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":8899957313262223360}} 
[2026-08-21 07:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":161354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:06:43] local.INFO: GPS data processed {"connection_id":161354,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:06:43] local.INFO: Acknowledgment sent {"connection_id":161354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:07:02] local.INFO: TCP Data received {"connection_id":159980,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f63250012d19df0007200a08002c00b42a..."} 
[2026-08-21 07:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f63250012d19df0007200a08002c00b42a..."} 
[2026-08-21 07:07:02] local.INFO: Processing buffer {"connection_id":159980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f63250012d19df0007200a08002c00b42a..."} 
[2026-08-21 07:07:02] local.INFO: Packet analysis {"connection_id":159980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:02] local.INFO: Extracted packet for processing {"connection_id":159980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756670208,"raw_latitude":119540232,"longitude_deg":75.6670208,"latitude_deg":11.9540232,"altitude":44,"angle":180,"satellites":42,"speed":9,"hex_longitude":"2d19df00","hex_latitude":"07200a08","is_valid_coordinates":true} 
[2026-08-21 07:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542701312001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14224489302720512,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801357035520,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787276178000,"timestamp_ms":1787276178000,"timestamp_seconds":1787276178,"priority":1,"record_length":96,"hex_timestamp":"000001a021f63250"} 
[2026-08-21 07:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542701312001,"66":14515,"101":206,"83":41984,"24":9,"16":14224489302720512,"45":1864208801357035520},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 07:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542701312001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:07:02] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 07:07:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14224489302720512,"km_value":14224489302720.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801357035520,"description":"Unknown IO ID 45"} 
[2026-08-21 07:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542701312001,"power":14515,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1864208801357035520}} 
[2026-08-21 07:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":159980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:07:02] local.INFO: GPS data processed {"connection_id":159980,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:07:02] local.INFO: Acknowledgment sent {"connection_id":159980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:07:07] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:07:07] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:07:07] local.INFO: IMEI packet received {"connection_id":161355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":161355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:07:12] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:07:12] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:07:12] local.INFO: IMEI packet received {"connection_id":161355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":161355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:07:13] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f649c0012d7a69c005bd12b80008015528..."} 
[2026-08-21 07:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f649c0012d7a69c005bd12b80008015528..."} 
[2026-08-21 07:07:13] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f649c0012d7a69c005bd12b80008015528..."} 
[2026-08-21 07:07:13] local.INFO: Packet analysis {"connection_id":161355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:13] local.INFO: Extracted packet for processing {"connection_id":161355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:13] local.INFO: GPS Element Parsed {"raw_longitude":762997184,"raw_latitude":96277176,"longitude_deg":76.2997184,"latitude_deg":9.6277176,"altitude":8,"angle":341,"satellites":40,"speed":5,"hex_longitude":"2d7a69c0","hex_latitude":"05bd12b8","is_valid_coordinates":true} 
[2026-08-21 07:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542702336001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121430197315567616,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821214688526268416,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276184000,"timestamp_ms":1787276184000,"timestamp_seconds":1787276184,"priority":1,"record_length":96,"hex_timestamp":"000001a021f649c0"} 
[2026-08-21 07:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 07:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542702336001,"66":13406,"7":206,"85":12544,"24":5,"16":121430197315567616,"45":8821214688526268416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-21 07:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542702336001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:07:13] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 07:07:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121430197315567616,"km_value":121430197315567.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821214688526268416,"description":"Unknown IO ID 45"} 
[2026-08-21 07:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542702336001,"power":13406,"unknown_7":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":8821214688526268416}} 
[2026-08-21 07:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":161355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673991,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:07:13] local.INFO: GPS data processed {"connection_id":161355,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:07:13] local.INFO: Acknowledgment sent {"connection_id":161355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:07:18] local.INFO: TCP Data received {"connection_id":158823,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:18] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:18] local.INFO: IMEI packet received {"connection_id":158823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":158823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:07:19] local.INFO: TCP Data received {"connection_id":158823,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:19] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:19] local.INFO: IMEI packet received {"connection_id":158823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":158823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:07:23] local.INFO: TCP Data received {"connection_id":158823,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:23] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:07:23] local.INFO: IMEI packet received {"connection_id":158823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":158823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:07:24] local.INFO: TCP Data received {"connection_id":158823,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f63638012d19dec007200910002c00cd2a..."} 
[2026-08-21 07:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f63638012d19dec007200910002c00cd2a..."} 
[2026-08-21 07:07:24] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f63638012d19dec007200910002c00cd2a..."} 
[2026-08-21 07:07:24] local.INFO: Packet analysis {"connection_id":158823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:24] local.INFO: Extracted packet for processing {"connection_id":158823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119539984,"longitude_deg":75.6670144,"latitude_deg":11.9539984,"altitude":44,"angle":205,"satellites":42,"speed":11,"hex_longitude":"2d19dec0","hex_latitude":"07200910","is_valid_coordinates":true} 
[2026-08-21 07:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542701568001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14224502187622400,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864208801356974080,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276179000,"timestamp_ms":1787276179000,"timestamp_seconds":1787276179,"priority":1,"record_length":96,"hex_timestamp":"000001a021f63638"} 
[2026-08-21 07:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542701568001,"66":14483,"101":206,"83":41984,"24":11,"16":14224502187622400,"45":1864208801356974080},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 07:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542701568001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:07:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 07:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14224502187622400,"km_value":14224502187622.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864208801356974080,"description":"Unknown IO ID 45"} 
[2026-08-21 07:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542701568001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1864208801356974080}} 
[2026-08-21 07:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":158823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:07:24] local.INFO: GPS data processed {"connection_id":158823,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:07:24] local.INFO: Acknowledgment sent {"connection_id":158823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:07:27] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:07:27] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:07:27] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:07:32] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:07:32] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:07:32] local.INFO: IMEI packet received {"connection_id":159981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":159981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:07:33] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:07:33] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:07:33] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:07:33] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:07:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:07:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:07:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:07:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:07:33] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:07:33] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:07:44] local.INFO: TCP Data received {"connection_id":161355,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f69bc8012d7a694005bd14d80007016628..."} 
[2026-08-21 07:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f69bc8012d7a694005bd14d80007016628..."} 
[2026-08-21 07:07:44] local.INFO: Processing buffer {"connection_id":161355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f69bc8012d7a694005bd14d80007016628..."} 
[2026-08-21 07:07:44] local.INFO: Packet analysis {"connection_id":161355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:44] local.INFO: Extracted packet for processing {"connection_id":161355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:44] local.INFO: GPS Element Parsed {"raw_longitude":762997056,"raw_latitude":96277720,"longitude_deg":76.2997056,"latitude_deg":9.627772,"altitude":7,"angle":358,"satellites":40,"speed":4,"hex_longitude":"2d7a6940","hex_latitude":"05bd14d8","is_valid_coordinates":true} 
[2026-08-21 07:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542703104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121430231675305984,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820792476061317120,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787276205000,"timestamp_ms":1787276205000,"timestamp_seconds":1787276205,"priority":1,"record_length":96,"hex_timestamp":"000001a021f69bc8"} 
[2026-08-21 07:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 07:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161355,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542703104001,"66":13526,"7":206,"85":12544,"24":4,"16":121430231675305984,"45":8820792476061317120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-21 07:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542703104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:07:44] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 07:07:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121430231675305984,"km_value":121430231675305.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820792476061317120,"description":"Unknown IO ID 45"} 
[2026-08-21 07:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542703104001,"power":13526,"unknown_7":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":8820792476061317120}} 
[2026-08-21 07:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":161355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:07:44] local.INFO: GPS data processed {"connection_id":161355,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:07:44] local.INFO: Acknowledgment sent {"connection_id":161355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:07:55] local.INFO: TCP Data received {"connection_id":158823,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f6da48012d19a000071fefb0003801022c..."} 
[2026-08-21 07:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f6da48012d19a000071fefb0003801022c..."} 
[2026-08-21 07:07:55] local.INFO: Processing buffer {"connection_id":158823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f6da48012d19a000071fefb0003801022c..."} 
[2026-08-21 07:07:55] local.INFO: Packet analysis {"connection_id":158823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:55] local.INFO: Extracted packet for processing {"connection_id":158823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756654080,"raw_latitude":119533488,"longitude_deg":75.665408,"latitude_deg":11.9533488,"altitude":56,"angle":258,"satellites":44,"speed":13,"hex_longitude":"2d19a000","hex_latitude":"071fefb0","is_valid_coordinates":true} 
[2026-08-21 07:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542712064001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14225412720689152,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775959040,"note":"Value kept but may cause issues"} 
[2026-08-21 07:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276221000,"timestamp_ms":1787276221000,"timestamp_seconds":1787276221,"priority":1,"record_length":96,"hex_timestamp":"000001a021f6da48"} 
[2026-08-21 07:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 07:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542712064001,"66":14461,"102":206,"83":41984,"24":13,"16":14225412720689152,"45":1847038827775959040},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542712064001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:07:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14225412720689152,"km_value":14225412720689.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775959040,"description":"Unknown IO ID 45"} 
[2026-08-21 07:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542712064001,"power":14461,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1847038827775959040}} 
[2026-08-21 07:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":158823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:07:55] local.INFO: GPS data processed {"connection_id":158823,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:07:55] local.INFO: Acknowledgment sent {"connection_id":158823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:08:04] local.INFO: TCP Data received {"connection_id":159981,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:08:04] local.INFO: Processing buffer {"connection_id":159981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f2bf80012da67700054b3710001c005f2f..."} 
[2026-08-21 07:08:04] local.INFO: Packet analysis {"connection_id":159981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:08:04] local.INFO: Extracted packet for processing {"connection_id":159981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f2"} 
[2026-08-21 07:08:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787275952000,"timestamp_ms":1787275952000,"timestamp_seconds":1787275952,"priority":1,"record_length":96,"hex_timestamp":"000001a021f2bf80"} 
[2026-08-21 07:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542566656001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:08:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:08:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542566656001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":159981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:08:04] local.INFO: GPS data processed {"connection_id":159981,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:08:04] local.INFO: Acknowledgment sent {"connection_id":159981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:08:12] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:08:12] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:08:12] local.INFO: IMEI packet received {"connection_id":161356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":161356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:08:14] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:08:14] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:08:14] local.INFO: IMEI packet received {"connection_id":161356,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":161356,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:08:15] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:15] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:15] local.INFO: IMEI packet received {"connection_id":161357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":161357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:08:16] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:16] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:16] local.INFO: IMEI packet received {"connection_id":161357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":161357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:08:18] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:18] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:18] local.INFO: IMEI packet received {"connection_id":161357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":161357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:08:23] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:23] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:08:23] local.INFO: IMEI packet received {"connection_id":161357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":161357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:08:24] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f6de30012d199e80071fefc0003801112c..."} 
[2026-08-21 07:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f6de30012d199e80071fefc0003801112c..."} 
[2026-08-21 07:08:24] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f6de30012d199e80071fefc0003801112c..."} 
[2026-08-21 07:08:24] local.INFO: Packet analysis {"connection_id":161357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:08:24] local.INFO: Extracted packet for processing {"connection_id":161357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756653696,"raw_latitude":119533504,"longitude_deg":75.6653696,"latitude_deg":11.9533504,"altitude":56,"angle":273,"satellites":44,"speed":15,"hex_longitude":"2d199e80","hex_latitude":"071fefc0","is_valid_coordinates":true} 
[2026-08-21 07:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542712576001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14225429900558336,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846475877822476288,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08: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-08-21 07:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276222000,"timestamp_ms":1787276222000,"timestamp_seconds":1787276222,"priority":1,"record_length":96,"hex_timestamp":"000001a021f6de30"} 
[2026-08-21 07:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 07:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542712576001,"66":14461,"102":206,"83":41984,"24":15,"16":14225429900558336,"45":1846475877822476288},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542712576001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14225429900558336,"km_value":14225429900558.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846475877822476288,"description":"Unknown IO ID 45"} 
[2026-08-21 07:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542712576001,"power":14461,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846475877822476288}} 
[2026-08-21 07:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":161357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:08:24] local.INFO: GPS data processed {"connection_id":161357,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:08:24] local.INFO: Acknowledgment sent {"connection_id":161357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:08:26] local.INFO: TCP Data received {"connection_id":158824,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:08:26] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:08:26] local.INFO: IMEI packet received {"connection_id":158824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":158824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:08:32] local.INFO: TCP Data received {"connection_id":158824,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:08:32] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:08:32] local.INFO: IMEI packet received {"connection_id":158824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":158824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:08:33] local.INFO: TCP Data received {"connection_id":158824,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:08:33] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:08:33] local.INFO: Packet analysis {"connection_id":158824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:08:33] local.INFO: Extracted packet for processing {"connection_id":158824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:08:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:08:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:08:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":158824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:08:33] local.INFO: GPS data processed {"connection_id":158824,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:08:33] local.INFO: Acknowledgment sent {"connection_id":158824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:08:47] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f69bc8012d7a694005bd14d80007016628..."} 
[2026-08-21 07:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f69bc8012d7a694005bd14d80007016628..."} 
[2026-08-21 07:08:47] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f69bc8012d7a694005bd14d80007016628..."} 
[2026-08-21 07:08:47] local.INFO: Packet analysis {"connection_id":161356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:08:47] local.INFO: Extracted packet for processing {"connection_id":161356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:08:47] local.INFO: GPS Element Parsed {"raw_longitude":762997056,"raw_latitude":96277720,"longitude_deg":76.2997056,"latitude_deg":9.627772,"altitude":7,"angle":358,"satellites":40,"speed":4,"hex_longitude":"2d7a6940","hex_latitude":"05bd14d8","is_valid_coordinates":true} 
[2026-08-21 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542708480001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121430231675305984,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820651738573101056,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787276205000,"timestamp_ms":1787276205000,"timestamp_seconds":1787276205,"priority":1,"record_length":96,"hex_timestamp":"000001a021f69bc8"} 
[2026-08-21 07:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:08: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-08-21 07:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 07:08:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542708480001,"66":13526,"7":206,"85":12544,"24":4,"16":121430231675305984,"45":8820651738573101056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-21 07:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542708480001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:08:47] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 07:08:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121430231675305984,"km_value":121430231675305.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820651738573101056,"description":"Unknown IO ID 45"} 
[2026-08-21 07:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542708480001,"power":13526,"unknown_7":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":8820651738573101056}} 
[2026-08-21 07:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":161356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":673999,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:08:47] local.INFO: GPS data processed {"connection_id":161356,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:08:47] local.INFO: Acknowledgment sent {"connection_id":161356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:08:49] local.INFO: TCP Data received {"connection_id":161356,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f6e218012d7a648005bd3928000a016228..."} 
[2026-08-21 07:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f6e218012d7a648005bd3928000a016228..."} 
[2026-08-21 07:08:49] local.INFO: Processing buffer {"connection_id":161356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f6e218012d7a648005bd3928000a016228..."} 
[2026-08-21 07:08:49] local.INFO: Packet analysis {"connection_id":161356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:08:49] local.INFO: Extracted packet for processing {"connection_id":161356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f6"} 
[2026-08-21 07:08:49] local.INFO: GPS Element Parsed {"raw_longitude":762995840,"raw_latitude":96287016,"longitude_deg":76.299584,"latitude_deg":9.6287016,"altitude":10,"angle":354,"satellites":40,"speed":31,"hex_longitude":"2d7a6480","hex_latitude":"05bd3928","is_valid_coordinates":true} 
[2026-08-21 07:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542708480001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121430686941839360,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820651738573101056,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787276223000,"timestamp_ms":1787276223000,"timestamp_seconds":1787276223,"priority":1,"record_length":96,"hex_timestamp":"000001a021f6e218"} 
[2026-08-21 07:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 07:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161356,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542708480001,"66":13787,"7":206,"85":12544,"24":31,"16":121430686941839360,"45":8820651738573101056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-21 07:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542708480001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:08:49] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 07:08:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121430686941839360,"km_value":121430686941839.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820651738573101056,"description":"Unknown IO ID 45"} 
[2026-08-21 07:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542708480001,"power":13787,"unknown_7":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":8820651738573101056}} 
[2026-08-21 07:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":161356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:08:49] local.INFO: GPS data processed {"connection_id":161356,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:08:49] local.INFO: Acknowledgment sent {"connection_id":161356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:08:55] local.INFO: TCP Data received {"connection_id":161357,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f710f8012d1987c0071ff120003b01062b..."} 
[2026-08-21 07:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f710f8012d1987c0071ff120003b01062b..."} 
[2026-08-21 07:08:55] local.INFO: Processing buffer {"connection_id":161357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f710f8012d1987c0071ff120003b01062b..."} 
[2026-08-21 07:08:55] local.INFO: Packet analysis {"connection_id":161357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:08:55] local.INFO: Extracted packet for processing {"connection_id":161357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756647872,"raw_latitude":119533856,"longitude_deg":75.6647872,"latitude_deg":11.9533856,"altitude":59,"angle":262,"satellites":43,"speed":19,"hex_longitude":"2d1987c0","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542712832001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14225709073432576,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846053665357414400,"note":"Value kept but may cause issues"} 
[2026-08-21 07:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276235000,"timestamp_ms":1787276235000,"timestamp_seconds":1787276235,"priority":1,"record_length":96,"hex_timestamp":"000001a021f710f8"} 
[2026-08-21 07:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 07:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542712832001,"66":14113,"102":206,"83":41984,"24":19,"16":14225709073432576,"45":1846053665357414400},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542712832001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14225709073432576,"km_value":14225709073432.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846053665357414400,"description":"Unknown IO ID 45"} 
[2026-08-21 07:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542712832001,"power":14113,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1846053665357414400}} 
[2026-08-21 07:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":161357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:08:56] local.INFO: GPS data processed {"connection_id":161357,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:08:56] local.INFO: Acknowledgment sent {"connection_id":161357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:09:04] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:04] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:04] local.INFO: IMEI packet received {"connection_id":159131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":159131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:09:04] local.INFO: TCP Data received {"connection_id":158824,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:09:04] local.INFO: Processing buffer {"connection_id":158824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:09:04] local.INFO: Packet analysis {"connection_id":158824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:04] local.INFO: Extracted packet for processing {"connection_id":158824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:09:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:09:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":158824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:09:04] local.INFO: GPS data processed {"connection_id":158824,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:09:04] local.INFO: Acknowledgment sent {"connection_id":158824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:09:07] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:07] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:07] local.INFO: IMEI packet received {"connection_id":159131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":159131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:09:12] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:12] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:09:12] local.INFO: IMEI packet received {"connection_id":159131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":159131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:09:13] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f85918012d7a440005beadd80004016728..."} 
[2026-08-21 07:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f85918012d7a440005beadd80004016728..."} 
[2026-08-21 07:09:13] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f85918012d7a440005beadd80004016728..."} 
[2026-08-21 07:09:13] local.INFO: Packet analysis {"connection_id":159131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:09:13] local.INFO: Extracted packet for processing {"connection_id":159131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:09:13] local.INFO: GPS Element Parsed {"raw_longitude":762987520,"raw_latitude":96382424,"longitude_deg":76.298752,"latitude_deg":9.6382424,"altitude":4,"angle":359,"satellites":40,"speed":40,"hex_longitude":"2d7a4400","hex_latitude":"05beadd8","is_valid_coordinates":true} 
[2026-08-21 07:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542736640001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121435355571290112,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810026058228115456,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276319000,"timestamp_ms":1787276319000,"timestamp_seconds":1787276319,"priority":1,"record_length":96,"hex_timestamp":"000001a021f85918"} 
[2026-08-21 07:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-21 07:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542736640001,"66":13646,"7":206,"85":12544,"24":40,"16":121435355571290112,"45":8810026058228115456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-21 07:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542736640001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:09:13] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 07:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121435355571290112,"km_value":121435355571290.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810026058228115456,"description":"Unknown IO ID 45"} 
[2026-08-21 07:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542736640001,"power":13646,"unknown_7":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":8810026058228115456}} 
[2026-08-21 07:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":159131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:09:13] local.INFO: GPS data processed {"connection_id":159131,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:09:13] local.INFO: Acknowledgment sent {"connection_id":159131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:09:18] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:09:18] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:09:18] local.INFO: IMEI packet received {"connection_id":159132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":159132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:09:23] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:09:23] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:09:23] local.INFO: IMEI packet received {"connection_id":159132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":159132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:09:24] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f718c8012d198440071fefe0003b00f02b..."} 
[2026-08-21 07:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f718c8012d198440071fefe0003b00f02b..."} 
[2026-08-21 07:09:24] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f718c8012d198440071fefe0003b00f02b..."} 
[2026-08-21 07:09:24] local.INFO: Packet analysis {"connection_id":159132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:24] local.INFO: Extracted packet for processing {"connection_id":159132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756646976,"raw_latitude":119533536,"longitude_deg":75.6646976,"latitude_deg":11.9533536,"altitude":59,"angle":240,"satellites":43,"speed":19,"hex_longitude":"2d198440","hex_latitude":"071fefe0","is_valid_coordinates":true} 
[2026-08-21 07:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542716160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14225756318072832,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839650109637337088,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276237000,"timestamp_ms":1787276237000,"timestamp_seconds":1787276237,"priority":1,"record_length":96,"hex_timestamp":"000001a021f718c8"} 
[2026-08-21 07:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 07:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542716160001,"66":13048,"102":206,"83":41984,"24":19,"16":14225756318072832,"45":1839650109637337088},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542716160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14225756318072832,"km_value":14225756318072.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839650109637337088,"description":"Unknown IO ID 45"} 
[2026-08-21 07:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542716160001,"power":13048,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1839650109637337088}} 
[2026-08-21 07:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":159132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:09:24] local.INFO: GPS data processed {"connection_id":159132,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:09:24] local.INFO: Acknowledgment sent {"connection_id":159132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:09:26] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:09:26] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:09:26] local.INFO: IMEI packet received {"connection_id":161358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":161358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:09:32] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:09:32] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:09:32] local.INFO: IMEI packet received {"connection_id":161358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":161358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:09:33] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:09:33] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:09:33] local.INFO: Packet analysis {"connection_id":161358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:33] local.INFO: Extracted packet for processing {"connection_id":161358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:09:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:09:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":161358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:09:33] local.INFO: GPS data processed {"connection_id":161358,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:09:33] local.INFO: Acknowledgment sent {"connection_id":161358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:09:44] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f87858012d7a400005bed0480004016227..."} 
[2026-08-21 07:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f87858012d7a400005bed0480004016227..."} 
[2026-08-21 07:09:44] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f87858012d7a400005bed0480004016227..."} 
[2026-08-21 07:09:44] local.INFO: Packet analysis {"connection_id":159131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:09:44] local.INFO: Extracted packet for processing {"connection_id":159131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:09:44] local.INFO: GPS Element Parsed {"raw_longitude":762986496,"raw_latitude":96391240,"longitude_deg":76.2986496,"latitude_deg":9.639124,"altitude":4,"angle":354,"satellites":39,"speed":48,"hex_longitude":"2d7a4000","hex_latitude":"05bed048","is_valid_coordinates":true} 
[2026-08-21 07:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542737664001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121435789362987008,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810166795717433344,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787276327000,"timestamp_ms":1787276327000,"timestamp_seconds":1787276327,"priority":1,"record_length":96,"hex_timestamp":"000001a021f87858"} 
[2026-08-21 07:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:09: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-08-21 07:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-21 07:09:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542737664001,"66":13602,"7":206,"85":12544,"24":48,"16":121435789362987008,"45":8810166795717433344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,85,24,16,45]} 
[2026-08-21 07:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542737664001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:09:44] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 07:09:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 07:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121435789362987008,"km_value":121435789362987.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810166795717433344,"description":"Unknown IO ID 45"} 
[2026-08-21 07:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542737664001,"power":13602,"unknown_7":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":8810166795717433344}} 
[2026-08-21 07:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":159131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:09:45] local.INFO: GPS data processed {"connection_id":159131,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:09:45] local.INFO: Acknowledgment sent {"connection_id":159131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:09:55] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f72868012d197d80071fec48003b01002b..."} 
[2026-08-21 07:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f72868012d197d80071fec48003b01002b..."} 
[2026-08-21 07:09:55] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f72868012d197d80071fec48003b01002b..."} 
[2026-08-21 07:09:55] local.INFO: Packet analysis {"connection_id":159132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:55] local.INFO: Extracted packet for processing {"connection_id":159132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756645248,"raw_latitude":119532616,"longitude_deg":75.6645248,"latitude_deg":11.9532616,"altitude":59,"angle":256,"satellites":43,"speed":19,"hex_longitude":"2d197d80","hex_latitude":"071fec48","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542716672001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14225846512386048,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838664947218767872,"note":"Value kept but may cause issues"} 
[2026-08-21 07:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276241000,"timestamp_ms":1787276241000,"timestamp_seconds":1787276241,"priority":1,"record_length":96,"hex_timestamp":"000001a021f72868"} 
[2026-08-21 07:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 07:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542716672001,"66":13135,"102":206,"83":41984,"24":19,"16":14225846512386048,"45":1838664947218767872},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542716672001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:09:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14225846512386048,"km_value":14225846512386.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838664947218767872,"description":"Unknown IO ID 45"} 
[2026-08-21 07:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542716672001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1838664947218767872}} 
[2026-08-21 07:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":159132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:09:55] local.INFO: GPS data processed {"connection_id":159132,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:09:55] local.INFO: Acknowledgment sent {"connection_id":159132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:10:04] local.INFO: TCP Data received {"connection_id":161358,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:10:04] local.INFO: Processing buffer {"connection_id":161358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:10:04] local.INFO: Packet analysis {"connection_id":161358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:04] local.INFO: Extracted packet for processing {"connection_id":161358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 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-08-21 07:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":161358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:10:04] local.INFO: GPS data processed {"connection_id":161358,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:10:04] local.INFO: Acknowledgment sent {"connection_id":161358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:10:07] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:07] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:07] local.INFO: IMEI packet received {"connection_id":161359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":161359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:10:08] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:08] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:08] local.INFO: IMEI packet received {"connection_id":161359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":161359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:10:12] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:12] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:10:12] local.INFO: IMEI packet received {"connection_id":161359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":161359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:10:13] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f893b0012d7a3f4005bef4000004000127..."} 
[2026-08-21 07:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f893b0012d7a3f4005bef4000004000127..."} 
[2026-08-21 07:10:13] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f893b0012d7a3f4005bef4000004000127..."} 
[2026-08-21 07:10:13] local.INFO: Packet analysis {"connection_id":161359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:10:13] local.INFO: Extracted packet for processing {"connection_id":161359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:10:13] local.INFO: GPS Element Parsed {"raw_longitude":762986304,"raw_latitude":96400384,"longitude_deg":76.2986304,"latitude_deg":9.6400384,"altitude":4,"angle":1,"satellites":39,"speed":52,"hex_longitude":"2d7a3f40","hex_latitude":"05bef400","is_valid_coordinates":true} 
[2026-08-21 07:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542739712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121436231744618496,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809040895812847616,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276334000,"timestamp_ms":1787276334000,"timestamp_seconds":1787276334,"priority":1,"record_length":96,"hex_timestamp":"000001a021f893b0"} 
[2026-08-21 07:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-21 07:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542739712001,"66":13624,"109":206,"85":12288,"24":52,"16":121436231744618496,"45":8809040895812847616},"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-08-21 07:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542739712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:10:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 07:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121436231744618496,"km_value":121436231744618.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809040895812847616,"description":"Unknown IO ID 45"} 
[2026-08-21 07:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542739712001,"power":13624,"unknown_109":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":8809040895812847616}} 
[2026-08-21 07:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":161359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:10:13] local.INFO: GPS data processed {"connection_id":161359,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:10:13] local.INFO: Acknowledgment sent {"connection_id":161359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:10:17] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f8b2f0012d7a3e0005bf1a600005016227..."} 
[2026-08-21 07:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f8b2f0012d7a3e0005bf1a600005016227..."} 
[2026-08-21 07:10:17] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f8b2f0012d7a3e0005bf1a600005016227..."} 
[2026-08-21 07:10:17] local.INFO: Packet analysis {"connection_id":161359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:10:17] local.INFO: Extracted packet for processing {"connection_id":161359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:10:17] local.INFO: GPS Element Parsed {"raw_longitude":762985984,"raw_latitude":96410208,"longitude_deg":76.2985984,"latitude_deg":9.6410208,"altitude":5,"angle":354,"satellites":39,"speed":46,"hex_longitude":"2d7a3e00","hex_latitude":"05bf1a60","is_valid_coordinates":true} 
[2026-08-21 07:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542741504001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808829789582655488,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121436708485988352,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 07:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787276342000,"timestamp_ms":1787276342000,"timestamp_seconds":1787276342,"priority":1,"record_length":96,"hex_timestamp":"000001a021f8b2f0"} 
[2026-08-21 07:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:10: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-08-21 07:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-21 07:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542741504001,"66":13624,"45":8808829789582655488,"85":12288,"24":46,"16":121436708485988352},"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-08-21 07:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542741504001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808829789582655488,"description":"Unknown IO ID 45"} 
[2026-08-21 07:10:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121436708485988352,"km_value":121436708485988.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:10:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457542741504001,"power":13624,"unknown_45":8808829789582655488,"unknown_85":12288,"ignition":46,"odometer":null}} 
[2026-08-21 07:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":161359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674010,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:10:17] local.INFO: GPS data processed {"connection_id":161359,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:10:17] local.INFO: Acknowledgment sent {"connection_id":161359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:10:18] local.INFO: TCP Data received {"connection_id":158825,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:10:18] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:10:18] local.INFO: IMEI packet received {"connection_id":158825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":158825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:10:23] local.INFO: TCP Data received {"connection_id":158825,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:10:23] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:10:23] local.INFO: IMEI packet received {"connection_id":158825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":158825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:10:24] local.INFO: TCP Data received {"connection_id":158825,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f73420012d197840071febd0003b010d2c..."} 
[2026-08-21 07:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f73420012d197840071febd0003b010d2c..."} 
[2026-08-21 07:10:24] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f73420012d197840071febd0003b010d2c..."} 
[2026-08-21 07:10:24] local.INFO: Packet analysis {"connection_id":158825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:24] local.INFO: Extracted packet for processing {"connection_id":158825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756643904,"raw_latitude":119532496,"longitude_deg":75.6643904,"latitude_deg":11.9532496,"altitude":59,"angle":269,"satellites":44,"speed":17,"hex_longitude":"2d197840","hex_latitude":"071febd0","is_valid_coordinates":true} 
[2026-08-21 07:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542717696001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14225910936895488,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836764991125735424,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276244000,"timestamp_ms":1787276244000,"timestamp_seconds":1787276244,"priority":1,"record_length":96,"hex_timestamp":"000001a021f73420"} 
[2026-08-21 07:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 07:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542717696001,"66":13091,"102":206,"83":41984,"24":17,"16":14225910936895488,"45":1836764991125735424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542717696001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:10:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14225910936895488,"km_value":14225910936895.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836764991125735424,"description":"Unknown IO ID 45"} 
[2026-08-21 07:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542717696001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1836764991125735424}} 
[2026-08-21 07:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":158825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:10:24] local.INFO: GPS data processed {"connection_id":158825,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:10:24] local.INFO: Acknowledgment sent {"connection_id":158825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:10:26] local.INFO: TCP Data received {"connection_id":158826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:10:26] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:10:26] local.INFO: IMEI packet received {"connection_id":158826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":158826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:10:32] local.INFO: TCP Data received {"connection_id":158826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:10:32] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:10:32] local.INFO: IMEI packet received {"connection_id":158826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":158826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:10:33] local.INFO: TCP Data received {"connection_id":158826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:10:33] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:10:33] local.INFO: Packet analysis {"connection_id":158826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:33] local.INFO: Extracted packet for processing {"connection_id":158826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:10:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:10:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":158826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:10:33] local.INFO: GPS data processed {"connection_id":158826,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:10:33] local.INFO: Acknowledgment sent {"connection_id":158826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:10:48] local.INFO: TCP Data received {"connection_id":161359,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f8e1d0012d7a394005bf3d500005015f27..."} 
[2026-08-21 07:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f8e1d0012d7a394005bf3d500005015f27..."} 
[2026-08-21 07:10:48] local.INFO: Processing buffer {"connection_id":161359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f8e1d0012d7a394005bf3d500005015f27..."} 
[2026-08-21 07:10:48] local.INFO: Packet analysis {"connection_id":161359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:10:48] local.INFO: Extracted packet for processing {"connection_id":161359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f8"} 
[2026-08-21 07:10:48] local.INFO: GPS Element Parsed {"raw_longitude":762984768,"raw_latitude":96419152,"longitude_deg":76.2984768,"latitude_deg":9.6419152,"altitude":5,"angle":351,"satellites":39,"speed":8,"hex_longitude":"2d7a3940","hex_latitude":"05bf3d50","is_valid_coordinates":true} 
[2026-08-21 07:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542743552001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808477945864282112,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121437146572652544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 07:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787276354000,"timestamp_ms":1787276354000,"timestamp_seconds":1787276354,"priority":1,"record_length":96,"hex_timestamp":"000001a021f8e1d0"} 
[2026-08-21 07:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:10: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-08-21 07:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-21 07:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542743552001,"66":13472,"45":8808477945864282112,"85":12288,"24":8,"16":121437146572652544},"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-08-21 07:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542743552001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808477945864282112,"description":"Unknown IO ID 45"} 
[2026-08-21 07:10:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121437146572652544,"km_value":121437146572652.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:10:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457542743552001,"power":13472,"unknown_45":8808477945864282112,"unknown_85":12288,"ignition":8,"odometer":null}} 
[2026-08-21 07:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":161359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:10:48] local.INFO: GPS data processed {"connection_id":161359,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:10:48] local.INFO: Acknowledgment sent {"connection_id":161359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:10:55] local.INFO: TCP Data received {"connection_id":158825,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f73fd8012d197280071fec68003a01182c..."} 
[2026-08-21 07:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f73fd8012d197280071fec68003a01182c..."} 
[2026-08-21 07:10:55] local.INFO: Processing buffer {"connection_id":158825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f73fd8012d197280071fec68003a01182c..."} 
[2026-08-21 07:10:55] local.INFO: Packet analysis {"connection_id":158825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:55] local.INFO: Extracted packet for processing {"connection_id":158825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756642432,"raw_latitude":119532648,"longitude_deg":75.6642432,"latitude_deg":11.9532648,"altitude":58,"angle":280,"satellites":44,"speed":16,"hex_longitude":"2d197280","hex_latitude":"071fec68","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542718464001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14225979656372224,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835287247497973760,"note":"Value kept but may cause issues"} 
[2026-08-21 07:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276247000,"timestamp_ms":1787276247000,"timestamp_seconds":1787276247,"priority":1,"record_length":96,"hex_timestamp":"000001a021f73fd8"} 
[2026-08-21 07:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 07:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542718464001,"66":13243,"102":206,"83":41984,"24":16,"16":14225979656372224,"45":1835287247497973760},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542718464001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14225979656372224,"km_value":14225979656372.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835287247497973760,"description":"Unknown IO ID 45"} 
[2026-08-21 07:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542718464001,"power":13243,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1835287247497973760}} 
[2026-08-21 07:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":158825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:10:55] local.INFO: GPS data processed {"connection_id":158825,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:10:55] local.INFO: Acknowledgment sent {"connection_id":158825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:11:04] local.INFO: TCP Data received {"connection_id":158826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:04] local.INFO: Processing buffer {"connection_id":158826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:04] local.INFO: Packet analysis {"connection_id":158826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:11:04] local.INFO: Extracted packet for processing {"connection_id":158826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:11:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:11:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:11:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":158826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:11:04] local.INFO: GPS data processed {"connection_id":158826,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:11:04] local.INFO: Acknowledgment sent {"connection_id":158826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:11:07] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:07] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:07] local.INFO: IMEI packet received {"connection_id":159133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":159133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:11:08] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:08] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:08] local.INFO: IMEI packet received {"connection_id":159133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":159133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:11:12] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:12] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:11:12] local.INFO: IMEI packet received {"connection_id":159133,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":159133,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:11:18] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:11:18] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:11:18] local.INFO: IMEI packet received {"connection_id":161360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":161360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:11:20] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fa2dd8012d7aed4005bf49a00004004f27..."} 
[2026-08-21 07:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fa2dd8012d7aed4005bf49a00004004f27..."} 
[2026-08-21 07:11:20] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fa2dd8012d7aed4005bf49a00004004f27..."} 
[2026-08-21 07:11:20] local.INFO: Packet analysis {"connection_id":159133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:11:20] local.INFO: Extracted packet for processing {"connection_id":159133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:11:20] local.INFO: GPS Element Parsed {"raw_longitude":763030848,"raw_latitude":96422304,"longitude_deg":76.3030848,"latitude_deg":9.6422304,"altitude":4,"angle":79,"satellites":39,"speed":12,"hex_longitude":"2d7aed40","hex_latitude":"05bf49a0","is_valid_coordinates":true} 
[2026-08-21 07:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542767872001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121439388545581056,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857243485582487552,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787276439000,"timestamp_ms":1787276439000,"timestamp_seconds":1787276439,"priority":1,"record_length":96,"hex_timestamp":"000001a021fa2dd8"} 
[2026-08-21 07:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:11: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-08-21 07:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 07:11: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-08-21 07:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:11: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-08-21 07:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542767872001,"66":13646,"44":206,"85":12288,"24":12,"16":121439388545581056,"45":8857243485582487552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-21 07:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542767872001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:11:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-21 07:11:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121439388545581056,"km_value":121439388545581.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857243485582487552,"description":"Unknown IO ID 45"} 
[2026-08-21 07:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542767872001,"power":13646,"unknown_44":206,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":8857243485582487552}} 
[2026-08-21 07:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":159133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:11:20] local.INFO: GPS data processed {"connection_id":159133,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:11:20] local.INFO: Acknowledgment sent {"connection_id":159133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:11:23] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:11:23] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:11:23] local.INFO: IMEI packet received {"connection_id":161360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":161360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:11:24] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f985e0012d196600071ff138003c01442a..."} 
[2026-08-21 07:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f985e0012d196600071ff138003c01442a..."} 
[2026-08-21 07:11:24] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f985e0012d196600071ff138003c01442a..."} 
[2026-08-21 07:11:24] local.INFO: Packet analysis {"connection_id":161360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f9"} 
[2026-08-21 07:11:24] local.INFO: Extracted packet for processing {"connection_id":161360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f9"} 
[2026-08-21 07:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533880,"longitude_deg":75.6639232,"latitude_deg":11.953388,"altitude":60,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff138","is_valid_coordinates":true} 
[2026-08-21 07:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542752000001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226185814802432,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173358592,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11: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-08-21 07:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276396000,"timestamp_ms":1787276396000,"timestamp_seconds":1787276396,"priority":1,"record_length":96,"hex_timestamp":"000001a021f985e0"} 
[2026-08-21 07:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 07:11: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-08-21 07:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542752000001,"66":12461,"102":206,"83":41984,"24":0,"16":14226185814802432,"45":1830150329173358592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542752000001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:11:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226185814802432,"km_value":14226185814802.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173358592,"description":"Unknown IO ID 45"} 
[2026-08-21 07:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542752000001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173358592}} 
[2026-08-21 07:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":161360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:11:24] local.INFO: GPS data processed {"connection_id":161360,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:11:24] local.INFO: Acknowledgment sent {"connection_id":161360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:11:32] local.INFO: TCP Data received {"connection_id":158827,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:11:32] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:11:32] local.INFO: IMEI packet received {"connection_id":158827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":158827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:11:37] local.INFO: TCP Data received {"connection_id":158827,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:11:37] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:11:37] local.INFO: IMEI packet received {"connection_id":158827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":158827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:11:38] local.INFO: TCP Data received {"connection_id":158827,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:38] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:38] local.INFO: Packet analysis {"connection_id":158827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:11:38] local.INFO: Extracted packet for processing {"connection_id":158827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:11:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:11:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:11:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":158827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:11:38] local.INFO: GPS data processed {"connection_id":158827,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:11:38] local.INFO: Acknowledgment sent {"connection_id":158827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:11:42] local.INFO: TCP Data received {"connection_id":158827,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:42] local.INFO: Processing buffer {"connection_id":158827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:11:42] local.INFO: Packet analysis {"connection_id":158827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:11:42] local.INFO: Extracted packet for processing {"connection_id":158827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:11:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:11:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:11:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:11:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:11:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":158827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:11:42] local.INFO: GPS data processed {"connection_id":158827,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:11:42] local.INFO: Acknowledgment sent {"connection_id":158827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:11:51] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fa6c58012d7b104005bf4fb80007005126..."} 
[2026-08-21 07:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fa6c58012d7b104005bf4fb80007005126..."} 
[2026-08-21 07:11:51] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fa6c58012d7b104005bf4fb80007005126..."} 
[2026-08-21 07:11:51] local.INFO: Packet analysis {"connection_id":159133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:11:51] local.INFO: Extracted packet for processing {"connection_id":159133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":763039808,"raw_latitude":96423864,"longitude_deg":76.3039808,"latitude_deg":9.6423864,"altitude":7,"angle":81,"satellites":38,"speed":29,"hex_longitude":"2d7b1040","hex_latitude":"05bf4fb8","is_valid_coordinates":true} 
[2026-08-21 07:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542768384001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121439822337277952,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857806435535921152,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787276455000,"timestamp_ms":1787276455000,"timestamp_seconds":1787276455,"priority":1,"record_length":96,"hex_timestamp":"000001a021fa6c58"} 
[2026-08-21 07:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-08-21 07:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159133,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542768384001,"66":13526,"44":206,"85":12288,"24":29,"16":121439822337277952,"45":8857806435535921152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-21 07:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542768384001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-21 07:11:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121439822337277952,"km_value":121439822337277.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857806435535921152,"description":"Unknown IO ID 45"} 
[2026-08-21 07:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542768384001,"power":13526,"unknown_44":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":8857806435535921152}} 
[2026-08-21 07:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":159133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:11:51] local.INFO: GPS data processed {"connection_id":159133,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:11:51] local.INFO: Acknowledgment sent {"connection_id":159133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:11:55] local.INFO: TCP Data received {"connection_id":161360,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021f9d7e8012d196600071ff138003c01442c..."} 
[2026-08-21 07:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f9d7e8012d196600071ff138003c01442c..."} 
[2026-08-21 07:11:55] local.INFO: Processing buffer {"connection_id":161360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f9d7e8012d196600071ff138003c01442c..."} 
[2026-08-21 07:11:55] local.INFO: Packet analysis {"connection_id":161360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f9"} 
[2026-08-21 07:11:55] local.INFO: Extracted packet for processing {"connection_id":161360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f9"} 
[2026-08-21 07:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533880,"longitude_deg":75.6639232,"latitude_deg":11.953388,"altitude":60,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff138","is_valid_coordinates":true} 
[2026-08-21 07:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542757376001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226185814802432,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173358592,"note":"Value kept but may cause issues"} 
[2026-08-21 07:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276417000,"timestamp_ms":1787276417000,"timestamp_seconds":1787276417,"priority":1,"record_length":96,"hex_timestamp":"000001a021f9d7e8"} 
[2026-08-21 07:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 07:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542757376001,"66":12406,"102":206,"83":41984,"24":0,"16":14226185814802432,"45":1830150329173358592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542757376001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:11:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226185814802432,"km_value":14226185814802.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173358592,"description":"Unknown IO ID 45"} 
[2026-08-21 07:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542757376001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173358592}} 
[2026-08-21 07:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":161360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:11:55] local.INFO: GPS data processed {"connection_id":161360,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:11:55] local.INFO: Acknowledgment sent {"connection_id":161360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:12:06] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:06] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:06] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:12:07] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:07] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:07] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:12:12] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:12] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:12:12] local.INFO: IMEI packet received {"connection_id":159982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":159982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:12:13] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fa9750012d7b35c005bf53880007005727..."} 
[2026-08-21 07:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fa9750012d7b35c005bf53880007005727..."} 
[2026-08-21 07:12:13] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fa9750012d7b35c005bf53880007005727..."} 
[2026-08-21 07:12:13] local.INFO: Packet analysis {"connection_id":159982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:13] local.INFO: Extracted packet for processing {"connection_id":159982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763049408,"raw_latitude":96424840,"longitude_deg":76.3049408,"latitude_deg":9.642484,"altitude":7,"angle":87,"satellites":39,"speed":36,"hex_longitude":"2d7b35c0","hex_latitude":"05bf5388","is_valid_coordinates":true} 
[2026-08-21 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542772480001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121440281898778624,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867658059721193472,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276466000,"timestamp_ms":1787276466000,"timestamp_seconds":1787276466,"priority":1,"record_length":96,"hex_timestamp":"000001a021fa9750"} 
[2026-08-21 07:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 07:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542772480001,"66":13580,"44":206,"85":12288,"24":36,"16":121440281898778624,"45":8867658059721193472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-21 07:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542772480001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-21 07:12:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121440281898778624,"km_value":121440281898778.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867658059721193472,"description":"Unknown IO ID 45"} 
[2026-08-21 07:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542772480001,"power":13580,"unknown_44":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":8867658059721193472}} 
[2026-08-21 07:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":159982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:12:13] local.INFO: GPS data processed {"connection_id":159982,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:12:13] local.INFO: Acknowledgment sent {"connection_id":159982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:12:18] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:18] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:18] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:12:19] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:19] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:19] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:12:23] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:23] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:12:23] local.INFO: IMEI packet received {"connection_id":159983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":159983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:12:24] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fa29f0012d196880071fee98004301442b..."} 
[2026-08-21 07:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fa29f0012d196880071fee98004301442b..."} 
[2026-08-21 07:12:24] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fa29f0012d196880071fee98004301442b..."} 
[2026-08-21 07:12:24] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:24] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542762752001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173358592,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12: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-08-21 07:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276438000,"timestamp_ms":1787276438000,"timestamp_seconds":1787276438,"priority":1,"record_length":96,"hex_timestamp":"000001a021fa29f0"} 
[2026-08-21 07:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 07:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542762752001,"66":12428,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830150329173358592},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542762752001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:12:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173358592,"description":"Unknown IO ID 45"} 
[2026-08-21 07:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542762752001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830150329173358592}} 
[2026-08-21 07:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:12:24] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:12:24] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:12:27] local.INFO: TCP Data received {"connection_id":158828,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:12:27] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:12:27] local.INFO: IMEI packet received {"connection_id":158828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":158828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:12:32] local.INFO: TCP Data received {"connection_id":158828,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:12:32] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:12:32] local.INFO: IMEI packet received {"connection_id":158828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":158828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:12:33] local.INFO: TCP Data received {"connection_id":158828,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:12:33] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:12:33] local.INFO: Packet analysis {"connection_id":158828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:12:33] local.INFO: Extracted packet for processing {"connection_id":158828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:12:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:12:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":158828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:12:33] local.INFO: GPS data processed {"connection_id":158828,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:12:33] local.INFO: Acknowledgment sent {"connection_id":158828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:12:48] local.INFO: TCP Data received {"connection_id":159982,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fac248012d7b59c005bf55500007005623..."} 
[2026-08-21 07:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fac248012d7b59c005bf55500007005623..."} 
[2026-08-21 07:12:48] local.INFO: Processing buffer {"connection_id":159982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fac248012d7b59c005bf55500007005623..."} 
[2026-08-21 07:12:48] local.INFO: Packet analysis {"connection_id":159982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:48] local.INFO: Extracted packet for processing {"connection_id":159982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:48] local.INFO: GPS Element Parsed {"raw_longitude":763058624,"raw_latitude":96425296,"longitude_deg":76.3058624,"latitude_deg":9.6425296,"altitude":7,"angle":86,"satellites":35,"speed":34,"hex_longitude":"2d7b59c0","hex_latitude":"05bf5550","is_valid_coordinates":true} 
[2026-08-21 07:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542775296001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121440724280410112,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878213371348092928,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787276477000,"timestamp_ms":1787276477000,"timestamp_seconds":1787276477,"priority":1,"record_length":96,"hex_timestamp":"000001a021fac248"} 
[2026-08-21 07:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624047,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549775404,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5805269662052646912,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4191420417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2821456078,"corrected_to":0} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":172,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147860295,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2499857832,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-8953149740202590203,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917250648362581,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755549765042417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:48] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,44,85,24,241,157,16,113,160,108,45,64,79,7,38,10,66,112,73,4,39,1,240,220,227,33,191,205,30,172,188,192,239,52,2,175,5,26,122,53,48],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2821456078,"validated":0}]} 
[2026-08-21 07:12:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504498983283195904,"timestamp_seconds":504498983283195.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542775296001,"66":13450,"109":206,"85":12288,"24":34,"16":121440724280410112,"45":8878213371348092928},"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-08-21 07:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542775296001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:12:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 07:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121440724280410112,"km_value":121440724280410.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878213371348092928,"description":"Unknown IO ID 45"} 
[2026-08-21 07:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542775296001,"power":13450,"unknown_109":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":8878213371348092928}} 
[2026-08-21 07:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":159982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:12:48] local.INFO: GPS data processed {"connection_id":159982,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:12:48] local.INFO: Acknowledgment sent {"connection_id":159982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:12:55] local.INFO: TCP Data received {"connection_id":159983,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fa7bf8012d196880071fee98004301442b..."} 
[2026-08-21 07:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fa7bf8012d196880071fee98004301442b..."} 
[2026-08-21 07:12:55] local.INFO: Processing buffer {"connection_id":159983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fa7bf8012d196880071fee98004301442b..."} 
[2026-08-21 07:12:55] local.INFO: Packet analysis {"connection_id":159983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:55] local.INFO: Extracted packet for processing {"connection_id":159983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542768128001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276459000,"timestamp_ms":1787276459000,"timestamp_seconds":1787276459,"priority":1,"record_length":96,"hex_timestamp":"000001a021fa7bf8"} 
[2026-08-21 07:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-21 07:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542768128001,"66":12319,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542768128001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:12:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542768128001,"power":12319,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":159983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:12:55] local.INFO: GPS data processed {"connection_id":159983,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:12:55] local.INFO: Acknowledgment sent {"connection_id":159983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:13:04] local.INFO: TCP Data received {"connection_id":158828,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:13:04] local.INFO: Processing buffer {"connection_id":158828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021f75748012da67700054b3710001c005f30..."} 
[2026-08-21 07:13:04] local.INFO: Packet analysis {"connection_id":158828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:13:04] local.INFO: Extracted packet for processing {"connection_id":158828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021f7"} 
[2026-08-21 07:13:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276253000,"timestamp_ms":1787276253000,"timestamp_seconds":1787276253,"priority":1,"record_length":96,"hex_timestamp":"000001a021f75748"} 
[2026-08-21 07:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 07:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542643712001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:13:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:13:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542643712001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":158828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:13:04] local.INFO: GPS data processed {"connection_id":158828,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:13:04] local.INFO: Acknowledgment sent {"connection_id":158828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:13:07] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:07] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:07] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:13:07] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:07] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:07] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:13:12] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:12] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:13:12] local.INFO: IMEI packet received {"connection_id":159984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":159984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:13:13] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fc21d8012d7c6e0005bf7d480009004b26..."} 
[2026-08-21 07:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fc21d8012d7c6e0005bf7d480009004b26..."} 
[2026-08-21 07:13:13] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fc21d8012d7c6e0005bf7d480009004b26..."} 
[2026-08-21 07:13:13] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:13:13] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763129344,"raw_latitude":96435528,"longitude_deg":76.3129344,"latitude_deg":9.6435528,"altitude":9,"angle":75,"satellites":38,"speed":41,"hex_longitude":"2d7c6e00","hex_latitude":"05bf7d48","is_valid_coordinates":true} 
[2026-08-21 07:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542801152001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121444155959279616,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966103932828731392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276567000,"timestamp_ms":1787276567000,"timestamp_seconds":1787276567,"priority":1,"record_length":96,"hex_timestamp":"000001a021fc21d8"} 
[2026-08-21 07:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-21 07:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542801152001,"66":13537,"109":206,"85":12288,"24":41,"16":121444155959279616,"45":8966103932828731392},"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-08-21 07:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542801152001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:13:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 07:13:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121444155959279616,"km_value":121444155959279.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966103932828731392,"description":"Unknown IO ID 45"} 
[2026-08-21 07:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542801152001,"power":13537,"unknown_109":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":8966103932828731392}} 
[2026-08-21 07:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:13:13] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:13:13] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:13:18] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:18] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:18] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:13:22] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:22] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:22] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:13:23] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:23] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:13:23] local.INFO: IMEI packet received {"connection_id":159985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":159985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:13:24] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021face00012d196880071fee98004301442b..."} 
[2026-08-21 07:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021face00012d196880071fee98004301442b..."} 
[2026-08-21 07:13:24] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021face00012d196880071fee98004301442b..."} 
[2026-08-21 07:13:24] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:13:24] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fa"} 
[2026-08-21 07:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542773504001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13: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-08-21 07:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276480000,"timestamp_ms":1787276480000,"timestamp_seconds":1787276480,"priority":1,"record_length":96,"hex_timestamp":"000001a021face00"} 
[2026-08-21 07:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-21 07:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542773504001,"66":12156,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542773504001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:13:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:13:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542773504001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:13:24] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:13:24] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:13:27] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:13:27] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:13:27] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:13:29] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fb2008012d196880071fee98004301442b..."} 
[2026-08-21 07:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fb2008012d196880071fee98004301442b..."} 
[2026-08-21 07:13:29] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fb2008012d196880071fee98004301442b..."} 
[2026-08-21 07:13:29] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:13:29] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542778880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787276501000,"timestamp_ms":1787276501000,"timestamp_seconds":1787276501,"priority":1,"record_length":96,"hex_timestamp":"000001a021fb2008"} 
[2026-08-21 07:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542778880001,"66":12341,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542778880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:13:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542778880001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:13:29] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:13:29] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:13:32] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:13:32] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:13:32] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:13:33] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:13:33] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:13:33] local.INFO: Packet analysis {"connection_id":159134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:13:33] local.INFO: Extracted packet for processing {"connection_id":159134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:13:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:13:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":159134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:13:33] local.INFO: GPS data processed {"connection_id":159134,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:13:33] local.INFO: Acknowledgment sent {"connection_id":159134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:13:44] local.INFO: TCP Data received {"connection_id":159984,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fc29a8012d7c760005bf80500009004027..."} 
[2026-08-21 07:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fc29a8012d7c760005bf80500009004027..."} 
[2026-08-21 07:13:44] local.INFO: Processing buffer {"connection_id":159984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fc29a8012d7c760005bf80500009004027..."} 
[2026-08-21 07:13:44] local.INFO: Packet analysis {"connection_id":159984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:13:44] local.INFO: Extracted packet for processing {"connection_id":159984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763131392,"raw_latitude":96436304,"longitude_deg":76.3131392,"latitude_deg":9.6436304,"altitude":9,"angle":64,"satellites":39,"speed":43,"hex_longitude":"2d7c7600","hex_latitude":"05bf8050","is_valid_coordinates":true} 
[2026-08-21 07:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542801152001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121444259038494720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966103932828731392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787276569000,"timestamp_ms":1787276569000,"timestamp_seconds":1787276569,"priority":1,"record_length":96,"hex_timestamp":"000001a021fc29a8"} 
[2026-08-21 07:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:13: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-08-21 07:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-21 07:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159984,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542801152001,"66":12917,"109":206,"85":12288,"24":43,"16":121444259038494720,"45":8966103932828731392},"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-08-21 07:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542801152001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:13:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 07:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121444259038494720,"km_value":121444259038494.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966103932828731392,"description":"Unknown IO ID 45"} 
[2026-08-21 07:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542801152001,"power":12917,"unknown_109":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":8966103932828731392}} 
[2026-08-21 07:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":159984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:13:44] local.INFO: GPS data processed {"connection_id":159984,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:13:44] local.INFO: Acknowledgment sent {"connection_id":159984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:14:00] local.INFO: TCP Data received {"connection_id":159985,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fb7210012d196880071fee98004301442b..."} 
[2026-08-21 07:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fb7210012d196880071fee98004301442b..."} 
[2026-08-21 07:14:00] local.INFO: Processing buffer {"connection_id":159985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fb7210012d196880071fee98004301442b..."} 
[2026-08-21 07:14:00] local.INFO: Packet analysis {"connection_id":159985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:00] local.INFO: Extracted packet for processing {"connection_id":159985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542784256001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787276522000,"timestamp_ms":1787276522000,"timestamp_seconds":1787276522,"priority":1,"record_length":96,"hex_timestamp":"000001a021fb7210"} 
[2026-08-21 07:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:14: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-08-21 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 07:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542784256001,"66":12341,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542784256001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:14:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:14:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542784256001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":159985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:14:00] local.INFO: GPS data processed {"connection_id":159985,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:14:00] local.INFO: Acknowledgment sent {"connection_id":159985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:14:05] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:14:05] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:14:05] local.INFO: Packet analysis {"connection_id":159134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:05] local.INFO: Extracted packet for processing {"connection_id":159134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:14:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:14:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":159134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:14:05] local.INFO: GPS data processed {"connection_id":159134,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:14:05] local.INFO: Acknowledgment sent {"connection_id":159134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:14:23] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:23] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:23] local.INFO: IMEI packet received {"connection_id":161362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":161362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:14:23] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:14:23] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:14:23] local.INFO: IMEI packet received {"connection_id":161361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":161361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:14:24] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:24] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:24] local.INFO: IMEI packet received {"connection_id":161362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":161362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:14:25] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:14:25] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:14:25] local.INFO: IMEI packet received {"connection_id":161361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":161361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:14:26] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbc418012d196880071fee98004301442b..."} 
[2026-08-21 07:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbc418012d196880071fee98004301442b..."} 
[2026-08-21 07:14:26] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbc418012d196880071fee98004301442b..."} 
[2026-08-21 07:14:26] local.INFO: Packet analysis {"connection_id":161361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:26] local.INFO: Extracted packet for processing {"connection_id":161361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:26] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542789632001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787276543000,"timestamp_ms":1787276543000,"timestamp_seconds":1787276543,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbc418"} 
[2026-08-21 07:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:14:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 07:14:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542789632001,"66":12385,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542789632001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:14:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:14:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542789632001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":161361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:14:26] local.INFO: GPS data processed {"connection_id":161361,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:14:26] local.INFO: Acknowledgment sent {"connection_id":161361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:14:26] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:14:26] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:14:26] local.INFO: IMEI packet received {"connection_id":159135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":159135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:14:27] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:27] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:14:27] local.INFO: IMEI packet received {"connection_id":161362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":161362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:14:28] local.INFO: TCP Data received {"connection_id":161362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fd2b78012d7d0e4005bfbb580009001327..."} 
[2026-08-21 07:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fd2b78012d7d0e4005bfbb580009001327..."} 
[2026-08-21 07:14:28] local.INFO: Processing buffer {"connection_id":161362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fd2b78012d7d0e4005bfbb580009001327..."} 
[2026-08-21 07:14:28] local.INFO: Packet analysis {"connection_id":161362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:14:28] local.INFO: Extracted packet for processing {"connection_id":161362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763170368,"raw_latitude":96451416,"longitude_deg":76.3170368,"latitude_deg":9.6451416,"altitude":9,"angle":19,"satellites":39,"speed":48,"hex_longitude":"2d7d0e40","hex_latitude":"05bfbb58","is_valid_coordinates":true} 
[2026-08-21 07:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542816256001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121446878968545280,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009028866778642432,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14: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-08-21 07:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787276635000,"timestamp_ms":1787276635000,"timestamp_seconds":1787276635,"priority":1,"record_length":96,"hex_timestamp":"000001a021fd2b78"} 
[2026-08-21 07:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:14: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-08-21 07:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 07:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542816256001,"66":13015,"25":206,"85":12288,"24":48,"16":121446878968545280,"45":9009028866778642432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-21 07:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542816256001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:14:28] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-21 07:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121446878968545280,"km_value":121446878968545.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009028866778642432,"description":"Unknown IO ID 45"} 
[2026-08-21 07:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542816256001,"power":13015,"unknown_25":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9009028866778642432}} 
[2026-08-21 07:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":161362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674036,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:14:28] local.INFO: GPS data processed {"connection_id":161362,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:14:28] local.INFO: Acknowledgment sent {"connection_id":161362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:14:29] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fc1620012d196880071fee98004301442c..."} 
[2026-08-21 07:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fc1620012d196880071fee98004301442c..."} 
[2026-08-21 07:14:29] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fc1620012d196880071fee98004301442c..."} 
[2026-08-21 07:14:29] local.INFO: Packet analysis {"connection_id":161361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:14:29] local.INFO: Extracted packet for processing {"connection_id":161361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542795008001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787276564000,"timestamp_ms":1787276564000,"timestamp_seconds":1787276564,"priority":1,"record_length":96,"hex_timestamp":"000001a021fc1620"} 
[2026-08-21 07:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 07:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542795008001,"66":12374,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542795008001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:14:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542795008001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":161361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:14:29] local.INFO: GPS data processed {"connection_id":161361,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:14:29] local.INFO: Acknowledgment sent {"connection_id":161361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:14:31] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:14:32] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:14:32] local.INFO: IMEI packet received {"connection_id":159135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":159135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:14:33] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:14:33] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:14:33] local.INFO: Packet analysis {"connection_id":159135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:33] local.INFO: Extracted packet for processing {"connection_id":159135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:14:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:14:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:14:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":159135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:14:33] local.INFO: GPS data processed {"connection_id":159135,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:14:33] local.INFO: Acknowledgment sent {"connection_id":159135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:15:00] local.INFO: TCP Data received {"connection_id":161361,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fc6828012d196880071fee98004301442a..."} 
[2026-08-21 07:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fc6828012d196880071fee98004301442a..."} 
[2026-08-21 07:15:00] local.INFO: Processing buffer {"connection_id":161361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fc6828012d196880071fee98004301442a..."} 
[2026-08-21 07:15:00] local.INFO: Packet analysis {"connection_id":161361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:15:00] local.INFO: Extracted packet for processing {"connection_id":161361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542800384001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787276585000,"timestamp_ms":1787276585000,"timestamp_seconds":1787276585,"priority":1,"record_length":96,"hex_timestamp":"000001a021fc6828"} 
[2026-08-21 07:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 07:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542800384001,"66":12385,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542800384001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:15:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:15:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542800384001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":161361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:15:00] local.INFO: GPS data processed {"connection_id":161361,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:15:00] local.INFO: Acknowledgment sent {"connection_id":161361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:15:04] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:15:04] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:15:04] local.INFO: Packet analysis {"connection_id":159135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:15:04] local.INFO: Extracted packet for processing {"connection_id":159135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:15:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:15:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:15:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":159135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:15:04] local.INFO: GPS data processed {"connection_id":159135,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:15:04] local.INFO: Acknowledgment sent {"connection_id":159135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:15:07] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:07] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:07] local.INFO: IMEI packet received {"connection_id":161363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":161363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:15:07] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:07] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:07] local.INFO: IMEI packet received {"connection_id":161363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":161363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:15:13] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:13] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:15:13] local.INFO: IMEI packet received {"connection_id":161363,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":161363,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:15:18] local.INFO: TCP Data received {"connection_id":158829,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:15:18] local.INFO: Processing buffer {"connection_id":158829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:15:18] local.INFO: IMEI packet received {"connection_id":158829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":158829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:15:19] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fd2b78012d7d0e4005bfbb580009001327..."} 
[2026-08-21 07:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fd2b78012d7d0e4005bfbb580009001327..."} 
[2026-08-21 07:15:19] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fd2b78012d7d0e4005bfbb580009001327..."} 
[2026-08-21 07:15:19] local.INFO: Packet analysis {"connection_id":161363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:15:19] local.INFO: Extracted packet for processing {"connection_id":161363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:15:19] local.INFO: GPS Element Parsed {"raw_longitude":763170368,"raw_latitude":96451416,"longitude_deg":76.3170368,"latitude_deg":9.6451416,"altitude":9,"angle":19,"satellites":39,"speed":48,"hex_longitude":"2d7d0e40","hex_latitude":"05bfbb58","is_valid_coordinates":true} 
[2026-08-21 07:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542818560001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121446878968545280,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011210297850681344,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:19] 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-08-21 07:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787276635000,"timestamp_ms":1787276635000,"timestamp_seconds":1787276635,"priority":1,"record_length":96,"hex_timestamp":"000001a021fd2b78"} 
[2026-08-21 07:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 07:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542818560001,"66":13015,"25":206,"85":12288,"24":48,"16":121446878968545280,"45":9011210297850681344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,85,24,16,45]} 
[2026-08-21 07:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542818560001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:15:19] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-21 07:15:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121446878968545280,"km_value":121446878968545.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011210297850681344,"description":"Unknown IO ID 45"} 
[2026-08-21 07:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542818560001,"power":13015,"unknown_25":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":9011210297850681344}} 
[2026-08-21 07:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":161363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:15:19] local.INFO: GPS data processed {"connection_id":161363,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:15:19] local.INFO: Acknowledgment sent {"connection_id":161363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:15:23] local.INFO: TCP Data received {"connection_id":158829,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:15:23] local.INFO: Processing buffer {"connection_id":158829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:15:23] local.INFO: IMEI packet received {"connection_id":158829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":158829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:15:24] local.INFO: TCP Data received {"connection_id":158829,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fcba30012d196880071fee98004301442a..."} 
[2026-08-21 07:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fcba30012d196880071fee98004301442a..."} 
[2026-08-21 07:15:24] local.INFO: Processing buffer {"connection_id":158829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fcba30012d196880071fee98004301442a..."} 
[2026-08-21 07:15:24] local.INFO: Packet analysis {"connection_id":158829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:15:24] local.INFO: Extracted packet for processing {"connection_id":158829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fc"} 
[2026-08-21 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542805760001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15: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-08-21 07:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276606000,"timestamp_ms":1787276606000,"timestamp_seconds":1787276606,"priority":1,"record_length":96,"hex_timestamp":"000001a021fcba30"} 
[2026-08-21 07:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 07:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542805760001,"66":12374,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542805760001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:15:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542805760001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":158829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:15:24] local.INFO: GPS data processed {"connection_id":158829,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:15:24] local.INFO: Acknowledgment sent {"connection_id":158829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:15:26] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:15:26] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:15:26] local.INFO: IMEI packet received {"connection_id":159136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":159136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:15:32] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:15:32] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:15:32] local.INFO: IMEI packet received {"connection_id":159136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":159136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:15:33] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:15:33] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:15:33] local.INFO: Packet analysis {"connection_id":159136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:15:33] local.INFO: Extracted packet for processing {"connection_id":159136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:15:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:15:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":159136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:15:33] local.INFO: GPS data processed {"connection_id":159136,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:15:33] local.INFO: Acknowledgment sent {"connection_id":159136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:15:50] local.INFO: TCP Data received {"connection_id":161363,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fe6bc8012d7d270005c0e7c80007000226..."} 
[2026-08-21 07:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fe6bc8012d7d270005c0e7c80007000226..."} 
[2026-08-21 07:15:50] local.INFO: Processing buffer {"connection_id":161363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fe6bc8012d7d270005c0e7c80007000226..."} 
[2026-08-21 07:15:50] local.INFO: Packet analysis {"connection_id":161363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:15:50] local.INFO: Extracted packet for processing {"connection_id":161363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:15:50] local.INFO: GPS Element Parsed {"raw_longitude":763176704,"raw_latitude":96528328,"longitude_deg":76.3176704,"latitude_deg":9.6528328,"altitude":7,"angle":2,"satellites":38,"speed":42,"hex_longitude":"2d7d2700","hex_latitude":"05c0e7c8","is_valid_coordinates":true} 
[2026-08-21 07:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542838272001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121450783093817344,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019232334705082368,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] 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-08-21 07:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787276717000,"timestamp_ms":1787276717000,"timestamp_seconds":1787276717,"priority":1,"record_length":96,"hex_timestamp":"000001a021fe6bc8"} 
[2026-08-21 07:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624056,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4260796417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":121,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5802694605820395520,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13477642,"corrected_to":0} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635394959386378,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802450638,"corrected_to":0} 
[2026-08-21 07:15:50] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2684431741,"corrected_to":0} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-8502570275265524139,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3224041472,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":125,"raw_value":4089274784031965193,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755601304649969,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,10,85,24,241,157,16,122,160,60,45,173,7,38,66,33,128,139,8,121,17,192,1,240,247,227,4,113,205,203,56,88,239,52,2,175,5,9,125,48],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13477642,"validated":0},{"io_id":205,"original":2802450638,"validated":0},{"io_id":203,"original":2684431741,"validated":0}]} 
[2026-08-21 07:15:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432726149872877568,"timestamp_seconds":432726149872877.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161363,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542838272001,"66":13319,"9":206,"85":12288,"24":42,"16":121450783093817344,"45":9019232334705082368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542838272001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:15:50] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:15:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121450783093817344,"km_value":121450783093817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019232334705082368,"description":"Unknown IO ID 45"} 
[2026-08-21 07:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542838272001,"power":13319,"unknown_9":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9019232334705082368}} 
[2026-08-21 07:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":161363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:15:50] local.INFO: GPS data processed {"connection_id":161363,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:15:50] local.INFO: Acknowledgment sent {"connection_id":161363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:15:55] local.INFO: TCP Data received {"connection_id":158829,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fd0c38012d196880071fee98004301442d..."} 
[2026-08-21 07:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fd0c38012d196880071fee98004301442d..."} 
[2026-08-21 07:15:55] local.INFO: Processing buffer {"connection_id":158829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fd0c38012d196880071fee98004301442d..."} 
[2026-08-21 07:15:55] local.INFO: Packet analysis {"connection_id":158829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:15:55] local.INFO: Extracted packet for processing {"connection_id":158829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542811136001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276627000,"timestamp_ms":1787276627000,"timestamp_seconds":1787276627,"priority":1,"record_length":96,"hex_timestamp":"000001a021fd0c38"} 
[2026-08-21 07:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 07:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542811136001,"66":12298,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542811136001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542811136001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":158829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:15:55] local.INFO: GPS data processed {"connection_id":158829,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:15:55] local.INFO: Acknowledgment sent {"connection_id":158829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:16:04] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:16:04] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:16:04] local.INFO: Packet analysis {"connection_id":159136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:16:04] local.INFO: Extracted packet for processing {"connection_id":159136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:16:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:16:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":159136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:16:04] local.INFO: GPS data processed {"connection_id":159136,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:16:04] local.INFO: Acknowledgment sent {"connection_id":159136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:16:07] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:07] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:07] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:16:09] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:09] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:09] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:16:12] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:12] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:16:12] local.INFO: IMEI packet received {"connection_id":161364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":161364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:16:12] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021febdd0012d7d2ac005c109880007016625..."} 
[2026-08-21 07:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021febdd0012d7d2ac005c109880007016625..."} 
[2026-08-21 07:16:12] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021febdd0012d7d2ac005c109880007016625..."} 
[2026-08-21 07:16:12] local.INFO: Packet analysis {"connection_id":161364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:16:12] local.INFO: Extracted packet for processing {"connection_id":161364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":763177664,"raw_latitude":96536968,"longitude_deg":76.3177664,"latitude_deg":9.6536968,"altitude":7,"angle":358,"satellites":37,"speed":0,"hex_longitude":"2d7d2ac0","hex_latitude":"05c10988","is_valid_coordinates":true} 
[2026-08-21 07:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542839552001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121451212590546944,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803543959552,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] 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-08-21 07:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787276738000,"timestamp_ms":1787276738000,"timestamp_seconds":1787276738,"priority":1,"record_length":96,"hex_timestamp":"000001a021febdd0"} 
[2026-08-21 07:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":192,"raw_value":3096224782495262208,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4262588417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3321888768,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802450638,"corrected_to":0} 
[2026-08-21 07:16:12] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2550214013,"corrected_to":0} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308455,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3224328192,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57886031630718256,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.WARNING: Large IO value detected {"io_id":253,"raw_value":-4618440122982481915,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:12] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,9,85,24,241,157,16,122,160,88,45,192,208,6,36,10,66,60,173,7,38,33,128,1,240,227,121,4,113,205,49,246,57,80,239,52,2,175,5,18,138,253],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2802450638,"validated":0},{"io_id":246,"original":2550214013,"validated":0}]} 
[2026-08-21 07:16:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504405520500260864,"timestamp_seconds":504405520500260.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542839552001,"66":13341,"9":206,"85":12288,"24":0,"16":121451212590546944,"45":9018176803543959552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542839552001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:16:12] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:16:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121451212590546944,"km_value":121451212590546.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803543959552,"description":"Unknown IO ID 45"} 
[2026-08-21 07:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542839552001,"power":13341,"unknown_9":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":9018176803543959552}} 
[2026-08-21 07:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":161364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:16:12] local.INFO: GPS data processed {"connection_id":161364,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:16:12] local.INFO: Acknowledgment sent {"connection_id":161364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:16:18] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:16:18] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:16:18] local.INFO: IMEI packet received {"connection_id":159137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":159137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:16:23] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:16:23] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:16:23] local.INFO: IMEI packet received {"connection_id":159137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":159137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:16:24] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fd5e40012d196880071fee98004301442c..."} 
[2026-08-21 07:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fd5e40012d196880071fee98004301442c..."} 
[2026-08-21 07:16:24] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fd5e40012d196880071fee98004301442c..."} 
[2026-08-21 07:16:24] local.INFO: Packet analysis {"connection_id":159137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:16:24] local.INFO: Extracted packet for processing {"connection_id":159137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542816512001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276648000,"timestamp_ms":1787276648000,"timestamp_seconds":1787276648,"priority":1,"record_length":96,"hex_timestamp":"000001a021fd5e40"} 
[2026-08-21 07:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:16:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-5908722711110090751,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2448495846844340584,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391219150356804,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":67,"raw_value":91245171454246912,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832570,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4223932417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4002938947,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 07:16:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2326659072,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:24] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,138,160,186,45,128,238,67,42,10,66,104,22,1,240,86,227,33,31,4,113,205,114,152,43,239,48,2,50,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 07:16:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828215235582099456,"timestamp_seconds":4828215235582099.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542816512001,"66":12341,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542816512001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:16:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:16:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542816512001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":159137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:16:24] local.INFO: GPS data processed {"connection_id":159137,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:16:24] local.INFO: Acknowledgment sent {"connection_id":159137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:16:26] local.INFO: TCP Data received {"connection_id":158830,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:16:26] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:16:26] local.INFO: IMEI packet received {"connection_id":158830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":158830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:16:31] local.INFO: TCP Data received {"connection_id":158830,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:16:32] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:16:32] local.INFO: IMEI packet received {"connection_id":158830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":158830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:16:33] local.INFO: TCP Data received {"connection_id":158830,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:16:33] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:16:33] local.INFO: Packet analysis {"connection_id":158830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:16:33] local.INFO: Extracted packet for processing {"connection_id":158830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:16:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:16: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-08-21 07:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:16:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:16:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":158830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:16:33] local.INFO: GPS data processed {"connection_id":158830,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:16:33] local.INFO: Acknowledgment sent {"connection_id":158830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:16:43] local.INFO: TCP Data received {"connection_id":161364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fec988012d7d2b0005c10b380007000f25..."} 
[2026-08-21 07:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fec988012d7d2b0005c10b380007000f25..."} 
[2026-08-21 07:16:43] local.INFO: Processing buffer {"connection_id":161364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fec988012d7d2b0005c10b380007000f25..."} 
[2026-08-21 07:16:43] local.INFO: Packet analysis {"connection_id":161364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:16:43] local.INFO: Extracted packet for processing {"connection_id":161364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:16:43] local.INFO: GPS Element Parsed {"raw_longitude":763177728,"raw_latitude":96537400,"longitude_deg":76.3177728,"latitude_deg":9.65374,"altitude":7,"angle":15,"satellites":37,"speed":10,"hex_longitude":"2d7d2b00","hex_latitude":"05c10b38","is_valid_coordinates":true} 
[2026-08-21 07:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542844928001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121451234065383424,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019232334708836352,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:43] 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-08-21 07:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787276741000,"timestamp_ms":1787276741000,"timestamp_seconds":1787276741,"priority":1,"record_length":96,"hex_timestamp":"000001a021fec988"} 
[2026-08-21 07:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 07:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542844928001,"66":13374,"9":206,"85":12288,"24":10,"16":121451234065383424,"45":9019232334708836352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542844928001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:16:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:16:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121451234065383424,"km_value":121451234065383.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019232334708836352,"description":"Unknown IO ID 45"} 
[2026-08-21 07:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542844928001,"power":13374,"unknown_9":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9019232334708836352}} 
[2026-08-21 07:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":161364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:16:43] local.INFO: GPS data processed {"connection_id":161364,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:16:43] local.INFO: Acknowledgment sent {"connection_id":161364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:16:55] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fdb048012d196880071fee98004301442c..."} 
[2026-08-21 07:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fdb048012d196880071fee98004301442c..."} 
[2026-08-21 07:16:55] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fdb048012d196880071fee98004301442c..."} 
[2026-08-21 07:16:55] local.INFO: Packet analysis {"connection_id":159137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:16:55] local.INFO: Extracted packet for processing {"connection_id":159137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fd"} 
[2026-08-21 07:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542821888001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276669000,"timestamp_ms":1787276669000,"timestamp_seconds":1787276669,"priority":1,"record_length":96,"hex_timestamp":"000001a021fdb048"} 
[2026-08-21 07:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 07:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542821888001,"66":12298,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542821888001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:16:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542821888001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":159137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:16:55] local.INFO: GPS data processed {"connection_id":159137,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:16:55] local.INFO: Acknowledgment sent {"connection_id":159137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:17:04] local.INFO: TCP Data received {"connection_id":158830,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:04] local.INFO: Processing buffer {"connection_id":158830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:04] local.INFO: Packet analysis {"connection_id":158830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:17:04] local.INFO: Extracted packet for processing {"connection_id":158830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:17:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:17: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-08-21 07:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:17:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:17:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":158830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:17:04] local.INFO: GPS data processed {"connection_id":158830,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:17:04] local.INFO: Acknowledgment sent {"connection_id":158830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:17:07] local.INFO: TCP Data received {"connection_id":158831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:17:07] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:17:07] local.INFO: IMEI packet received {"connection_id":158831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":158831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:17:12] local.INFO: TCP Data received {"connection_id":158831,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:17:12] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:17:12] local.INFO: IMEI packet received {"connection_id":158831,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":158831,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:17:13] local.INFO: TCP Data received {"connection_id":158831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fee8c8012d7d2cc005c118280008000426..."} 
[2026-08-21 07:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fee8c8012d7d2cc005c118280008000426..."} 
[2026-08-21 07:17:13] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fee8c8012d7d2cc005c118280008000426..."} 
[2026-08-21 07:17:13] local.INFO: Packet analysis {"connection_id":158831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:17:13] local.INFO: Extracted packet for processing {"connection_id":158831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:17:13] local.INFO: GPS Element Parsed {"raw_longitude":763178176,"raw_latitude":96540712,"longitude_deg":76.3178176,"latitude_deg":9.6540712,"altitude":8,"angle":4,"satellites":38,"speed":23,"hex_longitude":"2d7d2cc0","hex_latitude":"05c11828","is_valid_coordinates":true} 
[2026-08-21 07:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542845696001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121451397274140672,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019302703453124608,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:13] 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-08-21 07:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276749000,"timestamp_ms":1787276749000,"timestamp_seconds":1787276749,"priority":1,"record_length":96,"hex_timestamp":"000001a021fee8c8"} 
[2026-08-21 07:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 07:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542845696001,"66":13363,"9":206,"85":12288,"24":23,"16":121451397274140672,"45":9019302703453124608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542845696001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:17:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:17:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121451397274140672,"km_value":121451397274140.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019302703453124608,"description":"Unknown IO ID 45"} 
[2026-08-21 07:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542845696001,"power":13363,"unknown_9":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9019302703453124608}} 
[2026-08-21 07:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":158831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:17:13] local.INFO: GPS data processed {"connection_id":158831,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:17:13] local.INFO: Acknowledgment sent {"connection_id":158831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:17:18] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:17:18] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:17:18] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:17:23] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:17:23] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:17:23] local.INFO: IMEI packet received {"connection_id":159986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":159986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:17:24] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fe0250012d196880071fee98004301442d..."} 
[2026-08-21 07:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fe0250012d196880071fee98004301442d..."} 
[2026-08-21 07:17:24] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fe0250012d196880071fee98004301442d..."} 
[2026-08-21 07:17:24] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:17:24] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542827264001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17: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-08-21 07:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276690000,"timestamp_ms":1787276690000,"timestamp_seconds":1787276690,"priority":1,"record_length":96,"hex_timestamp":"000001a021fe0250"} 
[2026-08-21 07:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-5908722711110090751,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2448676235470772584,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391219150356804,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":67,"raw_value":91245171454246912,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4234684417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4002938947,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2326659072,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:24] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,138,160,94,45,128,238,67,44,10,66,12,186,1,240,86,227,33,31,4,113,205,22,104,152,239,48,2,50,7,43],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 07:17:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828215231287132160,"timestamp_seconds":4828215231287132.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542827264001,"66":12341,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542827264001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:17:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542827264001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:17:24] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:17:24] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:17:31] local.INFO: TCP Data received {"connection_id":158832,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:17:31] local.INFO: Processing buffer {"connection_id":158832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:17:31] local.INFO: IMEI packet received {"connection_id":158832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":158832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:17:36] local.INFO: TCP Data received {"connection_id":158832,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:17:36] local.INFO: Processing buffer {"connection_id":158832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:17:36] local.INFO: IMEI packet received {"connection_id":158832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":158832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:17:37] local.INFO: TCP Data received {"connection_id":158832,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:37] local.INFO: Processing buffer {"connection_id":158832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:37] local.INFO: Packet analysis {"connection_id":158832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:17:37] local.INFO: Extracted packet for processing {"connection_id":158832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:17:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:17:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:17:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:17:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":158832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:17:37] local.INFO: GPS data processed {"connection_id":158832,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:17:37] local.INFO: Acknowledgment sent {"connection_id":158832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:17:42] local.INFO: TCP Data received {"connection_id":158832,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:42] local.INFO: Processing buffer {"connection_id":158832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fbef10012da67700054b3710001c005f2d..."} 
[2026-08-21 07:17:42] local.INFO: Packet analysis {"connection_id":158832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:17:42] local.INFO: Extracted packet for processing {"connection_id":158832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fb"} 
[2026-08-21 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787276554000,"timestamp_ms":1787276554000,"timestamp_seconds":1787276554,"priority":1,"record_length":96,"hex_timestamp":"000001a021fbef10"} 
[2026-08-21 07:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542720768001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542720768001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":158832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:17:42] local.INFO: GPS data processed {"connection_id":158832,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:17:42] local.INFO: Acknowledgment sent {"connection_id":158832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:17:44] local.INFO: TCP Data received {"connection_id":158831,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ff13c0012d7d310005c13c080009000325..."} 
[2026-08-21 07:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ff13c0012d7d310005c13c080009000325..."} 
[2026-08-21 07:17:44] local.INFO: Processing buffer {"connection_id":158831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ff13c0012d7d310005c13c080009000325..."} 
[2026-08-21 07:17:44] local.INFO: Packet analysis {"connection_id":158831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:17:44] local.INFO: Extracted packet for processing {"connection_id":158831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763179264,"raw_latitude":96549896,"longitude_deg":76.3179264,"latitude_deg":9.6549896,"altitude":9,"angle":3,"satellites":37,"speed":36,"hex_longitude":"2d7d3100","hex_latitude":"05c13c08","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542847744001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121451843950739456,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019795284663216128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:44] 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-08-21 07:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787276760000,"timestamp_ms":1787276760000,"timestamp_seconds":1787276760,"priority":1,"record_length":96,"hex_timestamp":"000001a021ff13c0"} 
[2026-08-21 07:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 07:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158831,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542847744001,"66":13602,"9":206,"85":12288,"24":36,"16":121451843950739456,"45":9019795284663216128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542847744001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:17:44] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:17:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121451843950739456,"km_value":121451843950739.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019795284663216128,"description":"Unknown IO ID 45"} 
[2026-08-21 07:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542847744001,"power":13602,"unknown_9":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9019795284663216128}} 
[2026-08-21 07:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":158831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:17:44] local.INFO: GPS data processed {"connection_id":158831,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:17:44] local.INFO: Acknowledgment sent {"connection_id":158831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:17:55] local.INFO: TCP Data received {"connection_id":159986,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fe5458012d196880071fee98004301442b..."} 
[2026-08-21 07:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fe5458012d196880071fee98004301442b..."} 
[2026-08-21 07:17:55] local.INFO: Processing buffer {"connection_id":159986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fe5458012d196880071fee98004301442b..."} 
[2026-08-21 07:17:55] local.INFO: Packet analysis {"connection_id":159986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:17:55] local.INFO: Extracted packet for processing {"connection_id":159986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542832640001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276711000,"timestamp_ms":1787276711000,"timestamp_seconds":1787276711,"priority":1,"record_length":96,"hex_timestamp":"000001a021fe5458"} 
[2026-08-21 07:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 07:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542832640001,"66":12298,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542832640001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:17:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542832640001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":159986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:17:55] local.INFO: GPS data processed {"connection_id":159986,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:17:55] local.INFO: Acknowledgment sent {"connection_id":159986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:18:16] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:18:16] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:18:16] local.INFO: IMEI packet received {"connection_id":159138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":159138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:18:18] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:18:18] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:18:18] local.INFO: IMEI packet received {"connection_id":161365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":161365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:18:23] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:18:23] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:18:23] local.INFO: IMEI packet received {"connection_id":161365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":161365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:18:24] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:18:24] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:18:24] local.INFO: IMEI packet received {"connection_id":159138,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":159138,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:18:24] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fea660012d196880071fee98004301442a..."} 
[2026-08-21 07:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fea660012d196880071fee98004301442a..."} 
[2026-08-21 07:18:24] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fea660012d196880071fee98004301442a..."} 
[2026-08-21 07:18:24] local.INFO: Packet analysis {"connection_id":161365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:18:24] local.INFO: Extracted packet for processing {"connection_id":161365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542838016001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18: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-08-21 07:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276732000,"timestamp_ms":1787276732000,"timestamp_seconds":1787276732,"priority":1,"record_length":96,"hex_timestamp":"000001a021fea660"} 
[2026-08-21 07:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-5908722711110090751,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2448856624097204584,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391219150356804,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":67,"raw_value":91244071942619136,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832571,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4245436417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4002938947,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2326659072,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:24] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,138,160,2,45,128,238,67,10,66,176,44,94,1,240,53,227,33,31,4,113,205,186,104,152,42,239,48,50,7],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 07:18:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828215226992164864,"timestamp_seconds":4828215226992165.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542838016001,"66":12298,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542838016001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542838016001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":161365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:18:24] local.INFO: GPS data processed {"connection_id":161365,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:18:24] local.INFO: Acknowledgment sent {"connection_id":161365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:18:26] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ff1f78012d7d30c005c146a00009016124..."} 
[2026-08-21 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ff1f78012d7d30c005c146a00009016124..."} 
[2026-08-21 07:18:26] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ff1f78012d7d30c005c146a00009016124..."} 
[2026-08-21 07:18:26] local.INFO: Packet analysis {"connection_id":159138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:18:26] local.INFO: Extracted packet for processing {"connection_id":159138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:18:26] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":96552608,"longitude_deg":76.31792,"latitude_deg":9.6552608,"altitude":9,"angle":353,"satellites":36,"speed":36,"hex_longitude":"2d7d30c0","hex_latitude":"05c146a0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542850560001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121451977094725632,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020991553316587520,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:26] 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-08-21 07:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787276763000,"timestamp_ms":1787276763000,"timestamp_seconds":1787276763,"priority":1,"record_length":96,"hex_timestamp":"000001a021ff1f78"} 
[2026-08-21 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-08-21 07:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-21 07:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542850560001,"66":13602,"9":206,"85":12288,"24":36,"16":121451977094725632,"45":9020991553316587520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542850560001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:18:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:18:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121451977094725632,"km_value":121451977094725.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020991553316587520,"description":"Unknown IO ID 45"} 
[2026-08-21 07:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542850560001,"power":13602,"unknown_9":206,"unknown_85":12288,"ignition":36,"odometer":null,"unknown_45":9020991553316587520}} 
[2026-08-21 07:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":159138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:18:26] local.INFO: GPS data processed {"connection_id":159138,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:18:26] local.INFO: Acknowledgment sent {"connection_id":159138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:18:26] local.INFO: TCP Data received {"connection_id":159987,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:18:26] local.INFO: Processing buffer {"connection_id":159987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:18:26] local.INFO: IMEI packet received {"connection_id":159987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":159987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:18:27] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a021ff2f18012d7d304005c154580009000625..."} 
[2026-08-21 07:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ff2f18012d7d304005c154580009000625..."} 
[2026-08-21 07:18:27] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ff2f18012d7d304005c154580009000625..."} 
[2026-08-21 07:18:27] local.INFO: Packet analysis {"connection_id":159138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:18:27] local.INFO: Extracted packet for processing {"connection_id":159138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763179072,"raw_latitude":96556120,"longitude_deg":76.3179072,"latitude_deg":9.655612,"altitude":9,"angle":6,"satellites":37,"speed":34,"hex_longitude":"2d7d3040","hex_latitude":"05c15458","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542851328001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121452148893417472,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184573104128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:27] 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-08-21 07:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787276767000,"timestamp_ms":1787276767000,"timestamp_seconds":1787276767,"priority":1,"record_length":96,"hex_timestamp":"000001a021ff2f18"} 
[2026-08-21 07:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:18: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-08-21 07:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-08-21 07:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":769,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159138,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542851328001,"66":13450,"9":206,"85":12288,"24":34,"16":121452148893417472,"45":9020921184573104128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542851328001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:18:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121452148893417472,"km_value":121452148893417.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184573104128,"description":"Unknown IO ID 45"} 
[2026-08-21 07:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542851328001,"power":13450,"unknown_9":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":9020921184573104128}} 
[2026-08-21 07:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":159138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:18:27] local.INFO: GPS data processed {"connection_id":159138,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:18:27] local.INFO: Acknowledgment sent {"connection_id":159138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:18:32] local.INFO: TCP Data received {"connection_id":159987,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:18:32] local.INFO: Processing buffer {"connection_id":159987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:18:32] local.INFO: IMEI packet received {"connection_id":159987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":159987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:18:32] local.INFO: TCP Data received {"connection_id":159987,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:18:32] local.INFO: Processing buffer {"connection_id":159987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:18:32] local.INFO: Packet analysis {"connection_id":159987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:18:32] local.INFO: Extracted packet for processing {"connection_id":159987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:18:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:18:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:18:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":159987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:18:32] local.INFO: GPS data processed {"connection_id":159987,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:18:32] local.INFO: Acknowledgment sent {"connection_id":159987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:18:55] local.INFO: TCP Data received {"connection_id":161365,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021fef868012d196880071fee98004301442b..."} 
[2026-08-21 07:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021fef868012d196880071fee98004301442b..."} 
[2026-08-21 07:18:55] local.INFO: Processing buffer {"connection_id":161365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021fef868012d196880071fee98004301442b..."} 
[2026-08-21 07:18:55] local.INFO: Packet analysis {"connection_id":161365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:18:55] local.INFO: Extracted packet for processing {"connection_id":161365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021fe"} 
[2026-08-21 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542843392001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276753000,"timestamp_ms":1787276753000,"timestamp_seconds":1787276753,"priority":1,"record_length":96,"hex_timestamp":"000001a021fef868"} 
[2026-08-21 07:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-5908722711110090751,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2448946818410420584,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391219150356804,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":67,"raw_value":91244071942619136,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3482972244305903822,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4250812417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4002938947,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2326659072,"note":"Value kept but may cause issues"} 
[2026-08-21 07:18:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,102,83,24,241,157,16,138,160,84,45,128,238,67,43,10,66,2,176,1,240,227,33,31,4,113,205,12,104,152,239,48,50,7,42],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 07:18:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828215222697197568,"timestamp_seconds":4828215222697198.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542843392001,"66":12287,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542843392001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542843392001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":161365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:18:55] local.INFO: GPS data processed {"connection_id":161365,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:18:55] local.INFO: Acknowledgment sent {"connection_id":161365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:19:04] local.INFO: TCP Data received {"connection_id":159987,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:19:04] local.INFO: Processing buffer {"connection_id":159987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:19:04] local.INFO: Packet analysis {"connection_id":159987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:19:04] local.INFO: Extracted packet for processing {"connection_id":159987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:19:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:19:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:19:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":159987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:19:04] local.INFO: GPS data processed {"connection_id":159987,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:19:04] local.INFO: Acknowledgment sent {"connection_id":159987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:19:05] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:05] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:05] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:19:07] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:07] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:07] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:19:12] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:12] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:19:12] local.INFO: IMEI packet received {"connection_id":159988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":159988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:19:13] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022012ae8012d7d528005c2ab300005000825..."} 
[2026-08-21 07:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022012ae8012d7d528005c2ab300005000825..."} 
[2026-08-21 07:19:13] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022012ae8012d7d528005c2ab300005000825..."} 
[2026-08-21 07:19:13] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:19:13] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":96643888,"longitude_deg":76.318784,"latitude_deg":9.6643888,"altitude":5,"angle":8,"satellites":37,"speed":63,"hex_longitude":"2d7d5280","hex_latitude":"05c2ab30","is_valid_coordinates":true} 
[2026-08-21 07:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542884096001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121456439565746176,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028802483941969920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:13] 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-08-21 07:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276897000,"timestamp_ms":1787276897000,"timestamp_seconds":1787276897,"priority":1,"record_length":96,"hex_timestamp":"000001a022012ae8"} 
[2026-08-21 07:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 07:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542884096001,"66":13319,"9":206,"85":12288,"24":63,"16":121456439565746176,"45":9028802483941969920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542884096001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:19:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121456439565746176,"km_value":121456439565746.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028802483941969920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542884096001,"power":13319,"unknown_9":206,"unknown_85":12288,"ignition":63,"odometer":null,"unknown_45":9028802483941969920}} 
[2026-08-21 07:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:19:13] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:19:13] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:19:18] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:18] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:18] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:19:19] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:19] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:19] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:19:23] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:23] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:19:23] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:19:24] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ff4a70012d196880071fee98004301442c..."} 
[2026-08-21 07:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ff4a70012d196880071fee98004301442c..."} 
[2026-08-21 07:19:24] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ff4a70012d196880071fee98004301442c..."} 
[2026-08-21 07:19:24] local.INFO: Packet analysis {"connection_id":159139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:19:24] local.INFO: Extracted packet for processing {"connection_id":159139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542848768001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19: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-08-21 07:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276774000,"timestamp_ms":1787276774000,"timestamp_seconds":1787276774,"priority":1,"record_length":96,"hex_timestamp":"000001a021ff4a70"} 
[2026-08-21 07:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 07:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542848768001,"66":12298,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542848768001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:19:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542848768001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":159139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:19:24] local.INFO: GPS data processed {"connection_id":159139,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:19:24] local.INFO: Acknowledgment sent {"connection_id":159139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:19:26] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:19:26] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:19:26] local.INFO: IMEI packet received {"connection_id":159989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":159989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:19:31] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:19:32] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:19:32] local.INFO: IMEI packet received {"connection_id":159989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":159989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:19:33] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:19:33] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:19:33] local.INFO: Packet analysis {"connection_id":159989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:19:33] local.INFO: Extracted packet for processing {"connection_id":159989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:19:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:19:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":159989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:19:33] local.INFO: GPS data processed {"connection_id":159989,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:19:33] local.INFO: Acknowledgment sent {"connection_id":159989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:19:43] local.INFO: TCP Data received {"connection_id":159988,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022014258012d7d540005c2c9400005016526..."} 
[2026-08-21 07:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022014258012d7d540005c2c9400005016526..."} 
[2026-08-21 07:19:43] local.INFO: Processing buffer {"connection_id":159988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022014258012d7d540005c2c9400005016526..."} 
[2026-08-21 07:19:43] local.INFO: Packet analysis {"connection_id":159988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:19:43] local.INFO: Extracted packet for processing {"connection_id":159988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:19:43] local.INFO: GPS Element Parsed {"raw_longitude":763188224,"raw_latitude":96651584,"longitude_deg":76.3188224,"latitude_deg":9.6651584,"altitude":5,"angle":357,"satellites":38,"speed":39,"hex_longitude":"2d7d5400","hex_latitude":"05c2c940","is_valid_coordinates":true} 
[2026-08-21 07:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542885632001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121456813227900928,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965060456448,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] 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-08-21 07:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787276903000,"timestamp_ms":1787276903000,"timestamp_seconds":1787276903,"priority":1,"record_length":96,"hex_timestamp":"000001a022014258"} 
[2026-08-21 07:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":126,"raw_value":3170893824,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":60,"raw_value":3221602819,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308455,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3253940224,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57886027335750960,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":255,"raw_value":-979531624066957307,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.WARNING: Large IO value detected {"io_id":193,"raw_value":-2130202597976431360,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,9,85,24,241,157,16,127,160,19,45,192,134,6,36,10,66,248,128,96,38,216,1,240,227,126,34,194,4,113,205,18,91,60,136,239,52,2,175,5,63,255,193],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0}]} 
[2026-08-21 07:19:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360296925200580608,"timestamp_seconds":360296925200580.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159988,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542885632001,"66":13515,"9":206,"85":12288,"24":39,"16":121456813227900928,"45":9030420965060456448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,85,24,16,45]} 
[2026-08-21 07:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542885632001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:19:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 07:19:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121456813227900928,"km_value":121456813227900.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965060456448,"description":"Unknown IO ID 45"} 
[2026-08-21 07:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542885632001,"power":13515,"unknown_9":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9030420965060456448}} 
[2026-08-21 07:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":159988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:19:44] local.INFO: GPS data processed {"connection_id":159988,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:19:44] local.INFO: Acknowledgment sent {"connection_id":159988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:19:55] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ff9c78012d196880071fee98004301442b..."} 
[2026-08-21 07:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ff9c78012d196880071fee98004301442b..."} 
[2026-08-21 07:19:55] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ff9c78012d196880071fee98004301442b..."} 
[2026-08-21 07:19:55] local.INFO: Packet analysis {"connection_id":159139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:19:55] local.INFO: Extracted packet for processing {"connection_id":159139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542854144001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276795000,"timestamp_ms":1787276795000,"timestamp_seconds":1787276795,"priority":1,"record_length":96,"hex_timestamp":"000001a021ff9c78"} 
[2026-08-21 07:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185650,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-5908722711110090751,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2449127207036852584,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513391219150356804,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":67,"raw_value":91246270965874688,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832572,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683570074452174,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":4261564417,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4002938947,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":104,"raw_value":2147950574,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2326659072,"note":"Value kept but may cause issues"} 
[2026-08-21 07:19:55] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,138,160,248,45,128,238,67,43,10,66,166,42,84,1,240,227,33,31,4,113,205,176,104,152,44,239,48,2,50,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 07:19:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828215231287132160,"timestamp_seconds":4828215231287132.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542854144001,"66":12287,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542854144001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:19:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:19:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542854144001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":159139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:19:55] local.INFO: GPS data processed {"connection_id":159139,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:19:55] local.INFO: Acknowledgment sent {"connection_id":159139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:20:04] local.INFO: TCP Data received {"connection_id":159989,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:20:04] local.INFO: Processing buffer {"connection_id":159989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:20:04] local.INFO: Packet analysis {"connection_id":159989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:20:04] local.INFO: Extracted packet for processing {"connection_id":159989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:20:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:20:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:20:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":159989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:20:04] local.INFO: GPS data processed {"connection_id":159989,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:20:04] local.INFO: Acknowledgment sent {"connection_id":159989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:20:07] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:20:07] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:20:07] local.INFO: IMEI packet received {"connection_id":161366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":161366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:20:12] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:20:12] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:20:12] local.INFO: IMEI packet received {"connection_id":161366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":161366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:20:13] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022016968012d7d4f4005c2e7f80006015626..."} 
[2026-08-21 07:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022016968012d7d4f4005c2e7f80006015626..."} 
[2026-08-21 07:20:13] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022016968012d7d4f4005c2e7f80006015626..."} 
[2026-08-21 07:20:13] local.INFO: Packet analysis {"connection_id":161366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:20:13] local.INFO: Extracted packet for processing {"connection_id":161366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:20:13] local.INFO: GPS Element Parsed {"raw_longitude":763187008,"raw_latitude":96659448,"longitude_deg":76.3187008,"latitude_deg":9.6659448,"altitude":6,"angle":342,"satellites":38,"speed":8,"hex_longitude":"2d7d4f40","hex_latitude":"05c2e7f8","is_valid_coordinates":true} 
[2026-08-21 07:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542887168001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121457199774957568,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030843177527492608,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787276913000,"timestamp_ms":1787276913000,"timestamp_seconds":1787276913,"priority":1,"record_length":96,"hex_timestamp":"000001a022016968"} 
[2026-08-21 07:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-21 07:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542887168001,"66":12809,"104":206,"85":12288,"24":8,"16":121457199774957568,"45":9030843177527492608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 07:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542887168001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:20:13] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 07:20:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121457199774957568,"km_value":121457199774957.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030843177527492608,"description":"Unknown IO ID 45"} 
[2026-08-21 07:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542887168001,"power":12809,"unknown_104":206,"unknown_85":12288,"ignition":8,"odometer":null,"unknown_45":9030843177527492608}} 
[2026-08-21 07:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":161366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:20:13] local.INFO: GPS data processed {"connection_id":161366,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:20:13] local.INFO: Acknowledgment sent {"connection_id":161366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:20:18] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:18] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:18] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:20:22] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:22] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:22] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:20:23] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:23] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:20:23] local.INFO: IMEI packet received {"connection_id":159990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":159990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:20:24] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a021ffee80012d196880071fee980043014429..."} 
[2026-08-21 07:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a021ffee80012d196880071fee980043014429..."} 
[2026-08-21 07:20:24] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a021ffee80012d196880071fee980043014429..."} 
[2026-08-21 07:20:24] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:20:24] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a021ff"} 
[2026-08-21 07:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542859520001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276816000,"timestamp_ms":1787276816000,"timestamp_seconds":1787276816,"priority":1,"record_length":96,"hex_timestamp":"000001a021ffee80"} 
[2026-08-21 07:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 07:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542859520001,"66":12287,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542859520001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:20:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542859520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:20:24] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:20:24] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:20:26] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:20:26] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:20:26] local.INFO: IMEI packet received {"connection_id":161367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":161367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:20:28] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022004088012d196880071fee98004301442c..."} 
[2026-08-21 07:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022004088012d196880071fee98004301442c..."} 
[2026-08-21 07:20:28] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022004088012d196880071fee98004301442c..."} 
[2026-08-21 07:20:28] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:20:28] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542864896001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787276837000,"timestamp_ms":1787276837000,"timestamp_seconds":1787276837,"priority":1,"record_length":96,"hex_timestamp":"000001a022004088"} 
[2026-08-21 07:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:20: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-08-21 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 07:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542864896001,"66":12287,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542864896001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:20:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542864896001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:20:28] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:20:28] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:20:31] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:20:31] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:20:31] local.INFO: IMEI packet received {"connection_id":161367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":161367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:20:33] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:20:33] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:20:33] local.INFO: Packet analysis {"connection_id":161367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:20:33] local.INFO: Extracted packet for processing {"connection_id":161367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:20:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:20:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:20:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":161367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:20:33] local.INFO: GPS data processed {"connection_id":161367,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:20:33] local.INFO: Acknowledgment sent {"connection_id":161367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:20:44] local.INFO: TCP Data received {"connection_id":161366,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02201b788012d7d4bc005c2f5a80006015e26..."} 
[2026-08-21 07:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02201b788012d7d4bc005c2f5a80006015e26..."} 
[2026-08-21 07:20:44] local.INFO: Processing buffer {"connection_id":161366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02201b788012d7d4bc005c2f5a80006015e26..."} 
[2026-08-21 07:20:44] local.INFO: Packet analysis {"connection_id":161366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:20:44] local.INFO: Extracted packet for processing {"connection_id":161366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:20:44] local.INFO: GPS Element Parsed {"raw_longitude":763186112,"raw_latitude":96662952,"longitude_deg":76.3186112,"latitude_deg":9.6662952,"altitude":6,"angle":350,"satellites":38,"speed":24,"hex_longitude":"2d7d4bc0","hex_latitude":"05c2f5a8","is_valid_coordinates":true} 
[2026-08-21 07:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542889728001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121457380163584000,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029506171390130176,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787276933000,"timestamp_ms":1787276933000,"timestamp_seconds":1787276933,"priority":1,"record_length":96,"hex_timestamp":"000001a02201b788"} 
[2026-08-21 07:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2305843009381467136,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4466576871739358684,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":25860518543441088,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2802385102,"corrected_to":0} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278119,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":7278043115125001813,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6755476750598385,"note":"Value kept but may cause issues"} 
[2026-08-21 07:20:44] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,104,85,24,241,157,16,128,160,66,45,201,5,38,10,9,42,171,37,127,19,192,1,240,46,227,34,194,4,113,205,50,216,35,239,52,2,175,7,18,49,48,125],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2802385102,"validated":0}]} 
[2026-08-21 07:20:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432721760413548544,"timestamp_seconds":432721760413548.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542889728001,"66":13406,"104":206,"85":12288,"24":24,"16":121457380163584000,"45":9029506171390130176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 07:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542889728001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:20:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 07:20:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121457380163584000,"km_value":121457380163584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029506171390130176,"description":"Unknown IO ID 45"} 
[2026-08-21 07:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542889728001,"power":13406,"unknown_104":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9029506171390130176}} 
[2026-08-21 07:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":161366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:20:44] local.INFO: GPS data processed {"connection_id":161366,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:20:44] local.INFO: Acknowledgment sent {"connection_id":161366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:21:00] local.INFO: TCP Data received {"connection_id":159990,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022009290012d196880071fee98004301442a..."} 
[2026-08-21 07:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022009290012d196880071fee98004301442a..."} 
[2026-08-21 07:21:00] local.INFO: Processing buffer {"connection_id":159990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022009290012d196880071fee98004301442a..."} 
[2026-08-21 07:21:00] local.INFO: Packet analysis {"connection_id":159990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:00] local.INFO: Extracted packet for processing {"connection_id":159990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542870272001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787276858000,"timestamp_ms":1787276858000,"timestamp_seconds":1787276858,"priority":1,"record_length":96,"hex_timestamp":"000001a022009290"} 
[2026-08-21 07:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:21: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-08-21 07: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 07:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542870272001,"66":12287,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542870272001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:21:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:21:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542870272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":159990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:21:00] local.INFO: GPS data processed {"connection_id":159990,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:21:00] local.INFO: Acknowledgment sent {"connection_id":159990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:21:04] local.INFO: TCP Data received {"connection_id":161367,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:21:04] local.INFO: Processing buffer {"connection_id":161367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:21:04] local.INFO: Packet analysis {"connection_id":161367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:04] local.INFO: Extracted packet for processing {"connection_id":161367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:21:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:21:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":161367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:21:04] local.INFO: GPS data processed {"connection_id":161367,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:21:04] local.INFO: Acknowledgment sent {"connection_id":161367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:21:07] local.INFO: TCP Data received {"connection_id":158833,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:21:07] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:21:07] local.INFO: IMEI packet received {"connection_id":158833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":158833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:21:10] local.INFO: TCP Data received {"connection_id":158833,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:21:10] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:21:10] local.INFO: IMEI packet received {"connection_id":158833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":158833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:21:10] local.INFO: TCP Data received {"connection_id":158833,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022032e88012d7d438005c43ac80004016725..."} 
[2026-08-21 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022032e88012d7d438005c43ac80004016725..."} 
[2026-08-21 07:21:10] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022032e88012d7d438005c43ac80004016725..."} 
[2026-08-21 07:21:10] local.INFO: Packet analysis {"connection_id":158833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:21:10] local.INFO: Extracted packet for processing {"connection_id":158833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":96746184,"longitude_deg":76.3184,"latitude_deg":9.6746184,"altitude":4,"angle":359,"satellites":37,"speed":37,"hex_longitude":"2d7d4380","hex_latitude":"05c43ac8","is_valid_coordinates":true} 
[2026-08-21 07:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542917120001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121461460382515200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996712814592,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787277029000,"timestamp_ms":1787277029000,"timestamp_seconds":1787277029,"priority":1,"record_length":96,"hex_timestamp":"000001a022032e88"} 
[2026-08-21 07:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 07:21:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":158833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":158833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":158833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:21: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-08-21 07:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542917120001,"66":12939,"104":206,"85":12288,"24":37,"16":121461460382515200,"45":9025846996712814592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 07:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542917120001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121461460382515200,"km_value":121461460382515.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996712814592,"description":"Unknown IO ID 45"} 
[2026-08-21 07:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542917120001,"power":12939,"unknown_104":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9025846996712814592}} 
[2026-08-21 07:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":158833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:21:10] local.INFO: GPS data processed {"connection_id":158833,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:21:10] local.INFO: Acknowledgment sent {"connection_id":158833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:21:18] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:21:18] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:21:18] local.INFO: IMEI packet received {"connection_id":159140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":159140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:21:23] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:21:23] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:21:23] local.INFO: IMEI packet received {"connection_id":159140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":159140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:21:25] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02200e498012d196880071fee98004301442c..."} 
[2026-08-21 07:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02200e498012d196880071fee98004301442c..."} 
[2026-08-21 07:21:25] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02200e498012d196880071fee98004301442c..."} 
[2026-08-21 07:21:25] local.INFO: Packet analysis {"connection_id":159140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:25] local.INFO: Extracted packet for processing {"connection_id":159140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:25] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542875648001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21: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-08-21 07:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787276879000,"timestamp_ms":1787276879000,"timestamp_seconds":1787276879,"priority":1,"record_length":96,"hex_timestamp":"000001a02200e498"} 
[2026-08-21 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-08-21 07:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 07:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542875648001,"66":12211,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542875648001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:21:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:21:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542875648001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:21:26] local.INFO: DEBUG: GPS processor result {"connection_id":159140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:21:26] local.INFO: GPS data processed {"connection_id":159140,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:21:26] local.INFO: Acknowledgment sent {"connection_id":159140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:21:26] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:21:26] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:21:26] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:21:32] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:21:32] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:21:32] local.INFO: IMEI packet received {"connection_id":159991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":159991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:21:33] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:21:33] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:21:33] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:33] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:21:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:21:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:21:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:21:33] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:21:33] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:21:42] local.INFO: TCP Data received {"connection_id":158833,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022038090012d7d43c005c451900006000126..."} 
[2026-08-21 07:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022038090012d7d43c005c451900006000126..."} 
[2026-08-21 07:21:42] local.INFO: Processing buffer {"connection_id":158833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022038090012d7d43c005c451900006000126..."} 
[2026-08-21 07:21:42] local.INFO: Packet analysis {"connection_id":158833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:21:42] local.INFO: Extracted packet for processing {"connection_id":158833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":763184064,"raw_latitude":96752016,"longitude_deg":76.3184064,"latitude_deg":9.6752016,"altitude":6,"angle":1,"satellites":38,"speed":23,"hex_longitude":"2d7d43c0","hex_latitude":"05c45190","is_valid_coordinates":true} 
[2026-08-21 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542919424001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121461748145324032,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026198840435984384,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:42] 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-08-21 07:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787277050000,"timestamp_ms":1787277050000,"timestamp_seconds":1787277050,"priority":1,"record_length":96,"hex_timestamp":"000001a022038090"} 
[2026-08-21 07:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 07:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542919424001,"66":13319,"103":206,"85":12288,"24":23,"16":121461748145324032,"45":9026198840435984384},"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-08-21 07:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542919424001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:21:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:21:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121461748145324032,"km_value":121461748145324.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026198840435984384,"description":"Unknown IO ID 45"} 
[2026-08-21 07:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542919424001,"power":13319,"unknown_103":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":9026198840435984384}} 
[2026-08-21 07:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":158833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:21:42] local.INFO: GPS data processed {"connection_id":158833,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:21:42] local.INFO: Acknowledgment sent {"connection_id":158833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:21:57] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220136a0012d196880071fee98004301442c..."} 
[2026-08-21 07:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220136a0012d196880071fee98004301442c..."} 
[2026-08-21 07:21:57] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220136a0012d196880071fee98004301442c..."} 
[2026-08-21 07:21:57] local.INFO: Packet analysis {"connection_id":159140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:21:57] local.INFO: Extracted packet for processing {"connection_id":159140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542881024001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787276900000,"timestamp_ms":1787276900000,"timestamp_seconds":1787276900,"priority":1,"record_length":96,"hex_timestamp":"000001a0220136a0"} 
[2026-08-21 07:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542881024001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542881024001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:21:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:21:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542881024001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":159140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:21:57] local.INFO: GPS data processed {"connection_id":159140,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:21:57] local.INFO: Acknowledgment sent {"connection_id":159140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:22:05] local.INFO: TCP Data received {"connection_id":159991,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:05] local.INFO: Processing buffer {"connection_id":159991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:05] local.INFO: Packet analysis {"connection_id":159991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:22:05] local.INFO: Extracted packet for processing {"connection_id":159991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:22:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:22:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:22:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":159991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:22:05] local.INFO: GPS data processed {"connection_id":159991,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:22:05] local.INFO: Acknowledgment sent {"connection_id":159991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:22:12] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:22:12] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:22:12] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:22:17] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:22:17] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:22:17] local.INFO: IMEI packet received {"connection_id":159992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":159992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:22:18] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:22:18] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:22:18] local.INFO: IMEI packet received {"connection_id":161368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":161368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:22:18] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02203a7a0012d7d454005c476980008000226..."} 
[2026-08-21 07:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02203a7a0012d7d454005c476980008000226..."} 
[2026-08-21 07:22:18] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02203a7a0012d7d454005c476980008000226..."} 
[2026-08-21 07:22:18] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:22:18] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:22:18] local.INFO: GPS Element Parsed {"raw_longitude":763184448,"raw_latitude":96761496,"longitude_deg":76.3184448,"latitude_deg":9.6761496,"altitude":8,"angle":2,"satellites":38,"speed":42,"hex_longitude":"2d7d4540","hex_latitude":"05c47698","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542924800001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121462207706824704,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026269209181655040,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] 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-08-21 07:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787277060000,"timestamp_ms":1787277060000,"timestamp_seconds":1787277060,"priority":1,"record_length":96,"hex_timestamp":"000001a02203a7a0"} 
[2026-08-21 07:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":8496040718509483008,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1650983118,"corrected_to":0} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2147861439,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":8570351385773211653,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2200371200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.WARNING: Large IO value detected {"io_id":116,"raw_value":57810569055327536,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:18] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,85,24,241,157,16,132,160,46,45,128,58,4,37,10,66,104,11,64,23,6,36,236,192,1,240,182,227,131,34,195,113,205,48,193,71,88,239,52,2,175,5,116],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1650983118,"validated":0}]} 
[2026-08-21 07:22:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432346826949459968,"timestamp_seconds":432346826949459.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:22: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-08-21 07:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542924800001,"66":13102,"103":206,"85":12288,"24":42,"16":121462207706824704,"45":9026269209181655040},"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-08-21 07:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542924800001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:22:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:22:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121462207706824704,"km_value":121462207706824.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026269209181655040,"description":"Unknown IO ID 45"} 
[2026-08-21 07:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542924800001,"power":13102,"unknown_103":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9026269209181655040}} 
[2026-08-21 07:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:22:18] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:22:18] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:22:23] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:22:23] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:22:23] local.INFO: IMEI packet received {"connection_id":161368,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":161368,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:22:24] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220188a8012d196880071fee980043014429..."} 
[2026-08-21 07:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220188a8012d196880071fee980043014429..."} 
[2026-08-21 07:22:24] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220188a8012d196880071fee980043014429..."} 
[2026-08-21 07:22:24] local.INFO: Packet analysis {"connection_id":161368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:22:24] local.INFO: Extracted packet for processing {"connection_id":161368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542886400001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22: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-08-21 07:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787276921000,"timestamp_ms":1787276921000,"timestamp_seconds":1787276921,"priority":1,"record_length":96,"hex_timestamp":"000001a0220188a8"} 
[2026-08-21 07:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:22:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542886400001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542886400001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:22:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542886400001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":161368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:22:24] local.INFO: GPS data processed {"connection_id":161368,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:22:24] local.INFO: Acknowledgment sent {"connection_id":161368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:22:31] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:22:31] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:22:31] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:22:36] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:22:36] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:22:36] local.INFO: IMEI packet received {"connection_id":159993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":159993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:22:37] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:37] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:37] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:22:37] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:22:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:22:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:22:37] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:22:37] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:22:42] local.INFO: TCP Data received {"connection_id":159993,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:42] local.INFO: Processing buffer {"connection_id":159993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220086d8012da67700054b3710001c005f2c..."} 
[2026-08-21 07:22:42] local.INFO: Packet analysis {"connection_id":159993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:22:42] local.INFO: Extracted packet for processing {"connection_id":159993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02200"} 
[2026-08-21 07:22:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":44,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787276855000,"timestamp_ms":1787276855000,"timestamp_seconds":1787276855,"priority":1,"record_length":96,"hex_timestamp":"000001a0220086d8"} 
[2026-08-21 07:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542797824001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:22:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:22:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542797824001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":159993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:22:42] local.INFO: GPS data processed {"connection_id":159993,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:22:42] local.INFO: Acknowledgment sent {"connection_id":159993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:22:49] local.INFO: TCP Data received {"connection_id":159992,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02203c6e0012d7d490005c49d000008000525..."} 
[2026-08-21 07:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02203c6e0012d7d490005c49d000008000525..."} 
[2026-08-21 07:22:49] local.INFO: Processing buffer {"connection_id":159992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02203c6e0012d7d490005c49d000008000525..."} 
[2026-08-21 07:22:49] local.INFO: Packet analysis {"connection_id":159992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:22:49] local.INFO: Extracted packet for processing {"connection_id":159992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":763185408,"raw_latitude":96771328,"longitude_deg":76.3185408,"latitude_deg":9.6771328,"altitude":8,"angle":5,"satellites":37,"speed":52,"hex_longitude":"2d7d4900","hex_latitude":"05c49d00","is_valid_coordinates":true} 
[2026-08-21 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542927360001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121462688743161856,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026691421649147904,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:49] 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-08-21 07:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787277068000,"timestamp_ms":1787277068000,"timestamp_seconds":1787277068,"priority":1,"record_length":96,"hex_timestamp":"000001a02203c6e0"} 
[2026-08-21 07:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 07:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542927360001,"66":13254,"103":206,"85":12288,"24":52,"16":121462688743161856,"45":9026691421649147904},"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-08-21 07:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542927360001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:22:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121462688743161856,"km_value":121462688743161.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026691421649147904,"description":"Unknown IO ID 45"} 
[2026-08-21 07:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542927360001,"power":13254,"unknown_103":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":9026691421649147904}} 
[2026-08-21 07:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":159992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:22:49] local.INFO: GPS data processed {"connection_id":159992,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:22:49] local.INFO: Acknowledgment sent {"connection_id":159992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:22:55] local.INFO: TCP Data received {"connection_id":161368,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02201dab0012d196880071fee98004301442d..."} 
[2026-08-21 07:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02201dab0012d196880071fee98004301442d..."} 
[2026-08-21 07:22:55] local.INFO: Processing buffer {"connection_id":161368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02201dab0012d196880071fee98004301442d..."} 
[2026-08-21 07:22:55] local.INFO: Packet analysis {"connection_id":161368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:22:55] local.INFO: Extracted packet for processing {"connection_id":161368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02201"} 
[2026-08-21 07:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542891776001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787276942000,"timestamp_ms":1787276942000,"timestamp_seconds":1787276942,"priority":1,"record_length":96,"hex_timestamp":"000001a02201dab0"} 
[2026-08-21 07:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161368,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542891776001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542891776001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:22:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542891776001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":161368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:22:55] local.INFO: GPS data processed {"connection_id":161368,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:22:55] local.INFO: Acknowledgment sent {"connection_id":161368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:23:07] local.INFO: TCP Data received {"connection_id":158834,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:23:07] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:23:07] local.INFO: IMEI packet received {"connection_id":158834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":158834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:23:12] local.INFO: TCP Data received {"connection_id":158834,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:23:12] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:23:12] local.INFO: IMEI packet received {"connection_id":158834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":158834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:23:12] local.INFO: TCP Data received {"connection_id":158834,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02203e238012d7d494005c4c4d80007016725..."} 
[2026-08-21 07:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02203e238012d7d494005c4c4d80007016725..."} 
[2026-08-21 07:23:12] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02203e238012d7d494005c4c4d80007016725..."} 
[2026-08-21 07:23:12] local.INFO: Packet analysis {"connection_id":158834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:23:12] local.INFO: Extracted packet for processing {"connection_id":158834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:23:12] local.INFO: GPS Element Parsed {"raw_longitude":763185472,"raw_latitude":96781528,"longitude_deg":76.3185472,"latitude_deg":9.6781528,"altitude":7,"angle":359,"satellites":37,"speed":58,"hex_longitude":"2d7d4940","hex_latitude":"05c4c4d8","is_valid_coordinates":true} 
[2026-08-21 07:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542929408001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121463182664400896,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027746952814329856,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:12] 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-08-21 07:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787277075000,"timestamp_ms":1787277075000,"timestamp_seconds":1787277075,"priority":1,"record_length":96,"hex_timestamp":"000001a02203e238"} 
[2026-08-21 07:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 07:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542929408001,"66":13059,"103":206,"85":12288,"24":58,"16":121463182664400896,"45":9027746952814329856},"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-08-21 07:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542929408001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:23:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 07:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121463182664400896,"km_value":121463182664400.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027746952814329856,"description":"Unknown IO ID 45"} 
[2026-08-21 07:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542929408001,"power":13059,"unknown_103":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":9027746952814329856}} 
[2026-08-21 07:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":158834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:23:12] local.INFO: GPS data processed {"connection_id":158834,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:23:12] local.INFO: Acknowledgment sent {"connection_id":158834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:23:23] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:23:23] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:23:23] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:23:26] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:23:26] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:23:26] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:23:28] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:23:28] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:23:28] local.INFO: IMEI packet received {"connection_id":159994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":159994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:23:29] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022022cb8012d196880071fee98004301442b..."} 
[2026-08-21 07:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022022cb8012d196880071fee98004301442b..."} 
[2026-08-21 07:23:29] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022022cb8012d196880071fee98004301442b..."} 
[2026-08-21 07:23:29] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02202"} 
[2026-08-21 07:23:29] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02202"} 
[2026-08-21 07:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542897152001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787276963000,"timestamp_ms":1787276963000,"timestamp_seconds":1787276963,"priority":1,"record_length":96,"hex_timestamp":"000001a022022cb8"} 
[2026-08-21 07:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542897152001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542897152001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:23:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542897152001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:23:29] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:23:29] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:23:32] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:23:32] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:23:32] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:23:32] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022027ec0012d196880071fee98004301442c..."} 
[2026-08-21 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022027ec0012d196880071fee98004301442c..."} 
[2026-08-21 07:23:32] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022027ec0012d196880071fee98004301442c..."} 
[2026-08-21 07:23:32] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02202"} 
[2026-08-21 07:23:32] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02202"} 
[2026-08-21 07:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542902528001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787276984000,"timestamp_ms":1787276984000,"timestamp_seconds":1787276984,"priority":1,"record_length":96,"hex_timestamp":"000001a022027ec0"} 
[2026-08-21 07:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:23: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-08-21 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:23: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-08-21 07:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542902528001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542902528001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542902528001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:23:32] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:23:32] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:23:32] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:23:32] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:23:32] local.INFO: Packet analysis {"connection_id":159141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:23:32] local.INFO: Extracted packet for processing {"connection_id":159141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:23:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:23: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-08-21 07:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":159141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:23:32] local.INFO: GPS data processed {"connection_id":159141,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:23:32] local.INFO: Acknowledgment sent {"connection_id":159141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:23:43] local.INFO: TCP Data received {"connection_id":158834,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02205ce68012d7d348005c639f80008004126..."} 
[2026-08-21 07:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02205ce68012d7d348005c639f80008004126..."} 
[2026-08-21 07:23:43] local.INFO: Processing buffer {"connection_id":158834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02205ce68012d7d348005c639f80008004126..."} 
[2026-08-21 07:23:43] local.INFO: Packet analysis {"connection_id":158834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:23:43] local.INFO: Extracted packet for processing {"connection_id":158834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:23:43] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":96877048,"longitude_deg":76.318016,"latitude_deg":9.6877048,"altitude":8,"angle":65,"satellites":38,"speed":10,"hex_longitude":"2d7d3480","hex_latitude":"05c639f8","is_valid_coordinates":true} 
[2026-08-21 07:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542962432001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121467851293851648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872097843200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787277201000,"timestamp_ms":1787277201000,"timestamp_seconds":1787277201,"priority":1,"record_length":96,"hex_timestamp":"000001a02205ce68"} 
[2026-08-21 07:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 07:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542962432001,"66":13319,"229":206,"85":12288,"24":10,"16":121467851293851648,"45":9021624872097843200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542962432001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:23:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:23:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121467851293851648,"km_value":121467851293851.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872097843200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542962432001,"power":13319,"unknown_229":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9021624872097843200}} 
[2026-08-21 07:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":158834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:23:43] local.INFO: GPS data processed {"connection_id":158834,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:23:43] local.INFO: Acknowledgment sent {"connection_id":158834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:24:03] local.INFO: TCP Data received {"connection_id":159994,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02202d0c8012d196880071fee98004301442c..."} 
[2026-08-21 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02202d0c8012d196880071fee98004301442c..."} 
[2026-08-21 07:24:03] local.INFO: Processing buffer {"connection_id":159994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02202d0c8012d196880071fee98004301442c..."} 
[2026-08-21 07:24:03] local.INFO: Packet analysis {"connection_id":159994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02202"} 
[2026-08-21 07:24:03] local.INFO: Extracted packet for processing {"connection_id":159994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02202"} 
[2026-08-21 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542907904001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787277005000,"timestamp_ms":1787277005000,"timestamp_seconds":1787277005,"priority":1,"record_length":96,"hex_timestamp":"000001a02202d0c8"} 
[2026-08-21 07:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:24: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-08-21 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542907904001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542907904001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542907904001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":159994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:24:03] local.INFO: GPS data processed {"connection_id":159994,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:24:03] local.INFO: Acknowledgment sent {"connection_id":159994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:24:04] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:24:04] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:24:04] local.INFO: Packet analysis {"connection_id":159141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:24:04] local.INFO: Extracted packet for processing {"connection_id":159141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:24: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:24:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:24:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":159141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:24:04] local.INFO: GPS data processed {"connection_id":159141,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:24:04] local.INFO: Acknowledgment sent {"connection_id":159141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:24:17] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:24:17] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:24:17] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:24:18] local.INFO: TCP Data received {"connection_id":159995,"ip":"42.106.6.16","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159995,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:24:18] local.INFO: Processing buffer {"connection_id":159995,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:24:18] local.INFO: IMEI packet received {"connection_id":159995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":159995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:24:18] local.INFO: TCP Data received {"connection_id":158835,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:24:18] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:24:18] local.INFO: IMEI packet received {"connection_id":158835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":158835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:24:23] local.INFO: TCP Data received {"connection_id":158835,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:24:23] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:24:23] local.INFO: IMEI packet received {"connection_id":158835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":158835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:24:24] local.INFO: TCP Data received {"connection_id":158835,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220322d0012d196880071fee98004301442d..."} 
[2026-08-21 07:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220322d0012d196880071fee98004301442d..."} 
[2026-08-21 07:24:24] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220322d0012d196880071fee98004301442d..."} 
[2026-08-21 07:24:24] local.INFO: Packet analysis {"connection_id":158835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:24:24] local.INFO: Extracted packet for processing {"connection_id":158835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542913280001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24: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-08-21 07:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277026000,"timestamp_ms":1787277026000,"timestamp_seconds":1787277026,"priority":1,"record_length":96,"hex_timestamp":"000001a0220322d0"} 
[2026-08-21 07:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542913280001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542913280001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:24:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542913280001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":158835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:24:24] local.INFO: GPS data processed {"connection_id":158835,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:24:24] local.INFO: Acknowledgment sent {"connection_id":158835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:24:26] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:24:26] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:24:26] local.INFO: IMEI packet received {"connection_id":159142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":159142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:24:31] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:24:31] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:24:31] local.INFO: IMEI packet received {"connection_id":159142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":159142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:24:32] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:24:32] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:24:32] local.INFO: Packet analysis {"connection_id":159142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:24:32] local.INFO: Extracted packet for processing {"connection_id":159142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:24:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:24: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-08-21 07:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:24:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:24:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":159142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:24:32] local.INFO: GPS data processed {"connection_id":159142,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:24:32] local.INFO: Acknowledgment sent {"connection_id":159142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:24:55] local.INFO: TCP Data received {"connection_id":158835,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220374d8012d196880071fee98004301442a..."} 
[2026-08-21 07:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220374d8012d196880071fee98004301442a..."} 
[2026-08-21 07:24:55] local.INFO: Processing buffer {"connection_id":158835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220374d8012d196880071fee98004301442a..."} 
[2026-08-21 07:24:55] local.INFO: Packet analysis {"connection_id":158835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:24:55] local.INFO: Extracted packet for processing {"connection_id":158835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542918656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277047000,"timestamp_ms":1787277047000,"timestamp_seconds":1787277047,"priority":1,"record_length":96,"hex_timestamp":"000001a0220374d8"} 
[2026-08-21 07:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542918656001,"66":12189,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542918656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:24:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542918656001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":158835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:24:55] local.INFO: GPS data processed {"connection_id":158835,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:24:55] local.INFO: Acknowledgment sent {"connection_id":158835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:25:04] local.INFO: TCP Data received {"connection_id":159142,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:25:04] local.INFO: Processing buffer {"connection_id":159142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:25:04] local.INFO: Packet analysis {"connection_id":159142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:25:04] local.INFO: Extracted packet for processing {"connection_id":159142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:25: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-08-21 07:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:25:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:25:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":159142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:25:04] local.INFO: GPS data processed {"connection_id":159142,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:25:04] local.INFO: Acknowledgment sent {"connection_id":159142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:25:16] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:16] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:16] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:25:18] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:18] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:18] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:25:23] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:23] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:25:23] local.INFO: IMEI packet received {"connection_id":159996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":159996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:25:24] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02203c6e0012d196880071fee98004301442c..."} 
[2026-08-21 07:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02203c6e0012d196880071fee98004301442c..."} 
[2026-08-21 07:25:24] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02203c6e0012d196880071fee98004301442c..."} 
[2026-08-21 07:25:24] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:25:24] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02203"} 
[2026-08-21 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542924032001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25: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-08-21 07:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277068000,"timestamp_ms":1787277068000,"timestamp_seconds":1787277068,"priority":1,"record_length":96,"hex_timestamp":"000001a02203c6e0"} 
[2026-08-21 07:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 07:25:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542924032001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542924032001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:25:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542924032001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:25:24] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:25:24] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:25:26] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:25:26] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:25:26] local.INFO: IMEI packet received {"connection_id":161369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":161369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:25:31] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:25:32] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:25:32] local.INFO: IMEI packet received {"connection_id":161369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":161369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:25:33] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:25:33] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:25:33] local.INFO: Packet analysis {"connection_id":161369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:25:33] local.INFO: Extracted packet for processing {"connection_id":161369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:25:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:25:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":161369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:25:33] local.INFO: GPS data processed {"connection_id":161369,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:25:33] local.INFO: Acknowledgment sent {"connection_id":161369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:25:55] local.INFO: TCP Data received {"connection_id":159996,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220418e8012d196880071fee98004301442c..."} 
[2026-08-21 07:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220418e8012d196880071fee98004301442c..."} 
[2026-08-21 07:25:55] local.INFO: Processing buffer {"connection_id":159996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220418e8012d196880071fee98004301442c..."} 
[2026-08-21 07:25:55] local.INFO: Packet analysis {"connection_id":159996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02204"} 
[2026-08-21 07:25:55] local.INFO: Extracted packet for processing {"connection_id":159996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02204"} 
[2026-08-21 07:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542929408001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277089000,"timestamp_ms":1787277089000,"timestamp_seconds":1787277089,"priority":1,"record_length":96,"hex_timestamp":"000001a0220418e8"} 
[2026-08-21 07:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542929408001,"66":12211,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542929408001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:25:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542929408001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":159996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:25:55] local.INFO: GPS data processed {"connection_id":159996,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:25:55] local.INFO: Acknowledgment sent {"connection_id":159996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:26:04] local.INFO: TCP Data received {"connection_id":161369,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:26:04] local.INFO: Processing buffer {"connection_id":161369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:26:04] local.INFO: Packet analysis {"connection_id":161369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:26:04] local.INFO: Extracted packet for processing {"connection_id":161369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:26:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 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-08-21 07:26: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-08-21 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:26:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:26:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":161369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:26:04] local.INFO: GPS data processed {"connection_id":161369,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:26:04] local.INFO: Acknowledgment sent {"connection_id":161369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:26:18] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:18] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:18] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:26:19] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:19] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:19] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:26:23] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:23] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:26:23] local.INFO: IMEI packet received {"connection_id":159997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":159997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:26:24] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022046af0012d196880071fee98004301442d..."} 
[2026-08-21 07:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022046af0012d196880071fee98004301442d..."} 
[2026-08-21 07:26:24] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022046af0012d196880071fee98004301442d..."} 
[2026-08-21 07:26:24] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02204"} 
[2026-08-21 07:26:24] local.INFO: Extracted packet for processing {"connection_id":159997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02204"} 
[2026-08-21 07:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756639872,"raw_latitude":119533208,"longitude_deg":75.6639872,"latitude_deg":11.9533208,"altitude":67,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d196880","hex_latitude":"071fee98","is_valid_coordinates":true} 
[2026-08-21 07:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542934784001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226228764475392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26: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-08-21 07:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277110000,"timestamp_ms":1787277110000,"timestamp_seconds":1787277110,"priority":1,"record_length":96,"hex_timestamp":"000001a022046af0"} 
[2026-08-21 07:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:26: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-08-21 07:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542934784001,"66":12232,"102":206,"83":41984,"24":0,"16":14226228764475392,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542934784001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:26:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226228764475392,"km_value":14226228764475.393,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542934784001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":159997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:26:24] local.INFO: GPS data processed {"connection_id":159997,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:26:24] local.INFO: Acknowledgment sent {"connection_id":159997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:26:26] local.INFO: TCP Data received {"connection_id":158836,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:26:26] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:26:26] local.INFO: IMEI packet received {"connection_id":158836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":158836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:26:31] local.INFO: TCP Data received {"connection_id":158836,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:26:31] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:26:31] local.INFO: IMEI packet received {"connection_id":158836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":158836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:26:32] local.INFO: TCP Data received {"connection_id":158836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:26:32] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:26:32] local.INFO: Packet analysis {"connection_id":158836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:26:32] local.INFO: Extracted packet for processing {"connection_id":158836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:26:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:26: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:26:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:26:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":158836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:26:32] local.INFO: GPS data processed {"connection_id":158836,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:26:32] local.INFO: Acknowledgment sent {"connection_id":158836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:26:59] local.INFO: TCP Data received {"connection_id":159997,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02204bcf8012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02204bcf8012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 07:26:59] local.INFO: Processing buffer {"connection_id":159997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02204bcf8012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 07:26:59] local.INFO: Packet analysis {"connection_id":159997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02204"} 
[2026-08-21 07:26:59] local.INFO: Extracted packet for processing {"connection_id":159997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02204"} 
[2026-08-21 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542940160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830854016614963200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787277131000,"timestamp_ms":1787277131000,"timestamp_seconds":1787277131,"priority":1,"record_length":96,"hex_timestamp":"000001a02204bcf8"} 
[2026-08-21 07:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542940160001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830854016614963200},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542940160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830854016614963200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542940160001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830854016614963200}} 
[2026-08-21 07:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":159997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:26:59] local.INFO: GPS data processed {"connection_id":159997,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:26:59] local.INFO: Acknowledgment sent {"connection_id":159997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:27:04] local.INFO: TCP Data received {"connection_id":158836,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:27:04] local.INFO: Processing buffer {"connection_id":158836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:27:04] local.INFO: Packet analysis {"connection_id":158836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:27:04] local.INFO: Extracted packet for processing {"connection_id":158836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:27:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:27: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-08-21 07:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:27: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-08-21 07:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:27:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:27:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":158836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:27:04] local.INFO: GPS data processed {"connection_id":158836,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:27:04] local.INFO: Acknowledgment sent {"connection_id":158836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:27:18] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:27:18] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:27:18] local.INFO: IMEI packet received {"connection_id":161370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":161370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:27:22] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:27:22] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:27:22] local.INFO: IMEI packet received {"connection_id":161370,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":161370,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:27:23] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022084350012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022084350012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:27:23] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022084350012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:27:23] local.INFO: Packet analysis {"connection_id":161370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02208"} 
[2026-08-21 07:27:23] local.INFO: Extracted packet for processing {"connection_id":161370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02208"} 
[2026-08-21 07:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542999296001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787277362000,"timestamp_ms":1787277362000,"timestamp_seconds":1787277362,"priority":1,"record_length":96,"hex_timestamp":"000001a022084350"} 
[2026-08-21 07:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 07:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542999296001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542999296001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542999296001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":161370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:27:23] local.INFO: GPS data processed {"connection_id":161370,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:27:23] local.INFO: Acknowledgment sent {"connection_id":161370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:27:26] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:27:26] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:27:26] local.INFO: IMEI packet received {"connection_id":159998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":159998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:27:31] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:27:31] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:27:31] local.INFO: IMEI packet received {"connection_id":159998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":159998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:27:32] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:27:33] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:27:33] local.INFO: Packet analysis {"connection_id":159998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:27:33] local.INFO: Extracted packet for processing {"connection_id":159998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:27:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:27:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":159998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:27:33] local.INFO: GPS data processed {"connection_id":159998,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:27:33] local.INFO: Acknowledgment sent {"connection_id":159998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:27:54] local.INFO: TCP Data received {"connection_id":161370,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022089558012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022089558012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:27:54] local.INFO: Processing buffer {"connection_id":161370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022089558012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:27:54] local.INFO: Packet analysis {"connection_id":161370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02208"} 
[2026-08-21 07:27:54] local.INFO: Extracted packet for processing {"connection_id":161370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02208"} 
[2026-08-21 07:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543004672001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:27: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-08-21 07:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787277383000,"timestamp_ms":1787277383000,"timestamp_seconds":1787277383,"priority":1,"record_length":96,"hex_timestamp":"000001a022089558"} 
[2026-08-21 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-08-21 07:27: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-08-21 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161370,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543004672001,"66":11961,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543004672001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:27:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543004672001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":161370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:27:54] local.INFO: GPS data processed {"connection_id":161370,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:27:54] local.INFO: Acknowledgment sent {"connection_id":161370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:28:04] local.INFO: TCP Data received {"connection_id":159998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:28:04] local.INFO: Processing buffer {"connection_id":159998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022051ea0012da67700054b3710001c005f29..."} 
[2026-08-21 07:28:04] local.INFO: Packet analysis {"connection_id":159998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:28:04] local.INFO: Extracted packet for processing {"connection_id":159998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02205"} 
[2026-08-21 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":41,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277156000,"timestamp_ms":1787277156000,"timestamp_seconds":1787277156,"priority":1,"record_length":96,"hex_timestamp":"000001a022051ea0"} 
[2026-08-21 07:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:28: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542874880001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542874880001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":159998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:28:04] local.INFO: GPS data processed {"connection_id":159998,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:28:04] local.INFO: Acknowledgment sent {"connection_id":159998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:28:18] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:28:18] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:28:18] local.INFO: IMEI packet received {"connection_id":161371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":161371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:28:23] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:28:23] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:28:23] local.INFO: IMEI packet received {"connection_id":161371,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":161371,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:28:24] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02208e760012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02208e760012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:28:24] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02208e760012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:28:24] local.INFO: Packet analysis {"connection_id":161371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02208"} 
[2026-08-21 07:28:24] local.INFO: Extracted packet for processing {"connection_id":161371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02208"} 
[2026-08-21 07:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543010048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28: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-08-21 07:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277404000,"timestamp_ms":1787277404000,"timestamp_seconds":1787277404,"priority":1,"record_length":96,"hex_timestamp":"000001a02208e760"} 
[2026-08-21 07:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:28: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-08-21 07: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 07:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543010048001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543010048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:28:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543010048001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":161371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:28:24] local.INFO: GPS data processed {"connection_id":161371,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:28:24] local.INFO: Acknowledgment sent {"connection_id":161371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:28:31] local.INFO: TCP Data received {"connection_id":158838,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:28:31] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:28:31] local.INFO: IMEI packet received {"connection_id":158838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":158838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:28:37] local.INFO: TCP Data received {"connection_id":158838,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:28:37] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:28:37] local.INFO: IMEI packet received {"connection_id":158838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":158838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:28:38] local.INFO: TCP Data received {"connection_id":158838,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:28:38] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:28:38] local.INFO: Packet analysis {"connection_id":158838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:28:38] local.INFO: Extracted packet for processing {"connection_id":158838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:28:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:28:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":158838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:28:38] local.INFO: GPS data processed {"connection_id":158838,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:28:38] local.INFO: Acknowledgment sent {"connection_id":158838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:28:42] local.INFO: TCP Data received {"connection_id":158838,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:28:42] local.INFO: Processing buffer {"connection_id":158838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:28:42] local.INFO: Packet analysis {"connection_id":158838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:28:42] local.INFO: Extracted packet for processing {"connection_id":158838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:28:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:28:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:28:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":158838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:28:42] local.INFO: GPS data processed {"connection_id":158838,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:28:42] local.INFO: Acknowledgment sent {"connection_id":158838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:28:55] local.INFO: TCP Data received {"connection_id":161371,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022093968012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022093968012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:28:55] local.INFO: Processing buffer {"connection_id":161371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022093968012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:28:55] local.INFO: Packet analysis {"connection_id":161371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:28:55] local.INFO: Extracted packet for processing {"connection_id":161371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543015424001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277425000,"timestamp_ms":1787277425000,"timestamp_seconds":1787277425,"priority":1,"record_length":96,"hex_timestamp":"000001a022093968"} 
[2026-08-21 07:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161371,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543015424001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543015424001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:28:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543015424001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":161371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:28:55] local.INFO: GPS data processed {"connection_id":161371,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:28:55] local.INFO: Acknowledgment sent {"connection_id":161371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:29:18] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:29:18] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:29:18] local.INFO: IMEI packet received {"connection_id":161372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":161372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:29:22] local.INFO: TCP Data received {"connection_id":159146,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:29:22] local.INFO: Processing buffer {"connection_id":159146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:29:22] local.INFO: IMEI packet received {"connection_id":159146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":159146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:29:23] local.INFO: TCP Data received {"connection_id":159146,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220a79b8012d7d468005c7ae58000a014823..."} 
[2026-08-21 07:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220a79b8012d7d468005c7ae58000a014823..."} 
[2026-08-21 07:29:23] local.INFO: Processing buffer {"connection_id":159146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220a79b8012d7d468005c7ae58000a014823..."} 
[2026-08-21 07:29:23] local.INFO: Packet analysis {"connection_id":159146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:29:23] local.INFO: Extracted packet for processing {"connection_id":159146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:29:23] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":96972376,"longitude_deg":76.3184768,"latitude_deg":9.6972376,"altitude":10,"angle":328,"satellites":35,"speed":19,"hex_longitude":"2d7d4680","hex_latitude":"05c7ae58","is_valid_coordinates":true} 
[2026-08-21 07:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543036672001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 07:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121481655318740992,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032954239933095936,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:23] 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-08-21 07:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787277507000,"timestamp_ms":1787277507000,"timestamp_seconds":1787277507,"priority":1,"record_length":96,"hex_timestamp":"000001a0220a79b8"} 
[2026-08-21 07:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 07:29: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-08-21 07:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543036672001,"66":13222,"200":0,"85":12288,"24":19,"16":121481655318740992,"45":9032954239933095936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 07:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543036672001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:29:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121481655318740992,"km_value":121481655318740.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032954239933095936,"description":"Unknown IO ID 45"} 
[2026-08-21 07:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543036672001,"power":13222,"gsm_signal":0,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":9032954239933095936}} 
[2026-08-21 07:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":159146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:29:23] local.INFO: GPS data processed {"connection_id":159146,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:29:23] local.INFO: Acknowledgment sent {"connection_id":159146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:29:23] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:29:23] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:29:23] local.INFO: IMEI packet received {"connection_id":161372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":161372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:29:24] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022098b70012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022098b70012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:29:24] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022098b70012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:29:24] local.INFO: Packet analysis {"connection_id":161372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:29:24] local.INFO: Extracted packet for processing {"connection_id":161372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543020800001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29: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-08-21 07:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277446000,"timestamp_ms":1787277446000,"timestamp_seconds":1787277446,"priority":1,"record_length":96,"hex_timestamp":"000001a022098b70"} 
[2026-08-21 07:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:29: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-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543020800001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543020800001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543020800001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":161372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:29:24] local.INFO: GPS data processed {"connection_id":161372,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:29:24] local.INFO: Acknowledgment sent {"connection_id":161372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:29:27] local.INFO: TCP Data received {"connection_id":159147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:29:27] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:29:27] local.INFO: IMEI packet received {"connection_id":159147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":159147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:29:31] local.INFO: TCP Data received {"connection_id":159147,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:29:31] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:29:31] local.INFO: IMEI packet received {"connection_id":159147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":159147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:29:32] local.INFO: TCP Data received {"connection_id":159147,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:29:32] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:29:32] local.INFO: Packet analysis {"connection_id":159147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:29:32] local.INFO: Extracted packet for processing {"connection_id":159147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:29:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:29: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-08-21 07: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-08-21 07:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:29:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:29:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":159147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:29:33] local.INFO: GPS data processed {"connection_id":159147,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:29:33] local.INFO: Acknowledgment sent {"connection_id":159147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:29:57] local.INFO: TCP Data received {"connection_id":161372,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02209dd78012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209dd78012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:29:57] local.INFO: Processing buffer {"connection_id":161372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209dd78012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:29:57] local.INFO: Packet analysis {"connection_id":161372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:29:57] local.INFO: Extracted packet for processing {"connection_id":161372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:29:57] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543026176001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787277467000,"timestamp_ms":1787277467000,"timestamp_seconds":1787277467,"priority":1,"record_length":96,"hex_timestamp":"000001a02209dd78"} 
[2026-08-21 07:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:29:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:29:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543026176001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543026176001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:29:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:29:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543026176001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":161372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:29:57] local.INFO: GPS data processed {"connection_id":161372,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:29:57] local.INFO: Acknowledgment sent {"connection_id":161372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:30:04] local.INFO: TCP Data received {"connection_id":159147,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:30:04] local.INFO: Processing buffer {"connection_id":159147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:30:04] local.INFO: Packet analysis {"connection_id":159147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:30:04] local.INFO: Extracted packet for processing {"connection_id":159147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:30:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:30:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:30:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":159147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:30:04] local.INFO: GPS data processed {"connection_id":159147,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:30:04] local.INFO: Acknowledgment sent {"connection_id":159147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:30:07] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:30:07] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:30:07] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:30:09] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:30:09] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:30:09] local.INFO: IMEI packet received {"connection_id":159999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":159999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:30:09] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220ac3f0012d7d364005c7cd580009014c27..."} 
[2026-08-21 07:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220ac3f0012d7d364005c7cd580009014c27..."} 
[2026-08-21 07:30:09] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220ac3f0012d7d364005c7cd580009014c27..."} 
[2026-08-21 07:30:09] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:09] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763180608,"raw_latitude":96980312,"longitude_deg":76.3180608,"latitude_deg":9.6980312,"altitude":9,"angle":332,"satellites":39,"speed":27,"hex_longitude":"2d7d3640","hex_latitude":"05c7cd58","is_valid_coordinates":true} 
[2026-08-21 07:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543041792001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 07:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121482089110437888,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027043265424021504,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-08-21 07:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787277526000,"timestamp_ms":1787277526000,"timestamp_seconds":1787277526,"priority":1,"record_length":96,"hex_timestamp":"000001a0220ac3f0"} 
[2026-08-21 07:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 07:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:30: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-08-21 07:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543041792001,"66":13341,"200":0,"85":12288,"24":27,"16":121482089110437888,"45":9027043265424021504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 07:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543041792001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121482089110437888,"km_value":121482089110437.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027043265424021504,"description":"Unknown IO ID 45"} 
[2026-08-21 07:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543041792001,"power":13341,"gsm_signal":0,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9027043265424021504}} 
[2026-08-21 07:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:30:09] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:30:09] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:30:18] local.INFO: TCP Data received {"connection_id":158839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:30:18] local.INFO: Processing buffer {"connection_id":158839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:30:18] local.INFO: IMEI packet received {"connection_id":158839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":158839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:30:23] local.INFO: TCP Data received {"connection_id":158839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:30:23] local.INFO: Processing buffer {"connection_id":158839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:30:23] local.INFO: IMEI packet received {"connection_id":158839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":158839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:30:24] local.INFO: TCP Data received {"connection_id":158839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220a2f80012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220a2f80012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:30:24] local.INFO: Processing buffer {"connection_id":158839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220a2f80012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:30:24] local.INFO: Packet analysis {"connection_id":158839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:24] local.INFO: Extracted packet for processing {"connection_id":158839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543031552001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30: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-08-21 07:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277488000,"timestamp_ms":1787277488000,"timestamp_seconds":1787277488,"priority":1,"record_length":96,"hex_timestamp":"000001a0220a2f80"} 
[2026-08-21 07:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:30: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-08-21 07:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543031552001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543031552001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543031552001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":158839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:30:24] local.INFO: GPS data processed {"connection_id":158839,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:30:24] local.INFO: Acknowledgment sent {"connection_id":158839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:30:26] local.INFO: TCP Data received {"connection_id":158840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:30:26] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:30:26] local.INFO: IMEI packet received {"connection_id":158840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":158840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:30:31] local.INFO: TCP Data received {"connection_id":158840,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:30:31] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:30:31] local.INFO: IMEI packet received {"connection_id":158840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":158840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:30:32] local.INFO: TCP Data received {"connection_id":158840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:30:32] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:30:32] local.INFO: Packet analysis {"connection_id":158840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:30:32] local.INFO: Extracted packet for processing {"connection_id":158840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:30:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:30: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-08-21 07: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-08-21 07:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:30:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:30:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":158840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:30:33] local.INFO: GPS data processed {"connection_id":158840,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:30:33] local.INFO: Acknowledgment sent {"connection_id":158840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:30:40] local.INFO: TCP Data received {"connection_id":159999,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220aeb00012d7d29c005c7ef38000a015627..."} 
[2026-08-21 07:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220aeb00012d7d29c005c7ef38000a015627..."} 
[2026-08-21 07:30:40] local.INFO: Processing buffer {"connection_id":159999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220aeb00012d7d29c005c7ef38000a015627..."} 
[2026-08-21 07:30:40] local.INFO: Packet analysis {"connection_id":159999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:40] local.INFO: Extracted packet for processing {"connection_id":159999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763177408,"raw_latitude":96988984,"longitude_deg":76.3177408,"latitude_deg":9.6988984,"altitude":10,"angle":342,"satellites":39,"speed":42,"hex_longitude":"2d7d29c0","hex_latitude":"05c7ef38","is_valid_coordinates":true} 
[2026-08-21 07:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543046656001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-08-21 07:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121482535787036672,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022469297054504960,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:40] 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-08-21 07:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787277536000,"timestamp_ms":1787277536000,"timestamp_seconds":1787277536,"priority":1,"record_length":96,"hex_timestamp":"000001a0220aeb00"} 
[2026-08-21 07:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 07:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543046656001,"66":13015,"200":0,"85":12288,"24":42,"16":121482535787036672,"45":9022469297054504960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-08-21 07:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543046656001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121482535787036672,"km_value":121482535787036.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022469297054504960,"description":"Unknown IO ID 45"} 
[2026-08-21 07:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543046656001,"power":13015,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9022469297054504960}} 
[2026-08-21 07:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":159999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:30:40] local.INFO: GPS data processed {"connection_id":159999,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:30:40] local.INFO: Acknowledgment sent {"connection_id":159999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:30:55] local.INFO: TCP Data received {"connection_id":158839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220a8188012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220a8188012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:30:55] local.INFO: Processing buffer {"connection_id":158839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220a8188012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:30:55] local.INFO: Packet analysis {"connection_id":158839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:55] local.INFO: Extracted packet for processing {"connection_id":158839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543036928001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277509000,"timestamp_ms":1787277509000,"timestamp_seconds":1787277509,"priority":1,"record_length":96,"hex_timestamp":"000001a0220a8188"} 
[2026-08-21 07:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543036928001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543036928001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:30:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543036928001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":158839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:30:55] local.INFO: GPS data processed {"connection_id":158839,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:30:55] local.INFO: Acknowledgment sent {"connection_id":158839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:31:04] local.INFO: TCP Data received {"connection_id":158840,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:31:04] local.INFO: Processing buffer {"connection_id":158840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:31:04] local.INFO: Packet analysis {"connection_id":158840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:31:04] local.INFO: Extracted packet for processing {"connection_id":158840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:31:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":158840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:31:04] local.INFO: GPS data processed {"connection_id":158840,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:31:04] local.INFO: Acknowledgment sent {"connection_id":158840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:31:06] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:06] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:06] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:31:07] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:07] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:07] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:31:12] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:12] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:31:12] local.INFO: IMEI packet received {"connection_id":161373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":161373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:31:13] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220c8528012d7d078005c909880009000c26..."} 
[2026-08-21 07:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220c8528012d7d078005c909880009000c26..."} 
[2026-08-21 07:31:13] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220c8528012d7d078005c909880009000c26..."} 
[2026-08-21 07:31:13] local.INFO: Packet analysis {"connection_id":161373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:31:13] local.INFO: Extracted packet for processing {"connection_id":161373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":763168640,"raw_latitude":97061256,"longitude_deg":76.316864,"latitude_deg":9.7061256,"altitude":9,"angle":12,"satellites":38,"speed":5,"hex_longitude":"2d7d0780","hex_latitude":"05c90988","is_valid_coordinates":true} 
[2026-08-21 07:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543073024001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121486083430023168,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310341913931776,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787277641000,"timestamp_ms":1787277641000,"timestamp_seconds":1787277641,"priority":1,"record_length":96,"hex_timestamp":"000001a0220c8528"} 
[2026-08-21 07:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 07:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543073024001,"66":12624,"205":206,"85":12288,"24":5,"16":121486083430023168,"45":9009310341913931776},"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-08-21 07:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543073024001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:31:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121486083430023168,"km_value":121486083430023.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310341913931776,"description":"Unknown IO ID 45"} 
[2026-08-21 07:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543073024001,"power":12624,"cell_id":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9009310341913931776}} 
[2026-08-21 07:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":161373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:31:13] local.INFO: GPS data processed {"connection_id":161373,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:31:13] local.INFO: Acknowledgment sent {"connection_id":161373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:31:18] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:31:18] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:31:18] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:31:23] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:31:23] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:31:23] local.INFO: IMEI packet received {"connection_id":160000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":160000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:31:24] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220ad390012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220ad390012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:31:24] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220ad390012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:31:24] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:31:24] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220a"} 
[2026-08-21 07:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543042304001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277530000,"timestamp_ms":1787277530000,"timestamp_seconds":1787277530,"priority":1,"record_length":96,"hex_timestamp":"000001a0220ad390"} 
[2026-08-21 07:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:31: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-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543042304001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543042304001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:31:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543042304001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:31:24] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:31:24] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:31:26] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:31:26] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:31:26] local.INFO: IMEI packet received {"connection_id":161374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":161374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:31:31] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:31:31] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:31:31] local.INFO: IMEI packet received {"connection_id":161374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":161374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:31:32] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:31:32] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:31:32] local.INFO: Packet analysis {"connection_id":161374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:31:32] local.INFO: Extracted packet for processing {"connection_id":161374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:31:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:31: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-08-21 07:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:31:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:31:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":161374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:31:32] local.INFO: GPS data processed {"connection_id":161374,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:31:32] local.INFO: Acknowledgment sent {"connection_id":161374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:31:44] local.INFO: TCP Data received {"connection_id":161373,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220c8910012d7d078005c90a600009000126..."} 
[2026-08-21 07:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220c8910012d7d078005c90a600009000126..."} 
[2026-08-21 07:31:44] local.INFO: Processing buffer {"connection_id":161373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220c8910012d7d078005c90a600009000126..."} 
[2026-08-21 07:31:44] local.INFO: Packet analysis {"connection_id":161373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:31:44] local.INFO: Extracted packet for processing {"connection_id":161373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:31:44] local.INFO: GPS Element Parsed {"raw_longitude":763168640,"raw_latitude":97061472,"longitude_deg":76.316864,"latitude_deg":9.7061472,"altitude":9,"angle":1,"satellites":38,"speed":10,"hex_longitude":"2d7d0780","hex_latitude":"05c90a60","is_valid_coordinates":true} 
[2026-08-21 07:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543076096001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121486092019957760,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310341914003456,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787277642000,"timestamp_ms":1787277642000,"timestamp_seconds":1787277642,"priority":1,"record_length":96,"hex_timestamp":"000001a0220c8910"} 
[2026-08-21 07:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 07:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543076096001,"66":13080,"205":206,"85":12288,"24":10,"16":121486092019957760,"45":9009310341914003456},"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-08-21 07:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543076096001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:31:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121486092019957760,"km_value":121486092019957.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310341914003456,"description":"Unknown IO ID 45"} 
[2026-08-21 07:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543076096001,"power":13080,"cell_id":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9009310341914003456}} 
[2026-08-21 07:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":161373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674131,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:31:44] local.INFO: GPS data processed {"connection_id":161373,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:31:44] local.INFO: Acknowledgment sent {"connection_id":161373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:31:55] local.INFO: TCP Data received {"connection_id":160000,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220b2598012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220b2598012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:31:55] local.INFO: Processing buffer {"connection_id":160000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220b2598012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:31:55] local.INFO: Packet analysis {"connection_id":160000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220b"} 
[2026-08-21 07:31:55] local.INFO: Extracted packet for processing {"connection_id":160000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220b"} 
[2026-08-21 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543047680001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277551000,"timestamp_ms":1787277551000,"timestamp_seconds":1787277551,"priority":1,"record_length":96,"hex_timestamp":"000001a0220b2598"} 
[2026-08-21 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-08-21 07:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543047680001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543047680001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543047680001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":160000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:31:55] local.INFO: GPS data processed {"connection_id":160000,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:31:55] local.INFO: Acknowledgment sent {"connection_id":160000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:32:04] local.INFO: TCP Data received {"connection_id":161374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:04] local.INFO: Processing buffer {"connection_id":161374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:04] local.INFO: Packet analysis {"connection_id":161374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:32:04] local.INFO: Extracted packet for processing {"connection_id":161374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:32:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:32:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":161374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:32:04] local.INFO: GPS data processed {"connection_id":161374,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:32:04] local.INFO: Acknowledgment sent {"connection_id":161374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:32:07] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:32:07] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:32:07] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:32:10] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:32:10] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:32:10] local.INFO: IMEI packet received {"connection_id":160001,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":160001,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:32:11] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220cc3a8012d7d070005c92590000a015e28..."} 
[2026-08-21 07:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220cc3a8012d7d070005c92590000a015e28..."} 
[2026-08-21 07:32:11] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220cc3a8012d7d070005c92590000a015e28..."} 
[2026-08-21 07:32:11] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:32:11] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:32:11] local.INFO: GPS Element Parsed {"raw_longitude":763168512,"raw_latitude":97068432,"longitude_deg":76.3168512,"latitude_deg":9.7068432,"altitude":10,"angle":350,"satellites":40,"speed":16,"hex_longitude":"2d7d0700","hex_latitude":"05c92590","is_valid_coordinates":true} 
[2026-08-21 07:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543076352001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121486431322374144,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310341914058752,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787277657000,"timestamp_ms":1787277657000,"timestamp_seconds":1787277657,"priority":1,"record_length":96,"hex_timestamp":"000001a0220cc3a8"} 
[2026-08-21 07:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-21 07:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543076352001,"66":12885,"205":206,"85":12288,"24":16,"16":121486431322374144,"45":9009310341914058752},"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-08-21 07:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543076352001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:32:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 07:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121486431322374144,"km_value":121486431322374.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310341914058752,"description":"Unknown IO ID 45"} 
[2026-08-21 07:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543076352001,"power":12885,"cell_id":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":9009310341914058752}} 
[2026-08-21 07:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674134,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:32:11] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:32:11] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:32:23] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:32:23] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:32:23] local.INFO: IMEI packet received {"connection_id":161375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":161375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:32:28] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:32:28] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:32:28] local.INFO: IMEI packet received {"connection_id":161375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":161375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:32:29] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220b77a0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220b77a0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:32:29] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220b77a0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:32:29] local.INFO: Packet analysis {"connection_id":161375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220b"} 
[2026-08-21 07:32:29] local.INFO: Extracted packet for processing {"connection_id":161375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220b"} 
[2026-08-21 07:32:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543053056001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787277572000,"timestamp_ms":1787277572000,"timestamp_seconds":1787277572,"priority":1,"record_length":96,"hex_timestamp":"000001a0220b77a0"} 
[2026-08-21 07:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543053056001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543053056001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:32:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:32:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543053056001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":161375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:32:29] local.INFO: GPS data processed {"connection_id":161375,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:32:29] local.INFO: Acknowledgment sent {"connection_id":161375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:32:31] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:32:31] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:32:31] local.INFO: IMEI packet received {"connection_id":161376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":161376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:32:33] local.INFO: TCP Data received {"connection_id":161375,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220bc9a8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220bc9a8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:32:33] local.INFO: Processing buffer {"connection_id":161375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220bc9a8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:32:33] local.INFO: Packet analysis {"connection_id":161375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220b"} 
[2026-08-21 07:32:33] local.INFO: Extracted packet for processing {"connection_id":161375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220b"} 
[2026-08-21 07:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543058432001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787277593000,"timestamp_ms":1787277593000,"timestamp_seconds":1787277593,"priority":1,"record_length":96,"hex_timestamp":"000001a0220bc9a8"} 
[2026-08-21 07:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543058432001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543058432001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543058432001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":161375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:32:33] local.INFO: GPS data processed {"connection_id":161375,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:32:33] local.INFO: Acknowledgment sent {"connection_id":161375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:32:36] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:32:36] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:32:36] local.INFO: IMEI packet received {"connection_id":161376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":161376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:32:37] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:37] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:37] local.INFO: Packet analysis {"connection_id":161376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:32:37] local.INFO: Extracted packet for processing {"connection_id":161376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:32:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:32:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":161376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:32:37] local.INFO: GPS data processed {"connection_id":161376,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:32:37] local.INFO: Acknowledgment sent {"connection_id":161376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:32:42] local.INFO: TCP Data received {"connection_id":160001,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e1f50012d7d2b4005cb2390000a000227..."} 
[2026-08-21 07:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e1f50012d7d2b4005cb2390000a000227..."} 
[2026-08-21 07:32:42] local.INFO: Processing buffer {"connection_id":160001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e1f50012d7d2b4005cb2390000a000227..."} 
[2026-08-21 07:32:42] local.INFO: Packet analysis {"connection_id":160001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:32:42] local.INFO: Extracted packet for processing {"connection_id":160001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763177792,"raw_latitude":97198992,"longitude_deg":76.3177792,"latitude_deg":9.7198992,"altitude":10,"angle":2,"satellites":39,"speed":67,"hex_longitude":"2d7d2b40","hex_latitude":"05cb2390","is_valid_coordinates":true} 
[2026-08-21 07:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543101440001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121492783579004928,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753666488320,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787277746000,"timestamp_ms":1787277746000,"timestamp_seconds":1787277746,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e1f50"} 
[2026-08-21 07:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 07:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160001,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543101440001,"66":13243,"131":206,"85":15104,"24":67,"16":121492783579004928,"45":9018739753666488320},"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-08-21 07:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543101440001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121492783579004928,"km_value":121492783579004.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753666488320,"description":"Unknown IO ID 45"} 
[2026-08-21 07:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543101440001,"power":13243,"unknown_131":206,"unknown_85":15104,"ignition":67,"odometer":null,"unknown_45":9018739753666488320}} 
[2026-08-21 07:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":160001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:32:42] local.INFO: GPS data processed {"connection_id":160001,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:32:42] local.INFO: Acknowledgment sent {"connection_id":160001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:32:42] local.INFO: TCP Data received {"connection_id":161376,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:42] local.INFO: Processing buffer {"connection_id":161376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02209b668012da67700054b3710001c005f2e..."} 
[2026-08-21 07:32:42] local.INFO: Packet analysis {"connection_id":161376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:32:42] local.INFO: Extracted packet for processing {"connection_id":161376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02209"} 
[2026-08-21 07:32:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457542951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787277457000,"timestamp_ms":1787277457000,"timestamp_seconds":1787277457,"priority":1,"record_length":96,"hex_timestamp":"000001a02209b668"} 
[2026-08-21 07:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 07:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457542951936001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457542951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457542951936001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":161376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:32:42] local.INFO: GPS data processed {"connection_id":161376,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:32:42] local.INFO: Acknowledgment sent {"connection_id":161376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:33:07] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:33:07] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:33:07] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:33:11] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:33:11] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:33:11] local.INFO: IMEI packet received {"connection_id":160002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":160002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:33:12] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e36c0012d7d2d4005cb4b480009000426..."} 
[2026-08-21 07:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e36c0012d7d2d4005cb4b480009000426..."} 
[2026-08-21 07:33:12] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e36c0012d7d2d4005cb4b480009000426..."} 
[2026-08-21 07:33:12] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:33:12] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":763178304,"raw_latitude":97209160,"longitude_deg":76.3178304,"latitude_deg":9.720916,"altitude":9,"angle":4,"satellites":38,"speed":68,"hex_longitude":"2d7d2d40","hex_latitude":"05cb4b48","is_valid_coordinates":true} 
[2026-08-21 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543102976001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121493277500243968,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019373072366669824,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:12] 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-08-21 07:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787277752000,"timestamp_ms":1787277752000,"timestamp_seconds":1787277752,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e36c0"} 
[2026-08-21 07:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 07:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543102976001,"66":13080,"131":206,"85":15104,"24":68,"16":121493277500243968,"45":9019373072366669824},"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-08-21 07:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543102976001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:33:12] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-21 07:33:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121493277500243968,"km_value":121493277500243.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019373072366669824,"description":"Unknown IO ID 45"} 
[2026-08-21 07:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543102976001,"power":13080,"unknown_131":206,"unknown_85":15104,"ignition":68,"odometer":null,"unknown_45":9019373072366669824}} 
[2026-08-21 07:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:33:12] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:33:12] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:33:18] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:18] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:18] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:33:19] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:19] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:19] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:33:19] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:33:23] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:23] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:33:23] local.INFO: IMEI packet received {"connection_id":161377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":161377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:33:24] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220c1bb0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220c1bb0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:33:24] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220c1bb0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:33:24] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:33:24] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543063808001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33: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-08-21 07:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277614000,"timestamp_ms":1787277614000,"timestamp_seconds":1787277614,"priority":1,"record_length":96,"hex_timestamp":"000001a0220c1bb0"} 
[2026-08-21 07:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:33: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-08-21 07:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543063808001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543063808001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:33:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543063808001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:33:24] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:33:24] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:33:26] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:33:26] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:33:26] local.INFO: IMEI packet received {"connection_id":159148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":159148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:33:28] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220c6db8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220c6db8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:33:28] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220c6db8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:33:28] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:33:28] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543069184001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787277635000,"timestamp_ms":1787277635000,"timestamp_seconds":1787277635,"priority":1,"record_length":96,"hex_timestamp":"000001a0220c6db8"} 
[2026-08-21 07:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543069184001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543069184001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:33:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:33:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543069184001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:33:28] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:33:28] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:33:31] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:33:31] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:33:31] local.INFO: IMEI packet received {"connection_id":159148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":159148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:33:32] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:33:32] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:33:32] local.INFO: Packet analysis {"connection_id":159148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:33:32] local.INFO: Extracted packet for processing {"connection_id":159148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:33:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:33: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-08-21 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:33:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:33:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":159148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:33:32] local.INFO: GPS data processed {"connection_id":159148,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:33:32] local.INFO: Acknowledgment sent {"connection_id":159148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:33:43] local.INFO: TCP Data received {"connection_id":160002,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012d7d2fc005cb71d8000b000226..."} 
[2026-08-21 07:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012d7d2fc005cb71d8000b000226..."} 
[2026-08-21 07:33:43] local.INFO: Processing buffer {"connection_id":160002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012d7d2fc005cb71d8000b000226..."} 
[2026-08-21 07:33:43] local.INFO: Packet analysis {"connection_id":160002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:33:43] local.INFO: Extracted packet for processing {"connection_id":160002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97219032,"longitude_deg":76.3178944,"latitude_deg":9.7219032,"altitude":11,"angle":2,"satellites":38,"speed":64,"hex_longitude":"2d7d2fc0","hex_latitude":"05cb71d8","is_valid_coordinates":true} 
[2026-08-21 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543104512001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121493754241613824,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019936022322694144,"note":"Value kept but may cause issues"} 
[2026-08-21 07:33:43] 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-08-21 07:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-21 07:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543104512001,"66":13276,"131":206,"85":15104,"24":64,"16":121493754241613824,"45":9019936022322694144},"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-08-21 07:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543104512001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:33:43] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-08-21 07:33:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121493754241613824,"km_value":121493754241613.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019936022322694144,"description":"Unknown IO ID 45"} 
[2026-08-21 07:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543104512001,"power":13276,"unknown_131":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9019936022322694144}} 
[2026-08-21 07:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":160002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:33:43] local.INFO: GPS data processed {"connection_id":160002,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:33:43] local.INFO: Acknowledgment sent {"connection_id":160002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:00] local.INFO: TCP Data received {"connection_id":161377,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220cbfc0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220cbfc0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:34:00] local.INFO: Processing buffer {"connection_id":161377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220cbfc0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:34:00] local.INFO: Packet analysis {"connection_id":161377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:34:00] local.INFO: Extracted packet for processing {"connection_id":161377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220c"} 
[2026-08-21 07:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543074560001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787277656000,"timestamp_ms":1787277656000,"timestamp_seconds":1787277656,"priority":1,"record_length":96,"hex_timestamp":"000001a0220cbfc0"} 
[2026-08-21 07:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543074560001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543074560001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543074560001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":161377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:00] local.INFO: GPS data processed {"connection_id":161377,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:00] local.INFO: Acknowledgment sent {"connection_id":161377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:04] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:34:04] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:34:04] local.INFO: Packet analysis {"connection_id":159148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:34:04] local.INFO: Extracted packet for processing {"connection_id":159148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:34:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 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-08-21 07: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-08-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:34:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":159148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:04] local.INFO: GPS data processed {"connection_id":159148,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:04] local.INFO: Acknowledgment sent {"connection_id":159148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:07] local.INFO: TCP Data received {"connection_id":158841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:07] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:07] local.INFO: IMEI packet received {"connection_id":158841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":158841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:34:10] local.INFO: TCP Data received {"connection_id":158841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:10] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:10] local.INFO: IMEI packet received {"connection_id":158841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":158841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:34:12] local.INFO: TCP Data received {"connection_id":158841,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:12] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:34:12] local.INFO: IMEI packet received {"connection_id":158841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":158841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:34:13] local.INFO: TCP Data received {"connection_id":158841,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220f7328012d7d508005cd0358000c016427..."} 
[2026-08-21 07:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220f7328012d7d508005cd0358000c016427..."} 
[2026-08-21 07:34:13] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220f7328012d7d508005cd0358000c016427..."} 
[2026-08-21 07:34:13] local.INFO: Packet analysis {"connection_id":158841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:34:13] local.INFO: Extracted packet for processing {"connection_id":158841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763187328,"raw_latitude":97321816,"longitude_deg":76.3187328,"latitude_deg":9.7321816,"altitude":12,"angle":356,"satellites":39,"speed":58,"hex_longitude":"2d7d5080","hex_latitude":"05cd0358","is_valid_coordinates":true} 
[2026-08-21 07:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543123712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121498770763415552,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030350596487555072,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:13] 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-08-21 07:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787277833000,"timestamp_ms":1787277833000,"timestamp_seconds":1787277833,"priority":1,"record_length":96,"hex_timestamp":"000001a0220f7328"} 
[2026-08-21 07:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543123712001,"66":13276,"129":206,"85":15104,"24":58,"16":121498770763415552,"45":9030350596487555072},"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-08-21 07:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543123712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 07:34:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121498770763415552,"km_value":121498770763415.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030350596487555072,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543123712001,"power":13276,"unknown_129":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9030350596487555072}} 
[2026-08-21 07:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":158841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:13] local.INFO: GPS data processed {"connection_id":158841,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:13] local.INFO: Acknowledgment sent {"connection_id":158841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:17] local.INFO: TCP Data received {"connection_id":158841,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220f8e80012d7d4e4005cd2930000d016327..."} 
[2026-08-21 07:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220f8e80012d7d4e4005cd2930000d016327..."} 
[2026-08-21 07:34:17] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220f8e80012d7d4e4005cd2930000d016327..."} 
[2026-08-21 07:34:17] local.INFO: Packet analysis {"connection_id":158841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:34:17] local.INFO: Extracted packet for processing {"connection_id":158841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:34:17] local.INFO: GPS Element Parsed {"raw_longitude":763186752,"raw_latitude":97331504,"longitude_deg":76.3186752,"latitude_deg":9.7331504,"altitude":13,"angle":355,"satellites":39,"speed":52,"hex_longitude":"2d7d4e40","hex_latitude":"05cd2930","is_valid_coordinates":true} 
[2026-08-21 07:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543125248001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121499243209818112,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029858015280584704,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:17] 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-08-21 07:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787277840000,"timestamp_ms":1787277840000,"timestamp_seconds":1787277840,"priority":1,"record_length":96,"hex_timestamp":"000001a0220f8e80"} 
[2026-08-21 07:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543125248001,"66":13472,"129":206,"85":15104,"24":52,"16":121499243209818112,"45":9029858015280584704},"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-08-21 07:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543125248001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:17] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 07:34:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121499243209818112,"km_value":121499243209818.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029858015280584704,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543125248001,"power":13472,"unknown_129":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9029858015280584704}} 
[2026-08-21 07:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":158841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674148,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:17] local.INFO: GPS data processed {"connection_id":158841,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:17] local.INFO: Acknowledgment sent {"connection_id":158841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:18] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:34:18] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:34:18] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:34:22] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:34:22] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:34:22] local.INFO: IMEI packet received {"connection_id":160003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":160003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:34:23] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220d11c8012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220d11c8012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:34:23] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220d11c8012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:34:23] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220d"} 
[2026-08-21 07:34:23] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220d"} 
[2026-08-21 07:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543079936001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787277677000,"timestamp_ms":1787277677000,"timestamp_seconds":1787277677,"priority":1,"record_length":96,"hex_timestamp":"000001a0220d11c8"} 
[2026-08-21 07:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:34: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-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543079936001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543079936001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543079936001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:23] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:23] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:26] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:34:26] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:34:26] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:34:31] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:34:31] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:34:31] local.INFO: IMEI packet received {"connection_id":160004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":160004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:34:32] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:34:32] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:34:32] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:34:32] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:34:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:34: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-08-21 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:34:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:33] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:33] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:49] local.INFO: TCP Data received {"connection_id":158841,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220fadc0012d7d4a4005cd5058000d016127..."} 
[2026-08-21 07:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220fadc0012d7d4a4005cd5058000d016127..."} 
[2026-08-21 07:34:49] local.INFO: Processing buffer {"connection_id":158841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220fadc0012d7d4a4005cd5058000d016127..."} 
[2026-08-21 07:34:49] local.INFO: Packet analysis {"connection_id":158841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:34:49] local.INFO: Extracted packet for processing {"connection_id":158841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":763185728,"raw_latitude":97341528,"longitude_deg":76.3185728,"latitude_deg":9.7341528,"altitude":13,"angle":353,"satellites":39,"speed":48,"hex_longitude":"2d7d4a40","hex_latitude":"05cd5058","is_valid_coordinates":true} 
[2026-08-21 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543127040001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121499732836089856,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029224696585465856,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:49] 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-08-21 07:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787277848000,"timestamp_ms":1787277848000,"timestamp_seconds":1787277848,"priority":1,"record_length":96,"hex_timestamp":"000001a0220fadc0"} 
[2026-08-21 07:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543127040001,"66":13200,"236":206,"85":15104,"24":48,"16":121499732836089856,"45":9029224696585465856},"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-08-21 07:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543127040001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:49] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 07:34:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121499732836089856,"km_value":121499732836089.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029224696585465856,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543127040001,"power":13200,"unknown_236":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9029224696585465856}} 
[2026-08-21 07:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":158841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:49] local.INFO: GPS data processed {"connection_id":158841,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:49] local.INFO: Acknowledgment sent {"connection_id":158841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:34:54] local.INFO: TCP Data received {"connection_id":160003,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220d63d0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220d63d0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:34:54] local.INFO: Processing buffer {"connection_id":160003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220d63d0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:34:54] local.INFO: Packet analysis {"connection_id":160003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220d"} 
[2026-08-21 07:34:54] local.INFO: Extracted packet for processing {"connection_id":160003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220d"} 
[2026-08-21 07:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543085312001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:34: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-08-21 07:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787277698000,"timestamp_ms":1787277698000,"timestamp_seconds":1787277698,"priority":1,"record_length":96,"hex_timestamp":"000001a0220d63d0"} 
[2026-08-21 07:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:34: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-08-21 07:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543085312001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543085312001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:34:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543085312001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":160003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:34:54] local.INFO: GPS data processed {"connection_id":160003,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:34:54] local.INFO: Acknowledgment sent {"connection_id":160003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:35:04] local.INFO: TCP Data received {"connection_id":160004,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:35:04] local.INFO: Processing buffer {"connection_id":160004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:35:04] local.INFO: Packet analysis {"connection_id":160004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:35:04] local.INFO: Extracted packet for processing {"connection_id":160004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:35:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:35: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-08-21 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:35:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:35:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":160004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:35:04] local.INFO: GPS data processed {"connection_id":160004,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:35:04] local.INFO: Acknowledgment sent {"connection_id":160004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:35:07] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:35:07] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:35:07] local.INFO: IMEI packet received {"connection_id":161378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":161378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:35:11] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:35:11] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:35:11] local.INFO: IMEI packet received {"connection_id":161378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":161378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:35:12] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220fcd00012d7d460005cd77c0000d016227..."} 
[2026-08-21 07:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220fcd00012d7d460005cd77c0000d016227..."} 
[2026-08-21 07:35:12] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220fcd00012d7d460005cd77c0000d016227..."} 
[2026-08-21 07:35:12] local.INFO: Packet analysis {"connection_id":161378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:35:12] local.INFO: Extracted packet for processing {"connection_id":161378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:35:12] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97351616,"longitude_deg":76.318464,"latitude_deg":9.7351616,"altitude":13,"angle":354,"satellites":39,"speed":50,"hex_longitude":"2d7d4600","hex_latitude":"05cd77c0","is_valid_coordinates":true} 
[2026-08-21 07:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543129088001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121500222462361600,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028098796681189376,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:12] 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-08-21 07:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787277856000,"timestamp_ms":1787277856000,"timestamp_seconds":1787277856,"priority":1,"record_length":96,"hex_timestamp":"000001a0220fcd00"} 
[2026-08-21 07:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-21 07:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543129088001,"66":13363,"236":206,"85":15104,"24":50,"16":121500222462361600,"45":9028098796681189376},"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-08-21 07:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543129088001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:35:12] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 07:35:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121500222462361600,"km_value":121500222462361.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028098796681189376,"description":"Unknown IO ID 45"} 
[2026-08-21 07:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543129088001,"power":13363,"unknown_236":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9028098796681189376}} 
[2026-08-21 07:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":161378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674154,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:35:12] local.INFO: GPS data processed {"connection_id":161378,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:35:12] local.INFO: Acknowledgment sent {"connection_id":161378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:35:18] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:35:18] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:35:18] local.INFO: IMEI packet received {"connection_id":161379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":161379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:35:23] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:35:23] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:35:23] local.INFO: IMEI packet received {"connection_id":161379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":161379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:35:24] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220db5d8012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220db5d8012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:35:24] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220db5d8012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:35:24] local.INFO: Packet analysis {"connection_id":161379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220d"} 
[2026-08-21 07:35:24] local.INFO: Extracted packet for processing {"connection_id":161379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220d"} 
[2026-08-21 07:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543090688001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35: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-08-21 07:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277719000,"timestamp_ms":1787277719000,"timestamp_seconds":1787277719,"priority":1,"record_length":96,"hex_timestamp":"000001a0220db5d8"} 
[2026-08-21 07:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:35: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-08-21 07:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543090688001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543090688001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:35:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543090688001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":161379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:35:24] local.INFO: GPS data processed {"connection_id":161379,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:35:24] local.INFO: Acknowledgment sent {"connection_id":161379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:35:26] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:35:26] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:35:26] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:35:31] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:35:31] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:35:31] local.INFO: IMEI packet received {"connection_id":160005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":160005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:35:32] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:35:32] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:35:32] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:35:32] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:35:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:35: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-08-21 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:35:32] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:35:32] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:35:43] local.INFO: TCP Data received {"connection_id":161378,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0220fe858012d7d424005cd9dc8000d016327..."} 
[2026-08-21 07:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220fe858012d7d424005cd9dc8000d016327..."} 
[2026-08-21 07:35:43] local.INFO: Processing buffer {"connection_id":161378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220fe858012d7d424005cd9dc8000d016327..."} 
[2026-08-21 07:35:43] local.INFO: Packet analysis {"connection_id":161378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:35:43] local.INFO: Extracted packet for processing {"connection_id":161378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:35:43] local.INFO: GPS Element Parsed {"raw_longitude":763183680,"raw_latitude":97361352,"longitude_deg":76.318368,"latitude_deg":9.7361352,"altitude":13,"angle":355,"satellites":39,"speed":58,"hex_longitude":"2d7d4240","hex_latitude":"05cd9dc8","is_valid_coordinates":true} 
[2026-08-21 07:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543131136001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121500699203731456,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026902528032751616,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:43] 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-08-21 07:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787277863000,"timestamp_ms":1787277863000,"timestamp_seconds":1787277863,"priority":1,"record_length":96,"hex_timestamp":"000001a0220fe858"} 
[2026-08-21 07:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 07:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543131136001,"66":13341,"236":206,"85":15104,"24":58,"16":121500699203731456,"45":9026902528032751616},"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-08-21 07:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543131136001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:35:43] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 07:35:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121500699203731456,"km_value":121500699203731.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026902528032751616,"description":"Unknown IO ID 45"} 
[2026-08-21 07:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543131136001,"power":13341,"unknown_236":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9026902528032751616}} 
[2026-08-21 07:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":161378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:35:43] local.INFO: GPS data processed {"connection_id":161378,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:35:43] local.INFO: Acknowledgment sent {"connection_id":161378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:35:55] local.INFO: TCP Data received {"connection_id":161379,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e07e0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e07e0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:35:55] local.INFO: Processing buffer {"connection_id":161379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e07e0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:35:55] local.INFO: Packet analysis {"connection_id":161379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:35:55] local.INFO: Extracted packet for processing {"connection_id":161379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543096064001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277740000,"timestamp_ms":1787277740000,"timestamp_seconds":1787277740,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e07e0"} 
[2026-08-21 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-08-21 07:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543096064001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543096064001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543096064001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":161379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:35:55] local.INFO: GPS data processed {"connection_id":161379,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:35:55] local.INFO: Acknowledgment sent {"connection_id":161379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:36:04] local.INFO: TCP Data received {"connection_id":160005,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:36:04] local.INFO: Processing buffer {"connection_id":160005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:36:04] local.INFO: Packet analysis {"connection_id":160005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:04] local.INFO: Extracted packet for processing {"connection_id":160005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:36: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-08-21 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:36:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:36:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":160005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:36:04] local.INFO: GPS data processed {"connection_id":160005,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:36:04] local.INFO: Acknowledgment sent {"connection_id":160005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:36:07] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:36:07] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:36:07] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:36:18] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:36:18] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:36:18] local.INFO: IMEI packet received {"connection_id":159150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":159150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:36:23] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:36:23] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 07:36:23] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:36:23] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:36:23] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:36:23] local.INFO: IMEI packet received {"connection_id":159150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":159150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:36:24] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e59e8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e59e8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:36:24] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e59e8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:36:24] local.INFO: Packet analysis {"connection_id":159150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:24] local.INFO: Extracted packet for processing {"connection_id":159150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543101440001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277761000,"timestamp_ms":1787277761000,"timestamp_seconds":1787277761,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e59e8"} 
[2026-08-21 07:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543101440001,"66":12145,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543101440001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543101440001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":159150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:36:24] local.INFO: GPS data processed {"connection_id":159150,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:36:24] local.INFO: Acknowledgment sent {"connection_id":159150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:36:24] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221120d8012d7d49c005cf3840000a016728..."} 
[2026-08-21 07:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221120d8012d7d49c005cf3840000a016728..."} 
[2026-08-21 07:36:24] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a022..."} 
[2026-08-21 07:36:24] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:36:25] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022113848012d7d49c005cf5e38000a000028..."} 
[2026-08-21 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022113848012d7d49c005cf5e38000a000028..."} 
[2026-08-21 07:36:25] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0221120d8012d7d49c005cf3840000a016728..."} 
[2026-08-21 07:36:25] local.INFO: Packet analysis {"connection_id":159149,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:36:25] local.INFO: Extracted packet for processing {"connection_id":159149,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97466432,"longitude_deg":76.31856,"latitude_deg":9.7466432,"altitude":10,"angle":359,"satellites":40,"speed":64,"hex_longitude":"2d7d49c0","hex_latitude":"05cf3840","is_valid_coordinates":true} 
[2026-08-21 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543151872001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121505797329911808,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059222343680,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] 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-08-21 07:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787277943000,"timestamp_ms":1787277943000,"timestamp_seconds":1787277943,"priority":1,"record_length":96,"hex_timestamp":"000001a0221120d8"} 
[2026-08-21 07:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 07:36: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-08-21 07:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543151872001,"66":13254,"235":206,"85":15104,"24":64,"16":121505797329911808,"45":9027958059222343680},"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-08-21 07:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543151872001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121505797329911808,"km_value":121505797329911.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059222343680,"description":"Unknown IO ID 45"} 
[2026-08-21 07:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543151872001,"power":13254,"unknown_235":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9027958059222343680}} 
[2026-08-21 07:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":159149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674161,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:36:25] local.INFO: GPS data processed {"connection_id":159149,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:36:25] local.INFO: Acknowledgment sent {"connection_id":159149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:36:25] local.INFO: Packet analysis {"connection_id":159149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:36:25] local.INFO: Extracted packet for processing {"connection_id":159149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97476152,"longitude_deg":76.31856,"latitude_deg":9.7476152,"altitude":10,"angle":0,"satellites":40,"speed":63,"hex_longitude":"2d7d49c0","hex_latitude":"05cf5e38","is_valid_coordinates":true} 
[2026-08-21 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543153408001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121506269776314368,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059224809472,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] 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-08-21 07:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787277949000,"timestamp_ms":1787277949000,"timestamp_seconds":1787277949,"priority":1,"record_length":96,"hex_timestamp":"000001a022113848"} 
[2026-08-21 07:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 07:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543153408001,"66":13222,"235":206,"85":15104,"24":63,"16":121506269776314368,"45":9027958059224809472},"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-08-21 07:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543153408001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121506269776314368,"km_value":121506269776314.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059224809472,"description":"Unknown IO ID 45"} 
[2026-08-21 07:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543153408001,"power":13222,"unknown_235":206,"unknown_85":15104,"ignition":63,"odometer":null,"unknown_45":9027958059224809472}} 
[2026-08-21 07:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":159149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674162,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:36:25] local.INFO: GPS data processed {"connection_id":159149,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:36:25] local.INFO: Acknowledgment sent {"connection_id":159149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:36:25] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022114fb8012d7d4a0005cf8558000b000127..."} 
[2026-08-21 07:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022114fb8012d7d4a0005cf8558000b000127..."} 
[2026-08-21 07:36:25] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022114fb8012d7d4a0005cf8558000b000127..."} 
[2026-08-21 07:36:25] local.INFO: Packet analysis {"connection_id":159149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:36:25] local.INFO: Extracted packet for processing {"connection_id":159149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":97486168,"longitude_deg":76.3185664,"latitude_deg":9.7486168,"altitude":11,"angle":1,"satellites":39,"speed":66,"hex_longitude":"2d7d4a00","hex_latitude":"05cf8558","is_valid_coordinates":true} 
[2026-08-21 07:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543154944001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121506755107618816,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059227297792,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:25] 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-08-21 07:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787277955000,"timestamp_ms":1787277955000,"timestamp_seconds":1787277955,"priority":1,"record_length":96,"hex_timestamp":"000001a022114fb8"} 
[2026-08-21 07:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 07:36:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543154944001,"66":13102,"235":206,"85":15104,"24":66,"16":121506755107618816,"45":9027958059227297792},"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-08-21 07:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543154944001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121506755107618816,"km_value":121506755107618.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059227297792,"description":"Unknown IO ID 45"} 
[2026-08-21 07:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543154944001,"power":13102,"unknown_235":206,"unknown_85":15104,"ignition":66,"odometer":null,"unknown_45":9027958059227297792}} 
[2026-08-21 07:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":159149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:36:26] local.INFO: GPS data processed {"connection_id":159149,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:36:26] local.INFO: Acknowledgment sent {"connection_id":159149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:36:26] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:36:26] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:36:26] local.INFO: IMEI packet received {"connection_id":161380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":161380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:36:32] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:36:32] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:36:32] local.INFO: IMEI packet received {"connection_id":161380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":161380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:36:33] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:36:33] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:36:33] local.INFO: Packet analysis {"connection_id":161380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:33] local.INFO: Extracted packet for processing {"connection_id":161380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:36:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:36:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":161380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:36:33] local.INFO: GPS data processed {"connection_id":161380,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:36:33] local.INFO: Acknowledgment sent {"connection_id":161380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:36:55] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220eabf0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220eabf0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:36:55] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220eabf0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:36:55] local.INFO: Packet analysis {"connection_id":159150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:55] local.INFO: Extracted packet for processing {"connection_id":159150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106816001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277782000,"timestamp_ms":1787277782000,"timestamp_seconds":1787277782,"priority":1,"record_length":96,"hex_timestamp":"000001a0220eabf0"} 
[2026-08-21 07:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 07:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106816001,"66":12102,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106816001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106816001,"power":12102,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":159150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:36:55] local.INFO: GPS data processed {"connection_id":159150,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:36:55] local.INFO: Acknowledgment sent {"connection_id":159150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:37:04] local.INFO: TCP Data received {"connection_id":161380,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:37:04] local.INFO: Processing buffer {"connection_id":161380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:37:04] local.INFO: Packet analysis {"connection_id":161380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:37:04] local.INFO: Extracted packet for processing {"connection_id":161380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:37:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07: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-08-21 07: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:37:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:37:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":161380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:37:04] local.INFO: GPS data processed {"connection_id":161380,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:37:04] local.INFO: Acknowledgment sent {"connection_id":161380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:37:07] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:07] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:07] local.INFO: IMEI packet received {"connection_id":159151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":159151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:37:08] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:08] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:08] local.INFO: IMEI packet received {"connection_id":159151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":159151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:37:12] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:12] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:37:12] local.INFO: IMEI packet received {"connection_id":159151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":159151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:37:13] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022116728012d7d4a8005cfac38000a000029..."} 
[2026-08-21 07:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022116728012d7d4a8005cfac38000a000029..."} 
[2026-08-21 07:37:13] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022116728012d7d4a8005cfac38000a000029..."} 
[2026-08-21 07:37:13] local.INFO: Packet analysis {"connection_id":159151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:37:13] local.INFO: Extracted packet for processing {"connection_id":159151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02211"} 
[2026-08-21 07:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97496120,"longitude_deg":76.3185792,"latitude_deg":9.749612,"altitude":10,"angle":0,"satellites":41,"speed":65,"hex_longitude":"2d7d4a80","hex_latitude":"05cfac38","is_valid_coordinates":true} 
[2026-08-21 07:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543156480001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121507236143955968,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028427974039552,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787277961000,"timestamp_ms":1787277961000,"timestamp_seconds":1787277961,"priority":1,"record_length":96,"hex_timestamp":"000001a022116728"} 
[2026-08-21 07:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 07:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543156480001,"66":13135,"235":206,"85":15104,"24":65,"16":121507236143955968,"45":9028028427974039552},"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-08-21 07:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543156480001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:37:13] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-08-21 07:37:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121507236143955968,"km_value":121507236143955.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028427974039552,"description":"Unknown IO ID 45"} 
[2026-08-21 07:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543156480001,"power":13135,"unknown_235":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9028028427974039552}} 
[2026-08-21 07:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":159151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:37:13] local.INFO: GPS data processed {"connection_id":159151,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:37:13] local.INFO: Acknowledgment sent {"connection_id":159151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:37:18] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:37:18] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:37:18] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:37:23] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:37:23] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:37:23] local.INFO: IMEI packet received {"connection_id":160006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":160006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:37:24] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220efdf8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220efdf8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:37:24] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220efdf8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:37:24] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:37:24] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543112192001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37: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-08-21 07:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277803000,"timestamp_ms":1787277803000,"timestamp_seconds":1787277803,"priority":1,"record_length":96,"hex_timestamp":"000001a0220efdf8"} 
[2026-08-21 07:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 07:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543112192001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543112192001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:37:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543112192001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:37:24] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:37:24] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:37:26] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:37:26] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:37:26] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:37:31] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:37:31] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:37:31] local.INFO: IMEI packet received {"connection_id":160007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":160007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:37:32] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:37:32] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:37:32] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:37:32] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:37:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:37: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-08-21 07:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:37:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:37:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:37:32] local.INFO: GPS data processed {"connection_id":160007,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:37:32] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:37:45] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02212af48012d7d3b0005d0ebe0000c016529..."} 
[2026-08-21 07:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212af48012d7d3b0005d0ebe0000c016529..."} 
[2026-08-21 07:37:45] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212af48012d7d3b0005d0ebe0000c016529..."} 
[2026-08-21 07:37:45] local.INFO: Packet analysis {"connection_id":159151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:37:45] local.INFO: Extracted packet for processing {"connection_id":159151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97577952,"longitude_deg":76.3181824,"latitude_deg":9.7577952,"altitude":12,"angle":357,"satellites":41,"speed":46,"hex_longitude":"2d7d3b00","hex_latitude":"05d0ebe0","is_valid_coordinates":true} 
[2026-08-21 07:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543177216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121511217578639360,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990786123776,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787278045000,"timestamp_ms":1787278045000,"timestamp_seconds":1787278045,"priority":1,"record_length":96,"hex_timestamp":"000001a02212af48"} 
[2026-08-21 07:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":208,"raw_value":2121195467464583168,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2009465038,"corrected_to":0} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3976252791,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":175,"raw_value":2947809280,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3492765696,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57885907076666683,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.WARNING: Large IO value detected {"io_id":17,"raw_value":-5665527036345008123,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:45] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,85,24,241,157,16,177,160,101,45,128,11,41,10,66,176,46,192,125,39,15,1,240,215,227,34,208,4,113,205,220,74,48,239,50,2,175,5,9,133,17],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2009465038,"validated":0}]} 
[2026-08-21 07:37:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865082734985936896,"timestamp_seconds":865082734985936.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543177216001,"66":12928,"197":206,"85":15104,"24":46,"16":121511217578639360,"45":9024509990786123776},"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-08-21 07:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543177216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:37:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:37:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121511217578639360,"km_value":121511217578639.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990786123776,"description":"Unknown IO ID 45"} 
[2026-08-21 07:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543177216001,"power":12928,"unknown_197":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9024509990786123776}} 
[2026-08-21 07:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":159151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:37:45] local.INFO: GPS data processed {"connection_id":159151,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:37:45] local.INFO: Acknowledgment sent {"connection_id":159151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:37:55] local.INFO: TCP Data received {"connection_id":160006,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220f5000012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220f5000012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:37:55] local.INFO: Processing buffer {"connection_id":160006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220f5000012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:37:55] local.INFO: Packet analysis {"connection_id":160006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:37:55] local.INFO: Extracted packet for processing {"connection_id":160006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543117568001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277824000,"timestamp_ms":1787277824000,"timestamp_seconds":1787277824,"priority":1,"record_length":96,"hex_timestamp":"000001a0220f5000"} 
[2026-08-21 07:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 07:37:55] 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-08-21 07:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543117568001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543117568001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:37:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543117568001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":160006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:37:55] local.INFO: GPS data processed {"connection_id":160006,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:37:55] local.INFO: Acknowledgment sent {"connection_id":160006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:38:04] local.INFO: TCP Data received {"connection_id":160007,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:38:04] local.INFO: Processing buffer {"connection_id":160007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220e4e30012da67700054b3710001c005f2e..."} 
[2026-08-21 07:38:04] local.INFO: Packet analysis {"connection_id":160007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:38:04] local.INFO: Extracted packet for processing {"connection_id":160007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220e"} 
[2026-08-21 07:38:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787277758000,"timestamp_ms":1787277758000,"timestamp_seconds":1787277758,"priority":1,"record_length":96,"hex_timestamp":"000001a0220e4e30"} 
[2026-08-21 07:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:38: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-08-21 07:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 07:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543028992001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:38:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:38:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543028992001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":160007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:38:04] local.INFO: GPS data processed {"connection_id":160007,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:38:04] local.INFO: Acknowledgment sent {"connection_id":160007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:38:12] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:38:12] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:38:12] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:38:15] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:38:15] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:38:15] local.INFO: IMEI packet received {"connection_id":160008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":160008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:38:16] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02212caa0012d7d398005d10f78000c01632a..."} 
[2026-08-21 07:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212caa0012d7d398005d10f78000c01632a..."} 
[2026-08-21 07:38:16] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212caa0012d7d398005d10f78000c01632a..."} 
[2026-08-21 07:38:16] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:16] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:16] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97587064,"longitude_deg":76.318144,"latitude_deg":9.7587064,"altitude":12,"angle":355,"satellites":42,"speed":56,"hex_longitude":"2d7d3980","hex_latitude":"05d10f78","is_valid_coordinates":true} 
[2026-08-21 07:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543179520001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121511659960270848,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303346876416,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787278052000,"timestamp_ms":1787278052000,"timestamp_seconds":1787278052,"priority":1,"record_length":96,"hex_timestamp":"000001a02212caa0"} 
[2026-08-21 07:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-21 07:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:38: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-08-21 07:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543179520001,"66":12743,"197":206,"85":15104,"24":56,"16":121511659960270848,"45":9023806303346876416},"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-08-21 07:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543179520001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:38:16] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:38:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121511659960270848,"km_value":121511659960270.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303346876416,"description":"Unknown IO ID 45"} 
[2026-08-21 07:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543179520001,"power":12743,"unknown_197":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9023806303346876416}} 
[2026-08-21 07:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:38:16] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:38:16] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:38:17] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e210012d7d370005d13270000b01642a..."} 
[2026-08-21 07:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e210012d7d370005d13270000b01642a..."} 
[2026-08-21 07:38:17] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e210012d7d370005d13270000b01642a..."} 
[2026-08-21 07:38:17] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:17] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97596016,"longitude_deg":76.31808,"latitude_deg":9.7596016,"altitude":11,"angle":356,"satellites":42,"speed":61,"hex_longitude":"2d7d3700","hex_latitude":"05d13270","is_valid_coordinates":true} 
[2026-08-21 07:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543181312001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121512093751967744,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090884143104,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38: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-08-21 07:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787278058000,"timestamp_ms":1787278058000,"timestamp_seconds":1787278058,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e210"} 
[2026-08-21 07:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 07:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543181312001,"66":12982,"197":206,"85":15104,"24":61,"16":121512093751967744,"45":9023384090884143104},"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-08-21 07:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543181312001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:38:17] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:38:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121512093751967744,"km_value":121512093751967.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090884143104,"description":"Unknown IO ID 45"} 
[2026-08-21 07:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543181312001,"power":12982,"unknown_197":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":9023384090884143104}} 
[2026-08-21 07:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:38:17] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:38:17] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:38:18] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:38:18] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:38:18] local.INFO: IMEI packet received {"connection_id":161381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":161381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:38:23] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:38:23] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:38:23] local.INFO: IMEI packet received {"connection_id":161381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":161381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:38:24] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220fa208012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220fa208012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:38:24] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220fa208012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:38:24] local.INFO: Packet analysis {"connection_id":161381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:38:24] local.INFO: Extracted packet for processing {"connection_id":161381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543122944001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38: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-08-21 07:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277845000,"timestamp_ms":1787277845000,"timestamp_seconds":1787277845,"priority":1,"record_length":96,"hex_timestamp":"000001a0220fa208"} 
[2026-08-21 07:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:38: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-08-21 07:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543122944001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543122944001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:38:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543122944001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":161381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:38:24] local.INFO: GPS data processed {"connection_id":161381,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:38:24] local.INFO: Acknowledgment sent {"connection_id":161381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:38:31] local.INFO: TCP Data received {"connection_id":158842,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:38:31] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:38:31] local.INFO: IMEI packet received {"connection_id":158842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":158842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:38:37] local.INFO: TCP Data received {"connection_id":158842,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:38:37] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:38:37] local.INFO: IMEI packet received {"connection_id":158842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:38:37] local.INFO: IMEI acknowledgment sent {"connection_id":158842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:38:38] local.INFO: TCP Data received {"connection_id":158842,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:38:38] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:38:38] local.INFO: Packet analysis {"connection_id":158842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:38] local.INFO: Extracted packet for processing {"connection_id":158842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:38] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:38: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-08-21 07:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":158842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:38:38] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:38:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":158842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:38:38] local.INFO: GPS data processed {"connection_id":158842,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:38:38] local.INFO: Acknowledgment sent {"connection_id":158842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:38:42] local.INFO: TCP Data received {"connection_id":158842,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:38:42] local.INFO: Processing buffer {"connection_id":158842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:38:42] local.INFO: Packet analysis {"connection_id":158842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:42] local.INFO: Extracted packet for processing {"connection_id":158842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:38:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:38:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:38:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":158842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:38:42] local.INFO: GPS data processed {"connection_id":158842,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:38:42] local.INFO: Acknowledgment sent {"connection_id":158842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:38:55] local.INFO: TCP Data received {"connection_id":161381,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0220ff410012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0220ff410012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:38:55] local.INFO: Processing buffer {"connection_id":161381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0220ff410012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:38:55] local.INFO: Packet analysis {"connection_id":161381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:38:55] local.INFO: Extracted packet for processing {"connection_id":161381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0220f"} 
[2026-08-21 07:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543128320001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277866000,"timestamp_ms":1787277866000,"timestamp_seconds":1787277866,"priority":1,"record_length":96,"hex_timestamp":"000001a0220ff410"} 
[2026-08-21 07:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543128320001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543128320001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:38:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543128320001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":161381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:38:55] local.INFO: GPS data processed {"connection_id":161381,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:38:55] local.INFO: Acknowledgment sent {"connection_id":161381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:39:18] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:39:18] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:39:18] local.INFO: IMEI packet received {"connection_id":159152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":159152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:39:23] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:39:23] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:39:23] local.INFO: IMEI packet received {"connection_id":159152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":159152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:39:24] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022104618012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022104618012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:39:24] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022104618012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:39:24] local.INFO: Packet analysis {"connection_id":159152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02210"} 
[2026-08-21 07:39:24] local.INFO: Extracted packet for processing {"connection_id":159152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02210"} 
[2026-08-21 07:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543133696001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39: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-08-21 07:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787277887000,"timestamp_ms":1787277887000,"timestamp_seconds":1787277887,"priority":1,"record_length":96,"hex_timestamp":"000001a022104618"} 
[2026-08-21 07:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:39: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-08-21 07:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543133696001,"66":12145,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543133696001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:39:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543133696001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":159152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:39:24] local.INFO: GPS data processed {"connection_id":159152,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:39:24] local.INFO: Acknowledgment sent {"connection_id":159152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:39:27] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:39:27] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:39:27] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:39:27] local.INFO: TCP Data received {"connection_id":160008,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02212f980012d7d350005d155f8000b016528..."} 
[2026-08-21 07:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212f980012d7d350005d155f8000b016528..."} 
[2026-08-21 07:39:27] local.INFO: Processing buffer {"connection_id":160008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212f980012d7d350005d155f8000b016528..."} 
[2026-08-21 07:39:27] local.INFO: Packet analysis {"connection_id":160008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:39:27] local.INFO: Extracted packet for processing {"connection_id":160008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":97605112,"longitude_deg":76.3180288,"latitude_deg":9.7605112,"altitude":11,"angle":357,"satellites":40,"speed":58,"hex_longitude":"2d7d3500","hex_latitude":"05d155f8","is_valid_coordinates":true} 
[2026-08-21 07:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543182848001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121512536133599232,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403444658176,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787278064000,"timestamp_ms":1787278064000,"timestamp_seconds":1787278064,"priority":1,"record_length":96,"hex_timestamp":"000001a02212f980"} 
[2026-08-21 07:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 07:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543182848001,"66":13363,"197":206,"85":15104,"24":58,"16":121512536133599232,"45":9022680403444658176},"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-08-21 07:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543182848001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:39:27] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121512536133599232,"km_value":121512536133599.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403444658176,"description":"Unknown IO ID 45"} 
[2026-08-21 07:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543182848001,"power":13363,"unknown_197":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9022680403444658176}} 
[2026-08-21 07:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":160008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:39:28] local.INFO: GPS data processed {"connection_id":160008,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:39:28] local.INFO: Acknowledgment sent {"connection_id":160008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:39:31] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:39:31] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:39:31] local.INFO: IMEI packet received {"connection_id":160009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":160009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:39:32] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:39:32] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:39:32] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:39:32] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:39:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07: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-08-21 07: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":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:39: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-08-21 07:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:39:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:39:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:39:32] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:39:32] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:39:42] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:39:42] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:39:42] local.INFO: IMEI packet received {"connection_id":161382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":161382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:39:47] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:39:47] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:39:47] local.INFO: IMEI packet received {"connection_id":161382,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":161382,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:39:48] local.INFO: TCP Data received {"connection_id":161382,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221314d8012d7d32c005d17bb0000b016328..."} 
[2026-08-21 07:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221314d8012d7d32c005d17bb0000b016328..."} 
[2026-08-21 07:39:48] local.INFO: Processing buffer {"connection_id":161382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221314d8012d7d32c005d17bb0000b016328..."} 
[2026-08-21 07:39:48] local.INFO: Packet analysis {"connection_id":161382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02213"} 
[2026-08-21 07:39:48] local.INFO: Extracted packet for processing {"connection_id":161382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02213"} 
[2026-08-21 07:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":97614768,"longitude_deg":76.3179712,"latitude_deg":9.7614768,"altitude":11,"angle":355,"satellites":40,"speed":52,"hex_longitude":"2d7d32c0","hex_latitude":"05d17bb0","is_valid_coordinates":true} 
[2026-08-21 07:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543184384001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121513004285034496,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117453493565440,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787278071000,"timestamp_ms":1787278071000,"timestamp_seconds":1787278071,"priority":1,"record_length":96,"hex_timestamp":"000001a0221314d8"} 
[2026-08-21 07:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 07:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161382,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543184384001,"66":13015,"197":206,"85":15104,"24":52,"16":121513004285034496,"45":9022117453493565440},"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-08-21 07:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543184384001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:39:48] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 07:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121513004285034496,"km_value":121513004285034.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117453493565440,"description":"Unknown IO ID 45"} 
[2026-08-21 07:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543184384001,"power":13015,"unknown_197":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9022117453493565440}} 
[2026-08-21 07:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":161382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:39:48] local.INFO: GPS data processed {"connection_id":161382,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:39:48] local.INFO: Acknowledgment sent {"connection_id":161382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:39:55] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022109820012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022109820012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:39:55] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022109820012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:39:55] local.INFO: Packet analysis {"connection_id":159152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02210"} 
[2026-08-21 07:39:55] local.INFO: Extracted packet for processing {"connection_id":159152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02210"} 
[2026-08-21 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543139072001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787277908000,"timestamp_ms":1787277908000,"timestamp_seconds":1787277908,"priority":1,"record_length":96,"hex_timestamp":"000001a022109820"} 
[2026-08-21 07:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 07:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543139072001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543139072001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:39:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543139072001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":159152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:39:55] local.INFO: GPS data processed {"connection_id":159152,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:39:55] local.INFO: Acknowledgment sent {"connection_id":159152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:40:04] local.INFO: TCP Data received {"connection_id":160009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:40:04] local.INFO: Processing buffer {"connection_id":160009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:40:04] local.INFO: Packet analysis {"connection_id":160009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:40:04] local.INFO: Extracted packet for processing {"connection_id":160009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:40:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:40: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:40: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-08-21 07:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":160009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:40:04] local.INFO: GPS data processed {"connection_id":160009,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:40:04] local.INFO: Acknowledgment sent {"connection_id":160009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:40:12] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:40:12] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:40:12] local.INFO: IMEI packet received {"connection_id":161383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":161383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:40:17] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:40:17] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:40:17] local.INFO: IMEI packet received {"connection_id":161383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":161383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:40:18] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022133418012d7d2e0005d19f30000b01522a..."} 
[2026-08-21 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022133418012d7d2e0005d19f30000b01522a..."} 
[2026-08-21 07:40:18] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022133418012d7d2e0005d19f30000b01522a..."} 
[2026-08-21 07:40:18] local.INFO: Packet analysis {"connection_id":161383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02213"} 
[2026-08-21 07:40:18] local.INFO: Extracted packet for processing {"connection_id":161383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02213"} 
[2026-08-21 07:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":97623856,"longitude_deg":76.3178496,"latitude_deg":9.7623856,"altitude":11,"angle":338,"satellites":42,"speed":37,"hex_longitude":"2d7d2e00","hex_latitude":"05d19f30","is_valid_coordinates":true} 
[2026-08-21 07:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543186176001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121513450961633280,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484134798438400,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:18] 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-08-21 07:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787278079000,"timestamp_ms":1787278079000,"timestamp_seconds":1787278079,"priority":1,"record_length":96,"hex_timestamp":"000001a022133418"} 
[2026-08-21 07:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 07:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:40: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-08-21 07:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543186176001,"66":13178,"24":37,"85":15104,"16":121513450961633280,"45":9021484134798438400},"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-08-21 07:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543186176001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:40:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121513450961633280,"km_value":121513450961633.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484134798438400,"description":"Unknown IO ID 45"} 
[2026-08-21 07:40:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457543186176001,"power":13178,"ignition":37,"unknown_85":15104,"odometer":null,"unknown_45":9021484134798438400}} 
[2026-08-21 07:40:18] local.INFO: TCP Data received {"connection_id":158843,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:18] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:18] local.INFO: IMEI packet received {"connection_id":158843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":158843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":161383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:40:18] local.INFO: GPS data processed {"connection_id":161383,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:40:18] local.INFO: Acknowledgment sent {"connection_id":161383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:40:19] local.INFO: TCP Data received {"connection_id":158843,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:19] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:19] local.INFO: IMEI packet received {"connection_id":158843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":158843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:40:23] local.INFO: TCP Data received {"connection_id":158843,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:23] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:40:23] local.INFO: IMEI packet received {"connection_id":158843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":158843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:40:24] local.INFO: TCP Data received {"connection_id":158843,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022141e78012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022141e78012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:40:24] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022141e78012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:40:24] local.INFO: Packet analysis {"connection_id":158843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02214"} 
[2026-08-21 07:40:24] local.INFO: Extracted packet for processing {"connection_id":158843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02214"} 
[2026-08-21 07:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543198208001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278139000,"timestamp_ms":1787278139000,"timestamp_seconds":1787278139,"priority":1,"record_length":96,"hex_timestamp":"000001a022141e78"} 
[2026-08-21 07:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:40: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-08-21 07:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 07:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543198208001,"66":12037,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543198208001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543198208001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":158843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:40:24] local.INFO: GPS data processed {"connection_id":158843,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:40:24] local.INFO: Acknowledgment sent {"connection_id":158843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:40:26] local.INFO: TCP Data received {"connection_id":158844,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:40:26] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:40:26] local.INFO: IMEI packet received {"connection_id":158844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":158844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:40:31] local.INFO: TCP Data received {"connection_id":158844,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:40:31] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:40:31] local.INFO: IMEI packet received {"connection_id":158844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":158844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:40:32] local.INFO: TCP Data received {"connection_id":158844,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:40:32] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:40:32] local.INFO: Packet analysis {"connection_id":158844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:40:32] local.INFO: Extracted packet for processing {"connection_id":158844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:40:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:40: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:40:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:40:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":158844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:40:32] local.INFO: GPS data processed {"connection_id":158844,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:40:32] local.INFO: Acknowledgment sent {"connection_id":158844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:40:49] local.INFO: TCP Data received {"connection_id":161383,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022133418012d7d2e0005d19f30000b01522a..."} 
[2026-08-21 07:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022133418012d7d2e0005d19f30000b01522a..."} 
[2026-08-21 07:40:49] local.INFO: Processing buffer {"connection_id":161383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022133418012d7d2e0005d19f30000b01522a..."} 
[2026-08-21 07:40:49] local.INFO: Packet analysis {"connection_id":161383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02213"} 
[2026-08-21 07:40:49] local.INFO: Extracted packet for processing {"connection_id":161383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02213"} 
[2026-08-21 07:40:49] local.INFO: GPS Element Parsed {"raw_longitude":763178496,"raw_latitude":97623856,"longitude_deg":76.3178496,"latitude_deg":9.7623856,"altitude":11,"angle":338,"satellites":42,"speed":37,"hex_longitude":"2d7d2e00","hex_latitude":"05d19f30","is_valid_coordinates":true} 
[2026-08-21 07:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543188224001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121513450961633280,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020147128661389312,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:49] 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-08-21 07:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787278079000,"timestamp_ms":1787278079000,"timestamp_seconds":1787278079,"priority":1,"record_length":96,"hex_timestamp":"000001a022133418"} 
[2026-08-21 07:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 07:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":161383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":161383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":161383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543188224001,"66":13178,"24":37,"85":15104,"16":121513450961633280,"45":9020147128661389312},"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-08-21 07:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543188224001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:40:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121513450961633280,"km_value":121513450961633.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020147128661389312,"description":"Unknown IO ID 45"} 
[2026-08-21 07:40:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457543188224001,"power":13178,"ignition":37,"unknown_85":15104,"odometer":null,"unknown_45":9020147128661389312}} 
[2026-08-21 07:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":161383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:40:49] local.INFO: GPS data processed {"connection_id":161383,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:40:49] local.INFO: Acknowledgment sent {"connection_id":161383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:40:55] local.INFO: TCP Data received {"connection_id":158843,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022147080012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022147080012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:40:55] local.INFO: Processing buffer {"connection_id":158843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022147080012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:40:55] local.INFO: Packet analysis {"connection_id":158843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02214"} 
[2026-08-21 07:40:55] local.INFO: Extracted packet for processing {"connection_id":158843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02214"} 
[2026-08-21 07:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543203584001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278160000,"timestamp_ms":1787278160000,"timestamp_seconds":1787278160,"priority":1,"record_length":96,"hex_timestamp":"000001a022147080"} 
[2026-08-21 07:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":138,"raw_value":3103784960,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4042784826,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3221692400,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182113745502464,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2449526136,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2327379968,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2301612089443173418,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-08-21 07:40:55] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,138,160,204,45,192,240,58,38,10,66,122,40,1,146,227,34,31,4,113,205,132,101,248,41,239,47,2,50,7,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-08-21 07:40:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179696859175976960,"timestamp_seconds":4179696859175977.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543203584001,"66":12004,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543203584001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:40:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543203584001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":158843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:40:55] local.INFO: GPS data processed {"connection_id":158843,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:40:55] local.INFO: Acknowledgment sent {"connection_id":158843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:41:04] local.INFO: TCP Data received {"connection_id":158844,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:41:04] local.INFO: Processing buffer {"connection_id":158844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:41:04] local.INFO: Packet analysis {"connection_id":158844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:41:04] local.INFO: Extracted packet for processing {"connection_id":158844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:41:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:41: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-08-21 07:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:41:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:41:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":158844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:41:04] local.INFO: GPS data processed {"connection_id":158844,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:41:04] local.INFO: Acknowledgment sent {"connection_id":158844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:41:07] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:41:07] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:41:07] local.INFO: IMEI packet received {"connection_id":160010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":160010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:41:12] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:41:12] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:41:12] local.INFO: IMEI packet received {"connection_id":160010,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":160010,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:41:15] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02215bc88012d7d378005d28d68000c001929..."} 
[2026-08-21 07:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02215bc88012d7d378005d28d68000c001929..."} 
[2026-08-21 07:41:15] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02215bc88012d7d378005d28d68000c001929..."} 
[2026-08-21 07:41:15] local.INFO: Packet analysis {"connection_id":160010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:41:15] local.INFO: Extracted packet for processing {"connection_id":160010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97684840,"longitude_deg":76.3180928,"latitude_deg":9.768484,"altitude":12,"angle":25,"satellites":41,"speed":6,"hex_longitude":"2d7d3780","hex_latitude":"05d28d68","is_valid_coordinates":true} 
[2026-08-21 07:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543228928001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121516457438740480,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403467177984,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787278245000,"timestamp_ms":1787278245000,"timestamp_seconds":1787278245,"priority":1,"record_length":96,"hex_timestamp":"000001a02215bc88"} 
[2026-08-21 07:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 07:41: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-08-21 07:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:41: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-08-21 07:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543228928001,"66":13222,"117":206,"85":15104,"24":6,"16":121516457438740480,"45":9022680403467177984},"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-08-21 07:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543228928001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:41:15] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 07:41:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121516457438740480,"km_value":121516457438740.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403467177984,"description":"Unknown IO ID 45"} 
[2026-08-21 07:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543228928001,"power":13222,"unknown_117":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9022680403467177984}} 
[2026-08-21 07:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":160010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:41:15] local.INFO: GPS data processed {"connection_id":160010,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:41:15] local.INFO: Acknowledgment sent {"connection_id":160010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:41:22] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:22] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:22] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:41:23] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:23] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:23] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:41:26] local.INFO: TCP Data received {"connection_id":159153,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:41:26] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:41:26] local.INFO: IMEI packet received {"connection_id":159153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":159153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:41:28] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:28] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:41:28] local.INFO: IMEI packet received {"connection_id":160011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":160011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:41:29] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02214c288012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02214c288012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:41:29] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02214c288012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:41:29] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02214"} 
[2026-08-21 07:41:29] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02214"} 
[2026-08-21 07:41:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543208960001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787278181000,"timestamp_ms":1787278181000,"timestamp_seconds":1787278181,"priority":1,"record_length":96,"hex_timestamp":"000001a02214c288"} 
[2026-08-21 07:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 07:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543208960001,"66":12145,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543208960001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:41:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:41:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543208960001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:41:29] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:41:29] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:41:31] local.INFO: TCP Data received {"connection_id":159153,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:41:31] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:41:31] local.INFO: IMEI packet received {"connection_id":159153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":159153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:41:32] local.INFO: TCP Data received {"connection_id":159153,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:41:32] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:41:32] local.INFO: Packet analysis {"connection_id":159153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:41:32] local.INFO: Extracted packet for processing {"connection_id":159153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:41:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:41: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:41:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:41:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":159153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:41:32] local.INFO: GPS data processed {"connection_id":159153,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:41:32] local.INFO: Acknowledgment sent {"connection_id":159153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:41:33] local.INFO: TCP Data received {"connection_id":160011,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022151490012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022151490012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:41:33] local.INFO: Processing buffer {"connection_id":160011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022151490012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:41:33] local.INFO: Packet analysis {"connection_id":160011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:41:33] local.INFO: Extracted packet for processing {"connection_id":160011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543214336001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787278202000,"timestamp_ms":1787278202000,"timestamp_seconds":1787278202,"priority":1,"record_length":96,"hex_timestamp":"000001a022151490"} 
[2026-08-21 07:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 07:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543214336001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543214336001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:41:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:41:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543214336001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":160011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:41:33] local.INFO: GPS data processed {"connection_id":160011,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:41:33] local.INFO: Acknowledgment sent {"connection_id":160011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:41:49] local.INFO: TCP Data received {"connection_id":160010,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02215dfb0012d7d3a8005d294b8000c000829..."} 
[2026-08-21 07:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02215dfb0012d7d3a8005d294b8000c000829..."} 
[2026-08-21 07:41:49] local.INFO: Processing buffer {"connection_id":160010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02215dfb0012d7d3a8005d294b8000c000829..."} 
[2026-08-21 07:41:49] local.INFO: Packet analysis {"connection_id":160010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:41:49] local.INFO: Extracted packet for processing {"connection_id":160010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":97686712,"longitude_deg":76.3181696,"latitude_deg":9.7686712,"altitude":12,"angle":8,"satellites":41,"speed":7,"hex_longitude":"2d7d3a80","hex_latitude":"05d294b8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543230720001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121516556222988288,"note":"Value kept but may cause issues"} 
[2026-08-21 07:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140955752448,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787278254000,"timestamp_ms":1787278254000,"timestamp_seconds":1787278254,"priority":1,"record_length":96,"hex_timestamp":"000001a02215dfb0"} 
[2026-08-21 07:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":166,"data_length":795,"current_offset":136} 
[2026-08-21 07:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160010,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543230720001,"66":13102,"117":206,"85":15104,"24":7,"16":121516556222988288,"45":9022821140955752448},"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-08-21 07:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543230720001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:41:49] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 07:41:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121516556222988288,"km_value":121516556222988.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140955752448,"description":"Unknown IO ID 45"} 
[2026-08-21 07:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543230720001,"power":13102,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9022821140955752448}} 
[2026-08-21 07:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":160010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:41:49] local.INFO: GPS data processed {"connection_id":160010,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:41:49] local.INFO: Acknowledgment sent {"connection_id":160010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:42:04] local.INFO: TCP Data received {"connection_id":159153,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:42:04] local.INFO: Processing buffer {"connection_id":159153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:42:04] local.INFO: Packet analysis {"connection_id":159153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:42:04] local.INFO: Extracted packet for processing {"connection_id":159153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:42:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:42: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-08-21 07: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":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:42:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:42:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":159153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:42:04] local.INFO: GPS data processed {"connection_id":159153,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:42:04] local.INFO: Acknowledgment sent {"connection_id":159153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:42:07] local.INFO: TCP Data received {"connection_id":158845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:42:07] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:42:07] local.INFO: IMEI packet received {"connection_id":158845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":158845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:42:12] local.INFO: TCP Data received {"connection_id":158845,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:42:12] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:42:12] local.INFO: IMEI packet received {"connection_id":158845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":158845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:42:13] local.INFO: TCP Data received {"connection_id":158845,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02215fef0012d7d3ac005d29dd8000b016526..."} 
[2026-08-21 07:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02215fef0012d7d3ac005d29dd8000b016526..."} 
[2026-08-21 07:42:13] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02215fef0012d7d3ac005d29dd8000b016526..."} 
[2026-08-21 07:42:13] local.INFO: Packet analysis {"connection_id":158845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:42:13] local.INFO: Extracted packet for processing {"connection_id":158845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763181760,"raw_latitude":97689048,"longitude_deg":76.318176,"latitude_deg":9.7689048,"altitude":11,"angle":357,"satellites":38,"speed":17,"hex_longitude":"2d7d3ac0","hex_latitude":"05d29dd8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543233024001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121516672187105280,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565886363648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278262000,"timestamp_ms":1787278262000,"timestamp_seconds":1787278262,"priority":1,"record_length":96,"hex_timestamp":"000001a02215fef0"} 
[2026-08-21 07:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 07:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543233024001,"66":12743,"117":206,"85":15104,"24":17,"16":121516672187105280,"45":9023665565886363648},"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-08-21 07:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543233024001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:42:13] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 07:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121516672187105280,"km_value":121516672187105.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565886363648,"description":"Unknown IO ID 45"} 
[2026-08-21 07:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543233024001,"power":12743,"unknown_117":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9023665565886363648}} 
[2026-08-21 07:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":158845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:42:13] local.INFO: GPS data processed {"connection_id":158845,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:42:13] local.INFO: Acknowledgment sent {"connection_id":158845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:42:18] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:42:18] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:42:18] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:42:23] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:42:23] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:42:23] local.INFO: IMEI packet received {"connection_id":160012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":160012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:42:24] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022156698012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022156698012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:42:24] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022156698012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:42:24] local.INFO: Packet analysis {"connection_id":160012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:42:24] local.INFO: Extracted packet for processing {"connection_id":160012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543219712001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42: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-08-21 07:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278223000,"timestamp_ms":1787278223000,"timestamp_seconds":1787278223,"priority":1,"record_length":96,"hex_timestamp":"000001a022156698"} 
[2026-08-21 07:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:42: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-08-21 07: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:42:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543219712001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543219712001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:42:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543219712001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":160012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:42:24] local.INFO: GPS data processed {"connection_id":160012,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:42:24] local.INFO: Acknowledgment sent {"connection_id":160012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:42:26] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:42:26] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:42:26] local.INFO: IMEI packet received {"connection_id":159154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":159154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:42:31] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:42:31] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:42:31] local.INFO: IMEI packet received {"connection_id":159154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":159154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:42:33] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:42:33] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:42:33] local.INFO: Packet analysis {"connection_id":159154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:42:33] local.INFO: Extracted packet for processing {"connection_id":159154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:42:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 07:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:42:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:42:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:42:33] local.INFO: GPS data processed {"connection_id":159154,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:42:33] local.INFO: Acknowledgment sent {"connection_id":159154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:42:44] local.INFO: TCP Data received {"connection_id":158845,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022162dd0012d7d39c005d2c1e8000901641e..."} 
[2026-08-21 07:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022162dd0012d7d39c005d2c1e8000901641e..."} 
[2026-08-21 07:42:44] local.INFO: Processing buffer {"connection_id":158845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022162dd0012d7d39c005d2c1e8000901641e..."} 
[2026-08-21 07:42:44] local.INFO: Packet analysis {"connection_id":158845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:42:44] local.INFO: Extracted packet for processing {"connection_id":158845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":97698280,"longitude_deg":76.3181504,"latitude_deg":9.769828,"altitude":9,"angle":356,"satellites":30,"speed":38,"hex_longitude":"2d7d39c0","hex_latitude":"05d2c1e8","is_valid_coordinates":true} 
[2026-08-21 07:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543235072001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121517118863704064,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023735934631139328,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787278274000,"timestamp_ms":1787278274000,"timestamp_seconds":1787278274,"priority":1,"record_length":96,"hex_timestamp":"000001a022162dd0"} 
[2026-08-21 07:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 07:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543235072001,"66":13080,"117":206,"85":15104,"24":38,"16":121517118863704064,"45":9023735934631139328},"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-08-21 07:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543235072001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:42:44] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 07:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121517118863704064,"km_value":121517118863704.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023735934631139328,"description":"Unknown IO ID 45"} 
[2026-08-21 07:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543235072001,"power":13080,"unknown_117":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9023735934631139328}} 
[2026-08-21 07:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":158845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:42:44] local.INFO: GPS data processed {"connection_id":158845,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:42:44] local.INFO: Acknowledgment sent {"connection_id":158845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:42:55] local.INFO: TCP Data received {"connection_id":160012,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02215b8a0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02215b8a0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:42:55] local.INFO: Processing buffer {"connection_id":160012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02215b8a0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:42:55] local.INFO: Packet analysis {"connection_id":160012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:42:55] local.INFO: Extracted packet for processing {"connection_id":160012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02215"} 
[2026-08-21 07:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543225088001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278244000,"timestamp_ms":1787278244000,"timestamp_seconds":1787278244,"priority":1,"record_length":96,"hex_timestamp":"000001a02215b8a0"} 
[2026-08-21 07:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 07:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543225088001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543225088001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:42:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543225088001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":160012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:42:55] local.INFO: GPS data processed {"connection_id":160012,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:42:55] local.INFO: Acknowledgment sent {"connection_id":160012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:43:04] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:43:04] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02212e5f8012da67700054b3710001c005f31..."} 
[2026-08-21 07:43:04] local.INFO: Packet analysis {"connection_id":159154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:43:04] local.INFO: Extracted packet for processing {"connection_id":159154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02212"} 
[2026-08-21 07:43:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278059000,"timestamp_ms":1787278059000,"timestamp_seconds":1787278059,"priority":1,"record_length":96,"hex_timestamp":"000001a02212e5f8"} 
[2026-08-21 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-08-21 07:43: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-08-21 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543106048001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:43:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:43:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543106048001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":159154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:43:04] local.INFO: GPS data processed {"connection_id":159154,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:43:04] local.INFO: Acknowledgment sent {"connection_id":159154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:43:06] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:06] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:06] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:43:07] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:07] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:07] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:43:12] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:12] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:43:12] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:43:13] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221775f0012d7d3dc005d452c80007016318..."} 
[2026-08-21 07:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221775f0012d7d3dc005d452c80007016318..."} 
[2026-08-21 07:43:13] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221775f0012d7d3dc005d452c80007016318..."} 
[2026-08-21 07:43:13] local.INFO: Packet analysis {"connection_id":159155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:13] local.INFO: Extracted packet for processing {"connection_id":159155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97800904,"longitude_deg":76.3182528,"latitude_deg":9.7800904,"altitude":7,"angle":355,"satellites":24,"speed":62,"hex_longitude":"2d7d3dc0","hex_latitude":"05d452c8","is_valid_coordinates":true} 
[2026-08-21 07:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543258112001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121522105320734720,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834564237312,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278358000,"timestamp_ms":1787278358000,"timestamp_seconds":1787278358,"priority":1,"record_length":96,"hex_timestamp":"000001a0221775f0"} 
[2026-08-21 07:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 07:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543258112001,"66":13059,"81":206,"85":15104,"24":62,"16":121522105320734720,"45":9024861834564237312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 07:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543258112001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:43:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 07:43:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121522105320734720,"km_value":121522105320734.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834564237312,"description":"Unknown IO ID 45"} 
[2026-08-21 07:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543258112001,"power":13059,"unknown_81":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9024861834564237312}} 
[2026-08-21 07:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":159155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:43:13] local.INFO: GPS data processed {"connection_id":159155,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:43:13] local.INFO: Acknowledgment sent {"connection_id":159155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:43:18] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:43:18] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:43:18] local.INFO: IMEI packet received {"connection_id":159156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":159156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:43:23] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:43:23] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:43:23] local.INFO: IMEI packet received {"connection_id":159156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":159156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:43:24] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022160aa8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022160aa8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:43:24] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022160aa8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:43:24] local.INFO: Packet analysis {"connection_id":159156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:43:24] local.INFO: Extracted packet for processing {"connection_id":159156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543230464001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43: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-08-21 07:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278265000,"timestamp_ms":1787278265000,"timestamp_seconds":1787278265,"priority":1,"record_length":96,"hex_timestamp":"000001a022160aa8"} 
[2026-08-21 07:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:43: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-08-21 07:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543230464001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543230464001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:43:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543230464001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":159156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:43:24] local.INFO: GPS data processed {"connection_id":159156,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:43:24] local.INFO: Acknowledgment sent {"connection_id":159156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:43:31] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:43:31] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:43:31] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:43:36] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:43:36] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:43:36] local.INFO: IMEI packet received {"connection_id":160013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":160013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:43:37] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:43:37] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:43:37] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:37] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:43:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:43:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:43:37] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:43:37] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:43:42] local.INFO: TCP Data received {"connection_id":160013,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:43:42] local.INFO: Processing buffer {"connection_id":160013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:43:42] local.INFO: Packet analysis {"connection_id":160013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:42] local.INFO: Extracted packet for processing {"connection_id":160013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":160013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:43:42] local.INFO: GPS data processed {"connection_id":160013,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:43:42] local.INFO: Acknowledgment sent {"connection_id":160013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:43:44] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022178d60012d7d394005d477900008015e1b..."} 
[2026-08-21 07:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022178d60012d7d394005d477900008015e1b..."} 
[2026-08-21 07:43:44] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022178d60012d7d394005d477900008015e1b..."} 
[2026-08-21 07:43:44] local.INFO: Packet analysis {"connection_id":159155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:44] local.INFO: Extracted packet for processing {"connection_id":159155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":97810320,"longitude_deg":76.3181376,"latitude_deg":9.781032,"altitude":8,"angle":350,"satellites":27,"speed":62,"hex_longitude":"2d7d3940","hex_latitude":"05d47790","is_valid_coordinates":true} 
[2026-08-21 07:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543259648001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121522564882235392,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359589906432,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787278364000,"timestamp_ms":1787278364000,"timestamp_seconds":1787278364,"priority":1,"record_length":96,"hex_timestamp":"000001a022178d60"} 
[2026-08-21 07:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281638,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3260547083,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-21 07:43:44] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":851968,"corrected_to":0} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802214,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":115,"raw_value":58077557095399472,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3115057152,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3548125184,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:44] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,81,85,24,241,157,16,187,160,94,45,192,46,7,25,10,66,71,64,11,8,21,186,43,1,240,182,227,34,211,4,113,205,42,237,52,200,239,50,115,2,175,5,13,48],"length":486,"final_offset":616,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0},{"io_id":200,"original":851968,"validated":0}]} 
[2026-08-21 07:43:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504793587976634368,"timestamp_seconds":504793587976634.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543259648001,"66":13059,"81":206,"85":15104,"24":62,"16":121522564882235392,"45":9024580359589906432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 07:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543259648001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 07:43:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121522564882235392,"km_value":121522564882235.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359589906432,"description":"Unknown IO ID 45"} 
[2026-08-21 07:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543259648001,"power":13059,"unknown_81":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9024580359589906432}} 
[2026-08-21 07:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":159155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:43:44] local.INFO: GPS data processed {"connection_id":159155,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:43:44] local.INFO: Acknowledgment sent {"connection_id":159155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:43:55] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022165cb0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022165cb0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:43:55] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022165cb0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:43:55] local.INFO: Packet analysis {"connection_id":159156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:43:55] local.INFO: Extracted packet for processing {"connection_id":159156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543235840001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278286000,"timestamp_ms":1787278286000,"timestamp_seconds":1787278286,"priority":1,"record_length":96,"hex_timestamp":"000001a022165cb0"} 
[2026-08-21 07:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543235840001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543235840001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:43:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543235840001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":159156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:43:55] local.INFO: GPS data processed {"connection_id":159156,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:43:55] local.INFO: Acknowledgment sent {"connection_id":159156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:44:07] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:44:07] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:44:07] local.INFO: IMEI packet received {"connection_id":161384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":161384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:44:12] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:44:12] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:44:12] local.INFO: IMEI packet received {"connection_id":161384,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":161384,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:44:13] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02217a4d0012d7d338005d49c280008015e17..."} 
[2026-08-21 07:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02217a4d0012d7d338005d49c280008015e17..."} 
[2026-08-21 07:44:13] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02217a4d0012d7d338005d49c280008015e17..."} 
[2026-08-21 07:44:13] local.INFO: Packet analysis {"connection_id":161384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:44:13] local.INFO: Extracted packet for processing {"connection_id":161384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":763179904,"raw_latitude":97819688,"longitude_deg":76.3179904,"latitude_deg":9.7819688,"altitude":8,"angle":350,"satellites":23,"speed":62,"hex_longitude":"2d7d3380","hex_latitude":"05d49c28","is_valid_coordinates":true} 
[2026-08-21 07:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543261184001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121523024443736064,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023313722197118976,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278370000,"timestamp_ms":1787278370000,"timestamp_seconds":1787278370,"priority":1,"record_length":96,"hex_timestamp":"000001a02217a4d0"} 
[2026-08-21 07:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311974,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":211,"raw_value":3858235401,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3192979662,"corrected_to":0} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3121807360,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3550398464,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.WARNING: Large IO value detected {"io_id":115,"raw_value":58077557095399476,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:13] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,81,85,24,241,157,16,188,160,117,45,192,82,7,10,66,187,94,46,25,71,64,1,240,227,186,34,211,4,113,205,50,12,53,88,239,52,2,175,5,13,115],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3192979662,"validated":0}]} 
[2026-08-21 07:44:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576845697341325312,"timestamp_seconds":576845697341325.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543261184001,"66":13222,"81":206,"85":15104,"24":62,"16":121523024443736064,"45":9023313722197118976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-08-21 07:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543261184001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-08-21 07:44:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121523024443736064,"km_value":121523024443736.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023313722197118976,"description":"Unknown IO ID 45"} 
[2026-08-21 07:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543261184001,"power":13222,"unknown_81":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9023313722197118976}} 
[2026-08-21 07:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":161384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:44:13] local.INFO: GPS data processed {"connection_id":161384,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:44:13] local.INFO: Acknowledgment sent {"connection_id":161384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:44:18] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:44:18] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:44:18] local.INFO: IMEI packet received {"connection_id":160014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":160014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:44:23] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:44:23] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:44:23] local.INFO: IMEI packet received {"connection_id":160014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":160014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:44:26] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:44:26] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:44:26] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:44:31] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:44:31] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:44:31] local.INFO: IMEI packet received {"connection_id":160015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":160015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:44:32] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:44:32] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:44:32] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:44:32] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:44:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:44: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-08-21 07:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:44:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:44:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:44:32] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:44:32] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:44:44] local.INFO: TCP Data received {"connection_id":161384,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022191fb8012d7cf2c005d627b00002016217..."} 
[2026-08-21 07:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022191fb8012d7cf2c005d627b00002016217..."} 
[2026-08-21 07:44:44] local.INFO: Processing buffer {"connection_id":161384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022191fb8012d7cf2c005d627b00002016217..."} 
[2026-08-21 07:44:44] local.INFO: Packet analysis {"connection_id":161384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:44:44] local.INFO: Extracted packet for processing {"connection_id":161384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763163328,"raw_latitude":97920944,"longitude_deg":76.3163328,"latitude_deg":9.7920944,"altitude":2,"angle":354,"satellites":23,"speed":59,"hex_longitude":"2d7cf2c0","hex_latitude":"05d627b0","is_valid_coordinates":true} 
[2026-08-21 07:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543285760001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121528036670570496,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004595636271695872,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787278467000,"timestamp_ms":1787278467000,"timestamp_seconds":1787278467,"priority":1,"record_length":96,"hex_timestamp":"000001a022191fb8"} 
[2026-08-21 07:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 07:44:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161384,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543285760001,"66":13091,"253":206,"85":15104,"24":59,"16":121528036670570496,"45":9004595636271695872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-21 07:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543285760001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:44:44] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-21 07:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121528036670570496,"km_value":121528036670570.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004595636271695872,"description":"Unknown IO ID 45"} 
[2026-08-21 07:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543285760001,"power":13091,"unknown_253":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9004595636271695872}} 
[2026-08-21 07:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":161384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:44:44] local.INFO: GPS data processed {"connection_id":161384,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:44:44] local.INFO: Acknowledgment sent {"connection_id":161384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:44:49] local.INFO: TCP Data received {"connection_id":160014,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02216aeb8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02216aeb8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:44:49] local.INFO: Processing buffer {"connection_id":160014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02216aeb8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:44:49] local.INFO: Packet analysis {"connection_id":160014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:44:49] local.INFO: Extracted packet for processing {"connection_id":160014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02216"} 
[2026-08-21 07:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543241216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:44: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-08-21 07:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787278307000,"timestamp_ms":1787278307000,"timestamp_seconds":1787278307,"priority":1,"record_length":96,"hex_timestamp":"000001a02216aeb8"} 
[2026-08-21 07:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543241216001,"66":12145,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543241216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543241216001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":160014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:44:49] local.INFO: GPS data processed {"connection_id":160014,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:44:49] local.INFO: Acknowledgment sent {"connection_id":160014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:45:04] local.INFO: TCP Data received {"connection_id":160015,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:45:04] local.INFO: Processing buffer {"connection_id":160015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:45:04] local.INFO: Packet analysis {"connection_id":160015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:04] local.INFO: Extracted packet for processing {"connection_id":160015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:45: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-08-21 07:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:45:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:45:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":160015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:45:04] local.INFO: GPS data processed {"connection_id":160015,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:45:04] local.INFO: Acknowledgment sent {"connection_id":160015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:45:07] local.INFO: TCP Data received {"connection_id":158846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:07] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:07] local.INFO: IMEI packet received {"connection_id":158846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":158846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:45:11] local.INFO: TCP Data received {"connection_id":158846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:11] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:11] local.INFO: IMEI packet received {"connection_id":158846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":158846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:45:12] local.INFO: TCP Data received {"connection_id":158846,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:12] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:45:12] local.INFO: IMEI packet received {"connection_id":158846,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":158846,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:45:12] local.INFO: TCP Data received {"connection_id":158846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022193728012d7cef0005d64c280001016117..."} 
[2026-08-21 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022193728012d7cef0005d64c280001016117..."} 
[2026-08-21 07:45:12] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022193728012d7cef0005d64c280001016117..."} 
[2026-08-21 07:45:12] local.INFO: Packet analysis {"connection_id":158846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:45:12] local.INFO: Extracted packet for processing {"connection_id":158846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763162368,"raw_latitude":97930280,"longitude_deg":76.3162368,"latitude_deg":9.793028,"altitude":1,"angle":353,"satellites":23,"speed":65,"hex_longitude":"2d7cef00","hex_latitude":"05d64c28","is_valid_coordinates":true} 
[2026-08-21 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543287552001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121528491937103872,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003469736367337472,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787278473000,"timestamp_ms":1787278473000,"timestamp_seconds":1787278473,"priority":1,"record_length":96,"hex_timestamp":"000001a022193728"} 
[2026-08-21 07:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 07:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543287552001,"66":13178,"253":206,"85":15104,"24":65,"16":121528491937103872,"45":9003469736367337472},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-08-21 07:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543287552001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-08-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121528491937103872,"km_value":121528491937103.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003469736367337472,"description":"Unknown IO ID 45"} 
[2026-08-21 07:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543287552001,"power":13178,"unknown_253":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9003469736367337472}} 
[2026-08-21 07:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":158846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:45:12] local.INFO: GPS data processed {"connection_id":158846,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:45:12] local.INFO: Acknowledgment sent {"connection_id":158846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:45:17] local.INFO: TCP Data received {"connection_id":158846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022194e98012d7cea8005d672e80000016215..."} 
[2026-08-21 07:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022194e98012d7cea8005d672e80000016215..."} 
[2026-08-21 07:45:17] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022194e98012d7cea8005d672e80000016215..."} 
[2026-08-21 07:45:17] local.INFO: Packet analysis {"connection_id":158846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:45:17] local.INFO: Extracted packet for processing {"connection_id":158846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763161216,"raw_latitude":97940200,"longitude_deg":76.3161216,"latitude_deg":9.79402,"altitude":0,"angle":354,"satellites":21,"speed":65,"hex_longitude":"2d7cea80","hex_latitude":"05d672e8","is_valid_coordinates":true} 
[2026-08-21 07:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543289088001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121528972973441024,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002414205207062528,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787278479000,"timestamp_ms":1787278479000,"timestamp_seconds":1787278479,"priority":1,"record_length":96,"hex_timestamp":"000001a022194e98"} 
[2026-08-21 07:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 07:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543289088001,"66":13135,"29":206,"85":15104,"24":65,"16":121528972973441024,"45":9002414205207062528},"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-08-21 07:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543289088001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:45:17] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 07:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121528972973441024,"km_value":121528972973441.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002414205207062528,"description":"Unknown IO ID 45"} 
[2026-08-21 07:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543289088001,"power":13135,"unknown_29":206,"unknown_85":15104,"ignition":65,"odometer":null,"unknown_45":9002414205207062528}} 
[2026-08-21 07:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":158846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:45:17] local.INFO: GPS data processed {"connection_id":158846,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:45:17] local.INFO: Acknowledgment sent {"connection_id":158846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:45:18] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:45:18] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:45:18] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:45:23] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:45:23] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:45:23] local.INFO: IMEI packet received {"connection_id":160016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":160016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:45:24] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221700c0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221700c0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:45:24] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221700c0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:45:24] local.INFO: Packet analysis {"connection_id":160016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:24] local.INFO: Extracted packet for processing {"connection_id":160016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543246592001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278328000,"timestamp_ms":1787278328000,"timestamp_seconds":1787278328,"priority":1,"record_length":96,"hex_timestamp":"000001a0221700c0"} 
[2026-08-21 07:45:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:45:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 07:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:45:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:45:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543246592001,"66":12145,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543246592001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:45:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543246592001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":160016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:45:24] local.INFO: GPS data processed {"connection_id":160016,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:45:24] local.INFO: Acknowledgment sent {"connection_id":160016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:45:26] local.INFO: TCP Data received {"connection_id":159157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:45:26] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:45:26] local.INFO: IMEI packet received {"connection_id":159157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":159157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:45:31] local.INFO: TCP Data received {"connection_id":159157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:45:31] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:45:31] local.INFO: IMEI packet received {"connection_id":159157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":159157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:45:32] local.INFO: TCP Data received {"connection_id":159157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:45:32] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:45:32] local.INFO: Packet analysis {"connection_id":159157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:32] local.INFO: Extracted packet for processing {"connection_id":159157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:45: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:45:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:45:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":159157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:45:32] local.INFO: GPS data processed {"connection_id":159157,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:45:32] local.INFO: Acknowledgment sent {"connection_id":159157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:45:48] local.INFO: TCP Data received {"connection_id":158846,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022196608012d7ce70005d698a00001016117..."} 
[2026-08-21 07:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022196608012d7ce70005d698a00001016117..."} 
[2026-08-21 07:45:48] local.INFO: Processing buffer {"connection_id":158846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022196608012d7ce70005d698a00001016117..."} 
[2026-08-21 07:45:48] local.INFO: Packet analysis {"connection_id":158846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:45:48] local.INFO: Extracted packet for processing {"connection_id":158846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:45:48] local.INFO: GPS Element Parsed {"raw_longitude":763160320,"raw_latitude":97949856,"longitude_deg":76.316032,"latitude_deg":9.7949856,"altitude":1,"angle":353,"satellites":23,"speed":62,"hex_longitude":"2d7ce700","hex_latitude":"05d698a0","is_valid_coordinates":true} 
[2026-08-21 07:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543290624001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121529445419843584,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001147567814404096,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787278485000,"timestamp_ms":1787278485000,"timestamp_seconds":1787278485,"priority":1,"record_length":96,"hex_timestamp":"000001a022196608"} 
[2026-08-21 07:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 07:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158846,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543290624001,"66":13059,"29":206,"85":15104,"24":62,"16":121529445419843584,"45":9001147567814404096},"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-08-21 07:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543290624001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:45:48] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 07:45:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121529445419843584,"km_value":121529445419843.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001147567814404096,"description":"Unknown IO ID 45"} 
[2026-08-21 07:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543290624001,"power":13059,"unknown_29":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":9001147567814404096}} 
[2026-08-21 07:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":158846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:45:49] local.INFO: GPS data processed {"connection_id":158846,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:45:49] local.INFO: Acknowledgment sent {"connection_id":158846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:45:55] local.INFO: TCP Data received {"connection_id":160016,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221752c8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221752c8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:45:55] local.INFO: Processing buffer {"connection_id":160016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221752c8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:45:55] local.INFO: Packet analysis {"connection_id":160016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:55] local.INFO: Extracted packet for processing {"connection_id":160016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543251968001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278349000,"timestamp_ms":1787278349000,"timestamp_seconds":1787278349,"priority":1,"record_length":96,"hex_timestamp":"000001a0221752c8"} 
[2026-08-21 07:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 07:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543251968001,"66":12189,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543251968001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:45:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543251968001,"power":12189,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":160016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:45:55] local.INFO: GPS data processed {"connection_id":160016,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:45:55] local.INFO: Acknowledgment sent {"connection_id":160016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:46:05] local.INFO: TCP Data received {"connection_id":159157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:46:05] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:46:05] local.INFO: Packet analysis {"connection_id":159157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:05] local.INFO: Extracted packet for processing {"connection_id":159157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:05] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:46: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-08-21 07:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:46:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:46:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":159157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:46:05] local.INFO: GPS data processed {"connection_id":159157,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:46:05] local.INFO: Acknowledgment sent {"connection_id":159157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:46:09] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:09] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:09] local.INFO: IMEI packet received {"connection_id":161385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":161385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:46:12] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:12] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:12] local.INFO: IMEI packet received {"connection_id":161385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":161385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:46:17] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:17] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:46:17] local.INFO: IMEI packet received {"connection_id":161385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":161385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:46:18] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:46:18] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:46:18] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:46:18] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022197d78012d7ce14005d6bd900001015c1b..."} 
[2026-08-21 07:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022197d78012d7ce14005d6bd900001015c1b..."} 
[2026-08-21 07:46:18] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022197d78012d7ce14005d6bd900001015c1b..."} 
[2026-08-21 07:46:18] local.INFO: Packet analysis {"connection_id":161385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:46:18] local.INFO: Extracted packet for processing {"connection_id":161385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:46:18] local.INFO: GPS Element Parsed {"raw_longitude":763158848,"raw_latitude":97959312,"longitude_deg":76.3158848,"latitude_deg":9.7959312,"altitude":1,"angle":348,"satellites":27,"speed":64,"hex_longitude":"2d7ce140","hex_latitude":"05d6bd90","is_valid_coordinates":true} 
[2026-08-21 07:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543292160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121529909276311552,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000162405398388736,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787278491000,"timestamp_ms":1787278491000,"timestamp_seconds":1787278491,"priority":1,"record_length":96,"hex_timestamp":"000001a022197d78"} 
[2026-08-21 07:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:46: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-08-21 07:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009350056,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":253,"raw_value":58077557095399458,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802216,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3225419776,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3585720320,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,29,85,24,241,157,16,194,160,78,45,128,114,21,10,66,193,55,76,1,23,253,31,192,240,35,227,34,214,4,113,205,52,229,96,28,239,50,2,175,5],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-08-21 07:46:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72445820430843904,"timestamp_seconds":72445820430843.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:46: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-08-21 07:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543292160001,"66":13135,"29":206,"85":15104,"24":64,"16":121529909276311552,"45":9000162405398388736},"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-08-21 07:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543292160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:46:18] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 07:46:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121529909276311552,"km_value":121529909276311.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000162405398388736,"description":"Unknown IO ID 45"} 
[2026-08-21 07:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543292160001,"power":13135,"unknown_29":206,"unknown_85":15104,"ignition":64,"odometer":null,"unknown_45":9000162405398388736}} 
[2026-08-21 07:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":161385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:46:18] local.INFO: GPS data processed {"connection_id":161385,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:46:18] local.INFO: Acknowledgment sent {"connection_id":161385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:46:19] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221994e8012d7cd7c005d6e2700002015718..."} 
[2026-08-21 07:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221994e8012d7cd7c005d6e2700002015718..."} 
[2026-08-21 07:46:19] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221994e8012d7cd7c005d6e2700002015718..."} 
[2026-08-21 07:46:19] local.INFO: Packet analysis {"connection_id":161385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:46:19] local.INFO: Extracted packet for processing {"connection_id":161385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:46:19] local.INFO: GPS Element Parsed {"raw_longitude":763156416,"raw_latitude":97968752,"longitude_deg":76.3156416,"latitude_deg":9.7968752,"altitude":2,"angle":343,"satellites":24,"speed":62,"hex_longitude":"2d7cd7c0","hex_latitude":"05d6e270","is_valid_coordinates":true} 
[2026-08-21 07:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543293696001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121530381722714112,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998543924284723200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787278497000,"timestamp_ms":1787278497000,"timestamp_seconds":1787278497,"priority":1,"record_length":96,"hex_timestamp":"000001a0221994e8"} 
[2026-08-21 07:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 07:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543293696001,"66":12798,"29":206,"85":15104,"24":62,"16":121530381722714112,"45":8998543924284723200},"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-08-21 07:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543293696001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:46:19] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 07:46:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121530381722714112,"km_value":121530381722714.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998543924284723200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543293696001,"power":12798,"unknown_29":206,"unknown_85":15104,"ignition":62,"odometer":null,"unknown_45":8998543924284723200}} 
[2026-08-21 07:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":161385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:46:19] local.INFO: GPS data processed {"connection_id":161385,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:46:19] local.INFO: Acknowledgment sent {"connection_id":161385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:46:23] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:46:23] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:46:23] local.INFO: IMEI packet received {"connection_id":160017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":160017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:46:24] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02217a4d0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02217a4d0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:46:24] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02217a4d0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:46:24] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:24] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543257344001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46: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-08-21 07:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278370000,"timestamp_ms":1787278370000,"timestamp_seconds":1787278370,"priority":1,"record_length":96,"hex_timestamp":"000001a02217a4d0"} 
[2026-08-21 07:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 07:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543257344001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543257344001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:46:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543257344001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:46:24] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:46:24] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:46:26] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:46:26] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:46:26] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:46:31] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:46:31] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:46:31] local.INFO: IMEI packet received {"connection_id":160018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":160018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:46:32] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:46:32] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:46:32] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:32] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:46: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-08-21 07:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:46:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:46:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:46:32] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:46:32] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:46:50] local.INFO: TCP Data received {"connection_id":161385,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221afc48012d7c954005d875780000016417..."} 
[2026-08-21 07:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221afc48012d7c954005d875780000016417..."} 
[2026-08-21 07:46:50] local.INFO: Processing buffer {"connection_id":161385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221afc48012d7c954005d875780000016417..."} 
[2026-08-21 07:46:50] local.INFO: Packet analysis {"connection_id":161385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:46:50] local.INFO: Extracted packet for processing {"connection_id":161385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:46:50] local.INFO: GPS Element Parsed {"raw_longitude":763139392,"raw_latitude":98071928,"longitude_deg":76.3139392,"latitude_deg":9.8071928,"altitude":0,"angle":356,"satellites":23,"speed":56,"hex_longitude":"2d7c9540","hex_latitude":"05d87578","is_valid_coordinates":true} 
[2026-08-21 07:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543316992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121535479848894464,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977714776034387968,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:50] 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-08-21 07:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787278589000,"timestamp_ms":1787278589000,"timestamp_seconds":1787278589,"priority":1,"record_length":96,"hex_timestamp":"000001a0221afc48"} 
[2026-08-21 07:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 07:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543316992001,"66":12993,"195":206,"85":15104,"24":56,"16":121535479848894464,"45":8977714776034387968},"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-08-21 07:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543316992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:46:50] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 07:46:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121535479848894464,"km_value":121535479848894.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977714776034387968,"description":"Unknown IO ID 45"} 
[2026-08-21 07:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543316992001,"power":12993,"unknown_195":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8977714776034387968}} 
[2026-08-21 07:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":161385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:46:50] local.INFO: GPS data processed {"connection_id":161385,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:46:50] local.INFO: Acknowledgment sent {"connection_id":161385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:46:55] local.INFO: TCP Data received {"connection_id":160017,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02217f6d8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02217f6d8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:46:55] local.INFO: Processing buffer {"connection_id":160017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02217f6d8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:46:55] local.INFO: Packet analysis {"connection_id":160017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:55] local.INFO: Extracted packet for processing {"connection_id":160017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543262720001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278391000,"timestamp_ms":1787278391000,"timestamp_seconds":1787278391,"priority":1,"record_length":96,"hex_timestamp":"000001a02217f6d8"} 
[2026-08-21 07:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543262720001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543262720001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543262720001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":160017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:46:55] local.INFO: GPS data processed {"connection_id":160017,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:46:55] local.INFO: Acknowledgment sent {"connection_id":160017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:47:04] local.INFO: TCP Data received {"connection_id":160018,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:47:04] local.INFO: Processing buffer {"connection_id":160018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:47:04] local.INFO: Packet analysis {"connection_id":160018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:47:04] local.INFO: Extracted packet for processing {"connection_id":160018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:47:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 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-08-21 07:47: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-08-21 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":160018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:47:04] local.INFO: GPS data processed {"connection_id":160018,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:47:04] local.INFO: Acknowledgment sent {"connection_id":160018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:47:05] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:05] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:05] local.INFO: IMEI packet received {"connection_id":161386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":161386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:47:07] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:07] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:07] local.INFO: IMEI packet received {"connection_id":161386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":161386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:47:12] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:12] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:47:12] local.INFO: IMEI packet received {"connection_id":161386,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":161386,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:47:13] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221b13b8012d7c944005d898400000016717..."} 
[2026-08-21 07:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221b13b8012d7c944005d898400000016717..."} 
[2026-08-21 07:47:13] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221b13b8012d7c944005d898400000016717..."} 
[2026-08-21 07:47:13] local.INFO: Packet analysis {"connection_id":161386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:47:13] local.INFO: Extracted packet for processing {"connection_id":161386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:47:13] local.INFO: GPS Element Parsed {"raw_longitude":763139136,"raw_latitude":98080832,"longitude_deg":76.3139136,"latitude_deg":9.8080832,"altitude":0,"angle":359,"satellites":23,"speed":57,"hex_longitude":"2d7c9440","hex_latitude":"05d89840","is_valid_coordinates":true} 
[2026-08-21 07:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543318784001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121535913640591360,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977151826083543040,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:13] 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-08-21 07:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278595000,"timestamp_ms":1787278595000,"timestamp_seconds":1787278595,"priority":1,"record_length":96,"hex_timestamp":"000001a0221b13b8"} 
[2026-08-21 07:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 07:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543318784001,"66":12972,"196":206,"85":15104,"24":57,"16":121535913640591360,"45":8977151826083543040},"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-08-21 07:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543318784001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:47:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 07:47:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121535913640591360,"km_value":121535913640591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977151826083543040,"description":"Unknown IO ID 45"} 
[2026-08-21 07:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543318784001,"power":12972,"unknown_196":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8977151826083543040}} 
[2026-08-21 07:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":161386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:47:13] local.INFO: GPS data processed {"connection_id":161386,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:47:13] local.INFO: Acknowledgment sent {"connection_id":161386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:47:18] local.INFO: TCP Data received {"connection_id":158847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:18] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:18] local.INFO: IMEI packet received {"connection_id":158847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":158847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:47:19] local.INFO: TCP Data received {"connection_id":158847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:19] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:19] local.INFO: IMEI packet received {"connection_id":158847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:47:19] local.INFO: IMEI acknowledgment sent {"connection_id":158847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:47:23] local.INFO: TCP Data received {"connection_id":158847,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:23] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:47:23] local.INFO: IMEI packet received {"connection_id":158847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":158847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:47:24] local.INFO: TCP Data received {"connection_id":158847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221848e0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221848e0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:47:24] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221848e0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 07:47:24] local.INFO: Packet analysis {"connection_id":158847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02218"} 
[2026-08-21 07:47:24] local.INFO: Extracted packet for processing {"connection_id":158847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02218"} 
[2026-08-21 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543268096001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47: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-08-21 07:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278412000,"timestamp_ms":1787278412000,"timestamp_seconds":1787278412,"priority":1,"record_length":96,"hex_timestamp":"000001a0221848e0"} 
[2026-08-21 07:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:47:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:47: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-08-21 07:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543268096001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543268096001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:47:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543268096001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":158847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:47:24] local.INFO: GPS data processed {"connection_id":158847,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:47:24] local.INFO: Acknowledgment sent {"connection_id":158847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:47:26] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:47:26] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:47:26] local.INFO: IMEI packet received {"connection_id":161387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":161387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:47:31] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:47:31] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:47:31] local.INFO: IMEI packet received {"connection_id":161387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":161387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:47:32] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:47:32] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:47:32] local.INFO: Packet analysis {"connection_id":161387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:47:32] local.INFO: Extracted packet for processing {"connection_id":161387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:47:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:47: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-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:47:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:47:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:47:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":161387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:47:32] local.INFO: GPS data processed {"connection_id":161387,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:47:32] local.INFO: Acknowledgment sent {"connection_id":161387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:47:47] local.INFO: TCP Data received {"connection_id":161386,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221b2f10012d7c918005d8bf00000301621c..."} 
[2026-08-21 07:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221b2f10012d7c918005d8bf00000301621c..."} 
[2026-08-21 07:47:47] local.INFO: Processing buffer {"connection_id":161386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221b2f10012d7c918005d8bf00000301621c..."} 
[2026-08-21 07:47:47] local.INFO: Packet analysis {"connection_id":161386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:47:47] local.INFO: Extracted packet for processing {"connection_id":161386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:47:47] local.INFO: GPS Element Parsed {"raw_longitude":763138432,"raw_latitude":98090752,"longitude_deg":76.3138432,"latitude_deg":9.8090752,"altitude":3,"angle":354,"satellites":28,"speed":53,"hex_longitude":"2d7c9180","hex_latitude":"05d8bf00","is_valid_coordinates":true} 
[2026-08-21 07:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:47:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543320320001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121536394676928512,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976870351109111808,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:47] 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-08-21 07:47:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787278602000,"timestamp_ms":1787278602000,"timestamp_seconds":1787278602,"priority":1,"record_length":96,"hex_timestamp":"000001a0221b2f10"} 
[2026-08-21 07:47:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:47:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:47:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-21 07:47:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:47:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:47:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:47:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:47:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:47:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:47:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161386,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:47:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:47:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:47:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:47:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543320320001,"66":13059,"196":206,"85":15104,"24":53,"16":121536394676928512,"45":8976870351109111808},"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-08-21 07:47:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:47:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:47:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543320320001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:47:47] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 07:47:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:47:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121536394676928512,"km_value":121536394676928.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:47:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976870351109111808,"description":"Unknown IO ID 45"} 
[2026-08-21 07:47:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543320320001,"power":13059,"unknown_196":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8976870351109111808}} 
[2026-08-21 07:47:47] local.INFO: DEBUG: GPS processor result {"connection_id":161386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:47:47] local.INFO: GPS data processed {"connection_id":161386,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:47:47] local.INFO: Acknowledgment sent {"connection_id":161386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:47:55] local.INFO: TCP Data received {"connection_id":158847,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022189ae8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022189ae8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:47:55] local.INFO: Processing buffer {"connection_id":158847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022189ae8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:47:55] local.INFO: Packet analysis {"connection_id":158847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02218"} 
[2026-08-21 07:47:55] local.INFO: Extracted packet for processing {"connection_id":158847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02218"} 
[2026-08-21 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543273472001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278433000,"timestamp_ms":1787278433000,"timestamp_seconds":1787278433,"priority":1,"record_length":96,"hex_timestamp":"000001a022189ae8"} 
[2026-08-21 07:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543273472001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543273472001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:47:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543273472001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":158847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:47:55] local.INFO: GPS data processed {"connection_id":158847,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:47:55] local.INFO: Acknowledgment sent {"connection_id":158847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:48:04] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:04] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:04] local.INFO: IMEI packet received {"connection_id":159158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":159158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:48:04] local.INFO: TCP Data received {"connection_id":161387,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:48:04] local.INFO: Processing buffer {"connection_id":161387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022177dc0012da67700054b3710001c005f30..."} 
[2026-08-21 07:48:04] local.INFO: Packet analysis {"connection_id":161387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:48:04] local.INFO: Extracted packet for processing {"connection_id":161387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02217"} 
[2026-08-21 07:48:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":48,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278360000,"timestamp_ms":1787278360000,"timestamp_seconds":1787278360,"priority":1,"record_length":96,"hex_timestamp":"000001a022177dc0"} 
[2026-08-21 07:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:48: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-08-21 07:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543183104001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:48:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:48:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543183104001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":161387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:48:04] local.INFO: GPS data processed {"connection_id":161387,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:48:04] local.INFO: Acknowledgment sent {"connection_id":161387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:48:07] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:07] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:07] local.INFO: IMEI packet received {"connection_id":159158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":159158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:48:12] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:12] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:48:12] local.INFO: IMEI packet received {"connection_id":159158,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":159158,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:48:12] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221b4a68012d7c8e8005d8e488000501621b..."} 
[2026-08-21 07:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221b4a68012d7c8e8005d8e488000501621b..."} 
[2026-08-21 07:48:12] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221b4a68012d7c8e8005d8e488000501621b..."} 
[2026-08-21 07:48:12] local.INFO: Packet analysis {"connection_id":159158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:48:12] local.INFO: Extracted packet for processing {"connection_id":159158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763137664,"raw_latitude":98100360,"longitude_deg":76.3137664,"latitude_deg":9.810036,"altitude":5,"angle":354,"satellites":27,"speed":56,"hex_longitude":"2d7c8e80","hex_latitude":"05d8e488","is_valid_coordinates":true} 
[2026-08-21 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543322112001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121536862828363776,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976096294925697024,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] 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-08-21 07:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787278609000,"timestamp_ms":1787278609000,"timestamp_seconds":1787278609,"priority":1,"record_length":96,"hex_timestamp":"000001a0221b4a68"} 
[2026-08-21 07:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861270,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":17664,"corrected_to":0} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":195,"raw_value":58077557095399444,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455620302,"corrected_to":0} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3331325952,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3621513216,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:12] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,196,85,24,241,157,16,200,160,19,45,64,152,23,10,66,252,117,195,199,224,1,240,193,227,34,216,4,113,205,53,166,155,112,27,239,52,2,175,5,20],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":200,"original":17664,"validated":0},{"io_id":205,"original":1455620302,"validated":0}]} 
[2026-08-21 07:48:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216562129492574208,"timestamp_seconds":216562129492574.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543322112001,"66":12765,"196":206,"85":15104,"24":56,"16":121536862828363776,"45":8976096294925697024},"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-08-21 07:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543322112001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:48:12] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 07:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121536862828363776,"km_value":121536862828363.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976096294925697024,"description":"Unknown IO ID 45"} 
[2026-08-21 07:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543322112001,"power":12765,"unknown_196":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":8976096294925697024}} 
[2026-08-21 07:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":159158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:48:12] local.INFO: GPS data processed {"connection_id":159158,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:48:12] local.INFO: Acknowledgment sent {"connection_id":159158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:48:18] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:18] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:18] local.INFO: IMEI packet received {"connection_id":160019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":160019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:48:22] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:22] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:22] local.INFO: IMEI packet received {"connection_id":160019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":160019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:48:23] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:23] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:48:23] local.INFO: IMEI packet received {"connection_id":160019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":160019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:48:23] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02218ecf0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02218ecf0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:48:23] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02218ecf0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:48:23] local.INFO: Packet analysis {"connection_id":160019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02218"} 
[2026-08-21 07:48:23] local.INFO: Extracted packet for processing {"connection_id":160019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02218"} 
[2026-08-21 07:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543278848001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787278454000,"timestamp_ms":1787278454000,"timestamp_seconds":1787278454,"priority":1,"record_length":96,"hex_timestamp":"000001a02218ecf0"} 
[2026-08-21 07:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 07:48:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543278848001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543278848001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:48:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:48:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543278848001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":160019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:48:23] local.INFO: GPS data processed {"connection_id":160019,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:48:23] local.INFO: Acknowledgment sent {"connection_id":160019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:48:26] local.INFO: TCP Data received {"connection_id":158848,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:48:26] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:48:26] local.INFO: IMEI packet received {"connection_id":158848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":158848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:48:29] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022193ef8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022193ef8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:48:29] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022193ef8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:48:29] local.INFO: Packet analysis {"connection_id":160019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:48:29] local.INFO: Extracted packet for processing {"connection_id":160019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:48:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543284224001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787278475000,"timestamp_ms":1787278475000,"timestamp_seconds":1787278475,"priority":1,"record_length":96,"hex_timestamp":"000001a022193ef8"} 
[2026-08-21 07:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543284224001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543284224001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:48:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:48:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543284224001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":160019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:48:29] local.INFO: GPS data processed {"connection_id":160019,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:48:29] local.INFO: Acknowledgment sent {"connection_id":160019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:48:31] local.INFO: TCP Data received {"connection_id":158848,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:48:31] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:48:31] local.INFO: IMEI packet received {"connection_id":158848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":158848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:48:32] local.INFO: TCP Data received {"connection_id":158848,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:48:32] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:48:32] local.INFO: Packet analysis {"connection_id":158848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:48:32] local.INFO: Extracted packet for processing {"connection_id":158848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:48:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:48:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":158848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:48:32] local.INFO: GPS data processed {"connection_id":158848,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:48:32] local.INFO: Acknowledgment sent {"connection_id":158848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:48:44] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221ca610012d7c4e4005da71280000015516..."} 
[2026-08-21 07:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221ca610012d7c4e4005da71280000015516..."} 
[2026-08-21 07:48:44] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221ca610012d7c4e4005da71280000015516..."} 
[2026-08-21 07:48:44] local.INFO: Packet analysis {"connection_id":159158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:48:44] local.INFO: Extracted packet for processing {"connection_id":159158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763121216,"raw_latitude":98201896,"longitude_deg":76.3121216,"latitude_deg":9.8201896,"altitude":0,"angle":341,"satellites":22,"speed":36,"hex_longitude":"2d7c4e40","hex_latitude":"05da7128","is_valid_coordinates":true} 
[2026-08-21 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543344640001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121541870760230912,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960755908721104896,"note":"Value kept but may cause issues"} 
[2026-08-21 07:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787278698000,"timestamp_ms":1787278698000,"timestamp_seconds":1787278698,"priority":1,"record_length":96,"hex_timestamp":"000001a0221ca610"} 
[2026-08-21 07:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 07:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159158,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543344640001,"66":13048,"245":206,"85":15104,"24":36,"16":121541870760230912,"45":8960755908721104896},"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-08-21 07:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543344640001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:48:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121541870760230912,"km_value":121541870760230.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960755908721104896,"description":"Unknown IO ID 45"} 
[2026-08-21 07:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543344640001,"power":13048,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8960755908721104896}} 
[2026-08-21 07:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":159158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:48:44] local.INFO: GPS data processed {"connection_id":159158,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:48:44] local.INFO: Acknowledgment sent {"connection_id":159158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:49:00] local.INFO: TCP Data received {"connection_id":160019,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022199100012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022199100012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:49:00] local.INFO: Processing buffer {"connection_id":160019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022199100012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:49:00] local.INFO: Packet analysis {"connection_id":160019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:49:00] local.INFO: Extracted packet for processing {"connection_id":160019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543289600001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787278496000,"timestamp_ms":1787278496000,"timestamp_seconds":1787278496,"priority":1,"record_length":96,"hex_timestamp":"000001a022199100"} 
[2026-08-21 07:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543289600001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543289600001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:49:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:49:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543289600001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":160019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:49:00] local.INFO: GPS data processed {"connection_id":160019,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:49:00] local.INFO: Acknowledgment sent {"connection_id":160019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:49:04] local.INFO: TCP Data received {"connection_id":158848,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:49:04] local.INFO: Processing buffer {"connection_id":158848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:49:04] local.INFO: Packet analysis {"connection_id":158848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:04] local.INFO: Extracted packet for processing {"connection_id":158848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:49:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:49:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":158848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:49:04] local.INFO: GPS data processed {"connection_id":158848,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:49:04] local.INFO: Acknowledgment sent {"connection_id":158848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:49:07] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:49:07] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:49:07] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:49:12] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:49:12] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:49:12] local.INFO: IMEI packet received {"connection_id":160020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":160020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:49:13] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221ccd20012d7c424005da92280000015316..."} 
[2026-08-21 07:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221ccd20012d7c424005da92280000015316..."} 
[2026-08-21 07:49:13] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221ccd20012d7c424005da92280000015316..."} 
[2026-08-21 07:49:13] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:13] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":763118144,"raw_latitude":98210344,"longitude_deg":76.3118144,"latitude_deg":9.8210344,"altitude":0,"angle":339,"satellites":22,"speed":40,"hex_longitude":"2d7c4240","hex_latitude":"05da9228","is_valid_coordinates":true} 
[2026-08-21 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543346688001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121542304551927808,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8957167102770358272,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278708000,"timestamp_ms":1787278708000,"timestamp_seconds":1787278708,"priority":1,"record_length":96,"hex_timestamp":"000001a0221ccd20"} 
[2026-08-21 07:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 07:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543346688001,"66":12504,"187":206,"85":15104,"24":40,"16":121542304551927808,"45":8957167102770358272},"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-08-21 07:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543346688001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:49:13] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-21 07:49:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121542304551927808,"km_value":121542304551927.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8957167102770358272,"description":"Unknown IO ID 45"} 
[2026-08-21 07:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543346688001,"power":12504,"unknown_187":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8957167102770358272}} 
[2026-08-21 07:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:49:13] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:49:13] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:49:18] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:49:18] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:49:18] local.INFO: IMEI packet received {"connection_id":159159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":159159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:49:23] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:49:23] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:49:23] local.INFO: IMEI packet received {"connection_id":159159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":159159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:49:24] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02219e308012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02219e308012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:49:24] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02219e308012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:49:24] local.INFO: Packet analysis {"connection_id":159159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:49:24] local.INFO: Extracted packet for processing {"connection_id":159159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02219"} 
[2026-08-21 07:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543294976001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07: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-08-21 07:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278517000,"timestamp_ms":1787278517000,"timestamp_seconds":1787278517,"priority":1,"record_length":96,"hex_timestamp":"000001a02219e308"} 
[2026-08-21 07:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 07:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543294976001,"66":12145,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543294976001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:49:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543294976001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":159159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:49:24] local.INFO: GPS data processed {"connection_id":159159,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:49:24] local.INFO: Acknowledgment sent {"connection_id":159159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:49:26] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:49:26] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:49:26] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:49:31] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:49:31] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:49:31] local.INFO: IMEI packet received {"connection_id":160021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":160021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:49:32] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:49:32] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:49:32] local.INFO: Packet analysis {"connection_id":160021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:32] local.INFO: Extracted packet for processing {"connection_id":160021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:49:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:49:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":160021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:49:32] local.INFO: GPS data processed {"connection_id":160021,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:49:32] local.INFO: Acknowledgment sent {"connection_id":160021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:49:44] local.INFO: TCP Data received {"connection_id":160020,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221cf048012d7c344005dab540000001531c..."} 
[2026-08-21 07:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221cf048012d7c344005dab540000001531c..."} 
[2026-08-21 07:49:44] local.INFO: Processing buffer {"connection_id":160020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221cf048012d7c344005dab540000001531c..."} 
[2026-08-21 07:49:44] local.INFO: Packet analysis {"connection_id":160020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:44] local.INFO: Extracted packet for processing {"connection_id":160020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":763114560,"raw_latitude":98219328,"longitude_deg":76.311456,"latitude_deg":9.8219328,"altitude":0,"angle":339,"satellites":28,"speed":42,"hex_longitude":"2d7c3440","hex_latitude":"05dab540","is_valid_coordinates":true} 
[2026-08-21 07:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543349248001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121542772703363072,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953789403051993088,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787278717000,"timestamp_ms":1787278717000,"timestamp_seconds":1787278717,"priority":1,"record_length":96,"hex_timestamp":"000001a0221cf048"} 
[2026-08-21 07:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 07:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543349248001,"66":13102,"187":206,"85":15104,"24":42,"16":121542772703363072,"45":8953789403051993088},"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-08-21 07:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543349248001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:49:44] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-21 07:49:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121542772703363072,"km_value":121542772703363.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953789403051993088,"description":"Unknown IO ID 45"} 
[2026-08-21 07:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543349248001,"power":13102,"unknown_187":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8953789403051993088}} 
[2026-08-21 07:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":160020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:49:44] local.INFO: GPS data processed {"connection_id":160020,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:49:44] local.INFO: Acknowledgment sent {"connection_id":160020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:49:55] local.INFO: TCP Data received {"connection_id":159159,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221a3510012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221a3510012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:49:55] local.INFO: Processing buffer {"connection_id":159159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221a3510012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:49:55] local.INFO: Packet analysis {"connection_id":159159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:49:55] local.INFO: Extracted packet for processing {"connection_id":159159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543300352001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278538000,"timestamp_ms":1787278538000,"timestamp_seconds":1787278538,"priority":1,"record_length":96,"hex_timestamp":"000001a0221a3510"} 
[2026-08-21 07:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 07:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543300352001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543300352001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:49:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543300352001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":159159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:49:55] local.INFO: GPS data processed {"connection_id":159159,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:49:55] local.INFO: Acknowledgment sent {"connection_id":159159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:50:04] local.INFO: TCP Data received {"connection_id":160021,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:50:04] local.INFO: Processing buffer {"connection_id":160021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:50:04] local.INFO: Packet analysis {"connection_id":160021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:50:04] local.INFO: Extracted packet for processing {"connection_id":160021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:50:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:50:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:50:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":160021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:50:04] local.INFO: GPS data processed {"connection_id":160021,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:50:04] local.INFO: Acknowledgment sent {"connection_id":160021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:50:07] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:50:07] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:50:07] local.INFO: IMEI packet received {"connection_id":160022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":160022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:50:12] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:50:12] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:50:12] local.INFO: IMEI packet received {"connection_id":160022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":160022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:50:13] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221d1370012d7c284005dad898000001551d..."} 
[2026-08-21 07:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221d1370012d7c284005dad898000001551d..."} 
[2026-08-21 07:50:13] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221d1370012d7c284005dad898000001551d..."} 
[2026-08-21 07:50:13] local.INFO: Packet analysis {"connection_id":160022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221d"} 
[2026-08-21 07:50:13] local.INFO: Extracted packet for processing {"connection_id":160022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221d"} 
[2026-08-21 07:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763111488,"raw_latitude":98228376,"longitude_deg":76.3111488,"latitude_deg":9.8228376,"altitude":0,"angle":341,"satellites":29,"speed":38,"hex_longitude":"2d7c2840","hex_latitude":"05dad898","is_valid_coordinates":true} 
[2026-08-21 07:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543351552001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121543236559831040,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949848753380343808,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278726000,"timestamp_ms":1787278726000,"timestamp_seconds":1787278726,"priority":1,"record_length":96,"hex_timestamp":"000001a0221d1370"} 
[2026-08-21 07:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 07:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543351552001,"66":12515,"187":206,"85":15104,"24":38,"16":121543236559831040,"45":8949848753380343808},"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-08-21 07:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543351552001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:50:13] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-21 07:50:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121543236559831040,"km_value":121543236559831.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949848753380343808,"description":"Unknown IO ID 45"} 
[2026-08-21 07:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543351552001,"power":12515,"unknown_187":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8949848753380343808}} 
[2026-08-21 07:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":160022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:50:13] local.INFO: GPS data processed {"connection_id":160022,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:50:13] local.INFO: Acknowledgment sent {"connection_id":160022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:50:23] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:50:23] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:50:23] local.INFO: IMEI packet received {"connection_id":161388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":161388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:50:26] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:50:26] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:50:26] local.INFO: IMEI packet received {"connection_id":160023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":160023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:50:28] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:50:28] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:50:28] local.INFO: IMEI packet received {"connection_id":161388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":161388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:50:29] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221a8718012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221a8718012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:50:29] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221a8718012d1965c0071ff0f8003a014428..."} 
[2026-08-21 07:50:29] local.INFO: Packet analysis {"connection_id":161388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:50:29] local.INFO: Extracted packet for processing {"connection_id":161388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543305728001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787278559000,"timestamp_ms":1787278559000,"timestamp_seconds":1787278559,"priority":1,"record_length":96,"hex_timestamp":"000001a0221a8718"} 
[2026-08-21 07:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543305728001,"66":12145,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543305728001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:50:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543305728001,"power":12145,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":161388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:50:29] local.INFO: GPS data processed {"connection_id":161388,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:50:29] local.INFO: Acknowledgment sent {"connection_id":161388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:50:31] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:50:31] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:50:31] local.INFO: IMEI packet received {"connection_id":160023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":160023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:50:32] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:50:32] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:50:32] local.INFO: Packet analysis {"connection_id":160023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:50:32] local.INFO: Extracted packet for processing {"connection_id":160023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:50:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:50:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:50:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":160023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:50:32] local.INFO: GPS data processed {"connection_id":160023,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:50:32] local.INFO: Acknowledgment sent {"connection_id":160023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:50:45] local.INFO: TCP Data received {"connection_id":160022,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221d3698012d7c218005daed80000001471f..."} 
[2026-08-21 07:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221d3698012d7c218005daed80000001471f..."} 
[2026-08-21 07:50:45] local.INFO: Processing buffer {"connection_id":160022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221d3698012d7c218005daed80000001471f..."} 
[2026-08-21 07:50:45] local.INFO: Packet analysis {"connection_id":160022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221d"} 
[2026-08-21 07:50:45] local.INFO: Extracted packet for processing {"connection_id":160022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221d"} 
[2026-08-21 07:50:45] local.INFO: GPS Element Parsed {"raw_longitude":763109760,"raw_latitude":98233728,"longitude_deg":76.310976,"latitude_deg":9.8233728,"altitude":0,"angle":327,"satellites":31,"speed":16,"hex_longitude":"2d7c2180","hex_latitude":"05daed80","is_valid_coordinates":true} 
[2026-08-21 07:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543353856001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121543511437737984,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946471053662132224,"note":"Value kept but may cause issues"} 
[2026-08-21 07:50: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-08-21 07:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787278735000,"timestamp_ms":1787278735000,"timestamp_seconds":1787278735,"priority":1,"record_length":96,"hex_timestamp":"000001a0221d3698"} 
[2026-08-21 07:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-21 07:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543353856001,"66":13037,"187":206,"85":15104,"24":16,"16":121543511437737984,"45":8946471053662132224},"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-08-21 07:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543353856001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:50:45] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-08-21 07:50:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121543511437737984,"km_value":121543511437737.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946471053662132224,"description":"Unknown IO ID 45"} 
[2026-08-21 07:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543353856001,"power":13037,"unknown_187":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8946471053662132224}} 
[2026-08-21 07:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":160022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:50:45] local.INFO: GPS data processed {"connection_id":160022,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:50:45] local.INFO: Acknowledgment sent {"connection_id":160022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:51:00] local.INFO: TCP Data received {"connection_id":161388,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221ad920012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221ad920012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:51:00] local.INFO: Processing buffer {"connection_id":161388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221ad920012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:51:00] local.INFO: Packet analysis {"connection_id":161388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:51:00] local.INFO: Extracted packet for processing {"connection_id":161388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221a"} 
[2026-08-21 07:51:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543311104001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787278580000,"timestamp_ms":1787278580000,"timestamp_seconds":1787278580,"priority":1,"record_length":96,"hex_timestamp":"000001a0221ad920"} 
[2026-08-21 07:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 07:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543311104001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543311104001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:51:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:51:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543311104001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":161388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:51:00] local.INFO: GPS data processed {"connection_id":161388,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:51:00] local.INFO: Acknowledgment sent {"connection_id":161388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:51:04] local.INFO: TCP Data received {"connection_id":160023,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:51:04] local.INFO: Processing buffer {"connection_id":160023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:51:04] local.INFO: Packet analysis {"connection_id":160023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:51:04] local.INFO: Extracted packet for processing {"connection_id":160023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:51:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:51: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-08-21 07:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":160023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:51:04] local.INFO: GPS data processed {"connection_id":160023,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:51:04] local.INFO: Acknowledgment sent {"connection_id":160023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:51:18] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:51:18] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:51:18] local.INFO: IMEI packet received {"connection_id":160024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":160024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:51:23] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:51:23] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:51:23] local.INFO: IMEI packet received {"connection_id":160024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":160024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:51:24] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221b2b28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221b2b28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:51:24] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221b2b28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:51:24] local.INFO: Packet analysis {"connection_id":160024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:51:24] local.INFO: Extracted packet for processing {"connection_id":160024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221b"} 
[2026-08-21 07:51:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543316480001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51: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-08-21 07:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278601000,"timestamp_ms":1787278601000,"timestamp_seconds":1787278601,"priority":1,"record_length":96,"hex_timestamp":"000001a0221b2b28"} 
[2026-08-21 07:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543316480001,"66":12004,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543316480001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:51:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:51:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543316480001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":160024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:51:24] local.INFO: GPS data processed {"connection_id":160024,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:51:24] local.INFO: Acknowledgment sent {"connection_id":160024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:51:26] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:51:26] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:51:26] local.INFO: IMEI packet received {"connection_id":161389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":161389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:51:31] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:51:31] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:51:31] local.INFO: IMEI packet received {"connection_id":161389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":161389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:51:32] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:51:32] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:51:32] local.INFO: Packet analysis {"connection_id":161389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:51:32] local.INFO: Extracted packet for processing {"connection_id":161389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:51:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:51:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":161389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:51:32] local.INFO: GPS data processed {"connection_id":161389,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:51:32] local.INFO: Acknowledgment sent {"connection_id":161389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:51:42] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:51:42] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:51:42] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:51:47] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:51:47] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:51:47] local.INFO: IMEI packet received {"connection_id":160025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":160025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:51:48] local.INFO: TCP Data received {"connection_id":160025,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221ee448012d7b258005dac9c80002010228..."} 
[2026-08-21 07:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221ee448012d7b258005dac9c80002010228..."} 
[2026-08-21 07:51:48] local.INFO: Processing buffer {"connection_id":160025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221ee448012d7b258005dac9c80002010228..."} 
[2026-08-21 07:51:48] local.INFO: Packet analysis {"connection_id":160025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221e"} 
[2026-08-21 07:51:48] local.INFO: Extracted packet for processing {"connection_id":160025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221e"} 
[2026-08-21 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98224584,"longitude_deg":76.3045248,"latitude_deg":9.8224584,"altitude":2,"angle":258,"satellites":40,"speed":36,"hex_longitude":"2d7b2580","hex_latitude":"05dac9c8","is_valid_coordinates":true} 
[2026-08-21 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543382016001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121546655353798656,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883279921390252032,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:48] 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-08-21 07:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787278845000,"timestamp_ms":1787278845000,"timestamp_seconds":1787278845,"priority":1,"record_length":96,"hex_timestamp":"000001a0221ee448"} 
[2026-08-21 07:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 07:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543382016001,"66":13059,"188":206,"85":15104,"24":36,"16":121546655353798656,"45":8883279921390252032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-21 07:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543382016001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:51:48] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 07:51:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121546655353798656,"km_value":121546655353798.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883279921390252032,"description":"Unknown IO ID 45"} 
[2026-08-21 07:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543382016001,"power":13059,"unknown_188":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8883279921390252032}} 
[2026-08-21 07:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":160025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:51:48] local.INFO: GPS data processed {"connection_id":160025,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:51:48] local.INFO: Acknowledgment sent {"connection_id":160025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:51:55] local.INFO: TCP Data received {"connection_id":160024,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221eb180012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221eb180012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:51:55] local.INFO: Processing buffer {"connection_id":160024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221eb180012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:51:55] local.INFO: Packet analysis {"connection_id":160024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221e"} 
[2026-08-21 07:51:55] local.INFO: Extracted packet for processing {"connection_id":160024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221e"} 
[2026-08-21 07:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543375616001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278832000,"timestamp_ms":1787278832000,"timestamp_seconds":1787278832,"priority":1,"record_length":96,"hex_timestamp":"000001a0221eb180"} 
[2026-08-21 07:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543375616001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543375616001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:51:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543375616001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":160024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:51:55] local.INFO: GPS data processed {"connection_id":160024,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:51:55] local.INFO: Acknowledgment sent {"connection_id":160024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:52:04] local.INFO: TCP Data received {"connection_id":161389,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:52:04] local.INFO: Processing buffer {"connection_id":161389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:52:04] local.INFO: Packet analysis {"connection_id":161389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:52:04] local.INFO: Extracted packet for processing {"connection_id":161389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 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-08-21 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:52:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:52:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":161389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:52:04] local.INFO: GPS data processed {"connection_id":161389,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:52:04] local.INFO: Acknowledgment sent {"connection_id":161389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:52:13] local.INFO: TCP Data received {"connection_id":158849,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:52:13] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:52:13] local.INFO: IMEI packet received {"connection_id":158849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":158849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:52:17] local.INFO: TCP Data received {"connection_id":158849,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:52:17] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:52:17] local.INFO: IMEI packet received {"connection_id":158849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":158849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:52:18] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:52:18] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:52:18] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:52:18] local.INFO: TCP Data received {"connection_id":158849,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221f0770012d7b02c005dac1d00002010026..."} 
[2026-08-21 07:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221f0770012d7b02c005dac1d00002010026..."} 
[2026-08-21 07:52:18] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221f0770012d7b02c005dac1d00002010026..."} 
[2026-08-21 07:52:18] local.INFO: Packet analysis {"connection_id":158849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:18] local.INFO: Extracted packet for processing {"connection_id":158849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763036352,"raw_latitude":98222544,"longitude_deg":76.3036352,"latitude_deg":9.8222544,"altitude":2,"angle":256,"satellites":38,"speed":37,"hex_longitude":"2d7b02c0","hex_latitude":"05dac1d0","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543384320001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121547093440462848,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403437279232,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] 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-08-21 07:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787278854000,"timestamp_ms":1787278854000,"timestamp_seconds":1787278854,"priority":1,"record_length":96,"hex_timestamp":"000001a0221f0770"} 
[2026-08-21 07:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663846,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3673020416,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":208,"raw_value":3439329280,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3940024326,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797338830,"corrected_to":0} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":213,"raw_value":2147867372,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941414,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":187,"raw_value":58077557095399443,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3490185216,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:18] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,188,85,24,241,157,16,210,160,193,45,192,211,5,40,10,66,209,146,221,7,95,128,1,240,29,227,208,34,218,4,113,205,26,222,213,104,38,239,51,187,2,175,6,19],"length":486,"final_offset":616,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2797338830,"validated":0}]} 
[2026-08-21 07:52:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144399033876873216,"timestamp_seconds":144399033876873.22,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:52: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-08-21 07:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543384320001,"66":13276,"188":206,"85":15104,"24":37,"16":121547093440462848,"45":8873639403437279232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-21 07:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543384320001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:52:18] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 07:52:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121547093440462848,"km_value":121547093440462.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403437279232,"description":"Unknown IO ID 45"} 
[2026-08-21 07:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543384320001,"power":13276,"unknown_188":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8873639403437279232}} 
[2026-08-21 07:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":158849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:52:18] local.INFO: GPS data processed {"connection_id":158849,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:52:18] local.INFO: Acknowledgment sent {"connection_id":158849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:52:23] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:52:23] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:52:23] local.INFO: IMEI packet received {"connection_id":160026,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":160026,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:52:24] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221f0388012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221f0388012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:52:24] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221f0388012d1965c0071ff0f8003a014426..."} 
[2026-08-21 07:52:24] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:24] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543380992001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52: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-08-21 07:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278853000,"timestamp_ms":1787278853000,"timestamp_seconds":1787278853,"priority":1,"record_length":96,"hex_timestamp":"000001a0221f0388"} 
[2026-08-21 07:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:52:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:52: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-08-21 07:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543380992001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543380992001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:52:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543380992001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:52:24] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:52:24] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:52:26] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:52:26] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:52:26] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:52:31] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:52:31] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:52:31] local.INFO: IMEI packet received {"connection_id":160027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":160027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:52:32] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:52:32] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:52:32] local.INFO: Packet analysis {"connection_id":160027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:52:32] local.INFO: Extracted packet for processing {"connection_id":160027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:52:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:52:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:52:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":160027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:52:33] local.INFO: GPS data processed {"connection_id":160027,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:52:33] local.INFO: Acknowledgment sent {"connection_id":160027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:52:50] local.INFO: TCP Data received {"connection_id":158849,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0221f2a98012d7ae08005daba20000300ff24..."} 
[2026-08-21 07:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221f2a98012d7ae08005daba20000300ff24..."} 
[2026-08-21 07:52:50] local.INFO: Processing buffer {"connection_id":158849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221f2a98012d7ae08005daba20000300ff24..."} 
[2026-08-21 07:52:50] local.INFO: Packet analysis {"connection_id":158849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:50] local.INFO: Extracted packet for processing {"connection_id":158849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:50] local.INFO: GPS Element Parsed {"raw_longitude":763027584,"raw_latitude":98220576,"longitude_deg":76.3027584,"latitude_deg":9.8220576,"altitude":3,"angle":255,"satellites":36,"speed":42,"hex_longitude":"2d7ae080","hex_latitude":"05daba20","is_valid_coordinates":true} 
[2026-08-21 07:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543386624001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121547522937192448,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863858147996061696,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:50] 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-08-21 07:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787278863000,"timestamp_ms":1787278863000,"timestamp_seconds":1787278863,"priority":1,"record_length":96,"hex_timestamp":"000001a0221f2a98"} 
[2026-08-21 07:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 07:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543386624001,"66":13048,"188":206,"85":15104,"24":42,"16":121547522937192448,"45":8863858147996061696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-21 07:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543386624001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:52:50] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 07:52:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121547522937192448,"km_value":121547522937192.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863858147996061696,"description":"Unknown IO ID 45"} 
[2026-08-21 07:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543386624001,"power":13048,"unknown_188":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8863858147996061696}} 
[2026-08-21 07:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":158849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:52:50] local.INFO: GPS data processed {"connection_id":158849,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:52:50] local.INFO: Acknowledgment sent {"connection_id":158849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:52:55] local.INFO: TCP Data received {"connection_id":160026,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221f5590012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221f5590012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:52:55] local.INFO: Processing buffer {"connection_id":160026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221f5590012d1965c0071ff0f8003a014425..."} 
[2026-08-21 07:52:55] local.INFO: Packet analysis {"connection_id":160026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:55] local.INFO: Extracted packet for processing {"connection_id":160026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543386368001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278874000,"timestamp_ms":1787278874000,"timestamp_seconds":1787278874,"priority":1,"record_length":96,"hex_timestamp":"000001a0221f5590"} 
[2026-08-21 07:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160026,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543386368001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543386368001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543386368001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":160026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:52:55] local.INFO: GPS data processed {"connection_id":160026,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:52:55] local.INFO: Acknowledgment sent {"connection_id":160026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:53:04] local.INFO: TCP Data received {"connection_id":160027,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:53:04] local.INFO: Processing buffer {"connection_id":160027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221c1588012da67700054b3710001c005f2f..."} 
[2026-08-21 07:53:04] local.INFO: Packet analysis {"connection_id":160027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:53:04] local.INFO: Extracted packet for processing {"connection_id":160027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221c"} 
[2026-08-21 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278661000,"timestamp_ms":1787278661000,"timestamp_seconds":1787278661,"priority":1,"record_length":96,"hex_timestamp":"000001a0221c1588"} 
[2026-08-21 07:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 07:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543260160001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:53:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:53:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543260160001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":160027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:53:04] local.INFO: GPS data processed {"connection_id":160027,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:53:04] local.INFO: Acknowledgment sent {"connection_id":160027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:53:07] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:53:07] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:53:07] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:53:12] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:53:12] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:53:12] local.INFO: IMEI packet received {"connection_id":160028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":160028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:53:13] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02220b520012d7a3a8005daa3c80008014826..."} 
[2026-08-21 07:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220b520012d7a3a8005daa3c80008014826..."} 
[2026-08-21 07:53:13] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220b520012d7a3a8005daa3c80008014826..."} 
[2026-08-21 07:53:13] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:53:13] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:53:13] local.INFO: GPS Element Parsed {"raw_longitude":762985088,"raw_latitude":98214856,"longitude_deg":76.2985088,"latitude_deg":9.8214856,"altitude":8,"angle":328,"satellites":38,"speed":8,"hex_longitude":"2d7a3a80","hex_latitude":"05daa3c8","is_valid_coordinates":true} 
[2026-08-21 07:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543412224001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121549786384957440,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807985365116203008,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278964000,"timestamp_ms":1787278964000,"timestamp_seconds":1787278964,"priority":1,"record_length":96,"hex_timestamp":"000001a02220b520"} 
[2026-08-21 07:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 07:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543412224001,"66":13059,"229":206,"85":15104,"24":8,"16":121549786384957440,"45":8807985365116203008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543412224001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:53:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:53:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121549786384957440,"km_value":121549786384957.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807985365116203008,"description":"Unknown IO ID 45"} 
[2026-08-21 07:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543412224001,"power":13059,"unknown_229":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8807985365116203008}} 
[2026-08-21 07:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:53:13] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:53:13] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:53:18] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:53:18] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:53:18] local.INFO: IMEI packet received {"connection_id":161390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":161390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:53:23] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:53:23] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:53:23] local.INFO: IMEI packet received {"connection_id":161390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":161390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:53:24] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221fa798012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221fa798012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:53:24] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221fa798012d1965c0071ff0f8003a014424..."} 
[2026-08-21 07:53:24] local.INFO: Packet analysis {"connection_id":161390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:53:24] local.INFO: Extracted packet for processing {"connection_id":161390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":36,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543391744001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53: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-08-21 07:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278895000,"timestamp_ms":1787278895000,"timestamp_seconds":1787278895,"priority":1,"record_length":96,"hex_timestamp":"000001a0221fa798"} 
[2026-08-21 07:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:53:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:53: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-08-21 07:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543391744001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543391744001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:53:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543391744001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":161390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:53:24] local.INFO: GPS data processed {"connection_id":161390,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:53:24] local.INFO: Acknowledgment sent {"connection_id":161390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:53:26] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:53:26] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:53:26] local.INFO: IMEI packet received {"connection_id":160029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":160029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:53:31] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:53:31] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:53:31] local.INFO: IMEI packet received {"connection_id":160029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":160029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:53:32] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:53:32] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:53:32] local.INFO: Packet analysis {"connection_id":160029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:53:32] local.INFO: Extracted packet for processing {"connection_id":160029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:53: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:53:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:53:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":160029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:53:32] local.INFO: GPS data processed {"connection_id":160029,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:53:32] local.INFO: Acknowledgment sent {"connection_id":160029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:53:44] local.INFO: TCP Data received {"connection_id":160028,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02220c8a8012d7a384005daa5800009012626..."} 
[2026-08-21 07:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220c8a8012d7a384005daa5800009012626..."} 
[2026-08-21 07:53:44] local.INFO: Processing buffer {"connection_id":160028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220c8a8012d7a384005daa5800009012626..."} 
[2026-08-21 07:53:44] local.INFO: Packet analysis {"connection_id":160028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:53:44] local.INFO: Extracted packet for processing {"connection_id":160028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:53:44] local.INFO: GPS Element Parsed {"raw_longitude":762984512,"raw_latitude":98215296,"longitude_deg":76.2984512,"latitude_deg":9.8215296,"altitude":9,"angle":294,"satellites":38,"speed":9,"hex_longitude":"2d7a3840","hex_latitude":"05daa580","is_valid_coordinates":true} 
[2026-08-21 07:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414784001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121549820744695808,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807492783907784704,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787278969000,"timestamp_ms":1787278969000,"timestamp_seconds":1787278969,"priority":1,"record_length":96,"hex_timestamp":"000001a02220c8a8"} 
[2026-08-21 07:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663846,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3667091456,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2477260803,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816803022,"corrected_to":0} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2281778554,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3568304128,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.WARNING: Large IO value detected {"io_id":188,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,229,85,24,241,157,16,212,160,142,45,64,151,5,37,10,66,134,192,149,4,130,128,1,240,141,227,34,218,113,205,7,122,63,88,239,50,2,175,8,188],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2816803022,"validated":0}]} 
[2026-08-21 07:53:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576821555326615552,"timestamp_seconds":576821555326615.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414784001,"66":13341,"229":206,"85":15104,"24":9,"16":121549820744695808,"45":8807492783907784704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414784001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:53:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:53:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121549820744695808,"km_value":121549820744695.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807492783907784704,"description":"Unknown IO ID 45"} 
[2026-08-21 07:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414784001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8807492783907784704}} 
[2026-08-21 07:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":160028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674267,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:53:44] local.INFO: GPS data processed {"connection_id":160028,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:53:44] local.INFO: Acknowledgment sent {"connection_id":160028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:53:55] local.INFO: TCP Data received {"connection_id":161390,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0221ff9a0012d1965c0071ff0f8003a014421..."} 
[2026-08-21 07:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0221ff9a0012d1965c0071ff0f8003a014421..."} 
[2026-08-21 07:53:55] local.INFO: Processing buffer {"connection_id":161390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0221ff9a0012d1965c0071ff0f8003a014421..."} 
[2026-08-21 07:53:55] local.INFO: Packet analysis {"connection_id":161390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:53:55] local.INFO: Extracted packet for processing {"connection_id":161390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0221f"} 
[2026-08-21 07:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":33,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543397120001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278916000,"timestamp_ms":1787278916000,"timestamp_seconds":1787278916,"priority":1,"record_length":96,"hex_timestamp":"000001a0221ff9a0"} 
[2026-08-21 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-08-21 07:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543397120001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543397120001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:53:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543397120001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":161390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:53:55] local.INFO: GPS data processed {"connection_id":161390,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:53:55] local.INFO: Acknowledgment sent {"connection_id":161390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:54:04] local.INFO: TCP Data received {"connection_id":160029,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:54:04] local.INFO: Processing buffer {"connection_id":160029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:54:04] local.INFO: Packet analysis {"connection_id":160029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:04] local.INFO: Extracted packet for processing {"connection_id":160029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:54:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:54:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":160029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:54:04] local.INFO: GPS data processed {"connection_id":160029,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:54:04] local.INFO: Acknowledgment sent {"connection_id":160029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:54:07] local.INFO: TCP Data received {"connection_id":159160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:07] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:07] local.INFO: IMEI packet received {"connection_id":159160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":159160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:54:08] local.INFO: TCP Data received {"connection_id":159160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:08] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:08] local.INFO: IMEI packet received {"connection_id":159160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":159160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:54:09] local.INFO: TCP Data received {"connection_id":159160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:09] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:09] local.INFO: IMEI packet received {"connection_id":159160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":159160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:54:12] local.INFO: TCP Data received {"connection_id":159160,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:12] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:54:12] local.INFO: IMEI packet received {"connection_id":159160,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":159160,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:54:13] local.INFO: TCP Data received {"connection_id":159160,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02220cc90012d7a378005daa5c80009011526..."} 
[2026-08-21 07:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220cc90012d7a378005daa5c80009011526..."} 
[2026-08-21 07:54:13] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220cc90012d7a378005daa5c80009011526..."} 
[2026-08-21 07:54:13] local.INFO: Packet analysis {"connection_id":159160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:13] local.INFO: Extracted packet for processing {"connection_id":159160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:13] local.INFO: GPS Element Parsed {"raw_longitude":762984320,"raw_latitude":98215368,"longitude_deg":76.298432,"latitude_deg":9.8215368,"altitude":9,"angle":277,"satellites":38,"speed":10,"hex_longitude":"2d7a3780","hex_latitude":"05daa5c8","is_valid_coordinates":true} 
[2026-08-21 07:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543416064001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121549833629597696,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806859465210298368,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787278970000,"timestamp_ms":1787278970000,"timestamp_seconds":1787278970,"priority":1,"record_length":96,"hex_timestamp":"000001a02220cc90"} 
[2026-08-21 07:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 07:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543416064001,"66":13341,"229":206,"85":15104,"24":10,"16":121549833629597696,"45":8806859465210298368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543416064001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:54:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:54:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121549833629597696,"km_value":121549833629597.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806859465210298368,"description":"Unknown IO ID 45"} 
[2026-08-21 07:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543416064001,"power":13341,"unknown_229":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8806859465210298368}} 
[2026-08-21 07:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":159160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674270,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:54:13] local.INFO: GPS data processed {"connection_id":159160,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:54:13] local.INFO: Acknowledgment sent {"connection_id":159160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:54:18] local.INFO: TCP Data received {"connection_id":158850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:18] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:18] local.INFO: IMEI packet received {"connection_id":158850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":158850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:54:19] local.INFO: TCP Data received {"connection_id":158850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:19] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:19] local.INFO: IMEI packet received {"connection_id":158850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":158850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:54:23] local.INFO: TCP Data received {"connection_id":158850,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:23] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:54:23] local.INFO: IMEI packet received {"connection_id":158850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":158850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:54:24] local.INFO: TCP Data received {"connection_id":158850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022204ba8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022204ba8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:54:24] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022204ba8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:54:24] local.INFO: Packet analysis {"connection_id":158850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:24] local.INFO: Extracted packet for processing {"connection_id":158850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543402496001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54: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-08-21 07:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787278937000,"timestamp_ms":1787278937000,"timestamp_seconds":1787278937,"priority":1,"record_length":96,"hex_timestamp":"000001a022204ba8"} 
[2026-08-21 07:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:54: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-08-21 07:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543402496001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543402496001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:54:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543402496001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":158850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:54:24] local.INFO: GPS data processed {"connection_id":158850,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:54:24] local.INFO: Acknowledgment sent {"connection_id":158850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:54:26] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:54:26] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:54:26] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:54:31] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:54:31] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:54:31] local.INFO: IMEI packet received {"connection_id":160030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":160030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:54:33] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:54:33] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:54:33] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:33] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:54:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:54:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:54:33] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:54:33] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:54:44] local.INFO: TCP Data received {"connection_id":159160,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022227270012d7a3d8005da97a00006009228..."} 
[2026-08-21 07:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022227270012d7a3d8005da97a00006009228..."} 
[2026-08-21 07:54:44] local.INFO: Processing buffer {"connection_id":159160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022227270012d7a3d8005da97a00006009228..."} 
[2026-08-21 07:54:44] local.INFO: Packet analysis {"connection_id":159160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:54:44] local.INFO: Extracted packet for processing {"connection_id":159160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:54:44] local.INFO: GPS Element Parsed {"raw_longitude":762985856,"raw_latitude":98211744,"longitude_deg":76.2985856,"latitude_deg":9.8211744,"altitude":6,"angle":146,"satellites":40,"speed":6,"hex_longitude":"2d7a3d80","hex_latitude":"05da97a0","is_valid_coordinates":true} 
[2026-08-21 07:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543443456001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121550241651490816,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808266840092981248,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787279078000,"timestamp_ms":1787279078000,"timestamp_seconds":1787279078,"priority":1,"record_length":96,"hex_timestamp":"000001a022227270"} 
[2026-08-21 07:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 07:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159160,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543443456001,"66":13243,"229":206,"85":15104,"24":6,"16":121550241651490816,"45":8808266840092981248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543443456001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:54:44] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:54:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121550241651490816,"km_value":121550241651490.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808266840092981248,"description":"Unknown IO ID 45"} 
[2026-08-21 07:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543443456001,"power":13243,"unknown_229":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8808266840092981248}} 
[2026-08-21 07:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":159160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:54:44] local.INFO: GPS data processed {"connection_id":159160,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:54:44] local.INFO: Acknowledgment sent {"connection_id":159160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:54:55] local.INFO: TCP Data received {"connection_id":158850,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022209db0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022209db0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:54:55] local.INFO: Processing buffer {"connection_id":158850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022209db0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:54:55] local.INFO: Packet analysis {"connection_id":158850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:55] local.INFO: Extracted packet for processing {"connection_id":158850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543407872001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787278958000,"timestamp_ms":1787278958000,"timestamp_seconds":1787278958,"priority":1,"record_length":96,"hex_timestamp":"000001a022209db0"} 
[2026-08-21 07:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543407872001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543407872001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:54:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543407872001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":158850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:54:55] local.INFO: GPS data processed {"connection_id":158850,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:54:55] local.INFO: Acknowledgment sent {"connection_id":158850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:55:04] local.INFO: TCP Data received {"connection_id":160030,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:55:04] local.INFO: Processing buffer {"connection_id":160030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:55:04] local.INFO: Packet analysis {"connection_id":160030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:55:04] local.INFO: Extracted packet for processing {"connection_id":160030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:55: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":160030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:55:04] local.INFO: GPS data processed {"connection_id":160030,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:55:04] local.INFO: Acknowledgment sent {"connection_id":160030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:55:12] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:12] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:12] local.INFO: IMEI packet received {"connection_id":159161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":159161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:55:12] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:12] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:12] local.INFO: IMEI packet received {"connection_id":159161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":159161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:55:17] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:17] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:55:17] local.INFO: IMEI packet received {"connection_id":159161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":159161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:55:18] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:18] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:18] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:55:18] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022227658012d7a3dc005da97300006008128..."} 
[2026-08-21 07:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022227658012d7a3dc005da97300006008128..."} 
[2026-08-21 07:55:18] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022227658012d7a3dc005da97300006008128..."} 
[2026-08-21 07:55:18] local.INFO: Packet analysis {"connection_id":159161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:55:18] local.INFO: Extracted packet for processing {"connection_id":159161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:55:18] local.INFO: GPS Element Parsed {"raw_longitude":762985920,"raw_latitude":98211632,"longitude_deg":76.298592,"latitude_deg":9.8211632,"altitude":6,"angle":129,"satellites":40,"speed":5,"hex_longitude":"2d7a3dc0","hex_latitude":"05da9730","is_valid_coordinates":true} 
[2026-08-21 07:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543443968001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121550250241425408,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808337208837120000,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787279079000,"timestamp_ms":1787279079000,"timestamp_seconds":1787279079,"priority":1,"record_length":96,"hex_timestamp":"000001a022227658"} 
[2026-08-21 07:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 07:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:55: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-08-21 07:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543443968001,"66":12939,"229":206,"85":15104,"24":5,"16":121550250241425408,"45":8808337208837120000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543443968001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:55:18] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:55:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121550250241425408,"km_value":121550250241425.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808337208837120000,"description":"Unknown IO ID 45"} 
[2026-08-21 07:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543443968001,"power":12939,"unknown_229":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8808337208837120000}} 
[2026-08-21 07:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":159161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:55:18] local.INFO: GPS data processed {"connection_id":159161,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:55:18] local.INFO: Acknowledgment sent {"connection_id":159161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:55:22] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:22] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:22] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:55:22] local.INFO: TCP Data received {"connection_id":159161,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022227e28012d7a3f0005da96900006007128..."} 
[2026-08-21 07:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022227e28012d7a3f0005da96900006007128..."} 
[2026-08-21 07:55:22] local.INFO: Processing buffer {"connection_id":159161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022227e28012d7a3f0005da96900006007128..."} 
[2026-08-21 07:55:22] local.INFO: Packet analysis {"connection_id":159161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:55:22] local.INFO: Extracted packet for processing {"connection_id":159161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:55:22] local.INFO: GPS Element Parsed {"raw_longitude":762986240,"raw_latitude":98211472,"longitude_deg":76.298624,"latitude_deg":9.8211472,"altitude":6,"angle":113,"satellites":40,"speed":4,"hex_longitude":"2d7a3f00","hex_latitude":"05da9690","is_valid_coordinates":true} 
[2026-08-21 07:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543444224001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121550263126327296,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808407577581268992,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55: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-08-21 07:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787279081000,"timestamp_ms":1787279081000,"timestamp_seconds":1787279081,"priority":1,"record_length":96,"hex_timestamp":"000001a022227e28"} 
[2026-08-21 07:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:55: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-08-21 07: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 07:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543444224001,"66":12917,"229":206,"85":15104,"24":4,"16":121550263126327296,"45":8808407577581268992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543444224001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:55:22] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:55:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121550263126327296,"km_value":121550263126327.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808407577581268992,"description":"Unknown IO ID 45"} 
[2026-08-21 07:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543444224001,"power":12917,"unknown_229":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8808407577581268992}} 
[2026-08-21 07:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":159161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:55:22] local.INFO: GPS data processed {"connection_id":159161,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:55:22] local.INFO: Acknowledgment sent {"connection_id":159161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:55:23] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:23] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:55:23] local.INFO: IMEI packet received {"connection_id":160031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":160031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:55:23] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02220efb8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220efb8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:55:23] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220efb8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:55:23] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:55:23] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543413248001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787278979000,"timestamp_ms":1787278979000,"timestamp_seconds":1787278979,"priority":1,"record_length":96,"hex_timestamp":"000001a02220efb8"} 
[2026-08-21 07:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543413248001,"66":11961,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543413248001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543413248001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:55:23] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:55:23] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:55:26] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:55:26] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:55:26] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:55:28] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222141c0012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222141c0012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:55:28] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222141c0012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:55:28] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02221"} 
[2026-08-21 07:55:28] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02221"} 
[2026-08-21 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543418624001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787279000000,"timestamp_ms":1787279000000,"timestamp_seconds":1787279000,"priority":1,"record_length":96,"hex_timestamp":"000001a0222141c0"} 
[2026-08-21 07:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 07:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543418624001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543418624001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:55:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:55:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543418624001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:55:29] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:55:29] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:55:31] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:55:31] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:55:31] local.INFO: IMEI packet received {"connection_id":160032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":160032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:55:32] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:55:32] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:55:32] local.INFO: Packet analysis {"connection_id":160032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:55:32] local.INFO: Extracted packet for processing {"connection_id":160032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:55:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:55: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:55:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:55:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":160032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:55:32] local.INFO: GPS data processed {"connection_id":160032,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:55:32] local.INFO: Acknowledgment sent {"connection_id":160032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:00] local.INFO: TCP Data received {"connection_id":160031,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222193c8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222193c8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:56:00] local.INFO: Processing buffer {"connection_id":160031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222193c8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:56:00] local.INFO: Packet analysis {"connection_id":160031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02221"} 
[2026-08-21 07:56:00] local.INFO: Extracted packet for processing {"connection_id":160031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02221"} 
[2026-08-21 07:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543424000001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787279021000,"timestamp_ms":1787279021000,"timestamp_seconds":1787279021,"priority":1,"record_length":96,"hex_timestamp":"000001a0222193c8"} 
[2026-08-21 07:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:00] 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-08-21 07:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543424000001,"66":12156,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543424000001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:56:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543424000001,"power":12156,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":160031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:00] local.INFO: GPS data processed {"connection_id":160031,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:00] local.INFO: Acknowledgment sent {"connection_id":160031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:04] local.INFO: TCP Data received {"connection_id":160032,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:04] local.INFO: Processing buffer {"connection_id":160032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:04] local.INFO: Packet analysis {"connection_id":160032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:56:04] local.INFO: Extracted packet for processing {"connection_id":160032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:56:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:56: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-08-21 07:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:56:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":160032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:04] local.INFO: GPS data processed {"connection_id":160032,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:04] local.INFO: Acknowledgment sent {"connection_id":160032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:05] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:05] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:05] local.INFO: IMEI packet received {"connection_id":159162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":159162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:56:07] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:07] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:07] local.INFO: IMEI packet received {"connection_id":159162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":159162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:56:12] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:12] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:56:12] local.INFO: IMEI packet received {"connection_id":159162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":159162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:56:23] local.INFO: TCP Data received {"connection_id":158851,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:56:23] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:56:23] local.INFO: IMEI packet received {"connection_id":158851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":158851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:56:26] local.INFO: TCP Data received {"connection_id":158851,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:56:26] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:56:26] local.INFO: IMEI packet received {"connection_id":158851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":158851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:56:26] local.INFO: TCP Data received {"connection_id":158851,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02221e5d0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02221e5d0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 07:56:26] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02221e5d0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 07:56:26] local.INFO: Packet analysis {"connection_id":158851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02221"} 
[2026-08-21 07:56:26] local.INFO: Extracted packet for processing {"connection_id":158851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02221"} 
[2026-08-21 07:56:26] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:56:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:56:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543429376001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787279042000,"timestamp_ms":1787279042000,"timestamp_seconds":1787279042,"priority":1,"record_length":96,"hex_timestamp":"000001a02221e5d0"} 
[2026-08-21 07:56:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:56:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:56:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:56:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:56:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:56:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:56:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:56:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543429376001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:56:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:56:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:56:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543429376001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:56:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:56:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543429376001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":158851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:27] local.INFO: GPS data processed {"connection_id":158851,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:27] local.INFO: Acknowledgment sent {"connection_id":158851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:28] local.INFO: TCP Data received {"connection_id":158851,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222237d8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222237d8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:56:28] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222237d8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:56:28] local.INFO: Packet analysis {"connection_id":158851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:56:28] local.INFO: Extracted packet for processing {"connection_id":158851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:56:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543434752001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787279063000,"timestamp_ms":1787279063000,"timestamp_seconds":1787279063,"priority":1,"record_length":96,"hex_timestamp":"000001a0222237d8"} 
[2026-08-21 07:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:28] 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-08-21 07:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543434752001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543434752001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:56:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543434752001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":158851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:28] local.INFO: GPS data processed {"connection_id":158851,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:28] local.INFO: Acknowledgment sent {"connection_id":158851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:29] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:56:29] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:56:29] local.INFO: IMEI packet received {"connection_id":159163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":159163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:56:31] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:56:31] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:56:31] local.INFO: IMEI packet received {"connection_id":159163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":159163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:56:32] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:32] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:32] local.INFO: Packet analysis {"connection_id":159163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:56:32] local.INFO: Extracted packet for processing {"connection_id":159163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:56: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:56:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":159163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:32] local.INFO: GPS data processed {"connection_id":159163,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:32] local.INFO: Acknowledgment sent {"connection_id":159163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:34] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222285f8012d7a3f8005da96400006006028..."} 
[2026-08-21 07:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222285f8012d7a3f8005da96400006006028..."} 
[2026-08-21 07:56:34] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222285f8012d7a3f8005da96400006006028..."} 
[2026-08-21 07:56:34] local.INFO: Packet analysis {"connection_id":159162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:56:34] local.INFO: Extracted packet for processing {"connection_id":159162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762986368,"raw_latitude":98211392,"longitude_deg":76.2986368,"latitude_deg":9.8211392,"altitude":6,"angle":96,"satellites":40,"speed":3,"hex_longitude":"2d7a3f80","hex_latitude":"05da9640","is_valid_coordinates":true} 
[2026-08-21 07:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543444736001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121550271716261888,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808759421302116352,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787279083000,"timestamp_ms":1787279083000,"timestamp_seconds":1787279083,"priority":1,"record_length":96,"hex_timestamp":"000001a0222285f8"} 
[2026-08-21 07:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:56: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-08-21 07:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543444736001,"66":13222,"229":206,"85":15104,"24":3,"16":121550271716261888,"45":8808759421302116352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543444736001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:56:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121550271716261888,"km_value":121550271716261.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808759421302116352,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543444736001,"power":13222,"unknown_229":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8808759421302116352}} 
[2026-08-21 07:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":159162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:34] local.INFO: GPS data processed {"connection_id":159162,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:34] local.INFO: Acknowledgment sent {"connection_id":159162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:47] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:47] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:56:47] local.INFO: Packet analysis {"connection_id":159163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:56:47] local.INFO: Extracted packet for processing {"connection_id":159163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:56:47] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:47] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:56:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":159163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:47] local.INFO: GPS data processed {"connection_id":159163,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:47] local.INFO: Acknowledgment sent {"connection_id":159163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:56:59] local.INFO: TCP Data received {"connection_id":158851,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222289e0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222289e0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:56:59] local.INFO: Processing buffer {"connection_id":158851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222289e0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:56:59] local.INFO: Packet analysis {"connection_id":158851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:56:59] local.INFO: Extracted packet for processing {"connection_id":158851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543440128001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787279084000,"timestamp_ms":1787279084000,"timestamp_seconds":1787279084,"priority":1,"record_length":96,"hex_timestamp":"000001a0222289e0"} 
[2026-08-21 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-08-21 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 07:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543440128001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543440128001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543440128001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":158851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:56:59] local.INFO: GPS data processed {"connection_id":158851,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:56:59] local.INFO: Acknowledgment sent {"connection_id":158851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:57:07] local.INFO: TCP Data received {"connection_id":158852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:57:07] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:57:07] local.INFO: IMEI packet received {"connection_id":158852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":158852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:57:11] local.INFO: TCP Data received {"connection_id":158852,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:57:11] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:57:11] local.INFO: IMEI packet received {"connection_id":158852,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":158852,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:57:11] local.INFO: TCP Data received {"connection_id":158852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02222a538012d7a458005da95800006005329..."} 
[2026-08-21 07:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02222a538012d7a458005da95800006005329..."} 
[2026-08-21 07:57:11] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02222a538012d7a458005da95800006005329..."} 
[2026-08-21 07:57:11] local.INFO: Packet analysis {"connection_id":158852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:57:11] local.INFO: Extracted packet for processing {"connection_id":158852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":762987904,"raw_latitude":98211200,"longitude_deg":76.2987904,"latitude_deg":9.82112,"altitude":6,"angle":83,"satellites":41,"speed":16,"hex_longitude":"2d7a4580","hex_latitude":"05da9580","is_valid_coordinates":true} 
[2026-08-21 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543445248001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121550349025673216,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8808900158790451200,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787279091000,"timestamp_ms":1787279091000,"timestamp_seconds":1787279091,"priority":1,"record_length":96,"hex_timestamp":"000001a02222a538"} 
[2026-08-21 07:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 07:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543445248001,"66":13276,"229":206,"85":15104,"24":16,"16":121550349025673216,"45":8808900158790451200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543445248001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:57:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:57:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121550349025673216,"km_value":121550349025673.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8808900158790451200,"description":"Unknown IO ID 45"} 
[2026-08-21 07:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543445248001,"power":13276,"unknown_229":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8808900158790451200}} 
[2026-08-21 07:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":158852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:57:11] local.INFO: GPS data processed {"connection_id":158852,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:57:11] local.INFO: Acknowledgment sent {"connection_id":158852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:57:18] local.INFO: TCP Data received {"connection_id":158853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:57:18] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:57:18] local.INFO: IMEI packet received {"connection_id":158853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":158853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:57:23] local.INFO: TCP Data received {"connection_id":158853,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:57:23] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:57:23] local.INFO: IMEI packet received {"connection_id":158853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":158853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:57:24] local.INFO: TCP Data received {"connection_id":158853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02222dbe8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02222dbe8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:57:24] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02222dbe8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:57:24] local.INFO: Packet analysis {"connection_id":158853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:57:24] local.INFO: Extracted packet for processing {"connection_id":158853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543445504001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57: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-08-21 07:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279105000,"timestamp_ms":1787279105000,"timestamp_seconds":1787279105,"priority":1,"record_length":96,"hex_timestamp":"000001a02222dbe8"} 
[2026-08-21 07:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:57: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-08-21 07:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543445504001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543445504001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:57:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:57:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543445504001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":158853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:57:24] local.INFO: GPS data processed {"connection_id":158853,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:57:24] local.INFO: Acknowledgment sent {"connection_id":158853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:57:26] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:57:26] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:57:26] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:57:31] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:57:31] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:57:31] local.INFO: IMEI packet received {"connection_id":160033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":160033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:57:33] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:57:33] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:57:33] local.INFO: Packet analysis {"connection_id":160033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:57:33] local.INFO: Extracted packet for processing {"connection_id":160033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:57:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:57:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:57:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":160033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:57:33] local.INFO: GPS data processed {"connection_id":160033,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:57:33] local.INFO: Acknowledgment sent {"connection_id":160033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:57:43] local.INFO: TCP Data received {"connection_id":158852,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02222ef70012d7a68c005da98280007004f27..."} 
[2026-08-21 07:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02222ef70012d7a68c005da98280007004f27..."} 
[2026-08-21 07:57:43] local.INFO: Processing buffer {"connection_id":158852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02222ef70012d7a68c005da98280007004f27..."} 
[2026-08-21 07:57:43] local.INFO: Packet analysis {"connection_id":158852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:57:43] local.INFO: Extracted packet for processing {"connection_id":158852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02222"} 
[2026-08-21 07:57:43] local.INFO: GPS Element Parsed {"raw_longitude":762996928,"raw_latitude":98211880,"longitude_deg":76.2996928,"latitude_deg":9.821188,"altitude":7,"angle":79,"satellites":39,"speed":26,"hex_longitude":"2d7a68c0","hex_latitude":"05da9828","is_valid_coordinates":true} 
[2026-08-21 07:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543447296001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121550778522402816,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8810589008650665984,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787279110000,"timestamp_ms":1787279110000,"timestamp_seconds":1787279110,"priority":1,"record_length":96,"hex_timestamp":"000001a02222ef70"} 
[2026-08-21 07:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 07:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158852,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543447296001,"66":13319,"229":206,"85":15104,"24":26,"16":121550778522402816,"45":8810589008650665984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,85,24,16,45]} 
[2026-08-21 07:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543447296001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:57:43] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 07:57:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121550778522402816,"km_value":121550778522402.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8810589008650665984,"description":"Unknown IO ID 45"} 
[2026-08-21 07:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543447296001,"power":13319,"unknown_229":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8810589008650665984}} 
[2026-08-21 07:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":158852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:57:43] local.INFO: GPS data processed {"connection_id":158852,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:57:43] local.INFO: Acknowledgment sent {"connection_id":158852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:57:55] local.INFO: TCP Data received {"connection_id":158853,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022232df0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022232df0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:57:55] local.INFO: Processing buffer {"connection_id":158853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022232df0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 07:57:55] local.INFO: Packet analysis {"connection_id":158853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02223"} 
[2026-08-21 07:57:55] local.INFO: Extracted packet for processing {"connection_id":158853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02223"} 
[2026-08-21 07:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543450880001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279126000,"timestamp_ms":1787279126000,"timestamp_seconds":1787279126,"priority":1,"record_length":96,"hex_timestamp":"000001a022232df0"} 
[2026-08-21 07:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 07:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543450880001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543450880001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:57:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:57:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543450880001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":158853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:57:55] local.INFO: GPS data processed {"connection_id":158853,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:57:55] local.INFO: Acknowledgment sent {"connection_id":158853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:58:04] local.INFO: TCP Data received {"connection_id":160033,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:58:04] local.INFO: Processing buffer {"connection_id":160033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02220ad50012da67700054b3710001c005f31..."} 
[2026-08-21 07:58:04] local.INFO: Packet analysis {"connection_id":160033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:58:04] local.INFO: Extracted packet for processing {"connection_id":160033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02220"} 
[2026-08-21 07:58:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787278962000,"timestamp_ms":1787278962000,"timestamp_seconds":1787278962,"priority":1,"record_length":96,"hex_timestamp":"000001a02220ad50"} 
[2026-08-21 07:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:58: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-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543337216001,"66":25615,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:58:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:58:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543337216001,"power":25615,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":160033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:58:04] local.INFO: GPS data processed {"connection_id":160033,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:58:04] local.INFO: Acknowledgment sent {"connection_id":160033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:58:07] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:58:07] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:58:07] local.INFO: IMEI packet received {"connection_id":161391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":161391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:58:12] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:58:12] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:58:12] local.INFO: IMEI packet received {"connection_id":161391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":161391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:58:13] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022251638012d7bed0005daef10000a005b26..."} 
[2026-08-21 07:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022251638012d7bed0005daef10000a005b26..."} 
[2026-08-21 07:58:13] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022251638012d7bed0005daef10000a005b26..."} 
[2026-08-21 07:58:13] local.INFO: Packet analysis {"connection_id":161391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:58:13] local.INFO: Extracted packet for processing {"connection_id":161391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763096320,"raw_latitude":98234128,"longitude_deg":76.309632,"latitude_deg":9.8234128,"altitude":10,"angle":91,"satellites":38,"speed":13,"hex_longitude":"2d7bed00","hex_latitude":"05daef10","is_valid_coordinates":true} 
[2026-08-21 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543484672001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121555674785120256,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919730930876014592,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:13] 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-08-21 07:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787279251000,"timestamp_ms":1787279251000,"timestamp_seconds":1787279251,"priority":1,"record_length":96,"hex_timestamp":"000001a022251638"} 
[2026-08-21 07:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 07:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543484672001,"66":12504,"188":206,"85":15104,"24":13,"16":121555674785120256,"45":8919730930876014592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-21 07:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543484672001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:58:13] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 07:58:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121555674785120256,"km_value":121555674785120.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919730930876014592,"description":"Unknown IO ID 45"} 
[2026-08-21 07:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543484672001,"power":12504,"unknown_188":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8919730930876014592}} 
[2026-08-21 07:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":161391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:58:13] local.INFO: GPS data processed {"connection_id":161391,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:58:13] local.INFO: Acknowledgment sent {"connection_id":161391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:58:18] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:58:18] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:58:18] local.INFO: IMEI packet received {"connection_id":159164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":159164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:58:23] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:58:23] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:58:23] local.INFO: IMEI packet received {"connection_id":159164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":159164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:58:24] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022237ff8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022237ff8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:58:24] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022237ff8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 07:58:24] local.INFO: Packet analysis {"connection_id":159164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02223"} 
[2026-08-21 07:58:24] local.INFO: Extracted packet for processing {"connection_id":159164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02223"} 
[2026-08-21 07:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543456256001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58: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-08-21 07:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279147000,"timestamp_ms":1787279147000,"timestamp_seconds":1787279147,"priority":1,"record_length":96,"hex_timestamp":"000001a022237ff8"} 
[2026-08-21 07:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 07:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543456256001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543456256001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:58:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543456256001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":159164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:58:24] local.INFO: GPS data processed {"connection_id":159164,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:58:24] local.INFO: Acknowledgment sent {"connection_id":159164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:58:26] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:58:26] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:58:26] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:58:31] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:58:31] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:58:31] local.INFO: IMEI packet received {"connection_id":160034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":160034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:58:32] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:58:32] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:58:32] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:58:32] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 07:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:58:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:58:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:58:32] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:58:32] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:58:44] local.INFO: TCP Data received {"connection_id":161391,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222550d0012d7c12c005daefd8000c005a25..."} 
[2026-08-21 07:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222550d0012d7c12c005daefd8000c005a25..."} 
[2026-08-21 07:58:44] local.INFO: Processing buffer {"connection_id":161391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222550d0012d7c12c005daefd8000c005a25..."} 
[2026-08-21 07:58:44] local.INFO: Packet analysis {"connection_id":161391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:58:44] local.INFO: Extracted packet for processing {"connection_id":161391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:58:44] local.INFO: GPS Element Parsed {"raw_longitude":763105984,"raw_latitude":98234328,"longitude_deg":76.3105984,"latitude_deg":9.8234328,"altitude":12,"angle":90,"satellites":37,"speed":35,"hex_longitude":"2d7c12c0","hex_latitude":"05daefd8","is_valid_coordinates":true} 
[2026-08-21 07:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543488256001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121556134346620928,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929793661293498368,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:44] 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-08-21 07:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787279266000,"timestamp_ms":1787279266000,"timestamp_seconds":1787279266,"priority":1,"record_length":96,"hex_timestamp":"000001a0222550d0"} 
[2026-08-21 07:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 07:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543488256001,"66":12982,"188":206,"85":15104,"24":35,"16":121556134346620928,"45":8929793661293498368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-21 07:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543488256001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:58:44] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 07:58:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121556134346620928,"km_value":121556134346620.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929793661293498368,"description":"Unknown IO ID 45"} 
[2026-08-21 07:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543488256001,"power":12982,"unknown_188":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8929793661293498368}} 
[2026-08-21 07:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":161391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674298,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:58:44] local.INFO: GPS data processed {"connection_id":161391,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:58:44] local.INFO: Acknowledgment sent {"connection_id":161391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:58:55] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02223d200012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02223d200012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:58:55] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02223d200012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:58:55] local.INFO: Packet analysis {"connection_id":159164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02223"} 
[2026-08-21 07:58:55] local.INFO: Extracted packet for processing {"connection_id":159164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02223"} 
[2026-08-21 07:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543461632001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279168000,"timestamp_ms":1787279168000,"timestamp_seconds":1787279168,"priority":1,"record_length":96,"hex_timestamp":"000001a02223d200"} 
[2026-08-21 07:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 07:58:55] 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-08-21 07: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-08-21 07:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543461632001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543461632001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:58:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:58:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543461632001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":159164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:58:55] local.INFO: GPS data processed {"connection_id":159164,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:58:55] local.INFO: Acknowledgment sent {"connection_id":159164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:59:03] local.INFO: TCP Data received {"connection_id":160034,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:59:03] local.INFO: Processing buffer {"connection_id":160034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:59:03] local.INFO: Packet analysis {"connection_id":160034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:59:03] local.INFO: Extracted packet for processing {"connection_id":160034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:59:03] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 07:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:59:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:59:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":160034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:59:03] local.INFO: GPS data processed {"connection_id":160034,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:59:03] local.INFO: Acknowledgment sent {"connection_id":160034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:59:07] local.INFO: TCP Data received {"connection_id":158854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:59:07] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:59:07] local.INFO: IMEI packet received {"connection_id":158854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 07:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":158854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:59:11] local.INFO: TCP Data received {"connection_id":158854,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:59:11] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 07:59:11] local.INFO: IMEI packet received {"connection_id":158854,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 07:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":158854,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:59:12] local.INFO: TCP Data received {"connection_id":158854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022256840012d7c208005daf060000c004425..."} 
[2026-08-21 07:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022256840012d7c208005daf060000c004425..."} 
[2026-08-21 07:59:12] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022256840012d7c208005daf060000c004425..."} 
[2026-08-21 07:59:12] local.INFO: Packet analysis {"connection_id":158854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:59:12] local.INFO: Extracted packet for processing {"connection_id":158854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:59:12] local.INFO: GPS Element Parsed {"raw_longitude":763109504,"raw_latitude":98234464,"longitude_deg":76.3109504,"latitude_deg":9.8234464,"altitude":12,"angle":68,"satellites":37,"speed":16,"hex_longitude":"2d7c2080","hex_latitude":"05daf060","is_valid_coordinates":true} 
[2026-08-21 07:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543492096001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121556306145312768,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940419341664376832,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:12] 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-08-21 07:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787279272000,"timestamp_ms":1787279272000,"timestamp_seconds":1787279272,"priority":1,"record_length":96,"hex_timestamp":"000001a022256840"} 
[2026-08-21 07:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 07:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543492096001,"66":12809,"188":206,"85":15104,"24":16,"16":121556306145312768,"45":8940419341664376832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,85,24,16,45]} 
[2026-08-21 07:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543492096001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:59:12] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 07:59:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121556306145312768,"km_value":121556306145312.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940419341664376832,"description":"Unknown IO ID 45"} 
[2026-08-21 07:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543492096001,"power":12809,"unknown_188":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8940419341664376832}} 
[2026-08-21 07:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":158854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:59:12] local.INFO: GPS data processed {"connection_id":158854,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:59:12] local.INFO: Acknowledgment sent {"connection_id":158854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:59:18] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:59:18] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:59:18] local.INFO: IMEI packet received {"connection_id":161392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 07:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":161392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:59:23] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:59:23] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 07:59:23] local.INFO: IMEI packet received {"connection_id":161392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 07:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":161392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:59:24] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022242408012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 07:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022242408012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 07:59:24] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022242408012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 07:59:24] local.INFO: Packet analysis {"connection_id":161392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02224"} 
[2026-08-21 07:59:24] local.INFO: Extracted packet for processing {"connection_id":161392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02224"} 
[2026-08-21 07:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543467008001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59: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-08-21 07:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279189000,"timestamp_ms":1787279189000,"timestamp_seconds":1787279189,"priority":1,"record_length":96,"hex_timestamp":"000001a022242408"} 
[2026-08-21 07:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 07:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543467008001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543467008001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:59:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543467008001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":161392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:59:24] local.INFO: GPS data processed {"connection_id":161392,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:59:24] local.INFO: Acknowledgment sent {"connection_id":161392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:59:26] local.INFO: TCP Data received {"connection_id":160035,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:59:26] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:59:26] local.INFO: IMEI packet received {"connection_id":160035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 07:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":160035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 07:59:31] local.INFO: TCP Data received {"connection_id":160035,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:59:31] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 07:59:31] local.INFO: IMEI packet received {"connection_id":160035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 07:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":160035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 07:59:32] local.INFO: TCP Data received {"connection_id":160035,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:59:32] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 07:59:32] local.INFO: Packet analysis {"connection_id":160035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:59:32] local.INFO: Extracted packet for processing {"connection_id":160035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 07:59:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 07: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-08-21 07:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 07:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 07:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 07:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07: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-08-21 07:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 07:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 07:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 07:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 07:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 07:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 07:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:59:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 07:59:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 07:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 07:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 07:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":160035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:59:32] local.INFO: GPS data processed {"connection_id":160035,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:59:32] local.INFO: Acknowledgment sent {"connection_id":160035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:59:43] local.INFO: TCP Data received {"connection_id":158854,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02226cbb8012d7be4c005dc33d8000201651d..."} 
[2026-08-21 07:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02226cbb8012d7be4c005dc33d8000201651d..."} 
[2026-08-21 07:59:43] local.INFO: Processing buffer {"connection_id":158854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02226cbb8012d7be4c005dc33d8000201651d..."} 
[2026-08-21 07:59:43] local.INFO: Packet analysis {"connection_id":158854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 07:59:43] local.INFO: Extracted packet for processing {"connection_id":158854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 07:59:43] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":98317272,"longitude_deg":76.3094208,"latitude_deg":9.8317272,"altitude":2,"angle":357,"satellites":29,"speed":52,"hex_longitude":"2d7be4c0","hex_latitude":"05dc33d8","is_valid_coordinates":true} 
[2026-08-21 07:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543515136001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121560416429015040,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752967731232768,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787279363000,"timestamp_ms":1787279363000,"timestamp_seconds":1787279363,"priority":1,"record_length":96,"hex_timestamp":"000001a02226cbb8"} 
[2026-08-21 07:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3678029824,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":220,"raw_value":3925868544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":219,"raw_value":1742893107354608896,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3692822528,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57885692328301883,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.WARNING: Large IO value detected {"io_id":37,"raw_value":-4179339159332618235,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:43] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,185,85,24,241,157,16,222,160,149,45,64,234,5,30,10,66,221,121,199,6,29,86,192,1,240,150,227,220,34,219,4,113,205,41,128,25,239,52,186,2,175,39,214,37],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-21 07:59:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216563229004136448,"timestamp_seconds":216563229004136.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 07:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158854,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 07:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 07:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 07:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543515136001,"66":13319,"185":206,"85":15104,"24":52,"16":121560416429015040,"45":8927752967731232768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-21 07:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 07:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 07:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543515136001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:59:43] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-21 07:59:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 07:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121560416429015040,"km_value":121560416429015.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752967731232768,"description":"Unknown IO ID 45"} 
[2026-08-21 07:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543515136001,"power":13319,"unknown_185":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8927752967731232768}} 
[2026-08-21 07:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":158854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:59:43] local.INFO: GPS data processed {"connection_id":158854,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:59:43] local.INFO: Acknowledgment sent {"connection_id":158854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 07:59:55] local.INFO: TCP Data received {"connection_id":161392,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022247610012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022247610012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:59:55] local.INFO: Processing buffer {"connection_id":161392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022247610012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 07:59:55] local.INFO: Packet analysis {"connection_id":161392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02224"} 
[2026-08-21 07:59:55] local.INFO: Extracted packet for processing {"connection_id":161392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02224"} 
[2026-08-21 07:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 07:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 07:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543472384001,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 07:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 07:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279210000,"timestamp_ms":1787279210000,"timestamp_seconds":1787279210,"priority":1,"record_length":96,"hex_timestamp":"000001a022247610"} 
[2026-08-21 07:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 07:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 07: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 07:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 07:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 07:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 07:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 07:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 07:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 07:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 07:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 07:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 07:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543472384001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 07:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 07:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 07:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543472384001,"description":"Unknown IO ID 0"} 
[2026-08-21 07:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 07:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 07:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 07:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 07:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543472384001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 07:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":161392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 07:59:55] local.INFO: GPS data processed {"connection_id":161392,"processed":1,"errors":0,"total":1} 
[2026-08-21 07:59:55] local.INFO: Acknowledgment sent {"connection_id":161392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:00:03] local.INFO: TCP Data received {"connection_id":160035,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:00:03] local.INFO: Processing buffer {"connection_id":160035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:00:03] local.INFO: Packet analysis {"connection_id":160035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:00:03] local.INFO: Extracted packet for processing {"connection_id":160035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:00:03] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 08:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 08:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:00:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:00:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":160035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:00:03] local.INFO: GPS data processed {"connection_id":160035,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:00:03] local.INFO: Acknowledgment sent {"connection_id":160035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:00:07] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:00:07] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:00:07] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:00:12] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:00:12] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:00:12] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:00:13] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02226e710012d7be3c005dc57e8000101661d..."} 
[2026-08-21 08:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02226e710012d7be3c005dc57e8000101661d..."} 
[2026-08-21 08:00:13] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02226e710012d7be3c005dc57e8000101661d..."} 
[2026-08-21 08:00:13] local.INFO: Packet analysis {"connection_id":159165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:00:13] local.INFO: Extracted packet for processing {"connection_id":159165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763093952,"raw_latitude":98326504,"longitude_deg":76.3093952,"latitude_deg":9.8326504,"altitude":1,"angle":358,"satellites":29,"speed":53,"hex_longitude":"2d7be3c0","hex_latitude":"05dc57e8","is_valid_coordinates":true} 
[2026-08-21 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543516928001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121560867400581120,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471492756920320,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787279370000,"timestamp_ms":1787279370000,"timestamp_seconds":1787279370,"priority":1,"record_length":96,"hex_timestamp":"000001a02226e710"} 
[2026-08-21 08:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3680403456,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4199606695495343616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3699572736,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885688033334587,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.WARNING: Large IO value detected {"io_id":37,"raw_value":-1364589392226713595,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:13] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,185,85,24,241,157,16,222,160,176,45,192,15,3,28,10,66,149,64,234,5,30,221,121,1,240,144,227,34,219,4,113,205,40,51,253,32,26,239,2,175,8,41,7,37],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-21 08:00:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144507838284431360,"timestamp_seconds":144507838284431.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543516928001,"66":13319,"185":206,"85":15104,"24":53,"16":121560867400581120,"45":8927471492756920320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-08-21 08:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543516928001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:00:13] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-08-21 08:00:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121560867400581120,"km_value":121560867400581.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471492756920320,"description":"Unknown IO ID 45"} 
[2026-08-21 08:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543516928001,"power":13319,"unknown_185":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8927471492756920320}} 
[2026-08-21 08:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":159165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:00:13] local.INFO: GPS data processed {"connection_id":159165,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:00:13] local.INFO: Acknowledgment sent {"connection_id":159165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:00:16] local.INFO: TCP Data received {"connection_id":158855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:16] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:16] local.INFO: IMEI packet received {"connection_id":158855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":158855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:00:18] local.INFO: TCP Data received {"connection_id":158855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:18] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:18] local.INFO: IMEI packet received {"connection_id":158855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":158855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:00:23] local.INFO: TCP Data received {"connection_id":158855,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:23] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:00:23] local.INFO: IMEI packet received {"connection_id":158855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":158855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:00:24] local.INFO: TCP Data received {"connection_id":158855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02224c818012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 08:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02224c818012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 08:00:24] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02224c818012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 08:00:24] local.INFO: Packet analysis {"connection_id":158855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02224"} 
[2026-08-21 08:00:24] local.INFO: Extracted packet for processing {"connection_id":158855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02224"} 
[2026-08-21 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543477760001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00: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-08-21 08:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279231000,"timestamp_ms":1787279231000,"timestamp_seconds":1787279231,"priority":1,"record_length":96,"hex_timestamp":"000001a02224c818"} 
[2026-08-21 08:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543477760001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543477760001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:00:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543477760001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":158855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:00:24] local.INFO: GPS data processed {"connection_id":158855,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:00:24] local.INFO: Acknowledgment sent {"connection_id":158855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:00:26] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:00:26] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:00:26] local.INFO: IMEI packet received {"connection_id":160036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":160036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:00:31] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:00:31] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:00:31] local.INFO: IMEI packet received {"connection_id":160036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":160036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:00:32] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:00:32] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:00:32] local.INFO: Packet analysis {"connection_id":160036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:00:32] local.INFO: Extracted packet for processing {"connection_id":160036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:00:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 08:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 08:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:00:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:00:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":160036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:00:32] local.INFO: GPS data processed {"connection_id":160036,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:00:32] local.INFO: Acknowledgment sent {"connection_id":160036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:00:44] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022270268012d7be2c005dc7c00000001661d..."} 
[2026-08-21 08:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022270268012d7be2c005dc7c00000001661d..."} 
[2026-08-21 08:00:44] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022270268012d7be2c005dc7c00000001661d..."} 
[2026-08-21 08:00:44] local.INFO: Packet analysis {"connection_id":159165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:00:44] local.INFO: Extracted packet for processing {"connection_id":159165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98335744,"longitude_deg":76.3093696,"latitude_deg":9.8335744,"altitude":0,"angle":358,"satellites":29,"speed":51,"hex_longitude":"2d7be2c0","hex_latitude":"05dc7c00","is_valid_coordinates":true} 
[2026-08-21 08:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543518720001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121561314077179904,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927190017782573056,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787279377000,"timestamp_ms":1787279377000,"timestamp_seconds":1787279377,"priority":1,"record_length":96,"hex_timestamp":"000001a022270268"} 
[2026-08-21 08:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":47105,"corrected_to":0} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":221,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":219,"raw_value":6809442670966544640,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2797142222,"corrected_to":0} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":243,"raw_value":3221609379,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635046,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3706322944,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3682672640,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57885683738367291,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.WARNING: Large IO value detected {"io_id":38,"raw_value":1168685398168584197,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:44] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,185,85,24,241,157,16,222,160,203,45,192,51,2,29,10,66,176,15,3,28,149,64,1,240,94,227,221,34,219,4,113,205,47,86,243,120,239,50,175,5,7,41,187,38],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":203,"original":47105,"validated":0},{"io_id":205,"original":2797142222,"validated":0}]} 
[2026-08-21 08:00:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72451343758196736,"timestamp_seconds":72451343758196.73,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543518720001,"66":13406,"168":206,"85":15104,"24":51,"16":121561314077179904,"45":8927190017782573056},"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-08-21 08:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543518720001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:00:44] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 08:00:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121561314077179904,"km_value":121561314077179.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927190017782573056,"description":"Unknown IO ID 45"} 
[2026-08-21 08:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543518720001,"power":13406,"unknown_168":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8927190017782573056}} 
[2026-08-21 08:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":159165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674310,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:00:44] local.INFO: GPS data processed {"connection_id":159165,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:00:44] local.INFO: Acknowledgment sent {"connection_id":159165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:00:55] local.INFO: TCP Data received {"connection_id":158855,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022251a20012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022251a20012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:00:55] local.INFO: Processing buffer {"connection_id":158855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022251a20012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:00:55] local.INFO: Packet analysis {"connection_id":158855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:00:55] local.INFO: Extracted packet for processing {"connection_id":158855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543483136001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279252000,"timestamp_ms":1787279252000,"timestamp_seconds":1787279252,"priority":1,"record_length":96,"hex_timestamp":"000001a022251a20"} 
[2026-08-21 08:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543483136001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543483136001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543483136001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":158855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:00:55] local.INFO: GPS data processed {"connection_id":158855,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:00:55] local.INFO: Acknowledgment sent {"connection_id":158855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:01:03] local.INFO: TCP Data received {"connection_id":160036,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:01:03] local.INFO: Processing buffer {"connection_id":160036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:01:03] local.INFO: Packet analysis {"connection_id":160036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:03] local.INFO: Extracted packet for processing {"connection_id":160036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:03] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 08:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 08:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:01:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:01:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":160036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:01:03] local.INFO: GPS data processed {"connection_id":160036,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:01:03] local.INFO: Acknowledgment sent {"connection_id":160036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:01:12] local.INFO: TCP Data received {"connection_id":158856,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:01:12] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:01:12] local.INFO: IMEI packet received {"connection_id":158856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":158856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:01:17] local.INFO: TCP Data received {"connection_id":158856,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:01:17] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:01:17] local.INFO: IMEI packet received {"connection_id":158856,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":158856,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:01:18] local.INFO: TCP Data received {"connection_id":158856,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222721a8012d7be14005dca198000001651f..."} 
[2026-08-21 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222721a8012d7be14005dca198000001651f..."} 
[2026-08-21 08:01:18] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222721a8012d7be14005dca198000001651f..."} 
[2026-08-21 08:01:18] local.INFO: Packet analysis {"connection_id":158856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:01:18] local.INFO: Extracted packet for processing {"connection_id":158856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:01:18] local.INFO: GPS Element Parsed {"raw_longitude":763093312,"raw_latitude":98345368,"longitude_deg":76.3093312,"latitude_deg":9.8345368,"altitude":0,"angle":357,"satellites":31,"speed":45,"hex_longitude":"2d7be140","hex_latitude":"05dca198","is_valid_coordinates":true} 
[2026-08-21 08:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543520512001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121561782228615168,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908542808227840,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787279385000,"timestamp_ms":1787279385000,"timestamp_seconds":1787279385,"priority":1,"record_length":96,"hex_timestamp":"000001a0222721a8"} 
[2026-08-21 08:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 08:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:01: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-08-21 08:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543520512001,"66":13374,"168":206,"85":15104,"24":45,"16":121561782228615168,"45":8926908542808227840},"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-08-21 08:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543520512001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:01:18] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 08:01:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121561782228615168,"km_value":121561782228615.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908542808227840,"description":"Unknown IO ID 45"} 
[2026-08-21 08:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543520512001,"power":13374,"unknown_168":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8926908542808227840}} 
[2026-08-21 08:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":158856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:01:18] local.INFO: GPS data processed {"connection_id":158856,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:01:18] local.INFO: Acknowledgment sent {"connection_id":158856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:01:18] local.INFO: TCP Data received {"connection_id":158857,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:18] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:18] local.INFO: IMEI packet received {"connection_id":158857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":158857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:01:19] local.INFO: TCP Data received {"connection_id":158857,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:19] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:19] local.INFO: IMEI packet received {"connection_id":158857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":158857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:01:22] local.INFO: TCP Data received {"connection_id":158856,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222740e8012d7be08005dcc7c8000001671c..."} 
[2026-08-21 08:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222740e8012d7be08005dcc7c8000001671c..."} 
[2026-08-21 08:01:22] local.INFO: Processing buffer {"connection_id":158856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222740e8012d7be08005dcc7c8000001671c..."} 
[2026-08-21 08:01:22] local.INFO: Packet analysis {"connection_id":158856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:01:22] local.INFO: Extracted packet for processing {"connection_id":158856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:01:22] local.INFO: GPS Element Parsed {"raw_longitude":763093120,"raw_latitude":98355144,"longitude_deg":76.309312,"latitude_deg":9.8355144,"altitude":0,"angle":359,"satellites":28,"speed":48,"hex_longitude":"2d7be080","hex_latitude":"05dcc7c8","is_valid_coordinates":true} 
[2026-08-21 08:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543522560001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121562254675017728,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926486330345625600,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01: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-08-21 08:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787279393000,"timestamp_ms":1787279393000,"timestamp_seconds":1787279393,"priority":1,"record_length":96,"hex_timestamp":"000001a0222740e8"} 
[2026-08-21 08:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:01: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-08-21 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 08:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158856,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543522560001,"66":13048,"168":206,"85":15104,"24":48,"16":121562254675017728,"45":8926486330345625600},"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-08-21 08:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543522560001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:01:22] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 08:01:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121562254675017728,"km_value":121562254675017.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926486330345625600,"description":"Unknown IO ID 45"} 
[2026-08-21 08:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543522560001,"power":13048,"unknown_168":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8926486330345625600}} 
[2026-08-21 08:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":158856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:01:22] local.INFO: GPS data processed {"connection_id":158856,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:01:22] local.INFO: Acknowledgment sent {"connection_id":158856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:01:23] local.INFO: TCP Data received {"connection_id":158857,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:23] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:01:23] local.INFO: IMEI packet received {"connection_id":158857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":158857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:01:24] local.INFO: TCP Data received {"connection_id":158857,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022256c28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022256c28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:01:24] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022256c28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:01:24] local.INFO: Packet analysis {"connection_id":158857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:24] local.INFO: Extracted packet for processing {"connection_id":158857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543488512001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279273000,"timestamp_ms":1787279273000,"timestamp_seconds":1787279273,"priority":1,"record_length":96,"hex_timestamp":"000001a022256c28"} 
[2026-08-21 08:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543488512001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543488512001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:01:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543488512001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":158857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:01:24] local.INFO: GPS data processed {"connection_id":158857,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:01:24] local.INFO: Acknowledgment sent {"connection_id":158857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:01:26] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:01:26] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:01:26] local.INFO: IMEI packet received {"connection_id":159166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":159166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:01:31] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:01:31] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:01:31] local.INFO: IMEI packet received {"connection_id":159166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":159166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:01:32] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:01:32] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:01:32] local.INFO: Packet analysis {"connection_id":159166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:32] local.INFO: Extracted packet for processing {"connection_id":159166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 08:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 08:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:01:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:01:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":159166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:01:32] local.INFO: GPS data processed {"connection_id":159166,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:01:32] local.INFO: Acknowledgment sent {"connection_id":159166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:01:55] local.INFO: TCP Data received {"connection_id":158857,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02225be30012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02225be30012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:01:55] local.INFO: Processing buffer {"connection_id":158857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02225be30012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:01:55] local.INFO: Packet analysis {"connection_id":158857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:55] local.INFO: Extracted packet for processing {"connection_id":158857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543493888001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279294000,"timestamp_ms":1787279294000,"timestamp_seconds":1787279294,"priority":1,"record_length":96,"hex_timestamp":"000001a02225be30"} 
[2026-08-21 08:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543493888001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543493888001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:01:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543493888001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":158857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:01:55] local.INFO: GPS data processed {"connection_id":158857,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:01:55] local.INFO: Acknowledgment sent {"connection_id":158857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:02:04] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:02:04] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:02:04] local.INFO: Packet analysis {"connection_id":159166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:02:04] local.INFO: Extracted packet for processing {"connection_id":159166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:02:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 08:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 08:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:02:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:02:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:02:04] local.INFO: GPS data processed {"connection_id":159166,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:02:04] local.INFO: Acknowledgment sent {"connection_id":159166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:02:07] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:02:07] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:02:07] local.INFO: IMEI packet received {"connection_id":159167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":159167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:02:10] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:02:10] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:02:10] local.INFO: IMEI packet received {"connection_id":159167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":159167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:02:11] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022276028012d7bdf8005dcecd80000016320..."} 
[2026-08-21 08:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022276028012d7bdf8005dcecd80000016320..."} 
[2026-08-21 08:02:11] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022276028012d7bdf8005dcecd80000016320..."} 
[2026-08-21 08:02:11] local.INFO: Packet analysis {"connection_id":159167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:02:11] local.INFO: Extracted packet for processing {"connection_id":159167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:02:11] local.INFO: GPS Element Parsed {"raw_longitude":763092864,"raw_latitude":98364632,"longitude_deg":76.3092864,"latitude_deg":9.8364632,"altitude":0,"angle":355,"satellites":32,"speed":48,"hex_longitude":"2d7bdf80","hex_latitude":"05dcecd8","is_valid_coordinates":true} 
[2026-08-21 08:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543524608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121562714236518400,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926275224115595264,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787279401000,"timestamp_ms":1787279401000,"timestamp_seconds":1787279401,"priority":1,"record_length":96,"hex_timestamp":"000001a022276028"} 
[2026-08-21 08:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 08:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543524608001,"66":13048,"168":206,"85":15104,"24":48,"16":121562714236518400,"45":8926275224115595264},"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-08-21 08:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543524608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:02:11] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-08-21 08:02:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121562714236518400,"km_value":121562714236518.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926275224115595264,"description":"Unknown IO ID 45"} 
[2026-08-21 08:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543524608001,"power":13048,"unknown_168":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8926275224115595264}} 
[2026-08-21 08:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":159167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:02:11] local.INFO: GPS data processed {"connection_id":159167,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:02:11] local.INFO: Acknowledgment sent {"connection_id":159167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:02:18] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:02:18] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:02:18] local.INFO: IMEI packet received {"connection_id":160037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":160037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:02:22] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:02:22] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:02:22] local.INFO: IMEI packet received {"connection_id":160037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":160037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:02:23] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022261038012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022261038012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:02:23] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022261038012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:02:23] local.INFO: Packet analysis {"connection_id":160037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:02:23] local.INFO: Extracted packet for processing {"connection_id":160037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543499264001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787279315000,"timestamp_ms":1787279315000,"timestamp_seconds":1787279315,"priority":1,"record_length":96,"hex_timestamp":"000001a022261038"} 
[2026-08-21 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-08-21 08:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543499264001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543499264001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543499264001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":160037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:02:23] local.INFO: GPS data processed {"connection_id":160037,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:02:23] local.INFO: Acknowledgment sent {"connection_id":160037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:02:26] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:02:26] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:02:26] local.INFO: IMEI packet received {"connection_id":159168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":159168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:02:31] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:02:31] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:02:31] local.INFO: IMEI packet received {"connection_id":159168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":159168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:02:33] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:02:33] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:02:33] local.INFO: Packet analysis {"connection_id":159168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:02:33] local.INFO: Extracted packet for processing {"connection_id":159168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:02:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 08:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 08:02:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:02:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:02:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":159168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:02:33] local.INFO: GPS data processed {"connection_id":159168,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:02:33] local.INFO: Acknowledgment sent {"connection_id":159168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:02:42] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022297368012d7bd24005dd6768000101611a..."} 
[2026-08-21 08:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022297368012d7bd24005dd6768000101611a..."} 
[2026-08-21 08:02:42] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022297368012d7bd24005dd6768000101611a..."} 
[2026-08-21 08:02:42] local.INFO: Packet analysis {"connection_id":159167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:02:42] local.INFO: Extracted packet for processing {"connection_id":159167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":763089472,"raw_latitude":98396008,"longitude_deg":76.3089472,"latitude_deg":9.8396008,"altitude":1,"angle":353,"satellites":26,"speed":39,"hex_longitude":"2d7bd240","hex_latitude":"05dd6768","is_valid_coordinates":true} 
[2026-08-21 08:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543559168001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121564269014679552,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923390105612513280,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787279537000,"timestamp_ms":1787279537000,"timestamp_seconds":1787279537,"priority":1,"record_length":96,"hex_timestamp":"000001a022297368"} 
[2026-08-21 08:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 08:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543559168001,"66":13254,"169":206,"85":15104,"24":39,"16":121564269014679552,"45":8923390105612513280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 08:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543559168001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:02:42] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 08:02:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121564269014679552,"km_value":121564269014679.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923390105612513280,"description":"Unknown IO ID 45"} 
[2026-08-21 08:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543559168001,"power":13254,"unknown_169":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8923390105612513280}} 
[2026-08-21 08:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":159167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:02:42] local.INFO: GPS data processed {"connection_id":159167,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:02:42] local.INFO: Acknowledgment sent {"connection_id":159167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:02:54] local.INFO: TCP Data received {"connection_id":160037,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022266240012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022266240012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:02:54] local.INFO: Processing buffer {"connection_id":160037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022266240012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:02:54] local.INFO: Packet analysis {"connection_id":160037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:02:54] local.INFO: Extracted packet for processing {"connection_id":160037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:02:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543504640001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:02: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-08-21 08:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787279336000,"timestamp_ms":1787279336000,"timestamp_seconds":1787279336,"priority":1,"record_length":96,"hex_timestamp":"000001a022266240"} 
[2026-08-21 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-08-21 08:02: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-08-21 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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543504640001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543504640001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:02:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:02:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543504640001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":160037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:02:54] local.INFO: GPS data processed {"connection_id":160037,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:02:54] local.INFO: Acknowledgment sent {"connection_id":160037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:03:04] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:03:04] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022254518012da67700054b3710001c005f2f..."} 
[2026-08-21 08:03:04] local.INFO: Packet analysis {"connection_id":159168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:03:04] local.INFO: Extracted packet for processing {"connection_id":159168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02225"} 
[2026-08-21 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279263000,"timestamp_ms":1787279263000,"timestamp_seconds":1787279263,"priority":1,"record_length":96,"hex_timestamp":"000001a022254518"} 
[2026-08-21 08:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 08:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:03: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-08-21 08:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543414272001,"66":25582,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543414272001,"power":25582,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":159168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:03:04] local.INFO: GPS data processed {"connection_id":159168,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:03:04] local.INFO: Acknowledgment sent {"connection_id":159168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:03:08] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:03:08] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:03:08] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:03:12] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:03:12] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:03:12] local.INFO: IMEI packet received {"connection_id":160038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":160038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:03:14] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022299690012d7bcc4005dd8bc80001015e1b..."} 
[2026-08-21 08:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022299690012d7bcc4005dd8bc80001015e1b..."} 
[2026-08-21 08:03:14] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022299690012d7bcc4005dd8bc80001015e1b..."} 
[2026-08-21 08:03:14] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:03:14] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":763087936,"raw_latitude":98405320,"longitude_deg":76.3087936,"latitude_deg":9.840532,"altitude":1,"angle":350,"satellites":27,"speed":42,"hex_longitude":"2d7bcc40","hex_latitude":"05dd8bc8","is_valid_coordinates":true} 
[2026-08-21 08:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543561472001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121564724281212928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922264205707929600,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787279546000,"timestamp_ms":1787279546000,"timestamp_seconds":1787279546,"priority":1,"record_length":96,"hex_timestamp":"000001a022299690"} 
[2026-08-21 08:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 08:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543561472001,"66":12765,"169":206,"85":15104,"24":42,"16":121564724281212928,"45":8922264205707929600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 08:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543561472001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:03:14] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 08:03:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121564724281212928,"km_value":121564724281212.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922264205707929600,"description":"Unknown IO ID 45"} 
[2026-08-21 08:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543561472001,"power":12765,"unknown_169":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8922264205707929600}} 
[2026-08-21 08:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:03:14] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:03:14] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:03:18] local.INFO: TCP Data received {"connection_id":158858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:03:18] local.INFO: Processing buffer {"connection_id":158858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:03:18] local.INFO: IMEI packet received {"connection_id":158858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":158858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:03:23] local.INFO: TCP Data received {"connection_id":158858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:03:23] local.INFO: Processing buffer {"connection_id":158858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:03:23] local.INFO: IMEI packet received {"connection_id":158858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":158858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:03:24] local.INFO: TCP Data received {"connection_id":158858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02226b448012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02226b448012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:03:24] local.INFO: Processing buffer {"connection_id":158858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02226b448012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:03:24] local.INFO: Packet analysis {"connection_id":158858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:03:24] local.INFO: Extracted packet for processing {"connection_id":158858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02226"} 
[2026-08-21 08:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543510016001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03: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-08-21 08:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279357000,"timestamp_ms":1787279357000,"timestamp_seconds":1787279357,"priority":1,"record_length":96,"hex_timestamp":"000001a02226b448"} 
[2026-08-21 08:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08: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-08-21 08:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543510016001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543510016001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:03:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543510016001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":158858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:03:24] local.INFO: GPS data processed {"connection_id":158858,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:03:24] local.INFO: Acknowledgment sent {"connection_id":158858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:03:26] local.INFO: TCP Data received {"connection_id":158859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:03:26] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:03:26] local.INFO: IMEI packet received {"connection_id":158859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":158859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:03:31] local.INFO: TCP Data received {"connection_id":158859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:03:31] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:03:31] local.INFO: IMEI packet received {"connection_id":158859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":158859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:03:32] local.INFO: TCP Data received {"connection_id":158859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:03:32] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:03:32] local.INFO: Packet analysis {"connection_id":158859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:03:32] local.INFO: Extracted packet for processing {"connection_id":158859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:03:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:03:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":158859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:03:32] local.INFO: GPS data processed {"connection_id":158859,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:03:32] local.INFO: Acknowledgment sent {"connection_id":158859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:03:47] local.INFO: TCP Data received {"connection_id":160038,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02229b5d0012d7bc64005ddae900000015e18..."} 
[2026-08-21 08:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229b5d0012d7bc64005ddae900000015e18..."} 
[2026-08-21 08:03:47] local.INFO: Processing buffer {"connection_id":160038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229b5d0012d7bc64005ddae900000015e18..."} 
[2026-08-21 08:03:47] local.INFO: Packet analysis {"connection_id":160038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:03:47] local.INFO: Extracted packet for processing {"connection_id":160038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763086400,"raw_latitude":98414224,"longitude_deg":76.30864,"latitude_deg":9.8414224,"altitude":0,"angle":350,"satellites":24,"speed":44,"hex_longitude":"2d7bc640","hex_latitude":"05ddae90","is_valid_coordinates":true} 
[2026-08-21 08:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543563776001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121565162367877120,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920575355850049536,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787279554000,"timestamp_ms":1787279554000,"timestamp_seconds":1787279554,"priority":1,"record_length":96,"hex_timestamp":"000001a02229b5d0"} 
[2026-08-21 08:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 08:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543563776001,"66":13222,"169":206,"85":15104,"24":44,"16":121565162367877120,"45":8920575355850049536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 08:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543563776001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:03:47] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 08:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121565162367877120,"km_value":121565162367877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920575355850049536,"description":"Unknown IO ID 45"} 
[2026-08-21 08:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543563776001,"power":13222,"unknown_169":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8920575355850049536}} 
[2026-08-21 08:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":160038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:03:47] local.INFO: GPS data processed {"connection_id":160038,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:03:47] local.INFO: Acknowledgment sent {"connection_id":160038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:03:55] local.INFO: TCP Data received {"connection_id":158858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022270650012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022270650012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:03:55] local.INFO: Processing buffer {"connection_id":158858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022270650012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:03:55] local.INFO: Packet analysis {"connection_id":158858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:03:55] local.INFO: Extracted packet for processing {"connection_id":158858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543515392001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279378000,"timestamp_ms":1787279378000,"timestamp_seconds":1787279378,"priority":1,"record_length":96,"hex_timestamp":"000001a022270650"} 
[2026-08-21 08:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 08:03:55] 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-08-21 08:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543515392001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543515392001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:03:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543515392001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":158858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:03:55] local.INFO: GPS data processed {"connection_id":158858,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:03:55] local.INFO: Acknowledgment sent {"connection_id":158858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:04:04] local.INFO: TCP Data received {"connection_id":158859,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:04:04] local.INFO: Processing buffer {"connection_id":158859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:04:04] local.INFO: Packet analysis {"connection_id":158859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:04] local.INFO: Extracted packet for processing {"connection_id":158859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:04:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:04:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:04:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:04:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":158859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:04:04] local.INFO: GPS data processed {"connection_id":158859,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:04:04] local.INFO: Acknowledgment sent {"connection_id":158859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:04:07] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:07] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:07] local.INFO: IMEI packet received {"connection_id":161393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":161393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:04:08] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:08] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:08] local.INFO: IMEI packet received {"connection_id":161393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":161393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:04:12] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:12] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:04:12] local.INFO: IMEI packet received {"connection_id":161393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":161393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:04:13] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02229d510012d7bbf8005ddd0d00000015c1f..."} 
[2026-08-21 08:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229d510012d7bbf8005ddd0d00000015c1f..."} 
[2026-08-21 08:04:13] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229d510012d7bbf8005ddd0d00000015c1f..."} 
[2026-08-21 08:04:13] local.INFO: Packet analysis {"connection_id":161393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:13] local.INFO: Extracted packet for processing {"connection_id":161393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:13] local.INFO: GPS Element Parsed {"raw_longitude":763084672,"raw_latitude":98422992,"longitude_deg":76.3084672,"latitude_deg":9.8422992,"altitude":0,"angle":348,"satellites":31,"speed":41,"hex_longitude":"2d7bbf80","hex_latitude":"05ddd0d0","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543565824001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121565596159574016,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918886505992065024,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787279562000,"timestamp_ms":1787279562000,"timestamp_seconds":1787279562,"priority":1,"record_length":96,"hex_timestamp":"000001a02229d510"} 
[2026-08-21 08:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 08:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543565824001,"66":12461,"169":206,"85":15104,"24":41,"16":121565596159574016,"45":8918886505992065024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 08:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543565824001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:04:13] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 08:04:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121565596159574016,"km_value":121565596159574.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918886505992065024,"description":"Unknown IO ID 45"} 
[2026-08-21 08:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543565824001,"power":12461,"unknown_169":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8918886505992065024}} 
[2026-08-21 08:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":161393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:04:13] local.INFO: GPS data processed {"connection_id":161393,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:04:13] local.INFO: Acknowledgment sent {"connection_id":161393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:04:18] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:04:18] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:04:18] local.INFO: IMEI packet received {"connection_id":161394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":161394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:04:23] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:04:23] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:04:23] local.INFO: IMEI packet received {"connection_id":161394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":161394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:04:24] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022275858012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022275858012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:04:24] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022275858012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:04:24] local.INFO: Packet analysis {"connection_id":161394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:04:24] local.INFO: Extracted packet for processing {"connection_id":161394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543520768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04: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-08-21 08:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279399000,"timestamp_ms":1787279399000,"timestamp_seconds":1787279399,"priority":1,"record_length":96,"hex_timestamp":"000001a022275858"} 
[2026-08-21 08:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543520768001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543520768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:04:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543520768001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":161394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:04:24] local.INFO: GPS data processed {"connection_id":161394,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:04:24] local.INFO: Acknowledgment sent {"connection_id":161394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:04:26] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:04:26] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:04:26] local.INFO: IMEI packet received {"connection_id":159169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":159169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:04:31] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:04:31] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:04:31] local.INFO: IMEI packet received {"connection_id":159169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":159169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:04:32] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:04:32] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:04:32] local.INFO: Packet analysis {"connection_id":159169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:32] local.INFO: Extracted packet for processing {"connection_id":159169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:04:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:04:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":159169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:04:32] local.INFO: GPS data processed {"connection_id":159169,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:04:32] local.INFO: Acknowledgment sent {"connection_id":159169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:04:45] local.INFO: TCP Data received {"connection_id":161393,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02229f838012d7bb88005ddf2f80000015c22..."} 
[2026-08-21 08:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229f838012d7bb88005ddf2f80000015c22..."} 
[2026-08-21 08:04:45] local.INFO: Processing buffer {"connection_id":161393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229f838012d7bb88005ddf2f80000015c22..."} 
[2026-08-21 08:04:45] local.INFO: Packet analysis {"connection_id":161393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:45] local.INFO: Extracted packet for processing {"connection_id":161393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:04:45] local.INFO: GPS Element Parsed {"raw_longitude":763082880,"raw_latitude":98431736,"longitude_deg":76.308288,"latitude_deg":9.8431736,"altitude":0,"angle":348,"satellites":34,"speed":37,"hex_longitude":"2d7bb880","hex_latitude":"05ddf2f8","is_valid_coordinates":true} 
[2026-08-21 08:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543567872001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121566029951270912,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916986549901512704,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787279571000,"timestamp_ms":1787279571000,"timestamp_seconds":1787279571,"priority":1,"record_length":96,"hex_timestamp":"000001a02229f838"} 
[2026-08-21 08:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 08:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543567872001,"66":13428,"169":206,"85":15104,"24":37,"16":121566029951270912,"45":8916986549901512704},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-08-21 08:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543567872001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:04:45] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-08-21 08:04:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121566029951270912,"km_value":121566029951270.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916986549901512704,"description":"Unknown IO ID 45"} 
[2026-08-21 08:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543567872001,"power":13428,"unknown_169":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8916986549901512704}} 
[2026-08-21 08:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":161393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:04:45] local.INFO: GPS data processed {"connection_id":161393,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:04:45] local.INFO: Acknowledgment sent {"connection_id":161393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:04:55] local.INFO: TCP Data received {"connection_id":161394,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02227aa60012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02227aa60012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:04:55] local.INFO: Processing buffer {"connection_id":161394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02227aa60012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:04:55] local.INFO: Packet analysis {"connection_id":161394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:04:55] local.INFO: Extracted packet for processing {"connection_id":161394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543526144001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279420000,"timestamp_ms":1787279420000,"timestamp_seconds":1787279420,"priority":1,"record_length":96,"hex_timestamp":"000001a02227aa60"} 
[2026-08-21 08:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 08:04:55] 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-08-21 08:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543526144001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543526144001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:04:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543526144001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":161394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:04:55] local.INFO: GPS data processed {"connection_id":161394,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:04:55] local.INFO: Acknowledgment sent {"connection_id":161394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:05:04] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:05:04] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:05:04] local.INFO: Packet analysis {"connection_id":159169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:05:04] local.INFO: Extracted packet for processing {"connection_id":159169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:05:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:05:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:05:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":159169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:05:04] local.INFO: GPS data processed {"connection_id":159169,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:05:04] local.INFO: Acknowledgment sent {"connection_id":159169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:05:07] local.INFO: TCP Data received {"connection_id":158860,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:07] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:07] local.INFO: IMEI packet received {"connection_id":158860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":158860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:05:09] local.INFO: TCP Data received {"connection_id":158860,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:09] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:09] local.INFO: IMEI packet received {"connection_id":158860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":158860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:05:12] local.INFO: TCP Data received {"connection_id":158860,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:12] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:05:12] local.INFO: IMEI packet received {"connection_id":158860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":158860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:05:13] local.INFO: TCP Data received {"connection_id":158860,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222ba9d0012d7b8a0005df7f20000001601e..."} 
[2026-08-21 08:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222ba9d0012d7b8a0005df7f20000001601e..."} 
[2026-08-21 08:05:13] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222ba9d0012d7b8a0005df7f20000001601e..."} 
[2026-08-21 08:05:13] local.INFO: Packet analysis {"connection_id":158860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222b"} 
[2026-08-21 08:05:13] local.INFO: Extracted packet for processing {"connection_id":158860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222b"} 
[2026-08-21 08:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763070976,"raw_latitude":98533152,"longitude_deg":76.3070976,"latitude_deg":9.8533152,"altitude":0,"angle":352,"satellites":30,"speed":44,"hex_longitude":"2d7b8a00","hex_latitude":"05df7f20","is_valid_coordinates":true} 
[2026-08-21 08:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543596544001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121570990638497792,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903194276068640768,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787279682000,"timestamp_ms":1787279682000,"timestamp_seconds":1787279682,"priority":1,"record_length":96,"hex_timestamp":"000001a0222ba9d0"} 
[2026-08-21 08:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 08:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543596544001,"66":12993,"44":206,"85":15104,"24":44,"16":121570990638497792,"45":8903194276068640768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-21 08:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543596544001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:05:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-21 08:05:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121570990638497792,"km_value":121570990638497.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903194276068640768,"description":"Unknown IO ID 45"} 
[2026-08-21 08:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543596544001,"power":12993,"unknown_44":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8903194276068640768}} 
[2026-08-21 08:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":158860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:05:13] local.INFO: GPS data processed {"connection_id":158860,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:05:13] local.INFO: Acknowledgment sent {"connection_id":158860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:05:23] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:05:23] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:05:23] local.INFO: IMEI packet received {"connection_id":161395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":161395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:05:26] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:05:26] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:05:26] local.INFO: IMEI packet received {"connection_id":159170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":159170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:05:28] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:05:28] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:05:28] local.INFO: IMEI packet received {"connection_id":161395,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":161395,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:05:29] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02227fc68012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02227fc68012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:05:29] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02227fc68012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:05:29] local.INFO: Packet analysis {"connection_id":161395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:05:29] local.INFO: Extracted packet for processing {"connection_id":161395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02227"} 
[2026-08-21 08:05:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543531520001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787279441000,"timestamp_ms":1787279441000,"timestamp_seconds":1787279441,"priority":1,"record_length":96,"hex_timestamp":"000001a02227fc68"} 
[2026-08-21 08:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543531520001,"66":12113,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543531520001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:05:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:05:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543531520001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":161395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:05:29] local.INFO: GPS data processed {"connection_id":161395,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:05:29] local.INFO: Acknowledgment sent {"connection_id":161395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:05:31] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022284e70012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022284e70012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 08:05:31] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022284e70012d1965c0071ff0f8003a01442d..."} 
[2026-08-21 08:05:31] local.INFO: Packet analysis {"connection_id":161395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02228"} 
[2026-08-21 08:05:31] local.INFO: Extracted packet for processing {"connection_id":161395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02228"} 
[2026-08-21 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543536896001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787279462000,"timestamp_ms":1787279462000,"timestamp_seconds":1787279462,"priority":1,"record_length":96,"hex_timestamp":"000001a022284e70"} 
[2026-08-21 08:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:05: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-08-21 08: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-21 08:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543536896001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543536896001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:05:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:05:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543536896001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":161395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:05:31] local.INFO: GPS data processed {"connection_id":161395,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:05:31] local.INFO: Acknowledgment sent {"connection_id":161395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:05:31] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:05:31] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:05:31] local.INFO: IMEI packet received {"connection_id":159170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":159170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:05:33] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:05:33] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:05:33] local.INFO: Packet analysis {"connection_id":159170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:05:33] local.INFO: Extracted packet for processing {"connection_id":159170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:05:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:05:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:05:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":159170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:05:33] local.INFO: GPS data processed {"connection_id":159170,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:05:33] local.INFO: Acknowledgment sent {"connection_id":159170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:05:45] local.INFO: TCP Data received {"connection_id":158860,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222bccf8012d7b850005dfa1f80000015f1d..."} 
[2026-08-21 08:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222bccf8012d7b850005dfa1f80000015f1d..."} 
[2026-08-21 08:05:45] local.INFO: Processing buffer {"connection_id":158860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222bccf8012d7b850005dfa1f80000015f1d..."} 
[2026-08-21 08:05:45] local.INFO: Packet analysis {"connection_id":158860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222b"} 
[2026-08-21 08:05:45] local.INFO: Extracted packet for processing {"connection_id":158860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222b"} 
[2026-08-21 08:05:45] local.INFO: GPS Element Parsed {"raw_longitude":763069696,"raw_latitude":98542072,"longitude_deg":76.3069696,"latitude_deg":9.8542072,"altitude":0,"angle":351,"satellites":29,"speed":36,"hex_longitude":"2d7b8500","hex_latitude":"05dfa1f8","is_valid_coordinates":true} 
[2026-08-21 08:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543598592001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121571424430194688,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901927638675693568,"note":"Value kept but may cause issues"} 
[2026-08-21 08:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787279691000,"timestamp_ms":1787279691000,"timestamp_seconds":1787279691,"priority":1,"record_length":96,"hex_timestamp":"000001a0222bccf8"} 
[2026-08-21 08:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 08:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543598592001,"66":13276,"44":206,"85":15104,"24":36,"16":121571424430194688,"45":8901927638675693568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,85,24,16,45]} 
[2026-08-21 08:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543598592001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:05:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-08-21 08:05:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121571424430194688,"km_value":121571424430194.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901927638675693568,"description":"Unknown IO ID 45"} 
[2026-08-21 08:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543598592001,"power":13276,"unknown_44":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8901927638675693568}} 
[2026-08-21 08:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":158860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674341,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:05:45] local.INFO: GPS data processed {"connection_id":158860,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:05:45] local.INFO: Acknowledgment sent {"connection_id":158860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:06:02] local.INFO: TCP Data received {"connection_id":161395,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02228a078012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02228a078012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:06:02] local.INFO: Processing buffer {"connection_id":161395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02228a078012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:06:02] local.INFO: Packet analysis {"connection_id":161395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02228"} 
[2026-08-21 08:06:02] local.INFO: Extracted packet for processing {"connection_id":161395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02228"} 
[2026-08-21 08:06:02] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543542272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787279483000,"timestamp_ms":1787279483000,"timestamp_seconds":1787279483,"priority":1,"record_length":96,"hex_timestamp":"000001a02228a078"} 
[2026-08-21 08:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161395,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543542272001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543542272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:06:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:06:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543542272001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":161395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:06:02] local.INFO: GPS data processed {"connection_id":161395,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:06:02] local.INFO: Acknowledgment sent {"connection_id":161395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:06:04] local.INFO: TCP Data received {"connection_id":159170,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:06:04] local.INFO: Processing buffer {"connection_id":159170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:06:04] local.INFO: Packet analysis {"connection_id":159170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:06:04] local.INFO: Extracted packet for processing {"connection_id":159170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:06:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":159170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:06:04] local.INFO: GPS data processed {"connection_id":159170,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:06:04] local.INFO: Acknowledgment sent {"connection_id":159170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:06:09] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:09] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:09] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:06:12] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:12] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:12] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:06:17] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:17] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:06:17] local.INFO: IMEI packet received {"connection_id":160039,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":160039,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:06:18] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:06:18] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:06:18] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:06:20] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222c0b78012d7b800005dfc4880000016021..."} 
[2026-08-21 08:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222c0b78012d7b800005dfc4880000016021..."} 
[2026-08-21 08:06:20] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222c0b78012d7b800005dfc4880000016021..."} 
[2026-08-21 08:06:20] local.INFO: Packet analysis {"connection_id":160039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:06:20] local.INFO: Extracted packet for processing {"connection_id":160039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:06:20] local.INFO: GPS Element Parsed {"raw_longitude":763068416,"raw_latitude":98550920,"longitude_deg":76.3068416,"latitude_deg":9.855092,"altitude":0,"angle":352,"satellites":33,"speed":12,"hex_longitude":"2d7b8000","hex_latitude":"05dfc488","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543600896001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121571866811826176,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900520263794423808,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:20] 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-08-21 08:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787279707000,"timestamp_ms":1787279707000,"timestamp_seconds":1787279707,"priority":1,"record_length":96,"hex_timestamp":"000001a0222c0b78"} 
[2026-08-21 08:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 08:06: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-08-21 08: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-08-21 08:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:06: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-08-21 08:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543600896001,"66":13341,"103":206,"85":15104,"24":12,"16":121571866811826176,"45":8900520263794423808},"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-08-21 08:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543600896001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:06:20] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 08:06:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121571866811826176,"km_value":121571866811826.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900520263794423808,"description":"Unknown IO ID 45"} 
[2026-08-21 08:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543600896001,"power":13341,"unknown_103":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8900520263794423808}} 
[2026-08-21 08:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":160039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:06:20] local.INFO: GPS data processed {"connection_id":160039,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:06:20] local.INFO: Acknowledgment sent {"connection_id":160039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:06:21] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222c4228012d7b7a4005dfe888000001611f..."} 
[2026-08-21 08:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222c4228012d7b7a4005dfe888000001611f..."} 
[2026-08-21 08:06:21] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222c4228012d7b7a4005dfe888000001611f..."} 
[2026-08-21 08:06:21] local.INFO: Packet analysis {"connection_id":160039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:06:21] local.INFO: Extracted packet for processing {"connection_id":160039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":763066944,"raw_latitude":98560136,"longitude_deg":76.3066944,"latitude_deg":9.8560136,"altitude":0,"angle":353,"satellites":31,"speed":35,"hex_longitude":"2d7b7a40","hex_latitude":"05dfe888","is_valid_coordinates":true} 
[2026-08-21 08:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543604992001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121572317783392256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899112888913135616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:21] 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-08-21 08:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787279721000,"timestamp_ms":1787279721000,"timestamp_seconds":1787279721,"priority":1,"record_length":96,"hex_timestamp":"000001a0222c4228"} 
[2026-08-21 08:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 08:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":160039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":160039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":160039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543604992001,"66":13624,"103":206,"85":15104,"24":35,"16":121572317783392256,"45":8899112888913135616},"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-08-21 08:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543604992001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:06:21] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 08:06:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121572317783392256,"km_value":121572317783392.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899112888913135616,"description":"Unknown IO ID 45"} 
[2026-08-21 08:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543604992001,"power":13624,"unknown_103":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8899112888913135616}} 
[2026-08-21 08:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":160039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674345,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:06:21] local.INFO: GPS data processed {"connection_id":160039,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:06:21] local.INFO: Acknowledgment sent {"connection_id":160039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:06:23] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:06:23] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:06:23] local.INFO: IMEI packet received {"connection_id":160040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":160040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:06:24] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02228f280012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02228f280012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:06:24] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02228f280012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:06:24] local.INFO: Packet analysis {"connection_id":160040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02228"} 
[2026-08-21 08:06:24] local.INFO: Extracted packet for processing {"connection_id":160040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02228"} 
[2026-08-21 08:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543547648001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06: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-08-21 08:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279504000,"timestamp_ms":1787279504000,"timestamp_seconds":1787279504,"priority":1,"record_length":96,"hex_timestamp":"000001a02228f280"} 
[2026-08-21 08:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 08:06:24] 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-08-21 08:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543547648001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543547648001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:06:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543547648001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":160040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:06:24] local.INFO: GPS data processed {"connection_id":160040,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:06:24] local.INFO: Acknowledgment sent {"connection_id":160040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:06:26] local.INFO: TCP Data received {"connection_id":158861,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:06:26] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:06:26] local.INFO: IMEI packet received {"connection_id":158861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":158861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:06:31] local.INFO: TCP Data received {"connection_id":158861,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:06:31] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:06:31] local.INFO: IMEI packet received {"connection_id":158861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":158861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:06:32] local.INFO: TCP Data received {"connection_id":158861,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:06:32] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:06:32] local.INFO: Packet analysis {"connection_id":158861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:06:32] local.INFO: Extracted packet for processing {"connection_id":158861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 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-08-21 08:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:06:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:06:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":158861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:06:32] local.INFO: GPS data processed {"connection_id":158861,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:06:32] local.INFO: Acknowledgment sent {"connection_id":158861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:06:55] local.INFO: TCP Data received {"connection_id":160040,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022294488012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022294488012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:06:55] local.INFO: Processing buffer {"connection_id":160040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022294488012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:06:55] local.INFO: Packet analysis {"connection_id":160040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:06:55] local.INFO: Extracted packet for processing {"connection_id":160040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543553024001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279525000,"timestamp_ms":1787279525000,"timestamp_seconds":1787279525,"priority":1,"record_length":96,"hex_timestamp":"000001a022294488"} 
[2026-08-21 08:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543553024001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543553024001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:06:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543553024001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":160040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:06:55] local.INFO: GPS data processed {"connection_id":160040,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:06:55] local.INFO: Acknowledgment sent {"connection_id":160040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:07:04] local.INFO: TCP Data received {"connection_id":158861,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:07:04] local.INFO: Processing buffer {"connection_id":158861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:07:04] local.INFO: Packet analysis {"connection_id":158861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:07:04] local.INFO: Extracted packet for processing {"connection_id":158861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:07:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 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-08-21 08: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-08-21 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:07:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:07:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":158861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:07:04] local.INFO: GPS data processed {"connection_id":158861,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:07:04] local.INFO: Acknowledgment sent {"connection_id":158861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:07:07] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:07:07] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:07:07] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:07:09] local.INFO: TCP Data received {"connection_id":160039,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222c6550012d7b748005e00cc80000015f1f..."} 
[2026-08-21 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222c6550012d7b748005e00cc80000015f1f..."} 
[2026-08-21 08:07:09] local.INFO: Processing buffer {"connection_id":160039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222c6550012d7b748005e00cc80000015f1f..."} 
[2026-08-21 08:07:09] local.INFO: Packet analysis {"connection_id":160039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:09] local.INFO: Extracted packet for processing {"connection_id":160039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":763065472,"raw_latitude":98569416,"longitude_deg":76.3065472,"latitude_deg":9.8569416,"altitude":0,"angle":351,"satellites":31,"speed":41,"hex_longitude":"2d7b7480","hex_latitude":"05e00cc8","is_valid_coordinates":true} 
[2026-08-21 08:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543608576001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121572773049925632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897494407799408640,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:09] 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-08-21 08:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787279730000,"timestamp_ms":1787279730000,"timestamp_seconds":1787279730,"priority":1,"record_length":96,"hex_timestamp":"000001a0222c6550"} 
[2026-08-21 08:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-21 08:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160039,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:07: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-08-21 08:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543608576001,"66":13450,"103":206,"85":15104,"24":41,"16":121572773049925632,"45":8897494407799408640},"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-08-21 08:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543608576001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:07:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 08:07:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121572773049925632,"km_value":121572773049925.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897494407799408640,"description":"Unknown IO ID 45"} 
[2026-08-21 08:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543608576001,"power":13450,"unknown_103":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8897494407799408640}} 
[2026-08-21 08:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":160039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:07:09] local.INFO: GPS data processed {"connection_id":160039,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:07:09] local.INFO: Acknowledgment sent {"connection_id":160039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:07:12] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:07:12] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:07:12] local.INFO: IMEI packet received {"connection_id":161396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":161396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:07:16] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:16] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:16] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:07:18] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:18] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:18] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:07:19] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222c8878012d7b6f0005e030e8000301611f..."} 
[2026-08-21 08:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222c8878012d7b6f0005e030e8000301611f..."} 
[2026-08-21 08:07:19] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222c8878012d7b6f0005e030e8000301611f..."} 
[2026-08-21 08:07:19] local.INFO: Packet analysis {"connection_id":161396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:19] local.INFO: Extracted packet for processing {"connection_id":161396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:19] local.INFO: GPS Element Parsed {"raw_longitude":763064064,"raw_latitude":98578664,"longitude_deg":76.3064064,"latitude_deg":9.8578664,"altitude":3,"angle":353,"satellites":31,"speed":42,"hex_longitude":"2d7b6f00","hex_latitude":"05e030e8","is_valid_coordinates":true} 
[2026-08-21 08:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543610880001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121573228316459008,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895875926685698048,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:19] 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-08-21 08:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787279739000,"timestamp_ms":1787279739000,"timestamp_seconds":1787279739,"priority":1,"record_length":96,"hex_timestamp":"000001a0222c8878"} 
[2026-08-21 08:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 08:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543610880001,"66":13319,"103":206,"85":15104,"24":42,"16":121573228316459008,"45":8895875926685698048},"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-08-21 08:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543610880001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121573228316459008,"km_value":121573228316459.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895875926685698048,"description":"Unknown IO ID 45"} 
[2026-08-21 08:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543610880001,"power":13319,"unknown_103":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8895875926685698048}} 
[2026-08-21 08:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":161396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:07:19] local.INFO: GPS data processed {"connection_id":161396,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:07:19] local.INFO: Acknowledgment sent {"connection_id":161396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:07:23] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:23] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:07:23] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:07:24] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222ccae0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222ccae0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:07:24] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222ccae0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:07:24] local.INFO: Packet analysis {"connection_id":159171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:24] local.INFO: Extracted packet for processing {"connection_id":159171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543612160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07: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-08-21 08:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279756000,"timestamp_ms":1787279756000,"timestamp_seconds":1787279756,"priority":1,"record_length":96,"hex_timestamp":"000001a0222ccae0"} 
[2026-08-21 08:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:07:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543612160001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543612160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:07:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543612160001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":159171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:07:24] local.INFO: GPS data processed {"connection_id":159171,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:07:24] local.INFO: Acknowledgment sent {"connection_id":159171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:07:26] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:07:26] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:07:26] local.INFO: IMEI packet received {"connection_id":160041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":160041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:07:31] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:07:31] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:07:31] local.INFO: IMEI packet received {"connection_id":160041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":160041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:07:32] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:07:32] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:07:32] local.INFO: Packet analysis {"connection_id":160041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:07:32] local.INFO: Extracted packet for processing {"connection_id":160041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:07:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:07:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:07:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":160041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:07:32] local.INFO: GPS data processed {"connection_id":160041,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:07:32] local.INFO: Acknowledgment sent {"connection_id":160041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:07:52] local.INFO: TCP Data received {"connection_id":161396,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222caba0012d7b6ac005e055f0000401611e..."} 
[2026-08-21 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222caba0012d7b6ac005e055f0000401611e..."} 
[2026-08-21 08:07:52] local.INFO: Processing buffer {"connection_id":161396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222caba0012d7b6ac005e055f0000401611e..."} 
[2026-08-21 08:07:52] local.INFO: Packet analysis {"connection_id":161396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:52] local.INFO: Extracted packet for processing {"connection_id":161396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:07:52] local.INFO: GPS Element Parsed {"raw_longitude":763062976,"raw_latitude":98588144,"longitude_deg":76.3062976,"latitude_deg":9.8588144,"altitude":4,"angle":353,"satellites":30,"speed":39,"hex_longitude":"2d7b6ac0","hex_latitude":"05e055f0","is_valid_coordinates":true} 
[2026-08-21 08:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543613184001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121573692172926976,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894327814316156928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] 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-08-21 08:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787279748000,"timestamp_ms":1787279748000,"timestamp_seconds":1787279748,"priority":1,"record_length":96,"hex_timestamp":"000001a0222caba0"} 
[2026-08-21 08:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":232,"raw_value":4160749568,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4132052658135768832,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2133590222,"corrected_to":0} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":169,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3238055295,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3895197696,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3747399680,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57842197194495291,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.WARNING: Large IO value detected {"io_id":43,"raw_value":7732681855053463557,"note":"Value kept but may cause issues"} 
[2026-08-21 08:07:52] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,85,24,241,157,16,234,160,101,45,128,12,31,10,66,233,64,232,11,1,240,29,227,34,223,4,113,205,36,169,138,32,30,239,50,44,2,175,5,42,94,43],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2133590222,"validated":0}]} 
[2026-08-21 08:07:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216561042865127424,"timestamp_seconds":216561042865127.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543613184001,"66":13406,"103":206,"85":15104,"24":39,"16":121573692172926976,"45":8894327814316156928},"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-08-21 08:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543613184001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:07:52] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 08:07:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121573692172926976,"km_value":121573692172926.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894327814316156928,"description":"Unknown IO ID 45"} 
[2026-08-21 08:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543613184001,"power":13406,"unknown_103":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8894327814316156928}} 
[2026-08-21 08:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":161396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:07:52] local.INFO: GPS data processed {"connection_id":161396,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:07:52] local.INFO: Acknowledgment sent {"connection_id":161396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:08:04] local.INFO: TCP Data received {"connection_id":160041,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:08:04] local.INFO: Processing buffer {"connection_id":160041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02229dce0012da67700054b3710001c005f2f..."} 
[2026-08-21 08:08:04] local.INFO: Packet analysis {"connection_id":160041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:08:04] local.INFO: Extracted packet for processing {"connection_id":160041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02229"} 
[2026-08-21 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279564000,"timestamp_ms":1787279564000,"timestamp_seconds":1787279564,"priority":1,"record_length":96,"hex_timestamp":"000001a02229dce0"} 
[2026-08-21 08:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543491328001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:08:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:08:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543491328001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":160041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:08:04] local.INFO: GPS data processed {"connection_id":160041,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:08:04] local.INFO: Acknowledgment sent {"connection_id":160041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:08:07] local.INFO: TCP Data received {"connection_id":158862,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:08:07] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:08:07] local.INFO: IMEI packet received {"connection_id":158862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":158862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:08:12] local.INFO: TCP Data received {"connection_id":158862,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:08:12] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:08:12] local.INFO: IMEI packet received {"connection_id":158862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":158862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:08:13] local.INFO: TCP Data received {"connection_id":158862,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222ccec8012d7b66c005e078880006016021..."} 
[2026-08-21 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222ccec8012d7b66c005e078880006016021..."} 
[2026-08-21 08:08:13] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222ccec8012d7b66c005e078880006016021..."} 
[2026-08-21 08:08:13] local.INFO: Packet analysis {"connection_id":158862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:08:13] local.INFO: Extracted packet for processing {"connection_id":158862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763061952,"raw_latitude":98597000,"longitude_deg":76.3061952,"latitude_deg":9.8597,"altitude":6,"angle":352,"satellites":33,"speed":39,"hex_longitude":"2d7b66c0","hex_latitude":"05e07888","is_valid_coordinates":true} 
[2026-08-21 08:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543615488001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121574125964623872,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893131545667563520,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:13] 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-08-21 08:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787279757000,"timestamp_ms":1787279757000,"timestamp_seconds":1787279757,"priority":1,"record_length":96,"hex_timestamp":"000001a0222ccec8"} 
[2026-08-21 08:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 08:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543615488001,"66":13406,"103":206,"85":15104,"24":39,"16":121574125964623872,"45":8893131545667563520},"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-08-21 08:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543615488001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:08:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 08:08:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121574125964623872,"km_value":121574125964623.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893131545667563520,"description":"Unknown IO ID 45"} 
[2026-08-21 08:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543615488001,"power":13406,"unknown_103":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8893131545667563520}} 
[2026-08-21 08:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":158862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674356,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:08:13] local.INFO: GPS data processed {"connection_id":158862,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:08:13] local.INFO: Acknowledgment sent {"connection_id":158862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:08:18] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:18] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:18] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:08:19] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:19] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:19] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:08:23] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:23] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:08:23] local.INFO: IMEI packet received {"connection_id":161397,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":161397,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:08:24] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222d6ef0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222d6ef0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:08:24] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222d6ef0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:08:24] local.INFO: Packet analysis {"connection_id":161397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:08:24] local.INFO: Extracted packet for processing {"connection_id":161397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543622912001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08: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-08-21 08:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279798000,"timestamp_ms":1787279798000,"timestamp_seconds":1787279798,"priority":1,"record_length":96,"hex_timestamp":"000001a0222d6ef0"} 
[2026-08-21 08:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543622912001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543622912001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543622912001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":161397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:08:24] local.INFO: GPS data processed {"connection_id":161397,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:08:24] local.INFO: Acknowledgment sent {"connection_id":161397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:08:26] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:08:26] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:08:26] local.INFO: IMEI packet received {"connection_id":158863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":158863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:08:31] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:08:31] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:08:31] local.INFO: IMEI packet received {"connection_id":158863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":158863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:08:32] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222d1ce8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222d1ce8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:08:32] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222d1ce8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:08:32] local.INFO: Packet analysis {"connection_id":159171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:08:32] local.INFO: Extracted packet for processing {"connection_id":159171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543617536001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279777000,"timestamp_ms":1787279777000,"timestamp_seconds":1787279777,"priority":1,"record_length":96,"hex_timestamp":"000001a0222d1ce8"} 
[2026-08-21 08:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543617536001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543617536001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543617536001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:08:32] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:08:32] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:08:32] local.INFO: Packet analysis {"connection_id":158863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:08:32] local.INFO: Extracted packet for processing {"connection_id":158863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:08:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":158863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:08:32] local.INFO: GPS data processed {"connection_id":158863,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:08:32] local.INFO: Acknowledgment sent {"connection_id":158863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":159171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:08:32] local.INFO: GPS data processed {"connection_id":159171,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:08:32] local.INFO: Acknowledgment sent {"connection_id":159171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:08:44] local.INFO: TCP Data received {"connection_id":158862,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222cf5d8012d7b62c005e09e20000501611c..."} 
[2026-08-21 08:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222cf5d8012d7b62c005e09e20000501611c..."} 
[2026-08-21 08:08:44] local.INFO: Processing buffer {"connection_id":158862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222cf5d8012d7b62c005e09e20000501611c..."} 
[2026-08-21 08:08:44] local.INFO: Packet analysis {"connection_id":158862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:08:44] local.INFO: Extracted packet for processing {"connection_id":158862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222c"} 
[2026-08-21 08:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763060928,"raw_latitude":98606624,"longitude_deg":76.3060928,"latitude_deg":9.8606624,"altitude":5,"angle":353,"satellites":28,"speed":32,"hex_longitude":"2d7b62c0","hex_latitude":"05e09e20","is_valid_coordinates":true} 
[2026-08-21 08:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543617792001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121574594116059136,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892005645762988032,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787279767000,"timestamp_ms":1787279767000,"timestamp_seconds":1787279767,"priority":1,"record_length":96,"hex_timestamp":"000001a0222cf5d8"} 
[2026-08-21 08:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 08:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543617792001,"66":13493,"102":206,"85":15104,"24":32,"16":121574594116059136,"45":8892005645762988032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,45]} 
[2026-08-21 08:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543617792001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:08:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121574594116059136,"km_value":121574594116059.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892005645762988032,"description":"Unknown IO ID 45"} 
[2026-08-21 08:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543617792001,"power":13493,"unknown_102":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8892005645762988032}} 
[2026-08-21 08:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":158862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:08:44] local.INFO: GPS data processed {"connection_id":158862,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:08:44] local.INFO: Acknowledgment sent {"connection_id":158862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:08:55] local.INFO: TCP Data received {"connection_id":161397,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222dc0f8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222dc0f8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:08:55] local.INFO: Processing buffer {"connection_id":161397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222dc0f8012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:08:55] local.INFO: Packet analysis {"connection_id":161397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:08:55] local.INFO: Extracted packet for processing {"connection_id":161397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543628288001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279819000,"timestamp_ms":1787279819000,"timestamp_seconds":1787279819,"priority":1,"record_length":96,"hex_timestamp":"000001a0222dc0f8"} 
[2026-08-21 08:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 08:08:55] 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-08-21 08:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161397,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543628288001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543628288001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543628288001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":161397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:08:55] local.INFO: GPS data processed {"connection_id":161397,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:08:55] local.INFO: Acknowledgment sent {"connection_id":161397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:09:04] local.INFO: TCP Data received {"connection_id":158863,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:09:04] local.INFO: Processing buffer {"connection_id":158863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:09:04] local.INFO: Packet analysis {"connection_id":158863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:04] local.INFO: Extracted packet for processing {"connection_id":158863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:09: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-08-21 08:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":158863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:09:04] local.INFO: GPS data processed {"connection_id":158863,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:09:04] local.INFO: Acknowledgment sent {"connection_id":158863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:09:07] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:07] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:07] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:09:07] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:07] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:07] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:09:12] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:12] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:09:12] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:09:13] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222d1ce8012d7b5cc005e0c1000004015e19..."} 
[2026-08-21 08:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222d1ce8012d7b5cc005e0c1000004015e19..."} 
[2026-08-21 08:09:13] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222d1ce8012d7b5cc005e0c1000004015e19..."} 
[2026-08-21 08:09:13] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:09:13] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222d"} 
[2026-08-21 08:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":98615552,"longitude_deg":76.3059392,"latitude_deg":9.8615552,"altitude":4,"angle":350,"satellites":25,"speed":39,"hex_longitude":"2d7b5cc0","hex_latitude":"05e0c100","is_valid_coordinates":true} 
[2026-08-21 08:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543620352001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121575032202723328,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890879745858609152,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787279777000,"timestamp_ms":1787279777000,"timestamp_seconds":1787279777,"priority":1,"record_length":96,"hex_timestamp":"000001a0222d1ce8"} 
[2026-08-21 08:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 08:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543620352001,"66":13526,"102":206,"85":15104,"24":39,"16":121575032202723328,"45":8890879745858609152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,85,24,16,45]} 
[2026-08-21 08:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543620352001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:09:13] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:09:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121575032202723328,"km_value":121575032202723.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890879745858609152,"description":"Unknown IO ID 45"} 
[2026-08-21 08:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543620352001,"power":13526,"unknown_102":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8890879745858609152}} 
[2026-08-21 08:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:09:13] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:09:13] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:09:18] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:09:18] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:09:18] local.INFO: IMEI packet received {"connection_id":159173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":159173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:09:22] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:09:22] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:09:22] local.INFO: IMEI packet received {"connection_id":159173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":159173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:09:23] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e1300012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e1300012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:09:23] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e1300012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:09:23] local.INFO: Packet analysis {"connection_id":159173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:23] local.INFO: Extracted packet for processing {"connection_id":159173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543633664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787279840000,"timestamp_ms":1787279840000,"timestamp_seconds":1787279840,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e1300"} 
[2026-08-21 08:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:09: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-08-21 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543633664001,"66":12069,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543633664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543633664001,"power":12069,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":159173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:09:23] local.INFO: GPS data processed {"connection_id":159173,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:09:23] local.INFO: Acknowledgment sent {"connection_id":159173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:09:26] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:09:26] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:09:26] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:09:31] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:09:31] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:09:31] local.INFO: IMEI packet received {"connection_id":160042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":160042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:09:32] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:09:32] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:09:32] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:32] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:09:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:09:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:09:32] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:09:32] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:09:43] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222fad28012d7b330005e1e6d00000016220..."} 
[2026-08-21 08:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222fad28012d7b330005e1e6d00000016220..."} 
[2026-08-21 08:09:43] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222fad28012d7b330005e1e6d00000016220..."} 
[2026-08-21 08:09:43] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:09:43] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763048704,"raw_latitude":98690768,"longitude_deg":76.3048704,"latitude_deg":9.8690768,"altitude":0,"angle":354,"satellites":32,"speed":30,"hex_longitude":"2d7b3300","hex_latitude":"05e1e6d0","is_valid_coordinates":true} 
[2026-08-21 08:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543662592001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878424478158336000,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121578743054467072,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787279945000,"timestamp_ms":1787279945000,"timestamp_seconds":1787279945,"priority":1,"record_length":96,"hex_timestamp":"000001a0222fad28"} 
[2026-08-21 08:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 08:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543662592001,"66":13450,"45":8878424478158336000,"85":15104,"24":30,"16":121578743054467072},"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-08-21 08:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543662592001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878424478158336000,"description":"Unknown IO ID 45"} 
[2026-08-21 08:09:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121578743054467072,"km_value":121578743054467.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:09:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457543662592001,"power":13450,"unknown_45":8878424478158336000,"unknown_85":15104,"ignition":30,"odometer":null}} 
[2026-08-21 08:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:09:43] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:09:43] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:09:54] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e6508012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e6508012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:09:54] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e6508012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:09:54] local.INFO: Packet analysis {"connection_id":159173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:54] local.INFO: Extracted packet for processing {"connection_id":159173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543639040001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:09: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-08-21 08:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787279861000,"timestamp_ms":1787279861000,"timestamp_seconds":1787279861,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e6508"} 
[2026-08-21 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-08-21 08:09: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-08-21 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-21 08:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543639040001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543639040001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:09:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543639040001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":159173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:09:54] local.INFO: GPS data processed {"connection_id":159173,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:09:54] local.INFO: Acknowledgment sent {"connection_id":159173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:10:04] local.INFO: TCP Data received {"connection_id":160042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:10:04] local.INFO: Processing buffer {"connection_id":160042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:10:04] local.INFO: Packet analysis {"connection_id":160042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:10:04] local.INFO: Extracted packet for processing {"connection_id":160042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:10:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:10: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-08-21 08:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:10:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:10:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":160042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:10:04] local.INFO: GPS data processed {"connection_id":160042,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:10:04] local.INFO: Acknowledgment sent {"connection_id":160042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:10:07] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:07] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:07] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:10:09] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:09] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:09] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:10:12] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:12] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:10:12] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:10:18] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0222fe7c0012d7b2ec005e20b18000001601c..."} 
[2026-08-21 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222fe7c0012d7b2ec005e20b18000001601c..."} 
[2026-08-21 08:10:18] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222fe7c0012d7b2ec005e20b18000001601c..."} 
[2026-08-21 08:10:18] local.INFO: Packet analysis {"connection_id":159174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:10:18] local.INFO: Extracted packet for processing {"connection_id":159174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:10:18] local.INFO: GPS Element Parsed {"raw_longitude":763047616,"raw_latitude":98700056,"longitude_deg":76.3047616,"latitude_deg":9.8700056,"altitude":0,"angle":352,"satellites":28,"speed":20,"hex_longitude":"2d7b2ec0","hex_latitude":"05e20b18","is_valid_coordinates":true} 
[2026-08-21 08:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543665920001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877439315742216192,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579194026033152,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787279960000,"timestamp_ms":1787279960000,"timestamp_seconds":1787279960,"priority":1,"record_length":96,"hex_timestamp":"000001a0222fe7c0"} 
[2026-08-21 08:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 08:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:10: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-08-21 08:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543665920001,"66":13450,"45":8877439315742216192,"85":15104,"24":20,"16":121579194026033152},"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-08-21 08:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543665920001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877439315742216192,"description":"Unknown IO ID 45"} 
[2026-08-21 08:10:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579194026033152,"km_value":121579194026033.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:10:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457543665920001,"power":13450,"unknown_45":8877439315742216192,"unknown_85":15104,"ignition":20,"odometer":null}} 
[2026-08-21 08:10:18] local.INFO: TCP Data received {"connection_id":158864,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:10:18] local.INFO: Processing buffer {"connection_id":158864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:10:18] local.INFO: IMEI packet received {"connection_id":158864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":158864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":159174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674369,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:10:18] local.INFO: GPS data processed {"connection_id":159174,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:10:18] local.INFO: Acknowledgment sent {"connection_id":159174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:10:23] local.INFO: TCP Data received {"connection_id":158864,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:10:23] local.INFO: Processing buffer {"connection_id":158864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:10:23] local.INFO: IMEI packet received {"connection_id":158864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":158864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:10:24] local.INFO: TCP Data received {"connection_id":158864,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222eb710012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222eb710012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:10:24] local.INFO: Processing buffer {"connection_id":158864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222eb710012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:10:24] local.INFO: Packet analysis {"connection_id":158864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:10:24] local.INFO: Extracted packet for processing {"connection_id":158864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543644416001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279882000,"timestamp_ms":1787279882000,"timestamp_seconds":1787279882,"priority":1,"record_length":96,"hex_timestamp":"000001a0222eb710"} 
[2026-08-21 08:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543644416001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543644416001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:10:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543644416001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":158864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:10:24] local.INFO: GPS data processed {"connection_id":158864,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:10:24] local.INFO: Acknowledgment sent {"connection_id":158864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:10:26] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:10:26] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:10:26] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:10:31] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:10:31] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:10:31] local.INFO: IMEI packet received {"connection_id":160043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":160043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:10:32] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:10:32] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:10:32] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:10:32] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:10:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:10:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:10:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:10:32] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:10:32] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:10:49] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223039c8012d7b2b8005e22f180002016424..."} 
[2026-08-21 08:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223039c8012d7b2b8005e22f180002016424..."} 
[2026-08-21 08:10:49] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223039c8012d7b2b8005e22f180002016424..."} 
[2026-08-21 08:10:49] local.INFO: Packet analysis {"connection_id":159174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:10:49] local.INFO: Extracted packet for processing {"connection_id":159174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:10:49] local.INFO: GPS Element Parsed {"raw_longitude":763046784,"raw_latitude":98709272,"longitude_deg":76.3046784,"latitude_deg":9.8709272,"altitude":2,"angle":356,"satellites":36,"speed":18,"hex_longitude":"2d7b2b80","hex_latitude":"05e22f18","is_valid_coordinates":true} 
[2026-08-21 08:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543669760001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876243047093573632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579644997599232,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10: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-08-21 08:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787279981000,"timestamp_ms":1787279981000,"timestamp_seconds":1787279981,"priority":1,"record_length":96,"hex_timestamp":"000001a0223039c8"} 
[2026-08-21 08:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 08:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543669760001,"66":12841,"45":8876243047093573632,"85":15104,"24":18,"16":121579644997599232},"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-08-21 08:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543669760001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876243047093573632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:10:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579644997599232,"km_value":121579644997599.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:10:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457543669760001,"power":12841,"unknown_45":8876243047093573632,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-08-21 08:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":159174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:10:49] local.INFO: GPS data processed {"connection_id":159174,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:10:49] local.INFO: Acknowledgment sent {"connection_id":159174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:10:55] local.INFO: TCP Data received {"connection_id":158864,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222f0918012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222f0918012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:10:55] local.INFO: Processing buffer {"connection_id":158864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222f0918012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:10:55] local.INFO: Packet analysis {"connection_id":158864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:10:55] local.INFO: Extracted packet for processing {"connection_id":158864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543649792001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279903000,"timestamp_ms":1787279903000,"timestamp_seconds":1787279903,"priority":1,"record_length":96,"hex_timestamp":"000001a0222f0918"} 
[2026-08-21 08:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 08:10:55] 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-08-21 08: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-08-21 08:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543649792001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543649792001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543649792001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":158864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:10:55] local.INFO: GPS data processed {"connection_id":158864,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:10:55] local.INFO: Acknowledgment sent {"connection_id":158864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:11:04] local.INFO: TCP Data received {"connection_id":160043,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:11:04] local.INFO: Processing buffer {"connection_id":160043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:11:04] local.INFO: Packet analysis {"connection_id":160043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:11:04] local.INFO: Extracted packet for processing {"connection_id":160043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:11:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:11:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":160043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:11:04] local.INFO: GPS data processed {"connection_id":160043,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:11:04] local.INFO: Acknowledgment sent {"connection_id":160043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:11:07] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:11:07] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:11:07] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:11:12] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:11:12] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:11:12] local.INFO: IMEI packet received {"connection_id":160044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":160044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:11:13] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022304198012d7b2ac005e232680002015226..."} 
[2026-08-21 08:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022304198012d7b2ac005e232680002015226..."} 
[2026-08-21 08:11:13] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022304198012d7b2ac005e232680002015226..."} 
[2026-08-21 08:11:13] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:11:13] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763046592,"raw_latitude":98710120,"longitude_deg":76.3046592,"latitude_deg":9.871012,"altitude":2,"angle":338,"satellites":38,"speed":16,"hex_longitude":"2d7b2ac0","hex_latitude":"05e23268","is_valid_coordinates":true} 
[2026-08-21 08:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543675136001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875328253421623296,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579687947272192,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787279983000,"timestamp_ms":1787279983000,"timestamp_seconds":1787279983,"priority":1,"record_length":96,"hex_timestamp":"000001a022304198"} 
[2026-08-21 08:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 08:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543675136001,"66":13254,"45":8875328253421623296,"85":15104,"24":16,"16":121579687947272192},"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-08-21 08:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543675136001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875328253421623296,"description":"Unknown IO ID 45"} 
[2026-08-21 08:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579687947272192,"km_value":121579687947272.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:11:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457543675136001,"power":13254,"unknown_45":8875328253421623296,"unknown_85":15104,"ignition":16,"odometer":null}} 
[2026-08-21 08:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:11:13] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:11:13] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:11:18] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:11:18] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:11:18] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:11:23] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:11:23] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:11:23] local.INFO: IMEI packet received {"connection_id":160045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":160045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:11:24] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222f5b20012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222f5b20012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:11:24] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222f5b20012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:11:24] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:11:24] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543655168001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11: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-08-21 08:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279924000,"timestamp_ms":1787279924000,"timestamp_seconds":1787279924,"priority":1,"record_length":96,"hex_timestamp":"000001a0222f5b20"} 
[2026-08-21 08:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543655168001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543655168001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:11:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543655168001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:11:24] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:11:24] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:11:27] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:11:27] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:11:27] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:11:31] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:11:31] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:11:31] local.INFO: IMEI packet received {"connection_id":160046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":160046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:11:32] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:11:32] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:11:32] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:11:32] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:11:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:11:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:11:32] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:11:32] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:11:44] local.INFO: TCP Data received {"connection_id":160044,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022304d50012d7b298005e235b80003015d27..."} 
[2026-08-21 08:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022304d50012d7b298005e235b80003015d27..."} 
[2026-08-21 08:11:44] local.INFO: Processing buffer {"connection_id":160044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022304d50012d7b298005e235b80003015d27..."} 
[2026-08-21 08:11:44] local.INFO: Packet analysis {"connection_id":160044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:11:44] local.INFO: Extracted packet for processing {"connection_id":160044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763046272,"raw_latitude":98710968,"longitude_deg":76.3046272,"latitude_deg":9.8710968,"altitude":3,"angle":349,"satellites":39,"speed":10,"hex_longitude":"2d7b2980","hex_latitude":"05e235b8","is_valid_coordinates":true} 
[2026-08-21 08:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543675648001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875117147189307392,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579730896945152,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787279986000,"timestamp_ms":1787279986000,"timestamp_seconds":1787279986,"priority":1,"record_length":96,"hex_timestamp":"000001a022304d50"} 
[2026-08-21 08:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 08:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543675648001,"66":12950,"45":8875117147189307392,"85":15104,"24":10,"16":121579730896945152},"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-08-21 08:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543675648001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875117147189307392,"description":"Unknown IO ID 45"} 
[2026-08-21 08:11:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579730896945152,"km_value":121579730896945.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:11:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457543675648001,"power":12950,"unknown_45":8875117147189307392,"unknown_85":15104,"ignition":10,"odometer":null}} 
[2026-08-21 08:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":160044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674378,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:11:44] local.INFO: GPS data processed {"connection_id":160044,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:11:44] local.INFO: Acknowledgment sent {"connection_id":160044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:11:55] local.INFO: TCP Data received {"connection_id":160045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222fad28012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222fad28012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:11:55] local.INFO: Processing buffer {"connection_id":160045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222fad28012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:11:55] local.INFO: Packet analysis {"connection_id":160045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:11:55] local.INFO: Extracted packet for processing {"connection_id":160045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543660544001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279945000,"timestamp_ms":1787279945000,"timestamp_seconds":1787279945,"priority":1,"record_length":96,"hex_timestamp":"000001a0222fad28"} 
[2026-08-21 08:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543660544001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543660544001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:11:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543660544001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":160045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:11:55] local.INFO: GPS data processed {"connection_id":160045,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:11:55] local.INFO: Acknowledgment sent {"connection_id":160045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:12:04] local.INFO: TCP Data received {"connection_id":160046,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:12:04] local.INFO: Processing buffer {"connection_id":160046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:12:04] local.INFO: Packet analysis {"connection_id":160046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:12:04] local.INFO: Extracted packet for processing {"connection_id":160046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:12:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:12: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-08-21 08:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:12:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:12:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":160046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:12:04] local.INFO: GPS data processed {"connection_id":160046,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:12:04] local.INFO: Acknowledgment sent {"connection_id":160046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:12:12] local.INFO: TCP Data received {"connection_id":158865,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:12:12] local.INFO: Processing buffer {"connection_id":158865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:12:12] local.INFO: IMEI packet received {"connection_id":158865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":158865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:12:15] local.INFO: TCP Data received {"connection_id":158865,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:12:15] local.INFO: Processing buffer {"connection_id":158865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:12:15] local.INFO: IMEI packet received {"connection_id":158865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":158865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:12:15] local.INFO: TCP Data received {"connection_id":158865,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022309f58012d7b288005e236600004016121..."} 
[2026-08-21 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022309f58012d7b288005e236600004016121..."} 
[2026-08-21 08:12:15] local.INFO: Processing buffer {"connection_id":158865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022309f58012d7b288005e236600004016121..."} 
[2026-08-21 08:12:15] local.INFO: Packet analysis {"connection_id":158865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:12:15] local.INFO: Extracted packet for processing {"connection_id":158865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:12:15] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98711136,"longitude_deg":76.3046016,"latitude_deg":9.8711136,"altitude":4,"angle":353,"satellites":33,"speed":0,"hex_longitude":"2d7b2880","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543676416001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579756666748928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874765303468636160,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787280007000,"timestamp_ms":1787280007000,"timestamp_seconds":1787280007,"priority":1,"record_length":96,"hex_timestamp":"000001a022309f58"} 
[2026-08-21 08:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 08:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:12: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-08-21 08:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543676416001,"66":13189,"207":206,"85":15104,"24":0,"16":121579756666748928,"45":8874765303468636160},"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-08-21 08:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543676416001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:12:15] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 08:12:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579756666748928,"km_value":121579756666748.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874765303468636160,"description":"Unknown IO ID 45"} 
[2026-08-21 08:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543676416001,"power":13189,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874765303468636160}} 
[2026-08-21 08:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":158865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:12:15] local.INFO: GPS data processed {"connection_id":158865,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:12:15] local.INFO: Acknowledgment sent {"connection_id":158865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:12:17] local.INFO: TCP Data received {"connection_id":158865,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02230f160012d7b288005e236600004016124..."} 
[2026-08-21 08:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02230f160012d7b288005e236600004016124..."} 
[2026-08-21 08:12:17] local.INFO: Processing buffer {"connection_id":158865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02230f160012d7b288005e236600004016124..."} 
[2026-08-21 08:12:17] local.INFO: Packet analysis {"connection_id":158865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:12:17] local.INFO: Extracted packet for processing {"connection_id":158865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:12:17] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98711136,"longitude_deg":76.3046016,"latitude_deg":9.8711136,"altitude":4,"angle":353,"satellites":36,"speed":0,"hex_longitude":"2d7b2880","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-08-21 08:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543681792001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579756666748928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828491968512,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787280028000,"timestamp_ms":1787280028000,"timestamp_seconds":1787280028,"priority":1,"record_length":96,"hex_timestamp":"000001a02230f160"} 
[2026-08-21 08:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 08:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543681792001,"66":13059,"207":206,"85":15104,"24":0,"16":121579756666748928,"45":8874483828491968512},"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-08-21 08:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543681792001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:12:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 08:12:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579756666748928,"km_value":121579756666748.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828491968512,"description":"Unknown IO ID 45"} 
[2026-08-21 08:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543681792001,"power":13059,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874483828491968512}} 
[2026-08-21 08:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":158865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:12:17] local.INFO: GPS data processed {"connection_id":158865,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:12:17] local.INFO: Acknowledgment sent {"connection_id":158865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:12:18] local.INFO: TCP Data received {"connection_id":158866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:12:18] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:12:18] local.INFO: IMEI packet received {"connection_id":158866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":158866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:12:23] local.INFO: TCP Data received {"connection_id":158866,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:12:23] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:12:23] local.INFO: IMEI packet received {"connection_id":158866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":158866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:12:24] local.INFO: TCP Data received {"connection_id":158866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0222fff30012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222fff30012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:12:24] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222fff30012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:12:24] local.INFO: Packet analysis {"connection_id":158866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:12:24] local.INFO: Extracted packet for processing {"connection_id":158866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222f"} 
[2026-08-21 08:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543665920001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12: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-08-21 08:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787279966000,"timestamp_ms":1787279966000,"timestamp_seconds":1787279966,"priority":1,"record_length":96,"hex_timestamp":"000001a0222fff30"} 
[2026-08-21 08:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543665920001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543665920001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:12:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543665920001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":158866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:12:24] local.INFO: GPS data processed {"connection_id":158866,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:12:24] local.INFO: Acknowledgment sent {"connection_id":158866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:12:26] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:12:26] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:12:26] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:12:31] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:12:31] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:12:31] local.INFO: IMEI packet received {"connection_id":160047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":160047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:12:32] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:12:32] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:12:32] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:12:32] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:12:32] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:12:32] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:12:48] local.INFO: TCP Data received {"connection_id":158865,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022314368012d7b288005e236600004016122..."} 
[2026-08-21 08:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022314368012d7b288005e236600004016122..."} 
[2026-08-21 08:12:48] local.INFO: Processing buffer {"connection_id":158865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022314368012d7b288005e236600004016122..."} 
[2026-08-21 08:12:48] local.INFO: Packet analysis {"connection_id":158865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:12:48] local.INFO: Extracted packet for processing {"connection_id":158865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:12:48] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98711136,"longitude_deg":76.3046016,"latitude_deg":9.8711136,"altitude":4,"angle":353,"satellites":34,"speed":0,"hex_longitude":"2d7b2880","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-08-21 08:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543687168001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579756666748928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828491968512,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787280049000,"timestamp_ms":1787280049000,"timestamp_seconds":1787280049,"priority":1,"record_length":96,"hex_timestamp":"000001a022314368"} 
[2026-08-21 08:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169572752718,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311572174,"corrected_to":0} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3221302651,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3221611019,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2315308366,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":175,"raw_value":4020371456,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790000128,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:48] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,207,85,24,241,157,16,240,160,159,45,128,54,4,33,10,66,77,53,3,39,65,192,1,198,227,34,226,113,205,18,231,46,28,239,52,2,175,5,30],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1311572174,"validated":0}]} 
[2026-08-21 08:12:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288618658375139328,"timestamp_seconds":288618658375139.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":158865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":158865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":158865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543687168001,"66":12961,"207":206,"85":15104,"24":0,"16":121579756666748928,"45":8874483828491968512},"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-08-21 08:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543687168001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:12:48] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 08:12:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579756666748928,"km_value":121579756666748.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828491968512,"description":"Unknown IO ID 45"} 
[2026-08-21 08:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543687168001,"power":12961,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874483828491968512}} 
[2026-08-21 08:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":158865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674385,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:12:48] local.INFO: GPS data processed {"connection_id":158865,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:12:48] local.INFO: Acknowledgment sent {"connection_id":158865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:12:55] local.INFO: TCP Data received {"connection_id":158866,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022305138012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022305138012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:12:55] local.INFO: Processing buffer {"connection_id":158866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022305138012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:12:55] local.INFO: Packet analysis {"connection_id":158866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:12:55] local.INFO: Extracted packet for processing {"connection_id":158866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543671296001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787279987000,"timestamp_ms":1787279987000,"timestamp_seconds":1787279987,"priority":1,"record_length":96,"hex_timestamp":"000001a022305138"} 
[2026-08-21 08:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:12:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543671296001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543671296001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:12:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543671296001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":158866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:12:55] local.INFO: GPS data processed {"connection_id":158866,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:12:55] local.INFO: Acknowledgment sent {"connection_id":158866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:13:04] local.INFO: TCP Data received {"connection_id":160047,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:13:04] local.INFO: Processing buffer {"connection_id":160047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0222e74a8012da67700054b3710001c005f31..."} 
[2026-08-21 08:13:04] local.INFO: Packet analysis {"connection_id":160047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:13:04] local.INFO: Extracted packet for processing {"connection_id":160047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0222e"} 
[2026-08-21 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":49,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787279865000,"timestamp_ms":1787279865000,"timestamp_seconds":1787279865,"priority":1,"record_length":96,"hex_timestamp":"000001a0222e74a8"} 
[2026-08-21 08:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:13: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-08-21 08:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543568384001,"66":25593,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:13:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:13:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543568384001,"power":25593,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":160047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:13:04] local.INFO: GPS data processed {"connection_id":160047,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:13:04] local.INFO: Acknowledgment sent {"connection_id":160047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:13:07] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:13:07] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:13:07] local.INFO: IMEI packet received {"connection_id":161398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":161398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:13:10] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:13:10] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:13:10] local.INFO: IMEI packet received {"connection_id":161398,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":161398,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:13:11] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022319570012d7b288005e236600004016123..."} 
[2026-08-21 08:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022319570012d7b288005e236600004016123..."} 
[2026-08-21 08:13:11] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022319570012d7b288005e236600004016123..."} 
[2026-08-21 08:13:11] local.INFO: Packet analysis {"connection_id":161398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:13:11] local.INFO: Extracted packet for processing {"connection_id":161398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:13:11] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98711136,"longitude_deg":76.3046016,"latitude_deg":9.8711136,"altitude":4,"angle":353,"satellites":35,"speed":0,"hex_longitude":"2d7b2880","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-08-21 08:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543692544001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579756666748928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828491968512,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787280070000,"timestamp_ms":1787280070000,"timestamp_seconds":1787280070,"priority":1,"record_length":96,"hex_timestamp":"000001a022319570"} 
[2026-08-21 08:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 08:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543692544001,"66":12613,"207":206,"85":15104,"24":0,"16":121579756666748928,"45":8874483828491968512},"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-08-21 08:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543692544001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:13:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 08:13:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579756666748928,"km_value":121579756666748.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828491968512,"description":"Unknown IO ID 45"} 
[2026-08-21 08:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543692544001,"power":12613,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874483828491968512}} 
[2026-08-21 08:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":161398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:13:11] local.INFO: GPS data processed {"connection_id":161398,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:13:11] local.INFO: Acknowledgment sent {"connection_id":161398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:13:12] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02231e778012d7b288005e236600004016125..."} 
[2026-08-21 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02231e778012d7b288005e236600004016125..."} 
[2026-08-21 08:13:12] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02231e778012d7b288005e236600004016125..."} 
[2026-08-21 08:13:12] local.INFO: Packet analysis {"connection_id":161398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:13:12] local.INFO: Extracted packet for processing {"connection_id":161398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98711136,"longitude_deg":76.3046016,"latitude_deg":9.8711136,"altitude":4,"angle":353,"satellites":37,"speed":0,"hex_longitude":"2d7b2880","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-08-21 08:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543697920001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579756666748928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828491968512,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787280091000,"timestamp_ms":1787280091000,"timestamp_seconds":1787280091,"priority":1,"record_length":96,"hex_timestamp":"000001a02231e778"} 
[2026-08-21 08:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 08:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543697920001,"66":12950,"207":206,"85":15104,"24":0,"16":121579756666748928,"45":8874483828491968512},"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-08-21 08:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543697920001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:13:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 08:13:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579756666748928,"km_value":121579756666748.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828491968512,"description":"Unknown IO ID 45"} 
[2026-08-21 08:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543697920001,"power":12950,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874483828491968512}} 
[2026-08-21 08:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":161398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674389,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:13:12] local.INFO: GPS data processed {"connection_id":161398,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:13:12] local.INFO: Acknowledgment sent {"connection_id":161398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:13:23] local.INFO: TCP Data received {"connection_id":158867,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:13:23] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:13:23] local.INFO: IMEI packet received {"connection_id":158867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":158867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:13:26] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:13:26] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:13:26] local.INFO: IMEI packet received {"connection_id":160048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":160048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:13:28] local.INFO: TCP Data received {"connection_id":158867,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:13:28] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:13:28] local.INFO: IMEI packet received {"connection_id":158867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":158867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:13:29] local.INFO: TCP Data received {"connection_id":158867,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02230a340012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02230a340012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:13:29] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02230a340012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:13:29] local.INFO: Packet analysis {"connection_id":158867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:13:29] local.INFO: Extracted packet for processing {"connection_id":158867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:13:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543676672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787280008000,"timestamp_ms":1787280008000,"timestamp_seconds":1787280008,"priority":1,"record_length":96,"hex_timestamp":"000001a02230a340"} 
[2026-08-21 08:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 08:13:29] 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-08-21 08:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543676672001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543676672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:13:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:13:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543676672001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":158867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:13:29] local.INFO: GPS data processed {"connection_id":158867,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:13:29] local.INFO: Acknowledgment sent {"connection_id":158867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:13:31] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:13:31] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:13:31] local.INFO: IMEI packet received {"connection_id":160048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":160048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:13:32] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:13:32] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:13:32] local.INFO: Packet analysis {"connection_id":160048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:13:32] local.INFO: Extracted packet for processing {"connection_id":160048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:13:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:13:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":160048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:13:32] local.INFO: GPS data processed {"connection_id":160048,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:13:32] local.INFO: Acknowledgment sent {"connection_id":160048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:13:33] local.INFO: TCP Data received {"connection_id":158867,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02230f548012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02230f548012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:13:33] local.INFO: Processing buffer {"connection_id":158867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02230f548012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:13:33] local.INFO: Packet analysis {"connection_id":158867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:13:33] local.INFO: Extracted packet for processing {"connection_id":158867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02230"} 
[2026-08-21 08:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543682048001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787280029000,"timestamp_ms":1787280029000,"timestamp_seconds":1787280029,"priority":1,"record_length":96,"hex_timestamp":"000001a02230f548"} 
[2026-08-21 08:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543682048001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543682048001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:13:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543682048001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":158867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:13:33] local.INFO: GPS data processed {"connection_id":158867,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:13:33] local.INFO: Acknowledgment sent {"connection_id":158867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:13:44] local.INFO: TCP Data received {"connection_id":161398,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022323980012d7b288005e236600004016125..."} 
[2026-08-21 08:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022323980012d7b288005e236600004016125..."} 
[2026-08-21 08:13:44] local.INFO: Processing buffer {"connection_id":161398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022323980012d7b288005e236600004016125..."} 
[2026-08-21 08:13:44] local.INFO: Packet analysis {"connection_id":161398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:13:44] local.INFO: Extracted packet for processing {"connection_id":161398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:13:44] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98711136,"longitude_deg":76.3046016,"latitude_deg":9.8711136,"altitude":4,"angle":353,"satellites":37,"speed":0,"hex_longitude":"2d7b2880","hex_latitude":"05e23660","is_valid_coordinates":true} 
[2026-08-21 08:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543703296001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121579756666748928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828491968512,"note":"Value kept but may cause issues"} 
[2026-08-21 08:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787280112000,"timestamp_ms":1787280112000,"timestamp_seconds":1787280112,"priority":1,"record_length":96,"hex_timestamp":"000001a022323980"} 
[2026-08-21 08:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 08:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161398,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543703296001,"66":13091,"207":206,"85":15104,"24":0,"16":121579756666748928,"45":8874483828491968512},"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-08-21 08:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543703296001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:13:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 08:13:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121579756666748928,"km_value":121579756666748.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828491968512,"description":"Unknown IO ID 45"} 
[2026-08-21 08:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543703296001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8874483828491968512}} 
[2026-08-21 08:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":161398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:13:44] local.INFO: GPS data processed {"connection_id":161398,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:13:44] local.INFO: Acknowledgment sent {"connection_id":161398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:14:04] local.INFO: TCP Data received {"connection_id":160048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:04] local.INFO: Processing buffer {"connection_id":160048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:04] local.INFO: Packet analysis {"connection_id":160048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:14:04] local.INFO: Extracted packet for processing {"connection_id":160048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:14:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:14: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-08-21 08:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:14:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:14:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":160048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:14:04] local.INFO: GPS data processed {"connection_id":160048,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:14:04] local.INFO: Acknowledgment sent {"connection_id":160048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:14:04] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:04] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:04] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:14:07] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:07] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:07] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:14:08] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:08] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:08] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:14:08] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:08] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:14:08] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:14:16] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:16] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:16] local.INFO: IMEI packet received {"connection_id":158868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":158868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:14:18] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:18] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:18] local.INFO: IMEI packet received {"connection_id":158868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":158868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:14:23] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:23] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:14:23] local.INFO: IMEI packet received {"connection_id":158868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":158868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:14:24] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022314750012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022314750012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:14:24] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022314750012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:14:24] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:14:24] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543687424001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14: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-08-21 08:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280050000,"timestamp_ms":1787280050000,"timestamp_seconds":1787280050,"priority":1,"record_length":96,"hex_timestamp":"000001a022314750"} 
[2026-08-21 08:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543687424001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543687424001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:14:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543687424001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:14:24] local.INFO: GPS data processed {"connection_id":158868,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:14:24] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:14:31] local.INFO: TCP Data received {"connection_id":159176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:14:31] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:14:31] local.INFO: IMEI packet received {"connection_id":159176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":159176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:14:36] local.INFO: TCP Data received {"connection_id":159176,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:14:36] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:14:36] local.INFO: IMEI packet received {"connection_id":159176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":159176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:14:37] local.INFO: TCP Data received {"connection_id":159176,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:37] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:37] local.INFO: Packet analysis {"connection_id":159176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:14:37] local.INFO: Extracted packet for processing {"connection_id":159176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:14:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:14:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:14:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":159176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:14:37] local.INFO: GPS data processed {"connection_id":159176,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:14:37] local.INFO: Acknowledgment sent {"connection_id":159176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:14:42] local.INFO: TCP Data received {"connection_id":159176,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:42] local.INFO: Processing buffer {"connection_id":159176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:14:42] local.INFO: Packet analysis {"connection_id":159176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:14:42] local.INFO: Extracted packet for processing {"connection_id":159176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:14:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:14:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:14:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":159176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:14:42] local.INFO: GPS data processed {"connection_id":159176,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:14:42] local.INFO: Acknowledgment sent {"connection_id":159176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:14:55] local.INFO: TCP Data received {"connection_id":158868,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022319958012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022319958012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:14:55] local.INFO: Processing buffer {"connection_id":158868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022319958012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:14:55] local.INFO: Packet analysis {"connection_id":158868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:14:55] local.INFO: Extracted packet for processing {"connection_id":158868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543692800001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280071000,"timestamp_ms":1787280071000,"timestamp_seconds":1787280071,"priority":1,"record_length":96,"hex_timestamp":"000001a022319958"} 
[2026-08-21 08:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543692800001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543692800001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:14:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:14:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543692800001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":158868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:14:55] local.INFO: GPS data processed {"connection_id":158868,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:14:55] local.INFO: Acknowledgment sent {"connection_id":158868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:15:18] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:18] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:18] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:15:19] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:19] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:19] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:15:23] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:23] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:15:23] local.INFO: IMEI packet received {"connection_id":160050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":160050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:15:24] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02231eb60012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02231eb60012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:15:24] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02231eb60012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:15:24] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:15:24] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02231"} 
[2026-08-21 08:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543698176001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15: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-08-21 08:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280092000,"timestamp_ms":1787280092000,"timestamp_seconds":1787280092,"priority":1,"record_length":96,"hex_timestamp":"000001a02231eb60"} 
[2026-08-21 08:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:15:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543698176001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543698176001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:15:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543698176001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:15:24] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:15:24] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:15:26] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:15:26] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:15:26] local.INFO: IMEI packet received {"connection_id":160051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":160051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:15:31] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:15:31] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:15:31] local.INFO: IMEI packet received {"connection_id":160051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":160051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:15:32] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:15:32] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:15:32] local.INFO: Packet analysis {"connection_id":160051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:15:32] local.INFO: Extracted packet for processing {"connection_id":160051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:15: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":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:15:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:15:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":160051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:15:32] local.INFO: GPS data processed {"connection_id":160051,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:15:32] local.INFO: Acknowledgment sent {"connection_id":160051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:15:55] local.INFO: TCP Data received {"connection_id":160050,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022323d68012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022323d68012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:15:55] local.INFO: Processing buffer {"connection_id":160050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022323d68012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:15:55] local.INFO: Packet analysis {"connection_id":160050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:15:55] local.INFO: Extracted packet for processing {"connection_id":160050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543703552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280113000,"timestamp_ms":1787280113000,"timestamp_seconds":1787280113,"priority":1,"record_length":96,"hex_timestamp":"000001a022323d68"} 
[2026-08-21 08:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543703552001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543703552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543703552001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":160050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:15:55] local.INFO: GPS data processed {"connection_id":160050,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:15:55] local.INFO: Acknowledgment sent {"connection_id":160050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:16:04] local.INFO: TCP Data received {"connection_id":160051,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:16:04] local.INFO: Processing buffer {"connection_id":160051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:16:04] local.INFO: Packet analysis {"connection_id":160051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:16:04] local.INFO: Extracted packet for processing {"connection_id":160051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:16:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:16:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":160051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:16:04] local.INFO: GPS data processed {"connection_id":160051,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:16:04] local.INFO: Acknowledgment sent {"connection_id":160051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:16:18] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:16:18] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:16:18] local.INFO: IMEI packet received {"connection_id":161400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":161400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:16:22] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:16:22] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:16:22] local.INFO: IMEI packet received {"connection_id":161400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":161400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:16:23] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022328f70012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022328f70012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:16:23] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022328f70012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:16:23] local.INFO: Packet analysis {"connection_id":161400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:16:23] local.INFO: Extracted packet for processing {"connection_id":161400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543708928001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787280134000,"timestamp_ms":1787280134000,"timestamp_seconds":1787280134,"priority":1,"record_length":96,"hex_timestamp":"000001a022328f70"} 
[2026-08-21 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-08-21 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-08-21 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 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-08-21 08:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543708928001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543708928001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:16:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543708928001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":161400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:16:23] local.INFO: GPS data processed {"connection_id":161400,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:16:23] local.INFO: Acknowledgment sent {"connection_id":161400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:16:26] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:16:26] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:16:26] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:16:31] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:16:31] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:16:31] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:16:32] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:16:32] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:16:32] local.INFO: Packet analysis {"connection_id":159177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:16:32] local.INFO: Extracted packet for processing {"connection_id":159177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:16:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:16:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:16:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":159177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:16:32] local.INFO: GPS data processed {"connection_id":159177,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:16:32] local.INFO: Acknowledgment sent {"connection_id":159177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:16:54] local.INFO: TCP Data received {"connection_id":161400,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02232e178012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02232e178012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:16:54] local.INFO: Processing buffer {"connection_id":161400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02232e178012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:16:54] local.INFO: Packet analysis {"connection_id":161400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:16:54] local.INFO: Extracted packet for processing {"connection_id":161400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02232"} 
[2026-08-21 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543714304001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:16: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-08-21 08:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787280155000,"timestamp_ms":1787280155000,"timestamp_seconds":1787280155,"priority":1,"record_length":96,"hex_timestamp":"000001a02232e178"} 
[2026-08-21 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-08-21 08:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:16:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543714304001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543714304001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:16:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:16:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543714304001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":161400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:16:54] local.INFO: GPS data processed {"connection_id":161400,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:16:54] local.INFO: Acknowledgment sent {"connection_id":161400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:17:04] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:17:04] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:17:04] local.INFO: Packet analysis {"connection_id":159177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:04] local.INFO: Extracted packet for processing {"connection_id":159177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 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-08-21 08:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:17:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:17:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":159177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:17:04] local.INFO: GPS data processed {"connection_id":159177,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:17:04] local.INFO: Acknowledgment sent {"connection_id":159177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:17:18] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:17:18] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:17:18] local.INFO: IMEI packet received {"connection_id":159178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":159178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:17:23] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:17:23] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:17:23] local.INFO: IMEI packet received {"connection_id":159178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":159178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:17:24] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022333380012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022333380012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:17:24] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022333380012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:17:24] local.INFO: Packet analysis {"connection_id":159178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:24] local.INFO: Extracted packet for processing {"connection_id":159178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543719680001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17: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-08-21 08:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280176000,"timestamp_ms":1787280176000,"timestamp_seconds":1787280176,"priority":1,"record_length":96,"hex_timestamp":"000001a022333380"} 
[2026-08-21 08:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543719680001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543719680001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:17:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543719680001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":159178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:17:24] local.INFO: GPS data processed {"connection_id":159178,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:17:24] local.INFO: Acknowledgment sent {"connection_id":159178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:17:26] local.INFO: TCP Data received {"connection_id":158869,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:17:26] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:17:26] local.INFO: IMEI packet received {"connection_id":158869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":158869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:17:31] local.INFO: TCP Data received {"connection_id":158869,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:17:31] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:17:31] local.INFO: IMEI packet received {"connection_id":158869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":158869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:17:32] local.INFO: TCP Data received {"connection_id":158869,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:17:32] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:17:32] local.INFO: Packet analysis {"connection_id":158869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:32] local.INFO: Extracted packet for processing {"connection_id":158869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:17: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-08-21 08:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:17:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:17:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":158869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:17:32] local.INFO: GPS data processed {"connection_id":158869,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:17:32] local.INFO: Acknowledgment sent {"connection_id":158869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:17:55] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022338588012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022338588012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:17:55] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022338588012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:17:55] local.INFO: Packet analysis {"connection_id":159178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:55] local.INFO: Extracted packet for processing {"connection_id":159178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543725056001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280197000,"timestamp_ms":1787280197000,"timestamp_seconds":1787280197,"priority":1,"record_length":96,"hex_timestamp":"000001a022338588"} 
[2026-08-21 08:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543725056001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543725056001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:17:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543725056001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":159178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:17:55] local.INFO: GPS data processed {"connection_id":159178,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:17:55] local.INFO: Acknowledgment sent {"connection_id":159178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:18:04] local.INFO: TCP Data received {"connection_id":158869,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:18:04] local.INFO: Processing buffer {"connection_id":158869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022330c70012da67700054b3710001c005f2f..."} 
[2026-08-21 08:18:04] local.INFO: Packet analysis {"connection_id":158869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:18:04] local.INFO: Extracted packet for processing {"connection_id":158869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:18:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":47,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280166000,"timestamp_ms":1787280166000,"timestamp_seconds":1787280166,"priority":1,"record_length":96,"hex_timestamp":"000001a022330c70"} 
[2026-08-21 08:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 08:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:18: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-08-21 08:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543645440001,"66":25604,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:18:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:18:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543645440001,"power":25604,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":158869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:18:04] local.INFO: GPS data processed {"connection_id":158869,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:18:04] local.INFO: Acknowledgment sent {"connection_id":158869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:18:18] local.INFO: TCP Data received {"connection_id":158870,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:18:18] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:18:18] local.INFO: IMEI packet received {"connection_id":158870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":158870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:18:23] local.INFO: TCP Data received {"connection_id":158870,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:18:23] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:18:23] local.INFO: IMEI packet received {"connection_id":158870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":158870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:18:24] local.INFO: TCP Data received {"connection_id":158870,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02233d790012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02233d790012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:18:24] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02233d790012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:18:24] local.INFO: Packet analysis {"connection_id":158870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:18:24] local.INFO: Extracted packet for processing {"connection_id":158870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02233"} 
[2026-08-21 08:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543730432001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18: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-08-21 08:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280218000,"timestamp_ms":1787280218000,"timestamp_seconds":1787280218,"priority":1,"record_length":96,"hex_timestamp":"000001a02233d790"} 
[2026-08-21 08:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:18: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-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543730432001,"66":12178,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543730432001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543730432001,"power":12178,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":158870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:18:24] local.INFO: GPS data processed {"connection_id":158870,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:18:24] local.INFO: Acknowledgment sent {"connection_id":158870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:18:25] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:25] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:25] local.INFO: IMEI packet received {"connection_id":160052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":160052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:18:26] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:26] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:26] local.INFO: IMEI packet received {"connection_id":160052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":160052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:18:31] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:31] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:18:31] local.INFO: IMEI packet received {"connection_id":160052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":160052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:18:32] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:18:32] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:18:32] local.INFO: Packet analysis {"connection_id":160052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:18:32] local.INFO: Extracted packet for processing {"connection_id":160052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:18:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:18:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":160052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:18:32] local.INFO: GPS data processed {"connection_id":160052,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:18:32] local.INFO: Acknowledgment sent {"connection_id":160052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:18:55] local.INFO: TCP Data received {"connection_id":158870,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022375de8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022375de8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:18:55] local.INFO: Processing buffer {"connection_id":158870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022375de8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:18:55] local.INFO: Packet analysis {"connection_id":158870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:18:55] local.INFO: Extracted packet for processing {"connection_id":158870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543789568001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280449000,"timestamp_ms":1787280449000,"timestamp_seconds":1787280449,"priority":1,"record_length":96,"hex_timestamp":"000001a022375de8"} 
[2026-08-21 08:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543789568001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543789568001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543789568001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":158870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:18:55] local.INFO: GPS data processed {"connection_id":158870,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:18:55] local.INFO: Acknowledgment sent {"connection_id":158870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:19:04] local.INFO: TCP Data received {"connection_id":160052,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:04] local.INFO: Processing buffer {"connection_id":160052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:04] local.INFO: Packet analysis {"connection_id":160052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:04] local.INFO: Extracted packet for processing {"connection_id":160052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":160052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:19:04] local.INFO: GPS data processed {"connection_id":160052,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:19:04] local.INFO: Acknowledgment sent {"connection_id":160052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:19:10] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:19:10] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:19:10] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:19:12] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:19:12] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:19:12] local.INFO: IMEI packet received {"connection_id":160053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":160053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:19:13] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223830d8012d7af78005e37a580000015520..."} 
[2026-08-21 08:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223830d8012d7af78005e37a580000015520..."} 
[2026-08-21 08:19:13] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223830d8012d7af78005e37a580000015520..."} 
[2026-08-21 08:19:13] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:19:13] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:19:13] local.INFO: GPS Element Parsed {"raw_longitude":763033472,"raw_latitude":98794072,"longitude_deg":76.3033472,"latitude_deg":9.8794072,"altitude":0,"angle":341,"satellites":32,"speed":22,"hex_longitude":"2d7af780","hex_latitude":"05e37a58","is_valid_coordinates":true} 
[2026-08-21 08:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543805184001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121587620751867904,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863435935675103232,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787280503000,"timestamp_ms":1787280503000,"timestamp_seconds":1787280503,"priority":1,"record_length":96,"hex_timestamp":"000001a0223830d8"} 
[2026-08-21 08:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:19: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-08-21 08:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2801795072,"corrected_to":0} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":839921330504931584,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3809454080,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":175,"raw_value":4134862848,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3107485037735198725,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:13] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,246,160,226,45,192,76,33,10,66,211,71,30,128,1,240,227,34,4,113,205,11,5,120,239,51,2,175,14,166,55],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":246,"original":2801795072,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 08:19:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":375062315728896,"timestamp_seconds":375062315728.896,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543805184001,"66":13222,"208":206,"85":15104,"24":22,"16":121587620751867904,"45":8863435935675103232},"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-08-21 08:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543805184001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:19:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:19:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121587620751867904,"km_value":121587620751867.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863435935675103232,"description":"Unknown IO ID 45"} 
[2026-08-21 08:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543805184001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8863435935675103232}} 
[2026-08-21 08:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674415,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:19:13] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:19:13] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:19:18] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:19:18] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:19:18] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:19:23] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:19:23] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:19:23] local.INFO: IMEI packet received {"connection_id":160054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":160054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:19:28] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02237aff0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237aff0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:19:28] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237aff0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:19:28] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:28] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543794944001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787280470000,"timestamp_ms":1787280470000,"timestamp_seconds":1787280470,"priority":1,"record_length":96,"hex_timestamp":"000001a02237aff0"} 
[2026-08-21 08:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543794944001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543794944001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:19:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543794944001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:19:29] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:19:29] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:19:31] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:19:31] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:19:31] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:19:36] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:19:36] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:19:36] local.INFO: IMEI packet received {"connection_id":160055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":160055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:19:37] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:37] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:37] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:37] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:19:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:19:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:19:37] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:19:37] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:19:42] local.INFO: TCP Data received {"connection_id":160055,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:42] local.INFO: Processing buffer {"connection_id":160055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:19:42] local.INFO: Packet analysis {"connection_id":160055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:42] local.INFO: Extracted packet for processing {"connection_id":160055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:19:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:19:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":160055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:19:42] local.INFO: GPS data processed {"connection_id":160055,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:19:42] local.INFO: Acknowledgment sent {"connection_id":160055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:19:51] local.INFO: TCP Data received {"connection_id":160053,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022386f58012d7aef0005e393080002014823..."} 
[2026-08-21 08:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022386f58012d7aef0005e393080002014823..."} 
[2026-08-21 08:19:51] local.INFO: Processing buffer {"connection_id":160053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022386f58012d7aef0005e393080002014823..."} 
[2026-08-21 08:19:51] local.INFO: Packet analysis {"connection_id":160053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:19:51] local.INFO: Extracted packet for processing {"connection_id":160053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":763031296,"raw_latitude":98800392,"longitude_deg":76.3031296,"latitude_deg":9.8800392,"altitude":2,"angle":328,"satellites":35,"speed":7,"hex_longitude":"2d7aef00","hex_latitude":"05e39308","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:19:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543808768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121587942874415104,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860691554654377984,"note":"Value kept but may cause issues"} 
[2026-08-21 08:19:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:19:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787280519000,"timestamp_ms":1787280519000,"timestamp_seconds":1787280519,"priority":1,"record_length":96,"hex_timestamp":"000001a022386f58"} 
[2026-08-21 08:19:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:19:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 08:19:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:19:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:19:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:19:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:19:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:19:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:19:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:19:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:19:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:19:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543808768001,"66":13178,"208":206,"85":15104,"24":7,"16":121587942874415104,"45":8860691554654377984},"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-08-21 08:19:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:19:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:19:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543808768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:19:51] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:19:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:19:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121587942874415104,"km_value":121587942874415.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:19:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860691554654377984,"description":"Unknown IO ID 45"} 
[2026-08-21 08:19:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543808768001,"power":13178,"unknown_208":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8860691554654377984}} 
[2026-08-21 08:19:51] local.INFO: DEBUG: GPS processor result {"connection_id":160053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674419,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:19:51] local.INFO: GPS data processed {"connection_id":160053,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:19:51] local.INFO: Acknowledgment sent {"connection_id":160053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:20:00] local.INFO: TCP Data received {"connection_id":160054,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223801f8012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223801f8012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:20:00] local.INFO: Processing buffer {"connection_id":160054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223801f8012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:20:00] local.INFO: Packet analysis {"connection_id":160054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:00] local.INFO: Extracted packet for processing {"connection_id":160054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543800320001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787280491000,"timestamp_ms":1787280491000,"timestamp_seconds":1787280491,"priority":1,"record_length":96,"hex_timestamp":"000001a0223801f8"} 
[2026-08-21 08:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:20: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-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543800320001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543800320001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:20:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:20:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543800320001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":160054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:20:00] local.INFO: GPS data processed {"connection_id":160054,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:20:00] local.INFO: Acknowledgment sent {"connection_id":160054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:20:12] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:20:12] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:20:12] local.INFO: IMEI packet received {"connection_id":161403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":161403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:20:17] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:20:17] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:20:17] local.INFO: IMEI packet received {"connection_id":161403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":161403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:20:18] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:20:18] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:20:18] local.INFO: IMEI packet received {"connection_id":159179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":159179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:20:19] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02238c160012d7aec8005e396f8000301501f..."} 
[2026-08-21 08:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02238c160012d7aec8005e396f8000301501f..."} 
[2026-08-21 08:20:19] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02238c160012d7aec8005e396f8000301501f..."} 
[2026-08-21 08:20:19] local.INFO: Packet analysis {"connection_id":161403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:19] local.INFO: Extracted packet for processing {"connection_id":161403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98801400,"longitude_deg":76.3030656,"latitude_deg":9.88014,"altitude":3,"angle":336,"satellites":31,"speed":0,"hex_longitude":"2d7aec80","hex_latitude":"05e396f8","is_valid_coordinates":true} 
[2026-08-21 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543812864001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121588007298924544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8858299017353955328,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787280540000,"timestamp_ms":1787280540000,"timestamp_seconds":1787280540,"priority":1,"record_length":96,"hex_timestamp":"000001a02238c160"} 
[2026-08-21 08:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 08:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543812864001,"66":12982,"208":206,"85":15104,"24":0,"16":121588007298924544,"45":8858299017353955328},"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-08-21 08:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543812864001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:20:19] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:20:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121588007298924544,"km_value":121588007298924.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8858299017353955328,"description":"Unknown IO ID 45"} 
[2026-08-21 08:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543812864001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8858299017353955328}} 
[2026-08-21 08:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":161403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:20:19] local.INFO: GPS data processed {"connection_id":161403,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:20:19] local.INFO: Acknowledgment sent {"connection_id":161403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:20:23] local.INFO: TCP Data received {"connection_id":161403,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02238dcb8012d7aec8005e397880003000824..."} 
[2026-08-21 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02238dcb8012d7aec8005e397880003000824..."} 
[2026-08-21 08:20:23] local.INFO: Processing buffer {"connection_id":161403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02238dcb8012d7aec8005e397880003000824..."} 
[2026-08-21 08:20:23] local.INFO: Packet analysis {"connection_id":161403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:23] local.INFO: Extracted packet for processing {"connection_id":161403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98801544,"longitude_deg":76.3030656,"latitude_deg":9.8801544,"altitude":3,"angle":8,"satellites":36,"speed":2,"hex_longitude":"2d7aec80","hex_latitude":"05e39788","is_valid_coordinates":true} 
[2026-08-21 08:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543818240001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121588015888859136,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912436736,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787280547000,"timestamp_ms":1787280547000,"timestamp_seconds":1787280547,"priority":1,"record_length":96,"hex_timestamp":"000001a02238dcb8"} 
[2026-08-21 08:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:20:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 08:20:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543818240001,"66":12982,"208":206,"85":15104,"24":2,"16":121588015888859136,"45":8857595329912436736},"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-08-21 08:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543818240001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:20:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:20:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121588015888859136,"km_value":121588015888859.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912436736,"description":"Unknown IO ID 45"} 
[2026-08-21 08:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543818240001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8857595329912436736}} 
[2026-08-21 08:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":161403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:20:23] local.INFO: GPS data processed {"connection_id":161403,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:20:23] local.INFO: Acknowledgment sent {"connection_id":161403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:20:23] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:20:23] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:20:23] local.INFO: IMEI packet received {"connection_id":159179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":159179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:20:24] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022385400012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022385400012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:20:24] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022385400012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:20:24] local.INFO: Packet analysis {"connection_id":159179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:24] local.INFO: Extracted packet for processing {"connection_id":159179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543805696001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280512000,"timestamp_ms":1787280512000,"timestamp_seconds":1787280512,"priority":1,"record_length":96,"hex_timestamp":"000001a022385400"} 
[2026-08-21 08:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:20: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-08-21 08:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543805696001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543805696001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:20:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543805696001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":159179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:20:24] local.INFO: GPS data processed {"connection_id":159179,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:20:24] local.INFO: Acknowledgment sent {"connection_id":159179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:20:26] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:20:26] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:20:26] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:20:31] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:20:31] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:20:31] local.INFO: IMEI packet received {"connection_id":160056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":160056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:20:32] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:20:32] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:20:32] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:20:32] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:20:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:20:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:20:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:20:32] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:20:32] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:20:55] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02238a608012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02238a608012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:20:55] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02238a608012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:20:55] local.INFO: Packet analysis {"connection_id":159179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:55] local.INFO: Extracted packet for processing {"connection_id":159179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543811072001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280533000,"timestamp_ms":1787280533000,"timestamp_seconds":1787280533,"priority":1,"record_length":96,"hex_timestamp":"000001a02238a608"} 
[2026-08-21 08:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543811072001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543811072001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:20:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543811072001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":159179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:20:55] local.INFO: GPS data processed {"connection_id":159179,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:20:55] local.INFO: Acknowledgment sent {"connection_id":159179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:21:04] local.INFO: TCP Data received {"connection_id":160056,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:21:04] local.INFO: Processing buffer {"connection_id":160056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:21:04] local.INFO: Packet analysis {"connection_id":160056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:21:04] local.INFO: Extracted packet for processing {"connection_id":160056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:21:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:21:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":160056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:21:04] local.INFO: GPS data processed {"connection_id":160056,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:21:04] local.INFO: Acknowledgment sent {"connection_id":160056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:21:08] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:21:08] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:21:08] local.INFO: IMEI packet received {"connection_id":159180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":159180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:21:08] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:21:08] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:21:08] local.INFO: IMEI packet received {"connection_id":159180,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":159180,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:21:11] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02238f040012d7aec8005e39a000003016123..."} 
[2026-08-21 08:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02238f040012d7aec8005e39a000003016123..."} 
[2026-08-21 08:21:11] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02238f040012d7aec8005e39a000003016123..."} 
[2026-08-21 08:21:11] local.INFO: Packet analysis {"connection_id":159180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:21:11] local.INFO: Extracted packet for processing {"connection_id":159180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:21:11] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98802176,"longitude_deg":76.3030656,"latitude_deg":9.8802176,"altitude":3,"angle":353,"satellites":35,"speed":9,"hex_longitude":"2d7aec80","hex_latitude":"05e39a00","is_valid_coordinates":true} 
[2026-08-21 08:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543820032001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121588045953630208,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912473600,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787280552000,"timestamp_ms":1787280552000,"timestamp_seconds":1787280552,"priority":1,"record_length":96,"hex_timestamp":"000001a02238f040"} 
[2026-08-21 08:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 08:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08: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-08-21 08:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543820032001,"66":12982,"208":206,"85":15104,"24":9,"16":121588045953630208,"45":8857595329912473600},"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-08-21 08:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543820032001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:21:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:21:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121588045953630208,"km_value":121588045953630.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912473600,"description":"Unknown IO ID 45"} 
[2026-08-21 08:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543820032001,"power":12982,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8857595329912473600}} 
[2026-08-21 08:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":159180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:21:11] local.INFO: GPS data processed {"connection_id":159180,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:21:11] local.INFO: Acknowledgment sent {"connection_id":159180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:21:13] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022390f80012d7ae90005e3a8180004015522..."} 
[2026-08-21 08:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022390f80012d7ae90005e3a8180004015522..."} 
[2026-08-21 08:21:13] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022390f80012d7ae90005e3a8180004015522..."} 
[2026-08-21 08:21:13] local.INFO: Packet analysis {"connection_id":159180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:21:13] local.INFO: Extracted packet for processing {"connection_id":159180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763029760,"raw_latitude":98805784,"longitude_deg":76.302976,"latitude_deg":9.8805784,"altitude":4,"angle":341,"satellites":34,"speed":26,"hex_longitude":"2d7ae900","hex_latitude":"05e3a818","is_valid_coordinates":true} 
[2026-08-21 08:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543821312001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121588226342256640,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912635392,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787280560000,"timestamp_ms":1787280560000,"timestamp_seconds":1787280560,"priority":1,"record_length":96,"hex_timestamp":"000001a022390f80"} 
[2026-08-21 08:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:21: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-08-21 08:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 08:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543821312001,"66":13059,"208":206,"85":15104,"24":26,"16":121588226342256640,"45":8857595329912635392},"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-08-21 08:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543821312001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:21:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:21:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121588226342256640,"km_value":121588226342256.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912635392,"description":"Unknown IO ID 45"} 
[2026-08-21 08:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543821312001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8857595329912635392}} 
[2026-08-21 08:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":159180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:21:13] local.INFO: GPS data processed {"connection_id":159180,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:21:13] local.INFO: Acknowledgment sent {"connection_id":159180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:21:18] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:21:18] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:21:18] local.INFO: IMEI packet received {"connection_id":159181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":159181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:21:23] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:21:23] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:21:23] local.INFO: IMEI packet received {"connection_id":159181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":159181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:21:24] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02238f810012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02238f810012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:21:24] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02238f810012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:21:24] local.INFO: Packet analysis {"connection_id":159181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:21:24] local.INFO: Extracted packet for processing {"connection_id":159181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02238"} 
[2026-08-21 08:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543816448001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21: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-08-21 08:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280554000,"timestamp_ms":1787280554000,"timestamp_seconds":1787280554,"priority":1,"record_length":96,"hex_timestamp":"000001a02238f810"} 
[2026-08-21 08:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:21: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-08-21 08: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:21: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-08-21 08:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543816448001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543816448001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:21:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543816448001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":159181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:21:24] local.INFO: GPS data processed {"connection_id":159181,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:21:24] local.INFO: Acknowledgment sent {"connection_id":159181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:21:26] local.INFO: TCP Data received {"connection_id":158871,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:21:26] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:21:26] local.INFO: IMEI packet received {"connection_id":158871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":158871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:21:31] local.INFO: TCP Data received {"connection_id":158871,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:21:31] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:21:31] local.INFO: IMEI packet received {"connection_id":158871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":158871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:21:32] local.INFO: TCP Data received {"connection_id":158871,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:21:32] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:21:32] local.INFO: Packet analysis {"connection_id":158871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:21:32] local.INFO: Extracted packet for processing {"connection_id":158871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:21:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:21:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:21:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":158871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:21:32] local.INFO: GPS data processed {"connection_id":158871,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:21:32] local.INFO: Acknowledgment sent {"connection_id":158871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:21:44] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022393a78012d7ade0005e3cba00005015723..."} 
[2026-08-21 08:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022393a78012d7ade0005e3cba00005015723..."} 
[2026-08-21 08:21:44] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022393a78012d7ade0005e3cba00005015723..."} 
[2026-08-21 08:21:44] local.INFO: Packet analysis {"connection_id":159180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:21:44] local.INFO: Extracted packet for processing {"connection_id":159180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763026944,"raw_latitude":98814880,"longitude_deg":76.3026944,"latitude_deg":9.881488,"altitude":5,"angle":343,"satellites":35,"speed":33,"hex_longitude":"2d7ade00","hex_latitude":"05e3cba0","is_valid_coordinates":true} 
[2026-08-21 08:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543823360001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121588690198724608,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856610167495071744,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787280571000,"timestamp_ms":1787280571000,"timestamp_seconds":1787280571,"priority":1,"record_length":96,"hex_timestamp":"000001a022393a78"} 
[2026-08-21 08:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937439,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":2147869562,"corrected_to":0} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2466775042,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070431,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":175,"raw_value":4148953088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3814242304,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,247,160,240,45,128,154,3,35,10,66,220,151,36,193,1,182,227,34,4,113,205,7,48,88,32,239,51,2,175,5,25],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":247,"original":2147869562,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 08:21:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288605455647375360,"timestamp_seconds":288605455647375.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159180,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543823360001,"66":12472,"208":206,"85":15104,"24":33,"16":121588690198724608,"45":8856610167495071744},"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-08-21 08:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543823360001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:21:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121588690198724608,"km_value":121588690198724.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856610167495071744,"description":"Unknown IO ID 45"} 
[2026-08-21 08:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543823360001,"power":12472,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8856610167495071744}} 
[2026-08-21 08:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":159180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:21:44] local.INFO: GPS data processed {"connection_id":159180,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:21:44] local.INFO: Acknowledgment sent {"connection_id":159180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:21:55] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022394a18012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022394a18012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:21:55] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022394a18012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:21:55] local.INFO: Packet analysis {"connection_id":159181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:21:55] local.INFO: Extracted packet for processing {"connection_id":159181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543821824001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280575000,"timestamp_ms":1787280575000,"timestamp_seconds":1787280575,"priority":1,"record_length":96,"hex_timestamp":"000001a022394a18"} 
[2026-08-21 08:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543821824001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543821824001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:21:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543821824001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":159181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:21:55] local.INFO: GPS data processed {"connection_id":159181,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:21:55] local.INFO: Acknowledgment sent {"connection_id":159181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:22:04] local.INFO: TCP Data received {"connection_id":158871,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:22:04] local.INFO: Processing buffer {"connection_id":158871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:22:04] local.INFO: Packet analysis {"connection_id":158871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:22:04] local.INFO: Extracted packet for processing {"connection_id":158871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:22:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:22:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":158871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:22:04] local.INFO: GPS data processed {"connection_id":158871,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:22:04] local.INFO: Acknowledgment sent {"connection_id":158871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:22:07] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:22:07] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:22:07] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:22:12] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:22:12] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:22:12] local.INFO: IMEI packet received {"connection_id":160057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":160057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:22:13] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223b45e8012d7acc0005e410180005013c24..."} 
[2026-08-21 08:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223b45e8012d7acc0005e410180005013c24..."} 
[2026-08-21 08:22:13] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223b45e8012d7acc0005e410180005013c24..."} 
[2026-08-21 08:22:13] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:22:13] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763022336,"raw_latitude":98832408,"longitude_deg":76.3022336,"latitude_deg":9.8832408,"altitude":5,"angle":316,"satellites":36,"speed":11,"hex_longitude":"2d7acc00","hex_latitude":"05e41018","is_valid_coordinates":true} 
[2026-08-21 08:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543860224001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121589579256954880,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848658499409745920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787280705000,"timestamp_ms":1787280705000,"timestamp_seconds":1787280705,"priority":1,"record_length":96,"hex_timestamp":"000001a0223b45e8"} 
[2026-08-21 08:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 08:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543860224001,"66":12765,"208":206,"85":15104,"24":11,"16":121589579256954880,"45":8848658499409745920},"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-08-21 08:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543860224001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:22:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:22:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121589579256954880,"km_value":121589579256954.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848658499409745920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543860224001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848658499409745920}} 
[2026-08-21 08:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:22:13] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:22:13] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:22:19] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:19] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:19] local.INFO: IMEI packet received {"connection_id":161404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":161404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:22:23] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:23] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:23] local.INFO: IMEI packet received {"connection_id":161404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":161404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:22:26] local.INFO: TCP Data received {"connection_id":158872,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:22:26] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:22:26] local.INFO: IMEI packet received {"connection_id":158872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":158872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:22:28] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:28] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:22:28] local.INFO: IMEI packet received {"connection_id":161404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":161404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:22:29] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022399c20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022399c20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:22:29] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022399c20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:22:29] local.INFO: Packet analysis {"connection_id":161404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:22:29] local.INFO: Extracted packet for processing {"connection_id":161404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543827200001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787280596000,"timestamp_ms":1787280596000,"timestamp_seconds":1787280596,"priority":1,"record_length":96,"hex_timestamp":"000001a022399c20"} 
[2026-08-21 08:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543827200001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543827200001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:22:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:22:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543827200001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":161404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:22:29] local.INFO: GPS data processed {"connection_id":161404,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:22:29] local.INFO: Acknowledgment sent {"connection_id":161404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:22:31] local.INFO: TCP Data received {"connection_id":158872,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:22:31] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:22:31] local.INFO: IMEI packet received {"connection_id":158872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":158872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:22:32] local.INFO: TCP Data received {"connection_id":158872,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:22:32] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:22:32] local.INFO: Packet analysis {"connection_id":158872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:22:32] local.INFO: Extracted packet for processing {"connection_id":158872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:22:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:22:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":158872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:22:32] local.INFO: GPS data processed {"connection_id":158872,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:22:32] local.INFO: Acknowledgment sent {"connection_id":158872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:22:33] local.INFO: TCP Data received {"connection_id":161404,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02239ee28012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02239ee28012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:22:33] local.INFO: Processing buffer {"connection_id":161404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02239ee28012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:22:33] local.INFO: Packet analysis {"connection_id":161404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:22:33] local.INFO: Extracted packet for processing {"connection_id":161404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02239"} 
[2026-08-21 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543832576001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787280617000,"timestamp_ms":1787280617000,"timestamp_seconds":1787280617,"priority":1,"record_length":96,"hex_timestamp":"000001a02239ee28"} 
[2026-08-21 08:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543832576001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543832576001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:22:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:22:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543832576001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":161404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:22:33] local.INFO: GPS data processed {"connection_id":161404,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:22:33] local.INFO: Acknowledgment sent {"connection_id":161404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:22:47] local.INFO: TCP Data received {"connection_id":160057,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223b4db8012d7aca8005e411200005011d24..."} 
[2026-08-21 08:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223b4db8012d7aca8005e411200005011d24..."} 
[2026-08-21 08:22:47] local.INFO: Processing buffer {"connection_id":160057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223b4db8012d7aca8005e411200005011d24..."} 
[2026-08-21 08:22:47] local.INFO: Packet analysis {"connection_id":160057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:22:47] local.INFO: Extracted packet for processing {"connection_id":160057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:22:47] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832672,"longitude_deg":76.3021952,"latitude_deg":9.8832672,"altitude":5,"angle":285,"satellites":36,"speed":9,"hex_longitude":"2d7aca80","hex_latitude":"05e41120","is_valid_coordinates":true} 
[2026-08-21 08:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543860480001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121589600731791360,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177278464,"note":"Value kept but may cause issues"} 
[2026-08-21 08:22: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-08-21 08:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787280707000,"timestamp_ms":1787280707000,"timestamp_seconds":1787280707,"priority":1,"record_length":96,"hex_timestamp":"000001a0223b4db8"} 
[2026-08-21 08:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 08:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543860480001,"66":12526,"208":206,"85":15104,"24":9,"16":121589600731791360,"45":8848447393177278464},"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-08-21 08:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543860480001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:22:47] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:22:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121589600731791360,"km_value":121589600731791.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177278464,"description":"Unknown IO ID 45"} 
[2026-08-21 08:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543860480001,"power":12526,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848447393177278464}} 
[2026-08-21 08:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":160057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:22:47] local.INFO: GPS data processed {"connection_id":160057,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:22:47] local.INFO: Acknowledgment sent {"connection_id":160057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:23:04] local.INFO: TCP Data received {"connection_id":158872,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:23:04] local.INFO: Processing buffer {"connection_id":158872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02237a438012da67700054b3710001c005f2e..."} 
[2026-08-21 08:23:04] local.INFO: Packet analysis {"connection_id":158872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:23:04] local.INFO: Extracted packet for processing {"connection_id":158872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02237"} 
[2026-08-21 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280467000,"timestamp_ms":1787280467000,"timestamp_seconds":1787280467,"priority":1,"record_length":96,"hex_timestamp":"000001a02237a438"} 
[2026-08-21 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-08-21 08:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 08:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543722496001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543722496001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":158872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:23:04] local.INFO: GPS data processed {"connection_id":158872,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:23:04] local.INFO: Acknowledgment sent {"connection_id":158872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:23:07] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:23:07] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:23:07] local.INFO: IMEI packet received {"connection_id":161405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":161405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:23:07] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:23:07] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:23:07] local.INFO: IMEI packet received {"connection_id":159182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":159182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:23:12] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:23:12] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:23:12] local.INFO: IMEI packet received {"connection_id":161405,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":161405,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:23:12] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:23:12] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:23:12] local.INFO: IMEI packet received {"connection_id":159182,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":159182,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:23:13] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 08:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 08:23:13] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 08:23:13] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 08:23:13] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 08:23: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-08-21 08:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:23:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:23:13] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 08:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 08:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 08:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 08:23:13] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 08:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 08:23:13] local.ERROR: GPS data processing failed {"connection_id":161405,"error":"No valid data to process"} 
[2026-08-21 08:23:13] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 08:23:15] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223b51a0012d7ac98005e411400004010f25..."} 
[2026-08-21 08:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223b51a0012d7ac98005e411400004010f25..."} 
[2026-08-21 08:23:15] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223b51a0012d7ac98005e411400004010f25..."} 
[2026-08-21 08:23:15] local.INFO: Packet analysis {"connection_id":159182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:23:15] local.INFO: Extracted packet for processing {"connection_id":159182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:23:15] local.INFO: GPS Element Parsed {"raw_longitude":763021696,"raw_latitude":98832704,"longitude_deg":76.3021696,"latitude_deg":9.8832704,"altitude":4,"angle":271,"satellites":37,"speed":8,"hex_longitude":"2d7ac980","hex_latitude":"05e41140","is_valid_coordinates":true} 
[2026-08-21 08:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543860992001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121589613616693248,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712280064,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787280708000,"timestamp_ms":1787280708000,"timestamp_seconds":1787280708,"priority":1,"record_length":96,"hex_timestamp":"000001a0223b51a0"} 
[2026-08-21 08:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:23: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-08-21 08:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543860992001,"66":12526,"208":206,"85":15104,"24":8,"16":121589613616693248,"45":8848025180712280064},"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-08-21 08:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543860992001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:23:15] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:23:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121589613616693248,"km_value":121589613616693.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712280064,"description":"Unknown IO ID 45"} 
[2026-08-21 08:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543860992001,"power":12526,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848025180712280064}} 
[2026-08-21 08:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":159182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:23:15] local.INFO: GPS data processed {"connection_id":159182,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:23:15] local.INFO: Acknowledgment sent {"connection_id":159182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:23:18] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:23:18] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:23:18] local.INFO: IMEI packet received {"connection_id":161406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":161406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:23:19] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 08:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 08:23:19] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 08:23:19] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 08:23:19] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 08:23: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-08-21 08:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:23:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:23:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 08:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 08:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 08:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 08:23:19] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 08:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 08:23:19] local.ERROR: GPS data processing failed {"connection_id":161405,"error":"No valid data to process"} 
[2026-08-21 08:23:19] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 08:23:22] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:23:22] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:23:22] local.INFO: IMEI packet received {"connection_id":161406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":161406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:23:23] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223a4030012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223a4030012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:23:23] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223a4030012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:23:23] local.INFO: Packet analysis {"connection_id":161406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223a"} 
[2026-08-21 08:23:23] local.INFO: Extracted packet for processing {"connection_id":161406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223a"} 
[2026-08-21 08:23:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:23:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:23:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543837952001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:23:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787280638000,"timestamp_ms":1787280638000,"timestamp_seconds":1787280638,"priority":1,"record_length":96,"hex_timestamp":"000001a0223a4030"} 
[2026-08-21 08:23:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:23: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-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:23:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:23:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:23:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:23:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:23:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:23:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:23:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:23:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:23:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:23:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543837952001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:23:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:23:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:23:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543837952001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:23:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:23:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:23:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:23:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:23:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543837952001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":161406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:23:23] local.INFO: GPS data processed {"connection_id":161406,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:23:23] local.INFO: Acknowledgment sent {"connection_id":161406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:23:26] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:26] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:26] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:23:26] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:26] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:26] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:23:31] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:31] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:23:31] local.INFO: IMEI packet received {"connection_id":160058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":160058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:23:32] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:23:32] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:23:32] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:23:32] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:23: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-08-21 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:23: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-08-21 08:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:23:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:23:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:23:32] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:23:32] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:23:54] local.INFO: TCP Data received {"connection_id":161406,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223a9238012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223a9238012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:23:54] local.INFO: Processing buffer {"connection_id":161406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223a9238012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:23:54] local.INFO: Packet analysis {"connection_id":161406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223a"} 
[2026-08-21 08:23:54] local.INFO: Extracted packet for processing {"connection_id":161406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223a"} 
[2026-08-21 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543843328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23: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-08-21 08:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787280659000,"timestamp_ms":1787280659000,"timestamp_seconds":1787280659,"priority":1,"record_length":96,"hex_timestamp":"000001a0223a9238"} 
[2026-08-21 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-08-21 08:23: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-08-21 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543843328001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543843328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543843328001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":161406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:23:54] local.INFO: GPS data processed {"connection_id":161406,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:23:54] local.INFO: Acknowledgment sent {"connection_id":161406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:23:54] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223b5d58012d7ac68005e410d80005010125..."} 
[2026-08-21 08:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223b5d58012d7ac68005e410d80005010125..."} 
[2026-08-21 08:23:54] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223b5d58012d7ac68005e410d80005010125..."} 
[2026-08-21 08:23:54] local.INFO: Packet analysis {"connection_id":159182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:23:54] local.INFO: Extracted packet for processing {"connection_id":159182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":763020928,"raw_latitude":98832600,"longitude_deg":76.3020928,"latitude_deg":9.88326,"altitude":5,"angle":257,"satellites":37,"speed":10,"hex_longitude":"2d7ac680","hex_latitude":"05e410d8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543861248001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121589647976431616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847743705735577600,"note":"Value kept but may cause issues"} 
[2026-08-21 08:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787280711000,"timestamp_ms":1787280711000,"timestamp_seconds":1787280711,"priority":1,"record_length":96,"hex_timestamp":"000001a0223b5d58"} 
[2026-08-21 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-08-21 08:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 08:23:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159182,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543861248001,"66":12689,"208":206,"85":15104,"24":10,"16":121589647976431616,"45":8847743705735577600},"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-08-21 08:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543861248001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121589647976431616,"km_value":121589647976431.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847743705735577600,"description":"Unknown IO ID 45"} 
[2026-08-21 08:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543861248001,"power":12689,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8847743705735577600}} 
[2026-08-21 08:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":159182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:23:54] local.INFO: GPS data processed {"connection_id":159182,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:23:54] local.INFO: Acknowledgment sent {"connection_id":159182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:04] local.INFO: TCP Data received {"connection_id":160058,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:04] local.INFO: Processing buffer {"connection_id":160058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:04] local.INFO: Packet analysis {"connection_id":160058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24:04] local.INFO: Extracted packet for processing {"connection_id":160058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24: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-08-21 08:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:24:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:24:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":160058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:24:04] local.INFO: GPS data processed {"connection_id":160058,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:24:04] local.INFO: Acknowledgment sent {"connection_id":160058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:07] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:24:07] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:24:07] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:24:12] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:24:12] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:24:12] local.INFO: IMEI packet received {"connection_id":160059,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":160059,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:24:14] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223d1e90012d7acb0005e411780003005422..."} 
[2026-08-21 08:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223d1e90012d7acb0005e411780003005422..."} 
[2026-08-21 08:24:14] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223d1e90012d7acb0005e411780003005422..."} 
[2026-08-21 08:24:14] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:14] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:14] local.INFO: GPS Element Parsed {"raw_longitude":763022080,"raw_latitude":98832760,"longitude_deg":76.302208,"latitude_deg":9.883276,"altitude":3,"angle":84,"satellites":34,"speed":0,"hex_longitude":"2d7acb00","hex_latitude":"05e41178","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543886080001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121590738898124800,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840354987596683264,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787280826000,"timestamp_ms":1787280826000,"timestamp_seconds":1787280826,"priority":1,"record_length":96,"hex_timestamp":"000001a0223d1e90"} 
[2026-08-21 08:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543886080001,"66":13037,"208":206,"85":15104,"24":0,"16":121590738898124800,"45":8840354987596683264},"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-08-21 08:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543886080001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:24:14] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:24:14] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121590738898124800,"km_value":121590738898124.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840354987596683264,"description":"Unknown IO ID 45"} 
[2026-08-21 08:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543886080001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8840354987596683264}} 
[2026-08-21 08:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:24:14] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:24:14] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:18] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:24:18] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:24:18] local.INFO: IMEI packet received {"connection_id":161407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":161407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:24:23] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:24:23] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:24:23] local.INFO: IMEI packet received {"connection_id":161407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":161407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:24:24] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223ae440012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223ae440012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:24:24] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223ae440012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:24:24] local.INFO: Packet analysis {"connection_id":161407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223a"} 
[2026-08-21 08:24:24] local.INFO: Extracted packet for processing {"connection_id":161407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223a"} 
[2026-08-21 08:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543848704001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24: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-08-21 08:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280680000,"timestamp_ms":1787280680000,"timestamp_seconds":1787280680,"priority":1,"record_length":96,"hex_timestamp":"000001a0223ae440"} 
[2026-08-21 08:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24: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-08-21 08:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543848704001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543848704001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:24:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543848704001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":161407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:24:24] local.INFO: GPS data processed {"connection_id":161407,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:24:24] local.INFO: Acknowledgment sent {"connection_id":161407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:31] local.INFO: TCP Data received {"connection_id":158873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:24:31] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:24:31] local.INFO: IMEI packet received {"connection_id":158873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":158873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:24:36] local.INFO: TCP Data received {"connection_id":158873,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:24:36] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:24:36] local.INFO: IMEI packet received {"connection_id":158873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":158873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:24:37] local.INFO: TCP Data received {"connection_id":158873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:37] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:37] local.INFO: Packet analysis {"connection_id":158873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24:37] local.INFO: Extracted packet for processing {"connection_id":158873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:24:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:24:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":158873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:24:37] local.INFO: GPS data processed {"connection_id":158873,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:24:37] local.INFO: Acknowledgment sent {"connection_id":158873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:42] local.INFO: TCP Data received {"connection_id":158873,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:42] local.INFO: Processing buffer {"connection_id":158873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:24:42] local.INFO: Packet analysis {"connection_id":158873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24:42] local.INFO: Extracted packet for processing {"connection_id":158873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:24:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:24:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":158873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:24:42] local.INFO: GPS data processed {"connection_id":158873,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:24:42] local.INFO: Acknowledgment sent {"connection_id":158873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:45] local.INFO: TCP Data received {"connection_id":160059,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223d2a48012d7acb8005e411580003006623..."} 
[2026-08-21 08:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223d2a48012d7acb8005e411580003006623..."} 
[2026-08-21 08:24:45] local.INFO: Processing buffer {"connection_id":160059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223d2a48012d7acb8005e411580003006623..."} 
[2026-08-21 08:24:45] local.INFO: Packet analysis {"connection_id":160059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:45] local.INFO: Extracted packet for processing {"connection_id":160059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:45] local.INFO: GPS Element Parsed {"raw_longitude":763022208,"raw_latitude":98832728,"longitude_deg":76.3022208,"latitude_deg":9.8832728,"altitude":3,"angle":102,"satellites":35,"speed":0,"hex_longitude":"2d7acb80","hex_latitude":"05e41158","is_valid_coordinates":true} 
[2026-08-21 08:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543891456001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121590747488059392,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848165918200657920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787280829000,"timestamp_ms":1787280829000,"timestamp_seconds":1787280829,"priority":1,"record_length":96,"hex_timestamp":"000001a0223d2a48"} 
[2026-08-21 08:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160059,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543891456001,"66":12472,"208":206,"85":15104,"24":0,"16":121590747488059392,"45":8848165918200657920},"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-08-21 08:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543891456001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:24:45] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:24:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121590747488059392,"km_value":121590747488059.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848165918200657920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543891456001,"power":12472,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8848165918200657920}} 
[2026-08-21 08:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":160059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:24:45] local.INFO: GPS data processed {"connection_id":160059,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:24:45] local.INFO: Acknowledgment sent {"connection_id":160059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:52] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0223cc0d00100000000000000000000000000..."} 
[2026-08-21 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223cc0d00100000000000000000000000000..."} 
[2026-08-21 08:24:52] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223cc0d00100000000000000000000000000..."} 
[2026-08-21 08:24:52] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24:52] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:24: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-08-21 08:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787280802000,"timestamp_ms":1787280802000,"timestamp_seconds":1787280802,"priority":1,"record_length":96,"hex_timestamp":"000001a0223cc0d0"} 
[2026-08-21 08:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:24:52] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:24:52] local.INFO: GPS data processed {"connection_id":161405,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:24:52] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:55] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":1340,"data_hex":"000000000000030f8e0a000001a0223d12d80100000000000000000000000000..."} 
[2026-08-21 08:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0223d12d80100000000000000000000000000..."} 
[2026-08-21 08:24:55] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0223d12d80100000000000000000000000000..."} 
[2026-08-21 08:24:55] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:55] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24: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-08-21 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280823000,"timestamp_ms":1787280823000,"timestamp_seconds":1787280823,"priority":1,"record_length":96,"hex_timestamp":"000001a0223d12d8"} 
[2026-08-21 08:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24:55] 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-08-21 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:24:55] local.INFO: GPS data processed {"connection_id":161405,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:24:55] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:55] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:55] local.INFO: Incomplete packet, waiting for more data {"connection_id":161405,"needed":795,"available":545} 
[2026-08-21 08:24:55] local.INFO: TCP Data received {"connection_id":161407,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223b3648012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223b3648012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:24:55] local.INFO: Processing buffer {"connection_id":161407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223b3648012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:24:55] local.INFO: Packet analysis {"connection_id":161407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:24:55] local.INFO: Extracted packet for processing {"connection_id":161407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543854080001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280701000,"timestamp_ms":1787280701000,"timestamp_seconds":1787280701,"priority":1,"record_length":96,"hex_timestamp":"000001a0223b3648"} 
[2026-08-21 08:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543854080001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543854080001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:24:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543854080001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":161407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:24:55] local.INFO: GPS data processed {"connection_id":161407,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:24:55] local.INFO: Acknowledgment sent {"connection_id":161407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:24:56] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":250,"data_hex":"00001000679297000000000000000000001b5801000000000000000000000000..."} 
[2026-08-21 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":250,"packet_hex":"00001000679297000000000000000000001b5801000000000000000000000000..."} 
[2026-08-21 08:24:56] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223d64e00100000000000000000000000000..."} 
[2026-08-21 08:24:56] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:56] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:24:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 08:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:24:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787280844000,"timestamp_ms":1787280844000,"timestamp_seconds":1787280844,"priority":1,"record_length":96,"hex_timestamp":"000001a0223d64e0"} 
[2026-08-21 08:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:24: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-08-21 08:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 08:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:24:56] local.INFO: GPS data processed {"connection_id":161405,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:24:56] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:25:07] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:07] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:07] local.INFO: IMEI packet received {"connection_id":158874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":158874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:25:07] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:07] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:07] local.INFO: IMEI packet received {"connection_id":158874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":158874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:25:09] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:09] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:09] local.INFO: IMEI packet received {"connection_id":158874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":158874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:25:12] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:12] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:25:12] local.INFO: IMEI packet received {"connection_id":158874,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":158874,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:25:13] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223d3218012d7acc8005e410d80002007323..."} 
[2026-08-21 08:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223d3218012d7acc8005e410d80002007323..."} 
[2026-08-21 08:25:13] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223d3218012d7acc8005e410d80002007323..."} 
[2026-08-21 08:25:13] local.INFO: Packet analysis {"connection_id":158874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:25:13] local.INFO: Extracted packet for processing {"connection_id":158874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763022464,"raw_latitude":98832600,"longitude_deg":76.3022464,"latitude_deg":9.88326,"altitude":2,"angle":115,"satellites":35,"speed":5,"hex_longitude":"2d7acc80","hex_latitude":"05e410d8","is_valid_coordinates":true} 
[2026-08-21 08:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543892224001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121590760372961280,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848306655689005056,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787280831000,"timestamp_ms":1787280831000,"timestamp_seconds":1787280831,"priority":1,"record_length":96,"hex_timestamp":"000001a0223d3218"} 
[2026-08-21 08:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 08:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543892224001,"66":12613,"208":206,"85":15104,"24":5,"16":121590760372961280,"45":8848306655689005056},"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-08-21 08:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543892224001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:25:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:25:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121590760372961280,"km_value":121590760372961.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848306655689005056,"description":"Unknown IO ID 45"} 
[2026-08-21 08:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543892224001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8848306655689005056}} 
[2026-08-21 08:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":158874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:25:13] local.INFO: GPS data processed {"connection_id":158874,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:25:13] local.INFO: Acknowledgment sent {"connection_id":158874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:25:18] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:25:18] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:25:18] local.INFO: IMEI packet received {"connection_id":158875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":158875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:25:23] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:25:23] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:25:23] local.INFO: IMEI packet received {"connection_id":158875,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":158875,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:25:24] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223b8850012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223b8850012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:25:24] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223b8850012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:25:24] local.INFO: Packet analysis {"connection_id":158875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:25:24] local.INFO: Extracted packet for processing {"connection_id":158875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543859456001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25: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-08-21 08:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280722000,"timestamp_ms":1787280722000,"timestamp_seconds":1787280722,"priority":1,"record_length":96,"hex_timestamp":"000001a0223b8850"} 
[2026-08-21 08:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:25: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-08-21 08:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543859456001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543859456001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:25:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543859456001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":158875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:25:24] local.INFO: GPS data processed {"connection_id":158875,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:25:24] local.INFO: Acknowledgment sent {"connection_id":158875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:25:26] local.INFO: TCP Data received {"connection_id":158876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:25:26] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:25:26] local.INFO: IMEI packet received {"connection_id":158876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":158876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:25:28] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0223db6e80100000000000000000000000000..."} 
[2026-08-21 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223db6e80100000000000000000000000000..."} 
[2026-08-21 08:25:28] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223db6e80100000000000000000000000000..."} 
[2026-08-21 08:25:28] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:25:28] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:25: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-08-21 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:28] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,16,94,24],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 08:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787280865000,"timestamp_ms":1787280865000,"timestamp_seconds":1787280865,"priority":1,"record_length":96,"hex_timestamp":"000001a0223db6e8"} 
[2026-08-21 08:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 08:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:25:28] local.INFO: GPS data processed {"connection_id":161405,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:25:28] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:25:31] local.INFO: TCP Data received {"connection_id":158876,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:25:31] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:25:31] local.INFO: IMEI packet received {"connection_id":158876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":158876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:25:32] local.INFO: TCP Data received {"connection_id":158876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:25:32] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:25:32] local.INFO: Packet analysis {"connection_id":158876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:25:32] local.INFO: Extracted packet for processing {"connection_id":158876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:25:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:25: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:25: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-08-21 08: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-08-21 08:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:25: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-08-21 08:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:25:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:25:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":158876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:25:32] local.INFO: GPS data processed {"connection_id":158876,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:25:32] local.INFO: Acknowledgment sent {"connection_id":158876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:25:44] local.INFO: TCP Data received {"connection_id":158874,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223ec858012d7b030005e35bf00008009822..."} 
[2026-08-21 08:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223ec858012d7b030005e35bf00008009822..."} 
[2026-08-21 08:25:44] local.INFO: Processing buffer {"connection_id":158874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223ec858012d7b030005e35bf00008009822..."} 
[2026-08-21 08:25:44] local.INFO: Packet analysis {"connection_id":158874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:25:44] local.INFO: Extracted packet for processing {"connection_id":158874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98786288,"longitude_deg":76.3036416,"latitude_deg":9.8786288,"altitude":8,"angle":152,"satellites":34,"speed":28,"hex_longitude":"2d7b0300","hex_latitude":"05e35bf0","is_valid_coordinates":true} 
[2026-08-21 08:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543917056001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121593118310006784,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861606348328245248,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787280935000,"timestamp_ms":1787280935000,"timestamp_seconds":1787280935,"priority":1,"record_length":96,"hex_timestamp":"000001a0223ec858"} 
[2026-08-21 08:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-358036161775327744,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3221611447,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070431,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":175,"raw_value":4214489088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822653440,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-8363183213181222907,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,252,160,90,45,192,148,6,39,10,66,251,83,64,150,67,1,240,3,227,34,4,113,205,237,228,40,33,239,51,2,175,5,187,61],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 08:25:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576641218241036288,"timestamp_seconds":576641218241036.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158874,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543917056001,"66":12765,"208":206,"85":15104,"24":28,"16":121593118310006784,"45":8861606348328245248},"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-08-21 08:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543917056001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:25:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:25:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121593118310006784,"km_value":121593118310006.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861606348328245248,"description":"Unknown IO ID 45"} 
[2026-08-21 08:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543917056001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8861606348328245248}} 
[2026-08-21 08:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":158874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:25:44] local.INFO: GPS data processed {"connection_id":158874,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:25:44] local.INFO: Acknowledgment sent {"connection_id":158874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:25:55] local.INFO: TCP Data received {"connection_id":158875,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223bda58012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223bda58012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:25:55] local.INFO: Processing buffer {"connection_id":158875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223bda58012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:25:55] local.INFO: Packet analysis {"connection_id":158875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:25:55] local.INFO: Extracted packet for processing {"connection_id":158875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223b"} 
[2026-08-21 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543864832001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280743000,"timestamp_ms":1787280743000,"timestamp_seconds":1787280743,"priority":1,"record_length":96,"hex_timestamp":"000001a0223bda58"} 
[2026-08-21 08:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158875,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543864832001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543864832001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:25:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543864832001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":158875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:25:55] local.INFO: GPS data processed {"connection_id":158875,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:25:55] local.INFO: Acknowledgment sent {"connection_id":158875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:25:59] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0223e08f00100000000000000000000000000..."} 
[2026-08-21 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223e08f00100000000000000000000000000..."} 
[2026-08-21 08:25:59] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223e08f00100000000000000000000000000..."} 
[2026-08-21 08:25:59] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:25:59] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 08:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:25:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787280886000,"timestamp_ms":1787280886000,"timestamp_seconds":1787280886,"priority":1,"record_length":96,"hex_timestamp":"000001a0223e08f0"} 
[2026-08-21 08:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:25:59] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 08:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:25:59] local.INFO: GPS data processed {"connection_id":161405,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:25:59] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:26:04] local.INFO: TCP Data received {"connection_id":158876,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:26:04] local.INFO: Processing buffer {"connection_id":158876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:26:04] local.INFO: Packet analysis {"connection_id":158876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:04] local.INFO: Extracted packet for processing {"connection_id":158876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:26: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-08-21 08:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08: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-08-21 08:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:26:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:26:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":158876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:26:04] local.INFO: GPS data processed {"connection_id":158876,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:26:04] local.INFO: Acknowledgment sent {"connection_id":158876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:26:07] local.INFO: TCP Data received {"connection_id":159183,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:26:07] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:26:07] local.INFO: IMEI packet received {"connection_id":159183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":159183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:26:12] local.INFO: TCP Data received {"connection_id":159183,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:26:12] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:26:12] local.INFO: IMEI packet received {"connection_id":159183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":159183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:26:13] local.INFO: TCP Data received {"connection_id":159183,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223ed7f8012d7b07c005e354980008008a22..."} 
[2026-08-21 08:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223ed7f8012d7b07c005e354980008008a22..."} 
[2026-08-21 08:26:13] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223ed7f8012d7b07c005e354980008008a22..."} 
[2026-08-21 08:26:13] local.INFO: Packet analysis {"connection_id":159183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:26:13] local.INFO: Extracted packet for processing {"connection_id":159183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98784408,"longitude_deg":76.3037632,"latitude_deg":9.8784408,"altitude":8,"angle":138,"satellites":34,"speed":14,"hex_longitude":"2d7b07c0","hex_latitude":"05e35498","is_valid_coordinates":true} 
[2026-08-21 08:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543919360001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121593225684189184,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863928516884557824,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787280939000,"timestamp_ms":1787280939000,"timestamp_seconds":1787280939,"priority":1,"record_length":96,"hex_timestamp":"000001a0223ed7f8"} 
[2026-08-21 08:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 08:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543919360001,"66":12015,"208":206,"85":15104,"24":14,"16":121593225684189184,"45":8863928516884557824},"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-08-21 08:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543919360001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:26:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:26:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121593225684189184,"km_value":121593225684189.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863928516884557824,"description":"Unknown IO ID 45"} 
[2026-08-21 08:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543919360001,"power":12015,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8863928516884557824}} 
[2026-08-21 08:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":159183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:26:13] local.INFO: GPS data processed {"connection_id":159183,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:26:13] local.INFO: Acknowledgment sent {"connection_id":159183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:26:18] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:26:18] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:26:18] local.INFO: IMEI packet received {"connection_id":161408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":161408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:26:23] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:26:23] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:26:23] local.INFO: IMEI packet received {"connection_id":161408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":161408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:26:24] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c2c60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c2c60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:26:24] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c2c60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:26:24] local.INFO: Packet analysis {"connection_id":161408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:24] local.INFO: Extracted packet for processing {"connection_id":161408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543870208001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26: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-08-21 08:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280764000,"timestamp_ms":1787280764000,"timestamp_seconds":1787280764,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c2c60"} 
[2026-08-21 08:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:26: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-08-21 08:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543870208001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543870208001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:26:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543870208001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":161408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:26:24] local.INFO: GPS data processed {"connection_id":161408,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:26:24] local.INFO: Acknowledgment sent {"connection_id":161408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:26:26] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:26:26] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:26:26] local.INFO: IMEI packet received {"connection_id":158877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":158877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:26:30] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0223e5af80100000000000000000000000000..."} 
[2026-08-21 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223e5af80100000000000000000000000000..."} 
[2026-08-21 08:26:30] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223e5af80100000000000000000000000000..."} 
[2026-08-21 08:26:30] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:26:30] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:26:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 08:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787280907000,"timestamp_ms":1787280907000,"timestamp_seconds":1787280907,"priority":1,"record_length":96,"hex_timestamp":"000001a0223e5af8"} 
[2026-08-21 08:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:26:30] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2773,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:26:30] local.INFO: GPS data processed {"connection_id":161405,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:26:30] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:26:31] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:26:31] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:26:31] local.INFO: IMEI packet received {"connection_id":158877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":158877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:26:32] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:26:32] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:26:32] local.INFO: Packet analysis {"connection_id":158877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:32] local.INFO: Extracted packet for processing {"connection_id":158877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:26: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:26: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-08-21 08: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-08-21 08:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:26:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:26:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":158877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:26:32] local.INFO: GPS data processed {"connection_id":158877,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:26:32] local.INFO: Acknowledgment sent {"connection_id":158877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:26:44] local.INFO: TCP Data received {"connection_id":159183,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223edfc8012d7b098005e353700008006b23..."} 
[2026-08-21 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223edfc8012d7b098005e353700008006b23..."} 
[2026-08-21 08:26:44] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223edfc8012d7b098005e353700008006b23..."} 
[2026-08-21 08:26:44] local.INFO: Packet analysis {"connection_id":159183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:26:44] local.INFO: Extracted packet for processing {"connection_id":159183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763038080,"raw_latitude":98784112,"longitude_deg":76.303808,"latitude_deg":9.8784112,"altitude":8,"angle":107,"satellites":35,"speed":9,"hex_longitude":"2d7b0980","hex_latitude":"05e35370","is_valid_coordinates":true} 
[2026-08-21 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543920384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121593251453992960,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523023452160,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787280941000,"timestamp_ms":1787280941000,"timestamp_seconds":1787280941,"priority":1,"record_length":96,"hex_timestamp":"000001a0223edfc8"} 
[2026-08-21 08:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 08:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543920384001,"66":13059,"208":206,"85":15104,"24":9,"16":121593251453992960,"45":8865265523023452160},"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-08-21 08:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543920384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:26:44] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:26:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121593251453992960,"km_value":121593251453992.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523023452160,"description":"Unknown IO ID 45"} 
[2026-08-21 08:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543920384001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865265523023452160}} 
[2026-08-21 08:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":159183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:26:44] local.INFO: GPS data processed {"connection_id":159183,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:26:44] local.INFO: Acknowledgment sent {"connection_id":159183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:26:55] local.INFO: TCP Data received {"connection_id":161408,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c7e68012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c7e68012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:26:55] local.INFO: Processing buffer {"connection_id":161408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c7e68012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:26:55] local.INFO: Packet analysis {"connection_id":161408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:55] local.INFO: Extracted packet for processing {"connection_id":161408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543875584001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280785000,"timestamp_ms":1787280785000,"timestamp_seconds":1787280785,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c7e68"} 
[2026-08-21 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-08-21 08:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543875584001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543875584001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543875584001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":161408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:26:55] local.INFO: GPS data processed {"connection_id":161408,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:26:55] local.INFO: Acknowledgment sent {"connection_id":161408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:01] local.INFO: TCP Data received {"connection_id":161405,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0223ead000100000000000000000000000000..."} 
[2026-08-21 08:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223ead000100000000000000000000000000..."} 
[2026-08-21 08:27:01] local.INFO: Processing buffer {"connection_id":161405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223ead000100000000000000000000000000..."} 
[2026-08-21 08:27:01] local.INFO: Packet analysis {"connection_id":161405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:27:01] local.INFO: Extracted packet for processing {"connection_id":161405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:27:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 08:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787280928000,"timestamp_ms":1787280928000,"timestamp_seconds":1787280928,"priority":1,"record_length":96,"hex_timestamp":"000001a0223ead00"} 
[2026-08-21 08:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27:01] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161405,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":161405,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:27:01] local.INFO: GPS data processed {"connection_id":161405,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:27:01] local.INFO: Acknowledgment sent {"connection_id":161405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:04] local.INFO: TCP Data received {"connection_id":158877,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:27:04] local.INFO: Processing buffer {"connection_id":158877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:27:04] local.INFO: Packet analysis {"connection_id":158877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:27:04] local.INFO: Extracted packet for processing {"connection_id":158877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27: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-08-21 08:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:27:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:27:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":158877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:27:04] local.INFO: GPS data processed {"connection_id":158877,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:27:04] local.INFO: Acknowledgment sent {"connection_id":158877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:07] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:27:07] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:27:07] local.INFO: IMEI packet received {"connection_id":161409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":161409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:27:12] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:27:12] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:27:12] local.INFO: IMEI packet received {"connection_id":161409,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":161409,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:27:13] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0223ee3b0012d7b0a8005e353600008005824..."} 
[2026-08-21 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223ee3b0012d7b0a8005e353600008005824..."} 
[2026-08-21 08:27:13] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223ee3b0012d7b0a8005e353600008005824..."} 
[2026-08-21 08:27:13] local.INFO: Packet analysis {"connection_id":161409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:27:13] local.INFO: Extracted packet for processing {"connection_id":161409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98784096,"longitude_deg":76.3038336,"latitude_deg":9.8784096,"altitude":8,"angle":88,"satellites":36,"speed":9,"hex_longitude":"2d7b0a80","hex_latitude":"05e35360","is_valid_coordinates":true} 
[2026-08-21 08:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543920896001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121593264338894848,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865758104232620032,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787280942000,"timestamp_ms":1787280942000,"timestamp_seconds":1787280942,"priority":1,"record_length":96,"hex_timestamp":"000001a0223ee3b0"} 
[2026-08-21 08:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861279,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":22529,"corrected_to":0} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2497183750,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415971679,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.WARNING: Large IO value detected {"io_id":175,"raw_value":4220977152,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:13] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,252,160,215,45,192,84,8,34,10,66,200,91,165,1,240,7,227,4,113,205,9,83,238,152,39,239,51,2,175,5],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":200,"original":22529,"validated":0},{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 08:27:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576578550372040704,"timestamp_seconds":576578550372040.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543920896001,"66":12765,"208":206,"85":15104,"24":9,"16":121593264338894848,"45":8865758104232620032},"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-08-21 08:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543920896001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:27:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:27:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121593264338894848,"km_value":121593264338894.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865758104232620032,"description":"Unknown IO ID 45"} 
[2026-08-21 08:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543920896001,"power":12765,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8865758104232620032}} 
[2026-08-21 08:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":161409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:27:14] local.INFO: GPS data processed {"connection_id":161409,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:27:14] local.INFO: Acknowledgment sent {"connection_id":161409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:16] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:16] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:16] local.INFO: IMEI packet received {"connection_id":158878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":158878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:27:18] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:27:18] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:27:18] local.INFO: IMEI packet received {"connection_id":158879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":158879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:27:18] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:18] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:18] local.INFO: IMEI packet received {"connection_id":158878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":158878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:27:21] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:21] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:27:21] local.INFO: IMEI packet received {"connection_id":158878,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":158878,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:27:22] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0223eff080100000000000000000000000000..."} 
[2026-08-21 08:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223eff080100000000000000000000000000..."} 
[2026-08-21 08:27:22] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223eff080100000000000000000000000000..."} 
[2026-08-21 08:27:22] local.INFO: Packet analysis {"connection_id":158878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:27:22] local.INFO: Extracted packet for processing {"connection_id":158878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:27: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-08-21 08:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153099838914560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787280949000,"timestamp_ms":1787280949000,"timestamp_seconds":1787280949,"priority":1,"record_length":96,"hex_timestamp":"000001a0223eff08"} 
[2026-08-21 08:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27:22] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":158878,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 08:27:22] local.INFO: GPS data processed {"connection_id":158878,"processed":0,"errors":0,"total":1} 
[2026-08-21 08:27:22] local.INFO: Acknowledgment sent {"connection_id":158878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:23] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:27:23] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:27:23] local.INFO: IMEI packet received {"connection_id":158879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":158879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:27:24] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223cd070012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223cd070012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:27:24] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223cd070012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:27:24] local.INFO: Packet analysis {"connection_id":158879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:27:24] local.INFO: Extracted packet for processing {"connection_id":158879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543880960001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280806000,"timestamp_ms":1787280806000,"timestamp_seconds":1787280806,"priority":1,"record_length":96,"hex_timestamp":"000001a0223cd070"} 
[2026-08-21 08:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27: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-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543880960001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543880960001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:27:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543880960001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":158879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:27:24] local.INFO: GPS data processed {"connection_id":158879,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:27:24] local.INFO: Acknowledgment sent {"connection_id":158879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:27] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:27:27] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:27:27] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:27:31] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:27:31] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:27:31] local.INFO: IMEI packet received {"connection_id":160060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":160060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:27:32] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:27:32] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:27:32] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:27:32] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:27:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27: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-08-21 08:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:27: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-08-21 08: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-08-21 08:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:27: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-08-21 08:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:27:32] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:27:32] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:53] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02240cfe0012d0bb80007029f38001d007406..."} 
[2026-08-21 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240cfe0012d0bb80007029f38001d007406..."} 
[2026-08-21 08:27:53] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240cfe0012d0bb80007029f38001d007406..."} 
[2026-08-21 08:27:53] local.INFO: Packet analysis {"connection_id":158878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:27:53] local.INFO: Extracted packet for processing {"connection_id":158878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:27:53] local.INFO: GPS Element Parsed {"raw_longitude":755742720,"raw_latitude":117612344,"longitude_deg":75.574272,"latitude_deg":11.7612344,"altitude":29,"angle":116,"satellites":6,"speed":16,"hex_longitude":"2d0bb800","hex_latitude":"07029f38","is_valid_coordinates":true} 
[2026-08-21 08:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:27:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543952640001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153610940022784,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843087954101534720,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:27:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787281068000,"timestamp_ms":1787281068000,"timestamp_seconds":1787281068,"priority":1,"record_length":96,"hex_timestamp":"000001a02240cfe0"} 
[2026-08-21 08:27:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:27:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:27:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:27:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:27:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:27:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:27:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:27:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:27:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543952640001,"66":14461,"17":206,"94":11008,"24":16,"16":29153610940022784,"45":843087954101534720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 08:27:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:27:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:27:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543952640001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:27:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:27:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29153610940022784,"km_value":29153610940022.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:27:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":843087954101534720,"description":"Unknown IO ID 45"} 
[2026-08-21 08:27:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543952640001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":843087954101534720}} 
[2026-08-21 08:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":158878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:27:54] local.INFO: GPS data processed {"connection_id":158878,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:27:54] local.INFO: Acknowledgment sent {"connection_id":158878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:55] local.INFO: TCP Data received {"connection_id":158879,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223d2278012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223d2278012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:27:55] local.INFO: Processing buffer {"connection_id":158879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223d2278012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:27:55] local.INFO: Packet analysis {"connection_id":158879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:27:55] local.INFO: Extracted packet for processing {"connection_id":158879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543886336001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280827000,"timestamp_ms":1787280827000,"timestamp_seconds":1787280827,"priority":1,"record_length":96,"hex_timestamp":"000001a0223d2278"} 
[2026-08-21 08:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543886336001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543886336001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:27:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543886336001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":158879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:27:55] local.INFO: GPS data processed {"connection_id":158879,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:27:55] local.INFO: Acknowledgment sent {"connection_id":158879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:27:59] local.INFO: TCP Data received {"connection_id":161409,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022407dd8012d7bd90005e48160000c002128..."} 
[2026-08-21 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022407dd8012d7bd90005e48160000c002128..."} 
[2026-08-21 08:27:59] local.INFO: Processing buffer {"connection_id":161409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022407dd8012d7bd90005e48160000c002128..."} 
[2026-08-21 08:27:59] local.INFO: Packet analysis {"connection_id":161409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:27:59] local.INFO: Extracted packet for processing {"connection_id":161409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":763091200,"raw_latitude":98861408,"longitude_deg":76.30912,"latitude_deg":9.8861408,"altitude":12,"angle":33,"satellites":40,"speed":49,"hex_longitude":"2d7bd900","hex_latitude":"05e48160","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543945984001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121597791234424832,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918393924895232000,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787281047000,"timestamp_ms":1787281047000,"timestamp_seconds":1787281047,"priority":1,"record_length":96,"hex_timestamp":"000001a022407dd8"} 
[2026-08-21 08:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162274663775,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399457,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3890741258,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3221611464,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391967,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":175,"raw_value":4262395904,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3820646400,"note":"Value kept but may cause issues"} 
[2026-08-21 08:27:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,160,63,45,68,13,40,10,66,255,32,128,38,192,1,240,227,254,34,4,113,205,42,186,94,41,239,51,2,175,5,9,33],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 08:27:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864728683652055040,"timestamp_seconds":864728683652055.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161409,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:27: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-08-21 08:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543945984001,"66":13189,"208":206,"85":15104,"24":49,"16":121597791234424832,"45":8918393924895232000},"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-08-21 08:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543945984001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121597791234424832,"km_value":121597791234424.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918393924895232000,"description":"Unknown IO ID 45"} 
[2026-08-21 08:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543945984001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8918393924895232000}} 
[2026-08-21 08:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":161409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:27:59] local.INFO: GPS data processed {"connection_id":161409,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:27:59] local.INFO: Acknowledgment sent {"connection_id":161409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:28:04] local.INFO: TCP Data received {"connection_id":160060,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:28:04] local.INFO: Processing buffer {"connection_id":160060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223c3c00012da67700054b3710001c005f2d..."} 
[2026-08-21 08:28:04] local.INFO: Packet analysis {"connection_id":160060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:28:04] local.INFO: Extracted packet for processing {"connection_id":160060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223c"} 
[2026-08-21 08:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":45,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787280768000,"timestamp_ms":1787280768000,"timestamp_seconds":1787280768,"priority":1,"record_length":96,"hex_timestamp":"000001a0223c3c00"} 
[2026-08-21 08:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:28: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:28: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-08-21 08:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543799552001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:28:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:28:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543799552001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":160060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:28:04] local.INFO: GPS data processed {"connection_id":160060,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:28:04] local.INFO: Acknowledgment sent {"connection_id":160060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:28:07] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:28:07] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:28:07] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:28:12] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:28:12] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:28:12] local.INFO: IMEI packet received {"connection_id":160061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":160061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:28:13] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022409930012d7becc005e49f68000b002027..."} 
[2026-08-21 08:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022409930012d7becc005e49f68000b002027..."} 
[2026-08-21 08:28:13] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022409930012d7becc005e49f68000b002027..."} 
[2026-08-21 08:28:13] local.INFO: Packet analysis {"connection_id":160061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:13] local.INFO: Extracted packet for processing {"connection_id":160061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:13] local.INFO: GPS Element Parsed {"raw_longitude":763096256,"raw_latitude":98869096,"longitude_deg":76.3096256,"latitude_deg":9.8869096,"altitude":11,"angle":32,"satellites":39,"speed":52,"hex_longitude":"2d7becc0","hex_latitude":"05e49f68","is_valid_coordinates":true} 
[2026-08-21 08:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543948032001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121598237911023616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924164161919868928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787281054000,"timestamp_ms":1787281054000,"timestamp_seconds":1787281054,"priority":1,"record_length":96,"hex_timestamp":"000001a022409930"} 
[2026-08-21 08:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 08:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543948032001,"66":12798,"208":206,"85":15104,"24":52,"16":121598237911023616,"45":8924164161919868928},"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-08-21 08:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543948032001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:28:13] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 08:28:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 08:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121598237911023616,"km_value":121598237911023.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924164161919868928,"description":"Unknown IO ID 45"} 
[2026-08-21 08:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543948032001,"power":12798,"unknown_208":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8924164161919868928}} 
[2026-08-21 08:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":160061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:28:13] local.INFO: GPS data processed {"connection_id":160061,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:28:13] local.INFO: Acknowledgment sent {"connection_id":160061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:28:18] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:28:18] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:28:18] local.INFO: IMEI packet received {"connection_id":159184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":159184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:28:23] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:28:23] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:28:23] local.INFO: IMEI packet received {"connection_id":159184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":159184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:28:24] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223d7480012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223d7480012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:28:24] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223d7480012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:28:24] local.INFO: Packet analysis {"connection_id":159184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:28:24] local.INFO: Extracted packet for processing {"connection_id":159184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543891712001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28: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-08-21 08:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280848000,"timestamp_ms":1787280848000,"timestamp_seconds":1787280848,"priority":1,"record_length":96,"hex_timestamp":"000001a0223d7480"} 
[2026-08-21 08:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 08:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543891712001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543891712001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:28:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543891712001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":159184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:28:24] local.INFO: GPS data processed {"connection_id":159184,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:28:24] local.INFO: Acknowledgment sent {"connection_id":159184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:28:26] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:26] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:26] local.INFO: IMEI packet received {"connection_id":158880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":158880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:28:26] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012d0bb9c007029fb0001d006406..."} 
[2026-08-21 08:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012d0bb9c007029fb0001d006406..."} 
[2026-08-21 08:28:26] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012d0bb9c007029fb0001d006406..."} 
[2026-08-21 08:28:26] local.INFO: Packet analysis {"connection_id":158878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:26] local.INFO: Extracted packet for processing {"connection_id":158878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:26] local.INFO: GPS Element Parsed {"raw_longitude":755743168,"raw_latitude":117612464,"longitude_deg":75.5743168,"latitude_deg":11.7612464,"altitude":29,"angle":100,"satellites":6,"speed":15,"hex_longitude":"2d0bb9c0","hex_latitude":"07029fb0","is_valid_coordinates":true} 
[2026-08-21 08:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953408001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153632414859264,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844424960240728064,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:28:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 08:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953408001,"66":14461,"17":206,"94":11008,"24":15,"16":29153632414859264,"45":844424960240728064},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 08:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953408001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:28:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29153632414859264,"km_value":29153632414859.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":844424960240728064,"description":"Unknown IO ID 45"} 
[2026-08-21 08:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953408001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":844424960240728064}} 
[2026-08-21 08:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":158878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674473,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:28:26] local.INFO: GPS data processed {"connection_id":158878,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:28:26] local.INFO: Acknowledgment sent {"connection_id":158878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:28:27] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:27] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:27] local.INFO: IMEI packet received {"connection_id":158880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":158880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:28:31] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:31] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:28:31] local.INFO: IMEI packet received {"connection_id":158880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":158880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:28:32] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:28:32] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:28:32] local.INFO: Packet analysis {"connection_id":158880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:32] local.INFO: Extracted packet for processing {"connection_id":158880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:28: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-08-21 08:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:28: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-08-21 08:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:28: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-08-21 08:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:28:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:28:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":158880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:28:32] local.INFO: GPS data processed {"connection_id":158880,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:28:32] local.INFO: Acknowledgment sent {"connection_id":158880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:28:44] local.INFO: TCP Data received {"connection_id":160061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02240b488012d7bffc005e4bcb8000a002028..."} 
[2026-08-21 08:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240b488012d7bffc005e4bcb8000a002028..."} 
[2026-08-21 08:28:44] local.INFO: Processing buffer {"connection_id":160061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240b488012d7bffc005e4bcb8000a002028..."} 
[2026-08-21 08:28:44] local.INFO: Packet analysis {"connection_id":160061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:44] local.INFO: Extracted packet for processing {"connection_id":160061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:28:44] local.INFO: GPS Element Parsed {"raw_longitude":763101120,"raw_latitude":98876600,"longitude_deg":76.310112,"latitude_deg":9.88766,"altitude":10,"angle":32,"satellites":40,"speed":48,"hex_longitude":"2d7bffc0","hex_latitude":"05e4bcb8","is_valid_coordinates":true} 
[2026-08-21 08:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543949824001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121598667407753216,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929723292711872512,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:44] 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-08-21 08:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787281061000,"timestamp_ms":1787281061000,"timestamp_seconds":1787281061,"priority":1,"record_length":96,"hex_timestamp":"000001a02240b488"} 
[2026-08-21 08:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 08:28:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543949824001,"66":13059,"39":206,"87":13824,"24":48,"16":121598667407753216,"45":8929723292711872512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 08:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543949824001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:28:44] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 08:28:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121598667407753216,"km_value":121598667407753.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929723292711872512,"description":"Unknown IO ID 45"} 
[2026-08-21 08:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543949824001,"power":13059,"unknown_39":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8929723292711872512}} 
[2026-08-21 08:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":160061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:28:44] local.INFO: GPS data processed {"connection_id":160061,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:28:44] local.INFO: Acknowledgment sent {"connection_id":160061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:28:55] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223dc688012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223dc688012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:28:55] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223dc688012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:28:55] local.INFO: Packet analysis {"connection_id":159184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:28:55] local.INFO: Extracted packet for processing {"connection_id":159184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223d"} 
[2026-08-21 08:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543897088001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280869000,"timestamp_ms":1787280869000,"timestamp_seconds":1787280869,"priority":1,"record_length":96,"hex_timestamp":"000001a0223dc688"} 
[2026-08-21 08:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543897088001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543897088001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:28:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543897088001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":159184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:28:55] local.INFO: GPS data processed {"connection_id":159184,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:28:55] local.INFO: Acknowledgment sent {"connection_id":159184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:01] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d7b0012d0bbb800702a078001e005206..."} 
[2026-08-21 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d7b0012d0bbb800702a078001e005206..."} 
[2026-08-21 08:29:01] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d7b0012d0bbb800702a078001e005206..."} 
[2026-08-21 08:29:01] local.INFO: Packet analysis {"connection_id":158878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:01] local.INFO: Extracted packet for processing {"connection_id":158878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:01] local.INFO: GPS Element Parsed {"raw_longitude":755743616,"raw_latitude":117612664,"longitude_deg":75.5743616,"latitude_deg":11.7612664,"altitude":30,"angle":82,"satellites":6,"speed":16,"hex_longitude":"2d0bbb80","hex_latitude":"0702a078","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29153653889695744,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844917541450002432,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787281070000,"timestamp_ms":1787281070000,"timestamp_seconds":1787281070,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d7b0"} 
[2026-08-21 08:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 08:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":14461,"17":206,"94":11008,"24":16,"16":29153653889695744,"45":844917541450002432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 08:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29153653889695744,"km_value":29153653889695.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":844917541450002432,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":844917541450002432}} 
[2026-08-21 08:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":158878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:02] local.INFO: GPS data processed {"connection_id":158878,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:02] local.INFO: Acknowledgment sent {"connection_id":158878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:04] local.INFO: TCP Data received {"connection_id":158880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:29:04] local.INFO: Processing buffer {"connection_id":158880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:29:04] local.INFO: Packet analysis {"connection_id":158880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:04] local.INFO: Extracted packet for processing {"connection_id":158880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08: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-08-21 08:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":158880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:04] local.INFO: GPS data processed {"connection_id":158880,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:04] local.INFO: Acknowledgment sent {"connection_id":158880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:12] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:12] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:12] local.INFO: IMEI packet received {"connection_id":160062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":160062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:29:12] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:12] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:12] local.INFO: IMEI packet received {"connection_id":160062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":160062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:29:17] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:17] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:29:17] local.INFO: IMEI packet received {"connection_id":160062,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":160062,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:29:18] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:18] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:18] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:29:18] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d7b0012d7c12c005e4da280009002129..."} 
[2026-08-21 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d7b0012d7c12c005e4da280009002129..."} 
[2026-08-21 08:29:18] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d7b0012d7c12c005e4da280009002129..."} 
[2026-08-21 08:29:18] local.INFO: Packet analysis {"connection_id":160062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:18] local.INFO: Extracted packet for processing {"connection_id":160062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:18] local.INFO: GPS Element Parsed {"raw_longitude":763105984,"raw_latitude":98884136,"longitude_deg":76.3105984,"latitude_deg":9.8884136,"altitude":9,"angle":33,"satellites":41,"speed":25,"hex_longitude":"2d7c12c0","hex_latitude":"05e4da28","is_valid_coordinates":true} 
[2026-08-21 08:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543951616001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121599101199450112,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935071317271296000,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] 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-08-21 08:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787281070000,"timestamp_ms":1787281070000,"timestamp_seconds":1787281070,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d7b0"} 
[2026-08-21 08:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:29: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-08-21 08:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303150245399903,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399473,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2147869734,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505887,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":175,"raw_value":4283498496,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3825643520,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,1,160,153,45,192,159,11,10,66,208,85,125,129,12,40,94,128,240,3,227,34,228,4,113,205,43,32,156,8,38,239,50,2,175,5,49],"length":486,"final_offset":616,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 08:29:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720611296553205760,"timestamp_seconds":720611296553205.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:29: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-08-21 08:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543951616001,"66":13102,"39":206,"87":13824,"24":25,"16":121599101199450112,"45":8935071317271296000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 08:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543951616001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:18] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 08:29:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121599101199450112,"km_value":121599101199450.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935071317271296000,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543951616001,"power":13102,"unknown_39":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8935071317271296000}} 
[2026-08-21 08:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":160062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:18] local.INFO: GPS data processed {"connection_id":160062,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:18] local.INFO: Acknowledgment sent {"connection_id":160062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:19] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:19] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:19] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:29:23] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:23] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:29:23] local.INFO: IMEI packet received {"connection_id":160063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":160063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:29:24] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223e1890012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223e1890012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:29:24] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223e1890012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:29:24] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:29:24] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543902464001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29: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-08-21 08:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787280890000,"timestamp_ms":1787280890000,"timestamp_seconds":1787280890,"priority":1,"record_length":96,"hex_timestamp":"000001a0223e1890"} 
[2026-08-21 08:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:29: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-08-21 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:29:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:29:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543902464001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543902464001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543902464001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:24] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:24] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:25] local.INFO: TCP Data received {"connection_id":160062,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022410a78012d7c264005e4f7f00007001f27..."} 
[2026-08-21 08:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022410a78012d7c264005e4f7f00007001f27..."} 
[2026-08-21 08:29:25] local.INFO: Processing buffer {"connection_id":160062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022410a78012d7c264005e4f7f00007001f27..."} 
[2026-08-21 08:29:25] local.INFO: Packet analysis {"connection_id":160062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02241"} 
[2026-08-21 08:29:25] local.INFO: Extracted packet for processing {"connection_id":160062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02241"} 
[2026-08-21 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":763110976,"raw_latitude":98891760,"longitude_deg":76.3110976,"latitude_deg":9.889176,"altitude":7,"angle":31,"satellites":39,"speed":37,"hex_longitude":"2d7c2640","hex_latitude":"05e4f7f0","is_valid_coordinates":true} 
[2026-08-21 08:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953920001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121599539286114304,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8940419341830727680,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787281083000,"timestamp_ms":1787281083000,"timestamp_seconds":1787281083,"priority":1,"record_length":96,"hex_timestamp":"000001a022410a78"} 
[2026-08-21 08:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 08:29: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-08-21 08:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160062,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953920001,"66":13189,"39":206,"87":13824,"24":37,"16":121599539286114304,"45":8940419341830727680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 08:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953920001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 08:29:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121599539286114304,"km_value":121599539286114.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8940419341830727680,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953920001,"power":13189,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8940419341830727680}} 
[2026-08-21 08:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":160062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:25] local.INFO: GPS data processed {"connection_id":160062,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:25] local.INFO: Acknowledgment sent {"connection_id":160062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:26] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:29:26] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:29:26] local.INFO: IMEI packet received {"connection_id":161410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":161410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:29:31] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:29:31] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:29:31] local.INFO: IMEI packet received {"connection_id":161410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":161410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:29:32] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:29:32] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:29:32] local.INFO: Packet analysis {"connection_id":161410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:32] local.INFO: Extracted packet for processing {"connection_id":161410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:29:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:29: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:29: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-08-21 08: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-08-21 08:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:29: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-08-21 08:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:29:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":161410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:32] local.INFO: GPS data processed {"connection_id":161410,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:32] local.INFO: Acknowledgment sent {"connection_id":161410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:35] local.INFO: TCP Data received {"connection_id":158878,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022421be8012d0c0c000702ad10001e005206..."} 
[2026-08-21 08:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022421be8012d0c0c000702ad10001e005206..."} 
[2026-08-21 08:29:35] local.INFO: Processing buffer {"connection_id":158878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022421be8012d0c0c000702ad10001e005206..."} 
[2026-08-21 08:29:35] local.INFO: Packet analysis {"connection_id":158878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:29:35] local.INFO: Extracted packet for processing {"connection_id":158878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":755764224,"raw_latitude":117615888,"longitude_deg":75.5764224,"latitude_deg":11.7615888,"altitude":30,"angle":82,"satellites":6,"speed":6,"hex_longitude":"2d0c0c00","hex_latitude":"0702ad10","is_valid_coordinates":true} 
[2026-08-21 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543973376001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29154710451650560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866520745913300992,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787281153000,"timestamp_ms":1787281153000,"timestamp_seconds":1787281153,"priority":1,"record_length":96,"hex_timestamp":"000001a022421be8"} 
[2026-08-21 08:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 08:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158878,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543973376001,"66":14439,"36":206,"94":11008,"24":6,"16":29154710451650560,"45":866520745913300992},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,94,24,16,45]} 
[2026-08-21 08:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543973376001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:35] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 08:29:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29154710451650560,"km_value":29154710451650.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":866520745913300992,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543973376001,"power":14439,"unknown_36":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":866520745913300992}} 
[2026-08-21 08:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":158878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:35] local.INFO: GPS data processed {"connection_id":158878,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:35] local.INFO: Acknowledgment sent {"connection_id":158878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:29:55] local.INFO: TCP Data received {"connection_id":160063,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0223e6a98012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0223e6a98012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:29:55] local.INFO: Processing buffer {"connection_id":160063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0223e6a98012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:29:55] local.INFO: Packet analysis {"connection_id":160063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:29:55] local.INFO: Extracted packet for processing {"connection_id":160063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0223e"} 
[2026-08-21 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543907840001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787280911000,"timestamp_ms":1787280911000,"timestamp_seconds":1787280911,"priority":1,"record_length":96,"hex_timestamp":"000001a0223e6a98"} 
[2026-08-21 08:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543907840001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543907840001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:29:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543907840001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":160063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:29:55] local.INFO: GPS data processed {"connection_id":160063,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:29:55] local.INFO: Acknowledgment sent {"connection_id":160063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:04] local.INFO: TCP Data received {"connection_id":161410,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:04] local.INFO: Processing buffer {"connection_id":161410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:04] local.INFO: Packet analysis {"connection_id":161410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:30:04] local.INFO: Extracted packet for processing {"connection_id":161410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:30:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30: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-08-21 08: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":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:30: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-08-21 08:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:30:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":161410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:04] local.INFO: GPS data processed {"connection_id":161410,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:04] local.INFO: Acknowledgment sent {"connection_id":161410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:07] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:30:07] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:30:07] local.INFO: IMEI packet received {"connection_id":161411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":161411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:30:12] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:30:12] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:30:12] local.INFO: IMEI packet received {"connection_id":161411,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":161411,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:30:13] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224275c0012d7be84005e5e6880007012e24..."} 
[2026-08-21 08:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224275c0012d7be84005e5e6880007012e24..."} 
[2026-08-21 08:30:13] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224275c0012d7be84005e5e6880007012e24..."} 
[2026-08-21 08:30:13] local.INFO: Packet analysis {"connection_id":161411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:13] local.INFO: Extracted packet for processing {"connection_id":161411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":763095104,"raw_latitude":98952840,"longitude_deg":76.3095104,"latitude_deg":9.895284,"altitude":7,"angle":302,"satellites":36,"speed":31,"hex_longitude":"2d7be840","hex_latitude":"05e5e688","is_valid_coordinates":true} 
[2026-08-21 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543978752001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121602872180736000,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8934719473568657408,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:13] 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-08-21 08:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787281176000,"timestamp_ms":1787281176000,"timestamp_seconds":1787281176,"priority":1,"record_length":96,"hex_timestamp":"000001a0224275c0"} 
[2026-08-21 08:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543978752001,"66":13319,"39":206,"87":13824,"24":31,"16":121602872180736000,"45":8934719473568657408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 08:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543978752001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:13] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 08:30:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121602872180736000,"km_value":121602872180736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8934719473568657408,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543978752001,"power":13319,"unknown_39":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8934719473568657408}} 
[2026-08-21 08:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":161411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:13] local.INFO: GPS data processed {"connection_id":161411,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:13] local.INFO: Acknowledgment sent {"connection_id":161411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:18] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:18] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:18] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:30:22] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:30:22] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:30:22] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:30:22] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:22] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:22] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:30:23] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:23] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:30:23] local.INFO: IMEI packet received {"connection_id":160065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":160065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:30:23] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02241f0f0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02241f0f0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:30:23] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02241f0f0012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:30:23] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02241"} 
[2026-08-21 08:30:23] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02241"} 
[2026-08-21 08:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543966976001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787281142000,"timestamp_ms":1787281142000,"timestamp_seconds":1787281142,"priority":1,"record_length":96,"hex_timestamp":"000001a02241f0f0"} 
[2026-08-21 08:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543966976001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543966976001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:30:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543966976001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:23] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:23] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:27] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:30:27] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:30:27] local.INFO: IMEI packet received {"connection_id":160064,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":160064,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:30:27] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022424ac8012d0c11c00702ae40001e004607..."} 
[2026-08-21 08:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022424ac8012d0c11c00702ae40001e004607..."} 
[2026-08-21 08:30:27] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022424ac8012d0c11c00702ae40001e004607..."} 
[2026-08-21 08:30:27] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:27] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":755765696,"raw_latitude":117616192,"longitude_deg":75.5765696,"latitude_deg":11.7616192,"altitude":30,"angle":70,"satellites":7,"speed":6,"hex_longitude":"2d0c11c0","hex_latitude":"0702ae40","is_valid_coordinates":true} 
[2026-08-21 08:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543975168001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29154783466094592,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868068858285330432,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787281165000,"timestamp_ms":1787281165000,"timestamp_seconds":1787281165,"priority":1,"record_length":96,"hex_timestamp":"000001a022424ac8"} 
[2026-08-21 08:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543975168001,"66":14396,"37":206,"94":11008,"24":6,"16":29154783466094592,"45":868068858285330432},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 08:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543975168001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 08:30:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29154783466094592,"km_value":29154783466094.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":868068858285330432,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543975168001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":868068858285330432}} 
[2026-08-21 08:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674488,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:28] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:28] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:31] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:30:31] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:30:31] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:30:32] local.INFO: TCP Data received {"connection_id":160064,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022425680012d0c14000702aef0001e006207..."} 
[2026-08-21 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022425680012d0c14000702aef0001e006207..."} 
[2026-08-21 08:30:32] local.INFO: Processing buffer {"connection_id":160064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022425680012d0c14000702aef0001e006207..."} 
[2026-08-21 08:30:32] local.INFO: Packet analysis {"connection_id":160064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:32] local.INFO: Extracted packet for processing {"connection_id":160064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":755766272,"raw_latitude":117616368,"longitude_deg":75.5766272,"latitude_deg":11.7616368,"altitude":30,"angle":98,"satellites":7,"speed":11,"hex_longitude":"2d0c1400","hex_latitude":"0702aef0","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543978240001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29154813530865664,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":869687339401494528,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281168000,"timestamp_ms":1787281168000,"timestamp_seconds":1787281168,"priority":1,"record_length":96,"hex_timestamp":"000001a022425680"} 
[2026-08-21 08:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160064,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543978240001,"66":14428,"37":206,"94":11008,"24":11,"16":29154813530865664,"45":869687339401494528},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 08:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543978240001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 08:30:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29154813530865664,"km_value":29154813530865.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":869687339401494528,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543978240001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":869687339401494528}} 
[2026-08-21 08:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":160064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:32] local.INFO: GPS data processed {"connection_id":160064,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:32] local.INFO: Acknowledgment sent {"connection_id":160064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:36] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:30:36] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:30:36] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:30:37] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:37] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:37] local.INFO: Packet analysis {"connection_id":159185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:30:37] local.INFO: Extracted packet for processing {"connection_id":159185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:30:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":159185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:37] local.INFO: GPS data processed {"connection_id":159185,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:37] local.INFO: Acknowledgment sent {"connection_id":159185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:42] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:42] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:30:42] local.INFO: Packet analysis {"connection_id":159185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:30:42] local.INFO: Extracted packet for processing {"connection_id":159185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:30:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:30:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":159185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:42] local.INFO: GPS data processed {"connection_id":159185,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:42] local.INFO: Acknowledgment sent {"connection_id":159185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:43] local.INFO: TCP Data received {"connection_id":161411,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022428178012d7be14005e5ecb80007014023..."} 
[2026-08-21 08:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022428178012d7be14005e5ecb80007014023..."} 
[2026-08-21 08:30:43] local.INFO: Processing buffer {"connection_id":161411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022428178012d7be14005e5ecb80007014023..."} 
[2026-08-21 08:30:43] local.INFO: Packet analysis {"connection_id":161411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:43] local.INFO: Extracted packet for processing {"connection_id":161411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":763093312,"raw_latitude":98954424,"longitude_deg":76.3093312,"latitude_deg":9.8954424,"altitude":7,"angle":320,"satellites":35,"speed":32,"hex_longitude":"2d7be140","hex_latitude":"05e5ecb8","is_valid_coordinates":true} 
[2026-08-21 08:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543981056001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121602988144852992,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928456655338113024,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] 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-08-21 08:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787281179000,"timestamp_ms":1787281179000,"timestamp_seconds":1787281179,"priority":1,"record_length":96,"hex_timestamp":"000001a022428178"} 
[2026-08-21 08:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3847778304,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":14336,"corrected_to":0} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":229,"raw_value":6372593485635919616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.WARNING: Large IO value detected {"io_id":65,"raw_value":-6151915796119355387,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:43] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,39,87,24,241,157,16,5,160,82,45,128,211,7,36,10,66,4,63,64,200,35,1,240,51,227,34,229,113,205,31,182,96,33,239,50,2,176,3,79,65],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":200,"original":14336,"validated":0},{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-21 08:30:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504735365397938176,"timestamp_seconds":504735365397938.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161411,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543981056001,"66":13254,"39":206,"87":13824,"24":32,"16":121602988144852992,"45":8928456655338113024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 08:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543981056001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:43] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 08:30:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121602988144852992,"km_value":121602988144852.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928456655338113024,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543981056001,"power":13254,"unknown_39":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8928456655338113024}} 
[2026-08-21 08:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":161411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:43] local.INFO: GPS data processed {"connection_id":161411,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:43] local.INFO: Acknowledgment sent {"connection_id":161411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:30:54] local.INFO: TCP Data received {"connection_id":160065,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224242f8012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224242f8012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:30:54] local.INFO: Processing buffer {"connection_id":160065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224242f8012d1965c0071ff0f8003a01442b..."} 
[2026-08-21 08:30:54] local.INFO: Packet analysis {"connection_id":160065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:54] local.INFO: Extracted packet for processing {"connection_id":160065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543972352001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:30: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-08-21 08:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787281163000,"timestamp_ms":1787281163000,"timestamp_seconds":1787281163,"priority":1,"record_length":96,"hex_timestamp":"000001a0224242f8"} 
[2026-08-21 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-08-21 08:30: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-08-21 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543972352001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543972352001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:30:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:30:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543972352001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":160065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:30:54] local.INFO: GPS data processed {"connection_id":160065,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:30:54] local.INFO: Acknowledgment sent {"connection_id":160065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:31:07] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:31:07] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:31:07] local.INFO: IMEI packet received {"connection_id":161412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":161412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:31:09] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:31:09] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:31:09] local.INFO: IMEI packet received {"connection_id":161412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":161412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:31:10] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022428d30012d7bdc0005e5f5900008015125..."} 
[2026-08-21 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022428d30012d7bdc0005e5f5900008015125..."} 
[2026-08-21 08:31:10] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022428d30012d7bdc0005e5f5900008015125..."} 
[2026-08-21 08:31:10] local.INFO: Packet analysis {"connection_id":161412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:10] local.INFO: Extracted packet for processing {"connection_id":161412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763091968,"raw_latitude":98956688,"longitude_deg":76.3091968,"latitude_deg":9.8956688,"altitude":8,"angle":337,"satellites":37,"speed":36,"hex_longitude":"2d7bdc00","hex_latitude":"05e5f590","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543981824001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121603116993871872,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926486330501543936,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787281182000,"timestamp_ms":1787281182000,"timestamp_seconds":1787281182,"priority":1,"record_length":96,"hex_timestamp":"000001a022428d30"} 
[2026-08-21 08:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 08:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:31: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-08-21 08:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543981824001,"66":13037,"38":206,"87":13824,"24":36,"16":121603116993871872,"45":8926486330501543936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-21 08:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543981824001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:31:10] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-21 08:31:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121603116993871872,"km_value":121603116993871.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926486330501543936,"description":"Unknown IO ID 45"} 
[2026-08-21 08:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543981824001,"power":13037,"unknown_38":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8926486330501543936}} 
[2026-08-21 08:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":161412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:31:10] local.INFO: GPS data processed {"connection_id":161412,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:31:10] local.INFO: Acknowledgment sent {"connection_id":161412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:31:16] local.INFO: TCP Data received {"connection_id":158881,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:16] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:16] local.INFO: IMEI packet received {"connection_id":158881,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":158881,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:31:16] local.INFO: TCP Data received {"connection_id":158881,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:16] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:16] local.INFO: IMEI packet received {"connection_id":158881,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":158881,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:31:22] local.INFO: TCP Data received {"connection_id":158881,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:22] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:31:22] local.INFO: IMEI packet received {"connection_id":158881,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":158881,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:31:22] local.INFO: TCP Data received {"connection_id":158881,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022426238012d0c17400702af60001d005607..."} 
[2026-08-21 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022426238012d0c17400702af60001d005607..."} 
[2026-08-21 08:31:22] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022426238012d0c17400702af60001d005607..."} 
[2026-08-21 08:31:22] local.INFO: Packet analysis {"connection_id":158881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:22] local.INFO: Extracted packet for processing {"connection_id":158881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:22] local.INFO: GPS Element Parsed {"raw_longitude":755767104,"raw_latitude":117616480,"longitude_deg":75.5767104,"latitude_deg":11.761648,"altitude":29,"angle":86,"satellites":7,"speed":13,"hex_longitude":"2d0c1740","hex_latitude":"0702af60","is_valid_coordinates":true} 
[2026-08-21 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543979008001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29154852185571328,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870320658099138560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787281171000,"timestamp_ms":1787281171000,"timestamp_seconds":1787281171,"priority":1,"record_length":96,"hex_timestamp":"000001a022426238"} 
[2026-08-21 08:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 08:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543979008001,"66":14450,"37":206,"94":11008,"24":13,"16":29154852185571328,"45":870320658099138560},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 08:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543979008001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:31:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 08:31:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29154852185571328,"km_value":29154852185571.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":870320658099138560,"description":"Unknown IO ID 45"} 
[2026-08-21 08:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543979008001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":870320658099138560}} 
[2026-08-21 08:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":158881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674495,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:31:23] local.INFO: GPS data processed {"connection_id":158881,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:31:23] local.INFO: Acknowledgment sent {"connection_id":158881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:31:23] local.INFO: TCP Data received {"connection_id":158882,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:31:23] local.INFO: Processing buffer {"connection_id":158882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:31:23] local.INFO: IMEI packet received {"connection_id":158882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":158882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:31:25] local.INFO: TCP Data received {"connection_id":158882,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:31:25] local.INFO: Processing buffer {"connection_id":158882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:31:25] local.INFO: IMEI packet received {"connection_id":158882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":158882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:31:26] local.INFO: TCP Data received {"connection_id":158882,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022429500012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022429500012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:31:26] local.INFO: Processing buffer {"connection_id":158882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022429500012d1965c0071ff0f8003a01442c..."} 
[2026-08-21 08:31:26] local.INFO: Packet analysis {"connection_id":158882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:26] local.INFO: Extracted packet for processing {"connection_id":158882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543977728001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787281184000,"timestamp_ms":1787281184000,"timestamp_seconds":1787281184,"priority":1,"record_length":96,"hex_timestamp":"000001a022429500"} 
[2026-08-21 08:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543977728001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543977728001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:31:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:31:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543977728001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":158882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:31:26] local.INFO: GPS data processed {"connection_id":158882,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:31:26] local.INFO: Acknowledgment sent {"connection_id":158882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:31:26] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:31:26] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:31:26] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:31:28] local.INFO: TCP Data received {"connection_id":158882,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02242e708012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02242e708012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:31:28] local.INFO: Processing buffer {"connection_id":158882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02242e708012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:31:28] local.INFO: Packet analysis {"connection_id":158882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:28] local.INFO: Extracted packet for processing {"connection_id":158882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543983104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787281205000,"timestamp_ms":1787281205000,"timestamp_seconds":1787281205,"priority":1,"record_length":96,"hex_timestamp":"000001a02242e708"} 
[2026-08-21 08:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543983104001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543983104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:31:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543983104001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":158882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:31:28] local.INFO: GPS data processed {"connection_id":158882,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:31:28] local.INFO: Acknowledgment sent {"connection_id":158882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:31:31] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:31:31] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:31:31] local.INFO: IMEI packet received {"connection_id":160066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":160066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:31:32] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:31:32] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:31:32] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:31:32] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:31: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-08-21 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:31: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-08-21 08:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:31: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-08-21 08:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:31:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:31:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:31:33] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:31:33] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:31:41] local.INFO: TCP Data received {"connection_id":161412,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02242bc10012d7bd0c005e618500007015723..."} 
[2026-08-21 08:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02242bc10012d7bd0c005e618500007015723..."} 
[2026-08-21 08:31:41] local.INFO: Processing buffer {"connection_id":161412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02242bc10012d7bd0c005e618500007015723..."} 
[2026-08-21 08:31:41] local.INFO: Packet analysis {"connection_id":161412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:41] local.INFO: Extracted packet for processing {"connection_id":161412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763089088,"raw_latitude":98965584,"longitude_deg":76.3089088,"latitude_deg":9.8965584,"altitude":7,"angle":343,"satellites":35,"speed":31,"hex_longitude":"2d7bd0c0","hex_latitude":"05e61850","is_valid_coordinates":true} 
[2026-08-21 08:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543982592001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121603567965437952,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925008586874392576,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787281194000,"timestamp_ms":1787281194000,"timestamp_seconds":1787281194,"priority":1,"record_length":96,"hex_timestamp":"000001a02242bc10"} 
[2026-08-21 08:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 08:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:31: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-08-21 08:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543982592001,"66":12776,"38":206,"87":13824,"24":31,"16":121603567965437952,"45":8925008586874392576},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-08-21 08:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543982592001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:31:41] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-08-21 08:31:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121603567965437952,"km_value":121603567965437.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925008586874392576,"description":"Unknown IO ID 45"} 
[2026-08-21 08:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543982592001,"power":12776,"unknown_38":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8925008586874392576}} 
[2026-08-21 08:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":161412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674499,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:31:41] local.INFO: GPS data processed {"connection_id":161412,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:31:41] local.INFO: Acknowledgment sent {"connection_id":161412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:31:53] local.INFO: TCP Data received {"connection_id":158881,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224275c0012d0c1e000702af18001c006307..."} 
[2026-08-21 08:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224275c0012d0c1e000702af18001c006307..."} 
[2026-08-21 08:31:53] local.INFO: Processing buffer {"connection_id":158881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224275c0012d0c1e000702af18001c006307..."} 
[2026-08-21 08:31:53] local.INFO: Packet analysis {"connection_id":158881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:53] local.INFO: Extracted packet for processing {"connection_id":158881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:31:53] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":117616408,"longitude_deg":75.5768832,"latitude_deg":11.7616408,"altitude":28,"angle":99,"satellites":7,"speed":12,"hex_longitude":"2d0c1e00","hex_latitude":"0702af18","is_valid_coordinates":true} 
[2026-08-21 08:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543979776001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29154933789949952,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871235451773476864,"note":"Value kept but may cause issues"} 
[2026-08-21 08:31:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787281176000,"timestamp_ms":1787281176000,"timestamp_seconds":1787281176,"priority":1,"record_length":96,"hex_timestamp":"000001a0224275c0"} 
[2026-08-21 08:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 08:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158881,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543979776001,"66":14439,"37":206,"94":11008,"24":12,"16":29154933789949952,"45":871235451773476864},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 08:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543979776001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:31:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 08:31:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29154933789949952,"km_value":29154933789949.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":871235451773476864,"description":"Unknown IO ID 45"} 
[2026-08-21 08:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543979776001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":871235451773476864}} 
[2026-08-21 08:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":158881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674500,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:31:53] local.INFO: GPS data processed {"connection_id":158881,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:31:53] local.INFO: Acknowledgment sent {"connection_id":158881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:00] local.INFO: TCP Data received {"connection_id":158882,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022433910012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022433910012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:32:00] local.INFO: Processing buffer {"connection_id":158882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022433910012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:32:00] local.INFO: Packet analysis {"connection_id":158882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02243"} 
[2026-08-21 08:32:00] local.INFO: Extracted packet for processing {"connection_id":158882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02243"} 
[2026-08-21 08:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543988480001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787281226000,"timestamp_ms":1787281226000,"timestamp_seconds":1787281226,"priority":1,"record_length":96,"hex_timestamp":"000001a022433910"} 
[2026-08-21 08:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:32: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-08-21 08:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":158882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":158882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":158882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543988480001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543988480001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:32:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543988480001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":158882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:00] local.INFO: GPS data processed {"connection_id":158882,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:00] local.INFO: Acknowledgment sent {"connection_id":158882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:04] local.INFO: TCP Data received {"connection_id":160066,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:32:04] local.INFO: Processing buffer {"connection_id":160066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:32:04] local.INFO: Packet analysis {"connection_id":160066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:32:04] local.INFO: Extracted packet for processing {"connection_id":160066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:32: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08: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-08-21 08:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:32:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":160066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:04] local.INFO: GPS data processed {"connection_id":160066,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:04] local.INFO: Acknowledgment sent {"connection_id":160066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:05] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:05] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:05] local.INFO: IMEI packet received {"connection_id":159186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":159186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:32:07] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:07] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:07] local.INFO: IMEI packet received {"connection_id":159186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":159186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:32:09] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:09] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:32:09] local.INFO: IMEI packet received {"connection_id":159186,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":159186,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:32:09] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022444e68012d7b840005e711e80004013f22..."} 
[2026-08-21 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022444e68012d7b840005e711e80004013f22..."} 
[2026-08-21 08:32:09] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022444e68012d7b840005e711e80004013f22..."} 
[2026-08-21 08:32:09] local.INFO: Packet analysis {"connection_id":159186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:32:09] local.INFO: Extracted packet for processing {"connection_id":159186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":763069440,"raw_latitude":99029480,"longitude_deg":76.306944,"latitude_deg":9.902948,"altitude":4,"angle":319,"satellites":34,"speed":26,"hex_longitude":"2d7b8400","hex_latitude":"05e711e8","is_valid_coordinates":true} 
[2026-08-21 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544011776001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121606875090255872,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001407420416,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787281297000,"timestamp_ms":1787281297000,"timestamp_seconds":1787281297,"priority":1,"record_length":96,"hex_timestamp":"000001a022444e68"} 
[2026-08-21 08:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:32: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-08-21 08:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544011776001,"66":13048,"96":206,"87":13824,"24":26,"16":121606875090255872,"45":8900661001407420416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544011776001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:09] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:32:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121606875090255872,"km_value":121606875090255.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001407420416,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544011776001,"power":13048,"unknown_96":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8900661001407420416}} 
[2026-08-21 08:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":159186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:10] local.INFO: GPS data processed {"connection_id":159186,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:10] local.INFO: Acknowledgment sent {"connection_id":159186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:17] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:17] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:17] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:32:17] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:17] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:17] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:32:18] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:32:18] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:32:18] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:32:21] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:21] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:32:21] local.INFO: IMEI packet received {"connection_id":160067,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":160067,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:32:22] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02242c3e0012d0c26400702ace0001a006107..."} 
[2026-08-21 08:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02242c3e0012d0c26400702ace0001a006107..."} 
[2026-08-21 08:32:22] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02242c3e0012d0c26400702ace0001a006107..."} 
[2026-08-21 08:32:22] local.INFO: Packet analysis {"connection_id":160067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:32:22] local.INFO: Extracted packet for processing {"connection_id":160067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02242"} 
[2026-08-21 08:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755770944,"raw_latitude":117615840,"longitude_deg":75.5770944,"latitude_deg":11.761584,"altitude":26,"angle":97,"satellites":7,"speed":0,"hex_longitude":"2d0c2640","hex_latitude":"0702ace0","is_valid_coordinates":true} 
[2026-08-21 08:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543981056001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29155054049034240,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407866255360,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787281196000,"timestamp_ms":1787281196000,"timestamp_seconds":1787281196,"priority":1,"record_length":96,"hex_timestamp":"000001a02242c3e0"} 
[2026-08-21 08:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543981056001,"66":14548,"37":206,"94":11008,"24":0,"16":29155054049034240,"45":873135407866255360},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 08:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543981056001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:22] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 08:32:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29155054049034240,"km_value":29155054049034.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407866255360,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543981056001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":873135407866255360}} 
[2026-08-21 08:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":160067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674504,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:22] local.INFO: GPS data processed {"connection_id":160067,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:22] local.INFO: Acknowledgment sent {"connection_id":160067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:23] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:32:23] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:32:23] local.INFO: IMEI packet received {"connection_id":160068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":160068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:32:24] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022438b18012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022438b18012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:32:24] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022438b18012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:32:24] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02243"} 
[2026-08-21 08:32:24] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02243"} 
[2026-08-21 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543993856001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32: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-08-21 08:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281247000,"timestamp_ms":1787281247000,"timestamp_seconds":1787281247,"priority":1,"record_length":96,"hex_timestamp":"000001a022438b18"} 
[2026-08-21 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-08-21 08:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 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-08-21 08:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543993856001,"66":12113,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543993856001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543993856001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:24] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:24] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:26] local.INFO: TCP Data received {"connection_id":158883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:32:26] local.INFO: Processing buffer {"connection_id":158883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:32:26] local.INFO: IMEI packet received {"connection_id":158883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":158883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:32:31] local.INFO: TCP Data received {"connection_id":158883,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:32:31] local.INFO: Processing buffer {"connection_id":158883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:32:31] local.INFO: IMEI packet received {"connection_id":158883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":158883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:32:32] local.INFO: TCP Data received {"connection_id":158883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:32:32] local.INFO: Processing buffer {"connection_id":158883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:32:32] local.INFO: Packet analysis {"connection_id":158883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:32:32] local.INFO: Extracted packet for processing {"connection_id":158883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:32:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:32: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:32: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-08-21 08: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-08-21 08:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:32: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-08-21 08:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:32:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":158883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:32] local.INFO: GPS data processed {"connection_id":158883,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:32] local.INFO: Acknowledgment sent {"connection_id":158883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:41] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022445a20012d7b7ec005e718c80003014c24..."} 
[2026-08-21 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022445a20012d7b7ec005e718c80003014c24..."} 
[2026-08-21 08:32:41] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022445a20012d7b7ec005e718c80003014c24..."} 
[2026-08-21 08:32:41] local.INFO: Packet analysis {"connection_id":159186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:32:41] local.INFO: Extracted packet for processing {"connection_id":159186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":763068096,"raw_latitude":99031240,"longitude_deg":76.3068096,"latitude_deg":9.903124,"altitude":3,"angle":332,"satellites":36,"speed":31,"hex_longitude":"2d7b7ec0","hex_latitude":"05e718c8","is_valid_coordinates":true} 
[2026-08-21 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544012032001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121606982464438272,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900238788942489600,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787281300000,"timestamp_ms":1787281300000,"timestamp_seconds":1787281300,"priority":1,"record_length":96,"hex_timestamp":"000001a022445a20"} 
[2026-08-21 08:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159186,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:32: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-08-21 08:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544012032001,"66":12602,"96":206,"87":13824,"24":31,"16":121606982464438272,"45":8900238788942489600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544012032001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121606982464438272,"km_value":121606982464438.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900238788942489600,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544012032001,"power":12602,"unknown_96":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8900238788942489600}} 
[2026-08-21 08:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":159186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:41] local.INFO: GPS data processed {"connection_id":159186,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:41] local.INFO: Acknowledgment sent {"connection_id":159186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:53] local.INFO: TCP Data received {"connection_id":160067,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224530f8012d0c060007033c900011015e14..."} 
[2026-08-21 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224530f8012d0c060007033c900011015e14..."} 
[2026-08-21 08:32:53] local.INFO: Processing buffer {"connection_id":160067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224530f8012d0c060007033c900011015e14..."} 
[2026-08-21 08:32:53] local.INFO: Packet analysis {"connection_id":160067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:32:53] local.INFO: Extracted packet for processing {"connection_id":160067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":755762688,"raw_latitude":117652624,"longitude_deg":75.5762688,"latitude_deg":11.7652624,"altitude":17,"angle":350,"satellites":20,"speed":39,"hex_longitude":"2d0c0600","hex_latitude":"07033c90","is_valid_coordinates":true} 
[2026-08-21 08:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544024320001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29156909474906112,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868420702013204480,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787281355000,"timestamp_ms":1787281355000,"timestamp_seconds":1787281355,"priority":1,"record_length":96,"hex_timestamp":"000001a0224530f8"} 
[2026-08-21 08:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160067,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544024320001,"66":14461,"37":206,"94":11008,"24":39,"16":29156909474906112,"45":868420702013204480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 08:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544024320001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 08:32:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29156909474906112,"km_value":29156909474906.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":868420702013204480,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544024320001,"power":14461,"unknown_37":206,"unknown_94":11008,"ignition":39,"odometer":null,"unknown_45":868420702013204480}} 
[2026-08-21 08:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":160067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674508,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:53] local.INFO: GPS data processed {"connection_id":160067,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:53] local.INFO: Acknowledgment sent {"connection_id":160067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:32:55] local.INFO: TCP Data received {"connection_id":160068,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02243dd20012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02243dd20012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:32:55] local.INFO: Processing buffer {"connection_id":160068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02243dd20012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:32:55] local.INFO: Packet analysis {"connection_id":160068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02243"} 
[2026-08-21 08:32:55] local.INFO: Extracted packet for processing {"connection_id":160068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02243"} 
[2026-08-21 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543999232001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281268000,"timestamp_ms":1787281268000,"timestamp_seconds":1787281268,"priority":1,"record_length":96,"hex_timestamp":"000001a02243dd20"} 
[2026-08-21 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-08-21 08:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-21 08:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 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-08-21 08:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543999232001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543999232001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:32:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543999232001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":160068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:32:55] local.INFO: GPS data processed {"connection_id":160068,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:32:55] local.INFO: Acknowledgment sent {"connection_id":160068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:04] local.INFO: TCP Data received {"connection_id":158883,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:33:04] local.INFO: Processing buffer {"connection_id":158883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02240d3c8012da67700054b3710001c005f2e..."} 
[2026-08-21 08:33:04] local.INFO: Packet analysis {"connection_id":158883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:33:04] local.INFO: Extracted packet for processing {"connection_id":158883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02240"} 
[2026-08-21 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":28,"angle":95,"satellites":46,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281069000,"timestamp_ms":1787281069000,"timestamp_seconds":1787281069,"priority":1,"record_length":96,"hex_timestamp":"000001a02240d3c8"} 
[2026-08-21 08:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33: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-08-21 08:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:33: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-08-21 08:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543876608001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:33:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543876608001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":158883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:04] local.INFO: GPS data processed {"connection_id":158883,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:04] local.INFO: Acknowledgment sent {"connection_id":158883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:07] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:33:07] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:33:07] local.INFO: IMEI packet received {"connection_id":159187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":159187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:33:12] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:33:12] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:33:12] local.INFO: IMEI packet received {"connection_id":159187,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":159187,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:33:16] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224461f0012d7b7c8005e71f080002015724..."} 
[2026-08-21 08:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224461f0012d7b7c8005e71f080002015724..."} 
[2026-08-21 08:33:16] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224461f0012d7b7c8005e71f080002015724..."} 
[2026-08-21 08:33:16] local.INFO: Packet analysis {"connection_id":159187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:16] local.INFO: Extracted packet for processing {"connection_id":159187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":763067520,"raw_latitude":99032840,"longitude_deg":76.306752,"latitude_deg":9.903284,"altitude":2,"angle":343,"satellites":36,"speed":35,"hex_longitude":"2d7b7c80","hex_latitude":"05e71f08","is_valid_coordinates":true} 
[2026-08-21 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544012800001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121607064068816896,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898761045315209216,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787281302000,"timestamp_ms":1787281302000,"timestamp_seconds":1787281302,"priority":1,"record_length":96,"hex_timestamp":"000001a0224461f0"} 
[2026-08-21 08:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 08:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:33: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-08-21 08:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544012800001,"66":12515,"96":206,"87":13824,"24":35,"16":121607064068816896,"45":8898761045315209216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544012800001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:33:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121607064068816896,"km_value":121607064068816.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898761045315209216,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544012800001,"power":12515,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8898761045315209216}} 
[2026-08-21 08:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":159187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:16] local.INFO: GPS data processed {"connection_id":159187,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:16] local.INFO: Acknowledgment sent {"connection_id":159187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:18] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:33:18] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:33:18] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:33:21] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:33:21] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:33:21] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:33:23] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:33:23] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:33:23] local.INFO: IMEI packet received {"connection_id":160069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":160069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:33:24] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022442f28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022442f28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:33:24] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022442f28012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:33:24] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:24] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544004608001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33: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-08-21 08:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281289000,"timestamp_ms":1787281289000,"timestamp_seconds":1787281289,"priority":1,"record_length":96,"hex_timestamp":"000001a022442f28"} 
[2026-08-21 08:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:33:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544004608001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544004608001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:33:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544004608001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:24] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:24] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:26] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:26] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:26] local.INFO: IMEI packet received {"connection_id":161413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":161413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:33:26] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:33:26] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:33:26] local.INFO: IMEI packet received {"connection_id":160070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":160070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:33:27] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022455808012d0bffc007036150000f016314..."} 
[2026-08-21 08:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022455808012d0bffc007036150000f016314..."} 
[2026-08-21 08:33:27] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022455808012d0bffc007036150000f016314..."} 
[2026-08-21 08:33:27] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:33:27] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:33:27] local.INFO: GPS Element Parsed {"raw_longitude":755761088,"raw_latitude":117662032,"longitude_deg":75.5761088,"latitude_deg":11.7662032,"altitude":15,"angle":355,"satellites":20,"speed":37,"hex_longitude":"2d0bffc0","hex_latitude":"07036150","is_valid_coordinates":true} 
[2026-08-21 08:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544026880001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29157373331374080,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866380008434470912,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787281365000,"timestamp_ms":1787281365000,"timestamp_seconds":1787281365,"priority":1,"record_length":96,"hex_timestamp":"000001a022455808"} 
[2026-08-21 08:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33: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-08-21 08: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 08:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544026880001,"66":14439,"37":206,"94":11008,"24":37,"16":29157373331374080,"45":866380008434470912},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 08:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544026880001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:27] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 08:33:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29157373331374080,"km_value":29157373331374.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":866380008434470912,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544026880001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":37,"odometer":null,"unknown_45":866380008434470912}} 
[2026-08-21 08:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674513,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:28] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:28] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:28] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:28] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:28] local.INFO: IMEI packet received {"connection_id":161413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":161413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:33:31] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:31] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:33:31] local.INFO: IMEI packet received {"connection_id":161413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":161413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:33:32] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:33:32] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:33:32] local.INFO: Packet analysis {"connection_id":161413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:33:32] local.INFO: Extracted packet for processing {"connection_id":161413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33: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-08-21 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:33: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-08-21 08: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-08-21 08:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:33: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-08-21 08:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:32] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:33:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":161413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:32] local.INFO: GPS data processed {"connection_id":161413,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:32] local.INFO: Acknowledgment sent {"connection_id":161413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:48] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02244b3f8012d7b760005e734680003015022..."} 
[2026-08-21 08:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02244b3f8012d7b760005e734680003015022..."} 
[2026-08-21 08:33:48] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02244b3f8012d7b760005e734680003015022..."} 
[2026-08-21 08:33:48] local.INFO: Packet analysis {"connection_id":159187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:48] local.INFO: Extracted packet for processing {"connection_id":159187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:48] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99038312,"longitude_deg":76.3065856,"latitude_deg":9.9038312,"altitude":3,"angle":336,"satellites":34,"speed":0,"hex_longitude":"2d7b7600","hex_latitude":"05e73468","is_valid_coordinates":true} 
[2026-08-21 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544013312001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121607347536658432,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898127726618019840,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787281323000,"timestamp_ms":1787281323000,"timestamp_seconds":1787281323,"priority":1,"record_length":96,"hex_timestamp":"000001a02244b3f8"} 
[2026-08-21 08:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33: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-08-21 08:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-21 08:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159187,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544013312001,"66":12341,"96":206,"87":13824,"24":0,"16":121607347536658432,"45":8898127726618019840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544013312001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:48] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:33:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121607347536658432,"km_value":121607347536658.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898127726618019840,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544013312001,"power":12341,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8898127726618019840}} 
[2026-08-21 08:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":159187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:48] local.INFO: GPS data processed {"connection_id":159187,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:48] local.INFO: Acknowledgment sent {"connection_id":159187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:55] local.INFO: TCP Data received {"connection_id":160069,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022448130012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022448130012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:33:55] local.INFO: Processing buffer {"connection_id":160069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022448130012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:33:55] local.INFO: Packet analysis {"connection_id":160069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:55] local.INFO: Extracted packet for processing {"connection_id":160069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544009984001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281310000,"timestamp_ms":1787281310000,"timestamp_seconds":1787281310,"priority":1,"record_length":96,"hex_timestamp":"000001a022448130"} 
[2026-08-21 08:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544009984001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544009984001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:33:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544009984001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":160069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:55] local.INFO: GPS data processed {"connection_id":160069,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:55] local.INFO: Acknowledgment sent {"connection_id":160069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:33:58] local.INFO: TCP Data received {"connection_id":160070,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022462710012d0c51800703e508001b002414..."} 
[2026-08-21 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022462710012d0c51800703e508001b002414..."} 
[2026-08-21 08:33:58] local.INFO: Processing buffer {"connection_id":160070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022462710012d0c51800703e508001b002414..."} 
[2026-08-21 08:33:58] local.INFO: Packet analysis {"connection_id":160070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:33:58] local.INFO: Extracted packet for processing {"connection_id":160070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:33:58] local.INFO: GPS Element Parsed {"raw_longitude":755782016,"raw_latitude":117695752,"longitude_deg":75.5782016,"latitude_deg":11.7695752,"altitude":27,"angle":36,"satellites":20,"speed":32,"hex_longitude":"2d0c5180","hex_latitude":"0703e508","is_valid_coordinates":true} 
[2026-08-21 08:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544042496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29159482160316416,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886646206768336896,"note":"Value kept but may cause issues"} 
[2026-08-21 08:33:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787281418000,"timestamp_ms":1787281418000,"timestamp_seconds":1787281418,"priority":1,"record_length":96,"hex_timestamp":"000001a022462710"} 
[2026-08-21 08:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544042496001,"66":14559,"16":29159482160316416,"94":11008,"24":32,"45":886646206768336896},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 08:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544042496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29159482160316416,"km_value":29159482160316.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:33:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":886646206768336896,"description":"Unknown IO ID 45"} 
[2026-08-21 08:33:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544042496001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":32,"unknown_45":886646206768336896}} 
[2026-08-21 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":160070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674517,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:33:59] local.INFO: GPS data processed {"connection_id":160070,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:33:59] local.INFO: Acknowledgment sent {"connection_id":160070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:03] local.INFO: TCP Data received {"connection_id":161413,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:34:03] local.INFO: Processing buffer {"connection_id":161413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:34:03] local.INFO: Packet analysis {"connection_id":161413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:34:03] local.INFO: Extracted packet for processing {"connection_id":161413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:34:03] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:34: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-08-21 08: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-08-21 08:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:34: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-08-21 08:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":161413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:03] local.INFO: GPS data processed {"connection_id":161413,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:03] local.INFO: Acknowledgment sent {"connection_id":161413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:06] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:06] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:06] local.INFO: IMEI packet received {"connection_id":159188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":159188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:34:07] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:07] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:07] local.INFO: IMEI packet received {"connection_id":159188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":159188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:34:12] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:12] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:34:12] local.INFO: IMEI packet received {"connection_id":159188,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":159188,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:34:13] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022464e20012d7b5f0005e7be600008015022..."} 
[2026-08-21 08:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022464e20012d7b5f0005e7be600008015022..."} 
[2026-08-21 08:34:13] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022464e20012d7b5f0005e7be600008015022..."} 
[2026-08-21 08:34:13] local.INFO: Packet analysis {"connection_id":159188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:13] local.INFO: Extracted packet for processing {"connection_id":159188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":763059968,"raw_latitude":99073632,"longitude_deg":76.3059968,"latitude_deg":9.9073632,"altitude":8,"angle":336,"satellites":34,"speed":6,"hex_longitude":"2d7b5f00","hex_latitude":"05e7be60","is_valid_coordinates":true} 
[2026-08-21 08:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544044544001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121609104178282496,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890176058536032256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787281428000,"timestamp_ms":1787281428000,"timestamp_seconds":1787281428,"priority":1,"record_length":96,"hex_timestamp":"000001a022464e20"} 
[2026-08-21 08:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 08:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544044544001,"66":13091,"96":206,"87":13824,"24":6,"16":121609104178282496,"45":8890176058536032256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544044544001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:34:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121609104178282496,"km_value":121609104178282.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890176058536032256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544044544001,"power":13091,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8890176058536032256}} 
[2026-08-21 08:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":159188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:13] local.INFO: GPS data processed {"connection_id":159188,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:13] local.INFO: Acknowledgment sent {"connection_id":159188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:16] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:34:16] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:34:16] local.INFO: IMEI packet received {"connection_id":161414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":161414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:34:18] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:34:18] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:34:18] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:34:22] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:34:22] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:34:22] local.INFO: IMEI packet received {"connection_id":161414,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":161414,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:34:22] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022462ee0012d0c56400703e9d8001b003014..."} 
[2026-08-21 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022462ee0012d0c56400703e9d8001b003014..."} 
[2026-08-21 08:34:22] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022462ee0012d0c56400703e9d8001b003014..."} 
[2026-08-21 08:34:22] local.INFO: Packet analysis {"connection_id":161414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:22] local.INFO: Extracted packet for processing {"connection_id":161414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:22] local.INFO: GPS Element Parsed {"raw_longitude":755783232,"raw_latitude":117696984,"longitude_deg":75.5783232,"latitude_deg":11.7696984,"altitude":27,"angle":48,"satellites":20,"speed":35,"hex_longitude":"2d0c5640","hex_latitude":"0703e9d8","is_valid_coordinates":true} 
[2026-08-21 08:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544043008001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29159568059662336,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887631369187166208,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787281420000,"timestamp_ms":1787281420000,"timestamp_seconds":1787281420,"priority":1,"record_length":96,"hex_timestamp":"000001a022462ee0"} 
[2026-08-21 08:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 08:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544043008001,"66":14537,"16":29159568059662336,"94":11008,"24":35,"45":887631369187166208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 08:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544043008001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29159568059662336,"km_value":29159568059662.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":887631369187166208,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544043008001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":887631369187166208}} 
[2026-08-21 08:34:23] local.INFO: DEBUG: GPS processor result {"connection_id":161414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674520,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:23] local.INFO: GPS data processed {"connection_id":161414,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:23] local.INFO: Acknowledgment sent {"connection_id":161414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:23] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:34:23] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:34:23] local.INFO: IMEI packet received {"connection_id":160071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":160071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:34:24] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02244d338012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02244d338012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:34:24] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02244d338012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:34:24] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:34:24] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02244"} 
[2026-08-21 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544015360001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34: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-08-21 08:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281331000,"timestamp_ms":1787281331000,"timestamp_seconds":1787281331,"priority":1,"record_length":96,"hex_timestamp":"000001a02244d338"} 
[2026-08-21 08:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544015360001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544015360001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544015360001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:24] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:24] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:26] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:34:26] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:34:26] local.INFO: IMEI packet received {"connection_id":161415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":161415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:34:31] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:34:31] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:34:31] local.INFO: IMEI packet received {"connection_id":161415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":161415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:34:33] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:34:33] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:34:33] local.INFO: Packet analysis {"connection_id":161415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:34:33] local.INFO: Extracted packet for processing {"connection_id":161415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:34:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":161415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:33] local.INFO: GPS data processed {"connection_id":161415,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:33] local.INFO: Acknowledgment sent {"connection_id":161415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:45] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224655f0012d7b5e8005e7c0200008015c22..."} 
[2026-08-21 08:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224655f0012d7b5e8005e7c0200008015c22..."} 
[2026-08-21 08:34:45] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224655f0012d7b5e8005e7c0200008015c22..."} 
[2026-08-21 08:34:45] local.INFO: Packet analysis {"connection_id":159188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:45] local.INFO: Extracted packet for processing {"connection_id":159188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:45] local.INFO: GPS Element Parsed {"raw_longitude":763059840,"raw_latitude":99074080,"longitude_deg":76.305984,"latitude_deg":9.907408,"altitude":8,"angle":348,"satellites":34,"speed":12,"hex_longitude":"2d7b5e80","hex_latitude":"05e7c020","is_valid_coordinates":true} 
[2026-08-21 08:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544045568001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121609125653118976,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889824214815498240,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787281430000,"timestamp_ms":1787281430000,"timestamp_seconds":1787281430,"priority":1,"record_length":96,"hex_timestamp":"000001a0224655f0"} 
[2026-08-21 08:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 08:34:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159188,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544045568001,"66":13091,"96":206,"87":13824,"24":12,"16":121609125653118976,"45":8889824214815498240},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544045568001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:34:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121609125653118976,"km_value":121609125653118.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889824214815498240,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544045568001,"power":13091,"unknown_96":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8889824214815498240}} 
[2026-08-21 08:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":159188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:46] local.INFO: GPS data processed {"connection_id":159188,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:46] local.INFO: Acknowledgment sent {"connection_id":159188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:53] local.INFO: TCP Data received {"connection_id":161414,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224659d8012d0c74c007040168001c003814..."} 
[2026-08-21 08:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224659d8012d0c74c007040168001c003814..."} 
[2026-08-21 08:34:53] local.INFO: Processing buffer {"connection_id":161414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224659d8012d0c74c007040168001c003814..."} 
[2026-08-21 08:34:53] local.INFO: Packet analysis {"connection_id":161414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:53] local.INFO: Extracted packet for processing {"connection_id":161414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:34:53] local.INFO: GPS Element Parsed {"raw_longitude":755791040,"raw_latitude":117703016,"longitude_deg":75.579104,"latitude_deg":11.7703016,"altitude":28,"angle":56,"satellites":20,"speed":35,"hex_longitude":"2d0c74c0","hex_latitude":"07040168","is_valid_coordinates":true} 
[2026-08-21 08:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544043520001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29160040506064896,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888968375326857216,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787281431000,"timestamp_ms":1787281431000,"timestamp_seconds":1787281431,"priority":1,"record_length":96,"hex_timestamp":"000001a0224659d8"} 
[2026-08-21 08:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 08:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161414,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544043520001,"66":14548,"16":29160040506064896,"94":11008,"24":35,"45":888968375326857216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 08:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544043520001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29160040506064896,"km_value":29160040506064.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":888968375326857216,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544043520001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":888968375326857216}} 
[2026-08-21 08:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":161414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:53] local.INFO: GPS data processed {"connection_id":161414,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:53] local.INFO: Acknowledgment sent {"connection_id":161414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:34:55] local.INFO: TCP Data received {"connection_id":160071,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022452540012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022452540012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:34:55] local.INFO: Processing buffer {"connection_id":160071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022452540012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:34:55] local.INFO: Packet analysis {"connection_id":160071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:34:55] local.INFO: Extracted packet for processing {"connection_id":160071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544020736001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281352000,"timestamp_ms":1787281352000,"timestamp_seconds":1787281352,"priority":1,"record_length":96,"hex_timestamp":"000001a022452540"} 
[2026-08-21 08:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:34:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:34:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544020736001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544020736001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:34:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:34:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544020736001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":160071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:34:55] local.INFO: GPS data processed {"connection_id":160071,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:34:55] local.INFO: Acknowledgment sent {"connection_id":160071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:04] local.INFO: TCP Data received {"connection_id":161415,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:35:04] local.INFO: Processing buffer {"connection_id":161415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:35:04] local.INFO: Packet analysis {"connection_id":161415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:04] local.INFO: Extracted packet for processing {"connection_id":161415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:35: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:35:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":161415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:04] local.INFO: GPS data processed {"connection_id":161415,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:04] local.INFO: Acknowledgment sent {"connection_id":161415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:07] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:35:07] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:35:07] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:35:15] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:35:15] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:35:15] local.INFO: IMEI packet received {"connection_id":161416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":161416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:35:16] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:16] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:16] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:35:17] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022468ca0012d7b598005e7e4380009016725..."} 
[2026-08-21 08:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022468ca0012d7b598005e7e4380009016725..."} 
[2026-08-21 08:35:17] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022468ca0012d7b598005e7e4380009016725..."} 
[2026-08-21 08:35:17] local.INFO: Packet analysis {"connection_id":161416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:35:17] local.INFO: Extracted packet for processing {"connection_id":161416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:35:17] local.INFO: GPS Element Parsed {"raw_longitude":763058560,"raw_latitude":99083320,"longitude_deg":76.305856,"latitude_deg":9.908332,"altitude":9,"angle":359,"satellites":37,"speed":21,"hex_longitude":"2d7b5980","hex_latitude":"05e7e438","is_valid_coordinates":true} 
[2026-08-21 08:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544046080001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121609580919652352,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889683477327257600,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787281444000,"timestamp_ms":1787281444000,"timestamp_seconds":1787281444,"priority":1,"record_length":96,"hex_timestamp":"000001a022468ca0"} 
[2026-08-21 08:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 08:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544046080001,"66":13037,"96":206,"87":13824,"24":21,"16":121609580919652352,"45":8889683477327257600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544046080001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:17] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:35:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121609580919652352,"km_value":121609580919652.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889683477327257600,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544046080001,"power":13037,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8889683477327257600}} 
[2026-08-21 08:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":161416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:17] local.INFO: GPS data processed {"connection_id":161416,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:17] local.INFO: Acknowledgment sent {"connection_id":161416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:18] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:35:18] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:35:18] local.INFO: IMEI packet received {"connection_id":158884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":158884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:35:19] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:19] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:19] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:35:22] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:22] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:35:22] local.INFO: IMEI packet received {"connection_id":160072,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":160072,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:35:23] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224680e8012d0c940007041788001f003214..."} 
[2026-08-21 08:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224680e8012d0c940007041788001f003214..."} 
[2026-08-21 08:35:23] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224680e8012d0c940007041788001f003214..."} 
[2026-08-21 08:35:23] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:35:23] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:35:23] local.INFO: GPS Element Parsed {"raw_longitude":755799040,"raw_latitude":117708680,"longitude_deg":75.579904,"latitude_deg":11.770868,"altitude":31,"angle":50,"satellites":20,"speed":35,"hex_longitude":"2d0c9400","hex_latitude":"07041788","is_valid_coordinates":true} 
[2026-08-21 08:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544046336001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29160508657500160,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897553362118076416,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 08:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787281441000,"timestamp_ms":1787281441000,"timestamp_seconds":1787281441,"priority":1,"record_length":96,"hex_timestamp":"000001a0224680e8"} 
[2026-08-21 08:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:35: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-08-21 08:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 08:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544046336001,"66":14396,"16":29160508657500160,"94":11008,"24":35,"45":897553362118076416},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 08:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544046336001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29160508657500160,"km_value":29160508657500.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":897553362118076416,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544046336001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":35,"unknown_45":897553362118076416}} 
[2026-08-21 08:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674528,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:23] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:23] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:23] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:35:23] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:35:23] local.INFO: IMEI packet received {"connection_id":158884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":158884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:35:24] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022457748012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022457748012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:35:24] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022457748012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:35:24] local.INFO: Packet analysis {"connection_id":158884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:24] local.INFO: Extracted packet for processing {"connection_id":158884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544026112001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35: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-08-21 08:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281373000,"timestamp_ms":1787281373000,"timestamp_seconds":1787281373,"priority":1,"record_length":96,"hex_timestamp":"000001a022457748"} 
[2026-08-21 08:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:35: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-08-21 08:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544026112001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544026112001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544026112001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":158884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:24] local.INFO: GPS data processed {"connection_id":158884,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:24] local.INFO: Acknowledgment sent {"connection_id":158884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:26] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:35:26] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:35:26] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:35:31] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:35:31] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:35:31] local.INFO: IMEI packet received {"connection_id":160073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":160073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:35:32] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:35:33] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:35:33] local.INFO: Packet analysis {"connection_id":160073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:33] local.INFO: Extracted packet for processing {"connection_id":160073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:35:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":160073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:33] local.INFO: GPS data processed {"connection_id":160073,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:33] local.INFO: Acknowledgment sent {"connection_id":160073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:47] local.INFO: TCP Data received {"connection_id":161416,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02246bf68012d7b5b4005e806e8000a016523..."} 
[2026-08-21 08:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02246bf68012d7b5b4005e806e8000a016523..."} 
[2026-08-21 08:35:47] local.INFO: Processing buffer {"connection_id":161416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02246bf68012d7b5b4005e806e8000a016523..."} 
[2026-08-21 08:35:47] local.INFO: Packet analysis {"connection_id":161416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:35:47] local.INFO: Extracted packet for processing {"connection_id":161416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:35:47] local.INFO: GPS Element Parsed {"raw_longitude":763059008,"raw_latitude":99092200,"longitude_deg":76.3059008,"latitude_deg":9.90922,"altitude":10,"angle":357,"satellites":35,"speed":28,"hex_longitude":"2d7b5b40","hex_latitude":"05e806e8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544049664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121610010416381952,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888276102446069760,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787281457000,"timestamp_ms":1787281457000,"timestamp_seconds":1787281457,"priority":1,"record_length":96,"hex_timestamp":"000001a02246bf68"} 
[2026-08-21 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-08-21 08:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 08:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":161416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":161416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":161416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544049664001,"66":12765,"96":206,"87":13824,"24":28,"16":121610010416381952,"45":8888276102446069760},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544049664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:35:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121610010416381952,"km_value":121610010416381.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888276102446069760,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544049664001,"power":12765,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8888276102446069760}} 
[2026-08-21 08:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":161416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:47] local.INFO: GPS data processed {"connection_id":161416,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:47] local.INFO: Acknowledgment sent {"connection_id":161416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:55] local.INFO: TCP Data received {"connection_id":158884,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02245c950012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02245c950012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:35:55] local.INFO: Processing buffer {"connection_id":158884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02245c950012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:35:55] local.INFO: Packet analysis {"connection_id":158884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:55] local.INFO: Extracted packet for processing {"connection_id":158884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544031488001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281394000,"timestamp_ms":1787281394000,"timestamp_seconds":1787281394,"priority":1,"record_length":96,"hex_timestamp":"000001a02245c950"} 
[2026-08-21 08:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544031488001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544031488001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544031488001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":158884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:55] local.INFO: GPS data processed {"connection_id":158884,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:55] local.INFO: Acknowledgment sent {"connection_id":158884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:35:55] local.INFO: TCP Data received {"connection_id":160072,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022480f58012d0c5d0007053d180017015315..."} 
[2026-08-21 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022480f58012d0c5d0007053d180017015315..."} 
[2026-08-21 08:35:55] local.INFO: Processing buffer {"connection_id":160072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022480f58012d0c5d0007053d180017015315..."} 
[2026-08-21 08:35:55] local.INFO: Packet analysis {"connection_id":160072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:35:55] local.INFO: Extracted packet for processing {"connection_id":160072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":755784960,"raw_latitude":117783832,"longitude_deg":75.578496,"latitude_deg":11.7783832,"altitude":23,"angle":339,"satellites":21,"speed":40,"hex_longitude":"2d0c5d00","hex_latitude":"07053d18","is_valid_coordinates":true} 
[2026-08-21 08:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544073728001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29164580286496768,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892275706324164608,"note":"Value kept but may cause issues"} 
[2026-08-21 08:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281543000,"timestamp_ms":1787281543000,"timestamp_seconds":1787281543,"priority":1,"record_length":96,"hex_timestamp":"000001a022480f58"} 
[2026-08-21 08:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 08:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160072,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544073728001,"66":14515,"95":206,"94":10240,"24":40,"16":29164580286496768,"45":892275706324164608},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 08:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544073728001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29164580286496768,"km_value":29164580286496.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":892275706324164608,"description":"Unknown IO ID 45"} 
[2026-08-21 08:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544073728001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":892275706324164608}} 
[2026-08-21 08:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":160072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:35:55] local.INFO: GPS data processed {"connection_id":160072,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:35:55] local.INFO: Acknowledgment sent {"connection_id":160072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:04] local.INFO: TCP Data received {"connection_id":160073,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:04] local.INFO: Processing buffer {"connection_id":160073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:04] local.INFO: Packet analysis {"connection_id":160073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:36:04] local.INFO: Extracted packet for processing {"connection_id":160073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:36:04] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36: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-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:36:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":160073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:04] local.INFO: GPS data processed {"connection_id":160073,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:04] local.INFO: Acknowledgment sent {"connection_id":160073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:07] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:36:07] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:36:07] local.INFO: IMEI packet received {"connection_id":159189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":159189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:36:12] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:36:12] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:36:12] local.INFO: IMEI packet received {"connection_id":159189,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":159189,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:36:13] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022471170012d7b58c005e81c500006016124..."} 
[2026-08-21 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022471170012d7b58c005e81c500006016124..."} 
[2026-08-21 08:36:13] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022471170012d7b58c005e81c500006016124..."} 
[2026-08-21 08:36:13] local.INFO: Packet analysis {"connection_id":159189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:36:13] local.INFO: Extracted packet for processing {"connection_id":159189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":763058368,"raw_latitude":99097680,"longitude_deg":76.3058368,"latitude_deg":9.909768,"altitude":6,"angle":353,"satellites":36,"speed":14,"hex_longitude":"2d7b58c0","hex_latitude":"05e81c50","is_valid_coordinates":true} 
[2026-08-21 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544052992001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121610293884223488,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888768683657586688,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787281478000,"timestamp_ms":1787281478000,"timestamp_seconds":1787281478,"priority":1,"record_length":96,"hex_timestamp":"000001a022471170"} 
[2026-08-21 08:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544052992001,"66":13254,"96":206,"87":13824,"24":14,"16":121610293884223488,"45":8888768683657586688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544052992001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:36:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121610293884223488,"km_value":121610293884223.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888768683657586688,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544052992001,"power":13254,"unknown_96":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8888768683657586688}} 
[2026-08-21 08:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":159189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:13] local.INFO: GPS data processed {"connection_id":159189,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:13] local.INFO: Acknowledgment sent {"connection_id":159189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:16] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:16] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:16] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:36:18] local.INFO: TCP Data received {"connection_id":158885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:18] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:18] local.INFO: IMEI packet received {"connection_id":158885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":158885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:36:19] local.INFO: TCP Data received {"connection_id":158885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:19] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:19] local.INFO: IMEI packet received {"connection_id":158885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":158885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:36:19] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:19] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:19] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:36:21] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:21] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:36:21] local.INFO: IMEI packet received {"connection_id":160074,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":160074,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:36:22] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022483280012d0c4b0007055f600017014715..."} 
[2026-08-21 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022483280012d0c4b0007055f600017014715..."} 
[2026-08-21 08:36:22] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022483280012d0c4b0007055f600017014715..."} 
[2026-08-21 08:36:22] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:36:22] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:36:22] local.INFO: GPS Element Parsed {"raw_longitude":755780352,"raw_latitude":117792608,"longitude_deg":75.5780352,"latitude_deg":11.7792608,"altitude":23,"angle":327,"satellites":21,"speed":44,"hex_longitude":"2d0c4b00","hex_latitude":"07055f60","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544075008001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29165061322833920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890868331441887232,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787281552000,"timestamp_ms":1787281552000,"timestamp_seconds":1787281552,"priority":1,"record_length":96,"hex_timestamp":"000001a022483280"} 
[2026-08-21 08:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36: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-08-21 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544075008001,"66":13602,"220":206,"94":10240,"24":44,"16":29165061322833920,"45":890868331441887232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,94,24,16,45]} 
[2026-08-21 08:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544075008001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:22] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 08:36:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29165061322833920,"km_value":29165061322833.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":890868331441887232,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544075008001,"power":13602,"unknown_220":206,"unknown_94":10240,"ignition":44,"odometer":null,"unknown_45":890868331441887232}} 
[2026-08-21 08:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:22] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:22] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:23] local.INFO: TCP Data received {"connection_id":158885,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:23] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:36:23] local.INFO: IMEI packet received {"connection_id":158885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":158885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:36:24] local.INFO: TCP Data received {"connection_id":158885,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022461b58012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022461b58012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:36:24] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022461b58012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:36:24] local.INFO: Packet analysis {"connection_id":158885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:36:24] local.INFO: Extracted packet for processing {"connection_id":158885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:36:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544036864001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281415000,"timestamp_ms":1787281415000,"timestamp_seconds":1787281415,"priority":1,"record_length":96,"hex_timestamp":"000001a022461b58"} 
[2026-08-21 08:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:36:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544036864001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544036864001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:36:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544036864001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":158885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:24] local.INFO: GPS data processed {"connection_id":158885,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:24] local.INFO: Acknowledgment sent {"connection_id":158885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:32] local.INFO: TCP Data received {"connection_id":158886,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:36:32] local.INFO: Processing buffer {"connection_id":158886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:36:32] local.INFO: IMEI packet received {"connection_id":158886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":158886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:36:36] local.INFO: TCP Data received {"connection_id":158886,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:36:36] local.INFO: Processing buffer {"connection_id":158886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:36:36] local.INFO: IMEI packet received {"connection_id":158886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":158886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:36:37] local.INFO: TCP Data received {"connection_id":158886,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:37] local.INFO: Processing buffer {"connection_id":158886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:37] local.INFO: Packet analysis {"connection_id":158886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:36:37] local.INFO: Extracted packet for processing {"connection_id":158886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:37] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:36:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":158886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:37] local.INFO: GPS data processed {"connection_id":158886,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:37] local.INFO: Acknowledgment sent {"connection_id":158886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:42] local.INFO: TCP Data received {"connection_id":158886,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:42] local.INFO: Processing buffer {"connection_id":158886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:36:42] local.INFO: Packet analysis {"connection_id":158886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:36:42] local.INFO: Extracted packet for processing {"connection_id":158886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":158886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:42] local.INFO: GPS data processed {"connection_id":158886,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:42] local.INFO: Acknowledgment sent {"connection_id":158886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:44] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022473498012d7b588005e834000006000423..."} 
[2026-08-21 08:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022473498012d7b588005e834000006000423..."} 
[2026-08-21 08:36:44] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022473498012d7b588005e834000006000423..."} 
[2026-08-21 08:36:44] local.INFO: Packet analysis {"connection_id":159189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:36:44] local.INFO: Extracted packet for processing {"connection_id":159189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:36:44] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99103744,"longitude_deg":76.3058304,"latitude_deg":9.9103744,"altitude":6,"angle":4,"satellites":35,"speed":35,"hex_longitude":"2d7b5880","hex_latitude":"05e83400","is_valid_coordinates":true} 
[2026-08-21 08:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544058368001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121610590236966912,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888064996217212928,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787281487000,"timestamp_ms":1787281487000,"timestamp_seconds":1787281487,"priority":1,"record_length":96,"hex_timestamp":"000001a022473498"} 
[2026-08-21 08:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159189,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544058368001,"66":12298,"96":206,"87":13824,"24":35,"16":121610590236966912,"45":8888064996217212928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544058368001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:44] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:36:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121610590236966912,"km_value":121610590236966.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888064996217212928,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544058368001,"power":12298,"unknown_96":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8888064996217212928}} 
[2026-08-21 08:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":159189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:44] local.INFO: GPS data processed {"connection_id":159189,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:44] local.INFO: Acknowledgment sent {"connection_id":159189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:36:55] local.INFO: TCP Data received {"connection_id":158885,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022466d60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022466d60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:36:55] local.INFO: Processing buffer {"connection_id":158885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022466d60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:36:55] local.INFO: Packet analysis {"connection_id":158885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:36:55] local.INFO: Extracted packet for processing {"connection_id":158885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544042240001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281436000,"timestamp_ms":1787281436000,"timestamp_seconds":1787281436,"priority":1,"record_length":96,"hex_timestamp":"000001a022466d60"} 
[2026-08-21 08:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544042240001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544042240001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544042240001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":158885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:36:55] local.INFO: GPS data processed {"connection_id":158885,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:36:55] local.INFO: Acknowledgment sent {"connection_id":158885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:07] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:37:07] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:37:07] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:37:08] local.INFO: TCP Data received {"connection_id":160074,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022490188012d0c6f800705a7b00021002c14..."} 
[2026-08-21 08:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022490188012d0c6f800705a7b00021002c14..."} 
[2026-08-21 08:37:08] local.INFO: Processing buffer {"connection_id":160074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022490188012d0c6f800705a7b00021002c14..."} 
[2026-08-21 08:37:08] local.INFO: Packet analysis {"connection_id":160074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:08] local.INFO: Extracted packet for processing {"connection_id":160074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":755789696,"raw_latitude":117811120,"longitude_deg":75.5789696,"latitude_deg":11.781112,"altitude":33,"angle":44,"satellites":20,"speed":20,"hex_longitude":"2d0c6f80","hex_latitude":"0705a7b0","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544090624001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29166491546943488,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895653406052853760,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787281605000,"timestamp_ms":1787281605000,"timestamp_seconds":1787281605,"priority":1,"record_length":96,"hex_timestamp":"000001a022490188"} 
[2026-08-21 08:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160074,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544090624001,"66":14515,"164":206,"94":10240,"24":20,"16":29166491546943488,"45":895653406052853760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 08:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544090624001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:08] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 08:37:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29166491546943488,"km_value":29166491546943.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":895653406052853760,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544090624001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":895653406052853760}} 
[2026-08-21 08:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":160074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674542,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:09] local.INFO: GPS data processed {"connection_id":160074,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:09] local.INFO: Acknowledgment sent {"connection_id":160074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:12] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:37:12] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:37:12] local.INFO: IMEI packet received {"connection_id":160075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":160075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:37:13] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022475f90012d7b5cc005e853980007016120..."} 
[2026-08-21 08:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022475f90012d7b5cc005e853980007016120..."} 
[2026-08-21 08:37:13] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022475f90012d7b5cc005e853980007016120..."} 
[2026-08-21 08:37:13] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:37:13] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":763059392,"raw_latitude":99111832,"longitude_deg":76.3059392,"latitude_deg":9.9111832,"altitude":7,"angle":353,"satellites":32,"speed":27,"hex_longitude":"2d7b5cc0","hex_latitude":"05e85398","is_valid_coordinates":true} 
[2026-08-21 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544060672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121610985373958144,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627474587648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787281498000,"timestamp_ms":1787281498000,"timestamp_seconds":1787281498,"priority":1,"record_length":96,"hex_timestamp":"000001a022475f90"} 
[2026-08-21 08:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3891136466645942784,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186032,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2469678625548237665,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-4179340454199820287,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3648198054913245390,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":128,"raw_value":425493545202679808,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2814749767761924,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3223322632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3887659008,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.WARNING: Large IO value detected {"io_id":7,"raw_value":98552526051213312,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,87,24,241,157,16,12,160,17,45,192,28,6,36,10,66,11,191,64,35,140,128,1,240,237,227,34,231,4,113,205,78,95,239,51,2,176,5,7],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-08-21 08:37:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432350112600227840,"timestamp_seconds":432350112600227.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544060672001,"66":12863,"96":206,"87":13824,"24":27,"16":121610985373958144,"45":8887994627474587648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 08:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544060672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:13] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 08:37:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121610985373958144,"km_value":121610985373958.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627474587648,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544060672001,"power":12863,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8887994627474587648}} 
[2026-08-21 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:13] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:13] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:18] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:18] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:18] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:37:19] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:19] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:19] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:37:19] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:37:22] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:22] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:22] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:37:22] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:22] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:22] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:37:23] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:23] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:37:23] local.INFO: IMEI packet received {"connection_id":161418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":161418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:37:23] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02246bf68012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02246bf68012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:37:23] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02246bf68012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:37:23] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:37:23] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02246"} 
[2026-08-21 08:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544047616001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787281457000,"timestamp_ms":1787281457000,"timestamp_seconds":1787281457,"priority":1,"record_length":96,"hex_timestamp":"000001a02246bf68"} 
[2026-08-21 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-08-21 08:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544047616001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544047616001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544047616001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:23] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:23] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:25] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:25] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:37:25] local.INFO: IMEI packet received {"connection_id":161417,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":161417,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:37:25] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022490570012d0c71800705a8c80020003b15..."} 
[2026-08-21 08:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022490570012d0c71800705a8c80020003b15..."} 
[2026-08-21 08:37:25] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022490570012d0c71800705a8c80020003b15..."} 
[2026-08-21 08:37:25] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:25] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:25] local.INFO: GPS Element Parsed {"raw_longitude":755790208,"raw_latitude":117811400,"longitude_deg":75.5790208,"latitude_deg":11.78114,"altitude":32,"angle":59,"satellites":21,"speed":21,"hex_longitude":"2d0c7180","hex_latitude":"0705a8c8","is_valid_coordinates":true} 
[2026-08-21 08:37:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544090880001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29166517316747264,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896075618518020096,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787281606000,"timestamp_ms":1787281606000,"timestamp_seconds":1787281606,"priority":1,"record_length":96,"hex_timestamp":"000001a022490570"} 
[2026-08-21 08:37:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37: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-08-21 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:37:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:37:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544090880001,"66":14515,"164":206,"94":10240,"24":21,"16":29166517316747264,"45":896075618518020096},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 08:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544090880001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:25] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 08:37:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29166517316747264,"km_value":29166517316747.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":896075618518020096,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544090880001,"power":14515,"unknown_164":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":896075618518020096}} 
[2026-08-21 08:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:25] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:25] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:27] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022490958012d0c73c00705a9c00021004814..."} 
[2026-08-21 08:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022490958012d0c73c00705a9c00021004814..."} 
[2026-08-21 08:37:27] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022490958012d0c73c00705a9c00021004814..."} 
[2026-08-21 08:37:27] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:27] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:27] local.INFO: GPS Element Parsed {"raw_longitude":755790784,"raw_latitude":117811648,"longitude_deg":75.5790784,"latitude_deg":11.7811648,"altitude":33,"angle":72,"satellites":20,"speed":24,"hex_longitude":"2d0c73c0","hex_latitude":"0705a9c0","is_valid_coordinates":true} 
[2026-08-21 08:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544091136001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29166551676485632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896638568471513088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787281607000,"timestamp_ms":1787281607000,"timestamp_seconds":1787281607,"priority":1,"record_length":96,"hex_timestamp":"000001a022490958"} 
[2026-08-21 08:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544091136001,"66":14439,"164":206,"94":10240,"24":24,"16":29166551676485632,"45":896638568471513088},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 08:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544091136001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:27] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 08:37:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29166551676485632,"km_value":29166551676485.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":896638568471513088,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544091136001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":896638568471513088}} 
[2026-08-21 08:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674546,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:27] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:27] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:28] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022471170012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022471170012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:37:28] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022471170012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:37:28] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:37:28] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544052992001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787281478000,"timestamp_ms":1787281478000,"timestamp_seconds":1787281478,"priority":1,"record_length":96,"hex_timestamp":"000001a022471170"} 
[2026-08-21 08:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37: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-08-21 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544052992001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544052992001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544052992001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:28] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:28] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:29] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:37:29] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:37:29] local.INFO: IMEI packet received {"connection_id":158887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":158887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:37:33] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:37:33] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:37:33] local.INFO: IMEI packet received {"connection_id":158887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":158887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:37:40] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:37:40] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:37:40] local.INFO: Packet analysis {"connection_id":158887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:37:40] local.INFO: Extracted packet for processing {"connection_id":158887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:37:40] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:40] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:37:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":158887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:40] local.INFO: GPS data processed {"connection_id":158887,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:40] local.INFO: Acknowledgment sent {"connection_id":158887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:41] local.INFO: TCP Data received {"connection_id":158887,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:37:41] local.INFO: Processing buffer {"connection_id":158887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022456b90012da67700054b37100018005f28..."} 
[2026-08-21 08:37:41] local.INFO: Packet analysis {"connection_id":158887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:37:41] local.INFO: Extracted packet for processing {"connection_id":158887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02245"} 
[2026-08-21 08:37:41] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":40,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457543953664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787281370000,"timestamp_ms":1787281370000,"timestamp_seconds":1787281370,"priority":1,"record_length":96,"hex_timestamp":"000001a022456b90"} 
[2026-08-21 08:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":158887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":158887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":158887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457543953664001,"66":25473,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457543953664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457543953664001,"power":25473,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":158887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:41] local.INFO: GPS data processed {"connection_id":158887,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:41] local.INFO: Acknowledgment sent {"connection_id":158887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:45] local.INFO: TCP Data received {"connection_id":160075,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022493450012d7b614005e931e00008004d21..."} 
[2026-08-21 08:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022493450012d7b614005e931e00008004d21..."} 
[2026-08-21 08:37:45] local.INFO: Processing buffer {"connection_id":160075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022493450012d7b614005e931e00008004d21..."} 
[2026-08-21 08:37:45] local.INFO: Packet analysis {"connection_id":160075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:45] local.INFO: Extracted packet for processing {"connection_id":160075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":763060544,"raw_latitude":99168736,"longitude_deg":76.3060544,"latitude_deg":9.9168736,"altitude":8,"angle":77,"satellites":33,"speed":11,"hex_longitude":"2d7b6140","hex_latitude":"05e931e0","is_valid_coordinates":true} 
[2026-08-21 08:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544090880001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121614030505771008,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346561312768,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787281618000,"timestamp_ms":1787281618000,"timestamp_seconds":1787281618,"priority":1,"record_length":96,"hex_timestamp":"000001a022493450"} 
[2026-08-21 08:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160075,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544090880001,"66":12765,"201":206,"87":13824,"24":11,"16":121614030505771008,"45":8884124346561312768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 08:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544090880001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 08:37:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121614030505771008,"km_value":121614030505771.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346561312768,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544090880001,"power":12765,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8884124346561312768}} 
[2026-08-21 08:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":160075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:45] local.INFO: GPS data processed {"connection_id":160075,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:45] local.INFO: Acknowledgment sent {"connection_id":160075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:37:58] local.INFO: TCP Data received {"connection_id":161417,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02249c8c0012d0cf5000705d6d80013005015..."} 
[2026-08-21 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02249c8c0012d0cf5000705d6d80013005015..."} 
[2026-08-21 08:37:58] local.INFO: Processing buffer {"connection_id":161417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02249c8c0012d0cf5000705d6d80013005015..."} 
[2026-08-21 08:37:58] local.INFO: Packet analysis {"connection_id":161417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:58] local.INFO: Extracted packet for processing {"connection_id":161417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:37:58] local.INFO: GPS Element Parsed {"raw_longitude":755823872,"raw_latitude":117823192,"longitude_deg":75.5823872,"latitude_deg":11.7823192,"altitude":19,"angle":80,"satellites":21,"speed":28,"hex_longitude":"2d0cf500","hex_latitude":"0705d6d8","is_valid_coordinates":true} 
[2026-08-21 08:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544103680001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29168359857717248,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":932948840470181888,"note":"Value kept but may cause issues"} 
[2026-08-21 08:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787281656000,"timestamp_ms":1787281656000,"timestamp_seconds":1787281656,"priority":1,"record_length":96,"hex_timestamp":"000001a02249c8c0"} 
[2026-08-21 08:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 08:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161417,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544103680001,"66":14548,"167":206,"94":11008,"24":28,"16":29168359857717248,"45":932948840470181888},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544103680001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:37:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:37:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29168359857717248,"km_value":29168359857717.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":932948840470181888,"description":"Unknown IO ID 45"} 
[2026-08-21 08:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544103680001,"power":14548,"unknown_167":206,"unknown_94":11008,"ignition":28,"odometer":null,"unknown_45":932948840470181888}} 
[2026-08-21 08:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":161417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674551,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:37:58] local.INFO: GPS data processed {"connection_id":161417,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:37:58] local.INFO: Acknowledgment sent {"connection_id":161417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:00] local.INFO: TCP Data received {"connection_id":161418,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022476378012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022476378012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:38:00] local.INFO: Processing buffer {"connection_id":161418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022476378012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:38:00] local.INFO: Packet analysis {"connection_id":161418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:38:00] local.INFO: Extracted packet for processing {"connection_id":161418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544058368001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787281499000,"timestamp_ms":1787281499000,"timestamp_seconds":1787281499,"priority":1,"record_length":96,"hex_timestamp":"000001a022476378"} 
[2026-08-21 08:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38: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-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161418,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544058368001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544058368001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544058368001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":161418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:00] local.INFO: GPS data processed {"connection_id":161418,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:00] local.INFO: Acknowledgment sent {"connection_id":161418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:08] local.INFO: TCP Data received {"connection_id":158888,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:08] local.INFO: Processing buffer {"connection_id":158888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:08] local.INFO: IMEI packet received {"connection_id":158888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":158888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:38:12] local.INFO: TCP Data received {"connection_id":158888,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:12] local.INFO: Processing buffer {"connection_id":158888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:12] local.INFO: IMEI packet received {"connection_id":158888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":158888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:38:16] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:38:16] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:38:16] local.INFO: IMEI packet received {"connection_id":159190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":159190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:38:17] local.INFO: TCP Data received {"connection_id":158888,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:17] local.INFO: Processing buffer {"connection_id":158888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:38:17] local.INFO: IMEI packet received {"connection_id":158888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":158888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:38:18] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:38:18] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:38:18] local.INFO: IMEI packet received {"connection_id":158889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":158889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:38:18] local.INFO: TCP Data received {"connection_id":158888,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022498658012d7b74c005e937300005004522..."} 
[2026-08-21 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022498658012d7b74c005e937300005004522..."} 
[2026-08-21 08:38:18] local.INFO: Processing buffer {"connection_id":158888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022498658012d7b74c005e937300005004522..."} 
[2026-08-21 08:38:18] local.INFO: Packet analysis {"connection_id":158888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:38:18] local.INFO: Extracted packet for processing {"connection_id":158888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763065536,"raw_latitude":99170096,"longitude_deg":76.3065536,"latitude_deg":9.9170096,"altitude":5,"angle":69,"satellites":34,"speed":14,"hex_longitude":"2d7b74c0","hex_latitude":"05e93730","is_valid_coordinates":true} 
[2026-08-21 08:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544094208001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121614279613874176,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890457533537443840,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787281639000,"timestamp_ms":1787281639000,"timestamp_seconds":1787281639,"priority":1,"record_length":96,"hex_timestamp":"000001a022498658"} 
[2026-08-21 08:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:38: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-08-21 08:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544094208001,"66":12863,"201":206,"87":13824,"24":14,"16":121614279613874176,"45":8890457533537443840},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 08:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544094208001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:18] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 08:38:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121614279613874176,"km_value":121614279613874.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890457533537443840,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544094208001,"power":12863,"unknown_201":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8890457533537443840}} 
[2026-08-21 08:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":158888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:18] local.INFO: GPS data processed {"connection_id":158888,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:18] local.INFO: Acknowledgment sent {"connection_id":158888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:18] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:38:18] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:38:18] local.INFO: IMEI packet received {"connection_id":159190,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":159190,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:38:19] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a02249e030012d0d07400705d7080013005c17..."} 
[2026-08-21 08:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02249e030012d0d07400705d7080013005c17..."} 
[2026-08-21 08:38:19] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02249e030012d0d07400705d7080013005c17..."} 
[2026-08-21 08:38:19] local.INFO: Packet analysis {"connection_id":159190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:38:19] local.INFO: Extracted packet for processing {"connection_id":159190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:38:19] local.INFO: GPS Element Parsed {"raw_longitude":755828544,"raw_latitude":117823240,"longitude_deg":75.5828544,"latitude_deg":11.782324,"altitude":19,"angle":92,"satellites":23,"speed":31,"hex_longitude":"2d0d0740","hex_latitude":"0705d708","is_valid_coordinates":true} 
[2026-08-21 08:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544103936001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29168578901049344,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":933652527911983104,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787281662000,"timestamp_ms":1787281662000,"timestamp_seconds":1787281662,"priority":1,"record_length":96,"hex_timestamp":"000001a02249e030"} 
[2026-08-21 08:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38: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-08-21 08:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:38:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544103936001,"66":14439,"167":206,"94":11008,"24":31,"16":29168578901049344,"45":933652527911983104},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544103936001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:38:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29168578901049344,"km_value":29168578901049.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":933652527911983104,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544103936001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":31,"odometer":null,"unknown_45":933652527911983104}} 
[2026-08-21 08:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":159190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674554,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:20] local.INFO: GPS data processed {"connection_id":159190,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:20] local.INFO: Acknowledgment sent {"connection_id":159190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:23] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:38:23] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:38:23] local.INFO: IMEI packet received {"connection_id":158889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":158889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:38:24] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02247b580012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02247b580012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:38:24] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02247b580012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:38:24] local.INFO: Packet analysis {"connection_id":158889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:38:24] local.INFO: Extracted packet for processing {"connection_id":158889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02247"} 
[2026-08-21 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:38:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544063744001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38: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-08-21 08:38:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281520000,"timestamp_ms":1787281520000,"timestamp_seconds":1787281520,"priority":1,"record_length":96,"hex_timestamp":"000001a02247b580"} 
[2026-08-21 08:38:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:38:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:38:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:38:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:38:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:38:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:38:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:38:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:38:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544063744001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:38:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:38:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:38:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544063744001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:38:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:38:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544063744001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":158889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:24] local.INFO: GPS data processed {"connection_id":158889,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:24] local.INFO: Acknowledgment sent {"connection_id":158889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:26] local.INFO: TCP Data received {"connection_id":158888,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224999e0012d7b79c005e939580004003722..."} 
[2026-08-21 08:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224999e0012d7b79c005e939580004003722..."} 
[2026-08-21 08:38:26] local.INFO: Processing buffer {"connection_id":158888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224999e0012d7b79c005e939580004003722..."} 
[2026-08-21 08:38:26] local.INFO: Packet analysis {"connection_id":158888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:38:26] local.INFO: Extracted packet for processing {"connection_id":158888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:38:26] local.INFO: GPS Element Parsed {"raw_longitude":763066816,"raw_latitude":99170648,"longitude_deg":76.3066816,"latitude_deg":9.9170648,"altitude":4,"angle":55,"satellites":34,"speed":7,"hex_longitude":"2d7b79c0","hex_latitude":"05e93958","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:38:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544099584001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121614344038383616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895946295583649792,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:38:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787281644000,"timestamp_ms":1787281644000,"timestamp_seconds":1787281644,"priority":1,"record_length":96,"hex_timestamp":"000001a0224999e0"} 
[2026-08-21 08:38:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38: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-08-21 08: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:38:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:26] local.INFO: Teltonika packet parsed successfully {"connection_id":158888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:26] local.INFO: Passing IMEI to GPS processor {"connection_id":158888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:38:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":158888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:38:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:38:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:38:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:38:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544099584001,"66":13015,"201":206,"87":13824,"24":7,"16":121614344038383616,"45":8895946295583649792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 08:38:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:38:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:38:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544099584001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:26] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 08:38:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:38:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121614344038383616,"km_value":121614344038383.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895946295583649792,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544099584001,"power":13015,"unknown_201":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8895946295583649792}} 
[2026-08-21 08:38:26] local.INFO: DEBUG: GPS processor result {"connection_id":158888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:26] local.INFO: GPS data processed {"connection_id":158888,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:26] local.INFO: Acknowledgment sent {"connection_id":158888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:27] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:38:27] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:38:27] local.INFO: IMEI packet received {"connection_id":161419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":161419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:38:29] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:38:29] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:38:29] local.INFO: IMEI packet received {"connection_id":161419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":161419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:38:30] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a0358012da67700054b37100018005f2a..."} 
[2026-08-21 08:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a0358012da67700054b37100018005f2a..."} 
[2026-08-21 08:38:30] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a0358012da67700054b37100018005f2a..."} 
[2026-08-21 08:38:30] local.INFO: Packet analysis {"connection_id":161419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:38:30] local.INFO: Extracted packet for processing {"connection_id":161419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:38:30] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":42,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544030720001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787281671000,"timestamp_ms":1787281671000,"timestamp_seconds":1787281671,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a0358"} 
[2026-08-21 08:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38: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-08-21 08:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544030720001,"66":25495,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544030720001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:30] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:38:30] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544030720001,"power":25495,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":161419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:30] local.INFO: GPS data processed {"connection_id":161419,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:30] local.INFO: Acknowledgment sent {"connection_id":161419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:50] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a0740012d0d2ac00705d7880010005617..."} 
[2026-08-21 08:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a0740012d0d2ac00705d7880010005617..."} 
[2026-08-21 08:38:50] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a0740012d0d2ac00705d7880010005617..."} 
[2026-08-21 08:38:50] local.INFO: Packet analysis {"connection_id":159190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:38:50] local.INFO: Extracted packet for processing {"connection_id":159190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:38:50] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117823368,"longitude_deg":75.5837632,"latitude_deg":11.7823368,"altitude":16,"angle":86,"satellites":23,"speed":34,"hex_longitude":"2d0d2ac0","hex_latitude":"0705d788","is_valid_coordinates":true} 
[2026-08-21 08:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544105472001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29169008397778944,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938789446236964864,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787281672000,"timestamp_ms":1787281672000,"timestamp_seconds":1787281672,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a0740"} 
[2026-08-21 08:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38: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-08-21 08:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159190,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544105472001,"66":14559,"167":206,"94":11008,"24":34,"16":29169008397778944,"45":938789446236964864},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544105472001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:50] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:38:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29169008397778944,"km_value":29169008397778.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":938789446236964864,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544105472001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":34,"odometer":null,"unknown_45":938789446236964864}} 
[2026-08-21 08:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":159190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674558,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:50] local.INFO: GPS data processed {"connection_id":159190,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:50] local.INFO: Acknowledgment sent {"connection_id":159190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:38:55] local.INFO: TCP Data received {"connection_id":158889,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022480788012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022480788012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:38:55] local.INFO: Processing buffer {"connection_id":158889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022480788012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:38:55] local.INFO: Packet analysis {"connection_id":158889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:38:55] local.INFO: Extracted packet for processing {"connection_id":158889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544069120001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281541000,"timestamp_ms":1787281541000,"timestamp_seconds":1787281541,"priority":1,"record_length":96,"hex_timestamp":"000001a022480788"} 
[2026-08-21 08:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544069120001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544069120001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:38:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544069120001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":158889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:38:55] local.INFO: GPS data processed {"connection_id":158889,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:38:55] local.INFO: Acknowledgment sent {"connection_id":158889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:02] local.INFO: TCP Data received {"connection_id":161419,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a1eb0012da67700054b37100018005f2b..."} 
[2026-08-21 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a1eb0012da67700054b37100018005f2b..."} 
[2026-08-21 08:39:02] local.INFO: Processing buffer {"connection_id":161419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a1eb0012da67700054b37100018005f2b..."} 
[2026-08-21 08:39:02] local.INFO: Packet analysis {"connection_id":161419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:02] local.INFO: Extracted packet for processing {"connection_id":161419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":765884160,"raw_latitude":88815376,"longitude_deg":76.588416,"latitude_deg":8.8815376,"altitude":24,"angle":95,"satellites":43,"speed":0,"hex_longitude":"2da67700","hex_latitude":"054b3710","is_valid_coordinates":true} 
[2026-08-21 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544107776001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787281678000,"timestamp_ms":1787281678000,"timestamp_seconds":1787281678,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a1eb0"} 
[2026-08-21 08:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544107776001,"66":25549,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544107776001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:39:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544107776001,"power":25549,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":161419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:02] local.INFO: GPS data processed {"connection_id":161419,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:02] local.INFO: Acknowledgment sent {"connection_id":161419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:06] local.INFO: TCP Data received {"connection_id":158890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:06] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:06] local.INFO: IMEI packet received {"connection_id":158890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":158890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:39:07] local.INFO: TCP Data received {"connection_id":158890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:07] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:07] local.INFO: IMEI packet received {"connection_id":158890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":158890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:39:12] local.INFO: TCP Data received {"connection_id":158890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:12] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:39:12] local.INFO: IMEI packet received {"connection_id":158890,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":158890,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:39:13] local.INFO: TCP Data received {"connection_id":158890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02249ebe8012d7b7b8005e93aa80003003421..."} 
[2026-08-21 08:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02249ebe8012d7b7b8005e93aa80003003421..."} 
[2026-08-21 08:39:13] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02249ebe8012d7b7b8005e93aa80003003421..."} 
[2026-08-21 08:39:13] local.INFO: Packet analysis {"connection_id":158890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:39:13] local.INFO: Extracted packet for processing {"connection_id":158890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":99170984,"longitude_deg":76.3067264,"latitude_deg":9.9170984,"altitude":3,"angle":52,"satellites":33,"speed":0,"hex_longitude":"2d7b7b80","hex_latitude":"05e93aa8","is_valid_coordinates":true} 
[2026-08-21 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544100864001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121614378398121984,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897353670467344384,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787281665000,"timestamp_ms":1787281665000,"timestamp_seconds":1787281665,"priority":1,"record_length":96,"hex_timestamp":"000001a02249ebe8"} 
[2026-08-21 08:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544100864001,"66":12765,"201":206,"87":13824,"24":0,"16":121614378398121984,"45":8897353670467344384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 08:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544100864001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:13] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 08:39:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121614378398121984,"km_value":121614378398121.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897353670467344384,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544100864001,"power":12765,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897353670467344384}} 
[2026-08-21 08:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":158890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:13] local.INFO: GPS data processed {"connection_id":158890,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:13] local.INFO: Acknowledgment sent {"connection_id":158890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:18] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:39:18] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:39:18] local.INFO: IMEI packet received {"connection_id":161421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":161421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:39:19] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:39:19] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:39:19] local.INFO: IMEI packet received {"connection_id":161420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:39:19] local.INFO: IMEI acknowledgment sent {"connection_id":161420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:39:21] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:39:21] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:39:21] local.INFO: IMEI packet received {"connection_id":161420,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":161420,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:39:21] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224abaf0012d0d3d800705bdc80019015517..."} 
[2026-08-21 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224abaf0012d0d3d800705bdc80019015517..."} 
[2026-08-21 08:39:21] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224abaf0012d0d3d800705bdc80019015517..."} 
[2026-08-21 08:39:21] local.INFO: Packet analysis {"connection_id":161420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:21] local.INFO: Extracted packet for processing {"connection_id":161420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":755842432,"raw_latitude":117816776,"longitude_deg":75.5842432,"latitude_deg":11.7816776,"altitude":25,"angle":341,"satellites":23,"speed":1,"hex_longitude":"2d0d3d80","hex_latitude":"0705bdc8","is_valid_coordinates":true} 
[2026-08-21 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544116480001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29169532383789056,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953848357489498112,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787281718000,"timestamp_ms":1787281718000,"timestamp_seconds":1787281718,"priority":1,"record_length":96,"hex_timestamp":"000001a0224abaf0"} 
[2026-08-21 08:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544116480001,"66":14428,"167":206,"94":11008,"24":1,"16":29169532383789056,"45":953848357489498112},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544116480001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29169532383789056,"km_value":29169532383789.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":953848357489498112,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544116480001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":953848357489498112}} 
[2026-08-21 08:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":161420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674562,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:21] local.INFO: GPS data processed {"connection_id":161420,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:21] local.INFO: Acknowledgment sent {"connection_id":161420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:22] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b0910012d0d3d000705bf100019015716..."} 
[2026-08-21 08:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b0910012d0d3d000705bf100019015716..."} 
[2026-08-21 08:39:22] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b0910012d0d3d000705bf100019015716..."} 
[2026-08-21 08:39:22] local.INFO: Packet analysis {"connection_id":161420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:39:22] local.INFO: Extracted packet for processing {"connection_id":161420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:39:22] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117817104,"longitude_deg":75.5842304,"latitude_deg":11.7817104,"altitude":25,"angle":343,"satellites":22,"speed":0,"hex_longitude":"2d0d3d00","hex_latitude":"0705bf10","is_valid_coordinates":true} 
[2026-08-21 08:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544119808001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29169553858625536,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954059463721863168,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787281738000,"timestamp_ms":1787281738000,"timestamp_seconds":1787281738,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b0910"} 
[2026-08-21 08:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39: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-08-21 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544119808001,"66":14407,"167":206,"94":11008,"24":0,"16":29169553858625536,"45":954059463721863168},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544119808001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:39:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29169553858625536,"km_value":29169553858625.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":954059463721863168,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544119808001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":954059463721863168}} 
[2026-08-21 08:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":161420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674563,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:22] local.INFO: GPS data processed {"connection_id":161420,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:22] local.INFO: Acknowledgment sent {"connection_id":161420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:23] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:39:23] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:39:23] local.INFO: IMEI packet received {"connection_id":161421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":161421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:39:24] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022485990012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022485990012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:39:24] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022485990012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:39:24] local.INFO: Packet analysis {"connection_id":161421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:39:24] local.INFO: Extracted packet for processing {"connection_id":161421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:39:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544074496001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39: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-08-21 08:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281562000,"timestamp_ms":1787281562000,"timestamp_seconds":1787281562,"priority":1,"record_length":96,"hex_timestamp":"000001a022485990"} 
[2026-08-21 08:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544074496001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544074496001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:39:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544074496001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":161421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:24] local.INFO: GPS data processed {"connection_id":161421,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:24] local.INFO: Acknowledgment sent {"connection_id":161421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:26] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:39:26] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:39:26] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:39:32] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:39:32] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:39:32] local.INFO: IMEI packet received {"connection_id":160076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":160076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:39:33] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a3620012da67740054b37e0001800392b..."} 
[2026-08-21 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a3620012da67740054b37e0001800392b..."} 
[2026-08-21 08:39:33] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a3620012da67740054b37e0001800392b..."} 
[2026-08-21 08:39:33] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:33] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":765884224,"raw_latitude":88815584,"longitude_deg":76.5884224,"latitude_deg":8.8815584,"altitude":24,"angle":57,"satellites":43,"speed":0,"hex_longitude":"2da67740","hex_latitude":"054b37e0","is_valid_coordinates":true} 
[2026-08-21 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544109568001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451687918448209920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787281684000,"timestamp_ms":1787281684000,"timestamp_seconds":1787281684,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a3620"} 
[2026-08-21 08:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544109568001,"66":27658,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451687918448209920},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544109568001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:33] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:39:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451687918448209920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544109568001,"power":27658,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451687918448209920}} 
[2026-08-21 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:33] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:33] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:34] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a8828012da67740054b37e0001800392a..."} 
[2026-08-21 08:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a8828012da67740054b37e0001800392a..."} 
[2026-08-21 08:39:34] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a8828012da67740054b37e0001800392a..."} 
[2026-08-21 08:39:34] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:34] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":765884224,"raw_latitude":88815584,"longitude_deg":76.5884224,"latitude_deg":8.8815584,"altitude":24,"angle":57,"satellites":42,"speed":0,"hex_longitude":"2da67740","hex_latitude":"054b37e0","is_valid_coordinates":true} 
[2026-08-21 08:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544111104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451617549703979008,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787281705000,"timestamp_ms":1787281705000,"timestamp_seconds":1787281705,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a8828"} 
[2026-08-21 08:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:34] 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-08-21 08:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544111104001,"66":27767,"111":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451617549703979008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,84,24,16,45]} 
[2026-08-21 08:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544111104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 08:39:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451617549703979008,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544111104001,"power":27767,"unknown_111":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451617549703979008}} 
[2026-08-21 08:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:34] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:34] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:45] local.INFO: TCP Data received {"connection_id":158890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a3df0012d7b7b8005e93aa8000300341f..."} 
[2026-08-21 08:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a3df0012d7b7b8005e93aa8000300341f..."} 
[2026-08-21 08:39:45] local.INFO: Processing buffer {"connection_id":158890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a3df0012d7b7b8005e93aa8000300341f..."} 
[2026-08-21 08:39:45] local.INFO: Packet analysis {"connection_id":158890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:45] local.INFO: Extracted packet for processing {"connection_id":158890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:39:45] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":99170984,"longitude_deg":76.3067264,"latitude_deg":9.9170984,"altitude":3,"angle":52,"satellites":31,"speed":0,"hex_longitude":"2d7b7b80","hex_latitude":"05e93aa8","is_valid_coordinates":true} 
[2026-08-21 08:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544106240001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121614378398121984,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251676674048,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787281686000,"timestamp_ms":1787281686000,"timestamp_seconds":1787281686,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a3df0"} 
[2026-08-21 08:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158890,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544106240001,"66":13091,"201":206,"87":13824,"24":0,"16":121614378398121984,"45":8897846251676674048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 08:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544106240001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 08:39:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121614378398121984,"km_value":121614378398121.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251676674048,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544106240001,"power":13091,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897846251676674048}} 
[2026-08-21 08:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":158890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:45] local.INFO: GPS data processed {"connection_id":158890,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:45] local.INFO: Acknowledgment sent {"connection_id":158890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:55] local.INFO: TCP Data received {"connection_id":161421,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02248ab98012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02248ab98012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:39:55] local.INFO: Processing buffer {"connection_id":161421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02248ab98012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:39:55] local.INFO: Packet analysis {"connection_id":161421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:39:55] local.INFO: Extracted packet for processing {"connection_id":161421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544079872001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281583000,"timestamp_ms":1787281583000,"timestamp_seconds":1787281583,"priority":1,"record_length":96,"hex_timestamp":"000001a02248ab98"} 
[2026-08-21 08:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544079872001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544079872001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:39:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544079872001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":161421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:55] local.INFO: GPS data processed {"connection_id":161421,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:55] local.INFO: Acknowledgment sent {"connection_id":161421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:39:59] local.INFO: TCP Data received {"connection_id":161420,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b0cf8012d0d3d000705c020001a001217..."} 
[2026-08-21 08:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b0cf8012d0d3d000705c020001a001217..."} 
[2026-08-21 08:39:59] local.INFO: Processing buffer {"connection_id":161420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b0cf8012d0d3d000705c020001a001217..."} 
[2026-08-21 08:39:59] local.INFO: Packet analysis {"connection_id":161420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:39:59] local.INFO: Extracted packet for processing {"connection_id":161420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:39:59] local.INFO: GPS Element Parsed {"raw_longitude":755842304,"raw_latitude":117817376,"longitude_deg":75.5842304,"latitude_deg":11.7817376,"altitude":26,"angle":18,"satellites":23,"speed":1,"hex_longitude":"2d0d3d00","hex_latitude":"0705c020","is_valid_coordinates":true} 
[2026-08-21 08:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544124928001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29169566743527424,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953918726233591808,"note":"Value kept but may cause issues"} 
[2026-08-21 08:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787281739000,"timestamp_ms":1787281739000,"timestamp_seconds":1787281739,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b0cf8"} 
[2026-08-21 08:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 08:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161420,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544124928001,"66":14428,"167":206,"94":11008,"24":1,"16":29169566743527424,"45":953918726233591808},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544124928001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29169566743527424,"km_value":29169566743527.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":953918726233591808,"description":"Unknown IO ID 45"} 
[2026-08-21 08:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544124928001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":953918726233591808}} 
[2026-08-21 08:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":161420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674569,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:39:59] local.INFO: GPS data processed {"connection_id":161420,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:39:59] local.INFO: Acknowledgment sent {"connection_id":161420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:06] local.INFO: TCP Data received {"connection_id":160076,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0224ada30012da67740054b37e0001800392a..."} 
[2026-08-21 08:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224ada30012da67740054b37e0001800392a..."} 
[2026-08-21 08:40:06] local.INFO: Processing buffer {"connection_id":160076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224ada30012da67740054b37e0001800392a..."} 
[2026-08-21 08:40:06] local.INFO: Packet analysis {"connection_id":160076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:06] local.INFO: Extracted packet for processing {"connection_id":160076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":765884224,"raw_latitude":88815584,"longitude_deg":76.5884224,"latitude_deg":8.8815584,"altitude":24,"angle":57,"satellites":42,"speed":0,"hex_longitude":"2da67740","hex_latitude":"054b37e0","is_valid_coordinates":true} 
[2026-08-21 08:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544116480001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923864241307648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451617549703979008,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787281726000,"timestamp_ms":1787281726000,"timestamp_seconds":1787281726,"priority":1,"record_length":96,"hex_timestamp":"000001a0224ada30"} 
[2026-08-21 08:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 08:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544116480001,"66":27930,"204":206,"84":6144,"24":0,"16":387923864241307648,"45":-6451617549703979008},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544116480001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923864241307648,"km_value":387923864241307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451617549703979008,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544116480001,"power":27930,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451617549703979008}} 
[2026-08-21 08:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":160076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:06] local.INFO: GPS data processed {"connection_id":160076,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:06] local.INFO: Acknowledgment sent {"connection_id":160076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:12] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:12] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:12] local.INFO: IMEI packet received {"connection_id":159191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":159191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:40:12] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:12] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:12] local.INFO: IMEI packet received {"connection_id":159191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":159191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:40:16] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:16] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:16] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:40:17] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:17] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:17] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:40:17] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:17] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:40:17] local.INFO: IMEI packet received {"connection_id":159191,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":159191,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:40:17] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:17] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:17] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:40:18] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a8ff8012d7b7b8005e93aa8000300341f..."} 
[2026-08-21 08:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a8ff8012d7b7b8005e93aa8000300341f..."} 
[2026-08-21 08:40:18] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a8ff8012d7b7b8005e93aa8000300341f..."} 
[2026-08-21 08:40:18] local.INFO: Packet analysis {"connection_id":159191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:18] local.INFO: Extracted packet for processing {"connection_id":159191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":99170984,"longitude_deg":76.3067264,"latitude_deg":9.9170984,"altitude":3,"angle":52,"satellites":31,"speed":0,"hex_longitude":"2d7b7b80","hex_latitude":"05e93aa8","is_valid_coordinates":true} 
[2026-08-21 08:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544111616001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121614378398121984,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251676674048,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787281707000,"timestamp_ms":1787281707000,"timestamp_seconds":1787281707,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a8ff8"} 
[2026-08-21 08:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 08:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:40: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-08-21 08:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544111616001,"66":13276,"201":206,"87":13824,"24":0,"16":121614378398121984,"45":8897846251676674048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 08:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544111616001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:18] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 08:40:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121614378398121984,"km_value":121614378398121.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251676674048,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544111616001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8897846251676674048}} 
[2026-08-21 08:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":159191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:18] local.INFO: GPS data processed {"connection_id":159191,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:18] local.INFO: Acknowledgment sent {"connection_id":159191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:19] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:19] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:40:19] local.INFO: IMEI packet received {"connection_id":161422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":161422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:40:20] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224bdc00012d0d46c00705d670001a005318..."} 
[2026-08-21 08:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224bdc00012d0d46c00705d670001a005318..."} 
[2026-08-21 08:40:20] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224bdc00012d0d46c00705d670001a005318..."} 
[2026-08-21 08:40:20] local.INFO: Packet analysis {"connection_id":161422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:40:20] local.INFO: Extracted packet for processing {"connection_id":161422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:40:20] local.INFO: GPS Element Parsed {"raw_longitude":755844800,"raw_latitude":117823088,"longitude_deg":75.58448,"latitude_deg":11.7823088,"altitude":26,"angle":83,"satellites":24,"speed":24,"hex_longitude":"2d0d46c0","hex_latitude":"0705d670","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:40:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544137216001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29170026305028096,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953707620002627584,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:40:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787281792000,"timestamp_ms":1787281792000,"timestamp_seconds":1787281792,"priority":1,"record_length":96,"hex_timestamp":"000001a0224bdc00"} 
[2026-08-21 08:40:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:40:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:40:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:20] local.INFO: Teltonika packet parsed successfully {"connection_id":161422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:20] local.INFO: Passing IMEI to GPS processor {"connection_id":161422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:40:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":161422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:40:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:40:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:40:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:40:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544137216001,"66":14439,"167":206,"94":11008,"24":24,"16":29170026305028096,"45":953707620002627584},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:40:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:40:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:40:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544137216001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:40:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:40:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29170026305028096,"km_value":29170026305028.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":953707620002627584,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544137216001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":953707620002627584}} 
[2026-08-21 08:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":161422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:20] local.INFO: GPS data processed {"connection_id":161422,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:20] local.INFO: Acknowledgment sent {"connection_id":161422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:23] local.INFO: TCP Data received {"connection_id":158891,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:40:23] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:40:23] local.INFO: IMEI packet received {"connection_id":158891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":158891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:40:26] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:40:26] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:40:26] local.INFO: IMEI packet received {"connection_id":161423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":161423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:40:28] local.INFO: TCP Data received {"connection_id":158891,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:40:28] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:40:28] local.INFO: IMEI packet received {"connection_id":158891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":158891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:40:29] local.INFO: TCP Data received {"connection_id":158891,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02248fda0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02248fda0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:40:29] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02248fda0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:40:29] local.INFO: Packet analysis {"connection_id":158891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:40:29] local.INFO: Extracted packet for processing {"connection_id":158891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02248"} 
[2026-08-21 08:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544085248001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787281604000,"timestamp_ms":1787281604000,"timestamp_seconds":1787281604,"priority":1,"record_length":96,"hex_timestamp":"000001a02248fda0"} 
[2026-08-21 08:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544085248001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544085248001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:40:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544085248001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":158891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:29] local.INFO: GPS data processed {"connection_id":158891,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:29] local.INFO: Acknowledgment sent {"connection_id":158891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:31] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:40:31] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:40:31] local.INFO: IMEI packet received {"connection_id":161423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":161423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:40:31] local.INFO: TCP Data received {"connection_id":158891,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022494fa8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022494fa8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:40:31] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022494fa8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:40:31] local.INFO: Packet analysis {"connection_id":158891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:40:31] local.INFO: Extracted packet for processing {"connection_id":158891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544090624001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787281625000,"timestamp_ms":1787281625000,"timestamp_seconds":1787281625,"priority":1,"record_length":96,"hex_timestamp":"000001a022494fa8"} 
[2026-08-21 08:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40: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-08-21 08:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:40:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":158891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544090624001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544090624001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544090624001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":158891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:32] local.INFO: GPS data processed {"connection_id":158891,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:32] local.INFO: Acknowledgment sent {"connection_id":158891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:33] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0224af1a0012da677c0054b3790001000562b..."} 
[2026-08-21 08:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224af1a0012da677c0054b3790001000562b..."} 
[2026-08-21 08:40:33] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224af1a0012da677c0054b3790001000562b..."} 
[2026-08-21 08:40:33] local.INFO: Packet analysis {"connection_id":161423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:33] local.INFO: Extracted packet for processing {"connection_id":161423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:33] local.INFO: GPS Element Parsed {"raw_longitude":765884352,"raw_latitude":88815504,"longitude_deg":76.5884352,"latitude_deg":8.8815504,"altitude":16,"angle":86,"satellites":43,"speed":2,"hex_longitude":"2da677c0","hex_latitude":"054b3790","is_valid_coordinates":true} 
[2026-08-21 08:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544121856001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923868536274944,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451617549703979008,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787281732000,"timestamp_ms":1787281732000,"timestamp_seconds":1787281732,"priority":1,"record_length":96,"hex_timestamp":"000001a0224af1a0"} 
[2026-08-21 08:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 08:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544121856001,"66":27876,"204":206,"84":6144,"24":2,"16":387923868536274944,"45":-6451617549703979008},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544121856001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923868536274944,"km_value":387923868536274.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451617549703979008,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544121856001,"power":27876,"lac":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6451617549703979008}} 
[2026-08-21 08:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":161423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:33] local.INFO: GPS data processed {"connection_id":161423,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:33] local.INFO: Acknowledgment sent {"connection_id":161423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:49] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224ac2c0012d7b7b8005e93ae0000301221f..."} 
[2026-08-21 08:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224ac2c0012d7b7b8005e93ae0000301221f..."} 
[2026-08-21 08:40:49] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224ac2c0012d7b7b8005e93ae0000301221f..."} 
[2026-08-21 08:40:49] local.INFO: Packet analysis {"connection_id":159191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:49] local.INFO: Extracted packet for processing {"connection_id":159191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:40:49] local.INFO: GPS Element Parsed {"raw_longitude":763067264,"raw_latitude":99171040,"longitude_deg":76.3067264,"latitude_deg":9.917104,"altitude":3,"angle":290,"satellites":31,"speed":1,"hex_longitude":"2d7b7b80","hex_latitude":"05e93ae0","is_valid_coordinates":true} 
[2026-08-21 08:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544116992001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121614378398121984,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897846251676674048,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787281720000,"timestamp_ms":1787281720000,"timestamp_seconds":1787281720,"priority":1,"record_length":96,"hex_timestamp":"000001a0224ac2c0"} 
[2026-08-21 08:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 08:40: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-08-21 08:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159191,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544116992001,"66":13091,"201":206,"87":13824,"24":1,"16":121614378398121984,"45":8897846251676674048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 08:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544116992001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:49] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 08:40:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121614378398121984,"km_value":121614378398121.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897846251676674048,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544116992001,"power":13091,"unknown_201":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8897846251676674048}} 
[2026-08-21 08:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":159191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674576,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:49] local.INFO: GPS data processed {"connection_id":159191,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:49] local.INFO: Acknowledgment sent {"connection_id":159191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:40:51] local.INFO: TCP Data received {"connection_id":161422,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224c7c28012d0da2400705d278001300a118..."} 
[2026-08-21 08:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224c7c28012d0da2400705d278001300a118..."} 
[2026-08-21 08:40:51] local.INFO: Processing buffer {"connection_id":161422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224c7c28012d0da2400705d278001300a118..."} 
[2026-08-21 08:40:51] local.INFO: Packet analysis {"connection_id":161422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:40:51] local.INFO: Extracted packet for processing {"connection_id":161422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":755868224,"raw_latitude":117822072,"longitude_deg":75.5868224,"latitude_deg":11.7822072,"altitude":19,"angle":161,"satellites":24,"speed":12,"hex_longitude":"2d0da240","hex_latitude":"0705d278","is_valid_coordinates":true} 
[2026-08-21 08:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544148992001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29171254665674752,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982277330138544128,"note":"Value kept but may cause issues"} 
[2026-08-21 08:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787281833000,"timestamp_ms":1787281833000,"timestamp_seconds":1787281833,"priority":1,"record_length":96,"hex_timestamp":"000001a0224c7c28"} 
[2026-08-21 08:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544148992001,"66":14428,"167":206,"94":11008,"24":12,"16":29171254665674752,"45":982277330138544128},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544148992001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:40:51] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:40:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29171254665674752,"km_value":29171254665674.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":982277330138544128,"description":"Unknown IO ID 45"} 
[2026-08-21 08:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544148992001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":982277330138544128}} 
[2026-08-21 08:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":161422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674577,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:40:52] local.INFO: GPS data processed {"connection_id":161422,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:40:52] local.INFO: Acknowledgment sent {"connection_id":161422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:03] local.INFO: TCP Data received {"connection_id":158891,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02249a1b0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02249a1b0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:41:03] local.INFO: Processing buffer {"connection_id":158891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02249a1b0012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:41:03] local.INFO: Packet analysis {"connection_id":158891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:41:03] local.INFO: Extracted packet for processing {"connection_id":158891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544096000001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787281646000,"timestamp_ms":1787281646000,"timestamp_seconds":1787281646,"priority":1,"record_length":96,"hex_timestamp":"000001a02249a1b0"} 
[2026-08-21 08:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544096000001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544096000001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:41:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544096000001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":158891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:03] local.INFO: GPS data processed {"connection_id":158891,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:03] local.INFO: Acknowledgment sent {"connection_id":158891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:04] local.INFO: TCP Data received {"connection_id":161423,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0224afd58012da67980054b37880011006b2b..."} 
[2026-08-21 08:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224afd58012da67980054b37880011006b2b..."} 
[2026-08-21 08:41:04] local.INFO: Processing buffer {"connection_id":161423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224afd58012da67980054b37880011006b2b..."} 
[2026-08-21 08:41:04] local.INFO: Packet analysis {"connection_id":161423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:41:04] local.INFO: Extracted packet for processing {"connection_id":161423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:41:04] local.INFO: GPS Element Parsed {"raw_longitude":765884800,"raw_latitude":88815496,"longitude_deg":76.58848,"latitude_deg":8.8815496,"altitude":17,"angle":107,"satellites":43,"speed":5,"hex_longitude":"2da67980","hex_latitude":"054b3788","is_valid_coordinates":true} 
[2026-08-21 08:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544123392001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923894306078720,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451476812215644160,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281735000,"timestamp_ms":1787281735000,"timestamp_seconds":1787281735,"priority":1,"record_length":96,"hex_timestamp":"000001a0224afd58"} 
[2026-08-21 08:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 08:41: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-08-21 08:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544123392001,"66":27821,"204":206,"84":6144,"24":5,"16":387923894306078720,"45":-6451476812215644160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544123392001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923894306078720,"km_value":387923894306078.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451476812215644160,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544123392001,"power":27821,"lac":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6451476812215644160}} 
[2026-08-21 08:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:04] local.INFO: GPS data processed {"connection_id":161423,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:04] local.INFO: Acknowledgment sent {"connection_id":161423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:07] local.INFO: TCP Data received {"connection_id":158892,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:07] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:07] local.INFO: IMEI packet received {"connection_id":158892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":158892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:41:10] local.INFO: TCP Data received {"connection_id":158892,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:10] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:10] local.INFO: IMEI packet received {"connection_id":158892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":158892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:41:12] local.INFO: TCP Data received {"connection_id":158892,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:12] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:41:12] local.INFO: IMEI packet received {"connection_id":158892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":158892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:41:12] local.INFO: TCP Data received {"connection_id":158892,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224c87e0012d7bfa0005e964100001004b27..."} 
[2026-08-21 08:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224c87e0012d7bfa0005e964100001004b27..."} 
[2026-08-21 08:41:12] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224c87e0012d7bfa0005e964100001004b27..."} 
[2026-08-21 08:41:12] local.INFO: Packet analysis {"connection_id":158892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:12] local.INFO: Extracted packet for processing {"connection_id":158892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763099648,"raw_latitude":99181584,"longitude_deg":76.3099648,"latitude_deg":9.9181584,"altitude":1,"angle":75,"satellites":39,"speed":24,"hex_longitude":"2d7bfa00","hex_latitude":"05e96410","is_valid_coordinates":true} 
[2026-08-21 08:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544145664001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121616040550465536,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8923178999582822400,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787281836000,"timestamp_ms":1787281836000,"timestamp_seconds":1787281836,"priority":1,"record_length":96,"hex_timestamp":"000001a0224c87e0"} 
[2026-08-21 08:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544145664001,"66":13319,"156":206,"87":13824,"24":24,"16":121616040550465536,"45":8923178999582822400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-21 08:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544145664001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:12] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 08:41:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121616040550465536,"km_value":121616040550465.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8923178999582822400,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544145664001,"power":13319,"unknown_156":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8923178999582822400}} 
[2026-08-21 08:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":158892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:12] local.INFO: GPS data processed {"connection_id":158892,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:12] local.INFO: Acknowledgment sent {"connection_id":158892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:17] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:41:17] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:41:17] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:41:18] local.INFO: TCP Data received {"connection_id":158892,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224cbaa8012d7c1bc005e970a80008004425..."} 
[2026-08-21 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224cbaa8012d7c1bc005e970a80008004425..."} 
[2026-08-21 08:41:18] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224cbaa8012d7c1bc005e970a80008004425..."} 
[2026-08-21 08:41:18] local.INFO: Packet analysis {"connection_id":158892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:18] local.INFO: Extracted packet for processing {"connection_id":158892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:18] local.INFO: GPS Element Parsed {"raw_longitude":763108288,"raw_latitude":99184808,"longitude_deg":76.3108288,"latitude_deg":9.9184808,"altitude":8,"angle":68,"satellites":37,"speed":28,"hex_longitude":"2d7c1bc0","hex_latitude":"05e970a8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544150016001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121616478637129728,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933452836233285632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787281849000,"timestamp_ms":1787281849000,"timestamp_seconds":1787281849,"priority":1,"record_length":96,"hex_timestamp":"000001a0224cbaa8"} 
[2026-08-21 08:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":233,"raw_value":4282923254224069376,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3913050112,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3758173563,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":140,"raw_value":2147871037,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941293,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57752711550883638,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.WARNING: Large IO value detected {"io_id":75,"raw_value":6282522775038803973,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,156,87,24,241,157,16,17,160,69,45,128,92,38,10,66,57,192,90,37,34,1,240,166,227,233,4,113,205,5,141,140,239,51,201,2,176,11,161,75],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-08-21 08:41:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72140224915308544,"timestamp_seconds":72140224915308.55,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:41: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-08-21 08:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544150016001,"66":13091,"156":206,"87":13824,"24":28,"16":121616478637129728,"45":8933452836233285632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-21 08:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544150016001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 08:41:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121616478637129728,"km_value":121616478637129.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933452836233285632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544150016001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8933452836233285632}} 
[2026-08-21 08:41:18] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:41:18] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:41:18] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":158892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:18] local.INFO: GPS data processed {"connection_id":158892,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:18] local.INFO: Acknowledgment sent {"connection_id":158892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:21] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:41:21] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:41:21] local.INFO: IMEI packet received {"connection_id":160078,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":160078,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:41:22] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224c83f8012d0da2c00705d018001300b517..."} 
[2026-08-21 08:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224c83f8012d0da2c00705d018001300b517..."} 
[2026-08-21 08:41:22] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224c83f8012d0da2c00705d018001300b517..."} 
[2026-08-21 08:41:22] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:22] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117821464,"longitude_deg":75.5868352,"latitude_deg":11.7821464,"altitude":19,"angle":181,"satellites":23,"speed":13,"hex_longitude":"2d0da2c0","hex_latitude":"0705d018","is_valid_coordinates":true} 
[2026-08-21 08:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544149248001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29171284730445824,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982418067626817536,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787281835000,"timestamp_ms":1787281835000,"timestamp_seconds":1787281835,"priority":1,"record_length":96,"hex_timestamp":"000001a0224c83f8"} 
[2026-08-21 08:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41: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-08-21 08:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544149248001,"66":14428,"167":206,"94":11008,"24":13,"16":29171284730445824,"45":982418067626817536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544149248001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29171284730445824,"km_value":29171284730445.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":982418067626817536,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544149248001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":982418067626817536}} 
[2026-08-21 08:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674582,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:22] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:22] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:23] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:41:23] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:41:23] local.INFO: IMEI packet received {"connection_id":160077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":160077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:41:24] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02249f3b8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02249f3b8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:41:24] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02249f3b8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:41:24] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:41:24] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02249"} 
[2026-08-21 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544101376001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41: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-08-21 08:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281667000,"timestamp_ms":1787281667000,"timestamp_seconds":1787281667,"priority":1,"record_length":96,"hex_timestamp":"000001a02249f3b8"} 
[2026-08-21 08:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544101376001,"66":12211,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544101376001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544101376001,"power":12211,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:24] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:24] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:26] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:41:26] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:41:26] local.INFO: IMEI packet received {"connection_id":161424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":161424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:41:31] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:41:31] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:41:31] local.INFO: IMEI packet received {"connection_id":161424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":161424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:41:36] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b1c98012da67980054b3780001101162a..."} 
[2026-08-21 08:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b1c98012da67980054b3780001101162a..."} 
[2026-08-21 08:41:36] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b1c98012da67980054b3780001101162a..."} 
[2026-08-21 08:41:36] local.INFO: Packet analysis {"connection_id":161424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:41:36] local.INFO: Extracted packet for processing {"connection_id":161424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":765884800,"raw_latitude":88815488,"longitude_deg":76.58848,"latitude_deg":8.8815488,"altitude":17,"angle":278,"satellites":42,"speed":1,"hex_longitude":"2da67980","hex_latitude":"054b3780","is_valid_coordinates":true} 
[2026-08-21 08:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544124160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923907190980608,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6450984231006402560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787281743000,"timestamp_ms":1787281743000,"timestamp_seconds":1787281743,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b1c98"} 
[2026-08-21 08:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544124160001,"66":27843,"204":206,"84":6144,"24":1,"16":387923907190980608,"45":-6450984231006402560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544124160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923907190980608,"km_value":387923907190980.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6450984231006402560,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544124160001,"power":27843,"lac":206,"unknown_84":6144,"ignition":1,"odometer":null,"unknown_45":-6450984231006402560}} 
[2026-08-21 08:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":161424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:36] local.INFO: GPS data processed {"connection_id":161424,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:36] local.INFO: Acknowledgment sent {"connection_id":161424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:49] local.INFO: TCP Data received {"connection_id":158892,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224d04e0012d7c3cc005e97c880005004425..."} 
[2026-08-21 08:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224d04e0012d7c3cc005e97c880005004425..."} 
[2026-08-21 08:41:49] local.INFO: Processing buffer {"connection_id":158892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224d04e0012d7c3cc005e97c880005004425..."} 
[2026-08-21 08:41:49] local.INFO: Packet analysis {"connection_id":158892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:41:49] local.INFO: Extracted packet for processing {"connection_id":158892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:41:49] local.INFO: GPS Element Parsed {"raw_longitude":763116736,"raw_latitude":99187848,"longitude_deg":76.3116736,"latitude_deg":9.9187848,"altitude":5,"angle":68,"satellites":37,"speed":19,"hex_longitude":"2d7c3cc0","hex_latitude":"05e97c88","is_valid_coordinates":true} 
[2026-08-21 08:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544153344001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121616912428826624,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942952616698095616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787281868000,"timestamp_ms":1787281868000,"timestamp_seconds":1787281868,"priority":1,"record_length":96,"hex_timestamp":"000001a0224d04e0"} 
[2026-08-21 08:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544153344001,"66":13298,"156":206,"87":13824,"24":19,"16":121616912428826624,"45":8942952616698095616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-21 08:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544153344001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:49] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 08:41:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121616912428826624,"km_value":121616912428826.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942952616698095616,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544153344001,"power":13298,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8942952616698095616}} 
[2026-08-21 08:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":158892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674585,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:49] local.INFO: GPS data processed {"connection_id":158892,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:49] local.INFO: Acknowledgment sent {"connection_id":158892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:55] local.INFO: TCP Data received {"connection_id":160077,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a45c0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a45c0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:41:55] local.INFO: Processing buffer {"connection_id":160077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a45c0012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:41:55] local.INFO: Packet analysis {"connection_id":160077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:41:55] local.INFO: Extracted packet for processing {"connection_id":160077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544106752001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281688000,"timestamp_ms":1787281688000,"timestamp_seconds":1787281688,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a45c0"} 
[2026-08-21 08:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544106752001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544106752001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544106752001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":160077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:55] local.INFO: GPS data processed {"connection_id":160077,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:55] local.INFO: Acknowledgment sent {"connection_id":160077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:41:56] local.INFO: TCP Data received {"connection_id":160078,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224ca720012d0da2c00705c100001200a517..."} 
[2026-08-21 08:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224ca720012d0da2c00705c100001200a517..."} 
[2026-08-21 08:41:56] local.INFO: Processing buffer {"connection_id":160078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224ca720012d0da2c00705c100001200a517..."} 
[2026-08-21 08:41:56] local.INFO: Packet analysis {"connection_id":160078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:56] local.INFO: Extracted packet for processing {"connection_id":160078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224c"} 
[2026-08-21 08:41:56] local.INFO: GPS Element Parsed {"raw_longitude":755868352,"raw_latitude":117817600,"longitude_deg":75.5868352,"latitude_deg":11.78176,"altitude":18,"angle":165,"satellites":23,"speed":11,"hex_longitude":"2d0da2c0","hex_latitude":"0705c100","is_valid_coordinates":true} 
[2026-08-21 08:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544149760001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29171473709006848,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982558805115017216,"note":"Value kept but may cause issues"} 
[2026-08-21 08:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787281844000,"timestamp_ms":1787281844000,"timestamp_seconds":1787281844,"priority":1,"record_length":96,"hex_timestamp":"000001a0224ca720"} 
[2026-08-21 08:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 08:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160078,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544149760001,"66":14439,"167":206,"94":11008,"24":11,"16":29171473709006848,"45":982558805115017216},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544149760001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:41:56] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:41:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29171473709006848,"km_value":29171473709006.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":982558805115017216,"description":"Unknown IO ID 45"} 
[2026-08-21 08:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544149760001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":982558805115017216}} 
[2026-08-21 08:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":160078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674587,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:41:57] local.INFO: GPS data processed {"connection_id":160078,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:41:57] local.INFO: Acknowledgment sent {"connection_id":160078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:07] local.INFO: TCP Data received {"connection_id":158893,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:42:07] local.INFO: Processing buffer {"connection_id":158893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:42:07] local.INFO: IMEI packet received {"connection_id":158893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":158893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:42:07] local.INFO: TCP Data received {"connection_id":161424,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b3408012da678c0054b37800011010b2c..."} 
[2026-08-21 08:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b3408012da678c0054b37800011010b2c..."} 
[2026-08-21 08:42:07] local.INFO: Processing buffer {"connection_id":161424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b3408012da678c0054b37800011010b2c..."} 
[2026-08-21 08:42:07] local.INFO: Packet analysis {"connection_id":161424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:42:07] local.INFO: Extracted packet for processing {"connection_id":161424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":765884608,"raw_latitude":88815488,"longitude_deg":76.5884608,"latitude_deg":8.8815488,"altitude":17,"angle":267,"satellites":44,"speed":2,"hex_longitude":"2da678c0","hex_latitude":"054b3780","is_valid_coordinates":true} 
[2026-08-21 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544126208001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923915780915200,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6450984231006404608,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787281749000,"timestamp_ms":1787281749000,"timestamp_seconds":1787281749,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b3408"} 
[2026-08-21 08:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544126208001,"66":27843,"204":206,"84":6144,"24":2,"16":387923915780915200,"45":-6450984231006404608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544126208001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923915780915200,"km_value":387923915780915.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6450984231006404608,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544126208001,"power":27843,"lac":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6450984231006404608}} 
[2026-08-21 08:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":161424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:07] local.INFO: GPS data processed {"connection_id":161424,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:07] local.INFO: Acknowledgment sent {"connection_id":161424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:12] local.INFO: TCP Data received {"connection_id":158893,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158893,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:42:12] local.INFO: Processing buffer {"connection_id":158893,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:42:12] local.INFO: IMEI packet received {"connection_id":158893,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":158893,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:42:15] local.INFO: TCP Data received {"connection_id":158893,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224d5300012d7c5ec005e989700004004921..."} 
[2026-08-21 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224d5300012d7c5ec005e989700004004921..."} 
[2026-08-21 08:42:15] local.INFO: Processing buffer {"connection_id":158893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224d5300012d7c5ec005e989700004004921..."} 
[2026-08-21 08:42:15] local.INFO: Packet analysis {"connection_id":158893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:42:15] local.INFO: Extracted packet for processing {"connection_id":158893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:42:15] local.INFO: GPS Element Parsed {"raw_longitude":763125440,"raw_latitude":99191152,"longitude_deg":76.312544,"latitude_deg":9.9191152,"altitude":4,"angle":73,"satellites":33,"speed":19,"hex_longitude":"2d7c5ec0","hex_latitude":"05e98970","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544158208001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121617354810458112,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952241290930325504,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787281888000,"timestamp_ms":1787281888000,"timestamp_seconds":1787281888,"priority":1,"record_length":96,"hex_timestamp":"000001a0224d5300"} 
[2026-08-21 08:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":242,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:42: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-08-21 08:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544158208001,"66":13254,"156":206,"87":13824,"24":19,"16":121617354810458112,"45":8952241290930325504},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-21 08:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544158208001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:15] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 08:42:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121617354810458112,"km_value":121617354810458.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952241290930325504,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544158208001,"power":13254,"unknown_156":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8952241290930325504}} 
[2026-08-21 08:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":158893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:15] local.INFO: GPS data processed {"connection_id":158893,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:15] local.INFO: Acknowledgment sent {"connection_id":158893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:17] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:17] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:17] local.INFO: IMEI packet received {"connection_id":159192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":159192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:42:17] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:17] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:17] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:42:17] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:17] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:17] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:42:18] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:18] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:18] local.INFO: IMEI packet received {"connection_id":159192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":159192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:42:20] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:20] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:42:20] local.INFO: IMEI packet received {"connection_id":160079,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":160079,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:42:20] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224dd3e8012d0da2800705bc70001400211c..."} 
[2026-08-21 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224dd3e8012d0da2800705bc70001400211c..."} 
[2026-08-21 08:42:20] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224dd3e8012d0da2800705bc70001400211c..."} 
[2026-08-21 08:42:20] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:42:20] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":755868288,"raw_latitude":117816432,"longitude_deg":75.5868288,"latitude_deg":11.7816432,"altitude":20,"angle":33,"satellites":28,"speed":3,"hex_longitude":"2d0da280","hex_latitude":"0705bc70","is_valid_coordinates":true} 
[2026-08-21 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544169216001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29171624032862208,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982488436369512448,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787281921000,"timestamp_ms":1787281921000,"timestamp_seconds":1787281921,"priority":1,"record_length":96,"hex_timestamp":"000001a0224dd3e8"} 
[2026-08-21 08:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544169216001,"66":14559,"167":206,"94":11008,"24":3,"16":29171624032862208,"45":982488436369512448},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544169216001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:42:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29171624032862208,"km_value":29171624032862.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":982488436369512448,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544169216001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":982488436369512448}} 
[2026-08-21 08:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674590,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:20] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:20] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:23] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:23] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:42:23] local.INFO: IMEI packet received {"connection_id":159192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":159192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:42:31] local.INFO: TCP Data received {"connection_id":158894,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:42:31] local.INFO: Processing buffer {"connection_id":158894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:42:31] local.INFO: IMEI packet received {"connection_id":158894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":158894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:42:36] local.INFO: TCP Data received {"connection_id":158894,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:42:36] local.INFO: Processing buffer {"connection_id":158894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:42:36] local.INFO: IMEI packet received {"connection_id":158894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":158894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:42:37] local.INFO: TCP Data received {"connection_id":158894,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b3fc0012da67840054b37a0001201222c..."} 
[2026-08-21 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b3fc0012da67840054b37a0001201222c..."} 
[2026-08-21 08:42:37] local.INFO: Processing buffer {"connection_id":158894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b3fc0012da67840054b37a0001201222c..."} 
[2026-08-21 08:42:37] local.INFO: Packet analysis {"connection_id":158894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:42:37] local.INFO: Extracted packet for processing {"connection_id":158894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":765884480,"raw_latitude":88815520,"longitude_deg":76.588448,"latitude_deg":8.881552,"altitude":18,"angle":290,"satellites":44,"speed":2,"hex_longitude":"2da67840","hex_latitude":"054b37a0","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544127744001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923924370849792,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451195337238937600,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787281752000,"timestamp_ms":1787281752000,"timestamp_seconds":1787281752,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b3fc0"} 
[2026-08-21 08:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544127744001,"66":27887,"204":206,"84":6144,"24":2,"16":387923924370849792,"45":-6451195337238937600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544127744001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923924370849792,"km_value":387923924370849.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451195337238937600,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544127744001,"power":27887,"lac":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6451195337238937600}} 
[2026-08-21 08:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":158894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:37] local.INFO: GPS data processed {"connection_id":158894,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:37] local.INFO: Acknowledgment sent {"connection_id":158894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:37] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224a97c8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224a97c8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:42:37] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224a97c8012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:42:37] local.INFO: Packet analysis {"connection_id":159192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:42:37] local.INFO: Extracted packet for processing {"connection_id":159192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544112128001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787281709000,"timestamp_ms":1787281709000,"timestamp_seconds":1787281709,"priority":1,"record_length":96,"hex_timestamp":"000001a0224a97c8"} 
[2026-08-21 08:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544112128001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544112128001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544112128001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":159192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:37] local.INFO: GPS data processed {"connection_id":159192,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:37] local.INFO: Acknowledgment sent {"connection_id":159192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:42] local.INFO: TCP Data received {"connection_id":158894,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:42:42] local.INFO: Processing buffer {"connection_id":158894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:42:42] local.INFO: Packet analysis {"connection_id":158894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:42:42] local.INFO: Extracted packet for processing {"connection_id":158894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":765884416,"raw_latitude":88815544,"longitude_deg":76.5884416,"latitude_deg":8.8815544,"altitude":18,"angle":300,"satellites":44,"speed":2,"hex_longitude":"2da67800","hex_latitude":"054b37b8","is_valid_coordinates":true} 
[2026-08-21 08:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128512001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727284736,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787281753000,"timestamp_ms":1787281753000,"timestamp_seconds":1787281753,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b43a8"} 
[2026-08-21 08:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128512001,"66":27865,"204":206,"84":6144,"24":2,"16":387923928665817088,"45":-6451336074727284736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128512001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727284736,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128512001,"power":27865,"lac":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6451336074727284736}} 
[2026-08-21 08:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":158894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:42] local.INFO: GPS data processed {"connection_id":158894,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:42] local.INFO: Acknowledgment sent {"connection_id":158894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:46] local.INFO: TCP Data received {"connection_id":158893,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224d7df8012d7c77c005e993480003003a24..."} 
[2026-08-21 08:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224d7df8012d7c77c005e993480003003a24..."} 
[2026-08-21 08:42:46] local.INFO: Processing buffer {"connection_id":158893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224d7df8012d7c77c005e993480003003a24..."} 
[2026-08-21 08:42:46] local.INFO: Packet analysis {"connection_id":158893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:42:46] local.INFO: Extracted packet for processing {"connection_id":158893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224d"} 
[2026-08-21 08:42:46] local.INFO: GPS Element Parsed {"raw_longitude":763131840,"raw_latitude":99193672,"longitude_deg":76.313184,"latitude_deg":9.9193672,"altitude":3,"angle":58,"satellites":36,"speed":12,"hex_longitude":"2d7c77c0","hex_latitude":"05e99348","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544163328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121617685522939904,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8961811440139333632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787281899000,"timestamp_ms":1787281899000,"timestamp_seconds":1787281899,"priority":1,"record_length":96,"hex_timestamp":"000001a0224d7df8"} 
[2026-08-21 08:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":198,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158893,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544163328001,"66":12765,"156":206,"87":13824,"24":12,"16":121617685522939904,"45":8961811440139333632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-08-21 08:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544163328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:46] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 08:42:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121617685522939904,"km_value":121617685522939.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8961811440139333632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544163328001,"power":12765,"unknown_156":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8961811440139333632}} 
[2026-08-21 08:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":158893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674594,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:46] local.INFO: GPS data processed {"connection_id":158893,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:46] local.INFO: Acknowledgment sent {"connection_id":158893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:42:52] local.INFO: TCP Data received {"connection_id":160079,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224e7fc8012d0d66400705cf400013011d1d..."} 
[2026-08-21 08:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224e7fc8012d0d66400705cf400013011d1d..."} 
[2026-08-21 08:42:52] local.INFO: Processing buffer {"connection_id":160079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224e7fc8012d0d66400705cf400013011d1d..."} 
[2026-08-21 08:42:52] local.INFO: Packet analysis {"connection_id":160079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:42:52] local.INFO: Extracted packet for processing {"connection_id":160079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":755852864,"raw_latitude":117821248,"longitude_deg":75.5852864,"latitude_deg":11.7821248,"altitude":19,"angle":285,"satellites":29,"speed":30,"hex_longitude":"2d0d6640","hex_latitude":"0705cf40","is_valid_coordinates":true} 
[2026-08-21 08:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544182528001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29172676299849728,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":967218418884171776,"note":"Value kept but may cause issues"} 
[2026-08-21 08:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787281965000,"timestamp_ms":1787281965000,"timestamp_seconds":1787281965,"priority":1,"record_length":96,"hex_timestamp":"000001a0224e7fc8"} 
[2026-08-21 08:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 08:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160079,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544182528001,"66":14265,"167":206,"94":11008,"24":30,"16":29172676299849728,"45":967218418884171776},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544182528001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:42:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:42:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29172676299849728,"km_value":29172676299849.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":967218418884171776,"description":"Unknown IO ID 45"} 
[2026-08-21 08:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544182528001,"power":14265,"unknown_167":206,"unknown_94":11008,"ignition":30,"odometer":null,"unknown_45":967218418884171776}} 
[2026-08-21 08:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":160079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:42:52] local.INFO: GPS data processed {"connection_id":160079,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:42:52] local.INFO: Acknowledgment sent {"connection_id":160079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:43:07] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:07] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:07] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:43:08] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:08] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:08] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:43:17] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:43:17] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:43:17] local.INFO: IMEI packet received {"connection_id":160081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":160081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:43:18] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:18] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:18] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:43:18] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:18] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:18] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:43:19] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:19] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:19] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:43:22] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:43:22] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:43:22] local.INFO: IMEI packet received {"connection_id":160081,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":160081,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:43:22] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224e8798012d0d61400705d1980013012f1d..."} 
[2026-08-21 08:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224e8798012d0d61400705d1980013012f1d..."} 
[2026-08-21 08:43:22] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224e8798012d0d61400705d1980013012f1d..."} 
[2026-08-21 08:43:22] local.INFO: Packet analysis {"connection_id":160081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:43:22] local.INFO: Extracted packet for processing {"connection_id":160081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:43:22] local.INFO: GPS Element Parsed {"raw_longitude":755851584,"raw_latitude":117821848,"longitude_deg":75.5851584,"latitude_deg":11.7821848,"altitude":19,"angle":303,"satellites":29,"speed":26,"hex_longitude":"2d0d6140","hex_latitude":"0705d198","is_valid_coordinates":true} 
[2026-08-21 08:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544183040001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29172745019326464,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":965529569023967232,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787281967000,"timestamp_ms":1787281967000,"timestamp_seconds":1787281967,"priority":1,"record_length":96,"hex_timestamp":"000001a0224e8798"} 
[2026-08-21 08:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:43: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-08-21 08: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 08:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544183040001,"66":14559,"167":206,"94":11008,"24":26,"16":29172745019326464,"45":965529569023967232},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544183040001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:43:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:43:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29172745019326464,"km_value":29172745019326.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":965529569023967232,"description":"Unknown IO ID 45"} 
[2026-08-21 08:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544183040001,"power":14559,"unknown_167":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":965529569023967232}} 
[2026-08-21 08:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":160081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:43:23] local.INFO: GPS data processed {"connection_id":160081,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:43:23] local.INFO: Acknowledgment sent {"connection_id":160081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:43:23] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:23] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:43:23] local.INFO: IMEI packet received {"connection_id":160080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":160080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:43:24] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224ae9d0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224ae9d0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:43:24] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224ae9d0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:43:24] local.INFO: Packet analysis {"connection_id":160080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:43:24] local.INFO: Extracted packet for processing {"connection_id":160080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224a"} 
[2026-08-21 08:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:43:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544117504001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43: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-08-21 08:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787281730000,"timestamp_ms":1787281730000,"timestamp_seconds":1787281730,"priority":1,"record_length":96,"hex_timestamp":"000001a0224ae9d0"} 
[2026-08-21 08:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:43:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544117504001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544117504001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:43:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:43:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544117504001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":160080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:43:24] local.INFO: GPS data processed {"connection_id":160080,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:43:24] local.INFO: Acknowledgment sent {"connection_id":160080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:43:26] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:43:26] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:43:26] local.INFO: IMEI packet received {"connection_id":161426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":161426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:43:28] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:28] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:43:28] local.INFO: IMEI packet received {"connection_id":161425,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":161425,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:43:28] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224e7028012d7c9f4005e9bb400002004223..."} 
[2026-08-21 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224e7028012d7c9f4005e9bb400002004223..."} 
[2026-08-21 08:43:28] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224e7028012d7c9f4005e9bb400002004223..."} 
[2026-08-21 08:43:28] local.INFO: Packet analysis {"connection_id":161425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:43:28] local.INFO: Extracted packet for processing {"connection_id":161425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763141952,"raw_latitude":99203904,"longitude_deg":76.3141952,"latitude_deg":9.9203904,"altitude":2,"angle":66,"satellites":35,"speed":10,"hex_longitude":"2d7c9f40","hex_latitude":"05e9bb40","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544179456001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121618587466072064,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513814992896,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787281961000,"timestamp_ms":1787281961000,"timestamp_seconds":1787281961,"priority":1,"record_length":96,"hex_timestamp":"000001a0224e7028"} 
[2026-08-21 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-08-21 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 08:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544179456001,"66":12961,"9":206,"87":13824,"24":10,"16":121618587466072064,"45":8977855513814992896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544179456001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121618587466072064,"km_value":121618587466072.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513814992896,"description":"Unknown IO ID 45"} 
[2026-08-21 08:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544179456001,"power":12961,"unknown_9":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8977855513814992896}} 
[2026-08-21 08:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":161425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674598,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:43:29] local.INFO: GPS data processed {"connection_id":161425,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:43:29] local.INFO: Acknowledgment sent {"connection_id":161425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:43:29] local.INFO: TCP Data received {"connection_id":161425,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f1050012d7cce4005e9b5d80000006521..."} 
[2026-08-21 08:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f1050012d7cce4005e9b5d80000006521..."} 
[2026-08-21 08:43:29] local.INFO: Processing buffer {"connection_id":161425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f1050012d7cce4005e9b5d80000006521..."} 
[2026-08-21 08:43:29] local.INFO: Packet analysis {"connection_id":161425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:43:29] local.INFO: Extracted packet for processing {"connection_id":161425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763153984,"raw_latitude":99202520,"longitude_deg":76.3153984,"latitude_deg":9.920252,"altitude":0,"angle":101,"satellites":33,"speed":11,"hex_longitude":"2d7cce40","hex_latitude":"05e9b5d8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544192256001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121619248891035648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992984793812965376,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787282002000,"timestamp_ms":1787282002000,"timestamp_seconds":1787282002,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f1050"} 
[2026-08-21 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-08-21 08:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 08:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161425,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544192256001,"66":12635,"9":206,"87":13824,"24":11,"16":121619248891035648,"45":8992984793812965376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-21 08:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544192256001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121619248891035648,"km_value":121619248891035.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992984793812965376,"description":"Unknown IO ID 45"} 
[2026-08-21 08:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544192256001,"power":12635,"unknown_9":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8992984793812965376}} 
[2026-08-21 08:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":161425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:43:29] local.INFO: GPS data processed {"connection_id":161425,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:43:29] local.INFO: Acknowledgment sent {"connection_id":161425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:43:31] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:43:31] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:43:31] local.INFO: IMEI packet received {"connection_id":161426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":161426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:43:32] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:43:32] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:43:32] local.INFO: Packet analysis {"connection_id":161426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:43:32] local.INFO: Extracted packet for processing {"connection_id":161426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:43:32] local.INFO: GPS Element Parsed {"raw_longitude":765884416,"raw_latitude":88815544,"longitude_deg":76.5884416,"latitude_deg":8.8815544,"altitude":18,"angle":300,"satellites":44,"speed":2,"hex_longitude":"2da67800","hex_latitude":"054b37b8","is_valid_coordinates":true} 
[2026-08-21 08:43: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-08-21 08:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128512001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727284736,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281753000,"timestamp_ms":1787281753000,"timestamp_seconds":1787281753,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b43a8"} 
[2026-08-21 08:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 08:43:32] 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-08-21 08: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-08-21 08:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128512001,"66":27865,"204":206,"84":6144,"24":2,"16":387923928665817088,"45":-6451336074727284736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128512001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:43:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727284736,"description":"Unknown IO ID 45"} 
[2026-08-21 08:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128512001,"power":27865,"lac":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6451336074727284736}} 
[2026-08-21 08:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":161426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:43:32] local.INFO: GPS data processed {"connection_id":161426,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:43:32] local.INFO: Acknowledgment sent {"connection_id":161426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:43:53] local.INFO: TCP Data received {"connection_id":160081,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f75e0012d0d5f0007061fe80019003a1b..."} 
[2026-08-21 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f75e0012d0d5f0007061fe80019003a1b..."} 
[2026-08-21 08:43:53] local.INFO: Processing buffer {"connection_id":160081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f75e0012d0d5f0007061fe80019003a1b..."} 
[2026-08-21 08:43:53] local.INFO: Packet analysis {"connection_id":160081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:43:53] local.INFO: Extracted packet for processing {"connection_id":160081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:43:53] local.INFO: GPS Element Parsed {"raw_longitude":755851008,"raw_latitude":117841896,"longitude_deg":75.5851008,"latitude_deg":11.7841896,"altitude":25,"angle":58,"satellites":27,"speed":8,"hex_longitude":"2d0d5f00","hex_latitude":"07061fe8","is_valid_coordinates":true} 
[2026-08-21 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544198912001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29173767221542912,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963207400471367680,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787282028000,"timestamp_ms":1787282028000,"timestamp_seconds":1787282028,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f75e0"} 
[2026-08-21 08:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:43: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-08-21 08:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 08:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":160081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":160081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":160081,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544198912001,"66":14407,"167":206,"94":11008,"24":8,"16":29173767221542912,"45":963207400471367680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544198912001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:43:53] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:43:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29173767221542912,"km_value":29173767221542.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":963207400471367680,"description":"Unknown IO ID 45"} 
[2026-08-21 08:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544198912001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":963207400471367680}} 
[2026-08-21 08:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":160081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:43:54] local.INFO: GPS data processed {"connection_id":160081,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:43:54] local.INFO: Acknowledgment sent {"connection_id":160081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:43:55] local.INFO: TCP Data received {"connection_id":160080,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b3bd8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b3bd8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:43:55] local.INFO: Processing buffer {"connection_id":160080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b3bd8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:43:55] local.INFO: Packet analysis {"connection_id":160080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:43:55] local.INFO: Extracted packet for processing {"connection_id":160080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544122880001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787281751000,"timestamp_ms":1787281751000,"timestamp_seconds":1787281751,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b3bd8"} 
[2026-08-21 08:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544122880001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544122880001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:43:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:43:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544122880001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":160080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:43:55] local.INFO: GPS data processed {"connection_id":160080,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:43:55] local.INFO: Acknowledgment sent {"connection_id":160080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:04] local.INFO: TCP Data received {"connection_id":161426,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:44:04] local.INFO: Processing buffer {"connection_id":161426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:44:04] local.INFO: Packet analysis {"connection_id":161426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:44:04] local.INFO: Extracted packet for processing {"connection_id":161426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:44:04] local.INFO: GPS Element Parsed {"raw_longitude":765884416,"raw_latitude":88815544,"longitude_deg":76.5884416,"latitude_deg":8.8815544,"altitude":18,"angle":300,"satellites":44,"speed":2,"hex_longitude":"2da67800","hex_latitude":"054b37b8","is_valid_coordinates":true} 
[2026-08-21 08:44:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128512001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727284736,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787281753000,"timestamp_ms":1787281753000,"timestamp_seconds":1787281753,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b43a8"} 
[2026-08-21 08:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:04] 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-08-21 08: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-08-21 08:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:44: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-08-21 08:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128512001,"66":27865,"204":206,"84":6144,"24":2,"16":387923928665817088,"45":-6451336074727284736},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128512001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727284736,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128512001,"power":27865,"lac":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6451336074727284736}} 
[2026-08-21 08:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":161426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:04] local.INFO: GPS data processed {"connection_id":161426,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:04] local.INFO: Acknowledgment sent {"connection_id":161426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:12] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:44:12] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:44:12] local.INFO: IMEI packet received {"connection_id":158895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":158895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:44:16] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:16] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:16] local.INFO: IMEI packet received {"connection_id":159193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":159193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:44:17] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:44:17] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:44:17] local.INFO: IMEI packet received {"connection_id":158895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":158895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:44:18] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:44:18] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:44:18] local.INFO: IMEI packet received {"connection_id":159194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":159194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:44:18] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f1438012d7ccfc005e9b5d00000005821..."} 
[2026-08-21 08:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f1438012d7ccfc005e9b5d00000005821..."} 
[2026-08-21 08:44:18] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f1438012d7ccfc005e9b5d00000005821..."} 
[2026-08-21 08:44:18] local.INFO: Packet analysis {"connection_id":158895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:18] local.INFO: Extracted packet for processing {"connection_id":158895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:18] local.INFO: GPS Element Parsed {"raw_longitude":763154368,"raw_latitude":99202512,"longitude_deg":76.3154368,"latitude_deg":9.9202512,"altitude":0,"angle":88,"satellites":33,"speed":13,"hex_longitude":"2d7ccfc0","hex_latitude":"05e9b5d0","is_valid_coordinates":true} 
[2026-08-21 08:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544192512001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121619266070904832,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993195900045481984,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787282003000,"timestamp_ms":1787282003000,"timestamp_seconds":1787282003,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f1438"} 
[2026-08-21 08:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:44: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-08-21 08:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544192512001,"66":12635,"9":206,"87":13824,"24":13,"16":121619266070904832,"45":8993195900045481984},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-08-21 08:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544192512001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-08-21 08:44:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121619266070904832,"km_value":121619266070904.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993195900045481984,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544192512001,"power":12635,"unknown_9":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8993195900045481984}} 
[2026-08-21 08:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":158895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:18] local.INFO: GPS data processed {"connection_id":158895,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:18] local.INFO: Acknowledgment sent {"connection_id":158895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:19] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:19] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:19] local.INFO: IMEI packet received {"connection_id":159193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":159193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:44:20] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:20] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:44:20] local.INFO: IMEI packet received {"connection_id":159193,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":159193,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:44:21] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f79c8012d0d5f8007062040001a004a1c..."} 
[2026-08-21 08:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f79c8012d0d5f8007062040001a004a1c..."} 
[2026-08-21 08:44:21] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f79c8012d0d5f8007062040001a004a1c..."} 
[2026-08-21 08:44:21] local.INFO: Packet analysis {"connection_id":159193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:21] local.INFO: Extracted packet for processing {"connection_id":159193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755851136,"raw_latitude":117841984,"longitude_deg":75.5851136,"latitude_deg":11.7841984,"altitude":26,"angle":74,"satellites":28,"speed":8,"hex_longitude":"2d0d5f80","hex_latitude":"07062040","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544199168001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29173775811477504,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963488875448100864,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787282029000,"timestamp_ms":1787282029000,"timestamp_seconds":1787282029,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f79c8"} 
[2026-08-21 08:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:44:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544199168001,"66":14407,"167":206,"94":11008,"24":8,"16":29173775811477504,"45":963488875448100864},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544199168001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:21] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:44:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29173775811477504,"km_value":29173775811477.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":963488875448100864,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544199168001,"power":14407,"unknown_167":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":963488875448100864}} 
[2026-08-21 08:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":159193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674605,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:21] local.INFO: GPS data processed {"connection_id":159193,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:21] local.INFO: Acknowledgment sent {"connection_id":159193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:22] local.INFO: TCP Data received {"connection_id":158895,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f1c08012d7cd3c005e9b6b80000004721..."} 
[2026-08-21 08:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f1c08012d7cd3c005e9b6b80000004721..."} 
[2026-08-21 08:44:22] local.INFO: Processing buffer {"connection_id":158895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f1c08012d7cd3c005e9b6b80000004721..."} 
[2026-08-21 08:44:22] local.INFO: Packet analysis {"connection_id":158895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:22] local.INFO: Extracted packet for processing {"connection_id":158895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":763155392,"raw_latitude":99202744,"longitude_deg":76.3155392,"latitude_deg":9.9202744,"altitude":0,"angle":71,"satellites":33,"speed":22,"hex_longitude":"2d7cd3c0","hex_latitude":"05e9b6b8","is_valid_coordinates":true} 
[2026-08-21 08:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544192768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121619313315545088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8993618112510545920,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787282005000,"timestamp_ms":1787282005000,"timestamp_seconds":1787282005,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f1c08"} 
[2026-08-21 08:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544192768001,"66":13048,"154":206,"87":13824,"24":22,"16":121619313315545088,"45":8993618112510545920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-21 08:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544192768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:22] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 08:44:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121619313315545088,"km_value":121619313315545.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8993618112510545920,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544192768001,"power":13048,"unknown_154":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8993618112510545920}} 
[2026-08-21 08:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":158895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:22] local.INFO: GPS data processed {"connection_id":158895,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:22] local.INFO: Acknowledgment sent {"connection_id":158895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:22] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:44:22] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:44:22] local.INFO: IMEI packet received {"connection_id":159194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":159194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:44:23] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224ec230012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224ec230012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:44:23] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224ec230012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:44:23] local.INFO: Packet analysis {"connection_id":159194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:44:23] local.INFO: Extracted packet for processing {"connection_id":159194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224e"} 
[2026-08-21 08:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544182016001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787281982000,"timestamp_ms":1787281982000,"timestamp_seconds":1787281982,"priority":1,"record_length":96,"hex_timestamp":"000001a0224ec230"} 
[2026-08-21 08:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:44:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544182016001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544182016001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544182016001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":159194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:23] local.INFO: GPS data processed {"connection_id":159194,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:23] local.INFO: Acknowledgment sent {"connection_id":159194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:26] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:44:26] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:44:26] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:44:31] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:44:31] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:44:31] local.INFO: IMEI packet received {"connection_id":161427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":161427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:44:32] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:44:32] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224b43a8012da67800054b37b80012012c2c..."} 
[2026-08-21 08:44:32] local.INFO: Packet analysis {"connection_id":161427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:44:32] local.INFO: Extracted packet for processing {"connection_id":161427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224b"} 
[2026-08-21 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":765884416,"raw_latitude":88815544,"longitude_deg":76.5884416,"latitude_deg":8.8815544,"altitude":18,"angle":300,"satellites":44,"speed":2,"hex_longitude":"2da67800","hex_latitude":"054b37b8","is_valid_coordinates":true} 
[2026-08-21 08:44: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-08-21 08:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128512001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451336074727284736,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787281753000,"timestamp_ms":1787281753000,"timestamp_seconds":1787281753,"priority":1,"record_length":96,"hex_timestamp":"000001a0224b43a8"} 
[2026-08-21 08:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:32] 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-08-21 08:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128512001,"66":27865,"204":206,"84":6144,"24":2,"16":387923928665817088,"45":-6451336074727284736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128512001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451336074727284736,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128512001,"power":27865,"lac":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6451336074727284736}} 
[2026-08-21 08:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":161427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:32] local.INFO: GPS data processed {"connection_id":161427,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:32] local.INFO: Acknowledgment sent {"connection_id":161427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:52] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f8198012d0d620007062080001a00561c..."} 
[2026-08-21 08:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f8198012d0d620007062080001a00561c..."} 
[2026-08-21 08:44:52] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f8198012d0d620007062080001a00561c..."} 
[2026-08-21 08:44:52] local.INFO: Packet analysis {"connection_id":159193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:52] local.INFO: Extracted packet for processing {"connection_id":159193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":117842048,"longitude_deg":75.5851776,"latitude_deg":11.7842048,"altitude":26,"angle":86,"satellites":28,"speed":13,"hex_longitude":"2d0d6200","hex_latitude":"07062080","is_valid_coordinates":true} 
[2026-08-21 08:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544199424001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29173805876248576,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963629612936478720,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787282031000,"timestamp_ms":1787282031000,"timestamp_seconds":1787282031,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f8198"} 
[2026-08-21 08:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159193,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544199424001,"66":14439,"167":206,"94":11008,"24":13,"16":29173805876248576,"45":963629612936478720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544199424001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:52] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:44:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29173805876248576,"km_value":29173805876248.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":963629612936478720,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544199424001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":963629612936478720}} 
[2026-08-21 08:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":159193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674609,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:52] local.INFO: GPS data processed {"connection_id":159193,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:52] local.INFO: Acknowledgment sent {"connection_id":159193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:44:54] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f1438012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f1438012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:44:54] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f1438012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:44:54] local.INFO: Packet analysis {"connection_id":159194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:54] local.INFO: Extracted packet for processing {"connection_id":159194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544187392001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:44: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-08-21 08:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282003000,"timestamp_ms":1787282003000,"timestamp_seconds":1787282003,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f1438"} 
[2026-08-21 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-08-21 08:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544187392001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544187392001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:44:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544187392001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":159194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:44:54] local.INFO: GPS data processed {"connection_id":159194,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:44:54] local.INFO: Acknowledgment sent {"connection_id":159194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:04] local.INFO: TCP Data received {"connection_id":161427,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:45:04] local.INFO: Processing buffer {"connection_id":161427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:45:04] local.INFO: Packet analysis {"connection_id":161427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:04] local.INFO: Extracted packet for processing {"connection_id":161427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:45: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-08-21 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:04] 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-08-21 08: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-08-21 08:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":161427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:04] local.INFO: GPS data processed {"connection_id":161427,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:04] local.INFO: Acknowledgment sent {"connection_id":161427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:07] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:45:07] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:45:07] local.INFO: IMEI packet received {"connection_id":161428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":161428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:45:12] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:45:12] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:45:12] local.INFO: IMEI packet received {"connection_id":161428,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":161428,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:45:13] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022503930012d7d170005ea2f70000c000222..."} 
[2026-08-21 08:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022503930012d7d170005ea2f70000c000222..."} 
[2026-08-21 08:45:13] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022503930012d7d170005ea2f70000c000222..."} 
[2026-08-21 08:45:13] local.INFO: Packet analysis {"connection_id":161428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:45:13] local.INFO: Extracted packet for processing {"connection_id":161428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:45:13] local.INFO: GPS Element Parsed {"raw_longitude":763172608,"raw_latitude":99233648,"longitude_deg":76.3172608,"latitude_deg":9.9233648,"altitude":12,"angle":2,"satellites":34,"speed":19,"hex_longitude":"2d7d1700","hex_latitude":"05ea2f70","is_valid_coordinates":true} 
[2026-08-21 08:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121621465094160384,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013321360885872640,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282078000,"timestamp_ms":1787282078000,"timestamp_seconds":1787282078,"priority":1,"record_length":96,"hex_timestamp":"000001a022503930"} 
[2026-08-21 08:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":12993,"154":206,"87":13824,"24":19,"16":121621465094160384,"45":9013321360885872640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-21 08:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 08:45:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121621465094160384,"km_value":121621465094160.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013321360885872640,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":12993,"unknown_154":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9013321360885872640}} 
[2026-08-21 08:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":161428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:13] local.INFO: GPS data processed {"connection_id":161428,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:13] local.INFO: Acknowledgment sent {"connection_id":161428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:16] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:16] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:16] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:45:17] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:17] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:17] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:45:18] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:45:18] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:45:18] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:45:22] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:22] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:45:22] local.INFO: IMEI packet received {"connection_id":160082,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":160082,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:45:23] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0224fb848012d0d824007062350001b004b1b..."} 
[2026-08-21 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224fb848012d0d824007062350001b004b1b..."} 
[2026-08-21 08:45:23] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224fb848012d0d824007062350001b004b1b..."} 
[2026-08-21 08:45:23] local.INFO: Packet analysis {"connection_id":160082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:23] local.INFO: Extracted packet for processing {"connection_id":160082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:23] local.INFO: GPS Element Parsed {"raw_longitude":755860032,"raw_latitude":117842768,"longitude_deg":75.5860032,"latitude_deg":11.7842768,"altitude":27,"angle":75,"satellites":27,"speed":29,"hex_longitude":"2d0d8240","hex_latitude":"07062350","is_valid_coordinates":true} 
[2026-08-21 08:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544199936001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29174201013239808,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333300378271744,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787282045000,"timestamp_ms":1787282045000,"timestamp_seconds":1787282045,"priority":1,"record_length":96,"hex_timestamp":"000001a0224fb848"} 
[2026-08-21 08:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544199936001,"66":14363,"167":206,"94":11008,"24":29,"16":29174201013239808,"45":964333300378271744},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544199936001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:23] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:45:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29174201013239808,"km_value":29174201013239.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333300378271744,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544199936001,"power":14363,"unknown_167":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":964333300378271744}} 
[2026-08-21 08:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":160082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674613,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:23] local.INFO: GPS data processed {"connection_id":160082,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:23] local.INFO: Acknowledgment sent {"connection_id":160082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:23] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:45:23] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:45:23] local.INFO: IMEI packet received {"connection_id":160083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":160083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:45:24] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224f6640012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224f6640012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:45:24] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224f6640012d1965c0071ff0f8003a01442a..."} 
[2026-08-21 08:45:24] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:24] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544192768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282024000,"timestamp_ms":1787282024000,"timestamp_seconds":1787282024,"priority":1,"record_length":96,"hex_timestamp":"000001a0224f6640"} 
[2026-08-21 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-08-21 08:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544192768001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544192768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544192768001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:24] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:24] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:26] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:45:26] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:45:26] local.INFO: IMEI packet received {"connection_id":161429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":161429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:45:31] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:45:31] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:45:31] local.INFO: IMEI packet received {"connection_id":161429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":161429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:45:32] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:45:32] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:45:32] local.INFO: Packet analysis {"connection_id":161429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:32] local.INFO: Extracted packet for processing {"connection_id":161429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:32] 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-08-21 08:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":161429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:32] local.INFO: GPS data processed {"connection_id":161429,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:32] local.INFO: Acknowledgment sent {"connection_id":161429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:52] local.INFO: TCP Data received {"connection_id":161428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022508b38012d7d178005ea33f0000b000125..."} 
[2026-08-21 08:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022508b38012d7d178005ea33f0000b000125..."} 
[2026-08-21 08:45:52] local.INFO: Processing buffer {"connection_id":161428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022508b38012d7d178005ea33f0000b000125..."} 
[2026-08-21 08:45:52] local.INFO: Packet analysis {"connection_id":161428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:45:52] local.INFO: Extracted packet for processing {"connection_id":161428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:45:52] local.INFO: GPS Element Parsed {"raw_longitude":763172736,"raw_latitude":99234800,"longitude_deg":76.3172736,"latitude_deg":9.92348,"altitude":11,"angle":1,"satellites":37,"speed":0,"hex_longitude":"2d7d1780","hex_latitude":"05ea33f0","is_valid_coordinates":true} 
[2026-08-21 08:45:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:45:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544211968001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121621520928735232,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013673204609150976,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:45:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787282099000,"timestamp_ms":1787282099000,"timestamp_seconds":1787282099,"priority":1,"record_length":96,"hex_timestamp":"000001a022508b38"} 
[2026-08-21 08:45:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:45: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-08-21 08: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:45:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:45:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:45:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:45:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161428,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:45:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:45:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:45:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544211968001,"66":12906,"154":206,"87":13824,"24":0,"16":121621520928735232,"45":9013673204609150976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-21 08:45:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:45:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:45:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544211968001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:52] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 08:45:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:45:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121621520928735232,"km_value":121621520928735.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013673204609150976,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544211968001,"power":12906,"unknown_154":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9013673204609150976}} 
[2026-08-21 08:45:52] local.INFO: DEBUG: GPS processor result {"connection_id":161428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:52] local.INFO: GPS data processed {"connection_id":161428,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:52] local.INFO: Acknowledgment sent {"connection_id":161428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:54] local.INFO: TCP Data received {"connection_id":160082,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022515270012d0dcfc007067ec8001b004320..."} 
[2026-08-21 08:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022515270012d0dcfc007067ec8001b004320..."} 
[2026-08-21 08:45:54] local.INFO: Processing buffer {"connection_id":160082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022515270012d0dcfc007067ec8001b004320..."} 
[2026-08-21 08:45:54] local.INFO: Packet analysis {"connection_id":160082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:45:54] local.INFO: Extracted packet for processing {"connection_id":160082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:45:54] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117866184,"longitude_deg":75.5879872,"latitude_deg":11.7866184,"altitude":27,"angle":67,"satellites":32,"speed":15,"hex_longitude":"2d0dcfc0","hex_latitude":"07067ec8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544228864001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29175910410223616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":991566004381280256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282150000,"timestamp_ms":1787282150000,"timestamp_seconds":1787282150,"priority":1,"record_length":96,"hex_timestamp":"000001a022515270"} 
[2026-08-21 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-08-21 08:45: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-08-21 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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160082,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544228864001,"66":14515,"167":206,"94":11008,"24":15,"16":29175910410223616,"45":991566004381280256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544228864001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:54] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:45:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29175910410223616,"km_value":29175910410223.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":991566004381280256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544228864001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":991566004381280256}} 
[2026-08-21 08:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":160082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674617,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:54] local.INFO: GPS data processed {"connection_id":160082,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:54] local.INFO: Acknowledgment sent {"connection_id":160082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:45:55] local.INFO: TCP Data received {"connection_id":160083,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0224fb848012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224fb848012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:45:55] local.INFO: Processing buffer {"connection_id":160083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224fb848012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:45:55] local.INFO: Packet analysis {"connection_id":160083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:55] local.INFO: Extracted packet for processing {"connection_id":160083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544198144001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282045000,"timestamp_ms":1787282045000,"timestamp_seconds":1787282045,"priority":1,"record_length":96,"hex_timestamp":"000001a0224fb848"} 
[2026-08-21 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-08-21 08:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544198144001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544198144001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:45:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544198144001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":160083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:45:55] local.INFO: GPS data processed {"connection_id":160083,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:45:55] local.INFO: Acknowledgment sent {"connection_id":160083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:04] local.INFO: TCP Data received {"connection_id":161429,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:46:04] local.INFO: Processing buffer {"connection_id":161429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:46:04] local.INFO: Packet analysis {"connection_id":161429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:46:04] local.INFO: Extracted packet for processing {"connection_id":161429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:46:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46: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-08-21 08:46: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":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:04] 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-08-21 08:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":161429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:04] local.INFO: GPS data processed {"connection_id":161429,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:04] local.INFO: Acknowledgment sent {"connection_id":161429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:07] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:46:07] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:46:07] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:46:12] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:46:12] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:46:12] local.INFO: IMEI packet received {"connection_id":160084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":160084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:46:15] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02250b630012d7d184005ea3538000b000d20..."} 
[2026-08-21 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02250b630012d7d184005ea3538000b000d20..."} 
[2026-08-21 08:46:15] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02250b630012d7d184005ea3538000b000d20..."} 
[2026-08-21 08:46:15] local.INFO: Packet analysis {"connection_id":160084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:15] local.INFO: Extracted packet for processing {"connection_id":160084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:15] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":99235128,"longitude_deg":76.3172928,"latitude_deg":9.9235128,"altitude":11,"angle":13,"satellites":32,"speed":4,"hex_longitude":"2d7d1840","hex_latitude":"05ea3538","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544217344001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121621538108604416,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013813942097801216,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787282110000,"timestamp_ms":1787282110000,"timestamp_seconds":1787282110,"priority":1,"record_length":96,"hex_timestamp":"000001a02250b630"} 
[2026-08-21 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-08-21 08:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 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-08-21 08:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:46: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-08-21 08:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544217344001,"66":12917,"154":206,"87":13824,"24":4,"16":121621538108604416,"45":9013813942097801216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-21 08:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544217344001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:15] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 08:46:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121621538108604416,"km_value":121621538108604.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013813942097801216,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544217344001,"power":12917,"unknown_154":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9013813942097801216}} 
[2026-08-21 08:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":160084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:15] local.INFO: GPS data processed {"connection_id":160084,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:15] local.INFO: Acknowledgment sent {"connection_id":160084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:17] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:46:17] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:46:17] local.INFO: IMEI packet received {"connection_id":158896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":158896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:46:18] local.INFO: TCP Data received {"connection_id":158897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:46:18] local.INFO: Processing buffer {"connection_id":158897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:46:18] local.INFO: IMEI packet received {"connection_id":158897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":158897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:46:23] local.INFO: TCP Data received {"connection_id":158897,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:46:23] local.INFO: Processing buffer {"connection_id":158897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:46:23] local.INFO: IMEI packet received {"connection_id":158897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":158897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:46:24] local.INFO: TCP Data received {"connection_id":158897,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022500a50012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022500a50012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:46:24] local.INFO: Processing buffer {"connection_id":158897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022500a50012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:46:24] local.INFO: Packet analysis {"connection_id":158897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:24] local.INFO: Extracted packet for processing {"connection_id":158897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544203520001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46: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-08-21 08:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282066000,"timestamp_ms":1787282066000,"timestamp_seconds":1787282066,"priority":1,"record_length":96,"hex_timestamp":"000001a022500a50"} 
[2026-08-21 08:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46: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-08-21 08: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544203520001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544203520001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544203520001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":158897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:24] local.INFO: GPS data processed {"connection_id":158897,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:24] local.INFO: Acknowledgment sent {"connection_id":158897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:24] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:46:24] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:46:24] local.INFO: IMEI packet received {"connection_id":158896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":158896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:46:26] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.106.6.33","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 08:46:26] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 08:46:26] local.INFO: IMEI packet received {"connection_id":158896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":158896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:46:26] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:46:26] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:46:26] local.INFO: IMEI packet received {"connection_id":161430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":161430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:46:26] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022515658012d0dd10007067fc0001b002b20..."} 
[2026-08-21 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022515658012d0dd10007067fc0001b002b20..."} 
[2026-08-21 08:46:26] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":812,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a022..."} 
[2026-08-21 08:46:26] local.INFO: IMEI packet received {"connection_id":158896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":158896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:46:27] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022515a40012d0dd1c007068148001a001820..."} 
[2026-08-21 08:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022515a40012d0dd1c007068148001a001820..."} 
[2026-08-21 08:46:27] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a022515658012d0dd10007067fc0001b002b20..."} 
[2026-08-21 08:46:27] local.INFO: Packet analysis {"connection_id":158896,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:46:27] local.INFO: Extracted packet for processing {"connection_id":158896,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:46:27] local.INFO: GPS Element Parsed {"raw_longitude":755880192,"raw_latitude":117866432,"longitude_deg":75.5880192,"latitude_deg":11.7866432,"altitude":27,"angle":43,"satellites":32,"speed":15,"hex_longitude":"2d0dd100","hex_latitude":"07067fc0","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544230400001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29175931885060096,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995225179078445056,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787282151000,"timestamp_ms":1787282151000,"timestamp_seconds":1787282151,"priority":1,"record_length":96,"hex_timestamp":"000001a022515658"} 
[2026-08-21 08:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46: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-08-21 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544230400001,"66":14515,"167":206,"94":11008,"24":15,"16":29175931885060096,"45":995225179078445056},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544230400001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29175931885060096,"km_value":29175931885060.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":995225179078445056,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544230400001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":995225179078445056}} 
[2026-08-21 08:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":158896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:27] local.INFO: GPS data processed {"connection_id":158896,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:27] local.INFO: Acknowledgment sent {"connection_id":158896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:27] local.INFO: Packet analysis {"connection_id":158896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:46:27] local.INFO: Extracted packet for processing {"connection_id":158896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:46:27] local.INFO: GPS Element Parsed {"raw_longitude":755880384,"raw_latitude":117866824,"longitude_deg":75.5880384,"latitude_deg":11.7866824,"altitude":26,"angle":24,"satellites":32,"speed":17,"hex_longitude":"2d0dd1c0","hex_latitude":"07068148","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544230656001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29175949064929280,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995577022799396864,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787282152000,"timestamp_ms":1787282152000,"timestamp_seconds":1787282152,"priority":1,"record_length":96,"hex_timestamp":"000001a022515a40"} 
[2026-08-21 08:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46: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-08-21 08: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544230656001,"66":14515,"167":206,"94":11008,"24":17,"16":29175949064929280,"45":995577022799396864},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544230656001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29175949064929280,"km_value":29175949064929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":995577022799396864,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544230656001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":995577022799396864}} 
[2026-08-21 08:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":158896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674623,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:27] local.INFO: GPS data processed {"connection_id":158896,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:27] local.INFO: Acknowledgment sent {"connection_id":158896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:28] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022517d68012d0dd800070699100019000b20..."} 
[2026-08-21 08:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022517d68012d0dd800070699100019000b20..."} 
[2026-08-21 08:46:28] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022517d68012d0dd800070699100019000b20..."} 
[2026-08-21 08:46:28] local.INFO: Packet analysis {"connection_id":158896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:46:28] local.INFO: Extracted packet for processing {"connection_id":158896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:46:28] local.INFO: GPS Element Parsed {"raw_longitude":755881984,"raw_latitude":117872912,"longitude_deg":75.5881984,"latitude_deg":11.7872912,"altitude":25,"angle":11,"satellites":32,"speed":29,"hex_longitude":"2d0dd800","hex_latitude":"07069910","is_valid_coordinates":true} 
[2026-08-21 08:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544230912001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29176258302574592,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995788129032030208,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787282161000,"timestamp_ms":1787282161000,"timestamp_seconds":1787282161,"priority":1,"record_length":96,"hex_timestamp":"000001a022517d68"} 
[2026-08-21 08:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544230912001,"66":14428,"167":206,"94":11008,"24":29,"16":29176258302574592,"45":995788129032030208},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-08-21 08:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544230912001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 08:46:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 08:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29176258302574592,"km_value":29176258302574.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":995788129032030208,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544230912001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":29,"odometer":null,"unknown_45":995788129032030208}} 
[2026-08-21 08:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":158896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674624,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:28] local.INFO: GPS data processed {"connection_id":158896,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:28] local.INFO: Acknowledgment sent {"connection_id":158896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:31] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:46:31] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:46:31] local.INFO: IMEI packet received {"connection_id":161430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":161430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:46:32] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:46:32] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:46:32] local.INFO: Packet analysis {"connection_id":161430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:46:32] local.INFO: Extracted packet for processing {"connection_id":161430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:32] 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-08-21 08: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-08-21 08:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":161430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:32] local.INFO: GPS data processed {"connection_id":161430,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:32] local.INFO: Acknowledgment sent {"connection_id":161430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:52] local.INFO: TCP Data received {"connection_id":160084,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02250d188012d7d18c005ea3e60000c000220..."} 
[2026-08-21 08:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02250d188012d7d18c005ea3e60000c000220..."} 
[2026-08-21 08:46:52] local.INFO: Processing buffer {"connection_id":160084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02250d188012d7d18c005ea3e60000c000220..."} 
[2026-08-21 08:46:52] local.INFO: Packet analysis {"connection_id":160084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:52] local.INFO: Extracted packet for processing {"connection_id":160084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:52] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":99237472,"longitude_deg":76.3173056,"latitude_deg":9.9237472,"altitude":12,"angle":2,"satellites":32,"speed":19,"hex_longitude":"2d7d18c0","hex_latitude":"05ea3e60","is_valid_coordinates":true} 
[2026-08-21 08:46:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:46:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544220160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121621654072721408,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014025048330418176,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787282117000,"timestamp_ms":1787282117000,"timestamp_seconds":1787282117,"priority":1,"record_length":96,"hex_timestamp":"000001a02250d188"} 
[2026-08-21 08:46:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46: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-08-21 08: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:46:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:46:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:46:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160084,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:46:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:46:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:46:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544220160001,"66":13091,"154":206,"87":13824,"24":19,"16":121621654072721408,"45":9014025048330418176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-21 08:46:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:46:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:46:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544220160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:52] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 08:46:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:46:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121621654072721408,"km_value":121621654072721.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014025048330418176,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544220160001,"power":13091,"unknown_154":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9014025048330418176}} 
[2026-08-21 08:46:52] local.INFO: DEBUG: GPS processor result {"connection_id":160084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:52] local.INFO: GPS data processed {"connection_id":160084,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:52] local.INFO: Acknowledgment sent {"connection_id":160084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:55] local.INFO: TCP Data received {"connection_id":158897,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022505c58012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022505c58012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:46:55] local.INFO: Processing buffer {"connection_id":158897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022505c58012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:46:55] local.INFO: Packet analysis {"connection_id":158897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:55] local.INFO: Extracted packet for processing {"connection_id":158897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544208896001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282087000,"timestamp_ms":1787282087000,"timestamp_seconds":1787282087,"priority":1,"record_length":96,"hex_timestamp":"000001a022505c58"} 
[2026-08-21 08:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544208896001,"66":12200,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544208896001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544208896001,"power":12200,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":158897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:55] local.INFO: GPS data processed {"connection_id":158897,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:55] local.INFO: Acknowledgment sent {"connection_id":158897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:46:59] local.INFO: TCP Data received {"connection_id":158896,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022523500012d0dcd800706c9c0001f016120..."} 
[2026-08-21 08:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022523500012d0dcd800706c9c0001f016120..."} 
[2026-08-21 08:46:59] local.INFO: Processing buffer {"connection_id":158896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022523500012d0dcd800706c9c0001f016120..."} 
[2026-08-21 08:46:59] local.INFO: Packet analysis {"connection_id":158896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:46:59] local.INFO: Extracted packet for processing {"connection_id":158896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":755879296,"raw_latitude":117885376,"longitude_deg":75.5879296,"latitude_deg":11.7885376,"altitude":31,"angle":353,"satellites":32,"speed":18,"hex_longitude":"2d0dcd80","hex_latitude":"0706c9c0","is_valid_coordinates":true} 
[2026-08-21 08:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544244992001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29177310569562112,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994662229129805824,"note":"Value kept but may cause issues"} 
[2026-08-21 08:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787282208000,"timestamp_ms":1787282208000,"timestamp_seconds":1787282208,"priority":1,"record_length":96,"hex_timestamp":"000001a022523500"} 
[2026-08-21 08:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544244992001,"66":14439,"219":206,"94":10240,"24":18,"16":29177310569562112,"45":994662229129805824},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-08-21 08:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544244992001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:46:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 08:46:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29177310569562112,"km_value":29177310569562.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":994662229129805824,"description":"Unknown IO ID 45"} 
[2026-08-21 08:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544244992001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":994662229129805824}} 
[2026-08-21 08:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":158896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674628,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:46:59] local.INFO: GPS data processed {"connection_id":158896,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:46:59] local.INFO: Acknowledgment sent {"connection_id":158896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:47:03] local.INFO: TCP Data received {"connection_id":161430,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:47:03] local.INFO: Processing buffer {"connection_id":161430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:47:03] local.INFO: Packet analysis {"connection_id":161430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:47:03] local.INFO: Extracted packet for processing {"connection_id":161430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:47:03] 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-08-21 08: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-08-21 08:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:47:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":161430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:47:03] local.INFO: GPS data processed {"connection_id":161430,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:47:03] local.INFO: Acknowledgment sent {"connection_id":161430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:47:12] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:47:12] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:47:12] local.INFO: IMEI packet received {"connection_id":159195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":159195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:47:16] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:16] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:16] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:47:17] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:47:17] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:47:17] local.INFO: IMEI packet received {"connection_id":159195,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":159195,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:47:17] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:17] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:17] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:47:17] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:17] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:17] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:47:18] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:47:18] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:47:18] local.INFO: IMEI packet received {"connection_id":158898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":158898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:47:18] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022510450012d7d1b4005ea6130000b000222..."} 
[2026-08-21 08:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022510450012d7d1b4005ea6130000b000222..."} 
[2026-08-21 08:47:18] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022510450012d7d1b4005ea6130000b000222..."} 
[2026-08-21 08:47:18] local.INFO: Packet analysis {"connection_id":159195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:47:18] local.INFO: Extracted packet for processing {"connection_id":159195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:47:18] local.INFO: GPS Element Parsed {"raw_longitude":763173696,"raw_latitude":99246384,"longitude_deg":76.3173696,"latitude_deg":9.9246384,"altitude":11,"angle":2,"satellites":34,"speed":26,"hex_longitude":"2d7d1b40","hex_latitude":"05ea6130","is_valid_coordinates":true} 
[2026-08-21 08:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544221952001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121622087864418304,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014165785819373568,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787282130000,"timestamp_ms":1787282130000,"timestamp_seconds":1787282130,"priority":1,"record_length":96,"hex_timestamp":"000001a022510450"} 
[2026-08-21 08:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 08:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:47: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-08-21 08:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544221952001,"66":12287,"154":206,"87":13824,"24":26,"16":121622087864418304,"45":9014165785819373568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-21 08:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544221952001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:47:18] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 08:47:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121622087864418304,"km_value":121622087864418.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014165785819373568,"description":"Unknown IO ID 45"} 
[2026-08-21 08:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544221952001,"power":12287,"unknown_154":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9014165785819373568}} 
[2026-08-21 08:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":159195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:47:18] local.INFO: GPS data processed {"connection_id":159195,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:47:18] local.INFO: Acknowledgment sent {"connection_id":159195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:47:21] local.INFO: TCP Data received {"connection_id":160085,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160085,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:21] local.INFO: Processing buffer {"connection_id":160085,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:47:21] local.INFO: IMEI packet received {"connection_id":160085,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":160085,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:47:23] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022513b00012d7d1bc005ea84f0000a016322..."} 
[2026-08-21 08:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022513b00012d7d1bc005ea84f0000a016322..."} 
[2026-08-21 08:47:23] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022513b00012d7d1bc005ea84f0000a016322..."} 
[2026-08-21 08:47:23] local.INFO: Packet analysis {"connection_id":159195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:47:23] local.INFO: Extracted packet for processing {"connection_id":159195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:47:23] local.INFO: GPS Element Parsed {"raw_longitude":763173824,"raw_latitude":99255536,"longitude_deg":76.3173824,"latitude_deg":9.9255536,"altitude":10,"angle":355,"satellites":34,"speed":16,"hex_longitude":"2d7d1bc0","hex_latitude":"05ea84f0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544225280001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121622530246049792,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014869473263431680,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787282144000,"timestamp_ms":1787282144000,"timestamp_seconds":1787282144,"priority":1,"record_length":96,"hex_timestamp":"000001a022513b00"} 
[2026-08-21 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-08-21 08:47: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-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159195,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544225280001,"66":13059,"154":206,"87":13824,"24":16,"16":121622530246049792,"45":9014869473263431680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-08-21 08:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544225280001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:47:23] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 08:47:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121622530246049792,"km_value":121622530246049.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014869473263431680,"description":"Unknown IO ID 45"} 
[2026-08-21 08:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544225280001,"power":13059,"unknown_154":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":9014869473263431680}} 
[2026-08-21 08:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":159195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:47:23] local.INFO: GPS data processed {"connection_id":159195,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:47:23] local.INFO: Acknowledgment sent {"connection_id":159195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:47:23] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:47:23] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:47:23] local.INFO: IMEI packet received {"connection_id":158898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":158898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:47:24] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02250ae60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02250ae60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:47:24] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02250ae60012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:47:24] local.INFO: Packet analysis {"connection_id":158898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:47:24] local.INFO: Extracted packet for processing {"connection_id":158898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02250"} 
[2026-08-21 08:47:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:47:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:47:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544214272001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47: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-08-21 08:47:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282108000,"timestamp_ms":1787282108000,"timestamp_seconds":1787282108,"priority":1,"record_length":96,"hex_timestamp":"000001a02250ae60"} 
[2026-08-21 08:47:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:47: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-08-21 08: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 08:47:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:47:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:47:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:47:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:47:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:47:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:47:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:47:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:47:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544214272001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544214272001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:47:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544214272001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":158898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:47:24] local.INFO: GPS data processed {"connection_id":158898,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:47:24] local.INFO: Acknowledgment sent {"connection_id":158898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:47:26] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:47:26] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:47:26] local.INFO: IMEI packet received {"connection_id":161431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":161431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:47:31] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:47:31] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:47:31] local.INFO: IMEI packet received {"connection_id":161431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":161431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:47:32] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:47:32] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:47:32] local.INFO: Packet analysis {"connection_id":161431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:47:32] local.INFO: Extracted packet for processing {"connection_id":161431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:47:32] 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-08-21 08: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-08-21 08:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:47:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":161431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:47:32] local.INFO: GPS data processed {"connection_id":161431,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:47:32] local.INFO: Acknowledgment sent {"connection_id":161431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:47:55] local.INFO: TCP Data received {"connection_id":158898,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022510068012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022510068012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:47:55] local.INFO: Processing buffer {"connection_id":158898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022510068012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:47:55] local.INFO: Packet analysis {"connection_id":158898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:47:55] local.INFO: Extracted packet for processing {"connection_id":158898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544219648001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282129000,"timestamp_ms":1787282129000,"timestamp_seconds":1787282129,"priority":1,"record_length":96,"hex_timestamp":"000001a022510068"} 
[2026-08-21 08:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544219648001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544219648001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:47:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544219648001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":158898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:47:55] local.INFO: GPS data processed {"connection_id":158898,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:47:55] local.INFO: Acknowledgment sent {"connection_id":158898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:48:03] local.INFO: TCP Data received {"connection_id":161431,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:03] local.INFO: Processing buffer {"connection_id":161431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:03] local.INFO: Packet analysis {"connection_id":161431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:48:03] local.INFO: Extracted packet for processing {"connection_id":161431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:48:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:48:03] 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-08-21 08:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:48:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":161431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:48:03] local.INFO: GPS data processed {"connection_id":161431,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:48:03] local.INFO: Acknowledgment sent {"connection_id":161431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:48:04] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:04] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:04] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:48:07] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:07] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:07] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:48:12] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:12] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:48:12] local.INFO: IMEI packet received {"connection_id":160086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":160086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:48:13] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022530bd8012d7cff4005eaf0a0000b00e524..."} 
[2026-08-21 08:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022530bd8012d7cff4005eaf0a0000b00e524..."} 
[2026-08-21 08:48:13] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022530bd8012d7cff4005eaf0a0000b00e524..."} 
[2026-08-21 08:48:13] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:48:13] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:48:13] local.INFO: GPS Element Parsed {"raw_longitude":763166528,"raw_latitude":99283104,"longitude_deg":76.3166528,"latitude_deg":9.9283104,"altitude":11,"angle":229,"satellites":36,"speed":0,"hex_longitude":"2d7cff40","hex_latitude":"05eaf0a0","is_valid_coordinates":true} 
[2026-08-21 08:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544258816001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121624540290744320,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007058542669125632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282263000,"timestamp_ms":1787282263000,"timestamp_seconds":1787282263,"priority":1,"record_length":96,"hex_timestamp":"000001a022530bd8"} 
[2026-08-21 08:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 08:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544258816001,"66":13080,"158":206,"87":13824,"24":0,"16":121624540290744320,"45":9007058542669125632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-21 08:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544258816001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:48:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-21 08:48:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121624540290744320,"km_value":121624540290744.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007058542669125632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544258816001,"power":13080,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007058542669125632}} 
[2026-08-21 08:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:48:13] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:48:13] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:48:18] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:48:18] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:48:18] local.INFO: IMEI packet received {"connection_id":161433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":161433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:48:23] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:48:23] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:48:23] local.INFO: IMEI packet received {"connection_id":161433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":161433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:48:24] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022515270012d1965c0071ff0f8003a014426..."} 
[2026-08-21 08:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022515270012d1965c0071ff0f8003a014426..."} 
[2026-08-21 08:48:24] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022515270012d1965c0071ff0f8003a014426..."} 
[2026-08-21 08:48:24] local.INFO: Packet analysis {"connection_id":161433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:48:24] local.INFO: Extracted packet for processing {"connection_id":161433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":38,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544225024001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48: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-08-21 08:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282150000,"timestamp_ms":1787282150000,"timestamp_seconds":1787282150,"priority":1,"record_length":96,"hex_timestamp":"000001a022515270"} 
[2026-08-21 08:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:48: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-08-21 08:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544225024001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544225024001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:48:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544225024001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":161433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:48:24] local.INFO: GPS data processed {"connection_id":161433,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:48:24] local.INFO: Acknowledgment sent {"connection_id":161433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:48:31] local.INFO: TCP Data received {"connection_id":158899,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:48:31] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:48:31] local.INFO: IMEI packet received {"connection_id":158899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":158899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:48:36] local.INFO: TCP Data received {"connection_id":158899,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:48:36] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:48:36] local.INFO: IMEI packet received {"connection_id":158899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":158899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:48:37] local.INFO: TCP Data received {"connection_id":158899,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:37] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:37] local.INFO: Packet analysis {"connection_id":158899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:48:37] local.INFO: Extracted packet for processing {"connection_id":158899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:48:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":158899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:48:37] local.INFO: GPS data processed {"connection_id":158899,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:48:37] local.INFO: Acknowledgment sent {"connection_id":158899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:48:42] local.INFO: TCP Data received {"connection_id":158899,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:42] local.INFO: Processing buffer {"connection_id":158899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:48:42] local.INFO: Packet analysis {"connection_id":158899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:48:42] local.INFO: Extracted packet for processing {"connection_id":158899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:48:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":158899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:48:42] local.INFO: GPS data processed {"connection_id":158899,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:48:42] local.INFO: Acknowledgment sent {"connection_id":158899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:48:44] local.INFO: TCP Data received {"connection_id":160086,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225313a8012d7cfe8005eaf070000b00fa24..."} 
[2026-08-21 08:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225313a8012d7cfe8005eaf070000b00fa24..."} 
[2026-08-21 08:48:44] local.INFO: Processing buffer {"connection_id":160086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225313a8012d7cfe8005eaf070000b00fa24..."} 
[2026-08-21 08:48:44] local.INFO: Packet analysis {"connection_id":160086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:48:44] local.INFO: Extracted packet for processing {"connection_id":160086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763166336,"raw_latitude":99283056,"longitude_deg":76.3166336,"latitude_deg":9.9283056,"altitude":11,"angle":250,"satellites":36,"speed":3,"hex_longitude":"2d7cfe80","hex_latitude":"05eaf070","is_valid_coordinates":true} 
[2026-08-21 08:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544259328001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121624548880678912,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006988173924933632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787282265000,"timestamp_ms":1787282265000,"timestamp_seconds":1787282265,"priority":1,"record_length":96,"hex_timestamp":"000001a0225313a8"} 
[2026-08-21 08:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-21 08:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160086,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544259328001,"66":12917,"158":206,"87":13824,"24":3,"16":121624548880678912,"45":9006988173924933632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-21 08:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544259328001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:48:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-21 08:48:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121624548880678912,"km_value":121624548880678.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006988173924933632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544259328001,"power":12917,"unknown_158":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9006988173924933632}} 
[2026-08-21 08:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":160086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:48:44] local.INFO: GPS data processed {"connection_id":160086,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:48:44] local.INFO: Acknowledgment sent {"connection_id":160086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:48:55] local.INFO: TCP Data received {"connection_id":161433,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02251a478012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02251a478012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:48:55] local.INFO: Processing buffer {"connection_id":161433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02251a478012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:48:55] local.INFO: Packet analysis {"connection_id":161433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:48:55] local.INFO: Extracted packet for processing {"connection_id":161433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544230400001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282171000,"timestamp_ms":1787282171000,"timestamp_seconds":1787282171,"priority":1,"record_length":96,"hex_timestamp":"000001a02251a478"} 
[2026-08-21 08:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544230400001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544230400001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:48:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:48:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544230400001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":161433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:48:55] local.INFO: GPS data processed {"connection_id":161433,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:48:55] local.INFO: Acknowledgment sent {"connection_id":161433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:49:06] local.INFO: TCP Data received {"connection_id":158900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:06] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:06] local.INFO: IMEI packet received {"connection_id":158900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":158900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:49:07] local.INFO: TCP Data received {"connection_id":158900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:07] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:07] local.INFO: IMEI packet received {"connection_id":158900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":158900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:49:07] local.INFO: TCP Data received {"connection_id":158900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:07] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:07] local.INFO: IMEI packet received {"connection_id":158900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":158900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:49:09] local.INFO: TCP Data received {"connection_id":158900,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:09] local.INFO: Processing buffer {"connection_id":158900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:49:09] local.INFO: IMEI packet received {"connection_id":158900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":158900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:49:18] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:49:18] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:49:18] local.INFO: IMEI packet received {"connection_id":161434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":161434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:49:23] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:49:23] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:49:23] local.INFO: IMEI packet received {"connection_id":161434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":161434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:49:24] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02251f680012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02251f680012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:49:24] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02251f680012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:49:24] local.INFO: Packet analysis {"connection_id":161434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:49:24] local.INFO: Extracted packet for processing {"connection_id":161434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02251"} 
[2026-08-21 08:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544235776001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08: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-08-21 08:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282192000,"timestamp_ms":1787282192000,"timestamp_seconds":1787282192,"priority":1,"record_length":96,"hex_timestamp":"000001a02251f680"} 
[2026-08-21 08:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:49: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-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:49:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544235776001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544235776001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:49:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544235776001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":161434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:49:24] local.INFO: GPS data processed {"connection_id":161434,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:49:24] local.INFO: Acknowledgment sent {"connection_id":161434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:49:26] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:49:26] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:49:26] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:49:31] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:49:31] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:49:31] local.INFO: IMEI packet received {"connection_id":160088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":160088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:49:32] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:49:32] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0224feef8012da67580054b39d80011012929..."} 
[2026-08-21 08:49:32] local.INFO: Packet analysis {"connection_id":160088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:49:32] local.INFO: Extracted packet for processing {"connection_id":160088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0224f"} 
[2026-08-21 08:49:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544128768001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451406443471456256,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282059000,"timestamp_ms":1787282059000,"timestamp_seconds":1787282059,"priority":1,"record_length":96,"hex_timestamp":"000001a0224feef8"} 
[2026-08-21 08:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":217,"data_length":795,"current_offset":136} 
[2026-08-21 08:49:32] 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-08-21 08: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-08-21 08:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544128768001,"66":26223,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6451406443471456256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544128768001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:49:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451406443471456256,"description":"Unknown IO ID 45"} 
[2026-08-21 08:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544128768001,"power":26223,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6451406443471456256}} 
[2026-08-21 08:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":160088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:49:32] local.INFO: GPS data processed {"connection_id":160088,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:49:32] local.INFO: Acknowledgment sent {"connection_id":160088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:49:55] local.INFO: TCP Data received {"connection_id":161434,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022524888012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022524888012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:49:55] local.INFO: Processing buffer {"connection_id":161434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022524888012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:49:55] local.INFO: Packet analysis {"connection_id":161434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:49:55] local.INFO: Extracted packet for processing {"connection_id":161434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544241152001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282213000,"timestamp_ms":1787282213000,"timestamp_seconds":1787282213,"priority":1,"record_length":96,"hex_timestamp":"000001a022524888"} 
[2026-08-21 08:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544241152001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544241152001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:49:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544241152001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":161434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:49:55] local.INFO: GPS data processed {"connection_id":161434,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:49:55] local.INFO: Acknowledgment sent {"connection_id":161434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:50:03] local.INFO: TCP Data received {"connection_id":160088,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:50:03] local.INFO: Processing buffer {"connection_id":160088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:50:03] local.INFO: Packet analysis {"connection_id":160088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:50:03] local.INFO: Extracted packet for processing {"connection_id":160088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:50:03] 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-08-21 08:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:50:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":160088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:50:03] local.INFO: GPS data processed {"connection_id":160088,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:50:03] local.INFO: Acknowledgment sent {"connection_id":160088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:50:19] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:19] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:19] local.INFO: IMEI packet received {"connection_id":158902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:50:19] local.INFO: IMEI acknowledgment sent {"connection_id":158902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:50:23] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:23] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:23] local.INFO: IMEI packet received {"connection_id":158902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":158902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:50:26] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:50:26] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:50:26] local.INFO: IMEI packet received {"connection_id":158903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":158903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:50:28] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:28] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:50:28] local.INFO: IMEI packet received {"connection_id":158902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":158902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:50:29] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022529a90012d1965c0071ff0f8003a014425..."} 
[2026-08-21 08:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022529a90012d1965c0071ff0f8003a014425..."} 
[2026-08-21 08:50:29] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022529a90012d1965c0071ff0f8003a014425..."} 
[2026-08-21 08:50:29] local.INFO: Packet analysis {"connection_id":158902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:50:29] local.INFO: Extracted packet for processing {"connection_id":158902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":37,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544246528001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787282234000,"timestamp_ms":1787282234000,"timestamp_seconds":1787282234,"priority":1,"record_length":96,"hex_timestamp":"000001a022529a90"} 
[2026-08-21 08:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544246528001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544246528001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:50:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:50:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544246528001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":158902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:50:29] local.INFO: GPS data processed {"connection_id":158902,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:50:29] local.INFO: Acknowledgment sent {"connection_id":158902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:50:31] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:50:31] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:50:31] local.INFO: IMEI packet received {"connection_id":158903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":158903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:50:32] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:50:32] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:50:32] local.INFO: Packet analysis {"connection_id":158903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:50:32] local.INFO: Extracted packet for processing {"connection_id":158903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:50:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:50: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-08-21 08:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:50:32] 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-08-21 08:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:50:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":158903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:50:32] local.INFO: GPS data processed {"connection_id":158903,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:50:32] local.INFO: Acknowledgment sent {"connection_id":158903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:50:33] local.INFO: TCP Data received {"connection_id":158902,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02252ec98012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02252ec98012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:50:33] local.INFO: Processing buffer {"connection_id":158902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02252ec98012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:50:33] local.INFO: Packet analysis {"connection_id":158902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:50:33] local.INFO: Extracted packet for processing {"connection_id":158902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02252"} 
[2026-08-21 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544251904001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787282255000,"timestamp_ms":1787282255000,"timestamp_seconds":1787282255,"priority":1,"record_length":96,"hex_timestamp":"000001a02252ec98"} 
[2026-08-21 08:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544251904001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544251904001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:50:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:50:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544251904001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":158902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:50:33] local.INFO: GPS data processed {"connection_id":158902,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:50:33] local.INFO: Acknowledgment sent {"connection_id":158902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:51:04] local.INFO: TCP Data received {"connection_id":158903,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:51:04] local.INFO: Processing buffer {"connection_id":158903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:51:04] local.INFO: Packet analysis {"connection_id":158903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:51:04] local.INFO: Extracted packet for processing {"connection_id":158903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:51: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-08-21 08: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:51: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-08-21 08: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-08-21 08:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:51:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":158903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:51:04] local.INFO: GPS data processed {"connection_id":158903,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:51:04] local.INFO: Acknowledgment sent {"connection_id":158903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:51:18] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:51:18] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:51:18] local.INFO: IMEI packet received {"connection_id":161435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":161435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:51:22] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:51:22] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:51:22] local.INFO: IMEI packet received {"connection_id":161435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":161435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:51:23] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022533ea0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022533ea0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:51:23] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022533ea0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:51:23] local.INFO: Packet analysis {"connection_id":161435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:51:23] local.INFO: Extracted packet for processing {"connection_id":161435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544257280001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787282276000,"timestamp_ms":1787282276000,"timestamp_seconds":1787282276,"priority":1,"record_length":96,"hex_timestamp":"000001a022533ea0"} 
[2026-08-21 08:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544257280001,"66":12265,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544257280001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544257280001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:51:23] local.INFO: DEBUG: GPS processor result {"connection_id":161435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:51:23] local.INFO: GPS data processed {"connection_id":161435,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:51:23] local.INFO: Acknowledgment sent {"connection_id":161435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:51:26] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:51:26] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:51:26] local.INFO: IMEI packet received {"connection_id":159196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":159196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:51:31] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:51:31] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:51:31] local.INFO: IMEI packet received {"connection_id":159196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":159196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:51:32] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:51:32] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:51:32] local.INFO: Packet analysis {"connection_id":159196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:51:32] local.INFO: Extracted packet for processing {"connection_id":159196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:51:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:51: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-08-21 08: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:51:32] 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-08-21 08: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-08-21 08:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:51:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":159196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:51:32] local.INFO: GPS data processed {"connection_id":159196,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:51:32] local.INFO: Acknowledgment sent {"connection_id":159196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:51:54] local.INFO: TCP Data received {"connection_id":161435,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0225390a8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225390a8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:51:54] local.INFO: Processing buffer {"connection_id":161435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225390a8012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:51:54] local.INFO: Packet analysis {"connection_id":161435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:51:54] local.INFO: Extracted packet for processing {"connection_id":161435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:51:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:51:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544262656001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:51: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-08-21 08:51:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282297000,"timestamp_ms":1787282297000,"timestamp_seconds":1787282297,"priority":1,"record_length":96,"hex_timestamp":"000001a0225390a8"} 
[2026-08-21 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-08-21 08:51:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 08:51:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:51:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:51:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:51:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:51:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:51:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:51:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:51:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:51:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544262656001,"66":12254,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:51:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:51:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:51:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544262656001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:51:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:51:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:51:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:51:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:51:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544262656001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":161435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:51:54] local.INFO: GPS data processed {"connection_id":161435,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:51:54] local.INFO: Acknowledgment sent {"connection_id":161435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:52:03] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:52:03] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:52:03] local.INFO: Packet analysis {"connection_id":159196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:52:03] local.INFO: Extracted packet for processing {"connection_id":159196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:52:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:52:03] 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-08-21 08:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:52:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":159196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:52:04] local.INFO: GPS data processed {"connection_id":159196,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:52:04] local.INFO: Acknowledgment sent {"connection_id":159196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:52:18] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:52:18] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:52:18] local.INFO: IMEI packet received {"connection_id":161436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":161436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:52:22] local.INFO: TCP Data received {"connection_id":158905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158905,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:52:22] local.INFO: Processing buffer {"connection_id":158905,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:52:22] local.INFO: IMEI packet received {"connection_id":158905,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":158905,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:52:22] local.INFO: TCP Data received {"connection_id":158905,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022552300012d0cb1c007075dc8002001181f..."} 
[2026-08-21 08:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022552300012d0cb1c007075dc8002001181f..."} 
[2026-08-21 08:52:22] local.INFO: Processing buffer {"connection_id":158905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022552300012d0cb1c007075dc8002001181f..."} 
[2026-08-21 08:52:22] local.INFO: Packet analysis {"connection_id":158905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:52:22] local.INFO: Extracted packet for processing {"connection_id":158905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:52:22] local.INFO: GPS Element Parsed {"raw_longitude":755806656,"raw_latitude":117923272,"longitude_deg":75.5806656,"latitude_deg":11.7923272,"altitude":32,"angle":280,"satellites":31,"speed":10,"hex_longitude":"2d0cb1c0","hex_latitude":"07075dc8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544292352001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182000673849344,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916764029334790144,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787282400000,"timestamp_ms":1787282400000,"timestamp_seconds":1787282400,"priority":1,"record_length":96,"hex_timestamp":"000001a022552300"} 
[2026-08-21 08:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:52: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-08-21 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 08:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544292352001,"66":14537,"221":206,"94":10240,"24":10,"16":29182000673849344,"45":916764029334790144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544292352001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:52:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:52:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182000673849344,"km_value":29182000673849.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":916764029334790144,"description":"Unknown IO ID 45"} 
[2026-08-21 08:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544292352001,"power":14537,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":916764029334790144}} 
[2026-08-21 08:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":158905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674654,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:52:23] local.INFO: GPS data processed {"connection_id":158905,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:52:23] local.INFO: Acknowledgment sent {"connection_id":158905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:52:23] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:52:23] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:52:23] local.INFO: IMEI packet received {"connection_id":161436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":161436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:52:24] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02253e2b0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02253e2b0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:52:24] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02253e2b0012d1965c0071ff0f8003a014429..."} 
[2026-08-21 08:52:24] local.INFO: Packet analysis {"connection_id":161436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:52:24] local.INFO: Extracted packet for processing {"connection_id":161436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02253"} 
[2026-08-21 08:52:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544268032001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52: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-08-21 08:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282318000,"timestamp_ms":1787282318000,"timestamp_seconds":1787282318,"priority":1,"record_length":96,"hex_timestamp":"000001a02253e2b0"} 
[2026-08-21 08:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:52: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-08-21 08: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 08:52:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544268032001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544268032001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:52:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:52:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544268032001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":161436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:52:24] local.INFO: GPS data processed {"connection_id":161436,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:52:24] local.INFO: Acknowledgment sent {"connection_id":161436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:52:26] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:52:26] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:52:26] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:52:31] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:52:31] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:52:31] local.INFO: IMEI packet received {"connection_id":160092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":160092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:52:32] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:52:32] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:52:32] local.INFO: Packet analysis {"connection_id":160092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:52:32] local.INFO: Extracted packet for processing {"connection_id":160092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:52:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:52: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-08-21 08: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:52:32] 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-08-21 08:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:52:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":160092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:52:32] local.INFO: GPS data processed {"connection_id":160092,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:52:32] local.INFO: Acknowledgment sent {"connection_id":160092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:52:54] local.INFO: TCP Data received {"connection_id":158905,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:52:54] local.INFO: Processing buffer {"connection_id":158905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:52:54] local.INFO: Packet analysis {"connection_id":158905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:52:54] local.INFO: Extracted packet for processing {"connection_id":158905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:52:54] local.INFO: GPS Element Parsed {"raw_longitude":755805120,"raw_latitude":117923664,"longitude_deg":75.580512,"latitude_deg":11.7923664,"altitude":32,"angle":290,"satellites":32,"speed":1,"hex_longitude":"2d0cabc0","hex_latitude":"07075f50","is_valid_coordinates":true} 
[2026-08-21 08:52:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:52:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544294400001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182077983260672,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914723335753811968,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:52:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282409000,"timestamp_ms":1787282409000,"timestamp_seconds":1787282409,"priority":1,"record_length":96,"hex_timestamp":"000001a022554628"} 
[2026-08-21 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-08-21 08:52:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 08:52:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:52:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:52:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:52:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:52:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158905,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:52:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:52:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:52:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:52:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544294400001,"66":14450,"221":206,"94":10240,"24":1,"16":29182077983260672,"45":914723335753811968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:52:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:52:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:52:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544294400001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:52:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:52:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:52:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182077983260672,"km_value":29182077983260.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:52:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":914723335753811968,"description":"Unknown IO ID 45"} 
[2026-08-21 08:52:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544294400001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":914723335753811968}} 
[2026-08-21 08:52:54] local.INFO: DEBUG: GPS processor result {"connection_id":158905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674657,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:52:54] local.INFO: GPS data processed {"connection_id":158905,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:52:54] local.INFO: Acknowledgment sent {"connection_id":158905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:52:55] local.INFO: TCP Data received {"connection_id":161436,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0225434b8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225434b8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:52:55] local.INFO: Processing buffer {"connection_id":161436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225434b8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:52:55] local.INFO: Packet analysis {"connection_id":161436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:52:55] local.INFO: Extracted packet for processing {"connection_id":161436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544273408001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282339000,"timestamp_ms":1787282339000,"timestamp_seconds":1787282339,"priority":1,"record_length":96,"hex_timestamp":"000001a0225434b8"} 
[2026-08-21 08:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544273408001,"66":12113,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544273408001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:52:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:52:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544273408001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":161436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:52:55] local.INFO: GPS data processed {"connection_id":161436,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:52:55] local.INFO: Acknowledgment sent {"connection_id":161436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:53:04] local.INFO: TCP Data received {"connection_id":160092,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:53:04] local.INFO: Processing buffer {"connection_id":160092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:53:04] local.INFO: Packet analysis {"connection_id":160092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:04] local.INFO: Extracted packet for processing {"connection_id":160092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:53: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-08-21 08:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:53: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-08-21 08:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:53:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":160092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:53:04] local.INFO: GPS data processed {"connection_id":160092,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:53:04] local.INFO: Acknowledgment sent {"connection_id":160092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:53:16] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:53:16] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:53:16] local.INFO: IMEI packet received {"connection_id":159197,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":159197,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:53:18] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:53:18] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:53:18] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:53:22] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:53:22] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:53:22] local.INFO: IMEI packet received {"connection_id":159197,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":159197,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:53:22] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:53:22] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:53:22] local.INFO: Packet analysis {"connection_id":159197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:53:22] local.INFO: Extracted packet for processing {"connection_id":159197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":755805120,"raw_latitude":117923664,"longitude_deg":75.580512,"latitude_deg":11.7923664,"altitude":32,"angle":290,"satellites":32,"speed":1,"hex_longitude":"2d0cabc0","hex_latitude":"07075f50","is_valid_coordinates":true} 
[2026-08-21 08:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544296704001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182077983260672,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913034485893648384,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787282409000,"timestamp_ms":1787282409000,"timestamp_seconds":1787282409,"priority":1,"record_length":96,"hex_timestamp":"000001a022554628"} 
[2026-08-21 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-08-21 08:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 08:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544296704001,"66":14450,"221":206,"94":10240,"24":1,"16":29182077983260672,"45":913034485893648384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544296704001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:53:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:53:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182077983260672,"km_value":29182077983260.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":913034485893648384,"description":"Unknown IO ID 45"} 
[2026-08-21 08:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544296704001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":913034485893648384}} 
[2026-08-21 08:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":159197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:53:23] local.INFO: GPS data processed {"connection_id":159197,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:53:23] local.INFO: Acknowledgment sent {"connection_id":159197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:53:23] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:53:23] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:53:23] local.INFO: IMEI packet received {"connection_id":160093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":160093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:53:24] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:53:24] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012d1965c0071ff0f8003a014427..."} 
[2026-08-21 08:53:24] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:24] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":39,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544278784001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53: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-08-21 08:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-21 08:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544278784001,"66":12113,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544278784001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:53:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:53:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544278784001,"power":12113,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:53:24] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:53:24] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:53:26] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:53:26] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:53:26] local.INFO: IMEI packet received {"connection_id":161437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":161437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:53:31] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:53:31] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:53:31] local.INFO: IMEI packet received {"connection_id":161437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":161437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:53:32] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:53:32] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:53:32] local.INFO: Packet analysis {"connection_id":161437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:32] local.INFO: Extracted packet for processing {"connection_id":161437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:53: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-08-21 08: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:53:32] 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-08-21 08: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-08-21 08:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:53:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":161437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:53:32] local.INFO: GPS data processed {"connection_id":161437,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:53:32] local.INFO: Acknowledgment sent {"connection_id":161437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:53:54] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:53:54] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022554628012d0cabc007075f500020012220..."} 
[2026-08-21 08:53:54] local.INFO: Packet analysis {"connection_id":159197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:53:54] local.INFO: Extracted packet for processing {"connection_id":159197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02255"} 
[2026-08-21 08:53:54] local.INFO: GPS Element Parsed {"raw_longitude":755805120,"raw_latitude":117923664,"longitude_deg":75.580512,"latitude_deg":11.7923664,"altitude":32,"angle":290,"satellites":32,"speed":1,"hex_longitude":"2d0cabc0","hex_latitude":"07075f50","is_valid_coordinates":true} 
[2026-08-21 08:53:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544296704001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182077983260672,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913034485893648384,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282409000,"timestamp_ms":1787282409000,"timestamp_seconds":1787282409,"priority":1,"record_length":96,"hex_timestamp":"000001a022554628"} 
[2026-08-21 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-08-21 08: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-08-21 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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 08:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159197,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544296704001,"66":14450,"221":206,"94":10240,"24":1,"16":29182077983260672,"45":913034485893648384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544296704001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:53:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:53:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182077983260672,"km_value":29182077983260.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":913034485893648384,"description":"Unknown IO ID 45"} 
[2026-08-21 08:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544296704001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":913034485893648384}} 
[2026-08-21 08:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":159197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:53:54] local.INFO: GPS data processed {"connection_id":159197,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:53:54] local.INFO: Acknowledgment sent {"connection_id":159197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:53:55] local.INFO: TCP Data received {"connection_id":160093,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02254d8c8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02254d8c8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:53:55] local.INFO: Processing buffer {"connection_id":160093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02254d8c8012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:53:55] local.INFO: Packet analysis {"connection_id":160093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:55] local.INFO: Extracted packet for processing {"connection_id":160093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282381000,"timestamp_ms":1787282381000,"timestamp_seconds":1787282381,"priority":1,"record_length":96,"hex_timestamp":"000001a02254d8c8"} 
[2026-08-21 08:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-21 08:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":12232,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:53:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":160093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:53:55] local.INFO: GPS data processed {"connection_id":160093,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:53:55] local.INFO: Acknowledgment sent {"connection_id":160093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:04] local.INFO: TCP Data received {"connection_id":161437,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:04] local.INFO: Processing buffer {"connection_id":161437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:04] local.INFO: Packet analysis {"connection_id":161437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:54:04] local.INFO: Extracted packet for processing {"connection_id":161437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:54:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:54: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-08-21 08: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:54: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-08-21 08: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-08-21 08:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":161437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:04] local.INFO: GPS data processed {"connection_id":161437,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:04] local.INFO: Acknowledgment sent {"connection_id":161437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:12] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:54:12] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:54:12] local.INFO: IMEI packet received {"connection_id":161438,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":161438,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:54:13] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02257a788012d7be2c005ec3418000b016723..."} 
[2026-08-21 08:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02257a788012d7be2c005ec3418000b016723..."} 
[2026-08-21 08:54:13] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02257a788012d7be2c005ec3418000b016723..."} 
[2026-08-21 08:54:13] local.INFO: Packet analysis {"connection_id":161438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02257"} 
[2026-08-21 08:54:13] local.INFO: Extracted packet for processing {"connection_id":161438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02257"} 
[2026-08-21 08:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":99365912,"longitude_deg":76.3093696,"latitude_deg":9.9365912,"altitude":11,"angle":359,"satellites":35,"speed":11,"hex_longitude":"2d7be2c0","hex_latitude":"05ec3418","is_valid_coordinates":true} 
[2026-08-21 08:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544336128001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121631768720703488,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927119649304332288,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282565000,"timestamp_ms":1787282565000,"timestamp_seconds":1787282565,"priority":1,"record_length":96,"hex_timestamp":"000001a02257a788"} 
[2026-08-21 08:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 08:54: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-08-21 08:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544336128001,"66":11776,"198":206,"87":13824,"24":11,"16":121631768720703488,"45":8927119649304332288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 08:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544336128001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 08:54:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121631768720703488,"km_value":121631768720703.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927119649304332288,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544336128001,"power":11776,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927119649304332288}} 
[2026-08-21 08:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":161438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:13] local.INFO: GPS data processed {"connection_id":161438,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:13] local.INFO: Acknowledgment sent {"connection_id":161438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:16] local.INFO: TCP Data received {"connection_id":158908,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:54:16] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:54:16] local.INFO: IMEI packet received {"connection_id":158908,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":158908,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:54:18] local.INFO: TCP Data received {"connection_id":158907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:54:18] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:54:18] local.INFO: IMEI packet received {"connection_id":158907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":158907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:54:22] local.INFO: TCP Data received {"connection_id":158908,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:54:22] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:54:22] local.INFO: IMEI packet received {"connection_id":158908,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":158908,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:54:22] local.INFO: TCP Data received {"connection_id":158908,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02258fb60012d0cad4007075f280020012226..."} 
[2026-08-21 08:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02258fb60012d0cad4007075f280020012226..."} 
[2026-08-21 08:54:22] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02258fb60012d0cad4007075f280020012226..."} 
[2026-08-21 08:54:22] local.INFO: Packet analysis {"connection_id":158908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:22] local.INFO: Extracted packet for processing {"connection_id":158908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:22] local.INFO: GPS Element Parsed {"raw_longitude":755805504,"raw_latitude":117923624,"longitude_deg":75.5805504,"latitude_deg":11.7923624,"altitude":32,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d0cad40","hex_latitude":"07075f28","is_valid_coordinates":true} 
[2026-08-21 08:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544296704001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182077983260672,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913034485893648384,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787282652000,"timestamp_ms":1787282652000,"timestamp_seconds":1787282652,"priority":1,"record_length":96,"hex_timestamp":"000001a02258fb60"} 
[2026-08-21 08:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:54:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 08:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544296704001,"66":12841,"221":206,"94":10240,"24":0,"16":29182077983260672,"45":913034485893648384},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544296704001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:54:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182077983260672,"km_value":29182077983260.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":913034485893648384,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544296704001,"power":12841,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913034485893648384}} 
[2026-08-21 08:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":158908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:22] local.INFO: GPS data processed {"connection_id":158908,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:22] local.INFO: Acknowledgment sent {"connection_id":158908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:23] local.INFO: TCP Data received {"connection_id":158907,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:54:23] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:54:23] local.INFO: IMEI packet received {"connection_id":158907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":158907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:54:23] local.INFO: TCP Data received {"connection_id":158907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:54:23] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:54:23] local.INFO: Packet analysis {"connection_id":158907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:23] local.INFO: Extracted packet for processing {"connection_id":158907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 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-08-21 08:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":158907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:23] local.INFO: GPS data processed {"connection_id":158907,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:23] local.INFO: Acknowledgment sent {"connection_id":158907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:31] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:54:31] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:54:31] local.INFO: IMEI packet received {"connection_id":161439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":161439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:54:36] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:54:36] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:54:36] local.INFO: IMEI packet received {"connection_id":161439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":161439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:54:37] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:37] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:37] local.INFO: Packet analysis {"connection_id":161439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:54:37] local.INFO: Extracted packet for processing {"connection_id":161439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:54:37] 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-08-21 08:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":161439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:37] local.INFO: GPS data processed {"connection_id":161439,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:37] local.INFO: Acknowledgment sent {"connection_id":161439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:42] local.INFO: TCP Data received {"connection_id":161439,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:42] local.INFO: Processing buffer {"connection_id":161439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225486c0012da67580054b39d8001101292a..."} 
[2026-08-21 08:54:42] local.INFO: Packet analysis {"connection_id":161439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:54:42] local.INFO: Extracted packet for processing {"connection_id":161439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02254"} 
[2026-08-21 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":42,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544207104001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787282360000,"timestamp_ms":1787282360000,"timestamp_seconds":1787282360,"priority":1,"record_length":96,"hex_timestamp":"000001a0225486c0"} 
[2026-08-21 08:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 08:54:42] 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-08-21 08:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544207104001,"66":25995,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544207104001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544207104001,"power":25995,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":161439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:42] local.INFO: GPS data processed {"connection_id":161439,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:42] local.INFO: Acknowledgment sent {"connection_id":161439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:44] local.INFO: TCP Data received {"connection_id":161438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02257ab70012d7be34005ec3540000b001923..."} 
[2026-08-21 08:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02257ab70012d7be34005ec3540000b001923..."} 
[2026-08-21 08:54:44] local.INFO: Processing buffer {"connection_id":161438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02257ab70012d7be34005ec3540000b001923..."} 
[2026-08-21 08:54:44] local.INFO: Packet analysis {"connection_id":161438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02257"} 
[2026-08-21 08:54:44] local.INFO: Extracted packet for processing {"connection_id":161438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02257"} 
[2026-08-21 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763093824,"raw_latitude":99366208,"longitude_deg":76.3093824,"latitude_deg":9.9366208,"altitude":11,"angle":25,"satellites":35,"speed":11,"hex_longitude":"2d7be340","hex_latitude":"05ec3540","is_valid_coordinates":true} 
[2026-08-21 08:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544336640001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121631781605605376,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908543071950848,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787282566000,"timestamp_ms":1787282566000,"timestamp_seconds":1787282566,"priority":1,"record_length":96,"hex_timestamp":"000001a02257ab70"} 
[2026-08-21 08:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 08:54:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:44] local.WARNING: Large IO value detected {"io_id":236,"raw_value":3221613603,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-21 08:54:44] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,198,87,24,241,157,16,31,160,159,45,128,49,10,35,66,151,64,47,9,36,140,192,1,240,44,227,34,236,4,113,205,101,248,33,239,48,2,176],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-21 08:54:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":793028409416155136,"timestamp_seconds":793028409416155.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161438,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544336640001,"66":12765,"198":206,"87":13824,"24":11,"16":121631781605605376,"45":8926908543071950848},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 08:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544336640001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 08:54:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121631781605605376,"km_value":121631781605605.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908543071950848,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544336640001,"power":12765,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8926908543071950848}} 
[2026-08-21 08:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":161438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674671,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:44] local.INFO: GPS data processed {"connection_id":161438,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:44] local.INFO: Acknowledgment sent {"connection_id":161438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:53] local.INFO: TCP Data received {"connection_id":158908,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02258fb60012d0cad4007075f280020012226..."} 
[2026-08-21 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02258fb60012d0cad4007075f280020012226..."} 
[2026-08-21 08:54:53] local.INFO: Processing buffer {"connection_id":158908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02258fb60012d0cad4007075f280020012226..."} 
[2026-08-21 08:54:53] local.INFO: Packet analysis {"connection_id":158908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:53] local.INFO: Extracted packet for processing {"connection_id":158908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:53] local.INFO: GPS Element Parsed {"raw_longitude":755805504,"raw_latitude":117923624,"longitude_deg":75.5805504,"latitude_deg":11.7923624,"altitude":32,"angle":290,"satellites":38,"speed":0,"hex_longitude":"2d0cad40","hex_latitude":"07075f28","is_valid_coordinates":true} 
[2026-08-21 08:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544358912001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182077983260672,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913456698358704128,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787282652000,"timestamp_ms":1787282652000,"timestamp_seconds":1787282652,"priority":1,"record_length":96,"hex_timestamp":"000001a02258fb60"} 
[2026-08-21 08:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:54:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 08:54:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158908,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544358912001,"66":12841,"221":206,"94":10240,"24":0,"16":29182077983260672,"45":913456698358704128},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544358912001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:53] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:54:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182077983260672,"km_value":29182077983260.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":913456698358704128,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544358912001,"power":12841,"unknown_221":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":913456698358704128}} 
[2026-08-21 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":158908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674672,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:54] local.INFO: GPS data processed {"connection_id":158908,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:54] local.INFO: Acknowledgment sent {"connection_id":158908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:54:54] local.INFO: TCP Data received {"connection_id":158907,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:54:54] local.INFO: Processing buffer {"connection_id":158907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:54:54] local.INFO: Packet analysis {"connection_id":158907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:54] local.INFO: Extracted packet for processing {"connection_id":158907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:54: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-08-21 08:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:54: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-08-21 08:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 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-08-21 08:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:54:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:54:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":158907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:54:54] local.INFO: GPS data processed {"connection_id":158907,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:54:54] local.INFO: Acknowledgment sent {"connection_id":158907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:07] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:55:07] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:55:07] local.INFO: IMEI packet received {"connection_id":159198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":159198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:55:11] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:55:11] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:55:11] local.INFO: IMEI packet received {"connection_id":159198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":159198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:55:12] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022598800012d7d1c4005ec42d80008006720..."} 
[2026-08-21 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022598800012d7d1c4005ec42d80008006720..."} 
[2026-08-21 08:55:12] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022598800012d7d1c4005ec42d80008006720..."} 
[2026-08-21 08:55:12] local.INFO: Packet analysis {"connection_id":159198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:55:12] local.INFO: Extracted packet for processing {"connection_id":159198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99369688,"longitude_deg":76.3173952,"latitude_deg":9.9369688,"altitude":8,"angle":103,"satellites":32,"speed":15,"hex_longitude":"2d7d1c40","hex_latitude":"05ec42d8","is_valid_coordinates":true} 
[2026-08-21 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544366336001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121635621306368000,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011069561109428224,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787282688000,"timestamp_ms":1787282688000,"timestamp_seconds":1787282688,"priority":1,"record_length":96,"hex_timestamp":"000001a022598800"} 
[2026-08-21 08:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544366336001,"66":11711,"197":206,"87":13824,"24":15,"16":121635621306368000,"45":9011069561109428224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-21 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544366336001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 08:55:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121635621306368000,"km_value":121635621306368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011069561109428224,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544366336001,"power":11711,"unknown_197":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9011069561109428224}} 
[2026-08-21 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":159198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:12] local.INFO: GPS data processed {"connection_id":159198,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:12] local.INFO: Acknowledgment sent {"connection_id":159198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:18] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:55:18] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:55:18] local.INFO: IMEI packet received {"connection_id":161440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":161440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:55:21] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:21] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:21] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:55:21] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:21] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:21] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:55:22] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:22] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:22] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:55:23] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:55:23] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:55:23] local.INFO: IMEI packet received {"connection_id":161440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":161440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:55:23] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:23] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:55:23] local.INFO: IMEI packet received {"connection_id":161441,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":161441,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:55:24] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:55:24] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:55:24] local.INFO: Packet analysis {"connection_id":161440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:55:24] local.INFO: Extracted packet for processing {"connection_id":161440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:55:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:55: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-08-21 08:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55: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-08-21 08:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":161440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:24] local.INFO: GPS data processed {"connection_id":161440,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:24] local.INFO: Acknowledgment sent {"connection_id":161440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:24] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225a0118012d0c8340070773500019011526..."} 
[2026-08-21 08:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225a0118012d0c8340070773500019011526..."} 
[2026-08-21 08:55:24] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225a0118012d0c8340070773500019011526..."} 
[2026-08-21 08:55:24] local.INFO: Packet analysis {"connection_id":161441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:55:24] local.INFO: Extracted packet for processing {"connection_id":161441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:55:24] local.INFO: GPS Element Parsed {"raw_longitude":755794752,"raw_latitude":117928784,"longitude_deg":75.5794752,"latitude_deg":11.7928784,"altitude":25,"angle":277,"satellites":38,"speed":10,"hex_longitude":"2d0c8340","hex_latitude":"07077350","is_valid_coordinates":true} 
[2026-08-21 08:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544374016001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182876847177728,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906771667663413248,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282719000,"timestamp_ms":1787282719000,"timestamp_seconds":1787282719,"priority":1,"record_length":96,"hex_timestamp":"000001a0225a0118"} 
[2026-08-21 08:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544374016001,"66":14396,"221":206,"94":10240,"24":10,"16":29182876847177728,"45":906771667663413248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544374016001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182876847177728,"km_value":29182876847177.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":906771667663413248,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544374016001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":906771667663413248}} 
[2026-08-21 08:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":161441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674676,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:24] local.INFO: GPS data processed {"connection_id":161441,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:24] local.INFO: Acknowledgment sent {"connection_id":161441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:25] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225a0500012d0c8240070773800019012526..."} 
[2026-08-21 08:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225a0500012d0c8240070773800019012526..."} 
[2026-08-21 08:55:25] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225a0500012d0c8240070773800019012526..."} 
[2026-08-21 08:55:25] local.INFO: Packet analysis {"connection_id":161441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:55:25] local.INFO: Extracted packet for processing {"connection_id":161441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":755794496,"raw_latitude":117928832,"longitude_deg":75.5794496,"latitude_deg":11.7928832,"altitude":25,"angle":293,"satellites":38,"speed":9,"hex_longitude":"2d0c8240","hex_latitude":"07077380","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544376064001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182889732079616,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901634749338177536,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787282720000,"timestamp_ms":1787282720000,"timestamp_seconds":1787282720,"priority":1,"record_length":96,"hex_timestamp":"000001a0225a0500"} 
[2026-08-21 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-08-21 08:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":161441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":161441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":161441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544376064001,"66":14396,"221":206,"94":10240,"24":9,"16":29182889732079616,"45":901634749338177536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544376064001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:25] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:55:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182889732079616,"km_value":29182889732079.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":901634749338177536,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544376064001,"power":14396,"unknown_221":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":901634749338177536}} 
[2026-08-21 08:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":161441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:25] local.INFO: GPS data processed {"connection_id":161441,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:25] local.INFO: Acknowledgment sent {"connection_id":161441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:26] local.INFO: TCP Data received {"connection_id":158909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:55:26] local.INFO: Processing buffer {"connection_id":158909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:55:26] local.INFO: IMEI packet received {"connection_id":158909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":158909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:55:31] local.INFO: TCP Data received {"connection_id":158909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:55:31] local.INFO: Processing buffer {"connection_id":158909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:55:31] local.INFO: IMEI packet received {"connection_id":158909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":158909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:55:32] local.INFO: TCP Data received {"connection_id":158909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:55:32] local.INFO: Processing buffer {"connection_id":158909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:55:32] local.INFO: Packet analysis {"connection_id":158909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:55:32] local.INFO: Extracted packet for processing {"connection_id":158909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:55:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:55: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-08-21 08: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:32] 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-08-21 08: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-08-21 08:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":158909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:32] local.INFO: GPS data processed {"connection_id":158909,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:32] local.INFO: Acknowledgment sent {"connection_id":158909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:43] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022598be8012d7d1d4005ec42300008007a21..."} 
[2026-08-21 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022598be8012d7d1d4005ec42300008007a21..."} 
[2026-08-21 08:55:43] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022598be8012d7d1d4005ec42300008007a21..."} 
[2026-08-21 08:55:43] local.INFO: Packet analysis {"connection_id":159198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:55:43] local.INFO: Extracted packet for processing {"connection_id":159198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99369520,"longitude_deg":76.3174208,"latitude_deg":9.936952,"altitude":8,"angle":122,"satellites":33,"speed":13,"hex_longitude":"2d7d1d40","hex_latitude":"05ec4230","is_valid_coordinates":true} 
[2026-08-21 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544368128001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121635634191269888,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948271708160,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787282689000,"timestamp_ms":1787282689000,"timestamp_seconds":1787282689,"priority":1,"record_length":96,"hex_timestamp":"000001a022598be8"} 
[2026-08-21 08:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:55:43] 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-08-21 08:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544368128001,"66":11711,"197":206,"87":13824,"24":13,"16":121635634191269888,"45":9015150948271708160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-21 08:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544368128001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121635634191269888,"km_value":121635634191269.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948271708160,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544368128001,"power":11711,"unknown_197":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9015150948271708160}} 
[2026-08-21 08:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":159198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674679,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:43] local.INFO: GPS data processed {"connection_id":159198,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:43] local.INFO: Acknowledgment sent {"connection_id":159198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:55] local.INFO: TCP Data received {"connection_id":161440,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:55:55] local.INFO: Processing buffer {"connection_id":161440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:55:55] local.INFO: Packet analysis {"connection_id":161440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:55:55] local.INFO: Extracted packet for processing {"connection_id":161440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":161440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:55] local.INFO: GPS data processed {"connection_id":161440,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:55] local.INFO: Acknowledgment sent {"connection_id":161440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:55:56] local.INFO: TCP Data received {"connection_id":161441,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225a0cd0012d0c8140070774280018013226..."} 
[2026-08-21 08:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225a0cd0012d0c8140070774280018013226..."} 
[2026-08-21 08:55:56] local.INFO: Processing buffer {"connection_id":161441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225a0cd0012d0c8140070774280018013226..."} 
[2026-08-21 08:55:56] local.INFO: Packet analysis {"connection_id":161441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:55:56] local.INFO: Extracted packet for processing {"connection_id":161441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:55:56] local.INFO: GPS Element Parsed {"raw_longitude":755794240,"raw_latitude":117929000,"longitude_deg":75.579424,"latitude_deg":11.7929,"altitude":24,"angle":306,"satellites":38,"speed":7,"hex_longitude":"2d0c8140","hex_latitude":"07077428","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544376320001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29182902616981504,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901353274361479168,"note":"Value kept but may cause issues"} 
[2026-08-21 08:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787282722000,"timestamp_ms":1787282722000,"timestamp_seconds":1787282722,"priority":1,"record_length":96,"hex_timestamp":"000001a0225a0cd0"} 
[2026-08-21 08:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 08:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161441,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544376320001,"66":14363,"221":206,"94":10240,"24":7,"16":29182902616981504,"45":901353274361479168},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544376320001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:55:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:55:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29182902616981504,"km_value":29182902616981.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":901353274361479168,"description":"Unknown IO ID 45"} 
[2026-08-21 08:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544376320001,"power":14363,"unknown_221":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":901353274361479168}} 
[2026-08-21 08:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":161441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:55:56] local.INFO: GPS data processed {"connection_id":161441,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:55:56] local.INFO: Acknowledgment sent {"connection_id":161441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:04] local.INFO: TCP Data received {"connection_id":158909,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:56:04] local.INFO: Processing buffer {"connection_id":158909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:56:04] local.INFO: Packet analysis {"connection_id":158909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:04] local.INFO: Extracted packet for processing {"connection_id":158909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:56: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-08-21 08:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:04] 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-08-21 08:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":158909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:04] local.INFO: GPS data processed {"connection_id":158909,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:04] local.INFO: Acknowledgment sent {"connection_id":158909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:10] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:56:10] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:56:10] local.INFO: IMEI packet received {"connection_id":161442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":161442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:56:12] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:56:12] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:56:12] local.INFO: IMEI packet received {"connection_id":161442,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":161442,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:56:17] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:56:17] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:56:17] local.INFO: IMEI packet received {"connection_id":159199,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":159199,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:56:18] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:56:18] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:56:18] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:56:19] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022598fd0012d7d1e4005ec41500008008c21..."} 
[2026-08-21 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022598fd0012d7d1e4005ec41500008008c21..."} 
[2026-08-21 08:56:19] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022598fd0012d7d1e4005ec41500008008c21..."} 
[2026-08-21 08:56:19] local.INFO: Packet analysis {"connection_id":161442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:19] local.INFO: Extracted packet for processing {"connection_id":161442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99369296,"longitude_deg":76.3174464,"latitude_deg":9.9369296,"altitude":8,"angle":140,"satellites":33,"speed":12,"hex_longitude":"2d7d1e40","hex_latitude":"05ec4150","is_valid_coordinates":true} 
[2026-08-21 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544368384001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121635651371139072,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248375808,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787282690000,"timestamp_ms":1787282690000,"timestamp_seconds":1787282690,"priority":1,"record_length":96,"hex_timestamp":"000001a022598fd0"} 
[2026-08-21 08:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:56:19] 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-08-21 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544368384001,"66":11711,"197":206,"87":13824,"24":12,"16":121635651371139072,"45":9015432423248375808},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-21 08:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544368384001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:19] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 08:56:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121635651371139072,"km_value":121635651371139.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248375808,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544368384001,"power":11711,"unknown_197":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9015432423248375808}} 
[2026-08-21 08:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":161442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674683,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:19] local.INFO: GPS data processed {"connection_id":161442,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:19] local.INFO: Acknowledgment sent {"connection_id":161442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:22] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:56:22] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:56:22] local.INFO: IMEI packet received {"connection_id":159199,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":159199,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:56:22] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225a9970012d0c364007076f58000e00be25..."} 
[2026-08-21 08:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225a9970012d0c364007076f58000e00be25..."} 
[2026-08-21 08:56:22] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225a9970012d0c364007076f58000e00be25..."} 
[2026-08-21 08:56:22] local.INFO: Packet analysis {"connection_id":159199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:56:22] local.INFO: Extracted packet for processing {"connection_id":159199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225a"} 
[2026-08-21 08:56:22] local.INFO: GPS Element Parsed {"raw_longitude":755775040,"raw_latitude":117927768,"longitude_deg":75.577504,"latitude_deg":11.7927768,"altitude":14,"angle":190,"satellites":37,"speed":18,"hex_longitude":"2d0c3640","hex_latitude":"07076f58","is_valid_coordinates":true} 
[2026-08-21 08:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544385792001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29183860394688512,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880101913619671040,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787282758000,"timestamp_ms":1787282758000,"timestamp_seconds":1787282758,"priority":1,"record_length":96,"hex_timestamp":"000001a0225a9970"} 
[2026-08-21 08:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:56: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-08-21 08:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544385792001,"66":14265,"221":206,"94":10240,"24":18,"16":29183860394688512,"45":880101913619671040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544385792001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:56:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29183860394688512,"km_value":29183860394688.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":880101913619671040,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544385792001,"power":14265,"unknown_221":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":880101913619671040}} 
[2026-08-21 08:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":159199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:22] local.INFO: GPS data processed {"connection_id":159199,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:22] local.INFO: Acknowledgment sent {"connection_id":159199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:23] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:56:23] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:56:23] local.INFO: IMEI packet received {"connection_id":160094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":160094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:56:24] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:56:24] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:56:24] local.INFO: Packet analysis {"connection_id":160094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:56:24] local.INFO: Extracted packet for processing {"connection_id":160094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:56:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:56: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-08-21 08:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56: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-08-21 08:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:56:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:56:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":160094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:24] local.INFO: GPS data processed {"connection_id":160094,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:24] local.INFO: Acknowledgment sent {"connection_id":160094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:26] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:56:26] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:56:26] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:56:29] local.INFO: TCP Data received {"connection_id":161442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225993b8012d7d1e8005ec4060000800aa21..."} 
[2026-08-21 08:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225993b8012d7d1e8005ec4060000800aa21..."} 
[2026-08-21 08:56:29] local.INFO: Processing buffer {"connection_id":161442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225993b8012d7d1e8005ec4060000800aa21..."} 
[2026-08-21 08:56:29] local.INFO: Packet analysis {"connection_id":161442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:29] local.INFO: Extracted packet for processing {"connection_id":161442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":99369056,"longitude_deg":76.3174528,"latitude_deg":9.9369056,"altitude":8,"angle":170,"satellites":33,"speed":8,"hex_longitude":"2d7d1e80","hex_latitude":"05ec4060","is_valid_coordinates":true} 
[2026-08-21 08:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544368640001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121635664256040960,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898225029120,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787282691000,"timestamp_ms":1787282691000,"timestamp_seconds":1787282691,"priority":1,"record_length":96,"hex_timestamp":"000001a0225993b8"} 
[2026-08-21 08:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:56: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-08-21 08:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161442,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544368640001,"66":12069,"197":206,"87":13824,"24":8,"16":121635664256040960,"45":9015713898225029120},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-21 08:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544368640001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:29] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 08:56:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121635664256040960,"km_value":121635664256040.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898225029120,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544368640001,"power":12069,"unknown_197":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015713898225029120}} 
[2026-08-21 08:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":161442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:29] local.INFO: GPS data processed {"connection_id":161442,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:29] local.INFO: Acknowledgment sent {"connection_id":161442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:31] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:56:31] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:56:31] local.INFO: IMEI packet received {"connection_id":160095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":160095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:56:32] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:56:32] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:56:32] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:32] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:56:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:56: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-08-21 08: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:32] 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-08-21 08: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-08-21 08:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:32] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:32] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:54] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225b58d8012d0bb3c007074198001300e923..."} 
[2026-08-21 08:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225b58d8012d0bb3c007074198001300e923..."} 
[2026-08-21 08:56:54] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225b58d8012d0bb3c007074198001300e923..."} 
[2026-08-21 08:56:54] local.INFO: Packet analysis {"connection_id":159199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225b"} 
[2026-08-21 08:56:54] local.INFO: Extracted packet for processing {"connection_id":159199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225b"} 
[2026-08-21 08:56:54] local.INFO: GPS Element Parsed {"raw_longitude":755741632,"raw_latitude":117916056,"longitude_deg":75.5741632,"latitude_deg":11.7916056,"altitude":19,"angle":233,"satellites":35,"speed":23,"hex_longitude":"2d0bb3c0","hex_latitude":"07074198","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544398336001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29185771655135232,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843721272876793856,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282807000,"timestamp_ms":1787282807000,"timestamp_seconds":1787282807,"priority":1,"record_length":96,"hex_timestamp":"000001a0225b58d8"} 
[2026-08-21 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-08-21 08:56: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-08-21 08:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159199,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544398336001,"66":14515,"221":206,"94":10240,"24":23,"16":29185771655135232,"45":843721272876793856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544398336001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:54] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:56:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29185771655135232,"km_value":29185771655135.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":843721272876793856,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544398336001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":843721272876793856}} 
[2026-08-21 08:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":159199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674688,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:55] local.INFO: GPS data processed {"connection_id":159199,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:55] local.INFO: Acknowledgment sent {"connection_id":159199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:56:55] local.INFO: TCP Data received {"connection_id":160094,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:56:55] local.INFO: Processing buffer {"connection_id":160094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:56:55] local.INFO: Packet analysis {"connection_id":160094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:56:55] local.INFO: Extracted packet for processing {"connection_id":160094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:56:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":160094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:56:55] local.INFO: GPS data processed {"connection_id":160094,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:56:55] local.INFO: Acknowledgment sent {"connection_id":160094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:03] local.INFO: TCP Data received {"connection_id":160095,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:57:03] local.INFO: Processing buffer {"connection_id":160095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:57:03] local.INFO: Packet analysis {"connection_id":160095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:03] local.INFO: Extracted packet for processing {"connection_id":160095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08: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":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:57: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-08-21 08:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:57: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-08-21 08:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":160095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:03] local.INFO: GPS data processed {"connection_id":160095,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:03] local.INFO: Acknowledgment sent {"connection_id":160095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:07] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:07] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:07] local.INFO: IMEI packet received {"connection_id":161443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":161443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:57:08] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:08] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:08] local.INFO: IMEI packet received {"connection_id":161443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":161443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:57:12] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:12] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:57:12] local.INFO: IMEI packet received {"connection_id":161443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":161443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:57:13] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225997a0012d7d1e4005ec3fb0000800b921..."} 
[2026-08-21 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225997a0012d7d1e4005ec3fb0000800b921..."} 
[2026-08-21 08:57:13] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225997a0012d7d1e4005ec3fb0000800b921..."} 
[2026-08-21 08:57:13] local.INFO: Packet analysis {"connection_id":161443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:13] local.INFO: Extracted packet for processing {"connection_id":161443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99368880,"longitude_deg":76.3174464,"latitude_deg":9.936888,"altitude":8,"angle":185,"satellites":33,"speed":5,"hex_longitude":"2d7d1e40","hex_latitude":"05ec3fb0","is_valid_coordinates":true} 
[2026-08-21 08:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544368896001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121635672845975552,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015784266969145344,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282692000,"timestamp_ms":1787282692000,"timestamp_seconds":1787282692,"priority":1,"record_length":96,"hex_timestamp":"000001a0225997a0"} 
[2026-08-21 08:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-21 08:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544368896001,"66":12069,"197":206,"87":13824,"24":5,"16":121635672845975552,"45":9015784266969145344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-08-21 08:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544368896001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-08-21 08:57:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121635672845975552,"km_value":121635672845975.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015784266969145344,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544368896001,"power":12069,"unknown_197":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015784266969145344}} 
[2026-08-21 08:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":161443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674691,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:13] local.INFO: GPS data processed {"connection_id":161443,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:13] local.INFO: Acknowledgment sent {"connection_id":161443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:17] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:17] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:17] local.INFO: IMEI packet received {"connection_id":159200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":159200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:57:17] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:17] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:17] local.INFO: IMEI packet received {"connection_id":159200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":159200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:57:22] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:22] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:57:22] local.INFO: IMEI packet received {"connection_id":159200,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":159200,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:57:22] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225b5cc0012d0bb30007074030001300db23..."} 
[2026-08-21 08:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225b5cc0012d0bb30007074030001300db23..."} 
[2026-08-21 08:57:22] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225b5cc0012d0bb30007074030001300db23..."} 
[2026-08-21 08:57:22] local.INFO: Packet analysis {"connection_id":159200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225b"} 
[2026-08-21 08:57:22] local.INFO: Extracted packet for processing {"connection_id":159200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225b"} 
[2026-08-21 08:57:22] local.INFO: GPS Element Parsed {"raw_longitude":755741440,"raw_latitude":117915696,"longitude_deg":75.574144,"latitude_deg":11.7915696,"altitude":19,"angle":219,"satellites":35,"speed":19,"hex_longitude":"2d0bb300","hex_latitude":"07074030","is_valid_coordinates":true} 
[2026-08-21 08:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544398592001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29185793129971712,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843228691667458048,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787282808000,"timestamp_ms":1787282808000,"timestamp_seconds":1787282808,"priority":1,"record_length":96,"hex_timestamp":"000001a0225b5cc0"} 
[2026-08-21 08:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:57: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-08-21 08:57:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 08:57:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:57:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544398592001,"66":14515,"221":206,"94":10240,"24":19,"16":29185793129971712,"45":843228691667458048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-08-21 08:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544398592001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:22] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 08:57:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29185793129971712,"km_value":29185793129971.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":843228691667458048,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544398592001,"power":14515,"unknown_221":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":843228691667458048}} 
[2026-08-21 08:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":159200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674692,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:23] local.INFO: GPS data processed {"connection_id":159200,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:23] local.INFO: Acknowledgment sent {"connection_id":159200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:23] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:57:23] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:57:23] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:57:26] local.INFO: TCP Data received {"connection_id":158910,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:57:26] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:57:26] local.INFO: IMEI packet received {"connection_id":158910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":158910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:57:28] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:57:28] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:57:28] local.INFO: IMEI packet received {"connection_id":160096,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":160096,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:57:31] local.INFO: TCP Data received {"connection_id":158910,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:57:31] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:57:31] local.INFO: IMEI packet received {"connection_id":158910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":158910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:57:32] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:57:32] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:57:32] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:57:32] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:57:33] local.INFO: TCP Data received {"connection_id":158910,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:57:33] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:57:33] local.INFO: Packet analysis {"connection_id":158910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:33] local.INFO: Extracted packet for processing {"connection_id":158910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:57:33] 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-08-21 08:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:33] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:33] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":158910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:33] local.INFO: GPS data processed {"connection_id":158910,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:33] local.INFO: Acknowledgment sent {"connection_id":158910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:33] local.INFO: TCP Data received {"connection_id":160096,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:57:33] local.INFO: Processing buffer {"connection_id":160096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:57:33] local.INFO: Packet analysis {"connection_id":160096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:57:33] local.INFO: Extracted packet for processing {"connection_id":160096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160096,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":160096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:33] local.INFO: GPS data processed {"connection_id":160096,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:33] local.INFO: Acknowledgment sent {"connection_id":160096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:45] local.INFO: TCP Data received {"connection_id":161443,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02259da08012d7d1d8005ec3e30000600df26..."} 
[2026-08-21 08:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02259da08012d7d1d8005ec3e30000600df26..."} 
[2026-08-21 08:57:45] local.INFO: Processing buffer {"connection_id":161443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02259da08012d7d1d8005ec3e30000600df26..."} 
[2026-08-21 08:57:45] local.INFO: Packet analysis {"connection_id":161443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:45] local.INFO: Extracted packet for processing {"connection_id":161443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:57:45] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99368496,"longitude_deg":76.3174272,"latitude_deg":9.9368496,"altitude":6,"angle":223,"satellites":38,"speed":1,"hex_longitude":"2d7d1d80","hex_latitude":"05ec3e30","is_valid_coordinates":true} 
[2026-08-21 08:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544369152001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121635694320812032,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898224922624,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787282709000,"timestamp_ms":1787282709000,"timestamp_seconds":1787282709,"priority":1,"record_length":96,"hex_timestamp":"000001a02259da08"} 
[2026-08-21 08:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-21 08:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544369152001,"66":13135,"110":206,"87":13824,"24":1,"16":121635694320812032,"45":9015713898224922624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 08:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544369152001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 08:57:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121635694320812032,"km_value":121635694320812.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898224922624,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544369152001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9015713898224922624}} 
[2026-08-21 08:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":161443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674696,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:45] local.INFO: GPS data processed {"connection_id":161443,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:45] local.INFO: Acknowledgment sent {"connection_id":161443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:57:54] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225c1c28012d0b47c00706faf8001000e626..."} 
[2026-08-21 08:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225c1c28012d0b47c00706faf8001000e626..."} 
[2026-08-21 08:57:54] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225c1c28012d0b47c00706faf8001000e626..."} 
[2026-08-21 08:57:54] local.INFO: Packet analysis {"connection_id":159200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:57:54] local.INFO: Extracted packet for processing {"connection_id":159200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:57:54] local.INFO: GPS Element Parsed {"raw_longitude":755713984,"raw_latitude":117897976,"longitude_deg":75.5713984,"latitude_deg":11.7897976,"altitude":16,"angle":230,"satellites":38,"speed":34,"hex_longitude":"2d0b47c0","hex_latitude":"0706faf8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 08:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544409600001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29187657145778176,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819444056131663872,"note":"Value kept but may cause issues"} 
[2026-08-21 08:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787282857000,"timestamp_ms":1787282857000,"timestamp_seconds":1787282857,"priority":1,"record_length":96,"hex_timestamp":"000001a0225c1c28"} 
[2026-08-21 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-08-21 08:57: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-08-21 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 08:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 08:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159200,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544409600001,"66":14439,"163":206,"94":10240,"24":34,"16":29187657145778176,"45":819444056131663872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 08:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544409600001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:57:54] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 08:57:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29187657145778176,"km_value":29187657145778.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":819444056131663872,"description":"Unknown IO ID 45"} 
[2026-08-21 08:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544409600001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":819444056131663872}} 
[2026-08-21 08:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":159200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674697,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:57:54] local.INFO: GPS data processed {"connection_id":159200,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:57:54] local.INFO: Acknowledgment sent {"connection_id":159200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:04] local.INFO: TCP Data received {"connection_id":158910,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:58:04] local.INFO: Processing buffer {"connection_id":158910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:58:04] local.INFO: Packet analysis {"connection_id":158910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:58:04] local.INFO: Extracted packet for processing {"connection_id":158910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:58:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08: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-08-21 08: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:58:04] 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-08-21 08:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":158910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:04] local.INFO: GPS data processed {"connection_id":158910,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:04] local.INFO: Acknowledgment sent {"connection_id":158910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:07] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:58:07] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:58:07] local.INFO: IMEI packet received {"connection_id":161444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":161444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:58:12] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:58:12] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:58:12] local.INFO: IMEI packet received {"connection_id":161444,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":161444,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:58:13] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225bf518012d7c188005ec3380000e010c27..."} 
[2026-08-21 08:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225bf518012d7c188005ec3380000e010c27..."} 
[2026-08-21 08:58:13] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225bf518012d7c188005ec3380000e010c27..."} 
[2026-08-21 08:58:13] local.INFO: Packet analysis {"connection_id":161444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225b"} 
[2026-08-21 08:58:13] local.INFO: Extracted packet for processing {"connection_id":161444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225b"} 
[2026-08-21 08:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763107456,"raw_latitude":99365760,"longitude_deg":76.3107456,"latitude_deg":9.936576,"altitude":14,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d7c1880","hex_latitude":"05ec3380","is_valid_coordinates":true} 
[2026-08-21 08:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544403456001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121638894071447552,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945204416558135296,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282847000,"timestamp_ms":1787282847000,"timestamp_seconds":1787282847,"priority":1,"record_length":96,"hex_timestamp":"000001a0225bf518"} 
[2026-08-21 08:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 08:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544403456001,"66":12504,"198":206,"87":13824,"24":0,"16":121638894071447552,"45":8945204416558135296},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 08:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544403456001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 08:58:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121638894071447552,"km_value":121638894071447.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945204416558135296,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544403456001,"power":12504,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8945204416558135296}} 
[2026-08-21 08:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":161444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:13] local.INFO: GPS data processed {"connection_id":161444,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:13] local.INFO: Acknowledgment sent {"connection_id":161444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:17] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:58:17] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:58:17] local.INFO: IMEI packet received {"connection_id":161446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":161446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:58:18] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:58:18] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:58:18] local.INFO: IMEI packet received {"connection_id":161445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":161445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:58:20] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:58:20] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:58:20] local.INFO: IMEI packet received {"connection_id":161446,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":161446,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:58:21] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225c23f8012d0b42800706f560001000d724..."} 
[2026-08-21 08:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225c23f8012d0b42800706f560001000d724..."} 
[2026-08-21 08:58:21] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225c23f8012d0b42800706f560001000d724..."} 
[2026-08-21 08:58:21] local.INFO: Packet analysis {"connection_id":161446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:58:21] local.INFO: Extracted packet for processing {"connection_id":161446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:58:21] local.INFO: GPS Element Parsed {"raw_longitude":755712640,"raw_latitude":117896544,"longitude_deg":75.571264,"latitude_deg":11.7896544,"altitude":16,"angle":215,"satellites":36,"speed":39,"hex_longitude":"2d0b4280","hex_latitude":"0706f560","is_valid_coordinates":true} 
[2026-08-21 08:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544411392001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29187747340091392,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812829394178078720,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787282859000,"timestamp_ms":1787282859000,"timestamp_seconds":1787282859,"priority":1,"record_length":96,"hex_timestamp":"000001a0225c23f8"} 
[2026-08-21 08:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 08:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544411392001,"66":13580,"163":206,"94":10240,"24":39,"16":29187747340091392,"45":812829394178078720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 08:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544411392001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:21] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 08:58:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29187747340091392,"km_value":29187747340091.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":812829394178078720,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544411392001,"power":13580,"unknown_163":206,"unknown_94":10240,"ignition":39,"odometer":null,"unknown_45":812829394178078720}} 
[2026-08-21 08:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":161446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674700,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:21] local.INFO: GPS data processed {"connection_id":161446,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:21] local.INFO: Acknowledgment sent {"connection_id":161446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:23] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:58:23] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:58:23] local.INFO: IMEI packet received {"connection_id":161445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":161445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:58:24] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:58:24] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:58:24] local.INFO: Packet analysis {"connection_id":161445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:58:24] local.INFO: Extracted packet for processing {"connection_id":161445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:58:24] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:58: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-08-21 08:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58: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-08-21 08:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:58:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:58:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":161445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:24] local.INFO: GPS data processed {"connection_id":161445,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:24] local.INFO: Acknowledgment sent {"connection_id":161445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:26] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:58:26] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:58:26] local.INFO: IMEI packet received {"connection_id":158911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":158911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:58:31] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:58:31] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:58:31] local.INFO: IMEI packet received {"connection_id":158911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":158911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:58:32] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:58:32] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:58:32] local.INFO: Packet analysis {"connection_id":158911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:58:32] local.INFO: Extracted packet for processing {"connection_id":158911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:58:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08: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-08-21 08:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:58: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-08-21 08: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:58:32] 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-08-21 08: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-08-21 08:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:58: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-08-21 08:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":158911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:32] local.INFO: GPS data processed {"connection_id":158911,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:32] local.INFO: Acknowledgment sent {"connection_id":158911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:45] local.INFO: TCP Data received {"connection_id":161444,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225c4720012d7c0f8005ec3358000d010826..."} 
[2026-08-21 08:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225c4720012d7c0f8005ec3358000d010826..."} 
[2026-08-21 08:58:45] local.INFO: Processing buffer {"connection_id":161444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225c4720012d7c0f8005ec3358000d010826..."} 
[2026-08-21 08:58:45] local.INFO: Packet analysis {"connection_id":161444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:58:45] local.INFO: Extracted packet for processing {"connection_id":161444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763105152,"raw_latitude":99365720,"longitude_deg":76.3105152,"latitude_deg":9.936572,"altitude":13,"angle":264,"satellites":38,"speed":3,"hex_longitude":"2d7c0f80","hex_latitude":"05ec3358","is_valid_coordinates":true} 
[2026-08-21 08:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544408832001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121639005740597248,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8942037823070109696,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787282868000,"timestamp_ms":1787282868000,"timestamp_seconds":1787282868,"priority":1,"record_length":96,"hex_timestamp":"000001a0225c4720"} 
[2026-08-21 08:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 08:58: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-08-21 08:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161444,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544408832001,"66":13059,"198":206,"87":13824,"24":3,"16":121639005740597248,"45":8942037823070109696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 08:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544408832001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 08:58:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121639005740597248,"km_value":121639005740597.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8942037823070109696,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544408832001,"power":13059,"unknown_198":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8942037823070109696}} 
[2026-08-21 08:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":161444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:45] local.INFO: GPS data processed {"connection_id":161444,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:45] local.INFO: Acknowledgment sent {"connection_id":161444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:53] local.INFO: TCP Data received {"connection_id":161446,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225c3b68012d0b36400706ddd8000f00cb23..."} 
[2026-08-21 08:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225c3b68012d0b36400706ddd8000f00cb23..."} 
[2026-08-21 08:58:53] local.INFO: Processing buffer {"connection_id":161446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225c3b68012d0b36400706ddd8000f00cb23..."} 
[2026-08-21 08:58:53] local.INFO: Packet analysis {"connection_id":161446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:58:53] local.INFO: Extracted packet for processing {"connection_id":161446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:58:53] local.INFO: GPS Element Parsed {"raw_longitude":755709504,"raw_latitude":117890520,"longitude_deg":75.5709504,"latitude_deg":11.789052,"altitude":15,"angle":203,"satellites":35,"speed":47,"hex_longitude":"2d0b3640","hex_latitude":"0706ddd8","is_valid_coordinates":true} 
[2026-08-21 08:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544411904001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29188078052573184,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811351650549981184,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787282865000,"timestamp_ms":1787282865000,"timestamp_seconds":1787282865,"priority":1,"record_length":96,"hex_timestamp":"000001a0225c3b68"} 
[2026-08-21 08:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751540144,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509151651,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738735822,"corrected_to":0} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2550213899,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":56,"raw_value":7422158030906642014,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":103,"raw_value":2968715264,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-5764599795977551853,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755468160663793,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:53] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,163,94,24,241,157,16,178,160,28,45,192,250,38,10,66,64,8,36,177,237,128,1,240,60,227,34,7,4,113,205,21,182,144,239,56,2,103,19,11,40],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1738735822,"validated":0}]} 
[2026-08-21 08:58:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153158054228197376,"timestamp_seconds":1153158054228197.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161446,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544411904001,"66":14428,"163":206,"94":10240,"24":47,"16":29188078052573184,"45":811351650549981184},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 08:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544411904001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:53] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 08:58:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29188078052573184,"km_value":29188078052573.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":811351650549981184,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544411904001,"power":14428,"unknown_163":206,"unknown_94":10240,"ignition":47,"odometer":null,"unknown_45":811351650549981184}} 
[2026-08-21 08:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":161446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:53] local.INFO: GPS data processed {"connection_id":161446,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:53] local.INFO: Acknowledgment sent {"connection_id":161446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:58:55] local.INFO: TCP Data received {"connection_id":161445,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:58:55] local.INFO: Processing buffer {"connection_id":161445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022585f20012d1965c0071ff0f8003a014428..."} 
[2026-08-21 08:58:55] local.INFO: Packet analysis {"connection_id":161445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:58:55] local.INFO: Extracted packet for processing {"connection_id":161445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02258"} 
[2026-08-21 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756639168,"raw_latitude":119533816,"longitude_deg":75.6639168,"latitude_deg":11.9533816,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d1965c0","hex_latitude":"071ff0f8","is_valid_coordinates":true} 
[2026-08-21 08:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282612000,"timestamp_ms":1787282612000,"timestamp_seconds":1787282612,"priority":1,"record_length":96,"hex_timestamp":"000001a022585f20"} 
[2026-08-21 08:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08: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-08-21 08:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":12287,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:58:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:58:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":12287,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":161445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:58:55] local.INFO: GPS data processed {"connection_id":161445,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:58:55] local.INFO: Acknowledgment sent {"connection_id":161445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:59:04] local.INFO: TCP Data received {"connection_id":158911,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:04] local.INFO: Processing buffer {"connection_id":158911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:04] local.INFO: Packet analysis {"connection_id":158911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:59:04] local.INFO: Extracted packet for processing {"connection_id":158911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:59: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-08-21 08:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:59:04] 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-08-21 08:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:59: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-08-21 08:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:59:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":158911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:59:04] local.INFO: GPS data processed {"connection_id":158911,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:59:04] local.INFO: Acknowledgment sent {"connection_id":158911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:59:12] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:12] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:12] local.INFO: IMEI packet received {"connection_id":159201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 08:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":159201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:59:13] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:13] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:13] local.INFO: IMEI packet received {"connection_id":159201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":159201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:59:16] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:59:16] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:59:16] local.INFO: IMEI packet received {"connection_id":158912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 08:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":158912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:59:18] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:59:18] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:59:18] local.INFO: IMEI packet received {"connection_id":161447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 08:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":161447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:59:18] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:18] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 08:59:18] local.INFO: IMEI packet received {"connection_id":159201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 08:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":159201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:59:21] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:59:21] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 08:59:21] local.INFO: IMEI packet received {"connection_id":158912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 08:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":158912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:59:23] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:59:23] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 08:59:23] local.INFO: IMEI packet received {"connection_id":161447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 08:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":161447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:59:24] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 08:59:24] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 08:59:24] local.INFO: Packet analysis {"connection_id":161447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 08:59:24] local.INFO: Extracted packet for processing {"connection_id":161447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59: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-08-21 08:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 08:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":161447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:59:24] local.INFO: GPS data processed {"connection_id":161447,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:59:24] local.INFO: Acknowledgment sent {"connection_id":161447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:59:24] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225c5e90012d0b27400706bc28000f00c624..."} 
[2026-08-21 08:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225c5e90012d0b27400706bc28000f00c624..."} 
[2026-08-21 08:59:24] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225c5e90012d0b27400706bc28000f00c624..."} 
[2026-08-21 08:59:24] local.INFO: Packet analysis {"connection_id":158912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:59:24] local.INFO: Extracted packet for processing {"connection_id":158912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":755705664,"raw_latitude":117881896,"longitude_deg":75.5705664,"latitude_deg":11.7881896,"altitude":15,"angle":198,"satellites":36,"speed":25,"hex_longitude":"2d0b2740","hex_latitude":"0706bc28","is_valid_coordinates":true} 
[2026-08-21 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544413440001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29188533319106560,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807903582083733504,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282874000,"timestamp_ms":1787282874000,"timestamp_seconds":1787282874,"priority":1,"record_length":96,"hex_timestamp":"000001a0225c5e90"} 
[2026-08-21 08:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 08:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 08:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 08:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544413440001,"66":14330,"163":206,"94":10240,"24":25,"16":29188533319106560,"45":807903582083733504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 08:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 08:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544413440001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 08:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29188533319106560,"km_value":29188533319106.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":807903582083733504,"description":"Unknown IO ID 45"} 
[2026-08-21 08:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544413440001,"power":14330,"unknown_163":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":807903582083733504}} 
[2026-08-21 08:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":158912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:59:25] local.INFO: GPS data processed {"connection_id":158912,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:59:25] local.INFO: Acknowledgment sent {"connection_id":158912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:59:31] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:59:31] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:59:31] local.INFO: IMEI packet received {"connection_id":158913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 08:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":158913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 08:59:36] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:59:36] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 08:59:36] local.INFO: IMEI packet received {"connection_id":158913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 08:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":158913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 08:59:37] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225c4b08012d7c0f0005ec3358000d011427..."} 
[2026-08-21 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225c4b08012d7c0f0005ec3358000d011427..."} 
[2026-08-21 08:59:37] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225c4b08012d7c0f0005ec3358000d011427..."} 
[2026-08-21 08:59:37] local.INFO: Packet analysis {"connection_id":159201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:59:37] local.INFO: Extracted packet for processing {"connection_id":159201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 08:59:37] local.INFO: GPS Element Parsed {"raw_longitude":763105024,"raw_latitude":99365720,"longitude_deg":76.3105024,"latitude_deg":9.936572,"altitude":13,"angle":276,"satellites":39,"speed":3,"hex_longitude":"2d7c0f00","hex_latitude":"05ec3358","is_valid_coordinates":true} 
[2026-08-21 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544414208001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121639014330531840,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939504548279703552,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787282869000,"timestamp_ms":1787282869000,"timestamp_seconds":1787282869,"priority":1,"record_length":96,"hex_timestamp":"000001a0225c4b08"} 
[2026-08-21 08:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:59: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-08-21 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303147863035209,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":215,"raw_value":4026609020,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":133,"raw_value":2147871798,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963070464,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":110,"raw_value":58079734643818523,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,38,160,245,45,128,51,14,39,10,66,37,163,192,13,81,1,240,216,227,34,236,4,113,205,215,133,224,239,48,2,176,5,8,27,110],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-21 08:59:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937039156771749888,"timestamp_seconds":937039156771749.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 08:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 08:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544414208001,"66":12156,"198":206,"87":13824,"24":3,"16":121639014330531840,"45":8939504548279703552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 08:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 08:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544414208001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:59:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 08:59:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 08:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121639014330531840,"km_value":121639014330531.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939504548279703552,"description":"Unknown IO ID 45"} 
[2026-08-21 08:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544414208001,"power":12156,"unknown_198":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8939504548279703552}} 
[2026-08-21 08:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":159201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:59:37] local.INFO: GPS data processed {"connection_id":159201,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:59:37] local.INFO: Acknowledgment sent {"connection_id":159201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:59:37] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:37] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:37] local.INFO: Packet analysis {"connection_id":158913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:59:37] local.INFO: Extracted packet for processing {"connection_id":158913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:59:37] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:59:37] 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-08-21 08:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:59:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":158913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:59:37] local.INFO: GPS data processed {"connection_id":158913,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:59:37] local.INFO: Acknowledgment sent {"connection_id":158913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:59:42] local.INFO: TCP Data received {"connection_id":158913,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:42] local.INFO: Processing buffer {"connection_id":158913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022591e88012da67580054b39d8001101292c..."} 
[2026-08-21 08:59:42] local.INFO: Packet analysis {"connection_id":158913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:59:42] local.INFO: Extracted packet for processing {"connection_id":158913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02259"} 
[2026-08-21 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":44,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544284160001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787282661000,"timestamp_ms":1787282661000,"timestamp_seconds":1787282661,"priority":1,"record_length":96,"hex_timestamp":"000001a022591e88"} 
[2026-08-21 08:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 08:59:42] 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-08-21 08:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 08:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 08:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 08:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544284160001,"66":25875,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 08:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 08:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 08:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544284160001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:59:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 08:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 08:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544284160001,"power":25875,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 08:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":158913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:59:42] local.INFO: GPS data processed {"connection_id":158913,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:59:42] local.INFO: Acknowledgment sent {"connection_id":158913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 08:59:55] local.INFO: TCP Data received {"connection_id":161447,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 08:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 08:59:55] local.INFO: Processing buffer {"connection_id":161447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 08:59:55] local.INFO: Packet analysis {"connection_id":161447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 08:59:55] local.INFO: Extracted packet for processing {"connection_id":161447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 08:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 08:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 08:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 08:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 08:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 08:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 08: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 08:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 08:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 08:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 08:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 08:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 08:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 08:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 08:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 08:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 08:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 08:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 08:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 08:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 08:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 08:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 08:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 08:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 08:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 08:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":161447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 08:59:55] local.INFO: GPS data processed {"connection_id":161447,"processed":1,"errors":0,"total":1} 
[2026-08-21 08:59:55] local.INFO: Acknowledgment sent {"connection_id":161447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:03] local.INFO: TCP Data received {"connection_id":158912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225e1410012d0b4d800705ff680014006226..."} 
[2026-08-21 09:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225e1410012d0b4d800705ff680014006226..."} 
[2026-08-21 09:00:03] local.INFO: Processing buffer {"connection_id":158912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225e1410012d0b4d800705ff680014006226..."} 
[2026-08-21 09:00:03] local.INFO: Packet analysis {"connection_id":158912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:00:03] local.INFO: Extracted packet for processing {"connection_id":158912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:00:03] local.INFO: GPS Element Parsed {"raw_longitude":755715456,"raw_latitude":117833576,"longitude_deg":75.5715456,"latitude_deg":11.7833576,"altitude":20,"angle":98,"satellites":38,"speed":8,"hex_longitude":"2d0b4d80","hex_latitude":"0705ff68","is_valid_coordinates":true} 
[2026-08-21 09:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544444160001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29191612810657792,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814236769045159936,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282986000,"timestamp_ms":1787282986000,"timestamp_seconds":1787282986,"priority":1,"record_length":96,"hex_timestamp":"000001a0225e1410"} 
[2026-08-21 09:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544444160001,"66":14450,"165":206,"94":10240,"24":8,"16":29191612810657792,"45":814236769045159936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544444160001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:00:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29191612810657792,"km_value":29191612810657.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":814236769045159936,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544444160001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":814236769045159936}} 
[2026-08-21 09:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":158912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:03] local.INFO: GPS data processed {"connection_id":158912,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:03] local.INFO: Acknowledgment sent {"connection_id":158912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:06] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.16","data_length":1340,"data_hex":"000000000000030f8e0a000001a0225c52d8012d7c0ec005ec3358000d010627..."} 
[2026-08-21 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0225c52d8012d7c0ec005ec3358000d010627..."} 
[2026-08-21 09:00:06] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0225c52d8012d7c0ec005ec3358000d010627..."} 
[2026-08-21 09:00:06] local.INFO: Packet analysis {"connection_id":159201,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 09:00:06] local.INFO: Extracted packet for processing {"connection_id":159201,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763104960,"raw_latitude":99365720,"longitude_deg":76.310496,"latitude_deg":9.936572,"altitude":13,"angle":262,"satellites":39,"speed":1,"hex_longitude":"2d7c0ec0","hex_latitude":"05ec3358","is_valid_coordinates":true} 
[2026-08-21 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544414464001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121639018625499136,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939363810791348224,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787282871000,"timestamp_ms":1787282871000,"timestamp_seconds":1787282871,"priority":1,"record_length":96,"hex_timestamp":"000001a0225c52d8"} 
[2026-08-21 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00: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-08-21 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00: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-08-21 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544414464001,"66":12156,"198":206,"87":13824,"24":1,"16":121639018625499136,"45":8939363810791348224},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544414464001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121639018625499136,"km_value":121639018625499.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939363810791348224,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544414464001,"power":12156,"unknown_198":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8939363810791348224}} 
[2026-08-21 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":159201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:06] local.INFO: GPS data processed {"connection_id":159201,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:06] local.INFO: Acknowledgment sent {"connection_id":159201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:06] local.INFO: Packet analysis {"connection_id":159201,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 09:00:06] local.INFO: Incomplete packet, waiting for more data {"connection_id":159201,"needed":795,"available":545} 
[2026-08-21 09:00:06] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.16","data_length":250,"data_hex":"e3001001b0258300000000000001a0225b0ab8012d7c614005ec35e0000b010b..."} 
[2026-08-21 09:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":250,"packet_hex":"e3001001b0258300000000000001a0225b0ab8012d7c614005ec35e0000b010b..."} 
[2026-08-21 09:00:06] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225ca0f8012d7c04c005ec32e8000d010a27..."} 
[2026-08-21 09:00:06] local.INFO: Packet analysis {"connection_id":159201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 09:00:06] local.INFO: Extracted packet for processing {"connection_id":159201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 09:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763102400,"raw_latitude":99365608,"longitude_deg":76.31024,"latitude_deg":9.9365608,"altitude":13,"angle":266,"satellites":39,"speed":9,"hex_longitude":"2d7c04c0","hex_latitude":"05ec32e8","is_valid_coordinates":true} 
[2026-08-21 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544414976001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121639138884583424,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939293442047170560,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787282891000,"timestamp_ms":1787282891000,"timestamp_seconds":1787282891,"priority":1,"record_length":96,"hex_timestamp":"000001a0225ca0f8"} 
[2026-08-21 09:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00: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-08-21 09:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00: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-08-21 09:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544414976001,"66":11950,"198":206,"87":13824,"24":9,"16":121639138884583424,"45":8939293442047170560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544414976001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121639138884583424,"km_value":121639138884583.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939293442047170560,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544414976001,"power":11950,"unknown_198":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8939293442047170560}} 
[2026-08-21 09:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":159201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:06] local.INFO: GPS data processed {"connection_id":159201,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:06] local.INFO: Acknowledgment sent {"connection_id":159201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:07] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:07] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:07] local.INFO: IMEI packet received {"connection_id":161448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":161448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:00:10] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:10] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:10] local.INFO: IMEI packet received {"connection_id":161448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":161448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:00:12] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:12] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:00:12] local.INFO: IMEI packet received {"connection_id":161448,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":161448,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:00:13] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225cf300012d7bf54005ec3140000d010927..."} 
[2026-08-21 09:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225cf300012d7bf54005ec3140000d010927..."} 
[2026-08-21 09:00:13] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225cf300012d7bf54005ec3140000d010927..."} 
[2026-08-21 09:00:13] local.INFO: Packet analysis {"connection_id":161448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 09:00:13] local.INFO: Extracted packet for processing {"connection_id":161448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225c"} 
[2026-08-21 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763098432,"raw_latitude":99365184,"longitude_deg":76.3098432,"latitude_deg":9.9365184,"altitude":13,"angle":265,"satellites":39,"speed":8,"hex_longitude":"2d7bf540","hex_latitude":"05ec3140","is_valid_coordinates":true} 
[2026-08-21 09:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544420096001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121639327863144448,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936478692280035328,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282912000,"timestamp_ms":1787282912000,"timestamp_seconds":1787282912,"priority":1,"record_length":96,"hex_timestamp":"000001a0225cf300"} 
[2026-08-21 09:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544420096001,"66":12374,"198":206,"87":13824,"24":8,"16":121639327863144448,"45":8936478692280035328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544420096001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121639327863144448,"km_value":121639327863144.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936478692280035328,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544420096001,"power":12374,"unknown_198":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8936478692280035328}} 
[2026-08-21 09:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":161448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:13] local.INFO: GPS data processed {"connection_id":161448,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:13] local.INFO: Acknowledgment sent {"connection_id":161448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:16] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:00:16] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:00:16] local.INFO: IMEI packet received {"connection_id":159202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":159202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:00:18] local.INFO: TCP Data received {"connection_id":158914,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:00:18] local.INFO: Processing buffer {"connection_id":158914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:00:18] local.INFO: IMEI packet received {"connection_id":158914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":158914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:00:21] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:00:21] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:00:21] local.INFO: IMEI packet received {"connection_id":159202,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":159202,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:00:22] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225e17f8012d0b4e000705ff700013005025..."} 
[2026-08-21 09:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225e17f8012d0b4e000705ff700013005025..."} 
[2026-08-21 09:00:22] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225e17f8012d0b4e000705ff700013005025..."} 
[2026-08-21 09:00:22] local.INFO: Packet analysis {"connection_id":159202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:00:22] local.INFO: Extracted packet for processing {"connection_id":159202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":755715584,"raw_latitude":117833584,"longitude_deg":75.5715584,"latitude_deg":11.7833584,"altitude":19,"angle":80,"satellites":37,"speed":6,"hex_longitude":"2d0b4e00","hex_latitude":"0705ff70","is_valid_coordinates":true} 
[2026-08-21 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544444416001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29191612810657792,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814447875277678592,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787282987000,"timestamp_ms":1787282987000,"timestamp_seconds":1787282987,"priority":1,"record_length":96,"hex_timestamp":"000001a0225e17f8"} 
[2026-08-21 09:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544444416001,"66":14428,"165":206,"94":10240,"24":6,"16":29191612810657792,"45":814447875277678592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544444416001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:00:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29191612810657792,"km_value":29191612810657.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":814447875277678592,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544444416001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":814447875277678592}} 
[2026-08-21 09:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":159202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674717,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:22] local.INFO: GPS data processed {"connection_id":159202,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:22] local.INFO: Acknowledgment sent {"connection_id":159202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:23] local.INFO: TCP Data received {"connection_id":158914,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:00:23] local.INFO: Processing buffer {"connection_id":158914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:00:23] local.INFO: IMEI packet received {"connection_id":158914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":158914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:00:24] local.INFO: TCP Data received {"connection_id":158914,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:00:24] local.INFO: Processing buffer {"connection_id":158914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:00:24] local.INFO: Packet analysis {"connection_id":158914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:24] local.INFO: Extracted packet for processing {"connection_id":158914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00: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-08-21 09:00:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 09:00:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:00:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:00:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:00:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:00:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:00:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:00:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:00:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:00:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:00:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:00:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":158914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:24] local.INFO: GPS data processed {"connection_id":158914,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:24] local.INFO: Acknowledgment sent {"connection_id":158914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:26] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:00:26] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:00:26] local.INFO: IMEI packet received {"connection_id":161449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":161449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:00:31] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:00:31] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:00:31] local.INFO: IMEI packet received {"connection_id":161449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":161449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:00:32] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:00:32] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:00:32] local.INFO: Packet analysis {"connection_id":161449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:32] local.INFO: Extracted packet for processing {"connection_id":161449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 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-08-21 09:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 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-08-21 09:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":161449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:32] local.INFO: GPS data processed {"connection_id":161449,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:32] local.INFO: Acknowledgment sent {"connection_id":161449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:44] local.INFO: TCP Data received {"connection_id":161448,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d4508012d7bddc005ec2ce0000f010027..."} 
[2026-08-21 09:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d4508012d7bddc005ec2ce0000f010027..."} 
[2026-08-21 09:00:44] local.INFO: Processing buffer {"connection_id":161448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d4508012d7bddc005ec2ce0000f010027..."} 
[2026-08-21 09:00:44] local.INFO: Packet analysis {"connection_id":161448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:44] local.INFO: Extracted packet for processing {"connection_id":161448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763092416,"raw_latitude":99364064,"longitude_deg":76.3092416,"latitude_deg":9.9364064,"altitude":15,"angle":256,"satellites":39,"speed":20,"hex_longitude":"2d7bddc0","hex_latitude":"05ec2ce0","is_valid_coordinates":true} 
[2026-08-21 09:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544425472001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121639624215887872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932115830140911616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787282933000,"timestamp_ms":1787282933000,"timestamp_seconds":1787282933,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d4508"} 
[2026-08-21 09:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161448,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544425472001,"66":12624,"198":206,"87":13824,"24":20,"16":121639624215887872,"45":8932115830140911616},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544425472001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:00:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121639624215887872,"km_value":121639624215887.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932115830140911616,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544425472001,"power":12624,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8932115830140911616}} 
[2026-08-21 09:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":161448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:44] local.INFO: GPS data processed {"connection_id":161448,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:44] local.INFO: Acknowledgment sent {"connection_id":161448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:53] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225e2b80012d0b4f00070601480013001b26..."} 
[2026-08-21 09:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225e2b80012d0b4f00070601480013001b26..."} 
[2026-08-21 09:00:53] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225e2b80012d0b4f00070601480013001b26..."} 
[2026-08-21 09:00:53] local.INFO: Packet analysis {"connection_id":159202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:00:53] local.INFO: Extracted packet for processing {"connection_id":159202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":755715840,"raw_latitude":117834056,"longitude_deg":75.571584,"latitude_deg":11.7834056,"altitude":19,"angle":27,"satellites":38,"speed":5,"hex_longitude":"2d0b4f00","hex_latitude":"07060148","is_valid_coordinates":true} 
[2026-08-21 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544444672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29191642875428864,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814588612766035968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787282992000,"timestamp_ms":1787282992000,"timestamp_seconds":1787282992,"priority":1,"record_length":96,"hex_timestamp":"000001a0225e2b80"} 
[2026-08-21 09:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:00:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159202,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544444672001,"66":14428,"165":206,"94":10240,"24":5,"16":29191642875428864,"45":814588612766035968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544444672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:00:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29191642875428864,"km_value":29191642875428.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":814588612766035968,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544444672001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814588612766035968}} 
[2026-08-21 09:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":159202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674721,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:53] local.INFO: GPS data processed {"connection_id":159202,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:53] local.INFO: Acknowledgment sent {"connection_id":159202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:00:55] local.INFO: TCP Data received {"connection_id":158914,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:00:55] local.INFO: Processing buffer {"connection_id":158914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:00:55] local.INFO: Packet analysis {"connection_id":158914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:55] local.INFO: Extracted packet for processing {"connection_id":158914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 09:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":158914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:00:55] local.INFO: GPS data processed {"connection_id":158914,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:00:55] local.INFO: Acknowledgment sent {"connection_id":158914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:03] local.INFO: TCP Data received {"connection_id":161449,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:01:03] local.INFO: Processing buffer {"connection_id":161449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:01:03] local.INFO: Packet analysis {"connection_id":161449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:03] local.INFO: Extracted packet for processing {"connection_id":161449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:01: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-08-21 09:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":161449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:03] local.INFO: GPS data processed {"connection_id":161449,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:03] local.INFO: Acknowledgment sent {"connection_id":161449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:07] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:01:07] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:01:07] local.INFO: IMEI packet received {"connection_id":159203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":159203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:01:12] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:01:12] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:01:12] local.INFO: IMEI packet received {"connection_id":159203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":159203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:01:13] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d8770012d7bbb0005ec2378001000fe26..."} 
[2026-08-21 09:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d8770012d7bbb0005ec2378001000fe26..."} 
[2026-08-21 09:01:13] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d8770012d7bbb0005ec2378001000fe26..."} 
[2026-08-21 09:01:13] local.INFO: Packet analysis {"connection_id":159203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:13] local.INFO: Extracted packet for processing {"connection_id":159203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763083520,"raw_latitude":99361656,"longitude_deg":76.308352,"latitude_deg":9.9361656,"altitude":16,"angle":254,"satellites":38,"speed":21,"hex_longitude":"2d7bbb00","hex_latitude":"05ec2378","is_valid_coordinates":true} 
[2026-08-21 09:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544430848001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121640066597519360,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925501168187924480,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282950000,"timestamp_ms":1787282950000,"timestamp_seconds":1787282950,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d8770"} 
[2026-08-21 09:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544430848001,"66":12722,"198":206,"87":13824,"24":21,"16":121640066597519360,"45":8925501168187924480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544430848001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:01:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121640066597519360,"km_value":121640066597519.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925501168187924480,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544430848001,"power":12722,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8925501168187924480}} 
[2026-08-21 09:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":159203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:13] local.INFO: GPS data processed {"connection_id":159203,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:13] local.INFO: Acknowledgment sent {"connection_id":159203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:18] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:01:18] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:01:18] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:01:22] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:01:22] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:01:22] local.INFO: IMEI packet received {"connection_id":158915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":158915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:01:23] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:01:23] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:01:23] local.INFO: IMEI packet received {"connection_id":160097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":160097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:01:24] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:01:24] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:01:24] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:24] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 09:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:01:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:01:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:24] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:24] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:26] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:01:26] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:01:26] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:01:27] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:01:27] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:01:27] local.INFO: IMEI packet received {"connection_id":158915,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":158915,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:01:27] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225e79a0012d0b534007060c000013001325..."} 
[2026-08-21 09:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225e79a0012d0b534007060c000013001325..."} 
[2026-08-21 09:01:27] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225e79a0012d0b534007060c000013001325..."} 
[2026-08-21 09:01:27] local.INFO: Packet analysis {"connection_id":158915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:01:27] local.INFO: Extracted packet for processing {"connection_id":158915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:01:27] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836800,"longitude_deg":75.5716928,"latitude_deg":11.78368,"altitude":19,"angle":19,"satellites":37,"speed":0,"hex_longitude":"2d0b5340","hex_latitude":"07060c00","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544445952001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29191793199284224,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814870087742867456,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787283012000,"timestamp_ms":1787283012000,"timestamp_seconds":1787283012,"priority":1,"record_length":96,"hex_timestamp":"000001a0225e79a0"} 
[2026-08-21 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-08-21 09:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544445952001,"66":14428,"165":206,"94":10240,"24":0,"16":29191793199284224,"45":814870087742867456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544445952001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:27] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:01:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29191793199284224,"km_value":29191793199284.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":814870087742867456,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544445952001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":814870087742867456}} 
[2026-08-21 09:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":158915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:27] local.INFO: GPS data processed {"connection_id":158915,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:27] local.INFO: Acknowledgment sent {"connection_id":158915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:28] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225ecba8012d0b534007060c000013001323..."} 
[2026-08-21 09:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225ecba8012d0b534007060c000013001323..."} 
[2026-08-21 09:01:28] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225ecba8012d0b534007060c000013001323..."} 
[2026-08-21 09:01:28] local.INFO: Packet analysis {"connection_id":158915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:01:28] local.INFO: Extracted packet for processing {"connection_id":158915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":755716928,"raw_latitude":117836800,"longitude_deg":75.5716928,"latitude_deg":11.78368,"altitude":19,"angle":19,"satellites":35,"speed":0,"hex_longitude":"2d0b5340","hex_latitude":"07060c00","is_valid_coordinates":true} 
[2026-08-21 09:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544451072001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29191793199284224,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394590208,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787283033000,"timestamp_ms":1787283033000,"timestamp_seconds":1787283033,"priority":1,"record_length":96,"hex_timestamp":"000001a0225ecba8"} 
[2026-08-21 09:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544451072001,"66":14396,"165":206,"94":10240,"24":0,"16":29191793199284224,"45":816066356394590208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544451072001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:28] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:01:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29191793199284224,"km_value":29191793199284.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394590208,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544451072001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":816066356394590208}} 
[2026-08-21 09:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":158915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:28] local.INFO: GPS data processed {"connection_id":158915,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:28] local.INFO: Acknowledgment sent {"connection_id":158915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:31] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:01:31] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:01:31] local.INFO: IMEI packet received {"connection_id":160098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":160098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:01:32] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:01:32] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:01:32] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:32] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:32] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:32] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:45] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225dba38012d7b980005ec1938001000fd27..."} 
[2026-08-21 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225dba38012d7b980005ec1938001000fd27..."} 
[2026-08-21 09:01:45] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225dba38012d7b980005ec1938001000fd27..."} 
[2026-08-21 09:01:45] local.INFO: Packet analysis {"connection_id":159203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:45] local.INFO: Extracted packet for processing {"connection_id":159203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763074560,"raw_latitude":99359032,"longitude_deg":76.307456,"latitude_deg":9.9359032,"altitude":16,"angle":253,"satellites":39,"speed":34,"hex_longitude":"2d7b9800","hex_latitude":"05ec1938","is_valid_coordinates":true} 
[2026-08-21 09:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544435200001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121640508979150848,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915719912746612736,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787282963000,"timestamp_ms":1787282963000,"timestamp_seconds":1787282963,"priority":1,"record_length":96,"hex_timestamp":"000001a0225dba38"} 
[2026-08-21 09:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544435200001,"66":12504,"198":206,"87":13824,"24":34,"16":121640508979150848,"45":8915719912746612736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544435200001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:01:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121640508979150848,"km_value":121640508979150.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915719912746612736,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544435200001,"power":12504,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8915719912746612736}} 
[2026-08-21 09:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":159203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:45] local.INFO: GPS data processed {"connection_id":159203,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:45] local.INFO: Acknowledgment sent {"connection_id":159203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:55] local.INFO: TCP Data received {"connection_id":160097,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:01:55] local.INFO: Processing buffer {"connection_id":160097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:01:55] local.INFO: Packet analysis {"connection_id":160097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:55] local.INFO: Extracted packet for processing {"connection_id":160097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:01:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 09:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:01:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:01:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":160097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:55] local.INFO: GPS data processed {"connection_id":160097,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:55] local.INFO: Acknowledgment sent {"connection_id":160097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:01:59] local.INFO: TCP Data received {"connection_id":158915,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225f0e10012d0b52c007060c28001300da24..."} 
[2026-08-21 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225f0e10012d0b52c007060c28001300da24..."} 
[2026-08-21 09:01:59] local.INFO: Processing buffer {"connection_id":158915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225f0e10012d0b52c007060c28001300da24..."} 
[2026-08-21 09:01:59] local.INFO: Packet analysis {"connection_id":158915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:01:59] local.INFO: Extracted packet for processing {"connection_id":158915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":755716800,"raw_latitude":117836840,"longitude_deg":75.57168,"latitude_deg":11.783684,"altitude":19,"angle":218,"satellites":36,"speed":2,"hex_longitude":"2d0b52c0","hex_latitude":"07060c28","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544456448001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29191801789218816,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816066356394590208,"note":"Value kept but may cause issues"} 
[2026-08-21 09:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787283050000,"timestamp_ms":1787283050000,"timestamp_seconds":1787283050,"priority":1,"record_length":96,"hex_timestamp":"000001a0225f0e10"} 
[2026-08-21 09:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":158915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":158915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":158915,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544456448001,"66":14461,"165":206,"94":10240,"24":2,"16":29191801789218816,"45":816066356394590208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544456448001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29191801789218816,"km_value":29191801789218.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":816066356394590208,"description":"Unknown IO ID 45"} 
[2026-08-21 09:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544456448001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":816066356394590208}} 
[2026-08-21 09:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":158915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:01:59] local.INFO: GPS data processed {"connection_id":158915,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:01:59] local.INFO: Acknowledgment sent {"connection_id":158915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:04] local.INFO: TCP Data received {"connection_id":160098,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:02:04] local.INFO: Processing buffer {"connection_id":160098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:02:04] local.INFO: Packet analysis {"connection_id":160098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:04] local.INFO: Extracted packet for processing {"connection_id":160098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":160098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:04] local.INFO: GPS data processed {"connection_id":160098,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:04] local.INFO: Acknowledgment sent {"connection_id":160098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:07] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:02:07] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:02:07] local.INFO: IMEI packet received {"connection_id":158916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":158916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:02:12] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:02:12] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:02:12] local.INFO: IMEI packet received {"connection_id":158916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":158916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:02:13] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225de918012d7b760005ec0eb0001000fc27..."} 
[2026-08-21 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225de918012d7b760005ec0eb0001000fc27..."} 
[2026-08-21 09:02:13] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225de918012d7b760005ec0eb0001000fc27..."} 
[2026-08-21 09:02:13] local.INFO: Packet analysis {"connection_id":158916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:13] local.INFO: Extracted packet for processing {"connection_id":158916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":763065856,"raw_latitude":99356336,"longitude_deg":76.3065856,"latitude_deg":9.9356336,"altitude":16,"angle":252,"satellites":39,"speed":26,"hex_longitude":"2d7b7600","hex_latitude":"05ec0eb0","is_valid_coordinates":true} 
[2026-08-21 09:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121640947065815040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905868288561068032,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787282975000,"timestamp_ms":1787282975000,"timestamp_seconds":1787282975,"priority":1,"record_length":96,"hex_timestamp":"000001a0225de918"} 
[2026-08-21 09:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438528001,"66":12461,"198":206,"87":13824,"24":26,"16":121640947065815040,"45":8905868288561068032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:02:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121640947065815040,"km_value":121640947065815.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905868288561068032,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438528001,"power":12461,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8905868288561068032}} 
[2026-08-21 09:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":158916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674733,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:13] local.INFO: GPS data processed {"connection_id":158916,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:13] local.INFO: Acknowledgment sent {"connection_id":158916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:15] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:15] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:15] local.INFO: IMEI packet received {"connection_id":159204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:02:15] local.INFO: IMEI acknowledgment sent {"connection_id":159204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:02:16] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:16] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:16] local.INFO: IMEI packet received {"connection_id":159204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":159204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:02:21] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:21] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:02:21] local.INFO: IMEI packet received {"connection_id":159204,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":159204,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:02:22] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0225f5c30012d0b51c007060990001400d31f..."} 
[2026-08-21 09:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225f5c30012d0b51c007060990001400d31f..."} 
[2026-08-21 09:02:22] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225f5c30012d0b51c007060990001400d31f..."} 
[2026-08-21 09:02:22] local.INFO: Packet analysis {"connection_id":159204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:02:22] local.INFO: Extracted packet for processing {"connection_id":159204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":755716544,"raw_latitude":117836176,"longitude_deg":75.5716544,"latitude_deg":11.7836176,"altitude":20,"angle":211,"satellites":31,"speed":3,"hex_longitude":"2d0b51c0","hex_latitude":"07060990","is_valid_coordinates":true} 
[2026-08-21 09:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544460800001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29191840443924480,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815925618906245120,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283070000,"timestamp_ms":1787283070000,"timestamp_seconds":1787283070,"priority":1,"record_length":96,"hex_timestamp":"000001a0225f5c30"} 
[2026-08-21 09:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544460800001,"66":14330,"165":206,"94":10240,"24":3,"16":29191840443924480,"45":815925618906245120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544460800001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:02:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29191840443924480,"km_value":29191840443924.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":815925618906245120,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544460800001,"power":14330,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815925618906245120}} 
[2026-08-21 09:02:23] local.INFO: DEBUG: GPS processor result {"connection_id":159204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:23] local.INFO: GPS data processed {"connection_id":159204,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:23] local.INFO: Acknowledgment sent {"connection_id":159204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:26] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:02:26] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:02:26] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:02:31] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:02:31] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:02:31] local.INFO: IMEI packet received {"connection_id":160099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":160099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:02:32] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:02:32] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:02:32] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:32] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:32] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:32] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:38] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:02:38] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:02:38] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:02:43] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:02:43] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:02:43] local.INFO: IMEI packet received {"connection_id":160100,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":160100,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:02:44] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:02:44] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:02:44] local.INFO: Packet analysis {"connection_id":160100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:44] local.INFO: Extracted packet for processing {"connection_id":160100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 09:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:02:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":160100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:44] local.INFO: GPS data processed {"connection_id":160100,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:44] local.INFO: Acknowledgment sent {"connection_id":160100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:45] local.INFO: TCP Data received {"connection_id":158916,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225e1be0012d7b528005ec0238001000f727..."} 
[2026-08-21 09:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225e1be0012d7b528005ec0238001000f727..."} 
[2026-08-21 09:02:45] local.INFO: Processing buffer {"connection_id":158916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225e1be0012d7b528005ec0238001000f727..."} 
[2026-08-21 09:02:45] local.INFO: Packet analysis {"connection_id":158916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:02:45] local.INFO: Extracted packet for processing {"connection_id":158916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:02:45] local.INFO: GPS Element Parsed {"raw_longitude":763056768,"raw_latitude":99353144,"longitude_deg":76.3056768,"latitude_deg":9.9353144,"altitude":16,"angle":247,"satellites":39,"speed":27,"hex_longitude":"2d7b5280","hex_latitude":"05ec0238","is_valid_coordinates":true} 
[2026-08-21 09:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544441600001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121641406627315712,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896298139352215552,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787282988000,"timestamp_ms":1787282988000,"timestamp_seconds":1787282988,"priority":1,"record_length":96,"hex_timestamp":"000001a0225e1be0"} 
[2026-08-21 09:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544441600001,"66":12667,"198":206,"87":13824,"24":27,"16":121641406627315712,"45":8896298139352215552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544441600001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:02:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121641406627315712,"km_value":121641406627315.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896298139352215552,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544441600001,"power":12667,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8896298139352215552}} 
[2026-08-21 09:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":158916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:45] local.INFO: GPS data processed {"connection_id":158916,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:45] local.INFO: Acknowledgment sent {"connection_id":158916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:48] local.INFO: TCP Data received {"connection_id":160100,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:02:48] local.INFO: Processing buffer {"connection_id":160100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:02:48] local.INFO: Packet analysis {"connection_id":160100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:48] local.INFO: Extracted packet for processing {"connection_id":160100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 09:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160100,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":160100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:48] local.INFO: GPS data processed {"connection_id":160100,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:48] local.INFO: Acknowledgment sent {"connection_id":160100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:02:54] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226090c8012d0b2900070610b8001400af25..."} 
[2026-08-21 09:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226090c8012d0b2900070610b8001400af25..."} 
[2026-08-21 09:02:54] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226090c8012d0b2900070610b8001400af25..."} 
[2026-08-21 09:02:54] local.INFO: Packet analysis {"connection_id":159204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02260"} 
[2026-08-21 09:02:54] local.INFO: Extracted packet for processing {"connection_id":159204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02260"} 
[2026-08-21 09:02:54] local.INFO: GPS Element Parsed {"raw_longitude":755706112,"raw_latitude":117838008,"longitude_deg":75.5706112,"latitude_deg":11.7838008,"altitude":20,"angle":175,"satellites":37,"speed":7,"hex_longitude":"2d0b2900","hex_latitude":"070610b8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544484608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29192561998430208,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804103669884874752,"note":"Value kept but may cause issues"} 
[2026-08-21 09:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787283149000,"timestamp_ms":1787283149000,"timestamp_seconds":1787283149,"priority":1,"record_length":96,"hex_timestamp":"000001a0226090c8"} 
[2026-08-21 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-08-21 09:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 09:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159204,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544484608001,"66":14461,"165":206,"94":10240,"24":7,"16":29192561998430208,"45":804103669884874752},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544484608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:02:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:02:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29192561998430208,"km_value":29192561998430.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:02:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":804103669884874752,"description":"Unknown IO ID 45"} 
[2026-08-21 09:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544484608001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":804103669884874752}} 
[2026-08-21 09:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":159204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:02:54] local.INFO: GPS data processed {"connection_id":159204,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:02:54] local.INFO: Acknowledgment sent {"connection_id":159204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:04] local.INFO: TCP Data received {"connection_id":160099,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:03:04] local.INFO: Processing buffer {"connection_id":160099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:03:04] local.INFO: Packet analysis {"connection_id":160099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:04] local.INFO: Extracted packet for processing {"connection_id":160099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09: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-08-21 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":160099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:04] local.INFO: GPS data processed {"connection_id":160099,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:04] local.INFO: Acknowledgment sent {"connection_id":160099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:09] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:09] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:09] local.INFO: IMEI packet received {"connection_id":161450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":161450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:03:12] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:12] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:12] local.INFO: IMEI packet received {"connection_id":161450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":161450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:03:17] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:03:17] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:03:17] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:03:17] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:17] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:03:17] local.INFO: IMEI packet received {"connection_id":161450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":161450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:03:18] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225e6a00012d7b37c005ebf568000d00ef27..."} 
[2026-08-21 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225e6a00012d7b37c005ebf568000d00ef27..."} 
[2026-08-21 09:03:18] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225e6a00012d7b37c005ebf568000d00ef27..."} 
[2026-08-21 09:03:18] local.INFO: Packet analysis {"connection_id":161450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:03:18] local.INFO: Extracted packet for processing {"connection_id":161450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":763049920,"raw_latitude":99349864,"longitude_deg":76.304992,"latitude_deg":9.9349864,"altitude":13,"angle":239,"satellites":39,"speed":18,"hex_longitude":"2d7b37c0","hex_latitude":"05ebf568","is_valid_coordinates":true} 
[2026-08-21 09:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544444928001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121641771699535872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886305777678170112,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787283008000,"timestamp_ms":1787283008000,"timestamp_seconds":1787283008,"priority":1,"record_length":96,"hex_timestamp":"000001a0225e6a00"} 
[2026-08-21 09:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:03: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-08-21 09:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544444928001,"66":12645,"98":206,"87":13824,"24":18,"16":121641771699535872,"45":8886305777678170112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544444928001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:18] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:03:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121641771699535872,"km_value":121641771699535.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886305777678170112,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544444928001,"power":12645,"unknown_98":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8886305777678170112}} 
[2026-08-21 09:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":161450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:18] local.INFO: GPS data processed {"connection_id":161450,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:18] local.INFO: Acknowledgment sent {"connection_id":161450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:18] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:03:18] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:03:18] local.INFO: IMEI packet received {"connection_id":158917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":158917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:03:22] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:03:22] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:03:22] local.INFO: IMEI packet received {"connection_id":160101,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":160101,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:03:22] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02260a450012d0b2a4007060728001400bd26..."} 
[2026-08-21 09:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02260a450012d0b2a4007060728001400bd26..."} 
[2026-08-21 09:03:22] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02260a450012d0b2a4007060728001400bd26..."} 
[2026-08-21 09:03:22] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02260"} 
[2026-08-21 09:03:22] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02260"} 
[2026-08-21 09:03:22] local.INFO: GPS Element Parsed {"raw_longitude":755706432,"raw_latitude":117835560,"longitude_deg":75.5706432,"latitude_deg":11.783556,"altitude":20,"angle":189,"satellites":38,"speed":27,"hex_longitude":"2d0b2a40","hex_latitude":"07060728","is_valid_coordinates":true} 
[2026-08-21 09:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544486144001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29192682257514496,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804174038628874240,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283154000,"timestamp_ms":1787283154000,"timestamp_seconds":1787283154,"priority":1,"record_length":96,"hex_timestamp":"000001a02260a450"} 
[2026-08-21 09:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544486144001,"66":14374,"165":206,"94":10240,"24":27,"16":29192682257514496,"45":804174038628874240},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544486144001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29192682257514496,"km_value":29192682257514.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":804174038628874240,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544486144001,"power":14374,"unknown_165":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":804174038628874240}} 
[2026-08-21 09:03:22] local.INFO: TCP Data received {"connection_id":161450,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225e98e0012d7b15c005ebe478000b00f226..."} 
[2026-08-21 09:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225e98e0012d7b15c005ebe478000b00f226..."} 
[2026-08-21 09:03:22] local.INFO: Processing buffer {"connection_id":161450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225e98e0012d7b15c005ebe478000b00f226..."} 
[2026-08-21 09:03:22] local.INFO: Packet analysis {"connection_id":161450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:03:22] local.INFO: Extracted packet for processing {"connection_id":161450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:03:22] local.INFO: GPS Element Parsed {"raw_longitude":763041216,"raw_latitude":99345528,"longitude_deg":76.3041216,"latitude_deg":9.9345528,"altitude":11,"angle":242,"satellites":38,"speed":39,"hex_longitude":"2d7b15c0","hex_latitude":"05ebe478","is_valid_coordinates":true} 
[2026-08-21 09:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544450048001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121642235556003840,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878776322050320384,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283020000,"timestamp_ms":1787283020000,"timestamp_seconds":1787283020,"priority":1,"record_length":96,"hex_timestamp":"000001a0225e98e0"} 
[2026-08-21 09:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544450048001,"66":12689,"98":206,"87":13824,"24":39,"16":121642235556003840,"45":8878776322050320384},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544450048001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121642235556003840,"km_value":121642235556003.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878776322050320384,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544450048001,"power":12689,"unknown_98":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8878776322050320384}} 
[2026-08-21 09:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":161450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:23] local.INFO: GPS data processed {"connection_id":161450,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:23] local.INFO: Acknowledgment sent {"connection_id":161450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:23] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:23] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:23] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:03:23] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:03:23] local.INFO: IMEI packet received {"connection_id":158917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":158917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:03:24] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:03:24] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:03:24] local.INFO: Packet analysis {"connection_id":158917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:24] local.INFO: Extracted packet for processing {"connection_id":158917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03: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-08-21 09:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 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-08-21 09:03:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:03:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":158917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:24] local.INFO: GPS data processed {"connection_id":158917,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:24] local.INFO: Acknowledgment sent {"connection_id":158917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:26] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:03:26] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:03:26] local.INFO: IMEI packet received {"connection_id":161451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":161451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:03:31] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:03:31] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:03:31] local.INFO: IMEI packet received {"connection_id":161451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":161451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:03:32] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:03:32] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:03:32] local.INFO: Packet analysis {"connection_id":161451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:32] local.INFO: Extracted packet for processing {"connection_id":161451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":161451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:32] local.INFO: GPS data processed {"connection_id":161451,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:32] local.INFO: Acknowledgment sent {"connection_id":161451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:54] local.INFO: TCP Data received {"connection_id":160101,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02261b5c0012d0ae280070593d00021013324..."} 
[2026-08-21 09:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02261b5c0012d0ae280070593d00021013324..."} 
[2026-08-21 09:03:54] local.INFO: Processing buffer {"connection_id":160101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02261b5c0012d0ae280070593d00021013324..."} 
[2026-08-21 09:03:54] local.INFO: Packet analysis {"connection_id":160101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:03:54] local.INFO: Extracted packet for processing {"connection_id":160101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":755688064,"raw_latitude":117806032,"longitude_deg":75.5688064,"latitude_deg":11.7806032,"altitude":33,"angle":307,"satellites":36,"speed":9,"hex_longitude":"2d0ae280","hex_latitude":"070593d0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544504832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29194816856260608,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784963371460104192,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787283224000,"timestamp_ms":1787283224000,"timestamp_seconds":1787283224,"priority":1,"record_length":96,"hex_timestamp":"000001a02261b5c0"} 
[2026-08-21 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-08-21 09:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160101,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544504832001,"66":14450,"165":206,"94":10240,"24":9,"16":29194816856260608,"45":784963371460104192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544504832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:03:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29194816856260608,"km_value":29194816856260.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":784963371460104192,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544504832001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":784963371460104192}} 
[2026-08-21 09:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":160101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:54] local.INFO: GPS data processed {"connection_id":160101,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:54] local.INFO: Acknowledgment sent {"connection_id":160101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:03:55] local.INFO: TCP Data received {"connection_id":158917,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:03:55] local.INFO: Processing buffer {"connection_id":158917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225d02a0012d196500071ff0a8003a014429..."} 
[2026-08-21 09:03:55] local.INFO: Packet analysis {"connection_id":158917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:55] local.INFO: Extracted packet for processing {"connection_id":158917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544348672001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830079960429164544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787282916000,"timestamp_ms":1787282916000,"timestamp_seconds":1787282916,"priority":1,"record_length":96,"hex_timestamp":"000001a0225d02a0"} 
[2026-08-21 09:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 09:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544348672001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1830079960429164544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544348672001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:03:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:03:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830079960429164544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544348672001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830079960429164544}} 
[2026-08-21 09:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":158917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:03:55] local.INFO: GPS data processed {"connection_id":158917,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:03:55] local.INFO: Acknowledgment sent {"connection_id":158917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:03] local.INFO: TCP Data received {"connection_id":161451,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:03] local.INFO: Processing buffer {"connection_id":161451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:03] local.INFO: Packet analysis {"connection_id":161451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:04:03] local.INFO: Extracted packet for processing {"connection_id":161451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:04:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09: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-08-21 09: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":161451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:03] local.INFO: GPS data processed {"connection_id":161451,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:03] local.INFO: Acknowledgment sent {"connection_id":161451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:07] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:04:07] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:04:07] local.INFO: IMEI packet received {"connection_id":159205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":159205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:04:12] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:04:12] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:04:12] local.INFO: IMEI packet received {"connection_id":159205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":159205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:04:12] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225ee700012d7afc8005ebd808000b00f326..."} 
[2026-08-21 09:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225ee700012d7afc8005ebd808000b00f326..."} 
[2026-08-21 09:04:12] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225ee700012d7afc8005ebd808000b00f326..."} 
[2026-08-21 09:04:12] local.INFO: Packet analysis {"connection_id":159205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:04:12] local.INFO: Extracted packet for processing {"connection_id":159205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225e"} 
[2026-08-21 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":763034752,"raw_latitude":99342344,"longitude_deg":76.3034752,"latitude_deg":9.9342344,"altitude":11,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d7afc80","hex_latitude":"05ebd808","is_valid_coordinates":true} 
[2026-08-21 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544453120001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121642583448354816,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869206172841048064,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787283040000,"timestamp_ms":1787283040000,"timestamp_seconds":1787283040,"priority":1,"record_length":96,"hex_timestamp":"000001a0225ee700"} 
[2026-08-21 09:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544453120001,"66":12069,"98":206,"87":13824,"24":0,"16":121642583448354816,"45":8869206172841048064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544453120001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:12] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:04:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121642583448354816,"km_value":121642583448354.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869206172841048064,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544453120001,"power":12069,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8869206172841048064}} 
[2026-08-21 09:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":159205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:13] local.INFO: GPS data processed {"connection_id":159205,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:13] local.INFO: Acknowledgment sent {"connection_id":159205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:16] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:04:16] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:04:16] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:04:18] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:04:18] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:04:18] local.INFO: IMEI packet received {"connection_id":160102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":160102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:04:23] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:04:23] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:04:23] local.INFO: IMEI packet received {"connection_id":160102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":160102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:04:24] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:04:24] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:04:24] local.INFO: Packet analysis {"connection_id":160102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:24] local.INFO: Extracted packet for processing {"connection_id":160102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04: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-08-21 09:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:04: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-08-21 09:04:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":160102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:24] local.INFO: GPS data processed {"connection_id":160102,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:24] local.INFO: Acknowledgment sent {"connection_id":160102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:24] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:04:24] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:04:24] local.INFO: IMEI packet received {"connection_id":160103,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":160103,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:04:26] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02261bd90012d0ae0c0070594b00021011525..."} 
[2026-08-21 09:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02261bd90012d0ae0c0070594b00021011525..."} 
[2026-08-21 09:04:26] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02261bd90012d0ae0c0070594b00021011525..."} 
[2026-08-21 09:04:26] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:26] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:26] local.INFO: GPS Element Parsed {"raw_longitude":755687616,"raw_latitude":117806256,"longitude_deg":75.5687616,"latitude_deg":11.7806256,"altitude":33,"angle":277,"satellites":37,"speed":9,"hex_longitude":"2d0ae0c0","hex_latitude":"070594b0","is_valid_coordinates":true} 
[2026-08-21 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544505344001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29194842626064384,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784330052762587136,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787283226000,"timestamp_ms":1787283226000,"timestamp_seconds":1787283226,"priority":1,"record_length":96,"hex_timestamp":"000001a02261bd90"} 
[2026-08-21 09:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544505344001,"66":14439,"165":206,"94":10240,"24":9,"16":29194842626064384,"45":784330052762587136},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544505344001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:26] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:04:26] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29194842626064384,"km_value":29194842626064.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":784330052762587136,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544505344001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":784330052762587136}} 
[2026-08-21 09:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:26] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:26] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:31] local.INFO: TCP Data received {"connection_id":158918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:04:31] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:04:31] local.INFO: IMEI packet received {"connection_id":158918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":158918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:04:36] local.INFO: TCP Data received {"connection_id":158918,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:04:36] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:04:36] local.INFO: IMEI packet received {"connection_id":158918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":158918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:04:37] local.INFO: TCP Data received {"connection_id":158918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:37] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:37] local.INFO: Packet analysis {"connection_id":158918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:04:37] local.INFO: Extracted packet for processing {"connection_id":158918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:04:37] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":158918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:37] local.INFO: GPS data processed {"connection_id":158918,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:37] local.INFO: Acknowledgment sent {"connection_id":158918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:42] local.INFO: TCP Data received {"connection_id":158918,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:42] local.INFO: Processing buffer {"connection_id":158918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225db650012da67580054b39d8001101292b..."} 
[2026-08-21 09:04:42] local.INFO: Packet analysis {"connection_id":158918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:04:42] local.INFO: Extracted packet for processing {"connection_id":158918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225d"} 
[2026-08-21 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544361216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787282962000,"timestamp_ms":1787282962000,"timestamp_seconds":1787282962,"priority":1,"record_length":96,"hex_timestamp":"000001a0225db650"} 
[2026-08-21 09:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":158918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":158918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544361216001,"66":25756,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544361216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544361216001,"power":25756,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":158918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:42] local.INFO: GPS data processed {"connection_id":158918,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:42] local.INFO: Acknowledgment sent {"connection_id":158918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:44] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225f3908012d7af90005ebd630000b00f326..."} 
[2026-08-21 09:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225f3908012d7af90005ebd630000b00f326..."} 
[2026-08-21 09:04:44] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225f3908012d7af90005ebd630000b00f326..."} 
[2026-08-21 09:04:44] local.INFO: Packet analysis {"connection_id":159205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:04:44] local.INFO: Extracted packet for processing {"connection_id":159205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":763033856,"raw_latitude":99341872,"longitude_deg":76.3033856,"latitude_deg":9.9341872,"altitude":11,"angle":243,"satellites":38,"speed":12,"hex_longitude":"2d7af900","hex_latitude":"05ebd630","is_valid_coordinates":true} 
[2026-08-21 09:04:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544458240001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121642634987962368,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862098929678288896,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787283061000,"timestamp_ms":1787283061000,"timestamp_seconds":1787283061,"priority":1,"record_length":96,"hex_timestamp":"000001a0225f3908"} 
[2026-08-21 09:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:04:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:04:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544458240001,"66":12504,"98":206,"87":13824,"24":12,"16":121642634987962368,"45":8862098929678288896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544458240001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:04:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121642634987962368,"km_value":121642634987962.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862098929678288896,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544458240001,"power":12504,"unknown_98":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8862098929678288896}} 
[2026-08-21 09:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":159205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:44] local.INFO: GPS data processed {"connection_id":159205,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:44] local.INFO: Acknowledgment sent {"connection_id":159205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:55] local.INFO: TCP Data received {"connection_id":160102,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:04:55] local.INFO: Processing buffer {"connection_id":160102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:04:55] local.INFO: Packet analysis {"connection_id":160102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:55] local.INFO: Extracted packet for processing {"connection_id":160102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":160102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:55] local.INFO: GPS data processed {"connection_id":160102,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:55] local.INFO: Acknowledgment sent {"connection_id":160102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:04:57] local.INFO: TCP Data received {"connection_id":160103,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02261c178012d0adfc0070594900022010624..."} 
[2026-08-21 09:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02261c178012d0adfc0070594900022010624..."} 
[2026-08-21 09:04:57] local.INFO: Processing buffer {"connection_id":160103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02261c178012d0adfc0070594900022010624..."} 
[2026-08-21 09:04:57] local.INFO: Packet analysis {"connection_id":160103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:57] local.INFO: Extracted packet for processing {"connection_id":160103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:04:57] local.INFO: GPS Element Parsed {"raw_longitude":755687360,"raw_latitude":117806224,"longitude_deg":75.568736,"latitude_deg":11.7806224,"altitude":34,"angle":262,"satellites":36,"speed":13,"hex_longitude":"2d0adfc0","hex_latitude":"07059490","is_valid_coordinates":true} 
[2026-08-21 09:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544505856001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29194855510966272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783837471553400832,"note":"Value kept but may cause issues"} 
[2026-08-21 09:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787283227000,"timestamp_ms":1787283227000,"timestamp_seconds":1787283227,"priority":1,"record_length":96,"hex_timestamp":"000001a02261c178"} 
[2026-08-21 09:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09: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-08-21 09:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160103,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544505856001,"66":14396,"165":206,"94":10240,"24":13,"16":29194855510966272,"45":783837471553400832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544505856001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:04:57] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:04:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29194855510966272,"km_value":29194855510966.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":783837471553400832,"description":"Unknown IO ID 45"} 
[2026-08-21 09:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544505856001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":783837471553400832}} 
[2026-08-21 09:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":160103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:04:57] local.INFO: GPS data processed {"connection_id":160103,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:04:57] local.INFO: Acknowledgment sent {"connection_id":160103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:05:07] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:05:07] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:05:07] local.INFO: IMEI packet received {"connection_id":159206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":159206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:05:12] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:05:12] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:05:12] local.INFO: IMEI packet received {"connection_id":159206,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":159206,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:05:13] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225f8b10012d7ae80005ebcdb0000b00f227..."} 
[2026-08-21 09:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225f8b10012d7ae80005ebcdb0000b00f227..."} 
[2026-08-21 09:05:13] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225f8b10012d7ae80005ebcdb0000b00f227..."} 
[2026-08-21 09:05:13] local.INFO: Packet analysis {"connection_id":159206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:05:13] local.INFO: Extracted packet for processing {"connection_id":159206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763029504,"raw_latitude":99339696,"longitude_deg":76.3029504,"latitude_deg":9.9339696,"altitude":11,"angle":242,"satellites":39,"speed":9,"hex_longitude":"2d7ae800","hex_latitude":"05ebcdb0","is_valid_coordinates":true} 
[2026-08-21 09:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544463616001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121642866916196352,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861113767259680768,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787283082000,"timestamp_ms":1787283082000,"timestamp_seconds":1787283082,"priority":1,"record_length":96,"hex_timestamp":"000001a0225f8b10"} 
[2026-08-21 09:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:05: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-08-21 09:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 09:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544463616001,"66":12461,"98":206,"87":13824,"24":9,"16":121642866916196352,"45":8861113767259680768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544463616001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:05:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:05:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121642866916196352,"km_value":121642866916196.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861113767259680768,"description":"Unknown IO ID 45"} 
[2026-08-21 09:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544463616001,"power":12461,"unknown_98":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8861113767259680768}} 
[2026-08-21 09:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":159206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:05:13] local.INFO: GPS data processed {"connection_id":159206,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:05:13] local.INFO: Acknowledgment sent {"connection_id":159206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:05:16] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:05:16] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:05:16] local.INFO: IMEI packet received {"connection_id":159207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":159207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:05:18] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:05:18] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:05:18] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:05:22] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:05:22] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:05:22] local.INFO: IMEI packet received {"connection_id":159207,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":159207,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:05:22] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02262e670012d0a9a40070587500019014124..."} 
[2026-08-21 09:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02262e670012d0a9a40070587500019014124..."} 
[2026-08-21 09:05:22] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02262e670012d0a9a40070587500019014124..."} 
[2026-08-21 09:05:22] local.INFO: Packet analysis {"connection_id":159207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:05:22] local.INFO: Extracted packet for processing {"connection_id":159207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:05:22] local.INFO: GPS Element Parsed {"raw_longitude":755669568,"raw_latitude":117802832,"longitude_deg":75.5669568,"latitude_deg":11.7802832,"altitude":25,"angle":321,"satellites":36,"speed":17,"hex_longitude":"2d0a9a40","hex_latitude":"07058750","is_valid_coordinates":true} 
[2026-08-21 09:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544524800001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29195748864163840,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764626804391852032,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283302000,"timestamp_ms":1787283302000,"timestamp_seconds":1787283302,"priority":1,"record_length":96,"hex_timestamp":"000001a02262e670"} 
[2026-08-21 09:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544524800001,"66":14428,"153":206,"94":10240,"24":17,"16":29195748864163840,"45":764626804391852032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544524800001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:05:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:05:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29195748864163840,"km_value":29195748864163.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":764626804391852032,"description":"Unknown IO ID 45"} 
[2026-08-21 09:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544524800001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":764626804391852032}} 
[2026-08-21 09:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":159207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674758,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:05:23] local.INFO: GPS data processed {"connection_id":159207,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:05:23] local.INFO: Acknowledgment sent {"connection_id":159207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:05:23] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:05:23] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:05:23] local.INFO: IMEI packet received {"connection_id":160104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":160104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:05:24] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:05:24] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:05:24] local.INFO: Packet analysis {"connection_id":160104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:05:24] local.INFO: Extracted packet for processing {"connection_id":160104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09: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-08-21 09:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:05:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":160104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:05:24] local.INFO: GPS data processed {"connection_id":160104,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:05:24] local.INFO: Acknowledgment sent {"connection_id":160104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:05:27] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:05:27] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:05:27] local.INFO: IMEI packet received {"connection_id":160105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":160105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:05:31] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:05:31] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:05:31] local.INFO: IMEI packet received {"connection_id":160105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":160105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:05:32] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:05:32] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:05:32] local.INFO: Packet analysis {"connection_id":160105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:05:32] local.INFO: Extracted packet for processing {"connection_id":160105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:05:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":160105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:05:32] local.INFO: GPS data processed {"connection_id":160105,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:05:32] local.INFO: Acknowledgment sent {"connection_id":160105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:05:44] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0225fdd18012d7ae58005ebcc80000b00f225..."} 
[2026-08-21 09:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0225fdd18012d7ae58005ebcc80000b00f225..."} 
[2026-08-21 09:05:44] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0225fdd18012d7ae58005ebcc80000b00f225..."} 
[2026-08-21 09:05:44] local.INFO: Packet analysis {"connection_id":159206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:05:44] local.INFO: Extracted packet for processing {"connection_id":159206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0225f"} 
[2026-08-21 09:05:44] local.INFO: GPS Element Parsed {"raw_longitude":763028864,"raw_latitude":99339392,"longitude_deg":76.3028864,"latitude_deg":9.9339392,"altitude":11,"angle":242,"satellites":37,"speed":0,"hex_longitude":"2d7ae580","hex_latitude":"05ebcc80","is_valid_coordinates":true} 
[2026-08-21 09:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544468992001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121642901275934720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856328692655042560,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787283103000,"timestamp_ms":1787283103000,"timestamp_seconds":1787283103,"priority":1,"record_length":96,"hex_timestamp":"000001a0225fdd18"} 
[2026-08-21 09:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 09:05:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159206,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544468992001,"66":12798,"98":206,"87":13824,"24":0,"16":121642901275934720,"45":8856328692655042560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544468992001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:05:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:05:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121642901275934720,"km_value":121642901275934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856328692655042560,"description":"Unknown IO ID 45"} 
[2026-08-21 09:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544468992001,"power":12798,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8856328692655042560}} 
[2026-08-21 09:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":159206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:05:44] local.INFO: GPS data processed {"connection_id":159206,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:05:44] local.INFO: Acknowledgment sent {"connection_id":159206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:05:54] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022631550012d0a8cc007059d780017014c21..."} 
[2026-08-21 09:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022631550012d0a8cc007059d780017014c21..."} 
[2026-08-21 09:05:54] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022631550012d0a8cc007059d780017014c21..."} 
[2026-08-21 09:05:54] local.INFO: Packet analysis {"connection_id":159207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:05:54] local.INFO: Extracted packet for processing {"connection_id":159207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:05:54] local.INFO: GPS Element Parsed {"raw_longitude":755666112,"raw_latitude":117808504,"longitude_deg":75.5666112,"latitude_deg":11.7808504,"altitude":23,"angle":332,"satellites":33,"speed":20,"hex_longitude":"2d0a8cc0","hex_latitude":"07059d78","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:05:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544525312001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29196070986711040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":763993485694423040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:05:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787283314000,"timestamp_ms":1787283314000,"timestamp_seconds":1787283314,"priority":1,"record_length":96,"hex_timestamp":"000001a022631550"} 
[2026-08-21 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-08-21 09:05: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-08-21 09:05:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:05:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:05:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:05:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:05:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:05:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159207,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:05:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:05:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:05:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:05:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544525312001,"66":14396,"153":206,"94":10240,"24":20,"16":29196070986711040,"45":763993485694423040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:05:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:05:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:05:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544525312001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:05:54] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:05:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:05:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29196070986711040,"km_value":29196070986711.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:05:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":763993485694423040,"description":"Unknown IO ID 45"} 
[2026-08-21 09:05:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544525312001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":763993485694423040}} 
[2026-08-21 09:05:54] local.INFO: DEBUG: GPS processor result {"connection_id":159207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674762,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:05:54] local.INFO: GPS data processed {"connection_id":159207,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:05:54] local.INFO: Acknowledgment sent {"connection_id":159207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:05:55] local.INFO: TCP Data received {"connection_id":160104,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:05:55] local.INFO: Processing buffer {"connection_id":160104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:05:55] local.INFO: Packet analysis {"connection_id":160104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:05:55] local.INFO: Extracted packet for processing {"connection_id":160104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:05:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":160104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:05:55] local.INFO: GPS data processed {"connection_id":160104,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:05:55] local.INFO: Acknowledgment sent {"connection_id":160104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:03] local.INFO: TCP Data received {"connection_id":160105,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:06:03] local.INFO: Processing buffer {"connection_id":160105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:06:03] local.INFO: Packet analysis {"connection_id":160105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:06:03] local.INFO: Extracted packet for processing {"connection_id":160105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:06: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-08-21 09:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":160105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:03] local.INFO: GPS data processed {"connection_id":160105,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:03] local.INFO: Acknowledgment sent {"connection_id":160105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:07] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:06:07] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:06:07] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:06:12] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:06:12] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:06:12] local.INFO: IMEI packet received {"connection_id":160106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":160106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:06:13] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022635f88012d7a79c005eb9f08000800fb1f..."} 
[2026-08-21 09:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022635f88012d7a79c005eb9f08000800fb1f..."} 
[2026-08-21 09:06:13] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022635f88012d7a79c005eb9f08000800fb1f..."} 
[2026-08-21 09:06:13] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:13] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763001280,"raw_latitude":99327752,"longitude_deg":76.300128,"latitude_deg":9.9327752,"altitude":8,"angle":251,"satellites":31,"speed":0,"hex_longitude":"2d7a79c0","hex_latitude":"05eb9f08","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544527872001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644344384946176,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825296076469635072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787283333000,"timestamp_ms":1787283333000,"timestamp_seconds":1787283333,"priority":1,"record_length":96,"hex_timestamp":"000001a022635f88"} 
[2026-08-21 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-08-21 09:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 09:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544527872001,"66":12232,"161":206,"87":13824,"24":0,"16":121644344384946176,"45":8825296076469635072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544527872001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:06:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644344384946176,"km_value":121644344384946.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825296076469635072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544527872001,"power":12232,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8825296076469635072}} 
[2026-08-21 09:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674765,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:13] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:13] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:22] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:06:22] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:06:22] local.INFO: IMEI packet received {"connection_id":161452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":161452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:06:23] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:06:23] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:06:23] local.INFO: IMEI packet received {"connection_id":161453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":161453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:06:26] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:06:26] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:06:26] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:06:26] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:06:26] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:06:26] local.INFO: IMEI packet received {"connection_id":161452,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":161452,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:06:27] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022632cc0012d0a86000705a7b80018013a24..."} 
[2026-08-21 09:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022632cc0012d0a86000705a7b80018013a24..."} 
[2026-08-21 09:06:27] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022632cc0012d0a86000705a7b80018013a24..."} 
[2026-08-21 09:06:27] local.INFO: Packet analysis {"connection_id":161452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:27] local.INFO: Extracted packet for processing {"connection_id":161452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:27] local.INFO: GPS Element Parsed {"raw_longitude":755664384,"raw_latitude":117811128,"longitude_deg":75.5664384,"latitude_deg":11.7811128,"altitude":24,"angle":314,"satellites":36,"speed":12,"hex_longitude":"2d0a8600","hex_latitude":"0705a7b8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544528384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29196221310566400,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":760193573510281216,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787283320000,"timestamp_ms":1787283320000,"timestamp_seconds":1787283320,"priority":1,"record_length":96,"hex_timestamp":"000001a022632cc0"} 
[2026-08-21 09:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544528384001,"66":14428,"153":206,"94":10240,"24":12,"16":29196221310566400,"45":760193573510281216},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544528384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:06:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29196221310566400,"km_value":29196221310566.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":760193573510281216,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544528384001,"power":14428,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":760193573510281216}} 
[2026-08-21 09:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":161452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:27] local.INFO: GPS data processed {"connection_id":161452,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:27] local.INFO: Acknowledgment sent {"connection_id":161452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:28] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:06:28] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:06:28] local.INFO: IMEI packet received {"connection_id":161453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:06:28] local.INFO: IMEI acknowledgment sent {"connection_id":161453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:06:28] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:06:28] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:06:28] local.INFO: Packet analysis {"connection_id":161453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:06:28] local.INFO: Extracted packet for processing {"connection_id":161453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":161453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:28] local.INFO: GPS data processed {"connection_id":161453,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:28] local.INFO: Acknowledgment sent {"connection_id":161453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:31] local.INFO: TCP Data received {"connection_id":161452,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226330a8012d0a85400705a8400018012b24..."} 
[2026-08-21 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226330a8012d0a85400705a8400018012b24..."} 
[2026-08-21 09:06:31] local.INFO: Processing buffer {"connection_id":161452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226330a8012d0a85400705a8400018012b24..."} 
[2026-08-21 09:06:31] local.INFO: Packet analysis {"connection_id":161452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:31] local.INFO: Extracted packet for processing {"connection_id":161452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:31] local.INFO: GPS Element Parsed {"raw_longitude":755664192,"raw_latitude":117811264,"longitude_deg":75.5664192,"latitude_deg":11.7811264,"altitude":24,"angle":299,"satellites":36,"speed":7,"hex_longitude":"2d0a8540","hex_latitude":"0705a840","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544529920001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29196234195468288,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758293617418156032,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787283321000,"timestamp_ms":1787283321000,"timestamp_seconds":1787283321,"priority":1,"record_length":96,"hex_timestamp":"000001a0226330a8"} 
[2026-08-21 09:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:06: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-08-21 09:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161452,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544529920001,"66":14396,"153":206,"94":10240,"24":7,"16":29196234195468288,"45":758293617418156032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544529920001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:31] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:06:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29196234195468288,"km_value":29196234195468.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":758293617418156032,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544529920001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":758293617418156032}} 
[2026-08-21 09:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":161452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674768,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:31] local.INFO: GPS data processed {"connection_id":161452,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:31] local.INFO: Acknowledgment sent {"connection_id":161452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:31] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:06:31] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:06:31] local.INFO: IMEI packet received {"connection_id":160107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":160107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:06:32] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:06:32] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:06:32] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:06:32] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:06:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:32] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:32] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:33] local.INFO: TCP Data received {"connection_id":161453,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:06:33] local.INFO: Processing buffer {"connection_id":161453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:06:33] local.INFO: Packet analysis {"connection_id":161453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:06:33] local.INFO: Extracted packet for processing {"connection_id":161453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:06:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":161453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:33] local.INFO: GPS data processed {"connection_id":161453,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:33] local.INFO: Acknowledgment sent {"connection_id":161453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:06:44] local.INFO: TCP Data received {"connection_id":160106,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022638a80012d7a770005eb9d78000800ed1f..."} 
[2026-08-21 09:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022638a80012d7a770005eb9d78000800ed1f..."} 
[2026-08-21 09:06:44] local.INFO: Processing buffer {"connection_id":160106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022638a80012d7a770005eb9d78000800ed1f..."} 
[2026-08-21 09:06:44] local.INFO: Packet analysis {"connection_id":160106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:44] local.INFO: Extracted packet for processing {"connection_id":160106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763000576,"raw_latitude":99327352,"longitude_deg":76.3000576,"latitude_deg":9.9327352,"altitude":8,"angle":237,"satellites":31,"speed":3,"hex_longitude":"2d7a7700","hex_latitude":"05eb9d78","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544533248001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644383039651840,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825296076469635072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787283344000,"timestamp_ms":1787283344000,"timestamp_seconds":1787283344,"priority":1,"record_length":96,"hex_timestamp":"000001a022638a80"} 
[2026-08-21 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-08-21 09:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":200,"data_length":795,"current_offset":136} 
[2026-08-21 09:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544533248001,"66":12156,"161":206,"87":13824,"24":3,"16":121644383039651840,"45":8825296076469635072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544533248001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:06:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:06:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644383039651840,"km_value":121644383039651.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825296076469635072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544533248001,"power":12156,"unknown_161":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8825296076469635072}} 
[2026-08-21 09:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":160106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:06:44] local.INFO: GPS data processed {"connection_id":160106,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:06:44] local.INFO: Acknowledgment sent {"connection_id":160106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:03] local.INFO: TCP Data received {"connection_id":160107,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:07:03] local.INFO: Processing buffer {"connection_id":160107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:07:03] local.INFO: Packet analysis {"connection_id":160107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:07:03] local.INFO: Extracted packet for processing {"connection_id":160107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:07: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-08-21 09: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-08-21 09:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":160107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:03] local.INFO: GPS data processed {"connection_id":160107,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:03] local.INFO: Acknowledgment sent {"connection_id":160107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:07] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:07:07] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:07:07] local.INFO: IMEI packet received {"connection_id":161454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":161454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:07:12] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:07:12] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:07:12] local.INFO: IMEI packet received {"connection_id":161454,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":161454,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:07:13] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02263c130012d7a758005eb9c980009010223..."} 
[2026-08-21 09:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02263c130012d7a758005eb9c980009010223..."} 
[2026-08-21 09:07:13] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02263c130012d7a758005eb9c980009010223..."} 
[2026-08-21 09:07:13] local.INFO: Packet analysis {"connection_id":161454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:07:13] local.INFO: Extracted packet for processing {"connection_id":161454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02263"} 
[2026-08-21 09:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763000192,"raw_latitude":99327128,"longitude_deg":76.3000192,"latitude_deg":9.9327128,"altitude":9,"angle":258,"satellites":35,"speed":1,"hex_longitude":"2d7a7580","hex_latitude":"05eb9c98","is_valid_coordinates":true} 
[2026-08-21 09:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544536064001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644404514488320,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824522020283578368,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787283358000,"timestamp_ms":1787283358000,"timestamp_seconds":1787283358,"priority":1,"record_length":96,"hex_timestamp":"000001a02263c130"} 
[2026-08-21 09:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 09:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544536064001,"66":13102,"161":206,"87":13824,"24":1,"16":121644404514488320,"45":8824522020283578368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544536064001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:07:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644404514488320,"km_value":121644404514488.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824522020283578368,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544536064001,"power":13102,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8824522020283578368}} 
[2026-08-21 09:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":161454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:13] local.INFO: GPS data processed {"connection_id":161454,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:13] local.INFO: Acknowledgment sent {"connection_id":161454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:17] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:07:17] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:07:17] local.INFO: IMEI packet received {"connection_id":158920,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":158920,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:07:18] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:07:18] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:07:18] local.INFO: IMEI packet received {"connection_id":158919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":158919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:07:19] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:07:19] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:07:19] local.INFO: IMEI packet received {"connection_id":158920,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":158920,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:07:19] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022648c50012d0a734007060788000f015c24..."} 
[2026-08-21 09:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022648c50012d0a734007060788000f015c24..."} 
[2026-08-21 09:07:19] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022648c50012d0a734007060788000f015c24..."} 
[2026-08-21 09:07:19] local.INFO: Packet analysis {"connection_id":158920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:07:19] local.INFO: Extracted packet for processing {"connection_id":158920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:07:19] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835656,"longitude_deg":75.5659584,"latitude_deg":11.7835656,"altitude":15,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d0a7340","hex_latitude":"07060788","is_valid_coordinates":true} 
[2026-08-21 09:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544547584001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29197501210820608,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961610999808,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787283410000,"timestamp_ms":1787283410000,"timestamp_seconds":1787283410,"priority":1,"record_length":96,"hex_timestamp":"000001a022648c50"} 
[2026-08-21 09:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 09:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544547584001,"66":14352,"153":206,"94":10240,"24":0,"16":29197501210820608,"45":753015961610999808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544547584001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29197501210820608,"km_value":29197501210820.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961610999808,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544547584001,"power":14352,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753015961610999808}} 
[2026-08-21 09:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":158920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:19] local.INFO: GPS data processed {"connection_id":158920,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:19] local.INFO: Acknowledgment sent {"connection_id":158920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:23] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:07:23] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:07:23] local.INFO: IMEI packet received {"connection_id":158919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":158919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:07:24] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:07:24] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:07:24] local.INFO: Packet analysis {"connection_id":158919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:07:24] local.INFO: Extracted packet for processing {"connection_id":158919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07: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-08-21 09:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:07: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-08-21 09:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":158919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:24] local.INFO: GPS data processed {"connection_id":158919,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:24] local.INFO: Acknowledgment sent {"connection_id":158919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:26] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:07:26] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:07:26] local.INFO: IMEI packet received {"connection_id":161455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":161455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:07:31] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:07:31] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:07:31] local.INFO: IMEI packet received {"connection_id":161455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":161455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:07:32] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:07:32] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:07:32] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:07:32] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:07:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:32] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:32] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:44] local.INFO: TCP Data received {"connection_id":161454,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022641338012d7a754005eb9c70000900fe1d..."} 
[2026-08-21 09:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022641338012d7a754005eb9c70000900fe1d..."} 
[2026-08-21 09:07:44] local.INFO: Processing buffer {"connection_id":161454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022641338012d7a754005eb9c70000900fe1d..."} 
[2026-08-21 09:07:44] local.INFO: Packet analysis {"connection_id":161454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:07:44] local.INFO: Extracted packet for processing {"connection_id":161454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763000128,"raw_latitude":99327088,"longitude_deg":76.3000128,"latitude_deg":9.9327088,"altitude":9,"angle":254,"satellites":29,"speed":0,"hex_longitude":"2d7a7540","hex_latitude":"05eb9c70","is_valid_coordinates":true} 
[2026-08-21 09:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544539648001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644408809455616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824099807818455040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787283379000,"timestamp_ms":1787283379000,"timestamp_seconds":1787283379,"priority":1,"record_length":96,"hex_timestamp":"000001a022641338"} 
[2026-08-21 09:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 09:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161454,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544539648001,"66":12624,"161":206,"87":13824,"24":0,"16":121644408809455616,"45":8824099807818455040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544539648001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:07:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644408809455616,"km_value":121644408809455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824099807818455040,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544539648001,"power":12624,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8824099807818455040}} 
[2026-08-21 09:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":161454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:44] local.INFO: GPS data processed {"connection_id":161454,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:44] local.INFO: Acknowledgment sent {"connection_id":161454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:51] local.INFO: TCP Data received {"connection_id":158920,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02264cad0012d0a734007060610000f00b524..."} 
[2026-08-21 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02264cad0012d0a734007060610000f00b524..."} 
[2026-08-21 09:07:51] local.INFO: Processing buffer {"connection_id":158920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02264cad0012d0a734007060610000f00b524..."} 
[2026-08-21 09:07:51] local.INFO: Packet analysis {"connection_id":158920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:07:51] local.INFO: Extracted packet for processing {"connection_id":158920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117835280,"longitude_deg":75.5659584,"latitude_deg":11.783528,"altitude":15,"angle":181,"satellites":36,"speed":1,"hex_longitude":"2d0a7340","hex_latitude":"07060610","is_valid_coordinates":true} 
[2026-08-21 09:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544552960001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29197522685657088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611110400,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787283426000,"timestamp_ms":1787283426000,"timestamp_seconds":1787283426,"priority":1,"record_length":96,"hex_timestamp":"000001a02264cad0"} 
[2026-08-21 09:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147392,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3759144979,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":-9061234729365274600,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":4837710476265652234,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504045131923456,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264511385,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1738080462,"corrected_to":0} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3128885248,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":48,"raw_value":84735520378652074,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.WARNING: Large IO value detected {"io_id":224,"raw_value":6756838859082752,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,153,94,24,241,157,16,186,160,58,45,64,5,35,10,66,236,242,34,212,1,240,60,227,4,113,205,189,40,38,239,56,2,103,7,13,206,48,224],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1738080462,"validated":0}]} 
[2026-08-21 09:07:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081246695234207744,"timestamp_seconds":1081246695234207.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":158920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":158920,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544552960001,"66":14450,"153":206,"94":10240,"24":1,"16":29197522685657088,"45":753015961611110400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544552960001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:07:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29197522685657088,"km_value":29197522685657.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611110400,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544552960001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753015961611110400}} 
[2026-08-21 09:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":158920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674778,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:51] local.INFO: GPS data processed {"connection_id":158920,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:51] local.INFO: Acknowledgment sent {"connection_id":158920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:07:55] local.INFO: TCP Data received {"connection_id":158919,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:07:55] local.INFO: Processing buffer {"connection_id":158919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:07:55] local.INFO: Packet analysis {"connection_id":158919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:07:55] local.INFO: Extracted packet for processing {"connection_id":158919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:07:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":158919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:07:55] local.INFO: GPS data processed {"connection_id":158919,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:07:55] local.INFO: Acknowledgment sent {"connection_id":158919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:04] local.INFO: TCP Data received {"connection_id":161455,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:08:04] local.INFO: Processing buffer {"connection_id":161455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:08:04] local.INFO: Packet analysis {"connection_id":161455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:08:04] local.INFO: Extracted packet for processing {"connection_id":161455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:08:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:08: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-08-21 09: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-08-21 09:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":161455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:04] local.INFO: GPS data processed {"connection_id":161455,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:04] local.INFO: Acknowledgment sent {"connection_id":161455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:07] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:07] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:07] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:08:07] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:07] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:07] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:08:12] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:12] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:08:12] local.INFO: IMEI packet received {"connection_id":160108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":160108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:08:13] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022646540012d7a754005eb9c70000900fe21..."} 
[2026-08-21 09:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022646540012d7a754005eb9c70000900fe21..."} 
[2026-08-21 09:08:13] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022646540012d7a754005eb9c70000900fe21..."} 
[2026-08-21 09:08:13] local.INFO: Packet analysis {"connection_id":160108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:13] local.INFO: Extracted packet for processing {"connection_id":160108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:13] local.INFO: GPS Element Parsed {"raw_longitude":763000128,"raw_latitude":99327088,"longitude_deg":76.3000128,"latitude_deg":9.9327088,"altitude":9,"angle":254,"satellites":33,"speed":0,"hex_longitude":"2d7a7540","hex_latitude":"05eb9c70","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544545024001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644408809455616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824029439074267136,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787283400000,"timestamp_ms":1787283400000,"timestamp_seconds":1787283400,"priority":1,"record_length":96,"hex_timestamp":"000001a022646540"} 
[2026-08-21 09:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 09:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544545024001,"66":12232,"161":206,"87":13824,"24":0,"16":121644408809455616,"45":8824029439074267136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544545024001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:08:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644408809455616,"km_value":121644408809455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824029439074267136,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544545024001,"power":12232,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8824029439074267136}} 
[2026-08-21 09:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":160108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:13] local.INFO: GPS data processed {"connection_id":160108,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:13] local.INFO: Acknowledgment sent {"connection_id":160108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:16] local.INFO: TCP Data received {"connection_id":159208,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:08:16] local.INFO: Processing buffer {"connection_id":159208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:08:16] local.INFO: IMEI packet received {"connection_id":159208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":159208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:08:18] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:08:18] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:08:18] local.INFO: IMEI packet received {"connection_id":161456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":161456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:08:21] local.INFO: TCP Data received {"connection_id":159208,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159208,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:08:21] local.INFO: Processing buffer {"connection_id":159208,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:08:21] local.INFO: IMEI packet received {"connection_id":159208,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":159208,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:08:22] local.INFO: TCP Data received {"connection_id":159208,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02264f5c8012d0a73c0070604b8000f008e24..."} 
[2026-08-21 09:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02264f5c8012d0a73c0070604b8000f008e24..."} 
[2026-08-21 09:08:22] local.INFO: Processing buffer {"connection_id":159208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02264f5c8012d0a73c0070604b8000f008e24..."} 
[2026-08-21 09:08:22] local.INFO: Packet analysis {"connection_id":159208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:22] local.INFO: Extracted packet for processing {"connection_id":159208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:22] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117834936,"longitude_deg":75.5659712,"latitude_deg":11.7834936,"altitude":15,"angle":142,"satellites":36,"speed":1,"hex_longitude":"2d0a73c0","hex_latitude":"070604b8","is_valid_coordinates":true} 
[2026-08-21 09:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544557056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29197539865526272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961611014144,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283437000,"timestamp_ms":1787283437000,"timestamp_seconds":1787283437,"priority":1,"record_length":96,"hex_timestamp":"000001a02264f5c8"} 
[2026-08-21 09:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 09:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544557056001,"66":14309,"153":206,"94":10240,"24":1,"16":29197539865526272,"45":753015961611014144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544557056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:08:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29197539865526272,"km_value":29197539865526.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961611014144,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544557056001,"power":14309,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753015961611014144}} 
[2026-08-21 09:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":159208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674782,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:22] local.INFO: GPS data processed {"connection_id":159208,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:22] local.INFO: Acknowledgment sent {"connection_id":159208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:23] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:08:23] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:08:23] local.INFO: IMEI packet received {"connection_id":161456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":161456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:08:24] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:08:24] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:08:24] local.INFO: Packet analysis {"connection_id":161456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:08:24] local.INFO: Extracted packet for processing {"connection_id":161456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08: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-08-21 09:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:08: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-08-21 09:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:08:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":161456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:24] local.INFO: GPS data processed {"connection_id":161456,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:24] local.INFO: Acknowledgment sent {"connection_id":161456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:26] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:08:26] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:08:26] local.INFO: IMEI packet received {"connection_id":159209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":159209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:08:31] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:08:31] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:08:31] local.INFO: IMEI packet received {"connection_id":159209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":159209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:08:33] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:08:33] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:08:33] local.INFO: Packet analysis {"connection_id":159209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:08:33] local.INFO: Extracted packet for processing {"connection_id":159209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":159209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:33] local.INFO: GPS data processed {"connection_id":159209,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:33] local.INFO: Acknowledgment sent {"connection_id":159209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:46] local.INFO: TCP Data received {"connection_id":160108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02264b748012d7a754005eb9c70000900fe1d..."} 
[2026-08-21 09:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02264b748012d7a754005eb9c70000900fe1d..."} 
[2026-08-21 09:08:46] local.INFO: Processing buffer {"connection_id":160108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02264b748012d7a754005eb9c70000900fe1d..."} 
[2026-08-21 09:08:46] local.INFO: Packet analysis {"connection_id":160108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:46] local.INFO: Extracted packet for processing {"connection_id":160108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":763000128,"raw_latitude":99327088,"longitude_deg":76.3000128,"latitude_deg":9.9327088,"altitude":9,"angle":254,"satellites":29,"speed":0,"hex_longitude":"2d7a7540","hex_latitude":"05eb9c70","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:08:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544550400001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644408809455616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824029439074267136,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:08:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787283421000,"timestamp_ms":1787283421000,"timestamp_seconds":1787283421,"priority":1,"record_length":96,"hex_timestamp":"000001a02264b748"} 
[2026-08-21 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-08-21 09:08:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":200,"data_length":795,"current_offset":136} 
[2026-08-21 09:08: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-08-21 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-08-21 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-08-21 09:08:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:08:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:08:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:08:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:08:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544550400001,"66":12743,"161":206,"87":13824,"24":0,"16":121644408809455616,"45":8824029439074267136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:08:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:08:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:08:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544550400001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:08:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:08:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644408809455616,"km_value":121644408809455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824029439074267136,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544550400001,"power":12743,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8824029439074267136}} 
[2026-08-21 09:08:46] local.INFO: DEBUG: GPS processor result {"connection_id":160108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:46] local.INFO: GPS data processed {"connection_id":160108,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:46] local.INFO: Acknowledgment sent {"connection_id":160108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:53] local.INFO: TCP Data received {"connection_id":159208,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02264fd98012d0a73c0070604a0000f007a23..."} 
[2026-08-21 09:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02264fd98012d0a73c0070604a0000f007a23..."} 
[2026-08-21 09:08:53] local.INFO: Processing buffer {"connection_id":159208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02264fd98012d0a73c0070604a0000f007a23..."} 
[2026-08-21 09:08:53] local.INFO: Packet analysis {"connection_id":159208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:53] local.INFO: Extracted packet for processing {"connection_id":159208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117834912,"longitude_deg":75.5659712,"latitude_deg":11.7834912,"altitude":15,"angle":122,"satellites":35,"speed":0,"hex_longitude":"2d0a73c0","hex_latitude":"070604a0","is_valid_coordinates":true} 
[2026-08-21 09:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544559872001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29197539865526272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099281408,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787283439000,"timestamp_ms":1787283439000,"timestamp_seconds":1787283439,"priority":1,"record_length":96,"hex_timestamp":"000001a02264fd98"} 
[2026-08-21 09:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 09:08:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159208,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544559872001,"66":13656,"153":206,"94":10240,"24":0,"16":29197539865526272,"45":753156699099281408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544559872001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:08:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29197539865526272,"km_value":29197539865526.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099281408,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544559872001,"power":13656,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753156699099281408}} 
[2026-08-21 09:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":159208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674786,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:53] local.INFO: GPS data processed {"connection_id":159208,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:53] local.INFO: Acknowledgment sent {"connection_id":159208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:08:55] local.INFO: TCP Data received {"connection_id":161456,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:08:55] local.INFO: Processing buffer {"connection_id":161456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022619a68012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:08:55] local.INFO: Packet analysis {"connection_id":161456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:08:55] local.INFO: Extracted packet for processing {"connection_id":161456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02261"} 
[2026-08-21 09:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544426496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283217000,"timestamp_ms":1787283217000,"timestamp_seconds":1787283217,"priority":1,"record_length":96,"hex_timestamp":"000001a022619a68"} 
[2026-08-21 09:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544426496001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544426496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544426496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":161456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:08:55] local.INFO: GPS data processed {"connection_id":161456,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:08:55] local.INFO: Acknowledgment sent {"connection_id":161456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:04] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:04] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:04] local.INFO: Packet analysis {"connection_id":159209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:09:04] local.INFO: Extracted packet for processing {"connection_id":159209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:09: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-08-21 09: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-08-21 09:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09: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-08-21 09:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":159209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:04] local.INFO: GPS data processed {"connection_id":159209,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:04] local.INFO: Acknowledgment sent {"connection_id":159209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:06] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:09:06] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:09:06] local.INFO: IMEI packet received {"connection_id":158921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":158921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:09:12] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:09:12] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:09:12] local.INFO: IMEI packet received {"connection_id":158921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":158921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:09:12] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02264de58012d7a728005eb9c20000900f320..."} 
[2026-08-21 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02264de58012d7a728005eb9c20000900f320..."} 
[2026-08-21 09:09:12] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02264de58012d7a728005eb9c20000900f320..."} 
[2026-08-21 09:09:12] local.INFO: Packet analysis {"connection_id":158921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:09:12] local.INFO: Extracted packet for processing {"connection_id":158921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:09:12] local.INFO: GPS Element Parsed {"raw_longitude":762999424,"raw_latitude":99327008,"longitude_deg":76.2999424,"latitude_deg":9.9327008,"altitude":9,"angle":243,"satellites":32,"speed":3,"hex_longitude":"2d7a7280","hex_latitude":"05eb9c20","is_valid_coordinates":true} 
[2026-08-21 09:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544555776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644443169193984,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824029439074267136,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787283431000,"timestamp_ms":1787283431000,"timestamp_seconds":1787283431,"priority":1,"record_length":96,"hex_timestamp":"000001a02264de58"} 
[2026-08-21 09:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 09:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544555776001,"66":12765,"161":206,"87":13824,"24":3,"16":121644443169193984,"45":8824029439074267136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544555776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644443169193984,"km_value":121644443169193.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824029439074267136,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544555776001,"power":12765,"unknown_161":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8824029439074267136}} 
[2026-08-21 09:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":158921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:13] local.INFO: GPS data processed {"connection_id":158921,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:13] local.INFO: Acknowledgment sent {"connection_id":158921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:16] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:09:16] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:09:16] local.INFO: IMEI packet received {"connection_id":158922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":158922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:09:18] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:09:18] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:09:18] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:09:21] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:09:21] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:09:21] local.INFO: IMEI packet received {"connection_id":158922,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":158922,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:09:22] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226668e0012d0a73800705e220001100d422..."} 
[2026-08-21 09:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226668e0012d0a73800705e220001100d422..."} 
[2026-08-21 09:09:22] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226668e0012d0a73800705e220001100d422..."} 
[2026-08-21 09:09:22] local.INFO: Packet analysis {"connection_id":158922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:22] local.INFO: Extracted packet for processing {"connection_id":158922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:22] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117826080,"longitude_deg":75.5659648,"latitude_deg":11.782608,"altitude":17,"angle":212,"satellites":34,"speed":14,"hex_longitude":"2d0a7380","hex_latitude":"0705e220","is_valid_coordinates":true} 
[2026-08-21 09:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544583680001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29198003721994240,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542818091008,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283532000,"timestamp_ms":1787283532000,"timestamp_seconds":1787283532,"priority":1,"record_length":96,"hex_timestamp":"000001a0226668e0"} 
[2026-08-21 09:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544583680001,"66":14439,"153":206,"94":10240,"24":14,"16":29198003721994240,"45":753508542818091008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544583680001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:09:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29198003721994240,"km_value":29198003721994.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542818091008,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544583680001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753508542818091008}} 
[2026-08-21 09:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":158922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674790,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:22] local.INFO: GPS data processed {"connection_id":158922,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:22] local.INFO: Acknowledgment sent {"connection_id":158922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:23] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:09:23] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:09:23] local.INFO: IMEI packet received {"connection_id":160109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":160109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:09:24] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:09:24] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:09:24] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:24] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09: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-08-21 09:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:24] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:24] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:31] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:09:31] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:09:31] local.INFO: IMEI packet received {"connection_id":159210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":159210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:09:36] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:09:36] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:09:36] local.INFO: IMEI packet received {"connection_id":159210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":159210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:09:37] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:37] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:37] local.INFO: Packet analysis {"connection_id":159210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:09:37] local.INFO: Extracted packet for processing {"connection_id":159210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:09:37] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":159210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:37] local.INFO: GPS data processed {"connection_id":159210,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:37] local.INFO: Acknowledgment sent {"connection_id":159210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:42] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:42] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022624e18012da67580054b39d8001101292d..."} 
[2026-08-21 09:09:42] local.INFO: Packet analysis {"connection_id":159210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:09:42] local.INFO: Extracted packet for processing {"connection_id":159210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02262"} 
[2026-08-21 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544438272001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787283263000,"timestamp_ms":1787283263000,"timestamp_seconds":1787283263,"priority":1,"record_length":96,"hex_timestamp":"000001a022624e18"} 
[2026-08-21 09:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 09:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544438272001,"66":25745,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544438272001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544438272001,"power":25745,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":159210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:42] local.INFO: GPS data processed {"connection_id":159210,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:42] local.INFO: Acknowledgment sent {"connection_id":159210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:43] local.INFO: TCP Data received {"connection_id":158921,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02264edf8012d7a718005eb9c180009010021..."} 
[2026-08-21 09:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02264edf8012d7a718005eb9c180009010021..."} 
[2026-08-21 09:09:43] local.INFO: Processing buffer {"connection_id":158921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02264edf8012d7a718005eb9c180009010021..."} 
[2026-08-21 09:09:43] local.INFO: Packet analysis {"connection_id":158921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:09:43] local.INFO: Extracted packet for processing {"connection_id":158921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02264"} 
[2026-08-21 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":762999168,"raw_latitude":99327000,"longitude_deg":76.2999168,"latitude_deg":9.9327,"altitude":9,"angle":256,"satellites":33,"speed":0,"hex_longitude":"2d7a7180","hex_latitude":"05eb9c18","is_valid_coordinates":true} 
[2026-08-21 09:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544558336001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644456054095872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8823255382888292352,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787283435000,"timestamp_ms":1787283435000,"timestamp_seconds":1787283435,"priority":1,"record_length":96,"hex_timestamp":"000001a02264edf8"} 
[2026-08-21 09:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 09:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544558336001,"66":12156,"161":206,"87":13824,"24":0,"16":121644456054095872,"45":8823255382888292352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544558336001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:09:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644456054095872,"km_value":121644456054095.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8823255382888292352,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544558336001,"power":12156,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8823255382888292352}} 
[2026-08-21 09:09:43] local.INFO: DEBUG: GPS processor result {"connection_id":158921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:43] local.INFO: GPS data processed {"connection_id":158921,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:43] local.INFO: Acknowledgment sent {"connection_id":158921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:53] local.INFO: TCP Data received {"connection_id":158922,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022667498012d0a72400705df00001200b024..."} 
[2026-08-21 09:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022667498012d0a72400705df00001200b024..."} 
[2026-08-21 09:09:53] local.INFO: Processing buffer {"connection_id":158922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022667498012d0a72400705df00001200b024..."} 
[2026-08-21 09:09:53] local.INFO: Packet analysis {"connection_id":158922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:53] local.INFO: Extracted packet for processing {"connection_id":158922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":755659328,"raw_latitude":117825280,"longitude_deg":75.5659328,"latitude_deg":11.782528,"altitude":18,"angle":176,"satellites":36,"speed":9,"hex_longitude":"2d0a7240","hex_latitude":"0705df00","is_valid_coordinates":true} 
[2026-08-21 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544584192001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29198046671667200,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330352836608,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787283535000,"timestamp_ms":1787283535000,"timestamp_seconds":1787283535,"priority":1,"record_length":96,"hex_timestamp":"000001a022667498"} 
[2026-08-21 09:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158922,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544584192001,"66":14515,"153":206,"94":10240,"24":9,"16":29198046671667200,"45":753086330352836608},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544584192001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:53] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:09:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29198046671667200,"km_value":29198046671667.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330352836608,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544584192001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":753086330352836608}} 
[2026-08-21 09:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":158922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:53] local.INFO: GPS data processed {"connection_id":158922,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:53] local.INFO: Acknowledgment sent {"connection_id":158922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:09:55] local.INFO: TCP Data received {"connection_id":160109,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:09:55] local.INFO: Processing buffer {"connection_id":160109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:09:55] local.INFO: Packet analysis {"connection_id":160109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:55] local.INFO: Extracted packet for processing {"connection_id":160109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:09:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:09:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:09:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:09:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:09:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":160109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:09:55] local.INFO: GPS data processed {"connection_id":160109,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:09:55] local.INFO: Acknowledgment sent {"connection_id":160109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:10:11] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:10:11] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:10:11] local.INFO: IMEI packet received {"connection_id":161457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":161457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:10:15] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:15] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:15] local.INFO: IMEI packet received {"connection_id":159211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":159211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:10:16] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:16] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:16] local.INFO: IMEI packet received {"connection_id":159211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":159211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:10:17] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:10:17] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:10:17] local.INFO: IMEI packet received {"connection_id":161457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":161457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:10:17] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022654000012d7a710005eb9c400009010725..."} 
[2026-08-21 09:10:17] local.INFO: TCP Data received {"connection_id":158923,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022654000012d7a710005eb9c400009010725..."} 
[2026-08-21 09:10:17] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022654000012d7a710005eb9c400009010725..."} 
[2026-08-21 09:10:17] local.INFO: Packet analysis {"connection_id":161457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:10:17] local.INFO: Extracted packet for processing {"connection_id":161457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":762999040,"raw_latitude":99327040,"longitude_deg":76.299904,"latitude_deg":9.932704,"altitude":9,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d7a7100","hex_latitude":"05eb9c40","is_valid_coordinates":true} 
[2026-08-21 09:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544559360001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644464644030464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822973907911579648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787283456000,"timestamp_ms":1787283456000,"timestamp_seconds":1787283456,"priority":1,"record_length":96,"hex_timestamp":"000001a022654000"} 
[2026-08-21 09:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 09:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:10:17] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:10:17] local.INFO: IMEI packet received {"connection_id":158923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":158923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544559360001,"66":12526,"161":206,"87":13824,"24":0,"16":121644464644030464,"45":8822973907911579648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544559360001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:10:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:10:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644464644030464,"km_value":121644464644030.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822973907911579648,"description":"Unknown IO ID 45"} 
[2026-08-21 09:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544559360001,"power":12526,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822973907911579648}} 
[2026-08-21 09:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":161457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:10:18] local.INFO: GPS data processed {"connection_id":161457,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:10:18] local.INFO: Acknowledgment sent {"connection_id":161457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:10:22] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:22] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:10:22] local.INFO: IMEI packet received {"connection_id":159211,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":159211,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:10:22] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022669ba8012d0a75800705cbc0001500a325..."} 
[2026-08-21 09:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022669ba8012d0a75800705cbc0001500a325..."} 
[2026-08-21 09:10:22] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022669ba8012d0a75800705cbc0001500a325..."} 
[2026-08-21 09:10:22] local.INFO: Packet analysis {"connection_id":159211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:22] local.INFO: Extracted packet for processing {"connection_id":159211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117820352,"longitude_deg":75.566016,"latitude_deg":11.7820352,"altitude":21,"angle":163,"satellites":37,"speed":15,"hex_longitude":"2d0a7580","hex_latitude":"0705cbc0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544584960001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29198291484803072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752734486631743488,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283545000,"timestamp_ms":1787283545000,"timestamp_seconds":1787283545,"priority":1,"record_length":96,"hex_timestamp":"000001a022669ba8"} 
[2026-08-21 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-08-21 09:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 09:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544584960001,"66":14265,"153":206,"94":10240,"24":15,"16":29198291484803072,"45":752734486631743488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 09:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544584960001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:10:22] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 09:10:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29198291484803072,"km_value":29198291484803.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":752734486631743488,"description":"Unknown IO ID 45"} 
[2026-08-21 09:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544584960001,"power":14265,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":752734486631743488}} 
[2026-08-21 09:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":159211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:10:23] local.INFO: GPS data processed {"connection_id":159211,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:10:23] local.INFO: Acknowledgment sent {"connection_id":159211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:10:23] local.INFO: TCP Data received {"connection_id":158923,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:10:23] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:10:23] local.INFO: IMEI packet received {"connection_id":158923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":158923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:10:24] local.INFO: TCP Data received {"connection_id":158923,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:10:24] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:10:24] local.INFO: Packet analysis {"connection_id":158923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:24] local.INFO: Extracted packet for processing {"connection_id":158923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:10: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-08-21 09:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:10:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:10:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":158923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:10:24] local.INFO: GPS data processed {"connection_id":158923,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:10:24] local.INFO: Acknowledgment sent {"connection_id":158923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:10:26] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:10:26] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:10:26] local.INFO: IMEI packet received {"connection_id":159212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":159212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:10:31] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:10:31] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:10:31] local.INFO: IMEI packet received {"connection_id":159212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":159212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:10:32] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:10:32] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:10:32] local.INFO: Packet analysis {"connection_id":159212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:32] local.INFO: Extracted packet for processing {"connection_id":159212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:10:32] 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-08-21 09:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:10:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":159212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:10:32] local.INFO: GPS data processed {"connection_id":159212,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:10:32] local.INFO: Acknowledgment sent {"connection_id":159212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:10:34] local.INFO: TCP Data received {"connection_id":161457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022659208012d7a710005eb9c400009010724..."} 
[2026-08-21 09:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022659208012d7a710005eb9c400009010724..."} 
[2026-08-21 09:10:34] local.INFO: Processing buffer {"connection_id":161457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022659208012d7a710005eb9c400009010724..."} 
[2026-08-21 09:10:34] local.INFO: Packet analysis {"connection_id":161457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:10:34] local.INFO: Extracted packet for processing {"connection_id":161457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:10:34] local.INFO: GPS Element Parsed {"raw_longitude":762999040,"raw_latitude":99327040,"longitude_deg":76.299904,"latitude_deg":9.932704,"altitude":9,"angle":263,"satellites":36,"speed":0,"hex_longitude":"2d7a7100","hex_latitude":"05eb9c40","is_valid_coordinates":true} 
[2026-08-21 09:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544564736001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644464644030464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822833170423234560,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787283477000,"timestamp_ms":1787283477000,"timestamp_seconds":1787283477,"priority":1,"record_length":96,"hex_timestamp":"000001a022659208"} 
[2026-08-21 09:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 09:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544564736001,"66":12624,"161":206,"87":13824,"24":0,"16":121644464644030464,"45":8822833170423234560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544564736001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:10:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:10:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644464644030464,"km_value":121644464644030.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822833170423234560,"description":"Unknown IO ID 45"} 
[2026-08-21 09:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544564736001,"power":12624,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822833170423234560}} 
[2026-08-21 09:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":161457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:10:34] local.INFO: GPS data processed {"connection_id":161457,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:10:34] local.INFO: Acknowledgment sent {"connection_id":161457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:10:54] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02267d428012d0a530007057c58001200fc24..."} 
[2026-08-21 09:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02267d428012d0a530007057c58001200fc24..."} 
[2026-08-21 09:10:54] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02267d428012d0a530007057c58001200fc24..."} 
[2026-08-21 09:10:54] local.INFO: Packet analysis {"connection_id":159211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:10:54] local.INFO: Extracted packet for processing {"connection_id":159211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:10:54] local.INFO: GPS Element Parsed {"raw_longitude":755651328,"raw_latitude":117800024,"longitude_deg":75.5651328,"latitude_deg":11.7800024,"altitude":18,"angle":252,"satellites":36,"speed":13,"hex_longitude":"2d0a5300","hex_latitude":"07057c58","is_valid_coordinates":true} 
[2026-08-21 09:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544605184001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29199579974991872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":750130843091537920,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787283625000,"timestamp_ms":1787283625000,"timestamp_seconds":1787283625,"priority":1,"record_length":96,"hex_timestamp":"000001a02267d428"} 
[2026-08-21 09:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:10: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-08-21 09: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 09:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159211,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544605184001,"66":14396,"165":206,"94":10240,"24":13,"16":29199579974991872,"45":750130843091537920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544605184001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:10:54] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:10:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29199579974991872,"km_value":29199579974991.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":750130843091537920,"description":"Unknown IO ID 45"} 
[2026-08-21 09:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544605184001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":750130843091537920}} 
[2026-08-21 09:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":159211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674802,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:10:54] local.INFO: GPS data processed {"connection_id":159211,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:10:54] local.INFO: Acknowledgment sent {"connection_id":159211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:10:55] local.INFO: TCP Data received {"connection_id":158923,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:10:55] local.INFO: Processing buffer {"connection_id":158923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:10:55] local.INFO: Packet analysis {"connection_id":158923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:55] local.INFO: Extracted packet for processing {"connection_id":158923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 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-08-21 09:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":158923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:10:55] local.INFO: GPS data processed {"connection_id":158923,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:10:55] local.INFO: Acknowledgment sent {"connection_id":158923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:04] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:11:04] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:11:04] local.INFO: Packet analysis {"connection_id":159212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:04] local.INFO: Extracted packet for processing {"connection_id":159212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:11:04] 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-08-21 09:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":159212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:04] local.INFO: GPS data processed {"connection_id":159212,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:04] local.INFO: Acknowledgment sent {"connection_id":159212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:05] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:05] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:05] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:11:09] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:09] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:09] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:11:12] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:12] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:11:12] local.INFO: IMEI packet received {"connection_id":160110,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":160110,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:11:12] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02265b148012d7a6e8005eb9c18000900f325..."} 
[2026-08-21 09:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02265b148012d7a6e8005eb9c18000900f325..."} 
[2026-08-21 09:11:12] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02265b148012d7a6e8005eb9c18000900f325..."} 
[2026-08-21 09:11:12] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:11:12] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:11:12] local.INFO: GPS Element Parsed {"raw_longitude":762998400,"raw_latitude":99327000,"longitude_deg":76.29984,"latitude_deg":9.9327,"altitude":9,"angle":243,"satellites":37,"speed":3,"hex_longitude":"2d7a6e80","hex_latitude":"05eb9c18","is_valid_coordinates":true} 
[2026-08-21 09:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544570112001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644490413834240,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822833170423234560,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787283485000,"timestamp_ms":1787283485000,"timestamp_seconds":1787283485,"priority":1,"record_length":96,"hex_timestamp":"000001a02265b148"} 
[2026-08-21 09:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 09:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544570112001,"66":12722,"161":206,"87":13824,"24":3,"16":121644490413834240,"45":8822833170423234560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544570112001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:11:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644490413834240,"km_value":121644490413834.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822833170423234560,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544570112001,"power":12722,"unknown_161":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8822833170423234560}} 
[2026-08-21 09:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:13] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:13] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:16] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:16] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:16] local.INFO: IMEI packet received {"connection_id":158924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":158924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:11:17] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02265dc40012d7a66c005eb9898000801011f..."} 
[2026-08-21 09:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02265dc40012d7a66c005eb9898000801011f..."} 
[2026-08-21 09:11:17] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02265dc40012d7a66c005eb9898000801011f..."} 
[2026-08-21 09:11:17] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:11:17] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02265"} 
[2026-08-21 09:11:17] local.INFO: GPS Element Parsed {"raw_longitude":762996416,"raw_latitude":99326104,"longitude_deg":76.2996416,"latitude_deg":9.9326104,"altitude":8,"angle":257,"satellites":31,"speed":7,"hex_longitude":"2d7a66c0","hex_latitude":"05eb9898","is_valid_coordinates":true} 
[2026-08-21 09:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544572160001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644597788016640,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822129482981447680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787283496000,"timestamp_ms":1787283496000,"timestamp_seconds":1787283496,"priority":1,"record_length":96,"hex_timestamp":"000001a02265dc40"} 
[2026-08-21 09:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 09:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544572160001,"66":12624,"161":206,"87":13824,"24":7,"16":121644597788016640,"45":8822129482981447680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544572160001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:11:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644597788016640,"km_value":121644597788016.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822129482981447680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544572160001,"power":12624,"unknown_161":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8822129482981447680}} 
[2026-08-21 09:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:17] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:17] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:17] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:11:18] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:11:18] local.INFO: IMEI packet received {"connection_id":158925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":158925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:11:19] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:19] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:19] local.INFO: IMEI packet received {"connection_id":158924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:11:19] local.INFO: IMEI acknowledgment sent {"connection_id":158924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:11:22] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:22] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:11:22] local.INFO: IMEI packet received {"connection_id":158924,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":158924,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:11:22] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02267dbf8012d0a510007057be80012011324..."} 
[2026-08-21 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02267dbf8012d0a510007057be80012011324..."} 
[2026-08-21 09:11:22] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02267dbf8012d0a510007057be80012011324..."} 
[2026-08-21 09:11:22] local.INFO: Packet analysis {"connection_id":158924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:11:22] local.INFO: Extracted packet for processing {"connection_id":158924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":755650816,"raw_latitude":117799912,"longitude_deg":75.5650816,"latitude_deg":11.7799912,"altitude":18,"angle":275,"satellites":36,"speed":7,"hex_longitude":"2d0a5100","hex_latitude":"07057be8","is_valid_coordinates":true} 
[2026-08-21 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544608000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29199605744795648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743938393603069952,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283627000,"timestamp_ms":1787283627000,"timestamp_seconds":1787283627,"priority":1,"record_length":96,"hex_timestamp":"000001a02267dbf8"} 
[2026-08-21 09:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544608000001,"66":13798,"165":206,"94":10240,"24":7,"16":29199605744795648,"45":743938393603069952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 09:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544608000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 09:11:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29199605744795648,"km_value":29199605744795.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":743938393603069952,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544608000001,"power":13798,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":743938393603069952}} 
[2026-08-21 09:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":158924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:23] local.INFO: GPS data processed {"connection_id":158924,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:23] local.INFO: Acknowledgment sent {"connection_id":158924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:23] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:11:23] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:11:23] local.INFO: IMEI packet received {"connection_id":158925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":158925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:11:24] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:11:24] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:11:24] local.INFO: Packet analysis {"connection_id":158925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:24] local.INFO: Extracted packet for processing {"connection_id":158925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11: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-08-21 09:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:11: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-08-21 09:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:11:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:11:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":158925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:24] local.INFO: GPS data processed {"connection_id":158925,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:24] local.INFO: Acknowledgment sent {"connection_id":158925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:26] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:11:26] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:11:26] local.INFO: IMEI packet received {"connection_id":161458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":161458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:11:31] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:11:31] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:11:31] local.INFO: IMEI packet received {"connection_id":161458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":161458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:11:32] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:11:32] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:11:32] local.INFO: Packet analysis {"connection_id":161458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:32] local.INFO: Extracted packet for processing {"connection_id":161458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:11:32] 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-08-21 09:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":161458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:32] local.INFO: GPS data processed {"connection_id":161458,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:32] local.INFO: Acknowledgment sent {"connection_id":161458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:48] local.INFO: TCP Data received {"connection_id":160110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022662e48012d7a638005eb97780007010623..."} 
[2026-08-21 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022662e48012d7a638005eb97780007010623..."} 
[2026-08-21 09:11:48] local.INFO: Processing buffer {"connection_id":160110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022662e48012d7a638005eb97780007010623..."} 
[2026-08-21 09:11:48] local.INFO: Packet analysis {"connection_id":160110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:48] local.INFO: Extracted packet for processing {"connection_id":160110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:48] local.INFO: GPS Element Parsed {"raw_longitude":762995584,"raw_latitude":99325816,"longitude_deg":76.2995584,"latitude_deg":9.9325816,"altitude":7,"angle":262,"satellites":35,"speed":0,"hex_longitude":"2d7a6380","hex_latitude":"05eb9778","is_valid_coordinates":true} 
[2026-08-21 09:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544574976001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644640737689600,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819948051911710720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787283517000,"timestamp_ms":1787283517000,"timestamp_seconds":1787283517,"priority":1,"record_length":96,"hex_timestamp":"000001a022662e48"} 
[2026-08-21 09:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 09:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160110,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544574976001,"66":12461,"161":206,"87":13824,"24":0,"16":121644640737689600,"45":8819948051911710720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544574976001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:48] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:11:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644640737689600,"km_value":121644640737689.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819948051911710720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544574976001,"power":12461,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8819948051911710720}} 
[2026-08-21 09:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":160110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:48] local.INFO: GPS data processed {"connection_id":160110,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:48] local.INFO: Acknowledgment sent {"connection_id":160110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:54] local.INFO: TCP Data received {"connection_id":158924,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022682a18012d0a500007057b980013011324..."} 
[2026-08-21 09:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022682a18012d0a500007057b980013011324..."} 
[2026-08-21 09:11:54] local.INFO: Processing buffer {"connection_id":158924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022682a18012d0a500007057b980013011324..."} 
[2026-08-21 09:11:54] local.INFO: Packet analysis {"connection_id":158924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:11:54] local.INFO: Extracted packet for processing {"connection_id":158924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:11:54] local.INFO: GPS Element Parsed {"raw_longitude":755650560,"raw_latitude":117799832,"longitude_deg":75.565056,"latitude_deg":11.7799832,"altitude":19,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d0a5000","hex_latitude":"07057b98","is_valid_coordinates":true} 
[2026-08-21 09:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544608512001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29199618629697536,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743375443649619968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787283647000,"timestamp_ms":1787283647000,"timestamp_seconds":1787283647,"priority":1,"record_length":96,"hex_timestamp":"000001a022682a18"} 
[2026-08-21 09:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11: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-08-21 09:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-21 09:11: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-08-21 09:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158924,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544608512001,"66":14407,"177":206,"94":10240,"24":0,"16":29199618629697536,"45":743375443649619968},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544608512001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:54] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:11:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29199618629697536,"km_value":29199618629697.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":743375443649619968,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544608512001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":743375443649619968}} 
[2026-08-21 09:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":158924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674811,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:54] local.INFO: GPS data processed {"connection_id":158924,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:54] local.INFO: Acknowledgment sent {"connection_id":158924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:11:55] local.INFO: TCP Data received {"connection_id":158925,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:11:55] local.INFO: Processing buffer {"connection_id":158925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:11:55] local.INFO: Packet analysis {"connection_id":158925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:55] local.INFO: Extracted packet for processing {"connection_id":158925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:11:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":158925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:11:55] local.INFO: GPS data processed {"connection_id":158925,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:11:55] local.INFO: Acknowledgment sent {"connection_id":158925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:03] local.INFO: TCP Data received {"connection_id":161458,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:12:03] local.INFO: Processing buffer {"connection_id":161458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:12:03] local.INFO: Packet analysis {"connection_id":161458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:03] local.INFO: Extracted packet for processing {"connection_id":161458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:03] 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-08-21 09:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":161458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:03] local.INFO: GPS data processed {"connection_id":161458,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:03] local.INFO: Acknowledgment sent {"connection_id":161458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:07] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:07] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:07] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:12:08] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:08] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:08] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:12:12] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:12] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:12:12] local.INFO: IMEI packet received {"connection_id":160111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":160111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:12:13] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022667c68012d7a628005eb96d8000700f620..."} 
[2026-08-21 09:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022667c68012d7a628005eb96d8000700f620..."} 
[2026-08-21 09:12:13] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022667c68012d7a628005eb96d8000700f620..."} 
[2026-08-21 09:12:13] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:13] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:13] local.INFO: GPS Element Parsed {"raw_longitude":762995328,"raw_latitude":99325656,"longitude_deg":76.2995328,"latitude_deg":9.9325656,"altitude":7,"angle":246,"satellites":32,"speed":2,"hex_longitude":"2d7a6280","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-21 09:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580352001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644657917558784,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819033258237327360,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787283537000,"timestamp_ms":1787283537000,"timestamp_seconds":1787283537,"priority":1,"record_length":96,"hex_timestamp":"000001a022667c68"} 
[2026-08-21 09:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580352001,"66":12809,"161":206,"87":13824,"24":2,"16":121644657917558784,"45":8819033258237327360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580352001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:12:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644657917558784,"km_value":121644657917558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819033258237327360,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580352001,"power":12809,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8819033258237327360}} 
[2026-08-21 09:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:13] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:13] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:16] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:12:16] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:12:16] local.INFO: IMEI packet received {"connection_id":159213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":159213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:12:17] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02266ce70012d7a620005eb96d8000700ff24..."} 
[2026-08-21 09:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266ce70012d7a620005eb96d8000700ff24..."} 
[2026-08-21 09:12:17] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266ce70012d7a620005eb96d8000700ff24..."} 
[2026-08-21 09:12:17] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:17] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:17] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":99325656,"longitude_deg":76.29952,"latitude_deg":9.9325656,"altitude":7,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d7a6200","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-21 09:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544585472001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644662212526080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818751783260575744,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787283558000,"timestamp_ms":1787283558000,"timestamp_seconds":1787283558,"priority":1,"record_length":96,"hex_timestamp":"000001a02266ce70"} 
[2026-08-21 09:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":34,"raw_value":7268343610703770240,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2621440009,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029933,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1469264193906478304,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":47,"raw_value":8935367256561471063,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:17] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,161,87,24,241,157,16,43,160,46,45,128,151,7,35,10,66,220,192,152,8,31,177,1,240,178,227,34,235,4,113,205,64,37,239,48,2,176,5,9,47,54,253],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-08-21 09:12:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504673775565012992,"timestamp_seconds":504673775565013.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544585472001,"66":13352,"161":206,"87":13824,"24":0,"16":121644662212526080,"45":8818751783260575744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544585472001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:12:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644662212526080,"km_value":121644662212526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818751783260575744,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544585472001,"power":13352,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818751783260575744}} 
[2026-08-21 09:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:17] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:17] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:22] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:12:22] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:12:22] local.INFO: IMEI packet received {"connection_id":159213,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":159213,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:12:22] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022687c20012d0a500007057b980013011324..."} 
[2026-08-21 09:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022687c20012d0a500007057b980013011324..."} 
[2026-08-21 09:12:22] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022687c20012d0a500007057b980013011324..."} 
[2026-08-21 09:12:22] local.INFO: Packet analysis {"connection_id":159213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:12:22] local.INFO: Extracted packet for processing {"connection_id":159213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:12:22] local.INFO: GPS Element Parsed {"raw_longitude":755650560,"raw_latitude":117799832,"longitude_deg":75.565056,"latitude_deg":11.7799832,"altitude":19,"angle":275,"satellites":36,"speed":0,"hex_longitude":"2d0a5000","hex_latitude":"07057b98","is_valid_coordinates":true} 
[2026-08-21 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544613632001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29199618629697536,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743093968672888832,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787283668000,"timestamp_ms":1787283668000,"timestamp_seconds":1787283668,"priority":1,"record_length":96,"hex_timestamp":"000001a022687c20"} 
[2026-08-21 09:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:12:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544613632001,"66":14407,"177":206,"94":10240,"24":0,"16":29199618629697536,"45":743093968672888832},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544613632001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:12:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29199618629697536,"km_value":29199618629697.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":743093968672888832,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544613632001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":743093968672888832}} 
[2026-08-21 09:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":159213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674816,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:22] local.INFO: GPS data processed {"connection_id":159213,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:22] local.INFO: Acknowledgment sent {"connection_id":159213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:23] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:12:23] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:12:23] local.INFO: IMEI packet received {"connection_id":159214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":159214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:12:26] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:12:26] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:12:26] local.INFO: IMEI packet received {"connection_id":161459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":161459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:12:28] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:12:28] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:12:28] local.INFO: IMEI packet received {"connection_id":159214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":159214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:12:29] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:12:29] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:12:29] local.INFO: Packet analysis {"connection_id":159214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:29] local.INFO: Extracted packet for processing {"connection_id":159214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:12:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":159214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:29] local.INFO: GPS data processed {"connection_id":159214,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:29] local.INFO: Acknowledgment sent {"connection_id":159214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:31] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:12:31] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:12:31] local.INFO: IMEI packet received {"connection_id":161459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":161459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:12:32] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:12:32] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:12:32] local.INFO: Packet analysis {"connection_id":161459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:32] local.INFO: Extracted packet for processing {"connection_id":161459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:32] 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-08-21 09:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":161459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:32] local.INFO: GPS data processed {"connection_id":161459,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:32] local.INFO: Acknowledgment sent {"connection_id":161459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:33] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:12:33] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:12:33] local.INFO: Packet analysis {"connection_id":159214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:33] local.INFO: Extracted packet for processing {"connection_id":159214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:12:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":159214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:33] local.INFO: GPS data processed {"connection_id":159214,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:33] local.INFO: Acknowledgment sent {"connection_id":159214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:48] local.INFO: TCP Data received {"connection_id":160111,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022672078012d7a620005eb96d8000700ff25..."} 
[2026-08-21 09:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022672078012d7a620005eb96d8000700ff25..."} 
[2026-08-21 09:12:48] local.INFO: Processing buffer {"connection_id":160111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022672078012d7a620005eb96d8000700ff25..."} 
[2026-08-21 09:12:48] local.INFO: Packet analysis {"connection_id":160111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:12:48] local.INFO: Extracted packet for processing {"connection_id":160111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":99325656,"longitude_deg":76.29952,"latitude_deg":9.9325656,"altitude":7,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d7a6200","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-21 09:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544590848001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644662212526080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045772220416,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787283579000,"timestamp_ms":1787283579000,"timestamp_seconds":1787283579,"priority":1,"record_length":96,"hex_timestamp":"000001a022672078"} 
[2026-08-21 09:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544590848001,"66":12645,"161":206,"87":13824,"24":0,"16":121644662212526080,"45":8818611045772220416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544590848001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:48] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:12:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644662212526080,"km_value":121644662212526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045772220416,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544590848001,"power":12645,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818611045772220416}} 
[2026-08-21 09:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":160111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:48] local.INFO: GPS data processed {"connection_id":160111,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:48] local.INFO: Acknowledgment sent {"connection_id":160111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:12:53] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226a06a8012d09ec8007057d200009010325..."} 
[2026-08-21 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226a06a8012d09ec8007057d200009010325..."} 
[2026-08-21 09:12:53] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226a06a8012d09ec8007057d200009010325..."} 
[2026-08-21 09:12:53] local.INFO: Packet analysis {"connection_id":159213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:12:53] local.INFO: Extracted packet for processing {"connection_id":159213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:12:53] local.INFO: GPS Element Parsed {"raw_longitude":755625088,"raw_latitude":117800224,"longitude_deg":75.5625088,"latitude_deg":11.7800224,"altitude":9,"angle":259,"satellites":37,"speed":13,"hex_longitude":"2d09ec80","hex_latitude":"07057d20","is_valid_coordinates":true} 
[2026-08-21 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544644352001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29200958659493888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716002002164594688,"note":"Value kept but may cause issues"} 
[2026-08-21 09:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787283769000,"timestamp_ms":1787283769000,"timestamp_seconds":1787283769,"priority":1,"record_length":96,"hex_timestamp":"000001a0226a06a8"} 
[2026-08-21 09:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:12:53] 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-08-21 09:12:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159213,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544644352001,"66":14407,"177":206,"94":10240,"24":13,"16":29200958659493888,"45":716002002164594688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544644352001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:12:53] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:12:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29200958659493888,"km_value":29200958659493.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":716002002164594688,"description":"Unknown IO ID 45"} 
[2026-08-21 09:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544644352001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":716002002164594688}} 
[2026-08-21 09:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":159213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674821,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:12:53] local.INFO: GPS data processed {"connection_id":159213,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:12:53] local.INFO: Acknowledgment sent {"connection_id":159213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:03] local.INFO: TCP Data received {"connection_id":161459,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:13:03] local.INFO: Processing buffer {"connection_id":161459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:13:03] local.INFO: Packet analysis {"connection_id":161459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:03] local.INFO: Extracted packet for processing {"connection_id":161459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:13: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":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:03] 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-08-21 09:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":161459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:04] local.INFO: GPS data processed {"connection_id":161459,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:04] local.INFO: Acknowledgment sent {"connection_id":161459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:05] local.INFO: TCP Data received {"connection_id":158926,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:05] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:05] local.INFO: IMEI packet received {"connection_id":158926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":158926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:13:06] local.INFO: TCP Data received {"connection_id":158926,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:06] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:06] local.INFO: IMEI packet received {"connection_id":158926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":158926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:13:12] local.INFO: TCP Data received {"connection_id":158926,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:12] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:13:12] local.INFO: IMEI packet received {"connection_id":158926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":158926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:13:13] local.INFO: TCP Data received {"connection_id":158926,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022677280012d7a620005eb96d8000700ff26..."} 
[2026-08-21 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022677280012d7a620005eb96d8000700ff26..."} 
[2026-08-21 09:13:13] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022677280012d7a620005eb96d8000700ff26..."} 
[2026-08-21 09:13:13] local.INFO: Packet analysis {"connection_id":158926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:13:13] local.INFO: Extracted packet for processing {"connection_id":158926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:13:13] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":99325656,"longitude_deg":76.29952,"latitude_deg":9.9325656,"altitude":7,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d7a6200","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544596224001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644662212526080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045772220416,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787283600000,"timestamp_ms":1787283600000,"timestamp_seconds":1787283600,"priority":1,"record_length":96,"hex_timestamp":"000001a022677280"} 
[2026-08-21 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-08-21 09:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544596224001,"66":12613,"161":206,"87":13824,"24":0,"16":121644662212526080,"45":8818611045772220416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544596224001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:13:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644662212526080,"km_value":121644662212526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045772220416,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544596224001,"power":12613,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818611045772220416}} 
[2026-08-21 09:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":158926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674823,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:13] local.INFO: GPS data processed {"connection_id":158926,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:13] local.INFO: Acknowledgment sent {"connection_id":158926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:18] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:13:18] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:13:18] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:13:20] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:20] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:20] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:13:20] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:13:21] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:21] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:21] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:13:22] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:22] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:22] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:13:23] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:13:23] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:13:23] local.INFO: IMEI packet received {"connection_id":160112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":160112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:13:24] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:13:24] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:13:24] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:24] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13: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-08-21 09:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:13: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-08-21 09:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:13:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:24] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:24] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:26] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:13:26] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:13:26] local.INFO: IMEI packet received {"connection_id":159215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":159215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:13:26] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:26] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:13:26] local.INFO: IMEI packet received {"connection_id":160113,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":160113,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:13:27] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.106.6.34","data_length":1340,"data_hex":"000000000000030f8e0a000001a0226a77f0012d09ce40070575b8000c011a24..."} 
[2026-08-21 09:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a0226a77f0012d09ce40070575b8000c011a24..."} 
[2026-08-21 09:13:27] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a0226a77f0012d09ce40070575b8000c011a24..."} 
[2026-08-21 09:13:27] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:27] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":755617344,"raw_latitude":117798328,"longitude_deg":75.5617344,"latitude_deg":11.7798328,"altitude":12,"angle":282,"satellites":36,"speed":19,"hex_longitude":"2d09ce40","hex_latitude":"070575b8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544650752001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29201495530405888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":709457708955297792,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787283798000,"timestamp_ms":1787283798000,"timestamp_seconds":1787283798,"priority":1,"record_length":96,"hex_timestamp":"000001a0226a77f0"} 
[2026-08-21 09:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544650752001,"66":14407,"177":206,"94":10240,"24":19,"16":29201495530405888,"45":709457708955297792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544650752001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:27] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:13:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29201495530405888,"km_value":29201495530405.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":709457708955297792,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544650752001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":709457708955297792}} 
[2026-08-21 09:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:27] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:27] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:27] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:27] local.INFO: Incomplete packet, waiting for more data {"connection_id":160113,"needed":795,"available":545} 
[2026-08-21 09:13:28] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.106.6.34","data_length":1045,"data_hex":"e300100067be4c00000000000001a0226a2db8012d09ea0007057048000a00d5..."} 
[2026-08-21 09:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":1045,"packet_hex":"e300100067be4c00000000000001a0226a2db8012d09ea0007057048000a00d5..."} 
[2026-08-21 09:13:28] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0226a7fc0012d09ca40070575c8000c010c24..."} 
[2026-08-21 09:13:28] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:28] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755616320,"raw_latitude":117798344,"longitude_deg":75.561632,"latitude_deg":11.7798344,"altitude":12,"angle":268,"satellites":36,"speed":23,"hex_longitude":"2d09ca40","hex_latitude":"070575c8","is_valid_coordinates":true} 
[2026-08-21 09:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544652288001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29201547070013440,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":706572590444296192,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787283800000,"timestamp_ms":1787283800000,"timestamp_seconds":1787283800,"priority":1,"record_length":96,"hex_timestamp":"000001a0226a7fc0"} 
[2026-08-21 09:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544652288001,"66":14363,"177":206,"94":10240,"24":23,"16":29201547070013440,"45":706572590444296192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544652288001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29201547070013440,"km_value":29201547070013.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":706572590444296192,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544652288001,"power":14363,"unknown_177":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":706572590444296192}} 
[2026-08-21 09:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674826,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:28] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:28] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:28] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:28] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755614080,"raw_latitude":117798208,"longitude_deg":75.561408,"latitude_deg":11.7798208,"altitude":12,"angle":253,"satellites":36,"speed":15,"hex_longitude":"2d09c180","hex_latitude":"07057540","is_valid_coordinates":true} 
[2026-08-21 09:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544652800001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29201650149228544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705446690537457664,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787283804000,"timestamp_ms":1787283804000,"timestamp_seconds":1787283804,"priority":1,"record_length":96,"hex_timestamp":"000001a0226a8f60"} 
[2026-08-21 09:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:28] 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-08-21 09:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544652800001,"66":14439,"177":206,"94":10240,"24":15,"16":29201650149228544,"45":705446690537457664},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544652800001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29201650149228544,"km_value":29201650149228.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":705446690537457664,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544652800001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":705446690537457664}} 
[2026-08-21 09:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:28] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:28] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:31] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:13:31] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:13:31] local.INFO: IMEI packet received {"connection_id":159215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":159215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:13:32] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:13:32] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:13:32] local.INFO: Packet analysis {"connection_id":159215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:32] local.INFO: Extracted packet for processing {"connection_id":159215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:32] 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-08-21 09: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-08-21 09:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":159215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:32] local.INFO: GPS data processed {"connection_id":159215,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:32] local.INFO: Acknowledgment sent {"connection_id":159215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:43] local.INFO: TCP Data received {"connection_id":158926,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02267c488012d7a620005eb96d8000700ff22..."} 
[2026-08-21 09:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02267c488012d7a620005eb96d8000700ff22..."} 
[2026-08-21 09:13:43] local.INFO: Processing buffer {"connection_id":158926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02267c488012d7a620005eb96d8000700ff22..."} 
[2026-08-21 09:13:43] local.INFO: Packet analysis {"connection_id":158926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:13:43] local.INFO: Extracted packet for processing {"connection_id":158926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02267"} 
[2026-08-21 09:13:43] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":99325656,"longitude_deg":76.29952,"latitude_deg":9.9325656,"altitude":7,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d7a6200","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-21 09:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544601600001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644662212526080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045772220416,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787283621000,"timestamp_ms":1787283621000,"timestamp_seconds":1787283621,"priority":1,"record_length":96,"hex_timestamp":"000001a02267c488"} 
[2026-08-21 09:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544601600001,"66":12885,"161":206,"87":13824,"24":0,"16":121644662212526080,"45":8818611045772220416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544601600001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:13:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644662212526080,"km_value":121644662212526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045772220416,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544601600001,"power":12885,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818611045772220416}} 
[2026-08-21 09:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":158926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:44] local.INFO: GPS data processed {"connection_id":158926,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:44] local.INFO: Acknowledgment sent {"connection_id":158926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:55] local.INFO: TCP Data received {"connection_id":160112,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:13:55] local.INFO: Processing buffer {"connection_id":160112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022663230012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:13:55] local.INFO: Packet analysis {"connection_id":160112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:55] local.INFO: Extracted packet for processing {"connection_id":160112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283518000,"timestamp_ms":1787283518000,"timestamp_seconds":1787283518,"priority":1,"record_length":96,"hex_timestamp":"000001a022663230"} 
[2026-08-21 09:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544503552001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:13:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544503552001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":160112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:55] local.INFO: GPS data processed {"connection_id":160112,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:55] local.INFO: Acknowledgment sent {"connection_id":160112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:13:59] local.INFO: TCP Data received {"connection_id":160113,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226acde0012d09c500070566c0000b00a721..."} 
[2026-08-21 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226acde0012d09c500070566c0000b00a721..."} 
[2026-08-21 09:13:59] local.INFO: Processing buffer {"connection_id":160113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226acde0012d09c500070566c0000b00a721..."} 
[2026-08-21 09:13:59] local.INFO: Packet analysis {"connection_id":160113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:59] local.INFO: Extracted packet for processing {"connection_id":160113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:13:59] local.INFO: GPS Element Parsed {"raw_longitude":755614976,"raw_latitude":117794496,"longitude_deg":75.5614976,"latitude_deg":11.7794496,"altitude":11,"angle":167,"satellites":33,"speed":14,"hex_longitude":"2d09c500","hex_latitude":"070566c0","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29201899257331712,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703828209420466176,"note":"Value kept but may cause issues"} 
[2026-08-21 09:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787283820000,"timestamp_ms":1787283820000,"timestamp_seconds":1787283820,"priority":1,"record_length":96,"hex_timestamp":"000001a0226acde0"} 
[2026-08-21 09:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:13: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-08-21 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160113,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":14407,"177":206,"94":10240,"24":14,"16":29201899257331712,"45":703828209420466176},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:13:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:13:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29201899257331712,"km_value":29201899257331.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":703828209420466176,"description":"Unknown IO ID 45"} 
[2026-08-21 09:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":703828209420466176}} 
[2026-08-21 09:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":160113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:13:59] local.INFO: GPS data processed {"connection_id":160113,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:13:59] local.INFO: Acknowledgment sent {"connection_id":160113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:03] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:14:03] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:14:03] local.INFO: Packet analysis {"connection_id":159215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:14:03] local.INFO: Extracted packet for processing {"connection_id":159215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:14:03] 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-08-21 09: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-08-21 09:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":159215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:03] local.INFO: GPS data processed {"connection_id":159215,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:03] local.INFO: Acknowledgment sent {"connection_id":159215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:07] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:07] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:07] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:14:08] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:08] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:08] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:14:12] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:12] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:14:12] local.INFO: IMEI packet received {"connection_id":160114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":160114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:14:12] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022681690012d7a620005eb96d8000700ff1e..."} 
[2026-08-21 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022681690012d7a620005eb96d8000700ff1e..."} 
[2026-08-21 09:14:12] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022681690012d7a620005eb96d8000700ff1e..."} 
[2026-08-21 09:14:12] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:14:12] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":99325656,"longitude_deg":76.29952,"latitude_deg":9.9325656,"altitude":7,"angle":255,"satellites":30,"speed":0,"hex_longitude":"2d7a6200","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-21 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544606976001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644662212526080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045772220416,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787283642000,"timestamp_ms":1787283642000,"timestamp_seconds":1787283642,"priority":1,"record_length":96,"hex_timestamp":"000001a022681690"} 
[2026-08-21 09:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-21 09:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544606976001,"66":12689,"161":206,"87":13824,"24":0,"16":121644662212526080,"45":8818611045772220416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544606976001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:14:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644662212526080,"km_value":121644662212526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045772220416,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544606976001,"power":12689,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818611045772220416}} 
[2026-08-21 09:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:13] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:13] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:17] local.INFO: TCP Data received {"connection_id":158927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:17] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:17] local.INFO: IMEI packet received {"connection_id":158927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":158927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:14:17] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:14:17] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:14:17] local.INFO: IMEI packet received {"connection_id":161460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":161460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:14:18] local.INFO: TCP Data received {"connection_id":158927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:18] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:18] local.INFO: IMEI packet received {"connection_id":158927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":158927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:14:21] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:14:21] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:14:21] local.INFO: IMEI packet received {"connection_id":161460,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":161460,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:14:23] local.INFO: TCP Data received {"connection_id":158927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:23] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:14:23] local.INFO: IMEI packet received {"connection_id":158927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":158927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:14:24] local.INFO: TCP Data received {"connection_id":158927,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:14:24] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:14:24] local.INFO: Packet analysis {"connection_id":158927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:24] local.INFO: Extracted packet for processing {"connection_id":158927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14: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-08-21 09:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:14: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-08-21 09:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:14:24] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ad1c8012d09c50007056548000b00ba22..."} 
[2026-08-21 09:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ad1c8012d09c50007056548000b00ba22..."} 
[2026-08-21 09:14:24] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ad1c8012d09c50007056548000b00ba22..."} 
[2026-08-21 09:14:24] local.INFO: Packet analysis {"connection_id":161460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:24] local.INFO: Extracted packet for processing {"connection_id":161460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:24] local.INFO: GPS Element Parsed {"raw_longitude":755614976,"raw_latitude":117794120,"longitude_deg":75.5614976,"latitude_deg":11.779412,"altitude":11,"angle":186,"satellites":34,"speed":16,"hex_longitude":"2d09c500","hex_latitude":"07056548","is_valid_coordinates":true} 
[2026-08-21 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657920001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29201916437200896,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703968946908741632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283821000,"timestamp_ms":1787283821000,"timestamp_seconds":1787283821,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ad1c8"} 
[2026-08-21 09:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:24] 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-08-21 09:14:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:14:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:14:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657920001,"66":14439,"177":206,"94":10240,"24":16,"16":29201916437200896,"45":703968946908741632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657920001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29201916437200896,"km_value":29201916437200.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":703968946908741632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657920001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":703968946908741632}} 
[2026-08-21 09:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":158927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:24] local.INFO: GPS data processed {"connection_id":158927,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:24] local.INFO: Acknowledgment sent {"connection_id":158927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":161460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674835,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:24] local.INFO: GPS data processed {"connection_id":161460,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:24] local.INFO: Acknowledgment sent {"connection_id":161460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:26] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:14:26] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:14:26] local.INFO: IMEI packet received {"connection_id":161461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":161461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:14:28] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226af108012d09c340070553a8000c00c521..."} 
[2026-08-21 09:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226af108012d09c340070553a8000c00c521..."} 
[2026-08-21 09:14:28] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226af108012d09c340070553a8000c00c521..."} 
[2026-08-21 09:14:28] local.INFO: Packet analysis {"connection_id":161460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:28] local.INFO: Extracted packet for processing {"connection_id":161460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:28] local.INFO: GPS Element Parsed {"raw_longitude":755614528,"raw_latitude":117789608,"longitude_deg":75.5614528,"latitude_deg":11.7789608,"altitude":12,"angle":197,"satellites":33,"speed":24,"hex_longitude":"2d09c340","hex_latitude":"070553a8","is_valid_coordinates":true} 
[2026-08-21 09:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544658176001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29202139775500288,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703968946908645376,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787283829000,"timestamp_ms":1787283829000,"timestamp_seconds":1787283829,"priority":1,"record_length":96,"hex_timestamp":"000001a0226af108"} 
[2026-08-21 09:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:28] 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-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544658176001,"66":13722,"177":206,"94":10240,"24":24,"16":29202139775500288,"45":703968946908645376},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544658176001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:28] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:14:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29202139775500288,"km_value":29202139775500.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":703968946908645376,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544658176001,"power":13722,"unknown_177":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":703968946908645376}} 
[2026-08-21 09:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":161460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674836,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:28] local.INFO: GPS data processed {"connection_id":161460,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:28] local.INFO: Acknowledgment sent {"connection_id":161460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:31] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:14:31] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:14:31] local.INFO: IMEI packet received {"connection_id":161461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":161461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:14:32] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:14:32] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:14:32] local.INFO: Packet analysis {"connection_id":161461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:14:32] local.INFO: Extracted packet for processing {"connection_id":161461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:14:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:14:32] 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-08-21 09:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":161461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:32] local.INFO: GPS data processed {"connection_id":161461,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:32] local.INFO: Acknowledgment sent {"connection_id":161461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:43] local.INFO: TCP Data received {"connection_id":160114,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022686898012d7a620005eb96d8000700ff1f..."} 
[2026-08-21 09:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022686898012d7a620005eb96d8000700ff1f..."} 
[2026-08-21 09:14:43] local.INFO: Processing buffer {"connection_id":160114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022686898012d7a620005eb96d8000700ff1f..."} 
[2026-08-21 09:14:43] local.INFO: Packet analysis {"connection_id":160114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:14:43] local.INFO: Extracted packet for processing {"connection_id":160114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02268"} 
[2026-08-21 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":762995200,"raw_latitude":99325656,"longitude_deg":76.29952,"latitude_deg":9.9325656,"altitude":7,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d7a6200","hex_latitude":"05eb96d8","is_valid_coordinates":true} 
[2026-08-21 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544612352001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644662212526080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818611045772220416,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787283663000,"timestamp_ms":1787283663000,"timestamp_seconds":1787283663,"priority":1,"record_length":96,"hex_timestamp":"000001a022686898"} 
[2026-08-21 09:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544612352001,"66":12287,"161":206,"87":13824,"24":0,"16":121644662212526080,"45":8818611045772220416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544612352001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:43] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:14:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644662212526080,"km_value":121644662212526.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818611045772220416,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544612352001,"power":12287,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8818611045772220416}} 
[2026-08-21 09:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":160114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:43] local.INFO: GPS data processed {"connection_id":160114,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:43] local.INFO: Acknowledgment sent {"connection_id":160114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:14:55] local.INFO: TCP Data received {"connection_id":158927,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:14:55] local.INFO: Processing buffer {"connection_id":158927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:14:55] local.INFO: Packet analysis {"connection_id":158927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:55] local.INFO: Extracted packet for processing {"connection_id":158927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:14:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:14:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:14:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":158927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:14:55] local.INFO: GPS data processed {"connection_id":158927,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:14:55] local.INFO: Acknowledgment sent {"connection_id":158927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:01] local.INFO: TCP Data received {"connection_id":161460,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b3f28012d09bc80070538c0000d00bb25..."} 
[2026-08-21 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b3f28012d09bc80070538c0000d00bb25..."} 
[2026-08-21 09:15:01] local.INFO: Processing buffer {"connection_id":161460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b3f28012d09bc80070538c0000d00bb25..."} 
[2026-08-21 09:15:01] local.INFO: Packet analysis {"connection_id":161460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:01] local.INFO: Extracted packet for processing {"connection_id":161460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:01] local.INFO: GPS Element Parsed {"raw_longitude":755612800,"raw_latitude":117782720,"longitude_deg":75.56128,"latitude_deg":11.778272,"altitude":13,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d09bc80","hex_latitude":"070538c0","is_valid_coordinates":true} 
[2026-08-21 09:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544660224001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29202483372883968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":703476365698246656,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787283849000,"timestamp_ms":1787283849000,"timestamp_seconds":1787283849,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b3f28"} 
[2026-08-21 09:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-21 09:15: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-08-21 09:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161460,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544660224001,"66":14102,"177":206,"94":10240,"24":0,"16":29202483372883968,"45":703476365698246656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544660224001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:01] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:15:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29202483372883968,"km_value":29202483372883.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":703476365698246656,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544660224001,"power":14102,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":703476365698246656}} 
[2026-08-21 09:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":161460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:01] local.INFO: GPS data processed {"connection_id":161460,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:01] local.INFO: Acknowledgment sent {"connection_id":161460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:03] local.INFO: TCP Data received {"connection_id":161461,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:15:03] local.INFO: Processing buffer {"connection_id":161461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02266e5e0012da67580054b39d8001101292b..."} 
[2026-08-21 09:15:03] local.INFO: Packet analysis {"connection_id":161461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:15:03] local.INFO: Extracted packet for processing {"connection_id":161461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02266"} 
[2026-08-21 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787283564000,"timestamp_ms":1787283564000,"timestamp_seconds":1787283564,"priority":1,"record_length":96,"hex_timestamp":"000001a02266e5e0"} 
[2026-08-21 09:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 09:15:03] 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-08-21 09:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544515328001,"66":25702,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544515328001,"power":25702,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":161461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:03] local.INFO: GPS data processed {"connection_id":161461,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:03] local.INFO: Acknowledgment sent {"connection_id":161461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:05] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:05] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:05] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:15:07] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:07] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:07] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:15:08] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:08] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:08] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:15:10] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:10] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:15:10] local.INFO: IMEI packet received {"connection_id":160115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":160115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:15:11] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0226bd780012d7a5b0005eb9328000700e625..."} 
[2026-08-21 09:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226bd780012d7a5b0005eb9328000700e625..."} 
[2026-08-21 09:15:11] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226bd780012d7a5b0005eb9328000700e625..."} 
[2026-08-21 09:15:11] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:11] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:11] local.INFO: GPS Element Parsed {"raw_longitude":762993408,"raw_latitude":99324712,"longitude_deg":76.2993408,"latitude_deg":9.9324712,"altitude":7,"angle":230,"satellites":37,"speed":0,"hex_longitude":"2d7a5b00","hex_latitude":"05eb9328","is_valid_coordinates":true} 
[2026-08-21 09:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669952001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644765291741184,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816640720935004160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787283888000,"timestamp_ms":1787283888000,"timestamp_seconds":1787283888,"priority":1,"record_length":96,"hex_timestamp":"000001a0226bd780"} 
[2026-08-21 09:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 09:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669952001,"66":12776,"161":206,"87":13824,"24":0,"16":121644765291741184,"45":8816640720935004160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669952001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:11] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:15:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644765291741184,"km_value":121644765291741.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816640720935004160,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669952001,"power":12776,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8816640720935004160}} 
[2026-08-21 09:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:11] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:11] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:17] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:17] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:17] local.INFO: IMEI packet received {"connection_id":159216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":159216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:15:17] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:17] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:17] local.INFO: IMEI packet received {"connection_id":159216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":159216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:15:17] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:15:17] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:15:17] local.INFO: IMEI packet received {"connection_id":161462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":161462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:15:22] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:22] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:15:22] local.INFO: IMEI packet received {"connection_id":159216,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":159216,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:15:23] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b9130012d09bc80070538b0000d00bb25..."} 
[2026-08-21 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b9130012d09bc80070538b0000d00bb25..."} 
[2026-08-21 09:15:23] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b9130012d09bc80070538b0000d00bb25..."} 
[2026-08-21 09:15:23] local.INFO: Packet analysis {"connection_id":159216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:23] local.INFO: Extracted packet for processing {"connection_id":159216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":755612800,"raw_latitude":117782704,"longitude_deg":75.56128,"latitude_deg":11.7782704,"altitude":13,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d09bc80","hex_latitude":"070538b0","is_valid_coordinates":true} 
[2026-08-21 09:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544665344001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29202483372883968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":701576409603686400,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787283870000,"timestamp_ms":1787283870000,"timestamp_seconds":1787283870,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b9130"} 
[2026-08-21 09:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 09:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544665344001,"66":14439,"177":206,"94":10240,"24":0,"16":29202483372883968,"45":701576409603686400},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544665344001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:23] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:15:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29202483372883968,"km_value":29202483372883.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":701576409603686400,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544665344001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":701576409603686400}} 
[2026-08-21 09:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":159216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:23] local.INFO: GPS data processed {"connection_id":159216,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:23] local.INFO: Acknowledgment sent {"connection_id":159216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:23] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:15:23] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:15:23] local.INFO: IMEI packet received {"connection_id":161462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":161462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:15:24] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:15:24] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:15:24] local.INFO: Packet analysis {"connection_id":161462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:15:24] local.INFO: Extracted packet for processing {"connection_id":161462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:15:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15: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-08-21 09:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:15: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-08-21 09:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:15:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":161462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:24] local.INFO: GPS data processed {"connection_id":161462,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:24] local.INFO: Acknowledgment sent {"connection_id":161462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:31] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:15:31] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:15:31] local.INFO: IMEI packet received {"connection_id":161463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":161463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:15:36] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:15:36] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:15:36] local.INFO: IMEI packet received {"connection_id":161463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":161463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:15:37] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:15:37] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:15:37] local.INFO: Packet analysis {"connection_id":161463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:37] local.INFO: Extracted packet for processing {"connection_id":161463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":161463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:37] local.INFO: GPS data processed {"connection_id":161463,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:37] local.INFO: Acknowledgment sent {"connection_id":161463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:42] local.INFO: TCP Data received {"connection_id":160115,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0226c1218012d7a5a0005eb91d8000700f226..."} 
[2026-08-21 09:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226c1218012d7a5a0005eb91d8000700f226..."} 
[2026-08-21 09:15:42] local.INFO: Processing buffer {"connection_id":160115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226c1218012d7a5a0005eb91d8000700f226..."} 
[2026-08-21 09:15:42] local.INFO: Packet analysis {"connection_id":160115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:15:42] local.INFO: Extracted packet for processing {"connection_id":160115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:15:42] local.INFO: GPS Element Parsed {"raw_longitude":762993152,"raw_latitude":99324376,"longitude_deg":76.2993152,"latitude_deg":9.9324376,"altitude":7,"angle":242,"satellites":38,"speed":1,"hex_longitude":"2d7a5a00","hex_latitude":"05eb91d8","is_valid_coordinates":true} 
[2026-08-21 09:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544675328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644782471610368,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816640720935004160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787283903000,"timestamp_ms":1787283903000,"timestamp_seconds":1787283903,"priority":1,"record_length":96,"hex_timestamp":"000001a0226c1218"} 
[2026-08-21 09:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 09:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544675328001,"66":12461,"161":206,"87":13824,"24":1,"16":121644782471610368,"45":8816640720935004160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544675328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:42] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:15:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644782471610368,"km_value":121644782471610.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816640720935004160,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544675328001,"power":12461,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8816640720935004160}} 
[2026-08-21 09:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":160115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:42] local.INFO: GPS data processed {"connection_id":160115,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:42] local.INFO: Acknowledgment sent {"connection_id":160115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:54] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226c8360012d09ca800704fcf0000c00a423..."} 
[2026-08-21 09:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226c8360012d09ca800704fcf0000c00a423..."} 
[2026-08-21 09:15:54] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226c8360012d09ca800704fcf0000c00a423..."} 
[2026-08-21 09:15:54] local.INFO: Packet analysis {"connection_id":159216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:15:54] local.INFO: Extracted packet for processing {"connection_id":159216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":755616384,"raw_latitude":117767408,"longitude_deg":75.5616384,"latitude_deg":11.7767408,"altitude":12,"angle":164,"satellites":35,"speed":7,"hex_longitude":"2d09ca80","hex_latitude":"0704fcf0","is_valid_coordinates":true} 
[2026-08-21 09:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544686336001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29203381021048832,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":705517059273752576,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787283932000,"timestamp_ms":1787283932000,"timestamp_seconds":1787283932,"priority":1,"record_length":96,"hex_timestamp":"000001a0226c8360"} 
[2026-08-21 09:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 09:15:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159216,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544686336001,"66":14559,"179":206,"94":10240,"24":7,"16":29203381021048832,"45":705517059273752576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-08-21 09:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544686336001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:54] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 09:15:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29203381021048832,"km_value":29203381021048.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":705517059273752576,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544686336001,"power":14559,"unknown_179":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":705517059273752576}} 
[2026-08-21 09:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":159216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674847,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:54] local.INFO: GPS data processed {"connection_id":159216,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:54] local.INFO: Acknowledgment sent {"connection_id":159216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:15:55] local.INFO: TCP Data received {"connection_id":161462,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:15:55] local.INFO: Processing buffer {"connection_id":161462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:15:55] local.INFO: Packet analysis {"connection_id":161462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:15:55] local.INFO: Extracted packet for processing {"connection_id":161462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:15:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":161462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:15:55] local.INFO: GPS data processed {"connection_id":161462,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:15:55] local.INFO: Acknowledgment sent {"connection_id":161462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:16:07] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:07] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:07] local.INFO: IMEI packet received {"connection_id":158928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":158928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:16:08] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:08] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:08] local.INFO: IMEI packet received {"connection_id":158928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":158928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:16:09] local.INFO: TCP Data received {"connection_id":161463,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:16:09] local.INFO: Processing buffer {"connection_id":161463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:16:09] local.INFO: Packet analysis {"connection_id":161463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:16:09] local.INFO: Extracted packet for processing {"connection_id":161463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:16: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-08-21 09:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:16:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":161463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:16:09] local.INFO: GPS data processed {"connection_id":161463,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:16:09] local.INFO: Acknowledgment sent {"connection_id":161463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:16:12] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:12] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:16:12] local.INFO: IMEI packet received {"connection_id":158928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":158928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:16:13] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226c19e8012d7a59c005eb9168000700d926..."} 
[2026-08-21 09:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226c19e8012d7a59c005eb9168000700d926..."} 
[2026-08-21 09:16:13] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226c19e8012d7a59c005eb9168000700d926..."} 
[2026-08-21 09:16:13] local.INFO: Packet analysis {"connection_id":158928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:16:13] local.INFO: Extracted packet for processing {"connection_id":158928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:16:13] local.INFO: GPS Element Parsed {"raw_longitude":762993088,"raw_latitude":99324264,"longitude_deg":76.2993088,"latitude_deg":9.9324264,"altitude":7,"angle":217,"satellites":38,"speed":2,"hex_longitude":"2d7a59c0","hex_latitude":"05eb9168","is_valid_coordinates":true} 
[2026-08-21 09:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544679168001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644791061544960,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816359245958207488,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787283905000,"timestamp_ms":1787283905000,"timestamp_seconds":1787283905,"priority":1,"record_length":96,"hex_timestamp":"000001a0226c19e8"} 
[2026-08-21 09:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 09:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544679168001,"66":12232,"161":206,"87":13824,"24":2,"16":121644791061544960,"45":8816359245958207488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544679168001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:16:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:16:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644791061544960,"km_value":121644791061544.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816359245958207488,"description":"Unknown IO ID 45"} 
[2026-08-21 09:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544679168001,"power":12232,"unknown_161":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8816359245958207488}} 
[2026-08-21 09:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":158928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:16:13] local.INFO: GPS data processed {"connection_id":158928,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:16:13] local.INFO: Acknowledgment sent {"connection_id":158928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:16:17] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:17] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:17] local.INFO: IMEI packet received {"connection_id":161464,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":161464,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:16:17] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:17] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:17] local.INFO: IMEI packet received {"connection_id":161464,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":161464,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:16:18] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:18] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:16:18] local.INFO: IMEI packet received {"connection_id":161464,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":161464,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:16:19] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226d1000012d09ef400704d618000d000a1e..."} 
[2026-08-21 09:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226d1000012d09ef400704d618000d000a1e..."} 
[2026-08-21 09:16:19] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226d1000012d09ef400704d618000d000a1e..."} 
[2026-08-21 09:16:19] local.INFO: Packet analysis {"connection_id":161464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:16:19] local.INFO: Extracted packet for processing {"connection_id":161464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":755625792,"raw_latitude":117757464,"longitude_deg":75.5625792,"latitude_deg":11.7757464,"altitude":13,"angle":10,"satellites":30,"speed":19,"hex_longitude":"2d09ef40","hex_latitude":"0704d618","is_valid_coordinates":true} 
[2026-08-21 09:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544695552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29204433288036352,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715861264665151488,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787283968000,"timestamp_ms":1787283968000,"timestamp_seconds":1787283968,"priority":1,"record_length":96,"hex_timestamp":"000001a0226d1000"} 
[2026-08-21 09:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 09:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544695552001,"66":14461,"179":206,"94":10240,"24":19,"16":29204433288036352,"45":715861264665151488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,94,24,16,45]} 
[2026-08-21 09:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544695552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:16:19] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 09:16:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29204433288036352,"km_value":29204433288036.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":715861264665151488,"description":"Unknown IO ID 45"} 
[2026-08-21 09:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544695552001,"power":14461,"unknown_179":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":715861264665151488}} 
[2026-08-21 09:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":161464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674851,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:16:19] local.INFO: GPS data processed {"connection_id":161464,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:16:19] local.INFO: Acknowledgment sent {"connection_id":161464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:16:23] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:16:23] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:16:23] local.INFO: IMEI packet received {"connection_id":158929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":158929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:16:26] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:16:26] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:16:26] local.INFO: IMEI packet received {"connection_id":159217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":159217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:16:28] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:16:28] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:16:28] local.INFO: IMEI packet received {"connection_id":158929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":158929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:16:29] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:16:29] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:16:29] local.INFO: Packet analysis {"connection_id":158929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:16:29] local.INFO: Extracted packet for processing {"connection_id":158929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:16:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:16:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":158929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:16:29] local.INFO: GPS data processed {"connection_id":158929,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:16:29] local.INFO: Acknowledgment sent {"connection_id":158929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:16:31] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:16:31] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:16:31] local.INFO: IMEI packet received {"connection_id":159217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":159217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:16:32] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:16:32] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:16:32] local.INFO: Packet analysis {"connection_id":159217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:16:32] local.INFO: Extracted packet for processing {"connection_id":159217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:16: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-08-21 09: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-08-21 09:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:16:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":159217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:16:32] local.INFO: GPS data processed {"connection_id":159217,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:16:32] local.INFO: Acknowledgment sent {"connection_id":159217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:16:33] local.INFO: TCP Data received {"connection_id":158929,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:16:33] local.INFO: Processing buffer {"connection_id":158929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:16:33] local.INFO: Packet analysis {"connection_id":158929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:16:33] local.INFO: Extracted packet for processing {"connection_id":158929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:16:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:16:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:16:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":158929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:16:33] local.INFO: GPS data processed {"connection_id":158929,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:16:33] local.INFO: Acknowledgment sent {"connection_id":158929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:16:44] local.INFO: TCP Data received {"connection_id":158928,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226c25a0012d7a584005eb9018000700e428..."} 
[2026-08-21 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226c25a0012d7a584005eb9018000700e428..."} 
[2026-08-21 09:16:44] local.INFO: Processing buffer {"connection_id":158928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226c25a0012d7a584005eb9018000700e428..."} 
[2026-08-21 09:16:44] local.INFO: Packet analysis {"connection_id":158928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:16:44] local.INFO: Extracted packet for processing {"connection_id":158928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226c"} 
[2026-08-21 09:16:44] local.INFO: GPS Element Parsed {"raw_longitude":762992704,"raw_latitude":99323928,"longitude_deg":76.2992704,"latitude_deg":9.9323928,"altitude":7,"angle":228,"satellites":40,"speed":5,"hex_longitude":"2d7a5840","hex_latitude":"05eb9018","is_valid_coordinates":true} 
[2026-08-21 09:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544679680001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121644816831348736,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816288877214001152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787283908000,"timestamp_ms":1787283908000,"timestamp_seconds":1787283908,"priority":1,"record_length":96,"hex_timestamp":"000001a0226c25a0"} 
[2026-08-21 09:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 09:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544679680001,"66":12982,"161":206,"87":13824,"24":5,"16":121644816831348736,"45":8816288877214001152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544679680001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:16:44] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:16:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121644816831348736,"km_value":121644816831348.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816288877214001152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544679680001,"power":12982,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8816288877214001152}} 
[2026-08-21 09:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":158928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:16:44] local.INFO: GPS data processed {"connection_id":158928,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:16:44] local.INFO: Acknowledgment sent {"connection_id":158928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:03] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:17:04] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:17:04] local.INFO: Packet analysis {"connection_id":159217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:17:04] local.INFO: Extracted packet for processing {"connection_id":159217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:17:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":159217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:04] local.INFO: GPS data processed {"connection_id":159217,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:04] local.INFO: Acknowledgment sent {"connection_id":159217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:07] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:07] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:07] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:17:07] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:07] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:07] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:17:11] local.INFO: TCP Data received {"connection_id":161464,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226d2f40012d09efc00704dc78000e002521..."} 
[2026-08-21 09:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226d2f40012d09efc00704dc78000e002521..."} 
[2026-08-21 09:17:11] local.INFO: Processing buffer {"connection_id":161464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226d2f40012d09efc00704dc78000e002521..."} 
[2026-08-21 09:17:11] local.INFO: Packet analysis {"connection_id":161464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:11] local.INFO: Extracted packet for processing {"connection_id":161464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":755625920,"raw_latitude":117759096,"longitude_deg":75.562592,"latitude_deg":11.7759096,"altitude":14,"angle":37,"satellites":33,"speed":10,"hex_longitude":"2d09efc0","hex_latitude":"0704dc78","is_valid_coordinates":true} 
[2026-08-21 09:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544695808001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29204514892414976,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":715861264665286656,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787283976000,"timestamp_ms":1787283976000,"timestamp_seconds":1787283976,"priority":1,"record_length":96,"hex_timestamp":"000001a0226d2f40"} 
[2026-08-21 09:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 09:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161464,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544695808001,"66":14428,"177":206,"94":10240,"24":10,"16":29204514892414976,"45":715861264665286656},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544695808001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:11] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:17:11] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29204514892414976,"km_value":29204514892414.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":715861264665286656,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544695808001,"power":14428,"unknown_177":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":715861264665286656}} 
[2026-08-21 09:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":161464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674857,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:11] local.INFO: GPS data processed {"connection_id":161464,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:11] local.INFO: Acknowledgment sent {"connection_id":161464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:12] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:12] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:17:12] local.INFO: IMEI packet received {"connection_id":160116,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":160116,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:17:13] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226da470012d7a308005ebdbd8000201491e..."} 
[2026-08-21 09:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226da470012d7a308005ebdbd8000201491e..."} 
[2026-08-21 09:17:13] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226da470012d7a308005ebdbd8000201491e..."} 
[2026-08-21 09:17:13] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:13] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:13] local.INFO: GPS Element Parsed {"raw_longitude":762982528,"raw_latitude":99343320,"longitude_deg":76.2982528,"latitude_deg":9.934332,"altitude":2,"angle":329,"satellites":30,"speed":10,"hex_longitude":"2d7a3080","hex_latitude":"05ebdbd8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544701696001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121645907753041920,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8807422415451322368,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787284006000,"timestamp_ms":1787284006000,"timestamp_seconds":1787284006,"priority":1,"record_length":96,"hex_timestamp":"000001a0226da470"} 
[2026-08-21 09:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 09:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544701696001,"66":12319,"163":206,"87":13824,"24":10,"16":121645907753041920,"45":8807422415451322368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544701696001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:17:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121645907753041920,"km_value":121645907753041.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8807422415451322368,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544701696001,"power":12319,"unknown_163":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8807422415451322368}} 
[2026-08-21 09:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:13] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:13] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:14] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:14] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:14] local.INFO: IMEI packet received {"connection_id":158930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":158930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:17:16] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:16] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:16] local.INFO: IMEI packet received {"connection_id":158930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":158930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:17:17] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:17] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:17] local.INFO: IMEI packet received {"connection_id":158930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":158930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:17:18] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:17:18] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:17:18] local.INFO: IMEI packet received {"connection_id":161465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":161465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:17:20] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:20] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:17:20] local.INFO: IMEI packet received {"connection_id":158930,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":158930,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:17:20] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226d3328012d09f0c00704dd78000f003121..."} 
[2026-08-21 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226d3328012d09f0c00704dd78000f003121..."} 
[2026-08-21 09:17:20] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226d3328012d09f0c00704dd78000f003121..."} 
[2026-08-21 09:17:20] local.INFO: Packet analysis {"connection_id":158930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:20] local.INFO: Extracted packet for processing {"connection_id":158930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:20] local.INFO: GPS Element Parsed {"raw_longitude":755626176,"raw_latitude":117759352,"longitude_deg":75.5626176,"latitude_deg":11.7759352,"altitude":15,"angle":49,"satellites":33,"speed":14,"hex_longitude":"2d09f0c0","hex_latitude":"0704dd78","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544697856001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29204527777316864,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716002002154059776,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787283977000,"timestamp_ms":1787283977000,"timestamp_seconds":1787283977,"priority":1,"record_length":96,"hex_timestamp":"000001a0226d3328"} 
[2026-08-21 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-08-21 09:17:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":158930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":158930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":158930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544697856001,"66":14374,"177":206,"94":10240,"24":14,"16":29204527777316864,"45":716002002154059776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 09:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544697856001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:20] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 09:17:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29204527777316864,"km_value":29204527777316.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":716002002154059776,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544697856001,"power":14374,"unknown_177":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":716002002154059776}} 
[2026-08-21 09:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":158930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674859,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:21] local.INFO: GPS data processed {"connection_id":158930,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:21] local.INFO: Acknowledgment sent {"connection_id":158930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:23] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:17:23] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:17:23] local.INFO: IMEI packet received {"connection_id":161465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":161465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:17:24] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:17:24] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:17:24] local.INFO: Packet analysis {"connection_id":161465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:17:24] local.INFO: Extracted packet for processing {"connection_id":161465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17: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-08-21 09:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:17: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-08-21 09:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":161465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:24] local.INFO: GPS data processed {"connection_id":161465,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:24] local.INFO: Acknowledgment sent {"connection_id":161465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:26] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:17:26] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:17:26] local.INFO: IMEI packet received {"connection_id":158931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":158931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:17:31] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:17:31] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:17:31] local.INFO: IMEI packet received {"connection_id":158931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":158931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:17:32] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:17:32] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:17:32] local.INFO: Packet analysis {"connection_id":158931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:17:32] local.INFO: Extracted packet for processing {"connection_id":158931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:17: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-08-21 09: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-08-21 09:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":158931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:32] local.INFO: GPS data processed {"connection_id":158931,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:32] local.INFO: Acknowledgment sent {"connection_id":158931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:44] local.INFO: TCP Data received {"connection_id":160116,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226db028012d7a2f8005ebde680002015520..."} 
[2026-08-21 09:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226db028012d7a2f8005ebde680002015520..."} 
[2026-08-21 09:17:44] local.INFO: Processing buffer {"connection_id":160116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226db028012d7a2f8005ebde680002015520..."} 
[2026-08-21 09:17:44] local.INFO: Packet analysis {"connection_id":160116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:44] local.INFO: Extracted packet for processing {"connection_id":160116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:17:44] local.INFO: GPS Element Parsed {"raw_longitude":762982272,"raw_latitude":99343976,"longitude_deg":76.2982272,"latitude_deg":9.9343976,"altitude":2,"angle":341,"satellites":32,"speed":8,"hex_longitude":"2d7a2f80","hex_latitude":"05ebde68","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544705536001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121645942112780288,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804678034429564928,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787284009000,"timestamp_ms":1787284009000,"timestamp_seconds":1787284009,"priority":1,"record_length":96,"hex_timestamp":"000001a0226db028"} 
[2026-08-21 09:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-21 09:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160116,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544705536001,"66":12765,"163":206,"87":13824,"24":8,"16":121645942112780288,"45":8804678034429564928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544705536001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:17:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121645942112780288,"km_value":121645942112780.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804678034429564928,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544705536001,"power":12765,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8804678034429564928}} 
[2026-08-21 09:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":160116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:45] local.INFO: GPS data processed {"connection_id":160116,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:45] local.INFO: Acknowledgment sent {"connection_id":160116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:52] local.INFO: TCP Data received {"connection_id":158930,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226e5050012d0a9e400704f1180019005222..."} 
[2026-08-21 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226e5050012d0a9e400704f1180019005222..."} 
[2026-08-21 09:17:52] local.INFO: Processing buffer {"connection_id":158930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226e5050012d0a9e400704f1180019005222..."} 
[2026-08-21 09:17:52] local.INFO: Packet analysis {"connection_id":158930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:17:52] local.INFO: Extracted packet for processing {"connection_id":158930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:17:52] local.INFO: GPS Element Parsed {"raw_longitude":755670592,"raw_latitude":117764376,"longitude_deg":75.5670592,"latitude_deg":11.7764376,"altitude":25,"angle":82,"satellites":34,"speed":18,"hex_longitude":"2d0a9e40","hex_latitude":"0704f118","is_valid_coordinates":true} 
[2026-08-21 09:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544716032001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29206812699918336,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764204591917035520,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787284050000,"timestamp_ms":1787284050000,"timestamp_seconds":1787284050,"priority":1,"record_length":96,"hex_timestamp":"000001a0226e5050"} 
[2026-08-21 09:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 09:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158930,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544716032001,"66":14428,"96":206,"94":10240,"24":18,"16":29206812699918336,"45":764204591917035520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 09:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544716032001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 09:17:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29206812699918336,"km_value":29206812699918.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":764204591917035520,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544716032001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":764204591917035520}} 
[2026-08-21 09:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":158930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674863,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:52] local.INFO: GPS data processed {"connection_id":158930,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:52] local.INFO: Acknowledgment sent {"connection_id":158930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:17:55] local.INFO: TCP Data received {"connection_id":161465,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:17:55] local.INFO: Processing buffer {"connection_id":161465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:17:55] local.INFO: Packet analysis {"connection_id":161465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:17:55] local.INFO: Extracted packet for processing {"connection_id":161465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:17:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":161465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:17:55] local.INFO: GPS data processed {"connection_id":161465,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:17:55] local.INFO: Acknowledgment sent {"connection_id":161465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:04] local.INFO: TCP Data received {"connection_id":158931,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:18:04] local.INFO: Processing buffer {"connection_id":158931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:18:04] local.INFO: Packet analysis {"connection_id":158931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:18:04] local.INFO: Extracted packet for processing {"connection_id":158931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:18:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":158931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:04] local.INFO: GPS data processed {"connection_id":158931,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:04] local.INFO: Acknowledgment sent {"connection_id":158931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:12] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:18:12] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:18:12] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:18:16] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:18:16] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:18:16] local.INFO: IMEI packet received {"connection_id":160117,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":160117,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:18:16] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226dd738012d7a2a4005ebe7180003014621..."} 
[2026-08-21 09:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226dd738012d7a2a4005ebe7180003014621..."} 
[2026-08-21 09:18:16] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226dd738012d7a2a4005ebe7180003014621..."} 
[2026-08-21 09:18:16] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:18:16] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:18:16] local.INFO: GPS Element Parsed {"raw_longitude":762980928,"raw_latitude":99346200,"longitude_deg":76.2980928,"latitude_deg":9.93462,"altitude":3,"angle":326,"satellites":33,"speed":8,"hex_longitude":"2d7a2a40","hex_latitude":"05ebe718","is_valid_coordinates":true} 
[2026-08-21 09:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544706304001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121646066666831872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804396559453022208,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787284019000,"timestamp_ms":1787284019000,"timestamp_seconds":1787284019,"priority":1,"record_length":96,"hex_timestamp":"000001a0226dd738"} 
[2026-08-21 09:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 09:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544706304001,"66":12917,"163":206,"87":13824,"24":8,"16":121646066666831872,"45":8804396559453022208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544706304001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:16] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:18:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121646066666831872,"km_value":121646066666831.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804396559453022208,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544706304001,"power":12917,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8804396559453022208}} 
[2026-08-21 09:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:16] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:16] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:17] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226deea8012d7a260005ebefd80003015223..."} 
[2026-08-21 09:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226deea8012d7a260005ebefd80003015223..."} 
[2026-08-21 09:18:17] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226deea8012d7a260005ebefd80003015223..."} 
[2026-08-21 09:18:17] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:18:17] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226d"} 
[2026-08-21 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":762979840,"raw_latitude":99348440,"longitude_deg":76.297984,"latitude_deg":9.934844,"altitude":3,"angle":338,"satellites":35,"speed":18,"hex_longitude":"2d7a2600","hex_latitude":"05ebefd8","is_valid_coordinates":true} 
[2026-08-21 09:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544708864001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121646186925916160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802918815825860608,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787284025000,"timestamp_ms":1787284025000,"timestamp_seconds":1787284025,"priority":1,"record_length":96,"hex_timestamp":"000001a0226deea8"} 
[2026-08-21 09:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 09:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544708864001,"66":12472,"163":206,"87":13824,"24":18,"16":121646186925916160,"45":8802918815825860608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544708864001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:17] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:18:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121646186925916160,"km_value":121646186925916.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802918815825860608,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544708864001,"power":12472,"unknown_163":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8802918815825860608}} 
[2026-08-21 09:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:17] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:17] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:18] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:18:18] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:18:18] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:18:21] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:21] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:21] local.INFO: IMEI packet received {"connection_id":161466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":161466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:18:21] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:21] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:21] local.INFO: IMEI packet received {"connection_id":161466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":161466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:18:23] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:18:23] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:18:23] local.INFO: IMEI packet received {"connection_id":160118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":160118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:18:24] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:18:24] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:18:24] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:18:24] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18: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-08-21 09:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:18: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-08-21 09:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:24] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:24] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:26] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:18:26] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:18:26] local.INFO: IMEI packet received {"connection_id":160119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":160119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:18:28] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:28] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:18:28] local.INFO: IMEI packet received {"connection_id":161466,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":161466,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:18:31] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:18:31] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:18:31] local.INFO: IMEI packet received {"connection_id":160119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":160119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:18:32] local.INFO: TCP Data received {"connection_id":161466,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0226e7b48012d0ac2400704f1c8001b005920..."} 
[2026-08-21 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226e7b48012d0ac2400704f1c8001b005920..."} 
[2026-08-21 09:18:32] local.INFO: Processing buffer {"connection_id":161466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226e7b48012d0ac2400704f1c8001b005920..."} 
[2026-08-21 09:18:32] local.INFO: Packet analysis {"connection_id":161466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:18:32] local.INFO: Extracted packet for processing {"connection_id":161466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":755679808,"raw_latitude":117764552,"longitude_deg":75.5679808,"latitude_deg":11.7764552,"altitude":27,"angle":89,"satellites":32,"speed":38,"hex_longitude":"2d0ac240","hex_latitude":"0704f1c8","is_valid_coordinates":true} 
[2026-08-21 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544716800001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29207250786582528,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":765119385591420928,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284061000,"timestamp_ms":1787284061000,"timestamp_seconds":1787284061,"priority":1,"record_length":96,"hex_timestamp":"000001a0226e7b48"} 
[2026-08-21 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-08-21 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161466,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544716800001,"66":14515,"96":206,"94":10240,"24":38,"16":29207250786582528,"45":765119385591420928},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544716800001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 09:18:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29207250786582528,"km_value":29207250786582.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":765119385591420928,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544716800001,"power":14515,"unknown_96":206,"unknown_94":10240,"ignition":38,"odometer":null,"unknown_45":765119385591420928}} 
[2026-08-21 09:18:32] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:18:32] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:18:32] local.INFO: Packet analysis {"connection_id":160119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:18:32] local.INFO: Extracted packet for processing {"connection_id":160119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 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-08-21 09:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:18: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-08-21 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-08-21 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-08-21 09:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":161466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:32] local.INFO: GPS data processed {"connection_id":161466,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:32] local.INFO: Acknowledgment sent {"connection_id":161466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":160119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:32] local.INFO: GPS data processed {"connection_id":160119,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:32] local.INFO: Acknowledgment sent {"connection_id":160119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:49] local.INFO: TCP Data received {"connection_id":160117,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226e40b0012d7a1d8005ec04300001014d1f..."} 
[2026-08-21 09:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226e40b0012d7a1d8005ec04300001014d1f..."} 
[2026-08-21 09:18:49] local.INFO: Processing buffer {"connection_id":160117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226e40b0012d7a1d8005ec04300001014d1f..."} 
[2026-08-21 09:18:49] local.INFO: Packet analysis {"connection_id":160117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:18:49] local.INFO: Extracted packet for processing {"connection_id":160117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:18:49] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":99353648,"longitude_deg":76.2977664,"latitude_deg":9.9353648,"altitude":1,"angle":333,"satellites":31,"speed":3,"hex_longitude":"2d7a1d80","hex_latitude":"05ec0430","is_valid_coordinates":true} 
[2026-08-21 09:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544710400001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121646466098790400,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801722547175413760,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787284046000,"timestamp_ms":1787284046000,"timestamp_seconds":1787284046,"priority":1,"record_length":96,"hex_timestamp":"000001a0226e40b0"} 
[2026-08-21 09:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 09:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":160117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":160117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":160117,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544710400001,"66":13048,"99":206,"87":13824,"24":3,"16":121646466098790400,"45":8801722547175413760},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 09:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544710400001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:49] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 09:18:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121646466098790400,"km_value":121646466098790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801722547175413760,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544710400001,"power":13048,"unknown_99":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8801722547175413760}} 
[2026-08-21 09:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":160117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:49] local.INFO: GPS data processed {"connection_id":160117,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:49] local.INFO: Acknowledgment sent {"connection_id":160117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:18:55] local.INFO: TCP Data received {"connection_id":160118,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:18:55] local.INFO: Processing buffer {"connection_id":160118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226ac9f8012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:18:55] local.INFO: Packet analysis {"connection_id":160118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:18:55] local.INFO: Extracted packet for processing {"connection_id":160118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226a"} 
[2026-08-21 09:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787283819000,"timestamp_ms":1787283819000,"timestamp_seconds":1787283819,"priority":1,"record_length":96,"hex_timestamp":"000001a0226ac9f8"} 
[2026-08-21 09:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544580608001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:18:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544580608001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":160118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:18:55] local.INFO: GPS data processed {"connection_id":160118,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:18:55] local.INFO: Acknowledgment sent {"connection_id":160118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:19:04] local.INFO: TCP Data received {"connection_id":160119,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:19:04] local.INFO: Processing buffer {"connection_id":160119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:19:04] local.INFO: Packet analysis {"connection_id":160119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:19:04] local.INFO: Extracted packet for processing {"connection_id":160119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:19: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-08-21 09:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:19:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":160119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:19:04] local.INFO: GPS data processed {"connection_id":160119,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:19:04] local.INFO: Acknowledgment sent {"connection_id":160119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:19:07] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:19:07] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:19:07] local.INFO: IMEI packet received {"connection_id":158932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":158932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:19:12] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:19:12] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:19:12] local.INFO: IMEI packet received {"connection_id":158932,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":158932,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:19:12] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:12] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:12] local.INFO: IMEI packet received {"connection_id":158933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":158933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:19:13] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226e4880012d7a1d8005ec0490000101401f..."} 
[2026-08-21 09:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226e4880012d7a1d8005ec0490000101401f..."} 
[2026-08-21 09:19:13] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226e4880012d7a1d8005ec0490000101401f..."} 
[2026-08-21 09:19:13] local.INFO: Packet analysis {"connection_id":158932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:19:13] local.INFO: Extracted packet for processing {"connection_id":158932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:19:13] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":99353744,"longitude_deg":76.2977664,"latitude_deg":9.9353744,"altitude":1,"angle":320,"satellites":31,"speed":1,"hex_longitude":"2d7a1d80","hex_latitude":"05ec0490","is_valid_coordinates":true} 
[2026-08-21 09:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544715776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121646470393757696,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009874706432,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787284048000,"timestamp_ms":1787284048000,"timestamp_seconds":1787284048,"priority":1,"record_length":96,"hex_timestamp":"000001a0226e4880"} 
[2026-08-21 09:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 09:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544715776001,"66":13015,"99":206,"87":13824,"24":1,"16":121646470393757696,"45":8799330009874706432},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 09:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544715776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:19:13] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 09:19:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121646470393757696,"km_value":121646470393757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009874706432,"description":"Unknown IO ID 45"} 
[2026-08-21 09:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544715776001,"power":13015,"unknown_99":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8799330009874706432}} 
[2026-08-21 09:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":158932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:19:13] local.INFO: GPS data processed {"connection_id":158932,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:19:13] local.INFO: Acknowledgment sent {"connection_id":158932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:19:15] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:15] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:15] local.INFO: IMEI packet received {"connection_id":158933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":158933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:19:15] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e01000001a0226e9a88012d7a1d8005ec04a8000101401e..."} 
[2026-08-21 09:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":93,"packet_hex":"00000000000000518e01000001a0226e9a88012d7a1d8005ec04a8000101401e..."} 
[2026-08-21 09:19:15] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0226e9a88012d7a1d8005ec04a8000101401e..."} 
[2026-08-21 09:19:15] local.INFO: Packet analysis {"connection_id":158932,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0226e"} 
[2026-08-21 09:19:15] local.INFO: Extracted packet for processing {"connection_id":158932,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0226e"} 
[2026-08-21 09:19:15] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":99353768,"longitude_deg":76.2977664,"latitude_deg":9.9353768,"altitude":1,"angle":320,"satellites":30,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05ec04a8","is_valid_coordinates":true} 
[2026-08-21 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":93,"current_offset":40} 
[2026-08-21 09:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:19:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:19:15] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:19:15] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 09:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":158932,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 09:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":158932,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 09:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":158932,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 09:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 09:19:15] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 09:19:15] local.INFO: DEBUG: GPS processor result {"connection_id":158932,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 09:19:15] local.ERROR: GPS data processing failed {"connection_id":158932,"error":"No valid data to process"} 
[2026-08-21 09:19:15] local.INFO: Acknowledgment sent {"connection_id":158932,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 09:19:16] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:16] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:16] local.INFO: IMEI packet received {"connection_id":158933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":158933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:19:16] local.INFO: TCP Data received {"connection_id":158933,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:16] local.INFO: Processing buffer {"connection_id":158933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:19:16] local.INFO: IMEI packet received {"connection_id":158933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":158933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:19:18] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:18] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:18] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:19:18] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:18] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:18] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:19:23] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:23] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:19:23] local.INFO: IMEI packet received {"connection_id":160120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":160120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:19:24] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:19:24] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:19:24] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:19:24] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19: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-08-21 09:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:19: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-08-21 09:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:19:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:19:24] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:19:24] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:19:26] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:19:26] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:19:26] local.INFO: IMEI packet received {"connection_id":159218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":159218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:19:31] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:19:31] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:19:31] local.INFO: IMEI packet received {"connection_id":159218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":159218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:19:32] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:19:32] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:19:32] local.INFO: Packet analysis {"connection_id":159218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:19:32] local.INFO: Extracted packet for processing {"connection_id":159218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:19:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:19: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-08-21 09:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:19:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":159218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:19:32] local.INFO: GPS data processed {"connection_id":159218,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:19:32] local.INFO: Acknowledgment sent {"connection_id":159218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:19:46] local.INFO: TCP Data received {"connection_id":158932,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0226eaa28012d7a1dc005ec05500001015e20..."} 
[2026-08-21 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226eaa28012d7a1dc005ec05500001015e20..."} 
[2026-08-21 09:19:46] local.INFO: Processing buffer {"connection_id":158932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226eaa28012d7a1dc005ec05500001015e20..."} 
[2026-08-21 09:19:46] local.INFO: Packet analysis {"connection_id":158932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:19:46] local.INFO: Extracted packet for processing {"connection_id":158932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226e"} 
[2026-08-21 09:19:46] local.INFO: GPS Element Parsed {"raw_longitude":762977728,"raw_latitude":99353936,"longitude_deg":76.2977728,"latitude_deg":9.9353936,"altitude":1,"angle":350,"satellites":32,"speed":3,"hex_longitude":"2d7a1dc0","hex_latitude":"05ec0550","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544721664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121646483278659584,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009874737152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787284073000,"timestamp_ms":1787284073000,"timestamp_seconds":1787284073,"priority":1,"record_length":96,"hex_timestamp":"000001a0226eaa28"} 
[2026-08-21 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-08-21 09:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":31,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-3893361877839437312,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2147871710,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817261,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3957053440,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.WARNING: Large IO value detected {"io_id":109,"raw_value":7626847263787728901,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:46] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,99,87,24,241,157,16,44,160,72,45,128,4,1,31,10,66,64,238,240,184,227,34,235,113,205,8,176,47,104,32,239,49,163,2,5,109],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-08-21 09:19:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72409566607835136,"timestamp_seconds":72409566607835.14,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 09:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158932,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544721664001,"66":12743,"99":206,"87":13824,"24":3,"16":121646483278659584,"45":8799330009874737152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 09:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544721664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:19:46] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 09:19:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121646483278659584,"km_value":121646483278659.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009874737152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544721664001,"power":12743,"unknown_99":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8799330009874737152}} 
[2026-08-21 09:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":158932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674877,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:19:47] local.INFO: GPS data processed {"connection_id":158932,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:19:47] local.INFO: Acknowledgment sent {"connection_id":158932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:19:59] local.INFO: TCP Data received {"connection_id":160120,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:19:59] local.INFO: Processing buffer {"connection_id":160120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:19:59] local.INFO: Packet analysis {"connection_id":160120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:19:59] local.INFO: Extracted packet for processing {"connection_id":160120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:19:59] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":160120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:19:59] local.INFO: GPS data processed {"connection_id":160120,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:19:59] local.INFO: Acknowledgment sent {"connection_id":160120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:20:04] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:20:04] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226b7da8012da67580054b39d8001101292d..."} 
[2026-08-21 09:20:04] local.INFO: Packet analysis {"connection_id":159218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:20:04] local.INFO: Extracted packet for processing {"connection_id":159218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226b"} 
[2026-08-21 09:20:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":45,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544592384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787283865000,"timestamp_ms":1787283865000,"timestamp_seconds":1787283865,"priority":1,"record_length":96,"hex_timestamp":"000001a0226b7da8"} 
[2026-08-21 09:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09: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-08-21 09: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544592384001,"66":25625,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544592384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:20:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544592384001,"power":25625,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":159218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:20:04] local.INFO: GPS data processed {"connection_id":159218,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:20:04] local.INFO: Acknowledgment sent {"connection_id":159218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:20:04] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:04] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:04] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:20:08] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:08] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:08] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:20:08] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:08] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:08] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:20:09] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:09] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:20:09] local.INFO: IMEI packet received {"connection_id":161467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":161467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:20:10] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022706b60012d7a070005ec47e80004015320..."} 
[2026-08-21 09:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022706b60012d7a070005ec47e80004015320..."} 
[2026-08-21 09:20:10] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022706b60012d7a070005ec47e80004015320..."} 
[2026-08-21 09:20:10] local.INFO: Packet analysis {"connection_id":161467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:10] local.INFO: Extracted packet for processing {"connection_id":161467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":99370984,"longitude_deg":76.2971904,"latitude_deg":9.9370984,"altitude":4,"angle":339,"satellites":32,"speed":0,"hex_longitude":"2d7a0700","hex_latitude":"05ec47e8","is_valid_coordinates":true} 
[2026-08-21 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544750848001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121647376631857152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793137560391481344,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787284188000,"timestamp_ms":1787284188000,"timestamp_seconds":1787284188,"priority":1,"record_length":96,"hex_timestamp":"000001a022706b60"} 
[2026-08-21 09:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 09:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:20: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-08-21 09:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544750848001,"66":12874,"100":206,"87":13824,"24":0,"16":121647376631857152,"45":8793137560391481344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544750848001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:20:10] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:20:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121647376631857152,"km_value":121647376631857.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793137560391481344,"description":"Unknown IO ID 45"} 
[2026-08-21 09:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544750848001,"power":12874,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793137560391481344}} 
[2026-08-21 09:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":161467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:20:10] local.INFO: GPS data processed {"connection_id":161467,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:20:10] local.INFO: Acknowledgment sent {"connection_id":161467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:20:11] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022706f48012d7a070005ec48380004016321..."} 
[2026-08-21 09:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022706f48012d7a070005ec48380004016321..."} 
[2026-08-21 09:20:11] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022706f48012d7a070005ec48380004016321..."} 
[2026-08-21 09:20:11] local.INFO: Packet analysis {"connection_id":161467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:11] local.INFO: Extracted packet for processing {"connection_id":161467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:11] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":99371064,"longitude_deg":76.2971904,"latitude_deg":9.9371064,"altitude":4,"angle":355,"satellites":33,"speed":2,"hex_longitude":"2d7a0700","hex_latitude":"05ec4838","is_valid_coordinates":true} 
[2026-08-21 09:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544752128001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121647380926824448,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822903154688,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787284189000,"timestamp_ms":1787284189000,"timestamp_seconds":1787284189,"priority":1,"record_length":96,"hex_timestamp":"000001a022706f48"} 
[2026-08-21 09:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-21 09:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544752128001,"66":12526,"100":206,"87":13824,"24":2,"16":121647380926824448,"45":8792996822903154688},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544752128001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:20:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:20:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121647380926824448,"km_value":121647380926824.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822903154688,"description":"Unknown IO ID 45"} 
[2026-08-21 09:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544752128001,"power":12526,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8792996822903154688}} 
[2026-08-21 09:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":161467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:20:11] local.INFO: GPS data processed {"connection_id":161467,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:20:11] local.INFO: Acknowledgment sent {"connection_id":161467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:20:18] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:20:18] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:20:18] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:20:23] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:20:23] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:20:23] local.INFO: IMEI packet received {"connection_id":160122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":160122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:20:24] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:20:24] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:20:24] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:20:24] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:20:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:20: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-08-21 09:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:20:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:20:24] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:20:24] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:20:31] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:20:31] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:20:31] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:20:36] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:20:36] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:20:36] local.INFO: IMEI packet received {"connection_id":160123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":160123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:20:40] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:20:40] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:20:40] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:40] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:40] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:20:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:20:40] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:20:40] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:20:42] local.INFO: TCP Data received {"connection_id":161467,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02270a210012d7a064005ec4a000005001721..."} 
[2026-08-21 09:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02270a210012d7a064005ec4a000005001721..."} 
[2026-08-21 09:20:42] local.INFO: Processing buffer {"connection_id":161467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02270a210012d7a064005ec4a000005001721..."} 
[2026-08-21 09:20:42] local.INFO: Packet analysis {"connection_id":161467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:42] local.INFO: Extracted packet for processing {"connection_id":161467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":762971712,"raw_latitude":99371520,"longitude_deg":76.2971712,"latitude_deg":9.937152,"altitude":5,"angle":23,"satellites":33,"speed":4,"hex_longitude":"2d7a0640","hex_latitude":"05ec4a00","is_valid_coordinates":true} 
[2026-08-21 09:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544752384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121647406696628224,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822903175168,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787284202000,"timestamp_ms":1787284202000,"timestamp_seconds":1787284202,"priority":1,"record_length":96,"hex_timestamp":"000001a02270a210"} 
[2026-08-21 09:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 09:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544752384001,"66":13059,"100":206,"87":13824,"24":4,"16":121647406696628224,"45":8792996822903175168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544752384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:20:42] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:20:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121647406696628224,"km_value":121647406696628.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822903175168,"description":"Unknown IO ID 45"} 
[2026-08-21 09:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544752384001,"power":13059,"unknown_100":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8792996822903175168}} 
[2026-08-21 09:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":161467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:20:43] local.INFO: GPS data processed {"connection_id":161467,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:20:43] local.INFO: Acknowledgment sent {"connection_id":161467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:20:55] local.INFO: TCP Data received {"connection_id":160122,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:20:55] local.INFO: Processing buffer {"connection_id":160122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:20:55] local.INFO: Packet analysis {"connection_id":160122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:20:55] local.INFO: Extracted packet for processing {"connection_id":160122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:20:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:20:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:20:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:20:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:20:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":160122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:20:55] local.INFO: GPS data processed {"connection_id":160122,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:20:55] local.INFO: Acknowledgment sent {"connection_id":160122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:21:04] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:04] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:04] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:21:05] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:05] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:05] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:21:06] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:06] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:06] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:21:07] local.INFO: TCP Data received {"connection_id":160124,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:07] local.INFO: Processing buffer {"connection_id":160124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:21:07] local.INFO: IMEI packet received {"connection_id":160124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":160124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:21:11] local.INFO: TCP Data received {"connection_id":160123,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:21:11] local.INFO: Processing buffer {"connection_id":160123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:21:11] local.INFO: Packet analysis {"connection_id":160123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:21:11] local.INFO: Extracted packet for processing {"connection_id":160123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:21:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:21:11] local.INFO: GPS data processed {"connection_id":160123,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:21:11] local.INFO: Acknowledgment sent {"connection_id":160123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:21:18] local.INFO: TCP Data received {"connection_id":158934,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:21:18] local.INFO: Processing buffer {"connection_id":158934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:21:18] local.INFO: IMEI packet received {"connection_id":158934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":158934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:21:23] local.INFO: TCP Data received {"connection_id":158934,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:21:23] local.INFO: Processing buffer {"connection_id":158934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:21:23] local.INFO: IMEI packet received {"connection_id":158934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":158934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:21:24] local.INFO: TCP Data received {"connection_id":158934,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:21:24] local.INFO: Processing buffer {"connection_id":158934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:21:24] local.INFO: Packet analysis {"connection_id":158934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:21:24] local.INFO: Extracted packet for processing {"connection_id":158934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:21:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21: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-08-21 09:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:21:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:21: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-08-21 09:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:21:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:21:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":158934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:21:24] local.INFO: GPS data processed {"connection_id":158934,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:21:24] local.INFO: Acknowledgment sent {"connection_id":158934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:21:26] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:21:26] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:21:26] local.INFO: IMEI packet received {"connection_id":161468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":161468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:21:31] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:21:31] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:21:31] local.INFO: IMEI packet received {"connection_id":161468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":161468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:21:32] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:21:32] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:21:32] local.INFO: Packet analysis {"connection_id":161468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:21:32] local.INFO: Extracted packet for processing {"connection_id":161468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:21:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:21:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":161468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:21:32] local.INFO: GPS data processed {"connection_id":161468,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:21:32] local.INFO: Acknowledgment sent {"connection_id":161468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:21:55] local.INFO: TCP Data received {"connection_id":158934,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:21:55] local.INFO: Processing buffer {"connection_id":158934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:21:55] local.INFO: Packet analysis {"connection_id":158934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:21:55] local.INFO: Extracted packet for processing {"connection_id":158934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:21:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:21:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":158934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:21:55] local.INFO: GPS data processed {"connection_id":158934,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:21:55] local.INFO: Acknowledgment sent {"connection_id":158934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:22:04] local.INFO: TCP Data received {"connection_id":161468,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:22:04] local.INFO: Processing buffer {"connection_id":161468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:22:04] local.INFO: Packet analysis {"connection_id":161468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:22:04] local.INFO: Extracted packet for processing {"connection_id":161468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:22:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":161468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:22:04] local.INFO: GPS data processed {"connection_id":161468,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:22:04] local.INFO: Acknowledgment sent {"connection_id":161468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:22:18] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:22:18] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:22:18] local.INFO: IMEI packet received {"connection_id":159219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":159219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:22:23] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:22:23] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:22:23] local.INFO: IMEI packet received {"connection_id":159219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":159219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:22:24] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:22:24] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:22:24] local.INFO: Packet analysis {"connection_id":159219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:22:24] local.INFO: Extracted packet for processing {"connection_id":159219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22: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-08-21 09:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:22:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:22: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-08-21 09:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:22:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":159219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:22:24] local.INFO: GPS data processed {"connection_id":159219,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:22:24] local.INFO: Acknowledgment sent {"connection_id":159219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:22:26] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:22:26] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:22:26] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:22:31] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:22:31] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:22:31] local.INFO: IMEI packet received {"connection_id":160126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":160126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:22:32] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:22:32] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:22:32] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:22:32] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:22:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:22:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:22:32] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:22:32] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:22:55] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:22:55] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:22:55] local.INFO: Packet analysis {"connection_id":159219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:22:55] local.INFO: Extracted packet for processing {"connection_id":159219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:22:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":159219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:22:55] local.INFO: GPS data processed {"connection_id":159219,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:22:55] local.INFO: Acknowledgment sent {"connection_id":159219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:23:04] local.INFO: TCP Data received {"connection_id":160126,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:23:04] local.INFO: Processing buffer {"connection_id":160126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:23:04] local.INFO: Packet analysis {"connection_id":160126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:23:04] local.INFO: Extracted packet for processing {"connection_id":160126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:23:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":160126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:23:04] local.INFO: GPS data processed {"connection_id":160126,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:23:04] local.INFO: Acknowledgment sent {"connection_id":160126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:23:18] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:23:18] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:23:18] local.INFO: IMEI packet received {"connection_id":159221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":159221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:23:23] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:23:23] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:23:23] local.INFO: IMEI packet received {"connection_id":159221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":159221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:23:24] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:23:24] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:23:24] local.INFO: Packet analysis {"connection_id":159221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:23:24] local.INFO: Extracted packet for processing {"connection_id":159221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:23:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23: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-08-21 09:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:23:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:23: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-08-21 09:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:23:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:23:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":159221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:23:24] local.INFO: GPS data processed {"connection_id":159221,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:23:24] local.INFO: Acknowledgment sent {"connection_id":159221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:23:26] local.INFO: TCP Data received {"connection_id":158935,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:23:26] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:23:26] local.INFO: IMEI packet received {"connection_id":158935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":158935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:23:31] local.INFO: TCP Data received {"connection_id":158935,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:23:31] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:23:31] local.INFO: IMEI packet received {"connection_id":158935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":158935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:23:32] local.INFO: TCP Data received {"connection_id":158935,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:23:32] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:23:32] local.INFO: Packet analysis {"connection_id":158935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:23:32] local.INFO: Extracted packet for processing {"connection_id":158935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:23:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:23:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":158935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:23:32] local.INFO: GPS data processed {"connection_id":158935,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:23:32] local.INFO: Acknowledgment sent {"connection_id":158935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:23:55] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:23:55] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0226f61c0012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:23:55] local.INFO: Packet analysis {"connection_id":159221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:23:55] local.INFO: Extracted packet for processing {"connection_id":159221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0226f"} 
[2026-08-21 09:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544657664001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284120000,"timestamp_ms":1787284120000,"timestamp_seconds":1787284120,"priority":1,"record_length":96,"hex_timestamp":"000001a0226f61c0"} 
[2026-08-21 09:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:23:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544657664001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544657664001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:23:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:23:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544657664001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":159221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:23:55] local.INFO: GPS data processed {"connection_id":159221,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:23:55] local.INFO: Acknowledgment sent {"connection_id":159221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:24:04] local.INFO: TCP Data received {"connection_id":158935,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:24:04] local.INFO: Processing buffer {"connection_id":158935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:24:04] local.INFO: Packet analysis {"connection_id":158935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:24:04] local.INFO: Extracted packet for processing {"connection_id":158935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:24:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:24:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":158935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:24:04] local.INFO: GPS data processed {"connection_id":158935,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:24:04] local.INFO: Acknowledgment sent {"connection_id":158935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:24:17] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:17] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:17] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:24:19] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:19] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:19] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:24:23] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:23] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:24:23] local.INFO: IMEI packet received {"connection_id":161471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":161471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:24:24] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:24:24] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:24:24] local.INFO: Packet analysis {"connection_id":161471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:24:24] local.INFO: Extracted packet for processing {"connection_id":161471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24: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-08-21 09:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:24: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-08-21 09:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:24:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":161471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:24:24] local.INFO: GPS data processed {"connection_id":161471,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:24:24] local.INFO: Acknowledgment sent {"connection_id":161471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:24:26] local.INFO: TCP Data received {"connection_id":159222,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:24:26] local.INFO: Processing buffer {"connection_id":159222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:24:26] local.INFO: IMEI packet received {"connection_id":159222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":159222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:24:26] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:24:26] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:24:26] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:24:31] local.INFO: TCP Data received {"connection_id":159222,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:24:31] local.INFO: Processing buffer {"connection_id":159222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:24:31] local.INFO: IMEI packet received {"connection_id":159222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":159222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:24:32] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:24:32] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:24:32] local.INFO: IMEI packet received {"connection_id":160129,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":160129,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:24:32] local.INFO: TCP Data received {"connection_id":159222,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:24:32] local.INFO: Processing buffer {"connection_id":159222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:24:32] local.INFO: Packet analysis {"connection_id":159222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:24:32] local.INFO: Extracted packet for processing {"connection_id":159222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:24:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:24:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":159222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:24:32] local.INFO: GPS data processed {"connection_id":159222,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:24:32] local.INFO: Acknowledgment sent {"connection_id":159222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:24:33] local.INFO: TCP Data received {"connection_id":160129,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02273fd70012d0c4e00070587c0001e00fd24..."} 
[2026-08-21 09:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273fd70012d0c4e00070587c0001e00fd24..."} 
[2026-08-21 09:24:33] local.INFO: Processing buffer {"connection_id":160129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273fd70012d0c4e00070587c0001e00fd24..."} 
[2026-08-21 09:24:33] local.INFO: Packet analysis {"connection_id":160129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:24:33] local.INFO: Extracted packet for processing {"connection_id":160129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":117802944,"longitude_deg":75.578112,"latitude_deg":11.7802944,"altitude":30,"angle":253,"satellites":36,"speed":0,"hex_longitude":"2d0c4e00","hex_latitude":"070587c0","is_valid_coordinates":true} 
[2026-08-21 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811520001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29215501418758144,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886716575540305920,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787284422000,"timestamp_ms":1787284422000,"timestamp_seconds":1787284422,"priority":1,"record_length":96,"hex_timestamp":"000001a02273fd70"} 
[2026-08-21 09:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160129,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811520001,"66":14396,"164":206,"94":10240,"24":0,"16":29215501418758144,"45":886716575540305920},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 09:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811520001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:24:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 09:24:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29215501418758144,"km_value":29215501418758.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":886716575540305920,"description":"Unknown IO ID 45"} 
[2026-08-21 09:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811520001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":886716575540305920}} 
[2026-08-21 09:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":160129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674901,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:24:33] local.INFO: GPS data processed {"connection_id":160129,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:24:33] local.INFO: Acknowledgment sent {"connection_id":160129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:24:55] local.INFO: TCP Data received {"connection_id":161471,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:24:55] local.INFO: Processing buffer {"connection_id":161471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:24:55] local.INFO: Packet analysis {"connection_id":161471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:24:55] local.INFO: Extracted packet for processing {"connection_id":161471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:24:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":161471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:24:55] local.INFO: GPS data processed {"connection_id":161471,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:24:55] local.INFO: Acknowledgment sent {"connection_id":161471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:25:03] local.INFO: TCP Data received {"connection_id":159222,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:25:03] local.INFO: Processing buffer {"connection_id":159222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022701570012da67580054b39d80011012929..."} 
[2026-08-21 09:25:03] local.INFO: Packet analysis {"connection_id":159222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:25:03] local.INFO: Extracted packet for processing {"connection_id":159222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02270"} 
[2026-08-21 09:25:03] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":41,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544669440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787284166000,"timestamp_ms":1787284166000,"timestamp_seconds":1787284166,"priority":1,"record_length":96,"hex_timestamp":"000001a022701570"} 
[2026-08-21 09:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-08-21 09:25: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-08-21 09:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544669440001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544669440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:25:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544669440001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":159222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:25:03] local.INFO: GPS data processed {"connection_id":159222,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:25:03] local.INFO: Acknowledgment sent {"connection_id":159222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:25:15] local.INFO: TCP Data received {"connection_id":158938,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:15] local.INFO: Processing buffer {"connection_id":158938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:15] local.INFO: IMEI packet received {"connection_id":158938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":158938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:25:16] local.INFO: TCP Data received {"connection_id":158938,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:16] local.INFO: Processing buffer {"connection_id":158938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:16] local.INFO: IMEI packet received {"connection_id":158938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:25:16] local.INFO: IMEI acknowledgment sent {"connection_id":158938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:25:18] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:25:18] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:25:18] local.INFO: IMEI packet received {"connection_id":158937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":158937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:25:22] local.INFO: TCP Data received {"connection_id":158938,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:22] local.INFO: Processing buffer {"connection_id":158938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:25:22] local.INFO: IMEI packet received {"connection_id":158938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":158938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:25:22] local.INFO: TCP Data received {"connection_id":158938,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022742480012d0c4d0007058788001e011022..."} 
[2026-08-21 09:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022742480012d0c4d0007058788001e011022..."} 
[2026-08-21 09:25:22] local.INFO: Processing buffer {"connection_id":158938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022742480012d0c4d0007058788001e011022..."} 
[2026-08-21 09:25:22] local.INFO: Packet analysis {"connection_id":158938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:25:22] local.INFO: Extracted packet for processing {"connection_id":158938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:25:22] local.INFO: GPS Element Parsed {"raw_longitude":755780864,"raw_latitude":117802888,"longitude_deg":75.5780864,"latitude_deg":11.7802888,"altitude":30,"angle":272,"satellites":34,"speed":3,"hex_longitude":"2d0c4d00","hex_latitude":"07058788","is_valid_coordinates":true} 
[2026-08-21 09:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544812032001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29215514303660032,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886646206796120064,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787284432000,"timestamp_ms":1787284432000,"timestamp_seconds":1787284432,"priority":1,"record_length":96,"hex_timestamp":"000001a022742480"} 
[2026-08-21 09:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544812032001,"66":14396,"164":206,"94":10240,"24":3,"16":29215514303660032,"45":886646206796120064},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 09:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544812032001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:25:22] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 09:25:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29215514303660032,"km_value":29215514303660.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":886646206796120064,"description":"Unknown IO ID 45"} 
[2026-08-21 09:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544812032001,"power":14396,"unknown_164":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":886646206796120064}} 
[2026-08-21 09:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":158938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674904,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:25:23] local.INFO: GPS data processed {"connection_id":158938,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:25:23] local.INFO: Acknowledgment sent {"connection_id":158938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:25:23] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:25:23] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:25:23] local.INFO: IMEI packet received {"connection_id":158937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":158937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:25:24] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:25:24] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:25:24] local.INFO: Packet analysis {"connection_id":158937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:25:24] local.INFO: Extracted packet for processing {"connection_id":158937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:25:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:25:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25: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-08-21 09:25:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:25:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:25:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:25: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-08-21 09:25:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:25:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:25:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:25:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:25:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:25:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:25:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:25:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:25:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:25:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:25:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:25:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:25:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:25:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:25:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:25:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:25:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:25:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":158937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:25:24] local.INFO: GPS data processed {"connection_id":158937,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:25:24] local.INFO: Acknowledgment sent {"connection_id":158937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:25:31] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:25:31] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:25:31] local.INFO: IMEI packet received {"connection_id":161472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":161472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:25:36] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:25:36] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:25:36] local.INFO: IMEI packet received {"connection_id":161472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":161472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:25:37] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:25:37] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:25:37] local.INFO: Packet analysis {"connection_id":161472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:25:37] local.INFO: Extracted packet for processing {"connection_id":161472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544746496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787284467000,"timestamp_ms":1787284467000,"timestamp_seconds":1787284467,"priority":1,"record_length":96,"hex_timestamp":"000001a02274ad38"} 
[2026-08-21 09:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544746496001,"66":25615,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544746496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:25:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544746496001,"power":25615,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":161472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:25:37] local.INFO: GPS data processed {"connection_id":161472,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:25:37] local.INFO: Acknowledgment sent {"connection_id":161472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:25:54] local.INFO: TCP Data received {"connection_id":158938,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02275d618012d0c92400704d0a8001d007d23..."} 
[2026-08-21 09:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02275d618012d0c92400704d0a8001d007d23..."} 
[2026-08-21 09:25:54] local.INFO: Processing buffer {"connection_id":158938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02275d618012d0c92400704d0a8001d007d23..."} 
[2026-08-21 09:25:54] local.INFO: Packet analysis {"connection_id":158938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02275"} 
[2026-08-21 09:25:54] local.INFO: Extracted packet for processing {"connection_id":158938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02275"} 
[2026-08-21 09:25:54] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":117756072,"longitude_deg":75.5798592,"latitude_deg":11.7756072,"altitude":29,"angle":125,"satellites":35,"speed":16,"hex_longitude":"2d0c9240","hex_latitude":"0704d0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544841216001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29218198658220032,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903042124178612224,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787284543000,"timestamp_ms":1787284543000,"timestamp_seconds":1787284543,"priority":1,"record_length":96,"hex_timestamp":"000001a02275d618"} 
[2026-08-21 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-08-21 09:25: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-08-21 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-21 09:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544841216001,"66":14428,"95":206,"94":10240,"24":16,"16":29218198658220032,"45":903042124178612224},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544841216001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:25:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:25:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29218198658220032,"km_value":29218198658220.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":903042124178612224,"description":"Unknown IO ID 45"} 
[2026-08-21 09:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544841216001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":903042124178612224}} 
[2026-08-21 09:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":158938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674907,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:25:55] local.INFO: GPS data processed {"connection_id":158938,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:25:55] local.INFO: Acknowledgment sent {"connection_id":158938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:25:57] local.INFO: TCP Data received {"connection_id":158937,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:25:57] local.INFO: Processing buffer {"connection_id":158937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:25:57] local.INFO: Packet analysis {"connection_id":158937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:25:57] local.INFO: Extracted packet for processing {"connection_id":158937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":158937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":158937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:25:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:25:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":158937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:25:57] local.INFO: GPS data processed {"connection_id":158937,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:25:57] local.INFO: Acknowledgment sent {"connection_id":158937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:26:08] local.INFO: TCP Data received {"connection_id":161472,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:26:08] local.INFO: Processing buffer {"connection_id":161472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:26:08] local.INFO: Packet analysis {"connection_id":161472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:26:08] local.INFO: Extracted packet for processing {"connection_id":161472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:26:08] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544746496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787284467000,"timestamp_ms":1787284467000,"timestamp_seconds":1787284467,"priority":1,"record_length":96,"hex_timestamp":"000001a02274ad38"} 
[2026-08-21 09:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:26: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-08-21 09:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544746496001,"66":25615,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544746496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:26:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544746496001,"power":25615,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":161472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:26:08] local.INFO: GPS data processed {"connection_id":161472,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:26:08] local.INFO: Acknowledgment sent {"connection_id":161472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:26:12] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:26:12] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:26:12] local.INFO: IMEI packet received {"connection_id":160130,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":160130,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:26:13] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022727ab8012d7a07c005ec7d30000700f123..."} 
[2026-08-21 09:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022727ab8012d7a07c005ec7d30000700f123..."} 
[2026-08-21 09:26:13] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022727ab8012d7a07c005ec7d30000700f123..."} 
[2026-08-21 09:26:13] local.INFO: Packet analysis {"connection_id":160130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02272"} 
[2026-08-21 09:26:13] local.INFO: Extracted packet for processing {"connection_id":160130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02272"} 
[2026-08-21 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":762972096,"raw_latitude":99384624,"longitude_deg":76.2972096,"latitude_deg":9.9384624,"altitude":7,"angle":241,"satellites":35,"speed":0,"hex_longitude":"2d7a07c0","hex_latitude":"05ec7d30","is_valid_coordinates":true} 
[2026-08-21 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544781312001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121648751021391872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793207929139179520,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787284323000,"timestamp_ms":1787284323000,"timestamp_seconds":1787284323,"priority":1,"record_length":96,"hex_timestamp":"000001a022727ab8"} 
[2026-08-21 09:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 09:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544781312001,"66":12526,"100":206,"87":13824,"24":0,"16":121648751021391872,"45":8793207929139179520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544781312001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:26:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:26:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121648751021391872,"km_value":121648751021391.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793207929139179520,"description":"Unknown IO ID 45"} 
[2026-08-21 09:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544781312001,"power":12526,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793207929139179520}} 
[2026-08-21 09:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":160130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:26:13] local.INFO: GPS data processed {"connection_id":160130,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:26:13] local.INFO: Acknowledgment sent {"connection_id":160130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:26:15] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:26:15] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:26:15] local.INFO: IMEI packet received {"connection_id":159223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":159223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:26:18] local.INFO: TCP Data received {"connection_id":158939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:26:18] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:26:18] local.INFO: IMEI packet received {"connection_id":158939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":158939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:26:23] local.INFO: TCP Data received {"connection_id":158939,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:26:23] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:26:23] local.INFO: IMEI packet received {"connection_id":158939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":158939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:26:24] local.INFO: TCP Data received {"connection_id":158939,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:26:24] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:26:24] local.INFO: Packet analysis {"connection_id":158939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:26:24] local.INFO: Extracted packet for processing {"connection_id":158939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:26:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26: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-08-21 09:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:26: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-08-21 09:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:26:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:26:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":158939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:26:24] local.INFO: GPS data processed {"connection_id":158939,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:26:24] local.INFO: Acknowledgment sent {"connection_id":158939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:26:26] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:26:26] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:26:26] local.INFO: IMEI packet received {"connection_id":161473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":161473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:26:29] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.34","data_length":51,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":51,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:26:29] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":51,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:26:29] local.INFO: IMEI packet received {"connection_id":159223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":159223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:26:31] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:26:31] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:26:31] local.INFO: IMEI packet received {"connection_id":161473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":161473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:26:32] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:26:32] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:26:32] local.INFO: Packet analysis {"connection_id":161473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:26:32] local.INFO: Extracted packet for processing {"connection_id":161473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:26:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544746496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284467000,"timestamp_ms":1787284467000,"timestamp_seconds":1787284467,"priority":1,"record_length":96,"hex_timestamp":"000001a02274ad38"} 
[2026-08-21 09:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:26: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-08-21 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544746496001,"66":25615,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544746496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:26:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544746496001,"power":25615,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":161473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:26:32] local.INFO: GPS data processed {"connection_id":161473,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:26:32] local.INFO: Acknowledgment sent {"connection_id":161473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:26:44] local.INFO: TCP Data received {"connection_id":160130,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022760110012d7a074005ec7c70000900f527..."} 
[2026-08-21 09:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022760110012d7a074005ec7c70000900f527..."} 
[2026-08-21 09:26:44] local.INFO: Processing buffer {"connection_id":160130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022760110012d7a074005ec7c70000900f527..."} 
[2026-08-21 09:26:44] local.INFO: Packet analysis {"connection_id":160130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:26:44] local.INFO: Extracted packet for processing {"connection_id":160130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":762971968,"raw_latitude":99384432,"longitude_deg":76.2971968,"latitude_deg":9.9384432,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d7a0740","hex_latitude":"05ec7c70","is_valid_coordinates":true} 
[2026-08-21 09:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544840448001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121648763906293760,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793067191650775040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787284554000,"timestamp_ms":1787284554000,"timestamp_seconds":1787284554,"priority":1,"record_length":96,"hex_timestamp":"000001a022760110"} 
[2026-08-21 09:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 09:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160130,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544840448001,"66":13341,"100":206,"87":13824,"24":0,"16":121648763906293760,"45":8793067191650775040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544840448001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:26:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121648763906293760,"km_value":121648763906293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793067191650775040,"description":"Unknown IO ID 45"} 
[2026-08-21 09:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544840448001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793067191650775040}} 
[2026-08-21 09:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":160130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:26:44] local.INFO: GPS data processed {"connection_id":160130,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:26:44] local.INFO: Acknowledgment sent {"connection_id":160130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:26:55] local.INFO: TCP Data received {"connection_id":158939,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:26:55] local.INFO: Processing buffer {"connection_id":158939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:26:55] local.INFO: Packet analysis {"connection_id":158939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:26:55] local.INFO: Extracted packet for processing {"connection_id":158939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":158939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:26:55] local.INFO: GPS data processed {"connection_id":158939,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:26:55] local.INFO: Acknowledgment sent {"connection_id":158939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:26:58] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02275da00012d0c93c00704cff8001e006e23..."} 
[2026-08-21 09:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02275da00012d0c93c00704cff8001e006e23..."} 
[2026-08-21 09:26:58] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":829,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:26:58] local.INFO: IMEI packet received {"connection_id":159223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":159223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:27:04] local.INFO: TCP Data received {"connection_id":161473,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:27:04] local.INFO: Processing buffer {"connection_id":161473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:27:04] local.INFO: Packet analysis {"connection_id":161473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:27:04] local.INFO: Extracted packet for processing {"connection_id":161473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544746496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787284467000,"timestamp_ms":1787284467000,"timestamp_seconds":1787284467,"priority":1,"record_length":96,"hex_timestamp":"000001a02274ad38"} 
[2026-08-21 09:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:27: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-08-21 09:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544746496001,"66":25615,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544746496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544746496001,"power":25615,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":161473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:04] local.INFO: GPS data processed {"connection_id":161473,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:04] local.INFO: Acknowledgment sent {"connection_id":161473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:27:04] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02276b8a8012d0d0dc00704bb50001d005621..."} 
[2026-08-21 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02276b8a8012d0d0dc00704bb50001d005621..."} 
[2026-08-21 09:27:04] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":1607,"buffer_hex":"000f383632353637303732353733323130000000000000030f8e0a000001a022..."} 
[2026-08-21 09:27:04] local.INFO: IMEI packet received {"connection_id":159223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":159223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:27:07] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:27:07] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:27:07] local.INFO: IMEI packet received {"connection_id":159224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":159224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:27:12] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:27:12] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:27:12] local.INFO: IMEI packet received {"connection_id":159224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":159224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:27:13] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022765318012d7a074005ec7c70000900f525..."} 
[2026-08-21 09:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022765318012d7a074005ec7c70000900f525..."} 
[2026-08-21 09:27:13] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022765318012d7a074005ec7c70000900f525..."} 
[2026-08-21 09:27:13] local.INFO: Packet analysis {"connection_id":159224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:13] local.INFO: Extracted packet for processing {"connection_id":159224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:13] local.INFO: GPS Element Parsed {"raw_longitude":762971968,"raw_latitude":99384432,"longitude_deg":76.2971968,"latitude_deg":9.9384432,"altitude":9,"angle":245,"satellites":37,"speed":0,"hex_longitude":"2d7a0740","hex_latitude":"05ec7c70","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544845824001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121648763906293760,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793067191650775040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787284575000,"timestamp_ms":1787284575000,"timestamp_seconds":1787284575,"priority":1,"record_length":96,"hex_timestamp":"000001a022765318"} 
[2026-08-21 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-08-21 09:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 09:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 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-08-21 09:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544845824001,"66":12809,"100":206,"87":13824,"24":0,"16":121648763906293760,"45":8793067191650775040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544845824001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:27:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121648763906293760,"km_value":121648763906293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793067191650775040,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544845824001,"power":12809,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793067191650775040}} 
[2026-08-21 09:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":159224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:13] local.INFO: GPS data processed {"connection_id":159224,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:13] local.INFO: Acknowledgment sent {"connection_id":159224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:27:16] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:27:16] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:27:16] local.INFO: IMEI packet received {"connection_id":161474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":161474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:27:18] local.INFO: TCP Data received {"connection_id":158940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:27:18] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:27:18] local.INFO: IMEI packet received {"connection_id":158940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":158940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:27:22] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:27:22] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:27:22] local.INFO: IMEI packet received {"connection_id":161474,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":161474,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:27:22] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02276eb70012d0d31800704baf00019004722..."} 
[2026-08-21 09:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02276eb70012d0d31800704baf00019004722..."} 
[2026-08-21 09:27:22] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02276eb70012d0d31800704baf00019004722..."} 
[2026-08-21 09:27:22] local.INFO: Packet analysis {"connection_id":161474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:22] local.INFO: Extracted packet for processing {"connection_id":161474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:22] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117750512,"longitude_deg":75.583936,"latitude_deg":11.7750512,"altitude":25,"angle":71,"satellites":34,"speed":15,"hex_longitude":"2d0d3180","hex_latitude":"0704baf0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544861184001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29220221587816448,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763984371712,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787284614000,"timestamp_ms":1787284614000,"timestamp_seconds":1787284614,"priority":1,"record_length":96,"hex_timestamp":"000001a02276eb70"} 
[2026-08-21 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-08-21 09:27: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-08-21 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544861184001,"66":14439,"17":206,"94":11008,"24":15,"16":29220221587816448,"45":950681763984371712},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544861184001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29220221587816448,"km_value":29220221587816.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763984371712,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544861184001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":950681763984371712}} 
[2026-08-21 09:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":161474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:23] local.INFO: GPS data processed {"connection_id":161474,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:23] local.INFO: Acknowledgment sent {"connection_id":161474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:27:23] local.INFO: TCP Data received {"connection_id":158940,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:27:23] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:27:23] local.INFO: IMEI packet received {"connection_id":158940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":158940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:27:24] local.INFO: TCP Data received {"connection_id":158940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:27:24] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:27:24] local.INFO: Packet analysis {"connection_id":158940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:27:24] local.INFO: Extracted packet for processing {"connection_id":158940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:27:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:27:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09: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-08-21 09:27:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:27:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":158940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:24] local.INFO: GPS data processed {"connection_id":158940,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:24] local.INFO: Acknowledgment sent {"connection_id":158940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:27:26] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:27:26] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:27:26] local.INFO: IMEI packet received {"connection_id":161475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":161475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:27:31] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:27:31] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:27:31] local.INFO: IMEI packet received {"connection_id":161475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":161475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:27:32] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:27:32] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:27:32] local.INFO: Packet analysis {"connection_id":161475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:27:32] local.INFO: Extracted packet for processing {"connection_id":161475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:27:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544746496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284467000,"timestamp_ms":1787284467000,"timestamp_seconds":1787284467,"priority":1,"record_length":96,"hex_timestamp":"000001a02274ad38"} 
[2026-08-21 09:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:27: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-08-21 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544746496001,"66":25615,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544746496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544746496001,"power":25615,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":161475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:32] local.INFO: GPS data processed {"connection_id":161475,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:32] local.INFO: Acknowledgment sent {"connection_id":161475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:27:44] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02276a520012d7a074005ec7c70000900f527..."} 
[2026-08-21 09:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02276a520012d7a074005ec7c70000900f527..."} 
[2026-08-21 09:27:44] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02276a520012d7a074005ec7c70000900f527..."} 
[2026-08-21 09:27:44] local.INFO: Packet analysis {"connection_id":159224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:44] local.INFO: Extracted packet for processing {"connection_id":159224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:44] local.INFO: GPS Element Parsed {"raw_longitude":762971968,"raw_latitude":99384432,"longitude_deg":76.2971968,"latitude_deg":9.9384432,"altitude":9,"angle":245,"satellites":39,"speed":0,"hex_longitude":"2d7a0740","hex_latitude":"05ec7c70","is_valid_coordinates":true} 
[2026-08-21 09:27:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544851200001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121648763906293760,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793067191650775040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787284596000,"timestamp_ms":1787284596000,"timestamp_seconds":1787284596,"priority":1,"record_length":96,"hex_timestamp":"000001a02276a520"} 
[2026-08-21 09:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:27:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3892314112,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-1008580622911746473,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":8364556703596414784,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":184,"raw_value":4026609018,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1406125838193068765,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,100,87,24,241,157,16,46,160,1,45,64,124,9,39,10,66,175,38,93,240,51,227,34,236,4,113,205,184,7,112,40,239,2,176,5,54,232],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-21 09:27:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648787885603946496,"timestamp_seconds":648787885603946.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544851200001,"66":13222,"100":206,"87":13824,"24":0,"16":121648763906293760,"45":8793067191650775040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544851200001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:27:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121648763906293760,"km_value":121648763906293.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793067191650775040,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544851200001,"power":13222,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793067191650775040}} 
[2026-08-21 09:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":159224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:44] local.INFO: GPS data processed {"connection_id":159224,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:44] local.INFO: Acknowledgment sent {"connection_id":159224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:27:54] local.INFO: TCP Data received {"connection_id":161474,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02276fb10012d0d36400704bc700018005320..."} 
[2026-08-21 09:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02276fb10012d0d36400704bc700018005320..."} 
[2026-08-21 09:27:54] local.INFO: Processing buffer {"connection_id":161474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02276fb10012d0d36400704bc700018005320..."} 
[2026-08-21 09:27:54] local.INFO: Packet analysis {"connection_id":161474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:54] local.INFO: Extracted packet for processing {"connection_id":161474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02276"} 
[2026-08-21 09:27:54] local.INFO: GPS Element Parsed {"raw_longitude":755840576,"raw_latitude":117750896,"longitude_deg":75.5840576,"latitude_deg":11.7750896,"altitude":24,"angle":83,"satellites":32,"speed":11,"hex_longitude":"2d0d3640","hex_latitude":"0704bc70","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544861184001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29220281717358592,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763984371712,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787284618000,"timestamp_ms":1787284618000,"timestamp_seconds":1787284618,"priority":1,"record_length":96,"hex_timestamp":"000001a02276fb10"} 
[2026-08-21 09:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:27: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-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161474,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544861184001,"66":13993,"17":206,"94":11008,"24":11,"16":29220281717358592,"45":950681763984371712},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544861184001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29220281717358592,"km_value":29220281717358.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763984371712,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544861184001,"power":13993,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":950681763984371712}} 
[2026-08-21 09:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":161474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:54] local.INFO: GPS data processed {"connection_id":161474,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:54] local.INFO: Acknowledgment sent {"connection_id":161474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:27:55] local.INFO: TCP Data received {"connection_id":158940,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:27:55] local.INFO: Processing buffer {"connection_id":158940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:27:55] local.INFO: Packet analysis {"connection_id":158940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:27:55] local.INFO: Extracted packet for processing {"connection_id":158940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:27:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":158940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:27:55] local.INFO: GPS data processed {"connection_id":158940,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:27:55] local.INFO: Acknowledgment sent {"connection_id":158940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:04] local.INFO: TCP Data received {"connection_id":161475,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:28:04] local.INFO: Processing buffer {"connection_id":161475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:28:04] local.INFO: Packet analysis {"connection_id":161475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:28:04] local.INFO: Extracted packet for processing {"connection_id":161475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544746496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787284467000,"timestamp_ms":1787284467000,"timestamp_seconds":1787284467,"priority":1,"record_length":96,"hex_timestamp":"000001a02274ad38"} 
[2026-08-21 09:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28: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-08-21 09: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544746496001,"66":25615,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544746496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544746496001,"power":25615,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":161475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:04] local.INFO: GPS data processed {"connection_id":161475,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:04] local.INFO: Acknowledgment sent {"connection_id":161475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:12] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:28:12] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:28:12] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:28:17] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:28:17] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:28:17] local.INFO: IMEI packet received {"connection_id":160131,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":160131,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:28:17] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:28:17] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:28:17] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:28:18] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02277c630012d79fa0005ec74b0000e00e02b..."} 
[2026-08-21 09:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02277c630012d79fa0005ec74b0000e00e02b..."} 
[2026-08-21 09:28:18] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02277c630012d79fa0005ec74b0000e00e02b..."} 
[2026-08-21 09:28:18] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:18] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:18] local.INFO: GPS Element Parsed {"raw_longitude":762968576,"raw_latitude":99382448,"longitude_deg":76.2968576,"latitude_deg":9.9382448,"altitude":14,"angle":224,"satellites":43,"speed":1,"hex_longitude":"2d79fa00","hex_latitude":"05ec74b0","is_valid_coordinates":true} 
[2026-08-21 09:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544872704001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649000129495040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790604285604159488,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787284670000,"timestamp_ms":1787284670000,"timestamp_seconds":1787284670,"priority":1,"record_length":96,"hex_timestamp":"000001a02277c630"} 
[2026-08-21 09:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544872704001,"66":12863,"100":206,"87":13824,"24":1,"16":121649000129495040,"45":8790604285604159488},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544872704001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:18] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:28:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649000129495040,"km_value":121649000129495.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790604285604159488,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544872704001,"power":12863,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8790604285604159488}} 
[2026-08-21 09:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:18] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:18] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:19] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02277d1e8012d79f98005ec7440000d00cc2b..."} 
[2026-08-21 09:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02277d1e8012d79f98005ec7440000d00cc2b..."} 
[2026-08-21 09:28:19] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02277d1e8012d79f98005ec7440000d00cc2b..."} 
[2026-08-21 09:28:19] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:19] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:19] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99382336,"longitude_deg":76.2968448,"latitude_deg":9.9382336,"altitude":13,"angle":204,"satellites":43,"speed":2,"hex_longitude":"2d79f980","hex_latitude":"05ec7440","is_valid_coordinates":true} 
[2026-08-21 09:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544875520001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649013014396928,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789337648208850944,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787284673000,"timestamp_ms":1787284673000,"timestamp_seconds":1787284673,"priority":1,"record_length":96,"hex_timestamp":"000001a02277d1e8"} 
[2026-08-21 09:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544875520001,"66":12863,"100":206,"87":13824,"24":2,"16":121649013014396928,"45":8789337648208850944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544875520001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:28:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649013014396928,"km_value":121649013014396.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789337648208850944,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544875520001,"power":12863,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8789337648208850944}} 
[2026-08-21 09:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:20] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:20] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:20] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:20] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:20] local.INFO: IMEI packet received {"connection_id":160133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":160133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:28:22] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:22] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:22] local.INFO: IMEI packet received {"connection_id":160133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":160133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:28:23] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:28:23] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:28:23] local.INFO: IMEI packet received {"connection_id":160132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":160132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:28:24] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:28:24] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:28:24] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:28:24] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:28:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:28:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28: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-08-21 09:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:28: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-08-21 09:28:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:28:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:24] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:24] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:26] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:28:26] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:28:26] local.INFO: IMEI packet received {"connection_id":160134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":160134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:28:27] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:27] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:28:27] local.INFO: IMEI packet received {"connection_id":160133,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":160133,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:28:27] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227702e0012d0d37c00704bc70001700681e..."} 
[2026-08-21 09:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227702e0012d0d37c00704bc70001700681e..."} 
[2026-08-21 09:28:27] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227702e0012d0d37c00704bc70001700681e..."} 
[2026-08-21 09:28:27] local.INFO: Packet analysis {"connection_id":160133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:27] local.INFO: Extracted packet for processing {"connection_id":160133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:27] local.INFO: GPS Element Parsed {"raw_longitude":755840960,"raw_latitude":117750896,"longitude_deg":75.584096,"latitude_deg":11.7750896,"altitude":23,"angle":104,"satellites":30,"speed":6,"hex_longitude":"2d0d37c0","hex_latitude":"0704bc70","is_valid_coordinates":true} 
[2026-08-21 09:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544862208001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29220298897227776,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952018770123845632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787284620000,"timestamp_ms":1787284620000,"timestamp_seconds":1787284620,"priority":1,"record_length":96,"hex_timestamp":"000001a0227702e0"} 
[2026-08-21 09:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544862208001,"66":14461,"17":206,"94":11008,"24":6,"16":29220298897227776,"45":952018770123845632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544862208001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29220298897227776,"km_value":29220298897227.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":952018770123845632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544862208001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":952018770123845632}} 
[2026-08-21 09:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":160133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674927,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:28] local.INFO: GPS data processed {"connection_id":160133,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:28] local.INFO: Acknowledgment sent {"connection_id":160133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:28] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227706c8012d0d38800704bc48001700761f..."} 
[2026-08-21 09:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227706c8012d0d38800704bc48001700761f..."} 
[2026-08-21 09:28:28] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227706c8012d0d38800704bc48001700761f..."} 
[2026-08-21 09:28:28] local.INFO: Packet analysis {"connection_id":160133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:28] local.INFO: Extracted packet for processing {"connection_id":160133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:28] local.INFO: GPS Element Parsed {"raw_longitude":755841152,"raw_latitude":117750856,"longitude_deg":75.5841152,"latitude_deg":11.7750856,"altitude":23,"angle":118,"satellites":31,"speed":6,"hex_longitude":"2d0d3880","hex_latitude":"0704bc48","is_valid_coordinates":true} 
[2026-08-21 09:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544862720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29220307487162368,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982588911616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787284621000,"timestamp_ms":1787284621000,"timestamp_seconds":1787284621,"priority":1,"record_length":96,"hex_timestamp":"000001a0227706c8"} 
[2026-08-21 09:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544862720001,"66":14461,"17":206,"94":11008,"24":6,"16":29220307487162368,"45":952440982588911616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544862720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29220307487162368,"km_value":29220307487162.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982588911616,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544862720001,"power":14461,"axis_x":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":952440982588911616}} 
[2026-08-21 09:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":160133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674928,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:28] local.INFO: GPS data processed {"connection_id":160133,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:28] local.INFO: Acknowledgment sent {"connection_id":160133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:31] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:28:31] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:28:31] local.INFO: IMEI packet received {"connection_id":160134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":160134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:28:32] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:28:32] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02274ad38012da67580054b39d8001101292b..."} 
[2026-08-21 09:28:32] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:28:32] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02274"} 
[2026-08-21 09:28:32] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":43,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544746496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284467000,"timestamp_ms":1787284467000,"timestamp_seconds":1787284467,"priority":1,"record_length":96,"hex_timestamp":"000001a02274ad38"} 
[2026-08-21 09:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28: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-08-21 09:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544746496001,"66":25615,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544746496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544746496001,"power":25615,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:32] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:32] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:51] local.INFO: TCP Data received {"connection_id":160131,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02277d5d0012d79f98005ec73e0000d00b72b..."} 
[2026-08-21 09:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02277d5d0012d79f98005ec73e0000d00b72b..."} 
[2026-08-21 09:28:51] local.INFO: Processing buffer {"connection_id":160131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02277d5d0012d79f98005ec73e0000d00b72b..."} 
[2026-08-21 09:28:51] local.INFO: Packet analysis {"connection_id":160131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:51] local.INFO: Extracted packet for processing {"connection_id":160131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:28:51] local.INFO: GPS Element Parsed {"raw_longitude":762968448,"raw_latitude":99382240,"longitude_deg":76.2968448,"latitude_deg":9.938224,"altitude":13,"angle":183,"satellites":43,"speed":3,"hex_longitude":"2d79f980","hex_latitude":"05ec73e0","is_valid_coordinates":true} 
[2026-08-21 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544876288001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649017309364224,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910720466944,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787284674000,"timestamp_ms":1787284674000,"timestamp_seconds":1787284674,"priority":1,"record_length":96,"hex_timestamp":"000001a02277d5d0"} 
[2026-08-21 09:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160131,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544876288001,"66":13037,"100":206,"87":13824,"24":3,"16":121649017309364224,"45":8789196910720466944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544876288001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:51] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:28:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649017309364224,"km_value":121649017309364.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910720466944,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544876288001,"power":13037,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8789196910720466944}} 
[2026-08-21 09:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":160131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:51] local.INFO: GPS data processed {"connection_id":160131,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:51] local.INFO: Acknowledgment sent {"connection_id":160131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:28:55] local.INFO: TCP Data received {"connection_id":160132,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:28:55] local.INFO: Processing buffer {"connection_id":160132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02273f988012d196500071ff0a8003a014429..."} 
[2026-08-21 09:28:55] local.INFO: Packet analysis {"connection_id":160132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:28:55] local.INFO: Extracted packet for processing {"connection_id":160132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02273"} 
[2026-08-21 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544734720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284421000,"timestamp_ms":1787284421000,"timestamp_seconds":1787284421,"priority":1,"record_length":96,"hex_timestamp":"000001a02273f988"} 
[2026-08-21 09:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544734720001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544734720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:28:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:28:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544734720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":160132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:28:55] local.INFO: GPS data processed {"connection_id":160132,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:28:55] local.INFO: Acknowledgment sent {"connection_id":160132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:00] local.INFO: TCP Data received {"connection_id":160133,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227875f8012d0d2c0007044da8001700c824..."} 
[2026-08-21 09:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227875f8012d0d2c0007044da8001700c824..."} 
[2026-08-21 09:29:00] local.INFO: Processing buffer {"connection_id":160133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227875f8012d0d2c0007044da8001700c824..."} 
[2026-08-21 09:29:00] local.INFO: Packet analysis {"connection_id":160133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:00] local.INFO: Extracted packet for processing {"connection_id":160133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:00] local.INFO: GPS Element Parsed {"raw_longitude":755837952,"raw_latitude":117722536,"longitude_deg":75.5837952,"latitude_deg":11.7722536,"altitude":23,"angle":200,"satellites":36,"speed":14,"hex_longitude":"2d0d2c00","hex_latitude":"07044da8","is_valid_coordinates":true} 
[2026-08-21 09:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544884736001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29221729121337344,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949766970303758336,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787284715000,"timestamp_ms":1787284715000,"timestamp_seconds":1787284715,"priority":1,"record_length":96,"hex_timestamp":"000001a0227875f8"} 
[2026-08-21 09:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160133,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544884736001,"66":14428,"17":206,"94":11008,"24":14,"16":29221729121337344,"45":949766970303758336},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544884736001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29221729121337344,"km_value":29221729121337.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":949766970303758336,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544884736001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":949766970303758336}} 
[2026-08-21 09:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":160133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674932,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:00] local.INFO: GPS data processed {"connection_id":160133,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:00] local.INFO: Acknowledgment sent {"connection_id":160133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:04] local.INFO: TCP Data received {"connection_id":160134,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02277f128012da67580054b39d80011012930..."} 
[2026-08-21 09:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02277f128012da67580054b39d80011012930..."} 
[2026-08-21 09:29:04] local.INFO: Processing buffer {"connection_id":160134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02277f128012da67580054b39d80011012930..."} 
[2026-08-21 09:29:04] local.INFO: Packet analysis {"connection_id":160134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:29:04] local.INFO: Extracted packet for processing {"connection_id":160134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:29:04] local.INFO: GPS Element Parsed {"raw_longitude":765883776,"raw_latitude":88816088,"longitude_deg":76.5883776,"latitude_deg":8.8816088,"altitude":17,"angle":297,"satellites":48,"speed":0,"hex_longitude":"2da67580","hex_latitude":"054b39d8","is_valid_coordinates":true} 
[2026-08-21 09:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544823552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787284681000,"timestamp_ms":1787284681000,"timestamp_seconds":1787284681,"priority":1,"record_length":96,"hex_timestamp":"000001a02277f128"} 
[2026-08-21 09:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544823552001,"66":25647,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544823552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544823552001,"power":25647,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":160134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:04] local.INFO: GPS data processed {"connection_id":160134,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:04] local.INFO: Acknowledgment sent {"connection_id":160134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:07] local.INFO: TCP Data received {"connection_id":159225,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:29:07] local.INFO: Processing buffer {"connection_id":159225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:29:07] local.INFO: IMEI packet received {"connection_id":159225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":159225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:29:12] local.INFO: TCP Data received {"connection_id":159225,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159225,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:29:12] local.INFO: Processing buffer {"connection_id":159225,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:29:12] local.INFO: IMEI packet received {"connection_id":159225,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":159225,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:29:13] local.INFO: TCP Data received {"connection_id":159225,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02277dda0012d79f9c005ec7270000d00a42b..."} 
[2026-08-21 09:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02277dda0012d79f9c005ec7270000d00a42b..."} 
[2026-08-21 09:29:13] local.INFO: Processing buffer {"connection_id":159225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02277dda0012d79f9c005ec7270000d00a42b..."} 
[2026-08-21 09:29:13] local.INFO: Packet analysis {"connection_id":159225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:29:13] local.INFO: Extracted packet for processing {"connection_id":159225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:29:13] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99381872,"longitude_deg":76.2968512,"latitude_deg":9.9381872,"altitude":13,"angle":164,"satellites":43,"speed":10,"hex_longitude":"2d79f9c0","hex_latitude":"05ec7270","is_valid_coordinates":true} 
[2026-08-21 09:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544876544001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649034489233408,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910720442368,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787284676000,"timestamp_ms":1787284676000,"timestamp_seconds":1787284676,"priority":1,"record_length":96,"hex_timestamp":"000001a02277dda0"} 
[2026-08-21 09:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544876544001,"66":13287,"100":206,"87":13824,"24":10,"16":121649034489233408,"45":8789196910720442368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544876544001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:13] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:29:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649034489233408,"km_value":121649034489233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910720442368,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544876544001,"power":13287,"unknown_100":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8789196910720442368}} 
[2026-08-21 09:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":159225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:13] local.INFO: GPS data processed {"connection_id":159225,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:13] local.INFO: Acknowledgment sent {"connection_id":159225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:17] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:29:17] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:29:17] local.INFO: IMEI packet received {"connection_id":161476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":161476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:29:17] local.INFO: TCP Data received {"connection_id":159225,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022782fa8012d79ff8005ec6058000900a12b..."} 
[2026-08-21 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022782fa8012d79ff8005ec6058000900a12b..."} 
[2026-08-21 09:29:17] local.INFO: Processing buffer {"connection_id":159225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022782fa8012d79ff8005ec6058000900a12b..."} 
[2026-08-21 09:29:17] local.INFO: Packet analysis {"connection_id":159225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:17] local.INFO: Extracted packet for processing {"connection_id":159225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:17] local.INFO: GPS Element Parsed {"raw_longitude":762969984,"raw_latitude":99377240,"longitude_deg":76.2969984,"latitude_deg":9.937724,"altitude":9,"angle":161,"satellites":43,"speed":0,"hex_longitude":"2d79ff80","hex_latitude":"05ec6058","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544877056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649275007401984,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464525824,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787284697000,"timestamp_ms":1787284697000,"timestamp_seconds":1787284697,"priority":1,"record_length":96,"hex_timestamp":"000001a022782fa8"} 
[2026-08-21 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-08-21 09:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544877056001,"66":13243,"100":206,"87":13824,"24":0,"16":121649275007401984,"45":8789267279464525824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544877056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:17] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:29:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649275007401984,"km_value":121649275007401.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464525824,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544877056001,"power":13243,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789267279464525824}} 
[2026-08-21 09:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":159225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:17] local.INFO: GPS data processed {"connection_id":159225,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:17] local.INFO: Acknowledgment sent {"connection_id":159225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:17] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:17] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:17] local.INFO: IMEI packet received {"connection_id":159226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":159226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:29:20] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:29:20] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:29:20] local.INFO: IMEI packet received {"connection_id":161476,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":161476,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:29:20] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:20] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:20] local.INFO: IMEI packet received {"connection_id":159226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":159226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:29:23] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:23] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:29:23] local.INFO: IMEI packet received {"connection_id":159226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":159226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:29:23] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:29:23] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:29:23] local.INFO: Packet analysis {"connection_id":159226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:23] local.INFO: Extracted packet for processing {"connection_id":159226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":159226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:24] local.INFO: GPS data processed {"connection_id":159226,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:24] local.INFO: Acknowledgment sent {"connection_id":159226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:31] local.INFO: TCP Data received {"connection_id":158941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:29:31] local.INFO: Processing buffer {"connection_id":158941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:29:31] local.INFO: IMEI packet received {"connection_id":158941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":158941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:29:36] local.INFO: TCP Data received {"connection_id":158941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:29:36] local.INFO: Processing buffer {"connection_id":158941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:29:36] local.INFO: IMEI packet received {"connection_id":158941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":158941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:29:37] local.INFO: TCP Data received {"connection_id":158941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02277fce0012da67540054b3d880011009330..."} 
[2026-08-21 09:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02277fce0012da67540054b3d880011009330..."} 
[2026-08-21 09:29:37] local.INFO: Processing buffer {"connection_id":158941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02277fce0012da67540054b3d880011009330..."} 
[2026-08-21 09:29:37] local.INFO: Packet analysis {"connection_id":158941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:29:37] local.INFO: Extracted packet for processing {"connection_id":158941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02277"} 
[2026-08-21 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":765883712,"raw_latitude":88817032,"longitude_deg":76.5883712,"latitude_deg":8.8817032,"altitude":17,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2da67540","hex_latitude":"054b3d88","is_valid_coordinates":true} 
[2026-08-21 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544878336001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452110130913093632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787284684000,"timestamp_ms":1787284684000,"timestamp_seconds":1787284684,"priority":1,"record_length":96,"hex_timestamp":"000001a02277fce0"} 
[2026-08-21 09:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544878336001,"66":25495,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452110130913093632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544878336001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452110130913093632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544878336001,"power":25495,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452110130913093632}} 
[2026-08-21 09:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":158941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:37] local.INFO: GPS data processed {"connection_id":158941,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:37] local.INFO: Acknowledgment sent {"connection_id":158941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:43] local.INFO: TCP Data received {"connection_id":158941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022784ee8012da67540054b3d88001100932f..."} 
[2026-08-21 09:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022784ee8012da67540054b3d88001100932f..."} 
[2026-08-21 09:29:43] local.INFO: Processing buffer {"connection_id":158941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022784ee8012da67540054b3d88001100932f..."} 
[2026-08-21 09:29:43] local.INFO: Packet analysis {"connection_id":158941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:43] local.INFO: Extracted packet for processing {"connection_id":158941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:43] local.INFO: GPS Element Parsed {"raw_longitude":765883712,"raw_latitude":88817032,"longitude_deg":76.5883712,"latitude_deg":8.8817032,"altitude":17,"angle":147,"satellites":47,"speed":0,"hex_longitude":"2da67540","hex_latitude":"054b3d88","is_valid_coordinates":true} 
[2026-08-21 09:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544879104001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452180499657029632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787284705000,"timestamp_ms":1787284705000,"timestamp_seconds":1787284705,"priority":1,"record_length":96,"hex_timestamp":"000001a022784ee8"} 
[2026-08-21 09:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544879104001,"66":27800,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452180499657029632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544879104001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:43] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452180499657029632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544879104001,"power":27800,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452180499657029632}} 
[2026-08-21 09:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":158941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:43] local.INFO: GPS data processed {"connection_id":158941,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:43] local.INFO: Acknowledgment sent {"connection_id":158941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:48] local.INFO: TCP Data received {"connection_id":159225,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227881b0012d7a048005ec4fc8000600a229..."} 
[2026-08-21 09:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227881b0012d7a048005ec4fc8000600a229..."} 
[2026-08-21 09:29:48] local.INFO: Processing buffer {"connection_id":159225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227881b0012d7a048005ec4fc8000600a229..."} 
[2026-08-21 09:29:48] local.INFO: Packet analysis {"connection_id":159225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:48] local.INFO: Extracted packet for processing {"connection_id":159225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":762971264,"raw_latitude":99373000,"longitude_deg":76.2971264,"latitude_deg":9.9373,"altitude":6,"angle":162,"satellites":41,"speed":7,"hex_longitude":"2d7a0480","hex_latitude":"05ec4fc8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544882432001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649489755766784,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790885760579426304,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787284718000,"timestamp_ms":1787284718000,"timestamp_seconds":1787284718,"priority":1,"record_length":96,"hex_timestamp":"000001a0227881b0"} 
[2026-08-21 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-08-21 09:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159225,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544882432001,"66":13374,"100":206,"87":13824,"24":7,"16":121649489755766784,"45":8790885760579426304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544882432001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:48] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:29:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649489755766784,"km_value":121649489755766.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790885760579426304,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544882432001,"power":13374,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8790885760579426304}} 
[2026-08-21 09:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":159225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:48] local.INFO: GPS data processed {"connection_id":159225,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:48] local.INFO: Acknowledgment sent {"connection_id":159225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:29:55] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:29:55] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:29:55] local.INFO: Packet analysis {"connection_id":159226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:55] local.INFO: Extracted packet for processing {"connection_id":159226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 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-08-21 09:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:29:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:29:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":159226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:29:55] local.INFO: GPS data processed {"connection_id":159226,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:29:55] local.INFO: Acknowledgment sent {"connection_id":159226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:07] local.INFO: TCP Data received {"connection_id":158942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:07] local.INFO: Processing buffer {"connection_id":158942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:07] local.INFO: IMEI packet received {"connection_id":158942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":158942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:30:08] local.INFO: TCP Data received {"connection_id":158942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:08] local.INFO: Processing buffer {"connection_id":158942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:08] local.INFO: IMEI packet received {"connection_id":158942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":158942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:30:10] local.INFO: TCP Data received {"connection_id":158942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158942,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:10] local.INFO: Processing buffer {"connection_id":158942,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:30:10] local.INFO: IMEI packet received {"connection_id":158942,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":158942,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:30:11] local.INFO: TCP Data received {"connection_id":158942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02278d3b8012d7a060005ec4bc00005009b28..."} 
[2026-08-21 09:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02278d3b8012d7a060005ec4bc00005009b28..."} 
[2026-08-21 09:30:11] local.INFO: Processing buffer {"connection_id":158942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02278d3b8012d7a060005ec4bc00005009b28..."} 
[2026-08-21 09:30:11] local.INFO: Packet analysis {"connection_id":158942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:11] local.INFO: Extracted packet for processing {"connection_id":158942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":762971648,"raw_latitude":99371968,"longitude_deg":76.2971648,"latitude_deg":9.9371968,"altitude":5,"angle":155,"satellites":40,"speed":0,"hex_longitude":"2d7a0600","hex_latitude":"05ec4bc0","is_valid_coordinates":true} 
[2026-08-21 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544887808001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649549885308928,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792293135461894144,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787284739000,"timestamp_ms":1787284739000,"timestamp_seconds":1787284739,"priority":1,"record_length":96,"hex_timestamp":"000001a02278d3b8"} 
[2026-08-21 09:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":158942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":158942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":158942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544887808001,"66":12961,"100":206,"87":13824,"24":0,"16":121649549885308928,"45":8792293135461894144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544887808001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:30:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649549885308928,"km_value":121649549885308.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792293135461894144,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544887808001,"power":12961,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792293135461894144}} 
[2026-08-21 09:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":158942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674941,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:11] local.INFO: GPS data processed {"connection_id":158942,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:11] local.INFO: Acknowledgment sent {"connection_id":158942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:12] local.INFO: TCP Data received {"connection_id":158942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227925c0012d7a060005ec4bc00005009b27..."} 
[2026-08-21 09:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227925c0012d7a060005ec4bc00005009b27..."} 
[2026-08-21 09:30:12] local.INFO: Processing buffer {"connection_id":158942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227925c0012d7a060005ec4bc00005009b27..."} 
[2026-08-21 09:30:12] local.INFO: Packet analysis {"connection_id":158942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:30:12] local.INFO: Extracted packet for processing {"connection_id":158942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:30:12] local.INFO: GPS Element Parsed {"raw_longitude":762971648,"raw_latitude":99371968,"longitude_deg":76.2971648,"latitude_deg":9.9371968,"altitude":5,"angle":155,"satellites":39,"speed":0,"hex_longitude":"2d7a0600","hex_latitude":"05ec4bc0","is_valid_coordinates":true} 
[2026-08-21 09:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544893184001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649549885308928,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792715347926695936,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787284760000,"timestamp_ms":1787284760000,"timestamp_seconds":1787284760,"priority":1,"record_length":96,"hex_timestamp":"000001a0227925c0"} 
[2026-08-21 09:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544893184001,"66":13243,"100":206,"87":13824,"24":0,"16":121649549885308928,"45":8792715347926695936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544893184001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:30:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649549885308928,"km_value":121649549885308.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792715347926695936,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544893184001,"power":13243,"unknown_100":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792715347926695936}} 
[2026-08-21 09:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":158942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:12] local.INFO: GPS data processed {"connection_id":158942,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:12] local.INFO: Acknowledgment sent {"connection_id":158942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:13] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022788598012d0d2ac007044958001800bd24..."} 
[2026-08-21 09:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022788598012d0d2ac007044958001800bd24..."} 
[2026-08-21 09:30:13] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022788598012d0d2ac007044958001800bd24..."} 
[2026-08-21 09:30:13] local.INFO: Packet analysis {"connection_id":161476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:13] local.INFO: Extracted packet for processing {"connection_id":161476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:13] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117721432,"longitude_deg":75.5837632,"latitude_deg":11.7721432,"altitude":24,"angle":189,"satellites":36,"speed":7,"hex_longitude":"2d0d2ac0","hex_latitude":"07044958","is_valid_coordinates":true} 
[2026-08-21 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544887040001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29221784955912192,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651605301248,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787284719000,"timestamp_ms":1787284719000,"timestamp_seconds":1787284719,"priority":1,"record_length":96,"hex_timestamp":"000001a022788598"} 
[2026-08-21 09:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544887040001,"66":14407,"17":206,"94":11008,"24":7,"16":29221784955912192,"45":949133651605301248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544887040001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29221784955912192,"km_value":29221784955912.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651605301248,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544887040001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":949133651605301248}} 
[2026-08-21 09:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":161476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674943,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:13] local.INFO: GPS data processed {"connection_id":161476,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:13] local.INFO: Acknowledgment sent {"connection_id":161476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:14] local.INFO: TCP Data received {"connection_id":161476,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02278a8c0012d0d298007044168001800c824..."} 
[2026-08-21 09:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02278a8c0012d0d298007044168001800c824..."} 
[2026-08-21 09:30:14] local.INFO: Processing buffer {"connection_id":161476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02278a8c0012d0d298007044168001800c824..."} 
[2026-08-21 09:30:14] local.INFO: Packet analysis {"connection_id":161476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:14] local.INFO: Extracted packet for processing {"connection_id":161476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:14] local.INFO: GPS Element Parsed {"raw_longitude":755837312,"raw_latitude":117719400,"longitude_deg":75.5837312,"latitude_deg":11.77194,"altitude":24,"angle":200,"satellites":36,"speed":11,"hex_longitude":"2d0d2980","hex_latitude":"07044168","is_valid_coordinates":true} 
[2026-08-21 09:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888064001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29221883740160000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807884130304,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787284728000,"timestamp_ms":1787284728000,"timestamp_seconds":1787284728,"priority":1,"record_length":96,"hex_timestamp":"000001a02278a8c0"} 
[2026-08-21 09:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161476,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888064001,"66":14298,"17":206,"94":11008,"24":11,"16":29221883740160000,"45":948781807884130304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888064001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29221883740160000,"km_value":29221883740160,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807884130304,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888064001,"power":14298,"axis_x":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":948781807884130304}} 
[2026-08-21 09:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":161476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674944,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:14] local.INFO: GPS data processed {"connection_id":161476,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:14] local.ERROR: TCP Connection error {"connection_id":161476,"code":2,"message":"client closed"} 
[2026-08-21 09:30:14] local.INFO: Acknowledgment sent {"connection_id":161476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:16] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:16] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:16] local.INFO: IMEI packet received {"connection_id":159227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":159227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:30:17] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:17] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:17] local.INFO: IMEI packet received {"connection_id":159227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":159227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:30:18] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:30:18] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:30:18] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:30:22] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:22] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:30:22] local.INFO: IMEI packet received {"connection_id":159227,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":159227,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:30:23] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:30:23] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:30:23] local.INFO: IMEI packet received {"connection_id":160135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":160135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:30:24] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:30:24] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:30:24] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:24] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30: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-08-21 09:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:30: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-08-21 09:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:30:24] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02278d7a0012d0d24c007043340001700b724..."} 
[2026-08-21 09:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02278d7a0012d0d24c007043340001700b724..."} 
[2026-08-21 09:30:24] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02278d7a0012d0d24c007043340001700b724..."} 
[2026-08-21 09:30:24] local.INFO: Packet analysis {"connection_id":159227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:24] local.INFO: Extracted packet for processing {"connection_id":159227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":755836096,"raw_latitude":117715776,"longitude_deg":75.5836096,"latitude_deg":11.7715776,"altitude":23,"angle":183,"satellites":36,"speed":9,"hex_longitude":"2d0d24c0","hex_latitude":"07043340","is_valid_coordinates":true} 
[2026-08-21 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544890368001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29222068423753728,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948429964162721792,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284740000,"timestamp_ms":1787284740000,"timestamp_seconds":1787284740,"priority":1,"record_length":96,"hex_timestamp":"000001a02278d7a0"} 
[2026-08-21 09:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:24] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:24] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544890368001,"66":14352,"17":206,"94":11008,"24":9,"16":29222068423753728,"45":948429964162721792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544890368001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29222068423753728,"km_value":29222068423753.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":948429964162721792,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544890368001,"power":14352,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":948429964162721792}} 
[2026-08-21 09:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":159227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674946,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:24] local.INFO: GPS data processed {"connection_id":159227,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:24] local.INFO: Acknowledgment sent {"connection_id":159227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:26] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:30:26] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:30:26] local.INFO: IMEI packet received {"connection_id":159228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":159228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:30:27] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:30:27] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:30:27] local.INFO: IMEI packet received {"connection_id":159228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":159228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:30:28] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02278a0f0012da67540054b3d88001100932f..."} 
[2026-08-21 09:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02278a0f0012da67540054b3d88001100932f..."} 
[2026-08-21 09:30:28] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02278a0f0012da67540054b3d88001100932f..."} 
[2026-08-21 09:30:28] local.INFO: Packet analysis {"connection_id":159228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:28] local.INFO: Extracted packet for processing {"connection_id":159228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":765883712,"raw_latitude":88817032,"longitude_deg":76.5883712,"latitude_deg":8.8817032,"altitude":17,"angle":147,"satellites":47,"speed":0,"hex_longitude":"2da67540","hex_latitude":"054b3d88","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544884480001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452180499657029632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787284726000,"timestamp_ms":1787284726000,"timestamp_seconds":1787284726,"priority":1,"record_length":96,"hex_timestamp":"000001a02278a0f0"} 
[2026-08-21 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-08-21 09: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-08-21 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:28] 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-08-21 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-08-21 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-08-21 09:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544884480001,"66":27843,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452180499657029632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544884480001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:28] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452180499657029632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544884480001,"power":27843,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452180499657029632}} 
[2026-08-21 09:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":159228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:28] local.INFO: GPS data processed {"connection_id":159228,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:28] local.INFO: Acknowledgment sent {"connection_id":159228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:43] local.INFO: TCP Data received {"connection_id":158942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022794500012d7a070005ec49a0000500a829..."} 
[2026-08-21 09:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022794500012d7a070005ec49a0000500a829..."} 
[2026-08-21 09:30:43] local.INFO: Processing buffer {"connection_id":158942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022794500012d7a070005ec49a0000500a829..."} 
[2026-08-21 09:30:43] local.INFO: Packet analysis {"connection_id":158942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:30:43] local.INFO: Extracted packet for processing {"connection_id":158942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:30:43] local.INFO: GPS Element Parsed {"raw_longitude":762971904,"raw_latitude":99371424,"longitude_deg":76.2971904,"latitude_deg":9.9371424,"altitude":5,"angle":168,"satellites":41,"speed":2,"hex_longitude":"2d7a0700","hex_latitude":"05ec49a0","is_valid_coordinates":true} 
[2026-08-21 09:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544898560001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649575655112704,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792715347926695936,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787284768000,"timestamp_ms":1787284768000,"timestamp_seconds":1787284768,"priority":1,"record_length":96,"hex_timestamp":"000001a022794500"} 
[2026-08-21 09:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158942,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544898560001,"66":13341,"100":206,"87":13824,"24":2,"16":121649575655112704,"45":8792715347926695936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544898560001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:30:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649575655112704,"km_value":121649575655112.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792715347926695936,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544898560001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8792715347926695936}} 
[2026-08-21 09:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":158942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:43] local.INFO: GPS data processed {"connection_id":158942,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:43] local.INFO: Acknowledgment sent {"connection_id":158942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:55] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a02278f2f8012d0d24c007042bf8001600aa24..."} 
[2026-08-21 09:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02278f2f8012d0d24c007042bf8001600aa24..."} 
[2026-08-21 09:30:55] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02278f2f8012d0d24c007042bf8001600aa24..."} 
[2026-08-21 09:30:55] local.INFO: Packet analysis {"connection_id":159227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:55] local.INFO: Extracted packet for processing {"connection_id":159227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":755836096,"raw_latitude":117713912,"longitude_deg":75.5836096,"latitude_deg":11.7713912,"altitude":22,"angle":170,"satellites":36,"speed":13,"hex_longitude":"2d0d24c0","hex_latitude":"07042bf8","is_valid_coordinates":true} 
[2026-08-21 09:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544893440001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29222162913034240,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947092958022418432,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284747000,"timestamp_ms":1787284747000,"timestamp_seconds":1787284747,"priority":1,"record_length":96,"hex_timestamp":"000001a02278f2f8"} 
[2026-08-21 09:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733144064,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504045510656000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509168913,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5908986598200246528,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2870018254,"corrected_to":0} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415996173,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147943522,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1638605,"corrected_to":0} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050283,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3502374912,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":13,"raw_value":4179348170332962839,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":176,"raw_value":84738497864729717,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":32,"raw_value":7319204680175616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,17,94,24,241,157,16,209,160,168,45,128,65,36,10,66,133,192,73,117,1,240,92,227,34,4,113,205,51,49,200,35,239,54,2,103,7,13,206,176,32],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2870018254,"validated":0},{"io_id":200,"original":1638605,"validated":0}]} 
[2026-08-21 09:30:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1657526028119638016,"timestamp_seconds":1657526028119638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159227,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544893440001,"66":14254,"17":206,"94":11008,"24":13,"16":29222162913034240,"45":947092958022418432},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544893440001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29222162913034240,"km_value":29222162913034.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":947092958022418432,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544893440001,"power":14254,"axis_x":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":947092958022418432}} 
[2026-08-21 09:30:55] local.INFO: TCP Data received {"connection_id":160135,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:30:55] local.INFO: Processing buffer {"connection_id":160135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:30:55] local.INFO: Packet analysis {"connection_id":160135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:55] local.INFO: Extracted packet for processing {"connection_id":160135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":159227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674949,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:55] local.INFO: GPS data processed {"connection_id":159227,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:55] local.INFO: Acknowledgment sent {"connection_id":159227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":160135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:55] local.INFO: GPS data processed {"connection_id":160135,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:55] local.INFO: Acknowledgment sent {"connection_id":160135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:30:59] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02278f2f8012da67540054b3d880011009332..."} 
[2026-08-21 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02278f2f8012da67540054b3d880011009332..."} 
[2026-08-21 09:30:59] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02278f2f8012da67540054b3d880011009332..."} 
[2026-08-21 09:30:59] local.INFO: Packet analysis {"connection_id":159228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:59] local.INFO: Extracted packet for processing {"connection_id":159228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:30:59] local.INFO: GPS Element Parsed {"raw_longitude":765883712,"raw_latitude":88817032,"longitude_deg":76.5883712,"latitude_deg":8.8817032,"altitude":17,"angle":147,"satellites":50,"speed":0,"hex_longitude":"2da67540","hex_latitude":"054b3d88","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544889856001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923928665817088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452180499657029632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787284747000,"timestamp_ms":1787284747000,"timestamp_seconds":1787284747,"priority":1,"record_length":96,"hex_timestamp":"000001a02278f2f8"} 
[2026-08-21 09:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544889856001,"66":27767,"204":206,"84":6144,"24":0,"16":387923928665817088,"45":-6452180499657029632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,84,24,16,45]} 
[2026-08-21 09:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544889856001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:30:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923928665817088,"km_value":387923928665817.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452180499657029632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544889856001,"power":27767,"lac":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6452180499657029632}} 
[2026-08-21 09:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":159228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:30:59] local.INFO: GPS data processed {"connection_id":159228,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:30:59] local.INFO: Acknowledgment sent {"connection_id":159228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:07] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:31:07] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:31:07] local.INFO: IMEI packet received {"connection_id":161477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":161477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:31:10] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:31:10] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:31:10] local.INFO: IMEI packet received {"connection_id":161477,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":161477,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:31:11] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022796440012d7a088005ec44e80005009d29..."} 
[2026-08-21 09:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022796440012d7a088005ec44e80005009d29..."} 
[2026-08-21 09:31:11] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022796440012d7a088005ec44e80005009d29..."} 
[2026-08-21 09:31:11] local.INFO: Packet analysis {"connection_id":161477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:11] local.INFO: Extracted packet for processing {"connection_id":161477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":762972288,"raw_latitude":99370216,"longitude_deg":76.2972288,"latitude_deg":9.9370216,"altitude":5,"angle":157,"satellites":41,"speed":8,"hex_longitude":"2d7a0880","hex_latitude":"05ec44e8","is_valid_coordinates":true} 
[2026-08-21 09:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544900608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649640079622144,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792996822903267328,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787284776000,"timestamp_ms":1787284776000,"timestamp_seconds":1787284776,"priority":1,"record_length":96,"hex_timestamp":"000001a022796440"} 
[2026-08-21 09:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 09:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544900608001,"66":13363,"100":206,"87":13824,"24":8,"16":121649640079622144,"45":8792996822903267328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544900608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:11] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:31:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649640079622144,"km_value":121649640079622.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792996822903267328,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544900608001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8792996822903267328}} 
[2026-08-21 09:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":161477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:11] local.INFO: GPS data processed {"connection_id":161477,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:11] local.INFO: Acknowledgment sent {"connection_id":161477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:13] local.INFO: TCP Data received {"connection_id":159229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:13] local.INFO: Processing buffer {"connection_id":159229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:13] local.INFO: IMEI packet received {"connection_id":159229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":159229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:31:17] local.INFO: TCP Data received {"connection_id":159229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:17] local.INFO: Processing buffer {"connection_id":159229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:17] local.INFO: IMEI packet received {"connection_id":159229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":159229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:31:18] local.INFO: TCP Data received {"connection_id":158943,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:31:18] local.INFO: Processing buffer {"connection_id":158943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:31:18] local.INFO: IMEI packet received {"connection_id":158943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":158943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:31:22] local.INFO: TCP Data received {"connection_id":159229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159229,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:22] local.INFO: Processing buffer {"connection_id":159229,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:31:22] local.INFO: IMEI packet received {"connection_id":159229,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":159229,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:31:22] local.INFO: TCP Data received {"connection_id":159229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227a8d20012d0d2e400703cc78001100be25..."} 
[2026-08-21 09:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227a8d20012d0d2e400703cc78001100be25..."} 
[2026-08-21 09:31:22] local.INFO: Processing buffer {"connection_id":159229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227a8d20012d0d2e400703cc78001100be25..."} 
[2026-08-21 09:31:22] local.INFO: Packet analysis {"connection_id":159229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:31:22] local.INFO: Extracted packet for processing {"connection_id":159229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:31:22] local.INFO: GPS Element Parsed {"raw_longitude":755838528,"raw_latitude":117689464,"longitude_deg":75.5838528,"latitude_deg":11.7689464,"altitude":17,"angle":190,"satellites":37,"speed":0,"hex_longitude":"2d0d2e40","hex_latitude":"0703cc78","is_valid_coordinates":true} 
[2026-08-21 09:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544916992001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29223438518321152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232805939200,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787284852000,"timestamp_ms":1787284852000,"timestamp_seconds":1787284852,"priority":1,"record_length":96,"hex_timestamp":"000001a0227a8d20"} 
[2026-08-21 09:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544916992001,"66":14439,"16":29223438518321152,"94":11008,"24":0,"45":949626232805939200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544916992001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29223438518321152,"km_value":29223438518321.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232805939200,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544916992001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":949626232805939200}} 
[2026-08-21 09:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":159229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674953,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:22] local.INFO: GPS data processed {"connection_id":159229,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:22] local.INFO: Acknowledgment sent {"connection_id":159229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:23] local.INFO: TCP Data received {"connection_id":158943,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:31:23] local.INFO: Processing buffer {"connection_id":158943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:31:23] local.INFO: IMEI packet received {"connection_id":158943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":158943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:31:24] local.INFO: TCP Data received {"connection_id":158943,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:31:24] local.INFO: Processing buffer {"connection_id":158943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:31:24] local.INFO: Packet analysis {"connection_id":158943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:31:24] local.INFO: Extracted packet for processing {"connection_id":158943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09: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-08-21 09:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:31: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-08-21 09:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"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-08-21 09:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:31:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":158943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:24] local.INFO: GPS data processed {"connection_id":158943,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:24] local.INFO: Acknowledgment sent {"connection_id":158943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:26] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:31:26] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:31:26] local.INFO: IMEI packet received {"connection_id":161478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":161478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:31:42] local.INFO: TCP Data received {"connection_id":161477,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022798380012d7a0a4005ec3ff8000500ae2a..."} 
[2026-08-21 09:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022798380012d7a0a4005ec3ff8000500ae2a..."} 
[2026-08-21 09:31:42] local.INFO: Processing buffer {"connection_id":161477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022798380012d7a0a4005ec3ff8000500ae2a..."} 
[2026-08-21 09:31:42] local.INFO: Packet analysis {"connection_id":161477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:42] local.INFO: Extracted packet for processing {"connection_id":161477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":762972736,"raw_latitude":99368952,"longitude_deg":76.2972736,"latitude_deg":9.9368952,"altitude":5,"angle":174,"satellites":42,"speed":5,"hex_longitude":"2d7a0a40","hex_latitude":"05ec3ff8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544902656001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121649708799098880,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793419035368024064,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787284784000,"timestamp_ms":1787284784000,"timestamp_seconds":1787284784,"priority":1,"record_length":96,"hex_timestamp":"000001a022798380"} 
[2026-08-21 09:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 09:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161477,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544902656001,"66":13363,"100":206,"87":13824,"24":5,"16":121649708799098880,"45":8793419035368024064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 09:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544902656001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121649708799098880,"km_value":121649708799098.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793419035368024064,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544902656001,"power":13363,"unknown_100":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8793419035368024064}} 
[2026-08-21 09:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":161477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:42] local.INFO: GPS data processed {"connection_id":161477,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:42] local.INFO: Acknowledgment sent {"connection_id":161477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:47] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:31:47] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:31:47] local.INFO: IMEI packet received {"connection_id":161478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":161478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:31:51] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022790680012da67740054b3cb80015005732..."} 
[2026-08-21 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022790680012da67740054b3cb80015005732..."} 
[2026-08-21 09:31:51] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022790680012da67740054b3cb80015005732..."} 
[2026-08-21 09:31:51] local.INFO: Packet analysis {"connection_id":161478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:51] local.INFO: Extracted packet for processing {"connection_id":161478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:51] local.INFO: GPS Element Parsed {"raw_longitude":765884224,"raw_latitude":88816824,"longitude_deg":76.5884224,"latitude_deg":8.8816824,"altitude":21,"angle":87,"satellites":50,"speed":5,"hex_longitude":"2da67740","hex_latitude":"054b3cb8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544895232001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923958730588160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6452180499657029632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787284752000,"timestamp_ms":1787284752000,"timestamp_seconds":1787284752,"priority":1,"record_length":96,"hex_timestamp":"000001a022790680"} 
[2026-08-21 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-08-21 09:31: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-08-21 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 09:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 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-08-21 09:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544895232001,"66":27876,"203":206,"84":6144,"24":5,"16":387923958730588160,"45":-6452180499657029632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,84,24,16,45]} 
[2026-08-21 09:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544895232001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923958730588160,"km_value":387923958730588.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6452180499657029632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544895232001,"power":27876,"mnc":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6452180499657029632}} 
[2026-08-21 09:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":161478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:51] local.INFO: GPS data processed {"connection_id":161478,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:51] local.INFO: Acknowledgment sent {"connection_id":161478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:53] local.INFO: TCP Data received {"connection_id":159229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227acf88012d0d2d800703cc880010012d22..."} 
[2026-08-21 09:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227acf88012d0d2d800703cc880010012d22..."} 
[2026-08-21 09:31:53] local.INFO: Processing buffer {"connection_id":159229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227acf88012d0d2d800703cc880010012d22..."} 
[2026-08-21 09:31:53] local.INFO: Packet analysis {"connection_id":159229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:31:53] local.INFO: Extracted packet for processing {"connection_id":159229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:31:53] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117689480,"longitude_deg":75.5838336,"latitude_deg":11.768948,"altitude":16,"angle":301,"satellites":34,"speed":4,"hex_longitude":"2d0d2d80","hex_latitude":"0703cc88","is_valid_coordinates":true} 
[2026-08-21 09:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544922112001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29223447108255744,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949766970294433792,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787284869000,"timestamp_ms":1787284869000,"timestamp_seconds":1787284869,"priority":1,"record_length":96,"hex_timestamp":"000001a0227acf88"} 
[2026-08-21 09:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:31:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159229,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544922112001,"66":14450,"16":29223447108255744,"94":11008,"24":4,"45":949766970294433792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544922112001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29223447108255744,"km_value":29223447108255.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":949766970294433792,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544922112001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":4,"unknown_45":949766970294433792}} 
[2026-08-21 09:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":159229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674957,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:54] local.INFO: GPS data processed {"connection_id":159229,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:54] local.INFO: Acknowledgment sent {"connection_id":159229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:55] local.INFO: TCP Data received {"connection_id":161478,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022790e50012da67880054b3c680015006932..."} 
[2026-08-21 09:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022790e50012da67880054b3c680015006932..."} 
[2026-08-21 09:31:55] local.INFO: Processing buffer {"connection_id":161478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022790e50012da67880054b3c680015006932..."} 
[2026-08-21 09:31:55] local.INFO: Packet analysis {"connection_id":161478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:55] local.INFO: Extracted packet for processing {"connection_id":161478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02279"} 
[2026-08-21 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":765884544,"raw_latitude":88816744,"longitude_deg":76.5884544,"latitude_deg":8.8816744,"altitude":21,"angle":105,"satellites":50,"speed":7,"hex_longitude":"2da67880","hex_latitude":"054b3c68","is_valid_coordinates":true} 
[2026-08-21 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544896512001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387923971615490048,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6451617549703661568,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284754000,"timestamp_ms":1787284754000,"timestamp_seconds":1787284754,"priority":1,"record_length":96,"hex_timestamp":"000001a022790e50"} 
[2026-08-21 09:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09: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-08-21 09: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":228,"data_length":795,"current_offset":136} 
[2026-08-21 09:31: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-08-21 09:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:31: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-08-21 09:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544896512001,"66":27821,"203":206,"84":6144,"24":7,"16":387923971615490048,"45":-6451617549703661568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,84,24,16,45]} 
[2026-08-21 09:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544896512001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387923971615490048,"km_value":387923971615490.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6451617549703661568,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544896512001,"power":27821,"mnc":206,"unknown_84":6144,"ignition":7,"odometer":null,"unknown_45":-6451617549703661568}} 
[2026-08-21 09:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":161478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:55] local.INFO: GPS data processed {"connection_id":161478,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:55] local.INFO: Acknowledgment sent {"connection_id":161478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:31:55] local.INFO: TCP Data received {"connection_id":158943,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:31:55] local.INFO: Processing buffer {"connection_id":158943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:31:55] local.INFO: Packet analysis {"connection_id":158943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:31:55] local.INFO: Extracted packet for processing {"connection_id":158943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09: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-08-21 09:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"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-08-21 09:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":158943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:31:55] local.INFO: GPS data processed {"connection_id":158943,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:31:55] local.INFO: Acknowledgment sent {"connection_id":158943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:32:07] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:32:07] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:32:07] local.INFO: IMEI packet received {"connection_id":159230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":159230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:32:12] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:32:12] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:32:12] local.INFO: IMEI packet received {"connection_id":159230,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":159230,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:32:17] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:32:17] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:32:17] local.INFO: IMEI packet received {"connection_id":161479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":161479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:32:17] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:32:17] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:32:17] local.INFO: IMEI packet received {"connection_id":159231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":159231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:32:21] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:32:21] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:32:21] local.INFO: IMEI packet received {"connection_id":161479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":161479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:32:21] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227ad370012d0d2d400703ccd80010014522..."} 
[2026-08-21 09:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227ad370012d0d2d400703ccd80010014522..."} 
[2026-08-21 09:32:21] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227ad370012d0d2d400703ccd80010014522..."} 
[2026-08-21 09:32:21] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:32:21] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:32:21] local.INFO: GPS Element Parsed {"raw_longitude":755838272,"raw_latitude":117689560,"longitude_deg":75.5838272,"latitude_deg":11.768956,"altitude":16,"angle":325,"satellites":34,"speed":5,"hex_longitude":"2d0d2d40","hex_latitude":"0703ccd8","is_valid_coordinates":true} 
[2026-08-21 09:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544926464001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29223451403223040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061904896,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787284870000,"timestamp_ms":1787284870000,"timestamp_seconds":1787284870,"priority":1,"record_length":96,"hex_timestamp":"000001a0227ad370"} 
[2026-08-21 09:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:32:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 09:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:32:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544926464001,"66":14450,"16":29223451403223040,"94":11008,"24":5,"45":949555864061904896},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544926464001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29223451403223040,"km_value":29223451403223.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:32:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061904896,"description":"Unknown IO ID 45"} 
[2026-08-21 09:32:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544926464001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":949555864061904896}} 
[2026-08-21 09:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674960,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:32:22] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:32:22] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:32:23] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:32:23] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:32:23] local.INFO: IMEI packet received {"connection_id":159231,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":159231,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:32:24] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:32:24] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:32:24] local.INFO: Packet analysis {"connection_id":159231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:32:24] local.INFO: Extracted packet for processing {"connection_id":159231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32: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-08-21 09:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:32:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:32: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-08-21 09:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:32:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:32:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":159231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:32:24] local.INFO: GPS data processed {"connection_id":159231,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:32:24] local.INFO: Acknowledgment sent {"connection_id":159231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:32:26] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:26] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:26] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:32:27] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:27] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:27] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:32:31] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:31] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:32:31] local.INFO: IMEI packet received {"connection_id":160136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":160136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:32:32] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227b1da8012da72900054a8948000d00512d..."} 
[2026-08-21 09:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227b1da8012da72900054a8948000d00512d..."} 
[2026-08-21 09:32:32] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227b1da8012da72900054a8948000d00512d..."} 
[2026-08-21 09:32:32] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:32:32] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:32:32] local.INFO: GPS Element Parsed {"raw_longitude":765929728,"raw_latitude":88770888,"longitude_deg":76.5929728,"latitude_deg":8.8770888,"altitude":13,"angle":81,"satellites":45,"speed":18,"hex_longitude":"2da72900","hex_latitude":"054a8948","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544931328001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387927725416906752,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6402077953814345728,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787284889000,"timestamp_ms":1787284889000,"timestamp_seconds":1787284889,"priority":1,"record_length":96,"hex_timestamp":"000001a0227b1da8"} 
[2026-08-21 09:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:32: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-08-21 09: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":119,"data_length":795,"current_offset":136} 
[2026-08-21 09:32: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-08-21 09: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-08-21 09:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544931328001,"66":27832,"248":206,"84":6144,"24":18,"16":387927725416906752,"45":-6402077953814345728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 09:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544931328001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:32:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387927725416906752,"km_value":387927725416906.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6402077953814345728,"description":"Unknown IO ID 45"} 
[2026-08-21 09:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544931328001,"power":27832,"tamper_alert":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6402077953814345728}} 
[2026-08-21 09:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:32:32] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:32:32] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:32:53] local.INFO: TCP Data received {"connection_id":161479,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227adb40012d0d2c800703cde80010015a21..."} 
[2026-08-21 09:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227adb40012d0d2c800703cde80010015a21..."} 
[2026-08-21 09:32:53] local.INFO: Processing buffer {"connection_id":161479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227adb40012d0d2c800703cde80010015a21..."} 
[2026-08-21 09:32:53] local.INFO: Packet analysis {"connection_id":161479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:32:53] local.INFO: Extracted packet for processing {"connection_id":161479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227a"} 
[2026-08-21 09:32:53] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689832,"longitude_deg":75.583808,"latitude_deg":11.7689832,"altitude":16,"angle":346,"satellites":33,"speed":7,"hex_longitude":"2d0d2c80","hex_latitude":"0703cde8","is_valid_coordinates":true} 
[2026-08-21 09:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544926720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29223468583092224,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949485495317747712,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787284872000,"timestamp_ms":1787284872000,"timestamp_seconds":1787284872,"priority":1,"record_length":96,"hex_timestamp":"000001a0227adb40"} 
[2026-08-21 09:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 09:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544926720001,"66":14428,"16":29223468583092224,"94":11008,"24":7,"45":949485495317747712},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544926720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29223468583092224,"km_value":29223468583092.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:32:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":949485495317747712,"description":"Unknown IO ID 45"} 
[2026-08-21 09:32:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544926720001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":949485495317747712}} 
[2026-08-21 09:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":161479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674963,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:32:53] local.INFO: GPS data processed {"connection_id":161479,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:32:53] local.INFO: Acknowledgment sent {"connection_id":161479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:32:55] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:32:55] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:32:55] local.INFO: Packet analysis {"connection_id":159231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:32:55] local.INFO: Extracted packet for processing {"connection_id":159231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159231,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:32:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:32:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":159231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:32:55] local.INFO: GPS data processed {"connection_id":159231,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:32:55] local.INFO: Acknowledgment sent {"connection_id":159231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:03] local.INFO: TCP Data received {"connection_id":160136,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227b2190012da72ac0054a89b8000d00452d..."} 
[2026-08-21 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227b2190012da72ac0054a89b8000d00452d..."} 
[2026-08-21 09:33:03] local.INFO: Processing buffer {"connection_id":160136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227b2190012da72ac0054a89b8000d00452d..."} 
[2026-08-21 09:33:03] local.INFO: Packet analysis {"connection_id":160136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:03] local.INFO: Extracted packet for processing {"connection_id":160136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":765930176,"raw_latitude":88771000,"longitude_deg":76.5930176,"latitude_deg":8.8771,"altitude":13,"angle":69,"satellites":45,"speed":18,"hex_longitude":"2da72ac0","hex_latitude":"054a89b8","is_valid_coordinates":true} 
[2026-08-21 09:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544931584001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387927746891743232,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6401585372605102080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787284890000,"timestamp_ms":1787284890000,"timestamp_seconds":1787284890,"priority":1,"record_length":96,"hex_timestamp":"000001a0227b2190"} 
[2026-08-21 09:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:03] 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-08-21 09:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544931584001,"66":27832,"248":206,"84":6144,"24":18,"16":387927746891743232,"45":-6401585372605102080},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 09:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544931584001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387927746891743232,"km_value":387927746891743.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6401585372605102080,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544931584001,"power":27832,"tamper_alert":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6401585372605102080}} 
[2026-08-21 09:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":160136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:03] local.INFO: GPS data processed {"connection_id":160136,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:03] local.INFO: Acknowledgment sent {"connection_id":160136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:07] local.INFO: TCP Data received {"connection_id":158944,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:33:07] local.INFO: Processing buffer {"connection_id":158944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:33:07] local.INFO: IMEI packet received {"connection_id":158944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":158944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:33:12] local.INFO: TCP Data received {"connection_id":158944,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:33:12] local.INFO: Processing buffer {"connection_id":158944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:33:12] local.INFO: IMEI packet received {"connection_id":158944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":158944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:33:12] local.INFO: TCP Data received {"connection_id":158944,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227c65c8012d7a2c8005ebe8f00005007d29..."} 
[2026-08-21 09:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227c65c8012d7a2c8005ebe8f00005007d29..."} 
[2026-08-21 09:33:12] local.INFO: Processing buffer {"connection_id":158944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227c65c8012d7a2c8005ebe8f00005007d29..."} 
[2026-08-21 09:33:12] local.INFO: Packet analysis {"connection_id":158944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:33:12] local.INFO: Extracted packet for processing {"connection_id":158944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:33:12] local.INFO: GPS Element Parsed {"raw_longitude":762981504,"raw_latitude":99346672,"longitude_deg":76.2981504,"latitude_deg":9.9346672,"altitude":5,"angle":125,"satellites":41,"speed":6,"hex_longitude":"2d7a2c80","hex_latitude":"05ebe8f0","is_valid_coordinates":true} 
[2026-08-21 09:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544952832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121650907094974464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803341028291076096,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787284973000,"timestamp_ms":1787284973000,"timestamp_seconds":1787284973,"priority":1,"record_length":96,"hex_timestamp":"000001a0227c65c8"} 
[2026-08-21 09:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":158944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":158944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":158944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544952832001,"66":13428,"163":206,"87":13824,"24":6,"16":121650907094974464,"45":8803341028291076096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544952832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:33:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121650907094974464,"km_value":121650907094974.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803341028291076096,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544952832001,"power":13428,"unknown_163":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8803341028291076096}} 
[2026-08-21 09:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":158944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:13] local.INFO: GPS data processed {"connection_id":158944,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:13] local.INFO: Acknowledgment sent {"connection_id":158944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:17] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:33:17] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:33:17] local.INFO: IMEI packet received {"connection_id":159232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":159232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:33:17] local.INFO: TCP Data received {"connection_id":158945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:33:17] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:33:17] local.INFO: IMEI packet received {"connection_id":158945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":158945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:33:21] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:33:21] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:33:21] local.INFO: IMEI packet received {"connection_id":159232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":159232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:33:22] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227b15d8012d0d29400703e0500013000026..."} 
[2026-08-21 09:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227b15d8012d0d29400703e0500013000026..."} 
[2026-08-21 09:33:22] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227b15d8012d0d29400703e0500013000026..."} 
[2026-08-21 09:33:22] local.INFO: Packet analysis {"connection_id":159232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:22] local.INFO: Extracted packet for processing {"connection_id":159232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":755837248,"raw_latitude":117694544,"longitude_deg":75.5837248,"latitude_deg":11.7694544,"altitude":19,"angle":0,"satellites":38,"speed":12,"hex_longitude":"2d0d2940","hex_latitude":"0703e050","is_valid_coordinates":true} 
[2026-08-21 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544927232001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29223700511326208,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389085284352,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787284887000,"timestamp_ms":1787284887000,"timestamp_seconds":1787284887,"priority":1,"record_length":96,"hex_timestamp":"000001a0227b15d8"} 
[2026-08-21 09:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544927232001,"66":14407,"16":29223700511326208,"94":11008,"24":12,"45":949274389085284352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544927232001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29223700511326208,"km_value":29223700511326.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389085284352,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544927232001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":949274389085284352}} 
[2026-08-21 09:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":159232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674967,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:22] local.INFO: GPS data processed {"connection_id":159232,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:22] local.INFO: Acknowledgment sent {"connection_id":159232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:23] local.INFO: TCP Data received {"connection_id":158945,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:33:23] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:33:23] local.INFO: IMEI packet received {"connection_id":158945,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":158945,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:33:29] local.INFO: TCP Data received {"connection_id":158945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:33:29] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:33:29] local.INFO: Packet analysis {"connection_id":158945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:33:29] local.INFO: Extracted packet for processing {"connection_id":158945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:33:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:33:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":158945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:29] local.INFO: GPS data processed {"connection_id":158945,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:29] local.INFO: Acknowledgment sent {"connection_id":158945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:31] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:33:31] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:33:31] local.INFO: IMEI packet received {"connection_id":161480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":161480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:33:36] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:33:36] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:33:36] local.INFO: IMEI packet received {"connection_id":161480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":161480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:33:38] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227b2d48012da72fc0054a8ca0000d00362e..."} 
[2026-08-21 09:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227b2d48012da72fc0054a8ca0000d00362e..."} 
[2026-08-21 09:33:38] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227b2d48012da72fc0054a8ca0000d00362e..."} 
[2026-08-21 09:33:38] local.INFO: Packet analysis {"connection_id":161480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:38] local.INFO: Extracted packet for processing {"connection_id":161480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":765931456,"raw_latitude":88771744,"longitude_deg":76.5931456,"latitude_deg":8.8771744,"altitude":13,"angle":54,"satellites":46,"speed":21,"hex_longitude":"2da72fc0","hex_latitude":"054a8ca0","is_valid_coordinates":true} 
[2026-08-21 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544931840001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387927819906187264,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6401092791395829760,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787284893000,"timestamp_ms":1787284893000,"timestamp_seconds":1787284893,"priority":1,"record_length":96,"hex_timestamp":"000001a0227b2d48"} 
[2026-08-21 09:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:38] 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-08-21 09:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544931840001,"66":27767,"248":206,"84":6144,"24":21,"16":387927819906187264,"45":-6401092791395829760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 09:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544931840001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387927819906187264,"km_value":387927819906187.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6401092791395829760,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544931840001,"power":27767,"tamper_alert":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6401092791395829760}} 
[2026-08-21 09:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":161480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:38] local.INFO: GPS data processed {"connection_id":161480,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:38] local.INFO: Acknowledgment sent {"connection_id":161480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:43] local.INFO: TCP Data received {"connection_id":158944,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227c69b0012d7a2cc005ebe8700005008c29..."} 
[2026-08-21 09:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227c69b0012d7a2cc005ebe8700005008c29..."} 
[2026-08-21 09:33:43] local.INFO: Processing buffer {"connection_id":158944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227c69b0012d7a2cc005ebe8700005008c29..."} 
[2026-08-21 09:33:43] local.INFO: Packet analysis {"connection_id":158944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:33:43] local.INFO: Extracted packet for processing {"connection_id":158944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:33:43] local.INFO: GPS Element Parsed {"raw_longitude":762981568,"raw_latitude":99346544,"longitude_deg":76.2981568,"latitude_deg":9.9346544,"altitude":5,"angle":140,"satellites":41,"speed":6,"hex_longitude":"2d7a2cc0","hex_latitude":"05ebe870","is_valid_coordinates":true} 
[2026-08-21 09:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544953088001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121650911389941760,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803552134523580416,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787284974000,"timestamp_ms":1787284974000,"timestamp_seconds":1787284974,"priority":1,"record_length":96,"hex_timestamp":"000001a0227c69b0"} 
[2026-08-21 09:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544953088001,"66":13428,"163":206,"87":13824,"24":6,"16":121650911389941760,"45":8803552134523580416},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544953088001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:33:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121650911389941760,"km_value":121650911389941.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803552134523580416,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544953088001,"power":13428,"unknown_163":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8803552134523580416}} 
[2026-08-21 09:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":158944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:43] local.INFO: GPS data processed {"connection_id":158944,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:43] local.INFO: Acknowledgment sent {"connection_id":158944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:45] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227b6fb0012d7a238005ebfbb8000500a122..."} 
[2026-08-21 09:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227b6fb0012d7a238005ebfbb8000500a122..."} 
[2026-08-21 09:33:45] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227b6fb0012d7a238005ebfbb8000500a122..."} 
[2026-08-21 09:33:45] local.INFO: Packet analysis {"connection_id":159230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:45] local.INFO: Extracted packet for processing {"connection_id":159230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:45] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99351480,"longitude_deg":76.29792,"latitude_deg":9.935148,"altitude":5,"angle":161,"satellites":34,"speed":4,"hex_longitude":"2d7a2380","hex_latitude":"05ebfbb8","is_valid_coordinates":true} 
[2026-08-21 09:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544931584001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121650632217067520,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800596647269535744,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787284910000,"timestamp_ms":1787284910000,"timestamp_seconds":1787284910,"priority":1,"record_length":96,"hex_timestamp":"000001a0227b6fb0"} 
[2026-08-21 09:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544931584001,"66":13406,"99":206,"87":13824,"24":4,"16":121650632217067520,"45":8800596647269535744},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 09:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544931584001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:45] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 09:33:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121650632217067520,"km_value":121650632217067.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800596647269535744,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544931584001,"power":13406,"unknown_99":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8800596647269535744}} 
[2026-08-21 09:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":159230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:45] local.INFO: GPS data processed {"connection_id":159230,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:45] local.INFO: Acknowledgment sent {"connection_id":159230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:46] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227b7398012d7a238005ebfb38000500ae23..."} 
[2026-08-21 09:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227b7398012d7a238005ebfb38000500ae23..."} 
[2026-08-21 09:33:46] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227b7398012d7a238005ebfb38000500ae23..."} 
[2026-08-21 09:33:46] local.INFO: Packet analysis {"connection_id":159230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:46] local.INFO: Extracted packet for processing {"connection_id":159230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227b"} 
[2026-08-21 09:33:46] local.INFO: GPS Element Parsed {"raw_longitude":762979200,"raw_latitude":99351352,"longitude_deg":76.29792,"latitude_deg":9.9351352,"altitude":5,"angle":174,"satellites":35,"speed":5,"hex_longitude":"2d7a2380","hex_latitude":"05ebfb38","is_valid_coordinates":true} 
[2026-08-21 09:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544936960001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121650636512034816,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801018859734415360,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787284911000,"timestamp_ms":1787284911000,"timestamp_seconds":1787284911,"priority":1,"record_length":96,"hex_timestamp":"000001a0227b7398"} 
[2026-08-21 09:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159230,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544936960001,"66":13406,"99":206,"87":13824,"24":5,"16":121650636512034816,"45":8801018859734415360},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 09:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544936960001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:46] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 09:33:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121650636512034816,"km_value":121650636512034.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801018859734415360,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544936960001,"power":13406,"unknown_99":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8801018859734415360}} 
[2026-08-21 09:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":159230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:46] local.INFO: GPS data processed {"connection_id":159230,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:46] local.ERROR: TCP Connection error {"connection_id":159230,"code":2,"message":"client closed"} 
[2026-08-21 09:33:46] local.INFO: Acknowledgment sent {"connection_id":159230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:33:55] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d1590012d0d2e4007045c300018001724..."} 
[2026-08-21 09:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d1590012d0d2e4007045c300018001724..."} 
[2026-08-21 09:33:55] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d1590012d0d2e4007045c300018001724..."} 
[2026-08-21 09:33:55] local.INFO: Packet analysis {"connection_id":159232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:33:55] local.INFO: Extracted packet for processing {"connection_id":159232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755838528,"raw_latitude":117726256,"longitude_deg":75.5838528,"latitude_deg":11.7726256,"altitude":24,"angle":23,"satellites":36,"speed":11,"hex_longitude":"2d0d2e40","hex_latitude":"07045c30","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544962304001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29225272469356544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949274389093918720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:33:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285018000,"timestamp_ms":1787285018000,"timestamp_seconds":1787285018,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d1590"} 
[2026-08-21 09:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:33: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-08-21 09: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 09:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544962304001,"66":14298,"16":29225272469356544,"94":11008,"24":11,"45":949274389093918720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544962304001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29225272469356544,"km_value":29225272469356.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:33:55] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":949274389093918720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:33:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544962304001,"power":14298,"odometer":null,"unknown_94":11008,"ignition":11,"unknown_45":949274389093918720}} 
[2026-08-21 09:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":159232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674973,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:33:55] local.INFO: GPS data processed {"connection_id":159232,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:33:55] local.INFO: Acknowledgment sent {"connection_id":159232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:00] local.INFO: TCP Data received {"connection_id":158945,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:34:00] local.INFO: Processing buffer {"connection_id":158945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022789150012d196500071ff0a8003a01442b..."} 
[2026-08-21 09:34:00] local.INFO: Packet analysis {"connection_id":158945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:34:00] local.INFO: Extracted packet for processing {"connection_id":158945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02278"} 
[2026-08-21 09:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544811776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787284722000,"timestamp_ms":1787284722000,"timestamp_seconds":1787284722,"priority":1,"record_length":96,"hex_timestamp":"000001a022789150"} 
[2026-08-21 09:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":158945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":158945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":158945,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544811776001,"66":2155,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544811776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:34:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544811776001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":158945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:00] local.INFO: GPS data processed {"connection_id":158945,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:00] local.INFO: Acknowledgment sent {"connection_id":158945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:07] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:34:07] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:34:07] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:34:09] local.INFO: TCP Data received {"connection_id":161480,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227ccb58012da7e840054b2e38001700692f..."} 
[2026-08-21 09:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227ccb58012da7e840054b2e38001700692f..."} 
[2026-08-21 09:34:09] local.INFO: Processing buffer {"connection_id":161480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227ccb58012da7e840054b2e38001700692f..."} 
[2026-08-21 09:34:09] local.INFO: Packet analysis {"connection_id":161480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:09] local.INFO: Extracted packet for processing {"connection_id":161480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:09] local.INFO: GPS Element Parsed {"raw_longitude":765978688,"raw_latitude":88813112,"longitude_deg":76.5978688,"latitude_deg":8.8813112,"altitude":23,"angle":105,"satellites":47,"speed":27,"hex_longitude":"2da7e840","hex_latitude":"054b2e38","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544959232001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387930920872574976,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6349160658181873664,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787284999000,"timestamp_ms":1787284999000,"timestamp_seconds":1787284999,"priority":1,"record_length":96,"hex_timestamp":"000001a0227ccb58"} 
[2026-08-21 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-08-21 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-08-21 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544959232001,"66":27843,"156":206,"84":6144,"24":27,"16":387930920872574976,"45":-6349160658181873664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 09:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544959232001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:09] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 09:34:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387930920872574976,"km_value":387930920872575.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6349160658181873664,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544959232001,"power":27843,"unknown_156":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6349160658181873664}} 
[2026-08-21 09:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":161480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:09] local.INFO: GPS data processed {"connection_id":161480,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:09] local.INFO: Acknowledgment sent {"connection_id":161480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:12] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:34:12] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:34:12] local.INFO: IMEI packet received {"connection_id":160137,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":160137,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:34:12] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227c6d98012d7a2d0005ebe7e0000500a028..."} 
[2026-08-21 09:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227c6d98012d7a2d0005ebe7e0000500a028..."} 
[2026-08-21 09:34:12] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227c6d98012d7a2d0005ebe7e0000500a028..."} 
[2026-08-21 09:34:12] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:12] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:12] local.INFO: GPS Element Parsed {"raw_longitude":762981632,"raw_latitude":99346400,"longitude_deg":76.2981632,"latitude_deg":9.93464,"altitude":5,"angle":160,"satellites":40,"speed":4,"hex_longitude":"2d7a2d00","hex_latitude":"05ebe7e0","is_valid_coordinates":true} 
[2026-08-21 09:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544953344001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121650919979876352,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803622503267725312,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787284975000,"timestamp_ms":1787284975000,"timestamp_seconds":1787284975,"priority":1,"record_length":96,"hex_timestamp":"000001a0227c6d98"} 
[2026-08-21 09:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544953344001,"66":13363,"163":206,"87":13824,"24":4,"16":121650919979876352,"45":8803622503267725312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544953344001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:34:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121650919979876352,"km_value":121650919979876.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803622503267725312,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544953344001,"power":13363,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8803622503267725312}} 
[2026-08-21 09:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:13] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:13] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:16] local.INFO: TCP Data received {"connection_id":158946,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:34:16] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:34:16] local.INFO: IMEI packet received {"connection_id":158946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":158946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:34:21] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:21] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:21] local.INFO: IMEI packet received {"connection_id":159233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":159233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:34:23] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:23] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:23] local.INFO: IMEI packet received {"connection_id":159233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":159233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:34:25] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:25] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:25] local.INFO: IMEI packet received {"connection_id":159234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":159234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:34:26] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:26] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:26] local.INFO: IMEI packet received {"connection_id":159234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":159234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:34:27] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:27] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:27] local.INFO: IMEI packet received {"connection_id":159234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":159234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:34:28] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:28] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:34:28] local.INFO: IMEI packet received {"connection_id":159233,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":159233,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:34:28] local.INFO: TCP Data received {"connection_id":158946,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:34:28] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:34:28] local.INFO: IMEI packet received {"connection_id":158946,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":158946,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:34:28] local.INFO: TCP Data received {"connection_id":158946,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d38b8012d0d3180070465500018000823..."} 
[2026-08-21 09:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d38b8012d0d3180070465500018000823..."} 
[2026-08-21 09:34:28] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d38b8012d0d3180070465500018000823..."} 
[2026-08-21 09:34:28] local.INFO: Packet analysis {"connection_id":158946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:34:28] local.INFO: Extracted packet for processing {"connection_id":158946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:34:28] local.INFO: GPS Element Parsed {"raw_longitude":755839360,"raw_latitude":117728592,"longitude_deg":75.583936,"latitude_deg":11.7728592,"altitude":24,"angle":8,"satellites":35,"speed":14,"hex_longitude":"2d0d3180","hex_latitude":"07046550","is_valid_coordinates":true} 
[2026-08-21 09:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544964608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29225392728440832,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949766970303852544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787285027000,"timestamp_ms":1787285027000,"timestamp_seconds":1787285027,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d38b8"} 
[2026-08-21 09:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544964608001,"66":14537,"16":29225392728440832,"94":11008,"24":14,"45":949766970303852544},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544964608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29225392728440832,"km_value":29225392728440.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":949766970303852544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544964608001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":14,"unknown_45":949766970303852544}} 
[2026-08-21 09:34:29] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:34:29] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:34:29] local.INFO: Packet analysis {"connection_id":159233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:34:29] local.INFO: Extracted packet for processing {"connection_id":159233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":158946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674977,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:29] local.INFO: GPS data processed {"connection_id":158946,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:29] local.INFO: Acknowledgment sent {"connection_id":158946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":159233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:29] local.INFO: GPS data processed {"connection_id":159233,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:29] local.INFO: Acknowledgment sent {"connection_id":159233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:31] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:31] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:34:31] local.INFO: IMEI packet received {"connection_id":159234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":159234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:34:32] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227cd328012da7ed40054b2c38001600742f..."} 
[2026-08-21 09:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227cd328012da7ed40054b2c38001600742f..."} 
[2026-08-21 09:34:32] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227cd328012da7ed40054b2c38001600742f..."} 
[2026-08-21 09:34:32] local.INFO: Packet analysis {"connection_id":159234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:32] local.INFO: Extracted packet for processing {"connection_id":159234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:32] local.INFO: GPS Element Parsed {"raw_longitude":765979968,"raw_latitude":88812600,"longitude_deg":76.5979968,"latitude_deg":8.88126,"altitude":22,"angle":116,"satellites":47,"speed":27,"hex_longitude":"2da7ed40","hex_latitude":"054b2c38","is_valid_coordinates":true} 
[2026-08-21 09:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544959744001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387930989592051712,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6347753283298379776,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285001000,"timestamp_ms":1787285001000,"timestamp_seconds":1787285001,"priority":1,"record_length":96,"hex_timestamp":"000001a0227cd328"} 
[2026-08-21 09:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:34: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-08-21 09: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":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544959744001,"66":27821,"156":206,"84":6144,"24":27,"16":387930989592051712,"45":-6347753283298379776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 09:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544959744001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 09:34:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387930989592051712,"km_value":387930989592051.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6347753283298379776,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544959744001,"power":27821,"unknown_156":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6347753283298379776}} 
[2026-08-21 09:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":159234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:32] local.INFO: GPS data processed {"connection_id":159234,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:32] local.INFO: Acknowledgment sent {"connection_id":159234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:33] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:34:33] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:34:33] local.INFO: Packet analysis {"connection_id":159233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:34:33] local.INFO: Extracted packet for processing {"connection_id":159233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159233,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:34:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":159233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:33] local.INFO: GPS data processed {"connection_id":159233,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:33] local.INFO: Acknowledgment sent {"connection_id":159233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:34:44] local.INFO: TCP Data received {"connection_id":160137,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227cbbb8012d7a344005ebd4e00004009b28..."} 
[2026-08-21 09:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227cbbb8012d7a344005ebd4e00004009b28..."} 
[2026-08-21 09:34:44] local.INFO: Processing buffer {"connection_id":160137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227cbbb8012d7a344005ebd4e00004009b28..."} 
[2026-08-21 09:34:44] local.INFO: Packet analysis {"connection_id":160137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:44] local.INFO: Extracted packet for processing {"connection_id":160137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:34:44] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":99341536,"longitude_deg":76.2983488,"latitude_deg":9.9341536,"altitude":4,"angle":155,"satellites":40,"speed":9,"hex_longitude":"2d7a3440","hex_latitude":"05ebd4e0","is_valid_coordinates":true} 
[2026-08-21 09:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544953600001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121651177677914112,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803692872011866112,"note":"Value kept but may cause issues"} 
[2026-08-21 09:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787284995000,"timestamp_ms":1787284995000,"timestamp_seconds":1787284995,"priority":1,"record_length":96,"hex_timestamp":"000001a0227cbbb8"} 
[2026-08-21 09:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 09:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160137,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544953600001,"66":13200,"163":206,"87":13824,"24":9,"16":121651177677914112,"45":8803692872011866112},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544953600001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:34:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:34:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121651177677914112,"km_value":121651177677914.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803692872011866112,"description":"Unknown IO ID 45"} 
[2026-08-21 09:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544953600001,"power":13200,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8803692872011866112}} 
[2026-08-21 09:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":160137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:34:44] local.INFO: GPS data processed {"connection_id":160137,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:34:44] local.INFO: Acknowledgment sent {"connection_id":160137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:00] local.INFO: TCP Data received {"connection_id":158946,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d4c40012d0d33c007046e780018001923..."} 
[2026-08-21 09:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d4c40012d0d33c007046e780018001923..."} 
[2026-08-21 09:35:00] local.INFO: Processing buffer {"connection_id":158946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d4c40012d0d33c007046e780018001923..."} 
[2026-08-21 09:35:00] local.INFO: Packet analysis {"connection_id":158946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:00] local.INFO: Extracted packet for processing {"connection_id":158946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:00] local.INFO: GPS Element Parsed {"raw_longitude":755839936,"raw_latitude":117730936,"longitude_deg":75.5839936,"latitude_deg":11.7730936,"altitude":24,"angle":25,"satellites":35,"speed":20,"hex_longitude":"2d0d33c0","hex_latitude":"07046e78","is_valid_coordinates":true} 
[2026-08-21 09:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544966912001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29225508692557824,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950681763978760192,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787285032000,"timestamp_ms":1787285032000,"timestamp_seconds":1787285032,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d4c40"} 
[2026-08-21 09:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35: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-08-21 09: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 09:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":158946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":158946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":158946,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544966912001,"66":14450,"16":29225508692557824,"94":11008,"24":20,"45":950681763978760192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544966912001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29225508692557824,"km_value":29225508692557.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":950681763978760192,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457544966912001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":950681763978760192}} 
[2026-08-21 09:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":158946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674982,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:00] local.INFO: GPS data processed {"connection_id":158946,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:00] local.INFO: Acknowledgment sent {"connection_id":158946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:03] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227cee80012da80100054b2478001500692f..."} 
[2026-08-21 09:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227cee80012da80100054b2478001500692f..."} 
[2026-08-21 09:35:03] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227cee80012da80100054b2478001500692f..."} 
[2026-08-21 09:35:03] local.INFO: Packet analysis {"connection_id":159234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:35:03] local.INFO: Extracted packet for processing {"connection_id":159234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:35:03] local.INFO: GPS Element Parsed {"raw_longitude":765985024,"raw_latitude":88810616,"longitude_deg":76.5985024,"latitude_deg":8.8810616,"altitude":21,"angle":105,"satellites":47,"speed":31,"hex_longitude":"2da80100","hex_latitude":"054b2478","is_valid_coordinates":true} 
[2026-08-21 09:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544960256001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387931247290089472,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6346345908414957568,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285008000,"timestamp_ms":1787285008000,"timestamp_seconds":1787285008,"priority":1,"record_length":96,"hex_timestamp":"000001a0227cee80"} 
[2026-08-21 09:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 09:35: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-08-21 09:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544960256001,"66":27876,"156":206,"84":6144,"24":31,"16":387931247290089472,"45":-6346345908414957568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 09:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544960256001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 09:35:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387931247290089472,"km_value":387931247290089.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6346345908414957568,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544960256001,"power":27876,"unknown_156":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6346345908414957568}} 
[2026-08-21 09:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":159234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:03] local.INFO: GPS data processed {"connection_id":159234,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:03] local.INFO: Acknowledgment sent {"connection_id":159234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:06] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:35:06] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:35:06] local.INFO: IMEI packet received {"connection_id":159235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":159235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:35:12] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:35:12] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:35:12] local.INFO: IMEI packet received {"connection_id":159235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":159235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:35:13] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227ce6b0012d7a368005ebd110000300a728..."} 
[2026-08-21 09:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227ce6b0012d7a368005ebd110000300a728..."} 
[2026-08-21 09:35:13] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227ce6b0012d7a368005ebd110000300a728..."} 
[2026-08-21 09:35:13] local.INFO: Packet analysis {"connection_id":159235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:35:13] local.INFO: Extracted packet for processing {"connection_id":159235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:35:13] local.INFO: GPS Element Parsed {"raw_longitude":762984064,"raw_latitude":99340560,"longitude_deg":76.2984064,"latitude_deg":9.934056,"altitude":3,"angle":167,"satellites":40,"speed":6,"hex_longitude":"2d7a3680","hex_latitude":"05ebd110","is_valid_coordinates":true} 
[2026-08-21 09:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544958720001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121651233512488960,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565591773184,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285006000,"timestamp_ms":1787285006000,"timestamp_seconds":1787285006,"priority":1,"record_length":96,"hex_timestamp":"000001a0227ce6b0"} 
[2026-08-21 09:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-21 09:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544958720001,"66":13178,"163":206,"87":13824,"24":6,"16":121651233512488960,"45":8805733565591773184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544958720001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:35:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121651233512488960,"km_value":121651233512488.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565591773184,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544958720001,"power":13178,"unknown_163":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8805733565591773184}} 
[2026-08-21 09:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":159235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:13] local.INFO: GPS data processed {"connection_id":159235,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:13] local.INFO: Acknowledgment sent {"connection_id":159235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:16] local.INFO: TCP Data received {"connection_id":158947,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:35:16] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:35:16] local.INFO: IMEI packet received {"connection_id":158947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":158947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:35:18] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:35:18] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:35:18] local.INFO: IMEI packet received {"connection_id":161481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":161481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:35:22] local.INFO: TCP Data received {"connection_id":158947,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:35:22] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:35:22] local.INFO: IMEI packet received {"connection_id":158947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":158947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:35:22] local.INFO: TCP Data received {"connection_id":158947,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227e51f8012d0d3ac00704b800001a016423..."} 
[2026-08-21 09:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227e51f8012d0d3ac00704b800001a016423..."} 
[2026-08-21 09:35:22] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227e51f8012d0d3ac00704b800001a016423..."} 
[2026-08-21 09:35:22] local.INFO: Packet analysis {"connection_id":158947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:35:22] local.INFO: Extracted packet for processing {"connection_id":158947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:35:22] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117749760,"longitude_deg":75.5841728,"latitude_deg":11.774976,"altitude":26,"angle":356,"satellites":35,"speed":14,"hex_longitude":"2d0d3ac0","hex_latitude":"0704b800","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544983040001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29226440700461056,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301285406720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787285099000,"timestamp_ms":1787285099000,"timestamp_seconds":1787285099,"priority":1,"record_length":96,"hex_timestamp":"000001a0227e51f8"} 
[2026-08-21 09:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 09:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544983040001,"66":14439,"17":206,"94":11008,"24":14,"16":29226440700461056,"45":953074301285406720},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544983040001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29226440700461056,"km_value":29226440700461.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301285406720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544983040001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":953074301285406720}} 
[2026-08-21 09:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":158947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674985,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:22] local.INFO: GPS data processed {"connection_id":158947,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:22] local.INFO: Acknowledgment sent {"connection_id":158947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:23] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:35:23] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:35:23] local.INFO: IMEI packet received {"connection_id":161481,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":161481,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:35:24] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:35:24] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:35:24] local.INFO: Packet analysis {"connection_id":161481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:24] local.INFO: Extracted packet for processing {"connection_id":161481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:35:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:35:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35: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-08-21 09:35:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:35:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:35: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-08-21 09:35:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:35:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:35:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:35:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:35:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:35:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:35:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:35:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:35:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:35:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":161481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:24] local.INFO: GPS data processed {"connection_id":161481,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:24] local.INFO: Acknowledgment sent {"connection_id":161481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:26] local.INFO: TCP Data received {"connection_id":158948,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:26] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:26] local.INFO: IMEI packet received {"connection_id":158948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":158948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:35:26] local.INFO: TCP Data received {"connection_id":158948,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:26] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:26] local.INFO: IMEI packet received {"connection_id":158948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":158948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:35:31] local.INFO: TCP Data received {"connection_id":158948,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:31] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:35:31] local.INFO: IMEI packet received {"connection_id":158948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":158948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:35:32] local.INFO: TCP Data received {"connection_id":158948,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d1d60012da825c0054b1ac0000f00642f..."} 
[2026-08-21 09:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d1d60012da825c0054b1ac0000f00642f..."} 
[2026-08-21 09:35:32] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d1d60012da825c0054b1ac0000f00642f..."} 
[2026-08-21 09:35:32] local.INFO: Packet analysis {"connection_id":158948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:32] local.INFO: Extracted packet for processing {"connection_id":158948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:32] local.INFO: GPS Element Parsed {"raw_longitude":765994432,"raw_latitude":88808128,"longitude_deg":76.5994432,"latitude_deg":8.8808128,"altitude":15,"angle":100,"satellites":47,"speed":30,"hex_longitude":"2da825c0","hex_latitude":"054b1ac0","is_valid_coordinates":true} 
[2026-08-21 09:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544962048001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387931715441524736,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6340786777625430016,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285020000,"timestamp_ms":1787285020000,"timestamp_seconds":1787285020,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d1d60"} 
[2026-08-21 09:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35: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-08-21 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 09:35:32] 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-08-21 09:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544962048001,"66":27930,"156":206,"84":6144,"24":30,"16":387931715441524736,"45":-6340786777625430016},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 09:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544962048001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:32] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 09:35:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387931715441524736,"km_value":387931715441524.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6340786777625430016,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544962048001,"power":27930,"unknown_156":206,"unknown_84":6144,"ignition":30,"odometer":null,"unknown_45":-6340786777625430016}} 
[2026-08-21 09:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":158948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:32] local.INFO: GPS data processed {"connection_id":158948,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:32] local.INFO: Acknowledgment sent {"connection_id":158948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:43] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227cea98012d7a368005ebd0780003009928..."} 
[2026-08-21 09:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227cea98012d7a368005ebd0780003009928..."} 
[2026-08-21 09:35:43] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227cea98012d7a368005ebd0780003009928..."} 
[2026-08-21 09:35:43] local.INFO: Packet analysis {"connection_id":159235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:35:43] local.INFO: Extracted packet for processing {"connection_id":159235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227c"} 
[2026-08-21 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":762984064,"raw_latitude":99340408,"longitude_deg":76.2984064,"latitude_deg":9.9340408,"altitude":3,"angle":153,"satellites":40,"speed":5,"hex_longitude":"2d7a3680","hex_latitude":"05ebd078","is_valid_coordinates":true} 
[2026-08-21 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544961536001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121651242102423552,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806366884289122304,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787285007000,"timestamp_ms":1787285007000,"timestamp_seconds":1787285007,"priority":1,"record_length":96,"hex_timestamp":"000001a0227cea98"} 
[2026-08-21 09:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 09:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544961536001,"66":13406,"163":206,"87":13824,"24":5,"16":121651242102423552,"45":8806366884289122304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544961536001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:35:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121651242102423552,"km_value":121651242102423.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806366884289122304,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544961536001,"power":13406,"unknown_163":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8806366884289122304}} 
[2026-08-21 09:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":159235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:43] local.INFO: GPS data processed {"connection_id":159235,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:43] local.INFO: Acknowledgment sent {"connection_id":159235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:54] local.INFO: TCP Data received {"connection_id":158947,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227e59c8012d0d3a800704ba08001a015723..."} 
[2026-08-21 09:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227e59c8012d0d3a800704ba08001a015723..."} 
[2026-08-21 09:35:54] local.INFO: Processing buffer {"connection_id":158947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227e59c8012d0d3a800704ba08001a015723..."} 
[2026-08-21 09:35:54] local.INFO: Packet analysis {"connection_id":158947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:35:54] local.INFO: Extracted packet for processing {"connection_id":158947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117750280,"longitude_deg":75.5841664,"latitude_deg":11.775028,"altitude":26,"angle":343,"satellites":35,"speed":8,"hex_longitude":"2d0d3a80","hex_latitude":"0704ba08","is_valid_coordinates":true} 
[2026-08-21 09:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544985344001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29226466470264832,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407518752768,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787285101000,"timestamp_ms":1787285101000,"timestamp_seconds":1787285101,"priority":1,"record_length":96,"hex_timestamp":"000001a0227e59c8"} 
[2026-08-21 09:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544985344001,"66":14450,"17":206,"94":11008,"24":8,"16":29226466470264832,"45":953285407518752768},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544985344001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29226466470264832,"km_value":29226466470264.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407518752768,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544985344001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":953285407518752768}} 
[2026-08-21 09:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":158947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674989,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:54] local.INFO: GPS data processed {"connection_id":158947,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:54] local.INFO: Acknowledgment sent {"connection_id":158947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:35:55] local.INFO: TCP Data received {"connection_id":161481,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:35:55] local.INFO: Processing buffer {"connection_id":161481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:35:55] local.INFO: Packet analysis {"connection_id":161481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:55] local.INFO: Extracted packet for processing {"connection_id":161481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161481,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":161481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:35:55] local.INFO: GPS data processed {"connection_id":161481,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:35:55] local.INFO: Acknowledgment sent {"connection_id":161481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:04] local.INFO: TCP Data received {"connection_id":158948,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d38b8012da83880054b1818000e00582f..."} 
[2026-08-21 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d38b8012da83880054b1818000e00582f..."} 
[2026-08-21 09:36:04] local.INFO: Processing buffer {"connection_id":158948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d38b8012da83880054b1818000e00582f..."} 
[2026-08-21 09:36:04] local.INFO: Packet analysis {"connection_id":158948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:04] local.INFO: Extracted packet for processing {"connection_id":158948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:04] local.INFO: GPS Element Parsed {"raw_longitude":765999232,"raw_latitude":88807448,"longitude_deg":76.5999232,"latitude_deg":8.8807448,"altitude":14,"angle":88,"satellites":47,"speed":20,"hex_longitude":"2da83880","hex_latitude":"054b1818","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965120001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387931947369758720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6330442572231950336,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787285027000,"timestamp_ms":1787285027000,"timestamp_seconds":1787285027,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d38b8"} 
[2026-08-21 09:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:36: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-08-21 09: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 09:36: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-08-21 09: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-08-21 09:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965120001,"66":27713,"156":206,"84":6144,"24":20,"16":387931947369758720,"45":-6330442572231950336},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 09:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965120001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:04] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 09:36:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387931947369758720,"km_value":387931947369758.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6330442572231950336,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965120001,"power":27713,"unknown_156":206,"unknown_84":6144,"ignition":20,"odometer":null,"unknown_45":-6330442572231950336}} 
[2026-08-21 09:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":158948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:04] local.INFO: GPS data processed {"connection_id":158948,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:04] local.INFO: Acknowledgment sent {"connection_id":158948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:06] local.INFO: TCP Data received {"connection_id":158949,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:36:06] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:36:06] local.INFO: IMEI packet received {"connection_id":158949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":158949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:36:12] local.INFO: TCP Data received {"connection_id":158949,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:36:12] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:36:12] local.INFO: IMEI packet received {"connection_id":158949,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":158949,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:36:13] local.INFO: TCP Data received {"connection_id":158949,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227eb3a0012d7a674005eb9ab80003004c28..."} 
[2026-08-21 09:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227eb3a0012d7a674005eb9ab80003004c28..."} 
[2026-08-21 09:36:13] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227eb3a0012d7a674005eb9ab80003004c28..."} 
[2026-08-21 09:36:13] local.INFO: Packet analysis {"connection_id":158949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:36:13] local.INFO: Extracted packet for processing {"connection_id":158949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":762996544,"raw_latitude":99326648,"longitude_deg":76.2996544,"latitude_deg":9.9326648,"altitude":3,"angle":76,"satellites":40,"speed":4,"hex_longitude":"2d7a6740","hex_latitude":"05eb9ab8","is_valid_coordinates":true} 
[2026-08-21 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544986368001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652294369411072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816570352191051776,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285124000,"timestamp_ms":1787285124000,"timestamp_seconds":1787285124,"priority":1,"record_length":96,"hex_timestamp":"000001a0227eb3a0"} 
[2026-08-21 09:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544986368001,"66":13428,"163":206,"87":13824,"24":4,"16":121652294369411072,"45":8816570352191051776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544986368001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:36:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652294369411072,"km_value":121652294369411.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816570352191051776,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544986368001,"power":13428,"unknown_163":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8816570352191051776}} 
[2026-08-21 09:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":158949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:13] local.INFO: GPS data processed {"connection_id":158949,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:13] local.INFO: Acknowledgment sent {"connection_id":158949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:18] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:36:18] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:36:18] local.INFO: IMEI packet received {"connection_id":161482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":161482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:36:20] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:20] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:20] local.INFO: IMEI packet received {"connection_id":161483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":161483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:36:21] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:21] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:21] local.INFO: IMEI packet received {"connection_id":161483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":161483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:36:23] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:36:23] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:36:23] local.INFO: IMEI packet received {"connection_id":161482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":161482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:36:23] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:36:23] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:36:23] local.INFO: Packet analysis {"connection_id":161482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:23] local.INFO: Extracted packet for processing {"connection_id":161482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:36:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":161482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:24] local.INFO: GPS data processed {"connection_id":161482,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:24] local.INFO: Acknowledgment sent {"connection_id":161482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:26] local.INFO: TCP Data received {"connection_id":158950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:36:26] local.INFO: Processing buffer {"connection_id":158950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:36:26] local.INFO: IMEI packet received {"connection_id":158950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":158950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:36:27] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:27] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:36:27] local.INFO: IMEI packet received {"connection_id":161483,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":161483,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:36:27] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f57b0012d0ca6400704c5c80022014622..."} 
[2026-08-21 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f57b0012d0ca6400704c5c80022014622..."} 
[2026-08-21 09:36:27] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f57b0012d0ca6400704c5c80022014622..."} 
[2026-08-21 09:36:27] local.INFO: Packet analysis {"connection_id":161483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:36:27] local.INFO: Extracted packet for processing {"connection_id":161483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:36:27] local.INFO: GPS Element Parsed {"raw_longitude":755803712,"raw_latitude":117753288,"longitude_deg":75.5803712,"latitude_deg":11.7753288,"altitude":34,"angle":326,"satellites":34,"speed":22,"hex_longitude":"2d0ca640","hex_latitude":"0704c5c8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545001984001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29228330486071296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":912260429663860736,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787285166000,"timestamp_ms":1787285166000,"timestamp_seconds":1787285166,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f57b0"} 
[2026-08-21 09:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545001984001,"66":14559,"17":206,"94":11008,"24":22,"16":29228330486071296,"45":912260429663860736},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545001984001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29228330486071296,"km_value":29228330486071.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":912260429663860736,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545001984001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":912260429663860736}} 
[2026-08-21 09:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":161483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674994,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:27] local.INFO: GPS data processed {"connection_id":161483,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:27] local.INFO: Acknowledgment sent {"connection_id":161483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:28] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f6368012d0ca2400704ca100021012e22..."} 
[2026-08-21 09:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f6368012d0ca2400704ca100021012e22..."} 
[2026-08-21 09:36:28] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f6368012d0ca2400704ca100021012e22..."} 
[2026-08-21 09:36:28] local.INFO: Packet analysis {"connection_id":161483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:36:28] local.INFO: Extracted packet for processing {"connection_id":161483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":755802688,"raw_latitude":117754384,"longitude_deg":75.5802688,"latitude_deg":11.7754384,"altitude":33,"angle":302,"satellites":34,"speed":16,"hex_longitude":"2d0ca240","hex_latitude":"0704ca10","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545002496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29228403500515328,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911486373478123520,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787285169000,"timestamp_ms":1787285169000,"timestamp_seconds":1787285169,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f6368"} 
[2026-08-21 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-08-21 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545002496001,"66":14439,"17":206,"94":11008,"24":16,"16":29228403500515328,"45":911486373478123520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545002496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29228403500515328,"km_value":29228403500515.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":911486373478123520,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545002496001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":911486373478123520}} 
[2026-08-21 09:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":161483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674995,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:28] local.INFO: GPS data processed {"connection_id":161483,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:28] local.INFO: Acknowledgment sent {"connection_id":161483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:32] local.INFO: TCP Data received {"connection_id":158950,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:36:32] local.INFO: Processing buffer {"connection_id":158950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:36:32] local.INFO: IMEI packet received {"connection_id":158950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":158950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:36:43] local.INFO: TCP Data received {"connection_id":158949,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227efdd8012d7a6cc005eb9cd80003003b28..."} 
[2026-08-21 09:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227efdd8012d7a6cc005eb9cd80003003b28..."} 
[2026-08-21 09:36:43] local.INFO: Processing buffer {"connection_id":158949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227efdd8012d7a6cc005eb9cd80003003b28..."} 
[2026-08-21 09:36:43] local.INFO: Packet analysis {"connection_id":158949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:36:43] local.INFO: Extracted packet for processing {"connection_id":158949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227e"} 
[2026-08-21 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":762997952,"raw_latitude":99327192,"longitude_deg":76.2997952,"latitude_deg":9.9327192,"altitude":3,"angle":59,"satellites":40,"speed":2,"hex_longitude":"2d7a6cc0","hex_latitude":"05eb9cd8","is_valid_coordinates":true} 
[2026-08-21 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544991744001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652367383855104,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8820088789400205312,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787285143000,"timestamp_ms":1787285143000,"timestamp_seconds":1787285143,"priority":1,"record_length":96,"hex_timestamp":"000001a0227efdd8"} 
[2026-08-21 09:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":158949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":158949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":158949,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544991744001,"66":13178,"163":206,"87":13824,"24":2,"16":121652367383855104,"45":8820088789400205312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-08-21 09:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544991744001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:43] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 09:36:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652367383855104,"km_value":121652367383855.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8820088789400205312,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544991744001,"power":13178,"unknown_163":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8820088789400205312}} 
[2026-08-21 09:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":158949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:43] local.INFO: GPS data processed {"connection_id":158949,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:43] local.INFO: Acknowledgment sent {"connection_id":158949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:47] local.INFO: TCP Data received {"connection_id":158950,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d4088012da83bc0054b1898000e00492f..."} 
[2026-08-21 09:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d4088012da83bc0054b1898000e00492f..."} 
[2026-08-21 09:36:47] local.INFO: Processing buffer {"connection_id":158950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d4088012da83bc0054b1898000e00492f..."} 
[2026-08-21 09:36:47] local.INFO: Packet analysis {"connection_id":158950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:47] local.INFO: Extracted packet for processing {"connection_id":158950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":766000064,"raw_latitude":88807576,"longitude_deg":76.6000064,"latitude_deg":8.8807576,"altitude":14,"angle":73,"satellites":47,"speed":15,"hex_longitude":"2da83bc0","hex_latitude":"054b1898","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544966912001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387931986024464384,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6325164916418799616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787285029000,"timestamp_ms":1787285029000,"timestamp_seconds":1787285029,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d4088"} 
[2026-08-21 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-08-21 09:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544966912001,"66":27713,"156":206,"84":6144,"24":15,"16":387931986024464384,"45":-6325164916418799616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 09:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544966912001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:47] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 09:36:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387931986024464384,"km_value":387931986024464.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6325164916418799616,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544966912001,"power":27713,"unknown_156":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6325164916418799616}} 
[2026-08-21 09:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":158950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:47] local.INFO: GPS data processed {"connection_id":158950,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:47] local.INFO: Acknowledgment sent {"connection_id":158950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:55] local.INFO: TCP Data received {"connection_id":161482,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:36:55] local.INFO: Processing buffer {"connection_id":161482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:36:55] local.INFO: Packet analysis {"connection_id":161482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:55] local.INFO: Extracted packet for processing {"connection_id":161482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 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-08-21 09:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:36:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":161482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:55] local.INFO: GPS data processed {"connection_id":161482,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:55] local.INFO: Acknowledgment sent {"connection_id":161482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:36:59] local.INFO: TCP Data received {"connection_id":161483,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f6f20012d0c9c000704ccb80021012323..."} 
[2026-08-21 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f6f20012d0c9c000704ccb80021012323..."} 
[2026-08-21 09:36:59] local.INFO: Processing buffer {"connection_id":161483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f6f20012d0c9c000704ccb80021012323..."} 
[2026-08-21 09:36:59] local.INFO: Packet analysis {"connection_id":161483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:36:59] local.INFO: Extracted packet for processing {"connection_id":161483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":755801088,"raw_latitude":117755064,"longitude_deg":75.5801088,"latitude_deg":11.7755064,"altitude":33,"angle":291,"satellites":35,"speed":25,"hex_longitude":"2d0c9c00","hex_latitude":"0704ccb8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545003264001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29228485104893952,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910360473571561472,"note":"Value kept but may cause issues"} 
[2026-08-21 09:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787285172000,"timestamp_ms":1787285172000,"timestamp_seconds":1787285172,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f6f20"} 
[2026-08-21 09:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161483,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545003264001,"66":13972,"95":206,"94":10240,"24":25,"16":29228485104893952,"45":910360473571561472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545003264001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:36:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:36:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29228485104893952,"km_value":29228485104893.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":910360473571561472,"description":"Unknown IO ID 45"} 
[2026-08-21 09:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545003264001,"power":13972,"unknown_95":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":910360473571561472}} 
[2026-08-21 09:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":161483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":674999,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:36:59] local.INFO: GPS data processed {"connection_id":161483,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:36:59] local.INFO: Acknowledgment sent {"connection_id":161483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:37:06] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:37:06] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:37:06] local.INFO: IMEI packet received {"connection_id":161484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":161484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:37:13] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:37:13] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:37:13] local.INFO: IMEI packet received {"connection_id":161484,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":161484,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:37:14] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f2100012d7a6f8005eb9e08000300492a..."} 
[2026-08-21 09:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f2100012d7a6f8005eb9e08000300492a..."} 
[2026-08-21 09:37:14] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f2100012d7a6f8005eb9e08000300492a..."} 
[2026-08-21 09:37:14] local.INFO: Packet analysis {"connection_id":161484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:14] local.INFO: Extracted packet for processing {"connection_id":161484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:14] local.INFO: GPS Element Parsed {"raw_longitude":762998656,"raw_latitude":99327496,"longitude_deg":76.2998656,"latitude_deg":9.9327496,"altitude":3,"angle":73,"satellites":42,"speed":1,"hex_longitude":"2d7a6f80","hex_latitude":"05eb9e08","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544996608001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652406038560768,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8821636901772253184,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787285152000,"timestamp_ms":1787285152000,"timestamp_seconds":1787285152,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f2100"} 
[2026-08-21 09:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 09:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544996608001,"66":13015,"161":206,"87":13824,"24":1,"16":121652406038560768,"45":8821636901772253184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544996608001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:37:14] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:37:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652406038560768,"km_value":121652406038560.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8821636901772253184,"description":"Unknown IO ID 45"} 
[2026-08-21 09:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544996608001,"power":13015,"unknown_161":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8821636901772253184}} 
[2026-08-21 09:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":161484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675000,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:37:14] local.INFO: GPS data processed {"connection_id":161484,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:37:14] local.INFO: Acknowledgment sent {"connection_id":161484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:37:17] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:37:17] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:37:17] local.INFO: IMEI packet received {"connection_id":158951,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":158951,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:37:17] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:37:17] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:37:17] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:37:22] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:37:22] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:37:22] local.INFO: IMEI packet received {"connection_id":158951,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":158951,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:37:22] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f76f0012d0c97c00704ce180020011823..."} 
[2026-08-21 09:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f76f0012d0c97c00704ce180020011823..."} 
[2026-08-21 09:37:22] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f76f0012d0c97c00704ce180020011823..."} 
[2026-08-21 09:37:22] local.INFO: Packet analysis {"connection_id":158951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:22] local.INFO: Extracted packet for processing {"connection_id":158951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:22] local.INFO: GPS Element Parsed {"raw_longitude":755800000,"raw_latitude":117755416,"longitude_deg":75.58,"latitude_deg":11.7755416,"altitude":32,"angle":280,"satellites":35,"speed":18,"hex_longitude":"2d0c97c0","hex_latitude":"0704ce18","is_valid_coordinates":true} 
[2026-08-21 09:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545004032001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29228536644501504,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908601254967293952,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787285174000,"timestamp_ms":1787285174000,"timestamp_seconds":1787285174,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f76f0"} 
[2026-08-21 09:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-21 09:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545004032001,"66":14396,"95":206,"94":10240,"24":18,"16":29228536644501504,"45":908601254967293952},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545004032001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:37:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:37:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29228536644501504,"km_value":29228536644501.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":908601254967293952,"description":"Unknown IO ID 45"} 
[2026-08-21 09:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545004032001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":908601254967293952}} 
[2026-08-21 09:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":158951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675001,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:37:22] local.INFO: GPS data processed {"connection_id":158951,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:37:22] local.INFO: Acknowledgment sent {"connection_id":158951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:37:23] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:37:23] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:37:23] local.INFO: IMEI packet received {"connection_id":160138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":160138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:37:24] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:37:24] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:37:24] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:37:24] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37: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-08-21 09:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:37: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-08-21 09:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:37:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:37:24] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:37:24] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:37:26] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:37:26] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:37:26] local.INFO: IMEI packet received {"connection_id":159236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":159236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:37:31] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:37:31] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:37:31] local.INFO: IMEI packet received {"connection_id":159236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":159236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:37:32] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f9248012da94680054ade080010006e2f..."} 
[2026-08-21 09:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f9248012da94680054ade080010006e2f..."} 
[2026-08-21 09:37:32] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f9248012da94680054ade080010006e2f..."} 
[2026-08-21 09:37:32] local.INFO: Packet analysis {"connection_id":159236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:32] local.INFO: Extracted packet for processing {"connection_id":159236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:32] local.INFO: GPS Element Parsed {"raw_longitude":766068352,"raw_latitude":88792584,"longitude_deg":76.6068352,"latitude_deg":8.8792584,"altitude":16,"angle":110,"satellites":47,"speed":33,"hex_longitude":"2da94680","hex_latitude":"054ade08","is_valid_coordinates":true} 
[2026-08-21 09:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545003520001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387935383343595520,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6258807190662113280,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285181000,"timestamp_ms":1787285181000,"timestamp_seconds":1787285181,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f9248"} 
[2026-08-21 09:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:37: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-08-21 09:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 09:37:32] 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-08-21 09:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545003520001,"66":28006,"112":206,"84":6144,"24":33,"16":387935383343595520,"45":-6258807190662113280},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-21 09:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545003520001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:37:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 09:37:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387935383343595520,"km_value":387935383343595.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6258807190662113280,"description":"Unknown IO ID 45"} 
[2026-08-21 09:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545003520001,"power":28006,"unknown_112":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6258807190662113280}} 
[2026-08-21 09:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":159236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:37:32] local.INFO: GPS data processed {"connection_id":159236,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:37:32] local.INFO: Acknowledgment sent {"connection_id":159236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:37:46] local.INFO: TCP Data received {"connection_id":161484,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f7308012d7a754005eba0580003005027..."} 
[2026-08-21 09:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f7308012d7a754005eba0580003005027..."} 
[2026-08-21 09:37:46] local.INFO: Processing buffer {"connection_id":161484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f7308012d7a754005eba0580003005027..."} 
[2026-08-21 09:37:46] local.INFO: Packet analysis {"connection_id":161484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:46] local.INFO: Extracted packet for processing {"connection_id":161484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:46] local.INFO: GPS Element Parsed {"raw_longitude":763000128,"raw_latitude":99328088,"longitude_deg":76.3000128,"latitude_deg":9.9328088,"altitude":3,"angle":80,"satellites":39,"speed":0,"hex_longitude":"2d7a7540","hex_latitude":"05eba058","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544998912001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652483347972096,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8822410957958285312,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787285173000,"timestamp_ms":1787285173000,"timestamp_seconds":1787285173,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f7308"} 
[2026-08-21 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-08-21 09:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 09:37: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-08-21 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-08-21 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-08-21 09:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161484,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544998912001,"66":12993,"161":206,"87":13824,"24":0,"16":121652483347972096,"45":8822410957958285312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544998912001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:37:46] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:37:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652483347972096,"km_value":121652483347972.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8822410957958285312,"description":"Unknown IO ID 45"} 
[2026-08-21 09:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544998912001,"power":12993,"unknown_161":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8822410957958285312}} 
[2026-08-21 09:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":161484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:37:46] local.INFO: GPS data processed {"connection_id":161484,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:37:46] local.INFO: Acknowledgment sent {"connection_id":161484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:37:53] local.INFO: TCP Data received {"connection_id":158951,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227f8690012d0c93c00704cf10001f010b24..."} 
[2026-08-21 09:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227f8690012d0c93c00704cf10001f010b24..."} 
[2026-08-21 09:37:53] local.INFO: Processing buffer {"connection_id":158951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227f8690012d0c93c00704cf10001f010b24..."} 
[2026-08-21 09:37:53] local.INFO: Packet analysis {"connection_id":158951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:53] local.INFO: Extracted packet for processing {"connection_id":158951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":755798976,"raw_latitude":117755664,"longitude_deg":75.5798976,"latitude_deg":11.7755664,"altitude":31,"angle":267,"satellites":36,"speed":6,"hex_longitude":"2d0c93c0","hex_latitude":"0704cf10","is_valid_coordinates":true} 
[2026-08-21 09:37:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545004544001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29228588184109056,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907404986316363776,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787285178000,"timestamp_ms":1787285178000,"timestamp_seconds":1787285178,"priority":1,"record_length":96,"hex_timestamp":"000001a0227f8690"} 
[2026-08-21 09:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:37:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:37:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":158951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":158951,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545004544001,"66":14070,"95":206,"94":10240,"24":6,"16":29228588184109056,"45":907404986316363776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545004544001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:37:53] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:37:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29228588184109056,"km_value":29228588184109.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":907404986316363776,"description":"Unknown IO ID 45"} 
[2026-08-21 09:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545004544001,"power":14070,"unknown_95":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":907404986316363776}} 
[2026-08-21 09:37:54] local.INFO: DEBUG: GPS processor result {"connection_id":158951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675005,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:37:54] local.INFO: GPS data processed {"connection_id":158951,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:37:54] local.INFO: Acknowledgment sent {"connection_id":158951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:37:55] local.INFO: TCP Data received {"connection_id":160138,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:37:55] local.INFO: Processing buffer {"connection_id":160138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:37:55] local.INFO: Packet analysis {"connection_id":160138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:37:55] local.INFO: Extracted packet for processing {"connection_id":160138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:37:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":160138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:37:55] local.INFO: GPS data processed {"connection_id":160138,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:37:55] local.INFO: Acknowledgment sent {"connection_id":160138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:03] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227fbd40012da96880054ad1380013006f2d..."} 
[2026-08-21 09:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227fbd40012da96880054ad1380013006f2d..."} 
[2026-08-21 09:38:03] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227fbd40012da96880054ad1380013006f2d..."} 
[2026-08-21 09:38:03] local.INFO: Packet analysis {"connection_id":159236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:03] local.INFO: Extracted packet for processing {"connection_id":159236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:03] local.INFO: GPS Element Parsed {"raw_longitude":766077056,"raw_latitude":88789304,"longitude_deg":76.6077056,"latitude_deg":8.8789304,"altitude":19,"angle":111,"satellites":45,"speed":36,"hex_longitude":"2da96880","hex_latitude":"054ad138","is_valid_coordinates":true} 
[2026-08-21 09:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545006336001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387935830020194304,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6249166672710727680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285192000,"timestamp_ms":1787285192000,"timestamp_seconds":1787285192,"priority":1,"record_length":96,"hex_timestamp":"000001a0227fbd40"} 
[2026-08-21 09:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:03] 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-08-21 09:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545006336001,"66":27919,"113":206,"84":6144,"24":36,"16":387935830020194304,"45":-6249166672710727680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 09:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545006336001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 09:38:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387935830020194304,"km_value":387935830020194.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6249166672710727680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545006336001,"power":27919,"unknown_113":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6249166672710727680}} 
[2026-08-21 09:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":159236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:03] local.INFO: GPS data processed {"connection_id":159236,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:03] local.INFO: Acknowledgment sent {"connection_id":159236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:12] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:38:12] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:38:12] local.INFO: IMEI packet received {"connection_id":158952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":158952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:38:16] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:38:16] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:38:16] local.INFO: IMEI packet received {"connection_id":158952,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":158952,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:38:17] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: IMEI packet received {"connection_id":161485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":161485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:38:17] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: IMEI packet received {"connection_id":161485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":161485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:38:17] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227fbd40012d7a7d4005eba3800004003e29..."} 
[2026-08-21 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227fbd40012d7a7d4005eba3800004003e29..."} 
[2026-08-21 09:38:17] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227fbd40012d7a7d4005eba3800004003e29..."} 
[2026-08-21 09:38:17] local.INFO: Packet analysis {"connection_id":158952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:17] local.INFO: Extracted packet for processing {"connection_id":158952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":763002176,"raw_latitude":99328896,"longitude_deg":76.3002176,"latitude_deg":9.9328896,"altitude":4,"angle":62,"satellites":41,"speed":6,"hex_longitude":"2d7a7d40","hex_latitude":"05eba380","is_valid_coordinates":true} 
[2026-08-21 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545004288001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652590722154496,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824029439074523136,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787285192000,"timestamp_ms":1787285192000,"timestamp_seconds":1787285192,"priority":1,"record_length":96,"hex_timestamp":"000001a0227fbd40"} 
[2026-08-21 09:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":158952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":158952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":158952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545004288001,"66":13526,"161":206,"87":13824,"24":6,"16":121652590722154496,"45":8824029439074523136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545004288001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:17] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:38:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652590722154496,"km_value":121652590722154.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824029439074523136,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545004288001,"power":13526,"unknown_161":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8824029439074523136}} 
[2026-08-21 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":158952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675008,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:17] local.INFO: GPS data processed {"connection_id":158952,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:17] local.INFO: Acknowledgment sent {"connection_id":158952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:17] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:17] local.INFO: IMEI packet received {"connection_id":161485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":161485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:38:17] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:38:17] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:38:17] local.INFO: IMEI packet received {"connection_id":160139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":160139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:38:18] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227fc128012d7a7dc005eba3d80004004929..."} 
[2026-08-21 09:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227fc128012d7a7dc005eba3d80004004929..."} 
[2026-08-21 09:38:18] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227fc128012d7a7dc005eba3d80004004929..."} 
[2026-08-21 09:38:18] local.INFO: Packet analysis {"connection_id":158952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:18] local.INFO: Extracted packet for processing {"connection_id":158952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:18] local.INFO: GPS Element Parsed {"raw_longitude":763002304,"raw_latitude":99328984,"longitude_deg":76.3002304,"latitude_deg":9.9328984,"altitude":4,"angle":73,"satellites":41,"speed":5,"hex_longitude":"2d7a7dc0","hex_latitude":"05eba3d8","is_valid_coordinates":true} 
[2026-08-21 09:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545009152001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652599312089088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826281238888415232,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787285193000,"timestamp_ms":1787285193000,"timestamp_seconds":1787285193,"priority":1,"record_length":96,"hex_timestamp":"000001a0227fc128"} 
[2026-08-21 09:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545009152001,"66":13526,"161":206,"87":13824,"24":5,"16":121652599312089088,"45":8826281238888415232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545009152001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:18] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:38:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652599312089088,"km_value":121652599312089.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826281238888415232,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545009152001,"power":13526,"unknown_161":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8826281238888415232}} 
[2026-08-21 09:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":158952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:18] local.INFO: GPS data processed {"connection_id":158952,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:18] local.INFO: Acknowledgment sent {"connection_id":158952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:22] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:22] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:38:22] local.INFO: IMEI packet received {"connection_id":161485,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":161485,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:38:22] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0227fa5d0012d0c92800704cc40001d00a026..."} 
[2026-08-21 09:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227fa5d0012d0c92800704cc40001d00a026..."} 
[2026-08-21 09:38:22] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227fa5d0012d0c92800704cc40001d00a026..."} 
[2026-08-21 09:38:22] local.INFO: Packet analysis {"connection_id":161485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:22] local.INFO: Extracted packet for processing {"connection_id":161485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755798656,"raw_latitude":117754944,"longitude_deg":75.5798656,"latitude_deg":11.7754944,"altitude":29,"angle":160,"satellites":38,"speed":8,"hex_longitude":"2d0c9280","hex_latitude":"0704cc40","is_valid_coordinates":true} 
[2026-08-21 09:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545005568001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29228639723716608,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906279086409584640,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787285186000,"timestamp_ms":1787285186000,"timestamp_seconds":1787285186,"priority":1,"record_length":96,"hex_timestamp":"000001a0227fa5d0"} 
[2026-08-21 09:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545005568001,"66":14439,"95":206,"94":10240,"24":8,"16":29228639723716608,"45":906279086409584640},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545005568001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:38:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29228639723716608,"km_value":29228639723716.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":906279086409584640,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545005568001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":906279086409584640}} 
[2026-08-21 09:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":161485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675010,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:22] local.INFO: GPS data processed {"connection_id":161485,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:22] local.INFO: Acknowledgment sent {"connection_id":161485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:23] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:38:23] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:38:23] local.INFO: IMEI packet received {"connection_id":160139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":160139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:38:27] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0227ff3f0012d0c9d800704ae68001b00a525..."} 
[2026-08-21 09:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227ff3f0012d0c9d800704ae68001b00a525..."} 
[2026-08-21 09:38:27] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227ff3f0012d0c9d800704ae68001b00a525..."} 
[2026-08-21 09:38:27] local.INFO: Packet analysis {"connection_id":161485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:27] local.INFO: Extracted packet for processing {"connection_id":161485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755801472,"raw_latitude":117747304,"longitude_deg":75.5801472,"latitude_deg":11.7747304,"altitude":27,"angle":165,"satellites":37,"speed":6,"hex_longitude":"2d0c9d80","hex_latitude":"0704ae68","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545007616001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29229034860707840,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905927242688512000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787285206000,"timestamp_ms":1787285206000,"timestamp_seconds":1787285206,"priority":1,"record_length":96,"hex_timestamp":"000001a0227ff3f0"} 
[2026-08-21 09:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545007616001,"66":14374,"95":206,"94":10240,"24":6,"16":29229034860707840,"45":905927242688512000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545007616001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:27] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:38:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29229034860707840,"km_value":29229034860707.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":905927242688512000,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545007616001,"power":14374,"unknown_95":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":905927242688512000}} 
[2026-08-21 09:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":161485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675011,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:27] local.INFO: GPS data processed {"connection_id":161485,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:27] local.INFO: Acknowledgment sent {"connection_id":161485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:31] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:38:31] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:38:31] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:38:33] local.INFO: TCP Data received {"connection_id":160139,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:38:33] local.INFO: Processing buffer {"connection_id":160139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227d2918012d196500071ff0a8003a014429..."} 
[2026-08-21 09:38:33] local.INFO: Packet analysis {"connection_id":160139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:38:33] local.INFO: Extracted packet for processing {"connection_id":160139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227d"} 
[2026-08-21 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544888832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787285023000,"timestamp_ms":1787285023000,"timestamp_seconds":1787285023,"priority":1,"record_length":96,"hex_timestamp":"000001a0227d2918"} 
[2026-08-21 09:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544888832001,"66":2144,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544888832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:38:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544888832001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":160139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:33] local.INFO: GPS data processed {"connection_id":160139,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:33] local.INFO: Acknowledgment sent {"connection_id":160139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:50] local.INFO: TCP Data received {"connection_id":158952,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227fdc80012d7a818005eba5680005003628..."} 
[2026-08-21 09:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227fdc80012d7a818005eba5680005003628..."} 
[2026-08-21 09:38:50] local.INFO: Processing buffer {"connection_id":158952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227fdc80012d7a818005eba5680005003628..."} 
[2026-08-21 09:38:50] local.INFO: Packet analysis {"connection_id":158952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:50] local.INFO: Extracted packet for processing {"connection_id":158952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:50] local.INFO: GPS Element Parsed {"raw_longitude":763003264,"raw_latitude":99329384,"longitude_deg":76.3003264,"latitude_deg":9.9329384,"altitude":5,"angle":54,"satellites":40,"speed":4,"hex_longitude":"2d7a8180","hex_latitude":"05eba568","is_valid_coordinates":true} 
[2026-08-21 09:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545009408001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652646556729344,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8826421976376793088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787285200000,"timestamp_ms":1787285200000,"timestamp_seconds":1787285200,"priority":1,"record_length":96,"hex_timestamp":"000001a0227fdc80"} 
[2026-08-21 09:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":158952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":158952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":158952,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545009408001,"66":13059,"161":206,"87":13824,"24":4,"16":121652646556729344,"45":8826421976376793088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545009408001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:50] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:38:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652646556729344,"km_value":121652646556729.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":8826421976376793088,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545009408001,"power":13059,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8826421976376793088}} 
[2026-08-21 09:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":158952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:50] local.INFO: GPS data processed {"connection_id":158952,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:50] local.INFO: Acknowledgment sent {"connection_id":158952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:50] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:38:50] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:38:50] local.INFO: IMEI packet received {"connection_id":160140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":160140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:38:51] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0227fec20012da98ac0054ac3f80014006f2e..."} 
[2026-08-21 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227fec20012da98ac0054ac3f80014006f2e..."} 
[2026-08-21 09:38:51] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227fec20012da98ac0054ac3f80014006f2e..."} 
[2026-08-21 09:38:51] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:51] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:38:51] local.INFO: GPS Element Parsed {"raw_longitude":766085824,"raw_latitude":88785912,"longitude_deg":76.6085824,"latitude_deg":8.8785912,"altitude":20,"angle":111,"satellites":46,"speed":16,"hex_longitude":"2da98ac0","hex_latitude":"054ac3f8","is_valid_coordinates":true} 
[2026-08-21 09:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545009152001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387936280991760384,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6239596523503405056,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787285204000,"timestamp_ms":1787285204000,"timestamp_seconds":1787285204,"priority":1,"record_length":96,"hex_timestamp":"000001a0227fec20"} 
[2026-08-21 09:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38: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-08-21 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545009152001,"66":27865,"113":206,"84":6144,"24":16,"16":387936280991760384,"45":-6239596523503405056},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 09:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545009152001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:51] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 09:38:51] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387936280991760384,"km_value":387936280991760.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6239596523503405056,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545009152001,"power":27865,"unknown_113":206,"unknown_84":6144,"ignition":16,"odometer":null,"unknown_45":-6239596523503405056}} 
[2026-08-21 09:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:51] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:51] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:52] local.INFO: TCP Data received {"connection_id":160140,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022803e28012da9a380054ab9600014006f2f..."} 
[2026-08-21 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022803e28012da9a380054ab9600014006f2f..."} 
[2026-08-21 09:38:52] local.INFO: Processing buffer {"connection_id":160140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022803e28012da9a380054ab9600014006f2f..."} 
[2026-08-21 09:38:52] local.INFO: Packet analysis {"connection_id":160140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:38:52] local.INFO: Extracted packet for processing {"connection_id":160140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:38:52] local.INFO: GPS Element Parsed {"raw_longitude":766092160,"raw_latitude":88783200,"longitude_deg":76.609216,"latitude_deg":8.87832,"altitude":20,"angle":111,"satellites":47,"speed":10,"hex_longitude":"2da9a380","hex_latitude":"054ab960","is_valid_coordinates":true} 
[2026-08-21 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545012224001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387936611704242176,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6229956005551933440,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787285225000,"timestamp_ms":1787285225000,"timestamp_seconds":1787285225,"priority":1,"record_length":96,"hex_timestamp":"000001a022803e28"} 
[2026-08-21 09:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38: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-08-21 09:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 09:38: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-08-21 09:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":160140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":160140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545012224001,"66":27876,"113":206,"84":6144,"24":10,"16":387936611704242176,"45":-6229956005551933440},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 09:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545012224001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:52] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 09:38:52] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387936611704242176,"km_value":387936611704242.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6229956005551933440,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545012224001,"power":27876,"unknown_113":206,"unknown_84":6144,"ignition":10,"odometer":null,"unknown_45":-6229956005551933440}} 
[2026-08-21 09:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":160140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:53] local.INFO: GPS data processed {"connection_id":160140,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:53] local.INFO: Acknowledgment sent {"connection_id":160140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:38:58] local.INFO: TCP Data received {"connection_id":161485,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228022d0012d0c9ec00704ac18001b009724..."} 
[2026-08-21 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228022d0012d0c9ec00704ac18001b009724..."} 
[2026-08-21 09:38:58] local.INFO: Processing buffer {"connection_id":161485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228022d0012d0c9ec00704ac18001b009724..."} 
[2026-08-21 09:38:58] local.INFO: Packet analysis {"connection_id":161485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:38:58] local.INFO: Extracted packet for processing {"connection_id":161485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:38:58] local.INFO: GPS Element Parsed {"raw_longitude":755801792,"raw_latitude":117746712,"longitude_deg":75.5801792,"latitude_deg":11.7746712,"altitude":27,"angle":151,"satellites":36,"speed":2,"hex_longitude":"2d0c9ec0","hex_latitude":"0704ac18","is_valid_coordinates":true} 
[2026-08-21 09:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545012736001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29229069220446208,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909023467430373376,"note":"Value kept but may cause issues"} 
[2026-08-21 09:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787285218000,"timestamp_ms":1787285218000,"timestamp_seconds":1787285218,"priority":1,"record_length":96,"hex_timestamp":"000001a0228022d0"} 
[2026-08-21 09:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 09:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161485,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545012736001,"66":14407,"95":206,"94":10240,"24":2,"16":29229069220446208,"45":909023467430373376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545012736001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:38:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:38:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29229069220446208,"km_value":29229069220446.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":909023467430373376,"description":"Unknown IO ID 45"} 
[2026-08-21 09:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545012736001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":909023467430373376}} 
[2026-08-21 09:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":161485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:38:58] local.INFO: GPS data processed {"connection_id":161485,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:38:58] local.INFO: Acknowledgment sent {"connection_id":161485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:39:05] local.INFO: TCP Data received {"connection_id":158953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:05] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:05] local.INFO: IMEI packet received {"connection_id":158953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":158953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:39:07] local.INFO: TCP Data received {"connection_id":158953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:07] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:07] local.INFO: IMEI packet received {"connection_id":158953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":158953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:39:12] local.INFO: TCP Data received {"connection_id":158953,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:12] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:39:12] local.INFO: IMEI packet received {"connection_id":158953,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":158953,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:39:13] local.INFO: TCP Data received {"connection_id":158953,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0227fe068012d7a820005eba5900005004928..."} 
[2026-08-21 09:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0227fe068012d7a820005eba5900005004928..."} 
[2026-08-21 09:39:13] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0227fe068012d7a820005eba5900005004928..."} 
[2026-08-21 09:39:13] local.INFO: Packet analysis {"connection_id":158953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:39:13] local.INFO: Extracted packet for processing {"connection_id":158953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0227f"} 
[2026-08-21 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":763003392,"raw_latitude":99329424,"longitude_deg":76.3003392,"latitude_deg":9.9329424,"altitude":5,"angle":73,"satellites":40,"speed":4,"hex_longitude":"2d7a8200","hex_latitude":"05eba590","is_valid_coordinates":true} 
[2026-08-21 09:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545011200001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652655146663936,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827477507539560448,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285201000,"timestamp_ms":1787285201000,"timestamp_seconds":1787285201,"priority":1,"record_length":96,"hex_timestamp":"000001a0227fe068"} 
[2026-08-21 09:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169203653933,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":163,"raw_value":58079734643818500,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2651324419,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":253,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3221613468,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952785408,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:13] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,161,87,24,241,157,16,50,160,193,45,192,163,4,41,10,66,189,64,115,1,240,227,34,235,113,205,253,108,216,40,239,51,2,176,5,3],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-08-21 09:39:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360347515616493568,"timestamp_seconds":360347515616493.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545011200001,"66":13504,"161":206,"87":13824,"24":4,"16":121652655146663936,"45":8827477507539560448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545011200001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:39:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:39:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652655146663936,"km_value":121652655146663.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827477507539560448,"description":"Unknown IO ID 45"} 
[2026-08-21 09:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545011200001,"power":13504,"unknown_161":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8827477507539560448}} 
[2026-08-21 09:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":158953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675017,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:39:13] local.INFO: GPS data processed {"connection_id":158953,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:39:13] local.INFO: Acknowledgment sent {"connection_id":158953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:39:17] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:39:17] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:39:17] local.INFO: IMEI packet received {"connection_id":159237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":159237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:39:21] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:39:21] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:39:21] local.INFO: IMEI packet received {"connection_id":159237,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":159237,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:39:21] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022803e28012d0ca0800704a990001b008425..."} 
[2026-08-21 09:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022803e28012d0ca0800704a990001b008425..."} 
[2026-08-21 09:39:21] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022803e28012d0ca0800704a990001b008425..."} 
[2026-08-21 09:39:21] local.INFO: Packet analysis {"connection_id":159237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:39:21] local.INFO: Extracted packet for processing {"connection_id":159237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":755802240,"raw_latitude":117746064,"longitude_deg":75.580224,"latitude_deg":11.7746064,"altitude":27,"angle":132,"satellites":37,"speed":5,"hex_longitude":"2d0ca080","hex_latitude":"0704a990","is_valid_coordinates":true} 
[2026-08-21 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545015808001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29229107875151872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909375311151110144,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787285225000,"timestamp_ms":1787285225000,"timestamp_seconds":1787285225,"priority":1,"record_length":96,"hex_timestamp":"000001a022803e28"} 
[2026-08-21 09:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545015808001,"66":14515,"95":206,"94":10240,"24":5,"16":29229107875151872,"45":909375311151110144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545015808001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:39:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:39:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29229107875151872,"km_value":29229107875151.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":909375311151110144,"description":"Unknown IO ID 45"} 
[2026-08-21 09:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545015808001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":909375311151110144}} 
[2026-08-21 09:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":159237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675018,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:39:22] local.INFO: GPS data processed {"connection_id":159237,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:39:22] local.INFO: Acknowledgment sent {"connection_id":159237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:39:22] local.INFO: TCP Data received {"connection_id":159238,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:22] local.INFO: Processing buffer {"connection_id":159238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:22] local.INFO: IMEI packet received {"connection_id":159238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":159238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:39:22] local.INFO: TCP Data received {"connection_id":159238,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:22] local.INFO: Processing buffer {"connection_id":159238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:22] local.INFO: IMEI packet received {"connection_id":159238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":159238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:39:26] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:39:26] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:39:26] local.INFO: IMEI packet received {"connection_id":158954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":158954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:39:28] local.INFO: TCP Data received {"connection_id":159238,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:28] local.INFO: Processing buffer {"connection_id":159238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:39:28] local.INFO: IMEI packet received {"connection_id":159238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":159238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:39:29] local.INFO: TCP Data received {"connection_id":159238,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:39:29] local.INFO: Processing buffer {"connection_id":159238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:39:29] local.INFO: Packet analysis {"connection_id":159238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:39:29] local.INFO: Extracted packet for processing {"connection_id":159238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:39:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:39:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:39:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":159238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:39:29] local.INFO: GPS data processed {"connection_id":159238,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:39:29] local.INFO: Acknowledgment sent {"connection_id":159238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:39:31] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:39:31] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:39:31] local.INFO: IMEI packet received {"connection_id":158954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":158954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:39:32] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022809030012da9bb40054aafe00013006b2e..."} 
[2026-08-21 09:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022809030012da9bb40054aafe00013006b2e..."} 
[2026-08-21 09:39:32] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022809030012da9bb40054aafe00013006b2e..."} 
[2026-08-21 09:39:32] local.INFO: Packet analysis {"connection_id":158954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:39:32] local.INFO: Extracted packet for processing {"connection_id":158954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:39:32] local.INFO: GPS Element Parsed {"raw_longitude":766098240,"raw_latitude":88780768,"longitude_deg":76.609824,"latitude_deg":8.8780768,"altitude":19,"angle":107,"satellites":46,"speed":22,"hex_longitude":"2da9bb40","hex_latitude":"054aafe0","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545017600001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387936929531822080,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6222989499879038976,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285246000,"timestamp_ms":1787285246000,"timestamp_seconds":1787285246,"priority":1,"record_length":96,"hex_timestamp":"000001a022809030"} 
[2026-08-21 09:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:39: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-08-21 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 09:39:32] 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-08-21 09: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-08-21 09:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545017600001,"66":27865,"113":206,"84":6144,"24":22,"16":387936929531822080,"45":-6222989499879038976},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 09:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545017600001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:39:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 09:39:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387936929531822080,"km_value":387936929531822.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6222989499879038976,"description":"Unknown IO ID 45"} 
[2026-08-21 09:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545017600001,"power":27865,"unknown_113":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6222989499879038976}} 
[2026-08-21 09:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":158954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:39:32] local.INFO: GPS data processed {"connection_id":158954,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:39:32] local.INFO: Acknowledgment sent {"connection_id":158954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:39:52] local.INFO: TCP Data received {"connection_id":158953,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022803270012d7a93c005ebabb8000a004626..."} 
[2026-08-21 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022803270012d7a93c005ebabb8000a004626..."} 
[2026-08-21 09:39:52] local.INFO: Processing buffer {"connection_id":158953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022803270012d7a93c005ebabb8000a004626..."} 
[2026-08-21 09:39:52] local.INFO: Packet analysis {"connection_id":158953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:39:52] local.INFO: Extracted packet for processing {"connection_id":158953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":763007936,"raw_latitude":99331000,"longitude_deg":76.3007936,"latitude_deg":9.9331,"altitude":10,"angle":70,"satellites":38,"speed":9,"hex_longitude":"2d7a93c0","hex_latitude":"05ebabb8","is_valid_coordinates":true} 
[2026-08-21 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545011456001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121652891369865216,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827618245027926016,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787285222000,"timestamp_ms":1787285222000,"timestamp_seconds":1787285222,"priority":1,"record_length":96,"hex_timestamp":"000001a022803270"} 
[2026-08-21 09:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-21 09:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":158953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":158953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":158953,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545011456001,"66":13091,"161":206,"87":13824,"24":9,"16":121652891369865216,"45":8827618245027926016},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545011456001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121652891369865216,"km_value":121652891369865.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827618245027926016,"description":"Unknown IO ID 45"} 
[2026-08-21 09:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545011456001,"power":13091,"unknown_161":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8827618245027926016}} 
[2026-08-21 09:39:52] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022829ba0012d0cb18007044bd0001600c725..."} 
[2026-08-21 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022829ba0012d0cb18007044bd0001600c725..."} 
[2026-08-21 09:39:52] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022829ba0012d0cb18007044bd0001600c725..."} 
[2026-08-21 09:39:52] local.INFO: Packet analysis {"connection_id":159237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:39:52] local.INFO: Extracted packet for processing {"connection_id":159237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":755806592,"raw_latitude":117722064,"longitude_deg":75.5806592,"latitude_deg":11.7722064,"altitude":22,"angle":199,"satellites":37,"speed":41,"hex_longitude":"2d0cb180","hex_latitude":"07044bd0","is_valid_coordinates":true} 
[2026-08-21 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545054976001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29230392070373376,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916975135518332928,"note":"Value kept but may cause issues"} 
[2026-08-21 09:39:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787285380000,"timestamp_ms":1787285380000,"timestamp_seconds":1787285380,"priority":1,"record_length":96,"hex_timestamp":"000001a022829ba0"} 
[2026-08-21 09:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:39:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159237,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545054976001,"66":14396,"95":206,"94":10240,"24":41,"16":29230392070373376,"45":916975135518332928},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545054976001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29230392070373376,"km_value":29230392070373.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":916975135518332928,"description":"Unknown IO ID 45"} 
[2026-08-21 09:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545054976001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":916975135518332928}} 
[2026-08-21 09:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":158953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:39:52] local.INFO: GPS data processed {"connection_id":158953,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:39:52] local.INFO: Acknowledgment sent {"connection_id":158953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":159237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675022,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:39:53] local.INFO: GPS data processed {"connection_id":159237,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:39:53] local.INFO: Acknowledgment sent {"connection_id":159237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:00] local.INFO: TCP Data received {"connection_id":159238,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:00] local.INFO: Processing buffer {"connection_id":159238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:00] local.INFO: Packet analysis {"connection_id":159238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:00] local.INFO: Extracted packet for processing {"connection_id":159238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40: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-08-21 09: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:00] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:40:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":159238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:00] local.INFO: GPS data processed {"connection_id":159238,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:00] local.INFO: Acknowledgment sent {"connection_id":159238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:04] local.INFO: TCP Data received {"connection_id":158954,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02280c6e0012da9de40054aa4a8001400682e..."} 
[2026-08-21 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02280c6e0012da9de40054aa4a8001400682e..."} 
[2026-08-21 09:40:04] local.INFO: Processing buffer {"connection_id":158954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02280c6e0012da9de40054aa4a8001400682e..."} 
[2026-08-21 09:40:04] local.INFO: Packet analysis {"connection_id":158954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:04] local.INFO: Extracted packet for processing {"connection_id":158954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":766107200,"raw_latitude":88777896,"longitude_deg":76.61072,"latitude_deg":8.8777896,"altitude":20,"angle":104,"satellites":46,"speed":25,"hex_longitude":"2da9de40","hex_latitude":"054aa4a8","is_valid_coordinates":true} 
[2026-08-21 09:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545022976001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387937376208420864,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6216304469182783488,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787285260000,"timestamp_ms":1787285260000,"timestamp_seconds":1787285260,"priority":1,"record_length":96,"hex_timestamp":"000001a02280c6e0"} 
[2026-08-21 09:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40: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-08-21 09: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":217,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:04] 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-08-21 09:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545022976001,"66":27876,"113":206,"84":6144,"24":25,"16":387937376208420864,"45":-6216304469182783488},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 09:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545022976001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 09:40:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387937376208420864,"km_value":387937376208420.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6216304469182783488,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545022976001,"power":27876,"unknown_113":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6216304469182783488}} 
[2026-08-21 09:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":158954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:04] local.INFO: GPS data processed {"connection_id":158954,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:04] local.INFO: Acknowledgment sent {"connection_id":158954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:08] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:08] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:08] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:40:09] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:09] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:09] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:40:12] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:12] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:40:12] local.INFO: IMEI packet received {"connection_id":161486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":161486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:40:13] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022808478012d7aa44005ebb228000a004629..."} 
[2026-08-21 09:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022808478012d7aa44005ebb228000a004629..."} 
[2026-08-21 09:40:13] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022808478012d7aa44005ebb228000a004629..."} 
[2026-08-21 09:40:13] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:13] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763012160,"raw_latitude":99332648,"longitude_deg":76.301216,"latitude_deg":9.9332648,"altitude":10,"angle":70,"satellites":41,"speed":9,"hex_longitude":"2d7aa440","hex_latitude":"05ebb228","is_valid_coordinates":true} 
[2026-08-21 09:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545016832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121653106118230016,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832614425864943616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285243000,"timestamp_ms":1787285243000,"timestamp_seconds":1787285243,"priority":1,"record_length":96,"hex_timestamp":"000001a022808478"} 
[2026-08-21 09:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545016832001,"66":13298,"161":206,"87":13824,"24":9,"16":121653106118230016,"45":8832614425864943616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-08-21 09:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545016832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:13] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 09:40:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121653106118230016,"km_value":121653106118230.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832614425864943616,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545016832001,"power":13298,"unknown_161":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8832614425864943616}} 
[2026-08-21 09:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:13] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:13] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:17] local.INFO: TCP Data received {"connection_id":158955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:17] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:17] local.INFO: IMEI packet received {"connection_id":158955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":158955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:40:18] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02280cac8012d7ac78005ebc048000b00412b..."} 
[2026-08-21 09:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02280cac8012d7ac78005ebc048000b00412b..."} 
[2026-08-21 09:40:18] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02280cac8012d7ac78005ebc048000b00412b..."} 
[2026-08-21 09:40:18] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:18] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:18] local.INFO: GPS Element Parsed {"raw_longitude":763021184,"raw_latitude":99336264,"longitude_deg":76.3021184,"latitude_deg":9.9336264,"altitude":11,"angle":65,"satellites":43,"speed":30,"hex_longitude":"2d7ac780","hex_latitude":"05ebc048","is_valid_coordinates":true} 
[2026-08-21 09:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545022208001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121653569974697984,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837258762981091328,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787285261000,"timestamp_ms":1787285261000,"timestamp_seconds":1787285261,"priority":1,"record_length":96,"hex_timestamp":"000001a02280cac8"} 
[2026-08-21 09:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40: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-08-21 09:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545022208001,"66":13396,"98":206,"87":13824,"24":30,"16":121653569974697984,"45":8837258762981091328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545022208001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:18] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:40:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121653569974697984,"km_value":121653569974697.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837258762981091328,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545022208001,"power":13396,"unknown_98":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8837258762981091328}} 
[2026-08-21 09:40:18] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:40:18] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:40:18] local.INFO: IMEI packet received {"connection_id":158956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":158956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:18] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:18] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:20] local.INFO: TCP Data received {"connection_id":158955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:20] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:20] local.INFO: IMEI packet received {"connection_id":158955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":158955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:40:21] local.INFO: TCP Data received {"connection_id":158955,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:21] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:40:21] local.INFO: IMEI packet received {"connection_id":158955,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":158955,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:40:22] local.INFO: TCP Data received {"connection_id":158955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022829ba0012d0cb18007044bd0001600c725..."} 
[2026-08-21 09:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022829ba0012d0cb18007044bd0001600c725..."} 
[2026-08-21 09:40:22] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022829ba0012d0cb18007044bd0001600c725..."} 
[2026-08-21 09:40:22] local.INFO: Packet analysis {"connection_id":158955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:40:22] local.INFO: Extracted packet for processing {"connection_id":158955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755806592,"raw_latitude":117722064,"longitude_deg":75.5806592,"latitude_deg":11.7722064,"altitude":22,"angle":199,"satellites":37,"speed":41,"hex_longitude":"2d0cb180","hex_latitude":"07044bd0","is_valid_coordinates":true} 
[2026-08-21 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545057280001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29230392070373376,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914652966958125056,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787285380000,"timestamp_ms":1787285380000,"timestamp_seconds":1787285380,"priority":1,"record_length":96,"hex_timestamp":"000001a022829ba0"} 
[2026-08-21 09:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545057280001,"66":14396,"95":206,"94":10240,"24":41,"16":29230392070373376,"45":914652966958125056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545057280001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:40:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29230392070373376,"km_value":29230392070373.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":914652966958125056,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545057280001,"power":14396,"unknown_95":206,"unknown_94":10240,"ignition":41,"odometer":null,"unknown_45":914652966958125056}} 
[2026-08-21 09:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":158955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675027,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:22] local.INFO: GPS data processed {"connection_id":158955,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:22] local.INFO: Acknowledgment sent {"connection_id":158955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:23] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:40:23] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:40:23] local.INFO: IMEI packet received {"connection_id":158956,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":158956,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:40:24] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:24] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:24] local.INFO: Packet analysis {"connection_id":158956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:24] local.INFO: Extracted packet for processing {"connection_id":158956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":158956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:24] local.INFO: GPS data processed {"connection_id":158956,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:24] local.INFO: Acknowledgment sent {"connection_id":158956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:26] local.INFO: TCP Data received {"connection_id":159239,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:40:26] local.INFO: Processing buffer {"connection_id":159239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:40:26] local.INFO: IMEI packet received {"connection_id":159239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":159239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:40:27] local.INFO: TCP Data received {"connection_id":158955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02282bec8012d0ca2c007042a40001700d022..."} 
[2026-08-21 09:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02282bec8012d0ca2c007042a40001700d022..."} 
[2026-08-21 09:40:27] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02282bec8012d0ca2c007042a40001700d022..."} 
[2026-08-21 09:40:27] local.INFO: Packet analysis {"connection_id":158955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:40:27] local.INFO: Extracted packet for processing {"connection_id":158955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":755802816,"raw_latitude":117713472,"longitude_deg":75.5802816,"latitude_deg":11.7713472,"altitude":23,"angle":208,"satellites":34,"speed":40,"hex_longitude":"2d0ca2c0","hex_latitude":"07042a40","is_valid_coordinates":true} 
[2026-08-21 09:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545057280001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29230847336906752,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914652966958125056,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787285389000,"timestamp_ms":1787285389000,"timestamp_seconds":1787285389,"priority":1,"record_length":96,"hex_timestamp":"000001a02282bec8"} 
[2026-08-21 09:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":158955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":158955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":158955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545057280001,"66":14515,"95":206,"94":10240,"24":40,"16":29230847336906752,"45":914652966958125056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545057280001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:27] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:40:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29230847336906752,"km_value":29230847336906.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":914652966958125056,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545057280001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":40,"odometer":null,"unknown_45":914652966958125056}} 
[2026-08-21 09:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":158955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675029,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:27] local.INFO: GPS data processed {"connection_id":158955,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:27] local.INFO: Acknowledgment sent {"connection_id":158955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:31] local.INFO: TCP Data received {"connection_id":159239,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:40:31] local.INFO: Processing buffer {"connection_id":159239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:40:31] local.INFO: IMEI packet received {"connection_id":159239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":159239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:40:32] local.INFO: TCP Data received {"connection_id":159239,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228118e8012da9fc40054a9be00014006c2f..."} 
[2026-08-21 09:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228118e8012da9fc40054a9be00014006c2f..."} 
[2026-08-21 09:40:32] local.INFO: Processing buffer {"connection_id":159239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228118e8012da9fc40054a9be00014006c2f..."} 
[2026-08-21 09:40:32] local.INFO: Packet analysis {"connection_id":159239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:32] local.INFO: Extracted packet for processing {"connection_id":159239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":766114880,"raw_latitude":88775648,"longitude_deg":76.611488,"latitude_deg":8.8775648,"altitude":20,"angle":108,"satellites":47,"speed":17,"hex_longitude":"2da9fc40","hex_latitude":"054a9be0","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545026560001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387937762755477504,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6206452844998645760,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285281000,"timestamp_ms":1787285281000,"timestamp_seconds":1787285281,"priority":1,"record_length":96,"hex_timestamp":"000001a0228118e8"} 
[2026-08-21 09:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:32] 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-08-21 09: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-08-21 09:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545026560001,"66":27767,"113":206,"84":6144,"24":17,"16":387937762755477504,"45":-6206452844998645760},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 09:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545026560001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:32] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 09:40:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387937762755477504,"km_value":387937762755477.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6206452844998645760,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545026560001,"power":27767,"unknown_113":206,"unknown_84":6144,"ignition":17,"odometer":null,"unknown_45":-6206452844998645760}} 
[2026-08-21 09:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":159239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:32] local.INFO: GPS data processed {"connection_id":159239,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:32] local.INFO: Acknowledgment sent {"connection_id":159239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:51] local.INFO: TCP Data received {"connection_id":161486,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02280fd90012d7ae84005ebd010000e00402a..."} 
[2026-08-21 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02280fd90012d7ae84005ebd010000e00402a..."} 
[2026-08-21 09:40:51] local.INFO: Processing buffer {"connection_id":161486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02280fd90012d7ae84005ebd010000e00402a..."} 
[2026-08-21 09:40:51] local.INFO: Packet analysis {"connection_id":161486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:51] local.INFO: Extracted packet for processing {"connection_id":161486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02280"} 
[2026-08-21 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":763029568,"raw_latitude":99340304,"longitude_deg":76.3029568,"latitude_deg":9.9340304,"altitude":14,"angle":64,"satellites":42,"speed":19,"hex_longitude":"2d7ae840","hex_latitude":"05ebd010","is_valid_coordinates":true} 
[2026-08-21 09:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545026816001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121654016651296768,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847180755911067648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787285274000,"timestamp_ms":1787285274000,"timestamp_seconds":1787285274,"priority":1,"record_length":96,"hex_timestamp":"000001a02280fd90"} 
[2026-08-21 09:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161486,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545026816001,"66":13319,"98":206,"87":13824,"24":19,"16":121654016651296768,"45":8847180755911067648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545026816001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:51] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:40:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121654016651296768,"km_value":121654016651296.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847180755911067648,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545026816001,"power":13319,"unknown_98":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8847180755911067648}} 
[2026-08-21 09:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":161486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:51] local.INFO: GPS data processed {"connection_id":161486,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:51] local.INFO: Acknowledgment sent {"connection_id":161486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:55] local.INFO: TCP Data received {"connection_id":158956,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:55] local.INFO: Processing buffer {"connection_id":158956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:40:55] local.INFO: Packet analysis {"connection_id":158956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:55] local.INFO: Extracted packet for processing {"connection_id":158956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158956,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":158956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:55] local.INFO: GPS data processed {"connection_id":158956,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:55] local.INFO: Acknowledgment sent {"connection_id":158956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:40:58] local.INFO: TCP Data received {"connection_id":158955,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02282da20012d0c9700070416f0001700db1e..."} 
[2026-08-21 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02282da20012d0c9700070416f0001700db1e..."} 
[2026-08-21 09:40:58] local.INFO: Processing buffer {"connection_id":158955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02282da20012d0c9700070416f0001700db1e..."} 
[2026-08-21 09:40:58] local.INFO: Packet analysis {"connection_id":158955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:40:58] local.INFO: Extracted packet for processing {"connection_id":158955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":755799808,"raw_latitude":117708528,"longitude_deg":75.5799808,"latitude_deg":11.7708528,"altitude":23,"angle":219,"satellites":30,"speed":20,"hex_longitude":"2d0c9700","hex_latitude":"070416f0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545059584001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29231126509780992,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910501211049443328,"note":"Value kept but may cause issues"} 
[2026-08-21 09:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787285396000,"timestamp_ms":1787285396000,"timestamp_seconds":1787285396,"priority":1,"record_length":96,"hex_timestamp":"000001a02282da20"} 
[2026-08-21 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-08-21 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 09:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":158955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":158955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":158955,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545059584001,"66":14439,"95":206,"94":10240,"24":20,"16":29231126509780992,"45":910501211049443328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 09:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545059584001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:40:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 09:40:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29231126509780992,"km_value":29231126509780.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":910501211049443328,"description":"Unknown IO ID 45"} 
[2026-08-21 09:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545059584001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":910501211049443328}} 
[2026-08-21 09:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":158955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675033,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:40:58] local.INFO: GPS data processed {"connection_id":158955,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:40:58] local.INFO: Acknowledgment sent {"connection_id":158955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:03] local.INFO: TCP Data received {"connection_id":159239,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022816af0012daa1dc0054a9260001200692d..."} 
[2026-08-21 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022816af0012daa1dc0054a9260001200692d..."} 
[2026-08-21 09:41:03] local.INFO: Processing buffer {"connection_id":159239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022816af0012daa1dc0054a9260001200692d..."} 
[2026-08-21 09:41:03] local.INFO: Packet analysis {"connection_id":159239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:03] local.INFO: Extracted packet for processing {"connection_id":159239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":766123456,"raw_latitude":88773216,"longitude_deg":76.6123456,"latitude_deg":8.8773216,"altitude":18,"angle":105,"satellites":45,"speed":14,"hex_longitude":"2daa1dc0","hex_latitude":"054a9260","is_valid_coordinates":true} 
[2026-08-21 09:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545031936001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387938187957239808,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6198008595697901568,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285302000,"timestamp_ms":1787285302000,"timestamp_seconds":1787285302,"priority":1,"record_length":96,"hex_timestamp":"000001a022816af0"} 
[2026-08-21 09:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545031936001,"66":27908,"35":206,"84":6144,"24":14,"16":387938187957239808,"45":-6198008595697901568},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-21 09:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545031936001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-21 09:41:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387938187957239808,"km_value":387938187957239.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6198008595697901568,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545031936001,"power":27908,"unknown_35":206,"unknown_84":6144,"ignition":14,"odometer":null,"unknown_45":-6198008595697901568}} 
[2026-08-21 09:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":159239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:03] local.INFO: GPS data processed {"connection_id":159239,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:03] local.INFO: Acknowledgment sent {"connection_id":159239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:07] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:41:07] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:41:07] local.INFO: IMEI packet received {"connection_id":161487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":161487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:41:12] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:41:12] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:41:12] local.INFO: IMEI packet received {"connection_id":161487,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":161487,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:41:13] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022814bb0012d7b090005ebe040000e003e2a..."} 
[2026-08-21 09:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022814bb0012d7b090005ebe040000e003e2a..."} 
[2026-08-21 09:41:13] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022814bb0012d7b090005ebe040000e003e2a..."} 
[2026-08-21 09:41:13] local.INFO: Packet analysis {"connection_id":161487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:13] local.INFO: Extracted packet for processing {"connection_id":161487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:13] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":99344448,"longitude_deg":76.3037952,"latitude_deg":9.9344448,"altitude":14,"angle":62,"satellites":42,"speed":19,"hex_longitude":"2d7b0900","hex_latitude":"05ebe040","is_valid_coordinates":true} 
[2026-08-21 09:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545030144001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121654467622862848,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8856399061399375872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285294000,"timestamp_ms":1787285294000,"timestamp_seconds":1787285294,"priority":1,"record_length":96,"hex_timestamp":"000001a022814bb0"} 
[2026-08-21 09:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":51201,"corrected_to":0} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-6665327431324391168,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":220,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":129,"raw_value":2147871653,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":214,"raw_value":57752539752191798,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.WARNING: Large IO value detected {"io_id":127,"raw_value":-4809843107191504891,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:13] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,98,87,24,241,157,16,51,160,202,45,128,192,11,43,10,66,132,64,178,41,161,50,1,240,35,227,34,235,4,113,205,220,129,104,40,239,2,176,5,214,127],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":202,"original":51201,"validated":0},{"io_id":205,"original":765526222,"validated":0}]} 
[2026-08-21 09:41:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008876865665040384,"timestamp_seconds":1008876865665040.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545030144001,"66":13341,"98":206,"87":13824,"24":19,"16":121654467622862848,"45":8856399061399375872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545030144001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:41:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121654467622862848,"km_value":121654467622862.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8856399061399375872,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545030144001,"power":13341,"unknown_98":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8856399061399375872}} 
[2026-08-21 09:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":161487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:13] local.INFO: GPS data processed {"connection_id":161487,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:13] local.INFO: Acknowledgment sent {"connection_id":161487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:16] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:41:16] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:41:16] local.INFO: IMEI packet received {"connection_id":161488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":161488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:41:17] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:41:17] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:41:17] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:41:22] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:41:22] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:41:22] local.INFO: IMEI packet received {"connection_id":161488,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":161488,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:41:22] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02282fd48012d0c9480070413f8001700e626..."} 
[2026-08-21 09:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02282fd48012d0c9480070413f8001700e626..."} 
[2026-08-21 09:41:22] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02282fd48012d0c9480070413f8001700e626..."} 
[2026-08-21 09:41:22] local.INFO: Packet analysis {"connection_id":161488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:41:22] local.INFO: Extracted packet for processing {"connection_id":161488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:41:22] local.INFO: GPS Element Parsed {"raw_longitude":755799168,"raw_latitude":117707768,"longitude_deg":75.5799168,"latitude_deg":11.7707768,"altitude":23,"angle":230,"satellites":38,"speed":13,"hex_longitude":"2d0c9480","hex_latitude":"070413f8","is_valid_coordinates":true} 
[2026-08-21 09:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545061376001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29231195229257728,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907193880071827456,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787285405000,"timestamp_ms":1787285405000,"timestamp_seconds":1787285405,"priority":1,"record_length":96,"hex_timestamp":"000001a02282fd48"} 
[2026-08-21 09:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41: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-08-21 09: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545061376001,"66":14494,"16":29231195229257728,"94":11008,"24":13,"45":907193880071827456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545061376001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29231195229257728,"km_value":29231195229257.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":907193880071827456,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545061376001,"power":14494,"odometer":null,"unknown_94":11008,"ignition":13,"unknown_45":907193880071827456}} 
[2026-08-21 09:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":161488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675036,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:23] local.INFO: GPS data processed {"connection_id":161488,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:23] local.INFO: Acknowledgment sent {"connection_id":161488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:23] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:41:23] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:41:23] local.INFO: IMEI packet received {"connection_id":160141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":160141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:41:24] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:41:24] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:41:24] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:24] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:41:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41: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-08-21 09:41:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:41:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:41:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:41:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:41:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:41:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:41:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:41:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:41:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:41:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:41:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:41:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:41:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:41:24] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:24] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:24] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:26] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:41:26] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:41:26] local.INFO: IMEI packet received {"connection_id":160142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":160142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:41:31] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:41:31] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:41:31] local.INFO: IMEI packet received {"connection_id":160142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":160142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:41:32] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02281bcf8012daa3e80054a87f80015006b2d..."} 
[2026-08-21 09:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281bcf8012daa3e80054a87f80015006b2d..."} 
[2026-08-21 09:41:32] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281bcf8012daa3e80054a87f80015006b2d..."} 
[2026-08-21 09:41:32] local.INFO: Packet analysis {"connection_id":160142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:32] local.INFO: Extracted packet for processing {"connection_id":160142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:32] local.INFO: GPS Element Parsed {"raw_longitude":766131840,"raw_latitude":88770552,"longitude_deg":76.613184,"latitude_deg":8.8770552,"altitude":21,"angle":107,"satellites":45,"speed":21,"hex_longitude":"2daa3e80","hex_latitude":"054a87f8","is_valid_coordinates":true} 
[2026-08-21 09:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545037312001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387938613159002112,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6188579183978717184,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285323000,"timestamp_ms":1787285323000,"timestamp_seconds":1787285323,"priority":1,"record_length":96,"hex_timestamp":"000001a02281bcf8"} 
[2026-08-21 09:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41: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-08-21 09: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:32] 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-08-21 09:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545037312001,"66":27865,"36":206,"84":6144,"24":21,"16":387938613159002112,"45":-6188579183978717184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,84,24,16,45]} 
[2026-08-21 09:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545037312001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:32] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 09:41:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387938613159002112,"km_value":387938613159002.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6188579183978717184,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545037312001,"power":27865,"unknown_36":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6188579183978717184}} 
[2026-08-21 09:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":160142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:32] local.INFO: GPS data processed {"connection_id":160142,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:32] local.INFO: Acknowledgment sent {"connection_id":160142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:44] local.INFO: TCP Data received {"connection_id":161487,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022814bb0012d7b090005ebe040000e003e2a..."} 
[2026-08-21 09:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022814bb0012d7b090005ebe040000e003e2a..."} 
[2026-08-21 09:41:44] local.INFO: Processing buffer {"connection_id":161487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022814bb0012d7b090005ebe040000e003e2a..."} 
[2026-08-21 09:41:44] local.INFO: Packet analysis {"connection_id":161487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:44] local.INFO: Extracted packet for processing {"connection_id":161487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:44] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":99344448,"longitude_deg":76.3037952,"latitude_deg":9.9344448,"altitude":14,"angle":62,"satellites":42,"speed":19,"hex_longitude":"2d7b0900","hex_latitude":"05ebe040","is_valid_coordinates":true} 
[2026-08-21 09:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545035264001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121654467622862848,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366887710720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787285294000,"timestamp_ms":1787285294000,"timestamp_seconds":1787285294,"priority":1,"record_length":96,"hex_timestamp":"000001a022814bb0"} 
[2026-08-21 09:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161487,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545035264001,"66":13341,"98":206,"87":13824,"24":19,"16":121654467622862848,"45":8865617366887710720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545035264001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:44] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:41:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121654467622862848,"km_value":121654467622862.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366887710720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545035264001,"power":13341,"unknown_98":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8865617366887710720}} 
[2026-08-21 09:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":161487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:44] local.INFO: GPS data processed {"connection_id":161487,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:44] local.INFO: Acknowledgment sent {"connection_id":161487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:54] local.INFO: TCP Data received {"connection_id":161488,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022844568012d0c6b800703b800001b00ba23..."} 
[2026-08-21 09:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022844568012d0c6b800703b800001b00ba23..."} 
[2026-08-21 09:41:54] local.INFO: Processing buffer {"connection_id":161488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022844568012d0c6b800703b800001b00ba23..."} 
[2026-08-21 09:41:54] local.INFO: Packet analysis {"connection_id":161488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:41:54] local.INFO: Extracted packet for processing {"connection_id":161488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:41:54] local.INFO: GPS Element Parsed {"raw_longitude":755788672,"raw_latitude":117684224,"longitude_deg":75.5788672,"latitude_deg":11.7684224,"altitude":27,"angle":186,"satellites":35,"speed":20,"hex_longitude":"2d0c6b80","hex_latitude":"0703b800","is_valid_coordinates":true} 
[2026-08-21 09:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545080576001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29232990525587456,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895794143511103488,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787285489000,"timestamp_ms":1787285489000,"timestamp_seconds":1787285489,"priority":1,"record_length":96,"hex_timestamp":"000001a022844568"} 
[2026-08-21 09:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41: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-08-21 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161488,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545080576001,"66":14537,"16":29232990525587456,"94":11008,"24":20,"45":895794143511103488},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545080576001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29232990525587456,"km_value":29232990525587.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:54] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":895794143511103488,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:54] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545080576001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":20,"unknown_45":895794143511103488}} 
[2026-08-21 09:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":161488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675040,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:54] local.INFO: GPS data processed {"connection_id":161488,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:54] local.INFO: Acknowledgment sent {"connection_id":161488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:41:55] local.INFO: TCP Data received {"connection_id":160141,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:41:55] local.INFO: Processing buffer {"connection_id":160141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:41:55] local.INFO: Packet analysis {"connection_id":160141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:55] local.INFO: Extracted packet for processing {"connection_id":160141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:41:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":160141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:41:55] local.INFO: GPS data processed {"connection_id":160141,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:41:55] local.INFO: Acknowledgment sent {"connection_id":160141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:42:03] local.INFO: TCP Data received {"connection_id":160142,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02281fb78012daa6000054a7d800014006a2d..."} 
[2026-08-21 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281fb78012daa6000054a7d800014006a2d..."} 
[2026-08-21 09:42:03] local.INFO: Processing buffer {"connection_id":160142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281fb78012daa6000054a7d800014006a2d..."} 
[2026-08-21 09:42:03] local.INFO: Packet analysis {"connection_id":160142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:42:03] local.INFO: Extracted packet for processing {"connection_id":160142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":766140416,"raw_latitude":88767872,"longitude_deg":76.6140416,"latitude_deg":8.8767872,"altitude":20,"angle":106,"satellites":45,"speed":19,"hex_longitude":"2daa6000","hex_latitude":"054a7d80","is_valid_coordinates":true} 
[2026-08-21 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042688001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387939042655731712,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6179360878492125184,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285339000,"timestamp_ms":1787285339000,"timestamp_seconds":1787285339,"priority":1,"record_length":96,"hex_timestamp":"000001a02281fb78"} 
[2026-08-21 09:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 09:42:03] 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-08-21 09:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042688001,"66":27800,"35":206,"84":6144,"24":19,"16":387939042655731712,"45":-6179360878492125184},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-21 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042688001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:42:03] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-21 09:42:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387939042655731712,"km_value":387939042655731.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6179360878492125184,"description":"Unknown IO ID 45"} 
[2026-08-21 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042688001,"power":27800,"unknown_35":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6179360878492125184}} 
[2026-08-21 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":160142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:42:03] local.INFO: GPS data processed {"connection_id":160142,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:42:03] local.INFO: Acknowledgment sent {"connection_id":160142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:42:06] local.INFO: TCP Data received {"connection_id":158957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:42:06] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:42:06] local.INFO: IMEI packet received {"connection_id":158957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":158957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:42:12] local.INFO: TCP Data received {"connection_id":158957,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:42:12] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:42:12] local.INFO: IMEI packet received {"connection_id":158957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":158957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:42:13] local.INFO: TCP Data received {"connection_id":158957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022819db8012d7b248005ebee08000f003f29..."} 
[2026-08-21 09:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022819db8012d7b248005ebee08000f003f29..."} 
[2026-08-21 09:42:13] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022819db8012d7b248005ebee08000f003f29..."} 
[2026-08-21 09:42:13] local.INFO: Packet analysis {"connection_id":158957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:42:13] local.INFO: Extracted packet for processing {"connection_id":158957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763044992,"raw_latitude":99347976,"longitude_deg":76.3044992,"latitude_deg":9.9347976,"altitude":15,"angle":63,"satellites":41,"speed":22,"hex_longitude":"2d7b2480","hex_latitude":"05ebee08","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545035264001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121654841285017600,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366887710720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285315000,"timestamp_ms":1787285315000,"timestamp_seconds":1787285315,"priority":1,"record_length":96,"hex_timestamp":"000001a022819db8"} 
[2026-08-21 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-08-21 09:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 09:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545035264001,"66":13243,"98":206,"87":13824,"24":22,"16":121654841285017600,"45":8865617366887710720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 09:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545035264001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:42:13] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 09:42:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121654841285017600,"km_value":121654841285017.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366887710720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545035264001,"power":13243,"unknown_98":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8865617366887710720}} 
[2026-08-21 09:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":158957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:42:13] local.INFO: GPS data processed {"connection_id":158957,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:42:13] local.INFO: Acknowledgment sent {"connection_id":158957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:42:16] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:16] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:16] local.INFO: IMEI packet received {"connection_id":159240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":159240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:42:17] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:42:17] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:42:17] local.INFO: IMEI packet received {"connection_id":159241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":159241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:42:20] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:20] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:20] local.INFO: IMEI packet received {"connection_id":159240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":159240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:42:20] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:20] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:20] local.INFO: IMEI packet received {"connection_id":159240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":159240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:42:21] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:21] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:42:21] local.INFO: IMEI packet received {"connection_id":159240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":159240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:42:22] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022847060012d0c67c00703a400001d00c823..."} 
[2026-08-21 09:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022847060012d0c67c00703a400001d00c823..."} 
[2026-08-21 09:42:22] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022847060012d0c67c00703a400001d00c823..."} 
[2026-08-21 09:42:22] local.INFO: Packet analysis {"connection_id":159240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:42:22] local.INFO: Extracted packet for processing {"connection_id":159240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:42:22] local.INFO: GPS Element Parsed {"raw_longitude":755787712,"raw_latitude":117679104,"longitude_deg":75.5787712,"latitude_deg":11.7679104,"altitude":29,"angle":200,"satellites":35,"speed":9,"hex_longitude":"2d0c67c0","hex_latitude":"0703a400","is_valid_coordinates":true} 
[2026-08-21 09:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545085184001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29233243928657920,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894949718578692096,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787285500000,"timestamp_ms":1787285500000,"timestamp_seconds":1787285500,"priority":1,"record_length":96,"hex_timestamp":"000001a022847060"} 
[2026-08-21 09:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 09:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545085184001,"66":14396,"16":29233243928657920,"94":11008,"24":9,"45":894949718578692096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545085184001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29233243928657920,"km_value":29233243928657.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:42:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":894949718578692096,"description":"Unknown IO ID 45"} 
[2026-08-21 09:42:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545085184001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":9,"unknown_45":894949718578692096}} 
[2026-08-21 09:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":159240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675044,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:42:22] local.INFO: GPS data processed {"connection_id":159240,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:42:22] local.INFO: Acknowledgment sent {"connection_id":159240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:42:23] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:42:23] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:42:23] local.INFO: IMEI packet received {"connection_id":159241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":159241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:42:23] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:42:23] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:42:23] local.INFO: Packet analysis {"connection_id":159241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:42:23] local.INFO: Extracted packet for processing {"connection_id":159241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:42:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":159241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:42:24] local.INFO: GPS data processed {"connection_id":159241,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:42:24] local.INFO: Acknowledgment sent {"connection_id":159241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:42:26] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:42:26] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:42:26] local.INFO: IMEI packet received {"connection_id":158958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":158958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:42:29] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022848fa0012d0c6480070398b8001c00b924..."} 
[2026-08-21 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022848fa0012d0c6480070398b8001c00b924..."} 
[2026-08-21 09:42:29] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022848fa0012d0c6480070398b8001c00b924..."} 
[2026-08-21 09:42:29] local.INFO: Packet analysis {"connection_id":159240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:42:29] local.INFO: Extracted packet for processing {"connection_id":159240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:42:29] local.INFO: GPS Element Parsed {"raw_longitude":755786880,"raw_latitude":117676216,"longitude_deg":75.578688,"latitude_deg":11.7676216,"altitude":28,"angle":185,"satellites":36,"speed":10,"hex_longitude":"2d0c6480","hex_latitude":"070398b8","is_valid_coordinates":true} 
[2026-08-21 09:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545088000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29233389957545984,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893894187414716416,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787285508000,"timestamp_ms":1787285508000,"timestamp_seconds":1787285508,"priority":1,"record_length":96,"hex_timestamp":"000001a022848fa0"} 
[2026-08-21 09:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:42:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545088000001,"66":14428,"16":29233389957545984,"94":11008,"24":10,"45":893894187414716416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545088000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29233389957545984,"km_value":29233389957545.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:42:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":893894187414716416,"description":"Unknown IO ID 45"} 
[2026-08-21 09:42:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545088000001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":893894187414716416}} 
[2026-08-21 09:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":159240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675046,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:42:29] local.INFO: GPS data processed {"connection_id":159240,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:42:29] local.INFO: Acknowledgment sent {"connection_id":159240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:42:31] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:42:31] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:42:31] local.INFO: IMEI packet received {"connection_id":158958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":158958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:42:32] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022823de0012daa8200054a72f80014006a2d..."} 
[2026-08-21 09:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022823de0012daa8200054a72f80014006a2d..."} 
[2026-08-21 09:42:32] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022823de0012daa8200054a72f80014006a2d..."} 
[2026-08-21 09:42:32] local.INFO: Packet analysis {"connection_id":158958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:42:32] local.INFO: Extracted packet for processing {"connection_id":158958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:42:32] local.INFO: GPS Element Parsed {"raw_longitude":766149120,"raw_latitude":88765176,"longitude_deg":76.614912,"latitude_deg":8.8765176,"altitude":20,"angle":106,"satellites":45,"speed":24,"hex_longitude":"2daa8200","hex_latitude":"054a72f8","is_valid_coordinates":true} 
[2026-08-21 09:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545046784001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387939480742395904,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6169931466773004288,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285356000,"timestamp_ms":1787285356000,"timestamp_seconds":1787285356,"priority":1,"record_length":96,"hex_timestamp":"000001a022823de0"} 
[2026-08-21 09:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:42: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-08-21 09: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 09:42:32] 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-08-21 09:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545046784001,"66":28050,"35":206,"84":6144,"24":24,"16":387939480742395904,"45":-6169931466773004288},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,84,24,16,45]} 
[2026-08-21 09:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545046784001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:42:32] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-21 09:42:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387939480742395904,"km_value":387939480742395.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6169931466773004288,"description":"Unknown IO ID 45"} 
[2026-08-21 09:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545046784001,"power":28050,"unknown_35":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6169931466773004288}} 
[2026-08-21 09:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":158958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:42:32] local.INFO: GPS data processed {"connection_id":158958,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:42:32] local.INFO: Acknowledgment sent {"connection_id":158958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:42:45] local.INFO: TCP Data received {"connection_id":158957,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02284f148012d7c884005ec3888000d00572b..."} 
[2026-08-21 09:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02284f148012d7c884005ec3888000d00572b..."} 
[2026-08-21 09:42:45] local.INFO: Processing buffer {"connection_id":158957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02284f148012d7c884005ec3888000d00572b..."} 
[2026-08-21 09:42:45] local.INFO: Packet analysis {"connection_id":158957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:42:45] local.INFO: Extracted packet for processing {"connection_id":158957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:42:45] local.INFO: GPS Element Parsed {"raw_longitude":763136064,"raw_latitude":99367048,"longitude_deg":76.3136064,"latitude_deg":9.9367048,"altitude":13,"angle":87,"satellites":43,"speed":27,"hex_longitude":"2d7c8840","hex_latitude":"05ec3888","is_valid_coordinates":true} 
[2026-08-21 09:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545091072001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121659346705711104,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964415083718875136,"note":"Value kept but may cause issues"} 
[2026-08-21 09:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787285533000,"timestamp_ms":1787285533000,"timestamp_seconds":1787285533,"priority":1,"record_length":96,"hex_timestamp":"000001a02284f148"} 
[2026-08-21 09:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 09:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":158957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":158957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":158957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545091072001,"66":13254,"198":206,"87":13824,"24":27,"16":121659346705711104,"45":8964415083718875136},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545091072001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:42:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:42:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121659346705711104,"km_value":121659346705711.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964415083718875136,"description":"Unknown IO ID 45"} 
[2026-08-21 09:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545091072001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8964415083718875136}} 
[2026-08-21 09:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":158957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:42:45] local.INFO: GPS data processed {"connection_id":158957,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:42:45] local.INFO: Acknowledgment sent {"connection_id":158957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:01] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:01] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:01] local.INFO: Packet analysis {"connection_id":159241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:43:01] local.INFO: Extracted packet for processing {"connection_id":159241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43: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-08-21 09: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:43:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":159241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:01] local.INFO: GPS data processed {"connection_id":159241,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:01] local.INFO: Acknowledgment sent {"connection_id":159241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:02] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02284ddc0012d0c654007039780001b00b024..."} 
[2026-08-21 09:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02284ddc0012d0c654007039780001b00b024..."} 
[2026-08-21 09:43:02] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02284ddc0012d0c654007039780001b00b024..."} 
[2026-08-21 09:43:02] local.INFO: Packet analysis {"connection_id":159240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:43:02] local.INFO: Extracted packet for processing {"connection_id":159240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02284"} 
[2026-08-21 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755787072,"raw_latitude":117675904,"longitude_deg":75.5787072,"latitude_deg":11.7675904,"altitude":27,"angle":176,"satellites":36,"speed":0,"hex_longitude":"2d0c6540","hex_latitude":"07039780","is_valid_coordinates":true} 
[2026-08-21 09:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545090048001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29233411432382464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892979393739667456,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787285528000,"timestamp_ms":1787285528000,"timestamp_seconds":1787285528,"priority":1,"record_length":96,"hex_timestamp":"000001a02284ddc0"} 
[2026-08-21 09:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545090048001,"66":14407,"16":29233411432382464,"94":11008,"24":0,"45":892979393739667456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545090048001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29233411432382464,"km_value":29233411432382.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":892979393739667456,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545090048001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":892979393739667456}} 
[2026-08-21 09:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":159240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675050,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:02] local.INFO: GPS data processed {"connection_id":159240,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:02] local.INFO: Acknowledgment sent {"connection_id":159240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:03] local.INFO: TCP Data received {"connection_id":158958,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022826cc0012daaa500054a66a00014006d2d..."} 
[2026-08-21 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022826cc0012daaa500054a66a00014006d2d..."} 
[2026-08-21 09:43:03] local.INFO: Processing buffer {"connection_id":158958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022826cc0012daaa500054a66a00014006d2d..."} 
[2026-08-21 09:43:03] local.INFO: Packet analysis {"connection_id":158958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:43:03] local.INFO: Extracted packet for processing {"connection_id":158958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:43:03] local.INFO: GPS Element Parsed {"raw_longitude":766158080,"raw_latitude":88762016,"longitude_deg":76.615808,"latitude_deg":8.8762016,"altitude":20,"angle":109,"satellites":45,"speed":35,"hex_longitude":"2daaa500","hex_latitude":"054a66a0","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545051136001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387939936008929280,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6160361317565532160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285368000,"timestamp_ms":1787285368000,"timestamp_seconds":1787285368,"priority":1,"record_length":96,"hex_timestamp":"000001a022826cc0"} 
[2026-08-21 09:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:03] 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-08-21 09: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-08-21 09:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545051136001,"66":28050,"120":206,"84":6144,"24":35,"16":387939936008929280,"45":-6160361317565532160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545051136001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:43:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387939936008929280,"km_value":387939936008929.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6160361317565532160,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545051136001,"power":28050,"unknown_120":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6160361317565532160}} 
[2026-08-21 09:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":158958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:03] local.INFO: GPS data processed {"connection_id":158958,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:03] local.INFO: Acknowledgment sent {"connection_id":158958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:07] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:43:07] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:43:07] local.INFO: IMEI packet received {"connection_id":161489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":161489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:43:12] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:43:12] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:43:12] local.INFO: IMEI packet received {"connection_id":161489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":161489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:43:13] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022852410012d7cae0005ec3980000b00582b..."} 
[2026-08-21 09:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022852410012d7cae0005ec3980000b00582b..."} 
[2026-08-21 09:43:13] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022852410012d7cae0005ec3980000b00582b..."} 
[2026-08-21 09:43:13] local.INFO: Packet analysis {"connection_id":161489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:13] local.INFO: Extracted packet for processing {"connection_id":161489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":763145728,"raw_latitude":99367296,"longitude_deg":76.3145728,"latitude_deg":9.9367296,"altitude":11,"angle":88,"satellites":43,"speed":27,"hex_longitude":"2d7cae00","hex_latitude":"05ec3980","is_valid_coordinates":true} 
[2026-08-21 09:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545096448001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121659810562179072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973492651717855232,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285546000,"timestamp_ms":1787285546000,"timestamp_seconds":1787285546,"priority":1,"record_length":96,"hex_timestamp":"000001a022852410"} 
[2026-08-21 09:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545096448001,"66":13461,"198":206,"87":13824,"24":27,"16":121659810562179072,"45":8973492651717855232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545096448001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:13] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:43:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121659810562179072,"km_value":121659810562179.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973492651717855232,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545096448001,"power":13461,"unknown_198":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8973492651717855232}} 
[2026-08-21 09:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":161489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:13] local.INFO: GPS data processed {"connection_id":161489,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:13] local.INFO: Acknowledgment sent {"connection_id":161489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:22] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:43:22] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:43:22] local.INFO: IMEI packet received {"connection_id":159242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":159242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:43:23] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:43:23] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:43:23] local.INFO: IMEI packet received {"connection_id":159243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":159243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:43:28] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:43:28] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:43:28] local.INFO: IMEI packet received {"connection_id":159242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":159242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:43:28] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:43:28] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:43:28] local.INFO: IMEI packet received {"connection_id":159243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":159243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:43:28] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228504d0012d0c654007039780001b00b023..."} 
[2026-08-21 09:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228504d0012d0c654007039780001b00b023..."} 
[2026-08-21 09:43:28] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228504d0012d0c654007039780001b00b023..."} 
[2026-08-21 09:43:28] local.INFO: Packet analysis {"connection_id":159242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:28] local.INFO: Extracted packet for processing {"connection_id":159242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:28] local.INFO: GPS Element Parsed {"raw_longitude":755787072,"raw_latitude":117675904,"longitude_deg":75.5787072,"latitude_deg":11.7675904,"altitude":27,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d0c6540","hex_latitude":"07039780","is_valid_coordinates":true} 
[2026-08-21 09:43: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-08-21 09:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545095168001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29233411432382464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190499972120576,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787285538000,"timestamp_ms":1787285538000,"timestamp_seconds":1787285538,"priority":1,"record_length":96,"hex_timestamp":"000001a0228504d0"} 
[2026-08-21 09:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545095168001,"66":14407,"16":29233411432382464,"94":11008,"24":0,"45":893190499972120576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545095168001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29233411432382464,"km_value":29233411432382.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:28] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190499972120576,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545095168001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":893190499972120576}} 
[2026-08-21 09:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":159242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675053,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:29] local.INFO: GPS data processed {"connection_id":159242,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:29] local.INFO: Acknowledgment sent {"connection_id":159242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:29] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:29] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:29] local.INFO: Packet analysis {"connection_id":159243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:43:29] local.INFO: Extracted packet for processing {"connection_id":159243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:43:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":159243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:29] local.INFO: GPS data processed {"connection_id":159243,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:29] local.INFO: Acknowledgment sent {"connection_id":159243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:29] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228504d0012d0c654007039780001b00b023..."} 
[2026-08-21 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228504d0012d0c654007039780001b00b023..."} 
[2026-08-21 09:43:29] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228504d0012d0c654007039780001b00b023..."} 
[2026-08-21 09:43:29] local.INFO: Packet analysis {"connection_id":159242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:29] local.INFO: Extracted packet for processing {"connection_id":159242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:29] local.INFO: GPS Element Parsed {"raw_longitude":755787072,"raw_latitude":117675904,"longitude_deg":75.5787072,"latitude_deg":11.7675904,"altitude":27,"angle":176,"satellites":35,"speed":0,"hex_longitude":"2d0c6540","hex_latitude":"07039780","is_valid_coordinates":true} 
[2026-08-21 09:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545097728001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29233411432382464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190499972120576,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787285538000,"timestamp_ms":1787285538000,"timestamp_seconds":1787285538,"priority":1,"record_length":96,"hex_timestamp":"000001a0228504d0"} 
[2026-08-21 09:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545097728001,"66":14407,"16":29233411432382464,"94":11008,"24":0,"45":893190499972120576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545097728001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29233411432382464,"km_value":29233411432382.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190499972120576,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545097728001,"power":14407,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":893190499972120576}} 
[2026-08-21 09:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":159242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675055,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:29] local.INFO: GPS data processed {"connection_id":159242,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:29] local.INFO: Acknowledgment sent {"connection_id":159242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:31] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:43:31] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:43:31] local.INFO: IMEI packet received {"connection_id":158959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":158959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:43:33] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:33] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02281c0e0012d196500071ff0a8003a01442a..."} 
[2026-08-21 09:43:33] local.INFO: Packet analysis {"connection_id":159243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:43:33] local.INFO: Extracted packet for processing {"connection_id":159243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02281"} 
[2026-08-21 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457544965888001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787285324000,"timestamp_ms":1787285324000,"timestamp_seconds":1787285324,"priority":1,"record_length":96,"hex_timestamp":"000001a02281c0e0"} 
[2026-08-21 09:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457544965888001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457544965888001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:43:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457544965888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":159243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:33] local.INFO: GPS data processed {"connection_id":159243,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:33] local.INFO: Acknowledgment sent {"connection_id":159243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:36] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:43:36] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:43:36] local.INFO: IMEI packet received {"connection_id":158959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":158959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:43:37] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228293d0012daac780054a59980012006e2c..."} 
[2026-08-21 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228293d0012daac780054a59980012006e2c..."} 
[2026-08-21 09:43:37] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228293d0012daac780054a59980012006e2c..."} 
[2026-08-21 09:43:37] local.INFO: Packet analysis {"connection_id":158959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:43:37] local.INFO: Extracted packet for processing {"connection_id":158959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":766166912,"raw_latitude":88758680,"longitude_deg":76.6166912,"latitude_deg":8.875868,"altitude":18,"angle":110,"satellites":44,"speed":38,"hex_longitude":"2daac780","hex_latitude":"054a5998","is_valid_coordinates":true} 
[2026-08-21 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545054208001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387940386980495360,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6150509693381468160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787285378000,"timestamp_ms":1787285378000,"timestamp_seconds":1787285378,"priority":1,"record_length":96,"hex_timestamp":"000001a0228293d0"} 
[2026-08-21 09:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43: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-08-21 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:37] 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-08-21 09:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":158959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":158959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":158959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545054208001,"66":27919,"120":206,"84":6144,"24":38,"16":387940386980495360,"45":-6150509693381468160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545054208001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:43:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387940386980495360,"km_value":387940386980495.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6150509693381468160,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545054208001,"power":27919,"unknown_120":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6150509693381468160}} 
[2026-08-21 09:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":158959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:37] local.INFO: GPS data processed {"connection_id":158959,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:37] local.INFO: Acknowledgment sent {"connection_id":158959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:43:44] local.INFO: TCP Data received {"connection_id":161489,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022855ac0012d7cd14005ec3ad0000a00572a..."} 
[2026-08-21 09:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022855ac0012d7cd14005ec3ad0000a00572a..."} 
[2026-08-21 09:43:44] local.INFO: Processing buffer {"connection_id":161489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022855ac0012d7cd14005ec3ad0000a00572a..."} 
[2026-08-21 09:43:44] local.INFO: Packet analysis {"connection_id":161489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:44] local.INFO: Extracted packet for processing {"connection_id":161489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:43:44] local.INFO: GPS Element Parsed {"raw_longitude":763154752,"raw_latitude":99367632,"longitude_deg":76.3154752,"latitude_deg":9.9367632,"altitude":10,"angle":87,"satellites":42,"speed":21,"hex_longitude":"2d7cd140","hex_latitude":"05ec3ad0","is_valid_coordinates":true} 
[2026-08-21 09:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545099776001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121660240058908672,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984118332088745984,"note":"Value kept but may cause issues"} 
[2026-08-21 09:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787285560000,"timestamp_ms":1787285560000,"timestamp_seconds":1787285560,"priority":1,"record_length":96,"hex_timestamp":"000001a022855ac0"} 
[2026-08-21 09:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-21 09:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545099776001,"66":13678,"198":206,"87":13824,"24":21,"16":121660240058908672,"45":8984118332088745984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545099776001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:43:44] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:43:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121660240058908672,"km_value":121660240058908.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984118332088745984,"description":"Unknown IO ID 45"} 
[2026-08-21 09:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545099776001,"power":13678,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8984118332088745984}} 
[2026-08-21 09:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":161489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675058,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:43:45] local.INFO: GPS data processed {"connection_id":161489,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:43:45] local.INFO: Acknowledgment sent {"connection_id":161489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:01] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022859558012d0c654007039758001b00b026..."} 
[2026-08-21 09:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022859558012d0c654007039758001b00b026..."} 
[2026-08-21 09:44:01] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022859558012d0c654007039758001b00b026..."} 
[2026-08-21 09:44:01] local.INFO: Packet analysis {"connection_id":159242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:01] local.INFO: Extracted packet for processing {"connection_id":159242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:01] local.INFO: GPS Element Parsed {"raw_longitude":755787072,"raw_latitude":117675864,"longitude_deg":75.5787072,"latitude_deg":11.7675864,"altitude":27,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d0c6540","hex_latitude":"07039758","is_valid_coordinates":true} 
[2026-08-21 09:44: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-08-21 09:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545097728001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29233411432382464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190499972120576,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787285575000,"timestamp_ms":1787285575000,"timestamp_seconds":1787285575,"priority":1,"record_length":96,"hex_timestamp":"000001a022859558"} 
[2026-08-21 09:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545097728001,"66":12841,"16":29233411432382464,"94":11008,"24":0,"45":893190499972120576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545097728001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29233411432382464,"km_value":29233411432382.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190499972120576,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545097728001,"power":12841,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":893190499972120576}} 
[2026-08-21 09:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":159242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675059,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:01] local.INFO: GPS data processed {"connection_id":159242,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:01] local.INFO: Acknowledgment sent {"connection_id":159242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:08] local.INFO: TCP Data received {"connection_id":158959,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02282af28012daae000054a52a0001200602d..."} 
[2026-08-21 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02282af28012daae000054a52a0001200602d..."} 
[2026-08-21 09:44:08] local.INFO: Processing buffer {"connection_id":158959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02282af28012daae000054a52a0001200602d..."} 
[2026-08-21 09:44:08] local.INFO: Packet analysis {"connection_id":158959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:44:08] local.INFO: Extracted packet for processing {"connection_id":158959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":766173184,"raw_latitude":88756896,"longitude_deg":76.6173184,"latitude_deg":8.8756896,"altitude":18,"angle":96,"satellites":45,"speed":34,"hex_longitude":"2daae000","hex_latitude":"054a52a0","is_valid_coordinates":true} 
[2026-08-21 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545056768001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387940700513107968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6140798806685804544,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787285385000,"timestamp_ms":1787285385000,"timestamp_seconds":1787285385,"priority":1,"record_length":96,"hex_timestamp":"000001a02282af28"} 
[2026-08-21 09:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":158959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":158959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":158959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545056768001,"66":28093,"120":206,"84":6144,"24":34,"16":387940700513107968,"45":-6140798806685804544},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545056768001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:44:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387940700513107968,"km_value":387940700513107.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6140798806685804544,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545056768001,"power":28093,"unknown_120":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6140798806685804544}} 
[2026-08-21 09:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":158959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:08] local.INFO: GPS data processed {"connection_id":158959,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:08] local.INFO: Acknowledgment sent {"connection_id":158959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:12] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:44:12] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:44:12] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:44:17] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:44:17] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:44:17] local.INFO: IMEI packet received {"connection_id":160143,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":160143,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:44:18] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:44:18] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:44:18] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:44:18] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022859d28012d7cf50005ec3c20000c00562b..."} 
[2026-08-21 09:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022859d28012d7cf50005ec3c20000c00562b..."} 
[2026-08-21 09:44:18] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022859d28012d7cf50005ec3c20000c00562b..."} 
[2026-08-21 09:44:18] local.INFO: Packet analysis {"connection_id":160143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:18] local.INFO: Extracted packet for processing {"connection_id":160143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:18] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":99367968,"longitude_deg":76.3163904,"latitude_deg":9.9367968,"altitude":12,"angle":86,"satellites":43,"speed":20,"hex_longitude":"2d7cf500","hex_latitude":"05ec3c20","is_valid_coordinates":true} 
[2026-08-21 09:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545103360001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121660678145572864,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994040325017882624,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787285577000,"timestamp_ms":1787285577000,"timestamp_seconds":1787285577,"priority":1,"record_length":96,"hex_timestamp":"000001a022859d28"} 
[2026-08-21 09:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44: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-08-21 09:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545103360001,"66":12667,"198":206,"87":13824,"24":20,"16":121660678145572864,"45":8994040325017882624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 09:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545103360001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:18] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 09:44:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121660678145572864,"km_value":121660678145572.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994040325017882624,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545103360001,"power":12667,"unknown_198":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8994040325017882624}} 
[2026-08-21 09:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":160143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:18] local.INFO: GPS data processed {"connection_id":160143,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:18] local.INFO: Acknowledgment sent {"connection_id":160143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:20] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:20] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:20] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:44:21] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:21] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:21] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:44:23] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:44:23] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:44:23] local.INFO: IMEI packet received {"connection_id":160144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":160144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:44:24] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:44:24] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:44:24] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:44:24] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:44:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:44:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09: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-08-21 09:44:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:44:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44: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-08-21 09: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":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:44: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-08-21 09:44:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:44:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:44:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:44:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:44:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:44:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:44:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:44:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:44:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:24] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:24] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:26] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:26] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:44:26] local.INFO: IMEI packet received {"connection_id":160145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":160145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:44:26] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:44:26] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:44:26] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:44:27] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022859558012d0c654007039758001b00b026..."} 
[2026-08-21 09:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022859558012d0c654007039758001b00b026..."} 
[2026-08-21 09:44:27] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022859558012d0c654007039758001b00b026..."} 
[2026-08-21 09:44:27] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:27] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:27] local.INFO: GPS Element Parsed {"raw_longitude":755787072,"raw_latitude":117675864,"longitude_deg":75.5787072,"latitude_deg":11.7675864,"altitude":27,"angle":176,"satellites":38,"speed":0,"hex_longitude":"2d0c6540","hex_latitude":"07039758","is_valid_coordinates":true} 
[2026-08-21 09:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545107200001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29233411432382464,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893190499972110336,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787285575000,"timestamp_ms":1787285575000,"timestamp_seconds":1787285575,"priority":1,"record_length":96,"hex_timestamp":"000001a022859558"} 
[2026-08-21 09:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545107200001,"66":12841,"16":29233411432382464,"94":11008,"24":0,"45":893190499972110336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545107200001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29233411432382464,"km_value":29233411432382.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:27] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":893190499972110336,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545107200001,"power":12841,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":893190499972110336}} 
[2026-08-21 09:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675063,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:27] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:27] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:31] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:44:31] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:44:31] local.INFO: IMEI packet received {"connection_id":161490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":161490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:44:32] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02282d250012daaf500054a5298001100552d..."} 
[2026-08-21 09:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02282d250012daaf500054a5298001100552d..."} 
[2026-08-21 09:44:32] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02282d250012daaf500054a5298001100552d..."} 
[2026-08-21 09:44:32] local.INFO: Packet analysis {"connection_id":161490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:44:32] local.INFO: Extracted packet for processing {"connection_id":161490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02282"} 
[2026-08-21 09:44:32] local.INFO: GPS Element Parsed {"raw_longitude":766178560,"raw_latitude":88756888,"longitude_deg":76.617856,"latitude_deg":8.8756888,"altitude":17,"angle":85,"satellites":45,"speed":10,"hex_longitude":"2daaf500","hex_latitude":"054a5298","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545058560001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387940962506113024,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6133902669756850176,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285394000,"timestamp_ms":1787285394000,"timestamp_seconds":1787285394,"priority":1,"record_length":96,"hex_timestamp":"000001a02282d250"} 
[2026-08-21 09:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44: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-08-21 09: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:32] 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-08-21 09: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-08-21 09:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545058560001,"66":27919,"120":206,"84":6144,"24":10,"16":387940962506113024,"45":-6133902669756850176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545058560001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:44:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387940962506113024,"km_value":387940962506113.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6133902669756850176,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545058560001,"power":27919,"unknown_120":206,"unknown_84":6144,"ignition":10,"odometer":null,"unknown_45":-6133902669756850176}} 
[2026-08-21 09:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":161490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:32] local.INFO: GPS data processed {"connection_id":161490,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:32] local.INFO: Acknowledgment sent {"connection_id":161490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:55] local.INFO: TCP Data received {"connection_id":160144,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:44:55] local.INFO: Processing buffer {"connection_id":160144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:44:55] local.INFO: Packet analysis {"connection_id":160144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:44:55] local.INFO: Extracted packet for processing {"connection_id":160144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":160144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:55] local.INFO: GPS data processed {"connection_id":160144,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:55] local.INFO: Acknowledgment sent {"connection_id":160144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:55] local.INFO: TCP Data received {"connection_id":160143,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02285b880012d7d000005ec3d88000b004829..."} 
[2026-08-21 09:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02285b880012d7d000005ec3d88000b004829..."} 
[2026-08-21 09:44:55] local.INFO: Processing buffer {"connection_id":160143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02285b880012d7d000005ec3d88000b004829..."} 
[2026-08-21 09:44:55] local.INFO: Packet analysis {"connection_id":160143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:55] local.INFO: Extracted packet for processing {"connection_id":160143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02285"} 
[2026-08-21 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":763166720,"raw_latitude":99368328,"longitude_deg":76.316672,"latitude_deg":9.9368328,"altitude":11,"angle":72,"satellites":41,"speed":6,"hex_longitude":"2d7d0000","hex_latitude":"05ec3d88","is_valid_coordinates":true} 
[2026-08-21 09:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545107712001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121660811289559040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055435374592,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285584000,"timestamp_ms":1787285584000,"timestamp_seconds":1787285584,"priority":1,"record_length":96,"hex_timestamp":"000001a02285b880"} 
[2026-08-21 09:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160143,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545107712001,"66":13135,"110":206,"87":13824,"24":6,"16":121660811289559040,"45":9004103055435374592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545107712001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121660811289559040,"km_value":121660811289559.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055435374592,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545107712001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9004103055435374592}} 
[2026-08-21 09:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":160143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:55] local.INFO: GPS data processed {"connection_id":160143,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:55] local.INFO: Acknowledgment sent {"connection_id":160143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:44:58] local.INFO: TCP Data received {"connection_id":160145,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022876248012d0c3a4007036090001c00dd22..."} 
[2026-08-21 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022876248012d0c3a4007036090001c00dd22..."} 
[2026-08-21 09:44:58] local.INFO: Processing buffer {"connection_id":160145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022876248012d0c3a4007036090001c00dd22..."} 
[2026-08-21 09:44:58] local.INFO: Packet analysis {"connection_id":160145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:44:58] local.INFO: Extracted packet for processing {"connection_id":160145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":755776064,"raw_latitude":117661840,"longitude_deg":75.5776064,"latitude_deg":11.766184,"altitude":28,"angle":221,"satellites":34,"speed":7,"hex_longitude":"2d0c3a40","hex_latitude":"07036090","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545133568001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29234442224533504,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887772106667401216,"note":"Value kept but may cause issues"} 
[2026-08-21 09:44:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 09:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787285693000,"timestamp_ms":1787285693000,"timestamp_seconds":1787285693,"priority":1,"record_length":96,"hex_timestamp":"000001a022876248"} 
[2026-08-21 09:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 09:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545133568001,"66":14559,"16":29234442224533504,"94":11008,"24":7,"45":887772106667401216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 09:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545133568001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29234442224533504,"km_value":29234442224533.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:44:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":887772106667401216,"description":"Unknown IO ID 45"} 
[2026-08-21 09:44:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545133568001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":887772106667401216}} 
[2026-08-21 09:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":160145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:44:58] local.INFO: GPS data processed {"connection_id":160145,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:44:58] local.INFO: Acknowledgment sent {"connection_id":160145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:45:03] local.INFO: TCP Data received {"connection_id":161490,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022832458012daafac0054a5298001200552f..."} 
[2026-08-21 09:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022832458012daafac0054a5298001200552f..."} 
[2026-08-21 09:45:03] local.INFO: Processing buffer {"connection_id":161490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022832458012daafac0054a5298001200552f..."} 
[2026-08-21 09:45:03] local.INFO: Packet analysis {"connection_id":161490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02283"} 
[2026-08-21 09:45:03] local.INFO: Extracted packet for processing {"connection_id":161490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02283"} 
[2026-08-21 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":766180032,"raw_latitude":88756888,"longitude_deg":76.6180032,"latitude_deg":8.8756888,"altitude":18,"angle":85,"satellites":47,"speed":0,"hex_longitude":"2daafac0","hex_latitude":"054a5298","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545060864001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941035520557056,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6127991695245928448,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285415000,"timestamp_ms":1787285415000,"timestamp_seconds":1787285415,"priority":1,"record_length":96,"hex_timestamp":"000001a022832458"} 
[2026-08-21 09:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 09:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545060864001,"66":27865,"120":206,"84":6144,"24":0,"16":387941035520557056,"45":-6127991695245928448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545060864001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:45:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:45:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941035520557056,"km_value":387941035520557.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6127991695245928448,"description":"Unknown IO ID 45"} 
[2026-08-21 09:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545060864001,"power":27865,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6127991695245928448}} 
[2026-08-21 09:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":161490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:45:03] local.INFO: GPS data processed {"connection_id":161490,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:45:03] local.INFO: Acknowledgment sent {"connection_id":161490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:45:06] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:45:06] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:45:06] local.INFO: IMEI packet received {"connection_id":158960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":158960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:45:12] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:45:12] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:45:12] local.INFO: IMEI packet received {"connection_id":158960,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":158960,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:45:14] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a022860a88012d7d01c005ec3dc0000a00482a..."} 
[2026-08-21 09:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022860a88012d7d01c005ec3dc0000a00482a..."} 
[2026-08-21 09:45:14] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022860a88012d7d01c005ec3dc0000a00482a..."} 
[2026-08-21 09:45:14] local.INFO: Packet analysis {"connection_id":158960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:14] local.INFO: Extracted packet for processing {"connection_id":158960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:14] local.INFO: GPS Element Parsed {"raw_longitude":763167168,"raw_latitude":99368384,"longitude_deg":76.3167168,"latitude_deg":9.9368384,"altitude":10,"angle":72,"satellites":42,"speed":0,"hex_longitude":"2d7d01c0","hex_latitude":"05ec3dc0","is_valid_coordinates":true} 
[2026-08-21 09:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545109504001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121660837059362816,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007199280179283968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787285605000,"timestamp_ms":1787285605000,"timestamp_seconds":1787285605,"priority":1,"record_length":96,"hex_timestamp":"000001a022860a88"} 
[2026-08-21 09:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:45:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 09:45:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:45:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":158960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":158960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":158960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545109504001,"66":12982,"110":206,"87":13824,"24":0,"16":121660837059362816,"45":9007199280179283968},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545109504001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:45:14] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:45:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121660837059362816,"km_value":121660837059362.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007199280179283968,"description":"Unknown IO ID 45"} 
[2026-08-21 09:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545109504001,"power":12982,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007199280179283968}} 
[2026-08-21 09:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":158960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:45:14] local.INFO: GPS data processed {"connection_id":158960,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:45:14] local.INFO: Acknowledgment sent {"connection_id":158960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:45:17] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:17] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:17] local.INFO: IMEI packet received {"connection_id":159244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":159244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:45:18] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:45:18] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:45:18] local.INFO: IMEI packet received {"connection_id":161491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":161491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:45:18] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:18] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:18] local.INFO: IMEI packet received {"connection_id":159244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":159244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:45:19] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:19] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:19] local.INFO: IMEI packet received {"connection_id":159244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:45:19] local.INFO: IMEI acknowledgment sent {"connection_id":159244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:45:20] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:20] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:45:20] local.INFO: IMEI packet received {"connection_id":159244,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":159244,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:45:23] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:45:23] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:45:23] local.INFO: IMEI packet received {"connection_id":161491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":161491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:45:23] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:45:23] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:45:23] local.INFO: Packet analysis {"connection_id":161491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:23] local.INFO: Extracted packet for processing {"connection_id":161491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 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-08-21 09:45:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:45:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:45:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:45:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":161491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:45:24] local.INFO: GPS data processed {"connection_id":161491,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:45:24] local.INFO: Acknowledgment sent {"connection_id":161491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:45:25] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:25] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:25] local.INFO: IMEI packet received {"connection_id":159245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":159245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:45:26] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:26] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:26] local.INFO: IMEI packet received {"connection_id":159245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":159245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:45:31] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:31] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:45:31] local.INFO: IMEI packet received {"connection_id":159245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":159245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:45:32] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02286a6c8012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02286a6c8012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:45:32] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02286a6c8012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:45:32] local.INFO: Packet analysis {"connection_id":159245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:32] local.INFO: Extracted packet for processing {"connection_id":159245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545119744001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285645000,"timestamp_ms":1787285645000,"timestamp_seconds":1787285645,"priority":1,"record_length":96,"hex_timestamp":"000001a02286a6c8"} 
[2026-08-21 09:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:45: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-08-21 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545119744001,"66":27821,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545119744001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545119744001,"power":27821,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":159245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:45:32] local.INFO: GPS data processed {"connection_id":159245,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:45:32] local.INFO: Acknowledgment sent {"connection_id":159245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:45:46] local.INFO: TCP Data received {"connection_id":158960,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02287e330012d7d370005ec3360000500b628..."} 
[2026-08-21 09:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02287e330012d7d370005ec3360000500b628..."} 
[2026-08-21 09:45:46] local.INFO: Processing buffer {"connection_id":158960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02287e330012d7d370005ec3360000500b628..."} 
[2026-08-21 09:45:46] local.INFO: Packet analysis {"connection_id":158960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:45:46] local.INFO: Extracted packet for processing {"connection_id":158960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:45:46] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99365728,"longitude_deg":76.31808,"latitude_deg":9.9365728,"altitude":5,"angle":182,"satellites":40,"speed":3,"hex_longitude":"2d7d3700","hex_latitude":"05ec3360","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545145600001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121661696052822016,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403897729024,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787285726000,"timestamp_ms":1787285726000,"timestamp_seconds":1787285726,"priority":1,"record_length":96,"hex_timestamp":"000001a02287e330"} 
[2026-08-21 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-08-21 09:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":58,"raw_value":2147871803,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024905,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":49153,"corrected_to":0} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2272389121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4505851457258268160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963430912,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":182,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.WARNING: Large IO value detected {"io_id":135,"raw_value":6800436732215492613,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:46] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,110,87,24,241,157,16,58,160,215,45,64,52,6,39,10,66,203,121,1,240,35,227,34,236,4,113,205,9,88,40,239,2,176,5,7,182,135],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":203,"original":49153,"validated":0},{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-21 09:45:46] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432574434445033472,"timestamp_seconds":432574434445033.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 09:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":158960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":158960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":158960,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545145600001,"66":12982,"110":206,"87":13824,"24":3,"16":121661696052822016,"45":9022680403897729024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545145600001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:45:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:45:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121661696052822016,"km_value":121661696052822.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403897729024,"description":"Unknown IO ID 45"} 
[2026-08-21 09:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545145600001,"power":12982,"unknown_110":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":9022680403897729024}} 
[2026-08-21 09:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":158960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:45:46] local.INFO: GPS data processed {"connection_id":158960,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:45:46] local.INFO: Acknowledgment sent {"connection_id":158960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:45:55] local.INFO: TCP Data received {"connection_id":161491,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:45:55] local.INFO: Processing buffer {"connection_id":161491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:45:55] local.INFO: Packet analysis {"connection_id":161491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:55] local.INFO: Extracted packet for processing {"connection_id":161491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:45:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:45:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:45:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:45:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":161491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:45:55] local.INFO: GPS data processed {"connection_id":161491,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:45:55] local.INFO: Acknowledgment sent {"connection_id":161491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:46:03] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02286f8d0012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02286f8d0012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:46:03] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02286f8d0012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:46:03] local.INFO: Packet analysis {"connection_id":159245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:46:03] local.INFO: Extracted packet for processing {"connection_id":159245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545125120001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285666000,"timestamp_ms":1787285666000,"timestamp_seconds":1787285666,"priority":1,"record_length":96,"hex_timestamp":"000001a02286f8d0"} 
[2026-08-21 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 09:46: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-08-21 09: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-08-21 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545125120001,"66":27767,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545125120001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545125120001,"power":27767,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":159245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:46:03] local.INFO: GPS data processed {"connection_id":159245,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:46:03] local.INFO: Acknowledgment sent {"connection_id":159245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:46:07] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:46:07] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:46:07] local.INFO: IMEI packet received {"connection_id":159246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":159246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:46:12] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:46:12] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:46:12] local.INFO: IMEI packet received {"connection_id":159246,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":159246,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:46:13] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02287e718012d7d370005ec32e0000500a824..."} 
[2026-08-21 09:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02287e718012d7d370005ec32e0000500a824..."} 
[2026-08-21 09:46:13] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02287e718012d7d370005ec32e0000500a824..."} 
[2026-08-21 09:46:13] local.INFO: Packet analysis {"connection_id":159246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:46:13] local.INFO: Extracted packet for processing {"connection_id":159246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99365600,"longitude_deg":76.31808,"latitude_deg":9.93656,"altitude":5,"angle":168,"satellites":36,"speed":5,"hex_longitude":"2d7d3700","hex_latitude":"05ec32e0","is_valid_coordinates":true} 
[2026-08-21 09:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545145856001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121661700347789312,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403897704448,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285727000,"timestamp_ms":1787285727000,"timestamp_seconds":1787285727,"priority":1,"record_length":96,"hex_timestamp":"000001a02287e718"} 
[2026-08-21 09:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 09:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545145856001,"66":12982,"110":206,"87":13824,"24":5,"16":121661700347789312,"45":9022680403897704448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545145856001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:46:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:46:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121661700347789312,"km_value":121661700347789.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403897704448,"description":"Unknown IO ID 45"} 
[2026-08-21 09:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545145856001,"power":12982,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9022680403897704448}} 
[2026-08-21 09:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":159246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:46:13] local.INFO: GPS data processed {"connection_id":159246,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:46:13] local.INFO: Acknowledgment sent {"connection_id":159246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:46:17] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:46:17] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:46:17] local.INFO: IMEI packet received {"connection_id":159247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":159247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:46:23] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:46:23] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:46:23] local.INFO: IMEI packet received {"connection_id":159247,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":159247,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:46:23] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:46:23] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:46:23] local.INFO: Packet analysis {"connection_id":159247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:46:23] local.INFO: Extracted packet for processing {"connection_id":159247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 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-08-21 09:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:46: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-08-21 09:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"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-08-21 09:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:46:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":159247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:46:24] local.INFO: GPS data processed {"connection_id":159247,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:46:24] local.INFO: Acknowledgment sent {"connection_id":159247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:46:26] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:26] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:26] local.INFO: IMEI packet received {"connection_id":159248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":159248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:46:28] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:28] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:28] local.INFO: IMEI packet received {"connection_id":159248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":159248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:46:31] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:31] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:46:31] local.INFO: IMEI packet received {"connection_id":159248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":159248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:46:32] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022874ad8012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022874ad8012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:46:32] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022874ad8012dab2c80054a5cf00016004d2e..."} 
[2026-08-21 09:46:32] local.INFO: Packet analysis {"connection_id":159248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:46:32] local.INFO: Extracted packet for processing {"connection_id":159248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:46:32] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545130496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285687000,"timestamp_ms":1787285687000,"timestamp_seconds":1787285687,"priority":1,"record_length":96,"hex_timestamp":"000001a022874ad8"} 
[2026-08-21 09:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:46: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-08-21 09: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-08-21 09: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-08-21 09: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-08-21 09:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545130496001,"66":27745,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545130496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:46:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:46:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545130496001,"power":27745,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":159248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:46:32] local.INFO: GPS data processed {"connection_id":159248,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:46:32] local.INFO: Acknowledgment sent {"connection_id":159248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:46:46] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02287eee8012d7d370005ec3188000500b525..."} 
[2026-08-21 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02287eee8012d7d370005ec3188000500b525..."} 
[2026-08-21 09:46:46] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02287eee8012d7d370005ec3188000500b525..."} 
[2026-08-21 09:46:46] local.INFO: Packet analysis {"connection_id":159246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:46:46] local.INFO: Extracted packet for processing {"connection_id":159246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99365256,"longitude_deg":76.31808,"latitude_deg":9.9365256,"altitude":5,"angle":181,"satellites":37,"speed":6,"hex_longitude":"2d7d3700","hex_latitude":"05ec3188","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545146112001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121661717527658496,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403897671680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787285729000,"timestamp_ms":1787285729000,"timestamp_seconds":1787285729,"priority":1,"record_length":96,"hex_timestamp":"000001a02287eee8"} 
[2026-08-21 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-08-21 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 09:46:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159246,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545146112001,"66":12928,"110":206,"87":13824,"24":6,"16":121661717527658496,"45":9022680403897671680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545146112001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:46:46] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:46:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121661717527658496,"km_value":121661717527658.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403897671680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545146112001,"power":12928,"unknown_110":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9022680403897671680}} 
[2026-08-21 09:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":159246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:46:46] local.INFO: GPS data processed {"connection_id":159246,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:46:46] local.INFO: Acknowledgment sent {"connection_id":159246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:46:55] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:46:55] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:46:55] local.INFO: Packet analysis {"connection_id":159247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:46:55] local.INFO: Extracted packet for processing {"connection_id":159247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:46:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:46:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159247,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:46: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-08-21 09:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"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-08-21 09:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:46:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:46:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":159247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:46:55] local.INFO: GPS data processed {"connection_id":159247,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:46:55] local.INFO: Acknowledgment sent {"connection_id":159247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:47:04] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022879ce0012dab2c80054a5cf00016004d2d..."} 
[2026-08-21 09:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022879ce0012dab2c80054a5cf00016004d2d..."} 
[2026-08-21 09:47:04] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022879ce0012dab2c80054a5cf00016004d2d..."} 
[2026-08-21 09:47:04] local.INFO: Packet analysis {"connection_id":159248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:47:04] local.INFO: Extracted packet for processing {"connection_id":159248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:47:04] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":45,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545135872001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787285708000,"timestamp_ms":1787285708000,"timestamp_seconds":1787285708,"priority":1,"record_length":96,"hex_timestamp":"000001a022879ce0"} 
[2026-08-21 09:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 09:47: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-08-21 09:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545135872001,"66":27930,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545135872001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:47:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:47:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545135872001,"power":27930,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":159248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:47:04] local.INFO: GPS data processed {"connection_id":159248,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:47:04] local.INFO: Acknowledgment sent {"connection_id":159248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:47:07] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:47:07] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:47:07] local.INFO: IMEI packet received {"connection_id":161493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":161493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:47:11] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:47:11] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:47:11] local.INFO: IMEI packet received {"connection_id":161493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":161493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:47:12] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0228840f0012d7d370005ec2e28000400b722..."} 
[2026-08-21 09:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228840f0012d7d370005ec2e28000400b722..."} 
[2026-08-21 09:47:12] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228840f0012d7d370005ec2e28000400b722..."} 
[2026-08-21 09:47:12] local.INFO: Packet analysis {"connection_id":161493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:47:12] local.INFO: Extracted packet for processing {"connection_id":161493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99364392,"longitude_deg":76.31808,"latitude_deg":9.9364392,"altitude":4,"angle":183,"satellites":34,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec2e28","is_valid_coordinates":true} 
[2026-08-21 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545146624001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121661764772298752,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403897583616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787285750000,"timestamp_ms":1787285750000,"timestamp_seconds":1787285750,"priority":1,"record_length":96,"hex_timestamp":"000001a0228840f0"} 
[2026-08-21 09:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-21 09:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545146624001,"66":13222,"110":206,"87":13824,"24":0,"16":121661764772298752,"45":9022680403897583616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545146624001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:47:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:47:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121661764772298752,"km_value":121661764772298.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403897583616,"description":"Unknown IO ID 45"} 
[2026-08-21 09:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545146624001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403897583616}} 
[2026-08-21 09:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":161493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:47:12] local.INFO: GPS data processed {"connection_id":161493,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:47:12] local.INFO: Acknowledgment sent {"connection_id":161493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:47:17] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:47:17] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:47:17] local.INFO: IMEI packet received {"connection_id":161494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":161494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:47:23] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:47:23] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:47:23] local.INFO: IMEI packet received {"connection_id":161494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":161494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:47:23] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:47:23] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:47:23] local.INFO: Packet analysis {"connection_id":161494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:47:23] local.INFO: Extracted packet for processing {"connection_id":161494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:47:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:47:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:47:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:47:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:47:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:47:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:47:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:47:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:47:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:47:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":161494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:47:24] local.INFO: GPS data processed {"connection_id":161494,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:47:24] local.INFO: Acknowledgment sent {"connection_id":161494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:47:26] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:47:26] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:47:26] local.INFO: IMEI packet received {"connection_id":161495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":161495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:47:31] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:47:31] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:47:31] local.INFO: IMEI packet received {"connection_id":161495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":161495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:47:33] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02287eee8012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02287eee8012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:47:33] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02287eee8012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:47:33] local.INFO: Packet analysis {"connection_id":161495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:47:33] local.INFO: Extracted packet for processing {"connection_id":161495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02287"} 
[2026-08-21 09:47:33] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545141248001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787285729000,"timestamp_ms":1787285729000,"timestamp_seconds":1787285729,"priority":1,"record_length":96,"hex_timestamp":"000001a02287eee8"} 
[2026-08-21 09:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:47:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 09:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:47:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545141248001,"66":27658,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545141248001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:47:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:47:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545141248001,"power":27658,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":161495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:47:33] local.INFO: GPS data processed {"connection_id":161495,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:47:33] local.INFO: Acknowledgment sent {"connection_id":161495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:47:43] local.INFO: TCP Data received {"connection_id":161493,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02289cb78012d7d378005ec17a80005000c1f..."} 
[2026-08-21 09:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02289cb78012d7d378005ec17a80005000c1f..."} 
[2026-08-21 09:47:43] local.INFO: Processing buffer {"connection_id":161493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02289cb78012d7d378005ec17a80005000c1f..."} 
[2026-08-21 09:47:43] local.INFO: Packet analysis {"connection_id":161493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:47:43] local.INFO: Extracted packet for processing {"connection_id":161493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:47:43] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":99358632,"longitude_deg":76.3180928,"latitude_deg":9.9358632,"altitude":5,"angle":12,"satellites":31,"speed":2,"hex_longitude":"2d7d3780","hex_latitude":"05ec17a8","is_valid_coordinates":true} 
[2026-08-21 09:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545177344001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662091189813248,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772640049152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787285851000,"timestamp_ms":1787285851000,"timestamp_seconds":1787285851,"priority":1,"record_length":96,"hex_timestamp":"000001a02289cb78"} 
[2026-08-21 09:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":72057594205701120,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1434088617977751776,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-8553866207504287936,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964217699421783,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,110,87,24,241,157,16,59,160,187,45,64,23,5,31,10,66,183,29,180,1,240,117,227,34,236,4,113,205,86,55,72,32,239,50,2,176,6,54],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-08-21 09:47:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360378258992136192,"timestamp_seconds":360378258992136.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545177344001,"66":13015,"110":206,"87":13824,"24":2,"16":121662091189813248,"45":9022750772640049152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545177344001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:47:43] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:47:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662091189813248,"km_value":121662091189813.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772640049152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545177344001,"power":13015,"unknown_110":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9022750772640049152}} 
[2026-08-21 09:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":161493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675084,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:47:43] local.INFO: GPS data processed {"connection_id":161493,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:47:43] local.INFO: Acknowledgment sent {"connection_id":161493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:47:55] local.INFO: TCP Data received {"connection_id":161494,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:47:55] local.INFO: Processing buffer {"connection_id":161494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:47:55] local.INFO: Packet analysis {"connection_id":161494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:47:55] local.INFO: Extracted packet for processing {"connection_id":161494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:47:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:47:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":161494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:47:55] local.INFO: GPS data processed {"connection_id":161494,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:47:55] local.INFO: Acknowledgment sent {"connection_id":161494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:48:04] local.INFO: TCP Data received {"connection_id":161495,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228840f0012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228840f0012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:48:04] local.INFO: Processing buffer {"connection_id":161495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228840f0012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:48:04] local.INFO: Packet analysis {"connection_id":161495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:48:04] local.INFO: Extracted packet for processing {"connection_id":161495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:48:04] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545146624001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787285750000,"timestamp_ms":1787285750000,"timestamp_seconds":1787285750,"priority":1,"record_length":96,"hex_timestamp":"000001a0228840f0"} 
[2026-08-21 09:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:48: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-08-21 09:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 09:48:04] 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-08-21 09:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545146624001,"66":27745,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545146624001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:48:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:48:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545146624001,"power":27745,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":161495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:48:04] local.INFO: GPS data processed {"connection_id":161495,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:48:04] local.INFO: Acknowledgment sent {"connection_id":161495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:48:07] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:48:07] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:48:07] local.INFO: IMEI packet received {"connection_id":159249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":159249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:48:11] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:48:11] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:48:11] local.INFO: IMEI packet received {"connection_id":159249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":159249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:48:12] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a02289eea0012d7d37c005ec1638000500d020..."} 
[2026-08-21 09:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02289eea0012d7d37c005ec1638000500d020..."} 
[2026-08-21 09:48:12] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02289eea0012d7d37c005ec1638000500d020..."} 
[2026-08-21 09:48:12] local.INFO: Packet analysis {"connection_id":159249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:48:12] local.INFO: Extracted packet for processing {"connection_id":159249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763180992,"raw_latitude":99358264,"longitude_deg":76.3180992,"latitude_deg":9.9358264,"altitude":5,"angle":208,"satellites":32,"speed":1,"hex_longitude":"2d7d37c0","hex_latitude":"05ec1638","is_valid_coordinates":true} 
[2026-08-21 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545177856001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662112664649728,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821141384243200,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787285860000,"timestamp_ms":1787285860000,"timestamp_seconds":1787285860,"priority":1,"record_length":96,"hex_timestamp":"000001a02289eea0"} 
[2026-08-21 09:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 09:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545177856001,"66":12939,"110":206,"87":13824,"24":1,"16":121662112664649728,"45":9022821141384243200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 09:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545177856001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:48:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 09:48:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662112664649728,"km_value":121662112664649.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821141384243200,"description":"Unknown IO ID 45"} 
[2026-08-21 09:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545177856001,"power":12939,"unknown_110":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022821141384243200}} 
[2026-08-21 09:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":159249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:48:12] local.INFO: GPS data processed {"connection_id":159249,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:48:12] local.INFO: Acknowledgment sent {"connection_id":159249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:48:23] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:48:23] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:48:23] local.INFO: IMEI packet received {"connection_id":159250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":159250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:48:26] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:26] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:26] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:48:26] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:26] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:26] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:48:28] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:48:28] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:48:28] local.INFO: IMEI packet received {"connection_id":159250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":159250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:48:28] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:48:28] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:48:28] local.INFO: Packet analysis {"connection_id":159250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:48:28] local.INFO: Extracted packet for processing {"connection_id":159250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:48:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":159250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:48:29] local.INFO: GPS data processed {"connection_id":159250,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:48:29] local.INFO: Acknowledgment sent {"connection_id":159250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:48:31] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:31] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:48:31] local.INFO: IMEI packet received {"connection_id":160147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":160147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:48:32] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228892f8012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228892f8012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:48:32] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228892f8012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:48:32] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:48:32] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:48:32] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545152000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285771000,"timestamp_ms":1787285771000,"timestamp_seconds":1787285771,"priority":1,"record_length":96,"hex_timestamp":"000001a0228892f8"} 
[2026-08-21 09:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:48: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-08-21 09: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 09:48: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-08-21 09: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-08-21 09:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545152000001,"66":27800,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545152000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:48:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:48:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545152000001,"power":27800,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:48:32] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:48:32] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:48:33] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:48:33] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:48:33] local.INFO: Packet analysis {"connection_id":159250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:48:33] local.INFO: Extracted packet for processing {"connection_id":159250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:48:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:48:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":159250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:48:33] local.INFO: GPS data processed {"connection_id":159250,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:48:33] local.INFO: Acknowledgment sent {"connection_id":159250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:48:44] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0228acd48012d7d368005ec1290000500b71a..."} 
[2026-08-21 09:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228acd48012d7d368005ec1290000500b71a..."} 
[2026-08-21 09:48:44] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228acd48012d7d368005ec1290000500b71a..."} 
[2026-08-21 09:48:44] local.INFO: Packet analysis {"connection_id":159249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:48:44] local.INFO: Extracted packet for processing {"connection_id":159249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:48:44] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99357328,"longitude_deg":76.3180672,"latitude_deg":9.9357328,"altitude":5,"angle":183,"satellites":26,"speed":1,"hex_longitude":"2d7d3680","hex_latitude":"05ec1290","is_valid_coordinates":true} 
[2026-08-21 09:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545194496001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662202858962944,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666407208960,"note":"Value kept but may cause issues"} 
[2026-08-21 09:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787285917000,"timestamp_ms":1787285917000,"timestamp_seconds":1787285917,"priority":1,"record_length":96,"hex_timestamp":"000001a0228acd48"} 
[2026-08-21 09:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 09:48:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545194496001,"66":13363,"109":206,"87":13824,"24":1,"16":121662202858962944,"45":9022539666407208960},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545194496001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:48:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:48:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662202858962944,"km_value":121662202858962.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666407208960,"description":"Unknown IO ID 45"} 
[2026-08-21 09:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545194496001,"power":13363,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022539666407208960}} 
[2026-08-21 09:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":159249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:48:44] local.INFO: GPS data processed {"connection_id":159249,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:48:44] local.INFO: Acknowledgment sent {"connection_id":159249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:49:03] local.INFO: TCP Data received {"connection_id":160147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02288e500012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02288e500012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:49:03] local.INFO: Processing buffer {"connection_id":160147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02288e500012dab2c80054a5cf00016004d2f..."} 
[2026-08-21 09:49:03] local.INFO: Packet analysis {"connection_id":160147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:49:03] local.INFO: Extracted packet for processing {"connection_id":160147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02288"} 
[2026-08-21 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":766192768,"raw_latitude":88759536,"longitude_deg":76.6192768,"latitude_deg":8.8759536,"altitude":22,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2dab2c80","hex_latitude":"054a5cf0","is_valid_coordinates":true} 
[2026-08-21 09:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545157376001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941662585782272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285792000,"timestamp_ms":1787285792000,"timestamp_seconds":1787285792,"priority":1,"record_length":96,"hex_timestamp":"000001a02288e500"} 
[2026-08-21 09:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 09:49:03] 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-08-21 09:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545157376001,"66":27843,"120":206,"84":6144,"24":0,"16":387941662585782272,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,84,24,16,45]} 
[2026-08-21 09:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545157376001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:49:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 09:49:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941662585782272,"km_value":387941662585782.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545157376001,"power":27843,"unknown_120":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":160147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:49:03] local.INFO: GPS data processed {"connection_id":160147,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:49:03] local.INFO: Acknowledgment sent {"connection_id":160147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:49:07] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:49:07] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:49:07] local.INFO: IMEI packet received {"connection_id":159251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":159251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:49:11] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:49:11] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:49:11] local.INFO: IMEI packet received {"connection_id":159251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":159251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:49:12] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ad518012d7d368005ec12500005006a1b..."} 
[2026-08-21 09:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ad518012d7d368005ec12500005006a1b..."} 
[2026-08-21 09:49:12] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ad518012d7d368005ec12500005006a1b..."} 
[2026-08-21 09:49:12] local.INFO: Packet analysis {"connection_id":159251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:49:12] local.INFO: Extracted packet for processing {"connection_id":159251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99357264,"longitude_deg":76.3180672,"latitude_deg":9.9357264,"altitude":5,"angle":106,"satellites":27,"speed":1,"hex_longitude":"2d7d3680","hex_latitude":"05ec1250","is_valid_coordinates":true} 
[2026-08-21 09:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545194752001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662207153930240,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666407198720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787285919000,"timestamp_ms":1787285919000,"timestamp_seconds":1787285919,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ad518"} 
[2026-08-21 09:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 09:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545194752001,"66":13363,"109":206,"87":13824,"24":1,"16":121662207153930240,"45":9022539666407198720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545194752001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:49:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:49:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662207153930240,"km_value":121662207153930.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666407198720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545194752001,"power":13363,"unknown_109":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":9022539666407198720}} 
[2026-08-21 09:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":159251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:49:12] local.INFO: GPS data processed {"connection_id":159251,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:49:12] local.INFO: Acknowledgment sent {"connection_id":159251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:49:18] local.INFO: TCP Data received {"connection_id":159252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:49:18] local.INFO: Processing buffer {"connection_id":159252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:49:18] local.INFO: IMEI packet received {"connection_id":159252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":159252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:49:23] local.INFO: TCP Data received {"connection_id":159252,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:49:23] local.INFO: Processing buffer {"connection_id":159252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:49:23] local.INFO: IMEI packet received {"connection_id":159252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":159252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:49:23] local.INFO: TCP Data received {"connection_id":159252,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:49:23] local.INFO: Processing buffer {"connection_id":159252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228658a8012d196500071ff0a8003a014429..."} 
[2026-08-21 09:49:23] local.INFO: Packet analysis {"connection_id":159252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:49:23] local.INFO: Extracted packet for processing {"connection_id":159252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02286"} 
[2026-08-21 09:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545042944001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285625000,"timestamp_ms":1787285625000,"timestamp_seconds":1787285625,"priority":1,"record_length":96,"hex_timestamp":"000001a0228658a8"} 
[2026-08-21 09:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545042944001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545042944001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:49:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545042944001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":159252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:49:24] local.INFO: GPS data processed {"connection_id":159252,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:49:24] local.INFO: Acknowledgment sent {"connection_id":159252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:49:29] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:29] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:29] local.INFO: IMEI packet received {"connection_id":159253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":159253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:49:31] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:31] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:31] local.INFO: IMEI packet received {"connection_id":159253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":159253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:49:36] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:36] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:49:36] local.INFO: IMEI packet received {"connection_id":159253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":159253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:49:37] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022893708012dab4340054a5f90001600512f..."} 
[2026-08-21 09:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022893708012dab4340054a5f90001600512f..."} 
[2026-08-21 09:49:37] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022893708012dab4340054a5f90001600512f..."} 
[2026-08-21 09:49:37] local.INFO: Packet analysis {"connection_id":159253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:49:37] local.INFO: Extracted packet for processing {"connection_id":159253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":766198592,"raw_latitude":88760208,"longitude_deg":76.6198592,"latitude_deg":8.8760208,"altitude":22,"angle":81,"satellites":47,"speed":25,"hex_longitude":"2dab4340","hex_latitude":"054a5f90","is_valid_coordinates":true} 
[2026-08-21 09:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545162752001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387941946053623808,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6112369834037809152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787285813000,"timestamp_ms":1787285813000,"timestamp_seconds":1787285813,"priority":1,"record_length":96,"hex_timestamp":"000001a022893708"} 
[2026-08-21 09:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545162752001,"66":27745,"118":206,"84":6144,"24":25,"16":387941946053623808,"45":-6112369834037809152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-21 09:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545162752001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:49:37] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-21 09:49:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387941946053623808,"km_value":387941946053623.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6112369834037809152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545162752001,"power":27745,"unknown_118":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6112369834037809152}} 
[2026-08-21 09:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":159253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:49:37] local.INFO: GPS data processed {"connection_id":159253,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:49:37] local.INFO: Acknowledgment sent {"connection_id":159253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:49:42] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228971a0012dab6740054a63e8001900542e..."} 
[2026-08-21 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228971a0012dab6740054a63e8001900542e..."} 
[2026-08-21 09:49:42] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228971a0012dab6740054a63e8001900542e..."} 
[2026-08-21 09:49:42] local.INFO: Packet analysis {"connection_id":159253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:49:42] local.INFO: Extracted packet for processing {"connection_id":159253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":766207808,"raw_latitude":88761320,"longitude_deg":76.6207808,"latitude_deg":8.876132,"altitude":25,"angle":84,"satellites":46,"speed":23,"hex_longitude":"2dab6740","hex_latitude":"054a63e8","is_valid_coordinates":true} 
[2026-08-21 09:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545168128001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387942392730222592,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6105966278317469696,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787285828000,"timestamp_ms":1787285828000,"timestamp_seconds":1787285828,"priority":1,"record_length":96,"hex_timestamp":"000001a0228971a0"} 
[2026-08-21 09:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 09:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545168128001,"66":27843,"119":206,"84":6144,"24":23,"16":387942392730222592,"45":-6105966278317469696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 09:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545168128001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387942392730222592,"km_value":387942392730222.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6105966278317469696,"description":"Unknown IO ID 45"} 
[2026-08-21 09:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545168128001,"power":27843,"unknown_119":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6105966278317469696}} 
[2026-08-21 09:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":159253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:49:42] local.INFO: GPS data processed {"connection_id":159253,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:49:42] local.INFO: Acknowledgment sent {"connection_id":159253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:49:49] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b5600012d7d390005ec1140000400c71a..."} 
[2026-08-21 09:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b5600012d7d390005ec1140000400c71a..."} 
[2026-08-21 09:49:49] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b5600012d7d390005ec1140000400c71a..."} 
[2026-08-21 09:49:49] local.INFO: Packet analysis {"connection_id":159251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:49:49] local.INFO: Extracted packet for processing {"connection_id":159251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:49:49] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":99356992,"longitude_deg":76.3181312,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":26,"speed":0,"hex_longitude":"2d7d3900","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545203712001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353848889344,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787285952000,"timestamp_ms":1787285952000,"timestamp_seconds":1787285952,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b5600"} 
[2026-08-21 09:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 09:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545203712001,"66":12982,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023243353848889344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545203712001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:49:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:49:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353848889344,"description":"Unknown IO ID 45"} 
[2026-08-21 09:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545203712001,"power":12982,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023243353848889344}} 
[2026-08-21 09:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":159251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:49:50] local.INFO: GPS data processed {"connection_id":159251,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:49:50] local.INFO: Acknowledgment sent {"connection_id":159251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:49:55] local.INFO: TCP Data received {"connection_id":159252,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:49:55] local.INFO: Processing buffer {"connection_id":159252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:49:55] local.INFO: Packet analysis {"connection_id":159252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:49:55] local.INFO: Extracted packet for processing {"connection_id":159252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:49:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:49:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":159252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:49:55] local.INFO: GPS data processed {"connection_id":159252,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:49:55] local.INFO: Acknowledgment sent {"connection_id":159252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:50:07] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:50:07] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:50:07] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:50:12] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:50:12] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:50:12] local.INFO: IMEI packet received {"connection_id":160149,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":160149,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:50:13] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:50:13] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:50:13] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:50:13] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:50:13] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545203712001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353848889344,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 09:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545203712001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023243353848889344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545203712001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:50:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:50:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353848889344,"description":"Unknown IO ID 45"} 
[2026-08-21 09:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545203712001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023243353848889344}} 
[2026-08-21 09:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:50:13] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:50:13] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:50:18] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:50:18] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:50:18] local.INFO: IMEI packet received {"connection_id":159254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":159254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:50:21] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:50:21] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:50:21] local.INFO: IMEI packet received {"connection_id":160150,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":160150,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:50:23] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:50:23] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:50:23] local.INFO: IMEI packet received {"connection_id":159254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":159254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:50:23] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:50:23] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:50:23] local.INFO: Packet analysis {"connection_id":159254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:50:23] local.INFO: Extracted packet for processing {"connection_id":159254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:50:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":159254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:50:24] local.INFO: GPS data processed {"connection_id":159254,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:50:24] local.INFO: Acknowledgment sent {"connection_id":159254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:50:24] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ad518012d0b6f00070344980010012624..."} 
[2026-08-21 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ad518012d0b6f00070344980010012624..."} 
[2026-08-21 09:50:24] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ad518012d0b6f00070344980010012624..."} 
[2026-08-21 09:50:24] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:50:24] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":755724032,"raw_latitude":117654680,"longitude_deg":75.5724032,"latitude_deg":11.765468,"altitude":16,"angle":294,"satellites":36,"speed":4,"hex_longitude":"2d0b6f00","hex_latitude":"07034498","is_valid_coordinates":true} 
[2026-08-21 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545195008001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29237581845626880,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823947655695853568,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787285919000,"timestamp_ms":1787285919000,"timestamp_seconds":1787285919,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ad518"} 
[2026-08-21 09:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:50: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-08-21 09:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 09:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545195008001,"66":14396,"37":206,"94":11008,"24":4,"16":29237581845626880,"45":823947655695853568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 09:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545195008001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:50:24] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 09:50:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29237581845626880,"km_value":29237581845626.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":823947655695853568,"description":"Unknown IO ID 45"} 
[2026-08-21 09:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545195008001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":823947655695853568}} 
[2026-08-21 09:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675101,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:50:24] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:50:24] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:50:26] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:50:26] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:50:26] local.INFO: IMEI packet received {"connection_id":159255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":159255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:50:31] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:50:31] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:50:31] local.INFO: IMEI packet received {"connection_id":159255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":159255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:50:32] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a02289bbd8012dab8c40054a6808001a00542f..."} 
[2026-08-21 09:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02289bbd8012dab8c40054a6808001a00542f..."} 
[2026-08-21 09:50:32] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02289bbd8012dab8c40054a6808001a00542f..."} 
[2026-08-21 09:50:32] local.INFO: Packet analysis {"connection_id":159255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:50:32] local.INFO: Extracted packet for processing {"connection_id":159255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02289"} 
[2026-08-21 09:50:32] local.INFO: GPS Element Parsed {"raw_longitude":766217280,"raw_latitude":88762376,"longitude_deg":76.621728,"latitude_deg":8.8762376,"altitude":26,"angle":84,"satellites":47,"speed":23,"hex_longitude":"2dab8c40","hex_latitude":"054a6808","is_valid_coordinates":true} 
[2026-08-21 09:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545171968001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387942847996755968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6095833179155601408,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285847000,"timestamp_ms":1787285847000,"timestamp_seconds":1787285847,"priority":1,"record_length":96,"hex_timestamp":"000001a02289bbd8"} 
[2026-08-21 09:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:50: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-08-21 09:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545171968001,"66":27887,"119":206,"84":6144,"24":23,"16":387942847996755968,"45":-6095833179155601408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 09:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545171968001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:50:32] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 09:50:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387942847996755968,"km_value":387942847996755.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6095833179155601408,"description":"Unknown IO ID 45"} 
[2026-08-21 09:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545171968001,"power":27887,"unknown_119":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6095833179155601408}} 
[2026-08-21 09:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":159255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:50:32] local.INFO: GPS data processed {"connection_id":159255,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:50:32] local.INFO: Acknowledgment sent {"connection_id":159255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:50:44] local.INFO: TCP Data received {"connection_id":160149,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:50:44] local.INFO: Processing buffer {"connection_id":160149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:50:44] local.INFO: Packet analysis {"connection_id":160149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:50:44] local.INFO: Extracted packet for processing {"connection_id":160149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:50:44] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:44] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:50:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160149,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:50:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:50:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":160149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:50:44] local.INFO: GPS data processed {"connection_id":160149,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:50:44] local.INFO: Acknowledgment sent {"connection_id":160149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:50:56] local.INFO: TCP Data received {"connection_id":160150,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ca208012d0b678007034d400010011e23..."} 
[2026-08-21 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ca208012d0b678007034d400010011e23..."} 
[2026-08-21 09:50:56] local.INFO: Processing buffer {"connection_id":160150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ca208012d0b678007034d400010011e23..."} 
[2026-08-21 09:50:56] local.INFO: Packet analysis {"connection_id":160150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228c"} 
[2026-08-21 09:50:56] local.INFO: Extracted packet for processing {"connection_id":160150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228c"} 
[2026-08-21 09:50:56] local.INFO: GPS Element Parsed {"raw_longitude":755722112,"raw_latitude":117656896,"longitude_deg":75.5722112,"latitude_deg":11.7656896,"altitude":16,"angle":286,"satellites":35,"speed":14,"hex_longitude":"2d0b6780","hex_latitude":"07034d40","is_valid_coordinates":true} 
[2026-08-21 09:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545224960001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29237745054384128,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822469912068638720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787286037000,"timestamp_ms":1787286037000,"timestamp_seconds":1787286037,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ca208"} 
[2026-08-21 09:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160150,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545224960001,"66":14439,"37":206,"94":11008,"24":14,"16":29237745054384128,"45":822469912068638720},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 09:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545224960001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:50:56] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 09:50:56] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29237745054384128,"km_value":29237745054384.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":822469912068638720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545224960001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":822469912068638720}} 
[2026-08-21 09:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":160150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675104,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:50:56] local.INFO: GPS data processed {"connection_id":160150,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:50:56] local.INFO: Acknowledgment sent {"connection_id":160150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:50:58] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:50:58] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:50:58] local.INFO: Packet analysis {"connection_id":159254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:50:58] local.INFO: Extracted packet for processing {"connection_id":159254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:50:58] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":159254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:50:58] local.INFO: GPS data processed {"connection_id":159254,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:50:58] local.INFO: Acknowledgment sent {"connection_id":159254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:51:03] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228a0de0012dab9c80054a69b0001700562f..."} 
[2026-08-21 09:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228a0de0012dab9c80054a69b0001700562f..."} 
[2026-08-21 09:51:03] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228a0de0012dab9c80054a69b0001700562f..."} 
[2026-08-21 09:51:03] local.INFO: Packet analysis {"connection_id":159255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:03] local.INFO: Extracted packet for processing {"connection_id":159255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":766221440,"raw_latitude":88762800,"longitude_deg":76.622144,"latitude_deg":8.87628,"altitude":23,"angle":86,"satellites":47,"speed":0,"hex_longitude":"2dab9c80","hex_latitude":"054a69b0","is_valid_coordinates":true} 
[2026-08-21 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545176832001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387943049860218880,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6085418605017036800,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285868000,"timestamp_ms":1787285868000,"timestamp_seconds":1787285868,"priority":1,"record_length":96,"hex_timestamp":"000001a0228a0de0"} 
[2026-08-21 09:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 09:51:03] 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-08-21 09:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545176832001,"66":27713,"119":206,"84":6144,"24":0,"16":387943049860218880,"45":-6085418605017036800},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 09:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545176832001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:51:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 09:51:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387943049860218880,"km_value":387943049860218.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6085418605017036800,"description":"Unknown IO ID 45"} 
[2026-08-21 09:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545176832001,"power":27713,"unknown_119":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6085418605017036800}} 
[2026-08-21 09:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":159255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:51:03] local.INFO: GPS data processed {"connection_id":159255,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:51:03] local.INFO: Acknowledgment sent {"connection_id":159255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:51:07] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:51:07] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:51:07] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:51:12] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:51:12] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:51:12] local.INFO: IMEI packet received {"connection_id":160151,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":160151,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:51:13] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:51:13] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:51:13] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:51:13] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:51:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:51:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:51:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:51:13] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:51:13] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:51:16] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:51:16] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:51:16] local.INFO: IMEI packet received {"connection_id":161496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":161496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:51:17] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:51:17] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:51:17] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:51:19] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:51:19] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:51:19] local.INFO: IMEI packet received {"connection_id":161496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":161496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:51:20] local.INFO: TCP Data received {"connection_id":161496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161496,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:51:20] local.INFO: Processing buffer {"connection_id":161496,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-08-21 09:51:20] local.INFO: IMEI packet received {"connection_id":161496,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:51:20] local.INFO: IMEI acknowledgment sent {"connection_id":161496,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:51:23] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:51:23] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:51:23] local.INFO: IMEI packet received {"connection_id":160152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":160152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:51:23] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:51:23] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:51:23] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:23] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 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-08-21 09:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:51:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:51:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:51:24] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:51:24] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:51:26] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:51:26] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:51:26] local.INFO: IMEI packet received {"connection_id":161497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":161497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:51:31] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:51:31] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:51:31] local.INFO: IMEI packet received {"connection_id":161497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":161497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:51:32] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228a5fe8012daba5c0054a6a48001800572f..."} 
[2026-08-21 09:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228a5fe8012daba5c0054a6a48001800572f..."} 
[2026-08-21 09:51:32] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228a5fe8012daba5c0054a6a48001800572f..."} 
[2026-08-21 09:51:32] local.INFO: Packet analysis {"connection_id":161497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:32] local.INFO: Extracted packet for processing {"connection_id":161497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:32] local.INFO: GPS Element Parsed {"raw_longitude":766223808,"raw_latitude":88762952,"longitude_deg":76.6223808,"latitude_deg":8.8762952,"altitude":24,"angle":87,"satellites":47,"speed":5,"hex_longitude":"2daba5c0","hex_latitude":"054a6a48","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545182208001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387943161529368576,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6080844636645380096,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285889000,"timestamp_ms":1787285889000,"timestamp_seconds":1787285889,"priority":1,"record_length":96,"hex_timestamp":"000001a0228a5fe8"} 
[2026-08-21 09:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:51: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-08-21 09: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 09:51: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-08-21 09: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-08-21 09:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545182208001,"66":27745,"119":206,"84":6144,"24":5,"16":387943161529368576,"45":-6080844636645380096},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 09:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545182208001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:51:32] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 09:51:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387943161529368576,"km_value":387943161529368.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6080844636645380096,"description":"Unknown IO ID 45"} 
[2026-08-21 09:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545182208001,"power":27745,"unknown_119":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6080844636645380096}} 
[2026-08-21 09:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":161497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:51:32] local.INFO: GPS data processed {"connection_id":161497,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:51:32] local.INFO: Acknowledgment sent {"connection_id":161497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:51:44] local.INFO: TCP Data received {"connection_id":160151,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:51:44] local.INFO: Processing buffer {"connection_id":160151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:51:44] local.INFO: Packet analysis {"connection_id":160151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:51:44] local.INFO: Extracted packet for processing {"connection_id":160151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:51:44] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:44] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:51:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160151,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:51:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:51:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":160151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:51:44] local.INFO: GPS data processed {"connection_id":160151,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:51:44] local.INFO: Acknowledgment sent {"connection_id":160151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:51:57] local.INFO: TCP Data received {"connection_id":160152,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:51:57] local.INFO: Processing buffer {"connection_id":160152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:51:57] local.INFO: Packet analysis {"connection_id":160152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:57] local.INFO: Extracted packet for processing {"connection_id":160152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:51:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:51:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:51:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":160152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:51:57] local.INFO: GPS data processed {"connection_id":160152,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:51:57] local.INFO: Acknowledgment sent {"connection_id":160152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:52:02] local.INFO: TCP Data received {"connection_id":161497,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ab1f0012dabb940054a6c38001600542f..."} 
[2026-08-21 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ab1f0012dabb940054a6c38001600542f..."} 
[2026-08-21 09:52:02] local.INFO: Processing buffer {"connection_id":161497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ab1f0012dabb940054a6c38001600542f..."} 
[2026-08-21 09:52:02] local.INFO: Packet analysis {"connection_id":161497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:52:02] local.INFO: Extracted packet for processing {"connection_id":161497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":766228800,"raw_latitude":88763448,"longitude_deg":76.62288,"latitude_deg":8.8763448,"altitude":22,"angle":84,"satellites":47,"speed":0,"hex_longitude":"2dabb940","hex_latitude":"054a6c38","is_valid_coordinates":true} 
[2026-08-21 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545187584001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387943402047537152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6078240993110767616,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787285910000,"timestamp_ms":1787285910000,"timestamp_seconds":1787285910,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ab1f0"} 
[2026-08-21 09:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 09:52:02] 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-08-21 09:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545187584001,"66":27908,"119":206,"84":6144,"24":0,"16":387943402047537152,"45":-6078240993110767616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 09:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545187584001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:52:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 09:52:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387943402047537152,"km_value":387943402047537.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6078240993110767616,"description":"Unknown IO ID 45"} 
[2026-08-21 09:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545187584001,"power":27908,"unknown_119":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6078240993110767616}} 
[2026-08-21 09:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":161497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:52:02] local.INFO: GPS data processed {"connection_id":161497,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:52:02] local.INFO: Acknowledgment sent {"connection_id":161497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:52:12] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:52:12] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:52:12] local.INFO: IMEI packet received {"connection_id":158962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":158962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:52:17] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:52:17] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:52:17] local.INFO: IMEI packet received {"connection_id":158962,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":158962,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:52:18] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:52:18] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:52:18] local.INFO: Packet analysis {"connection_id":158962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:52:18] local.INFO: Extracted packet for processing {"connection_id":158962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:18] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:52:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:52:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:52:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":158962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:52:18] local.INFO: GPS data processed {"connection_id":158962,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:52:18] local.INFO: Acknowledgment sent {"connection_id":158962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:52:23] local.INFO: TCP Data received {"connection_id":158963,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:52:23] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:52:23] local.INFO: IMEI packet received {"connection_id":158963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":158963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:52:26] local.INFO: TCP Data received {"connection_id":159256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:52:26] local.INFO: Processing buffer {"connection_id":159256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:52:26] local.INFO: IMEI packet received {"connection_id":159256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":159256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:52:28] local.INFO: TCP Data received {"connection_id":158963,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:52:28] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:52:28] local.INFO: IMEI packet received {"connection_id":158963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":158963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:52:28] local.INFO: TCP Data received {"connection_id":158963,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:52:28] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:52:28] local.INFO: Packet analysis {"connection_id":158963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:52:28] local.INFO: Extracted packet for processing {"connection_id":158963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":158963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":158963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":158963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:52:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":158963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:52:29] local.INFO: GPS data processed {"connection_id":158963,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:52:29] local.INFO: Acknowledgment sent {"connection_id":158963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:52:31] local.INFO: TCP Data received {"connection_id":159256,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:52:31] local.INFO: Processing buffer {"connection_id":159256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:52:31] local.INFO: IMEI packet received {"connection_id":159256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":159256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:52:32] local.INFO: TCP Data received {"connection_id":159256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b03f8012dabcc80054a6e10001500582f..."} 
[2026-08-21 09:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b03f8012dabcc80054a6e10001500582f..."} 
[2026-08-21 09:52:32] local.INFO: Processing buffer {"connection_id":159256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b03f8012dabcc80054a6e10001500582f..."} 
[2026-08-21 09:52:32] local.INFO: Packet analysis {"connection_id":159256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:52:32] local.INFO: Extracted packet for processing {"connection_id":159256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:52:32] local.INFO: GPS Element Parsed {"raw_longitude":766233728,"raw_latitude":88763920,"longitude_deg":76.6233728,"latitude_deg":8.876392,"altitude":21,"angle":88,"satellites":47,"speed":5,"hex_longitude":"2dabcc80","hex_latitude":"054a6e10","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545192960001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387943642565705728,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6072752231064782848,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787285931000,"timestamp_ms":1787285931000,"timestamp_seconds":1787285931,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b03f8"} 
[2026-08-21 09:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:52: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-08-21 09:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 09:52:32] 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-08-21 09:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545192960001,"66":27995,"119":206,"84":6144,"24":5,"16":387943642565705728,"45":-6072752231064782848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 09:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545192960001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:52:32] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 09:52:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387943642565705728,"km_value":387943642565705.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6072752231064782848,"description":"Unknown IO ID 45"} 
[2026-08-21 09:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545192960001,"power":27995,"unknown_119":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6072752231064782848}} 
[2026-08-21 09:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":159256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:52:32] local.INFO: GPS data processed {"connection_id":159256,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:52:32] local.INFO: Acknowledgment sent {"connection_id":159256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:52:33] local.INFO: TCP Data received {"connection_id":158963,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:52:33] local.INFO: Processing buffer {"connection_id":158963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:52:33] local.INFO: Packet analysis {"connection_id":158963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:52:33] local.INFO: Extracted packet for processing {"connection_id":158963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":158963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":158963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":158963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:52:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:52:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":158963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:52:33] local.INFO: GPS data processed {"connection_id":158963,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:52:33] local.INFO: Acknowledgment sent {"connection_id":158963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:52:49] local.INFO: TCP Data received {"connection_id":158962,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:52:49] local.INFO: Processing buffer {"connection_id":158962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:52:49] local.INFO: Packet analysis {"connection_id":158962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:52:49] local.INFO: Extracted packet for processing {"connection_id":158962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:52:49] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:52:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:52:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158962,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:52:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:52:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":158962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:52:49] local.INFO: GPS data processed {"connection_id":158962,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:52:49] local.INFO: Acknowledgment sent {"connection_id":158962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:53:03] local.INFO: TCP Data received {"connection_id":159256,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b5600012dabcf80054a6e40001500532f..."} 
[2026-08-21 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b5600012dabcf80054a6e40001500532f..."} 
[2026-08-21 09:53:03] local.INFO: Processing buffer {"connection_id":159256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b5600012dabcf80054a6e40001500532f..."} 
[2026-08-21 09:53:03] local.INFO: Packet analysis {"connection_id":159256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:03] local.INFO: Extracted packet for processing {"connection_id":159256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":766234496,"raw_latitude":88763968,"longitude_deg":76.6234496,"latitude_deg":8.8763968,"altitude":21,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2dabcf80","hex_latitude":"054a6e40","is_valid_coordinates":true} 
[2026-08-21 09:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545198336001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387943676925444096,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6067333837762981888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787285952000,"timestamp_ms":1787285952000,"timestamp_seconds":1787285952,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b5600"} 
[2026-08-21 09:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 09:53:03] 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-08-21 09:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545198336001,"66":28006,"72":206,"84":6144,"24":0,"16":387943676925444096,"45":-6067333837762981888},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 09:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545198336001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387943676925444096,"km_value":387943676925444.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6067333837762981888,"description":"Unknown IO ID 45"} 
[2026-08-21 09:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545198336001,"power":28006,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6067333837762981888}} 
[2026-08-21 09:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":159256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:53:03] local.INFO: GPS data processed {"connection_id":159256,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:53:03] local.INFO: Acknowledgment sent {"connection_id":159256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:53:07] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:53:07] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:53:07] local.INFO: IMEI packet received {"connection_id":160154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":160154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:53:12] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:53:12] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:53:12] local.INFO: IMEI packet received {"connection_id":160154,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":160154,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:53:13] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:53:13] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:53:13] local.INFO: Packet analysis {"connection_id":160154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:13] local.INFO: Extracted packet for processing {"connection_id":160154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:53:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:53:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:53:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":160154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:53:13] local.INFO: GPS data processed {"connection_id":160154,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:53:13] local.INFO: Acknowledgment sent {"connection_id":160154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:53:18] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:53:18] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:53:18] local.INFO: IMEI packet received {"connection_id":159258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":159258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:53:23] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:53:23] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:53:23] local.INFO: IMEI packet received {"connection_id":159258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":159258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:53:23] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:53:23] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:53:23] local.INFO: Packet analysis {"connection_id":159258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:53:23] local.INFO: Extracted packet for processing {"connection_id":159258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:53:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:53:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":159258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:53:24] local.INFO: GPS data processed {"connection_id":159258,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:53:24] local.INFO: Acknowledgment sent {"connection_id":159258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:53:25] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:25] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:25] local.INFO: IMEI packet received {"connection_id":161498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":161498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:53:26] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:26] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:26] local.INFO: IMEI packet received {"connection_id":161498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":161498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:53:31] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:31] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:53:31] local.INFO: IMEI packet received {"connection_id":161498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":161498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:53:33] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ba808012dabd0c0054a6e58001400532f..."} 
[2026-08-21 09:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ba808012dabd0c0054a6e58001400532f..."} 
[2026-08-21 09:53:33] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ba808012dabd0c0054a6e58001400532f..."} 
[2026-08-21 09:53:33] local.INFO: Packet analysis {"connection_id":161498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:33] local.INFO: Extracted packet for processing {"connection_id":161498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:33] local.INFO: GPS Element Parsed {"raw_longitude":766234816,"raw_latitude":88763992,"longitude_deg":76.6234816,"latitude_deg":8.8763992,"altitude":20,"angle":83,"satellites":47,"speed":0,"hex_longitude":"2dabd0c0","hex_latitude":"054a6e58","is_valid_coordinates":true} 
[2026-08-21 09:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545203712001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387943694105313280,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6066489412832837632,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787285973000,"timestamp_ms":1787285973000,"timestamp_seconds":1787285973,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ba808"} 
[2026-08-21 09:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 09:53:33] 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-08-21 09:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545203712001,"66":27745,"72":206,"84":6144,"24":0,"16":387943694105313280,"45":-6066489412832837632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 09:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545203712001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:53:33] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 09:53:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387943694105313280,"km_value":387943694105313.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6066489412832837632,"description":"Unknown IO ID 45"} 
[2026-08-21 09:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545203712001,"power":27745,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6066489412832837632}} 
[2026-08-21 09:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":161498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:53:33] local.INFO: GPS data processed {"connection_id":161498,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:53:33] local.INFO: Acknowledgment sent {"connection_id":161498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:53:45] local.INFO: TCP Data received {"connection_id":160154,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:53:45] local.INFO: Processing buffer {"connection_id":160154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:53:45] local.INFO: Packet analysis {"connection_id":160154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:45] local.INFO: Extracted packet for processing {"connection_id":160154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:53:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160154,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:53:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:53:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":160154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:53:45] local.INFO: GPS data processed {"connection_id":160154,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:53:45] local.INFO: Acknowledgment sent {"connection_id":160154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:53:55] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:53:55] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:53:55] local.INFO: Packet analysis {"connection_id":159258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:53:55] local.INFO: Extracted packet for processing {"connection_id":159258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:53:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":159258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:53:55] local.INFO: GPS data processed {"connection_id":159258,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:53:55] local.INFO: Acknowledgment sent {"connection_id":159258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:54:06] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:54:06] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:54:06] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:54:10] local.INFO: TCP Data received {"connection_id":161498,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ee428012dac6a00054a2fb0001300752e..."} 
[2026-08-21 09:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ee428012dac6a00054a2fb0001300752e..."} 
[2026-08-21 09:54:10] local.INFO: Processing buffer {"connection_id":161498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ee428012dac6a00054a2fb0001300752e..."} 
[2026-08-21 09:54:10] local.INFO: Packet analysis {"connection_id":161498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228e"} 
[2026-08-21 09:54:10] local.INFO: Extracted packet for processing {"connection_id":161498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228e"} 
[2026-08-21 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":766274048,"raw_latitude":88747952,"longitude_deg":76.6274048,"latitude_deg":8.8747952,"altitude":19,"angle":117,"satellites":46,"speed":31,"hex_longitude":"2dac6a00","hex_latitude":"054a2fb0","is_valid_coordinates":true} 
[2026-08-21 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545258752001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387945768574517248,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6031727253212086272,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787286185000,"timestamp_ms":1787286185000,"timestamp_seconds":1787286185,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ee428"} 
[2026-08-21 09:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 09:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545258752001,"66":27767,"72":206,"84":6144,"24":31,"16":387945768574517248,"45":-6031727253212086272},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 09:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545258752001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:54:10] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 09:54:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387945768574517248,"km_value":387945768574517.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6031727253212086272,"description":"Unknown IO ID 45"} 
[2026-08-21 09:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545258752001,"power":27767,"unknown_72":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6031727253212086272}} 
[2026-08-21 09:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":161498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:54:10] local.INFO: GPS data processed {"connection_id":161498,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:54:10] local.INFO: Acknowledgment sent {"connection_id":161498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:54:12] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:54:12] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:54:12] local.INFO: IMEI packet received {"connection_id":160155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":160155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:54:13] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:54:13] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228b80f8012d7d38c005ec1140000400c71b..."} 
[2026-08-21 09:54:13] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:54:13] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228b"} 
[2026-08-21 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":763181248,"raw_latitude":99356992,"longitude_deg":76.3181248,"latitude_deg":9.9356992,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d38c0","hex_latitude":"05ec1140","is_valid_coordinates":true} 
[2026-08-21 09:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787285963000,"timestamp_ms":1787285963000,"timestamp_seconds":1787285963,"priority":1,"record_length":96,"hex_timestamp":"000001a0228b80f8"} 
[2026-08-21 09:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2334853121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1333065511178213888,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3221613586,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465417,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":237,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1402869989039964155,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:13] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,109,87,24,241,157,16,59,160,86,45,17,4,26,10,66,46,1,240,150,227,34,236,113,205,56,112,29,239,49,2,176,5,3,237,138],"length":527,"final_offset":657,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:54:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756191,"timestamp_seconds":288449294929756.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":13319,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:54:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:54:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":13319,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:54:13] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:54:13] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:54:18] local.INFO: TCP Data received {"connection_id":158965,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:54:18] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:54:18] local.INFO: IMEI packet received {"connection_id":158965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":158965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:54:23] local.INFO: TCP Data received {"connection_id":158965,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:54:23] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:54:23] local.INFO: IMEI packet received {"connection_id":158965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:54:23] local.INFO: IMEI acknowledgment sent {"connection_id":158965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:54:24] local.INFO: TCP Data received {"connection_id":158965,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:54:24] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228af070012d196500071ff0a8003a014429..."} 
[2026-08-21 09:54:24] local.INFO: Packet analysis {"connection_id":158965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:54:24] local.INFO: Extracted packet for processing {"connection_id":158965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228a"} 
[2026-08-21 09:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545120000001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54: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-08-21 09:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787285926000,"timestamp_ms":1787285926000,"timestamp_seconds":1787285926,"priority":1,"record_length":96,"hex_timestamp":"000001a0228af070"} 
[2026-08-21 09:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:54: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-08-21 09:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545120000001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545120000001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:54:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:54:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545120000001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":158965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:54:24] local.INFO: GPS data processed {"connection_id":158965,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:54:24] local.INFO: Acknowledgment sent {"connection_id":158965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:54:41] local.INFO: TCP Data received {"connection_id":158966,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:54:41] local.INFO: Processing buffer {"connection_id":158966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:54:41] local.INFO: IMEI packet received {"connection_id":158966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":158966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:54:44] local.INFO: TCP Data received {"connection_id":160155,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:54:44] local.INFO: Processing buffer {"connection_id":160155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:54:44] local.INFO: Packet analysis {"connection_id":160155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:54:44] local.INFO: Extracted packet for processing {"connection_id":160155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:54:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:54:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:54:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:54:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":160155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:54:44] local.INFO: GPS data processed {"connection_id":160155,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:54:44] local.INFO: Acknowledgment sent {"connection_id":160155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:54:46] local.INFO: TCP Data received {"connection_id":158966,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:54:46] local.INFO: Processing buffer {"connection_id":158966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:54:46] local.INFO: IMEI packet received {"connection_id":158966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":158966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:54:47] local.INFO: TCP Data received {"connection_id":158966,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f0b38012dac8900054a1eb0001300742e..."} 
[2026-08-21 09:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f0b38012dac8900054a1eb0001300742e..."} 
[2026-08-21 09:54:47] local.INFO: Processing buffer {"connection_id":158966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f0b38012dac8900054a1eb0001300742e..."} 
[2026-08-21 09:54:47] local.INFO: Packet analysis {"connection_id":158966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:54:47] local.INFO: Extracted packet for processing {"connection_id":158966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:54:47] local.INFO: GPS Element Parsed {"raw_longitude":766281984,"raw_latitude":88743600,"longitude_deg":76.6281984,"latitude_deg":8.87436,"altitude":19,"angle":116,"satellites":46,"speed":39,"hex_longitude":"2dac8900","hex_latitude":"054a1eb0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545263360001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387946202366214144,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6023001528935141376,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787286195000,"timestamp_ms":1787286195000,"timestamp_seconds":1787286195,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f0b38"} 
[2026-08-21 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-08-21 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-08-21 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-08-21 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-08-21 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-08-21 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-08-21 09:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":158966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":158966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":158966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545263360001,"66":27919,"72":206,"84":6144,"24":39,"16":387946202366214144,"45":-6023001528935141376},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 09:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545263360001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:54:47] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 09:54:47] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387946202366214144,"km_value":387946202366214.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6023001528935141376,"description":"Unknown IO ID 45"} 
[2026-08-21 09:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545263360001,"power":27919,"unknown_72":206,"unknown_84":6144,"ignition":39,"odometer":null,"unknown_45":-6023001528935141376}} 
[2026-08-21 09:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":158966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:54:47] local.INFO: GPS data processed {"connection_id":158966,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:54:47] local.INFO: Acknowledgment sent {"connection_id":158966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:54:55] local.INFO: TCP Data received {"connection_id":158965,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:54:55] local.INFO: Processing buffer {"connection_id":158965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:54:55] local.INFO: Packet analysis {"connection_id":158965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:54:55] local.INFO: Extracted packet for processing {"connection_id":158965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:54:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":158965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:54:55] local.INFO: GPS data processed {"connection_id":158965,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:54:55] local.INFO: Acknowledgment sent {"connection_id":158965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:55:06] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:55:06] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:55:06] local.INFO: IMEI packet received {"connection_id":159259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":159259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:55:12] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:55:12] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:55:12] local.INFO: IMEI packet received {"connection_id":159259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":159259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:55:13] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:55:13] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:55:13] local.INFO: Packet analysis {"connection_id":159259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:13] local.INFO: Extracted packet for processing {"connection_id":159259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:55:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:55:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:55:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":159259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:55:13] local.INFO: GPS data processed {"connection_id":159259,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:55:13] local.INFO: Acknowledgment sent {"connection_id":159259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:55:17] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:55:17] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:55:17] local.INFO: IMEI packet received {"connection_id":161500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":161500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:55:23] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:55:23] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:55:23] local.INFO: IMEI packet received {"connection_id":161500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":161500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:55:23] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:55:23] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:55:23] local.INFO: Packet analysis {"connection_id":161500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:23] local.INFO: Extracted packet for processing {"connection_id":161500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:55:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:55:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:55:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:55:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:55:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:55:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:55:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:55:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:55:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:55:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:55:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:55:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:55:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:55:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:55:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:55:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:55:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:55:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":161500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:55:24] local.INFO: GPS data processed {"connection_id":161500,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:55:24] local.INFO: Acknowledgment sent {"connection_id":161500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:55:26] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:55:26] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:55:26] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:55:31] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:55:31] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:55:31] local.INFO: IMEI packet received {"connection_id":160156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":160156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:55:32] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f3248012dacab00054a0dd8001200732d..."} 
[2026-08-21 09:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f3248012dacab00054a0dd8001200732d..."} 
[2026-08-21 09:55:32] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f3248012dacab00054a0dd8001200732d..."} 
[2026-08-21 09:55:32] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:32] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:32] local.INFO: GPS Element Parsed {"raw_longitude":766290688,"raw_latitude":88739288,"longitude_deg":76.6290688,"latitude_deg":8.8739288,"altitude":18,"angle":115,"satellites":45,"speed":36,"hex_longitude":"2dacab00","hex_latitude":"054a0dd8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545265920001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387946670517649408,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6014275804658225152,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787286205000,"timestamp_ms":1787286205000,"timestamp_seconds":1787286205,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f3248"} 
[2026-08-21 09:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:55: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-08-21 09: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 09:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545265920001,"66":27843,"72":206,"84":6144,"24":36,"16":387946670517649408,"45":-6014275804658225152},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 09:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545265920001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:55:32] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 09:55:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387946670517649408,"km_value":387946670517649.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6014275804658225152,"description":"Unknown IO ID 45"} 
[2026-08-21 09:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545265920001,"power":27843,"unknown_72":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6014275804658225152}} 
[2026-08-21 09:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:55:32] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:55:32] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:55:44] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:55:44] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:55:44] local.INFO: Packet analysis {"connection_id":159259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:44] local.INFO: Extracted packet for processing {"connection_id":159259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:44] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:55:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:55:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:55:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":159259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:55:44] local.INFO: GPS data processed {"connection_id":159259,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:55:44] local.INFO: Acknowledgment sent {"connection_id":159259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:55:55] local.INFO: TCP Data received {"connection_id":161500,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:55:55] local.INFO: Processing buffer {"connection_id":161500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:55:55] local.INFO: Packet analysis {"connection_id":161500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:55] local.INFO: Extracted packet for processing {"connection_id":161500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:55:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:55:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":161500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:55:55] local.INFO: GPS data processed {"connection_id":161500,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:55:55] local.INFO: Acknowledgment sent {"connection_id":161500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:56:03] local.INFO: TCP Data received {"connection_id":160156,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f5d40012daccd400549fc20001500742f..."} 
[2026-08-21 09:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f5d40012daccd400549fc20001500742f..."} 
[2026-08-21 09:56:03] local.INFO: Processing buffer {"connection_id":160156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f5d40012daccd400549fc20001500742f..."} 
[2026-08-21 09:56:03] local.INFO: Packet analysis {"connection_id":160156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:03] local.INFO: Extracted packet for processing {"connection_id":160156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":766299456,"raw_latitude":88734752,"longitude_deg":76.6299456,"latitude_deg":8.8734752,"altitude":21,"angle":116,"satellites":47,"speed":36,"hex_longitude":"2daccd40","hex_latitude":"0549fc20","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545268480001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387947142964051968,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6004705655451166720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787286216000,"timestamp_ms":1787286216000,"timestamp_seconds":1787286216,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f5d40"} 
[2026-08-21 09:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545268480001,"66":27876,"72":206,"84":6144,"24":36,"16":387947142964051968,"45":-6004705655451166720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 09:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545268480001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 09:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387947142964051968,"km_value":387947142964051.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6004705655451166720,"description":"Unknown IO ID 45"} 
[2026-08-21 09:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545268480001,"power":27876,"unknown_72":206,"unknown_84":6144,"ignition":36,"odometer":null,"unknown_45":-6004705655451166720}} 
[2026-08-21 09:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":160156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:56:03] local.INFO: GPS data processed {"connection_id":160156,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:56:03] local.INFO: Acknowledgment sent {"connection_id":160156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:56:07] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:56:07] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:56:07] local.INFO: IMEI packet received {"connection_id":161501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":161501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:56:12] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:56:12] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:56:12] local.INFO: IMEI packet received {"connection_id":161501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":161501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:56:13] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:56:13] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:56:13] local.INFO: Packet analysis {"connection_id":161501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:13] local.INFO: Extracted packet for processing {"connection_id":161501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:56:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:56:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:56:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":161501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:56:13] local.INFO: GPS data processed {"connection_id":161501,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:56:13] local.INFO: Acknowledgment sent {"connection_id":161501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:56:17] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:56:17] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:56:17] local.INFO: IMEI packet received {"connection_id":161502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":161502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:56:21] local.INFO: TCP Data received {"connection_id":158967,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158967,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:56:21] local.INFO: Processing buffer {"connection_id":158967,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:56:21] local.INFO: IMEI packet received {"connection_id":158967,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":158967,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:56:23] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:56:23] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:56:23] local.INFO: IMEI packet received {"connection_id":161502,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":161502,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:56:23] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:56:23] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:56:23] local.INFO: Packet analysis {"connection_id":161502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:23] local.INFO: Extracted packet for processing {"connection_id":161502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 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-08-21 09:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 09:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:56:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:56:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":161502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:56:24] local.INFO: GPS data processed {"connection_id":161502,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:56:24] local.INFO: Acknowledgment sent {"connection_id":161502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:56:29] local.INFO: TCP Data received {"connection_id":158967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022914d58012d0b8f400703bf78001d006925..."} 
[2026-08-21 09:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022914d58012d0b8f400703bf78001d006925..."} 
[2026-08-21 09:56:29] local.INFO: Processing buffer {"connection_id":158967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022914d58012d0b8f400703bf78001d006925..."} 
[2026-08-21 09:56:29] local.INFO: Packet analysis {"connection_id":158967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02291"} 
[2026-08-21 09:56:29] local.INFO: Extracted packet for processing {"connection_id":158967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02291"} 
[2026-08-21 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":755732288,"raw_latitude":117686136,"longitude_deg":75.5732288,"latitude_deg":11.7686136,"altitude":29,"angle":105,"satellites":37,"speed":9,"hex_longitude":"2d0b8f40","hex_latitude":"0703bf78","is_valid_coordinates":true} 
[2026-08-21 09:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545303552001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29243916922388480,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":832603011237785600,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787286343000,"timestamp_ms":1787286343000,"timestamp_seconds":1787286343,"priority":1,"record_length":96,"hex_timestamp":"000001a022914d58"} 
[2026-08-21 09:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 09:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545303552001,"66":14352,"96":206,"94":10240,"24":9,"16":29243916922388480,"45":832603011237785600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 09:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545303552001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:56:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 09:56:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29243916922388480,"km_value":29243916922388.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":832603011237785600,"description":"Unknown IO ID 45"} 
[2026-08-21 09:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545303552001,"power":14352,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":832603011237785600}} 
[2026-08-21 09:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":158967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:56:30] local.INFO: GPS data processed {"connection_id":158967,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:56:30] local.INFO: Acknowledgment sent {"connection_id":158967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:56:36] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:56:36] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:56:36] local.INFO: IMEI packet received {"connection_id":159260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":159260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:56:39] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:56:39] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:56:39] local.INFO: IMEI packet received {"connection_id":159260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":159260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:56:40] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022912e18012dadff400549d168000e006b2e..."} 
[2026-08-21 09:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022912e18012dadff400549d168000e006b2e..."} 
[2026-08-21 09:56:40] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022912e18012dadff400549d168000e006b2e..."} 
[2026-08-21 09:56:40] local.INFO: Packet analysis {"connection_id":159260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02291"} 
[2026-08-21 09:56:40] local.INFO: Extracted packet for processing {"connection_id":159260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02291"} 
[2026-08-21 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":766377792,"raw_latitude":88723816,"longitude_deg":76.6377792,"latitude_deg":8.8723816,"altitude":14,"angle":107,"satellites":46,"speed":27,"hex_longitude":"2dadff40","hex_latitude":"0549d168","is_valid_coordinates":true} 
[2026-08-21 09:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545296384001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387951081449062400,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5917729887651022848,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787286335000,"timestamp_ms":1787286335000,"timestamp_seconds":1787286335,"priority":1,"record_length":96,"hex_timestamp":"000001a022912e18"} 
[2026-08-21 09:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545296384001,"66":27800,"247":206,"84":6400,"24":27,"16":387951081449062400,"45":-5917729887651022848},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-21 09:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545296384001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:56:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 09:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387951081449062400,"km_value":387951081449062.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5917729887651022848,"description":"Unknown IO ID 45"} 
[2026-08-21 09:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545296384001,"power":27800,"internal_battery_voltage":206,"unknown_84":6400,"ignition":27,"odometer":null,"unknown_45":-5917729887651022848}} 
[2026-08-21 09:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":159260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:56:40] local.INFO: GPS data processed {"connection_id":159260,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:56:40] local.INFO: Acknowledgment sent {"connection_id":159260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:56:45] local.INFO: TCP Data received {"connection_id":161501,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:56:45] local.INFO: Processing buffer {"connection_id":161501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:56:45] local.INFO: Packet analysis {"connection_id":161501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:45] local.INFO: Extracted packet for processing {"connection_id":161501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:56:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:56:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:56:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":161501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675140,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:56:45] local.INFO: GPS data processed {"connection_id":161501,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:56:45] local.INFO: Acknowledgment sent {"connection_id":161501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:56:55] local.INFO: TCP Data received {"connection_id":161502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:56:55] local.INFO: Processing buffer {"connection_id":161502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:56:55] local.INFO: Packet analysis {"connection_id":161502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:55] local.INFO: Extracted packet for processing {"connection_id":161502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161502,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:56:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:56:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":161502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:56:55] local.INFO: GPS data processed {"connection_id":161502,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:56:55] local.INFO: Acknowledgment sent {"connection_id":161502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:57:01] local.INFO: TCP Data received {"connection_id":158967,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022926e68012d0b4a400703ad200018010a22..."} 
[2026-08-21 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022926e68012d0b4a400703ad200018010a22..."} 
[2026-08-21 09:57:01] local.INFO: Processing buffer {"connection_id":158967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022926e68012d0b4a400703ad200018010a22..."} 
[2026-08-21 09:57:01] local.INFO: Packet analysis {"connection_id":158967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:57:01] local.INFO: Extracted packet for processing {"connection_id":158967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:57:01] local.INFO: GPS Element Parsed {"raw_longitude":755714624,"raw_latitude":117681440,"longitude_deg":75.5714624,"latitude_deg":11.768144,"altitude":24,"angle":266,"satellites":34,"speed":9,"hex_longitude":"2d0b4a40","hex_latitude":"0703ad20","is_valid_coordinates":true} 
[2026-08-21 09:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545321728001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29245329966628864,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815503406401253376,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787286417000,"timestamp_ms":1787286417000,"timestamp_seconds":1787286417,"priority":1,"record_length":96,"hex_timestamp":"000001a022926e68"} 
[2026-08-21 09:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:57: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-08-21 09:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 09:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158967,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545321728001,"66":14407,"178":206,"94":10240,"24":9,"16":29245329966628864,"45":815503406401253376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,94,24,16,45]} 
[2026-08-21 09:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545321728001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:57:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 09:57:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 09:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29245329966628864,"km_value":29245329966628.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":815503406401253376,"description":"Unknown IO ID 45"} 
[2026-08-21 09:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545321728001,"power":14407,"unknown_178":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":815503406401253376}} 
[2026-08-21 09:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":158967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675142,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:57:02] local.INFO: GPS data processed {"connection_id":158967,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:57:02] local.INFO: Acknowledgment sent {"connection_id":158967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:57:12] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:57:12] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:57:12] local.INFO: IMEI packet received {"connection_id":158968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":158968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:57:17] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:57:17] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:57:17] local.INFO: IMEI packet received {"connection_id":158968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":158968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:57:19] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:57:19] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:57:19] local.INFO: Packet analysis {"connection_id":158968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:19] local.INFO: Extracted packet for processing {"connection_id":158968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:19] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:57:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":158968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":158968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":158968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:57:19] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:57:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":158968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:57:19] local.INFO: GPS data processed {"connection_id":158968,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:57:19] local.INFO: Acknowledgment sent {"connection_id":158968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:57:21] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:57:21] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:57:21] local.INFO: IMEI packet received {"connection_id":159262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":159262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:57:22] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:22] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:22] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:57:23] local.INFO: TCP Data received {"connection_id":158968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:57:23] local.INFO: Processing buffer {"connection_id":158968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:57:23] local.INFO: Packet analysis {"connection_id":158968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:23] local.INFO: Extracted packet for processing {"connection_id":158968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:23] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 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-08-21 09:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:57:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 09:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:57:23] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:57:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":158968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:57:23] local.INFO: GPS data processed {"connection_id":158968,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:57:23] local.INFO: Acknowledgment sent {"connection_id":158968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:57:23] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:57:23] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:57:23] local.INFO: IMEI packet received {"connection_id":159261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":159261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:57:24] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:24] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:24] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:57:24] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:57:24] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:57:24] local.INFO: IMEI packet received {"connection_id":159262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":159262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:57:25] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:25] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:25] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:57:25] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02291e1c8012dae7d0005498770001100822e..."} 
[2026-08-21 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02291e1c8012dae7d0005498770001100822e..."} 
[2026-08-21 09:57:25] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02291e1c8012dae7d0005498770001100822e..."} 
[2026-08-21 09:57:25] local.INFO: Packet analysis {"connection_id":159262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02291"} 
[2026-08-21 09:57:25] local.INFO: Extracted packet for processing {"connection_id":159262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02291"} 
[2026-08-21 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":766409984,"raw_latitude":88704880,"longitude_deg":76.6409984,"latitude_deg":8.870488,"altitude":17,"angle":130,"satellites":46,"speed":40,"hex_longitude":"2dae7d00","hex_latitude":"05498770","is_valid_coordinates":true} 
[2026-08-21 09:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545311232001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387952885335326720,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5881489984403515392,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787286381000,"timestamp_ms":1787286381000,"timestamp_seconds":1787286381,"priority":1,"record_length":96,"hex_timestamp":"000001a02291e1c8"} 
[2026-08-21 09:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 09:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545311232001,"66":27843,"67":206,"84":6400,"24":40,"16":387952885335326720,"45":-5881489984403515392},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,84,24,16,45]} 
[2026-08-21 09:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545311232001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:57:25] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 09:57:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 09:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387952885335326720,"km_value":387952885335326.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5881489984403515392,"description":"Unknown IO ID 45"} 
[2026-08-21 09:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545311232001,"power":27843,"unknown_67":206,"unknown_84":6400,"ignition":40,"odometer":null,"unknown_45":-5881489984403515392}} 
[2026-08-21 09:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":159262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:57:25] local.INFO: GPS data processed {"connection_id":159262,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:57:25] local.INFO: Acknowledgment sent {"connection_id":159262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:57:28] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:57:28] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:57:28] local.INFO: IMEI packet received {"connection_id":159261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":159261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:57:29] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:57:29] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:57:29] local.INFO: Packet analysis {"connection_id":159261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:29] local.INFO: Extracted packet for processing {"connection_id":159261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:57: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-08-21 09:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:57:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:57:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":159261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:57:29] local.INFO: GPS data processed {"connection_id":159261,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:57:29] local.INFO: Acknowledgment sent {"connection_id":159261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:57:33] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:57:33] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:57:33] local.INFO: Packet analysis {"connection_id":159261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:33] local.INFO: Extracted packet for processing {"connection_id":159261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:57:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":159261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:57:33] local.INFO: GPS data processed {"connection_id":159261,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:57:33] local.INFO: Acknowledgment sent {"connection_id":159261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:57:59] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:59] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:57:59] local.INFO: IMEI packet received {"connection_id":160157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":160157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:58:01] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02292f338012d0b360007037788001000ce25..."} 
[2026-08-21 09:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02292f338012d0b360007037788001000ce25..."} 
[2026-08-21 09:58:01] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02292f338012d0b360007037788001000ce25..."} 
[2026-08-21 09:58:01] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:58:01] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:58:01] local.INFO: GPS Element Parsed {"raw_longitude":755709440,"raw_latitude":117667720,"longitude_deg":75.570944,"latitude_deg":11.766772,"altitude":16,"angle":206,"satellites":37,"speed":19,"hex_longitude":"2d0b3600","hex_latitude":"07037788","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545330688001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29246133125513216,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808677638212978688,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787286451000,"timestamp_ms":1787286451000,"timestamp_seconds":1787286451,"priority":1,"record_length":96,"hex_timestamp":"000001a02292f338"} 
[2026-08-21 09:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545330688001,"66":14515,"17":206,"94":11008,"24":19,"16":29246133125513216,"45":808677638212978688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545330688001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29246133125513216,"km_value":29246133125513.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":808677638212978688,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545330688001,"power":14515,"axis_x":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":808677638212978688}} 
[2026-08-21 09:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675148,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:01] local.INFO: GPS data processed {"connection_id":160157,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:01] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:02] local.INFO: TCP Data received {"connection_id":160157,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022931a48012d0b300007036d58000f00dd25..."} 
[2026-08-21 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022931a48012d0b300007036d58000f00dd25..."} 
[2026-08-21 09:58:02] local.INFO: Processing buffer {"connection_id":160157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022931a48012d0b300007036d58000f00dd25..."} 
[2026-08-21 09:58:02] local.INFO: Packet analysis {"connection_id":160157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:58:02] local.INFO: Extracted packet for processing {"connection_id":160157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:58:02] local.INFO: GPS Element Parsed {"raw_longitude":755707904,"raw_latitude":117665112,"longitude_deg":75.5707904,"latitude_deg":11.7665112,"altitude":15,"angle":221,"satellites":37,"speed":8,"hex_longitude":"2d0b3000","hex_latitude":"07036d58","is_valid_coordinates":true} 
[2026-08-21 09:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545331456001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29246283449368576,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807833213282519040,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787286461000,"timestamp_ms":1787286461000,"timestamp_seconds":1787286461,"priority":1,"record_length":96,"hex_timestamp":"000001a022931a48"} 
[2026-08-21 09:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58: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-08-21 09:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160157,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545331456001,"66":14374,"17":206,"94":11008,"24":8,"16":29246283449368576,"45":807833213282519040},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545331456001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29246283449368576,"km_value":29246283449368.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":807833213282519040,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545331456001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":807833213282519040}} 
[2026-08-21 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":160157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675149,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:03] local.INFO: GPS data processed {"connection_id":160157,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:03] local.ERROR: TCP Connection error {"connection_id":160157,"code":2,"message":"client closed"} 
[2026-08-21 09:58:03] local.INFO: Acknowledgment sent {"connection_id":160157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:07] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:58:07] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:58:07] local.INFO: IMEI packet received {"connection_id":159263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":159263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:58:07] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0229204f0012dae984005496ed8001200852e..."} 
[2026-08-21 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229204f0012dae984005496ed8001200852e..."} 
[2026-08-21 09:58:07] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229204f0012dae984005496ed8001200852e..."} 
[2026-08-21 09:58:07] local.INFO: Packet analysis {"connection_id":159262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:58:07] local.INFO: Extracted packet for processing {"connection_id":159262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":766416960,"raw_latitude":88698584,"longitude_deg":76.641696,"latitude_deg":8.8698584,"altitude":18,"angle":133,"satellites":46,"speed":42,"hex_longitude":"2dae9840","hex_latitude":"05496ed8","is_valid_coordinates":true} 
[2026-08-21 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545313536001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387953336306892800,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5873538316312809472,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787286390000,"timestamp_ms":1787286390000,"timestamp_seconds":1787286390,"priority":1,"record_length":96,"hex_timestamp":"000001a0229204f0"} 
[2026-08-21 09:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58: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-08-21 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545313536001,"66":27876,"67":206,"84":6400,"24":42,"16":387953336306892800,"45":-5873538316312809472},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,84,24,16,45]} 
[2026-08-21 09:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545313536001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:07] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 09:58:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 09:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387953336306892800,"km_value":387953336306892.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5873538316312809472,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545313536001,"power":27876,"unknown_67":206,"unknown_84":6400,"ignition":42,"odometer":null,"unknown_45":-5873538316312809472}} 
[2026-08-21 09:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":159262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:07] local.INFO: GPS data processed {"connection_id":159262,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:07] local.INFO: Acknowledgment sent {"connection_id":159262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:12] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:58:12] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:58:12] local.INFO: IMEI packet received {"connection_id":159263,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":159263,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:58:13] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:58:13] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:58:13] local.INFO: Packet analysis {"connection_id":159263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:13] local.INFO: Extracted packet for processing {"connection_id":159263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:58:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:58:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":159263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:13] local.INFO: GPS data processed {"connection_id":159263,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:13] local.INFO: Acknowledgment sent {"connection_id":159263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:18] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:58:18] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:58:18] local.INFO: IMEI packet received {"connection_id":158969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":158969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:58:20] local.INFO: TCP Data received {"connection_id":158970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:20] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:20] local.INFO: IMEI packet received {"connection_id":158970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":158970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:58:21] local.INFO: TCP Data received {"connection_id":158970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:21] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:21] local.INFO: IMEI packet received {"connection_id":158970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":158970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:58:23] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:58:23] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:58:23] local.INFO: IMEI packet received {"connection_id":158969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":158969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:58:23] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:58:23] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:58:23] local.INFO: Packet analysis {"connection_id":158969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:23] local.INFO: Extracted packet for processing {"connection_id":158969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":158969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:24] local.INFO: GPS data processed {"connection_id":158969,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:24] local.INFO: Acknowledgment sent {"connection_id":158969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:26] local.INFO: TCP Data received {"connection_id":158971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:58:26] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:58:26] local.INFO: IMEI packet received {"connection_id":158971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":158971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:58:27] local.INFO: TCP Data received {"connection_id":158970,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:27] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:58:27] local.INFO: IMEI packet received {"connection_id":158970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":158970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:58:30] local.INFO: TCP Data received {"connection_id":158970,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0229329e8012d0b2c8007036808000e00d225..."} 
[2026-08-21 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229329e8012d0b2c8007036808000e00d225..."} 
[2026-08-21 09:58:30] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229329e8012d0b2c8007036808000e00d225..."} 
[2026-08-21 09:58:30] local.INFO: Packet analysis {"connection_id":158970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:58:30] local.INFO: Extracted packet for processing {"connection_id":158970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":755707008,"raw_latitude":117663752,"longitude_deg":75.5707008,"latitude_deg":11.7663752,"altitude":14,"angle":210,"satellites":37,"speed":23,"hex_longitude":"2d0b2c80","hex_latitude":"07036808","is_valid_coordinates":true} 
[2026-08-21 09:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545334016001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29246360758779904,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":806144363421587456,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787286465000,"timestamp_ms":1787286465000,"timestamp_seconds":1787286465,"priority":1,"record_length":96,"hex_timestamp":"000001a0229329e8"} 
[2026-08-21 09:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":158970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":158970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":158970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545334016001,"66":14396,"17":206,"94":11008,"24":23,"16":29246360758779904,"45":806144363421587456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545334016001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29246360758779904,"km_value":29246360758779.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":806144363421587456,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545334016001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":23,"odometer":null,"unknown_45":806144363421587456}} 
[2026-08-21 09:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":158970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675153,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:30] local.INFO: GPS data processed {"connection_id":158970,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:30] local.INFO: Acknowledgment sent {"connection_id":158970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:31] local.INFO: TCP Data received {"connection_id":158971,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:58:31] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:58:31] local.INFO: IMEI packet received {"connection_id":158971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":158971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:58:32] local.INFO: TCP Data received {"connection_id":158971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022922430012daeb20005495778001100812e..."} 
[2026-08-21 09:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022922430012daeb20005495778001100812e..."} 
[2026-08-21 09:58:32] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022922430012daeb20005495778001100812e..."} 
[2026-08-21 09:58:32] local.INFO: Packet analysis {"connection_id":158971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:58:32] local.INFO: Extracted packet for processing {"connection_id":158971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02292"} 
[2026-08-21 09:58:32] local.INFO: GPS Element Parsed {"raw_longitude":766423552,"raw_latitude":88692600,"longitude_deg":76.6423552,"latitude_deg":8.86926,"altitude":17,"angle":129,"satellites":46,"speed":43,"hex_longitude":"2daeb200","hex_latitude":"05495778","is_valid_coordinates":true} 
[2026-08-21 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-08-21 09:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545315840001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387953765803622400,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5865868123199055872,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787286398000,"timestamp_ms":1787286398000,"timestamp_seconds":1787286398,"priority":1,"record_length":96,"hex_timestamp":"000001a022922430"} 
[2026-08-21 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-08-21 09:58: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-08-21 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:32] 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-08-21 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-08-21 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-08-21 09:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":158971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:58: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-08-21 09:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545315840001,"66":27887,"67":206,"84":6400,"24":43,"16":387953765803622400,"45":-5865868123199055872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,84,24,16,45]} 
[2026-08-21 09:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545315840001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:32] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 09:58:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 09:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387953765803622400,"km_value":387953765803622.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5865868123199055872,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545315840001,"power":27887,"unknown_67":206,"unknown_84":6400,"ignition":43,"odometer":null,"unknown_45":-5865868123199055872}} 
[2026-08-21 09:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":158971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:32] local.INFO: GPS data processed {"connection_id":158971,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:32] local.INFO: Acknowledgment sent {"connection_id":158971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:45] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:58:45] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:58:45] local.INFO: Packet analysis {"connection_id":159263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:45] local.INFO: Extracted packet for processing {"connection_id":159263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:45] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:45] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:58:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159263,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:58:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":159263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675155,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:45] local.INFO: GPS data processed {"connection_id":159263,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:45] local.INFO: Acknowledgment sent {"connection_id":159263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:58:55] local.INFO: TCP Data received {"connection_id":158969,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:58:55] local.INFO: Processing buffer {"connection_id":158969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:58:55] local.INFO: Packet analysis {"connection_id":158969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:55] local.INFO: Extracted packet for processing {"connection_id":158969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:58:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:58:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":158969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:58:55] local.INFO: GPS data processed {"connection_id":158969,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:58:55] local.INFO: Acknowledgment sent {"connection_id":158969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:01] local.INFO: TCP Data received {"connection_id":158970,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0229358c8012d0b1b4007034958000a00ce22..."} 
[2026-08-21 09:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229358c8012d0b1b4007034958000a00ce22..."} 
[2026-08-21 09:59:01] local.INFO: Processing buffer {"connection_id":158970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229358c8012d0b1b4007034958000a00ce22..."} 
[2026-08-21 09:59:01] local.INFO: Packet analysis {"connection_id":158970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:59:01] local.INFO: Extracted packet for processing {"connection_id":158970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:59:01] local.INFO: GPS Element Parsed {"raw_longitude":755702592,"raw_latitude":117655896,"longitude_deg":75.5702592,"latitude_deg":11.7655896,"altitude":10,"angle":206,"satellites":34,"speed":26,"hex_longitude":"2d0b1b40","hex_latitude":"07034958","is_valid_coordinates":true} 
[2026-08-21 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545335040001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29246798845444096,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805159201002752000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787286477000,"timestamp_ms":1787286477000,"timestamp_seconds":1787286477,"priority":1,"record_length":96,"hex_timestamp":"000001a0229358c8"} 
[2026-08-21 09:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59: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-08-21 09:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158970,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545335040001,"66":14374,"17":206,"94":11008,"24":26,"16":29246798845444096,"45":805159201002752000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545335040001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29246798845444096,"km_value":29246798845444.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":805159201002752000,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545335040001,"power":14374,"axis_x":206,"unknown_94":11008,"ignition":26,"odometer":null,"unknown_45":805159201002752000}} 
[2026-08-21 09:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":158970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:01] local.INFO: GPS data processed {"connection_id":158970,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:01] local.INFO: Acknowledgment sent {"connection_id":158970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:03] local.INFO: TCP Data received {"connection_id":158971,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022937bf0012daf92c00548fcc0001600732d..."} 
[2026-08-21 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022937bf0012daf92c00548fcc0001600732d..."} 
[2026-08-21 09:59:03] local.INFO: Processing buffer {"connection_id":158971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022937bf0012daf92c00548fcc0001600732d..."} 
[2026-08-21 09:59:03] local.INFO: Packet analysis {"connection_id":158971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:59:03] local.INFO: Extracted packet for processing {"connection_id":158971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":766481088,"raw_latitude":88669376,"longitude_deg":76.6481088,"latitude_deg":8.8669376,"altitude":22,"angle":115,"satellites":45,"speed":34,"hex_longitude":"2daf92c0","hex_latitude":"0548fcc0","is_valid_coordinates":true} 
[2026-08-21 09:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545337344001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387956819525369856,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5804717684515207168,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787286486000,"timestamp_ms":1787286486000,"timestamp_seconds":1787286486,"priority":1,"record_length":96,"hex_timestamp":"000001a022937bf0"} 
[2026-08-21 09:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:03] 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-08-21 09:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:59: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-08-21 09:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545337344001,"66":27974,"78":206,"84":6400,"24":34,"16":387956819525369856,"45":-5804717684515207168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 09:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545337344001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 09:59:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 09:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387956819525369856,"km_value":387956819525369.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5804717684515207168,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545337344001,"power":27974,"unknown_78":206,"unknown_84":6400,"ignition":34,"odometer":null,"unknown_45":-5804717684515207168}} 
[2026-08-21 09:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":158971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:03] local.INFO: GPS data processed {"connection_id":158971,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:03] local.INFO: Acknowledgment sent {"connection_id":158971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:06] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:59:06] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:59:06] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 09:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:59:12] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:59:12] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 09:59:12] local.INFO: IMEI packet received {"connection_id":161503,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 09:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":161503,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:59:13] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:59:13] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228ff598012d7d398005ec1120000400c71b..."} 
[2026-08-21 09:59:13] local.INFO: Packet analysis {"connection_id":161503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:59:13] local.INFO: Extracted packet for processing {"connection_id":161503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":4,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545206528001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023172985104711680,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286255000,"timestamp_ms":1787286255000,"timestamp_seconds":1787286255,"priority":1,"record_length":96,"hex_timestamp":"000001a0228ff598"} 
[2026-08-21 09:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2335109121,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1342072710434528000,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960631296,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":254,"raw_value":57783102739470134,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.WARNING: Large IO value detected {"io_id":138,"raw_value":-1121395012329291771,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:13] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,87,24,241,157,16,59,160,128,45,192,17,4,27,10,66,86,26,240,182,227,34,236,113,205,1,43,57,152,33,239,52,2,176,5,254,138],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 09:59:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288449294929756226,"timestamp_seconds":288449294929756.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 09:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545206528001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023172985104711680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545206528001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:59:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023172985104711680,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545206528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023172985104711680}} 
[2026-08-21 09:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":161503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:13] local.INFO: GPS data processed {"connection_id":161503,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:13] local.INFO: Acknowledgment sent {"connection_id":161503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:16] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:16] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:16] local.INFO: IMEI packet received {"connection_id":159265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 09:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":159265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:59:17] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:17] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:17] local.INFO: IMEI packet received {"connection_id":159265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":159265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:59:18] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:59:18] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:59:18] local.INFO: IMEI packet received {"connection_id":159264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 09:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":159264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:59:20] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:20] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:20] local.INFO: IMEI packet received {"connection_id":159265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":159265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:59:20] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:20] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 09:59:20] local.INFO: IMEI packet received {"connection_id":159265,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 09:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":159265,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:59:21] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022947208012d0af1000702c8f00008009024..."} 
[2026-08-21 09:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022947208012d0af1000702c8f00008009024..."} 
[2026-08-21 09:59:21] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022947208012d0af1000702c8f00008009024..."} 
[2026-08-21 09:59:21] local.INFO: Packet analysis {"connection_id":159265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:21] local.INFO: Extracted packet for processing {"connection_id":159265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":755691776,"raw_latitude":117623024,"longitude_deg":75.5691776,"latitude_deg":11.7623024,"altitude":8,"angle":144,"satellites":36,"speed":12,"hex_longitude":"2d0af100","hex_latitude":"0702c8f0","is_valid_coordinates":true} 
[2026-08-21 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545356032001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29248555487068160,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787989227413168128,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787286549000,"timestamp_ms":1787286549000,"timestamp_seconds":1787286549,"priority":1,"record_length":96,"hex_timestamp":"000001a022947208"} 
[2026-08-21 09:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545356032001,"66":14396,"17":206,"94":11008,"24":12,"16":29248555487068160,"45":787989227413168128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545356032001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29248555487068160,"km_value":29248555487068.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":787989227413168128,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545356032001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":787989227413168128}} 
[2026-08-21 09:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":159265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675160,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:22] local.INFO: GPS data processed {"connection_id":159265,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:22] local.INFO: Acknowledgment sent {"connection_id":159265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:23] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0229475f0012d0af1c00702c8280008008424..."} 
[2026-08-21 09:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229475f0012d0af1c00702c8280008008424..."} 
[2026-08-21 09:59:23] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229475f0012d0af1c00702c8280008008424..."} 
[2026-08-21 09:59:23] local.INFO: Packet analysis {"connection_id":159265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:23] local.INFO: Extracted packet for processing {"connection_id":159265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:23] local.INFO: GPS Element Parsed {"raw_longitude":755691968,"raw_latitude":117622824,"longitude_deg":75.5691968,"latitude_deg":11.7622824,"altitude":8,"angle":132,"satellites":36,"speed":9,"hex_longitude":"2d0af1c0","hex_latitude":"0702c828","is_valid_coordinates":true} 
[2026-08-21 09:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545356544001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29248568371970048,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788411439878041600,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286550000,"timestamp_ms":1787286550000,"timestamp_seconds":1787286550,"priority":1,"record_length":96,"hex_timestamp":"000001a0229475f0"} 
[2026-08-21 09:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 09: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 09:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 09:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 09:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545356544001,"66":14396,"17":206,"94":11008,"24":9,"16":29248568371970048,"45":788411439878041600},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 09:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 09:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 09:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545356544001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 09:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29248568371970048,"km_value":29248568371970.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":788411439878041600,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545356544001,"power":14396,"axis_x":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":788411439878041600}} 
[2026-08-21 09:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":159265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675161,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:23] local.INFO: GPS data processed {"connection_id":159265,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:23] local.INFO: Acknowledgment sent {"connection_id":159265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:23] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:59:23] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 09:59:23] local.INFO: IMEI packet received {"connection_id":159264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 09:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":159264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:59:23] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:59:24] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0228f8838012d196500071ff0a8003a014428..."} 
[2026-08-21 09:59:24] local.INFO: Packet analysis {"connection_id":159264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:59:24] local.INFO: Extracted packet for processing {"connection_id":159264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0228f"} 
[2026-08-21 09:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545197056001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59: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-08-21 09:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787286227000,"timestamp_ms":1787286227000,"timestamp_seconds":1787286227,"priority":1,"record_length":96,"hex_timestamp":"000001a0228f8838"} 
[2026-08-21 09:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59: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-08-21 09: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 09:59: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-08-21 09:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545197056001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545197056001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:59:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545197056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":159264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:24] local.INFO: GPS data processed {"connection_id":159264,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:24] local.INFO: Acknowledgment sent {"connection_id":159264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:26] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:59:26] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:59:26] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 09:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 09:59:31] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:59:31] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 09:59:31] local.INFO: IMEI packet received {"connection_id":160158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 09:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":160158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 09:59:32] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022939748012dafabc00548f468001500682d..."} 
[2026-08-21 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022939748012dafabc00548f468001500682d..."} 
[2026-08-21 09:59:32] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022939748012dafabc00548f468001500682d..."} 
[2026-08-21 09:59:32] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:59:32] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":766487488,"raw_latitude":88667240,"longitude_deg":76.6487488,"latitude_deg":8.866724,"altitude":21,"angle":104,"satellites":45,"speed":41,"hex_longitude":"2dafabc0","hex_latitude":"0548f468","is_valid_coordinates":true} 
[2026-08-21 09: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-08-21 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545340416001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387957145942884352,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5795358641540513792,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787286493000,"timestamp_ms":1787286493000,"timestamp_seconds":1787286493,"priority":1,"record_length":96,"hex_timestamp":"000001a022939748"} 
[2026-08-21 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59: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-08-21 09: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09: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-08-21 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 09:59: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-08-21 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545340416001,"66":27789,"78":206,"84":6400,"24":41,"16":387957145942884352,"45":-5795358641540513792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545340416001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387957145942884352,"km_value":387957145942884.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5795358641540513792,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545340416001,"power":27789,"unknown_78":206,"unknown_84":6400,"ignition":41,"odometer":null,"unknown_45":-5795358641540513792}} 
[2026-08-21 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:32] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:32] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:44] local.INFO: TCP Data received {"connection_id":161503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 09:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 09:59:44] local.INFO: Processing buffer {"connection_id":161503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 09:59:44] local.INFO: Packet analysis {"connection_id":161503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:44] local.INFO: Extracted packet for processing {"connection_id":161503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 09:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 09:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161503,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 09:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 09:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 09:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 09:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 09:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 09:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 09:59:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 09:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 09:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":161503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675164,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:44] local.INFO: GPS data processed {"connection_id":161503,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:44] local.INFO: Acknowledgment sent {"connection_id":161503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 09:59:55] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 09:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 09:59:55] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 09:59:55] local.INFO: Packet analysis {"connection_id":159264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:55] local.INFO: Extracted packet for processing {"connection_id":159264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 09:59:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 09:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 09:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 09:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 09:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 09:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 09:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 09:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 09:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 09:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 09:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 09:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 09:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 09:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 09:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 09:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 09:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 09:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 09:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 09:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 09:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 09:59:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 09:59:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 09:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 09:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 09:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 09:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":159264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 09:59:55] local.INFO: GPS data processed {"connection_id":159264,"processed":1,"errors":0,"total":1} 
[2026-08-21 09:59:55] local.INFO: Acknowledgment sent {"connection_id":159264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:00:06] local.INFO: TCP Data received {"connection_id":158972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:00:06] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:00:06] local.INFO: IMEI packet received {"connection_id":158972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":158972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:00:12] local.INFO: TCP Data received {"connection_id":158972,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:00:12] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:00:12] local.INFO: IMEI packet received {"connection_id":158972,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":158972,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:00:13] local.INFO: TCP Data received {"connection_id":158972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:00:13] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:00:13] local.INFO: Packet analysis {"connection_id":158972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:13] local.INFO: Extracted packet for processing {"connection_id":158972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:00:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:00:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":158972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:00:13] local.INFO: GPS data processed {"connection_id":158972,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:00:13] local.INFO: Acknowledgment sent {"connection_id":158972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:00:16] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a02294f2f0012d0b10800702a378000f009922..."} 
[2026-08-21 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02294f2f0012d0b10800702a378000f009922..."} 
[2026-08-21 10:00:16] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02294f2f0012d0b10800702a378000f009922..."} 
[2026-08-21 10:00:16] local.INFO: Packet analysis {"connection_id":159265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:16] local.INFO: Extracted packet for processing {"connection_id":159265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":755699840,"raw_latitude":117613432,"longitude_deg":75.569984,"latitude_deg":11.7613432,"altitude":15,"angle":153,"satellites":34,"speed":17,"hex_longitude":"2d0b1080","hex_latitude":"0702a378","is_valid_coordinates":true} 
[2026-08-21 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545362944001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249221206999040,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":794181676898957312,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787286582000,"timestamp_ms":1787286582000,"timestamp_seconds":1787286582,"priority":1,"record_length":96,"hex_timestamp":"000001a02294f2f0"} 
[2026-08-21 10:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 10:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 10:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159265,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 10:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 10:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 10:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545362944001,"66":14428,"17":206,"94":11008,"24":17,"16":29249221206999040,"45":794181676898957312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-08-21 10:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 10:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 10:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545362944001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:00:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 10:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29249221206999040,"km_value":29249221206999.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":794181676898957312,"description":"Unknown IO ID 45"} 
[2026-08-21 10:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545362944001,"power":14428,"axis_x":206,"unknown_94":11008,"ignition":17,"odometer":null,"unknown_45":794181676898957312}} 
[2026-08-21 10:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":159265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675167,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:00:16] local.INFO: GPS data processed {"connection_id":159265,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:00:16] local.INFO: Acknowledgment sent {"connection_id":159265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:00:17] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:00:17] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:00:17] local.INFO: IMEI packet received {"connection_id":161504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":161504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:00:19] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:19] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:19] local.INFO: IMEI packet received {"connection_id":158973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 10:00:19] local.INFO: IMEI acknowledgment sent {"connection_id":158973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:00:20] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:20] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:20] local.INFO: IMEI packet received {"connection_id":158973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 10:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":158973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:00:22] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:22] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:22] local.INFO: IMEI packet received {"connection_id":158973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":158973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:00:22] local.INFO: TCP Data received {"connection_id":158973,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158973,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:22] local.INFO: Processing buffer {"connection_id":158973,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 10:00:22] local.INFO: IMEI packet received {"connection_id":158973,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":158973,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:00:23] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:00:23] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:00:23] local.INFO: IMEI packet received {"connection_id":161504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":161504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:00:23] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:00:23] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:00:23] local.INFO: Packet analysis {"connection_id":161504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:23] local.INFO: Extracted packet for processing {"connection_id":161504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 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-08-21 10:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:00:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:00:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":161504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:00:24] local.INFO: GPS data processed {"connection_id":161504,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:00:24] local.INFO: Acknowledgment sent {"connection_id":161504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:00:36] local.INFO: TCP Data received {"connection_id":160158,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02293ba70012dafd1c00548ebb00015006330..."} 
[2026-08-21 10:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02293ba70012dafd1c00548ebb00015006330..."} 
[2026-08-21 10:00:36] local.INFO: Processing buffer {"connection_id":160158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02293ba70012dafd1c00548ebb00015006330..."} 
[2026-08-21 10:00:36] local.INFO: Packet analysis {"connection_id":160158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 10:00:36] local.INFO: Extracted packet for processing {"connection_id":160158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02293"} 
[2026-08-21 10:00:36] local.INFO: GPS Element Parsed {"raw_longitude":766497216,"raw_latitude":88665008,"longitude_deg":76.6497216,"latitude_deg":8.8665008,"altitude":21,"angle":99,"satellites":48,"speed":44,"hex_longitude":"2dafd1c0","hex_latitude":"0548ebb0","is_valid_coordinates":true} 
[2026-08-21 10:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545342208001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387957622684254208,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5788321767123294208,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787286502000,"timestamp_ms":1787286502000,"timestamp_seconds":1787286502,"priority":1,"record_length":96,"hex_timestamp":"000001a02293ba70"} 
[2026-08-21 10:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:00: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-08-21 10:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 10:00:36] 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-08-21 10:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:00: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-08-21 10:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545342208001,"66":27800,"78":206,"84":6400,"24":44,"16":387957622684254208,"45":-5788321767123294208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 10:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545342208001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:00:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 10:00:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 10:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387957622684254208,"km_value":387957622684254.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5788321767123294208,"description":"Unknown IO ID 45"} 
[2026-08-21 10:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545342208001,"power":27800,"unknown_78":206,"unknown_84":6400,"ignition":44,"odometer":null,"unknown_45":-5788321767123294208}} 
[2026-08-21 10:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":160158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:00:36] local.INFO: GPS data processed {"connection_id":160158,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:00:36] local.INFO: Acknowledgment sent {"connection_id":160158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:00:41] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:41] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:41] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:00:42] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:42] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:42] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:00:44] local.INFO: TCP Data received {"connection_id":158972,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:00:44] local.INFO: Processing buffer {"connection_id":158972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:00:44] local.INFO: Packet analysis {"connection_id":158972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:44] local.INFO: Extracted packet for processing {"connection_id":158972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158972,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:00:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:00:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":158972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:00:44] local.INFO: GPS data processed {"connection_id":158972,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:00:44] local.INFO: Acknowledgment sent {"connection_id":158972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:00:46] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:46] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:00:46] local.INFO: IMEI packet received {"connection_id":160159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":160159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:00:46] local.INFO: TCP Data received {"connection_id":160159,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02294f6d8012db15ac00548ae78001a004a2f..."} 
[2026-08-21 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02294f6d8012db15ac00548ae78001a004a2f..."} 
[2026-08-21 10:00:46] local.INFO: Processing buffer {"connection_id":160159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02294f6d8012db15ac00548ae78001a004a2f..."} 
[2026-08-21 10:00:46] local.INFO: Packet analysis {"connection_id":160159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:46] local.INFO: Extracted packet for processing {"connection_id":160159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":766597824,"raw_latitude":88649336,"longitude_deg":76.6597824,"latitude_deg":8.8649336,"altitude":26,"angle":74,"satellites":47,"speed":59,"hex_longitude":"2db15ac0","hex_latitude":"0548ae78","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545363968001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":387962570486579200,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5675168826490494976,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787286583000,"timestamp_ms":1787286583000,"timestamp_seconds":1787286583,"priority":1,"record_length":96,"hex_timestamp":"000001a02294f6d8"} 
[2026-08-21 10:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 10:00:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":160159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":160159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":160159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545363968001,"66":27876,"78":206,"84":6400,"24":59,"16":387962570486579200,"45":-5675168826490494976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 10:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545363968001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:00:46] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 10:00:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 10:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":387962570486579200,"km_value":387962570486579.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5675168826490494976,"description":"Unknown IO ID 45"} 
[2026-08-21 10:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545363968001,"power":27876,"unknown_78":206,"unknown_84":6400,"ignition":59,"odometer":null,"unknown_45":-5675168826490494976}} 
[2026-08-21 10:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":160159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:00:46] local.INFO: GPS data processed {"connection_id":160159,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:00:46] local.INFO: Acknowledgment sent {"connection_id":160159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:00:55] local.INFO: TCP Data received {"connection_id":161504,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:00:55] local.INFO: Processing buffer {"connection_id":161504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:00:55] local.INFO: Packet analysis {"connection_id":161504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:55] local.INFO: Extracted packet for processing {"connection_id":161504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 10:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:00:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:00:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":161504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:00:55] local.INFO: GPS data processed {"connection_id":161504,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:00:55] local.INFO: Acknowledgment sent {"connection_id":161504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:01:06] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:01:06] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:01:06] local.INFO: IMEI packet received {"connection_id":159266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":159266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:01:12] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:01:12] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:01:12] local.INFO: IMEI packet received {"connection_id":159266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":159266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:01:13] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:01:13] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:01:13] local.INFO: Packet analysis {"connection_id":159266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:13] local.INFO: Extracted packet for processing {"connection_id":159266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:01:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:01:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":159266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:01:13] local.INFO: GPS data processed {"connection_id":159266,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:01:13] local.INFO: Acknowledgment sent {"connection_id":159266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:01:23] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:01:23] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:01:23] local.INFO: IMEI packet received {"connection_id":159267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":159267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:01:28] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:01:28] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:01:28] local.INFO: IMEI packet received {"connection_id":159267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":159267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:01:29] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:01:29] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:01:29] local.INFO: Packet analysis {"connection_id":159267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:29] local.INFO: Extracted packet for processing {"connection_id":159267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 10:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:01:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:01:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":159267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:01:29] local.INFO: GPS data processed {"connection_id":159267,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:01:29] local.INFO: Acknowledgment sent {"connection_id":159267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:01:33] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:01:33] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:01:33] local.INFO: Packet analysis {"connection_id":159267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:33] local.INFO: Extracted packet for processing {"connection_id":159267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 10:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:01:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:01:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":159267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:01:33] local.INFO: GPS data processed {"connection_id":159267,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:01:33] local.INFO: Acknowledgment sent {"connection_id":159267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:01:45] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:01:45] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:01:45] local.INFO: Packet analysis {"connection_id":159266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:45] local.INFO: Extracted packet for processing {"connection_id":159266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:01:45] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:01: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-08-21 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:01:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:01:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":159266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:01:45] local.INFO: GPS data processed {"connection_id":159266,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:01:45] local.INFO: Acknowledgment sent {"connection_id":159266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:02:01] local.INFO: TCP Data received {"connection_id":161506,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:02:01] local.INFO: Processing buffer {"connection_id":161506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:02:01] local.INFO: IMEI packet received {"connection_id":161506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":161506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:02:12] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:02:12] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:02:12] local.INFO: IMEI packet received {"connection_id":158974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":158974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:02:17] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:02:17] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:02:17] local.INFO: IMEI packet received {"connection_id":158974,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":158974,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:02:18] local.INFO: TCP Data received {"connection_id":159268,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:18] local.INFO: Processing buffer {"connection_id":159268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:18] local.INFO: IMEI packet received {"connection_id":159268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":159268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:02:18] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:02:18] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:02:18] local.INFO: Packet analysis {"connection_id":158974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:02:18] local.INFO: Extracted packet for processing {"connection_id":158974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:02:18] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:02:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:02:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":158974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:02:18] local.INFO: GPS data processed {"connection_id":158974,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:02:18] local.INFO: Acknowledgment sent {"connection_id":158974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:02:22] local.INFO: TCP Data received {"connection_id":158974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:02:22] local.INFO: Processing buffer {"connection_id":158974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:02:22] local.INFO: Packet analysis {"connection_id":158974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:02:22] local.INFO: Extracted packet for processing {"connection_id":158974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:02:22] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:02: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-08-21 10:02:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:02:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":158974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":158974,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:02:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:02:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":158974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:02:22] local.INFO: GPS data processed {"connection_id":158974,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:02:22] local.INFO: Acknowledgment sent {"connection_id":158974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:02:23] local.INFO: TCP Data received {"connection_id":159268,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:23] local.INFO: Processing buffer {"connection_id":159268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:23] local.INFO: IMEI packet received {"connection_id":159268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":159268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:02:23] local.INFO: TCP Data received {"connection_id":159268,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:02:23] local.INFO: Processing buffer {"connection_id":159268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:02:23] local.INFO: Packet analysis {"connection_id":159268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:02:23] local.INFO: Extracted packet for processing {"connection_id":159268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:02:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:02:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:02:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:02:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:02:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 10:02:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:02:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:02:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:02:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:02:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:02:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:02:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:02:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:02:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:02:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:02:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:02:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:02:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:02:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:02:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:02:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:02:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:02:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:02:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:02:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:02:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":159268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:02:24] local.INFO: GPS data processed {"connection_id":159268,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:02:24] local.INFO: Acknowledgment sent {"connection_id":159268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:02:58] local.INFO: TCP Data received {"connection_id":161507,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:58] local.INFO: Processing buffer {"connection_id":161507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:02:58] local.INFO: IMEI packet received {"connection_id":161507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":161507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:03:07] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:03:07] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:03:07] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:03:12] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:03:12] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:03:12] local.INFO: IMEI packet received {"connection_id":160161,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":160161,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:03:13] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:03:13] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:03:13] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:03:13] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 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-08-21 10:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:03:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:03:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:03:13] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:03:13] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:03:28] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:03:28] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:03:28] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:03:33] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:03:33] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:03:33] local.INFO: IMEI packet received {"connection_id":160162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":160162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:03:34] local.INFO: TCP Data received {"connection_id":160162,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:03:34] local.INFO: Processing buffer {"connection_id":160162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:03:34] local.INFO: Packet analysis {"connection_id":160162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:03:34] local.INFO: Extracted packet for processing {"connection_id":160162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:03:34] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 10:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:03:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:03:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":160162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:03:34] local.INFO: GPS data processed {"connection_id":160162,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:03:34] local.INFO: Acknowledgment sent {"connection_id":160162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:03:44] local.INFO: TCP Data received {"connection_id":160161,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:03:44] local.INFO: Processing buffer {"connection_id":160161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:03:44] local.INFO: Packet analysis {"connection_id":160161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:03:44] local.INFO: Extracted packet for processing {"connection_id":160161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160161,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:03:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:03:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":160161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675182,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:03:44] local.INFO: GPS data processed {"connection_id":160161,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:03:44] local.INFO: Acknowledgment sent {"connection_id":160161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:04:07] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:04:07] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:04:07] local.INFO: IMEI packet received {"connection_id":159269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":159269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:04:12] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:04:12] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:04:12] local.INFO: IMEI packet received {"connection_id":159269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":159269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:04:17] local.INFO: TCP Data received {"connection_id":158976,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:04:17] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:04:17] local.INFO: IMEI packet received {"connection_id":158976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":158976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:04:23] local.INFO: TCP Data received {"connection_id":158976,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:04:23] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:04:23] local.INFO: IMEI packet received {"connection_id":158976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":158976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:04:23] local.INFO: TCP Data received {"connection_id":158976,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:04:23] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022942000012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:04:23] local.INFO: Packet analysis {"connection_id":158976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:04:23] local.INFO: Extracted packet for processing {"connection_id":158976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545274112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286528000,"timestamp_ms":1787286528000,"timestamp_seconds":1787286528,"priority":1,"record_length":96,"hex_timestamp":"000001a022942000"} 
[2026-08-21 10:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:04:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:04:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:04:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545274112001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545274112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:04:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:04:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545274112001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":158976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:04:24] local.INFO: GPS data processed {"connection_id":158976,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:04:24] local.INFO: Acknowledgment sent {"connection_id":158976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:04:50] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:04:50] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022948d60012d7d398005ec1120000500c71d..."} 
[2026-08-21 10:04:50] local.INFO: Packet analysis {"connection_id":159269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:04:50] local.INFO: Extracted packet for processing {"connection_id":159269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02294"} 
[2026-08-21 10:04:50] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":5,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787286556000,"timestamp_ms":1787286556000,"timestamp_seconds":1787286556,"priority":1,"record_length":96,"hex_timestamp":"000001a022948d60"} 
[2026-08-21 10:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545281280001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:04:50] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:04:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545281280001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":159269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:04:50] local.INFO: GPS data processed {"connection_id":159269,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:04:50] local.INFO: Acknowledgment sent {"connection_id":159269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:04:55] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:04:55] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:04:55] local.INFO: Packet analysis {"connection_id":159269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:04:55] local.INFO: Extracted packet for processing {"connection_id":159269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":159269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675185,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:04:55] local.INFO: GPS data processed {"connection_id":159269,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:04:55] local.INFO: Acknowledgment sent {"connection_id":159269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:04:55] local.INFO: TCP Data received {"connection_id":158976,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:04:55] local.INFO: Processing buffer {"connection_id":158976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:04:55] local.INFO: Packet analysis {"connection_id":158976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:04:55] local.INFO: Extracted packet for processing {"connection_id":158976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":158976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:04:55] local.INFO: GPS data processed {"connection_id":158976,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:04:55] local.INFO: Acknowledgment sent {"connection_id":158976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:05:07] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:05:07] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:05:07] local.INFO: IMEI packet received {"connection_id":161508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":161508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:05:12] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:05:12] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:05:12] local.INFO: IMEI packet received {"connection_id":161508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":161508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:05:13] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:05:13] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:05:13] local.INFO: Packet analysis {"connection_id":161508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:05:13] local.INFO: Extracted packet for processing {"connection_id":161508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:05:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:05:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:05:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":161508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675187,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:05:13] local.INFO: GPS data processed {"connection_id":161508,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:05:13] local.INFO: Acknowledgment sent {"connection_id":161508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:05:18] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:05:18] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:05:18] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:05:23] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:05:23] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:05:23] local.INFO: IMEI packet received {"connection_id":160163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":160163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:05:24] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:05:24] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:05:24] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:05:24] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10: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-08-21 10:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10: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-08-21 10:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:05: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-08-21 10:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:05:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:05:24] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:05:24] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:05:45] local.INFO: TCP Data received {"connection_id":161508,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:05:45] local.INFO: Processing buffer {"connection_id":161508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:05:45] local.INFO: Packet analysis {"connection_id":161508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:05:45] local.INFO: Extracted packet for processing {"connection_id":161508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:05:45] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:05: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-08-21 10:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:05:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:05:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":161508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:05:45] local.INFO: GPS data processed {"connection_id":161508,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:05:45] local.INFO: Acknowledgment sent {"connection_id":161508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:05:55] local.INFO: TCP Data received {"connection_id":160163,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:05:55] local.INFO: Processing buffer {"connection_id":160163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:05:55] local.INFO: Packet analysis {"connection_id":160163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:05:55] local.INFO: Extracted packet for processing {"connection_id":160163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:05:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:05:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":160163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:05:55] local.INFO: GPS data processed {"connection_id":160163,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:05:55] local.INFO: Acknowledgment sent {"connection_id":160163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:06:06] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:06:06] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:06:06] local.INFO: IMEI packet received {"connection_id":159270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":159270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:06:12] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:06:12] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:06:12] local.INFO: IMEI packet received {"connection_id":159270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":159270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:06:13] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:06:13] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:06:13] local.INFO: Packet analysis {"connection_id":159270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:06:13] local.INFO: Extracted packet for processing {"connection_id":159270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:06:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:06:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:06:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":159270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:06:13] local.INFO: GPS data processed {"connection_id":159270,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:06:13] local.INFO: Acknowledgment sent {"connection_id":159270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:06:18] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:06:18] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:06:18] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:06:23] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:06:23] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:06:23] local.INFO: IMEI packet received {"connection_id":160164,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":160164,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:06:24] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:06:24] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:06:24] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:06:24] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:06:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:06:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:06:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06: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-08-21 10:06:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:06:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:06:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:06: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-08-21 10:06:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:06:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:06:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:06:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:06:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:06:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:06:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:06:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:06:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:06:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:06:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:06:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:06:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:06:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:06:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:06:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:06:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:06:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:06:24] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:06:24] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:06:24] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:06:44] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:06:44] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:06:44] local.INFO: Packet analysis {"connection_id":159270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:06:44] local.INFO: Extracted packet for processing {"connection_id":159270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:06:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:06:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":159270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:06:44] local.INFO: GPS data processed {"connection_id":159270,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:06:44] local.INFO: Acknowledgment sent {"connection_id":159270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:06:55] local.INFO: TCP Data received {"connection_id":160164,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:06:55] local.INFO: Processing buffer {"connection_id":160164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:06:55] local.INFO: Packet analysis {"connection_id":160164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:06:55] local.INFO: Extracted packet for processing {"connection_id":160164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:06:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:06:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:06:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160164,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:06:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:06:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":160164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:06:55] local.INFO: GPS data processed {"connection_id":160164,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:06:55] local.INFO: Acknowledgment sent {"connection_id":160164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:07:06] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:07:06] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:07:06] local.INFO: IMEI packet received {"connection_id":158977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":158977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:07:12] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:07:12] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:07:12] local.INFO: IMEI packet received {"connection_id":158977,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":158977,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:07:13] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:07:13] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:07:13] local.INFO: Packet analysis {"connection_id":158977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:07:13] local.INFO: Extracted packet for processing {"connection_id":158977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:07:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:07:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":158977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:07:13] local.INFO: GPS data processed {"connection_id":158977,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:07:13] local.INFO: Acknowledgment sent {"connection_id":158977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:07:18] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:07:18] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:07:18] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:07:23] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:07:23] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:07:23] local.INFO: IMEI packet received {"connection_id":161509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":161509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:07:24] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:07:24] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:07:24] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:07:24] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:07:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:07:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:07:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07: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-08-21 10:07:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:07:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:07:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:07: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-08-21 10:07:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:07:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:07:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:07:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:07:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:07:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:07:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:07:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:07:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:07:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:07:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:07:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:07:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:07:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:07:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:07:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:07:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:07:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:07:24] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:07:24] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:07:44] local.INFO: TCP Data received {"connection_id":158977,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:07:44] local.INFO: Processing buffer {"connection_id":158977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:07:44] local.INFO: Packet analysis {"connection_id":158977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:07:44] local.INFO: Extracted packet for processing {"connection_id":158977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:07:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":158977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":158977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":158977,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:07:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:07:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":158977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:07:44] local.INFO: GPS data processed {"connection_id":158977,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:07:44] local.INFO: Acknowledgment sent {"connection_id":158977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:07:55] local.INFO: TCP Data received {"connection_id":161509,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:07:55] local.INFO: Processing buffer {"connection_id":161509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:07:55] local.INFO: Packet analysis {"connection_id":161509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:07:55] local.INFO: Extracted packet for processing {"connection_id":161509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:07:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:07:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:07:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:07:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":161509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:07:55] local.INFO: GPS data processed {"connection_id":161509,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:07:55] local.INFO: Acknowledgment sent {"connection_id":161509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:08:12] local.INFO: TCP Data received {"connection_id":158978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:08:12] local.INFO: Processing buffer {"connection_id":158978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:08:12] local.INFO: IMEI packet received {"connection_id":158978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":158978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:08:17] local.INFO: TCP Data received {"connection_id":158978,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:08:17] local.INFO: Processing buffer {"connection_id":158978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:08:17] local.INFO: IMEI packet received {"connection_id":158978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":158978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:08:17] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:08:17] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:08:17] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:08:18] local.INFO: TCP Data received {"connection_id":158978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:08:18] local.INFO: Processing buffer {"connection_id":158978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:08:18] local.INFO: Packet analysis {"connection_id":158978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:08:18] local.INFO: Extracted packet for processing {"connection_id":158978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:08:18] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":158978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":158978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":158978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:08:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:08:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":158978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:08:18] local.INFO: GPS data processed {"connection_id":158978,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:08:18] local.INFO: Acknowledgment sent {"connection_id":158978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:08:23] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:08:23] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:08:23] local.INFO: IMEI packet received {"connection_id":160165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":160165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:08:23] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:08:23] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:08:23] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:08:23] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:08:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:08:24] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:08:24] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:08:49] local.INFO: TCP Data received {"connection_id":158978,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:08:49] local.INFO: Processing buffer {"connection_id":158978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:08:49] local.INFO: Packet analysis {"connection_id":158978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:08:49] local.INFO: Extracted packet for processing {"connection_id":158978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:08:49] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":158978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":158978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":158978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:08:49] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:08:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":158978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:08:49] local.INFO: GPS data processed {"connection_id":158978,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:08:49] local.INFO: Acknowledgment sent {"connection_id":158978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:08:55] local.INFO: TCP Data received {"connection_id":160165,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:08:55] local.INFO: Processing buffer {"connection_id":160165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:08:55] local.INFO: Packet analysis {"connection_id":160165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:08:55] local.INFO: Extracted packet for processing {"connection_id":160165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:08:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:08:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:08:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:08:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":160165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:08:55] local.INFO: GPS data processed {"connection_id":160165,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:08:55] local.INFO: Acknowledgment sent {"connection_id":160165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:09:07] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:09:07] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:09:07] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:09:12] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:09:12] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:09:12] local.INFO: IMEI packet received {"connection_id":160166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":160166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:09:13] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:09:13] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022992528012d7d398005ec1120000200c721..."} 
[2026-08-21 10:09:13] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:09:13] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02299"} 
[2026-08-21 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":33,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545358336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787286857000,"timestamp_ms":1787286857000,"timestamp_seconds":1787286857,"priority":1,"record_length":96,"hex_timestamp":"000001a022992528"} 
[2026-08-21 10:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545358336001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545358336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:09:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:09:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545358336001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:09:13] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:09:13] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:09:17] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:09:17] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:09:17] local.INFO: IMEI packet received {"connection_id":159271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":159271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:09:23] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:09:23] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:09:23] local.INFO: IMEI packet received {"connection_id":159271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":159271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:09:23] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:09:23] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02298b7c8012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:09:23] local.INFO: Packet analysis {"connection_id":159271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:09:23] local.INFO: Extracted packet for processing {"connection_id":159271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02298"} 
[2026-08-21 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545351168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787286829000,"timestamp_ms":1787286829000,"timestamp_seconds":1787286829,"priority":1,"record_length":96,"hex_timestamp":"000001a02298b7c8"} 
[2026-08-21 10:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545351168001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545351168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:09:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545351168001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":159271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:09:24] local.INFO: GPS data processed {"connection_id":159271,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:09:24] local.INFO: Acknowledgment sent {"connection_id":159271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:09:43] local.INFO: TCP Data received {"connection_id":160166,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:09:43] local.INFO: Processing buffer {"connection_id":160166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:09:43] local.INFO: Packet analysis {"connection_id":160166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:09:43] local.INFO: Extracted packet for processing {"connection_id":160166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:09:43] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:09:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:09:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:09:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:09:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:09:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:09:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:09:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:09:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:09:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:09:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:09:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:09:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:09:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:09:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:09:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:09:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:09:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:09:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:09:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:09:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:09:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:09:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:09:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:09:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":160166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:09:44] local.INFO: GPS data processed {"connection_id":160166,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:09:44] local.INFO: Acknowledgment sent {"connection_id":160166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:09:54] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:09:54] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:09:54] local.INFO: Packet analysis {"connection_id":159271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:09:54] local.INFO: Extracted packet for processing {"connection_id":159271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:09: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-08-21 10:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 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-08-21 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:09:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":159271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:09:54] local.INFO: GPS data processed {"connection_id":159271,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:09:54] local.INFO: Acknowledgment sent {"connection_id":159271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:10:06] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:10:06] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:10:06] local.INFO: IMEI packet received {"connection_id":161510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":161510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:10:12] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:10:12] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:10:12] local.INFO: IMEI packet received {"connection_id":161510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":161510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:10:12] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:10:12] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:10:12] local.INFO: Packet analysis {"connection_id":161510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:12] local.INFO: Extracted packet for processing {"connection_id":161510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:12] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:10:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:10:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":161510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:10:12] local.INFO: GPS data processed {"connection_id":161510,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:10:12] local.INFO: Acknowledgment sent {"connection_id":161510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:10:18] local.INFO: TCP Data received {"connection_id":158979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:10:18] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:10:18] local.INFO: IMEI packet received {"connection_id":158979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":158979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:10:23] local.INFO: TCP Data received {"connection_id":158979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:10:23] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:10:23] local.INFO: IMEI packet received {"connection_id":158979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":158979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:10:23] local.INFO: TCP Data received {"connection_id":158979,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:10:23] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:10:23] local.INFO: Packet analysis {"connection_id":158979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:23] local.INFO: Extracted packet for processing {"connection_id":158979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:10:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:10:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:10:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:10:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":158979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:10:24] local.INFO: GPS data processed {"connection_id":158979,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:10:24] local.INFO: Acknowledgment sent {"connection_id":158979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:10:44] local.INFO: TCP Data received {"connection_id":161510,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:10:44] local.INFO: Processing buffer {"connection_id":161510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:10:44] local.INFO: Packet analysis {"connection_id":161510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:44] local.INFO: Extracted packet for processing {"connection_id":161510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 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-08-21 10:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:10:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:10:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":161510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:10:44] local.INFO: GPS data processed {"connection_id":161510,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:10:44] local.INFO: Acknowledgment sent {"connection_id":161510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:10:55] local.INFO: TCP Data received {"connection_id":158979,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:10:55] local.INFO: Processing buffer {"connection_id":158979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:10:55] local.INFO: Packet analysis {"connection_id":158979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:55] local.INFO: Extracted packet for processing {"connection_id":158979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:10:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:10:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":158979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:10:55] local.INFO: GPS data processed {"connection_id":158979,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:10:55] local.INFO: Acknowledgment sent {"connection_id":158979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:10:55] local.INFO: TCP Data received {"connection_id":159272,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:10:55] local.INFO: Processing buffer {"connection_id":159272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:10:55] local.INFO: IMEI packet received {"connection_id":159272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":159272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:10:57] local.INFO: TCP Data received {"connection_id":159272,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:10:57] local.INFO: Processing buffer {"connection_id":159272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:10:57] local.INFO: IMEI packet received {"connection_id":159272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":159272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:11:06] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:11:06] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:11:06] local.INFO: IMEI packet received {"connection_id":161511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":161511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:11:12] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:11:12] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:11:12] local.INFO: IMEI packet received {"connection_id":161511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":161511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:11:13] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:11:13] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:11:13] local.INFO: Packet analysis {"connection_id":161511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:13] local.INFO: Extracted packet for processing {"connection_id":161511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:11:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:11:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":161511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:11:13] local.INFO: GPS data processed {"connection_id":161511,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:11:13] local.INFO: Acknowledgment sent {"connection_id":161511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:11:18] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:11:18] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:11:18] local.INFO: IMEI packet received {"connection_id":161512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":161512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:11:23] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:11:23] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:11:23] local.INFO: IMEI packet received {"connection_id":161512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":161512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:11:23] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:11:23] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:11:23] local.INFO: Packet analysis {"connection_id":161512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:23] local.INFO: Extracted packet for processing {"connection_id":161512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":161512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:11:24] local.INFO: GPS data processed {"connection_id":161512,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:11:24] local.INFO: Acknowledgment sent {"connection_id":161512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:11:44] local.INFO: TCP Data received {"connection_id":161511,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:11:44] local.INFO: Processing buffer {"connection_id":161511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:11:44] local.INFO: Packet analysis {"connection_id":161511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:44] local.INFO: Extracted packet for processing {"connection_id":161511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:11:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:11:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:11:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:11:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:11:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:11:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":161511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:11:44] local.INFO: GPS data processed {"connection_id":161511,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:11:44] local.INFO: Acknowledgment sent {"connection_id":161511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:11:55] local.INFO: TCP Data received {"connection_id":161512,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:11:55] local.INFO: Processing buffer {"connection_id":161512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:11:55] local.INFO: Packet analysis {"connection_id":161512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:55] local.INFO: Extracted packet for processing {"connection_id":161512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:11:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:11:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:11:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":161512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:11:55] local.INFO: GPS data processed {"connection_id":161512,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:11:55] local.INFO: Acknowledgment sent {"connection_id":161512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:12:07] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:12:07] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:12:07] local.INFO: IMEI packet received {"connection_id":161513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":161513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:12:12] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:12:12] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:12:12] local.INFO: IMEI packet received {"connection_id":161513,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":161513,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:12:13] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:12:13] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:12:13] local.INFO: Packet analysis {"connection_id":161513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:13] local.INFO: Extracted packet for processing {"connection_id":161513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:12:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:12:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":161513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:12:13] local.INFO: GPS data processed {"connection_id":161513,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:12:13] local.INFO: Acknowledgment sent {"connection_id":161513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:12:17] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:12:17] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:12:17] local.INFO: IMEI packet received {"connection_id":159273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":159273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:12:23] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:12:23] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:12:23] local.INFO: IMEI packet received {"connection_id":159273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":159273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:12:23] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:12:23] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:12:23] local.INFO: Packet analysis {"connection_id":159273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:23] local.INFO: Extracted packet for processing {"connection_id":159273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:12:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:12:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:12:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":159273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:12:24] local.INFO: GPS data processed {"connection_id":159273,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:12:24] local.INFO: Acknowledgment sent {"connection_id":159273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:12:44] local.INFO: TCP Data received {"connection_id":161513,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:12:44] local.INFO: Processing buffer {"connection_id":161513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:12:44] local.INFO: Packet analysis {"connection_id":161513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:44] local.INFO: Extracted packet for processing {"connection_id":161513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161513,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:12:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:12:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":161513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:12:44] local.INFO: GPS data processed {"connection_id":161513,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:12:44] local.INFO: Acknowledgment sent {"connection_id":161513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:12:55] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:12:55] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:12:55] local.INFO: Packet analysis {"connection_id":159273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:55] local.INFO: Extracted packet for processing {"connection_id":159273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:12:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:12:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:12:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:12:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:12:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:12:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:12:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:12:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:12:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:12:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:12:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:12:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:12:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:12:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:12:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:12:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:12:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:12:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:12:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":159273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:12:55] local.INFO: GPS data processed {"connection_id":159273,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:12:55] local.INFO: Acknowledgment sent {"connection_id":159273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:13:12] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:13:12] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:13:12] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:13:17] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:13:17] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:13:17] local.INFO: IMEI packet received {"connection_id":160167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":160167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:13:17] local.INFO: TCP Data received {"connection_id":158980,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:13:17] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:13:17] local.INFO: IMEI packet received {"connection_id":158980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":158980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:13:18] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:13:18] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:13:18] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:18] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:18] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:13: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-08-21 10:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:13:18] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:13:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:13:18] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:13:18] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:13:22] local.INFO: TCP Data received {"connection_id":160167,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:13:22] local.INFO: Processing buffer {"connection_id":160167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:13:22] local.INFO: Packet analysis {"connection_id":160167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:22] local.INFO: Extracted packet for processing {"connection_id":160167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:22] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:13:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:13:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":160167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:13:22] local.INFO: GPS data processed {"connection_id":160167,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:13:22] local.INFO: Acknowledgment sent {"connection_id":160167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:13:23] local.INFO: TCP Data received {"connection_id":158980,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:13:23] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:13:23] local.INFO: IMEI packet received {"connection_id":158980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":158980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:13:24] local.INFO: TCP Data received {"connection_id":158980,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:13:24] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:13:24] local.INFO: Packet analysis {"connection_id":158980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:24] local.INFO: Extracted packet for processing {"connection_id":158980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13: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-08-21 10:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:13: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-08-21 10:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:13: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-08-21 10:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:13: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-08-21 10:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:13:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:13:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":158980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:13:24] local.INFO: GPS data processed {"connection_id":158980,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:13:24] local.INFO: Acknowledgment sent {"connection_id":158980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:13:55] local.INFO: TCP Data received {"connection_id":158980,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:13:55] local.INFO: Processing buffer {"connection_id":158980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:13:55] local.INFO: Packet analysis {"connection_id":158980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:55] local.INFO: Extracted packet for processing {"connection_id":158980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:13:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:13:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:13:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:13:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:13:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:13:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:13:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:13:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:13:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:13:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:13:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:13:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:13:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:13:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:13:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:13:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:13:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:13:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:13:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:13:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:13:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:13:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:13:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:13:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:13:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:13:55] local.INFO: DEBUG: GPS processor result {"connection_id":158980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:13:55] local.INFO: GPS data processed {"connection_id":158980,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:13:55] local.INFO: Acknowledgment sent {"connection_id":158980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:14:07] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:14:07] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:14:07] local.INFO: IMEI packet received {"connection_id":159274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":159274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:14:12] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:14:12] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:14:12] local.INFO: IMEI packet received {"connection_id":159274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":159274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:14:13] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:14:13] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229dbcf0012d7d398005ec1120000200c71b..."} 
[2026-08-21 10:14:13] local.INFO: Packet analysis {"connection_id":159274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:14:13] local.INFO: Extracted packet for processing {"connection_id":159274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:14:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":27,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287158000,"timestamp_ms":1787287158000,"timestamp_seconds":1787287158,"priority":1,"record_length":96,"hex_timestamp":"000001a0229dbcf0"} 
[2026-08-21 10:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545435392001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:14:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:14:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545435392001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":159274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:14:13] local.INFO: GPS data processed {"connection_id":159274,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:14:13] local.INFO: Acknowledgment sent {"connection_id":159274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:14:23] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:14:23] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:14:23] local.INFO: IMEI packet received {"connection_id":158981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":158981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:14:28] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:14:28] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:14:28] local.INFO: IMEI packet received {"connection_id":158981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":158981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:14:29] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:14:29] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0229d4f90012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:14:29] local.INFO: Packet analysis {"connection_id":158981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:14:29] local.INFO: Extracted packet for processing {"connection_id":158981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0229d"} 
[2026-08-21 10:14:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545428224001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787287130000,"timestamp_ms":1787287130000,"timestamp_seconds":1787287130,"priority":1,"record_length":96,"hex_timestamp":"000001a0229d4f90"} 
[2026-08-21 10:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":158981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545428224001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545428224001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:14:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:14:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545428224001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":158981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:14:29] local.INFO: GPS data processed {"connection_id":158981,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:14:29] local.INFO: Acknowledgment sent {"connection_id":158981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:14:30] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:14:30] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:14:30] local.INFO: Packet analysis {"connection_id":158981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:14:30] local.INFO: Extracted packet for processing {"connection_id":158981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:14:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:14:30] 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-08-21 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":158981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":158981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:14:30] local.INFO: GPS data processed {"connection_id":158981,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:14:30] local.INFO: Acknowledgment sent {"connection_id":158981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:14:45] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:14:45] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:14:45] local.INFO: Packet analysis {"connection_id":159274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:14:45] local.INFO: Extracted packet for processing {"connection_id":159274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:14:45] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:14:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:14:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":159274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:14:45] local.INFO: GPS data processed {"connection_id":159274,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:14:45] local.INFO: Acknowledgment sent {"connection_id":159274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:15:01] local.INFO: TCP Data received {"connection_id":158981,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:01] local.INFO: Processing buffer {"connection_id":158981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:01] local.INFO: Packet analysis {"connection_id":158981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:15:01] local.INFO: Extracted packet for processing {"connection_id":158981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:15:01] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:15:01] 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-08-21 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":158981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":158981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:15:01] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:15:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":158981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:15:01] local.INFO: GPS data processed {"connection_id":158981,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:15:01] local.INFO: Acknowledgment sent {"connection_id":158981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:15:07] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:15:07] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:15:07] local.INFO: IMEI packet received {"connection_id":161514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":161514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:15:12] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:15:12] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:15:12] local.INFO: IMEI packet received {"connection_id":161514,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":161514,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:15:13] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:15:13] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:15:13] local.INFO: Packet analysis {"connection_id":161514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:15:13] local.INFO: Extracted packet for processing {"connection_id":161514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:15:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:15:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":161514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:15:13] local.INFO: GPS data processed {"connection_id":161514,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:15:13] local.INFO: Acknowledgment sent {"connection_id":161514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:15:18] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:15:18] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:15:18] local.INFO: IMEI packet received {"connection_id":159275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":159275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:15:23] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:15:23] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:15:23] local.INFO: IMEI packet received {"connection_id":159275,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":159275,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:15:23] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:23] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:23] local.INFO: Packet analysis {"connection_id":159275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:15:23] local.INFO: Extracted packet for processing {"connection_id":159275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:15:23] 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-08-21 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":159275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:15:24] local.INFO: GPS data processed {"connection_id":159275,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:15:24] local.INFO: Acknowledgment sent {"connection_id":159275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:15:44] local.INFO: TCP Data received {"connection_id":161514,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:15:44] local.INFO: Processing buffer {"connection_id":161514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:15:44] local.INFO: Packet analysis {"connection_id":161514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:15:44] local.INFO: Extracted packet for processing {"connection_id":161514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:15:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161514,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:15:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:15:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":161514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:15:44] local.INFO: GPS data processed {"connection_id":161514,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:15:44] local.INFO: Acknowledgment sent {"connection_id":161514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:15:55] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:55] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:15:55] local.INFO: Packet analysis {"connection_id":159275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:15:55] local.INFO: Extracted packet for processing {"connection_id":159275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:15:55] 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-08-21 10:15:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159275,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:15:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:15:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":159275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:15:55] local.INFO: GPS data processed {"connection_id":159275,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:15:55] local.INFO: Acknowledgment sent {"connection_id":159275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:16:07] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:16:07] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:16:07] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:16:12] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:16:12] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:16:12] local.INFO: IMEI packet received {"connection_id":160168,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":160168,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:16:13] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:16:13] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:16:13] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:16:13] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:16:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:16:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:16:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675232,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:16:13] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:16:13] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:16:18] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:18] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:18] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:16:18] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:16:18] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:16:18] local.INFO: IMEI packet received {"connection_id":159276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":159276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:16:21] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:21] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:21] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:16:23] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:16:23] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:16:23] local.INFO: IMEI packet received {"connection_id":159276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":159276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:16:23] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:23] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:16:23] local.INFO: IMEI packet received {"connection_id":160169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":160169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:16:23] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:16:23] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:16:23] local.INFO: Packet analysis {"connection_id":159276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:16:23] local.INFO: Extracted packet for processing {"connection_id":159276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:16:23] 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-08-21 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:16:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:16:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":159276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:16:24] local.INFO: GPS data processed {"connection_id":159276,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:16:24] local.INFO: Acknowledgment sent {"connection_id":159276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:16:24] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.60.93","data_length":795,"data_hex":"000000000000030f8e0a000001a022a33360012dbdb08005442fd8003f00802f..."} 
[2026-08-21 10:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a33360012dbdb08005442fd8003f00802f..."} 
[2026-08-21 10:16:24] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a33360012dbdb08005442fd8003f00802f..."} 
[2026-08-21 10:16:24] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a3"} 
[2026-08-21 10:16:24] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a3"} 
[2026-08-21 10:16:24] local.INFO: GPS Element Parsed {"raw_longitude":767406208,"raw_latitude":88354776,"longitude_deg":76.7406208,"latitude_deg":8.8354776,"altitude":63,"angle":128,"satellites":47,"speed":57,"hex_longitude":"2dbdb080","hex_latitude":"05442fd8","is_valid_coordinates":true} 
[2026-08-21 10:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:16:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545602816001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388008732795076608,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4783667206577467392,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:16:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787287516000,"timestamp_ms":1787287516000,"timestamp_seconds":1787287516,"priority":1,"record_length":96,"hex_timestamp":"000001a022a33360"} 
[2026-08-21 10:16:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10: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-08-21 10:16:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:16:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:16:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:16:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:16:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:16:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:16:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:16:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:16:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.60.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:16:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:16:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:16:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545602816001,"66":27908,"142":206,"9":26112,"24":57,"16":388008732795076608,"45":-4783667206577467392},"client_ip":"117.224.60.93","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,9,24,16,45]} 
[2026-08-21 10:16:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:16:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:16:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545602816001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:16:24] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-21 10:16:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:16:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388008732795076608,"km_value":388008732795076.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:16:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4783667206577467392,"description":"Unknown IO ID 45"} 
[2026-08-21 10:16:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545602816001,"power":27908,"unknown_142":206,"unknown_9":26112,"ignition":57,"odometer":null,"unknown_45":-4783667206577467392}} 
[2026-08-21 10:16:24] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:16:24] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:16:24] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:16:44] local.INFO: TCP Data received {"connection_id":160168,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:16:44] local.INFO: Processing buffer {"connection_id":160168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:16:44] local.INFO: Packet analysis {"connection_id":160168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:16:44] local.INFO: Extracted packet for processing {"connection_id":160168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:16:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160168,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:16:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:16:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":160168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:16:44] local.INFO: GPS data processed {"connection_id":160168,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:16:44] local.INFO: Acknowledgment sent {"connection_id":160168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:16:55] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:16:55] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:16:55] local.INFO: Packet analysis {"connection_id":159276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:16:55] local.INFO: Extracted packet for processing {"connection_id":159276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:16:55] 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-08-21 10:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":159276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:16:55] local.INFO: GPS data processed {"connection_id":159276,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:16:55] local.INFO: Acknowledgment sent {"connection_id":159276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:16:55] local.INFO: TCP Data received {"connection_id":160169,"ip":"117.224.60.93","data_length":795,"data_hex":"000000000000030f8e0a000001a022a346e8012dbdc8c005442138003f00732d..."} 
[2026-08-21 10:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a346e8012dbdc8c005442138003f00732d..."} 
[2026-08-21 10:16:55] local.INFO: Processing buffer {"connection_id":160169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a346e8012dbdc8c005442138003f00732d..."} 
[2026-08-21 10:16:55] local.INFO: Packet analysis {"connection_id":160169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a3"} 
[2026-08-21 10:16:55] local.INFO: Extracted packet for processing {"connection_id":160169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a3"} 
[2026-08-21 10:16:55] local.INFO: GPS Element Parsed {"raw_longitude":767412416,"raw_latitude":88351032,"longitude_deg":76.7412416,"latitude_deg":8.8351032,"altitude":63,"angle":115,"satellites":45,"speed":57,"hex_longitude":"2dbdc8c0","hex_latitude":"05442138","is_valid_coordinates":true} 
[2026-08-21 10:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545604096001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388009080687427584,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4778178444532918272,"note":"Value kept but may cause issues"} 
[2026-08-21 10:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287521000,"timestamp_ms":1787287521000,"timestamp_seconds":1787287521,"priority":1,"record_length":96,"hex_timestamp":"000001a022a346e8"} 
[2026-08-21 10:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10: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-08-21 10:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.60.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545604096001,"66":27745,"140":206,"9":26112,"24":57,"16":388009080687427584,"45":-4778178444532918272},"client_ip":"117.224.60.93","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,45]} 
[2026-08-21 10:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545604096001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388009080687427584,"km_value":388009080687427.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4778178444532918272,"description":"Unknown IO ID 45"} 
[2026-08-21 10:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545604096001,"power":27745,"unknown_140":206,"unknown_9":26112,"ignition":57,"odometer":null,"unknown_45":-4778178444532918272}} 
[2026-08-21 10:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":160169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:16:55] local.INFO: GPS data processed {"connection_id":160169,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:16:55] local.INFO: Acknowledgment sent {"connection_id":160169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:17:06] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:17:06] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:17:06] local.INFO: IMEI packet received {"connection_id":161515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":161515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:17:12] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:17:12] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:17:12] local.INFO: IMEI packet received {"connection_id":161515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":161515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:17:12] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:17:12] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:17:12] local.INFO: Packet analysis {"connection_id":161515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:17:12] local.INFO: Extracted packet for processing {"connection_id":161515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:17:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:17:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:17:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":161515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:17:13] local.INFO: GPS data processed {"connection_id":161515,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:17:13] local.INFO: Acknowledgment sent {"connection_id":161515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:17:17] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:17:17] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:17:17] local.INFO: IMEI packet received {"connection_id":158982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":158982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:17:23] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:17:23] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:17:23] local.INFO: IMEI packet received {"connection_id":158982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":158982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:17:23] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:17:23] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:17:23] local.INFO: Packet analysis {"connection_id":158982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:17:23] local.INFO: Extracted packet for processing {"connection_id":158982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:17:23] 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-08-21 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":158982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:17:24] local.INFO: GPS data processed {"connection_id":158982,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:17:24] local.INFO: Acknowledgment sent {"connection_id":158982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:17:26] local.INFO: TCP Data received {"connection_id":159277,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:17:26] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:17:26] local.INFO: IMEI packet received {"connection_id":159277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":159277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:17:29] local.INFO: TCP Data received {"connection_id":159277,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:17:29] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:17:29] local.INFO: IMEI packet received {"connection_id":159277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":159277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:17:30] local.INFO: TCP Data received {"connection_id":159277,"ip":"117.224.60.93","data_length":795,"data_hex":"000000000000030f8e0a000001a022a45088012dbecb80054317980036009031..."} 
[2026-08-21 10:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a45088012dbecb80054317980036009031..."} 
[2026-08-21 10:17:30] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a45088012dbecb80054317980036009031..."} 
[2026-08-21 10:17:30] local.INFO: Packet analysis {"connection_id":159277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a4"} 
[2026-08-21 10:17:30] local.INFO: Extracted packet for processing {"connection_id":159277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a4"} 
[2026-08-21 10:17:30] local.INFO: GPS Element Parsed {"raw_longitude":767478656,"raw_latitude":88283032,"longitude_deg":76.7478656,"latitude_deg":8.8283032,"altitude":54,"angle":144,"satellites":49,"speed":56,"hex_longitude":"2dbecb80","hex_latitude":"05431798","is_valid_coordinates":true} 
[2026-08-21 10:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545620992001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388013891050799104,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4703939419441543168,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787287589000,"timestamp_ms":1787287589000,"timestamp_seconds":1787287589,"priority":1,"record_length":96,"hex_timestamp":"000001a022a45088"} 
[2026-08-21 10:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:17: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-08-21 10:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.60.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545620992001,"66":27713,"140":206,"9":26112,"24":56,"16":388013891050799104,"45":-4703939419441543168},"client_ip":"117.224.60.93","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,45]} 
[2026-08-21 10:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545620992001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:17:30] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 10:17:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388013891050799104,"km_value":388013891050799.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4703939419441543168,"description":"Unknown IO ID 45"} 
[2026-08-21 10:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545620992001,"power":27713,"unknown_140":206,"unknown_9":26112,"ignition":56,"odometer":null,"unknown_45":-4703939419441543168}} 
[2026-08-21 10:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":159277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:17:30] local.INFO: GPS data processed {"connection_id":159277,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:17:30] local.INFO: Acknowledgment sent {"connection_id":159277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:17:44] local.INFO: TCP Data received {"connection_id":161515,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:17:44] local.INFO: Processing buffer {"connection_id":161515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:17:44] local.INFO: Packet analysis {"connection_id":161515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:17:44] local.INFO: Extracted packet for processing {"connection_id":161515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:17:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 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-08-21 10:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:17:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 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-08-21 10:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:17:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:17:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:17:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":161515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:17:44] local.INFO: GPS data processed {"connection_id":161515,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:17:44] local.INFO: Acknowledgment sent {"connection_id":161515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:17:54] local.INFO: TCP Data received {"connection_id":158982,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:17:54] local.INFO: Processing buffer {"connection_id":158982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:17:54] local.INFO: Packet analysis {"connection_id":158982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:17:54] local.INFO: Extracted packet for processing {"connection_id":158982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:17: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-08-21 10:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:17:54] 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-08-21 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:17:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":158982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:17:54] local.INFO: GPS data processed {"connection_id":158982,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:17:54] local.INFO: Acknowledgment sent {"connection_id":158982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:18:01] local.INFO: TCP Data received {"connection_id":159277,"ip":"117.224.60.93","data_length":795,"data_hex":"000000000000030f8e0a000001a022a46be0012dbee4c00542fa18003500872f..."} 
[2026-08-21 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a46be0012dbee4c00542fa18003500872f..."} 
[2026-08-21 10:18:01] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a46be0012dbee4c00542fa18003500872f..."} 
[2026-08-21 10:18:01] local.INFO: Packet analysis {"connection_id":159277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a4"} 
[2026-08-21 10:18:01] local.INFO: Extracted packet for processing {"connection_id":159277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a4"} 
[2026-08-21 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":767485120,"raw_latitude":88275480,"longitude_deg":76.748512,"latitude_deg":8.827548,"altitude":53,"angle":135,"satellites":47,"speed":55,"hex_longitude":"2dbee4c0","hex_latitude":"0542fa18","is_valid_coordinates":true} 
[2026-08-21 10:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545622784001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388014372087136256,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4698521026142169088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787287596000,"timestamp_ms":1787287596000,"timestamp_seconds":1787287596,"priority":1,"record_length":96,"hex_timestamp":"000001a022a46be0"} 
[2026-08-21 10:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 10:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.60.93","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545622784001,"66":27039,"140":206,"9":26112,"24":55,"16":388014372087136256,"45":-4698521026142169088},"client_ip":"117.224.60.93","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,9,24,16,45]} 
[2026-08-21 10:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545622784001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:18:01] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 10:18:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388014372087136256,"km_value":388014372087136.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4698521026142169088,"description":"Unknown IO ID 45"} 
[2026-08-21 10:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545622784001,"power":27039,"unknown_140":206,"unknown_9":26112,"ignition":55,"odometer":null,"unknown_45":-4698521026142169088}} 
[2026-08-21 10:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":159277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:18:01] local.INFO: GPS data processed {"connection_id":159277,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:18:01] local.INFO: Acknowledgment sent {"connection_id":159277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:18:06] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:18:06] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:18:06] local.INFO: IMEI packet received {"connection_id":161516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":161516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:18:12] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:18:12] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:18:12] local.INFO: IMEI packet received {"connection_id":161516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":161516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:18:15] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:18:15] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:18:15] local.INFO: Packet analysis {"connection_id":161516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:18:15] local.INFO: Extracted packet for processing {"connection_id":161516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:18:15] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:18:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:18:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 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-08-21 10:18:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:18:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:18:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:18:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:18:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:18:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:18:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:18:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:18:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:18:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:18:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:18:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:18:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:18:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:18:15] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:18:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:18:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:18:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":161516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:18:15] local.INFO: GPS data processed {"connection_id":161516,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:18:15] local.INFO: Acknowledgment sent {"connection_id":161516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:18:23] local.INFO: TCP Data received {"connection_id":159278,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:18:23] local.INFO: Processing buffer {"connection_id":159278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:18:23] local.INFO: IMEI packet received {"connection_id":159278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":159278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:18:28] local.INFO: TCP Data received {"connection_id":159278,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:18:28] local.INFO: Processing buffer {"connection_id":159278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:18:28] local.INFO: IMEI packet received {"connection_id":159278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":159278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:18:29] local.INFO: TCP Data received {"connection_id":159278,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:18:29] local.INFO: Processing buffer {"connection_id":159278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:18:29] local.INFO: Packet analysis {"connection_id":159278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:18:29] local.INFO: Extracted packet for processing {"connection_id":159278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:18:29] 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-08-21 10:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:18:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:18:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":159278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:18:29] local.INFO: GPS data processed {"connection_id":159278,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:18:29] local.INFO: Acknowledgment sent {"connection_id":159278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:18:31] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:31] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:31] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:18:33] local.INFO: TCP Data received {"connection_id":159278,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:18:33] local.INFO: Processing buffer {"connection_id":159278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:18:33] local.INFO: Packet analysis {"connection_id":159278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:18:33] local.INFO: Extracted packet for processing {"connection_id":159278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:18:33] 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-08-21 10:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:18:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:18:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":159278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:18:33] local.INFO: GPS data processed {"connection_id":159278,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:18:33] local.INFO: Acknowledgment sent {"connection_id":159278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:18:39] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:39] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:39] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:18:40] local.INFO: TCP Data received {"connection_id":160170,"ip":"117.224.60.93","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:40] local.INFO: Processing buffer {"connection_id":160170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:18:40] local.INFO: IMEI packet received {"connection_id":160170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":160170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:18:48] local.INFO: TCP Data received {"connection_id":161516,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:18:48] local.INFO: Processing buffer {"connection_id":161516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:18:48] local.INFO: Packet analysis {"connection_id":161516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:18:48] local.INFO: Extracted packet for processing {"connection_id":161516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:18:48] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:18:48] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:18:48] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":161516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:18:49] local.INFO: GPS data processed {"connection_id":161516,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:18:49] local.INFO: Acknowledgment sent {"connection_id":161516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:19:12] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:19:12] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:19:12] local.INFO: IMEI packet received {"connection_id":160171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":160171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:19:17] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:19:17] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:19:17] local.INFO: IMEI packet received {"connection_id":160171,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":160171,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:19:17] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:19:17] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:19:17] local.INFO: Packet analysis {"connection_id":160171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:19:17] local.INFO: Extracted packet for processing {"connection_id":160171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:19:17] 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-08-21 10:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:19:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:19:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":160171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:19:18] local.INFO: GPS data processed {"connection_id":160171,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:19:18] local.INFO: Acknowledgment sent {"connection_id":160171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:19:18] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:19:18] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:19:18] local.INFO: IMEI packet received {"connection_id":159279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":159279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:19:22] local.INFO: TCP Data received {"connection_id":160171,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:19:22] local.INFO: Processing buffer {"connection_id":160171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a254b8012d7d398005ec1120000200c71f..."} 
[2026-08-21 10:19:22] local.INFO: Packet analysis {"connection_id":160171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:19:22] local.INFO: Extracted packet for processing {"connection_id":160171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a2"} 
[2026-08-21 10:19:22] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":2,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545512448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787287459000,"timestamp_ms":1787287459000,"timestamp_seconds":1787287459,"priority":1,"record_length":96,"hex_timestamp":"000001a022a254b8"} 
[2026-08-21 10:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:19:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160171,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:19:22] 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-08-21 10:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545512448001,"66":2242,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545512448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:19:22] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:19:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545512448001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":160171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:19:23] local.INFO: GPS data processed {"connection_id":160171,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:19:23] local.INFO: Acknowledgment sent {"connection_id":160171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:19:23] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:19:23] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:19:23] local.INFO: IMEI packet received {"connection_id":159279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":159279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:19:24] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:19:24] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a1e758012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:19:24] local.INFO: Packet analysis {"connection_id":159279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:19:24] local.INFO: Extracted packet for processing {"connection_id":159279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a1"} 
[2026-08-21 10:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545505280001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19: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-08-21 10:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787287431000,"timestamp_ms":1787287431000,"timestamp_seconds":1787287431,"priority":1,"record_length":96,"hex_timestamp":"000001a022a1e758"} 
[2026-08-21 10:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:19: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-08-21 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:19: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-08-21 10:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:19: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-08-21 10:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545505280001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545505280001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:19:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545505280001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":159279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:19:24] local.INFO: GPS data processed {"connection_id":159279,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:19:24] local.INFO: Acknowledgment sent {"connection_id":159279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:19:48] local.INFO: TCP Data received {"connection_id":161517,"ip":"117.225.229.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:48] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:48] local.INFO: IMEI packet received {"connection_id":161517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":161517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:19:52] local.INFO: TCP Data received {"connection_id":161517,"ip":"117.225.229.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:52] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:52] local.INFO: IMEI packet received {"connection_id":161517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":161517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:19:53] local.INFO: TCP Data received {"connection_id":161517,"ip":"117.225.229.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:53] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:19:53] local.INFO: IMEI packet received {"connection_id":161517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":161517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:19:54] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:19:54] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:19:54] local.INFO: Packet analysis {"connection_id":159279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:19:54] local.INFO: Extracted packet for processing {"connection_id":159279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19: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-08-21 10:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 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-08-21 10:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:19:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":159279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:19:54] local.INFO: GPS data processed {"connection_id":159279,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:19:54] local.INFO: Acknowledgment sent {"connection_id":159279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:19:55] local.INFO: TCP Data received {"connection_id":161517,"ip":"117.225.229.57","data_length":795,"data_hex":"000000000000030f8e0a000001a022a62160012dc0008005416010003700922a..."} 
[2026-08-21 10:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a62160012dc0008005416010003700922a..."} 
[2026-08-21 10:19:55] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a62160012dc0008005416010003700922a..."} 
[2026-08-21 10:19:55] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:19:55] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":767557760,"raw_latitude":88170512,"longitude_deg":76.755776,"latitude_deg":8.8170512,"altitude":55,"angle":146,"satellites":42,"speed":59,"hex_longitude":"2dc00080","hex_latitude":"05416010","is_valid_coordinates":true} 
[2026-08-21 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545651712001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388019225400180736,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4616893282922946560,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287708000,"timestamp_ms":1787287708000,"timestamp_seconds":1787287708,"priority":1,"record_length":96,"hex_timestamp":"000001a022a62160"} 
[2026-08-21 10:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 10:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:19:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.229.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545651712001,"66":27843,"70":206,"9":26112,"24":59,"16":388019225400180736,"45":-4616893282922946560},"client_ip":"117.225.229.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,9,24,16,45]} 
[2026-08-21 10:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545651712001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:19:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-21 10:19:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388019225400180736,"km_value":388019225400180.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4616893282922946560,"description":"Unknown IO ID 45"} 
[2026-08-21 10:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545651712001,"power":27843,"unknown_70":206,"unknown_9":26112,"ignition":59,"odometer":null,"unknown_45":-4616893282922946560}} 
[2026-08-21 10:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:19:55] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:19:55] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:19:59] local.INFO: TCP Data received {"connection_id":161517,"ip":"117.225.229.57","data_length":795,"data_hex":"000000000000030f8e0a000001a022a63cb8012dc0154005413f300039009331..."} 
[2026-08-21 10:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a63cb8012dc0154005413f300039009331..."} 
[2026-08-21 10:19:59] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a63cb8012dc0154005413f300039009331..."} 
[2026-08-21 10:19:59] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:19:59] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:19:59] local.INFO: GPS Element Parsed {"raw_longitude":767563072,"raw_latitude":88162096,"longitude_deg":76.7563072,"latitude_deg":8.8162096,"altitude":57,"angle":147,"satellites":49,"speed":54,"hex_longitude":"2dc01540","hex_latitude":"05413f30","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545653248001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388019706436517888,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4611545258367381504,"note":"Value kept but may cause issues"} 
[2026-08-21 10:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787287715000,"timestamp_ms":1787287715000,"timestamp_seconds":1787287715,"priority":1,"record_length":96,"hex_timestamp":"000001a022a63cb8"} 
[2026-08-21 10:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:19: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-08-21 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 10:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.229.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545653248001,"66":27832,"70":206,"9":26112,"24":54,"16":388019706436517888,"45":-4611545258367381504},"client_ip":"117.225.229.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,9,24,16,45]} 
[2026-08-21 10:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545653248001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:19:59] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-08-21 10:19:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388019706436517888,"km_value":388019706436517.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4611545258367381504,"description":"Unknown IO ID 45"} 
[2026-08-21 10:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545653248001,"power":27832,"unknown_70":206,"unknown_9":26112,"ignition":54,"odometer":null,"unknown_45":-4611545258367381504}} 
[2026-08-21 10:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:19:59] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:19:59] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:20:07] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:20:07] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:20:07] local.INFO: IMEI packet received {"connection_id":160172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":160172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:20:12] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:20:12] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:20:12] local.INFO: IMEI packet received {"connection_id":160172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":160172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:20:14] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:20:14] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:20:14] local.INFO: Packet analysis {"connection_id":160172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:14] local.INFO: Extracted packet for processing {"connection_id":160172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:14] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:20:14] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:20:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":160172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:20:14] local.INFO: GPS data processed {"connection_id":160172,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:20:14] local.INFO: Acknowledgment sent {"connection_id":160172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:20:18] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:20:18] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:20:18] local.INFO: IMEI packet received {"connection_id":158983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":158983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:20:23] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:20:23] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:20:23] local.INFO: IMEI packet received {"connection_id":158983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":158983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:20:24] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:20:24] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:20:24] local.INFO: Packet analysis {"connection_id":158983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:24] local.INFO: Extracted packet for processing {"connection_id":158983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10: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-08-21 10:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 10:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:20: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-08-21 10: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-08-21 10: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-08-21 10:20:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":158983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10: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-08-21 10:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:20:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:20:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":158983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:20:24] local.INFO: GPS data processed {"connection_id":158983,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:20:24] local.INFO: Acknowledgment sent {"connection_id":158983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:20:29] local.INFO: TCP Data received {"connection_id":161517,"ip":"117.225.229.57","data_length":795,"data_hex":"000000000000030f8e0a000001a022a65810012dc02940054120b0003c009332..."} 
[2026-08-21 10:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a65810012dc02940054120b0003c009332..."} 
[2026-08-21 10:20:29] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a65810012dc02940054120b0003c009332..."} 
[2026-08-21 10:20:29] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:29] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:29] local.INFO: GPS Element Parsed {"raw_longitude":767568192,"raw_latitude":88154288,"longitude_deg":76.7568192,"latitude_deg":8.8154288,"altitude":60,"angle":147,"satellites":50,"speed":51,"hex_longitude":"2dc02940","hex_latitude":"054120b0","is_valid_coordinates":true} 
[2026-08-21 10:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545655040001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388020157408083968,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4605704652602789888,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787287722000,"timestamp_ms":1787287722000,"timestamp_seconds":1787287722,"priority":1,"record_length":96,"hex_timestamp":"000001a022a65810"} 
[2026-08-21 10:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:20: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-08-21 10: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 10:20: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-08-21 10:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.229.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545655040001,"66":27245,"71":206,"9":26112,"24":51,"16":388020157408083968,"45":-4605704652602789888},"client_ip":"117.225.229.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,9,24,16,45]} 
[2026-08-21 10:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545655040001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:20:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 10:20:29] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388020157408083968,"km_value":388020157408083.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4605704652602789888,"description":"Unknown IO ID 45"} 
[2026-08-21 10:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545655040001,"power":27245,"unknown_71":206,"unknown_9":26112,"ignition":51,"odometer":null,"unknown_45":-4605704652602789888}} 
[2026-08-21 10:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:20:29] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:20:29] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:20:45] local.INFO: TCP Data received {"connection_id":160172,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:20:45] local.INFO: Processing buffer {"connection_id":160172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:20:45] local.INFO: Packet analysis {"connection_id":160172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:45] local.INFO: Extracted packet for processing {"connection_id":160172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:45] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:20:45] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:20:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":160172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:20:45] local.INFO: GPS data processed {"connection_id":160172,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:20:45] local.INFO: Acknowledgment sent {"connection_id":160172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:20:54] local.INFO: TCP Data received {"connection_id":158983,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:20:54] local.INFO: Processing buffer {"connection_id":158983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:20:54] local.INFO: Packet analysis {"connection_id":158983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:54] local.INFO: Extracted packet for processing {"connection_id":158983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:20: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-08-21 10:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 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-08-21 10:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:20:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:20:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":158983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:20:54] local.INFO: GPS data processed {"connection_id":158983,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:20:54] local.INFO: Acknowledgment sent {"connection_id":158983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:21:06] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:21:06] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:21:06] local.INFO: IMEI packet received {"connection_id":159280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":159280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:21:12] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:21:12] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:21:12] local.INFO: IMEI packet received {"connection_id":159280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":159280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:21:13] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:21:13] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:21:13] local.INFO: Packet analysis {"connection_id":159280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:13] local.INFO: Extracted packet for processing {"connection_id":159280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:21:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:21:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":159280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:21:13] local.INFO: GPS data processed {"connection_id":159280,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:21:13] local.INFO: Acknowledgment sent {"connection_id":159280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:21:17] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:21:17] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:21:17] local.INFO: IMEI packet received {"connection_id":158985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":158985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:21:18] local.INFO: TCP Data received {"connection_id":161517,"ip":"117.225.229.57","data_length":795,"data_hex":"000000000000030f8e0a000001a022a7f620012dc14140053f49a80033007a32..."} 
[2026-08-21 10:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a7f620012dc14140053f49a80033007a32..."} 
[2026-08-21 10:21:18] local.INFO: Processing buffer {"connection_id":161517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a7f620012dc14140053f49a80033007a32..."} 
[2026-08-21 10:21:18] local.INFO: Packet analysis {"connection_id":161517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a7"} 
[2026-08-21 10:21:18] local.INFO: Extracted packet for processing {"connection_id":161517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a7"} 
[2026-08-21 10:21:18] local.INFO: GPS Element Parsed {"raw_longitude":767639872,"raw_latitude":88033704,"longitude_deg":76.7639872,"latitude_deg":8.8033704,"altitude":51,"angle":122,"satellites":50,"speed":60,"hex_longitude":"2dc14140","hex_latitude":"053f49a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545682688001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388027025060790272,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4527665715341426688,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787287828000,"timestamp_ms":1787287828000,"timestamp_seconds":1787287828,"priority":1,"record_length":96,"hex_timestamp":"000001a022a7f620"} 
[2026-08-21 10:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 10:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.229.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545682688001,"66":27930,"35":206,"9":26112,"24":60,"16":388027025060790272,"45":-4527665715341426688},"client_ip":"117.225.229.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,9,24,16,45]} 
[2026-08-21 10:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545682688001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:21:18] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-08-21 10:21:18] local.INFO: Unknown IO ID detected {"io_id":9,"value":26112,"description":"Unknown IO ID 9"} 
[2026-08-21 10:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388027025060790272,"km_value":388027025060790.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4527665715341426688,"description":"Unknown IO ID 45"} 
[2026-08-21 10:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545682688001,"power":27930,"unknown_35":206,"unknown_9":26112,"ignition":60,"odometer":null,"unknown_45":-4527665715341426688}} 
[2026-08-21 10:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":161517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:21:18] local.INFO: GPS data processed {"connection_id":161517,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:21:18] local.INFO: Acknowledgment sent {"connection_id":161517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:21:23] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:21:23] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:21:23] local.INFO: IMEI packet received {"connection_id":158985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":158985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:21:23] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:21:23] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:21:23] local.INFO: Packet analysis {"connection_id":158985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:23] local.INFO: Extracted packet for processing {"connection_id":158985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:21:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:21:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:21:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 10:21:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:21:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:21:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:21:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:21:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:21:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:21:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:21:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:21:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:21:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:21:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:21:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:21:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:21:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:21:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:21:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":158985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:21:24] local.INFO: GPS data processed {"connection_id":158985,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:21:24] local.INFO: Acknowledgment sent {"connection_id":158985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:21:44] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:21:44] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:21:44] local.INFO: Packet analysis {"connection_id":159280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:44] local.INFO: Extracted packet for processing {"connection_id":159280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:21:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:21:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":159280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:21:44] local.INFO: GPS data processed {"connection_id":159280,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:21:44] local.INFO: Acknowledgment sent {"connection_id":159280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:21:54] local.INFO: TCP Data received {"connection_id":158985,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:21:54] local.INFO: Processing buffer {"connection_id":158985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:21:54] local.INFO: Packet analysis {"connection_id":158985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:54] local.INFO: Extracted packet for processing {"connection_id":158985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:21: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-08-21 10:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 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-08-21 10:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:21:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:21:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":158985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:21:54] local.INFO: GPS data processed {"connection_id":158985,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:21:54] local.INFO: Acknowledgment sent {"connection_id":158985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:22:06] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:22:06] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:22:06] local.INFO: IMEI packet received {"connection_id":160174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":160174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:22:12] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:22:12] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:22:12] local.INFO: IMEI packet received {"connection_id":160174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":160174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:22:13] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:22:13] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:22:13] local.INFO: Packet analysis {"connection_id":160174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:13] local.INFO: Extracted packet for processing {"connection_id":160174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:22:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:22:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":160174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:22:13] local.INFO: GPS data processed {"connection_id":160174,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:22:13] local.INFO: Acknowledgment sent {"connection_id":160174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:22:17] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:22:17] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:22:17] local.INFO: IMEI packet received {"connection_id":161518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":161518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:22:23] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:22:23] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:22:23] local.INFO: IMEI packet received {"connection_id":161518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":161518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:22:24] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:22:24] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:22:24] local.INFO: Packet analysis {"connection_id":161518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:24] local.INFO: Extracted packet for processing {"connection_id":161518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:22:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22: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-08-21 10:22:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 10:22:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:22: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-08-21 10:22:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:22: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-08-21 10:22:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:22:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:22:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:22:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:22:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:22:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:22:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:22:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:22:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:22:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:22:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:22:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:22:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:22:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:22:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:22:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:22:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:22:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:22:24] local.INFO: DEBUG: GPS processor result {"connection_id":161518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:22:24] local.INFO: GPS data processed {"connection_id":161518,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:22:24] local.INFO: Acknowledgment sent {"connection_id":161518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:22:44] local.INFO: TCP Data received {"connection_id":160174,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:22:44] local.INFO: Processing buffer {"connection_id":160174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:22:44] local.INFO: Packet analysis {"connection_id":160174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:44] local.INFO: Extracted packet for processing {"connection_id":160174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:22:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:22:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":160174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675266,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:22:44] local.INFO: GPS data processed {"connection_id":160174,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:22:44] local.INFO: Acknowledgment sent {"connection_id":160174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:22:55] local.INFO: TCP Data received {"connection_id":161518,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:22:55] local.INFO: Processing buffer {"connection_id":161518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:22:55] local.INFO: Packet analysis {"connection_id":161518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:55] local.INFO: Extracted packet for processing {"connection_id":161518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 10:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:22:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:22:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:22:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":161518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:22:55] local.INFO: GPS data processed {"connection_id":161518,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:22:55] local.INFO: Acknowledgment sent {"connection_id":161518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:23:06] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:23:06] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:23:06] local.INFO: IMEI packet received {"connection_id":160175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":160175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:23:12] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:23:12] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:23:12] local.INFO: IMEI packet received {"connection_id":160175,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":160175,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:23:13] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:23:13] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:23:13] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:13] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:23:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:23:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:23:13] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:23:13] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:23:23] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:23:23] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:23:23] local.INFO: IMEI packet received {"connection_id":159281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":159281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:23:28] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:23:28] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:23:28] local.INFO: IMEI packet received {"connection_id":159281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":159281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:23:29] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:23:29] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:23:29] local.INFO: Packet analysis {"connection_id":159281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:29] local.INFO: Extracted packet for processing {"connection_id":159281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 10:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:23:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":159281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:23:29] local.INFO: GPS data processed {"connection_id":159281,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:23:29] local.INFO: Acknowledgment sent {"connection_id":159281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:23:33] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:23:33] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:23:33] local.INFO: Packet analysis {"connection_id":159281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:33] local.INFO: Extracted packet for processing {"connection_id":159281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 10:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:23:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:23:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":159281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:23:33] local.INFO: GPS data processed {"connection_id":159281,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:23:33] local.INFO: Acknowledgment sent {"connection_id":159281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:23:44] local.INFO: TCP Data received {"connection_id":160175,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:23:44] local.INFO: Processing buffer {"connection_id":160175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:23:44] local.INFO: Packet analysis {"connection_id":160175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:44] local.INFO: Extracted packet for processing {"connection_id":160175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:23:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:23:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160175,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:23:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:23:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":160175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:23:44] local.INFO: GPS data processed {"connection_id":160175,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:23:44] local.INFO: Acknowledgment sent {"connection_id":160175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:24:12] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:24:12] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:24:12] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:24:17] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:24:17] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:24:17] local.INFO: IMEI packet received {"connection_id":160176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":160176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:24:17] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:24:17] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:24:17] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:24:17] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:24:17] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:24:17] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:24:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:24:17] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:24:17] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:24:18] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:24:18] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:24:18] local.INFO: IMEI packet received {"connection_id":161519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":161519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:24:23] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:24:23] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:24:23] local.INFO: IMEI packet received {"connection_id":161519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":161519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:24:24] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:24:24] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a67f20012d196500071ff0a8003a01442b..."} 
[2026-08-21 10:24:24] local.INFO: Packet analysis {"connection_id":161519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:24:24] local.INFO: Extracted packet for processing {"connection_id":161519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545582336001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24: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-08-21 10:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787287732000,"timestamp_ms":1787287732000,"timestamp_seconds":1787287732,"priority":1,"record_length":96,"hex_timestamp":"000001a022a67f20"} 
[2026-08-21 10:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:24: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-08-21 10:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:24: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-08-21 10:24:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545582336001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545582336001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:24:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545582336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":161519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:24:24] local.INFO: GPS data processed {"connection_id":161519,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:24:24] local.INFO: Acknowledgment sent {"connection_id":161519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:24:31] local.INFO: TCP Data received {"connection_id":160176,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:24:31] local.INFO: Processing buffer {"connection_id":160176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022a6ec80012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:24:31] local.INFO: Packet analysis {"connection_id":160176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:24:31] local.INFO: Extracted packet for processing {"connection_id":160176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022a6"} 
[2026-08-21 10:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545589504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787287760000,"timestamp_ms":1787287760000,"timestamp_seconds":1787287760,"priority":1,"record_length":96,"hex_timestamp":"000001a022a6ec80"} 
[2026-08-21 10:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:24: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-08-21 10: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 10:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545589504001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545589504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:24:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:24:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545589504001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":160176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:24:31] local.INFO: GPS data processed {"connection_id":160176,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:24:31] local.INFO: Acknowledgment sent {"connection_id":160176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:24:54] local.INFO: TCP Data received {"connection_id":161519,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:24:54] local.INFO: Processing buffer {"connection_id":161519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:24:54] local.INFO: Packet analysis {"connection_id":161519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:24:54] local.INFO: Extracted packet for processing {"connection_id":161519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:24: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-08-21 10:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 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-08-21 10:24:54] 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-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 10:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:24:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":161519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:24:54] local.INFO: GPS data processed {"connection_id":161519,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:24:54] local.INFO: Acknowledgment sent {"connection_id":161519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:25:07] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:25:07] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:25:07] local.INFO: IMEI packet received {"connection_id":161520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":161520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:25:12] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:25:12] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:25:12] local.INFO: IMEI packet received {"connection_id":161520,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":161520,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:25:13] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:25:13] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:25:13] local.INFO: Packet analysis {"connection_id":161520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:13] local.INFO: Extracted packet for processing {"connection_id":161520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545666560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787288061000,"timestamp_ms":1787288061000,"timestamp_seconds":1787288061,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab8448"} 
[2026-08-21 10:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545666560001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545666560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:25:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:25:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545666560001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":161520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:25:13] local.INFO: GPS data processed {"connection_id":161520,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:25:13] local.INFO: Acknowledgment sent {"connection_id":161520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:25:18] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:25:18] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:25:18] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:25:23] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:25:23] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:25:23] local.INFO: IMEI packet received {"connection_id":160177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":160177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:25:23] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:25:23] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:25:23] local.INFO: Packet analysis {"connection_id":160177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:23] local.INFO: Extracted packet for processing {"connection_id":160177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:25:23] 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-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":160177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:25:24] local.INFO: GPS data processed {"connection_id":160177,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:25:24] local.INFO: Acknowledgment sent {"connection_id":160177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:25:44] local.INFO: TCP Data received {"connection_id":161520,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:25:44] local.INFO: Processing buffer {"connection_id":161520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:25:44] local.INFO: Packet analysis {"connection_id":161520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:44] local.INFO: Extracted packet for processing {"connection_id":161520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545666560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787288061000,"timestamp_ms":1787288061000,"timestamp_seconds":1787288061,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab8448"} 
[2026-08-21 10:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161520,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545666560001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545666560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:25:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:25:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545666560001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":161520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675278,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:25:44] local.INFO: GPS data processed {"connection_id":161520,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:25:44] local.INFO: Acknowledgment sent {"connection_id":161520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:25:54] local.INFO: TCP Data received {"connection_id":160177,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:25:54] local.INFO: Processing buffer {"connection_id":160177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:25:54] local.INFO: Packet analysis {"connection_id":160177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:54] local.INFO: Extracted packet for processing {"connection_id":160177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:25: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-08-21 10:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:25:54] 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-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":160177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:25:54] local.INFO: GPS data processed {"connection_id":160177,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:25:54] local.INFO: Acknowledgment sent {"connection_id":160177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:26:07] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:26:07] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:26:07] local.INFO: IMEI packet received {"connection_id":159282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":159282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:26:12] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:26:12] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:26:12] local.INFO: IMEI packet received {"connection_id":159282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":159282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:26:12] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:26:13] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:26:13] local.INFO: Packet analysis {"connection_id":159282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:13] local.INFO: Extracted packet for processing {"connection_id":159282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545666560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787288061000,"timestamp_ms":1787288061000,"timestamp_seconds":1787288061,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab8448"} 
[2026-08-21 10:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545666560001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545666560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:26:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:26:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545666560001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":159282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:26:13] local.INFO: GPS data processed {"connection_id":159282,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:26:13] local.INFO: Acknowledgment sent {"connection_id":159282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:26:17] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:26:17] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:26:17] local.INFO: IMEI packet received {"connection_id":161521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":161521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:26:23] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:26:23] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:26:23] local.INFO: IMEI packet received {"connection_id":161521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":161521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:26:23] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:26:23] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:26:23] local.INFO: Packet analysis {"connection_id":161521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:23] local.INFO: Extracted packet for processing {"connection_id":161521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:26:23] 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-08-21 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:26:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:26:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":161521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:26:24] local.INFO: GPS data processed {"connection_id":161521,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:26:24] local.INFO: Acknowledgment sent {"connection_id":161521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:26:28] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:26:28] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:26:28] local.INFO: IMEI packet received {"connection_id":160178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":160178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:26:33] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:26:33] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:26:33] local.INFO: IMEI packet received {"connection_id":160178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":160178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:26:37] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ac7678012dc2d640053d0758002300782c..."} 
[2026-08-21 10:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ac7678012dc2d640053d0758002300782c..."} 
[2026-08-21 10:26:37] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ac7678012dc2d640053d0758002300782c..."} 
[2026-08-21 10:26:37] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ac"} 
[2026-08-21 10:26:37] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ac"} 
[2026-08-21 10:26:37] local.INFO: GPS Element Parsed {"raw_longitude":767743552,"raw_latitude":87885656,"longitude_deg":76.7743552,"latitude_deg":8.7885656,"altitude":35,"angle":120,"satellites":44,"speed":21,"hex_longitude":"2dc2d640","hex_latitude":"053d0758","is_valid_coordinates":true} 
[2026-08-21 10:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545757952001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388036074556882944,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4412472081161486336,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787288123000,"timestamp_ms":1787288123000,"timestamp_seconds":1787288123,"priority":1,"record_length":96,"hex_timestamp":"000001a022ac7678"} 
[2026-08-21 10:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 10:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545757952001,"66":27800,"30":206,"9":3584,"24":21,"16":388036074556882944,"45":-4412472081161486336},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,9,24,16,45]} 
[2026-08-21 10:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545757952001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:26:37] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-21 10:26:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388036074556882944,"km_value":388036074556882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4412472081161486336,"description":"Unknown IO ID 45"} 
[2026-08-21 10:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545757952001,"power":27800,"unknown_30":206,"unknown_9":3584,"ignition":21,"odometer":null,"unknown_45":-4412472081161486336}} 
[2026-08-21 10:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:26:37] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:26:37] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:26:44] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:26:44] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:26:44] local.INFO: Packet analysis {"connection_id":159282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:44] local.INFO: Extracted packet for processing {"connection_id":159282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:44] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545666560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787288061000,"timestamp_ms":1787288061000,"timestamp_seconds":1787288061,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab8448"} 
[2026-08-21 10:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545666560001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545666560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:26:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:26:44] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545666560001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":159282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:26:44] local.INFO: GPS data processed {"connection_id":159282,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:26:44] local.INFO: Acknowledgment sent {"connection_id":159282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:26:55] local.INFO: TCP Data received {"connection_id":161521,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:26:55] local.INFO: Processing buffer {"connection_id":161521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:26:55] local.INFO: Packet analysis {"connection_id":161521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:55] local.INFO: Extracted packet for processing {"connection_id":161521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:26:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:26:55] 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-08-21 10:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:26:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:26:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":161521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:26:55] local.INFO: GPS data processed {"connection_id":161521,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:26:55] local.INFO: Acknowledgment sent {"connection_id":161521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:27:06] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:27:06] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:27:06] local.INFO: IMEI packet received {"connection_id":158986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 10:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":158986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:27:08] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ac7a60012dc2d800053d0600002300852e..."} 
[2026-08-21 10:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ac7a60012dc2d800053d0600002300852e..."} 
[2026-08-21 10:27:08] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ac7a60012dc2d800053d0600002300852e..."} 
[2026-08-21 10:27:08] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ac"} 
[2026-08-21 10:27:08] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ac"} 
[2026-08-21 10:27:08] local.INFO: GPS Element Parsed {"raw_longitude":767744000,"raw_latitude":87885312,"longitude_deg":76.7744,"latitude_deg":8.7885312,"altitude":35,"angle":133,"satellites":46,"speed":22,"hex_longitude":"2dc2d800","hex_latitude":"053d0600","is_valid_coordinates":true} 
[2026-08-21 10:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545759488001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388036100326686720,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4407264794092546048,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787288124000,"timestamp_ms":1787288124000,"timestamp_seconds":1787288124,"priority":1,"record_length":96,"hex_timestamp":"000001a022ac7a60"} 
[2026-08-21 10:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 10:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545759488001,"66":27800,"30":206,"9":3584,"24":22,"16":388036100326686720,"45":-4407264794092546048},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,9,24,16,45]} 
[2026-08-21 10:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545759488001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:27:08] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-21 10:27:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388036100326686720,"km_value":388036100326686.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4407264794092546048,"description":"Unknown IO ID 45"} 
[2026-08-21 10:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545759488001,"power":27800,"unknown_30":206,"unknown_9":3584,"ignition":22,"odometer":null,"unknown_45":-4407264794092546048}} 
[2026-08-21 10:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:27:08] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:27:08] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:27:12] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:27:12] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 10:27:12] local.INFO: IMEI packet received {"connection_id":158986,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 10:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":158986,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:27:13] local.INFO: TCP Data received {"connection_id":158986,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:27:13] local.INFO: Processing buffer {"connection_id":158986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab8448012d7d398005ec1120000100c71d..."} 
[2026-08-21 10:27:13] local.INFO: Packet analysis {"connection_id":158986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:27:13] local.INFO: Extracted packet for processing {"connection_id":158986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:27:13] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":99356960,"longitude_deg":76.318144,"latitude_deg":9.935696,"altitude":1,"angle":199,"satellites":29,"speed":0,"hex_longitude":"2d7d3980","hex_latitude":"05ec1120","is_valid_coordinates":true} 
[2026-08-21 10:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545666560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384091337236480,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787288061000,"timestamp_ms":1787288061000,"timestamp_seconds":1787288061,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab8448"} 
[2026-08-21 10:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 10:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":158986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":158986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":158986,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 10:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 10:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 10:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545666560001,"66":2231,"109":206,"87":13824,"24":0,"16":121662262988505088,"45":9023384091337236480},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-08-21 10:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 10:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 10:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545666560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:27:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 10:27:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 10:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384091337236480,"description":"Unknown IO ID 45"} 
[2026-08-21 10:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545666560001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9023384091337236480}} 
[2026-08-21 10:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":158986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675286,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:27:13] local.INFO: GPS data processed {"connection_id":158986,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:27:13] local.INFO: Acknowledgment sent {"connection_id":158986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:27:17] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:27:17] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:27:17] local.INFO: IMEI packet received {"connection_id":161522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":161522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:27:23] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:27:23] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:27:23] local.INFO: IMEI packet received {"connection_id":161522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":161522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:27:23] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:27:23] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:27:23] local.INFO: Packet analysis {"connection_id":161522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:27:23] local.INFO: Extracted packet for processing {"connection_id":161522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:27:23] 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-08-21 10:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:27:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:27:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":161522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:27:24] local.INFO: GPS data processed {"connection_id":161522,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:27:24] local.INFO: Acknowledgment sent {"connection_id":161522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:27:39] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ac8a00012dc2df80053cffc00024007a30..."} 
[2026-08-21 10:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ac8a00012dc2df80053cffc00024007a30..."} 
[2026-08-21 10:27:39] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ac8a00012dc2df80053cffc00024007a30..."} 
[2026-08-21 10:27:39] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ac"} 
[2026-08-21 10:27:39] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ac"} 
[2026-08-21 10:27:39] local.INFO: GPS Element Parsed {"raw_longitude":767745920,"raw_latitude":87883712,"longitude_deg":76.774592,"latitude_deg":8.7883712,"altitude":36,"angle":122,"satellites":48,"speed":26,"hex_longitude":"2dc2df80","hex_latitude":"053cffc0","is_valid_coordinates":true} 
[2026-08-21 10:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545759744001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388036220585771008,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4406772212883390464,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787288128000,"timestamp_ms":1787288128000,"timestamp_seconds":1787288128,"priority":1,"record_length":96,"hex_timestamp":"000001a022ac8a00"} 
[2026-08-21 10:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 10:27:39] 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-08-21 10:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545759744001,"66":27800,"30":206,"9":3584,"24":26,"16":388036220585771008,"45":-4406772212883390464},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,9,24,16,45]} 
[2026-08-21 10:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545759744001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:27:39] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-08-21 10:27:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388036220585771008,"km_value":388036220585771.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4406772212883390464,"description":"Unknown IO ID 45"} 
[2026-08-21 10:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545759744001,"power":27800,"unknown_30":206,"unknown_9":3584,"ignition":26,"odometer":null,"unknown_45":-4406772212883390464}} 
[2026-08-21 10:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:27:39] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:27:39] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:27:55] local.INFO: TCP Data received {"connection_id":161522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:27:55] local.INFO: Processing buffer {"connection_id":161522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:27:55] local.INFO: Packet analysis {"connection_id":161522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:27:55] local.INFO: Extracted packet for processing {"connection_id":161522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:27:55] 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-08-21 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:27:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:27:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":161522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:27:55] local.INFO: GPS data processed {"connection_id":161522,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:27:55] local.INFO: Acknowledgment sent {"connection_id":161522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:28:11] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ae0100012dc3b480053c4a300020009230..."} 
[2026-08-21 10:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ae0100012dc3b480053c4a300020009230..."} 
[2026-08-21 10:28:11] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ae0100012dc3b480053c4a300020009230..."} 
[2026-08-21 10:28:11] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:28:11] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:28:11] local.INFO: GPS Element Parsed {"raw_longitude":767800448,"raw_latitude":87837232,"longitude_deg":76.7800448,"latitude_deg":8.7837232,"altitude":32,"angle":146,"satellites":48,"speed":22,"hex_longitude":"2dc3b480","hex_latitude":"053c4a30","is_valid_coordinates":true} 
[2026-08-21 10:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545784832001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388039867013005312,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4345481036716738560,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787288224000,"timestamp_ms":1787288224000,"timestamp_seconds":1787288224,"priority":1,"record_length":96,"hex_timestamp":"000001a022ae0100"} 
[2026-08-21 10:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 10:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545784832001,"66":27517,"112":206,"9":3584,"24":22,"16":388039867013005312,"45":-4345481036716738560},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,45]} 
[2026-08-21 10:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545784832001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:28:11] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 10:28:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388039867013005312,"km_value":388039867013005.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4345481036716738560,"description":"Unknown IO ID 45"} 
[2026-08-21 10:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545784832001,"power":27517,"unknown_112":206,"unknown_9":3584,"ignition":22,"odometer":null,"unknown_45":-4345481036716738560}} 
[2026-08-21 10:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:28:11] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:28:11] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:28:23] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:28:23] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:28:23] local.INFO: IMEI packet received {"connection_id":159283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":159283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:28:28] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:28:28] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:28:28] local.INFO: IMEI packet received {"connection_id":159283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":159283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:28:29] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:28:29] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:28:29] local.INFO: Packet analysis {"connection_id":159283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:28:29] local.INFO: Extracted packet for processing {"connection_id":159283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:28:29] 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-08-21 10:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:28:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:28:29] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:28:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":159283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:28:29] local.INFO: GPS data processed {"connection_id":159283,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:28:29] local.INFO: Acknowledgment sent {"connection_id":159283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:28:33] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:28:33] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:28:33] local.INFO: Packet analysis {"connection_id":159283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:28:33] local.INFO: Extracted packet for processing {"connection_id":159283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:28:33] 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-08-21 10:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:28:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:28:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":159283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:28:33] local.INFO: GPS data processed {"connection_id":159283,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:28:33] local.INFO: Acknowledgment sent {"connection_id":159283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:28:43] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ae33c8012dc3cac0053c2da00020008d2f..."} 
[2026-08-21 10:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ae33c8012dc3cac0053c2da00020008d2f..."} 
[2026-08-21 10:28:43] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ae33c8012dc3cac0053c2da00020008d2f..."} 
[2026-08-21 10:28:43] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:28:43] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:28:43] local.INFO: GPS Element Parsed {"raw_longitude":767806144,"raw_latitude":87829920,"longitude_deg":76.7806144,"latitude_deg":8.782992,"altitude":32,"angle":141,"satellites":47,"speed":34,"hex_longitude":"2dc3cac0","hex_latitude":"053c2da0","is_valid_coordinates":true} 
[2026-08-21 10:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545785344001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388040317984571392,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4344706980530999296,"note":"Value kept but may cause issues"} 
[2026-08-21 10:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787288237000,"timestamp_ms":1787288237000,"timestamp_seconds":1787288237,"priority":1,"record_length":96,"hex_timestamp":"000001a022ae33c8"} 
[2026-08-21 10:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 10:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545785344001,"66":27463,"112":206,"9":3584,"24":34,"16":388040317984571392,"45":-4344706980530999296},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,45]} 
[2026-08-21 10:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545785344001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:28:43] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 10:28:43] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388040317984571392,"km_value":388040317984571.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4344706980530999296,"description":"Unknown IO ID 45"} 
[2026-08-21 10:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545785344001,"power":27463,"unknown_112":206,"unknown_9":3584,"ignition":34,"odometer":null,"unknown_45":-4344706980530999296}} 
[2026-08-21 10:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:28:43] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:28:43] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:29:14] local.INFO: TCP Data received {"connection_id":160178,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ae5ad8012dc3e200053c11780020008c2e..."} 
[2026-08-21 10:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ae5ad8012dc3e200053c11780020008c2e..."} 
[2026-08-21 10:29:14] local.INFO: Processing buffer {"connection_id":160178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ae5ad8012dc3e200053c11780020008c2e..."} 
[2026-08-21 10:29:14] local.INFO: Packet analysis {"connection_id":160178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:29:14] local.INFO: Extracted packet for processing {"connection_id":160178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:29:14] local.INFO: GPS Element Parsed {"raw_longitude":767812096,"raw_latitude":87822712,"longitude_deg":76.7812096,"latitude_deg":8.7822712,"altitude":32,"angle":140,"satellites":46,"speed":37,"hex_longitude":"2dc3e200","hex_latitude":"053c1178","is_valid_coordinates":true} 
[2026-08-21 10:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545788672001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388040768956137472,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4338444162301059072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787288247000,"timestamp_ms":1787288247000,"timestamp_seconds":1787288247,"priority":1,"record_length":96,"hex_timestamp":"000001a022ae5ad8"} 
[2026-08-21 10:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 10:29:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545788672001,"66":27821,"112":206,"9":3584,"24":37,"16":388040768956137472,"45":-4338444162301059072},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,45]} 
[2026-08-21 10:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545788672001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:29:14] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 10:29:14] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388040768956137472,"km_value":388040768956137.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4338444162301059072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545788672001,"power":27821,"unknown_112":206,"unknown_9":3584,"ignition":37,"odometer":null,"unknown_45":-4338444162301059072}} 
[2026-08-21 10:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":160178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:29:14] local.INFO: GPS data processed {"connection_id":160178,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:29:14] local.INFO: Acknowledgment sent {"connection_id":160178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:29:18] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:29:18] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:29:18] local.INFO: IMEI packet received {"connection_id":161523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":161523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:29:23] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:29:23] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:29:23] local.INFO: IMEI packet received {"connection_id":161523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":161523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:29:24] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:29:24] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ab16e8012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:29:24] local.INFO: Packet analysis {"connection_id":161523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:29:24] local.INFO: Extracted packet for processing {"connection_id":161523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ab"} 
[2026-08-21 10:29:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:29:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:29:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29: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-08-21 10:29:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787288033000,"timestamp_ms":1787288033000,"timestamp_seconds":1787288033,"priority":1,"record_length":96,"hex_timestamp":"000001a022ab16e8"} 
[2026-08-21 10:29:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:29: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-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:29: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-08-21 10:29:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:29:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:29:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:29:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:29:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:29:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:29: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-08-21 10:29:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:29:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:29:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545659392001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:29:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:29:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:29:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:29:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:29:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:29:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:29:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:29:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545659392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:29:24] local.INFO: DEBUG: GPS processor result {"connection_id":161523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:29:24] local.INFO: GPS data processed {"connection_id":161523,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:29:24] local.INFO: Acknowledgment sent {"connection_id":161523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:29:54] local.INFO: TCP Data received {"connection_id":161523,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:29:54] local.INFO: Processing buffer {"connection_id":161523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:29:54] local.INFO: Packet analysis {"connection_id":161523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:29:54] local.INFO: Extracted packet for processing {"connection_id":161523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:29:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:29:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:29: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-08-21 10:29:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:29:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:29:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:29:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:29:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:29:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:29:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:29:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:29:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:29:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:29:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:29:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:29:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:29:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:29:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:29:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:29:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:29:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:29:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:29:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:29:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:29:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:29:54] local.INFO: DEBUG: GPS processor result {"connection_id":161523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:29:54] local.INFO: GPS data processed {"connection_id":161523,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:29:54] local.INFO: Acknowledgment sent {"connection_id":161523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:29:58] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:29:58] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:29:58] local.INFO: IMEI packet received {"connection_id":159284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":159284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:30:02] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:30:02] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:30:02] local.INFO: IMEI packet received {"connection_id":159284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":159284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:30:03] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022ae81e8012dc3f900053bf6380022008c2e..."} 
[2026-08-21 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ae81e8012dc3f900053bf6380022008c2e..."} 
[2026-08-21 10:30:03] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ae81e8012dc3f900053bf6380022008c2e..."} 
[2026-08-21 10:30:03] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:30:03] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":767817984,"raw_latitude":87815736,"longitude_deg":76.7817984,"latitude_deg":8.7815736,"altitude":34,"angle":140,"satellites":46,"speed":36,"hex_longitude":"2dc3f900","hex_latitude":"053bf638","is_valid_coordinates":true} 
[2026-08-21 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545791232001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388041207042801664,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4331899869094381568,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787288257000,"timestamp_ms":1787288257000,"timestamp_seconds":1787288257,"priority":1,"record_length":96,"hex_timestamp":"000001a022ae81e8"} 
[2026-08-21 10:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 10:30: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-08-21 10:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545791232001,"66":27169,"112":206,"9":3584,"24":36,"16":388041207042801664,"45":-4331899869094381568},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,45]} 
[2026-08-21 10:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545791232001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:30:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 10:30:03] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388041207042801664,"km_value":388041207042801.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4331899869094381568,"description":"Unknown IO ID 45"} 
[2026-08-21 10:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545791232001,"power":27169,"unknown_112":206,"unknown_9":3584,"ignition":36,"odometer":null,"unknown_45":-4331899869094381568}} 
[2026-08-21 10:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:30:03] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:30:03] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:30:04] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022aea8f8012dc41100053bd9d00025008d2c..."} 
[2026-08-21 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022aea8f8012dc41100053bd9d00025008d2c..."} 
[2026-08-21 10:30:04] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022aea8f8012dc41100053bd9d00025008d2c..."} 
[2026-08-21 10:30:04] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:30:04] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ae"} 
[2026-08-21 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":767824128,"raw_latitude":87808464,"longitude_deg":76.7824128,"latitude_deg":8.7808464,"altitude":37,"angle":141,"satellites":44,"speed":38,"hex_longitude":"2dc41100","hex_latitude":"053bd9d0","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545793792001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388041666604302336,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4325425944631822336,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787288267000,"timestamp_ms":1787288267000,"timestamp_seconds":1787288267,"priority":1,"record_length":96,"hex_timestamp":"000001a022aea8f8"} 
[2026-08-21 10:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 10:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545793792001,"66":27930,"112":206,"9":3584,"24":38,"16":388041666604302336,"45":-4325425944631822336},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,9,24,16,45]} 
[2026-08-21 10:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545793792001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:30:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 10:30:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388041666604302336,"km_value":388041666604302.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4325425944631822336,"description":"Unknown IO ID 45"} 
[2026-08-21 10:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545793792001,"power":27930,"unknown_112":206,"unknown_9":3584,"ignition":38,"odometer":null,"unknown_45":-4325425944631822336}} 
[2026-08-21 10:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:30:04] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:30:04] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:30:17] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:30:17] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:30:17] local.INFO: IMEI packet received {"connection_id":160179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":160179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:30:23] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:30:23] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:30:23] local.INFO: IMEI packet received {"connection_id":160179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":160179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:30:24] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:30:24] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:30:24] local.INFO: Packet analysis {"connection_id":160179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:30:24] local.INFO: Extracted packet for processing {"connection_id":160179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30: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-08-21 10:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:30: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-08-21 10:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":160179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":160179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":160179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:30: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-08-21 10:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:30:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:30:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":160179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:30:24] local.INFO: GPS data processed {"connection_id":160179,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:30:24] local.INFO: Acknowledgment sent {"connection_id":160179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:30:37] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022b056a8012dc4c700053aca48001d00962f..."} 
[2026-08-21 10:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b056a8012dc4c700053aca48001d00962f..."} 
[2026-08-21 10:30:37] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b056a8012dc4c700053aca48001d00962f..."} 
[2026-08-21 10:30:37] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:30:37] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":767870720,"raw_latitude":87738952,"longitude_deg":76.787072,"latitude_deg":8.7738952,"altitude":29,"angle":150,"satellites":47,"speed":34,"hex_longitude":"2dc4c700","hex_latitude":"053aca48","is_valid_coordinates":true} 
[2026-08-21 10:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545821184001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388045721053429760,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4272790124004440064,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787288377000,"timestamp_ms":1787288377000,"timestamp_seconds":1787288377,"priority":1,"record_length":96,"hex_timestamp":"000001a022b056a8"} 
[2026-08-21 10:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 10:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545821184001,"66":27908,"3":206,"9":3584,"24":34,"16":388045721053429760,"45":-4272790124004440064},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-21 10:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545821184001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:30:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-21 10:30:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388045721053429760,"km_value":388045721053429.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4272790124004440064,"description":"Unknown IO ID 45"} 
[2026-08-21 10:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545821184001,"power":27908,"unknown_3":206,"unknown_9":3584,"ignition":34,"odometer":null,"unknown_45":-4272790124004440064}} 
[2026-08-21 10:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:30:37] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:30:37] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:30:55] local.INFO: TCP Data received {"connection_id":160179,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:30:55] local.INFO: Processing buffer {"connection_id":160179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:30:55] local.INFO: Packet analysis {"connection_id":160179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:30:55] local.INFO: Extracted packet for processing {"connection_id":160179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:30:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:30:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":160179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:30:55] local.INFO: GPS data processed {"connection_id":160179,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:30:55] local.INFO: Acknowledgment sent {"connection_id":160179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:31:08] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022b07db8012dc4d9c0053aaa80001f009630..."} 
[2026-08-21 10:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b07db8012dc4d9c0053aaa80001f009630..."} 
[2026-08-21 10:31:08] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b07db8012dc4d9c0053aaa80001f009630..."} 
[2026-08-21 10:31:08] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:31:08] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:31:08] local.INFO: GPS Element Parsed {"raw_longitude":767875520,"raw_latitude":87730816,"longitude_deg":76.787552,"latitude_deg":8.7730816,"altitude":31,"angle":150,"satellites":48,"speed":38,"hex_longitude":"2dc4d9c0","hex_latitude":"053aaa80","is_valid_coordinates":true} 
[2026-08-21 10:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545824512001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388046176319963136,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4267442099449083904,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787288387000,"timestamp_ms":1787288387000,"timestamp_seconds":1787288387,"priority":1,"record_length":96,"hex_timestamp":"000001a022b07db8"} 
[2026-08-21 10:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545824512001,"66":27767,"3":206,"9":3584,"24":38,"16":388046176319963136,"45":-4267442099449083904},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-21 10:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545824512001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:31:08] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-21 10:31:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388046176319963136,"km_value":388046176319963.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4267442099449083904,"description":"Unknown IO ID 45"} 
[2026-08-21 10:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545824512001,"power":27767,"unknown_3":206,"unknown_9":3584,"ignition":38,"odometer":null,"unknown_45":-4267442099449083904}} 
[2026-08-21 10:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:31:08] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:31:08] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:31:17] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:31:17] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:31:17] local.INFO: IMEI packet received {"connection_id":158987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":158987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:31:23] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:31:23] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:31:23] local.INFO: IMEI packet received {"connection_id":158987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":158987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:31:23] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:31:23] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:31:23] local.INFO: Packet analysis {"connection_id":158987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:31:23] local.INFO: Extracted packet for processing {"connection_id":158987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":158987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:31:24] local.INFO: GPS data processed {"connection_id":158987,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:31:24] local.INFO: Acknowledgment sent {"connection_id":158987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:31:40] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022b0a0e0012dc4e840053a8b100022009f2e..."} 
[2026-08-21 10:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b0a0e0012dc4e840053a8b100022009f2e..."} 
[2026-08-21 10:31:40] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b0a0e0012dc4e840053a8b100022009f2e..."} 
[2026-08-21 10:31:40] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:31:40] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:31:40] local.INFO: GPS Element Parsed {"raw_longitude":767879232,"raw_latitude":87722768,"longitude_deg":76.7879232,"latitude_deg":8.7722768,"altitude":34,"angle":159,"satellites":46,"speed":39,"hex_longitude":"2dc4e840","hex_latitude":"053a8b10","is_valid_coordinates":true} 
[2026-08-21 10:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545827072001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388046605816692736,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4262164443637841920,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787288396000,"timestamp_ms":1787288396000,"timestamp_seconds":1787288396,"priority":1,"record_length":96,"hex_timestamp":"000001a022b0a0e0"} 
[2026-08-21 10:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 10:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545827072001,"66":27974,"3":206,"9":3584,"24":39,"16":388046605816692736,"45":-4262164443637841920},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-21 10:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545827072001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:31:40] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-21 10:31:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388046605816692736,"km_value":388046605816692.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4262164443637841920,"description":"Unknown IO ID 45"} 
[2026-08-21 10:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545827072001,"power":27974,"unknown_3":206,"unknown_9":3584,"ignition":39,"odometer":null,"unknown_45":-4262164443637841920}} 
[2026-08-21 10:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:31:40] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:31:40] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:31:55] local.INFO: TCP Data received {"connection_id":158987,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:31:55] local.INFO: Processing buffer {"connection_id":158987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:31:55] local.INFO: Packet analysis {"connection_id":158987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:31:55] local.INFO: Extracted packet for processing {"connection_id":158987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:31:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:31:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":158987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:31:55] local.INFO: GPS data processed {"connection_id":158987,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:31:55] local.INFO: Acknowledgment sent {"connection_id":158987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:32:23] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:32:23] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:32:23] local.INFO: IMEI packet received {"connection_id":161524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":161524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:32:28] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:32:28] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:32:28] local.INFO: IMEI packet received {"connection_id":161524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":161524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:32:28] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:32:28] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:32:28] local.INFO: Packet analysis {"connection_id":161524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:32:28] local.INFO: Extracted packet for processing {"connection_id":161524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:32:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:32:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":161524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:32:29] local.INFO: GPS data processed {"connection_id":161524,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:32:29] local.INFO: Acknowledgment sent {"connection_id":161524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:32:33] local.INFO: TCP Data received {"connection_id":159284,"ip":"117.225.183.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022b0c7f0012dc4f2c0053a6638002500a82c..."} 
[2026-08-21 10:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b0c7f0012dc4f2c0053a6638002500a82c..."} 
[2026-08-21 10:32:33] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b0c7f0012dc4f2c0053a6638002500a82c..."} 
[2026-08-21 10:32:33] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:32:33] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b0"} 
[2026-08-21 10:32:33] local.INFO: GPS Element Parsed {"raw_longitude":767881920,"raw_latitude":87713336,"longitude_deg":76.788192,"latitude_deg":8.7713336,"altitude":37,"angle":168,"satellites":44,"speed":37,"hex_longitude":"2dc4f2c0","hex_latitude":"053a6638","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545829376001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388047082558062592,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4258083056477597696,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787288406000,"timestamp_ms":1787288406000,"timestamp_seconds":1787288406,"priority":1,"record_length":96,"hex_timestamp":"000001a022b0c7f0"} 
[2026-08-21 10:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:32: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-08-21 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 10:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.183.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545829376001,"66":27821,"3":206,"9":3584,"24":37,"16":388047082558062592,"45":-4258083056477597696},"client_ip":"117.225.183.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,9,24,16,45]} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545829376001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388047082558062592,"km_value":388047082558062.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4258083056477597696,"description":"Unknown IO ID 45"} 
[2026-08-21 10:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545829376001,"power":27821,"unknown_3":206,"unknown_9":3584,"ignition":37,"odometer":null,"unknown_45":-4258083056477597696}} 
[2026-08-21 10:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:32:33] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:32:33] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:32:33] local.INFO: TCP Data received {"connection_id":161524,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:32:33] local.INFO: Processing buffer {"connection_id":161524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:32:33] local.INFO: Packet analysis {"connection_id":161524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:32:33] local.INFO: Extracted packet for processing {"connection_id":161524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:32:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":161524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:32:33] local.INFO: GPS data processed {"connection_id":161524,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:32:33] local.INFO: Acknowledgment sent {"connection_id":161524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:33:18] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:33:18] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:33:18] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:33:23] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:33:23] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:33:23] local.INFO: IMEI packet received {"connection_id":160180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":160180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:33:23] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:33:23] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:33:23] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:33:23] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:33:24] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:33:24] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:33:48] local.INFO: TCP Data received {"connection_id":161525,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:33:48] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:33:48] local.INFO: IMEI packet received {"connection_id":161525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":161525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:33:49] local.INFO: TCP Data received {"connection_id":161525,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:33:49] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:33:49] local.INFO: IMEI packet received {"connection_id":161525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":161525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:33:52] local.INFO: TCP Data received {"connection_id":161525,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b27d70012dc57240053920f0003b00a52e..."} 
[2026-08-21 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b27d70012dc57240053920f0003b00a52e..."} 
[2026-08-21 10:33:52] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b27d70012dc57240053920f0003b00a52e..."} 
[2026-08-21 10:33:52] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b2"} 
[2026-08-21 10:33:52] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b2"} 
[2026-08-21 10:33:52] local.INFO: GPS Element Parsed {"raw_longitude":767914560,"raw_latitude":87630064,"longitude_deg":76.791456,"latitude_deg":8.7630064,"altitude":59,"angle":165,"satellites":46,"speed":31,"hex_longitude":"2dc57240","hex_latitude":"053920f0","is_valid_coordinates":true} 
[2026-08-21 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545857792001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388051536439148544,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4222757946921906176,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,9,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 10:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787288518000,"timestamp_ms":1787288518000,"timestamp_seconds":1787288518,"priority":1,"record_length":96,"hex_timestamp":"000001a022b27d70"} 
[2026-08-21 10:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:33: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-08-21 10:33:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 10:33: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-08-21 10:33:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545857792001,"66":27745,"9":3584,"24":31,"16":388051536439148544,"45":-4222757946921906176},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,24,16,45]} 
[2026-08-21 10:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545857792001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:33:52] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388051536439148544,"km_value":388051536439148.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4222757946921906176,"description":"Unknown IO ID 45"} 
[2026-08-21 10:33:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545857792001,"power":27745,"unknown_9":3584,"ignition":31,"odometer":null,"unknown_45":-4222757946921906176}} 
[2026-08-21 10:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:33:52] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:33:52] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:33:53] local.INFO: TCP Data received {"connection_id":161525,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b27d70012dc57240053920f0003b00a52e..."} 
[2026-08-21 10:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b27d70012dc57240053920f0003b00a52e..."} 
[2026-08-21 10:33:53] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b27d70012dc57240053920f0003b00a52e..."} 
[2026-08-21 10:33:53] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b2"} 
[2026-08-21 10:33:53] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b2"} 
[2026-08-21 10:33:53] local.INFO: GPS Element Parsed {"raw_longitude":767914560,"raw_latitude":87630064,"longitude_deg":76.791456,"latitude_deg":8.7630064,"altitude":59,"angle":165,"satellites":46,"speed":31,"hex_longitude":"2dc57240","hex_latitude":"053920f0","is_valid_coordinates":true} 
[2026-08-21 10:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545860608001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388051536439148544,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4219239509715259392,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,9,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 10:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787288518000,"timestamp_ms":1787288518000,"timestamp_seconds":1787288518,"priority":1,"record_length":96,"hex_timestamp":"000001a022b27d70"} 
[2026-08-21 10:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 10:33:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:33:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545860608001,"66":27745,"9":3584,"24":31,"16":388051536439148544,"45":-4219239509715259392},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,24,16,45]} 
[2026-08-21 10:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545860608001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:33:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388051536439148544,"km_value":388051536439148.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4219239509715259392,"description":"Unknown IO ID 45"} 
[2026-08-21 10:33:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545860608001,"power":27745,"unknown_9":3584,"ignition":31,"odometer":null,"unknown_45":-4219239509715259392}} 
[2026-08-21 10:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:33:53] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:33:53] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:33:55] local.INFO: TCP Data received {"connection_id":160180,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:33:55] local.INFO: Processing buffer {"connection_id":160180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:33:55] local.INFO: Packet analysis {"connection_id":160180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:33:55] local.INFO: Extracted packet for processing {"connection_id":160180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:33:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:33:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":160180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:33:55] local.INFO: GPS data processed {"connection_id":160180,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:33:55] local.INFO: Acknowledgment sent {"connection_id":160180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:34:18] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:34:18] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:34:18] local.INFO: IMEI packet received {"connection_id":161526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":161526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:34:23] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:34:23] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:34:23] local.INFO: IMEI packet received {"connection_id":161526,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":161526,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:34:23] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:34:23] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022afaeb0012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:34:23] local.INFO: Packet analysis {"connection_id":161526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:34:23] local.INFO: Extracted packet for processing {"connection_id":161526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022af"} 
[2026-08-21 10:34:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:34:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:34:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:34:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288334000,"timestamp_ms":1787288334000,"timestamp_seconds":1787288334,"priority":1,"record_length":96,"hex_timestamp":"000001a022afaeb0"} 
[2026-08-21 10:34:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:34:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:34:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:34:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:34:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:34:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:34:23] local.INFO: Teltonika packet parsed successfully {"connection_id":161526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:34:23] local.INFO: Passing IMEI to GPS processor {"connection_id":161526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:34:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":161526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:34:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:34:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:34:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:34:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545736448001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:34:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:34:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:34:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:34:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:34:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:34:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:34:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:34:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545736448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":161526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:34:24] local.INFO: GPS data processed {"connection_id":161526,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:34:24] local.INFO: Acknowledgment sent {"connection_id":161526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:34:24] local.INFO: TCP Data received {"connection_id":161525,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b2a868012dc57b000538fe00003a00a42d..."} 
[2026-08-21 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b2a868012dc57b000538fe00003a00a42d..."} 
[2026-08-21 10:34:24] local.INFO: Processing buffer {"connection_id":161525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b2a868012dc57b000538fe00003a00a42d..."} 
[2026-08-21 10:34:24] local.INFO: Packet analysis {"connection_id":161525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b2"} 
[2026-08-21 10:34:24] local.INFO: Extracted packet for processing {"connection_id":161525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b2"} 
[2026-08-21 10:34:24] local.INFO: GPS Element Parsed {"raw_longitude":767916800,"raw_latitude":87621120,"longitude_deg":76.79168,"latitude_deg":8.762112,"altitude":58,"angle":164,"satellites":45,"speed":35,"hex_longitude":"2dc57b00","hex_latitude":"0538fe00","is_valid_coordinates":true} 
[2026-08-21 10:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545860608001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388051983115747328,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4219239509715259392,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,9,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 10:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787288529000,"timestamp_ms":1787288529000,"timestamp_seconds":1787288529,"priority":1,"record_length":96,"hex_timestamp":"000001a022b2a868"} 
[2026-08-21 10:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:34: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-08-21 10:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 10:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545860608001,"66":27930,"9":3584,"24":35,"16":388051983115747328,"45":-4219239509715259392},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,24,16,45]} 
[2026-08-21 10:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545860608001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:34:24] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388051983115747328,"km_value":388051983115747.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4219239509715259392,"description":"Unknown IO ID 45"} 
[2026-08-21 10:34:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457545860608001,"power":27930,"unknown_9":3584,"ignition":35,"odometer":null,"unknown_45":-4219239509715259392}} 
[2026-08-21 10:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":161525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:34:24] local.INFO: GPS data processed {"connection_id":161525,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:34:24] local.INFO: Acknowledgment sent {"connection_id":161525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:34:54] local.INFO: TCP Data received {"connection_id":161526,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:34:54] local.INFO: Processing buffer {"connection_id":161526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:34:54] local.INFO: Packet analysis {"connection_id":161526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:34:54] local.INFO: Extracted packet for processing {"connection_id":161526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:34:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:34:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:34:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:34: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-08-21 10:34:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:34:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:34:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:34:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:34:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:34:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:34:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:34:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:34:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:34:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161526,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:34:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:34:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:34:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:34:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:34:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:34:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:34:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:34:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:34:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:34:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:34:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:34:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":161526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:34:54] local.INFO: GPS data processed {"connection_id":161526,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:34:54] local.INFO: Acknowledgment sent {"connection_id":161526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:34:56] local.INFO: TCP Data received {"connection_id":161527,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:34:56] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:34:56] local.INFO: IMEI packet received {"connection_id":161527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":161527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:34:58] local.INFO: TCP Data received {"connection_id":161527,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:34:58] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:34:58] local.INFO: IMEI packet received {"connection_id":161527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":161527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:35:03] local.INFO: TCP Data received {"connection_id":161527,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:35:03] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:35:03] local.INFO: IMEI packet received {"connection_id":161527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":161527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:35:04] local.INFO: TCP Data received {"connection_id":161527,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b42350012dc60c000537af380032009430..."} 
[2026-08-21 10:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b42350012dc60c000537af380032009430..."} 
[2026-08-21 10:35:04] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b42350012dc60c000537af380032009430..."} 
[2026-08-21 10:35:04] local.INFO: Packet analysis {"connection_id":161527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:04] local.INFO: Extracted packet for processing {"connection_id":161527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":767953920,"raw_latitude":87535416,"longitude_deg":76.795392,"latitude_deg":8.7535416,"altitude":50,"angle":148,"satellites":48,"speed":29,"hex_longitude":"2dc60c00","hex_latitude":"0537af38","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545885696001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388056522896179200,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4181451494114054144,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787288626000,"timestamp_ms":1787288626000,"timestamp_seconds":1787288626,"priority":1,"record_length":96,"hex_timestamp":"000001a022b42350"} 
[2026-08-21 10:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 10:35:04] 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-08-21 10: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-08-21 10:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545885696001,"66":27919,"50":206,"9":3584,"24":29,"16":388056522896179200,"45":-4181451494114054144},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,45]} 
[2026-08-21 10:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545885696001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:35:04] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-21 10:35:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388056522896179200,"km_value":388056522896179.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4181451494114054144,"description":"Unknown IO ID 45"} 
[2026-08-21 10:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545885696001,"power":27919,"unknown_50":206,"unknown_9":3584,"ignition":29,"odometer":null,"unknown_45":-4181451494114054144}} 
[2026-08-21 10:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":161527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:35:05] local.INFO: GPS data processed {"connection_id":161527,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:35:05] local.INFO: Acknowledgment sent {"connection_id":161527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:35:17] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:35:17] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:35:17] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:35:23] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:35:23] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:35:23] local.INFO: IMEI packet received {"connection_id":160181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":160181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:35:23] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:35:23] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:35:23] local.INFO: Packet analysis {"connection_id":160181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:23] local.INFO: Extracted packet for processing {"connection_id":160181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:35:24] local.INFO: DEBUG: GPS processor result {"connection_id":160181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:35:24] local.INFO: GPS data processed {"connection_id":160181,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:35:24] local.INFO: Acknowledgment sent {"connection_id":160181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:35:37] local.INFO: TCP Data received {"connection_id":161527,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44e48012dc6168005379d28003500a42e..."} 
[2026-08-21 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44e48012dc6168005379d28003500a42e..."} 
[2026-08-21 10:35:37] local.INFO: Processing buffer {"connection_id":161527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44e48012dc6168005379d28003500a42e..."} 
[2026-08-21 10:35:37] local.INFO: Packet analysis {"connection_id":161527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:37] local.INFO: Extracted packet for processing {"connection_id":161527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":767956608,"raw_latitude":87530792,"longitude_deg":76.7956608,"latitude_deg":8.7530792,"altitude":53,"angle":164,"satellites":46,"speed":14,"hex_longitude":"2dc61680","hex_latitude":"05379d28","is_valid_coordinates":true} 
[2026-08-21 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545888256001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388056780594216960,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4175962732070225920,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787288637000,"timestamp_ms":1787288637000,"timestamp_seconds":1787288637,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44e48"} 
[2026-08-21 10:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 10:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545888256001,"66":26876,"50":206,"9":3584,"24":14,"16":388056780594216960,"45":-4175962732070225920},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,9,24,16,45]} 
[2026-08-21 10:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545888256001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:35:37] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-08-21 10:35:37] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388056780594216960,"km_value":388056780594216.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4175962732070225920,"description":"Unknown IO ID 45"} 
[2026-08-21 10:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545888256001,"power":26876,"unknown_50":206,"unknown_9":3584,"ignition":14,"odometer":null,"unknown_45":-4175962732070225920}} 
[2026-08-21 10:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":161527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:35:37] local.INFO: GPS data processed {"connection_id":161527,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:35:37] local.INFO: Acknowledgment sent {"connection_id":161527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:35:55] local.INFO: TCP Data received {"connection_id":160181,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:35:55] local.INFO: Processing buffer {"connection_id":160181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:35:55] local.INFO: Packet analysis {"connection_id":160181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:55] local.INFO: Extracted packet for processing {"connection_id":160181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:35:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:35:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:35:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:35:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:35:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":160181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:35:55] local.INFO: GPS data processed {"connection_id":160181,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:35:55] local.INFO: Acknowledgment sent {"connection_id":160181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:35:58] local.INFO: TCP Data received {"connection_id":161528,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:35:58] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:35:58] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:36:03] local.INFO: TCP Data received {"connection_id":161528,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:03] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:03] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:36:04] local.INFO: TCP Data received {"connection_id":161528,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:04] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:04] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:36:08] local.INFO: TCP Data received {"connection_id":161528,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:08] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:08] local.INFO: IMEI packet received {"connection_id":161528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":161528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:36:09] local.INFO: TCP Data received {"connection_id":161528,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b46d88012dc61a00053790180035009830..."} 
[2026-08-21 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b46d88012dc61a00053790180035009830..."} 
[2026-08-21 10:36:09] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b46d88012dc61a00053790180035009830..."} 
[2026-08-21 10:36:09] local.INFO: Packet analysis {"connection_id":161528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:09] local.INFO: Extracted packet for processing {"connection_id":161528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:09] local.INFO: GPS Element Parsed {"raw_longitude":767957504,"raw_latitude":87527448,"longitude_deg":76.7957504,"latitude_deg":8.7527448,"altitude":53,"angle":152,"satellites":48,"speed":23,"hex_longitude":"2dc61a00","hex_latitude":"05379018","is_valid_coordinates":true} 
[2026-08-21 10:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388056952392908800,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4173007244815947776,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787288645000,"timestamp_ms":1787288645000,"timestamp_seconds":1787288645,"priority":1,"record_length":96,"hex_timestamp":"000001a022b46d88"} 
[2026-08-21 10:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-21 10:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545891072001,"66":27908,"51":206,"9":3584,"24":23,"16":388056952392908800,"45":-4173007244815947776},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,45]} 
[2026-08-21 10:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:36:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 10:36:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388056952392908800,"km_value":388056952392908.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4173007244815947776,"description":"Unknown IO ID 45"} 
[2026-08-21 10:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545891072001,"power":27908,"unknown_51":206,"unknown_9":3584,"ignition":23,"odometer":null,"unknown_45":-4173007244815947776}} 
[2026-08-21 10:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":161528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:36:09] local.INFO: GPS data processed {"connection_id":161528,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:36:09] local.INFO: Acknowledgment sent {"connection_id":161528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:36:23] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:36:23] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:36:23] local.INFO: IMEI packet received {"connection_id":159285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:36:23] local.INFO: IMEI acknowledgment sent {"connection_id":159285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:36:28] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:36:28] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:36:28] local.INFO: IMEI packet received {"connection_id":159285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":159285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:36:28] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:36:28] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:36:28] local.INFO: Packet analysis {"connection_id":159285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:28] local.INFO: Extracted packet for processing {"connection_id":159285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:36:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:36:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":159285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:36:29] local.INFO: GPS data processed {"connection_id":159285,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:36:29] local.INFO: Acknowledgment sent {"connection_id":159285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:36:33] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:36:33] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:36:33] local.INFO: Packet analysis {"connection_id":159285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:33] local.INFO: Extracted packet for processing {"connection_id":159285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:36:33] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:36:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":159285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:36:33] local.INFO: GPS data processed {"connection_id":159285,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:36:33] local.INFO: Acknowledgment sent {"connection_id":159285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:36:40] local.INFO: TCP Data received {"connection_id":161528,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b4a050012dc6298005376da80033009e31..."} 
[2026-08-21 10:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b4a050012dc6298005376da80033009e31..."} 
[2026-08-21 10:36:40] local.INFO: Processing buffer {"connection_id":161528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b4a050012dc6298005376da80033009e31..."} 
[2026-08-21 10:36:40] local.INFO: Packet analysis {"connection_id":161528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:40] local.INFO: Extracted packet for processing {"connection_id":161528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:36:40] local.INFO: GPS Element Parsed {"raw_longitude":767961472,"raw_latitude":87518632,"longitude_deg":76.7961472,"latitude_deg":8.7518632,"altitude":51,"angle":158,"satellites":49,"speed":35,"hex_longitude":"2dc62980","hex_latitude":"05376da8","is_valid_coordinates":true} 
[2026-08-21 10:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545893120001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388057420544344064,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4172022082398316544,"note":"Value kept but may cause issues"} 
[2026-08-21 10:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787288658000,"timestamp_ms":1787288658000,"timestamp_seconds":1787288658,"priority":1,"record_length":96,"hex_timestamp":"000001a022b4a050"} 
[2026-08-21 10:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545893120001,"66":27745,"51":206,"9":3584,"24":35,"16":388057420544344064,"45":-4172022082398316544},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,9,24,16,45]} 
[2026-08-21 10:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545893120001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:36:40] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 10:36:40] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388057420544344064,"km_value":388057420544344.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4172022082398316544,"description":"Unknown IO ID 45"} 
[2026-08-21 10:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545893120001,"power":27745,"unknown_51":206,"unknown_9":3584,"ignition":35,"odometer":null,"unknown_45":-4172022082398316544}} 
[2026-08-21 10:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":161528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:36:40] local.INFO: GPS data processed {"connection_id":161528,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:36:40] local.INFO: Acknowledgment sent {"connection_id":161528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:36:58] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:58] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:36:58] local.INFO: IMEI packet received {"connection_id":158988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":158988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:37:03] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:37:03] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:37:03] local.INFO: IMEI packet received {"connection_id":158988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":158988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:37:04] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b626f0012dc7118005366a60002d00892f..."} 
[2026-08-21 10:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b626f0012dc7118005366a60002d00892f..."} 
[2026-08-21 10:37:04] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b626f0012dc7118005366a60002d00892f..."} 
[2026-08-21 10:37:04] local.INFO: Packet analysis {"connection_id":158988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:37:04] local.INFO: Extracted packet for processing {"connection_id":158988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:37:04] local.INFO: GPS Element Parsed {"raw_longitude":768020864,"raw_latitude":87452256,"longitude_deg":76.8020864,"latitude_deg":8.7452256,"altitude":45,"angle":137,"satellites":47,"speed":38,"hex_longitude":"2dc71180","hex_latitude":"05366a60","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545919488001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388061775641182208,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4109745743818571776,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787288758000,"timestamp_ms":1787288758000,"timestamp_seconds":1787288758,"priority":1,"record_length":96,"hex_timestamp":"000001a022b626f0"} 
[2026-08-21 10:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 10:37:04] 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-08-21 10: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-08-21 10:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545919488001,"66":27919,"144":206,"9":3584,"24":38,"16":388061775641182208,"45":-4109745743818571776},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-08-21 10:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545919488001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:37:04] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 10:37:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388061775641182208,"km_value":388061775641182.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4109745743818571776,"description":"Unknown IO ID 45"} 
[2026-08-21 10:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545919488001,"power":27919,"unknown_144":206,"unknown_9":3584,"ignition":38,"odometer":null,"unknown_45":-4109745743818571776}} 
[2026-08-21 10:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":158988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:37:04] local.INFO: GPS data processed {"connection_id":158988,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:37:04] local.INFO: Acknowledgment sent {"connection_id":158988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:37:18] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:37:18] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:37:18] local.INFO: IMEI packet received {"connection_id":161529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":161529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:37:23] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:37:23] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:37:23] local.INFO: IMEI packet received {"connection_id":161529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":161529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:37:24] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:37:24] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:37:24] local.INFO: Packet analysis {"connection_id":161529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:37:24] local.INFO: Extracted packet for processing {"connection_id":161529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:37:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37: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-08-21 10:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 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-08-21 10:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:37: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-08-21 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-08-21 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-08-21 10:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:37: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-08-21 10:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:37:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:37:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":161529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:37:24] local.INFO: GPS data processed {"connection_id":161529,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:37:24] local.INFO: Acknowledgment sent {"connection_id":161529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:37:35] local.INFO: TCP Data received {"connection_id":158988,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b64e00012dc72b0005364ed8002b008a31..."} 
[2026-08-21 10:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b64e00012dc72b0005364ed8002b008a31..."} 
[2026-08-21 10:37:35] local.INFO: Processing buffer {"connection_id":158988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b64e00012dc72b0005364ed8002b008a31..."} 
[2026-08-21 10:37:35] local.INFO: Packet analysis {"connection_id":158988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:37:35] local.INFO: Extracted packet for processing {"connection_id":158988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:37:35] local.INFO: GPS Element Parsed {"raw_longitude":768027392,"raw_latitude":87445208,"longitude_deg":76.8027392,"latitude_deg":8.7445208,"altitude":43,"angle":138,"satellites":49,"speed":36,"hex_longitude":"2dc72b00","hex_latitude":"05364ed8","is_valid_coordinates":true} 
[2026-08-21 10:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545922048001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388062239497650176,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4102357025681678336,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787288768000,"timestamp_ms":1787288768000,"timestamp_seconds":1787288768,"priority":1,"record_length":96,"hex_timestamp":"000001a022b64e00"} 
[2026-08-21 10:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 10:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545922048001,"66":27745,"144":206,"9":3584,"24":36,"16":388062239497650176,"45":-4102357025681678336},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-08-21 10:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545922048001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:37:35] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 10:37:35] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388062239497650176,"km_value":388062239497650.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4102357025681678336,"description":"Unknown IO ID 45"} 
[2026-08-21 10:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545922048001,"power":27745,"unknown_144":206,"unknown_9":3584,"ignition":36,"odometer":null,"unknown_45":-4102357025681678336}} 
[2026-08-21 10:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":158988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:37:35] local.INFO: GPS data processed {"connection_id":158988,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:37:35] local.INFO: Acknowledgment sent {"connection_id":158988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:37:55] local.INFO: TCP Data received {"connection_id":161529,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:37:55] local.INFO: Processing buffer {"connection_id":161529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:37:55] local.INFO: Packet analysis {"connection_id":161529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:37:55] local.INFO: Extracted packet for processing {"connection_id":161529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:37:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:37:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:37:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:37:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":161529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:37:55] local.INFO: GPS data processed {"connection_id":161529,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:37:55] local.INFO: Acknowledgment sent {"connection_id":161529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:38:00] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:00] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:00] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:38:03] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:03] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:03] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:38:08] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:08] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:08] local.INFO: IMEI packet received {"connection_id":160182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":160182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:38:09] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b67510012dc74140053632200027009530..."} 
[2026-08-21 10:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b67510012dc74140053632200027009530..."} 
[2026-08-21 10:38:09] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b67510012dc74140053632200027009530..."} 
[2026-08-21 10:38:09] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:38:09] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:38:09] local.INFO: GPS Element Parsed {"raw_longitude":768033088,"raw_latitude":87437856,"longitude_deg":76.8033088,"latitude_deg":8.7437856,"altitude":39,"angle":149,"satellites":48,"speed":39,"hex_longitude":"2dc74140","hex_latitude":"05363220","is_valid_coordinates":true} 
[2026-08-21 10:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545924608001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388062690469216256,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4095179413777360896,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787288778000,"timestamp_ms":1787288778000,"timestamp_seconds":1787288778,"priority":1,"record_length":96,"hex_timestamp":"000001a022b67510"} 
[2026-08-21 10:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 10:38:09] 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-08-21 10:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545924608001,"66":27908,"144":206,"9":3584,"24":39,"16":388062690469216256,"45":-4095179413777360896},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-08-21 10:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545924608001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:38:09] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 10:38:09] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388062690469216256,"km_value":388062690469216.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4095179413777360896,"description":"Unknown IO ID 45"} 
[2026-08-21 10:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545924608001,"power":27908,"unknown_144":206,"unknown_9":3584,"ignition":39,"odometer":null,"unknown_45":-4095179413777360896}} 
[2026-08-21 10:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:38:09] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:38:09] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:38:11] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b69838012dc750c0053611e00023009b2f..."} 
[2026-08-21 10:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b69838012dc750c0053611e00023009b2f..."} 
[2026-08-21 10:38:11] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b69838012dc750c0053611e00023009b2f..."} 
[2026-08-21 10:38:11] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:38:11] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":768037056,"raw_latitude":87429600,"longitude_deg":76.8037056,"latitude_deg":8.74296,"altitude":35,"angle":155,"satellites":47,"speed":40,"hex_longitude":"2dc750c0","hex_latitude":"053611e0","is_valid_coordinates":true} 
[2026-08-21 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545927168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388063132850847744,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4088916595547430912,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787288787000,"timestamp_ms":1787288787000,"timestamp_seconds":1787288787,"priority":1,"record_length":96,"hex_timestamp":"000001a022b69838"} 
[2026-08-21 10:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545927168001,"66":27343,"144":206,"9":3584,"24":40,"16":388063132850847744,"45":-4088916595547430912},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-08-21 10:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545927168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:38:11] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 10:38:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388063132850847744,"km_value":388063132850847.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4088916595547430912,"description":"Unknown IO ID 45"} 
[2026-08-21 10:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545927168001,"power":27343,"unknown_144":206,"unknown_9":3584,"ignition":40,"odometer":null,"unknown_45":-4088916595547430912}} 
[2026-08-21 10:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:38:11] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:38:11] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:38:18] local.INFO: TCP Data received {"connection_id":158989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:38:18] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:38:18] local.INFO: IMEI packet received {"connection_id":158989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:38:18] local.INFO: IMEI acknowledgment sent {"connection_id":158989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:38:23] local.INFO: TCP Data received {"connection_id":158989,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:38:23] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:38:23] local.INFO: IMEI packet received {"connection_id":158989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":158989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:38:23] local.INFO: TCP Data received {"connection_id":158989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:38:23] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:38:23] local.INFO: Packet analysis {"connection_id":158989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:38:23] local.INFO: Extracted packet for processing {"connection_id":158989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:38:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:38:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:38:24] local.INFO: DEBUG: GPS processor result {"connection_id":158989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:38:24] local.INFO: GPS data processed {"connection_id":158989,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:38:24] local.INFO: Acknowledgment sent {"connection_id":158989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:38:42] local.INFO: TCP Data received {"connection_id":160182,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b6bb60012dc75e400535f180001f009c2d..."} 
[2026-08-21 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b6bb60012dc75e400535f180001f009c2d..."} 
[2026-08-21 10:38:42] local.INFO: Processing buffer {"connection_id":160182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b6bb60012dc75e400535f180001f009c2d..."} 
[2026-08-21 10:38:42] local.INFO: Packet analysis {"connection_id":160182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:38:42] local.INFO: Extracted packet for processing {"connection_id":160182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:38:42] local.INFO: GPS Element Parsed {"raw_longitude":768040512,"raw_latitude":87421312,"longitude_deg":76.8040512,"latitude_deg":8.7421312,"altitude":31,"angle":156,"satellites":45,"speed":39,"hex_longitude":"2dc75e40","hex_latitude":"0535f180","is_valid_coordinates":true} 
[2026-08-21 10:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545929472001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388063570937511936,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4084553733410529280,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787288796000,"timestamp_ms":1787288796000,"timestamp_seconds":1787288796,"priority":1,"record_length":96,"hex_timestamp":"000001a022b6bb60"} 
[2026-08-21 10:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 10:38:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545929472001,"66":27930,"144":206,"9":3584,"24":39,"16":388063570937511936,"45":-4084553733410529280},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-08-21 10:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545929472001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:38:42] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 10:38:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388063570937511936,"km_value":388063570937511.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4084553733410529280,"description":"Unknown IO ID 45"} 
[2026-08-21 10:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545929472001,"power":27930,"unknown_144":206,"unknown_9":3584,"ignition":39,"odometer":null,"unknown_45":-4084553733410529280}} 
[2026-08-21 10:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":160182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:38:42] local.INFO: GPS data processed {"connection_id":160182,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:38:42] local.INFO: Acknowledgment sent {"connection_id":160182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:38:55] local.INFO: TCP Data received {"connection_id":158989,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:38:55] local.INFO: Processing buffer {"connection_id":158989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:38:55] local.INFO: Packet analysis {"connection_id":158989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:38:55] local.INFO: Extracted packet for processing {"connection_id":158989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":158989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":158989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":158989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:38:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:38:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":158989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:38:55] local.INFO: GPS data processed {"connection_id":158989,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:38:55] local.INFO: Acknowledgment sent {"connection_id":158989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:38:56] local.INFO: TCP Data received {"connection_id":161530,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:56] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:56] local.INFO: IMEI packet received {"connection_id":161530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":161530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:38:58] local.INFO: TCP Data received {"connection_id":161530,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:58] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:38:58] local.INFO: IMEI packet received {"connection_id":161530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":161530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:39:03] local.INFO: TCP Data received {"connection_id":161530,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:39:03] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:39:03] local.INFO: IMEI packet received {"connection_id":161530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":161530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:39:11] local.INFO: TCP Data received {"connection_id":161530,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b6e270012dc76dc00535d010001c00972e..."} 
[2026-08-21 10:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b6e270012dc76dc00535d010001c00972e..."} 
[2026-08-21 10:39:11] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b6e270012dc76dc00535d010001c00972e..."} 
[2026-08-21 10:39:11] local.INFO: Packet analysis {"connection_id":161530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:39:11] local.INFO: Extracted packet for processing {"connection_id":161530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b6"} 
[2026-08-21 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":768044480,"raw_latitude":87412752,"longitude_deg":76.804448,"latitude_deg":8.7412752,"altitude":28,"angle":151,"satellites":46,"speed":36,"hex_longitude":"2dc76dc0","hex_latitude":"0535d010","is_valid_coordinates":true} 
[2026-08-21 10:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545931776001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388064026204045312,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4080753821227057152,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787288806000,"timestamp_ms":1787288806000,"timestamp_seconds":1787288806,"priority":1,"record_length":96,"hex_timestamp":"000001a022b6e270"} 
[2026-08-21 10:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 10:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545931776001,"66":27919,"144":206,"9":3584,"24":36,"16":388064026204045312,"45":-4080753821227057152},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,9,24,16,45]} 
[2026-08-21 10:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545931776001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:39:11] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 10:39:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388064026204045312,"km_value":388064026204045.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4080753821227057152,"description":"Unknown IO ID 45"} 
[2026-08-21 10:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545931776001,"power":27919,"unknown_144":206,"unknown_9":3584,"ignition":36,"odometer":null,"unknown_45":-4080753821227057152}} 
[2026-08-21 10:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":161530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:39:11] local.INFO: GPS data processed {"connection_id":161530,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:39:11] local.INFO: Acknowledgment sent {"connection_id":161530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:39:18] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:39:18] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:39:18] local.INFO: IMEI packet received {"connection_id":158990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":158990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:39:23] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:39:23] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:39:23] local.INFO: IMEI packet received {"connection_id":158990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":158990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:39:23] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:39:23] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b44678012d196500071ff0a8003a01442c..."} 
[2026-08-21 10:39:23] local.INFO: Packet analysis {"connection_id":158990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:39:23] local.INFO: Extracted packet for processing {"connection_id":158990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b4"} 
[2026-08-21 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288635000,"timestamp_ms":1787288635000,"timestamp_seconds":1787288635,"priority":1,"record_length":96,"hex_timestamp":"000001a022b44678"} 
[2026-08-21 10:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 10:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":158990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545813504001,"66":2177,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:39:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:39:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545813504001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":158990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:39:24] local.INFO: GPS data processed {"connection_id":158990,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:39:24] local.INFO: Acknowledgment sent {"connection_id":158990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:39:42] local.INFO: TCP Data received {"connection_id":161530,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b8a790012dc857000534b0980031009830..."} 
[2026-08-21 10:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b8a790012dc857000534b0980031009830..."} 
[2026-08-21 10:39:42] local.INFO: Processing buffer {"connection_id":161530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b8a790012dc857000534b0980031009830..."} 
[2026-08-21 10:39:42] local.INFO: Packet analysis {"connection_id":161530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:39:42] local.INFO: Extracted packet for processing {"connection_id":161530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:39:42] local.INFO: GPS Element Parsed {"raw_longitude":768104192,"raw_latitude":87339160,"longitude_deg":76.8104192,"latitude_deg":8.733916,"altitude":49,"angle":152,"satellites":48,"speed":34,"hex_longitude":"2dc85700","hex_latitude":"0534b098","is_valid_coordinates":true} 
[2026-08-21 10:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545961216001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388068660473757696,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4015451626649112576,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787288922000,"timestamp_ms":1787288922000,"timestamp_seconds":1787288922,"priority":1,"record_length":96,"hex_timestamp":"000001a022b8a790"} 
[2026-08-21 10:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 10:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545961216001,"66":27865,"145":206,"9":3584,"24":34,"16":388068660473757696,"45":-4015451626649112576},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,45]} 
[2026-08-21 10:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545961216001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:39:42] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 10:39:42] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388068660473757696,"km_value":388068660473757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4015451626649112576,"description":"Unknown IO ID 45"} 
[2026-08-21 10:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545961216001,"power":27865,"unknown_145":206,"unknown_9":3584,"ignition":34,"odometer":null,"unknown_45":-4015451626649112576}} 
[2026-08-21 10:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":161530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:39:42] local.INFO: GPS data processed {"connection_id":161530,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:39:42] local.INFO: Acknowledgment sent {"connection_id":161530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:39:54] local.INFO: TCP Data received {"connection_id":158990,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158990,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:39:54] local.INFO: Processing buffer {"connection_id":158990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:39:54] local.INFO: Packet analysis {"connection_id":158990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:39:54] local.INFO: Extracted packet for processing {"connection_id":158990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:39:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545890560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:39: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-08-21 10:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787288936000,"timestamp_ms":1787288936000,"timestamp_seconds":1787288936,"priority":1,"record_length":96,"hex_timestamp":"000001a022b8de40"} 
[2026-08-21 10:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:39:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":158990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":158990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545890560001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545890560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:39:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:39:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545890560001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":158990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:39:54] local.INFO: GPS data processed {"connection_id":158990,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:39:54] local.INFO: Acknowledgment sent {"connection_id":158990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:39:58] local.INFO: TCP Data received {"connection_id":161531,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:39:58] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:39:58] local.INFO: IMEI packet received {"connection_id":161531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":161531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:40:00] local.INFO: TCP Data received {"connection_id":161531,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:40:00] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:40:00] local.INFO: IMEI packet received {"connection_id":161531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":161531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:40:03] local.INFO: TCP Data received {"connection_id":161531,"ip":"117.224.255.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:40:03] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:40:03] local.INFO: IMEI packet received {"connection_id":161531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":161531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:40:04] local.INFO: TCP Data received {"connection_id":161531,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b8cea0012dc86740053491180034009931..."} 
[2026-08-21 10:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b8cea0012dc86740053491180034009931..."} 
[2026-08-21 10:40:04] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b8cea0012dc86740053491180034009931..."} 
[2026-08-21 10:40:04] local.INFO: Packet analysis {"connection_id":161531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:04] local.INFO: Extracted packet for processing {"connection_id":161531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:04] local.INFO: GPS Element Parsed {"raw_longitude":768108352,"raw_latitude":87331096,"longitude_deg":76.8108352,"latitude_deg":8.7331096,"altitude":52,"angle":153,"satellites":49,"speed":36,"hex_longitude":"2dc86740","hex_latitude":"05349118","is_valid_coordinates":true} 
[2026-08-21 10:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545964032001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388069098560421888,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4010736920791312384,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787288932000,"timestamp_ms":1787288932000,"timestamp_seconds":1787288932,"priority":1,"record_length":96,"hex_timestamp":"000001a022b8cea0"} 
[2026-08-21 10:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":217,"data_length":795,"current_offset":136} 
[2026-08-21 10:40:04] 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-08-21 10:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545964032001,"66":26930,"145":206,"9":3584,"24":36,"16":388069098560421888,"45":-4010736920791312384},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,45]} 
[2026-08-21 10:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545964032001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:40:04] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 10:40:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388069098560421888,"km_value":388069098560421.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4010736920791312384,"description":"Unknown IO ID 45"} 
[2026-08-21 10:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545964032001,"power":26930,"unknown_145":206,"unknown_9":3584,"ignition":36,"odometer":null,"unknown_45":-4010736920791312384}} 
[2026-08-21 10:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":161531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:40:04] local.INFO: GPS data processed {"connection_id":161531,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:40:04] local.INFO: Acknowledgment sent {"connection_id":161531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:40:08] local.INFO: TCP Data received {"connection_id":161531,"ip":"117.224.255.2","data_length":795,"data_hex":"000000000000030f8e0a000001a022b8f5b0012dc87780053470e80036009b30..."} 
[2026-08-21 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b8f5b0012dc87780053470e80036009b30..."} 
[2026-08-21 10:40:08] local.INFO: Processing buffer {"connection_id":161531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b8f5b0012dc87780053470e80036009b30..."} 
[2026-08-21 10:40:08] local.INFO: Packet analysis {"connection_id":161531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:08] local.INFO: Extracted packet for processing {"connection_id":161531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:08] local.INFO: GPS Element Parsed {"raw_longitude":768112512,"raw_latitude":87322856,"longitude_deg":76.8112512,"latitude_deg":8.7322856,"altitude":54,"angle":155,"satellites":48,"speed":37,"hex_longitude":"2dc87780","hex_latitude":"053470e8","is_valid_coordinates":true} 
[2026-08-21 10:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545966592001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388069545237020672,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4006162952421828608,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787288942000,"timestamp_ms":1787288942000,"timestamp_seconds":1787288942,"priority":1,"record_length":96,"hex_timestamp":"000001a022b8f5b0"} 
[2026-08-21 10:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-21 10:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.255.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545966592001,"66":27908,"145":206,"9":3584,"24":37,"16":388069545237020672,"45":-4006162952421828608},"client_ip":"117.224.255.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,9,24,16,45]} 
[2026-08-21 10:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545966592001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:40:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 10:40:08] local.INFO: Unknown IO ID detected {"io_id":9,"value":3584,"description":"Unknown IO ID 9"} 
[2026-08-21 10:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388069545237020672,"km_value":388069545237020.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4006162952421828608,"description":"Unknown IO ID 45"} 
[2026-08-21 10:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545966592001,"power":27908,"unknown_145":206,"unknown_9":3584,"ignition":37,"odometer":null,"unknown_45":-4006162952421828608}} 
[2026-08-21 10:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":161531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:40:08] local.INFO: GPS data processed {"connection_id":161531,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:40:08] local.INFO: Acknowledgment sent {"connection_id":161531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:40:17] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:40:17] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:40:17] local.INFO: IMEI packet received {"connection_id":160183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 10:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":160183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:40:23] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:40:23] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 10:40:23] local.INFO: IMEI packet received {"connection_id":160183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 10:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":160183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:40:23] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:40:23] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:40:23] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:23] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545890560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787288936000,"timestamp_ms":1787288936000,"timestamp_seconds":1787288936,"priority":1,"record_length":96,"hex_timestamp":"000001a022b8de40"} 
[2026-08-21 10:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:40:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:40:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:40:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545890560001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545890560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:40:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:40:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545890560001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:40:23] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:40:23] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:40:55] local.INFO: TCP Data received {"connection_id":160183,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:40:55] local.INFO: Processing buffer {"connection_id":160183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022b8de40012d196500071ff0a8003a01442a..."} 
[2026-08-21 10:40:55] local.INFO: Packet analysis {"connection_id":160183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:55] local.INFO: Extracted packet for processing {"connection_id":160183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022b8"} 
[2026-08-21 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533736,"longitude_deg":75.6638976,"latitude_deg":11.9533736,"altitude":58,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff0a8","is_valid_coordinates":true} 
[2026-08-21 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457545890560001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226276009115648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196611072,"note":"Value kept but may cause issues"} 
[2026-08-21 10:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787288936000,"timestamp_ms":1787288936000,"timestamp_seconds":1787288936,"priority":1,"record_length":96,"hex_timestamp":"000001a022b8de40"} 
[2026-08-21 10:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:40:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 10:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-08-21 10:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 10:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 10:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 10:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457545890560001,"66":2166,"102":206,"83":41984,"24":0,"16":14226276009115648,"45":1829868854196611072},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 10:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 10:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 10:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457545890560001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:40:55] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 10:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 10:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226276009115648,"km_value":14226276009115.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196611072,"description":"Unknown IO ID 45"} 
[2026-08-21 10:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457545890560001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829868854196611072}} 
[2026-08-21 10:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":160183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:40:55] local.INFO: GPS data processed {"connection_id":160183,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:40:55] local.INFO: Acknowledgment sent {"connection_id":160183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:45:13] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:13] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:13] local.INFO: IMEI packet received {"connection_id":161532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":161532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:45:16] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:16] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:16] local.INFO: IMEI packet received {"connection_id":161532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":161532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:45:17] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bd9160012dc901800530a638001a00942e..."} 
[2026-08-21 10:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bd9160012dc901800530a638001a00942e..."} 
[2026-08-21 10:45:17] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bd9160012dc901800530a638001a00942e..."} 
[2026-08-21 10:45:17] local.INFO: Packet analysis {"connection_id":161532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:45:17] local.INFO: Extracted packet for processing {"connection_id":161532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:45:17] local.INFO: GPS Element Parsed {"raw_longitude":768147840,"raw_latitude":87074360,"longitude_deg":76.814784,"latitude_deg":8.707436,"altitude":26,"angle":148,"satellites":46,"speed":36,"hex_longitude":"2dc90180","hex_latitude":"0530a638","is_valid_coordinates":true} 
[2026-08-21 10:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546043904001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388082236865380352,"note":"Value kept but may cause issues"} 
[2026-08-21 10:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3968867518071451648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787289244000,"timestamp_ms":1787289244000,"timestamp_seconds":1787289244,"priority":1,"record_length":96,"hex_timestamp":"000001a022bd9160"} 
[2026-08-21 10:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 10:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546043904001,"66":27789,"222":206,"80":35072,"24":36,"16":388082236865380352,"45":-3968867518071451648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-08-21 10:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546043904001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:45:17] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-21 10:45:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388082236865380352,"km_value":388082236865380.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3968867518071451648,"description":"Unknown IO ID 45"} 
[2026-08-21 10:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546043904001,"power":27789,"unknown_222":206,"unknown_80":35072,"ignition":36,"odometer":null,"unknown_45":-3968867518071451648}} 
[2026-08-21 10:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":161532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:45:17] local.INFO: GPS data processed {"connection_id":161532,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:45:17] local.INFO: Acknowledgment sent {"connection_id":161532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:45:19] local.INFO: TCP Data received {"connection_id":161532,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bda4e8012dc9094005309678001c00a12e..."} 
[2026-08-21 10:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bda4e8012dc9094005309678001c00a12e..."} 
[2026-08-21 10:45:19] local.INFO: Processing buffer {"connection_id":161532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bda4e8012dc9094005309678001c00a12e..."} 
[2026-08-21 10:45:19] local.INFO: Packet analysis {"connection_id":161532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:45:19] local.INFO: Extracted packet for processing {"connection_id":161532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:45:19] local.INFO: GPS Element Parsed {"raw_longitude":768149824,"raw_latitude":87070328,"longitude_deg":76.8149824,"latitude_deg":8.7070328,"altitude":28,"angle":161,"satellites":46,"speed":34,"hex_longitude":"2dc90940","hex_latitude":"05309678","is_valid_coordinates":true} 
[2026-08-21 10:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546046464001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388082455908712448,"note":"Value kept but may cause issues"} 
[2026-08-21 10:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3962745437329934336,"note":"Value kept but may cause issues"} 
[2026-08-21 10:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787289249000,"timestamp_ms":1787289249000,"timestamp_seconds":1787289249,"priority":1,"record_length":96,"hex_timestamp":"000001a022bda4e8"} 
[2026-08-21 10:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 10:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546046464001,"66":27865,"224":206,"80":35072,"24":34,"16":388082455908712448,"45":-3962745437329934336},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-08-21 10:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546046464001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:45:19] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-21 10:45:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388082455908712448,"km_value":388082455908712.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3962745437329934336,"description":"Unknown IO ID 45"} 
[2026-08-21 10:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546046464001,"power":27865,"unknown_224":206,"unknown_80":35072,"ignition":34,"odometer":null,"unknown_45":-3962745437329934336}} 
[2026-08-21 10:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":161532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:45:19] local.INFO: GPS data processed {"connection_id":161532,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:45:19] local.INFO: Acknowledgment sent {"connection_id":161532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:45:58] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:58] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:45:58] local.INFO: IMEI packet received {"connection_id":159286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":159286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:46:02] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:46:02] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:46:02] local.INFO: IMEI packet received {"connection_id":159286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:46:03] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bdc040012dc90e8005307cf0001d00ac2d..."} 
[2026-08-21 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bdc040012dc90e8005307cf0001d00ac2d..."} 
[2026-08-21 10:46:03] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bdc040012dc90e8005307cf0001d00ac2d..."} 
[2026-08-21 10:46:03] local.INFO: Packet analysis {"connection_id":159286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:46:03] local.INFO: Extracted packet for processing {"connection_id":159286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":768151168,"raw_latitude":87063792,"longitude_deg":76.8151168,"latitude_deg":8.7063792,"altitude":29,"angle":172,"satellites":45,"speed":41,"hex_longitude":"2dc90e80","hex_latitude":"05307cf0","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546047744001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388082782326226944,"note":"Value kept but may cause issues"} 
[2026-08-21 10:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3960564006261458944,"note":"Value kept but may cause issues"} 
[2026-08-21 10:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787289256000,"timestamp_ms":1787289256000,"timestamp_seconds":1787289256,"priority":1,"record_length":96,"hex_timestamp":"000001a022bdc040"} 
[2026-08-21 10:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 10:46:03] 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-08-21 10: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-08-21 10:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:46: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-08-21 10:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546047744001,"66":27908,"224":206,"80":35072,"24":41,"16":388082782326226944,"45":-3960564006261458944},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-08-21 10:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546047744001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:46:03] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-21 10:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388082782326226944,"km_value":388082782326226.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3960564006261458944,"description":"Unknown IO ID 45"} 
[2026-08-21 10:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546047744001,"power":27908,"unknown_224":206,"unknown_80":35072,"ignition":41,"odometer":null,"unknown_45":-3960564006261458944}} 
[2026-08-21 10:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":159286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:46:03] local.INFO: GPS data processed {"connection_id":159286,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:46:03] local.INFO: Acknowledgment sent {"connection_id":159286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:46:34] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bdd3c8012dc90f80053067c8001c00b82e..."} 
[2026-08-21 10:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bdd3c8012dc90f80053067c8001c00b82e..."} 
[2026-08-21 10:46:34] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bdd3c8012dc90f80053067c8001c00b82e..."} 
[2026-08-21 10:46:34] local.INFO: Packet analysis {"connection_id":159286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:46:34] local.INFO: Extracted packet for processing {"connection_id":159286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:46:34] local.INFO: GPS Element Parsed {"raw_longitude":768151424,"raw_latitude":87058376,"longitude_deg":76.8151424,"latitude_deg":8.7058376,"altitude":28,"angle":184,"satellites":46,"speed":43,"hex_longitude":"2dc90f80","hex_latitude":"053067c8","is_valid_coordinates":true} 
[2026-08-21 10:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546049536001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388083044319232000,"note":"Value kept but may cause issues"} 
[2026-08-21 10:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3959086262635401216,"note":"Value kept but may cause issues"} 
[2026-08-21 10:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787289261000,"timestamp_ms":1787289261000,"timestamp_seconds":1787289261,"priority":1,"record_length":96,"hex_timestamp":"000001a022bdd3c8"} 
[2026-08-21 10:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546049536001,"66":27876,"224":206,"80":35072,"24":43,"16":388083044319232000,"45":-3959086262635401216},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-08-21 10:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546049536001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:46:34] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-21 10:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388083044319232000,"km_value":388083044319232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3959086262635401216,"description":"Unknown IO ID 45"} 
[2026-08-21 10:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546049536001,"power":27876,"unknown_224":206,"unknown_80":35072,"ignition":43,"odometer":null,"unknown_45":-3959086262635401216}} 
[2026-08-21 10:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":159286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:46:34] local.INFO: GPS data processed {"connection_id":159286,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:46:34] local.INFO: Acknowledgment sent {"connection_id":159286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:46:58] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:46:58] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:46:58] local.INFO: IMEI packet received {"connection_id":161533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":161533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:47:03] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:47:03] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:47:03] local.INFO: IMEI packet received {"connection_id":161533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":161533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:47:04] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bdf6f0012dc908c005304228001d00c029..."} 
[2026-08-21 10:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bdf6f0012dc908c005304228001d00c029..."} 
[2026-08-21 10:47:04] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bdf6f0012dc908c005304228001d00c029..."} 
[2026-08-21 10:47:04] local.INFO: Packet analysis {"connection_id":161533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:47:04] local.INFO: Extracted packet for processing {"connection_id":161533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022bd"} 
[2026-08-21 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":768149696,"raw_latitude":87048744,"longitude_deg":76.8149696,"latitude_deg":8.7048744,"altitude":29,"angle":192,"satellites":41,"speed":44,"hex_longitude":"2dc908c0","hex_latitude":"05304228","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546050816001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388083516765634560,"note":"Value kept but may cause issues"} 
[2026-08-21 10:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3958804787660077056,"note":"Value kept but may cause issues"} 
[2026-08-21 10:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289270000,"timestamp_ms":1787289270000,"timestamp_seconds":1787289270,"priority":1,"record_length":96,"hex_timestamp":"000001a022bdf6f0"} 
[2026-08-21 10:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 10:47: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-08-21 10: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-08-21 10:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546050816001,"66":27691,"224":206,"80":35072,"24":44,"16":388083516765634560,"45":-3958804787660077056},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-08-21 10:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546050816001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:47:04] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-21 10:47:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388083516765634560,"km_value":388083516765634.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3958804787660077056,"description":"Unknown IO ID 45"} 
[2026-08-21 10:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546050816001,"power":27691,"unknown_224":206,"unknown_80":35072,"ignition":44,"odometer":null,"unknown_45":-3958804787660077056}} 
[2026-08-21 10:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":161533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:47:04] local.INFO: GPS data processed {"connection_id":161533,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:47:04] local.INFO: Acknowledgment sent {"connection_id":161533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:47:35] local.INFO: TCP Data received {"connection_id":161533,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022be1630012dc9018005301f90001f00c22c..."} 
[2026-08-21 10:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022be1630012dc9018005301f90001f00c22c..."} 
[2026-08-21 10:47:35] local.INFO: Processing buffer {"connection_id":161533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022be1630012dc9018005301f90001f00c22c..."} 
[2026-08-21 10:47:35] local.INFO: Packet analysis {"connection_id":161533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:47:35] local.INFO: Extracted packet for processing {"connection_id":161533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:47:35] local.INFO: GPS Element Parsed {"raw_longitude":768147840,"raw_latitude":87039888,"longitude_deg":76.814784,"latitude_deg":8.7039888,"altitude":31,"angle":194,"satellites":44,"speed":45,"hex_longitude":"2dc90180","hex_latitude":"05301f90","is_valid_coordinates":true} 
[2026-08-21 10:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546053120001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388083959147266048,"note":"Value kept but may cause issues"} 
[2026-08-21 10:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3960704743755339776,"note":"Value kept but may cause issues"} 
[2026-08-21 10:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787289278000,"timestamp_ms":1787289278000,"timestamp_seconds":1787289278,"priority":1,"record_length":96,"hex_timestamp":"000001a022be1630"} 
[2026-08-21 10:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 10:47:35] 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-08-21 10:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546053120001,"66":27843,"224":206,"80":35072,"24":45,"16":388083959147266048,"45":-3960704743755339776},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,80,24,16,45]} 
[2026-08-21 10:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546053120001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:47:35] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-08-21 10:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388083959147266048,"km_value":388083959147266.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3960704743755339776,"description":"Unknown IO ID 45"} 
[2026-08-21 10:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546053120001,"power":27843,"unknown_224":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-3960704743755339776}} 
[2026-08-21 10:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":161533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:47:35] local.INFO: GPS data processed {"connection_id":161533,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:47:35] local.INFO: Acknowledgment sent {"connection_id":161533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:47:58] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:47:58] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:47:58] local.INFO: IMEI packet received {"connection_id":158992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":158992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:48:03] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:48:03] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:48:03] local.INFO: IMEI packet received {"connection_id":158992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":158992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:48:04] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022be4128012dc8f640052ffd90001f00c62d..."} 
[2026-08-21 10:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022be4128012dc8f640052ffd90001f00c62d..."} 
[2026-08-21 10:48:04] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022be4128012dc8f640052ffd90001f00c62d..."} 
[2026-08-21 10:48:04] local.INFO: Packet analysis {"connection_id":158992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:48:04] local.INFO: Extracted packet for processing {"connection_id":158992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:48:04] local.INFO: GPS Element Parsed {"raw_longitude":768144960,"raw_latitude":87031184,"longitude_deg":76.814496,"latitude_deg":8.7031184,"altitude":31,"angle":198,"satellites":45,"speed":13,"hex_longitude":"2dc8f640","hex_latitude":"052ffd90","is_valid_coordinates":true} 
[2026-08-21 10:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546055168001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388084401528897536,"note":"Value kept but may cause issues"} 
[2026-08-21 10:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3962745437338759168,"note":"Value kept but may cause issues"} 
[2026-08-21 10:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289289000,"timestamp_ms":1787289289000,"timestamp_seconds":1787289289,"priority":1,"record_length":96,"hex_timestamp":"000001a022be4128"} 
[2026-08-21 10:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:48: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-08-21 10:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 10:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546055168001,"66":27865,"10":206,"80":35072,"24":13,"16":388084401528897536,"45":-3962745437338759168},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 10:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546055168001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:48:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 10:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388084401528897536,"km_value":388084401528897.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3962745437338759168,"description":"Unknown IO ID 45"} 
[2026-08-21 10:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546055168001,"power":27865,"unknown_10":206,"unknown_80":35072,"ignition":13,"odometer":null,"unknown_45":-3962745437338759168}} 
[2026-08-21 10:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":158992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:48:04] local.INFO: GPS data processed {"connection_id":158992,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:48:04] local.INFO: Acknowledgment sent {"connection_id":158992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:48:35] local.INFO: TCP Data received {"connection_id":158992,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022be7fa8012dc8e740052fdc70002000ce2d..."} 
[2026-08-21 10:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022be7fa8012dc8e740052fdc70002000ce2d..."} 
[2026-08-21 10:48:35] local.INFO: Processing buffer {"connection_id":158992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022be7fa8012dc8e740052fdc70002000ce2d..."} 
[2026-08-21 10:48:35] local.INFO: Packet analysis {"connection_id":158992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:48:35] local.INFO: Extracted packet for processing {"connection_id":158992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:48:35] local.INFO: GPS Element Parsed {"raw_longitude":768141120,"raw_latitude":87022704,"longitude_deg":76.814112,"latitude_deg":8.7022704,"altitude":32,"angle":206,"satellites":45,"speed":33,"hex_longitude":"2dc8e740","hex_latitude":"052fdc70","is_valid_coordinates":true} 
[2026-08-21 10:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546057984001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388084852500463616,"note":"Value kept but may cause issues"} 
[2026-08-21 10:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3965912030828982272,"note":"Value kept but may cause issues"} 
[2026-08-21 10:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787289305000,"timestamp_ms":1787289305000,"timestamp_seconds":1787289305,"priority":1,"record_length":96,"hex_timestamp":"000001a022be7fa8"} 
[2026-08-21 10:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:48: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-08-21 10:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 10:48:35] 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-08-21 10:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546057984001,"66":27930,"10":206,"80":35072,"24":33,"16":388084852500463616,"45":-3965912030828982272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 10:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546057984001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:48:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 10:48:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388084852500463616,"km_value":388084852500463.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3965912030828982272,"description":"Unknown IO ID 45"} 
[2026-08-21 10:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546057984001,"power":27930,"unknown_10":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-3965912030828982272}} 
[2026-08-21 10:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":158992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:48:35] local.INFO: GPS data processed {"connection_id":158992,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:48:35] local.INFO: Acknowledgment sent {"connection_id":158992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:48:58] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:48:58] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:48:58] local.INFO: IMEI packet received {"connection_id":161534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":161534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:49:03] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:49:03] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:49:03] local.INFO: IMEI packet received {"connection_id":161534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":161534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:49:05] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bea6b8012dc8d980052fbc40002100c32c..."} 
[2026-08-21 10:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bea6b8012dc8d980052fbc40002100c32c..."} 
[2026-08-21 10:49:05] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bea6b8012dc8d980052fbc40002100c32c..."} 
[2026-08-21 10:49:05] local.INFO: Packet analysis {"connection_id":161534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:49:05] local.INFO: Extracted packet for processing {"connection_id":161534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:49:05] local.INFO: GPS Element Parsed {"raw_longitude":768137600,"raw_latitude":87014464,"longitude_deg":76.81376,"latitude_deg":8.7014464,"altitude":33,"angle":195,"satellites":44,"speed":35,"hex_longitude":"2dc8d980","hex_latitude":"052fbc40","is_valid_coordinates":true} 
[2026-08-21 10:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546062080001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388085286292160512,"note":"Value kept but may cause issues"} 
[2026-08-21 10:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3970134155481812992,"note":"Value kept but may cause issues"} 
[2026-08-21 10:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787289315000,"timestamp_ms":1787289315000,"timestamp_seconds":1787289315,"priority":1,"record_length":96,"hex_timestamp":"000001a022bea6b8"} 
[2026-08-21 10:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 10:49:05] 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-08-21 10:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:49: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-08-21 10:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546062080001,"66":27767,"10":206,"80":35072,"24":35,"16":388085286292160512,"45":-3970134155481812992},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 10:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546062080001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:49:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 10:49:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388085286292160512,"km_value":388085286292160.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3970134155481812992,"description":"Unknown IO ID 45"} 
[2026-08-21 10:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546062080001,"power":27767,"unknown_10":206,"unknown_80":35072,"ignition":35,"odometer":null,"unknown_45":-3970134155481812992}} 
[2026-08-21 10:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":161534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:49:05] local.INFO: GPS data processed {"connection_id":161534,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:49:05] local.INFO: Acknowledgment sent {"connection_id":161534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:49:36] local.INFO: TCP Data received {"connection_id":161534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bec9e0012dc8d500052fa150002400b72f..."} 
[2026-08-21 10:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bec9e0012dc8d500052fa150002400b72f..."} 
[2026-08-21 10:49:36] local.INFO: Processing buffer {"connection_id":161534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bec9e0012dc8d500052fa150002400b72f..."} 
[2026-08-21 10:49:36] local.INFO: Packet analysis {"connection_id":161534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:49:36] local.INFO: Extracted packet for processing {"connection_id":161534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022be"} 
[2026-08-21 10:49:36] local.INFO: GPS Element Parsed {"raw_longitude":768136448,"raw_latitude":87007568,"longitude_deg":76.8136448,"latitude_deg":8.7007568,"altitude":36,"angle":183,"satellites":47,"speed":24,"hex_longitude":"2dc8d500","hex_latitude":"052fa150","is_valid_coordinates":true} 
[2026-08-21 10:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546064640001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388085625594576896,"note":"Value kept but may cause issues"} 
[2026-08-21 10:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974004436413693952,"note":"Value kept but may cause issues"} 
[2026-08-21 10:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787289324000,"timestamp_ms":1787289324000,"timestamp_seconds":1787289324,"priority":1,"record_length":96,"hex_timestamp":"000001a022bec9e0"} 
[2026-08-21 10:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 10:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546064640001,"66":27930,"10":206,"80":35072,"24":24,"16":388085625594576896,"45":-3974004436413693952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 10:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546064640001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:49:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 10:49:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388085625594576896,"km_value":388085625594576.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974004436413693952,"description":"Unknown IO ID 45"} 
[2026-08-21 10:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546064640001,"power":27930,"unknown_10":206,"unknown_80":35072,"ignition":24,"odometer":null,"unknown_45":-3974004436413693952}} 
[2026-08-21 10:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:49:36] local.INFO: GPS data processed {"connection_id":161534,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:49:36] local.INFO: Acknowledgment sent {"connection_id":161534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:49:58] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:49:58] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:49:58] local.INFO: IMEI packet received {"connection_id":159287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":159287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:50:03] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:50:03] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:50:03] local.INFO: IMEI packet received {"connection_id":159287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":159287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:50:04] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bf1be8012dc8d640052f86b0002700b130..."} 
[2026-08-21 10:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bf1be8012dc8d640052f86b0002700b130..."} 
[2026-08-21 10:50:04] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bf1be8012dc8d640052f86b0002700b130..."} 
[2026-08-21 10:50:04] local.INFO: Packet analysis {"connection_id":159287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022bf"} 
[2026-08-21 10:50:04] local.INFO: Extracted packet for processing {"connection_id":159287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022bf"} 
[2026-08-21 10:50:04] local.INFO: GPS Element Parsed {"raw_longitude":768136768,"raw_latitude":87000752,"longitude_deg":76.8136768,"latitude_deg":8.7000752,"altitude":39,"angle":177,"satellites":48,"speed":0,"hex_longitude":"2dc8d640","hex_latitude":"052f86b0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 10:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546066944001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388085960602025984,"note":"Value kept but may cause issues"} 
[2026-08-21 10:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3975271073810657280,"note":"Value kept but may cause issues"} 
[2026-08-21 10:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289345000,"timestamp_ms":1787289345000,"timestamp_seconds":1787289345,"priority":1,"record_length":96,"hex_timestamp":"000001a022bf1be8"} 
[2026-08-21 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-08-21 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-08-21 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 10:50: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-08-21 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-08-21 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-08-21 10:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546066944001,"66":27887,"10":206,"80":35072,"24":0,"16":388085960602025984,"45":-3975271073810657280},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 10:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546066944001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:50:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 10:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388085960602025984,"km_value":388085960602026.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3975271073810657280,"description":"Unknown IO ID 45"} 
[2026-08-21 10:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546066944001,"power":27887,"unknown_10":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3975271073810657280}} 
[2026-08-21 10:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":159287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:50:04] local.INFO: GPS data processed {"connection_id":159287,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:50:04] local.INFO: Acknowledgment sent {"connection_id":159287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:50:35] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022bf6df0012dc8d640052f7e00002b00b92e..."} 
[2026-08-21 10:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022bf6df0012dc8d640052f7e00002b00b92e..."} 
[2026-08-21 10:50:35] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022bf6df0012dc8d640052f7e00002b00b92e..."} 
[2026-08-21 10:50:35] local.INFO: Packet analysis {"connection_id":159287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022bf"} 
[2026-08-21 10:50:35] local.INFO: Extracted packet for processing {"connection_id":159287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022bf"} 
[2026-08-21 10:50:35] local.INFO: GPS Element Parsed {"raw_longitude":768136768,"raw_latitude":86998528,"longitude_deg":76.8136768,"latitude_deg":8.6998528,"altitude":43,"angle":185,"satellites":46,"speed":0,"hex_longitude":"2dc8d640","hex_latitude":"052f7e00","is_valid_coordinates":true} 
[2026-08-21 10:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546072320001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388086067976208384,"note":"Value kept but may cause issues"} 
[2026-08-21 10:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974919230091513856,"note":"Value kept but may cause issues"} 
[2026-08-21 10:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787289366000,"timestamp_ms":1787289366000,"timestamp_seconds":1787289366,"priority":1,"record_length":96,"hex_timestamp":"000001a022bf6df0"} 
[2026-08-21 10:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:50: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-08-21 10:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 10:50:35] 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-08-21 10:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546072320001,"66":27745,"10":206,"80":35072,"24":0,"16":388086067976208384,"45":-3974919230091513856},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 10:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546072320001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:50:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 10:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388086067976208384,"km_value":388086067976208.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974919230091513856,"description":"Unknown IO ID 45"} 
[2026-08-21 10:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546072320001,"power":27745,"unknown_10":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3974919230091513856}} 
[2026-08-21 10:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":159287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:50:35] local.INFO: GPS data processed {"connection_id":159287,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:50:35] local.INFO: Acknowledgment sent {"connection_id":159287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:50:58] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:50:58] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:50:58] local.INFO: IMEI packet received {"connection_id":161535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":161535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:51:03] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:03] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:03] local.INFO: IMEI packet received {"connection_id":161535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":161535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:51:06] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c2a240012dc8d740052f4520003500a230..."} 
[2026-08-21 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c2a240012dc8d740052f4520003500a230..."} 
[2026-08-21 10:51:06] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c2a240012dc8d740052f4520003500a230..."} 
[2026-08-21 10:51:06] local.INFO: Packet analysis {"connection_id":161535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c2"} 
[2026-08-21 10:51:06] local.INFO: Extracted packet for processing {"connection_id":161535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c2"} 
[2026-08-21 10:51:06] local.INFO: GPS Element Parsed {"raw_longitude":768137024,"raw_latitude":86983968,"longitude_deg":76.8137024,"latitude_deg":8.6983968,"altitude":53,"angle":162,"satellites":48,"speed":0,"hex_longitude":"2dc8d740","hex_latitude":"052f4520","is_valid_coordinates":true} 
[2026-08-21 10:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546126080001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388086793825681408,"note":"Value kept but may cause issues"} 
[2026-08-21 10:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974778492607289344,"note":"Value kept but may cause issues"} 
[2026-08-21 10:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787289576000,"timestamp_ms":1787289576000,"timestamp_seconds":1787289576,"priority":1,"record_length":96,"hex_timestamp":"000001a022c2a240"} 
[2026-08-21 10:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:51: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-08-21 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 10:51: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-08-21 10:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546126080001,"66":27843,"11":206,"80":35072,"24":0,"16":388086793825681408,"45":-3974778492607289344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546126080001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:51:06] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:51:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388086793825681408,"km_value":388086793825681.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974778492607289344,"description":"Unknown IO ID 45"} 
[2026-08-21 10:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546126080001,"power":27843,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3974778492607289344}} 
[2026-08-21 10:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":161535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:51:06] local.INFO: GPS data processed {"connection_id":161535,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:51:06] local.INFO: Acknowledgment sent {"connection_id":161535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:51:40] local.INFO: TCP Data received {"connection_id":161535,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c2f448012dc8d540052f4260003300a22f..."} 
[2026-08-21 10:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c2f448012dc8d540052f4260003300a22f..."} 
[2026-08-21 10:51:40] local.INFO: Processing buffer {"connection_id":161535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c2f448012dc8d540052f4260003300a22f..."} 
[2026-08-21 10:51:40] local.INFO: Packet analysis {"connection_id":161535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c2"} 
[2026-08-21 10:51:40] local.INFO: Extracted packet for processing {"connection_id":161535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c2"} 
[2026-08-21 10:51:40] local.INFO: GPS Element Parsed {"raw_longitude":768136512,"raw_latitude":86983264,"longitude_deg":76.8136512,"latitude_deg":8.6983264,"altitude":51,"angle":162,"satellites":47,"speed":0,"hex_longitude":"2dc8d540","hex_latitude":"052f4260","is_valid_coordinates":true} 
[2026-08-21 10:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546131456001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388086836775354368,"note":"Value kept but may cause issues"} 
[2026-08-21 10:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974637755119099904,"note":"Value kept but may cause issues"} 
[2026-08-21 10:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787289597000,"timestamp_ms":1787289597000,"timestamp_seconds":1787289597,"priority":1,"record_length":96,"hex_timestamp":"000001a022c2f448"} 
[2026-08-21 10:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 10:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546131456001,"66":27767,"11":206,"80":35072,"24":0,"16":388086836775354368,"45":-3974637755119099904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546131456001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:51:40] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:51:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388086836775354368,"km_value":388086836775354.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974637755119099904,"description":"Unknown IO ID 45"} 
[2026-08-21 10:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546131456001,"power":27767,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3974637755119099904}} 
[2026-08-21 10:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":161535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:51:40] local.INFO: GPS data processed {"connection_id":161535,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:51:40] local.INFO: Acknowledgment sent {"connection_id":161535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:51:58] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:58] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:58] local.INFO: IMEI packet received {"connection_id":159288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:51:59] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:59] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:51:59] local.INFO: IMEI packet received {"connection_id":159288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":159288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:52:03] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:52:03] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:52:03] local.INFO: IMEI packet received {"connection_id":159288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":159288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:52:04] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c34650012dc8d540052f4238003300a22f..."} 
[2026-08-21 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c34650012dc8d540052f4238003300a22f..."} 
[2026-08-21 10:52:04] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c34650012dc8d540052f4238003300a22f..."} 
[2026-08-21 10:52:04] local.INFO: Packet analysis {"connection_id":159288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:52:04] local.INFO: Extracted packet for processing {"connection_id":159288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:52:04] local.INFO: GPS Element Parsed {"raw_longitude":768136512,"raw_latitude":86983224,"longitude_deg":76.8136512,"latitude_deg":8.6983224,"altitude":51,"angle":162,"satellites":47,"speed":0,"hex_longitude":"2dc8d540","hex_latitude":"052f4238","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546136832001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388086845365288960,"note":"Value kept but may cause issues"} 
[2026-08-21 10:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3975200705072701440,"note":"Value kept but may cause issues"} 
[2026-08-21 10:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289618000,"timestamp_ms":1787289618000,"timestamp_seconds":1787289618,"priority":1,"record_length":96,"hex_timestamp":"000001a022c34650"} 
[2026-08-21 10:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:52: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-08-21 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 10:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10: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-08-21 10:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546136832001,"66":27821,"11":206,"80":35072,"24":0,"16":388086845365288960,"45":-3975200705072701440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546136832001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:52:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388086845365288960,"km_value":388086845365288.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3975200705072701440,"description":"Unknown IO ID 45"} 
[2026-08-21 10:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546136832001,"power":27821,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3975200705072701440}} 
[2026-08-21 10:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":159288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:52:05] local.INFO: GPS data processed {"connection_id":159288,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:52:05] local.INFO: Acknowledgment sent {"connection_id":159288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:52:36] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c39858012dc8d540052f4238003300a22d..."} 
[2026-08-21 10:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c39858012dc8d540052f4238003300a22d..."} 
[2026-08-21 10:52:36] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c39858012dc8d540052f4238003300a22d..."} 
[2026-08-21 10:52:36] local.INFO: Packet analysis {"connection_id":159288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:52:36] local.INFO: Extracted packet for processing {"connection_id":159288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:52:36] local.INFO: GPS Element Parsed {"raw_longitude":768136512,"raw_latitude":86983224,"longitude_deg":76.8136512,"latitude_deg":8.6983224,"altitude":51,"angle":162,"satellites":45,"speed":0,"hex_longitude":"2dc8d540","hex_latitude":"052f4238","is_valid_coordinates":true} 
[2026-08-21 10:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546142208001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388086845365288960,"note":"Value kept but may cause issues"} 
[2026-08-21 10:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3975200705072711680,"note":"Value kept but may cause issues"} 
[2026-08-21 10:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787289639000,"timestamp_ms":1787289639000,"timestamp_seconds":1787289639,"priority":1,"record_length":96,"hex_timestamp":"000001a022c39858"} 
[2026-08-21 10:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:52: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-08-21 10:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 10:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546142208001,"66":27865,"11":206,"80":35072,"24":0,"16":388086845365288960,"45":-3975200705072711680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546142208001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:52:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:52:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388086845365288960,"km_value":388086845365288.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3975200705072711680,"description":"Unknown IO ID 45"} 
[2026-08-21 10:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546142208001,"power":27865,"unknown_11":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3975200705072711680}} 
[2026-08-21 10:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":159288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:52:36] local.INFO: GPS data processed {"connection_id":159288,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:52:36] local.INFO: Acknowledgment sent {"connection_id":159288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:52:58] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:52:58] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:52:58] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:53:01] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:53:01] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:53:01] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:53:03] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:53:03] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:53:03] local.INFO: IMEI packet received {"connection_id":160184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":160184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:53:04] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c3c350012dc8d7c0052f3dc0003200ae30..."} 
[2026-08-21 10:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c3c350012dc8d7c0052f3dc0003200ae30..."} 
[2026-08-21 10:53:04] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c3c350012dc8d7c0052f3dc0003200ae30..."} 
[2026-08-21 10:53:04] local.INFO: Packet analysis {"connection_id":160184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:53:04] local.INFO: Extracted packet for processing {"connection_id":160184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:53:04] local.INFO: GPS Element Parsed {"raw_longitude":768137152,"raw_latitude":86982080,"longitude_deg":76.8137152,"latitude_deg":8.698208,"altitude":50,"angle":174,"satellites":48,"speed":10,"hex_longitude":"2dc8d7c0","hex_latitude":"052f3dc0","is_valid_coordinates":true} 
[2026-08-21 10:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546147584001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388086909789798400,"note":"Value kept but may cause issues"} 
[2026-08-21 10:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3975200705072711680,"note":"Value kept but may cause issues"} 
[2026-08-21 10:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289650000,"timestamp_ms":1787289650000,"timestamp_seconds":1787289650,"priority":1,"record_length":96,"hex_timestamp":"000001a022c3c350"} 
[2026-08-21 10:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:53: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-08-21 10:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 10:53:04] 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-08-21 10:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546147584001,"66":27865,"11":206,"80":35072,"24":10,"16":388086909789798400,"45":-3975200705072711680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546147584001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:53:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:53:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388086909789798400,"km_value":388086909789798.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3975200705072711680,"description":"Unknown IO ID 45"} 
[2026-08-21 10:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546147584001,"power":27865,"unknown_11":206,"unknown_80":35072,"ignition":10,"odometer":null,"unknown_45":-3975200705072711680}} 
[2026-08-21 10:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":160184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:53:04] local.INFO: GPS data processed {"connection_id":160184,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:53:04] local.INFO: Acknowledgment sent {"connection_id":160184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:53:37] local.INFO: TCP Data received {"connection_id":160184,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c3cb20012dc8d7c0052f3b98003200c232..."} 
[2026-08-21 10:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c3cb20012dc8d7c0052f3b98003200c232..."} 
[2026-08-21 10:53:37] local.INFO: Processing buffer {"connection_id":160184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c3cb20012dc8d7c0052f3b98003200c232..."} 
[2026-08-21 10:53:37] local.INFO: Packet analysis {"connection_id":160184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:53:37] local.INFO: Extracted packet for processing {"connection_id":160184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c3"} 
[2026-08-21 10:53:37] local.INFO: GPS Element Parsed {"raw_longitude":768137152,"raw_latitude":86981528,"longitude_deg":76.8137152,"latitude_deg":8.6981528,"altitude":50,"angle":194,"satellites":50,"speed":13,"hex_longitude":"2dc8d7c0","hex_latitude":"052f3b98","is_valid_coordinates":true} 
[2026-08-21 10:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546150400001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388086939854569472,"note":"Value kept but may cause issues"} 
[2026-08-21 10:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974497017631227904,"note":"Value kept but may cause issues"} 
[2026-08-21 10:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787289652000,"timestamp_ms":1787289652000,"timestamp_seconds":1787289652,"priority":1,"record_length":96,"hex_timestamp":"000001a022c3cb20"} 
[2026-08-21 10:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:53: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-08-21 10:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 10:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546150400001,"66":27887,"11":206,"80":35072,"24":13,"16":388086939854569472,"45":-3974497017631227904},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546150400001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:53:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:53:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388086939854569472,"km_value":388086939854569.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974497017631227904,"description":"Unknown IO ID 45"} 
[2026-08-21 10:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546150400001,"power":27887,"unknown_11":206,"unknown_80":35072,"ignition":13,"odometer":null,"unknown_45":-3974497017631227904}} 
[2026-08-21 10:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":160184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:53:38] local.INFO: GPS data processed {"connection_id":160184,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:53:38] local.INFO: Acknowledgment sent {"connection_id":160184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:54:08] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:08] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:08] local.INFO: IMEI packet received {"connection_id":161536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":161536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:54:09] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:09] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:09] local.INFO: IMEI packet received {"connection_id":161536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":161536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:54:11] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c59fe0012dc8d680052f2408002800b82e..."} 
[2026-08-21 10:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c59fe0012dc8d680052f2408002800b82e..."} 
[2026-08-21 10:54:11] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c59fe0012dc8d680052f2408002800b82e..."} 
[2026-08-21 10:54:11] local.INFO: Packet analysis {"connection_id":161536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:54:11] local.INFO: Extracted packet for processing {"connection_id":161536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:54:11] local.INFO: GPS Element Parsed {"raw_longitude":768136832,"raw_latitude":86975496,"longitude_deg":76.8136832,"latitude_deg":8.6975496,"altitude":40,"angle":184,"satellites":46,"speed":4,"hex_longitude":"2dc8d680","hex_latitude":"052f2408","is_valid_coordinates":true} 
[2026-08-21 10:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546180864001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388087244797247488,"note":"Value kept but may cause issues"} 
[2026-08-21 10:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974919230097895424,"note":"Value kept but may cause issues"} 
[2026-08-21 10:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787289772000,"timestamp_ms":1787289772000,"timestamp_seconds":1787289772,"priority":1,"record_length":96,"hex_timestamp":"000001a022c59fe0"} 
[2026-08-21 10:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 10:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546180864001,"66":27876,"11":206,"80":35072,"24":4,"16":388087244797247488,"45":-3974919230097895424},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546180864001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:54:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:54:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388087244797247488,"km_value":388087244797247.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974919230097895424,"description":"Unknown IO ID 45"} 
[2026-08-21 10:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546180864001,"power":27876,"unknown_11":206,"unknown_80":35072,"ignition":4,"odometer":null,"unknown_45":-3974919230097895424}} 
[2026-08-21 10:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":161536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:54:11] local.INFO: GPS data processed {"connection_id":161536,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:54:11] local.INFO: Acknowledgment sent {"connection_id":161536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:54:44] local.INFO: TCP Data received {"connection_id":161536,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c5bb38012dc8d640052f1d28002700c430..."} 
[2026-08-21 10:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c5bb38012dc8d640052f1d28002700c430..."} 
[2026-08-21 10:54:44] local.INFO: Processing buffer {"connection_id":161536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c5bb38012dc8d640052f1d28002700c430..."} 
[2026-08-21 10:54:44] local.INFO: Packet analysis {"connection_id":161536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:54:44] local.INFO: Extracted packet for processing {"connection_id":161536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:54:44] local.INFO: GPS Element Parsed {"raw_longitude":768136768,"raw_latitude":86973736,"longitude_deg":76.8136768,"latitude_deg":8.6973736,"altitude":39,"angle":196,"satellites":48,"speed":10,"hex_longitude":"2dc8d640","hex_latitude":"052f1d28","is_valid_coordinates":true} 
[2026-08-21 10:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546181632001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388087334991560704,"note":"Value kept but may cause issues"} 
[2026-08-21 10:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974848861353801728,"note":"Value kept but may cause issues"} 
[2026-08-21 10:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787289779000,"timestamp_ms":1787289779000,"timestamp_seconds":1787289779,"priority":1,"record_length":96,"hex_timestamp":"000001a022c5bb38"} 
[2026-08-21 10:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 10:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546181632001,"66":27626,"11":206,"80":35072,"24":10,"16":388087334991560704,"45":-3974848861353801728},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546181632001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:54:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:54:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388087334991560704,"km_value":388087334991560.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974848861353801728,"description":"Unknown IO ID 45"} 
[2026-08-21 10:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546181632001,"power":27626,"unknown_11":206,"unknown_80":35072,"ignition":10,"odometer":null,"unknown_45":-3974848861353801728}} 
[2026-08-21 10:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":161536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:54:44] local.INFO: GPS data processed {"connection_id":161536,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:54:44] local.INFO: Acknowledgment sent {"connection_id":161536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:54:58] local.INFO: TCP Data received {"connection_id":160185,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:58] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:54:58] local.INFO: IMEI packet received {"connection_id":160185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:55:02] local.INFO: TCP Data received {"connection_id":160185,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:55:02] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:55:02] local.INFO: IMEI packet received {"connection_id":160185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":160185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:55:04] local.INFO: TCP Data received {"connection_id":160185,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c5d2a8012dc8d600052f1660002600b42f..."} 
[2026-08-21 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c5d2a8012dc8d600052f1660002600b42f..."} 
[2026-08-21 10:55:04] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c5d2a8012dc8d600052f1660002600b42f..."} 
[2026-08-21 10:55:04] local.INFO: Packet analysis {"connection_id":160185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:55:04] local.INFO: Extracted packet for processing {"connection_id":160185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:55:04] local.INFO: GPS Element Parsed {"raw_longitude":768136704,"raw_latitude":86972000,"longitude_deg":76.8136704,"latitude_deg":8.6972,"altitude":38,"angle":180,"satellites":47,"speed":14,"hex_longitude":"2dc8d600","hex_latitude":"052f1660","is_valid_coordinates":true} 
[2026-08-21 10: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-08-21 10:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546183424001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388087420890906624,"note":"Value kept but may cause issues"} 
[2026-08-21 10:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974919230098429952,"note":"Value kept but may cause issues"} 
[2026-08-21 10:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289785000,"timestamp_ms":1787289785000,"timestamp_seconds":1787289785,"priority":1,"record_length":96,"hex_timestamp":"000001a022c5d2a8"} 
[2026-08-21 10:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 10:55:04] 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-08-21 10: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-08-21 10:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546183424001,"66":27821,"11":206,"80":35072,"24":14,"16":388087420890906624,"45":-3974919230098429952},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546183424001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:55:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:55:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388087420890906624,"km_value":388087420890906.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974919230098429952,"description":"Unknown IO ID 45"} 
[2026-08-21 10:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546183424001,"power":27821,"unknown_11":206,"unknown_80":35072,"ignition":14,"odometer":null,"unknown_45":-3974919230098429952}} 
[2026-08-21 10:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":160185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:55:04] local.INFO: GPS data processed {"connection_id":160185,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:55:04] local.INFO: Acknowledgment sent {"connection_id":160185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:55:36] local.INFO: TCP Data received {"connection_id":160185,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c5e630012dc8d6c0052f0ee0002600a92f..."} 
[2026-08-21 10:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c5e630012dc8d6c0052f0ee0002600a92f..."} 
[2026-08-21 10:55:36] local.INFO: Processing buffer {"connection_id":160185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c5e630012dc8d6c0052f0ee0002600a92f..."} 
[2026-08-21 10:55:36] local.INFO: Packet analysis {"connection_id":160185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:55:36] local.INFO: Extracted packet for processing {"connection_id":160185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c5"} 
[2026-08-21 10:55:36] local.INFO: GPS Element Parsed {"raw_longitude":768136896,"raw_latitude":86970080,"longitude_deg":76.8136896,"latitude_deg":8.697008,"altitude":38,"angle":169,"satellites":47,"speed":10,"hex_longitude":"2dc8d6c0","hex_latitude":"052f0ee0","is_valid_coordinates":true} 
[2026-08-21 10:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546184960001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388087515380187136,"note":"Value kept but may cause issues"} 
[2026-08-21 10:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974989598843052032,"note":"Value kept but may cause issues"} 
[2026-08-21 10:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787289790000,"timestamp_ms":1787289790000,"timestamp_seconds":1787289790,"priority":1,"record_length":96,"hex_timestamp":"000001a022c5e630"} 
[2026-08-21 10:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:55: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-08-21 10:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 10:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546184960001,"66":27593,"11":206,"80":35072,"24":10,"16":388087515380187136,"45":-3974989598843052032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546184960001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:55:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:55:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388087515380187136,"km_value":388087515380187.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974989598843052032,"description":"Unknown IO ID 45"} 
[2026-08-21 10:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546184960001,"power":27593,"unknown_11":206,"unknown_80":35072,"ignition":10,"odometer":null,"unknown_45":-3974989598843052032}} 
[2026-08-21 10:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":160185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:55:36] local.INFO: GPS data processed {"connection_id":160185,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:55:36] local.INFO: Acknowledgment sent {"connection_id":160185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:55:58] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:55:58] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:55:58] local.INFO: IMEI packet received {"connection_id":159289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":159289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:56:03] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:56:03] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:56:03] local.INFO: IMEI packet received {"connection_id":159289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":159289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:56:04] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c63838012dc8dac0052eed50002700b02e..."} 
[2026-08-21 10:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c63838012dc8dac0052eed50002700b02e..."} 
[2026-08-21 10:56:04] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c63838012dc8dac0052eed50002700b02e..."} 
[2026-08-21 10:56:04] local.INFO: Packet analysis {"connection_id":159289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c6"} 
[2026-08-21 10:56:04] local.INFO: Extracted packet for processing {"connection_id":159289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c6"} 
[2026-08-21 10:56:04] local.INFO: GPS Element Parsed {"raw_longitude":768137920,"raw_latitude":86961488,"longitude_deg":76.813792,"latitude_deg":8.6961488,"altitude":39,"angle":176,"satellites":46,"speed":19,"hex_longitude":"2dc8dac0","hex_latitude":"052eed50","is_valid_coordinates":true} 
[2026-08-21 10:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546186240001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388087936286982144,"note":"Value kept but may cause issues"} 
[2026-08-21 10:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974778492611010560,"note":"Value kept but may cause issues"} 
[2026-08-21 10:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289811000,"timestamp_ms":1787289811000,"timestamp_seconds":1787289811,"priority":1,"record_length":96,"hex_timestamp":"000001a022c63838"} 
[2026-08-21 10:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:56: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-08-21 10:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 10:56:04] 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-08-21 10:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546186240001,"66":27995,"11":206,"80":35072,"24":19,"16":388087936286982144,"45":-3974778492611010560},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546186240001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:56:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:56:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388087936286982144,"km_value":388087936286982.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974778492611010560,"description":"Unknown IO ID 45"} 
[2026-08-21 10:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546186240001,"power":27995,"unknown_11":206,"unknown_80":35072,"ignition":19,"odometer":null,"unknown_45":-3974778492611010560}} 
[2026-08-21 10:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":159289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:56:04] local.INFO: GPS data processed {"connection_id":159289,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:56:04] local.INFO: Acknowledgment sent {"connection_id":159289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:56:35] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c68658012dc8d980052ecda0002600bc2f..."} 
[2026-08-21 10:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c68658012dc8d980052ecda0002600bc2f..."} 
[2026-08-21 10:56:35] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c68658012dc8d980052ecda0002600bc2f..."} 
[2026-08-21 10:56:35] local.INFO: Packet analysis {"connection_id":159289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c6"} 
[2026-08-21 10:56:35] local.INFO: Extracted packet for processing {"connection_id":159289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c6"} 
[2026-08-21 10:56:35] local.INFO: GPS Element Parsed {"raw_longitude":768137600,"raw_latitude":86953376,"longitude_deg":76.81376,"latitude_deg":8.6953376,"altitude":38,"angle":188,"satellites":47,"speed":10,"hex_longitude":"2dc8d980","hex_latitude":"052ecda0","is_valid_coordinates":true} 
[2026-08-21 10:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546191616001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388088331423973376,"note":"Value kept but may cause issues"} 
[2026-08-21 10:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3973652592706367488,"note":"Value kept but may cause issues"} 
[2026-08-21 10:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787289831000,"timestamp_ms":1787289831000,"timestamp_seconds":1787289831,"priority":1,"record_length":96,"hex_timestamp":"000001a022c68658"} 
[2026-08-21 10:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:56: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-08-21 10:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 10:56:35] 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-08-21 10:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546191616001,"66":27843,"11":206,"80":35072,"24":10,"16":388088331423973376,"45":-3973652592706367488},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 10:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546191616001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:56:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 10:56:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388088331423973376,"km_value":388088331423973.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3973652592706367488,"description":"Unknown IO ID 45"} 
[2026-08-21 10:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546191616001,"power":27843,"unknown_11":206,"unknown_80":35072,"ignition":10,"odometer":null,"unknown_45":-3973652592706367488}} 
[2026-08-21 10:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":159289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:56:35] local.INFO: GPS data processed {"connection_id":159289,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:56:35] local.INFO: Acknowledgment sent {"connection_id":159289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:56:58] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:56:58] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:56:58] local.INFO: IMEI packet received {"connection_id":158993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":158993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:57:03] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:57:03] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:57:03] local.INFO: IMEI packet received {"connection_id":158993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":158993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:57:04] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c85b18012dc81e80052e79f8001800ff2b..."} 
[2026-08-21 10:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c85b18012dc81e80052e79f8001800ff2b..."} 
[2026-08-21 10:57:04] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c85b18012dc81e80052e79f8001800ff2b..."} 
[2026-08-21 10:57:04] local.INFO: Packet analysis {"connection_id":158993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:57:04] local.INFO: Extracted packet for processing {"connection_id":158993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:57:04] local.INFO: GPS Element Parsed {"raw_longitude":768089728,"raw_latitude":86931960,"longitude_deg":76.8089728,"latitude_deg":8.693196,"altitude":24,"angle":255,"satellites":43,"speed":11,"hex_longitude":"2dc81e80","hex_latitude":"052e79f8","is_valid_coordinates":true} 
[2026-08-21 10:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546222848001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388091032958402560,"note":"Value kept but may cause issues"} 
[2026-08-21 10:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4016999739126851584,"note":"Value kept but may cause issues"} 
[2026-08-21 10:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787289951000,"timestamp_ms":1787289951000,"timestamp_seconds":1787289951,"priority":1,"record_length":96,"hex_timestamp":"000001a022c85b18"} 
[2026-08-21 10:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:57: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-08-21 10:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 10:57:04] 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-08-21 10:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546222848001,"66":27800,"194":206,"80":35072,"24":11,"16":388091032958402560,"45":-4016999739126851584},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 10:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546222848001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:57:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 10:57:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388091032958402560,"km_value":388091032958402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4016999739126851584,"description":"Unknown IO ID 45"} 
[2026-08-21 10:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546222848001,"power":27800,"unknown_194":206,"unknown_80":35072,"ignition":11,"odometer":null,"unknown_45":-4016999739126851584}} 
[2026-08-21 10:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":158993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:57:04] local.INFO: GPS data processed {"connection_id":158993,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:57:04] local.INFO: Acknowledgment sent {"connection_id":158993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:57:36] local.INFO: TCP Data received {"connection_id":158993,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c889f8012dc80f00052e75c8001a00f32b..."} 
[2026-08-21 10:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c889f8012dc80f00052e75c8001a00f32b..."} 
[2026-08-21 10:57:36] local.INFO: Processing buffer {"connection_id":158993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c889f8012dc80f00052e75c8001a00f32b..."} 
[2026-08-21 10:57:36] local.INFO: Packet analysis {"connection_id":158993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:57:36] local.INFO: Extracted packet for processing {"connection_id":158993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:57:36] local.INFO: GPS Element Parsed {"raw_longitude":768085760,"raw_latitude":86930888,"longitude_deg":76.808576,"latitude_deg":8.6930888,"altitude":26,"angle":243,"satellites":43,"speed":18,"hex_longitude":"2dc80f00","hex_latitude":"052e75c8","is_valid_coordinates":true} 
[2026-08-21 10:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546227456001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388091230526898176,"note":"Value kept but may cause issues"} 
[2026-08-21 10:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4026640257079707648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787289963000,"timestamp_ms":1787289963000,"timestamp_seconds":1787289963,"priority":1,"record_length":96,"hex_timestamp":"000001a022c889f8"} 
[2026-08-21 10:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:57: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-08-21 10:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 10:57: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-08-21 10:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":158993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":158993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546227456001,"66":27767,"194":206,"80":35072,"24":18,"16":388091230526898176,"45":-4026640257079707648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 10:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546227456001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:57:36] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 10:57:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388091230526898176,"km_value":388091230526898.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4026640257079707648,"description":"Unknown IO ID 45"} 
[2026-08-21 10:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546227456001,"power":27767,"unknown_194":206,"unknown_80":35072,"ignition":18,"odometer":null,"unknown_45":-4026640257079707648}} 
[2026-08-21 10:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":158993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:57:36] local.INFO: GPS data processed {"connection_id":158993,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:57:36] local.INFO: Acknowledgment sent {"connection_id":158993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:58:00] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:58:00] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:58:00] local.INFO: IMEI packet received {"connection_id":161537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":161537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:58:03] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:58:03] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:58:03] local.INFO: IMEI packet received {"connection_id":161537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":161537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:58:07] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c8c0a8012dc7ebc0052e6a58001900fb26..."} 
[2026-08-21 10:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c8c0a8012dc7ebc0052e6a58001900fb26..."} 
[2026-08-21 10:58:07] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c8c0a8012dc7ebc0052e6a58001900fb26..."} 
[2026-08-21 10:58:07] local.INFO: Packet analysis {"connection_id":161537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:58:07] local.INFO: Extracted packet for processing {"connection_id":161537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:58:07] local.INFO: GPS Element Parsed {"raw_longitude":768076736,"raw_latitude":86927960,"longitude_deg":76.8076736,"latitude_deg":8.692796,"altitude":25,"angle":251,"satellites":38,"speed":28,"hex_longitude":"2dc7ebc0","hex_latitude":"052e6a58","is_valid_coordinates":true} 
[2026-08-21 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546230528001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388091690088398848,"note":"Value kept but may cause issues"} 
[2026-08-21 10:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4031003119218997248,"note":"Value kept but may cause issues"} 
[2026-08-21 10:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787289977000,"timestamp_ms":1787289977000,"timestamp_seconds":1787289977,"priority":1,"record_length":96,"hex_timestamp":"000001a022c8c0a8"} 
[2026-08-21 10:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:58: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-08-21 10:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 10:58: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-08-21 10:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546230528001,"66":27908,"194":206,"80":35072,"24":28,"16":388091690088398848,"45":-4031003119218997248},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 10:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546230528001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:58:07] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 10:58:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388091690088398848,"km_value":388091690088398.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4031003119218997248,"description":"Unknown IO ID 45"} 
[2026-08-21 10:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546230528001,"power":27908,"unknown_194":206,"unknown_80":35072,"ignition":28,"odometer":null,"unknown_45":-4031003119218997248}} 
[2026-08-21 10:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":161537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:58:07] local.INFO: GPS data processed {"connection_id":161537,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:58:07] local.INFO: Acknowledgment sent {"connection_id":161537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:58:38] local.INFO: TCP Data received {"connection_id":161537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c8e7b8012dc7db40052e63f0001600ef2b..."} 
[2026-08-21 10:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c8e7b8012dc7db40052e63f0001600ef2b..."} 
[2026-08-21 10:58:38] local.INFO: Processing buffer {"connection_id":161537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c8e7b8012dc7db40052e63f0001600ef2b..."} 
[2026-08-21 10:58:38] local.INFO: Packet analysis {"connection_id":161537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:58:38] local.INFO: Extracted packet for processing {"connection_id":161537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c8"} 
[2026-08-21 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":768072512,"raw_latitude":86926320,"longitude_deg":76.8072512,"latitude_deg":8.692632,"altitude":22,"angle":239,"satellites":43,"speed":13,"hex_longitude":"2dc7db40","hex_latitude":"052e63f0","is_valid_coordinates":true} 
[2026-08-21 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546234112001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388091904836763648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4040925112148797440,"note":"Value kept but may cause issues"} 
[2026-08-21 10:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787289987000,"timestamp_ms":1787289987000,"timestamp_seconds":1787289987,"priority":1,"record_length":96,"hex_timestamp":"000001a022c8e7b8"} 
[2026-08-21 10:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 10:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546234112001,"66":27930,"194":206,"80":35072,"24":13,"16":388091904836763648,"45":-4040925112148797440},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 10:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546234112001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:58:38] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 10:58:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388091904836763648,"km_value":388091904836763.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4040925112148797440,"description":"Unknown IO ID 45"} 
[2026-08-21 10:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546234112001,"power":27930,"unknown_194":206,"unknown_80":35072,"ignition":13,"odometer":null,"unknown_45":-4040925112148797440}} 
[2026-08-21 10:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":161537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:58:38] local.INFO: GPS data processed {"connection_id":161537,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:58:38] local.INFO: Acknowledgment sent {"connection_id":161537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:59:03] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:03] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:03] local.INFO: IMEI packet received {"connection_id":158994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":158994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:59:08] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:08] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:08] local.INFO: IMEI packet received {"connection_id":158994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":158994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 10:59:09] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c90310012dc7cf40052e5bb0001600e32b..."} 
[2026-08-21 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c90310012dc7cf40052e5bb0001600e32b..."} 
[2026-08-21 10:59:09] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c90310012dc7cf40052e5bb0001600e32b..."} 
[2026-08-21 10:59:09] local.INFO: Packet analysis {"connection_id":158994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 10:59:09] local.INFO: Extracted packet for processing {"connection_id":158994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":768069440,"raw_latitude":86924208,"longitude_deg":76.806944,"latitude_deg":8.6924208,"altitude":22,"angle":227,"satellites":43,"speed":23,"hex_longitude":"2dc7cf40","hex_latitude":"052e5bb0","is_valid_coordinates":true} 
[2026-08-21 10:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546236672001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092085225390080,"note":"Value kept but may cause issues"} 
[2026-08-21 10:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4045569449264943104,"note":"Value kept but may cause issues"} 
[2026-08-21 10:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787289994000,"timestamp_ms":1787289994000,"timestamp_seconds":1787289994,"priority":1,"record_length":96,"hex_timestamp":"000001a022c90310"} 
[2026-08-21 10:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 10:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 10:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546236672001,"66":27876,"194":206,"80":35072,"24":23,"16":388092085225390080,"45":-4045569449264943104},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 10:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546236672001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092085225390080,"km_value":388092085225390.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4045569449264943104,"description":"Unknown IO ID 45"} 
[2026-08-21 10:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546236672001,"power":27876,"unknown_194":206,"unknown_80":35072,"ignition":23,"odometer":null,"unknown_45":-4045569449264943104}} 
[2026-08-21 10:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":158994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:59:09] local.INFO: GPS data processed {"connection_id":158994,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:59:09] local.INFO: Acknowledgment sent {"connection_id":158994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:59:40] local.INFO: TCP Data received {"connection_id":158994,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a022c92638012dc7c400052e4f70001400d02e..."} 
[2026-08-21 10:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c92638012dc7c400052e4f70001400d02e..."} 
[2026-08-21 10:59:40] local.INFO: Processing buffer {"connection_id":158994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c92638012dc7c400052e4f70001400d02e..."} 
[2026-08-21 10:59:40] local.INFO: Packet analysis {"connection_id":158994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 10:59:40] local.INFO: Extracted packet for processing {"connection_id":158994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 10:59:40] local.INFO: GPS Element Parsed {"raw_longitude":768066560,"raw_latitude":86921072,"longitude_deg":76.806656,"latitude_deg":8.6921072,"altitude":20,"angle":208,"satellites":46,"speed":11,"hex_longitude":"2dc7c400","hex_latitude":"052e4f70","is_valid_coordinates":true} 
[2026-08-21 10:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 10:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546238464001,"note":"Value kept but may cause issues"} 
[2026-08-21 10:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092291383820288,"note":"Value kept but may cause issues"} 
[2026-08-21 10:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4048947148986011648,"note":"Value kept but may cause issues"} 
[2026-08-21 10:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 10:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787290003000,"timestamp_ms":1787290003000,"timestamp_seconds":1787290003,"priority":1,"record_length":96,"hex_timestamp":"000001a022c92638"} 
[2026-08-21 10:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 10:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 10:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 10:59:40] 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-08-21 10:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 10:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 10:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 10:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 10:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 10:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 10:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 10:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 10:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546238464001,"66":28028,"194":206,"80":35072,"24":11,"16":388092291383820288,"45":-4048947148986011648},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 10:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 10:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 10:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546238464001,"description":"Unknown IO ID 0"} 
[2026-08-21 10:59:40] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 10:59:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 10:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092291383820288,"km_value":388092291383820.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 10:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4048947148986011648,"description":"Unknown IO ID 45"} 
[2026-08-21 10:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546238464001,"power":28028,"unknown_194":206,"unknown_80":35072,"ignition":11,"odometer":null,"unknown_45":-4048947148986011648}} 
[2026-08-21 10:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":158994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 10:59:40] local.INFO: GPS data processed {"connection_id":158994,"processed":1,"errors":0,"total":1} 
[2026-08-21 10:59:40] local.INFO: Acknowledgment sent {"connection_id":158994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 10:59:58] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:58] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:58] local.INFO: IMEI packet received {"connection_id":161538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 10:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":161538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 10:59:59] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:59] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 10:59:59] local.INFO: IMEI packet received {"connection_id":161538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 10:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":161538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:00:03] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:00:03] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:00:03] local.INFO: IMEI packet received {"connection_id":161538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":161538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:00:03] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022c97840012dc7c140052e4a58001300d32a..."} 
[2026-08-21 11:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c97840012dc7c140052e4a58001300d32a..."} 
[2026-08-21 11:00:03] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c97840012dc7c140052e4a58001300d32a..."} 
[2026-08-21 11:00:03] local.INFO: Packet analysis {"connection_id":161538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 11:00:03] local.INFO: Extracted packet for processing {"connection_id":161538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 11:00:03] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86919768,"longitude_deg":76.8065856,"latitude_deg":8.6919768,"altitude":19,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4a58","is_valid_coordinates":true} 
[2026-08-21 11:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546240768001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092364398264320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052113742474809344,"note":"Value kept but may cause issues"} 
[2026-08-21 11:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290024000,"timestamp_ms":1787290024000,"timestamp_seconds":1787290024,"priority":1,"record_length":96,"hex_timestamp":"000001a022c97840"} 
[2026-08-21 11:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 11:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:00: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-08-21 11:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546240768001,"66":28050,"149":206,"80":35072,"24":0,"16":388092364398264320,"45":-4052113742474809344},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546240768001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:00:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092364398264320,"km_value":388092364398264.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052113742474809344,"description":"Unknown IO ID 45"} 
[2026-08-21 11:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546240768001,"power":28050,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052113742474809344}} 
[2026-08-21 11:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":161538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:00:03] local.INFO: GPS data processed {"connection_id":161538,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:00:03] local.INFO: Acknowledgment sent {"connection_id":161538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:00:35] local.INFO: TCP Data received {"connection_id":161538,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a022c9ca48012dc7c140052e4a58001300d32f..."} 
[2026-08-21 11:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022c9ca48012dc7c140052e4a58001300d32f..."} 
[2026-08-21 11:00:35] local.INFO: Processing buffer {"connection_id":161538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022c9ca48012dc7c140052e4a58001300d32f..."} 
[2026-08-21 11:00:35] local.INFO: Packet analysis {"connection_id":161538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 11:00:35] local.INFO: Extracted packet for processing {"connection_id":161538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022c9"} 
[2026-08-21 11:00:35] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86919768,"longitude_deg":76.8065856,"latitude_deg":8.6919768,"altitude":19,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4a58","is_valid_coordinates":true} 
[2026-08-21 11:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546246144001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092364398264320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661097472,"note":"Value kept but may cause issues"} 
[2026-08-21 11:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787290045000,"timestamp_ms":1787290045000,"timestamp_seconds":1787290045,"priority":1,"record_length":96,"hex_timestamp":"000001a022c9ca48"} 
[2026-08-21 11:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:00: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-08-21 11:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 11:00:35] 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-08-21 11:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546246144001,"66":27974,"149":206,"80":35072,"24":0,"16":388092364398264320,"45":-4052887798661097472},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546246144001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:00:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:00:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092364398264320,"km_value":388092364398264.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661097472,"description":"Unknown IO ID 45"} 
[2026-08-21 11:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546246144001,"power":27974,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661097472}} 
[2026-08-21 11:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":161538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:00:35] local.INFO: GPS data processed {"connection_id":161538,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:00:35] local.INFO: Acknowledgment sent {"connection_id":161538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:00:58] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:00:58] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:00:58] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:01:03] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:01:03] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:01:03] local.INFO: IMEI packet received {"connection_id":158995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":158995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:01:03] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a022ca1c50012dc7c140052e4a58001300d330..."} 
[2026-08-21 11:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ca1c50012dc7c140052e4a58001300d330..."} 
[2026-08-21 11:01:03] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ca1c50012dc7c140052e4a58001300d330..."} 
[2026-08-21 11:01:03] local.INFO: Packet analysis {"connection_id":158995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ca"} 
[2026-08-21 11:01:03] local.INFO: Extracted packet for processing {"connection_id":158995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ca"} 
[2026-08-21 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86919768,"longitude_deg":76.8065856,"latitude_deg":8.6919768,"altitude":19,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4a58","is_valid_coordinates":true} 
[2026-08-21 11:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546251520001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092364398264320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661097472,"note":"Value kept but may cause issues"} 
[2026-08-21 11:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290066000,"timestamp_ms":1787290066000,"timestamp_seconds":1787290066,"priority":1,"record_length":96,"hex_timestamp":"000001a022ca1c50"} 
[2026-08-21 11:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 11:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546251520001,"66":27930,"149":206,"80":35072,"24":0,"16":388092364398264320,"45":-4052887798661097472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546251520001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:01:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092364398264320,"km_value":388092364398264.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661097472,"description":"Unknown IO ID 45"} 
[2026-08-21 11:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546251520001,"power":27930,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661097472}} 
[2026-08-21 11:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":158995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:01:03] local.INFO: GPS data processed {"connection_id":158995,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:01:03] local.INFO: Acknowledgment sent {"connection_id":158995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:01:34] local.INFO: TCP Data received {"connection_id":158995,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a022ca6e58012dc7c140052e4a58001300d32b..."} 
[2026-08-21 11:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ca6e58012dc7c140052e4a58001300d32b..."} 
[2026-08-21 11:01:34] local.INFO: Processing buffer {"connection_id":158995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ca6e58012dc7c140052e4a58001300d32b..."} 
[2026-08-21 11:01:34] local.INFO: Packet analysis {"connection_id":158995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ca"} 
[2026-08-21 11:01:34] local.INFO: Extracted packet for processing {"connection_id":158995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ca"} 
[2026-08-21 11:01:34] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86919768,"longitude_deg":76.8065856,"latitude_deg":8.6919768,"altitude":19,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4a58","is_valid_coordinates":true} 
[2026-08-21 11:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546256896001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092364398264320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661097472,"note":"Value kept but may cause issues"} 
[2026-08-21 11:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787290087000,"timestamp_ms":1787290087000,"timestamp_seconds":1787290087,"priority":1,"record_length":96,"hex_timestamp":"000001a022ca6e58"} 
[2026-08-21 11:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 11:01:34] 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-08-21 11:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":158995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":158995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":158995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546256896001,"66":27919,"149":206,"80":35072,"24":0,"16":388092364398264320,"45":-4052887798661097472},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546256896001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:01:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:01:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092364398264320,"km_value":388092364398264.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661097472,"description":"Unknown IO ID 45"} 
[2026-08-21 11:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546256896001,"power":27919,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661097472}} 
[2026-08-21 11:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":158995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:01:34] local.INFO: GPS data processed {"connection_id":158995,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:01:34] local.INFO: Acknowledgment sent {"connection_id":158995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:01:58] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:01:58] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:01:58] local.INFO: IMEI packet received {"connection_id":159290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":159290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:02:03] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:02:03] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:02:03] local.INFO: IMEI packet received {"connection_id":159290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":159290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:02:03] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022ca81e0012dc7c140052e4a58001300d32a..."} 
[2026-08-21 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ca81e0012dc7c140052e4a58001300d32a..."} 
[2026-08-21 11:02:03] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ca81e0012dc7c140052e4a58001300d32a..."} 
[2026-08-21 11:02:03] local.INFO: Packet analysis {"connection_id":159290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ca"} 
[2026-08-21 11:02:03] local.INFO: Extracted packet for processing {"connection_id":159290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ca"} 
[2026-08-21 11:02:03] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86919768,"longitude_deg":76.8065856,"latitude_deg":8.6919768,"altitude":19,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4a58","is_valid_coordinates":true} 
[2026-08-21 11:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546262272001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092364398264320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661097472,"note":"Value kept but may cause issues"} 
[2026-08-21 11:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290092000,"timestamp_ms":1787290092000,"timestamp_seconds":1787290092,"priority":1,"record_length":96,"hex_timestamp":"000001a022ca81e0"} 
[2026-08-21 11:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:02: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-08-21 11:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546262272001,"66":27995,"149":206,"80":35072,"24":0,"16":388092364398264320,"45":-4052887798661097472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546262272001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092364398264320,"km_value":388092364398264.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661097472,"description":"Unknown IO ID 45"} 
[2026-08-21 11:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546262272001,"power":27995,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661097472}} 
[2026-08-21 11:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":159290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:02:03] local.INFO: GPS data processed {"connection_id":159290,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:02:03] local.INFO: Acknowledgment sent {"connection_id":159290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:02:34] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022cb29d8012dc7c2c0052e4a60001300d32b..."} 
[2026-08-21 11:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022cb29d8012dc7c2c0052e4a60001300d32b..."} 
[2026-08-21 11:02:34] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022cb29d8012dc7c2c0052e4a60001300d32b..."} 
[2026-08-21 11:02:34] local.INFO: Packet analysis {"connection_id":159290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:02:34] local.INFO: Extracted packet for processing {"connection_id":159290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:02:34] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86919776,"longitude_deg":76.806624,"latitude_deg":8.6919776,"altitude":19,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4a60","is_valid_coordinates":true} 
[2026-08-21 11:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546263552001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092364398264320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661097472,"note":"Value kept but may cause issues"} 
[2026-08-21 11:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787290135000,"timestamp_ms":1787290135000,"timestamp_seconds":1787290135,"priority":1,"record_length":96,"hex_timestamp":"000001a022cb29d8"} 
[2026-08-21 11:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 11:02:34] 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-08-21 11:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546263552001,"66":26930,"149":206,"80":35072,"24":0,"16":388092364398264320,"45":-4052887798661097472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546263552001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:02:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:02:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092364398264320,"km_value":388092364398264.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661097472,"description":"Unknown IO ID 45"} 
[2026-08-21 11:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546263552001,"power":26930,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052887798661097472}} 
[2026-08-21 11:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":159290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:02:34] local.INFO: GPS data processed {"connection_id":159290,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:02:34] local.INFO: Acknowledgment sent {"connection_id":159290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:03:03] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:03] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:03] local.INFO: IMEI packet received {"connection_id":159291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":159291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:03:08] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:08] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:08] local.INFO: IMEI packet received {"connection_id":159291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":159291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:03:09] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022cb8f68012dc7c140052e4a58001300d32e..."} 
[2026-08-21 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022cb8f68012dc7c140052e4a58001300d32e..."} 
[2026-08-21 11:03:09] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022cb8f68012dc7c140052e4a58001300d32e..."} 
[2026-08-21 11:03:09] local.INFO: Packet analysis {"connection_id":159291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:03:09] local.INFO: Extracted packet for processing {"connection_id":159291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:03:09] local.INFO: GPS Element Parsed {"raw_longitude":768065856,"raw_latitude":86919768,"longitude_deg":76.8065856,"latitude_deg":8.6919768,"altitude":19,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2dc7c140","hex_latitude":"052e4a58","is_valid_coordinates":true} 
[2026-08-21 11:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546274560001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092364398264320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586196029440,"note":"Value kept but may cause issues"} 
[2026-08-21 11:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787290161000,"timestamp_ms":1787290161000,"timestamp_seconds":1787290161,"priority":1,"record_length":96,"hex_timestamp":"000001a022cb8f68"} 
[2026-08-21 11:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-08-21 11:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546274560001,"66":27745,"149":206,"80":35072,"24":0,"16":388092364398264320,"45":-4052465586196029440},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546274560001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092364398264320,"km_value":388092364398264.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586196029440,"description":"Unknown IO ID 45"} 
[2026-08-21 11:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546274560001,"power":27745,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586196029440}} 
[2026-08-21 11:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":159291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:03:09] local.INFO: GPS data processed {"connection_id":159291,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:03:09] local.INFO: Acknowledgment sent {"connection_id":159291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:03:40] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022cbe170012dc7bdc0052e4790001800d32d..."} 
[2026-08-21 11:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022cbe170012dc7bdc0052e4790001800d32d..."} 
[2026-08-21 11:03:40] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022cbe170012dc7bdc0052e4790001800d32d..."} 
[2026-08-21 11:03:40] local.INFO: Packet analysis {"connection_id":159291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:03:40] local.INFO: Extracted packet for processing {"connection_id":159291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:03:40] local.INFO: GPS Element Parsed {"raw_longitude":768064960,"raw_latitude":86919056,"longitude_deg":76.806496,"latitude_deg":8.6919056,"altitude":24,"angle":211,"satellites":45,"speed":4,"hex_longitude":"2dc7bdc0","hex_latitude":"052e4790","is_valid_coordinates":true} 
[2026-08-21 11:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546281216001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092420232839168,"note":"Value kept but may cause issues"} 
[2026-08-21 11:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052887798661097472,"note":"Value kept but may cause issues"} 
[2026-08-21 11:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787290182000,"timestamp_ms":1787290182000,"timestamp_seconds":1787290182,"priority":1,"record_length":96,"hex_timestamp":"000001a022cbe170"} 
[2026-08-21 11:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 11:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546281216001,"66":27800,"149":206,"80":35072,"24":4,"16":388092420232839168,"45":-4052887798661097472},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546281216001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:03:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:03:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092420232839168,"km_value":388092420232839.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052887798661097472,"description":"Unknown IO ID 45"} 
[2026-08-21 11:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546281216001,"power":27800,"unknown_149":206,"unknown_80":35072,"ignition":4,"odometer":null,"unknown_45":-4052887798661097472}} 
[2026-08-21 11:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":159291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:03:40] local.INFO: GPS data processed {"connection_id":159291,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:03:40] local.INFO: Acknowledgment sent {"connection_id":159291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:03:58] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:58] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:03:58] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:04:03] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:04:03] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:04:03] local.INFO: IMEI packet received {"connection_id":160186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":160186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:04:03] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022cbe558012dc7bd40052e4738001800e12d..."} 
[2026-08-21 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022cbe558012dc7bd40052e4738001800e12d..."} 
[2026-08-21 11:04:03] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022cbe558012dc7bd40052e4738001800e12d..."} 
[2026-08-21 11:04:03] local.INFO: Packet analysis {"connection_id":160186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:04:03] local.INFO: Extracted packet for processing {"connection_id":160186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022cb"} 
[2026-08-21 11:04:03] local.INFO: GPS Element Parsed {"raw_longitude":768064832,"raw_latitude":86918968,"longitude_deg":76.8064832,"latitude_deg":8.6918968,"altitude":24,"angle":225,"satellites":45,"speed":7,"hex_longitude":"2dc7bd40","hex_latitude":"052e4738","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546286592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092428822773760,"note":"Value kept but may cause issues"} 
[2026-08-21 11:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053872961079767040,"note":"Value kept but may cause issues"} 
[2026-08-21 11:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290183000,"timestamp_ms":1787290183000,"timestamp_seconds":1787290183,"priority":1,"record_length":96,"hex_timestamp":"000001a022cbe558"} 
[2026-08-21 11:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:04:03] 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-08-21 11: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-08-21 11:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:04: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-08-21 11:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546286592001,"66":27115,"149":206,"80":35072,"24":7,"16":388092428822773760,"45":-4053872961079767040},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546286592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:04:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:04:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092428822773760,"km_value":388092428822773.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053872961079767040,"description":"Unknown IO ID 45"} 
[2026-08-21 11:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546286592001,"power":27115,"unknown_149":206,"unknown_80":35072,"ignition":7,"odometer":null,"unknown_45":-4053872961079767040}} 
[2026-08-21 11:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":160186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:04:03] local.INFO: GPS data processed {"connection_id":160186,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:04:03] local.INFO: Acknowledgment sent {"connection_id":160186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:04:34] local.INFO: TCP Data received {"connection_id":160186,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:04:34] local.INFO: Processing buffer {"connection_id":160186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:04:34] local.INFO: Packet analysis {"connection_id":160186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022cc"} 
[2026-08-21 11:04:34] local.INFO: Extracted packet for processing {"connection_id":160186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022cc"} 
[2026-08-21 11:04:34] local.INFO: GPS Element Parsed {"raw_longitude":768065280,"raw_latitude":86919464,"longitude_deg":76.806528,"latitude_deg":8.6919464,"altitude":25,"angle":225,"satellites":47,"speed":1,"hex_longitude":"2dc7bf00","hex_latitude":"052e4928","is_valid_coordinates":true} 
[2026-08-21 11:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546286848001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4054013698568144896,"note":"Value kept but may cause issues"} 
[2026-08-21 11:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787290204000,"timestamp_ms":1787290204000,"timestamp_seconds":1787290204,"priority":1,"record_length":96,"hex_timestamp":"000001a022cc3760"} 
[2026-08-21 11:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-21 11:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546286848001,"66":27767,"149":206,"80":35072,"24":1,"16":388092480362381312,"45":-4054013698568144896},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546286848001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:04:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:04:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4054013698568144896,"description":"Unknown IO ID 45"} 
[2026-08-21 11:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546286848001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":1,"odometer":null,"unknown_45":-4054013698568144896}} 
[2026-08-21 11:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":160186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:04:34] local.INFO: GPS data processed {"connection_id":160186,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:04:34] local.INFO: Acknowledgment sent {"connection_id":160186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:04:58] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:04:58] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:04:58] local.INFO: IMEI packet received {"connection_id":160187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":160187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:05:03] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:05:03] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:05:03] local.INFO: IMEI packet received {"connection_id":160187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":160187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:05:03] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:05:03] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:05:03] local.INFO: Packet analysis {"connection_id":160187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022cc"} 
[2026-08-21 11:05:03] local.INFO: Extracted packet for processing {"connection_id":160187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022cc"} 
[2026-08-21 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":768065280,"raw_latitude":86919464,"longitude_deg":76.806528,"latitude_deg":8.6919464,"altitude":25,"angle":225,"satellites":47,"speed":1,"hex_longitude":"2dc7bf00","hex_latitude":"052e4928","is_valid_coordinates":true} 
[2026-08-21 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290204000,"timestamp_ms":1787290204000,"timestamp_seconds":1787290204,"priority":1,"record_length":96,"hex_timestamp":"000001a022cc3760"} 
[2026-08-21 11:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:05: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-08-21 11:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":27767,"149":206,"80":35072,"24":1,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:05:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":1,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":160187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:05:03] local.INFO: GPS data processed {"connection_id":160187,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:05:03] local.INFO: Acknowledgment sent {"connection_id":160187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:05:35] local.INFO: TCP Data received {"connection_id":160187,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:05:35] local.INFO: Processing buffer {"connection_id":160187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022cc3760012dc7bf00052e4928001900e12f..."} 
[2026-08-21 11:05:35] local.INFO: Packet analysis {"connection_id":160187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022cc"} 
[2026-08-21 11:05:35] local.INFO: Extracted packet for processing {"connection_id":160187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022cc"} 
[2026-08-21 11:05:35] local.INFO: GPS Element Parsed {"raw_longitude":768065280,"raw_latitude":86919464,"longitude_deg":76.806528,"latitude_deg":8.6919464,"altitude":25,"angle":225,"satellites":47,"speed":1,"hex_longitude":"2dc7bf00","hex_latitude":"052e4928","is_valid_coordinates":true} 
[2026-08-21 11:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787290204000,"timestamp_ms":1787290204000,"timestamp_seconds":1787290204,"priority":1,"record_length":96,"hex_timestamp":"000001a022cc3760"} 
[2026-08-21 11:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:05: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-08-21 11:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":27767,"149":206,"80":35072,"24":1,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:05:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:05:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":27767,"unknown_149":206,"unknown_80":35072,"ignition":1,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":160187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:05:35] local.INFO: GPS data processed {"connection_id":160187,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:05:35] local.INFO: Acknowledgment sent {"connection_id":160187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:05:58] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:05:58] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:05:58] local.INFO: IMEI packet received {"connection_id":161539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":161539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:06:03] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:06:03] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:06:03] local.INFO: IMEI packet received {"connection_id":161539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":161539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:06:03] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:06:03] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:06:03] local.INFO: Packet analysis {"connection_id":161539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:06:03] local.INFO: Extracted packet for processing {"connection_id":161539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:06:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:06: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-08-21 11:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:06: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-08-21 11:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:06:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":161539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:06:03] local.INFO: GPS data processed {"connection_id":161539,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:06:03] local.INFO: Acknowledgment sent {"connection_id":161539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:06:34] local.INFO: TCP Data received {"connection_id":161539,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:06:34] local.INFO: Processing buffer {"connection_id":161539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:06:34] local.INFO: Packet analysis {"connection_id":161539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:06:34] local.INFO: Extracted packet for processing {"connection_id":161539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:06:34] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:06:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":161539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:06:34] local.INFO: GPS data processed {"connection_id":161539,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:06:34] local.INFO: Acknowledgment sent {"connection_id":161539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:07:03] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:07:03] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:07:03] local.INFO: IMEI packet received {"connection_id":161540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":161540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:07:03] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:07:03] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:07:03] local.INFO: Packet analysis {"connection_id":161540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:07:03] local.INFO: Extracted packet for processing {"connection_id":161540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:07:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:07: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-08-21 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:07: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-08-21 11:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:07:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":161540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:07:03] local.INFO: GPS data processed {"connection_id":161540,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:07:03] local.INFO: Acknowledgment sent {"connection_id":161540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:07:34] local.INFO: TCP Data received {"connection_id":161540,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:07:34] local.INFO: Processing buffer {"connection_id":161540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:07:34] local.INFO: Packet analysis {"connection_id":161540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:07:34] local.INFO: Extracted packet for processing {"connection_id":161540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:07:34] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11: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":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:07:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":161540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:07:34] local.INFO: GPS data processed {"connection_id":161540,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:07:34] local.INFO: Acknowledgment sent {"connection_id":161540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:08:03] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:03] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:03] local.INFO: IMEI packet received {"connection_id":158996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":158996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:08:08] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:08] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:08] local.INFO: IMEI packet received {"connection_id":158996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":158996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:08:09] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:08:09] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:08:09] local.INFO: Packet analysis {"connection_id":158996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:08:09] local.INFO: Extracted packet for processing {"connection_id":158996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:08:09] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:08:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:08:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":158996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:08: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-08-21 11:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":158996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:08:09] local.INFO: GPS data processed {"connection_id":158996,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:08:09] local.INFO: Acknowledgment sent {"connection_id":158996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:08:40] local.INFO: TCP Data received {"connection_id":158996,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:08:40] local.INFO: Processing buffer {"connection_id":158996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:08:40] local.INFO: Packet analysis {"connection_id":158996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:08:40] local.INFO: Extracted packet for processing {"connection_id":158996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:08:40] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":158996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":158996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:08: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-08-21 11:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:08:40] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:08:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":158996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:08:40] local.INFO: GPS data processed {"connection_id":158996,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:08:40] local.INFO: Acknowledgment sent {"connection_id":158996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:08:58] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:58] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:08:58] local.INFO: IMEI packet received {"connection_id":161541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":161541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:09:03] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:09:03] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:09:03] local.INFO: IMEI packet received {"connection_id":161541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":161541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:09:03] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:09:03] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:09:03] local.INFO: Packet analysis {"connection_id":161541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:09:03] local.INFO: Extracted packet for processing {"connection_id":161541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:09: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-08-21 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:09: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-08-21 11:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:09:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":161541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:09:03] local.INFO: GPS data processed {"connection_id":161541,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:09:03] local.INFO: Acknowledgment sent {"connection_id":161541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:09:34] local.INFO: TCP Data received {"connection_id":161541,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:09:34] local.INFO: Processing buffer {"connection_id":161541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:09:34] local.INFO: Packet analysis {"connection_id":161541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:09:34] local.INFO: Extracted packet for processing {"connection_id":161541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:09:34] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:09:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":161541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:09:34] local.INFO: GPS data processed {"connection_id":161541,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:09:34] local.INFO: Acknowledgment sent {"connection_id":161541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:09:58] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:09:58] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:09:58] local.INFO: IMEI packet received {"connection_id":161542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":161542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:10:03] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:10:03] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:10:03] local.INFO: IMEI packet received {"connection_id":161542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":161542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:10:04] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:10:04] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:10:04] local.INFO: Packet analysis {"connection_id":161542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:10:04] local.INFO: Extracted packet for processing {"connection_id":161542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:10:04] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:10: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-08-21 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:10: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-08-21 11:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":161542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:10:04] local.INFO: GPS data processed {"connection_id":161542,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:10:04] local.INFO: Acknowledgment sent {"connection_id":161542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:10:35] local.INFO: TCP Data received {"connection_id":161542,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:10:35] local.INFO: Processing buffer {"connection_id":161542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d0d310012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:10:35] local.INFO: Packet analysis {"connection_id":161542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:10:35] local.INFO: Extracted packet for processing {"connection_id":161542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d0"} 
[2026-08-21 11:10:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4053521117358774272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787290506000,"timestamp_ms":1787290506000,"timestamp_seconds":1787290506,"priority":1,"record_length":96,"hex_timestamp":"000001a022d0d310"} 
[2026-08-21 11:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546292224001,"66":26452,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4053521117358774272},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:10:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:10:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4053521117358774272,"description":"Unknown IO ID 45"} 
[2026-08-21 11:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546292224001,"power":26452,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4053521117358774272}} 
[2026-08-21 11:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":161542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:10:35] local.INFO: GPS data processed {"connection_id":161542,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:10:35] local.INFO: Acknowledgment sent {"connection_id":161542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:10:58] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:10:58] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:10:58] local.INFO: IMEI packet received {"connection_id":158997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":158997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:11:03] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:11:03] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:11:03] local.INFO: IMEI packet received {"connection_id":158997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":158997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:11:04] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:11:04] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:11:04] local.INFO: Packet analysis {"connection_id":158997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:11:04] local.INFO: Extracted packet for processing {"connection_id":158997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:11:04] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:11: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-08-21 11:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:11: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-08-21 11:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:11:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":158997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:11:04] local.INFO: GPS data processed {"connection_id":158997,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:11:04] local.INFO: Acknowledgment sent {"connection_id":158997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:11:35] local.INFO: TCP Data received {"connection_id":158997,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:11:35] local.INFO: Processing buffer {"connection_id":158997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:11:35] local.INFO: Packet analysis {"connection_id":158997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:11:35] local.INFO: Extracted packet for processing {"connection_id":158997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:11:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:11:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:11:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":158997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:11:35] local.INFO: GPS data processed {"connection_id":158997,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:11:35] local.INFO: Acknowledgment sent {"connection_id":158997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:11:58] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:11:58] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:11:58] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:12:03] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:12:03] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:12:03] local.INFO: IMEI packet received {"connection_id":160188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":160188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:12:04] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:12:04] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:12:04] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:12:04] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:12:04] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:12: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-08-21 11: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11: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-08-21 11:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:12:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:12:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:12:04] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:12:04] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:12:35] local.INFO: TCP Data received {"connection_id":160188,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:12:35] local.INFO: Processing buffer {"connection_id":160188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:12:35] local.INFO: Packet analysis {"connection_id":160188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:12:35] local.INFO: Extracted packet for processing {"connection_id":160188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:12:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:12:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:12:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":160188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:12:35] local.INFO: GPS data processed {"connection_id":160188,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:12:35] local.INFO: Acknowledgment sent {"connection_id":160188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:13:03] local.INFO: TCP Data received {"connection_id":159292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:03] local.INFO: Processing buffer {"connection_id":159292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:03] local.INFO: IMEI packet received {"connection_id":159292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":159292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:13:08] local.INFO: TCP Data received {"connection_id":159292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:08] local.INFO: Processing buffer {"connection_id":159292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:08] local.INFO: IMEI packet received {"connection_id":159292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":159292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:13:09] local.INFO: TCP Data received {"connection_id":159292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:13:09] local.INFO: Processing buffer {"connection_id":159292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:13:09] local.INFO: Packet analysis {"connection_id":159292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:13:09] local.INFO: Extracted packet for processing {"connection_id":159292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:13:09] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":159292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:13:09] local.INFO: GPS data processed {"connection_id":159292,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:13:09] local.INFO: Acknowledgment sent {"connection_id":159292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:13:13] local.INFO: TCP Data received {"connection_id":159292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:13:13] local.INFO: Processing buffer {"connection_id":159292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:13:13] local.INFO: Packet analysis {"connection_id":159292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:13:13] local.INFO: Extracted packet for processing {"connection_id":159292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:13:13] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:13:13] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:13:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":159292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:13:13] local.INFO: GPS data processed {"connection_id":159292,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:13:13] local.INFO: Acknowledgment sent {"connection_id":159292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:13:58] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:58] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:13:58] local.INFO: IMEI packet received {"connection_id":158998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":158998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:14:03] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:14:03] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:14:03] local.INFO: IMEI packet received {"connection_id":158998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":158998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:14:03] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:14:03] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:14:03] local.INFO: Packet analysis {"connection_id":158998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:14:03] local.INFO: Extracted packet for processing {"connection_id":158998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:14:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:14: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-08-21 11: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":158998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:14: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-08-21 11:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:14:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":158998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:14:03] local.INFO: GPS data processed {"connection_id":158998,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:14:03] local.INFO: Acknowledgment sent {"connection_id":158998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:14:35] local.INFO: TCP Data received {"connection_id":158998,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:14:35] local.INFO: Processing buffer {"connection_id":158998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:14:35] local.INFO: Packet analysis {"connection_id":158998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:14:35] local.INFO: Extracted packet for processing {"connection_id":158998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:14:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:14:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:14:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":158998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:14:35] local.INFO: GPS data processed {"connection_id":158998,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:14:35] local.INFO: Acknowledgment sent {"connection_id":158998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:14:58] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:14:58] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:14:58] local.INFO: IMEI packet received {"connection_id":158999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":158999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:15:03] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:15:03] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:15:03] local.INFO: IMEI packet received {"connection_id":158999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":158999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:15:04] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:15:04] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:15:04] local.INFO: Packet analysis {"connection_id":158999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:15:04] local.INFO: Extracted packet for processing {"connection_id":158999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:15:04] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:15: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-08-21 11: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":158999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:15: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-08-21 11:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:15:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:15:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":158999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:15:04] local.INFO: GPS data processed {"connection_id":158999,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:15:04] local.INFO: Acknowledgment sent {"connection_id":158999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:15:35] local.INFO: TCP Data received {"connection_id":158999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":158999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:15:35] local.INFO: Processing buffer {"connection_id":158999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022d56ad8012dc7c2c0052e4bc0001900e128..."} 
[2026-08-21 11:15:35] local.INFO: Packet analysis {"connection_id":158999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:15:35] local.INFO: Extracted packet for processing {"connection_id":158999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022d5"} 
[2026-08-21 11:15:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546369536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787290807000,"timestamp_ms":1787290807000,"timestamp_seconds":1787290807,"priority":1,"record_length":96,"hex_timestamp":"000001a022d56ad8"} 
[2026-08-21 11:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 11:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":158999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":158999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546369536001,"66":26147,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546369536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:15:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:15:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546369536001,"power":26147,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":158999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:15:35] local.INFO: GPS data processed {"connection_id":158999,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:15:35] local.INFO: Acknowledgment sent {"connection_id":158999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:15:58] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:15:58] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:15:58] local.INFO: IMEI packet received {"connection_id":161543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":161543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:16:03] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:16:03] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:16:03] local.INFO: IMEI packet received {"connection_id":161543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":161543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:16:04] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:16:04] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:16:04] local.INFO: Packet analysis {"connection_id":161543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:16:04] local.INFO: Extracted packet for processing {"connection_id":161543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:16:04] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:16: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-08-21 11:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:16: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-08-21 11:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:16:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:16:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":161543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:16:04] local.INFO: GPS data processed {"connection_id":161543,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:16:04] local.INFO: Acknowledgment sent {"connection_id":161543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:16:35] local.INFO: TCP Data received {"connection_id":161543,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:16:35] local.INFO: Processing buffer {"connection_id":161543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:16:35] local.INFO: Packet analysis {"connection_id":161543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:16:35] local.INFO: Extracted packet for processing {"connection_id":161543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:16:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:16:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:16:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":161543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:16:35] local.INFO: GPS data processed {"connection_id":161543,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:16:35] local.INFO: Acknowledgment sent {"connection_id":161543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:16:58] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:16:58] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:16:58] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:17:03] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:17:03] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:17:03] local.INFO: IMEI packet received {"connection_id":160189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":160189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:17:03] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:17:03] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:17:03] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:17:03] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:17:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:17: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-08-21 11: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":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11: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-08-21 11:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:17:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:17:03] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:17:03] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:17:35] local.INFO: TCP Data received {"connection_id":160189,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:17:35] local.INFO: Processing buffer {"connection_id":160189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:17:35] local.INFO: Packet analysis {"connection_id":160189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:17:35] local.INFO: Extracted packet for processing {"connection_id":160189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:17:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:17:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:17:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":160189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:17:35] local.INFO: GPS data processed {"connection_id":160189,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:17:35] local.INFO: Acknowledgment sent {"connection_id":160189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:18:03] local.INFO: TCP Data received {"connection_id":159293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:03] local.INFO: Processing buffer {"connection_id":159293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:03] local.INFO: IMEI packet received {"connection_id":159293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":159293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:18:08] local.INFO: TCP Data received {"connection_id":159293,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:08] local.INFO: Processing buffer {"connection_id":159293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:08] local.INFO: IMEI packet received {"connection_id":159293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":159293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:18:08] local.INFO: TCP Data received {"connection_id":159293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:18:08] local.INFO: Processing buffer {"connection_id":159293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:18:08] local.INFO: Packet analysis {"connection_id":159293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:18:08] local.INFO: Extracted packet for processing {"connection_id":159293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:18:08] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11: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-08-21 11:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:18:08] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:18:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":159293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:18:08] local.INFO: GPS data processed {"connection_id":159293,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:18:08] local.INFO: Acknowledgment sent {"connection_id":159293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:18:13] local.INFO: TCP Data received {"connection_id":159293,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:18:13] local.INFO: Processing buffer {"connection_id":159293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:18:13] local.INFO: Packet analysis {"connection_id":159293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:18:13] local.INFO: Extracted packet for processing {"connection_id":159293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:18:13] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:18:13] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:18:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":159293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:18:13] local.INFO: GPS data processed {"connection_id":159293,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:18:13] local.INFO: Acknowledgment sent {"connection_id":159293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:18:58] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:58] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:18:58] local.INFO: IMEI packet received {"connection_id":161544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":161544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:19:03] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:19:03] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:19:03] local.INFO: IMEI packet received {"connection_id":161544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":161544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:19:06] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:19:06] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:19:06] local.INFO: Packet analysis {"connection_id":161544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:19:06] local.INFO: Extracted packet for processing {"connection_id":161544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:19:06] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:19: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-08-21 11:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:19:06] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:19:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":161544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:19:06] local.INFO: GPS data processed {"connection_id":161544,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:19:06] local.INFO: Acknowledgment sent {"connection_id":161544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:19:37] local.INFO: TCP Data received {"connection_id":161544,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:19:37] local.INFO: Processing buffer {"connection_id":161544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:19:37] local.INFO: Packet analysis {"connection_id":161544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:19:37] local.INFO: Extracted packet for processing {"connection_id":161544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:19:37] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:19:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":161544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:19:37] local.INFO: GPS data processed {"connection_id":161544,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:19:37] local.INFO: Acknowledgment sent {"connection_id":161544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:19:58] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:19:58] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:19:58] local.INFO: IMEI packet received {"connection_id":159000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":159000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:20:03] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:20:03] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:20:03] local.INFO: IMEI packet received {"connection_id":159000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":159000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:20:03] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:20:03] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:20:03] local.INFO: Packet analysis {"connection_id":159000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:20:03] local.INFO: Extracted packet for processing {"connection_id":159000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:20:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11: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-08-21 11: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:20: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-08-21 11:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":159000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:20:03] local.INFO: GPS data processed {"connection_id":159000,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:20:03] local.INFO: Acknowledgment sent {"connection_id":159000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:20:34] local.INFO: TCP Data received {"connection_id":159000,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:20:34] local.INFO: Processing buffer {"connection_id":159000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022da02a0012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:20:34] local.INFO: Packet analysis {"connection_id":159000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:20:34] local.INFO: Extracted packet for processing {"connection_id":159000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022da"} 
[2026-08-21 11:20:34] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546446592001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787291108000,"timestamp_ms":1787291108000,"timestamp_seconds":1787291108,"priority":1,"record_length":96,"hex_timestamp":"000001a022da02a0"} 
[2026-08-21 11:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11: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":102,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 11:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1023,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546446592001,"66":26006,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546446592001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:20:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546446592001,"power":26006,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":159000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:20:34] local.INFO: GPS data processed {"connection_id":159000,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:20:34] local.INFO: Acknowledgment sent {"connection_id":159000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:20:58] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:20:58] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:20:58] local.INFO: IMEI packet received {"connection_id":161545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":161545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:21:03] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:21:03] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:21:03] local.INFO: IMEI packet received {"connection_id":161545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":161545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:21:04] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:21:04] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:21:04] local.INFO: Packet analysis {"connection_id":161545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:21:04] local.INFO: Extracted packet for processing {"connection_id":161545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:21:04] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:21: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-08-21 11:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:21:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:21:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":161545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:21:04] local.INFO: GPS data processed {"connection_id":161545,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:21:04] local.INFO: Acknowledgment sent {"connection_id":161545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:21:35] local.INFO: TCP Data received {"connection_id":161545,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:21:35] local.INFO: Processing buffer {"connection_id":161545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:21:35] local.INFO: Packet analysis {"connection_id":161545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:21:35] local.INFO: Extracted packet for processing {"connection_id":161545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:21:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:21:35] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:21:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":161545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:21:35] local.INFO: GPS data processed {"connection_id":161545,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:21:35] local.INFO: Acknowledgment sent {"connection_id":161545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:21:58] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:21:58] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:21:58] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:22:03] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:22:03] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:22:03] local.INFO: IMEI packet received {"connection_id":160190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":160190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:22:03] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:22:03] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:22:03] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:22:03] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:22:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:22: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-08-21 11:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:22: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-08-21 11:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11: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-08-21 11:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:22:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:22:03] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:22:03] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:22:34] local.INFO: TCP Data received {"connection_id":160190,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:22:34] local.INFO: Processing buffer {"connection_id":160190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:22:34] local.INFO: Packet analysis {"connection_id":160190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:22:34] local.INFO: Extracted packet for processing {"connection_id":160190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:22:34] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:22:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:22:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":160190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:22:34] local.INFO: GPS data processed {"connection_id":160190,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:22:34] local.INFO: Acknowledgment sent {"connection_id":160190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:23:03] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:03] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:03] local.INFO: IMEI packet received {"connection_id":159001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":159001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:23:08] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:08] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:08] local.INFO: IMEI packet received {"connection_id":159001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":159001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:23:08] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:23:08] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:23:08] local.INFO: Packet analysis {"connection_id":159001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:23:08] local.INFO: Extracted packet for processing {"connection_id":159001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:23:08] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:23:08] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:23:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":159001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:23:08] local.INFO: GPS data processed {"connection_id":159001,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:23:08] local.INFO: Acknowledgment sent {"connection_id":159001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:23:13] local.INFO: TCP Data received {"connection_id":159001,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:23:13] local.INFO: Processing buffer {"connection_id":159001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:23:13] local.INFO: Packet analysis {"connection_id":159001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:23:13] local.INFO: Extracted packet for processing {"connection_id":159001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:23:13] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:23:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":159001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:23:13] local.INFO: GPS data processed {"connection_id":159001,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:23:13] local.INFO: Acknowledgment sent {"connection_id":159001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:23:58] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:58] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:23:58] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:24:03] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:24:03] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:24:03] local.INFO: IMEI packet received {"connection_id":160191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":160191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:24:05] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:24:05] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:24:05] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:24:05] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:24:05] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:24: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-08-21 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:24:05] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:24:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:24:05] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:24:05] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:24:35] local.INFO: TCP Data received {"connection_id":160191,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:24:35] local.INFO: Processing buffer {"connection_id":160191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022de9a68012dc7c2c0052e4bc0001900e129..."} 
[2026-08-21 11:24:35] local.INFO: Packet analysis {"connection_id":160191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:24:35] local.INFO: Extracted packet for processing {"connection_id":160191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022de"} 
[2026-08-21 11:24:35] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546523648001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787291409000,"timestamp_ms":1787291409000,"timestamp_seconds":1787291409,"priority":1,"record_length":96,"hex_timestamp":"000001a022de9a68"} 
[2026-08-21 11:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 11:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 11:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546523648001,"66":25952,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546523648001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:24:36] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:24:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546523648001,"power":25952,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":160191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:24:36] local.INFO: GPS data processed {"connection_id":160191,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:24:36] local.INFO: Acknowledgment sent {"connection_id":160191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:24:58] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:24:58] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:24:58] local.INFO: IMEI packet received {"connection_id":161546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":161546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:25:03] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:25:03] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:25:03] local.INFO: IMEI packet received {"connection_id":161546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":161546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:25:03] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e243e8012dc7c2c0052e4bc0001900e12c..."} 
[2026-08-21 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e243e8012dc7c2c0052e4bc0001900e12c..."} 
[2026-08-21 11:25:03] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e243e8012dc7c2c0052e4bc0001900e12c..."} 
[2026-08-21 11:25:03] local.INFO: Packet analysis {"connection_id":161546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e2"} 
[2026-08-21 11:25:03] local.INFO: Extracted packet for processing {"connection_id":161546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e2"} 
[2026-08-21 11:25:03] local.INFO: GPS Element Parsed {"raw_longitude":768066240,"raw_latitude":86920128,"longitude_deg":76.806624,"latitude_deg":8.6920128,"altitude":25,"angle":225,"satellites":44,"speed":0,"hex_longitude":"2dc7c2c0","hex_latitude":"052e4bc0","is_valid_coordinates":true} 
[2026-08-21 11:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546600704001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787291649000,"timestamp_ms":1787291649000,"timestamp_seconds":1787291649,"priority":1,"record_length":96,"hex_timestamp":"000001a022e243e8"} 
[2026-08-21 11:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:25: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-08-21 11: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":96,"data_length":795,"current_offset":136} 
[2026-08-21 11:25: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-08-21 11:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:25: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-08-21 11:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546600704001,"66":25875,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546600704001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:25:03] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546600704001,"power":25875,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":161546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:25:03] local.INFO: GPS data processed {"connection_id":161546,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:25:03] local.INFO: Acknowledgment sent {"connection_id":161546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:25:34] local.INFO: TCP Data received {"connection_id":161546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e299d8012dc7c500052e4c00001900e12c..."} 
[2026-08-21 11:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e299d8012dc7c500052e4c00001900e12c..."} 
[2026-08-21 11:25:34] local.INFO: Processing buffer {"connection_id":161546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e299d8012dc7c500052e4c00001900e12c..."} 
[2026-08-21 11:25:34] local.INFO: Packet analysis {"connection_id":161546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e2"} 
[2026-08-21 11:25:34] local.INFO: Extracted packet for processing {"connection_id":161546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e2"} 
[2026-08-21 11:25:34] local.INFO: GPS Element Parsed {"raw_longitude":768066816,"raw_latitude":86920192,"longitude_deg":76.8066816,"latitude_deg":8.6920192,"altitude":25,"angle":225,"satellites":44,"speed":0,"hex_longitude":"2dc7c500","hex_latitude":"052e4c00","is_valid_coordinates":true} 
[2026-08-21 11:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546662144001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052465586195939328,"note":"Value kept but may cause issues"} 
[2026-08-21 11:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787291671000,"timestamp_ms":1787291671000,"timestamp_seconds":1787291671,"priority":1,"record_length":96,"hex_timestamp":"000001a022e299d8"} 
[2026-08-21 11:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 11:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546662144001,"66":27800,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4052465586195939328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546662144001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:25:34] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052465586195939328,"description":"Unknown IO ID 45"} 
[2026-08-21 11:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546662144001,"power":27800,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4052465586195939328}} 
[2026-08-21 11:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:25:34] local.INFO: GPS data processed {"connection_id":161546,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:25:34] local.INFO: Acknowledgment sent {"connection_id":161546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:25:58] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:25:58] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:25:58] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:26:03] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:26:03] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:26:03] local.INFO: IMEI packet received {"connection_id":161547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":161547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:26:04] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e2ebe0012dc7c500052e4c00001900e12b..."} 
[2026-08-21 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e2ebe0012dc7c500052e4c00001900e12b..."} 
[2026-08-21 11:26:04] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e2ebe0012dc7c500052e4c00001900e12b..."} 
[2026-08-21 11:26:04] local.INFO: Packet analysis {"connection_id":161547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e2"} 
[2026-08-21 11:26:04] local.INFO: Extracted packet for processing {"connection_id":161547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e2"} 
[2026-08-21 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":768066816,"raw_latitude":86920192,"longitude_deg":76.8066816,"latitude_deg":8.6920192,"altitude":25,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2dc7c500","hex_latitude":"052e4c00","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546667776001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092480362381312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4051832267498323968,"note":"Value kept but may cause issues"} 
[2026-08-21 11:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787291692000,"timestamp_ms":1787291692000,"timestamp_seconds":1787291692,"priority":1,"record_length":96,"hex_timestamp":"000001a022e2ebe0"} 
[2026-08-21 11:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:26: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-08-21 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:26:04] 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-08-21 11: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-08-21 11:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:26: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-08-21 11:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546667776001,"66":26789,"149":206,"80":35072,"24":0,"16":388092480362381312,"45":-4051832267498323968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,80,24,16,45]} 
[2026-08-21 11:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546667776001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:26:04] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 11:26:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092480362381312,"km_value":388092480362381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4051832267498323968,"description":"Unknown IO ID 45"} 
[2026-08-21 11:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546667776001,"power":26789,"unknown_149":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4051832267498323968}} 
[2026-08-21 11:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":161547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:26:04] local.INFO: GPS data processed {"connection_id":161547,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:26:04] local.INFO: Acknowledgment sent {"connection_id":161547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:26:35] local.INFO: TCP Data received {"connection_id":161547,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e39ba8012dc7c940052e55a0001700232d..."} 
[2026-08-21 11:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e39ba8012dc7c940052e55a0001700232d..."} 
[2026-08-21 11:26:35] local.INFO: Processing buffer {"connection_id":161547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e39ba8012dc7c940052e55a0001700232d..."} 
[2026-08-21 11:26:35] local.INFO: Packet analysis {"connection_id":161547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e3"} 
[2026-08-21 11:26:35] local.INFO: Extracted packet for processing {"connection_id":161547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e3"} 
[2026-08-21 11:26:35] local.INFO: GPS Element Parsed {"raw_longitude":768067904,"raw_latitude":86922656,"longitude_deg":76.8067904,"latitude_deg":8.6922656,"altitude":23,"angle":35,"satellites":45,"speed":12,"hex_longitude":"2dc7c940","hex_latitude":"052e55a0","is_valid_coordinates":true} 
[2026-08-21 11:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546682624001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092665045975040,"note":"Value kept but may cause issues"} 
[2026-08-21 11:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4052043373730547712,"note":"Value kept but may cause issues"} 
[2026-08-21 11:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787291737000,"timestamp_ms":1787291737000,"timestamp_seconds":1787291737,"priority":1,"record_length":96,"hex_timestamp":"000001a022e39ba8"} 
[2026-08-21 11:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:26: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-08-21 11:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546682624001,"66":27832,"194":206,"80":35072,"24":12,"16":388092665045975040,"45":-4052043373730547712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 11:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546682624001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:26:35] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 11:26:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092665045975040,"km_value":388092665045975.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4052043373730547712,"description":"Unknown IO ID 45"} 
[2026-08-21 11:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546682624001,"power":27832,"unknown_194":206,"unknown_80":35072,"ignition":12,"odometer":null,"unknown_45":-4052043373730547712}} 
[2026-08-21 11:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":161547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:26:35] local.INFO: GPS data processed {"connection_id":161547,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:26:35] local.INFO: Acknowledgment sent {"connection_id":161547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:26:58] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:26:58] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:26:58] local.INFO: IMEI packet received {"connection_id":159294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":159294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:27:03] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:27:03] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:27:03] local.INFO: IMEI packet received {"connection_id":159294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":159294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:27:04] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e3b700012dc7cd80052e5b68001700302d..."} 
[2026-08-21 11:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e3b700012dc7cd80052e5b68001700302d..."} 
[2026-08-21 11:27:04] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e3b700012dc7cd80052e5b68001700302d..."} 
[2026-08-21 11:27:04] local.INFO: Packet analysis {"connection_id":159294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e3"} 
[2026-08-21 11:27:04] local.INFO: Extracted packet for processing {"connection_id":159294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e3"} 
[2026-08-21 11:27:04] local.INFO: GPS Element Parsed {"raw_longitude":768068992,"raw_latitude":86924136,"longitude_deg":76.8068992,"latitude_deg":8.6924136,"altitude":23,"angle":48,"satellites":45,"speed":14,"hex_longitude":"2dc7cd80","hex_latitude":"052e5b68","is_valid_coordinates":true} 
[2026-08-21 11:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546684672001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092750945320960,"note":"Value kept but may cause issues"} 
[2026-08-21 11:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4050635998846672896,"note":"Value kept but may cause issues"} 
[2026-08-21 11:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787291744000,"timestamp_ms":1787291744000,"timestamp_seconds":1787291744,"priority":1,"record_length":96,"hex_timestamp":"000001a022e3b700"} 
[2026-08-21 11:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:27: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-08-21 11:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 11:27:04] 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-08-21 11:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:27: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-08-21 11:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546684672001,"66":27745,"194":206,"80":35072,"24":14,"16":388092750945320960,"45":-4050635998846672896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 11:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546684672001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:27:04] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 11:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092750945320960,"km_value":388092750945320.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4050635998846672896,"description":"Unknown IO ID 45"} 
[2026-08-21 11:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546684672001,"power":27745,"unknown_194":206,"unknown_80":35072,"ignition":14,"odometer":null,"unknown_45":-4050635998846672896}} 
[2026-08-21 11:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":159294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:27:04] local.INFO: GPS data processed {"connection_id":159294,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:27:04] local.INFO: Acknowledgment sent {"connection_id":159294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:27:36] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e3d640012dc7d880052e63080018003b2e..."} 
[2026-08-21 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e3d640012dc7d880052e63080018003b2e..."} 
[2026-08-21 11:27:36] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e3d640012dc7d880052e63080018003b2e..."} 
[2026-08-21 11:27:36] local.INFO: Packet analysis {"connection_id":159294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e3"} 
[2026-08-21 11:27:36] local.INFO: Extracted packet for processing {"connection_id":159294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e3"} 
[2026-08-21 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":768071808,"raw_latitude":86926088,"longitude_deg":76.8071808,"latitude_deg":8.6926088,"altitude":24,"angle":59,"satellites":46,"speed":19,"hex_longitude":"2dc7d880","hex_latitude":"052e6308","is_valid_coordinates":true} 
[2026-08-21 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546686464001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388092918449045504,"note":"Value kept but may cause issues"} 
[2026-08-21 11:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4049439730195273728,"note":"Value kept but may cause issues"} 
[2026-08-21 11:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787291752000,"timestamp_ms":1787291752000,"timestamp_seconds":1787291752,"priority":1,"record_length":96,"hex_timestamp":"000001a022e3d640"} 
[2026-08-21 11:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:27: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-08-21 11:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 11:27: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-08-21 11:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:27: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-08-21 11:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546686464001,"66":27876,"194":206,"80":35072,"24":19,"16":388092918449045504,"45":-4049439730195273728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,80,24,16,45]} 
[2026-08-21 11:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546686464001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:27:36] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-08-21 11:27:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388092918449045504,"km_value":388092918449045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4049439730195273728,"description":"Unknown IO ID 45"} 
[2026-08-21 11:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546686464001,"power":27876,"unknown_194":206,"unknown_80":35072,"ignition":19,"odometer":null,"unknown_45":-4049439730195273728}} 
[2026-08-21 11:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":159294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:27:36] local.INFO: GPS data processed {"connection_id":159294,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:27:36] local.INFO: Acknowledgment sent {"connection_id":159294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:28:03] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:03] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:03] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:28:04] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:04] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:04] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:28:07] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:07] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:07] local.INFO: IMEI packet received {"connection_id":160192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":160192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:28:09] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e4e7b0012dc87540052e99e8001d003e2a..."} 
[2026-08-21 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e4e7b0012dc87540052e99e8001d003e2a..."} 
[2026-08-21 11:28:09] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e4e7b0012dc87540052e99e8001d003e2a..."} 
[2026-08-21 11:28:09] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e4"} 
[2026-08-21 11:28:09] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e4"} 
[2026-08-21 11:28:09] local.INFO: GPS Element Parsed {"raw_longitude":768111936,"raw_latitude":86940136,"longitude_deg":76.8111936,"latitude_deg":8.6940136,"altitude":29,"angle":62,"satellites":42,"speed":26,"hex_longitude":"2dc87540","hex_latitude":"052e99e8","is_valid_coordinates":true} 
[2026-08-21 11:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546705664001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388095010098118656,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4003981521452670976,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787291822000,"timestamp_ms":1787291822000,"timestamp_seconds":1787291822,"priority":1,"record_length":96,"hex_timestamp":"000001a022e4e7b0"} 
[2026-08-21 11:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546705664001,"66":27767,"11":206,"80":35072,"24":26,"16":388095010098118656,"45":-4003981521452670976},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546705664001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:28:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:28:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388095010098118656,"km_value":388095010098118.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4003981521452670976,"description":"Unknown IO ID 45"} 
[2026-08-21 11:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546705664001,"power":27767,"unknown_11":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-4003981521452670976}} 
[2026-08-21 11:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:28:09] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:28:09] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:28:10] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a000001a022e51a78012dc89540052eab48001d00392c..."} 
[2026-08-21 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a022e51a78012dc89540052eab48001d00392c..."} 
[2026-08-21 11:28:10] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a022e51a78012dc89540052eab48001d00392c..."} 
[2026-08-21 11:28:10] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:28:10] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":768120128,"raw_latitude":86944584,"longitude_deg":76.8120128,"latitude_deg":8.6944584,"altitude":29,"angle":57,"satellites":44,"speed":14,"hex_longitude":"2dc89540","hex_latitude":"052eab48","is_valid_coordinates":true} 
[2026-08-21 11:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546706432001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388095456774717440,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4002222302847965184,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787291835000,"timestamp_ms":1787291835000,"timestamp_seconds":1787291835,"priority":1,"record_length":96,"hex_timestamp":"000001a022e51a78"} 
[2026-08-21 11:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28: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-08-21 11:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546706432001,"66":27865,"11":206,"80":35072,"24":14,"16":388095456774717440,"45":-4002222302847965184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546706432001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388095456774717440,"km_value":388095456774717.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4002222302847965184,"description":"Unknown IO ID 45"} 
[2026-08-21 11:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546706432001,"power":27865,"unknown_11":206,"unknown_80":35072,"ignition":14,"odometer":null,"unknown_45":-4002222302847965184}} 
[2026-08-21 11:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:28:10] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:28:10] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:28:10] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:28:10] local.INFO: Incomplete packet, waiting for more data {"connection_id":160192,"needed":795,"available":553} 
[2026-08-21 11:28:11] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.15","data_length":242,"data_hex":"000000000001a022e4bcb8012dc86600052e8938001e00312d000f0000000a00..."} 
[2026-08-21 11:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":242,"packet_hex":"000000000001a022e4bcb8012dc86600052e8938001e00312d000f0000000a00..."} 
[2026-08-21 11:28:11] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e53da0012dc8a240052eb550001c002e2d..."} 
[2026-08-21 11:28:11] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:28:11] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":768123456,"raw_latitude":86947152,"longitude_deg":76.8123456,"latitude_deg":8.6947152,"altitude":28,"angle":46,"satellites":45,"speed":24,"hex_longitude":"2dc8a240","hex_latitude":"052eb550","is_valid_coordinates":true} 
[2026-08-21 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546709760001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388095662933147648,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3993215103592085504,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787291844000,"timestamp_ms":1787291844000,"timestamp_seconds":1787291844,"priority":1,"record_length":96,"hex_timestamp":"000001a022e53da0"} 
[2026-08-21 11:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28: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-08-21 11:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546709760001,"66":27800,"11":206,"80":35072,"24":24,"16":388095662933147648,"45":-3993215103592085504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546709760001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:28:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:28:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388095662933147648,"km_value":388095662933147.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3993215103592085504,"description":"Unknown IO ID 45"} 
[2026-08-21 11:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546709760001,"power":27800,"unknown_11":206,"unknown_80":35072,"ignition":24,"odometer":null,"unknown_45":-3993215103592085504}} 
[2026-08-21 11:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:28:11] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:28:11] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:28:42] local.INFO: TCP Data received {"connection_id":160192,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e54d40012dc8a800052ebc10001d00202d..."} 
[2026-08-21 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e54d40012dc8a800052ebc10001d00202d..."} 
[2026-08-21 11:28:42] local.INFO: Processing buffer {"connection_id":160192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e54d40012dc8a800052ebc10001d00202d..."} 
[2026-08-21 11:28:42] local.INFO: Packet analysis {"connection_id":160192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:28:42] local.INFO: Extracted packet for processing {"connection_id":160192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":768124928,"raw_latitude":86948880,"longitude_deg":76.8124928,"latitude_deg":8.694888,"altitude":29,"angle":32,"satellites":45,"speed":20,"hex_longitude":"2dc8a800","hex_latitude":"052ebc10","is_valid_coordinates":true} 
[2026-08-21 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546712064001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388095770307330048,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3989555928894189568,"note":"Value kept but may cause issues"} 
[2026-08-21 11:28:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787291848000,"timestamp_ms":1787291848000,"timestamp_seconds":1787291848,"priority":1,"record_length":96,"hex_timestamp":"000001a022e54d40"} 
[2026-08-21 11:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546712064001,"66":27821,"11":206,"80":35072,"24":20,"16":388095770307330048,"45":-3989555928894189568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546712064001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388095770307330048,"km_value":388095770307330.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3989555928894189568,"description":"Unknown IO ID 45"} 
[2026-08-21 11:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546712064001,"power":27821,"unknown_11":206,"unknown_80":35072,"ignition":20,"odometer":null,"unknown_45":-3989555928894189568}} 
[2026-08-21 11:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":160192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:28:42] local.INFO: GPS data processed {"connection_id":160192,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:28:42] local.INFO: Acknowledgment sent {"connection_id":160192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:28:58] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:58] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:28:58] local.INFO: IMEI packet received {"connection_id":161548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":161548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:29:00] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:29:00] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:29:00] local.INFO: IMEI packet received {"connection_id":161548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":161548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:29:02] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e55510012dc8a9c0052ebf98001d00142c..."} 
[2026-08-21 11:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e55510012dc8a9c0052ebf98001d00142c..."} 
[2026-08-21 11:29:02] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e55510012dc8a9c0052ebf98001d00142c..."} 
[2026-08-21 11:29:02] local.INFO: Packet analysis {"connection_id":161548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:29:02] local.INFO: Extracted packet for processing {"connection_id":161548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":768125376,"raw_latitude":86949784,"longitude_deg":76.8125376,"latitude_deg":8.6949784,"altitude":29,"angle":20,"satellites":44,"speed":19,"hex_longitude":"2dc8a9c0","hex_latitude":"052ebf98","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546713088001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388095817551970304,"note":"Value kept but may cause issues"} 
[2026-08-21 11:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987937447777660928,"note":"Value kept but may cause issues"} 
[2026-08-21 11:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787291850000,"timestamp_ms":1787291850000,"timestamp_seconds":1787291850,"priority":1,"record_length":96,"hex_timestamp":"000001a022e55510"} 
[2026-08-21 11:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 11:29: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-08-21 11: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-08-21 11:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546713088001,"66":27919,"11":206,"80":35072,"24":19,"16":388095817551970304,"45":-3987937447777660928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546713088001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:29:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:29:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388095817551970304,"km_value":388095817551970.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987937447777660928,"description":"Unknown IO ID 45"} 
[2026-08-21 11:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546713088001,"power":27919,"unknown_11":206,"unknown_80":35072,"ignition":19,"odometer":null,"unknown_45":-3987937447777660928}} 
[2026-08-21 11:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":161548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:29:02] local.INFO: GPS data processed {"connection_id":161548,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:29:02] local.INFO: Acknowledgment sent {"connection_id":161548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:29:35] local.INFO: TCP Data received {"connection_id":161548,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e560c8012dc8ab00052ec4e8001c00072c..."} 
[2026-08-21 11:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e560c8012dc8ab00052ec4e8001c00072c..."} 
[2026-08-21 11:29:35] local.INFO: Processing buffer {"connection_id":161548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e560c8012dc8ab00052ec4e8001c00072c..."} 
[2026-08-21 11:29:35] local.INFO: Packet analysis {"connection_id":161548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:29:35] local.INFO: Extracted packet for processing {"connection_id":161548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:29:35] local.INFO: GPS Element Parsed {"raw_longitude":768125696,"raw_latitude":86951144,"longitude_deg":76.8125696,"latitude_deg":8.6951144,"altitude":28,"angle":7,"satellites":44,"speed":20,"hex_longitude":"2dc8ab00","hex_latitude":"052ec4e8","is_valid_coordinates":true} 
[2026-08-21 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546713600001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388095886271447040,"note":"Value kept but may cause issues"} 
[2026-08-21 11:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987444866568185856,"note":"Value kept but may cause issues"} 
[2026-08-21 11:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787291853000,"timestamp_ms":1787291853000,"timestamp_seconds":1787291853,"priority":1,"record_length":96,"hex_timestamp":"000001a022e560c8"} 
[2026-08-21 11:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:29: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-08-21 11:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546713600001,"66":27876,"11":206,"80":35072,"24":20,"16":388095886271447040,"45":-3987444866568185856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546713600001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:29:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388095886271447040,"km_value":388095886271447.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987444866568185856,"description":"Unknown IO ID 45"} 
[2026-08-21 11:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546713600001,"power":27876,"unknown_11":206,"unknown_80":35072,"ignition":20,"odometer":null,"unknown_45":-3987444866568185856}} 
[2026-08-21 11:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":161548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:29:35] local.INFO: GPS data processed {"connection_id":161548,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:29:35] local.INFO: Acknowledgment sent {"connection_id":161548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:29:59] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:29:59] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:29:59] local.INFO: IMEI packet received {"connection_id":160193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":160193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:30:04] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:30:04] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:30:04] local.INFO: IMEI packet received {"connection_id":160193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":160193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:30:05] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e58fa8012dc8b180052ee138001f00152a..."} 
[2026-08-21 11:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e58fa8012dc8b180052ee138001f00152a..."} 
[2026-08-21 11:30:05] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e58fa8012dc8b180052ee138001f00152a..."} 
[2026-08-21 11:30:05] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:30:05] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":768127360,"raw_latitude":86958392,"longitude_deg":76.812736,"latitude_deg":8.6958392,"altitude":31,"angle":21,"satellites":42,"speed":25,"hex_longitude":"2dc8b180","hex_latitude":"052ee138","is_valid_coordinates":true} 
[2026-08-21 11:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546714368001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388096247048699904,"note":"Value kept but may cause issues"} 
[2026-08-21 11:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987093022846949376,"note":"Value kept but may cause issues"} 
[2026-08-21 11:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787291865000,"timestamp_ms":1787291865000,"timestamp_seconds":1787291865,"priority":1,"record_length":96,"hex_timestamp":"000001a022e58fa8"} 
[2026-08-21 11:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:30: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-08-21 11:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546714368001,"66":27876,"11":206,"80":35072,"24":25,"16":388096247048699904,"45":-3987093022846949376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546714368001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:30:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:30:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388096247048699904,"km_value":388096247048699.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987093022846949376,"description":"Unknown IO ID 45"} 
[2026-08-21 11:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546714368001,"power":27876,"unknown_11":206,"unknown_80":35072,"ignition":25,"odometer":null,"unknown_45":-3987093022846949376}} 
[2026-08-21 11:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:30:05] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:30:05] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:30:39] local.INFO: TCP Data received {"connection_id":160193,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e5ab00012dc8b780052ef340002100092b..."} 
[2026-08-21 11:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e5ab00012dc8b780052ef340002100092b..."} 
[2026-08-21 11:30:39] local.INFO: Processing buffer {"connection_id":160193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e5ab00012dc8b780052ef340002100092b..."} 
[2026-08-21 11:30:39] local.INFO: Packet analysis {"connection_id":160193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:30:39] local.INFO: Extracted packet for processing {"connection_id":160193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e5"} 
[2026-08-21 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":768128896,"raw_latitude":86963008,"longitude_deg":76.8128896,"latitude_deg":8.6963008,"altitude":33,"angle":9,"satellites":43,"speed":29,"hex_longitude":"2dc8b780","hex_latitude":"052ef340","is_valid_coordinates":true} 
[2026-08-21 11:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546717440001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388096483271901184,"note":"Value kept but may cause issues"} 
[2026-08-21 11:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985263435496474624,"note":"Value kept but may cause issues"} 
[2026-08-21 11:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787291872000,"timestamp_ms":1787291872000,"timestamp_seconds":1787291872,"priority":1,"record_length":96,"hex_timestamp":"000001a022e5ab00"} 
[2026-08-21 11:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:30:39] 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-08-21 11:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546717440001,"66":27876,"11":206,"80":35072,"24":29,"16":388096483271901184,"45":-3985263435496474624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546717440001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:30:39] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:30:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388096483271901184,"km_value":388096483271901.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985263435496474624,"description":"Unknown IO ID 45"} 
[2026-08-21 11:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546717440001,"power":27876,"unknown_11":206,"unknown_80":35072,"ignition":29,"odometer":null,"unknown_45":-3985263435496474624}} 
[2026-08-21 11:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":160193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:30:39] local.INFO: GPS data processed {"connection_id":160193,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:30:39] local.INFO: Acknowledgment sent {"connection_id":160193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:31:16] local.INFO: TCP Data received {"connection_id":161549,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:16] local.INFO: Processing buffer {"connection_id":161549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:16] local.INFO: IMEI packet received {"connection_id":161549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":161549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:31:32] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:32] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:32] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:31:33] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:33] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:33] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:31:38] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:38] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:31:38] local.INFO: IMEI packet received {"connection_id":160194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":160194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:31:40] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e7d998012dc8dac0052f3fc0002b00602e..."} 
[2026-08-21 11:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e7d998012dc8dac0052f3fc0002b00602e..."} 
[2026-08-21 11:31:40] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e7d998012dc8dac0052f3fc0002b00602e..."} 
[2026-08-21 11:31:40] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e7"} 
[2026-08-21 11:31:40] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e7"} 
[2026-08-21 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":768137920,"raw_latitude":86982592,"longitude_deg":76.813792,"latitude_deg":8.6982592,"altitude":43,"angle":96,"satellites":46,"speed":6,"hex_longitude":"2dc8dac0","hex_latitude":"052f3fc0","is_valid_coordinates":true} 
[2026-08-21 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546753792001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388097595668430848,"note":"Value kept but may cause issues"} 
[2026-08-21 11:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974708123863738368,"note":"Value kept but may cause issues"} 
[2026-08-21 11:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787292015000,"timestamp_ms":1787292015000,"timestamp_seconds":1787292015,"priority":1,"record_length":96,"hex_timestamp":"000001a022e7d998"} 
[2026-08-21 11:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 11:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:31: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-08-21 11:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546753792001,"66":27789,"11":206,"80":35072,"24":6,"16":388097595668430848,"45":-3974708123863738368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546753792001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:31:40] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:31:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388097595668430848,"km_value":388097595668430.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974708123863738368,"description":"Unknown IO ID 45"} 
[2026-08-21 11:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546753792001,"power":27789,"unknown_11":206,"unknown_80":35072,"ignition":6,"odometer":null,"unknown_45":-3974708123863738368}} 
[2026-08-21 11:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:31:40] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:31:40] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:31:41] local.INFO: TCP Data received {"connection_id":160194,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e7e550012dc8ddc0052f3eb8002a00722e..."} 
[2026-08-21 11:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e7e550012dc8ddc0052f3eb8002a00722e..."} 
[2026-08-21 11:31:41] local.INFO: Processing buffer {"connection_id":160194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e7e550012dc8ddc0052f3eb8002a00722e..."} 
[2026-08-21 11:31:41] local.INFO: Packet analysis {"connection_id":160194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e7"} 
[2026-08-21 11:31:41] local.INFO: Extracted packet for processing {"connection_id":160194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e7"} 
[2026-08-21 11:31:41] local.INFO: GPS Element Parsed {"raw_longitude":768138688,"raw_latitude":86982328,"longitude_deg":76.8138688,"latitude_deg":8.6982328,"altitude":42,"angle":114,"satellites":46,"speed":14,"hex_longitude":"2dc8ddc0","hex_latitude":"052f3eb8","is_valid_coordinates":true} 
[2026-08-21 11:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546755840001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388097634323136512,"note":"Value kept but may cause issues"} 
[2026-08-21 11:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3973652592700964864,"note":"Value kept but may cause issues"} 
[2026-08-21 11:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787292018000,"timestamp_ms":1787292018000,"timestamp_seconds":1787292018,"priority":1,"record_length":96,"hex_timestamp":"000001a022e7e550"} 
[2026-08-21 11:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 11:31:41] 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-08-21 11:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546755840001,"66":27615,"11":206,"80":35072,"24":14,"16":388097634323136512,"45":-3973652592700964864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546755840001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:31:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:31:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388097634323136512,"km_value":388097634323136.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3973652592700964864,"description":"Unknown IO ID 45"} 
[2026-08-21 11:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546755840001,"power":27615,"unknown_11":206,"unknown_80":35072,"ignition":14,"odometer":null,"unknown_45":-3973652592700964864}} 
[2026-08-21 11:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":160194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:31:41] local.INFO: GPS data processed {"connection_id":160194,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:31:41] local.INFO: Acknowledgment sent {"connection_id":160194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:32:03] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:03] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:03] local.INFO: IMEI packet received {"connection_id":159002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":159002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:32:08] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:08] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:08] local.INFO: IMEI packet received {"connection_id":159002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":159002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:32:09] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e7ed20012dc8dfc0052f3cf0002a00872e..."} 
[2026-08-21 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e7ed20012dc8dfc0052f3cf0002a00872e..."} 
[2026-08-21 11:32:09] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e7ed20012dc8dfc0052f3cf0002a00872e..."} 
[2026-08-21 11:32:09] local.INFO: Packet analysis {"connection_id":159002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e7"} 
[2026-08-21 11:32:09] local.INFO: Extracted packet for processing {"connection_id":159002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e7"} 
[2026-08-21 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":768139200,"raw_latitude":86981872,"longitude_deg":76.81392,"latitude_deg":8.6981872,"altitude":42,"angle":135,"satellites":46,"speed":16,"hex_longitude":"2dc8dfc0","hex_latitude":"052f3cf0","is_valid_coordinates":true} 
[2026-08-21 11:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546756608001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388097668682874880,"note":"Value kept but may cause issues"} 
[2026-08-21 11:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3972808167770900480,"note":"Value kept but may cause issues"} 
[2026-08-21 11:32:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787292020000,"timestamp_ms":1787292020000,"timestamp_seconds":1787292020,"priority":1,"record_length":96,"hex_timestamp":"000001a022e7ed20"} 
[2026-08-21 11:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 11:32:09] 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-08-21 11:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:32: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-08-21 11:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546756608001,"66":27800,"11":206,"80":35072,"24":16,"16":388097668682874880,"45":-3972808167770900480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 11:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546756608001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 11:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388097668682874880,"km_value":388097668682874.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3972808167770900480,"description":"Unknown IO ID 45"} 
[2026-08-21 11:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546756608001,"power":27800,"unknown_11":206,"unknown_80":35072,"ignition":16,"odometer":null,"unknown_45":-3972808167770900480}} 
[2026-08-21 11:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":159002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:32:09] local.INFO: GPS data processed {"connection_id":159002,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:32:09] local.INFO: Acknowledgment sent {"connection_id":159002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:32:40] local.INFO: TCP Data received {"connection_id":159002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e823d0012dc8f700052f2300002800842c..."} 
[2026-08-21 11:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e823d0012dc8f700052f2300002800842c..."} 
[2026-08-21 11:32:40] local.INFO: Processing buffer {"connection_id":159002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e823d0012dc8f700052f2300002800842c..."} 
[2026-08-21 11:32:40] local.INFO: Packet analysis {"connection_id":159002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e8"} 
[2026-08-21 11:32:40] local.INFO: Extracted packet for processing {"connection_id":159002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e8"} 
[2026-08-21 11:32:40] local.INFO: GPS Element Parsed {"raw_longitude":768145152,"raw_latitude":86975232,"longitude_deg":76.8145152,"latitude_deg":8.6975232,"altitude":40,"angle":132,"satellites":44,"speed":33,"hex_longitude":"2dc8f700","hex_latitude":"052f2300","is_valid_coordinates":true} 
[2026-08-21 11:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546757120001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388098098179604480,"note":"Value kept but may cause issues"} 
[2026-08-21 11:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3972245217817595904,"note":"Value kept but may cause issues"} 
[2026-08-21 11:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787292034000,"timestamp_ms":1787292034000,"timestamp_seconds":1787292034,"priority":1,"record_length":96,"hex_timestamp":"000001a022e823d0"} 
[2026-08-21 11:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:32: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-08-21 11:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:32: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-08-21 11:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546757120001,"66":27876,"33":206,"80":36352,"24":33,"16":388098098179604480,"45":-3972245217817595904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-21 11:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546757120001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:32:40] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 11:32:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388098098179604480,"km_value":388098098179604.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3972245217817595904,"description":"Unknown IO ID 45"} 
[2026-08-21 11:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546757120001,"power":27876,"unknown_33":206,"unknown_80":36352,"ignition":33,"odometer":null,"unknown_45":-3972245217817595904}} 
[2026-08-21 11:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":159002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:32:40] local.INFO: GPS data processed {"connection_id":159002,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:32:40] local.INFO: Acknowledgment sent {"connection_id":159002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:32:57] local.INFO: TCP Data received {"connection_id":159295,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:57] local.INFO: Processing buffer {"connection_id":159295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:57] local.INFO: IMEI packet received {"connection_id":159295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":159295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:32:58] local.INFO: TCP Data received {"connection_id":159295,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:58] local.INFO: Processing buffer {"connection_id":159295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:32:58] local.INFO: IMEI packet received {"connection_id":159295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":159295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:33:01] local.INFO: TCP Data received {"connection_id":159295,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:33:01] local.INFO: Processing buffer {"connection_id":159295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:33:01] local.INFO: IMEI packet received {"connection_id":159295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":159295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:33:02] local.INFO: TCP Data received {"connection_id":159295,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022e846f8012dc91340052f0c780025007e2b..."} 
[2026-08-21 11:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022e846f8012dc91340052f0c780025007e2b..."} 
[2026-08-21 11:33:02] local.INFO: Processing buffer {"connection_id":159295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022e846f8012dc91340052f0c780025007e2b..."} 
[2026-08-21 11:33:02] local.INFO: Packet analysis {"connection_id":159295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022e8"} 
[2026-08-21 11:33:02] local.INFO: Extracted packet for processing {"connection_id":159295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022e8"} 
[2026-08-21 11:33:02] local.INFO: GPS Element Parsed {"raw_longitude":768152384,"raw_latitude":86969464,"longitude_deg":76.8152384,"latitude_deg":8.6969464,"altitude":37,"angle":126,"satellites":43,"speed":44,"hex_longitude":"2dc91340","hex_latitude":"052f0c78","is_valid_coordinates":true} 
[2026-08-21 11:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546760704001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388098544856203264,"note":"Value kept but may cause issues"} 
[2026-08-21 11:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3965700924610772992,"note":"Value kept but may cause issues"} 
[2026-08-21 11:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787292043000,"timestamp_ms":1787292043000,"timestamp_seconds":1787292043,"priority":1,"record_length":96,"hex_timestamp":"000001a022e846f8"} 
[2026-08-21 11:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:33:02] 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-08-21 11:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546760704001,"66":27843,"33":206,"80":36352,"24":44,"16":388098544856203264,"45":-3965700924610772992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-21 11:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546760704001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:33:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 11:33:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388098544856203264,"km_value":388098544856203.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3965700924610772992,"description":"Unknown IO ID 45"} 
[2026-08-21 11:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546760704001,"power":27843,"unknown_33":206,"unknown_80":36352,"ignition":44,"odometer":null,"unknown_45":-3965700924610772992}} 
[2026-08-21 11:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":159295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:33:02] local.INFO: GPS data processed {"connection_id":159295,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:33:02] local.INFO: Acknowledgment sent {"connection_id":159295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:33:40] local.INFO: TCP Data received {"connection_id":159295,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ea13e8012dca0fc0052e51b0001c008e2d..."} 
[2026-08-21 11:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ea13e8012dca0fc0052e51b0001c008e2d..."} 
[2026-08-21 11:33:40] local.INFO: Processing buffer {"connection_id":159295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ea13e8012dca0fc0052e51b0001c008e2d..."} 
[2026-08-21 11:33:40] local.INFO: Packet analysis {"connection_id":159295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:33:40] local.INFO: Extracted packet for processing {"connection_id":159295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:33:40] local.INFO: GPS Element Parsed {"raw_longitude":768217024,"raw_latitude":86921648,"longitude_deg":76.8217024,"latitude_deg":8.6921648,"altitude":28,"angle":142,"satellites":45,"speed":42,"hex_longitude":"2dca0fc0","hex_latitude":"052e51b0","is_valid_coordinates":true} 
[2026-08-21 11:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546793216001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388102521995919360,"note":"Value kept but may cause issues"} 
[2026-08-21 11:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3886676824912973824,"note":"Value kept but may cause issues"} 
[2026-08-21 11:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787292161000,"timestamp_ms":1787292161000,"timestamp_seconds":1787292161,"priority":1,"record_length":96,"hex_timestamp":"000001a022ea13e8"} 
[2026-08-21 11:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 11:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:33: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-08-21 11:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546793216001,"66":27843,"78":206,"80":36352,"24":42,"16":388102521995919360,"45":-3886676824912973824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-08-21 11:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546793216001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:33:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 11:33:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388102521995919360,"km_value":388102521995919.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3886676824912973824,"description":"Unknown IO ID 45"} 
[2026-08-21 11:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546793216001,"power":27843,"unknown_78":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3886676824912973824}} 
[2026-08-21 11:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":159295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:33:40] local.INFO: GPS data processed {"connection_id":159295,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:33:40] local.INFO: Acknowledgment sent {"connection_id":159295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:34:00] local.INFO: TCP Data received {"connection_id":159296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:00] local.INFO: Processing buffer {"connection_id":159296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:00] local.INFO: IMEI packet received {"connection_id":159296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":159296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:34:03] local.INFO: TCP Data received {"connection_id":159296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:03] local.INFO: Processing buffer {"connection_id":159296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:03] local.INFO: IMEI packet received {"connection_id":159296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":159296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:34:08] local.INFO: TCP Data received {"connection_id":159296,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:08] local.INFO: Processing buffer {"connection_id":159296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:08] local.INFO: IMEI packet received {"connection_id":159296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":159296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:34:09] local.INFO: TCP Data received {"connection_id":159296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ea1fa0012dca1640052e4708001c009a2d..."} 
[2026-08-21 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ea1fa0012dca1640052e4708001c009a2d..."} 
[2026-08-21 11:34:09] local.INFO: Processing buffer {"connection_id":159296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ea1fa0012dca1640052e4708001c009a2d..."} 
[2026-08-21 11:34:09] local.INFO: Packet analysis {"connection_id":159296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:34:09] local.INFO: Extracted packet for processing {"connection_id":159296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":768218688,"raw_latitude":86918920,"longitude_deg":76.8218688,"latitude_deg":8.691892,"altitude":28,"angle":154,"satellites":45,"speed":41,"hex_longitude":"2dca1640","hex_latitude":"052e4708","is_valid_coordinates":true} 
[2026-08-21 11:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546793216001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388102676614742016,"note":"Value kept but may cause issues"} 
[2026-08-21 11:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3886676824912973824,"note":"Value kept but may cause issues"} 
[2026-08-21 11:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787292164000,"timestamp_ms":1787292164000,"timestamp_seconds":1787292164,"priority":1,"record_length":96,"hex_timestamp":"000001a022ea1fa0"} 
[2026-08-21 11:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11: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-08-21 11:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 11:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:34: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-08-21 11:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546793216001,"66":27887,"78":206,"80":36352,"24":41,"16":388102676614742016,"45":-3886676824912973824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-08-21 11:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546793216001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388102676614742016,"km_value":388102676614742.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3886676824912973824,"description":"Unknown IO ID 45"} 
[2026-08-21 11:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546793216001,"power":27887,"unknown_78":206,"unknown_80":36352,"ignition":41,"odometer":null,"unknown_45":-3886676824912973824}} 
[2026-08-21 11:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":159296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:34:09] local.INFO: GPS data processed {"connection_id":159296,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:34:09] local.INFO: Acknowledgment sent {"connection_id":159296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:34:40] local.INFO: TCP Data received {"connection_id":159296,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ea46b0012dca2400052e26b0001f009a2d..."} 
[2026-08-21 11:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ea46b0012dca2400052e26b0001f009a2d..."} 
[2026-08-21 11:34:40] local.INFO: Processing buffer {"connection_id":159296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ea46b0012dca2400052e26b0001f009a2d..."} 
[2026-08-21 11:34:40] local.INFO: Packet analysis {"connection_id":159296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:34:40] local.INFO: Extracted packet for processing {"connection_id":159296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:34:40] local.INFO: GPS Element Parsed {"raw_longitude":768222208,"raw_latitude":86910640,"longitude_deg":76.8222208,"latitude_deg":8.691064,"altitude":31,"angle":154,"satellites":45,"speed":25,"hex_longitude":"2dca2400","hex_latitude":"052e26b0","is_valid_coordinates":true} 
[2026-08-21 11:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546793984001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388103114701406208,"note":"Value kept but may cause issues"} 
[2026-08-21 11:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3884847237565052928,"note":"Value kept but may cause issues"} 
[2026-08-21 11:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787292174000,"timestamp_ms":1787292174000,"timestamp_seconds":1787292174,"priority":1,"record_length":96,"hex_timestamp":"000001a022ea46b0"} 
[2026-08-21 11:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 11:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:34: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-08-21 11:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546793984001,"66":27843,"78":206,"80":36352,"24":25,"16":388103114701406208,"45":-3884847237565052928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-08-21 11:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546793984001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:34:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 11:34:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388103114701406208,"km_value":388103114701406.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3884847237565052928,"description":"Unknown IO ID 45"} 
[2026-08-21 11:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546793984001,"power":27843,"unknown_78":206,"unknown_80":36352,"ignition":25,"odometer":null,"unknown_45":-3884847237565052928}} 
[2026-08-21 11:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":159296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:34:40] local.INFO: GPS data processed {"connection_id":159296,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:34:40] local.INFO: Acknowledgment sent {"connection_id":159296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:34:58] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:58] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:34:58] local.INFO: IMEI packet received {"connection_id":161550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":161550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:35:03] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:35:03] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:35:03] local.INFO: IMEI packet received {"connection_id":161550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":161550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:35:04] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ea8530012dca34c0052e07b8002300972d..."} 
[2026-08-21 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ea8530012dca34c0052e07b8002300972d..."} 
[2026-08-21 11:35:04] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ea8530012dca34c0052e07b8002300972d..."} 
[2026-08-21 11:35:04] local.INFO: Packet analysis {"connection_id":161550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:35:04] local.INFO: Extracted packet for processing {"connection_id":161550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:35:04] local.INFO: GPS Element Parsed {"raw_longitude":768226496,"raw_latitude":86902712,"longitude_deg":76.8226496,"latitude_deg":8.6902712,"altitude":35,"angle":151,"satellites":45,"speed":27,"hex_longitude":"2dca34c0","hex_latitude":"052e07b8","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546796544001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388103548493103104,"note":"Value kept but may cause issues"} 
[2026-08-21 11:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3880976956637401088,"note":"Value kept but may cause issues"} 
[2026-08-21 11:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787292190000,"timestamp_ms":1787292190000,"timestamp_seconds":1787292190,"priority":1,"record_length":96,"hex_timestamp":"000001a022ea8530"} 
[2026-08-21 11:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:35: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-08-21 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 11:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:35: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-08-21 11:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546796544001,"66":27832,"78":206,"80":36352,"24":27,"16":388103548493103104,"45":-3880976956637401088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-08-21 11:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546796544001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:35:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 11:35:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388103548493103104,"km_value":388103548493103.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3880976956637401088,"description":"Unknown IO ID 45"} 
[2026-08-21 11:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546796544001,"power":27832,"unknown_78":206,"unknown_80":36352,"ignition":27,"odometer":null,"unknown_45":-3880976956637401088}} 
[2026-08-21 11:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":161550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:35:04] local.INFO: GPS data processed {"connection_id":161550,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:35:04] local.INFO: Acknowledgment sent {"connection_id":161550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:35:35] local.INFO: TCP Data received {"connection_id":161550,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022eab410012dca4680052de600002600952d..."} 
[2026-08-21 11:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022eab410012dca4680052de600002600952d..."} 
[2026-08-21 11:35:35] local.INFO: Processing buffer {"connection_id":161550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022eab410012dca4680052de600002600952d..."} 
[2026-08-21 11:35:35] local.INFO: Packet analysis {"connection_id":161550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:35:35] local.INFO: Extracted packet for processing {"connection_id":161550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:35:35] local.INFO: GPS Element Parsed {"raw_longitude":768231040,"raw_latitude":86894080,"longitude_deg":76.823104,"latitude_deg":8.689408,"altitude":38,"angle":149,"satellites":45,"speed":37,"hex_longitude":"2dca4680","hex_latitude":"052de600","is_valid_coordinates":true} 
[2026-08-21 11:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546800640001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388104020939505664,"note":"Value kept but may cause issues"} 
[2026-08-21 11:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3876262250779527168,"note":"Value kept but may cause issues"} 
[2026-08-21 11:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787292202000,"timestamp_ms":1787292202000,"timestamp_seconds":1787292202,"priority":1,"record_length":96,"hex_timestamp":"000001a022eab410"} 
[2026-08-21 11:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:35: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-08-21 11:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 11:35:35] 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-08-21 11:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546800640001,"66":27865,"78":206,"80":36352,"24":37,"16":388104020939505664,"45":-3876262250779527168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,80,24,16,45]} 
[2026-08-21 11:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546800640001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:35:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 11:35:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388104020939505664,"km_value":388104020939505.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3876262250779527168,"description":"Unknown IO ID 45"} 
[2026-08-21 11:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546800640001,"power":27865,"unknown_78":206,"unknown_80":36352,"ignition":37,"odometer":null,"unknown_45":-3876262250779527168}} 
[2026-08-21 11:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":161550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:35:35] local.INFO: GPS data processed {"connection_id":161550,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:35:35] local.INFO: Acknowledgment sent {"connection_id":161550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:35:58] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:35:58] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:35:58] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:36:03] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:03] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:03] local.INFO: IMEI packet received {"connection_id":160195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":160195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:36:03] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022eadb20012dca5c80052dc8c8002900892e..."} 
[2026-08-21 11:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022eadb20012dca5c80052dc8c8002900892e..."} 
[2026-08-21 11:36:03] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022eadb20012dca5c80052dc8c8002900892e..."} 
[2026-08-21 11:36:03] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:36:03] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ea"} 
[2026-08-21 11:36:03] local.INFO: GPS Element Parsed {"raw_longitude":768236672,"raw_latitude":86886600,"longitude_deg":76.8236672,"latitude_deg":8.68866,"altitude":41,"angle":137,"satellites":46,"speed":35,"hex_longitude":"2dca5c80","hex_latitude":"052dc8c8","is_valid_coordinates":true} 
[2026-08-21 11:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546803712001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388104476206039040,"note":"Value kept but may cause issues"} 
[2026-08-21 11:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3871266069945122816,"note":"Value kept but may cause issues"} 
[2026-08-21 11:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787292212000,"timestamp_ms":1787292212000,"timestamp_seconds":1787292212,"priority":1,"record_length":96,"hex_timestamp":"000001a022eadb20"} 
[2026-08-21 11:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11: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-08-21 11: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":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:36:03] 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-08-21 11:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11: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-08-21 11:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546803712001,"66":27767,"229":206,"80":36352,"24":35,"16":388104476206039040,"45":-3871266069945122816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 11:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546803712001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388104476206039040,"km_value":388104476206039.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3871266069945122816,"description":"Unknown IO ID 45"} 
[2026-08-21 11:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546803712001,"power":27767,"unknown_229":206,"unknown_80":36352,"ignition":35,"odometer":null,"unknown_45":-3871266069945122816}} 
[2026-08-21 11:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:36:03] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:36:03] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:36:40] local.INFO: TCP Data received {"connection_id":160195,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ecf248012dcaa0c0052c4e10001c00922c..."} 
[2026-08-21 11:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ecf248012dcaa0c0052c4e10001c00922c..."} 
[2026-08-21 11:36:40] local.INFO: Processing buffer {"connection_id":160195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ecf248012dcaa0c0052c4e10001c00922c..."} 
[2026-08-21 11:36:40] local.INFO: Packet analysis {"connection_id":160195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ec"} 
[2026-08-21 11:36:40] local.INFO: Extracted packet for processing {"connection_id":160195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ec"} 
[2026-08-21 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":768254144,"raw_latitude":86789648,"longitude_deg":76.8254144,"latitude_deg":8.6789648,"altitude":28,"angle":146,"satellites":44,"speed":28,"hex_longitude":"2dcaa0c0","hex_latitude":"052c4e10","is_valid_coordinates":true} 
[2026-08-21 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546838528001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388109376763723776,"note":"Value kept but may cause issues"} 
[2026-08-21 11:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3850507290437300224,"note":"Value kept but may cause issues"} 
[2026-08-21 11:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787292349000,"timestamp_ms":1787292349000,"timestamp_seconds":1787292349,"priority":1,"record_length":96,"hex_timestamp":"000001a022ecf248"} 
[2026-08-21 11:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:36: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-08-21 11:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546838528001,"66":27930,"161":206,"80":36352,"24":28,"16":388109376763723776,"45":-3850507290437300224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546838528001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:36:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:36:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388109376763723776,"km_value":388109376763723.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3850507290437300224,"description":"Unknown IO ID 45"} 
[2026-08-21 11:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546838528001,"power":27930,"unknown_161":206,"unknown_80":36352,"ignition":28,"odometer":null,"unknown_45":-3850507290437300224}} 
[2026-08-21 11:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":160195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:36:40] local.INFO: GPS data processed {"connection_id":160195,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:36:40] local.INFO: Acknowledgment sent {"connection_id":160195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:36:58] local.INFO: TCP Data received {"connection_id":159297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:58] local.INFO: Processing buffer {"connection_id":159297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:58] local.INFO: IMEI packet received {"connection_id":159297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":159297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:36:59] local.INFO: TCP Data received {"connection_id":159297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:59] local.INFO: Processing buffer {"connection_id":159297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:36:59] local.INFO: IMEI packet received {"connection_id":159297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":159297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:37:03] local.INFO: TCP Data received {"connection_id":159297,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:03] local.INFO: Processing buffer {"connection_id":159297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:03] local.INFO: IMEI packet received {"connection_id":159297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":159297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:37:04] local.INFO: TCP Data received {"connection_id":159297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ecf248012dcaa0c0052c4e10001c00922c..."} 
[2026-08-21 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ecf248012dcaa0c0052c4e10001c00922c..."} 
[2026-08-21 11:37:04] local.INFO: Processing buffer {"connection_id":159297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ecf248012dcaa0c0052c4e10001c00922c..."} 
[2026-08-21 11:37:04] local.INFO: Packet analysis {"connection_id":159297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ec"} 
[2026-08-21 11:37:04] local.INFO: Extracted packet for processing {"connection_id":159297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ec"} 
[2026-08-21 11:37:04] local.INFO: GPS Element Parsed {"raw_longitude":768254144,"raw_latitude":86789648,"longitude_deg":76.8254144,"latitude_deg":8.6789648,"altitude":28,"angle":146,"satellites":44,"speed":28,"hex_longitude":"2dcaa0c0","hex_latitude":"052c4e10","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546841344001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388109376763723776,"note":"Value kept but may cause issues"} 
[2026-08-21 11:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3845862953323720704,"note":"Value kept but may cause issues"} 
[2026-08-21 11:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787292349000,"timestamp_ms":1787292349000,"timestamp_seconds":1787292349,"priority":1,"record_length":96,"hex_timestamp":"000001a022ecf248"} 
[2026-08-21 11:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:37: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-08-21 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 11:37: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-08-21 11: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-08-21 11:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:37: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-08-21 11:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546841344001,"66":27930,"161":206,"80":36352,"24":28,"16":388109376763723776,"45":-3845862953323720704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546841344001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:37:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:37:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388109376763723776,"km_value":388109376763723.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3845862953323720704,"description":"Unknown IO ID 45"} 
[2026-08-21 11:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546841344001,"power":27930,"unknown_161":206,"unknown_80":36352,"ignition":28,"odometer":null,"unknown_45":-3845862953323720704}} 
[2026-08-21 11:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":159297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:37:04] local.INFO: GPS data processed {"connection_id":159297,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:37:04] local.INFO: Acknowledgment sent {"connection_id":159297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:37:35] local.INFO: TCP Data received {"connection_id":159297,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ed1958012dcab740052c30b0001900892b..."} 
[2026-08-21 11:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ed1958012dcab740052c30b0001900892b..."} 
[2026-08-21 11:37:35] local.INFO: Processing buffer {"connection_id":159297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ed1958012dcab740052c30b0001900892b..."} 
[2026-08-21 11:37:35] local.INFO: Packet analysis {"connection_id":159297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ed"} 
[2026-08-21 11:37:35] local.INFO: Extracted packet for processing {"connection_id":159297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ed"} 
[2026-08-21 11:37:35] local.INFO: GPS Element Parsed {"raw_longitude":768259904,"raw_latitude":86782128,"longitude_deg":76.8259904,"latitude_deg":8.6782128,"altitude":25,"angle":137,"satellites":43,"speed":43,"hex_longitude":"2dcab740","hex_latitude":"052c30b0","is_valid_coordinates":true} 
[2026-08-21 11:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546841344001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388109832030257152,"note":"Value kept but may cause issues"} 
[2026-08-21 11:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3845862953323720704,"note":"Value kept but may cause issues"} 
[2026-08-21 11:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787292359000,"timestamp_ms":1787292359000,"timestamp_seconds":1787292359,"priority":1,"record_length":96,"hex_timestamp":"000001a022ed1958"} 
[2026-08-21 11:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:37: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-08-21 11:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 11:37:35] 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-08-21 11:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546841344001,"66":27919,"161":206,"80":36352,"24":43,"16":388109832030257152,"45":-3845862953323720704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546841344001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:37:35] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388109832030257152,"km_value":388109832030257.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3845862953323720704,"description":"Unknown IO ID 45"} 
[2026-08-21 11:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546841344001,"power":27919,"unknown_161":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3845862953323720704}} 
[2026-08-21 11:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":159297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:37:35] local.INFO: GPS data processed {"connection_id":159297,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:37:35] local.INFO: Acknowledgment sent {"connection_id":159297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:37:58] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:58] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:58] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:37:59] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:59] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:37:59] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:38:03] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:38:03] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:38:03] local.INFO: IMEI packet received {"connection_id":160196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":160196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:38:03] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ed3898012dcad380052c15f0001500832c..."} 
[2026-08-21 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ed3898012dcad380052c15f0001500832c..."} 
[2026-08-21 11:38:03] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ed3898012dcad380052c15f0001500832c..."} 
[2026-08-21 11:38:03] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ed"} 
[2026-08-21 11:38:03] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ed"} 
[2026-08-21 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":768267136,"raw_latitude":86775280,"longitude_deg":76.8267136,"latitude_deg":8.677528,"altitude":21,"angle":131,"satellites":44,"speed":54,"hex_longitude":"2dcad380","hex_latitude":"052c15f0","is_valid_coordinates":true} 
[2026-08-21 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546843904001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388110313066594304,"note":"Value kept but may cause issues"} 
[2026-08-21 11:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3839529766349656064,"note":"Value kept but may cause issues"} 
[2026-08-21 11:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787292367000,"timestamp_ms":1787292367000,"timestamp_seconds":1787292367,"priority":1,"record_length":96,"hex_timestamp":"000001a022ed3898"} 
[2026-08-21 11:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:38: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-08-21 11:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546843904001,"66":27843,"161":206,"80":36352,"24":54,"16":388110313066594304,"45":-3839529766349656064},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546843904001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:38:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388110313066594304,"km_value":388110313066594.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3839529766349656064,"description":"Unknown IO ID 45"} 
[2026-08-21 11:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546843904001,"power":27843,"unknown_161":206,"unknown_80":36352,"ignition":54,"odometer":null,"unknown_45":-3839529766349656064}} 
[2026-08-21 11:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:38:03] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:38:03] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:38:36] local.INFO: TCP Data received {"connection_id":160196,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ee9828012dcbf000052b5f28002b008c2f..."} 
[2026-08-21 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ee9828012dcbf000052b5f28002b008c2f..."} 
[2026-08-21 11:38:36] local.INFO: Processing buffer {"connection_id":160196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ee9828012dcbf000052b5f28002b008c2f..."} 
[2026-08-21 11:38:36] local.INFO: Packet analysis {"connection_id":160196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ee"} 
[2026-08-21 11:38:36] local.INFO: Extracted packet for processing {"connection_id":160196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ee"} 
[2026-08-21 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":768339968,"raw_latitude":86728488,"longitude_deg":76.8339968,"latitude_deg":8.6728488,"altitude":43,"angle":140,"satellites":47,"speed":36,"hex_longitude":"2dcbf000","hex_latitude":"052b5f28","is_valid_coordinates":true} 
[2026-08-21 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546867200001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388114530724478976,"note":"Value kept but may cause issues"} 
[2026-08-21 11:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3756142804511731712,"note":"Value kept but may cause issues"} 
[2026-08-21 11:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787292457000,"timestamp_ms":1787292457000,"timestamp_seconds":1787292457,"priority":1,"record_length":96,"hex_timestamp":"000001a022ee9828"} 
[2026-08-21 11:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 11:38:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:38: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-08-21 11:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546867200001,"66":27974,"161":206,"80":36352,"24":36,"16":388114530724478976,"45":-3756142804511731712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546867200001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:38:36] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:38:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388114530724478976,"km_value":388114530724479.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3756142804511731712,"description":"Unknown IO ID 45"} 
[2026-08-21 11:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546867200001,"power":27974,"unknown_161":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3756142804511731712}} 
[2026-08-21 11:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":160196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:38:36] local.INFO: GPS data processed {"connection_id":160196,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:38:36] local.INFO: Acknowledgment sent {"connection_id":160196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:38:58] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:38:58] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:38:58] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:39:03] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:39:03] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:39:03] local.INFO: IMEI packet received {"connection_id":159003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":159003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:39:04] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022eeb768012dcc00c0052b4638002c00972e..."} 
[2026-08-21 11:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022eeb768012dcc00c0052b4638002c00972e..."} 
[2026-08-21 11:39:04] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022eeb768012dcc00c0052b4638002c00972e..."} 
[2026-08-21 11:39:04] local.INFO: Packet analysis {"connection_id":159003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ee"} 
[2026-08-21 11:39:04] local.INFO: Extracted packet for processing {"connection_id":159003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ee"} 
[2026-08-21 11:39:04] local.INFO: GPS Element Parsed {"raw_longitude":768344256,"raw_latitude":86722104,"longitude_deg":76.8344256,"latitude_deg":8.6722104,"altitude":44,"angle":151,"satellites":46,"speed":40,"hex_longitude":"2dcc00c0","hex_latitude":"052b4638","is_valid_coordinates":true} 
[2026-08-21 11:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546868992001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388114900091666432,"note":"Value kept but may cause issues"} 
[2026-08-21 11:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3751498467397130240,"note":"Value kept but may cause issues"} 
[2026-08-21 11:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787292465000,"timestamp_ms":1787292465000,"timestamp_seconds":1787292465,"priority":1,"record_length":96,"hex_timestamp":"000001a022eeb768"} 
[2026-08-21 11:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11: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-08-21 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 11:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11: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-08-21 11:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546868992001,"66":27908,"161":206,"80":36352,"24":40,"16":388114900091666432,"45":-3751498467397130240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546868992001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:39:04] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:39:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388114900091666432,"km_value":388114900091666.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3751498467397130240,"description":"Unknown IO ID 45"} 
[2026-08-21 11:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546868992001,"power":27908,"unknown_161":206,"unknown_80":36352,"ignition":40,"odometer":null,"unknown_45":-3751498467397130240}} 
[2026-08-21 11:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":159003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:39:04] local.INFO: GPS data processed {"connection_id":159003,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:39:04] local.INFO: Acknowledgment sent {"connection_id":159003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:39:37] local.INFO: TCP Data received {"connection_id":159003,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022eeda90012dcc0fc0052b24c0002c009e30..."} 
[2026-08-21 11:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022eeda90012dcc0fc0052b24c0002c009e30..."} 
[2026-08-21 11:39:37] local.INFO: Processing buffer {"connection_id":159003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022eeda90012dcc0fc0052b24c0002c009e30..."} 
[2026-08-21 11:39:37] local.INFO: Packet analysis {"connection_id":159003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ee"} 
[2026-08-21 11:39:37] local.INFO: Extracted packet for processing {"connection_id":159003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ee"} 
[2026-08-21 11:39:37] local.INFO: GPS Element Parsed {"raw_longitude":768348096,"raw_latitude":86713536,"longitude_deg":76.8348096,"latitude_deg":8.6713536,"altitude":44,"angle":158,"satellites":48,"speed":40,"hex_longitude":"2dcc0fc0","hex_latitude":"052b24c0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546871040001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388115355358199808,"note":"Value kept but may cause issues"} 
[2026-08-21 11:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3746783761538861056,"note":"Value kept but may cause issues"} 
[2026-08-21 11:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787292474000,"timestamp_ms":1787292474000,"timestamp_seconds":1787292474,"priority":1,"record_length":96,"hex_timestamp":"000001a022eeda90"} 
[2026-08-21 11:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:39: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-08-21 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 11:39:37] 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-08-21 11: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-08-21 11:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546871040001,"66":27876,"161":206,"80":36352,"24":40,"16":388115355358199808,"45":-3746783761538861056},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546871040001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:39:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:39:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388115355358199808,"km_value":388115355358199.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3746783761538861056,"description":"Unknown IO ID 45"} 
[2026-08-21 11:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546871040001,"power":27876,"unknown_161":206,"unknown_80":36352,"ignition":40,"odometer":null,"unknown_45":-3746783761538861056}} 
[2026-08-21 11:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":159003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:39:37] local.INFO: GPS data processed {"connection_id":159003,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:39:37] local.INFO: Acknowledgment sent {"connection_id":159003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:40:03] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:03] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:03] local.INFO: IMEI packet received {"connection_id":159298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":159298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:40:08] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:08] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:08] local.INFO: IMEI packet received {"connection_id":159298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":159298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:40:09] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ef0d58012dcc1c00052b0700002d009330..."} 
[2026-08-21 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ef0d58012dcc1c00052b0700002d009330..."} 
[2026-08-21 11:40:09] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ef0d58012dcc1c00052b0700002d009330..."} 
[2026-08-21 11:40:09] local.INFO: Packet analysis {"connection_id":159298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:40:09] local.INFO: Extracted packet for processing {"connection_id":159298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":768351232,"raw_latitude":86705920,"longitude_deg":76.8351232,"latitude_deg":8.670592,"altitude":45,"angle":147,"satellites":48,"speed":12,"hex_longitude":"2dcc1c00","hex_latitude":"052b0700","is_valid_coordinates":true} 
[2026-08-21 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546873344001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388115754790158336,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3742561636890394624,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787292487000,"timestamp_ms":1787292487000,"timestamp_seconds":1787292487,"priority":1,"record_length":96,"hex_timestamp":"000001a022ef0d58"} 
[2026-08-21 11:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:40: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-08-21 11:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546873344001,"66":27908,"161":206,"80":36352,"24":12,"16":388115754790158336,"45":-3742561636890394624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546873344001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388115754790158336,"km_value":388115754790158.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3742561636890394624,"description":"Unknown IO ID 45"} 
[2026-08-21 11:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546873344001,"power":27908,"unknown_161":206,"unknown_80":36352,"ignition":12,"odometer":null,"unknown_45":-3742561636890394624}} 
[2026-08-21 11:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":159298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:40:09] local.INFO: GPS data processed {"connection_id":159298,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:40:09] local.INFO: Acknowledgment sent {"connection_id":159298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:40:09] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ef53a8012dcc2dc0052ae660002b009c2f..."} 
[2026-08-21 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ef53a8012dcc2dc0052ae660002b009c2f..."} 
[2026-08-21 11:40:09] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ef53a8012dcc2dc0052ae660002b009c2f..."} 
[2026-08-21 11:40:09] local.INFO: Packet analysis {"connection_id":159298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:40:09] local.INFO: Extracted packet for processing {"connection_id":159298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":768355776,"raw_latitude":86697568,"longitude_deg":76.8355776,"latitude_deg":8.6697568,"altitude":43,"angle":156,"satellites":47,"speed":35,"hex_longitude":"2dcc2dc0","hex_latitude":"052ae660","is_valid_coordinates":true} 
[2026-08-21 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546876672001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388116218646626304,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3739113568427638784,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787292505000,"timestamp_ms":1787292505000,"timestamp_seconds":1787292505,"priority":1,"record_length":96,"hex_timestamp":"000001a022ef53a8"} 
[2026-08-21 11:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 11:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546876672001,"66":27800,"225":206,"80":36352,"24":35,"16":388116218646626304,"45":-3739113568427638784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 11:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546876672001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388116218646626304,"km_value":388116218646626.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3739113568427638784,"description":"Unknown IO ID 45"} 
[2026-08-21 11:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546876672001,"power":27800,"unknown_225":206,"unknown_80":36352,"ignition":35,"odometer":null,"unknown_45":-3739113568427638784}} 
[2026-08-21 11:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":159298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:40:09] local.INFO: GPS data processed {"connection_id":159298,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:40:09] local.INFO: Acknowledgment sent {"connection_id":159298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:40:40] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ef76d0012dcc3f80052ac5400028009430..."} 
[2026-08-21 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ef76d0012dcc3f80052ac5400028009430..."} 
[2026-08-21 11:40:40] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ef76d0012dcc3f80052ac5400028009430..."} 
[2026-08-21 11:40:40] local.INFO: Packet analysis {"connection_id":159298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:40:40] local.INFO: Extracted packet for processing {"connection_id":159298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":768360320,"raw_latitude":86689088,"longitude_deg":76.836032,"latitude_deg":8.6689088,"altitude":40,"angle":148,"satellites":48,"speed":48,"hex_longitude":"2dcc3f80","hex_latitude":"052ac540","is_valid_coordinates":true} 
[2026-08-21 11:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546881280001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388116682503094272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3734117387593162752,"note":"Value kept but may cause issues"} 
[2026-08-21 11:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787292514000,"timestamp_ms":1787292514000,"timestamp_seconds":1787292514,"priority":1,"record_length":96,"hex_timestamp":"000001a022ef76d0"} 
[2026-08-21 11:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546881280001,"66":28050,"225":206,"80":36352,"24":48,"16":388116682503094272,"45":-3734117387593162752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 11:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546881280001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:40:40] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 11:40:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388116682503094272,"km_value":388116682503094.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3734117387593162752,"description":"Unknown IO ID 45"} 
[2026-08-21 11:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546881280001,"power":28050,"unknown_225":206,"unknown_80":36352,"ignition":48,"odometer":null,"unknown_45":-3734117387593162752}} 
[2026-08-21 11:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":159298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:40:41] local.INFO: GPS data processed {"connection_id":159298,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:40:41] local.INFO: Acknowledgment sent {"connection_id":159298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:40:58] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:58] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:40:58] local.INFO: IMEI packet received {"connection_id":161551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":161551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:41:01] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:01] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:01] local.INFO: IMEI packet received {"connection_id":161551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":161551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:41:02] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ef9228012dcc53c0052aa7680025008f30..."} 
[2026-08-21 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ef9228012dcc53c0052aa7680025008f30..."} 
[2026-08-21 11:41:02] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ef9228012dcc53c0052aa7680025008f30..."} 
[2026-08-21 11:41:02] local.INFO: Packet analysis {"connection_id":161551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:41:02] local.INFO: Extracted packet for processing {"connection_id":161551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ef"} 
[2026-08-21 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":768365504,"raw_latitude":86681448,"longitude_deg":76.8365504,"latitude_deg":8.6681448,"altitude":37,"angle":143,"satellites":48,"speed":55,"hex_longitude":"2dcc53c0","hex_latitude":"052aa768","is_valid_coordinates":true} 
[2026-08-21 11:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546883584001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388117129179693056,"note":"Value kept but may cause issues"} 
[2026-08-21 11:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3729121206758719488,"note":"Value kept but may cause issues"} 
[2026-08-21 11:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787292521000,"timestamp_ms":1787292521000,"timestamp_seconds":1787292521,"priority":1,"record_length":96,"hex_timestamp":"000001a022ef9228"} 
[2026-08-21 11:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 11:41:02] 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-08-21 11:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546883584001,"66":27908,"225":206,"80":36352,"24":55,"16":388117129179693056,"45":-3729121206758719488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 11:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546883584001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:41:02] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 11:41:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388117129179693056,"km_value":388117129179693.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3729121206758719488,"description":"Unknown IO ID 45"} 
[2026-08-21 11:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546883584001,"power":27908,"unknown_225":206,"unknown_80":36352,"ignition":55,"odometer":null,"unknown_45":-3729121206758719488}} 
[2026-08-21 11:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":161551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:41:02] local.INFO: GPS data processed {"connection_id":161551,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:41:02] local.INFO: Acknowledgment sent {"connection_id":161551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:41:34] local.INFO: TCP Data received {"connection_id":161551,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f13fd8012dccf7c005299bf8001700952f..."} 
[2026-08-21 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f13fd8012dccf7c005299bf8001700952f..."} 
[2026-08-21 11:41:34] local.INFO: Processing buffer {"connection_id":161551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f13fd8012dccf7c005299bf8001700952f..."} 
[2026-08-21 11:41:34] local.INFO: Packet analysis {"connection_id":161551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:41:34] local.INFO: Extracted packet for processing {"connection_id":161551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:41:34] local.INFO: GPS Element Parsed {"raw_longitude":768407488,"raw_latitude":86612984,"longitude_deg":76.8407488,"latitude_deg":8.6612984,"altitude":23,"angle":149,"satellites":47,"speed":22,"hex_longitude":"2dccf7c0","hex_latitude":"05299bf8","is_valid_coordinates":true} 
[2026-08-21 11:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546913280001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388121067664703488,"note":"Value kept but may cause issues"} 
[2026-08-21 11:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3677540917295861760,"note":"Value kept but may cause issues"} 
[2026-08-21 11:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787292631000,"timestamp_ms":1787292631000,"timestamp_seconds":1787292631,"priority":1,"record_length":96,"hex_timestamp":"000001a022f13fd8"} 
[2026-08-21 11:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 11:41:34] 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-08-21 11:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546913280001,"66":27876,"160":206,"80":36352,"24":22,"16":388121067664703488,"45":-3677540917295861760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 11:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546913280001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:41:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 11:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388121067664703488,"km_value":388121067664703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3677540917295861760,"description":"Unknown IO ID 45"} 
[2026-08-21 11:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546913280001,"power":27876,"unknown_160":206,"unknown_80":36352,"ignition":22,"odometer":null,"unknown_45":-3677540917295861760}} 
[2026-08-21 11:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":161551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:41:34] local.INFO: GPS data processed {"connection_id":161551,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:41:34] local.INFO: Acknowledgment sent {"connection_id":161551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:41:58] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:58] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:58] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:41:59] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:59] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:41:59] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:42:03] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:42:03] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:42:03] local.INFO: IMEI packet received {"connection_id":160197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":160197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:42:04] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f143c0012dccf900052999d8001700a02f..."} 
[2026-08-21 11:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f143c0012dccf900052999d8001700a02f..."} 
[2026-08-21 11:42:04] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f143c0012dccf900052999d8001700a02f..."} 
[2026-08-21 11:42:04] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:42:04] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:42:04] local.INFO: GPS Element Parsed {"raw_longitude":768407808,"raw_latitude":86612440,"longitude_deg":76.8407808,"latitude_deg":8.661244,"altitude":23,"angle":160,"satellites":47,"speed":24,"hex_longitude":"2dccf900","hex_latitude":"052999d8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 11:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546913536001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388121097729474560,"note":"Value kept but may cause issues"} 
[2026-08-21 11:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3677259442319263744,"note":"Value kept but may cause issues"} 
[2026-08-21 11:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787292632000,"timestamp_ms":1787292632000,"timestamp_seconds":1787292632,"priority":1,"record_length":96,"hex_timestamp":"000001a022f143c0"} 
[2026-08-21 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-08-21 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-08-21 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:42: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-08-21 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-08-21 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-08-21 11:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:42: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-08-21 11:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546913536001,"66":27876,"160":206,"80":36352,"24":24,"16":388121097729474560,"45":-3677259442319263744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 11:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546913536001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:42:04] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 11:42:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388121097729474560,"km_value":388121097729474.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3677259442319263744,"description":"Unknown IO ID 45"} 
[2026-08-21 11:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546913536001,"power":27876,"unknown_160":206,"unknown_80":36352,"ignition":24,"odometer":null,"unknown_45":-3677259442319263744}} 
[2026-08-21 11:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:42:04] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:42:04] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:42:35] local.INFO: TCP Data received {"connection_id":160197,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f17e58012dcd0200052976b0001b00a92d..."} 
[2026-08-21 11:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f17e58012dcd0200052976b0001b00a92d..."} 
[2026-08-21 11:42:35] local.INFO: Processing buffer {"connection_id":160197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f17e58012dcd0200052976b0001b00a92d..."} 
[2026-08-21 11:42:35] local.INFO: Packet analysis {"connection_id":160197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:42:35] local.INFO: Extracted packet for processing {"connection_id":160197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:42:35] local.INFO: GPS Element Parsed {"raw_longitude":768410112,"raw_latitude":86603440,"longitude_deg":76.8410112,"latitude_deg":8.660344,"altitude":27,"angle":169,"satellites":45,"speed":22,"hex_longitude":"2dcd0200","hex_latitude":"052976b0","is_valid_coordinates":true} 
[2026-08-21 11:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546913792001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388121548701040640,"note":"Value kept but may cause issues"} 
[2026-08-21 11:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3676907598598514688,"note":"Value kept but may cause issues"} 
[2026-08-21 11:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787292647000,"timestamp_ms":1787292647000,"timestamp_seconds":1787292647,"priority":1,"record_length":96,"hex_timestamp":"000001a022f17e58"} 
[2026-08-21 11:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:42: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-08-21 11:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546913792001,"66":27919,"160":206,"80":36352,"24":22,"16":388121548701040640,"45":-3676907598598514688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 11:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546913792001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:42:35] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 11:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388121548701040640,"km_value":388121548701040.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3676907598598514688,"description":"Unknown IO ID 45"} 
[2026-08-21 11:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546913792001,"power":27919,"unknown_160":206,"unknown_80":36352,"ignition":22,"odometer":null,"unknown_45":-3676907598598514688}} 
[2026-08-21 11:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":160197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:42:35] local.INFO: GPS data processed {"connection_id":160197,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:42:35] local.INFO: Acknowledgment sent {"connection_id":160197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:42:58] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:42:58] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:42:58] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:43:03] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:43:03] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:43:03] local.INFO: IMEI packet received {"connection_id":160198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":160198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:43:06] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f1b8f0012dcd074005295370001f00ae2e..."} 
[2026-08-21 11:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f1b8f0012dcd074005295370001f00ae2e..."} 
[2026-08-21 11:43:06] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f1b8f0012dcd074005295370001f00ae2e..."} 
[2026-08-21 11:43:06] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:43:06] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:43:06] local.INFO: GPS Element Parsed {"raw_longitude":768411456,"raw_latitude":86594416,"longitude_deg":76.8411456,"latitude_deg":8.6594416,"altitude":31,"angle":174,"satellites":46,"speed":27,"hex_longitude":"2dcd0740","hex_latitude":"05295370","is_valid_coordinates":true} 
[2026-08-21 11:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546917632001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388121991082672128,"note":"Value kept but may cause issues"} 
[2026-08-21 11:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3674374323810422784,"note":"Value kept but may cause issues"} 
[2026-08-21 11:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787292662000,"timestamp_ms":1787292662000,"timestamp_seconds":1787292662,"priority":1,"record_length":96,"hex_timestamp":"000001a022f1b8f0"} 
[2026-08-21 11:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:43: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-08-21 11:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:43: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-08-21 11:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:43: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-08-21 11:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546917632001,"66":27843,"160":206,"80":36352,"24":27,"16":388121991082672128,"45":-3674374323810422784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 11:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546917632001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:43:06] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 11:43:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388121991082672128,"km_value":388121991082672.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3674374323810422784,"description":"Unknown IO ID 45"} 
[2026-08-21 11:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546917632001,"power":27843,"unknown_160":206,"unknown_80":36352,"ignition":27,"odometer":null,"unknown_45":-3674374323810422784}} 
[2026-08-21 11:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:43:06] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:43:06] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:43:39] local.INFO: TCP Data received {"connection_id":160198,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f1e3e8012dcd088005292da0001e00b52e..."} 
[2026-08-21 11:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f1e3e8012dcd088005292da0001e00b52e..."} 
[2026-08-21 11:43:39] local.INFO: Processing buffer {"connection_id":160198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f1e3e8012dcd088005292da0001e00b52e..."} 
[2026-08-21 11:43:39] local.INFO: Packet analysis {"connection_id":160198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:43:39] local.INFO: Extracted packet for processing {"connection_id":160198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f1"} 
[2026-08-21 11:43:39] local.INFO: GPS Element Parsed {"raw_longitude":768411776,"raw_latitude":86584736,"longitude_deg":76.8411776,"latitude_deg":8.6584736,"altitude":30,"angle":181,"satellites":46,"speed":41,"hex_longitude":"2dcd0880","hex_latitude":"05292da0","is_valid_coordinates":true} 
[2026-08-21 11:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546921472001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388122459234107392,"note":"Value kept but may cause issues"} 
[2026-08-21 11:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3672896580185001984,"note":"Value kept but may cause issues"} 
[2026-08-21 11:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787292673000,"timestamp_ms":1787292673000,"timestamp_seconds":1787292673,"priority":1,"record_length":96,"hex_timestamp":"000001a022f1e3e8"} 
[2026-08-21 11:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 11:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546921472001,"66":27876,"134":206,"80":36352,"24":41,"16":388122459234107392,"45":-3672896580185001984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-08-21 11:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546921472001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:43:39] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-21 11:43:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388122459234107392,"km_value":388122459234107.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3672896580185001984,"description":"Unknown IO ID 45"} 
[2026-08-21 11:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546921472001,"power":27876,"unknown_134":206,"unknown_80":36352,"ignition":41,"odometer":null,"unknown_45":-3672896580185001984}} 
[2026-08-21 11:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":160198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:43:39] local.INFO: GPS data processed {"connection_id":160198,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:43:39] local.INFO: Acknowledgment sent {"connection_id":160198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:43:58] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:43:58] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:43:58] local.INFO: IMEI packet received {"connection_id":161552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":161552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:44:03] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:44:03] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:44:03] local.INFO: IMEI packet received {"connection_id":161552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":161552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:44:04] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f20328012dcd054005290b28001e00bc2e..."} 
[2026-08-21 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f20328012dcd054005290b28001e00bc2e..."} 
[2026-08-21 11:44:04] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f20328012dcd054005290b28001e00bc2e..."} 
[2026-08-21 11:44:04] local.INFO: Packet analysis {"connection_id":161552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f2"} 
[2026-08-21 11:44:04] local.INFO: Extracted packet for processing {"connection_id":161552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f2"} 
[2026-08-21 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":768410944,"raw_latitude":86575912,"longitude_deg":76.8410944,"latitude_deg":8.6575912,"altitude":30,"angle":188,"satellites":46,"speed":46,"hex_longitude":"2dcd0540","hex_latitude":"05290b28","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546924288001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388122888730836992,"note":"Value kept but may cause issues"} 
[2026-08-21 11:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3672544736466591744,"note":"Value kept but may cause issues"} 
[2026-08-21 11:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787292681000,"timestamp_ms":1787292681000,"timestamp_seconds":1787292681,"priority":1,"record_length":96,"hex_timestamp":"000001a022f20328"} 
[2026-08-21 11:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:44: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-08-21 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:44: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-08-21 11: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-08-21 11:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:44: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-08-21 11:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546924288001,"66":27908,"134":206,"80":36352,"24":46,"16":388122888730836992,"45":-3672544736466591744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-08-21 11:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546924288001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388122888730836992,"km_value":388122888730837.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3672544736466591744,"description":"Unknown IO ID 45"} 
[2026-08-21 11:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546924288001,"power":27908,"unknown_134":206,"unknown_80":36352,"ignition":46,"odometer":null,"unknown_45":-3672544736466591744}} 
[2026-08-21 11:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":161552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:44:04] local.INFO: GPS data processed {"connection_id":161552,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:44:04] local.INFO: Acknowledgment sent {"connection_id":161552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:44:35] local.INFO: TCP Data received {"connection_id":161552,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f22268012dccfd800528e650001f00c22c..."} 
[2026-08-21 11:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f22268012dccfd800528e650001f00c22c..."} 
[2026-08-21 11:44:35] local.INFO: Processing buffer {"connection_id":161552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f22268012dccfd800528e650001f00c22c..."} 
[2026-08-21 11:44:35] local.INFO: Packet analysis {"connection_id":161552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f2"} 
[2026-08-21 11:44:35] local.INFO: Extracted packet for processing {"connection_id":161552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f2"} 
[2026-08-21 11:44:35] local.INFO: GPS Element Parsed {"raw_longitude":768408960,"raw_latitude":86566480,"longitude_deg":76.840896,"latitude_deg":8.656648,"altitude":31,"angle":194,"satellites":44,"speed":50,"hex_longitude":"2dccfd80","hex_latitude":"0528e650","is_valid_coordinates":true} 
[2026-08-21 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546926336001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388123356882272256,"note":"Value kept but may cause issues"} 
[2026-08-21 11:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3673459530143160320,"note":"Value kept but may cause issues"} 
[2026-08-21 11:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787292689000,"timestamp_ms":1787292689000,"timestamp_seconds":1787292689,"priority":1,"record_length":96,"hex_timestamp":"000001a022f22268"} 
[2026-08-21 11:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:44: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-08-21 11:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 11:44:35] 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-08-21 11:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546926336001,"66":27930,"134":206,"80":36352,"24":50,"16":388123356882272256,"45":-3673459530143160320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-08-21 11:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546926336001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:44:35] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-21 11:44:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388123356882272256,"km_value":388123356882272.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3673459530143160320,"description":"Unknown IO ID 45"} 
[2026-08-21 11:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546926336001,"power":27930,"unknown_134":206,"unknown_80":36352,"ignition":50,"odometer":null,"unknown_45":-3673459530143160320}} 
[2026-08-21 11:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":161552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:44:35] local.INFO: GPS data processed {"connection_id":161552,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:44:35] local.INFO: Acknowledgment sent {"connection_id":161552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:45:03] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:03] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:03] local.INFO: IMEI packet received {"connection_id":161553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":161553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:45:04] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:04] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:04] local.INFO: IMEI packet received {"connection_id":161553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":161553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:45:05] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f44548012dcd2d800527adf0002d00aa2f..."} 
[2026-08-21 11:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f44548012dcd2d800527adf0002d00aa2f..."} 
[2026-08-21 11:45:05] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f44548012dcd2d800527adf0002d00aa2f..."} 
[2026-08-21 11:45:05] local.INFO: Packet analysis {"connection_id":161553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:45:05] local.INFO: Extracted packet for processing {"connection_id":161553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":768421248,"raw_latitude":86486512,"longitude_deg":76.8421248,"latitude_deg":8.6486512,"altitude":45,"angle":170,"satellites":47,"speed":1,"hex_longitude":"2dcd2d80","hex_latitude":"0527adf0","is_valid_coordinates":true} 
[2026-08-21 11:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546958848001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388127376971661312,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3663185693514643456,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787292829000,"timestamp_ms":1787292829000,"timestamp_seconds":1787292829,"priority":1,"record_length":96,"hex_timestamp":"000001a022f44548"} 
[2026-08-21 11:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 11:45:05] 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-08-21 11:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:45: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-08-21 11:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546958848001,"66":27821,"162":206,"80":36352,"24":1,"16":388127376971661312,"45":-3663185693514643456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 11:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546958848001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:45:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 11:45:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388127376971661312,"km_value":388127376971661.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3663185693514643456,"description":"Unknown IO ID 45"} 
[2026-08-21 11:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546958848001,"power":27821,"unknown_162":206,"unknown_80":36352,"ignition":1,"odometer":null,"unknown_45":-3663185693514643456}} 
[2026-08-21 11:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":161553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:45:05] local.INFO: GPS data processed {"connection_id":161553,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:45:05] local.INFO: Acknowledgment sent {"connection_id":161553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:45:09] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f49750012dcd2f800527a118002d00a72c..."} 
[2026-08-21 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f49750012dcd2f800527a118002d00a72c..."} 
[2026-08-21 11:45:09] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f49750012dcd2f800527a118002d00a72c..."} 
[2026-08-21 11:45:09] local.INFO: Packet analysis {"connection_id":161553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:45:09] local.INFO: Extracted packet for processing {"connection_id":161553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:45:09] local.INFO: GPS Element Parsed {"raw_longitude":768421760,"raw_latitude":86483224,"longitude_deg":76.842176,"latitude_deg":8.6483224,"altitude":45,"angle":167,"satellites":44,"speed":10,"hex_longitude":"2dcd2f80","hex_latitude":"0527a118","is_valid_coordinates":true} 
[2026-08-21 11:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546964224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388127544475385856,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3662130162353442816,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787292850000,"timestamp_ms":1787292850000,"timestamp_seconds":1787292850,"priority":1,"record_length":96,"hex_timestamp":"000001a022f49750"} 
[2026-08-21 11:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 11:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:45: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-08-21 11:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546964224001,"66":27865,"162":206,"80":36352,"24":10,"16":388127544475385856,"45":-3662130162353442816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 11:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546964224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:45:09] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 11:45:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388127544475385856,"km_value":388127544475385.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3662130162353442816,"description":"Unknown IO ID 45"} 
[2026-08-21 11:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546964224001,"power":27865,"unknown_162":206,"unknown_80":36352,"ignition":10,"odometer":null,"unknown_45":-3662130162353442816}} 
[2026-08-21 11:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":161553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:45:09] local.INFO: GPS data processed {"connection_id":161553,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:45:09] local.INFO: Acknowledgment sent {"connection_id":161553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:45:41] local.INFO: TCP Data received {"connection_id":161553,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f4d5d0012dcd374005277d98002e00a62c..."} 
[2026-08-21 11:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f4d5d0012dcd374005277d98002e00a62c..."} 
[2026-08-21 11:45:41] local.INFO: Processing buffer {"connection_id":161553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f4d5d0012dcd374005277d98002e00a62c..."} 
[2026-08-21 11:45:41] local.INFO: Packet analysis {"connection_id":161553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:45:41] local.INFO: Extracted packet for processing {"connection_id":161553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":768423744,"raw_latitude":86474136,"longitude_deg":76.8423744,"latitude_deg":8.6474136,"altitude":46,"angle":166,"satellites":44,"speed":34,"hex_longitude":"2dcd3740","hex_latitude":"05277d98","is_valid_coordinates":true} 
[2026-08-21 11:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546969600001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388127995446951936,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3661567212400863232,"note":"Value kept but may cause issues"} 
[2026-08-21 11:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787292866000,"timestamp_ms":1787292866000,"timestamp_seconds":1787292866,"priority":1,"record_length":96,"hex_timestamp":"000001a022f4d5d0"} 
[2026-08-21 11:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546969600001,"66":27713,"162":206,"80":36352,"24":34,"16":388127995446951936,"45":-3661567212400863232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 11:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546969600001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:45:41] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 11:45:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388127995446951936,"km_value":388127995446951.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3661567212400863232,"description":"Unknown IO ID 45"} 
[2026-08-21 11:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546969600001,"power":27713,"unknown_162":206,"unknown_80":36352,"ignition":34,"odometer":null,"unknown_45":-3661567212400863232}} 
[2026-08-21 11:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":161553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:45:41] local.INFO: GPS data processed {"connection_id":161553,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:45:41] local.INFO: Acknowledgment sent {"connection_id":161553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:45:58] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:58] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:45:58] local.INFO: IMEI packet received {"connection_id":161554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":161554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:46:03] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:03] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:03] local.INFO: IMEI packet received {"connection_id":161554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":161554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:46:06] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f4fce0012dcd410005275a70002d00a32a..."} 
[2026-08-21 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f4fce0012dcd410005275a70002d00a32a..."} 
[2026-08-21 11:46:06] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f4fce0012dcd410005275a70002d00a32a..."} 
[2026-08-21 11:46:06] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:46:06] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f4"} 
[2026-08-21 11:46:06] local.INFO: GPS Element Parsed {"raw_longitude":768426240,"raw_latitude":86465136,"longitude_deg":76.842624,"latitude_deg":8.6465136,"altitude":45,"angle":163,"satellites":42,"speed":37,"hex_longitude":"2dcd4100","hex_latitude":"05275a70","is_valid_coordinates":true} 
[2026-08-21 11:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546973696001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388128446418518016,"note":"Value kept but may cause issues"} 
[2026-08-21 11:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3659385781333682176,"note":"Value kept but may cause issues"} 
[2026-08-21 11:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787292876000,"timestamp_ms":1787292876000,"timestamp_seconds":1787292876,"priority":1,"record_length":96,"hex_timestamp":"000001a022f4fce0"} 
[2026-08-21 11:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:46: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-08-21 11:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 11:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:46: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-08-21 11:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546973696001,"66":27919,"162":206,"80":36352,"24":37,"16":388128446418518016,"45":-3659385781333682176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 11:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546973696001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:46:06] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 11:46:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388128446418518016,"km_value":388128446418518.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3659385781333682176,"description":"Unknown IO ID 45"} 
[2026-08-21 11:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546973696001,"power":27919,"unknown_162":206,"unknown_80":36352,"ignition":37,"odometer":null,"unknown_45":-3659385781333682176}} 
[2026-08-21 11:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:46:06] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:46:06] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:46:40] local.INFO: TCP Data received {"connection_id":161554,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f523f0012dcd4c40052737c8002b00a22d..."} 
[2026-08-21 11:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f523f0012dcd4c40052737c8002b00a22d..."} 
[2026-08-21 11:46:40] local.INFO: Processing buffer {"connection_id":161554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f523f0012dcd4c40052737c8002b00a22d..."} 
[2026-08-21 11:46:40] local.INFO: Packet analysis {"connection_id":161554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:46:40] local.INFO: Extracted packet for processing {"connection_id":161554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":768429120,"raw_latitude":86456264,"longitude_deg":76.842912,"latitude_deg":8.6456264,"altitude":43,"angle":162,"satellites":45,"speed":33,"hex_longitude":"2dcd4c40","hex_latitude":"052737c8","is_valid_coordinates":true} 
[2026-08-21 11:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546976256001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388128897390084096,"note":"Value kept but may cause issues"} 
[2026-08-21 11:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3656641400313057280,"note":"Value kept but may cause issues"} 
[2026-08-21 11:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787292886000,"timestamp_ms":1787292886000,"timestamp_seconds":1787292886,"priority":1,"record_length":96,"hex_timestamp":"000001a022f523f0"} 
[2026-08-21 11:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:46:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:46:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:46: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-08-21 11:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546976256001,"66":27876,"162":206,"80":36352,"24":33,"16":388128897390084096,"45":-3656641400313057280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 11:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546976256001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:46:40] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 11:46:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388128897390084096,"km_value":388128897390084.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3656641400313057280,"description":"Unknown IO ID 45"} 
[2026-08-21 11:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546976256001,"power":27876,"unknown_162":206,"unknown_80":36352,"ignition":33,"odometer":null,"unknown_45":-3656641400313057280}} 
[2026-08-21 11:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":161554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:46:40] local.INFO: GPS data processed {"connection_id":161554,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:46:40] local.INFO: Acknowledgment sent {"connection_id":161554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:46:58] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:58] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:58] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:46:59] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:59] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:46:59] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:47:03] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:47:03] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:47:03] local.INFO: IMEI packet received {"connection_id":160199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":160199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:47:04] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f552d0012dcd5780052715c0002b00a12c..."} 
[2026-08-21 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f552d0012dcd5780052715c0002b00a12c..."} 
[2026-08-21 11:47:04] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f552d0012dcd5780052715c0002b00a12c..."} 
[2026-08-21 11:47:04] local.INFO: Packet analysis {"connection_id":160199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:47:04] local.INFO: Extracted packet for processing {"connection_id":160199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:47:04] local.INFO: GPS Element Parsed {"raw_longitude":768432000,"raw_latitude":86447552,"longitude_deg":76.8432,"latitude_deg":8.6447552,"altitude":43,"angle":161,"satellites":44,"speed":31,"hex_longitude":"2dcd5780","hex_latitude":"052715c0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546978816001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388129344066682880,"note":"Value kept but may cause issues"} 
[2026-08-21 11:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3653474806827333632,"note":"Value kept but may cause issues"} 
[2026-08-21 11:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787292898000,"timestamp_ms":1787292898000,"timestamp_seconds":1787292898,"priority":1,"record_length":96,"hex_timestamp":"000001a022f552d0"} 
[2026-08-21 11:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:47: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-08-21 11: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-08-21 11:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:47: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-08-21 11:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546978816001,"66":27876,"162":206,"80":36352,"24":31,"16":388129344066682880,"45":-3653474806827333632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 11:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546978816001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388129344066682880,"km_value":388129344066682.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3653474806827333632,"description":"Unknown IO ID 45"} 
[2026-08-21 11:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546978816001,"power":27876,"unknown_162":206,"unknown_80":36352,"ignition":31,"odometer":null,"unknown_45":-3653474806827333632}} 
[2026-08-21 11:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":160199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:47:04] local.INFO: GPS data processed {"connection_id":160199,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:47:04] local.INFO: Acknowledgment sent {"connection_id":160199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:47:35] local.INFO: TCP Data received {"connection_id":160199,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f59538012dcd62800526f358002f00a82d..."} 
[2026-08-21 11:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f59538012dcd62800526f358002f00a82d..."} 
[2026-08-21 11:47:35] local.INFO: Processing buffer {"connection_id":160199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f59538012dcd62800526f358002f00a82d..."} 
[2026-08-21 11:47:35] local.INFO: Packet analysis {"connection_id":160199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:47:35] local.INFO: Extracted packet for processing {"connection_id":160199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":768434816,"raw_latitude":86438744,"longitude_deg":76.8434816,"latitude_deg":8.6438744,"altitude":47,"angle":168,"satellites":45,"speed":21,"hex_longitude":"2dcd6280","hex_latitude":"0526f358","is_valid_coordinates":true} 
[2026-08-21 11:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546981888001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388129790743281664,"note":"Value kept but may cause issues"} 
[2026-08-21 11:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3650308213341569024,"note":"Value kept but may cause issues"} 
[2026-08-21 11:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787292915000,"timestamp_ms":1787292915000,"timestamp_seconds":1787292915,"priority":1,"record_length":96,"hex_timestamp":"000001a022f59538"} 
[2026-08-21 11:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546981888001,"66":27995,"162":206,"80":36352,"24":21,"16":388129790743281664,"45":-3650308213341569024},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 11:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546981888001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:47:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 11:47:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388129790743281664,"km_value":388129790743281.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3650308213341569024,"description":"Unknown IO ID 45"} 
[2026-08-21 11:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546981888001,"power":27995,"unknown_162":206,"unknown_80":36352,"ignition":21,"odometer":null,"unknown_45":-3650308213341569024}} 
[2026-08-21 11:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":160199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:47:35] local.INFO: GPS data processed {"connection_id":160199,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:47:35] local.INFO: Acknowledgment sent {"connection_id":160199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:47:58] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:47:58] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:47:58] local.INFO: IMEI packet received {"connection_id":159299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":159299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:48:03] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:48:03] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:48:03] local.INFO: IMEI packet received {"connection_id":159299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":159299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:48:04] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f5e740012dcd6c800526d2e0003400a22e..."} 
[2026-08-21 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f5e740012dcd6c800526d2e0003400a22e..."} 
[2026-08-21 11:48:04] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f5e740012dcd6c800526d2e0003400a22e..."} 
[2026-08-21 11:48:04] local.INFO: Packet analysis {"connection_id":159299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:48:04] local.INFO: Extracted packet for processing {"connection_id":159299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f5"} 
[2026-08-21 11:48:04] local.INFO: GPS Element Parsed {"raw_longitude":768437376,"raw_latitude":86430432,"longitude_deg":76.8437376,"latitude_deg":8.6430432,"altitude":52,"angle":162,"satellites":46,"speed":6,"hex_longitude":"2dcd6c80","hex_latitude":"0526d2e0","is_valid_coordinates":true} 
[2026-08-21 11:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546986240001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388130215945043968,"note":"Value kept but may cause issues"} 
[2026-08-21 11:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3647211988600006656,"note":"Value kept but may cause issues"} 
[2026-08-21 11:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787292936000,"timestamp_ms":1787292936000,"timestamp_seconds":1787292936,"priority":1,"record_length":96,"hex_timestamp":"000001a022f5e740"} 
[2026-08-21 11:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:48: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-08-21 11:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 11:48: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-08-21 11:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:48: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-08-21 11:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546986240001,"66":27876,"101":206,"80":36352,"24":6,"16":388130215945043968,"45":-3647211988600006656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 11:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546986240001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:48:04] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 11:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388130215945043968,"km_value":388130215945043.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3647211988600006656,"description":"Unknown IO ID 45"} 
[2026-08-21 11:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546986240001,"power":27876,"unknown_101":206,"unknown_80":36352,"ignition":6,"odometer":null,"unknown_45":-3647211988600006656}} 
[2026-08-21 11:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:48:04] local.INFO: GPS data processed {"connection_id":159299,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:48:04] local.INFO: Acknowledgment sent {"connection_id":159299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:48:35] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f63948012dcd70000526c4880034009a2e..."} 
[2026-08-21 11:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f63948012dcd70000526c4880034009a2e..."} 
[2026-08-21 11:48:35] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f63948012dcd70000526c4880034009a2e..."} 
[2026-08-21 11:48:35] local.INFO: Packet analysis {"connection_id":159299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f6"} 
[2026-08-21 11:48:35] local.INFO: Extracted packet for processing {"connection_id":159299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f6"} 
[2026-08-21 11:48:35] local.INFO: GPS Element Parsed {"raw_longitude":768438272,"raw_latitude":86426760,"longitude_deg":76.8438272,"latitude_deg":8.642676,"altitude":52,"angle":154,"satellites":46,"speed":5,"hex_longitude":"2dcd7000","hex_latitude":"0526c488","is_valid_coordinates":true} 
[2026-08-21 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546991616001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388130400628637696,"note":"Value kept but may cause issues"} 
[2026-08-21 11:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3644397238835027968,"note":"Value kept but may cause issues"} 
[2026-08-21 11:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787292957000,"timestamp_ms":1787292957000,"timestamp_seconds":1787292957,"priority":1,"record_length":96,"hex_timestamp":"000001a022f63948"} 
[2026-08-21 11:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:48: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-08-21 11:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546991616001,"66":28028,"101":206,"80":36352,"24":5,"16":388130400628637696,"45":-3644397238835027968},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 11:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546991616001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:48:35] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 11:48:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388130400628637696,"km_value":388130400628637.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3644397238835027968,"description":"Unknown IO ID 45"} 
[2026-08-21 11:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546991616001,"power":28028,"unknown_101":206,"unknown_80":36352,"ignition":5,"odometer":null,"unknown_45":-3644397238835027968}} 
[2026-08-21 11:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":159299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:48:35] local.INFO: GPS data processed {"connection_id":159299,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:48:35] local.INFO: Acknowledgment sent {"connection_id":159299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:48:58] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:48:58] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:48:58] local.INFO: IMEI packet received {"connection_id":159004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":159004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:49:07] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:49:07] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:49:07] local.INFO: IMEI packet received {"connection_id":159004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":159004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:49:08] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f65888012dcd72400526bf90003500a72e..."} 
[2026-08-21 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f65888012dcd72400526bf90003500a72e..."} 
[2026-08-21 11:49:08] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f65888012dcd72400526bf90003500a72e..."} 
[2026-08-21 11:49:08] local.INFO: Packet analysis {"connection_id":159004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f6"} 
[2026-08-21 11:49:08] local.INFO: Extracted packet for processing {"connection_id":159004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f6"} 
[2026-08-21 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":768438848,"raw_latitude":86425488,"longitude_deg":76.8438848,"latitude_deg":8.6425488,"altitude":53,"angle":167,"satellites":46,"speed":10,"hex_longitude":"2dcd7240","hex_latitude":"0526bf90","is_valid_coordinates":true} 
[2026-08-21 11:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457546996992001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388130469348114432,"note":"Value kept but may cause issues"} 
[2026-08-21 11:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3643412076417480704,"note":"Value kept but may cause issues"} 
[2026-08-21 11:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787292965000,"timestamp_ms":1787292965000,"timestamp_seconds":1787292965,"priority":1,"record_length":96,"hex_timestamp":"000001a022f65888"} 
[2026-08-21 11:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 11:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:49: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-08-21 11:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457546996992001,"66":28093,"101":206,"80":36352,"24":10,"16":388130469348114432,"45":-3643412076417480704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 11:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457546996992001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:49:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 11:49:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388130469348114432,"km_value":388130469348114.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3643412076417480704,"description":"Unknown IO ID 45"} 
[2026-08-21 11:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457546996992001,"power":28093,"unknown_101":206,"unknown_80":36352,"ignition":10,"odometer":null,"unknown_45":-3643412076417480704}} 
[2026-08-21 11:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":159004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:49:08] local.INFO: GPS data processed {"connection_id":159004,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:49:08] local.INFO: Acknowledgment sent {"connection_id":159004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:49:39] local.INFO: TCP Data received {"connection_id":159004,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f8ae30012dcde68005254920003700a92d..."} 
[2026-08-21 11:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f8ae30012dcde68005254920003700a92d..."} 
[2026-08-21 11:49:39] local.INFO: Processing buffer {"connection_id":159004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f8ae30012dcde68005254920003700a92d..."} 
[2026-08-21 11:49:39] local.INFO: Packet analysis {"connection_id":159004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f8"} 
[2026-08-21 11:49:39] local.INFO: Extracted packet for processing {"connection_id":159004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f8"} 
[2026-08-21 11:49:39] local.INFO: GPS Element Parsed {"raw_longitude":768468608,"raw_latitude":86329632,"longitude_deg":76.8468608,"latitude_deg":8.6329632,"altitude":55,"angle":169,"satellites":45,"speed":26,"hex_longitude":"2dcde680","hex_latitude":"05254920","is_valid_coordinates":true} 
[2026-08-21 11:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547034368001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388135352725929984,"note":"Value kept but may cause issues"} 
[2026-08-21 11:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3612027616536815616,"note":"Value kept but may cause issues"} 
[2026-08-21 11:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787293118000,"timestamp_ms":1787293118000,"timestamp_seconds":1787293118,"priority":1,"record_length":96,"hex_timestamp":"000001a022f8ae30"} 
[2026-08-21 11:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547034368001,"66":27919,"101":206,"80":36352,"24":26,"16":388135352725929984,"45":-3612027616536815616},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 11:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547034368001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:49:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 11:49:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388135352725929984,"km_value":388135352725930.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3612027616536815616,"description":"Unknown IO ID 45"} 
[2026-08-21 11:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547034368001,"power":27919,"unknown_101":206,"unknown_80":36352,"ignition":26,"odometer":null,"unknown_45":-3612027616536815616}} 
[2026-08-21 11:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":159004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:49:39] local.INFO: GPS data processed {"connection_id":159004,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:49:39] local.INFO: Acknowledgment sent {"connection_id":159004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:49:58] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:49:58] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:49:58] local.INFO: IMEI packet received {"connection_id":160200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":160200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:50:03] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:50:03] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:50:03] local.INFO: IMEI packet received {"connection_id":160200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":160200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:50:04] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f8dd10012dcded8005252628003900a92d..."} 
[2026-08-21 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f8dd10012dcded8005252628003900a92d..."} 
[2026-08-21 11:50:04] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f8dd10012dcded8005252628003900a92d..."} 
[2026-08-21 11:50:04] local.INFO: Packet analysis {"connection_id":160200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f8"} 
[2026-08-21 11:50:04] local.INFO: Extracted packet for processing {"connection_id":160200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f8"} 
[2026-08-21 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":768470400,"raw_latitude":86320680,"longitude_deg":76.84704,"latitude_deg":8.632068,"altitude":57,"angle":169,"satellites":45,"speed":36,"hex_longitude":"2dcded80","hex_latitude":"05252628","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547038208001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388135795107561472,"note":"Value kept but may cause issues"} 
[2026-08-21 11:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3610057291702132736,"note":"Value kept but may cause issues"} 
[2026-08-21 11:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293130000,"timestamp_ms":1787293130000,"timestamp_seconds":1787293130,"priority":1,"record_length":96,"hex_timestamp":"000001a022f8dd10"} 
[2026-08-21 11:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11: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-08-21 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:50: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-08-21 11:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547038208001,"66":27930,"99":206,"80":36352,"24":36,"16":388135795107561472,"45":-3610057291702132736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-08-21 11:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547038208001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:50:04] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 11:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388135795107561472,"km_value":388135795107561.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3610057291702132736,"description":"Unknown IO ID 45"} 
[2026-08-21 11:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547038208001,"power":27930,"unknown_99":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3610057291702132736}} 
[2026-08-21 11:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":160200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:50:04] local.INFO: GPS data processed {"connection_id":160200,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:50:04] local.INFO: Acknowledgment sent {"connection_id":160200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:50:35] local.INFO: TCP Data received {"connection_id":160200,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f90420012dcdf58005250060003800a82c..."} 
[2026-08-21 11:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f90420012dcdf58005250060003800a82c..."} 
[2026-08-21 11:50:35] local.INFO: Processing buffer {"connection_id":160200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f90420012dcdf58005250060003800a82c..."} 
[2026-08-21 11:50:35] local.INFO: Packet analysis {"connection_id":160200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:50:35] local.INFO: Extracted packet for processing {"connection_id":160200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:50:35] local.INFO: GPS Element Parsed {"raw_longitude":768472448,"raw_latitude":86311008,"longitude_deg":76.8472448,"latitude_deg":8.6311008,"altitude":56,"angle":168,"satellites":44,"speed":42,"hex_longitude":"2dcdf580","hex_latitude":"05250060","is_valid_coordinates":true} 
[2026-08-21 11:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547041280001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388136276143898624,"note":"Value kept but may cause issues"} 
[2026-08-21 11:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3608086966867449856,"note":"Value kept but may cause issues"} 
[2026-08-21 11:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787293140000,"timestamp_ms":1787293140000,"timestamp_seconds":1787293140,"priority":1,"record_length":96,"hex_timestamp":"000001a022f90420"} 
[2026-08-21 11:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:50: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-08-21 11:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 11:50:35] 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-08-21 11:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547041280001,"66":27800,"99":206,"80":36352,"24":42,"16":388136276143898624,"45":-3608086966867449856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-08-21 11:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547041280001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:50:35] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 11:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388136276143898624,"km_value":388136276143898.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3608086966867449856,"description":"Unknown IO ID 45"} 
[2026-08-21 11:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547041280001,"power":27800,"unknown_99":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3608086966867449856}} 
[2026-08-21 11:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":160200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:50:35] local.INFO: GPS data processed {"connection_id":160200,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:50:35] local.INFO: Acknowledgment sent {"connection_id":160200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:50:58] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:50:58] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:50:58] local.INFO: IMEI packet received {"connection_id":161555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":161555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:51:03] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:51:03] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:51:03] local.INFO: IMEI packet received {"connection_id":161555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":161555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:51:03] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f92748012dcdfd400524da00003800a72e..."} 
[2026-08-21 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f92748012dcdfd400524da00003800a72e..."} 
[2026-08-21 11:51:03] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f92748012dcdfd400524da00003800a72e..."} 
[2026-08-21 11:51:03] local.INFO: Packet analysis {"connection_id":161555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:51:03] local.INFO: Extracted packet for processing {"connection_id":161555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":768474432,"raw_latitude":86301184,"longitude_deg":76.8474432,"latitude_deg":8.6301184,"altitude":56,"angle":167,"satellites":46,"speed":46,"hex_longitude":"2dcdfd40","hex_latitude":"0524da00","is_valid_coordinates":true} 
[2026-08-21 11:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547043840001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388136761475203072,"note":"Value kept but may cause issues"} 
[2026-08-21 11:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3605835167056240640,"note":"Value kept but may cause issues"} 
[2026-08-21 11:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787293149000,"timestamp_ms":1787293149000,"timestamp_seconds":1787293149,"priority":1,"record_length":96,"hex_timestamp":"000001a022f92748"} 
[2026-08-21 11:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:51:03] 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-08-21 11:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:51: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-08-21 11:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547043840001,"66":27843,"99":206,"80":36352,"24":46,"16":388136761475203072,"45":-3605835167056240640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-08-21 11:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547043840001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:51:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 11:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388136761475203072,"km_value":388136761475203.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3605835167056240640,"description":"Unknown IO ID 45"} 
[2026-08-21 11:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547043840001,"power":27843,"unknown_99":206,"unknown_80":36352,"ignition":46,"odometer":null,"unknown_45":-3605835167056240640}} 
[2026-08-21 11:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":161555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:51:03] local.INFO: GPS data processed {"connection_id":161555,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:51:03] local.INFO: Acknowledgment sent {"connection_id":161555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:51:34] local.INFO: TCP Data received {"connection_id":161555,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f94688012dce05400524b790003600a62d..."} 
[2026-08-21 11:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f94688012dce05400524b790003600a62d..."} 
[2026-08-21 11:51:34] local.INFO: Processing buffer {"connection_id":161555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f94688012dce05400524b790003600a62d..."} 
[2026-08-21 11:51:34] local.INFO: Packet analysis {"connection_id":161555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:51:34] local.INFO: Extracted packet for processing {"connection_id":161555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:51:34] local.INFO: GPS Element Parsed {"raw_longitude":768476480,"raw_latitude":86292368,"longitude_deg":76.847648,"latitude_deg":8.6292368,"altitude":54,"angle":166,"satellites":45,"speed":42,"hex_longitude":"2dce0540","hex_latitude":"0524b790","is_valid_coordinates":true} 
[2026-08-21 11:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547046144001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388137199561867264,"note":"Value kept but may cause issues"} 
[2026-08-21 11:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3603653735989248000,"note":"Value kept but may cause issues"} 
[2026-08-21 11:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787293157000,"timestamp_ms":1787293157000,"timestamp_seconds":1787293157,"priority":1,"record_length":96,"hex_timestamp":"000001a022f94688"} 
[2026-08-21 11:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 11:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547046144001,"66":27767,"99":206,"80":36352,"24":42,"16":388137199561867264,"45":-3603653735989248000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-08-21 11:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547046144001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:51:34] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 11:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388137199561867264,"km_value":388137199561867.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3603653735989248000,"description":"Unknown IO ID 45"} 
[2026-08-21 11:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547046144001,"power":27767,"unknown_99":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3603653735989248000}} 
[2026-08-21 11:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":161555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:51:34] local.INFO: GPS data processed {"connection_id":161555,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:51:34] local.INFO: Acknowledgment sent {"connection_id":161555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:51:58] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:51:58] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:51:58] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:52:01] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:52:01] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:52:01] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:52:03] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:52:03] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:52:03] local.INFO: IMEI packet received {"connection_id":160201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":160201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:52:04] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022f96d98012dce0e40052495a0003400a428..."} 
[2026-08-21 11:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022f96d98012dce0e40052495a0003400a428..."} 
[2026-08-21 11:52:04] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022f96d98012dce0e40052495a0003400a428..."} 
[2026-08-21 11:52:04] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:52:04] local.INFO: Extracted packet for processing {"connection_id":160201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022f9"} 
[2026-08-21 11:52:04] local.INFO: GPS Element Parsed {"raw_longitude":768478784,"raw_latitude":86283680,"longitude_deg":76.8478784,"latitude_deg":8.628368,"altitude":52,"angle":164,"satellites":40,"speed":36,"hex_longitude":"2dce0e40","hex_latitude":"052495a0","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547048192001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388137633353564160,"note":"Value kept but may cause issues"} 
[2026-08-21 11:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3601401936177819648,"note":"Value kept but may cause issues"} 
[2026-08-21 11:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293167000,"timestamp_ms":1787293167000,"timestamp_seconds":1787293167,"priority":1,"record_length":96,"hex_timestamp":"000001a022f96d98"} 
[2026-08-21 11:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:52: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-08-21 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11: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-08-21 11:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:52: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-08-21 11:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547048192001,"66":27843,"99":206,"80":36352,"24":36,"16":388137633353564160,"45":-3601401936177819648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,80,24,16,45]} 
[2026-08-21 11:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547048192001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:52:04] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 11:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388137633353564160,"km_value":388137633353564.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3601401936177819648,"description":"Unknown IO ID 45"} 
[2026-08-21 11:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547048192001,"power":27843,"unknown_99":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3601401936177819648}} 
[2026-08-21 11:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":160201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:52:04] local.INFO: GPS data processed {"connection_id":160201,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:52:04] local.INFO: Acknowledgment sent {"connection_id":160201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:52:35] local.INFO: TCP Data received {"connection_id":160201,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fb7908012dce684005230610002100a22e..."} 
[2026-08-21 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fb7908012dce684005230610002100a22e..."} 
[2026-08-21 11:52:35] local.INFO: Processing buffer {"connection_id":160201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fb7908012dce684005230610002100a22e..."} 
[2026-08-21 11:52:35] local.INFO: Packet analysis {"connection_id":160201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:52:35] local.INFO: Extracted packet for processing {"connection_id":160201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":768501824,"raw_latitude":86181392,"longitude_deg":76.8501824,"latitude_deg":8.6181392,"altitude":33,"angle":162,"satellites":46,"speed":55,"hex_longitude":"2dce6840","hex_latitude":"05230610","is_valid_coordinates":true} 
[2026-08-21 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547083520001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388142757249548288,"note":"Value kept but may cause issues"} 
[2026-08-21 11:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3576561769509318656,"note":"Value kept but may cause issues"} 
[2026-08-21 11:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787293301000,"timestamp_ms":1787293301000,"timestamp_seconds":1787293301,"priority":1,"record_length":96,"hex_timestamp":"000001a022fb7908"} 
[2026-08-21 11:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:52: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-08-21 11:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 11:52:35] 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-08-21 11:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547083520001,"66":27800,"190":206,"80":36352,"24":55,"16":388142757249548288,"45":-3576561769509318656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 11:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547083520001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:52:35] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 11:52:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388142757249548288,"km_value":388142757249548.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3576561769509318656,"description":"Unknown IO ID 45"} 
[2026-08-21 11:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547083520001,"power":27800,"unknown_190":206,"unknown_80":36352,"ignition":55,"odometer":null,"unknown_45":-3576561769509318656}} 
[2026-08-21 11:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":160201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:52:35] local.INFO: GPS data processed {"connection_id":160201,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:52:35] local.INFO: Acknowledgment sent {"connection_id":160201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:53:01] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:01] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:01] local.INFO: IMEI packet received {"connection_id":159300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":159300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:53:03] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:03] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:03] local.INFO: IMEI packet received {"connection_id":159300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":159300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:53:08] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:08] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:08] local.INFO: IMEI packet received {"connection_id":159300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":159300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:53:09] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fb9460012dce75400522e1d0001c00972d..."} 
[2026-08-21 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fb9460012dce75400522e1d0001c00972d..."} 
[2026-08-21 11:53:09] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fb9460012dce75400522e1d0001c00972d..."} 
[2026-08-21 11:53:09] local.INFO: Packet analysis {"connection_id":159300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:53:09] local.INFO: Extracted packet for processing {"connection_id":159300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":768505152,"raw_latitude":86172112,"longitude_deg":76.8505152,"latitude_deg":8.6172112,"altitude":28,"angle":151,"satellites":45,"speed":55,"hex_longitude":"2dce7540","hex_latitude":"0522e1d0","is_valid_coordinates":true} 
[2026-08-21 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547085056001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388143233990918144,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3573535913511874560,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787293308000,"timestamp_ms":1787293308000,"timestamp_seconds":1787293308,"priority":1,"record_length":96,"hex_timestamp":"000001a022fb9460"} 
[2026-08-21 11:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 11:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:53: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-08-21 11:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547085056001,"66":28028,"190":206,"80":36352,"24":55,"16":388143233990918144,"45":-3573535913511874560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 11:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547085056001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388143233990918144,"km_value":388143233990918.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3573535913511874560,"description":"Unknown IO ID 45"} 
[2026-08-21 11:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547085056001,"power":28028,"unknown_190":206,"unknown_80":36352,"ignition":55,"odometer":null,"unknown_45":-3573535913511874560}} 
[2026-08-21 11:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":159300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:53:09] local.INFO: GPS data processed {"connection_id":159300,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:53:09] local.INFO: Acknowledgment sent {"connection_id":159300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:53:10] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fbafb8012dce89400522c4c00019008d2c..."} 
[2026-08-21 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fbafb8012dce89400522c4c00019008d2c..."} 
[2026-08-21 11:53:10] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fbafb8012dce89400522c4c00019008d2c..."} 
[2026-08-21 11:53:10] local.INFO: Packet analysis {"connection_id":159300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:53:10] local.INFO: Extracted packet for processing {"connection_id":159300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":768510272,"raw_latitude":86164672,"longitude_deg":76.8510272,"latitude_deg":8.6164672,"altitude":25,"angle":141,"satellites":44,"speed":45,"hex_longitude":"2dce8940","hex_latitude":"0522c4c0","is_valid_coordinates":true} 
[2026-08-21 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547086848001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388143672077582336,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3569876738817011712,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787293315000,"timestamp_ms":1787293315000,"timestamp_seconds":1787293315,"priority":1,"record_length":96,"hex_timestamp":"000001a022fbafb8"} 
[2026-08-21 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 11:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:53: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-08-21 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547086848001,"66":27984,"190":206,"80":36352,"24":45,"16":388143672077582336,"45":-3569876738817011712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547086848001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:53:10] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 11:53:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388143672077582336,"km_value":388143672077582.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3569876738817011712,"description":"Unknown IO ID 45"} 
[2026-08-21 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547086848001,"power":27984,"unknown_190":206,"unknown_80":36352,"ignition":45,"odometer":null,"unknown_45":-3569876738817011712}} 
[2026-08-21 11:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":159300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:53:11] local.INFO: GPS data processed {"connection_id":159300,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:53:11] local.INFO: Acknowledgment sent {"connection_id":159300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:53:42] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fbd6c8012dce9fc00522a890001600902c..."} 
[2026-08-21 11:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fbd6c8012dce9fc00522a890001600902c..."} 
[2026-08-21 11:53:42] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fbd6c8012dce9fc00522a890001600902c..."} 
[2026-08-21 11:53:42] local.INFO: Packet analysis {"connection_id":159300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:53:42] local.INFO: Extracted packet for processing {"connection_id":159300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:53:42] local.INFO: GPS Element Parsed {"raw_longitude":768516032,"raw_latitude":86157456,"longitude_deg":76.8516032,"latitude_deg":8.6157456,"altitude":22,"angle":144,"satellites":44,"speed":37,"hex_longitude":"2dce9fc0","hex_latitude":"0522a890","is_valid_coordinates":true} 
[2026-08-21 11:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547088640001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388144118754181120,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3564247239284703232,"note":"Value kept but may cause issues"} 
[2026-08-21 11:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787293325000,"timestamp_ms":1787293325000,"timestamp_seconds":1787293325,"priority":1,"record_length":96,"hex_timestamp":"000001a022fbd6c8"} 
[2026-08-21 11:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 11:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547088640001,"66":27865,"190":206,"80":36352,"24":37,"16":388144118754181120,"45":-3564247239284703232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 11:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547088640001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:53:42] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 11:53:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388144118754181120,"km_value":388144118754181.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3564247239284703232,"description":"Unknown IO ID 45"} 
[2026-08-21 11:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547088640001,"power":27865,"unknown_190":206,"unknown_80":36352,"ignition":37,"odometer":null,"unknown_45":-3564247239284703232}} 
[2026-08-21 11:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":159300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:53:42] local.INFO: GPS data processed {"connection_id":159300,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:53:42] local.INFO: Acknowledgment sent {"connection_id":159300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:53:59] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:59] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:53:59] local.INFO: IMEI packet received {"connection_id":159005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":159005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:54:03] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:03] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:03] local.INFO: IMEI packet received {"connection_id":159005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":159005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:54:08] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:08] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:08] local.INFO: IMEI packet received {"connection_id":159005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":159005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:54:09] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fbf9f0012dceb64005228b500013008e2d..."} 
[2026-08-21 11:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fbf9f0012dceb64005228b500013008e2d..."} 
[2026-08-21 11:54:09] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fbf9f0012dceb64005228b500013008e2d..."} 
[2026-08-21 11:54:09] local.INFO: Packet analysis {"connection_id":159005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:54:09] local.INFO: Extracted packet for processing {"connection_id":159005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fb"} 
[2026-08-21 11:54:09] local.INFO: GPS Element Parsed {"raw_longitude":768521792,"raw_latitude":86149968,"longitude_deg":76.8521792,"latitude_deg":8.6149968,"altitude":19,"angle":142,"satellites":45,"speed":43,"hex_longitude":"2dceb640","hex_latitude":"05228b50","is_valid_coordinates":true} 
[2026-08-21 11:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547091200001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388144574020714496,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3557914052310560768,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787293334000,"timestamp_ms":1787293334000,"timestamp_seconds":1787293334,"priority":1,"record_length":96,"hex_timestamp":"000001a022fbf9f0"} 
[2026-08-21 11:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:54: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-08-21 11:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547091200001,"66":27887,"190":206,"80":36352,"24":43,"16":388144574020714496,"45":-3557914052310560768},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 11:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547091200001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:54:09] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 11:54:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388144574020714496,"km_value":388144574020714.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3557914052310560768,"description":"Unknown IO ID 45"} 
[2026-08-21 11:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547091200001,"power":27887,"unknown_190":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3557914052310560768}} 
[2026-08-21 11:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":159005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:54:09] local.INFO: GPS data processed {"connection_id":159005,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:54:09] local.INFO: Acknowledgment sent {"connection_id":159005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:10] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fc1d18012dcece8005226e70001000972b..."} 
[2026-08-21 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fc1d18012dcece8005226e70001000972b..."} 
[2026-08-21 11:54:10] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fc1d18012dcece8005226e70001000972b..."} 
[2026-08-21 11:54:10] local.INFO: Packet analysis {"connection_id":159005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fc"} 
[2026-08-21 11:54:10] local.INFO: Extracted packet for processing {"connection_id":159005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fc"} 
[2026-08-21 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":768528000,"raw_latitude":86142576,"longitude_deg":76.8528,"latitude_deg":8.6142576,"altitude":16,"angle":151,"satellites":43,"speed":39,"hex_longitude":"2dcece80","hex_latitude":"05226e70","is_valid_coordinates":true} 
[2026-08-21 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547093504001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388145037877182464,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3551580865336487936,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787293343000,"timestamp_ms":1787293343000,"timestamp_seconds":1787293343,"priority":1,"record_length":96,"hex_timestamp":"000001a022fc1d18"} 
[2026-08-21 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 11:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:54: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-08-21 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547093504001,"66":27832,"190":206,"80":36352,"24":39,"16":388145037877182464,"45":-3551580865336487936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547093504001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388145037877182464,"km_value":388145037877182.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3551580865336487936,"description":"Unknown IO ID 45"} 
[2026-08-21 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547093504001,"power":27832,"unknown_190":206,"unknown_80":36352,"ignition":39,"odometer":null,"unknown_45":-3551580865336487936}} 
[2026-08-21 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":159005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:54:10] local.INFO: GPS data processed {"connection_id":159005,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:54:10] local.INFO: Acknowledgment sent {"connection_id":159005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:10] local.INFO: TCP Data received {"connection_id":159006,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159006,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:10] local.INFO: Processing buffer {"connection_id":159006,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:10] local.INFO: Packet analysis {"connection_id":159006,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:10] local.INFO: Extracted packet for processing {"connection_id":159006,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 11:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-21 11:54:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:10] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-21 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-21 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-21 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159006,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159006,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159006,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":159006,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 11:54:10] local.INFO: GPS data processed {"connection_id":159006,"processed":0,"errors":0,"total":1} 
[2026-08-21 11:54:10] local.INFO: Acknowledgment sent {"connection_id":159006,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:13] local.INFO: TCP Data received {"connection_id":161556,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161556,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:13] local.INFO: Processing buffer {"connection_id":161556,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:13] local.INFO: Packet analysis {"connection_id":161556,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:13] local.INFO: Extracted packet for processing {"connection_id":161556,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54: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-08-21 11:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-21 11:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:13] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-21 11:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-21 11:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-21 11:54:13] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161556,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 11:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161556,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161556,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":161556,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 11:54:13] local.INFO: GPS data processed {"connection_id":161556,"processed":0,"errors":0,"total":1} 
[2026-08-21 11:54:13] local.INFO: Acknowledgment sent {"connection_id":161556,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:16] local.INFO: TCP Data received {"connection_id":160202,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160202,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:16] local.INFO: Processing buffer {"connection_id":160202,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:16] local.INFO: Packet analysis {"connection_id":160202,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:16] local.INFO: Extracted packet for processing {"connection_id":160202,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54: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-08-21 11:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-21 11:54:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:16] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-21 11:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-21 11:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-21 11:54:16] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160202,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 11:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160202,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160202,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:54:16] local.INFO: DEBUG: GPS processor result {"connection_id":160202,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 11:54:16] local.INFO: GPS data processed {"connection_id":160202,"processed":0,"errors":0,"total":1} 
[2026-08-21 11:54:16] local.INFO: Acknowledgment sent {"connection_id":160202,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:21] local.INFO: TCP Data received {"connection_id":159007,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159007,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:21] local.INFO: Processing buffer {"connection_id":159007,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:21] local.INFO: Packet analysis {"connection_id":159007,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:21] local.INFO: Extracted packet for processing {"connection_id":159007,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 11:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-21 11:54:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:21] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-21 11:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-21 11:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-21 11:54:21] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159007,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 11:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159007,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159007,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":159007,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 11:54:21] local.INFO: GPS data processed {"connection_id":159007,"processed":0,"errors":0,"total":1} 
[2026-08-21 11:54:21] local.INFO: Acknowledgment sent {"connection_id":159007,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:25] local.INFO: TCP Data received {"connection_id":159008,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159008,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:25] local.INFO: Processing buffer {"connection_id":159008,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-08-21 11:54:25] local.INFO: Packet analysis {"connection_id":159008,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:25] local.INFO: Extracted packet for processing {"connection_id":159008,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-08-21 11:54:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 11:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-08-21 11:54:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:25] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-08-21 11:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-08-21 11:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-08-21 11:54:25] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159008,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 11:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159008,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159008,"device_imei":null,"avl_records_count":1} 
[2026-08-21 11:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":159008,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 11:54:25] local.INFO: GPS data processed {"connection_id":159008,"processed":0,"errors":0,"total":1} 
[2026-08-21 11:54:25] local.INFO: Acknowledgment sent {"connection_id":159008,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:41] local.INFO: TCP Data received {"connection_id":159005,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fc4040012dcee38005225128000f008d2c..."} 
[2026-08-21 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fc4040012dcee38005225128000f008d2c..."} 
[2026-08-21 11:54:41] local.INFO: Processing buffer {"connection_id":159005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fc4040012dcee38005225128000f008d2c..."} 
[2026-08-21 11:54:41] local.INFO: Packet analysis {"connection_id":159005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fc"} 
[2026-08-21 11:54:41] local.INFO: Extracted packet for processing {"connection_id":159005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fc"} 
[2026-08-21 11:54:41] local.INFO: GPS Element Parsed {"raw_longitude":768533376,"raw_latitude":86135080,"longitude_deg":76.8533376,"latitude_deg":8.613508,"altitude":15,"angle":141,"satellites":44,"speed":42,"hex_longitude":"2dcee380","hex_latitude":"05225128","is_valid_coordinates":true} 
[2026-08-21 11:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547095808001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388145488848748544,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3544755097153146880,"note":"Value kept but may cause issues"} 
[2026-08-21 11:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 11:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787293352000,"timestamp_ms":1787293352000,"timestamp_seconds":1787293352,"priority":1,"record_length":96,"hex_timestamp":"000001a022fc4040"} 
[2026-08-21 11:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 11:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547095808001,"66":27658,"190":206,"80":36352,"24":42,"16":388145488848748544,"45":-3544755097153146880},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 11:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547095808001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 11:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388145488848748544,"km_value":388145488848748.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3544755097153146880,"description":"Unknown IO ID 45"} 
[2026-08-21 11:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547095808001,"power":27658,"unknown_190":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3544755097153146880}} 
[2026-08-21 11:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":159005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:54:41] local.INFO: GPS data processed {"connection_id":159005,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:54:41] local.INFO: Acknowledgment sent {"connection_id":159005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:54:54] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:54] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:54] local.INFO: IMEI packet received {"connection_id":161557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":161557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:54:58] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:58] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:54:58] local.INFO: IMEI packet received {"connection_id":161557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":161557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:55:03] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:55:03] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:55:03] local.INFO: IMEI packet received {"connection_id":161557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":161557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:55:04] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fdceb0012dcf730005213b60002200b62d..."} 
[2026-08-21 11:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fdceb0012dcf730005213b60002200b62d..."} 
[2026-08-21 11:55:04] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fdceb0012dcf730005213b60002200b62d..."} 
[2026-08-21 11:55:04] local.INFO: Packet analysis {"connection_id":161557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fd"} 
[2026-08-21 11:55:04] local.INFO: Extracted packet for processing {"connection_id":161557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fd"} 
[2026-08-21 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":768570112,"raw_latitude":86063968,"longitude_deg":76.8570112,"latitude_deg":8.6063968,"altitude":34,"angle":182,"satellites":45,"speed":28,"hex_longitude":"2dcf7300","hex_latitude":"05213b60","is_valid_coordinates":true} 
[2026-08-21 11: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-08-21 11:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547123200001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388149530412974080,"note":"Value kept but may cause issues"} 
[2026-08-21 11:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3499085782201337856,"note":"Value kept but may cause issues"} 
[2026-08-21 11:55:04] 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-08-21 11:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293454000,"timestamp_ms":1787293454000,"timestamp_seconds":1787293454,"priority":1,"record_length":96,"hex_timestamp":"000001a022fdceb0"} 
[2026-08-21 11:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11: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":228,"data_length":795,"current_offset":136} 
[2026-08-21 11:55: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-08-21 11: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-08-21 11:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:55: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-08-21 11:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547123200001,"66":27919,"167":206,"80":34816,"24":28,"16":388149530412974080,"45":-3499085782201337856},"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-08-21 11:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547123200001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388149530412974080,"km_value":388149530412974.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3499085782201337856,"description":"Unknown IO ID 45"} 
[2026-08-21 11:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547123200001,"power":27919,"unknown_167":206,"unknown_80":34816,"ignition":28,"odometer":null,"unknown_45":-3499085782201337856}} 
[2026-08-21 11:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":161557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:55:04] local.INFO: GPS data processed {"connection_id":161557,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:55:04] local.INFO: Acknowledgment sent {"connection_id":161557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:55:35] local.INFO: TCP Data received {"connection_id":161557,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fdd680012dcf71c005213530002200c32c..."} 
[2026-08-21 11:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fdd680012dcf71c005213530002200c32c..."} 
[2026-08-21 11:55:35] local.INFO: Processing buffer {"connection_id":161557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fdd680012dcf71c005213530002200c32c..."} 
[2026-08-21 11:55:35] local.INFO: Packet analysis {"connection_id":161557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fd"} 
[2026-08-21 11:55:35] local.INFO: Extracted packet for processing {"connection_id":161557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fd"} 
[2026-08-21 11:55:35] local.INFO: GPS Element Parsed {"raw_longitude":768569792,"raw_latitude":86062384,"longitude_deg":76.8569792,"latitude_deg":8.6062384,"altitude":34,"angle":195,"satellites":44,"speed":35,"hex_longitude":"2dcf71c0","hex_latitude":"05213530","is_valid_coordinates":true} 
[2026-08-21 11:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547124224001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388149607722385408,"note":"Value kept but may cause issues"} 
[2026-08-21 11:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3498452463504367616,"note":"Value kept but may cause issues"} 
[2026-08-21 11:55:35] 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-08-21 11:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787293456000,"timestamp_ms":1787293456000,"timestamp_seconds":1787293456,"priority":1,"record_length":96,"hex_timestamp":"000001a022fdd680"} 
[2026-08-21 11:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:55: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-08-21 11:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 11:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547124224001,"66":27865,"167":206,"80":34816,"24":35,"16":388149607722385408,"45":-3498452463504367616},"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-08-21 11:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547124224001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:55:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 11:55:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388149607722385408,"km_value":388149607722385.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3498452463504367616,"description":"Unknown IO ID 45"} 
[2026-08-21 11:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547124224001,"power":27865,"unknown_167":206,"unknown_80":34816,"ignition":35,"odometer":null,"unknown_45":-3498452463504367616}} 
[2026-08-21 11:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":161557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:55:35] local.INFO: GPS data processed {"connection_id":161557,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:55:35] local.INFO: Acknowledgment sent {"connection_id":161557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:55:58] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:55:58] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:55:58] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:55:59] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 11:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 11:55:59] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 11:55:59] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:56:03] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:56:03] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 11:56:03] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:56:04] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fdf9a8012dcf6740052111e0002000c42a..."} 
[2026-08-21 11:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fdf9a8012dcf6740052111e0002000c42a..."} 
[2026-08-21 11:56:04] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a022..."} 
[2026-08-21 11:56:04] local.INFO: IMEI packet received {"connection_id":159009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":159009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:56:04] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fe18e8012dcf5bc00520ebb0002000c52b..."} 
[2026-08-21 11:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fe18e8012dcf5bc00520ebb0002000c52b..."} 
[2026-08-21 11:56:04] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a022fdf9a8012dcf6740052111e0002000c42a..."} 
[2026-08-21 11:56:04] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a022fd"} 
[2026-08-21 11:56:04] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fd"} 
[2026-08-21 11:56:04] local.INFO: GPS Element Parsed {"raw_longitude":768567104,"raw_latitude":86053344,"longitude_deg":76.8567104,"latitude_deg":8.6053344,"altitude":32,"angle":196,"satellites":42,"speed":47,"hex_longitude":"2dcf6740","hex_latitude":"052111e0","is_valid_coordinates":true} 
[2026-08-21 11:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547124736001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388150062988918784,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3498804307225661440,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:04] 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-08-21 11:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293465000,"timestamp_ms":1787293465000,"timestamp_seconds":1787293465,"priority":1,"record_length":96,"hex_timestamp":"000001a022fdf9a8"} 
[2026-08-21 11:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:56: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-08-21 11:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:56:04] 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-08-21 11:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56: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-08-21 11:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547124736001,"66":27908,"167":206,"80":34816,"24":47,"16":388150062988918784,"45":-3498804307225661440},"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-08-21 11:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547124736001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388150062988918784,"km_value":388150062988918.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3498804307225661440,"description":"Unknown IO ID 45"} 
[2026-08-21 11:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547124736001,"power":27908,"unknown_167":206,"unknown_80":34816,"ignition":47,"odometer":null,"unknown_45":-3498804307225661440}} 
[2026-08-21 11:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:56:04] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:56:04] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:56:04] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fe"} 
[2026-08-21 11:56:04] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fe"} 
[2026-08-21 11:56:04] local.INFO: GPS Element Parsed {"raw_longitude":768564160,"raw_latitude":86043568,"longitude_deg":76.856416,"latitude_deg":8.6043568,"altitude":32,"angle":197,"satellites":43,"speed":54,"hex_longitude":"2dcf5bc0","hex_latitude":"0520ebb0","is_valid_coordinates":true} 
[2026-08-21 11:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547127040001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388150556910157824,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3501759794483437568,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:04] 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-08-21 11:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293473000,"timestamp_ms":1787293473000,"timestamp_seconds":1787293473,"priority":1,"record_length":96,"hex_timestamp":"000001a022fe18e8"} 
[2026-08-21 11:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:56: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-08-21 11:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 11:56:04] 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-08-21 11:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56: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-08-21 11:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547127040001,"66":27767,"167":206,"80":34816,"24":54,"16":388150556910157824,"45":-3501759794483437568},"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-08-21 11:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547127040001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388150556910157824,"km_value":388150556910157.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3501759794483437568,"description":"Unknown IO ID 45"} 
[2026-08-21 11:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547127040001,"power":27767,"unknown_167":206,"unknown_80":34816,"ignition":54,"odometer":null,"unknown_45":-3501759794483437568}} 
[2026-08-21 11:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:56:04] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:56:04] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:56:08] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fe3440012dcf50800520c7d0001f00c52a..."} 
[2026-08-21 11:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fe3440012dcf50800520c7d0001f00c52a..."} 
[2026-08-21 11:56:08] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fe3440012dcf50800520c7d0001f00c52a..."} 
[2026-08-21 11:56:08] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022fe"} 
[2026-08-21 11:56:08] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022fe"} 
[2026-08-21 11:56:08] local.INFO: GPS Element Parsed {"raw_longitude":768561280,"raw_latitude":86034384,"longitude_deg":76.856128,"latitude_deg":8.6034384,"altitude":31,"angle":197,"satellites":42,"speed":50,"hex_longitude":"2dcf5080","hex_latitude":"0520c7d0","is_valid_coordinates":true} 
[2026-08-21 11:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547129088001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388151025061593088,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3504996756718112768,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:08] 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-08-21 11:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787293480000,"timestamp_ms":1787293480000,"timestamp_seconds":1787293480,"priority":1,"record_length":96,"hex_timestamp":"000001a022fe3440"} 
[2026-08-21 11:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 11:56: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-08-21 11:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56: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-08-21 11:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547129088001,"66":27821,"167":206,"80":34816,"24":50,"16":388151025061593088,"45":-3504996756718112768},"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-08-21 11:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547129088001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:56:08] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 11:56:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388151025061593088,"km_value":388151025061593.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3504996756718112768,"description":"Unknown IO ID 45"} 
[2026-08-21 11:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547129088001,"power":27821,"unknown_167":206,"unknown_80":34816,"ignition":50,"odometer":null,"unknown_45":-3504996756718112768}} 
[2026-08-21 11:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:56:08] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:56:08] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:56:39] local.INFO: TCP Data received {"connection_id":159009,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ff2288012dcf20c0051fd7f8000c00c82a..."} 
[2026-08-21 11:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ff2288012dcf20c0051fd7f8000c00c82a..."} 
[2026-08-21 11:56:39] local.INFO: Processing buffer {"connection_id":159009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ff2288012dcf20c0051fd7f8000c00c82a..."} 
[2026-08-21 11:56:39] local.INFO: Packet analysis {"connection_id":159009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:56:39] local.INFO: Extracted packet for processing {"connection_id":159009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:56:39] local.INFO: GPS Element Parsed {"raw_longitude":768549056,"raw_latitude":85972984,"longitude_deg":76.8549056,"latitude_deg":8.5972984,"altitude":12,"angle":200,"satellites":42,"speed":14,"hex_longitude":"2dcf20c0","hex_latitude":"051fd7f8","is_valid_coordinates":true} 
[2026-08-21 11:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547145984001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388154190452490240,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521463042873567232,"note":"Value kept but may cause issues"} 
[2026-08-21 11:56:39] 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-08-21 11:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787293541000,"timestamp_ms":1787293541000,"timestamp_seconds":1787293541,"priority":1,"record_length":96,"hex_timestamp":"000001a022ff2288"} 
[2026-08-21 11:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547145984001,"66":27908,"69":206,"80":34816,"24":14,"16":388154190452490240,"45":-3521463042873567232},"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-08-21 11:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547145984001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:56:39] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 11:56:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388154190452490240,"km_value":388154190452490.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521463042873567232,"description":"Unknown IO ID 45"} 
[2026-08-21 11:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547145984001,"power":27908,"unknown_69":206,"unknown_80":34816,"ignition":14,"odometer":null,"unknown_45":-3521463042873567232}} 
[2026-08-21 11:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":159009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:56:39] local.INFO: GPS data processed {"connection_id":159009,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:56:39] local.INFO: Acknowledgment sent {"connection_id":159009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:56:58] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:56:58] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:56:58] local.INFO: IMEI packet received {"connection_id":159301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":159301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:57:03] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:03] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:03] local.INFO: IMEI packet received {"connection_id":159301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":159301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:57:07] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ff2e40012dcf1f80051fd3e8000c00b72c..."} 
[2026-08-21 11:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ff2e40012dcf1f80051fd3e8000c00b72c..."} 
[2026-08-21 11:57:07] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ff2e40012dcf1f80051fd3e8000c00b72c..."} 
[2026-08-21 11:57:07] local.INFO: Packet analysis {"connection_id":159301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:57:07] local.INFO: Extracted packet for processing {"connection_id":159301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:57:07] local.INFO: GPS Element Parsed {"raw_longitude":768548736,"raw_latitude":85971944,"longitude_deg":76.8548736,"latitude_deg":8.5971944,"altitude":12,"angle":183,"satellites":44,"speed":14,"hex_longitude":"2dcf1f80","hex_latitude":"051fd3e8","is_valid_coordinates":true} 
[2026-08-21 11:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547146496001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388154246287065088,"note":"Value kept but may cause issues"} 
[2026-08-21 11:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521603780362110976,"note":"Value kept but may cause issues"} 
[2026-08-21 11:57:07] 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-08-21 11:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787293544000,"timestamp_ms":1787293544000,"timestamp_seconds":1787293544,"priority":1,"record_length":96,"hex_timestamp":"000001a022ff2e40"} 
[2026-08-21 11:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:57: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-08-21 11:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 11:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547146496001,"66":27908,"69":206,"80":34816,"24":14,"16":388154246287065088,"45":-3521603780362110976},"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-08-21 11:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547146496001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:57:07] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 11:57:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388154246287065088,"km_value":388154246287065.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521603780362110976,"description":"Unknown IO ID 45"} 
[2026-08-21 11:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547146496001,"power":27908,"unknown_69":206,"unknown_80":34816,"ignition":14,"odometer":null,"unknown_45":-3521603780362110976}} 
[2026-08-21 11:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":159301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:57:07] local.INFO: GPS data processed {"connection_id":159301,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:57:07] local.INFO: Acknowledgment sent {"connection_id":159301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:57:38] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ff41c8012dcf1fc0051fcca0000c00aa2e..."} 
[2026-08-21 11:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ff41c8012dcf1fc0051fcca0000c00aa2e..."} 
[2026-08-21 11:57:38] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ff41c8012dcf1fc0051fcca0000c00aa2e..."} 
[2026-08-21 11:57:38] local.INFO: Packet analysis {"connection_id":159301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:57:38] local.INFO: Extracted packet for processing {"connection_id":159301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:57:38] local.INFO: GPS Element Parsed {"raw_longitude":768548800,"raw_latitude":85970080,"longitude_deg":76.85488,"latitude_deg":8.597008,"altitude":12,"angle":170,"satellites":46,"speed":17,"hex_longitude":"2dcf1fc0","hex_latitude":"051fcca0","is_valid_coordinates":true} 
[2026-08-21 11:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547147264001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388154336481378304,"note":"Value kept but may cause issues"} 
[2026-08-21 11:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521955624083265536,"note":"Value kept but may cause issues"} 
[2026-08-21 11:57:38] 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-08-21 11:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787293549000,"timestamp_ms":1787293549000,"timestamp_seconds":1787293549,"priority":1,"record_length":96,"hex_timestamp":"000001a022ff41c8"} 
[2026-08-21 11:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 11:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 11:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547147264001,"66":28082,"69":206,"80":34816,"24":17,"16":388154336481378304,"45":-3521955624083265536},"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-08-21 11:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547147264001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:57:38] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 11:57:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388154336481378304,"km_value":388154336481378.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521955624083265536,"description":"Unknown IO ID 45"} 
[2026-08-21 11:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547147264001,"power":28082,"unknown_69":206,"unknown_80":34816,"ignition":17,"odometer":null,"unknown_45":-3521955624083265536}} 
[2026-08-21 11:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":159301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:57:38] local.INFO: GPS data processed {"connection_id":159301,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:57:38] local.INFO: Acknowledgment sent {"connection_id":159301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:57:58] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:58] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:58] local.INFO: IMEI packet received {"connection_id":160203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":160203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:57:59] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:59] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:57:59] local.INFO: IMEI packet received {"connection_id":160203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":160203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:58:03] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:58:03] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:58:03] local.INFO: IMEI packet received {"connection_id":160203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":160203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:58:04] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ff7878012dcf2ac0051fa908000d00a32d..."} 
[2026-08-21 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ff7878012dcf2ac0051fa908000d00a32d..."} 
[2026-08-21 11:58:04] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ff7878012dcf2ac0051fa908000d00a32d..."} 
[2026-08-21 11:58:04] local.INFO: Packet analysis {"connection_id":160203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:58:04] local.INFO: Extracted packet for processing {"connection_id":160203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":768551616,"raw_latitude":85960968,"longitude_deg":76.8551616,"latitude_deg":8.5960968,"altitude":13,"angle":163,"satellites":45,"speed":34,"hex_longitude":"2dcf2ac0","hex_latitude":"051fa908","is_valid_coordinates":true} 
[2026-08-21 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-08-21 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547148544001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388154800337846272,"note":"Value kept but may cause issues"} 
[2026-08-21 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3521885255339565056,"note":"Value kept but may cause issues"} 
[2026-08-21 11:58:04] 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-08-21 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293563000,"timestamp_ms":1787293563000,"timestamp_seconds":1787293563,"priority":1,"record_length":96,"hex_timestamp":"000001a022ff7878"} 
[2026-08-21 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-08-21 11:58: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-08-21 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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 11:58:04] 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-08-21 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-08-21 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-08-21 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:58: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-08-21 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547148544001,"66":27974,"69":206,"80":34816,"24":34,"16":388154800337846272,"45":-3521885255339565056},"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-08-21 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547148544001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:58:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 11:58:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388154800337846272,"km_value":388154800337846.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3521885255339565056,"description":"Unknown IO ID 45"} 
[2026-08-21 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547148544001,"power":27974,"unknown_69":206,"unknown_80":34816,"ignition":34,"odometer":null,"unknown_45":-3521885255339565056}} 
[2026-08-21 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":160203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:58:04] local.INFO: GPS data processed {"connection_id":160203,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:58:04] local.INFO: Acknowledgment sent {"connection_id":160203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:58:35] local.INFO: TCP Data received {"connection_id":160203,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022ff9f88012dcf35c0051f8518000d00a22e..."} 
[2026-08-21 11:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022ff9f88012dcf35c0051f8518000d00a22e..."} 
[2026-08-21 11:58:35] local.INFO: Processing buffer {"connection_id":160203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022ff9f88012dcf35c0051f8518000d00a22e..."} 
[2026-08-21 11:58:35] local.INFO: Packet analysis {"connection_id":160203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:58:35] local.INFO: Extracted packet for processing {"connection_id":160203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:58:35] local.INFO: GPS Element Parsed {"raw_longitude":768554432,"raw_latitude":85951768,"longitude_deg":76.8554432,"latitude_deg":8.5951768,"altitude":13,"angle":162,"satellites":46,"speed":39,"hex_longitude":"2dcf35c0","hex_latitude":"051f8518","is_valid_coordinates":true} 
[2026-08-21 11:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547152128001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388155264194314240,"note":"Value kept but may cause issues"} 
[2026-08-21 11:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3518789030598080512,"note":"Value kept but may cause issues"} 
[2026-08-21 11:58:35] 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-08-21 11:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787293573000,"timestamp_ms":1787293573000,"timestamp_seconds":1787293573,"priority":1,"record_length":96,"hex_timestamp":"000001a022ff9f88"} 
[2026-08-21 11:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:58: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-08-21 11:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 11:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547152128001,"66":27843,"69":206,"80":34816,"24":39,"16":388155264194314240,"45":-3518789030598080512},"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-08-21 11:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547152128001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:58:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 11:58:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388155264194314240,"km_value":388155264194314.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3518789030598080512,"description":"Unknown IO ID 45"} 
[2026-08-21 11:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547152128001,"power":27843,"unknown_69":206,"unknown_80":34816,"ignition":39,"odometer":null,"unknown_45":-3518789030598080512}} 
[2026-08-21 11:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":160203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:58:35] local.INFO: GPS data processed {"connection_id":160203,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:58:35] local.INFO: Acknowledgment sent {"connection_id":160203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:58:58] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:58:58] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:58:58] local.INFO: IMEI packet received {"connection_id":159302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:59:03] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:03] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:03] local.INFO: IMEI packet received {"connection_id":159302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":159302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 11:59:04] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a022fff190012dcf3fc0051f6590000e009f2f..."} 
[2026-08-21 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a022fff190012dcf3fc0051f6590000e009f2f..."} 
[2026-08-21 11:59:04] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a022fff190012dcf3fc0051f6590000e009f2f..."} 
[2026-08-21 11:59:04] local.INFO: Packet analysis {"connection_id":159302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:59:04] local.INFO: Extracted packet for processing {"connection_id":159302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a022ff"} 
[2026-08-21 11:59:04] local.INFO: GPS Element Parsed {"raw_longitude":768556992,"raw_latitude":85943696,"longitude_deg":76.8556992,"latitude_deg":8.5943696,"altitude":14,"angle":159,"satellites":47,"speed":7,"hex_longitude":"2dcf3fc0","hex_latitude":"051f6590","is_valid_coordinates":true} 
[2026-08-21 11:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547154688001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388155676511174656,"note":"Value kept but may cause issues"} 
[2026-08-21 11:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3515692805856618496,"note":"Value kept but may cause issues"} 
[2026-08-21 11:59:04] 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-08-21 11:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293594000,"timestamp_ms":1787293594000,"timestamp_seconds":1787293594,"priority":1,"record_length":96,"hex_timestamp":"000001a022fff190"} 
[2026-08-21 11:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:59: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-08-21 11:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 11:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 11:59:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:59: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-08-21 11:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547154688001,"66":27865,"69":206,"80":34816,"24":7,"16":388155676511174656,"45":-3515692805856618496},"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-08-21 11:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547154688001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:59:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 11:59:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388155676511174656,"km_value":388155676511174.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3515692805856618496,"description":"Unknown IO ID 45"} 
[2026-08-21 11:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547154688001,"power":27865,"unknown_69":206,"unknown_80":34816,"ignition":7,"odometer":null,"unknown_45":-3515692805856618496}} 
[2026-08-21 11:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":159302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:59:04] local.INFO: GPS data processed {"connection_id":159302,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:59:04] local.INFO: Acknowledgment sent {"connection_id":159302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:59:35] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023004398012dcf45c0051f5e90000d00792f..."} 
[2026-08-21 11:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023004398012dcf45c0051f5e90000d00792f..."} 
[2026-08-21 11:59:35] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023004398012dcf45c0051f5e90000d00792f..."} 
[2026-08-21 11:59:35] local.INFO: Packet analysis {"connection_id":159302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 11:59:35] local.INFO: Extracted packet for processing {"connection_id":159302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 11:59:35] local.INFO: GPS Element Parsed {"raw_longitude":768558528,"raw_latitude":85941904,"longitude_deg":76.8558528,"latitude_deg":8.5941904,"altitude":13,"angle":121,"satellites":47,"speed":5,"hex_longitude":"2dcf45c0","hex_latitude":"051f5e90","is_valid_coordinates":true} 
[2026-08-21 11:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 11:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547160064001,"note":"Value kept but may cause issues"} 
[2026-08-21 11:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388155801065226240,"note":"Value kept but may cause issues"} 
[2026-08-21 11:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3512878056091578368,"note":"Value kept but may cause issues"} 
[2026-08-21 11:59:35] 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-08-21 11:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787293615000,"timestamp_ms":1787293615000,"timestamp_seconds":1787293615,"priority":1,"record_length":96,"hex_timestamp":"000001a023004398"} 
[2026-08-21 11:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 11:59: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-08-21 11:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 11:59:35] 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-08-21 11:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 11:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 11:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 11:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 11:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 11:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 11:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 11:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 11:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547160064001,"66":27908,"69":206,"80":34816,"24":5,"16":388155801065226240,"45":-3512878056091578368},"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-08-21 11:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 11:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 11:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547160064001,"description":"Unknown IO ID 0"} 
[2026-08-21 11:59:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 11:59:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 11:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388155801065226240,"km_value":388155801065226.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 11:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3512878056091578368,"description":"Unknown IO ID 45"} 
[2026-08-21 11:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547160064001,"power":27908,"unknown_69":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3512878056091578368}} 
[2026-08-21 11:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":159302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 11:59:35] local.INFO: GPS data processed {"connection_id":159302,"processed":1,"errors":0,"total":1} 
[2026-08-21 11:59:35] local.INFO: Acknowledgment sent {"connection_id":159302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 11:59:58] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:58] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:58] local.INFO: IMEI packet received {"connection_id":159303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 11:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 11:59:58] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:58] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 11:59:58] local.INFO: IMEI packet received {"connection_id":159303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 11:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:00:03] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:00:03] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:00:03] local.INFO: IMEI packet received {"connection_id":159303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":159303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:00:04] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023004398012dcf45c0051f5e90000d00792f..."} 
[2026-08-21 12:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023004398012dcf45c0051f5e90000d00792f..."} 
[2026-08-21 12:00:04] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023004398012dcf45c0051f5e90000d00792f..."} 
[2026-08-21 12:00:04] local.INFO: Packet analysis {"connection_id":159303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:00:04] local.INFO: Extracted packet for processing {"connection_id":159303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:00:04] local.INFO: GPS Element Parsed {"raw_longitude":768558528,"raw_latitude":85941904,"longitude_deg":76.8558528,"latitude_deg":8.5941904,"altitude":13,"angle":121,"satellites":47,"speed":5,"hex_longitude":"2dcf45c0","hex_latitude":"051f5e90","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547165440001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388155801065226240,"note":"Value kept but may cause issues"} 
[2026-08-21 12:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3511189206231773184,"note":"Value kept but may cause issues"} 
[2026-08-21 12:00:04] 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-08-21 12:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293615000,"timestamp_ms":1787293615000,"timestamp_seconds":1787293615,"priority":1,"record_length":96,"hex_timestamp":"000001a023004398"} 
[2026-08-21 12:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:00: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-08-21 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:00:04] 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-08-21 12: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-08-21 12:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:00: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-08-21 12:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547165440001,"66":27908,"69":206,"80":34816,"24":5,"16":388155801065226240,"45":-3511189206231773184},"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-08-21 12:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547165440001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:00:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:00:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388155801065226240,"km_value":388155801065226.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3511189206231773184,"description":"Unknown IO ID 45"} 
[2026-08-21 12:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547165440001,"power":27908,"unknown_69":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3511189206231773184}} 
[2026-08-21 12:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":159303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:00:04] local.INFO: GPS data processed {"connection_id":159303,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:00:04] local.INFO: Acknowledgment sent {"connection_id":159303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:00:35] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023005720012dcf4800051f5c88000c00872f..."} 
[2026-08-21 12:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023005720012dcf4800051f5c88000c00872f..."} 
[2026-08-21 12:00:35] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023005720012dcf4800051f5c88000c00872f..."} 
[2026-08-21 12:00:35] local.INFO: Packet analysis {"connection_id":159303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:00:35] local.INFO: Extracted packet for processing {"connection_id":159303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:00:35] local.INFO: GPS Element Parsed {"raw_longitude":768559104,"raw_latitude":85941384,"longitude_deg":76.8559104,"latitude_deg":8.5941384,"altitude":12,"angle":135,"satellites":47,"speed":7,"hex_longitude":"2dcf4800","hex_latitude":"051f5c88","is_valid_coordinates":true} 
[2026-08-21 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547165440001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388155839719931904,"note":"Value kept but may cause issues"} 
[2026-08-21 12:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3511189206231773184,"note":"Value kept but may cause issues"} 
[2026-08-21 12:00:35] 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-08-21 12:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787293620000,"timestamp_ms":1787293620000,"timestamp_seconds":1787293620,"priority":1,"record_length":96,"hex_timestamp":"000001a023005720"} 
[2026-08-21 12:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:00: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-08-21 12:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:00:35] 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-08-21 12:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547165440001,"66":27984,"69":206,"80":34816,"24":7,"16":388155839719931904,"45":-3511189206231773184},"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-08-21 12:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547165440001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:00:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:00:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388155839719931904,"km_value":388155839719931.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3511189206231773184,"description":"Unknown IO ID 45"} 
[2026-08-21 12:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547165440001,"power":27984,"unknown_69":206,"unknown_80":34816,"ignition":7,"odometer":null,"unknown_45":-3511189206231773184}} 
[2026-08-21 12:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":159303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:00:35] local.INFO: GPS data processed {"connection_id":159303,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:00:35] local.INFO: Acknowledgment sent {"connection_id":159303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:01:01] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:01] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:01] local.INFO: IMEI packet received {"connection_id":161558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":161558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:01:03] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:03] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:03] local.INFO: IMEI packet received {"connection_id":161558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":161558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:01:08] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:08] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:08] local.INFO: IMEI packet received {"connection_id":161558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":161558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:01:08] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230062d8012dcf4980051f5a80000c00942f..."} 
[2026-08-21 12:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230062d8012dcf4980051f5a80000c00942f..."} 
[2026-08-21 12:01:08] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230062d8012dcf4980051f5a80000c00942f..."} 
[2026-08-21 12:01:08] local.INFO: Packet analysis {"connection_id":161558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:01:08] local.INFO: Extracted packet for processing {"connection_id":161558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:01:08] local.INFO: GPS Element Parsed {"raw_longitude":768559488,"raw_latitude":85940864,"longitude_deg":76.8559488,"latitude_deg":8.5940864,"altitude":12,"angle":148,"satellites":47,"speed":8,"hex_longitude":"2dcf4980","hex_latitude":"051f5a80","is_valid_coordinates":true} 
[2026-08-21 12:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547166720001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388155869784702976,"note":"Value kept but may cause issues"} 
[2026-08-21 12:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3510555887534307328,"note":"Value kept but may cause issues"} 
[2026-08-21 12:01:08] 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-08-21 12:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787293623000,"timestamp_ms":1787293623000,"timestamp_seconds":1787293623,"priority":1,"record_length":96,"hex_timestamp":"000001a0230062d8"} 
[2026-08-21 12:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:01: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":80,"data_length":795,"current_offset":136} 
[2026-08-21 12:01:08] 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-08-21 12:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:01: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-08-21 12:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547166720001,"66":27908,"69":206,"80":34816,"24":8,"16":388155869784702976,"45":-3510555887534307328},"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-08-21 12:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547166720001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:01:08] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:01:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388155869784702976,"km_value":388155869784703.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3510555887534307328,"description":"Unknown IO ID 45"} 
[2026-08-21 12:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547166720001,"power":27908,"unknown_69":206,"unknown_80":34816,"ignition":8,"odometer":null,"unknown_45":-3510555887534307328}} 
[2026-08-21 12:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":161558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:01:08] local.INFO: GPS data processed {"connection_id":161558,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:01:08] local.INFO: Acknowledgment sent {"connection_id":161558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:01:13] local.INFO: TCP Data received {"connection_id":161558,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023006aa8012dcf4a80051f5878000c00a32f..."} 
[2026-08-21 12:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023006aa8012dcf4a80051f5878000c00a32f..."} 
[2026-08-21 12:01:13] local.INFO: Processing buffer {"connection_id":161558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023006aa8012dcf4a80051f5878000c00a32f..."} 
[2026-08-21 12:01:13] local.INFO: Packet analysis {"connection_id":161558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:01:13] local.INFO: Extracted packet for processing {"connection_id":161558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02300"} 
[2026-08-21 12:01:13] local.INFO: GPS Element Parsed {"raw_longitude":768559744,"raw_latitude":85940344,"longitude_deg":76.8559744,"latitude_deg":8.5940344,"altitude":12,"angle":163,"satellites":47,"speed":13,"hex_longitude":"2dcf4a80","hex_latitude":"051f5878","is_valid_coordinates":true} 
[2026-08-21 12:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547167488001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388155899849474048,"note":"Value kept but may cause issues"} 
[2026-08-21 12:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3510133675069374464,"note":"Value kept but may cause issues"} 
[2026-08-21 12:01:13] 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-08-21 12:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787293625000,"timestamp_ms":1787293625000,"timestamp_seconds":1787293625,"priority":1,"record_length":96,"hex_timestamp":"000001a023006aa8"} 
[2026-08-21 12:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547167488001,"66":27658,"69":206,"80":34816,"24":13,"16":388155899849474048,"45":-3510133675069374464},"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-08-21 12:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547167488001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:01:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:01:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388155899849474048,"km_value":388155899849474.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3510133675069374464,"description":"Unknown IO ID 45"} 
[2026-08-21 12:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547167488001,"power":27658,"unknown_69":206,"unknown_80":34816,"ignition":13,"odometer":null,"unknown_45":-3510133675069374464}} 
[2026-08-21 12:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":161558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:01:13] local.INFO: GPS data processed {"connection_id":161558,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:01:13] local.INFO: Acknowledgment sent {"connection_id":161558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:01:58] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:58] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:58] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:01:58] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:58] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:01:58] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:02:03] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:02:03] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:02:03] local.INFO: IMEI packet received {"connection_id":159010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":159010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:02:04] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02303aab0012dcf7dc0051ec868000f00a22e..."} 
[2026-08-21 12:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02303aab0012dcf7dc0051ec868000f00a22e..."} 
[2026-08-21 12:02:04] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02303aab0012dcf7dc0051ec868000f00a22e..."} 
[2026-08-21 12:02:04] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02303"} 
[2026-08-21 12:02:04] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02303"} 
[2026-08-21 12:02:04] local.INFO: GPS Element Parsed {"raw_longitude":768572864,"raw_latitude":85903464,"longitude_deg":76.8572864,"latitude_deg":8.5903464,"altitude":15,"angle":162,"satellites":46,"speed":6,"hex_longitude":"2dcf7dc0","hex_latitude":"051ec868","is_valid_coordinates":true} 
[2026-08-21 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-08-21 12:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547218688001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388157823994822656,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3496059926243000320,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:04] 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-08-21 12:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293838000,"timestamp_ms":1787293838000,"timestamp_seconds":1787293838,"priority":1,"record_length":96,"hex_timestamp":"000001a02303aab0"} 
[2026-08-21 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-08-21 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-08-21 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 12:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:02: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-08-21 12:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547218688001,"66":27767,"69":206,"80":34816,"24":6,"16":388157823994822656,"45":-3496059926243000320},"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-08-21 12:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547218688001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388157823994822656,"km_value":388157823994822.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3496059926243000320,"description":"Unknown IO ID 45"} 
[2026-08-21 12:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547218688001,"power":27767,"unknown_69":206,"unknown_80":34816,"ignition":6,"odometer":null,"unknown_45":-3496059926243000320}} 
[2026-08-21 12:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:02:04] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:02:04] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:02:08] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02303fcb8012dcf8440051eb748000f009a2d..."} 
[2026-08-21 12:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02303fcb8012dcf8440051eb748000f009a2d..."} 
[2026-08-21 12:02:08] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02303fcb8012dcf8440051eb748000f009a2d..."} 
[2026-08-21 12:02:08] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02303"} 
[2026-08-21 12:02:08] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02303"} 
[2026-08-21 12:02:08] local.INFO: GPS Element Parsed {"raw_longitude":768574528,"raw_latitude":85899080,"longitude_deg":76.8574528,"latitude_deg":8.589908,"altitude":15,"angle":154,"satellites":45,"speed":5,"hex_longitude":"2dcf8440","hex_latitude":"051eb748","is_valid_coordinates":true} 
[2026-08-21 12:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547222528001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158055923056640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3495426607545817088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:08] 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-08-21 12:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787293859000,"timestamp_ms":1787293859000,"timestamp_seconds":1787293859,"priority":1,"record_length":96,"hex_timestamp":"000001a02303fcb8"} 
[2026-08-21 12:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:02: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-08-21 12:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:02: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-08-21 12:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547222528001,"66":28093,"69":206,"80":34816,"24":5,"16":388158055923056640,"45":-3495426607545817088},"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-08-21 12:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547222528001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:02:08] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:02:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158055923056640,"km_value":388158055923056.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3495426607545817088,"description":"Unknown IO ID 45"} 
[2026-08-21 12:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547222528001,"power":28093,"unknown_69":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3495426607545817088}} 
[2026-08-21 12:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:02:08] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:02:08] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:02:40] local.INFO: TCP Data received {"connection_id":159010,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023044ec0012dcf8680051eb150000f009a2d..."} 
[2026-08-21 12:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023044ec0012dcf8680051eb150000f009a2d..."} 
[2026-08-21 12:02:40] local.INFO: Processing buffer {"connection_id":159010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023044ec0012dcf8680051eb150000f009a2d..."} 
[2026-08-21 12:02:40] local.INFO: Packet analysis {"connection_id":159010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02304"} 
[2026-08-21 12:02:40] local.INFO: Extracted packet for processing {"connection_id":159010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02304"} 
[2026-08-21 12:02:40] local.INFO: GPS Element Parsed {"raw_longitude":768575104,"raw_latitude":85897552,"longitude_deg":76.8575104,"latitude_deg":8.5897552,"altitude":15,"angle":154,"satellites":45,"speed":0,"hex_longitude":"2dcf8680","hex_latitude":"051eb150","is_valid_coordinates":true} 
[2026-08-21 12:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547227904001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158141822402560,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3493597020198320128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:02:40] 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-08-21 12:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787293880000,"timestamp_ms":1787293880000,"timestamp_seconds":1787293880,"priority":1,"record_length":96,"hex_timestamp":"000001a023044ec0"} 
[2026-08-21 12:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-08-21 12:02:40] 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-08-21 12:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:02: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-08-21 12:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547227904001,"66":28028,"69":206,"80":34816,"24":0,"16":388158141822402560,"45":-3493597020198320128},"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-08-21 12:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547227904001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:02:40] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:02:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158141822402560,"km_value":388158141822402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3493597020198320128,"description":"Unknown IO ID 45"} 
[2026-08-21 12:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547227904001,"power":28028,"unknown_69":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3493597020198320128}} 
[2026-08-21 12:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":159010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:02:40] local.INFO: GPS data processed {"connection_id":159010,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:02:40] local.INFO: Acknowledgment sent {"connection_id":159010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:02:58] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:02:58] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:02:58] local.INFO: IMEI packet received {"connection_id":159011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":159011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:03:01] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:03:01] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:03:01] local.INFO: IMEI packet received {"connection_id":159011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":159011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:03:02] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02304a0c8012dcf8b00051ea8c8000f008f2b..."} 
[2026-08-21 12:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02304a0c8012dcf8b00051ea8c8000f008f2b..."} 
[2026-08-21 12:03:02] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02304a0c8012dcf8b00051ea8c8000f008f2b..."} 
[2026-08-21 12:03:02] local.INFO: Packet analysis {"connection_id":159011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02304"} 
[2026-08-21 12:03:02] local.INFO: Extracted packet for processing {"connection_id":159011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02304"} 
[2026-08-21 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":768576256,"raw_latitude":85895368,"longitude_deg":76.8576256,"latitude_deg":8.5895368,"altitude":15,"angle":143,"satellites":43,"speed":2,"hex_longitude":"2dcf8b00","hex_latitude":"051ea8c8","is_valid_coordinates":true} 
[2026-08-21 12:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547233280001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158262081486848,"note":"Value kept but may cause issues"} 
[2026-08-21 12:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3492963701501112320,"note":"Value kept but may cause issues"} 
[2026-08-21 12:03:02] 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-08-21 12:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787293901000,"timestamp_ms":1787293901000,"timestamp_seconds":1787293901,"priority":1,"record_length":96,"hex_timestamp":"000001a02304a0c8"} 
[2026-08-21 12:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 12:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547233280001,"66":27800,"69":206,"80":34816,"24":2,"16":388158262081486848,"45":-3492963701501112320},"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-08-21 12:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547233280001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:03:02] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:03:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158262081486848,"km_value":388158262081486.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3492963701501112320,"description":"Unknown IO ID 45"} 
[2026-08-21 12:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547233280001,"power":27800,"unknown_69":206,"unknown_80":34816,"ignition":2,"odometer":null,"unknown_45":-3492963701501112320}} 
[2026-08-21 12:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":159011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:03:02] local.INFO: GPS data processed {"connection_id":159011,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:03:02] local.INFO: Acknowledgment sent {"connection_id":159011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:03:33] local.INFO: TCP Data received {"connection_id":159011,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02304f2d0012dcf8e00051ea118000f00992e..."} 
[2026-08-21 12:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02304f2d0012dcf8e00051ea118000f00992e..."} 
[2026-08-21 12:03:33] local.INFO: Processing buffer {"connection_id":159011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02304f2d0012dcf8e00051ea118000f00992e..."} 
[2026-08-21 12:03:33] local.INFO: Packet analysis {"connection_id":159011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02304"} 
[2026-08-21 12:03:33] local.INFO: Extracted packet for processing {"connection_id":159011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02304"} 
[2026-08-21 12:03:33] local.INFO: GPS Element Parsed {"raw_longitude":768577024,"raw_latitude":85893400,"longitude_deg":76.8577024,"latitude_deg":8.58934,"altitude":15,"angle":153,"satellites":46,"speed":6,"hex_longitude":"2dcf8e00","hex_latitude":"051ea118","is_valid_coordinates":true} 
[2026-08-21 12:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547238656001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158369455669248,"note":"Value kept but may cause issues"} 
[2026-08-21 12:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3491697064106473472,"note":"Value kept but may cause issues"} 
[2026-08-21 12:03:33] 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-08-21 12:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787293922000,"timestamp_ms":1787293922000,"timestamp_seconds":1787293922,"priority":1,"record_length":96,"hex_timestamp":"000001a02304f2d0"} 
[2026-08-21 12:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:03:33] 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-08-21 12:03:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:03: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-08-21 12:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547238656001,"66":27843,"69":206,"80":34816,"24":6,"16":388158369455669248,"45":-3491697064106473472},"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-08-21 12:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547238656001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:03:33] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:03:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158369455669248,"km_value":388158369455669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3491697064106473472,"description":"Unknown IO ID 45"} 
[2026-08-21 12:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547238656001,"power":27843,"unknown_69":206,"unknown_80":34816,"ignition":6,"odometer":null,"unknown_45":-3491697064106473472}} 
[2026-08-21 12:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":159011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:03:33] local.INFO: GPS data processed {"connection_id":159011,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:03:33] local.INFO: Acknowledgment sent {"connection_id":159011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:03:58] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:03:58] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:03:58] local.INFO: IMEI packet received {"connection_id":159304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":159304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:04:03] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:04:03] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:04:03] local.INFO: IMEI packet received {"connection_id":159304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":159304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:04:04] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230544d8012dcf9440051e93b0000e00982c..."} 
[2026-08-21 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230544d8012dcf9440051e93b0000e00982c..."} 
[2026-08-21 12:04:04] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230544d8012dcf9440051e93b0000e00982c..."} 
[2026-08-21 12:04:04] local.INFO: Packet analysis {"connection_id":159304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02305"} 
[2026-08-21 12:04:04] local.INFO: Extracted packet for processing {"connection_id":159304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02305"} 
[2026-08-21 12:04:04] local.INFO: GPS Element Parsed {"raw_longitude":768578624,"raw_latitude":85889968,"longitude_deg":76.8578624,"latitude_deg":8.5889968,"altitude":14,"angle":152,"satellites":44,"speed":6,"hex_longitude":"2dcf9440","hex_latitude":"051e93b0","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547244032001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158558434230272,"note":"Value kept but may cause issues"} 
[2026-08-21 12:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3490852639176845312,"note":"Value kept but may cause issues"} 
[2026-08-21 12:04:04] 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-08-21 12:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293943000,"timestamp_ms":1787293943000,"timestamp_seconds":1787293943,"priority":1,"record_length":96,"hex_timestamp":"000001a0230544d8"} 
[2026-08-21 12:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:04: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-08-21 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:04: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-08-21 12:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547244032001,"66":28017,"69":206,"80":34816,"24":6,"16":388158558434230272,"45":-3490852639176845312},"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-08-21 12:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547244032001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:04:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158558434230272,"km_value":388158558434230.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3490852639176845312,"description":"Unknown IO ID 45"} 
[2026-08-21 12:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547244032001,"power":28017,"unknown_69":206,"unknown_80":34816,"ignition":6,"odometer":null,"unknown_45":-3490852639176845312}} 
[2026-08-21 12:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":159304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:04:04] local.INFO: GPS data processed {"connection_id":159304,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:04:04] local.INFO: Acknowledgment sent {"connection_id":159304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:04:35] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230596e0012dcf9880051e8b20000e009e2e..."} 
[2026-08-21 12:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230596e0012dcf9880051e8b20000e009e2e..."} 
[2026-08-21 12:04:35] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230596e0012dcf9880051e8b20000e009e2e..."} 
[2026-08-21 12:04:35] local.INFO: Packet analysis {"connection_id":159304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02305"} 
[2026-08-21 12:04:35] local.INFO: Extracted packet for processing {"connection_id":159304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02305"} 
[2026-08-21 12:04:35] local.INFO: GPS Element Parsed {"raw_longitude":768579712,"raw_latitude":85887776,"longitude_deg":76.8579712,"latitude_deg":8.5887776,"altitude":14,"angle":158,"satellites":46,"speed":7,"hex_longitude":"2dcf9880","hex_latitude":"051e8b20","is_valid_coordinates":true} 
[2026-08-21 12:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547249408001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158678693314560,"note":"Value kept but may cause issues"} 
[2026-08-21 12:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3489093420573282304,"note":"Value kept but may cause issues"} 
[2026-08-21 12:04:35] 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-08-21 12:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787293964000,"timestamp_ms":1787293964000,"timestamp_seconds":1787293964,"priority":1,"record_length":96,"hex_timestamp":"000001a0230596e0"} 
[2026-08-21 12:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:04: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-08-21 12:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 12:04:35] 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-08-21 12:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547249408001,"66":27876,"69":206,"80":34816,"24":7,"16":388158678693314560,"45":-3489093420573282304},"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-08-21 12:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547249408001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:04:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:04:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158678693314560,"km_value":388158678693314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3489093420573282304,"description":"Unknown IO ID 45"} 
[2026-08-21 12:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547249408001,"power":27876,"unknown_69":206,"unknown_80":34816,"ignition":7,"odometer":null,"unknown_45":-3489093420573282304}} 
[2026-08-21 12:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":159304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:04:35] local.INFO: GPS data processed {"connection_id":159304,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:04:35] local.INFO: Acknowledgment sent {"connection_id":159304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:04:57] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:04:57] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:04:57] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:05:03] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:05:03] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:05:03] local.INFO: IMEI packet received {"connection_id":160204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":160204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:05:04] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02305e8e8012dcfa000051e7da0000f00952c..."} 
[2026-08-21 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02305e8e8012dcfa000051e7da0000f00952c..."} 
[2026-08-21 12:05:04] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02305e8e8012dcfa000051e7da0000f00952c..."} 
[2026-08-21 12:05:04] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02305"} 
[2026-08-21 12:05:04] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02305"} 
[2026-08-21 12:05:04] local.INFO: GPS Element Parsed {"raw_longitude":768581632,"raw_latitude":85884320,"longitude_deg":76.8581632,"latitude_deg":8.588432,"altitude":15,"angle":149,"satellites":44,"speed":5,"hex_longitude":"2dcfa000","hex_latitude":"051e7da0","is_valid_coordinates":true} 
[2026-08-21 12:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547254784001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158871966842880,"note":"Value kept but may cause issues"} 
[2026-08-21 12:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3487897151922823168,"note":"Value kept but may cause issues"} 
[2026-08-21 12:05:04] 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-08-21 12:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787293985000,"timestamp_ms":1787293985000,"timestamp_seconds":1787293985,"priority":1,"record_length":96,"hex_timestamp":"000001a02305e8e8"} 
[2026-08-21 12:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:05: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-08-21 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:05: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-08-21 12:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:05: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-08-21 12:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547254784001,"66":27930,"69":206,"80":34816,"24":5,"16":388158871966842880,"45":-3487897151922823168},"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-08-21 12:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547254784001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:05:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158871966842880,"km_value":388158871966842.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3487897151922823168,"description":"Unknown IO ID 45"} 
[2026-08-21 12:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547254784001,"power":27930,"unknown_69":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3487897151922823168}} 
[2026-08-21 12:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:05:04] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:05:04] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:05:35] local.INFO: TCP Data received {"connection_id":160204,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023063af0012dcfa3c0051e76d0000f00972e..."} 
[2026-08-21 12:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023063af0012dcfa3c0051e76d0000f00972e..."} 
[2026-08-21 12:05:35] local.INFO: Processing buffer {"connection_id":160204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023063af0012dcfa3c0051e76d0000f00972e..."} 
[2026-08-21 12:05:35] local.INFO: Packet analysis {"connection_id":160204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02306"} 
[2026-08-21 12:05:35] local.INFO: Extracted packet for processing {"connection_id":160204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02306"} 
[2026-08-21 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":768582592,"raw_latitude":85882576,"longitude_deg":76.8582592,"latitude_deg":8.5882576,"altitude":15,"angle":151,"satellites":46,"speed":0,"hex_longitude":"2dcfa3c0","hex_latitude":"051e76d0","is_valid_coordinates":true} 
[2026-08-21 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158970751090688,"note":"Value kept but may cause issues"} 
[2026-08-21 12:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3485786089598377984,"note":"Value kept but may cause issues"} 
[2026-08-21 12:05:35] 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-08-21 12:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787294006000,"timestamp_ms":1787294006000,"timestamp_seconds":1787294006,"priority":1,"record_length":96,"hex_timestamp":"000001a023063af0"} 
[2026-08-21 12:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:05: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-08-21 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 12:05:35] 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-08-21 12:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547260160001,"66":27908,"69":206,"80":34816,"24":0,"16":388158970751090688,"45":-3485786089598377984},"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-08-21 12:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:05:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:05:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158970751090688,"km_value":388158970751090.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3485786089598377984,"description":"Unknown IO ID 45"} 
[2026-08-21 12:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547260160001,"power":27908,"unknown_69":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3485786089598377984}} 
[2026-08-21 12:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":160204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:05:35] local.INFO: GPS data processed {"connection_id":160204,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:05:35] local.INFO: Acknowledgment sent {"connection_id":160204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:05:58] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:05:58] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:05:58] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:06:04] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:06:04] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:06:04] local.INFO: IMEI packet received {"connection_id":161559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":161559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:06:05] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023068cf8012dcfa400051e75f8000e009730..."} 
[2026-08-21 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023068cf8012dcfa400051e75f8000e009730..."} 
[2026-08-21 12:06:05] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023068cf8012dcfa400051e75f8000e009730..."} 
[2026-08-21 12:06:05] local.INFO: Packet analysis {"connection_id":161559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02306"} 
[2026-08-21 12:06:05] local.INFO: Extracted packet for processing {"connection_id":161559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02306"} 
[2026-08-21 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":768582656,"raw_latitude":85882360,"longitude_deg":76.8582656,"latitude_deg":8.588236,"altitude":14,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2dcfa400","hex_latitude":"051e75f8","is_valid_coordinates":true} 
[2026-08-21 12:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547265536001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158983635992576,"note":"Value kept but may cause issues"} 
[2026-08-21 12:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3484730558436159488,"note":"Value kept but may cause issues"} 
[2026-08-21 12:06:05] 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-08-21 12:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787294027000,"timestamp_ms":1787294027000,"timestamp_seconds":1787294027,"priority":1,"record_length":96,"hex_timestamp":"000001a023068cf8"} 
[2026-08-21 12:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:06: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-08-21 12:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547265536001,"66":27930,"69":206,"80":34816,"24":0,"16":388158983635992576,"45":-3484730558436159488},"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-08-21 12:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547265536001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:06:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:06:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158983635992576,"km_value":388158983635992.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3484730558436159488,"description":"Unknown IO ID 45"} 
[2026-08-21 12:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547265536001,"power":27930,"unknown_69":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3484730558436159488}} 
[2026-08-21 12:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":161559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:06:05] local.INFO: GPS data processed {"connection_id":161559,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:06:05] local.INFO: Acknowledgment sent {"connection_id":161559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:06:37] local.INFO: TCP Data received {"connection_id":161559,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02306df00012dcfa400051e75f8000e009730..."} 
[2026-08-21 12:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02306df00012dcfa400051e75f8000e009730..."} 
[2026-08-21 12:06:37] local.INFO: Processing buffer {"connection_id":161559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02306df00012dcfa400051e75f8000e009730..."} 
[2026-08-21 12:06:37] local.INFO: Packet analysis {"connection_id":161559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02306"} 
[2026-08-21 12:06:37] local.INFO: Extracted packet for processing {"connection_id":161559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02306"} 
[2026-08-21 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":768582656,"raw_latitude":85882360,"longitude_deg":76.8582656,"latitude_deg":8.588236,"altitude":14,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2dcfa400","hex_latitude":"051e75f8","is_valid_coordinates":true} 
[2026-08-21 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547270912001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388158983635992576,"note":"Value kept but may cause issues"} 
[2026-08-21 12:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3484660189692037120,"note":"Value kept but may cause issues"} 
[2026-08-21 12:06:37] 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-08-21 12:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787294048000,"timestamp_ms":1787294048000,"timestamp_seconds":1787294048,"priority":1,"record_length":96,"hex_timestamp":"000001a02306df00"} 
[2026-08-21 12:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 12:06:37] 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-08-21 12:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547270912001,"66":28028,"69":206,"80":34816,"24":0,"16":388158983635992576,"45":-3484660189692037120},"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-08-21 12:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547270912001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:06:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:06:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388158983635992576,"km_value":388158983635992.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3484660189692037120,"description":"Unknown IO ID 45"} 
[2026-08-21 12:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547270912001,"power":28028,"unknown_69":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3484660189692037120}} 
[2026-08-21 12:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":161559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:06:37] local.INFO: GPS data processed {"connection_id":161559,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:06:37] local.INFO: Acknowledgment sent {"connection_id":161559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:06:58] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:06:58] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:06:58] local.INFO: IMEI packet received {"connection_id":159012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":159012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:07:03] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:07:03] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:07:03] local.INFO: IMEI packet received {"connection_id":159012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":159012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:07:04] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023073108012dcfa640051e7308000d00932f..."} 
[2026-08-21 12:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023073108012dcfa640051e7308000d00932f..."} 
[2026-08-21 12:07:04] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023073108012dcfa640051e7308000d00932f..."} 
[2026-08-21 12:07:04] local.INFO: Packet analysis {"connection_id":159012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02307"} 
[2026-08-21 12:07:04] local.INFO: Extracted packet for processing {"connection_id":159012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02307"} 
[2026-08-21 12:07:04] local.INFO: GPS Element Parsed {"raw_longitude":768583232,"raw_latitude":85881608,"longitude_deg":76.8583232,"latitude_deg":8.5881608,"altitude":13,"angle":147,"satellites":47,"speed":3,"hex_longitude":"2dcfa640","hex_latitude":"051e7308","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547276288001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388159030880632832,"note":"Value kept but may cause issues"} 
[2026-08-21 12:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3484660189692037120,"note":"Value kept but may cause issues"} 
[2026-08-21 12:07:04] 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-08-21 12:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787294069000,"timestamp_ms":1787294069000,"timestamp_seconds":1787294069,"priority":1,"record_length":96,"hex_timestamp":"000001a023073108"} 
[2026-08-21 12:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:07: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-08-21 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 12:07: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-08-21 12: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-08-21 12:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:07: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-08-21 12:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547276288001,"66":27865,"69":206,"80":34816,"24":3,"16":388159030880632832,"45":-3484660189692037120},"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-08-21 12:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547276288001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388159030880632832,"km_value":388159030880632.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3484660189692037120,"description":"Unknown IO ID 45"} 
[2026-08-21 12:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547276288001,"power":27865,"unknown_69":206,"unknown_80":34816,"ignition":3,"odometer":null,"unknown_45":-3484660189692037120}} 
[2026-08-21 12:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":159012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:07:04] local.INFO: GPS data processed {"connection_id":159012,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:07:04] local.INFO: Acknowledgment sent {"connection_id":159012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:07:35] local.INFO: TCP Data received {"connection_id":159012,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023078310012dcfabc0051e6b18000d008f2f..."} 
[2026-08-21 12:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023078310012dcfabc0051e6b18000d008f2f..."} 
[2026-08-21 12:07:35] local.INFO: Processing buffer {"connection_id":159012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023078310012dcfabc0051e6b18000d008f2f..."} 
[2026-08-21 12:07:35] local.INFO: Packet analysis {"connection_id":159012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02307"} 
[2026-08-21 12:07:35] local.INFO: Extracted packet for processing {"connection_id":159012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02307"} 
[2026-08-21 12:07:35] local.INFO: GPS Element Parsed {"raw_longitude":768584640,"raw_latitude":85879576,"longitude_deg":76.858464,"latitude_deg":8.5879576,"altitude":13,"angle":143,"satellites":47,"speed":7,"hex_longitude":"2dcfabc0","hex_latitude":"051e6b18","is_valid_coordinates":true} 
[2026-08-21 12:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547281664001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388159155434684416,"note":"Value kept but may cause issues"} 
[2026-08-21 12:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3484026870994630656,"note":"Value kept but may cause issues"} 
[2026-08-21 12:07:35] 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-08-21 12:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787294090000,"timestamp_ms":1787294090000,"timestamp_seconds":1787294090,"priority":1,"record_length":96,"hex_timestamp":"000001a023078310"} 
[2026-08-21 12:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:07: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-08-21 12:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 12:07:35] 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-08-21 12:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547281664001,"66":27691,"69":206,"80":34816,"24":7,"16":388159155434684416,"45":-3484026870994630656},"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-08-21 12:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547281664001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:07:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388159155434684416,"km_value":388159155434684.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3484026870994630656,"description":"Unknown IO ID 45"} 
[2026-08-21 12:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547281664001,"power":27691,"unknown_69":206,"unknown_80":34816,"ignition":7,"odometer":null,"unknown_45":-3484026870994630656}} 
[2026-08-21 12:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":159012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:07:35] local.INFO: GPS data processed {"connection_id":159012,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:07:35] local.INFO: Acknowledgment sent {"connection_id":159012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:07:58] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:07:58] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:07:58] local.INFO: IMEI packet received {"connection_id":159305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":159305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:08:03] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:08:03] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:08:03] local.INFO: IMEI packet received {"connection_id":159305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":159305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:08:04] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02307d518012dcfb680051e5eb0000c00862f..."} 
[2026-08-21 12:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02307d518012dcfb680051e5eb0000c00862f..."} 
[2026-08-21 12:08:04] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02307d518012dcfb680051e5eb0000c00862f..."} 
[2026-08-21 12:08:04] local.INFO: Packet analysis {"connection_id":159305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02307"} 
[2026-08-21 12:08:04] local.INFO: Extracted packet for processing {"connection_id":159305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02307"} 
[2026-08-21 12:08:04] local.INFO: GPS Element Parsed {"raw_longitude":768587392,"raw_latitude":85876400,"longitude_deg":76.8587392,"latitude_deg":8.58764,"altitude":12,"angle":134,"satellites":47,"speed":9,"hex_longitude":"2dcfb680","hex_latitude":"051e5eb0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 12:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547287040001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388159357298147328,"note":"Value kept but may cause issues"} 
[2026-08-21 12:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3482478758623242240,"note":"Value kept but may cause issues"} 
[2026-08-21 12:08:04] 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-08-21 12:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787294111000,"timestamp_ms":1787294111000,"timestamp_seconds":1787294111,"priority":1,"record_length":96,"hex_timestamp":"000001a02307d518"} 
[2026-08-21 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-08-21 12:08: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-08-21 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 12:08: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-08-21 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-08-21 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-08-21 12:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12: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-08-21 12:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547287040001,"66":28104,"69":206,"80":34816,"24":9,"16":388159357298147328,"45":-3482478758623242240},"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-08-21 12:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547287040001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:08:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 12:08:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388159357298147328,"km_value":388159357298147.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3482478758623242240,"description":"Unknown IO ID 45"} 
[2026-08-21 12:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547287040001,"power":28104,"unknown_69":206,"unknown_80":34816,"ignition":9,"odometer":null,"unknown_45":-3482478758623242240}} 
[2026-08-21 12:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":159305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:08:04] local.INFO: GPS data processed {"connection_id":159305,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:08:04] local.INFO: Acknowledgment sent {"connection_id":159305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:08:35] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023082720012dcfcd00051e48c0000e00832e..."} 
[2026-08-21 12:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023082720012dcfcd00051e48c0000e00832e..."} 
[2026-08-21 12:08:35] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023082720012dcfcd00051e48c0000e00832e..."} 
[2026-08-21 12:08:35] local.INFO: Packet analysis {"connection_id":159305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02308"} 
[2026-08-21 12:08:35] local.INFO: Extracted packet for processing {"connection_id":159305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02308"} 
[2026-08-21 12:08:35] local.INFO: GPS Element Parsed {"raw_longitude":768593152,"raw_latitude":85870784,"longitude_deg":76.8593152,"latitude_deg":8.5870784,"altitude":14,"angle":131,"satellites":46,"speed":6,"hex_longitude":"2dcfcd00","hex_latitude":"051e48c0","is_valid_coordinates":true} 
[2026-08-21 12:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547292416001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388159748140171264,"note":"Value kept but may cause issues"} 
[2026-08-21 12:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3479452902624415744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787294132000,"timestamp_ms":1787294132000,"timestamp_seconds":1787294132,"priority":1,"record_length":96,"hex_timestamp":"000001a023082720"} 
[2026-08-21 12:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 12:08:35] 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-08-21 12:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547292416001,"66":28050,"67":206,"80":34816,"24":6,"16":388159748140171264,"45":-3479452902624415744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547292416001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:08:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:08:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388159748140171264,"km_value":388159748140171.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3479452902624415744,"description":"Unknown IO ID 45"} 
[2026-08-21 12:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547292416001,"power":28050,"unknown_67":206,"unknown_80":34816,"ignition":6,"odometer":null,"unknown_45":-3479452902624415744}} 
[2026-08-21 12:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":159305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:08:35] local.INFO: GPS data processed {"connection_id":159305,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:08:35] local.INFO: Acknowledgment sent {"connection_id":159305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:09:01] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:09:01] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:09:01] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:09:03] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:09:03] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:09:03] local.INFO: IMEI packet received {"connection_id":160205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":160205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:09:04] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023087928012dcfd300051e4350000f008c30..."} 
[2026-08-21 12:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023087928012dcfd300051e4350000f008c30..."} 
[2026-08-21 12:09:04] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023087928012dcfd300051e4350000f008c30..."} 
[2026-08-21 12:09:04] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02308"} 
[2026-08-21 12:09:04] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02308"} 
[2026-08-21 12:09:04] local.INFO: GPS Element Parsed {"raw_longitude":768594688,"raw_latitude":85869392,"longitude_deg":76.8594688,"latitude_deg":8.5869392,"altitude":15,"angle":140,"satellites":48,"speed":5,"hex_longitude":"2dcfd300","hex_latitude":"051e4350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 12:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547297792001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388159846924419072,"note":"Value kept but may cause issues"} 
[2026-08-21 12:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3473119715649863680,"note":"Value kept but may cause issues"} 
[2026-08-21 12:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787294153000,"timestamp_ms":1787294153000,"timestamp_seconds":1787294153,"priority":1,"record_length":96,"hex_timestamp":"000001a023087928"} 
[2026-08-21 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-08-21 12:09: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-08-21 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 12:09:04] 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-08-21 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-08-21 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-08-21 12:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:09: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-08-21 12:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547297792001,"66":28028,"67":206,"80":34816,"24":5,"16":388159846924419072,"45":-3473119715649863680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547297792001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:09:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:09:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388159846924419072,"km_value":388159846924419.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3473119715649863680,"description":"Unknown IO ID 45"} 
[2026-08-21 12:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547297792001,"power":28028,"unknown_67":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3473119715649863680}} 
[2026-08-21 12:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:09:04] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:09:04] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:09:35] local.INFO: TCP Data received {"connection_id":160205,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02308cb30012dcfd700051e3fa0000f00852e..."} 
[2026-08-21 12:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02308cb30012dcfd700051e3fa0000f00852e..."} 
[2026-08-21 12:09:35] local.INFO: Processing buffer {"connection_id":160205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02308cb30012dcfd700051e3fa0000f00852e..."} 
[2026-08-21 12:09:35] local.INFO: Packet analysis {"connection_id":160205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02308"} 
[2026-08-21 12:09:35] local.INFO: Extracted packet for processing {"connection_id":160205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02308"} 
[2026-08-21 12:09:35] local.INFO: GPS Element Parsed {"raw_longitude":768595712,"raw_latitude":85868448,"longitude_deg":76.8595712,"latitude_deg":8.5868448,"altitude":15,"angle":133,"satellites":46,"speed":0,"hex_longitude":"2dcfd700","hex_latitude":"051e3fa0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 12:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547303168001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388159919938863104,"note":"Value kept but may cause issues"} 
[2026-08-21 12:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3471430865789956096,"note":"Value kept but may cause issues"} 
[2026-08-21 12:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787294174000,"timestamp_ms":1787294174000,"timestamp_seconds":1787294174,"priority":1,"record_length":96,"hex_timestamp":"000001a02308cb30"} 
[2026-08-21 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-08-21 12:09: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-08-21 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 12:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 12:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547303168001,"66":27865,"67":206,"80":34816,"24":0,"16":388159919938863104,"45":-3471430865789956096},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547303168001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:09:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:09:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388159919938863104,"km_value":388159919938863.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3471430865789956096,"description":"Unknown IO ID 45"} 
[2026-08-21 12:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547303168001,"power":27865,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3471430865789956096}} 
[2026-08-21 12:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":160205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:09:35] local.INFO: GPS data processed {"connection_id":160205,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:09:35] local.INFO: Acknowledgment sent {"connection_id":160205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:10:03] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:03] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:03] local.INFO: IMEI packet received {"connection_id":161560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":161560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:10:08] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:08] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:08] local.INFO: IMEI packet received {"connection_id":161560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":161560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:10:09] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023091d38012dcfd880051e3db0001100852f..."} 
[2026-08-21 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023091d38012dcfd880051e3db0001100852f..."} 
[2026-08-21 12:10:09] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023091d38012dcfd880051e3db0001100852f..."} 
[2026-08-21 12:10:09] local.INFO: Packet analysis {"connection_id":161560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:10:09] local.INFO: Extracted packet for processing {"connection_id":161560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":768596096,"raw_latitude":85867952,"longitude_deg":76.8596096,"latitude_deg":8.5867952,"altitude":17,"angle":133,"satellites":47,"speed":5,"hex_longitude":"2dcfd880","hex_latitude":"051e3db0","is_valid_coordinates":true} 
[2026-08-21 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547308544001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388159950003634176,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3470304965883355136,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787294195000,"timestamp_ms":1787294195000,"timestamp_seconds":1787294195,"priority":1,"record_length":96,"hex_timestamp":"000001a023091d38"} 
[2026-08-21 12:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 12:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:10: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-08-21 12:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547308544001,"66":28006,"67":206,"80":34816,"24":5,"16":388159950003634176,"45":-3470304965883355136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547308544001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:10:09] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:10:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388159950003634176,"km_value":388159950003634.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3470304965883355136,"description":"Unknown IO ID 45"} 
[2026-08-21 12:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547308544001,"power":28006,"unknown_67":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3470304965883355136}} 
[2026-08-21 12:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":161560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:10:09] local.INFO: GPS data processed {"connection_id":161560,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:10:09] local.INFO: Acknowledgment sent {"connection_id":161560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:10:13] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023096f40012dcfdf40051e37500012008430..."} 
[2026-08-21 12:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023096f40012dcfdf40051e37500012008430..."} 
[2026-08-21 12:10:13] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023096f40012dcfdf40051e37500012008430..."} 
[2026-08-21 12:10:13] local.INFO: Packet analysis {"connection_id":161560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:10:13] local.INFO: Extracted packet for processing {"connection_id":161560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:10:13] local.INFO: GPS Element Parsed {"raw_longitude":768597824,"raw_latitude":85866320,"longitude_deg":76.8597824,"latitude_deg":8.586632,"altitude":18,"angle":132,"satellites":48,"speed":5,"hex_longitude":"2dcfdf40","hex_latitude":"051e3750","is_valid_coordinates":true} 
[2026-08-21 12:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547313920001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160065967751168,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3469882753418416128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787294216000,"timestamp_ms":1787294216000,"timestamp_seconds":1787294216,"priority":1,"record_length":96,"hex_timestamp":"000001a023096f40"} 
[2026-08-21 12:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 12:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547313920001,"66":27984,"67":206,"80":34816,"24":5,"16":388160065967751168,"45":-3469882753418416128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547313920001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:10:13] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:10:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160065967751168,"km_value":388160065967751.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3469882753418416128,"description":"Unknown IO ID 45"} 
[2026-08-21 12:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547313920001,"power":27984,"unknown_67":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3469882753418416128}} 
[2026-08-21 12:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":161560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:10:13] local.INFO: GPS data processed {"connection_id":161560,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:10:13] local.INFO: Acknowledgment sent {"connection_id":161560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:10:16] local.INFO: TCP Data received {"connection_id":161560,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02309c148012dcfe2c0051e33b00011008430..."} 
[2026-08-21 12:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02309c148012dcfe2c0051e33b00011008430..."} 
[2026-08-21 12:10:16] local.INFO: Processing buffer {"connection_id":161560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02309c148012dcfe2c0051e33b00011008430..."} 
[2026-08-21 12:10:16] local.INFO: Packet analysis {"connection_id":161560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:10:16] local.INFO: Extracted packet for processing {"connection_id":161560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":768598720,"raw_latitude":85865392,"longitude_deg":76.859872,"latitude_deg":8.5865392,"altitude":17,"angle":132,"satellites":48,"speed":0,"hex_longitude":"2dcfe2c0","hex_latitude":"051e33b0","is_valid_coordinates":true} 
[2026-08-21 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547319296001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160134687227904,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3467982797326036992,"note":"Value kept but may cause issues"} 
[2026-08-21 12:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787294237000,"timestamp_ms":1787294237000,"timestamp_seconds":1787294237,"priority":1,"record_length":96,"hex_timestamp":"000001a02309c148"} 
[2026-08-21 12:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 12:10:16] 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-08-21 12:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547319296001,"66":27995,"67":206,"80":34816,"24":0,"16":388160134687227904,"45":-3467982797326036992},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547319296001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:10:16] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:10:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160134687227904,"km_value":388160134687227.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3467982797326036992,"description":"Unknown IO ID 45"} 
[2026-08-21 12:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547319296001,"power":27995,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3467982797326036992}} 
[2026-08-21 12:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":161560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:10:16] local.INFO: GPS data processed {"connection_id":161560,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:10:16] local.INFO: Acknowledgment sent {"connection_id":161560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:10:58] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:58] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:58] local.INFO: IMEI packet received {"connection_id":159013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":159013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:10:58] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:58] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:10:58] local.INFO: IMEI packet received {"connection_id":159013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":159013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:11:03] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:11:03] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:11:03] local.INFO: IMEI packet received {"connection_id":159013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":159013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:11:04] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02309e858012dcfe580051e30880010009030..."} 
[2026-08-21 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02309e858012dcfe580051e30880010009030..."} 
[2026-08-21 12:11:04] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02309e858012dcfe580051e30880010009030..."} 
[2026-08-21 12:11:04] local.INFO: Packet analysis {"connection_id":159013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:11:04] local.INFO: Extracted packet for processing {"connection_id":159013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":768599424,"raw_latitude":85864584,"longitude_deg":76.8599424,"latitude_deg":8.5864584,"altitude":16,"angle":144,"satellites":48,"speed":6,"hex_longitude":"2dcfe580","hex_latitude":"051e3088","is_valid_coordinates":true} 
[2026-08-21 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547324672001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160186226835456,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3466997634907787264,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787294247000,"timestamp_ms":1787294247000,"timestamp_seconds":1787294247,"priority":1,"record_length":96,"hex_timestamp":"000001a02309e858"} 
[2026-08-21 12:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:11: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-08-21 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 12:11: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-08-21 12:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:11: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-08-21 12:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547324672001,"66":27800,"67":206,"80":34816,"24":6,"16":388160186226835456,"45":-3466997634907787264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547324672001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160186226835456,"km_value":388160186226835.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3466997634907787264,"description":"Unknown IO ID 45"} 
[2026-08-21 12:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547324672001,"power":27800,"unknown_67":206,"unknown_80":34816,"ignition":6,"odometer":null,"unknown_45":-3466997634907787264}} 
[2026-08-21 12:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":159013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:11:04] local.INFO: GPS data processed {"connection_id":159013,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:11:04] local.INFO: Acknowledgment sent {"connection_id":159013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:11:08] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02309f028012dcfe680051e2f480010008530..."} 
[2026-08-21 12:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02309f028012dcfe680051e2f480010008530..."} 
[2026-08-21 12:11:08] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02309f028012dcfe680051e2f480010008530..."} 
[2026-08-21 12:11:08] local.INFO: Packet analysis {"connection_id":159013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:11:08] local.INFO: Extracted packet for processing {"connection_id":159013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02309"} 
[2026-08-21 12:11:08] local.INFO: GPS Element Parsed {"raw_longitude":768599680,"raw_latitude":85864264,"longitude_deg":76.859968,"latitude_deg":8.5864264,"altitude":16,"angle":133,"satellites":48,"speed":9,"hex_longitude":"2dcfe680","hex_latitude":"051e2f48","is_valid_coordinates":true} 
[2026-08-21 12:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547327232001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160207701671936,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3466223578722039808,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787294249000,"timestamp_ms":1787294249000,"timestamp_seconds":1787294249,"priority":1,"record_length":96,"hex_timestamp":"000001a02309f028"} 
[2026-08-21 12:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:11: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-08-21 12:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547327232001,"66":28028,"67":206,"80":34816,"24":9,"16":388160207701671936,"45":-3466223578722039808},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547327232001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:11:08] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:11:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160207701671936,"km_value":388160207701671.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3466223578722039808,"description":"Unknown IO ID 45"} 
[2026-08-21 12:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547327232001,"power":28028,"unknown_67":206,"unknown_80":34816,"ignition":9,"odometer":null,"unknown_45":-3466223578722039808}} 
[2026-08-21 12:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":159013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:11:08] local.INFO: GPS data processed {"connection_id":159013,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:11:08] local.INFO: Acknowledgment sent {"connection_id":159013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:11:39] local.INFO: TCP Data received {"connection_id":159013,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230a4230012dcfed40051e27c8000f008830..."} 
[2026-08-21 12:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230a4230012dcfed40051e27c8000f008830..."} 
[2026-08-21 12:11:39] local.INFO: Processing buffer {"connection_id":159013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230a4230012dcfed40051e27c8000f008830..."} 
[2026-08-21 12:11:39] local.INFO: Packet analysis {"connection_id":159013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:11:39] local.INFO: Extracted packet for processing {"connection_id":159013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:11:39] local.INFO: GPS Element Parsed {"raw_longitude":768601408,"raw_latitude":85862344,"longitude_deg":76.8601408,"latitude_deg":8.5862344,"altitude":15,"angle":136,"satellites":48,"speed":4,"hex_longitude":"2dcfed40","hex_latitude":"051e27c8","is_valid_coordinates":true} 
[2026-08-21 12:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547327744001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160332255723520,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3465942103745411072,"note":"Value kept but may cause issues"} 
[2026-08-21 12:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787294270000,"timestamp_ms":1787294270000,"timestamp_seconds":1787294270,"priority":1,"record_length":96,"hex_timestamp":"000001a0230a4230"} 
[2026-08-21 12:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 12:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547327744001,"66":27865,"67":206,"80":34816,"24":4,"16":388160332255723520,"45":-3465942103745411072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547327744001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:11:39] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:11:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160332255723520,"km_value":388160332255723.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3465942103745411072,"description":"Unknown IO ID 45"} 
[2026-08-21 12:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547327744001,"power":27865,"unknown_67":206,"unknown_80":34816,"ignition":4,"odometer":null,"unknown_45":-3465942103745411072}} 
[2026-08-21 12:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":159013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:11:39] local.INFO: GPS data processed {"connection_id":159013,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:11:39] local.INFO: Acknowledgment sent {"connection_id":159013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:11:58] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:11:58] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:11:58] local.INFO: IMEI packet received {"connection_id":160206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":160206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:12:01] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:12:01] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:12:01] local.INFO: IMEI packet received {"connection_id":160206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":160206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:12:02] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230a9438012dcff2c0051e21b0000e008630..."} 
[2026-08-21 12:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230a9438012dcff2c0051e21b0000e008630..."} 
[2026-08-21 12:12:02] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230a9438012dcff2c0051e21b0000e008630..."} 
[2026-08-21 12:12:02] local.INFO: Packet analysis {"connection_id":160206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:12:02] local.INFO: Extracted packet for processing {"connection_id":160206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:12:02] local.INFO: GPS Element Parsed {"raw_longitude":768602816,"raw_latitude":85860784,"longitude_deg":76.8602816,"latitude_deg":8.5860784,"altitude":14,"angle":134,"satellites":48,"speed":4,"hex_longitude":"2dcff2c0","hex_latitude":"051e21b0","is_valid_coordinates":true} 
[2026-08-21 12:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547333120001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160439629905920,"note":"Value kept but may cause issues"} 
[2026-08-21 12:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3464042147653105664,"note":"Value kept but may cause issues"} 
[2026-08-21 12:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787294291000,"timestamp_ms":1787294291000,"timestamp_seconds":1787294291,"priority":1,"record_length":96,"hex_timestamp":"000001a0230a9438"} 
[2026-08-21 12:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 12:12:02] 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-08-21 12:12:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547333120001,"66":27843,"67":206,"80":34816,"24":4,"16":388160439629905920,"45":-3464042147653105664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547333120001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:12:02] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:12:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160439629905920,"km_value":388160439629905.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3464042147653105664,"description":"Unknown IO ID 45"} 
[2026-08-21 12:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547333120001,"power":27843,"unknown_67":206,"unknown_80":34816,"ignition":4,"odometer":null,"unknown_45":-3464042147653105664}} 
[2026-08-21 12:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":160206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:12:02] local.INFO: GPS data processed {"connection_id":160206,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:12:02] local.INFO: Acknowledgment sent {"connection_id":160206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:12:33] local.INFO: TCP Data received {"connection_id":160206,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230ae640012dcffbc0051e1700000c00862f..."} 
[2026-08-21 12:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230ae640012dcffbc0051e1700000c00862f..."} 
[2026-08-21 12:12:33] local.INFO: Processing buffer {"connection_id":160206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230ae640012dcffbc0051e1700000c00862f..."} 
[2026-08-21 12:12:33] local.INFO: Packet analysis {"connection_id":160206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:12:33] local.INFO: Extracted packet for processing {"connection_id":160206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":768605120,"raw_latitude":85858048,"longitude_deg":76.860512,"latitude_deg":8.5858048,"altitude":12,"angle":134,"satellites":47,"speed":12,"hex_longitude":"2dcffbc0","hex_latitude":"051e1700","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547338496001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160615723565056,"note":"Value kept but may cause issues"} 
[2026-08-21 12:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3462494035281596416,"note":"Value kept but may cause issues"} 
[2026-08-21 12:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787294312000,"timestamp_ms":1787294312000,"timestamp_seconds":1787294312,"priority":1,"record_length":96,"hex_timestamp":"000001a0230ae640"} 
[2026-08-21 12:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:12: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-08-21 12:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547338496001,"66":27767,"67":206,"80":34816,"24":12,"16":388160615723565056,"45":-3462494035281596416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547338496001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:12:33] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:12:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160615723565056,"km_value":388160615723565.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3462494035281596416,"description":"Unknown IO ID 45"} 
[2026-08-21 12:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547338496001,"power":27767,"unknown_67":206,"unknown_80":34816,"ignition":12,"odometer":null,"unknown_45":-3462494035281596416}} 
[2026-08-21 12:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":160206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:12:33] local.INFO: GPS data processed {"connection_id":160206,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:12:33] local.INFO: Acknowledgment sent {"connection_id":160206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:12:58] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:12:58] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:12:58] local.INFO: IMEI packet received {"connection_id":161561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":161561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:13:03] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:13:03] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:13:03] local.INFO: IMEI packet received {"connection_id":161561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":161561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:13:04] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230af1f8012dcffdc0051e13e0000b00982e..."} 
[2026-08-21 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230af1f8012dcffdc0051e13e0000b00982e..."} 
[2026-08-21 12:13:04] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230af1f8012dcffdc0051e13e0000b00982e..."} 
[2026-08-21 12:13:04] local.INFO: Packet analysis {"connection_id":161561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:13:04] local.INFO: Extracted packet for processing {"connection_id":161561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230a"} 
[2026-08-21 12:13:04] local.INFO: GPS Element Parsed {"raw_longitude":768605632,"raw_latitude":85857248,"longitude_deg":76.8605632,"latitude_deg":8.5857248,"altitude":11,"angle":152,"satellites":46,"speed":10,"hex_longitude":"2dcffdc0","hex_latitude":"051e13e0","is_valid_coordinates":true} 
[2026-08-21 12:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547343872001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160662968205312,"note":"Value kept but may cause issues"} 
[2026-08-21 12:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3459960760491900928,"note":"Value kept but may cause issues"} 
[2026-08-21 12:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787294315000,"timestamp_ms":1787294315000,"timestamp_seconds":1787294315,"priority":1,"record_length":96,"hex_timestamp":"000001a0230af1f8"} 
[2026-08-21 12:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:13: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-08-21 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:13: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-08-21 12:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547343872001,"66":27800,"67":206,"80":34816,"24":10,"16":388160662968205312,"45":-3459960760491900928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547343872001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:13:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:13:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160662968205312,"km_value":388160662968205.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3459960760491900928,"description":"Unknown IO ID 45"} 
[2026-08-21 12:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547343872001,"power":27800,"unknown_67":206,"unknown_80":34816,"ignition":10,"odometer":null,"unknown_45":-3459960760491900928}} 
[2026-08-21 12:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":161561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:13:04] local.INFO: GPS data processed {"connection_id":161561,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:13:04] local.INFO: Acknowledgment sent {"connection_id":161561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:13:34] local.INFO: TCP Data received {"connection_id":161561,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230b4400012dcfff80051e1158000a00932f..."} 
[2026-08-21 12:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230b4400012dcfff80051e1158000a00932f..."} 
[2026-08-21 12:13:34] local.INFO: Processing buffer {"connection_id":161561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230b4400012dcfff80051e1158000a00932f..."} 
[2026-08-21 12:13:34] local.INFO: Packet analysis {"connection_id":161561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230b"} 
[2026-08-21 12:13:34] local.INFO: Extracted packet for processing {"connection_id":161561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230b"} 
[2026-08-21 12:13:34] local.INFO: GPS Element Parsed {"raw_longitude":768606080,"raw_latitude":85856600,"longitude_deg":76.860608,"latitude_deg":8.58566,"altitude":10,"angle":147,"satellites":47,"speed":0,"hex_longitude":"2dcfff80","hex_latitude":"051e1158","is_valid_coordinates":true} 
[2026-08-21 12:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547344640001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160701622910976,"note":"Value kept but may cause issues"} 
[2026-08-21 12:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3459397810538684416,"note":"Value kept but may cause issues"} 
[2026-08-21 12:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787294336000,"timestamp_ms":1787294336000,"timestamp_seconds":1787294336,"priority":1,"record_length":96,"hex_timestamp":"000001a0230b4400"} 
[2026-08-21 12:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:13:34] 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-08-21 12:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547344640001,"66":27843,"67":206,"80":34816,"24":0,"16":388160701622910976,"45":-3459397810538684416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547344640001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:13:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160701622910976,"km_value":388160701622911.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3459397810538684416,"description":"Unknown IO ID 45"} 
[2026-08-21 12:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547344640001,"power":27843,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3459397810538684416}} 
[2026-08-21 12:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":161561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:13:34] local.INFO: GPS data processed {"connection_id":161561,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:13:34] local.INFO: Acknowledgment sent {"connection_id":161561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:13:58] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:13:58] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:13:58] local.INFO: IMEI packet received {"connection_id":159306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":159306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:14:03] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:14:03] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:14:03] local.INFO: IMEI packet received {"connection_id":159306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":159306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:14:04] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230b9608012dd00180051e0fc8000e009330..."} 
[2026-08-21 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230b9608012dd00180051e0fc8000e009330..."} 
[2026-08-21 12:14:04] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230b9608012dd00180051e0fc8000e009330..."} 
[2026-08-21 12:14:04] local.INFO: Packet analysis {"connection_id":159306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230b"} 
[2026-08-21 12:14:04] local.INFO: Extracted packet for processing {"connection_id":159306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230b"} 
[2026-08-21 12:14:04] local.INFO: GPS Element Parsed {"raw_longitude":768606592,"raw_latitude":85856200,"longitude_deg":76.8606592,"latitude_deg":8.58562,"altitude":14,"angle":147,"satellites":48,"speed":0,"hex_longitude":"2dd00180","hex_latitude":"051e0fc8","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547350016001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388160731687682048,"note":"Value kept but may cause issues"} 
[2026-08-21 12:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3458905229329606656,"note":"Value kept but may cause issues"} 
[2026-08-21 12:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787294357000,"timestamp_ms":1787294357000,"timestamp_seconds":1787294357,"priority":1,"record_length":96,"hex_timestamp":"000001a0230b9608"} 
[2026-08-21 12:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12: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-08-21 12:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547350016001,"66":27865,"67":206,"80":34816,"24":0,"16":388160731687682048,"45":-3458905229329606656},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547350016001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:14:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:14:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388160731687682048,"km_value":388160731687682.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3458905229329606656,"description":"Unknown IO ID 45"} 
[2026-08-21 12:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547350016001,"power":27865,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3458905229329606656}} 
[2026-08-21 12:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":159306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:14:04] local.INFO: GPS data processed {"connection_id":159306,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:14:04] local.INFO: Acknowledgment sent {"connection_id":159306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:14:34] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230f1c60012dd03f00051dbee0000f008c2f..."} 
[2026-08-21 12:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230f1c60012dd03f00051dbee0000f008c2f..."} 
[2026-08-21 12:14:34] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230f1c60012dd03f00051dbee0000f008c2f..."} 
[2026-08-21 12:14:34] local.INFO: Packet analysis {"connection_id":159306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230f"} 
[2026-08-21 12:14:34] local.INFO: Extracted packet for processing {"connection_id":159306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230f"} 
[2026-08-21 12:14:34] local.INFO: GPS Element Parsed {"raw_longitude":768622336,"raw_latitude":85835488,"longitude_deg":76.8622336,"latitude_deg":8.5835488,"altitude":15,"angle":140,"satellites":47,"speed":6,"hex_longitude":"2dd03f00","hex_latitude":"051dbee0","is_valid_coordinates":true} 
[2026-08-21 12:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547409152001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388162028767805440,"note":"Value kept but may cause issues"} 
[2026-08-21 12:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3443001893150345216,"note":"Value kept but may cause issues"} 
[2026-08-21 12:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787294588000,"timestamp_ms":1787294588000,"timestamp_seconds":1787294588,"priority":1,"record_length":96,"hex_timestamp":"000001a0230f1c60"} 
[2026-08-21 12:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:14:34] 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-08-21 12:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547409152001,"66":27974,"67":206,"80":34816,"24":6,"16":388162028767805440,"45":-3443001893150345216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547409152001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:14:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388162028767805440,"km_value":388162028767805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3443001893150345216,"description":"Unknown IO ID 45"} 
[2026-08-21 12:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547409152001,"power":27974,"unknown_67":206,"unknown_80":34816,"ignition":6,"odometer":null,"unknown_45":-3443001893150345216}} 
[2026-08-21 12:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":159306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:14:34] local.INFO: GPS data processed {"connection_id":159306,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:14:34] local.INFO: Acknowledgment sent {"connection_id":159306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:14:58] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:14:58] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:14:58] local.INFO: IMEI packet received {"connection_id":159014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":159014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:15:03] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:03] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:03] local.INFO: IMEI packet received {"connection_id":159014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":159014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:15:04] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230f6e68012dd04240051dbb08000f008a2e..."} 
[2026-08-21 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230f6e68012dd04240051dbb08000f008a2e..."} 
[2026-08-21 12:15:04] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230f6e68012dd04240051dbb08000f008a2e..."} 
[2026-08-21 12:15:04] local.INFO: Packet analysis {"connection_id":159014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230f"} 
[2026-08-21 12:15:04] local.INFO: Extracted packet for processing {"connection_id":159014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230f"} 
[2026-08-21 12:15:04] local.INFO: GPS Element Parsed {"raw_longitude":768623168,"raw_latitude":85834504,"longitude_deg":76.8623168,"latitude_deg":8.5834504,"altitude":15,"angle":138,"satellites":46,"speed":0,"hex_longitude":"2dd04240","hex_latitude":"051dbb08","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547414528001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388162093192314880,"note":"Value kept but may cause issues"} 
[2026-08-21 12:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3441031568313884672,"note":"Value kept but may cause issues"} 
[2026-08-21 12:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787294609000,"timestamp_ms":1787294609000,"timestamp_seconds":1787294609,"priority":1,"record_length":96,"hex_timestamp":"000001a0230f6e68"} 
[2026-08-21 12:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:15: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-08-21 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 12:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:15: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-08-21 12:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547414528001,"66":27908,"67":206,"80":34816,"24":0,"16":388162093192314880,"45":-3441031568313884672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547414528001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:15:04] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:15:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388162093192314880,"km_value":388162093192314.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3441031568313884672,"description":"Unknown IO ID 45"} 
[2026-08-21 12:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547414528001,"power":27908,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3441031568313884672}} 
[2026-08-21 12:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":159014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:15:04] local.INFO: GPS data processed {"connection_id":159014,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:15:04] local.INFO: Acknowledgment sent {"connection_id":159014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:15:35] local.INFO: TCP Data received {"connection_id":159014,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0230fc070012dd04480051db828000e008a2d..."} 
[2026-08-21 12:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0230fc070012dd04480051db828000e008a2d..."} 
[2026-08-21 12:15:35] local.INFO: Processing buffer {"connection_id":159014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0230fc070012dd04480051db828000e008a2d..."} 
[2026-08-21 12:15:35] local.INFO: Packet analysis {"connection_id":159014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0230f"} 
[2026-08-21 12:15:35] local.INFO: Extracted packet for processing {"connection_id":159014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0230f"} 
[2026-08-21 12:15:35] local.INFO: GPS Element Parsed {"raw_longitude":768623744,"raw_latitude":85833768,"longitude_deg":76.8623744,"latitude_deg":8.5833768,"altitude":14,"angle":138,"satellites":45,"speed":0,"hex_longitude":"2dd04480","hex_latitude":"051db828","is_valid_coordinates":true} 
[2026-08-21 12:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547419904001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388162140436955136,"note":"Value kept but may cause issues"} 
[2026-08-21 12:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3440116774639826944,"note":"Value kept but may cause issues"} 
[2026-08-21 12:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787294630000,"timestamp_ms":1787294630000,"timestamp_seconds":1787294630,"priority":1,"record_length":96,"hex_timestamp":"000001a0230fc070"} 
[2026-08-21 12:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:15: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-08-21 12:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:15:35] 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-08-21 12:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547419904001,"66":27995,"67":206,"80":34816,"24":0,"16":388162140436955136,"45":-3440116774639826944},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 12:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547419904001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:15:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 12:15:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388162140436955136,"km_value":388162140436955.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3440116774639826944,"description":"Unknown IO ID 45"} 
[2026-08-21 12:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547419904001,"power":27995,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3440116774639826944}} 
[2026-08-21 12:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":159014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:15:35] local.INFO: GPS data processed {"connection_id":159014,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:15:35] local.INFO: Acknowledgment sent {"connection_id":159014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:15:56] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:56] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:56] local.INFO: IMEI packet received {"connection_id":159307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":159307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:15:58] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:58] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:58] local.INFO: IMEI packet received {"connection_id":159307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:15:58] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:58] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:58] local.INFO: IMEI packet received {"connection_id":159307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:15:59] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:59] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:15:59] local.INFO: IMEI packet received {"connection_id":159307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":159307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:21:09] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:09] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:09] local.INFO: IMEI packet received {"connection_id":160207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":160207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:21:11] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023151f70012dd14a00051c5ff8000f00962e..."} 
[2026-08-21 12:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023151f70012dd14a00051c5ff8000f00962e..."} 
[2026-08-21 12:21:11] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023151f70012dd14a00051c5ff8000f00962e..."} 
[2026-08-21 12:21:11] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02315"} 
[2026-08-21 12:21:11] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02315"} 
[2026-08-21 12:21:11] local.INFO: GPS Element Parsed {"raw_longitude":768690688,"raw_latitude":85745656,"longitude_deg":76.8690688,"latitude_deg":8.5745656,"altitude":15,"angle":150,"satellites":46,"speed":52,"hex_longitude":"2dd14a00","hex_latitude":"051c5ff8","is_valid_coordinates":true} 
[2026-08-21 12:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547513600001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388167552095748096,"note":"Value kept but may cause issues"} 
[2026-08-21 12:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3370873930389755904,"note":"Value kept but may cause issues"} 
[2026-08-21 12:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787294982000,"timestamp_ms":1787294982000,"timestamp_seconds":1787294982,"priority":1,"record_length":96,"hex_timestamp":"000001a023151f70"} 
[2026-08-21 12:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:21: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-08-21 12:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547513600001,"66":27821,"56":206,"80":34816,"24":52,"16":388167552095748096,"45":-3370873930389755904},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,80,24,16,45]} 
[2026-08-21 12:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547513600001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:21:11] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-08-21 12:21:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388167552095748096,"km_value":388167552095748.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3370873930389755904,"description":"Unknown IO ID 45"} 
[2026-08-21 12:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547513600001,"power":27821,"unknown_56":206,"unknown_80":34816,"ignition":52,"odometer":null,"unknown_45":-3370873930389755904}} 
[2026-08-21 12:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:21:11] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:21:11] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:21:42] local.INFO: TCP Data received {"connection_id":160207,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023153ac8012dd15c40051c3e98001000992d..."} 
[2026-08-21 12:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023153ac8012dd15c40051c3e98001000992d..."} 
[2026-08-21 12:21:42] local.INFO: Processing buffer {"connection_id":160207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023153ac8012dd15c40051c3e98001000992d..."} 
[2026-08-21 12:21:42] local.INFO: Packet analysis {"connection_id":160207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02315"} 
[2026-08-21 12:21:42] local.INFO: Extracted packet for processing {"connection_id":160207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02315"} 
[2026-08-21 12:21:42] local.INFO: GPS Element Parsed {"raw_longitude":768695360,"raw_latitude":85737112,"longitude_deg":76.869536,"latitude_deg":8.5737112,"altitude":16,"angle":153,"satellites":45,"speed":57,"hex_longitude":"2dd15c40","hex_latitude":"051c3e98","is_valid_coordinates":true} 
[2026-08-21 12:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547515392001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388168020247183360,"note":"Value kept but may cause issues"} 
[2026-08-21 12:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3365877749555136512,"note":"Value kept but may cause issues"} 
[2026-08-21 12:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,246,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787294989000,"timestamp_ms":1787294989000,"timestamp_seconds":1787294989,"priority":1,"record_length":96,"hex_timestamp":"000001a023153ac8"} 
[2026-08-21 12:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 12:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547515392001,"66":27865,"246":206,"80":34816,"24":57,"16":388168020247183360,"45":-3365877749555136512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,246,80,24,16,45]} 
[2026-08-21 12:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547515392001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:21:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388168020247183360,"km_value":388168020247183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3365877749555136512,"description":"Unknown IO ID 45"} 
[2026-08-21 12:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547515392001,"power":27865,"main_input_voltage":206,"unknown_80":34816,"ignition":57,"odometer":null,"unknown_45":-3365877749555136512}} 
[2026-08-21 12:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":160207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:21:42] local.INFO: GPS data processed {"connection_id":160207,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:21:42] local.INFO: Acknowledgment sent {"connection_id":160207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:21:57] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:57] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:57] local.INFO: IMEI packet received {"connection_id":159017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":159017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:21:58] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:58] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:21:58] local.INFO: IMEI packet received {"connection_id":159017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:22:03] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:22:03] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:22:03] local.INFO: IMEI packet received {"connection_id":159017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":159017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:22:04] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023166b78012dd24380051ae9b0001800972f..."} 
[2026-08-21 12:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023166b78012dd24380051ae9b0001800972f..."} 
[2026-08-21 12:22:04] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023166b78012dd24380051ae9b0001800972f..."} 
[2026-08-21 12:22:04] local.INFO: Packet analysis {"connection_id":159017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02316"} 
[2026-08-21 12:22:04] local.INFO: Extracted packet for processing {"connection_id":159017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02316"} 
[2026-08-21 12:22:04] local.INFO: GPS Element Parsed {"raw_longitude":768754560,"raw_latitude":85649840,"longitude_deg":76.875456,"latitude_deg":8.564984,"altitude":24,"angle":151,"satellites":47,"speed":52,"hex_longitude":"2dd24380","hex_latitude":"051ae9b0","is_valid_coordinates":true} 
[2026-08-21 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547535360001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388173135553232896,"note":"Value kept but may cause issues"} 
[2026-08-21 12:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3300857029957376000,"note":"Value kept but may cause issues"} 
[2026-08-21 12:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787295067000,"timestamp_ms":1787295067000,"timestamp_seconds":1787295067,"priority":1,"record_length":96,"hex_timestamp":"000001a023166b78"} 
[2026-08-21 12:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:22: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-08-21 12:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:22: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-08-21 12:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:22: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-08-21 12:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547535360001,"66":27876,"42":206,"80":34816,"24":52,"16":388173135553232896,"45":-3300857029957376000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-21 12:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547535360001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388173135553232896,"km_value":388173135553232.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3300857029957376000,"description":"Unknown IO ID 45"} 
[2026-08-21 12:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547535360001,"power":27876,"unknown_42":206,"unknown_80":34816,"ignition":52,"odometer":null,"unknown_45":-3300857029957376000}} 
[2026-08-21 12:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":159017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:22:04] local.INFO: GPS data processed {"connection_id":159017,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:22:04] local.INFO: Acknowledgment sent {"connection_id":159017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:22:35] local.INFO: TCP Data received {"connection_id":159017,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231686d0012dd25300051ac998001800a12e..."} 
[2026-08-21 12:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231686d0012dd25300051ac998001800a12e..."} 
[2026-08-21 12:22:35] local.INFO: Processing buffer {"connection_id":159017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231686d0012dd25300051ac998001800a12e..."} 
[2026-08-21 12:22:35] local.INFO: Packet analysis {"connection_id":159017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02316"} 
[2026-08-21 12:22:35] local.INFO: Extracted packet for processing {"connection_id":159017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02316"} 
[2026-08-21 12:22:35] local.INFO: GPS Element Parsed {"raw_longitude":768758528,"raw_latitude":85641624,"longitude_deg":76.8758528,"latitude_deg":8.5641624,"altitude":24,"angle":161,"satellites":46,"speed":51,"hex_longitude":"2dd25300","hex_latitude":"051ac998","is_valid_coordinates":true} 
[2026-08-21 12:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547537152001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388173577934864384,"note":"Value kept but may cause issues"} 
[2026-08-21 12:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3295649742890356736,"note":"Value kept but may cause issues"} 
[2026-08-21 12:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787295074000,"timestamp_ms":1787295074000,"timestamp_seconds":1787295074,"priority":1,"record_length":96,"hex_timestamp":"000001a0231686d0"} 
[2026-08-21 12:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:22: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-08-21 12:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547537152001,"66":27919,"42":206,"80":34816,"24":51,"16":388173577934864384,"45":-3295649742890356736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-21 12:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547537152001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:22:35] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-21 12:22:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388173577934864384,"km_value":388173577934864.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3295649742890356736,"description":"Unknown IO ID 45"} 
[2026-08-21 12:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547537152001,"power":27919,"unknown_42":206,"unknown_80":34816,"ignition":51,"odometer":null,"unknown_45":-3295649742890356736}} 
[2026-08-21 12:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":159017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:22:35] local.INFO: GPS data processed {"connection_id":159017,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:22:35] local.INFO: Acknowledgment sent {"connection_id":159017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:23:33] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:23:33] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:23:33] local.INFO: IMEI packet received {"connection_id":161563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":161563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:23:34] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:23:34] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:23:34] local.INFO: IMEI packet received {"connection_id":161563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":161563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:23:35] local.INFO: TCP Data received {"connection_id":161563,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023179840012dd272c005194320001300ae2e..."} 
[2026-08-21 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023179840012dd272c005194320001300ae2e..."} 
[2026-08-21 12:23:35] local.INFO: Processing buffer {"connection_id":161563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023179840012dd272c005194320001300ae2e..."} 
[2026-08-21 12:23:35] local.INFO: Packet analysis {"connection_id":161563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:23:35] local.INFO: Extracted packet for processing {"connection_id":161563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:23:35] local.INFO: GPS Element Parsed {"raw_longitude":768766656,"raw_latitude":85541664,"longitude_deg":76.8766656,"latitude_deg":8.5541664,"altitude":19,"angle":174,"satellites":46,"speed":59,"hex_longitude":"2dd272c0","hex_latitude":"05194320","is_valid_coordinates":true} 
[2026-08-21 12:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547555328001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388178444132810752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3283264843940489216,"note":"Value kept but may cause issues"} 
[2026-08-21 12:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787295144000,"timestamp_ms":1787295144000,"timestamp_seconds":1787295144,"priority":1,"record_length":96,"hex_timestamp":"000001a023179840"} 
[2026-08-21 12:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:23: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-08-21 12: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:23:35] 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-08-21 12:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547555328001,"66":27691,"41":206,"80":34816,"24":59,"16":388178444132810752,"45":-3283264843940489216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-08-21 12:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547555328001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:23:35] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-21 12:23:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388178444132810752,"km_value":388178444132810.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3283264843940489216,"description":"Unknown IO ID 45"} 
[2026-08-21 12:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547555328001,"power":27691,"unknown_41":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3283264843940489216}} 
[2026-08-21 12:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":161563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:23:35] local.INFO: GPS data processed {"connection_id":161563,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:23:35] local.INFO: Acknowledgment sent {"connection_id":161563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:24:03] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:03] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:03] local.INFO: IMEI packet received {"connection_id":159309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":159309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:24:08] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:08] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:08] local.INFO: IMEI packet received {"connection_id":159309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":159309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:24:09] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02317afb0012dd2760005192030001200ad2e..."} 
[2026-08-21 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02317afb0012dd2760005192030001200ad2e..."} 
[2026-08-21 12:24:09] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02317afb0012dd2760005192030001200ad2e..."} 
[2026-08-21 12:24:09] local.INFO: Packet analysis {"connection_id":159309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:24:09] local.INFO: Extracted packet for processing {"connection_id":159309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:24:09] local.INFO: GPS Element Parsed {"raw_longitude":768767488,"raw_latitude":85532720,"longitude_deg":76.8767488,"latitude_deg":8.553272,"altitude":18,"angle":173,"satellites":46,"speed":59,"hex_longitude":"2dd27600","hex_latitude":"05192030","is_valid_coordinates":true} 
[2026-08-21 12:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547556864001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388178877924507648,"note":"Value kept but may cause issues"} 
[2026-08-21 12:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3282350050268471296,"note":"Value kept but may cause issues"} 
[2026-08-21 12:24:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787295150000,"timestamp_ms":1787295150000,"timestamp_seconds":1787295150,"priority":1,"record_length":96,"hex_timestamp":"000001a02317afb0"} 
[2026-08-21 12:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 12:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:24: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-08-21 12:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547556864001,"66":27821,"41":206,"80":34816,"24":59,"16":388178877924507648,"45":-3282350050268471296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,80,24,16,45]} 
[2026-08-21 12:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547556864001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 12:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388178877924507648,"km_value":388178877924507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3282350050268471296,"description":"Unknown IO ID 45"} 
[2026-08-21 12:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547556864001,"power":27821,"unknown_41":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3282350050268471296}} 
[2026-08-21 12:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":159309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:24:09] local.INFO: GPS data processed {"connection_id":159309,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:24:09] local.INFO: Acknowledgment sent {"connection_id":159309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:24:40] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02317c720012dd279400518fd18000f00af2e..."} 
[2026-08-21 12:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02317c720012dd279400518fd18000f00af2e..."} 
[2026-08-21 12:24:40] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02317c720012dd279400518fd18000f00af2e..."} 
[2026-08-21 12:24:40] local.INFO: Packet analysis {"connection_id":159309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:24:40] local.INFO: Extracted packet for processing {"connection_id":159309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:24:40] local.INFO: GPS Element Parsed {"raw_longitude":768768320,"raw_latitude":85523736,"longitude_deg":76.876832,"latitude_deg":8.5523736,"altitude":15,"angle":175,"satellites":46,"speed":59,"hex_longitude":"2dd27940","hex_latitude":"0518fd18","is_valid_coordinates":true} 
[2026-08-21 12:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547558400001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388179316011171840,"note":"Value kept but may cause issues"} 
[2026-08-21 12:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3281435256596451328,"note":"Value kept but may cause issues"} 
[2026-08-21 12:24:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787295156000,"timestamp_ms":1787295156000,"timestamp_seconds":1787295156,"priority":1,"record_length":96,"hex_timestamp":"000001a02317c720"} 
[2026-08-21 12:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 12:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:24: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-08-21 12:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547558400001,"66":27767,"80":34304,"24":59,"16":388179316011171840,"45":-3281435256596451328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 12:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547558400001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:24:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388179316011171840,"km_value":388179316011171.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3281435256596451328,"description":"Unknown IO ID 45"} 
[2026-08-21 12:24:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457547558400001,"power":27767,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-3281435256596451328}} 
[2026-08-21 12:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":159309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:24:40] local.INFO: GPS data processed {"connection_id":159309,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:24:40] local.INFO: Acknowledgment sent {"connection_id":159309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:24:58] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:58] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:58] local.INFO: IMEI packet received {"connection_id":161564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":161564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:24:58] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:58] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:24:58] local.INFO: IMEI packet received {"connection_id":161564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":161564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:25:03] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:25:03] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:25:03] local.INFO: IMEI packet received {"connection_id":161564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":161564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:25:04] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02317de90012dd27c800518da50000e00ae2f..."} 
[2026-08-21 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02317de90012dd27c800518da50000e00ae2f..."} 
[2026-08-21 12:25:04] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02317de90012dd27c800518da50000e00ae2f..."} 
[2026-08-21 12:25:04] local.INFO: Packet analysis {"connection_id":161564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:25:04] local.INFO: Extracted packet for processing {"connection_id":161564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02317"} 
[2026-08-21 12:25:04] local.INFO: GPS Element Parsed {"raw_longitude":768769152,"raw_latitude":85514832,"longitude_deg":76.8769152,"latitude_deg":8.5514832,"altitude":14,"angle":174,"satellites":47,"speed":58,"hex_longitude":"2dd27c80","hex_latitude":"0518da50","is_valid_coordinates":true} 
[2026-08-21 12:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547559936001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388179749802868736,"note":"Value kept but may cause issues"} 
[2026-08-21 12:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3280520462924441600,"note":"Value kept but may cause issues"} 
[2026-08-21 12:25:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787295162000,"timestamp_ms":1787295162000,"timestamp_seconds":1787295162,"priority":1,"record_length":96,"hex_timestamp":"000001a02317de90"} 
[2026-08-21 12:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:25: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-08-21 12:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547559936001,"66":27832,"80":34304,"24":58,"16":388179749802868736,"45":-3280520462924441600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 12:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547559936001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:25:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388179749802868736,"km_value":388179749802868.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3280520462924441600,"description":"Unknown IO ID 45"} 
[2026-08-21 12:25:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457547559936001,"power":27832,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-3280520462924441600}} 
[2026-08-21 12:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":161564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:25:04] local.INFO: GPS data processed {"connection_id":161564,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:25:04] local.INFO: Acknowledgment sent {"connection_id":161564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:25:34] local.INFO: TCP Data received {"connection_id":161564,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02319ab80012dd2984005172590000b009e2f..."} 
[2026-08-21 12:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02319ab80012dd2984005172590000b009e2f..."} 
[2026-08-21 12:25:34] local.INFO: Processing buffer {"connection_id":161564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02319ab80012dd2984005172590000b009e2f..."} 
[2026-08-21 12:25:34] local.INFO: Packet analysis {"connection_id":161564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:25:34] local.INFO: Extracted packet for processing {"connection_id":161564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:25:34] local.INFO: GPS Element Parsed {"raw_longitude":768776256,"raw_latitude":85403024,"longitude_deg":76.8776256,"latitude_deg":8.5403024,"altitude":11,"angle":158,"satellites":47,"speed":55,"hex_longitude":"2dd29840","hex_latitude":"05172590","is_valid_coordinates":true} 
[2026-08-21 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547590144001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388185195821400064,"note":"Value kept but may cause issues"} 
[2026-08-21 12:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3274046538488887296,"note":"Value kept but may cause issues"} 
[2026-08-21 12:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787295280000,"timestamp_ms":1787295280000,"timestamp_seconds":1787295280,"priority":1,"record_length":96,"hex_timestamp":"000001a02319ab80"} 
[2026-08-21 12:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 12:25:34] 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-08-21 12:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547590144001,"66":27800,"52":206,"80":34304,"24":55,"16":388185195821400064,"45":-3274046538488887296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,80,24,16,45]} 
[2026-08-21 12:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547590144001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:25:34] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-08-21 12:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388185195821400064,"km_value":388185195821400.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3274046538488887296,"description":"Unknown IO ID 45"} 
[2026-08-21 12:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547590144001,"power":27800,"unknown_52":206,"unknown_80":34304,"ignition":55,"odometer":null,"unknown_45":-3274046538488887296}} 
[2026-08-21 12:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:25:34] local.INFO: GPS data processed {"connection_id":161564,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:25:34] local.INFO: Acknowledgment sent {"connection_id":161564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:26:02] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:02] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:02] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:26:02] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:02] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:02] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:26:10] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:10] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:10] local.INFO: IMEI packet received {"connection_id":160208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":160208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:26:12] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02319c2f0012dd2a64005170978000b00932f..."} 
[2026-08-21 12:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02319c2f0012dd2a64005170978000b00932f..."} 
[2026-08-21 12:26:12] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02319c2f0012dd2a64005170978000b00932f..."} 
[2026-08-21 12:26:12] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:26:12] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:26:12] local.INFO: GPS Element Parsed {"raw_longitude":768779840,"raw_latitude":85395832,"longitude_deg":76.877984,"latitude_deg":8.5395832,"altitude":11,"angle":147,"satellites":47,"speed":49,"hex_longitude":"2dd2a640","hex_latitude":"05170978","is_valid_coordinates":true} 
[2026-08-21 12:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547591680001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388185582368456704,"note":"Value kept but may cause issues"} 
[2026-08-21 12:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3271794738677313536,"note":"Value kept but may cause issues"} 
[2026-08-21 12:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787295286000,"timestamp_ms":1787295286000,"timestamp_seconds":1787295286,"priority":1,"record_length":96,"hex_timestamp":"000001a02319c2f0"} 
[2026-08-21 12:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547591680001,"66":27767,"107":206,"80":34304,"24":49,"16":388185582368456704,"45":-3271794738677313536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-08-21 12:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547591680001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:26:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 12:26:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388185582368456704,"km_value":388185582368456.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3271794738677313536,"description":"Unknown IO ID 45"} 
[2026-08-21 12:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547591680001,"power":27767,"unknown_107":206,"unknown_80":34304,"ignition":49,"odometer":null,"unknown_45":-3271794738677313536}} 
[2026-08-21 12:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:26:12] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:26:12] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:26:47] local.INFO: TCP Data received {"connection_id":160208,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02319e230012dd2bc000516ea18000a00902f..."} 
[2026-08-21 12:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02319e230012dd2bc000516ea18000a00902f..."} 
[2026-08-21 12:26:47] local.INFO: Processing buffer {"connection_id":160208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02319e230012dd2bc000516ea18000a00902f..."} 
[2026-08-21 12:26:47] local.INFO: Packet analysis {"connection_id":160208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:26:47] local.INFO: Extracted packet for processing {"connection_id":160208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":768785408,"raw_latitude":85387800,"longitude_deg":76.8785408,"latitude_deg":8.53878,"altitude":10,"angle":144,"satellites":47,"speed":49,"hex_longitude":"2dd2bc00","hex_latitude":"0516ea18","is_valid_coordinates":true} 
[2026-08-21 12:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547593216001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388186054814859264,"note":"Value kept but may cause issues"} 
[2026-08-21 12:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3267854089005205504,"note":"Value kept but may cause issues"} 
[2026-08-21 12:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787295294000,"timestamp_ms":1787295294000,"timestamp_seconds":1787295294,"priority":1,"record_length":96,"hex_timestamp":"000001a02319e230"} 
[2026-08-21 12:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:26: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-08-21 12:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:26: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-08-21 12:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547593216001,"66":27767,"107":206,"80":34304,"24":49,"16":388186054814859264,"45":-3267854089005205504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-08-21 12:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547593216001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:26:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 12:26:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388186054814859264,"km_value":388186054814859.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3267854089005205504,"description":"Unknown IO ID 45"} 
[2026-08-21 12:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547593216001,"power":27767,"unknown_107":206,"unknown_80":34304,"ignition":49,"odometer":null,"unknown_45":-3267854089005205504}} 
[2026-08-21 12:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":160208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:26:47] local.INFO: GPS data processed {"connection_id":160208,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:26:47] local.INFO: Acknowledgment sent {"connection_id":160208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:26:56] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:56] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:56] local.INFO: IMEI packet received {"connection_id":161565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":161565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:26:57] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:57] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:26:57] local.INFO: IMEI packet received {"connection_id":161565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":161565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:27:03] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:27:03] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:27:03] local.INFO: IMEI packet received {"connection_id":161565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":161565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:27:04] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02319fd88012dd2d0c00516cdb0000a00902e..."} 
[2026-08-21 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02319fd88012dd2d0c00516cdb0000a00902e..."} 
[2026-08-21 12:27:04] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02319fd88012dd2d0c00516cdb0000a00902e..."} 
[2026-08-21 12:27:04] local.INFO: Packet analysis {"connection_id":161565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:27:04] local.INFO: Extracted packet for processing {"connection_id":161565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02319"} 
[2026-08-21 12:27:04] local.INFO: GPS Element Parsed {"raw_longitude":768790720,"raw_latitude":85380528,"longitude_deg":76.879072,"latitude_deg":8.5380528,"altitude":10,"angle":144,"satellites":46,"speed":52,"hex_longitude":"2dd2d0c0","hex_latitude":"0516cdb0","is_valid_coordinates":true} 
[2026-08-21 12:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547595264001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388186492901523456,"note":"Value kept but may cause issues"} 
[2026-08-21 12:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3261732008263804928,"note":"Value kept but may cause issues"} 
[2026-08-21 12:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787295301000,"timestamp_ms":1787295301000,"timestamp_seconds":1787295301,"priority":1,"record_length":96,"hex_timestamp":"000001a02319fd88"} 
[2026-08-21 12:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:27: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-08-21 12:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:27: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-08-21 12:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547595264001,"66":27713,"107":206,"80":34304,"24":52,"16":388186492901523456,"45":-3261732008263804928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,80,24,16,45]} 
[2026-08-21 12:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547595264001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:27:04] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 12:27:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388186492901523456,"km_value":388186492901523.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3261732008263804928,"description":"Unknown IO ID 45"} 
[2026-08-21 12:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547595264001,"power":27713,"unknown_107":206,"unknown_80":34304,"ignition":52,"odometer":null,"unknown_45":-3261732008263804928}} 
[2026-08-21 12:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":161565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:27:04] local.INFO: GPS data processed {"connection_id":161565,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:27:04] local.INFO: Acknowledgment sent {"connection_id":161565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:27:42] local.INFO: TCP Data received {"connection_id":161565,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231a18e0012dd2e6000516b008000b008f2f..."} 
[2026-08-21 12:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231a18e0012dd2e6000516b008000b008f2f..."} 
[2026-08-21 12:27:42] local.INFO: Processing buffer {"connection_id":161565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231a18e0012dd2e6000516b008000b008f2f..."} 
[2026-08-21 12:27:42] local.INFO: Packet analysis {"connection_id":161565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231a"} 
[2026-08-21 12:27:42] local.INFO: Extracted packet for processing {"connection_id":161565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231a"} 
[2026-08-21 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":768796160,"raw_latitude":85372936,"longitude_deg":76.879616,"latitude_deg":8.5372936,"altitude":11,"angle":143,"satellites":47,"speed":53,"hex_longitude":"2dd2e600","hex_latitude":"0516b008","is_valid_coordinates":true} 
[2026-08-21 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547597056001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388186943873089536,"note":"Value kept but may cause issues"} 
[2026-08-21 12:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3255891402498920448,"note":"Value kept but may cause issues"} 
[2026-08-21 12:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787295308000,"timestamp_ms":1787295308000,"timestamp_seconds":1787295308,"priority":1,"record_length":96,"hex_timestamp":"000001a0231a18e0"} 
[2026-08-21 12:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 12:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547597056001,"66":27865,"237":206,"80":34304,"24":53,"16":388186943873089536,"45":-3255891402498920448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,80,24,16,45]} 
[2026-08-21 12:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547597056001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:27:42] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 12:27:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388186943873089536,"km_value":388186943873089.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3255891402498920448,"description":"Unknown IO ID 45"} 
[2026-08-21 12:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547597056001,"power":27865,"unknown_237":206,"unknown_80":34304,"ignition":53,"odometer":null,"unknown_45":-3255891402498920448}} 
[2026-08-21 12:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":161565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:27:42] local.INFO: GPS data processed {"connection_id":161565,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:27:42] local.INFO: Acknowledgment sent {"connection_id":161565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:27:58] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:27:58] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:27:58] local.INFO: IMEI packet received {"connection_id":159018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":159018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:28:00] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:00] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:00] local.INFO: IMEI packet received {"connection_id":159018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":159018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:28:03] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:03] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:03] local.INFO: IMEI packet received {"connection_id":159018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":159018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:28:04] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231bce60012dd3dcc005157840000b00872c..."} 
[2026-08-21 12:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231bce60012dd3dcc005157840000b00872c..."} 
[2026-08-21 12:28:04] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231bce60012dd3dcc005157840000b00872c..."} 
[2026-08-21 12:28:04] local.INFO: Packet analysis {"connection_id":159018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231b"} 
[2026-08-21 12:28:04] local.INFO: Extracted packet for processing {"connection_id":159018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231b"} 
[2026-08-21 12:28:04] local.INFO: GPS Element Parsed {"raw_longitude":768859328,"raw_latitude":85293120,"longitude_deg":76.8859328,"latitude_deg":8.529312,"altitude":11,"angle":135,"satellites":44,"speed":28,"hex_longitude":"2dd3dcc0","hex_latitude":"05157840","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547624192001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388191865905610752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3187774458155538432,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787295420000,"timestamp_ms":1787295420000,"timestamp_seconds":1787295420,"priority":1,"record_length":96,"hex_timestamp":"000001a0231bce60"} 
[2026-08-21 12:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 12:28:04] 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-08-21 12: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-08-21 12:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:28: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-08-21 12:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547624192001,"66":27908,"236":206,"80":34304,"24":28,"16":388191865905610752,"45":-3187774458155538432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-08-21 12:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547624192001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:28:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 12:28:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388191865905610752,"km_value":388191865905610.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3187774458155538432,"description":"Unknown IO ID 45"} 
[2026-08-21 12:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547624192001,"power":27908,"unknown_236":206,"unknown_80":34304,"ignition":28,"odometer":null,"unknown_45":-3187774458155538432}} 
[2026-08-21 12:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":159018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:28:04] local.INFO: GPS data processed {"connection_id":159018,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:28:04] local.INFO: Acknowledgment sent {"connection_id":159018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:28:09] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231bfd40012dd3f74005155d480010008829..."} 
[2026-08-21 12:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231bfd40012dd3f74005155d480010008829..."} 
[2026-08-21 12:28:09] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231bfd40012dd3f74005155d480010008829..."} 
[2026-08-21 12:28:09] local.INFO: Packet analysis {"connection_id":159018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231b"} 
[2026-08-21 12:28:09] local.INFO: Extracted packet for processing {"connection_id":159018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231b"} 
[2026-08-21 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":768866112,"raw_latitude":85286216,"longitude_deg":76.8866112,"latitude_deg":8.5286216,"altitude":16,"angle":136,"satellites":41,"speed":35,"hex_longitude":"2dd3f740","hex_latitude":"05155d48","is_valid_coordinates":true} 
[2026-08-21 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547627520001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388192334057046016,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3180456108762841088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787295432000,"timestamp_ms":1787295432000,"timestamp_seconds":1787295432,"priority":1,"record_length":96,"hex_timestamp":"000001a0231bfd40"} 
[2026-08-21 12:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547627520001,"66":27865,"252":206,"80":34304,"24":35,"16":388192334057046016,"45":-3180456108762841088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,80,24,16,45]} 
[2026-08-21 12:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547627520001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:28:09] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-21 12:28:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388192334057046016,"km_value":388192334057046.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3180456108762841088,"description":"Unknown IO ID 45"} 
[2026-08-21 12:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547627520001,"power":27865,"unknown_252":206,"unknown_80":34304,"ignition":35,"odometer":null,"unknown_45":-3180456108762841088}} 
[2026-08-21 12:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":159018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:28:09] local.INFO: GPS data processed {"connection_id":159018,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:28:09] local.INFO: Acknowledgment sent {"connection_id":159018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:28:40] local.INFO: TCP Data received {"connection_id":159018,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231c2450012dd4110005154370001300862a..."} 
[2026-08-21 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231c2450012dd4110005154370001300862a..."} 
[2026-08-21 12:28:40] local.INFO: Processing buffer {"connection_id":159018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231c2450012dd4110005154370001300862a..."} 
[2026-08-21 12:28:40] local.INFO: Packet analysis {"connection_id":159018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:28:40] local.INFO: Extracted packet for processing {"connection_id":159018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:28:40] local.INFO: GPS Element Parsed {"raw_longitude":768872704,"raw_latitude":85279600,"longitude_deg":76.8872704,"latitude_deg":8.52796,"altitude":19,"angle":134,"satellites":42,"speed":37,"hex_longitude":"2dd41100","hex_latitude":"05154370","is_valid_coordinates":true} 
[2026-08-21 12:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547630592001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388192780733644800,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3172997021881776128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787295442000,"timestamp_ms":1787295442000,"timestamp_seconds":1787295442,"priority":1,"record_length":96,"hex_timestamp":"000001a0231c2450"} 
[2026-08-21 12:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 12:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547630592001,"66":27843,"252":206,"80":34304,"24":37,"16":388192780733644800,"45":-3172997021881776128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,80,24,16,45]} 
[2026-08-21 12:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547630592001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:28:40] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-21 12:28:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388192780733644800,"km_value":388192780733644.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3172997021881776128,"description":"Unknown IO ID 45"} 
[2026-08-21 12:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547630592001,"power":27843,"unknown_252":206,"unknown_80":34304,"ignition":37,"odometer":null,"unknown_45":-3172997021881776128}} 
[2026-08-21 12:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":159018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:28:40] local.INFO: GPS data processed {"connection_id":159018,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:28:40] local.INFO: Acknowledgment sent {"connection_id":159018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:28:58] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:58] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:58] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:28:59] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:59] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:28:59] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:29:03] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:29:03] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:29:03] local.INFO: IMEI packet received {"connection_id":159019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":159019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:29:08] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231c4778012dd42a0005152a70001700852c..."} 
[2026-08-21 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231c4778012dd42a0005152a70001700852c..."} 
[2026-08-21 12:29:08] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231c4778012dd42a0005152a70001700852c..."} 
[2026-08-21 12:29:08] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:29:08] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":768879104,"raw_latitude":85273200,"longitude_deg":76.8879104,"latitude_deg":8.52732,"altitude":23,"angle":133,"satellites":44,"speed":40,"hex_longitude":"2dd42a00","hex_latitude":"05152a70","is_valid_coordinates":true} 
[2026-08-21 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547633152001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388193218820308992,"note":"Value kept but may cause issues"} 
[2026-08-21 12:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3165749041233170432,"note":"Value kept but may cause issues"} 
[2026-08-21 12:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787295451000,"timestamp_ms":1787295451000,"timestamp_seconds":1787295451,"priority":1,"record_length":96,"hex_timestamp":"000001a0231c4778"} 
[2026-08-21 12:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:29: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-08-21 12:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547633152001,"66":27876,"252":206,"80":34304,"24":40,"16":388193218820308992,"45":-3165749041233170432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,80,24,16,45]} 
[2026-08-21 12:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547633152001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388193218820308992,"km_value":388193218820309.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3165749041233170432,"description":"Unknown IO ID 45"} 
[2026-08-21 12:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547633152001,"power":27876,"unknown_252":206,"unknown_80":34304,"ignition":40,"odometer":null,"unknown_45":-3165749041233170432}} 
[2026-08-21 12:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:29:08] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:29:08] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:30:03] local.INFO: TCP Data received {"connection_id":159019,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231c6aa0012dd4444005151070001900872a..."} 
[2026-08-21 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231c6aa0012dd4444005151070001900872a..."} 
[2026-08-21 12:30:03] local.INFO: Processing buffer {"connection_id":159019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231c6aa0012dd4444005151070001900872a..."} 
[2026-08-21 12:30:03] local.INFO: Packet analysis {"connection_id":159019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:30:03] local.INFO: Extracted packet for processing {"connection_id":159019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":768885824,"raw_latitude":85266544,"longitude_deg":76.8885824,"latitude_deg":8.5266544,"altitude":25,"angle":135,"satellites":42,"speed":40,"hex_longitude":"2dd44440","hex_latitude":"05151070","is_valid_coordinates":true} 
[2026-08-21 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547635456001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388193674086842368,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3158712166817042432,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787295460000,"timestamp_ms":1787295460000,"timestamp_seconds":1787295460,"priority":1,"record_length":96,"hex_timestamp":"000001a0231c6aa0"} 
[2026-08-21 12:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:30:03] 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-08-21 12:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:30: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-08-21 12:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547635456001,"66":27039,"252":206,"80":34304,"24":40,"16":388193674086842368,"45":-3158712166817042432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,80,24,16,45]} 
[2026-08-21 12:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547635456001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:30:03] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-21 12:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388193674086842368,"km_value":388193674086842.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3158712166817042432,"description":"Unknown IO ID 45"} 
[2026-08-21 12:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547635456001,"power":27039,"unknown_252":206,"unknown_80":34304,"ignition":40,"odometer":null,"unknown_45":-3158712166817042432}} 
[2026-08-21 12:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":159019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:30:03] local.INFO: GPS data processed {"connection_id":159019,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:30:03] local.INFO: Acknowledgment sent {"connection_id":159019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:30:11] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:30:11] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:30:11] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:30:13] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:30:13] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:30:13] local.INFO: IMEI packet received {"connection_id":160209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":160209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:30:14] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231c8dc8012dd45f400514f4d0001a008929..."} 
[2026-08-21 12:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231c8dc8012dd45f400514f4d0001a008929..."} 
[2026-08-21 12:30:14] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231c8dc8012dd45f400514f4d0001a008929..."} 
[2026-08-21 12:30:14] local.INFO: Packet analysis {"connection_id":160209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:30:14] local.INFO: Extracted packet for processing {"connection_id":160209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:30:14] local.INFO: GPS Element Parsed {"raw_longitude":768892736,"raw_latitude":85259472,"longitude_deg":76.8892736,"latitude_deg":8.5259472,"altitude":26,"angle":137,"satellites":41,"speed":45,"hex_longitude":"2dd45f40","hex_latitude":"0514f4d0","is_valid_coordinates":true} 
[2026-08-21 12:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547637760001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388194150828212224,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3151323448680091648,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787295469000,"timestamp_ms":1787295469000,"timestamp_seconds":1787295469,"priority":1,"record_length":96,"hex_timestamp":"000001a0231c8dc8"} 
[2026-08-21 12:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-08-21 12:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547637760001,"66":28006,"252":206,"80":34304,"24":45,"16":388194150828212224,"45":-3151323448680091648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,80,24,16,45]} 
[2026-08-21 12:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547637760001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:30:14] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-08-21 12:30:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388194150828212224,"km_value":388194150828212.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3151323448680091648,"description":"Unknown IO ID 45"} 
[2026-08-21 12:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547637760001,"power":28006,"unknown_252":206,"unknown_80":34304,"ignition":45,"odometer":null,"unknown_45":-3151323448680091648}} 
[2026-08-21 12:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":160209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:30:14] local.INFO: GPS data processed {"connection_id":160209,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:30:14] local.INFO: Acknowledgment sent {"connection_id":160209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:30:19] local.INFO: TCP Data received {"connection_id":160209,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231cb4d8012dd477400514db78001a008827..."} 
[2026-08-21 12:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231cb4d8012dd477400514db78001a008827..."} 
[2026-08-21 12:30:19] local.INFO: Processing buffer {"connection_id":160209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231cb4d8012dd477400514db78001a008827..."} 
[2026-08-21 12:30:19] local.INFO: Packet analysis {"connection_id":160209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:30:19] local.INFO: Extracted packet for processing {"connection_id":160209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231c"} 
[2026-08-21 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":768898880,"raw_latitude":85252984,"longitude_deg":76.889888,"latitude_deg":8.5252984,"altitude":26,"angle":136,"satellites":39,"speed":26,"hex_longitude":"2dd47740","hex_latitude":"0514db78","is_valid_coordinates":true} 
[2026-08-21 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547640064001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388194580324941824,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3143723624310714368,"note":"Value kept but may cause issues"} 
[2026-08-21 12:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787295479000,"timestamp_ms":1787295479000,"timestamp_seconds":1787295479,"priority":1,"record_length":96,"hex_timestamp":"000001a0231cb4d8"} 
[2026-08-21 12:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 12:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547640064001,"66":28082,"251":206,"80":34304,"24":26,"16":388194580324941824,"45":-3143723624310714368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,80,24,16,45]} 
[2026-08-21 12:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547640064001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:30:19] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 12:30:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388194580324941824,"km_value":388194580324941.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3143723624310714368,"description":"Unknown IO ID 45"} 
[2026-08-21 12:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547640064001,"power":28082,"unknown_251":206,"unknown_80":34304,"ignition":26,"odometer":null,"unknown_45":-3143723624310714368}} 
[2026-08-21 12:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":160209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:30:19] local.INFO: GPS data processed {"connection_id":160209,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:30:19] local.INFO: Acknowledgment sent {"connection_id":160209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:31:04] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:04] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:04] local.INFO: IMEI packet received {"connection_id":161566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":161566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:31:10] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:10] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:10] local.INFO: IMEI packet received {"connection_id":161566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":161566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:31:13] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:13] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:13] local.INFO: IMEI packet received {"connection_id":161566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":161566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:31:18] local.INFO: TCP Data received {"connection_id":161566,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231d06e0012dd486c00514cb08001a008d28..."} 
[2026-08-21 12:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231d06e0012dd486c00514cb08001a008d28..."} 
[2026-08-21 12:31:18] local.INFO: Processing buffer {"connection_id":161566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231d06e0012dd486c00514cb08001a008d28..."} 
[2026-08-21 12:31:18] local.INFO: Packet analysis {"connection_id":161566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231d"} 
[2026-08-21 12:31:18] local.INFO: Extracted packet for processing {"connection_id":161566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231d"} 
[2026-08-21 12:31:18] local.INFO: GPS Element Parsed {"raw_longitude":768902848,"raw_latitude":85248776,"longitude_deg":76.8902848,"latitude_deg":8.5248776,"altitude":26,"angle":141,"satellites":40,"speed":0,"hex_longitude":"2dd486c0","hex_latitude":"0514cb08","is_valid_coordinates":true} 
[2026-08-21 12:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547642624001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388194863792783360,"note":"Value kept but may cause issues"} 
[2026-08-21 12:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3136968224871319552,"note":"Value kept but may cause issues"} 
[2026-08-21 12:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787295500000,"timestamp_ms":1787295500000,"timestamp_seconds":1787295500,"priority":1,"record_length":96,"hex_timestamp":"000001a0231d06e0"} 
[2026-08-21 12:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 12:31:18] 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-08-21 12:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547642624001,"66":27876,"251":206,"80":34304,"24":0,"16":388194863792783360,"45":-3136968224871319552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,80,24,16,45]} 
[2026-08-21 12:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547642624001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:31:18] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 12:31:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388194863792783360,"km_value":388194863792783.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3136968224871319552,"description":"Unknown IO ID 45"} 
[2026-08-21 12:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547642624001,"power":27876,"unknown_251":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-3136968224871319552}} 
[2026-08-21 12:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":161566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:31:18] local.INFO: GPS data processed {"connection_id":161566,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:31:18] local.INFO: Acknowledgment sent {"connection_id":161566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:31:56] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:56] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:56] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:31:58] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:58] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:31:58] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:32:03] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:32:03] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:32:03] local.INFO: IMEI packet received {"connection_id":159020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":159020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:32:04] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0231d58e8012dd48d400514c3c0001c00852d..."} 
[2026-08-21 12:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0231d58e8012dd48d400514c3c0001c00852d..."} 
[2026-08-21 12:32:04] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0231d58e8012dd48d400514c3c0001c00852d..."} 
[2026-08-21 12:32:04] local.INFO: Packet analysis {"connection_id":159020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0231d"} 
[2026-08-21 12:32:04] local.INFO: Extracted packet for processing {"connection_id":159020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0231d"} 
[2026-08-21 12:32:04] local.INFO: GPS Element Parsed {"raw_longitude":768904512,"raw_latitude":85246912,"longitude_deg":76.8904512,"latitude_deg":8.5246912,"altitude":28,"angle":133,"satellites":45,"speed":14,"hex_longitude":"2dd48d40","hex_latitude":"0514c3c0","is_valid_coordinates":true} 
[2026-08-21 12:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547648000001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388194984051867648,"note":"Value kept but may cause issues"} 
[2026-08-21 12:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3132605362733381632,"note":"Value kept but may cause issues"} 
[2026-08-21 12:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787295521000,"timestamp_ms":1787295521000,"timestamp_seconds":1787295521,"priority":1,"record_length":96,"hex_timestamp":"000001a0231d58e8"} 
[2026-08-21 12:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:32: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-08-21 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:32: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-08-21 12:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:32: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-08-21 12:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547648000001,"66":27876,"251":206,"80":34304,"24":14,"16":388194984051867648,"45":-3132605362733381632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,80,24,16,45]} 
[2026-08-21 12:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547648000001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:32:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 12:32:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388194984051867648,"km_value":388194984051867.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3132605362733381632,"description":"Unknown IO ID 45"} 
[2026-08-21 12:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547648000001,"power":27876,"unknown_251":206,"unknown_80":34304,"ignition":14,"odometer":null,"unknown_45":-3132605362733381632}} 
[2026-08-21 12:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":159020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:32:04] local.INFO: GPS data processed {"connection_id":159020,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:32:04] local.INFO: Acknowledgment sent {"connection_id":159020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:32:36] local.INFO: TCP Data received {"connection_id":159020,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023201038012dd565400513d7100009008b2f..."} 
[2026-08-21 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023201038012dd565400513d7100009008b2f..."} 
[2026-08-21 12:32:36] local.INFO: Processing buffer {"connection_id":159020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023201038012dd565400513d7100009008b2f..."} 
[2026-08-21 12:32:36] local.INFO: Packet analysis {"connection_id":159020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02320"} 
[2026-08-21 12:32:36] local.INFO: Extracted packet for processing {"connection_id":159020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02320"} 
[2026-08-21 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":768959808,"raw_latitude":85186320,"longitude_deg":76.8959808,"latitude_deg":8.518632,"altitude":9,"angle":139,"satellites":47,"speed":58,"hex_longitude":"2dd56540","hex_latitude":"0513d710","is_valid_coordinates":true} 
[2026-08-21 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547697152001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388198948306681856,"note":"Value kept but may cause issues"} 
[2026-08-21 12:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3077225161079633920,"note":"Value kept but may cause issues"} 
[2026-08-21 12:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787295699000,"timestamp_ms":1787295699000,"timestamp_seconds":1787295699,"priority":1,"record_length":96,"hex_timestamp":"000001a023201038"} 
[2026-08-21 12:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:32: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-08-21 12:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547697152001,"66":27919,"64":206,"80":34304,"24":58,"16":388198948306681856,"45":-3077225161079633920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,80,24,16,45]} 
[2026-08-21 12:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547697152001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:32:36] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-21 12:32:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388198948306681856,"km_value":388198948306681.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3077225161079633920,"description":"Unknown IO ID 45"} 
[2026-08-21 12:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547697152001,"power":27919,"unknown_64":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-3077225161079633920}} 
[2026-08-21 12:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":159020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:32:36] local.INFO: GPS data processed {"connection_id":159020,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:32:36] local.INFO: Acknowledgment sent {"connection_id":159020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:33:03] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:03] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:03] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:33:04] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:04] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:04] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:33:08] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:08] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:08] local.INFO: IMEI packet received {"connection_id":160210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":160210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:33:09] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232027a8012dd57c400513bc700008008a2f..."} 
[2026-08-21 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232027a8012dd57c400513bc700008008a2f..."} 
[2026-08-21 12:33:09] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232027a8012dd57c400513bc700008008a2f..."} 
[2026-08-21 12:33:09] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02320"} 
[2026-08-21 12:33:09] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02320"} 
[2026-08-21 12:33:09] local.INFO: GPS Element Parsed {"raw_longitude":768965696,"raw_latitude":85179504,"longitude_deg":76.8965696,"latitude_deg":8.5179504,"altitude":8,"angle":138,"satellites":47,"speed":59,"hex_longitude":"2dd57c40","hex_latitude":"0513bc70","is_valid_coordinates":true} 
[2026-08-21 12:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547698944001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388199382098378752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3069977180431249408,"note":"Value kept but may cause issues"} 
[2026-08-21 12:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787295705000,"timestamp_ms":1787295705000,"timestamp_seconds":1787295705,"priority":1,"record_length":96,"hex_timestamp":"000001a0232027a8"} 
[2026-08-21 12:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:33: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-08-21 12:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547698944001,"66":27919,"64":206,"80":34304,"24":59,"16":388199382098378752,"45":-3069977180431249408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,80,24,16,45]} 
[2026-08-21 12:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547698944001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:33:09] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-21 12:33:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388199382098378752,"km_value":388199382098378.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3069977180431249408,"description":"Unknown IO ID 45"} 
[2026-08-21 12:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547698944001,"power":27919,"unknown_64":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-3069977180431249408}} 
[2026-08-21 12:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:33:09] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:33:09] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:33:41] local.INFO: TCP Data received {"connection_id":160210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023203f18012dd593800513a2880007008a2f..."} 
[2026-08-21 12:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023203f18012dd593800513a2880007008a2f..."} 
[2026-08-21 12:33:41] local.INFO: Processing buffer {"connection_id":160210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023203f18012dd593800513a2880007008a2f..."} 
[2026-08-21 12:33:41] local.INFO: Packet analysis {"connection_id":160210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02320"} 
[2026-08-21 12:33:41] local.INFO: Extracted packet for processing {"connection_id":160210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02320"} 
[2026-08-21 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":768971648,"raw_latitude":85172872,"longitude_deg":76.8971648,"latitude_deg":8.5172872,"altitude":7,"angle":138,"satellites":47,"speed":58,"hex_longitude":"2dd59380","hex_latitude":"0513a288","is_valid_coordinates":true} 
[2026-08-21 12:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547700480001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388199811595108352,"note":"Value kept but may cause issues"} 
[2026-08-21 12:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3063503255968649216,"note":"Value kept but may cause issues"} 
[2026-08-21 12:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787295711000,"timestamp_ms":1787295711000,"timestamp_seconds":1787295711,"priority":1,"record_length":96,"hex_timestamp":"000001a023203f18"} 
[2026-08-21 12:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547700480001,"66":27919,"64":206,"80":34304,"24":58,"16":388199811595108352,"45":-3063503255968649216},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,80,24,16,45]} 
[2026-08-21 12:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547700480001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:33:41] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-21 12:33:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388199811595108352,"km_value":388199811595108.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3063503255968649216,"description":"Unknown IO ID 45"} 
[2026-08-21 12:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547700480001,"power":27919,"unknown_64":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-3063503255968649216}} 
[2026-08-21 12:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":160210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:33:41] local.INFO: GPS data processed {"connection_id":160210,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:33:41] local.INFO: Acknowledgment sent {"connection_id":160210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:33:50] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:50] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:50] local.INFO: IMEI packet received {"connection_id":159310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":159310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:33:52] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:52] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:52] local.INFO: IMEI packet received {"connection_id":159310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":159310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:33:55] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:55] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:33:55] local.INFO: IMEI packet received {"connection_id":159310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:33:56] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-21 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-21 12:33:56] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-08-21 12:33:56] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 12:33:56] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 12:33:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:33:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:33:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":48000,"timestamp_seconds":48,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 12:33:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 12:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 12:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 12:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 12:33:56] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 12:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 12:33:56] local.ERROR: GPS data processing failed {"connection_id":159310,"error":"No valid data to process"} 
[2026-08-21 12:33:56] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 12:33:57] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:57] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:33:57] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:34:02] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:34:02] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:34:02] local.INFO: IMEI packet received {"connection_id":161567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":161567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:34:08] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023216410012dd6ab8005127420000d00842d..."} 
[2026-08-21 12:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023216410012dd6ab8005127420000d00842d..."} 
[2026-08-21 12:34:08] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023216410012dd6ab8005127420000d00842d..."} 
[2026-08-21 12:34:08] local.INFO: Packet analysis {"connection_id":161567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02321"} 
[2026-08-21 12:34:08] local.INFO: Extracted packet for processing {"connection_id":161567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02321"} 
[2026-08-21 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":769043328,"raw_latitude":85095456,"longitude_deg":76.9043328,"latitude_deg":8.5095456,"altitude":13,"angle":132,"satellites":45,"speed":59,"hex_longitude":"2dd6ab80","hex_latitude":"05127420","is_valid_coordinates":true} 
[2026-08-21 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547719424001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388204905426321408,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2986168006137106432,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787295786000,"timestamp_ms":1787295786000,"timestamp_seconds":1787295786,"priority":1,"record_length":96,"hex_timestamp":"000001a023216410"} 
[2026-08-21 12:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 12:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547719424001,"66":27615,"36":206,"80":34304,"24":59,"16":388204905426321408,"45":-2986168006137106432},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-08-21 12:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547719424001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:34:08] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 12:34:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388204905426321408,"km_value":388204905426321.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2986168006137106432,"description":"Unknown IO ID 45"} 
[2026-08-21 12:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547719424001,"power":27615,"unknown_36":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-2986168006137106432}} 
[2026-08-21 12:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":161567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:34:08] local.INFO: GPS data processed {"connection_id":161567,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:34:08] local.INFO: Acknowledgment sent {"connection_id":161567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:34:27] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-21 12:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-21 12:34:27] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-08-21 12:34:27] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 12:34:27] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 12:34:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,102,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:34:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 12:34:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 12:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 12:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 12:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 12:34:27] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 12:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 12:34:27] local.ERROR: GPS data processing failed {"connection_id":159310,"error":"No valid data to process"} 
[2026-08-21 12:34:27] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 12:34:43] local.INFO: TCP Data received {"connection_id":161567,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023217b80012dd6c68005125c00000c00822c..."} 
[2026-08-21 12:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023217b80012dd6c68005125c00000c00822c..."} 
[2026-08-21 12:34:43] local.INFO: Processing buffer {"connection_id":161567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023217b80012dd6c68005125c00000c00822c..."} 
[2026-08-21 12:34:43] local.INFO: Packet analysis {"connection_id":161567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02321"} 
[2026-08-21 12:34:43] local.INFO: Extracted packet for processing {"connection_id":161567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02321"} 
[2026-08-21 12:34:43] local.INFO: GPS Element Parsed {"raw_longitude":769050240,"raw_latitude":85089280,"longitude_deg":76.905024,"latitude_deg":8.508928,"altitude":12,"angle":130,"satellites":44,"speed":60,"hex_longitude":"2dd6c680","hex_latitude":"05125c00","is_valid_coordinates":true} 
[2026-08-21 12:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547721216001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388205347807952896,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2978145969302659072,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787295792000,"timestamp_ms":1787295792000,"timestamp_seconds":1787295792,"priority":1,"record_length":96,"hex_timestamp":"000001a023217b80"} 
[2026-08-21 12:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:34:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 12:34:43] 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-08-21 12:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547721216001,"66":27995,"104":206,"80":34304,"24":60,"16":388205347807952896,"45":-2978145969302659072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-21 12:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547721216001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:34:43] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 12:34:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388205347807952896,"km_value":388205347807952.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2978145969302659072,"description":"Unknown IO ID 45"} 
[2026-08-21 12:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547721216001,"power":27995,"unknown_104":206,"unknown_80":34304,"ignition":60,"odometer":null,"unknown_45":-2978145969302659072}} 
[2026-08-21 12:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":161567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:34:43] local.INFO: GPS data processed {"connection_id":161567,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:34:43] local.INFO: Acknowledgment sent {"connection_id":161567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:34:59] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:34:59] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:34:59] local.INFO: IMEI packet received {"connection_id":161568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":161568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:34:59] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02322b7e80100000000000000000000000000..."} 
[2026-08-21 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02322b7e80100000000000000000000000000..."} 
[2026-08-21 12:34:59] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02322b7e80100000000000000000000000000..."} 
[2026-08-21 12:34:59] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02322"} 
[2026-08-21 12:34:59] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02322"} 
[2026-08-21 12:34:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:34:59] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787295873000,"timestamp_ms":1787295873000,"timestamp_seconds":1787295873,"priority":1,"record_length":96,"hex_timestamp":"000001a02322b7e8"} 
[2026-08-21 12:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-08-21 12:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:34:59] local.INFO: GPS data processed {"connection_id":159310,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:34:59] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:35:04] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:35:04] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:35:04] local.INFO: IMEI packet received {"connection_id":161568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":161568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:35:21] local.INFO: TCP Data received {"connection_id":161568,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232192f0012dd6e240051244f0000a00812e..."} 
[2026-08-21 12:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232192f0012dd6e240051244f0000a00812e..."} 
[2026-08-21 12:35:21] local.INFO: Processing buffer {"connection_id":161568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232192f0012dd6e240051244f0000a00812e..."} 
[2026-08-21 12:35:21] local.INFO: Packet analysis {"connection_id":161568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02321"} 
[2026-08-21 12:35:21] local.INFO: Extracted packet for processing {"connection_id":161568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02321"} 
[2026-08-21 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":769057344,"raw_latitude":85083376,"longitude_deg":76.9057344,"latitude_deg":8.5083376,"altitude":10,"angle":129,"satellites":46,"speed":61,"hex_longitude":"2dd6e240","hex_latitude":"051244f0","is_valid_coordinates":true} 
[2026-08-21 12:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547722752001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388205794484551680,"note":"Value kept but may cause issues"} 
[2026-08-21 12:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2970546144933052416,"note":"Value kept but may cause issues"} 
[2026-08-21 12:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787295798000,"timestamp_ms":1787295798000,"timestamp_seconds":1787295798,"priority":1,"record_length":96,"hex_timestamp":"000001a0232192f0"} 
[2026-08-21 12:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 12:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:35: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-08-21 12:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547722752001,"66":27745,"104":206,"80":34304,"24":61,"16":388205794484551680,"45":-2970546144933052416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,80,24,16,45]} 
[2026-08-21 12:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547722752001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:35:21] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 12:35:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388205794484551680,"km_value":388205794484551.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2970546144933052416,"description":"Unknown IO ID 45"} 
[2026-08-21 12:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547722752001,"power":27745,"unknown_104":206,"unknown_80":34304,"ignition":61,"odometer":null,"unknown_45":-2970546144933052416}} 
[2026-08-21 12:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":161568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:35:21] local.INFO: GPS data processed {"connection_id":161568,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:35:21] local.INFO: Acknowledgment sent {"connection_id":161568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:35:30] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232309f00100000000000000000000000000..."} 
[2026-08-21 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232309f00100000000000000000000000000..."} 
[2026-08-21 12:35:30] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232309f00100000000000000000000000000..."} 
[2026-08-21 12:35:30] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:35:30] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:35:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787295894000,"timestamp_ms":1787295894000,"timestamp_seconds":1787295894,"priority":1,"record_length":96,"hex_timestamp":"000001a0232309f0"} 
[2026-08-21 12:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 12:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:35:30] local.INFO: GPS data processed {"connection_id":159310,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:35:30] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:35:57] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:35:57] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:35:57] local.INFO: IMEI packet received {"connection_id":161569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":161569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:36:02] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:36:02] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:36:02] local.INFO: IMEI packet received {"connection_id":161569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":161569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:36:02] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023235bf80100000000000000000000000000..."} 
[2026-08-21 12:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023235bf80100000000000000000000000000..."} 
[2026-08-21 12:36:02] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023235bf80100000000000000000000000000..."} 
[2026-08-21 12:36:02] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:02] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787295915000,"timestamp_ms":1787295915000,"timestamp_seconds":1787295915,"priority":1,"record_length":96,"hex_timestamp":"000001a023235bf8"} 
[2026-08-21 12:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:36: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-08-21 12:36:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 12:36:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:36:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:36:02] local.INFO: GPS data processed {"connection_id":159310,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:36:02] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:36:03] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:36:03] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:36:03] local.INFO: IMEI packet received {"connection_id":161569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":161569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:36:05] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232338d0012dd80280051148e8000700872c..."} 
[2026-08-21 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232338d0012dd80280051148e8000700872c..."} 
[2026-08-21 12:36:05] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232338d0012dd80280051148e8000700872c..."} 
[2026-08-21 12:36:05] local.INFO: Packet analysis {"connection_id":161569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:05] local.INFO: Extracted packet for processing {"connection_id":161569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":769131136,"raw_latitude":85018856,"longitude_deg":76.9131136,"latitude_deg":8.5018856,"altitude":7,"angle":135,"satellites":44,"speed":60,"hex_longitude":"2dd80280","hex_latitude":"051148e8","is_valid_coordinates":true} 
[2026-08-21 12:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547750144001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388210527538511872,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2889551720400742400,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787295906000,"timestamp_ms":1787295906000,"timestamp_seconds":1787295906,"priority":1,"record_length":96,"hex_timestamp":"000001a0232338d0"} 
[2026-08-21 12:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:36: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-08-21 12:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547750144001,"66":27876,"124":206,"80":34304,"24":60,"16":388210527538511872,"45":-2889551720400742400},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-08-21 12:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547750144001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:36:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 12:36:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388210527538511872,"km_value":388210527538511.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2889551720400742400,"description":"Unknown IO ID 45"} 
[2026-08-21 12:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547750144001,"power":27876,"unknown_124":206,"unknown_80":34304,"ignition":60,"odometer":null,"unknown_45":-2889551720400742400}} 
[2026-08-21 12:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":161569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:36:05] local.INFO: GPS data processed {"connection_id":161569,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:36:05] local.INFO: Acknowledgment sent {"connection_id":161569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:36:11] local.INFO: TCP Data received {"connection_id":161569,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023235040012dd81bc005112fb8000700872d..."} 
[2026-08-21 12:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023235040012dd81bc005112fb8000700872d..."} 
[2026-08-21 12:36:11] local.INFO: Processing buffer {"connection_id":161569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023235040012dd81bc005112fb8000700872d..."} 
[2026-08-21 12:36:11] local.INFO: Packet analysis {"connection_id":161569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:11] local.INFO: Extracted packet for processing {"connection_id":161569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":769137600,"raw_latitude":85012408,"longitude_deg":76.91376,"latitude_deg":8.5012408,"altitude":7,"angle":135,"satellites":45,"speed":59,"hex_longitude":"2dd81bc0","hex_latitude":"05112fb8","is_valid_coordinates":true} 
[2026-08-21 12:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547751936001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388210965625176064,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2881600052310513664,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787295912000,"timestamp_ms":1787295912000,"timestamp_seconds":1787295912,"priority":1,"record_length":96,"hex_timestamp":"000001a023235040"} 
[2026-08-21 12:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547751936001,"66":27908,"124":206,"80":34304,"24":59,"16":388210965625176064,"45":-2881600052310513664},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-08-21 12:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547751936001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:36:11] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 12:36:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388210965625176064,"km_value":388210965625176.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2881600052310513664,"description":"Unknown IO ID 45"} 
[2026-08-21 12:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547751936001,"power":27908,"unknown_124":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-2881600052310513664}} 
[2026-08-21 12:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":161569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:36:11] local.INFO: GPS data processed {"connection_id":161569,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:36:11] local.INFO: Acknowledgment sent {"connection_id":161569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:36:34] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02323ae000100000000000000000000000000..."} 
[2026-08-21 12:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02323ae000100000000000000000000000000..."} 
[2026-08-21 12:36:34] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02323ae000100000000000000000000000000..."} 
[2026-08-21 12:36:34] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:34] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:36:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,101,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787295936000,"timestamp_ms":1787295936000,"timestamp_seconds":1787295936,"priority":1,"record_length":96,"hex_timestamp":"000001a02323ae00"} 
[2026-08-21 12:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 12:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:36:34] local.INFO: GPS data processed {"connection_id":159310,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:36:34] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:37:05] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232400080100000000000000000000000000..."} 
[2026-08-21 12:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232400080100000000000000000000000000..."} 
[2026-08-21 12:37:05] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232400080100000000000000000000000000..."} 
[2026-08-21 12:37:05] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:37:05] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787295957000,"timestamp_ms":1787295957000,"timestamp_seconds":1787295957,"priority":1,"record_length":96,"hex_timestamp":"000001a023240008"} 
[2026-08-21 12:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 12:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:37:05] local.INFO: GPS data processed {"connection_id":159310,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:37:05] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:37:08] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:08] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:08] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:37:10] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:10] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:10] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:37:13] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:13] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:13] local.INFO: IMEI packet received {"connection_id":159021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":159021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:37:14] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232367b0012dd8348005111718000600872d..."} 
[2026-08-21 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232367b0012dd8348005111718000600872d..."} 
[2026-08-21 12:37:14] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232367b0012dd8348005111718000600872d..."} 
[2026-08-21 12:37:14] local.INFO: Packet analysis {"connection_id":159021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:37:14] local.INFO: Extracted packet for processing {"connection_id":159021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":769143936,"raw_latitude":85006104,"longitude_deg":76.9143936,"latitude_deg":8.5006104,"altitude":6,"angle":135,"satellites":45,"speed":58,"hex_longitude":"2dd83480","hex_latitude":"05111718","is_valid_coordinates":true} 
[2026-08-21 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547753472001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388211395121905664,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2874492809150220288,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787295918000,"timestamp_ms":1787295918000,"timestamp_seconds":1787295918,"priority":1,"record_length":96,"hex_timestamp":"000001a0232367b0"} 
[2026-08-21 12:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547753472001,"66":27843,"114":206,"80":34304,"24":58,"16":388211395121905664,"45":-2874492809150220288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,80,24,16,45]} 
[2026-08-21 12:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547753472001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388211395121905664,"km_value":388211395121905.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2874492809150220288,"description":"Unknown IO ID 45"} 
[2026-08-21 12:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547753472001,"power":27843,"unknown_114":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-2874492809150220288}} 
[2026-08-21 12:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":159021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:37:14] local.INFO: GPS data processed {"connection_id":159021,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:37:14] local.INFO: Acknowledgment sent {"connection_id":159021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:37:22] local.INFO: TCP Data received {"connection_id":159021,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023237f20012dd84d000510fe68000700872e..."} 
[2026-08-21 12:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159021,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023237f20012dd84d000510fe68000700872e..."} 
[2026-08-21 12:37:22] local.INFO: Processing buffer {"connection_id":159021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023237f20012dd84d000510fe68000700872e..."} 
[2026-08-21 12:37:22] local.INFO: Packet analysis {"connection_id":159021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:37:22] local.INFO: Extracted packet for processing {"connection_id":159021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02323"} 
[2026-08-21 12:37:22] local.INFO: GPS Element Parsed {"raw_longitude":769150208,"raw_latitude":84999784,"longitude_deg":76.9150208,"latitude_deg":8.4999784,"altitude":7,"angle":135,"satellites":46,"speed":59,"hex_longitude":"2dd84d00","hex_latitude":"0510fe68","is_valid_coordinates":true} 
[2026-08-21 12:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547755008001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388211824618635264,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2867526303478245376,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787295924000,"timestamp_ms":1787295924000,"timestamp_seconds":1787295924,"priority":1,"record_length":96,"hex_timestamp":"000001a023237f20"} 
[2026-08-21 12:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:37: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-08-21 12:37:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:37: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-08-21 12:37:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547755008001,"66":27930,"114":206,"80":34304,"24":59,"16":388211824618635264,"45":-2867526303478245376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,80,24,16,45]} 
[2026-08-21 12:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547755008001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:37:22] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 12:37:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388211824618635264,"km_value":388211824618635.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2867526303478245376,"description":"Unknown IO ID 45"} 
[2026-08-21 12:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547755008001,"power":27930,"unknown_114":206,"unknown_80":34304,"ignition":59,"odometer":null,"unknown_45":-2867526303478245376}} 
[2026-08-21 12:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":159021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:37:22] local.INFO: GPS data processed {"connection_id":159021,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:37:22] local.INFO: Acknowledgment sent {"connection_id":159021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:37:36] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232452100100000000000000000000000000..."} 
[2026-08-21 12:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232452100100000000000000000000000000..."} 
[2026-08-21 12:37:36] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232452100100000000000000000000000000..."} 
[2026-08-21 12:37:36] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:37:36] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:37:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:37:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787295978000,"timestamp_ms":1787295978000,"timestamp_seconds":1787295978,"priority":1,"record_length":96,"hex_timestamp":"000001a023245210"} 
[2026-08-21 12:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 12:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:37:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:37:36] local.INFO: GPS data processed {"connection_id":159310,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:37:36] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:37:57] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:57] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:57] local.INFO: IMEI packet received {"connection_id":161570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":161570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:37:58] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:58] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:37:58] local.INFO: IMEI packet received {"connection_id":161570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":161570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:38:03] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:38:03] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:38:03] local.INFO: IMEI packet received {"connection_id":161570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":161570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:38:04] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02324d6e0012dd9a180050fa618001100872f..."} 
[2026-08-21 12:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02324d6e0012dd9a180050fa618001100872f..."} 
[2026-08-21 12:38:04] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02324d6e0012dd9a180050fa618001100872f..."} 
[2026-08-21 12:38:04] local.INFO: Packet analysis {"connection_id":161570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:04] local.INFO: Extracted packet for processing {"connection_id":161570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:04] local.INFO: GPS Element Parsed {"raw_longitude":769237376,"raw_latitude":84911640,"longitude_deg":76.9237376,"latitude_deg":8.491164,"altitude":17,"angle":135,"satellites":47,"speed":60,"hex_longitude":"2dd9a180","hex_latitude":"050fa618","is_valid_coordinates":true} 
[2026-08-21 12:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547777536001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388217803213111296,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2771754442674978816,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296012000,"timestamp_ms":1787296012000,"timestamp_seconds":1787296012,"priority":1,"record_length":96,"hex_timestamp":"000001a02324d6e0"} 
[2026-08-21 12:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:38: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-08-21 12:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:38: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-08-21 12:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547777536001,"66":27800,"157":206,"80":34304,"24":60,"16":388217803213111296,"45":-2771754442674978816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-08-21 12:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547777536001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:38:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 12:38:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388217803213111296,"km_value":388217803213111.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2771754442674978816,"description":"Unknown IO ID 45"} 
[2026-08-21 12:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547777536001,"power":27800,"unknown_157":206,"unknown_80":34304,"ignition":60,"odometer":null,"unknown_45":-2771754442674978816}} 
[2026-08-21 12:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":161570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:38:04] local.INFO: GPS data processed {"connection_id":161570,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:38:04] local.INFO: Acknowledgment sent {"connection_id":161570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:38:07] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02324a4180100000000000000000000000000..."} 
[2026-08-21 12:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02324a4180100000000000000000000000000..."} 
[2026-08-21 12:38:07] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02324a4180100000000000000000000000000..."} 
[2026-08-21 12:38:07] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:07] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787295999000,"timestamp_ms":1787295999000,"timestamp_seconds":1787295999,"priority":1,"record_length":96,"hex_timestamp":"000001a02324a418"} 
[2026-08-21 12:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-21 12:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:38:07] local.INFO: GPS data processed {"connection_id":159310,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:38:07] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:38:30] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:38:30] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:38:30] local.INFO: IMEI packet received {"connection_id":160211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":160211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:38:35] local.INFO: TCP Data received {"connection_id":161570,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02324ee50012dd9ba40050f8cf8001100882f..."} 
[2026-08-21 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02324ee50012dd9ba40050f8cf8001100882f..."} 
[2026-08-21 12:38:35] local.INFO: Processing buffer {"connection_id":161570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02324ee50012dd9ba40050f8cf8001100882f..."} 
[2026-08-21 12:38:35] local.INFO: Packet analysis {"connection_id":161570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:35] local.INFO: Extracted packet for processing {"connection_id":161570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:35] local.INFO: GPS Element Parsed {"raw_longitude":769243712,"raw_latitude":84905208,"longitude_deg":76.9243712,"latitude_deg":8.4905208,"altitude":17,"angle":136,"satellites":47,"speed":58,"hex_longitude":"2dd9ba40","hex_latitude":"050f8cf8","is_valid_coordinates":true} 
[2026-08-21 12:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547779072001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388218237004808192,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2764787937003038720,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296018000,"timestamp_ms":1787296018000,"timestamp_seconds":1787296018,"priority":1,"record_length":96,"hex_timestamp":"000001a02324ee50"} 
[2026-08-21 12:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:38: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-08-21 12:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:38:35] 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-08-21 12:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547779072001,"66":28006,"157":206,"80":34304,"24":58,"16":388218237004808192,"45":-2764787937003038720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-08-21 12:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547779072001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:38:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 12:38:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388218237004808192,"km_value":388218237004808.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2764787937003038720,"description":"Unknown IO ID 45"} 
[2026-08-21 12:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547779072001,"power":28006,"unknown_157":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-2764787937003038720}} 
[2026-08-21 12:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":161570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:38:35] local.INFO: GPS data processed {"connection_id":161570,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:38:35] local.INFO: Acknowledgment sent {"connection_id":161570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:38:35] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:38:35] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:38:35] local.INFO: IMEI packet received {"connection_id":160211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:38:35] local.INFO: IMEI acknowledgment sent {"connection_id":160211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:38:36] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02324f6200100000000000000000000000000..."} 
[2026-08-21 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02324f6200100000000000000000000000000..."} 
[2026-08-21 12:38:36] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02324f6200100000000000000000000000000..."} 
[2026-08-21 12:38:36] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:36] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02324"} 
[2026-08-21 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296020000,"timestamp_ms":1787296020000,"timestamp_seconds":1787296020,"priority":1,"record_length":96,"hex_timestamp":"000001a02324f620"} 
[2026-08-21 12:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 12:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219456,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:36] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-21 12:38:36] local.WARNING: Large IO value detected {"io_id":9,"raw_value":4026597376,"note":"Value kept but may cause issues"} 
[2026-08-21 12:38:36] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,103,83,24,241,157,16,89,160,82,10,66,174,1,240,22,227,35,4,113,205,9,239,2,55,101,50],"length":479,"final_offset":609,"validated_count":27,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-21 12:38:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 12:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:38:36] local.INFO: GPS data processed {"connection_id":160211,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:38:36] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:38:57] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:38:57] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:38:57] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:39:00] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:00] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:00] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:39:03] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:03] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:03] local.INFO: IMEI packet received {"connection_id":159022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":159022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:39:05] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232509a8012dd9d540050f6f18001200892f..."} 
[2026-08-21 12:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232509a8012dd9d540050f6f18001200892f..."} 
[2026-08-21 12:39:05] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232509a8012dd9d540050f6f18001200892f..."} 
[2026-08-21 12:39:05] local.INFO: Packet analysis {"connection_id":159022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:05] local.INFO: Extracted packet for processing {"connection_id":159022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":769250624,"raw_latitude":84897560,"longitude_deg":76.9250624,"latitude_deg":8.489756,"altitude":18,"angle":137,"satellites":47,"speed":58,"hex_longitude":"2dd9d540","hex_latitude":"050f6f18","is_valid_coordinates":true} 
[2026-08-21 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547780608001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388218735221014528,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2757821431331096576,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787296025000,"timestamp_ms":1787296025000,"timestamp_seconds":1787296025,"priority":1,"record_length":96,"hex_timestamp":"000001a0232509a8"} 
[2026-08-21 12:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 12:39: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-08-21 12:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:39: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-08-21 12:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547780608001,"66":27800,"157":206,"80":34304,"24":58,"16":388218735221014528,"45":-2757821431331096576},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-08-21 12:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547780608001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:39:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 12:39:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388218735221014528,"km_value":388218735221014.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2757821431331096576,"description":"Unknown IO ID 45"} 
[2026-08-21 12:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547780608001,"power":27800,"unknown_157":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-2757821431331096576}} 
[2026-08-21 12:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":159022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:39:05] local.INFO: GPS data processed {"connection_id":159022,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:39:05] local.INFO: Acknowledgment sent {"connection_id":159022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:39:07] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232548280100000000000000000000000000..."} 
[2026-08-21 12:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232548280100000000000000000000000000..."} 
[2026-08-21 12:39:07] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232548280100000000000000000000000000..."} 
[2026-08-21 12:39:07] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:07] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296041000,"timestamp_ms":1787296041000,"timestamp_seconds":1787296041,"priority":1,"record_length":96,"hex_timestamp":"000001a023254828"} 
[2026-08-21 12:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:39:07] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 12:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:39:07] local.INFO: GPS data processed {"connection_id":160211,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:39:07] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:39:36] local.INFO: TCP Data received {"connection_id":159022,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023252500012dd9efc0050f52080012008a2f..."} 
[2026-08-21 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023252500012dd9efc0050f52080012008a2f..."} 
[2026-08-21 12:39:36] local.INFO: Processing buffer {"connection_id":159022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023252500012dd9efc0050f52080012008a2f..."} 
[2026-08-21 12:39:36] local.INFO: Packet analysis {"connection_id":159022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:36] local.INFO: Extracted packet for processing {"connection_id":159022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":769257408,"raw_latitude":84890120,"longitude_deg":76.9257408,"latitude_deg":8.489012,"altitude":18,"angle":138,"satellites":47,"speed":54,"hex_longitude":"2dd9efc0","hex_latitude":"050f5208","is_valid_coordinates":true} 
[2026-08-21 12:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547782400001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388219220552318976,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2750221606961866752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296032000,"timestamp_ms":1787296032000,"timestamp_seconds":1787296032,"priority":1,"record_length":96,"hex_timestamp":"000001a023252500"} 
[2026-08-21 12:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:39: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-08-21 12:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:39: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-08-21 12:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:39: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-08-21 12:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547782400001,"66":27919,"157":206,"80":34304,"24":54,"16":388219220552318976,"45":-2750221606961866752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,80,24,16,45]} 
[2026-08-21 12:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547782400001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:39:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 12:39:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388219220552318976,"km_value":388219220552319.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2750221606961866752,"description":"Unknown IO ID 45"} 
[2026-08-21 12:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547782400001,"power":27919,"unknown_157":206,"unknown_80":34304,"ignition":54,"odometer":null,"unknown_45":-2750221606961866752}} 
[2026-08-21 12:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":159022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:39:36] local.INFO: GPS data processed {"connection_id":159022,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:39:36] local.INFO: Acknowledgment sent {"connection_id":159022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:39:38] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023259a300100000000000000000000000000..."} 
[2026-08-21 12:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023259a300100000000000000000000000000..."} 
[2026-08-21 12:39:38] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023259a300100000000000000000000000000..."} 
[2026-08-21 12:39:38] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:38] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14172271090335744,"note":"Value kept but may cause issues"} 
[2026-08-21 12:39:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,103,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 12:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787296062000,"timestamp_ms":1787296062000,"timestamp_seconds":1787296062,"priority":1,"record_length":96,"hex_timestamp":"000001a023259a30"} 
[2026-08-21 12:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 12:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:39:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 12:39:38] local.INFO: GPS data processed {"connection_id":160211,"processed":0,"errors":0,"total":1} 
[2026-08-21 12:39:38] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:39:58] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:58] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:39:58] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:40:03] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:40:03] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:40:03] local.INFO: IMEI packet received {"connection_id":159023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":159023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:40:04] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023254058012dda0840050f37d80012008a30..."} 
[2026-08-21 12:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023254058012dda0840050f37d80012008a30..."} 
[2026-08-21 12:40:04] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023254058012dda0840050f37d80012008a30..."} 
[2026-08-21 12:40:04] local.INFO: Packet analysis {"connection_id":159023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:40:04] local.INFO: Extracted packet for processing {"connection_id":159023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:40:04] local.INFO: GPS Element Parsed {"raw_longitude":769263680,"raw_latitude":84883416,"longitude_deg":76.926368,"latitude_deg":8.4883416,"altitude":18,"angle":138,"satellites":48,"speed":46,"hex_longitude":"2dda0840","hex_latitude":"050f37d8","is_valid_coordinates":true} 
[2026-08-21 12:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547784192001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388219662933950464,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2742762520080939008,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296039000,"timestamp_ms":1787296039000,"timestamp_seconds":1787296039,"priority":1,"record_length":96,"hex_timestamp":"000001a023254058"} 
[2026-08-21 12:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:40: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-08-21 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:40: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-08-21 12:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547784192001,"66":27908,"225":206,"80":34304,"24":46,"16":388219662933950464,"45":-2742762520080939008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547784192001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:40:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:40:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388219662933950464,"km_value":388219662933950.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2742762520080939008,"description":"Unknown IO ID 45"} 
[2026-08-21 12:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547784192001,"power":27908,"unknown_225":206,"unknown_80":34304,"ignition":46,"odometer":null,"unknown_45":-2742762520080939008}} 
[2026-08-21 12:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":159023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:40:04] local.INFO: GPS data processed {"connection_id":159023,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:40:04] local.INFO: Acknowledgment sent {"connection_id":159023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:40:09] local.INFO: TCP Data received {"connection_id":160211,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232799e8012d18c180072153d0004c014914..."} 
[2026-08-21 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232799e8012d18c180072153d0004c014914..."} 
[2026-08-21 12:40:09] local.INFO: Processing buffer {"connection_id":160211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232799e8012d18c180072153d0004c014914..."} 
[2026-08-21 12:40:09] local.INFO: Packet analysis {"connection_id":160211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:40:09] local.INFO: Extracted packet for processing {"connection_id":160211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119624656,"longitude_deg":75.659712,"latitude_deg":11.9624656,"altitude":76,"angle":329,"satellites":20,"speed":27,"hex_longitude":"2d18c180","hex_latitude":"072153d0","is_valid_coordinates":true} 
[2026-08-21 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547825152001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173134378762240,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248422912,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787296193000,"timestamp_ms":1787296193000,"timestamp_seconds":1787296193,"priority":1,"record_length":96,"hex_timestamp":"000001a0232799e8"} 
[2026-08-21 12:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-21 12:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547825152001,"66":14048,"103":206,"83":41984,"24":27,"16":14173134378762240,"45":1784199539248422912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 12:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547825152001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173134378762240,"km_value":14173134378762.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248422912,"description":"Unknown IO ID 45"} 
[2026-08-21 12:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547825152001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1784199539248422912}} 
[2026-08-21 12:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":160211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:40:09] local.INFO: GPS data processed {"connection_id":160211,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:40:09] local.INFO: Acknowledgment sent {"connection_id":160211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:40:32] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:32] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:32] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:40:34] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:34] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:34] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:40:35] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:35] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:35] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:40:35] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:40:35] local.INFO: TCP Data received {"connection_id":159023,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023259260012dda1b00050f23900012008a30..."} 
[2026-08-21 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023259260012dda1b00050f23900012008a30..."} 
[2026-08-21 12:40:35] local.INFO: Processing buffer {"connection_id":159023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023259260012dda1b00050f23900012008a30..."} 
[2026-08-21 12:40:35] local.INFO: Packet analysis {"connection_id":159023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:40:35] local.INFO: Extracted packet for processing {"connection_id":159023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":769268480,"raw_latitude":84878224,"longitude_deg":76.926848,"latitude_deg":8.4878224,"altitude":18,"angle":138,"satellites":48,"speed":0,"hex_longitude":"2dda1b00","hex_latitude":"050f2390","is_valid_coordinates":true} 
[2026-08-21 12:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547785984001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220006531334144,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2735866383153244160,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296060000,"timestamp_ms":1787296060000,"timestamp_seconds":1787296060,"priority":1,"record_length":96,"hex_timestamp":"000001a023259260"} 
[2026-08-21 12:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:40: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-08-21 12:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:40:35] 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-08-21 12:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547785984001,"66":28050,"225":206,"80":34304,"24":0,"16":388220006531334144,"45":-2735866383153244160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547785984001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:40:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:40:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220006531334144,"km_value":388220006531334.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2735866383153244160,"description":"Unknown IO ID 45"} 
[2026-08-21 12:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547785984001,"power":28050,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2735866383153244160}} 
[2026-08-21 12:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":159023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:40:35] local.INFO: GPS data processed {"connection_id":159023,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:40:35] local.INFO: Acknowledgment sent {"connection_id":159023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:40:40] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:40] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:40:40] local.INFO: IMEI packet received {"connection_id":160212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":160212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:40:41] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02327c4e0012d18ad8007216f60004f013c14..."} 
[2026-08-21 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02327c4e0012d18ad8007216f60004f013c14..."} 
[2026-08-21 12:40:41] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02327c4e0012d18ad8007216f60004f013c14..."} 
[2026-08-21 12:40:41] local.INFO: Packet analysis {"connection_id":160212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:40:41] local.INFO: Extracted packet for processing {"connection_id":160212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756592000,"raw_latitude":119631712,"longitude_deg":75.6592,"latitude_deg":11.9631712,"altitude":79,"angle":316,"satellites":20,"speed":32,"hex_longitude":"2d18ad80","hex_latitude":"07216f60","is_valid_coordinates":true} 
[2026-08-21 12:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547825408001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173555285557248,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527694336,"note":"Value kept but may cause issues"} 
[2026-08-21 12:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787296204000,"timestamp_ms":1787296204000,"timestamp_seconds":1787296204,"priority":1,"record_length":96,"hex_timestamp":"000001a02327c4e0"} 
[2026-08-21 12:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 12:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547825408001,"66":14135,"103":206,"83":41984,"24":32,"16":14173555285557248,"45":1783847695527694336},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 12:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547825408001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173555285557248,"km_value":14173555285557.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527694336,"description":"Unknown IO ID 45"} 
[2026-08-21 12:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547825408001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1783847695527694336}} 
[2026-08-21 12:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":160212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:40:41] local.INFO: GPS data processed {"connection_id":160212,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:40:41] local.INFO: Acknowledgment sent {"connection_id":160212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:40:57] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:40:57] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:40:57] local.INFO: IMEI packet received {"connection_id":161571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":161571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:41:03] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:41:03] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:41:03] local.INFO: IMEI packet received {"connection_id":161571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":161571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:41:04] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02325e468012dda1c80050f21c80013008b30..."} 
[2026-08-21 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02325e468012dda1c80050f21c80013008b30..."} 
[2026-08-21 12:41:04] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02325e468012dda1c80050f21c80013008b30..."} 
[2026-08-21 12:41:04] local.INFO: Packet analysis {"connection_id":161571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:41:04] local.INFO: Extracted packet for processing {"connection_id":161571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02325"} 
[2026-08-21 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":769268864,"raw_latitude":84877768,"longitude_deg":76.9268864,"latitude_deg":8.4877768,"altitude":19,"angle":139,"satellites":48,"speed":6,"hex_longitude":"2dda1c80","hex_latitude":"050f21c8","is_valid_coordinates":true} 
[2026-08-21 12:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547791360001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220036596105216,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2730588727341248512,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296081000,"timestamp_ms":1787296081000,"timestamp_seconds":1787296081,"priority":1,"record_length":96,"hex_timestamp":"000001a02325e468"} 
[2026-08-21 12:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 12:41:04] 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-08-21 12:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:41: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-08-21 12:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547791360001,"66":27767,"225":206,"80":34304,"24":6,"16":388220036596105216,"45":-2730588727341248512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547791360001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:41:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:41:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220036596105216,"km_value":388220036596105.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2730588727341248512,"description":"Unknown IO ID 45"} 
[2026-08-21 12:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547791360001,"power":27767,"unknown_225":206,"unknown_80":34304,"ignition":6,"odometer":null,"unknown_45":-2730588727341248512}} 
[2026-08-21 12:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:41:04] local.INFO: GPS data processed {"connection_id":161571,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:41:04] local.INFO: Acknowledgment sent {"connection_id":161571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:41:12] local.INFO: TCP Data received {"connection_id":160212,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02327ccb0012d18a8c0072173100050012f14..."} 
[2026-08-21 12:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02327ccb0012d18a8c0072173100050012f14..."} 
[2026-08-21 12:41:12] local.INFO: Processing buffer {"connection_id":160212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02327ccb0012d18a8c0072173100050012f14..."} 
[2026-08-21 12:41:12] local.INFO: Packet analysis {"connection_id":160212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:41:12] local.INFO: Extracted packet for processing {"connection_id":160212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756590784,"raw_latitude":119632656,"longitude_deg":75.6590784,"latitude_deg":11.9632656,"altitude":80,"angle":303,"satellites":20,"speed":29,"hex_longitude":"2d18a8c0","hex_latitude":"07217310","is_valid_coordinates":true} 
[2026-08-21 12:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547828224001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14173628300001280,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995287552,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787296206000,"timestamp_ms":1787296206000,"timestamp_seconds":1787296206,"priority":1,"record_length":96,"hex_timestamp":"000001a02327ccb0"} 
[2026-08-21 12:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 12:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547828224001,"66":14102,"103":206,"83":41984,"24":29,"16":14173628300001280,"45":1778218195995287552},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 12:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547828224001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:41:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 12:41:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14173628300001280,"km_value":14173628300001.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995287552,"description":"Unknown IO ID 45"} 
[2026-08-21 12:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547828224001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1778218195995287552}} 
[2026-08-21 12:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":160212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:41:12] local.INFO: GPS data processed {"connection_id":160212,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:41:12] local.INFO: Acknowledgment sent {"connection_id":160212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:41:29] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:29] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:29] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:41:29] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:29] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:29] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:41:30] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:30] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:30] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:41:30] local.INFO: TCP Data received {"connection_id":159024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:30] local.INFO: Processing buffer {"connection_id":159024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:41:30] local.INFO: IMEI packet received {"connection_id":159024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":159024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:41:35] local.INFO: TCP Data received {"connection_id":161571,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023263670012dda1ec0050f1f680013008830..."} 
[2026-08-21 12:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023263670012dda1ec0050f1f680013008830..."} 
[2026-08-21 12:41:35] local.INFO: Processing buffer {"connection_id":161571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023263670012dda1ec0050f1f680013008830..."} 
[2026-08-21 12:41:35] local.INFO: Packet analysis {"connection_id":161571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02326"} 
[2026-08-21 12:41:35] local.INFO: Extracted packet for processing {"connection_id":161571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02326"} 
[2026-08-21 12:41:35] local.INFO: GPS Element Parsed {"raw_longitude":769269440,"raw_latitude":84877160,"longitude_deg":76.926944,"latitude_deg":8.487716,"altitude":19,"angle":136,"satellites":48,"speed":0,"hex_longitude":"2dda1ec0","hex_latitude":"050f1f68","is_valid_coordinates":true} 
[2026-08-21 12:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547796736001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220075250810880,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2730166514876299264,"note":"Value kept but may cause issues"} 
[2026-08-21 12:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296102000,"timestamp_ms":1787296102000,"timestamp_seconds":1787296102,"priority":1,"record_length":96,"hex_timestamp":"000001a023263670"} 
[2026-08-21 12:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:41: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-08-21 12:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547796736001,"66":28028,"225":206,"80":34304,"24":0,"16":388220075250810880,"45":-2730166514876299264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547796736001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:41:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:41:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220075250810880,"km_value":388220075250810.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2730166514876299264,"description":"Unknown IO ID 45"} 
[2026-08-21 12:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547796736001,"power":28028,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2730166514876299264}} 
[2026-08-21 12:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":161571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:41:35] local.INFO: GPS data processed {"connection_id":161571,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:41:35] local.INFO: Acknowledgment sent {"connection_id":161571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:42:03] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:03] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:03] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:42:08] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:08] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:08] local.INFO: IMEI packet received {"connection_id":159025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":159025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:42:09] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023268878012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023268878012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:42:09] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023268878012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:42:09] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02326"} 
[2026-08-21 12:42:09] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02326"} 
[2026-08-21 12:42:09] local.INFO: GPS Element Parsed {"raw_longitude":769270144,"raw_latitude":84876272,"longitude_deg":76.9270144,"latitude_deg":8.4876272,"altitude":19,"angle":140,"satellites":48,"speed":0,"hex_longitude":"2dda2180","hex_latitude":"050f1bf0","is_valid_coordinates":true} 
[2026-08-21 12:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547802112001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220135380353024,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2729533196178855936,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787296123000,"timestamp_ms":1787296123000,"timestamp_seconds":1787296123,"priority":1,"record_length":96,"hex_timestamp":"000001a023268878"} 
[2026-08-21 12:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 12:42: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-08-21 12:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:42: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-08-21 12:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547802112001,"66":28050,"225":206,"80":34304,"24":0,"16":388220135380353024,"45":-2729533196178855936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547802112001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220135380353024,"km_value":388220135380353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2729533196178855936,"description":"Unknown IO ID 45"} 
[2026-08-21 12:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547802112001,"power":28050,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2729533196178855936}} 
[2026-08-21 12:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:42:09] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:42:09] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:42:10] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02326da80012dda2180050f1bf00013008c2f..."} 
[2026-08-21 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02326da80012dda2180050f1bf00013008c2f..."} 
[2026-08-21 12:42:10] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02326da80012dda2180050f1bf00013008c2f..."} 
[2026-08-21 12:42:10] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02326"} 
[2026-08-21 12:42:10] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02326"} 
[2026-08-21 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":769270144,"raw_latitude":84876272,"longitude_deg":76.9270144,"latitude_deg":8.4876272,"altitude":19,"angle":140,"satellites":47,"speed":0,"hex_longitude":"2dda2180","hex_latitude":"050f1bf0","is_valid_coordinates":true} 
[2026-08-21 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547807488001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220135380353024,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2728759139993128960,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787296144000,"timestamp_ms":1787296144000,"timestamp_seconds":1787296144,"priority":1,"record_length":96,"hex_timestamp":"000001a02326da80"} 
[2026-08-21 12:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 12:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:42: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-08-21 12:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547807488001,"66":27821,"225":206,"80":34304,"24":0,"16":388220135380353024,"45":-2728759139993128960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547807488001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:42:10] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:42:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220135380353024,"km_value":388220135380353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2728759139993128960,"description":"Unknown IO ID 45"} 
[2026-08-21 12:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547807488001,"power":27821,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2728759139993128960}} 
[2026-08-21 12:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:42:10] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:42:10] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:42:42] local.INFO: TCP Data received {"connection_id":159025,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023272c88012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023272c88012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:42:42] local.INFO: Processing buffer {"connection_id":159025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023272c88012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:42:42] local.INFO: Packet analysis {"connection_id":159025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:42:42] local.INFO: Extracted packet for processing {"connection_id":159025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:42:42] local.INFO: GPS Element Parsed {"raw_longitude":769270144,"raw_latitude":84876272,"longitude_deg":76.9270144,"latitude_deg":8.4876272,"altitude":19,"angle":140,"satellites":48,"speed":0,"hex_longitude":"2dda2180","hex_latitude":"050f1bf0","is_valid_coordinates":true} 
[2026-08-21 12:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547812864001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220135380353024,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2728759139993128960,"note":"Value kept but may cause issues"} 
[2026-08-21 12:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787296165000,"timestamp_ms":1787296165000,"timestamp_seconds":1787296165,"priority":1,"record_length":96,"hex_timestamp":"000001a023272c88"} 
[2026-08-21 12:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 12:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547812864001,"66":27974,"225":206,"80":34304,"24":0,"16":388220135380353024,"45":-2728759139993128960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547812864001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220135380353024,"km_value":388220135380353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2728759139993128960,"description":"Unknown IO ID 45"} 
[2026-08-21 12:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547812864001,"power":27974,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2728759139993128960}} 
[2026-08-21 12:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":159025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:42:42] local.INFO: GPS data processed {"connection_id":159025,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:42:42] local.INFO: Acknowledgment sent {"connection_id":159025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:42:58] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:58] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:42:58] local.INFO: IMEI packet received {"connection_id":159026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":159026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:43:03] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:43:03] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:43:03] local.INFO: IMEI packet received {"connection_id":159026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":159026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:43:04] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023277e90012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023277e90012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:43:04] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023277e90012dda2180050f1bf00013008c30..."} 
[2026-08-21 12:43:04] local.INFO: Packet analysis {"connection_id":159026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:43:04] local.INFO: Extracted packet for processing {"connection_id":159026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":769270144,"raw_latitude":84876272,"longitude_deg":76.9270144,"latitude_deg":8.4876272,"altitude":19,"angle":140,"satellites":48,"speed":0,"hex_longitude":"2dda2180","hex_latitude":"050f1bf0","is_valid_coordinates":true} 
[2026-08-21 12:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547818240001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220135380353024,"note":"Value kept but may cause issues"} 
[2026-08-21 12:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2728759139993128960,"note":"Value kept but may cause issues"} 
[2026-08-21 12:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296186000,"timestamp_ms":1787296186000,"timestamp_seconds":1787296186,"priority":1,"record_length":96,"hex_timestamp":"000001a023277e90"} 
[2026-08-21 12:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:43: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-08-21 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 12:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:43: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-08-21 12:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547818240001,"66":27919,"225":206,"80":34304,"24":0,"16":388220135380353024,"45":-2728759139993128960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547818240001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:43:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:43:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220135380353024,"km_value":388220135380353.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2728759139993128960,"description":"Unknown IO ID 45"} 
[2026-08-21 12:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547818240001,"power":27919,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2728759139993128960}} 
[2026-08-21 12:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":159026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:43:04] local.INFO: GPS data processed {"connection_id":159026,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:43:04] local.INFO: Acknowledgment sent {"connection_id":159026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:43:38] local.INFO: TCP Data received {"connection_id":159026,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02327d098012dda22c0050f1a780013008c30..."} 
[2026-08-21 12:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02327d098012dda22c0050f1a780013008c30..."} 
[2026-08-21 12:43:38] local.INFO: Processing buffer {"connection_id":159026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02327d098012dda22c0050f1a780013008c30..."} 
[2026-08-21 12:43:38] local.INFO: Packet analysis {"connection_id":159026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:43:38] local.INFO: Extracted packet for processing {"connection_id":159026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02327"} 
[2026-08-21 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":769270464,"raw_latitude":84875896,"longitude_deg":76.9270464,"latitude_deg":8.4875896,"altitude":19,"angle":140,"satellites":48,"speed":0,"hex_longitude":"2dda22c0","hex_latitude":"050f1a78","is_valid_coordinates":true} 
[2026-08-21 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547823616001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220156855189504,"note":"Value kept but may cause issues"} 
[2026-08-21 12:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2728759139993128960,"note":"Value kept but may cause issues"} 
[2026-08-21 12:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787296207000,"timestamp_ms":1787296207000,"timestamp_seconds":1787296207,"priority":1,"record_length":96,"hex_timestamp":"000001a02327d098"} 
[2026-08-21 12:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547823616001,"66":27930,"225":206,"80":34304,"24":0,"16":388220156855189504,"45":-2728759139993128960},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547823616001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:43:38] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:43:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220156855189504,"km_value":388220156855189.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2728759139993128960,"description":"Unknown IO ID 45"} 
[2026-08-21 12:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547823616001,"power":27930,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2728759139993128960}} 
[2026-08-21 12:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":159026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:43:38] local.INFO: GPS data processed {"connection_id":159026,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:43:38] local.INFO: Acknowledgment sent {"connection_id":159026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:43:57] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:43:57] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:43:57] local.INFO: IMEI packet received {"connection_id":161573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":161573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:44:03] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:03] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:03] local.INFO: IMEI packet received {"connection_id":161573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":161573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:44:03] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232822a0012dda27c0050f14c80013008830..."} 
[2026-08-21 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232822a0012dda27c0050f14c80013008830..."} 
[2026-08-21 12:44:03] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232822a0012dda27c0050f14c80013008830..."} 
[2026-08-21 12:44:03] local.INFO: Packet analysis {"connection_id":161573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02328"} 
[2026-08-21 12:44:03] local.INFO: Extracted packet for processing {"connection_id":161573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02328"} 
[2026-08-21 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":769271744,"raw_latitude":84874440,"longitude_deg":76.9271744,"latitude_deg":8.487444,"altitude":19,"angle":136,"satellites":48,"speed":5,"hex_longitude":"2dda27c0","hex_latitude":"050f14c8","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547828992001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220251344470016,"note":"Value kept but may cause issues"} 
[2026-08-21 12:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2728407296272336896,"note":"Value kept but may cause issues"} 
[2026-08-21 12:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787296228000,"timestamp_ms":1787296228000,"timestamp_seconds":1787296228,"priority":1,"record_length":96,"hex_timestamp":"000001a0232822a0"} 
[2026-08-21 12:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 12:44:03] 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-08-21 12: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-08-21 12:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:44: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-08-21 12:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547828992001,"66":27658,"225":206,"80":34304,"24":5,"16":388220251344470016,"45":-2728407296272336896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547828992001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220251344470016,"km_value":388220251344470.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2728407296272336896,"description":"Unknown IO ID 45"} 
[2026-08-21 12:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547828992001,"power":27658,"unknown_225":206,"unknown_80":34304,"ignition":5,"odometer":null,"unknown_45":-2728407296272336896}} 
[2026-08-21 12:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":161573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:44:03] local.INFO: GPS data processed {"connection_id":161573,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:44:03] local.INFO: Acknowledgment sent {"connection_id":161573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:44:34] local.INFO: TCP Data received {"connection_id":161573,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232874a8012dda2a40050f11d80013008b30..."} 
[2026-08-21 12:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232874a8012dda2a40050f11d80013008b30..."} 
[2026-08-21 12:44:34] local.INFO: Processing buffer {"connection_id":161573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232874a8012dda2a40050f11d80013008b30..."} 
[2026-08-21 12:44:34] local.INFO: Packet analysis {"connection_id":161573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02328"} 
[2026-08-21 12:44:34] local.INFO: Extracted packet for processing {"connection_id":161573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02328"} 
[2026-08-21 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":769272384,"raw_latitude":84873688,"longitude_deg":76.9272384,"latitude_deg":8.4873688,"altitude":19,"angle":139,"satellites":48,"speed":5,"hex_longitude":"2dda2a40","hex_latitude":"050f11d8","is_valid_coordinates":true} 
[2026-08-21 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547834368001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220298589110272,"note":"Value kept but may cause issues"} 
[2026-08-21 12:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2726999921389156352,"note":"Value kept but may cause issues"} 
[2026-08-21 12:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787296249000,"timestamp_ms":1787296249000,"timestamp_seconds":1787296249,"priority":1,"record_length":96,"hex_timestamp":"000001a0232874a8"} 
[2026-08-21 12:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 12:44:34] 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-08-21 12:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547834368001,"66":27843,"225":206,"80":34304,"24":5,"16":388220298589110272,"45":-2726999921389156352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547834368001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:44:34] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220298589110272,"km_value":388220298589110.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2726999921389156352,"description":"Unknown IO ID 45"} 
[2026-08-21 12:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547834368001,"power":27843,"unknown_225":206,"unknown_80":34304,"ignition":5,"odometer":null,"unknown_45":-2726999921389156352}} 
[2026-08-21 12:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":161573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:44:34] local.INFO: GPS data processed {"connection_id":161573,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:44:34] local.INFO: Acknowledgment sent {"connection_id":161573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:44:57] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:57] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:57] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:44:57] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:57] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:44:57] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:45:03] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:45:03] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:45:03] local.INFO: IMEI packet received {"connection_id":160215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":160215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:45:04] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02328c6b0012dda2c00050f0ff80012008b30..."} 
[2026-08-21 12:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02328c6b0012dda2c00050f0ff80012008b30..."} 
[2026-08-21 12:45:04] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02328c6b0012dda2c00050f0ff80012008b30..."} 
[2026-08-21 12:45:04] local.INFO: Packet analysis {"connection_id":160215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02328"} 
[2026-08-21 12:45:04] local.INFO: Extracted packet for processing {"connection_id":160215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02328"} 
[2026-08-21 12:45:04] local.INFO: GPS Element Parsed {"raw_longitude":769272832,"raw_latitude":84873208,"longitude_deg":76.9272832,"latitude_deg":8.4873208,"altitude":18,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2dda2c00","hex_latitude":"050f0ff8","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547839744001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220337243815936,"note":"Value kept but may cause issues"} 
[2026-08-21 12:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2726296233947572224,"note":"Value kept but may cause issues"} 
[2026-08-21 12:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296270000,"timestamp_ms":1787296270000,"timestamp_seconds":1787296270,"priority":1,"record_length":96,"hex_timestamp":"000001a02328c6b0"} 
[2026-08-21 12:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:45: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-08-21 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:45: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-08-21 12:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547839744001,"66":27974,"225":206,"80":34304,"24":0,"16":388220337243815936,"45":-2726296233947572224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547839744001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:45:04] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:45:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220337243815936,"km_value":388220337243815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2726296233947572224,"description":"Unknown IO ID 45"} 
[2026-08-21 12:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547839744001,"power":27974,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2726296233947572224}} 
[2026-08-21 12:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":160215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:45:04] local.INFO: GPS data processed {"connection_id":160215,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:45:04] local.INFO: Acknowledgment sent {"connection_id":160215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:45:35] local.INFO: TCP Data received {"connection_id":160215,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232918b8012dda2c00050f0ff80012008b2f..."} 
[2026-08-21 12:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232918b8012dda2c00050f0ff80012008b2f..."} 
[2026-08-21 12:45:35] local.INFO: Processing buffer {"connection_id":160215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232918b8012dda2c00050f0ff80012008b2f..."} 
[2026-08-21 12:45:35] local.INFO: Packet analysis {"connection_id":160215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02329"} 
[2026-08-21 12:45:35] local.INFO: Extracted packet for processing {"connection_id":160215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02329"} 
[2026-08-21 12:45:35] local.INFO: GPS Element Parsed {"raw_longitude":769272832,"raw_latitude":84873208,"longitude_deg":76.9272832,"latitude_deg":8.4873208,"altitude":18,"angle":139,"satellites":47,"speed":0,"hex_longitude":"2dda2c00","hex_latitude":"050f0ff8","is_valid_coordinates":true} 
[2026-08-21 12:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547845120001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220337243815936,"note":"Value kept but may cause issues"} 
[2026-08-21 12:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2725803652738451456,"note":"Value kept but may cause issues"} 
[2026-08-21 12:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296291000,"timestamp_ms":1787296291000,"timestamp_seconds":1787296291,"priority":1,"record_length":96,"hex_timestamp":"000001a0232918b8"} 
[2026-08-21 12:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 12:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547845120001,"66":27908,"225":206,"80":34304,"24":0,"16":388220337243815936,"45":-2725803652738451456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547845120001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:45:35] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:45:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220337243815936,"km_value":388220337243815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2725803652738451456,"description":"Unknown IO ID 45"} 
[2026-08-21 12:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547845120001,"power":27908,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2725803652738451456}} 
[2026-08-21 12:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":160215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:45:35] local.INFO: GPS data processed {"connection_id":160215,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:45:35] local.INFO: Acknowledgment sent {"connection_id":160215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:45:57] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:45:57] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:45:57] local.INFO: IMEI packet received {"connection_id":159028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":159028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:46:00] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:46:00] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:46:00] local.INFO: IMEI packet received {"connection_id":159028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":159028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:46:03] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:46:03] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:46:03] local.INFO: IMEI packet received {"connection_id":159028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":159028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:46:05] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023296ac0012dda2dc0050f0df00012008430..."} 
[2026-08-21 12:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023296ac0012dda2dc0050f0df00012008430..."} 
[2026-08-21 12:46:05] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023296ac0012dda2dc0050f0df00012008430..."} 
[2026-08-21 12:46:05] local.INFO: Packet analysis {"connection_id":159028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02329"} 
[2026-08-21 12:46:05] local.INFO: Extracted packet for processing {"connection_id":159028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02329"} 
[2026-08-21 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":769273280,"raw_latitude":84872688,"longitude_deg":76.927328,"latitude_deg":8.4872688,"altitude":18,"angle":132,"satellites":48,"speed":0,"hex_longitude":"2dda2dc0","hex_latitude":"050f0df0","is_valid_coordinates":true} 
[2026-08-21 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547850496001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220371603554304,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2725803652738451456,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787296312000,"timestamp_ms":1787296312000,"timestamp_seconds":1787296312,"priority":1,"record_length":96,"hex_timestamp":"000001a023296ac0"} 
[2026-08-21 12:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:46: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-08-21 12:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547850496001,"66":27843,"225":206,"80":34304,"24":0,"16":388220371603554304,"45":-2725803652738451456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547850496001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:46:05] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:46:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220371603554304,"km_value":388220371603554.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2725803652738451456,"description":"Unknown IO ID 45"} 
[2026-08-21 12:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547850496001,"power":27843,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2725803652738451456}} 
[2026-08-21 12:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":159028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:46:05] local.INFO: GPS data processed {"connection_id":159028,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:46:05] local.INFO: Acknowledgment sent {"connection_id":159028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:46:35] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:46:35] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:46:35] local.INFO: IMEI packet received {"connection_id":159311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":159311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:46:36] local.INFO: TCP Data received {"connection_id":159028,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02329bcc8012dda2e40050f0d780012008830..."} 
[2026-08-21 12:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02329bcc8012dda2e40050f0d780012008830..."} 
[2026-08-21 12:46:36] local.INFO: Processing buffer {"connection_id":159028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02329bcc8012dda2e40050f0d780012008830..."} 
[2026-08-21 12:46:36] local.INFO: Packet analysis {"connection_id":159028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02329"} 
[2026-08-21 12:46:36] local.INFO: Extracted packet for processing {"connection_id":159028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02329"} 
[2026-08-21 12:46:36] local.INFO: GPS Element Parsed {"raw_longitude":769273408,"raw_latitude":84872568,"longitude_deg":76.9273408,"latitude_deg":8.4872568,"altitude":18,"angle":136,"satellites":48,"speed":0,"hex_longitude":"2dda2e40","hex_latitude":"050f0d78","is_valid_coordinates":true} 
[2026-08-21 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547855872001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220380193488896,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2725311071529340928,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296333000,"timestamp_ms":1787296333000,"timestamp_seconds":1787296333,"priority":1,"record_length":96,"hex_timestamp":"000001a02329bcc8"} 
[2026-08-21 12:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:46: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-08-21 12:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:46: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-08-21 12:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547855872001,"66":28017,"225":206,"80":34304,"24":0,"16":388220380193488896,"45":-2725311071529340928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,80,24,16,45]} 
[2026-08-21 12:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547855872001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:46:36] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 12:46:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220380193488896,"km_value":388220380193488.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2725311071529340928,"description":"Unknown IO ID 45"} 
[2026-08-21 12:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547855872001,"power":28017,"unknown_225":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2725311071529340928}} 
[2026-08-21 12:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":159028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:46:36] local.INFO: GPS data processed {"connection_id":159028,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:46:36] local.INFO: Acknowledgment sent {"connection_id":159028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:46:40] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:46:40] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:46:40] local.INFO: IMEI packet received {"connection_id":159311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":159311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:46:41] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232cfcd0012d1825000721b7e8005300d11f..."} 
[2026-08-21 12:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232cfcd0012d1825000721b7e8005300d11f..."} 
[2026-08-21 12:46:41] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232cfcd0012d1825000721b7e8005300d11f..."} 
[2026-08-21 12:46:41] local.INFO: Packet analysis {"connection_id":159311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232c"} 
[2026-08-21 12:46:41] local.INFO: Extracted packet for processing {"connection_id":159311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232c"} 
[2026-08-21 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650280,"longitude_deg":75.6557056,"latitude_deg":11.965028,"altitude":83,"angle":209,"satellites":31,"speed":3,"hex_longitude":"2d182500","hex_latitude":"0721b7e8","is_valid_coordinates":true} 
[2026-08-21 12:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547915520001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175831618224128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679052800,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787296546000,"timestamp_ms":1787296546000,"timestamp_seconds":1787296546,"priority":1,"record_length":96,"hex_timestamp":"000001a0232cfcd0"} 
[2026-08-21 12:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-21 12:46:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547915520001,"66":13722,"105":206,"83":41984,"24":3,"16":14175831618224128,"45":1739796861679052800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547915520001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:46:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:46:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175831618224128,"km_value":14175831618224.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679052800,"description":"Unknown IO ID 45"} 
[2026-08-21 12:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547915520001,"power":13722,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739796861679052800}} 
[2026-08-21 12:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":159311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:46:41] local.INFO: GPS data processed {"connection_id":159311,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:46:41] local.INFO: Acknowledgment sent {"connection_id":159311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:46:45] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232d4ed8012d1823800721b528005200cf1f..."} 
[2026-08-21 12:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232d4ed8012d1823800721b528005200cf1f..."} 
[2026-08-21 12:46:45] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232d4ed8012d1823800721b528005200cf1f..."} 
[2026-08-21 12:46:45] local.INFO: Packet analysis {"connection_id":159311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232d"} 
[2026-08-21 12:46:45] local.INFO: Extracted packet for processing {"connection_id":159311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232d"} 
[2026-08-21 12:46:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547915776001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679036416,"note":"Value kept but may cause issues"} 
[2026-08-21 12:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787296567000,"timestamp_ms":1787296567000,"timestamp_seconds":1787296567,"priority":1,"record_length":96,"hex_timestamp":"000001a0232d4ed8"} 
[2026-08-21 12:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-21 12:46:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547915776001,"66":12776,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739796861679036416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547915776001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:46:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:46:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679036416,"description":"Unknown IO ID 45"} 
[2026-08-21 12:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547915776001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861679036416}} 
[2026-08-21 12:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":159311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:46:46] local.INFO: GPS data processed {"connection_id":159311,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:46:46] local.INFO: Acknowledgment sent {"connection_id":159311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:47:03] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:03] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:03] local.INFO: IMEI packet received {"connection_id":161574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":161574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:47:03] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:03] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:03] local.INFO: IMEI packet received {"connection_id":161574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":161574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:47:08] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:08] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:08] local.INFO: IMEI packet received {"connection_id":161574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":161574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:47:09] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232a0ed0012dda2e40050f0d680012008830..."} 
[2026-08-21 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232a0ed0012dda2e40050f0d680012008830..."} 
[2026-08-21 12:47:09] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232a0ed0012dda2e40050f0d680012008830..."} 
[2026-08-21 12:47:09] local.INFO: Packet analysis {"connection_id":161574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232a"} 
[2026-08-21 12:47:09] local.INFO: Extracted packet for processing {"connection_id":161574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232a"} 
[2026-08-21 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":769273408,"raw_latitude":84872552,"longitude_deg":76.9273408,"latitude_deg":8.4872552,"altitude":18,"angle":136,"satellites":48,"speed":0,"hex_longitude":"2dda2e40","hex_latitude":"050f0d68","is_valid_coordinates":true} 
[2026-08-21 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547861248001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220380193488896,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2725170334041016320,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787296354000,"timestamp_ms":1787296354000,"timestamp_seconds":1787296354,"priority":1,"record_length":96,"hex_timestamp":"000001a0232a0ed0"} 
[2026-08-21 12:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 12:47: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-08-21 12:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:47: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-08-21 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547861248001,"66":28050,"223":206,"80":34304,"24":0,"16":388220380193488896,"45":-2725170334041016320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547861248001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220380193488896,"km_value":388220380193488.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2725170334041016320,"description":"Unknown IO ID 45"} 
[2026-08-21 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547861248001,"power":28050,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2725170334041016320}} 
[2026-08-21 12:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":161574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:47:09] local.INFO: GPS data processed {"connection_id":161574,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:47:09] local.INFO: Acknowledgment sent {"connection_id":161574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:47:14] local.INFO: TCP Data received {"connection_id":161574,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232a60d8012dda3100050f09c00012008f30..."} 
[2026-08-21 12:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232a60d8012dda3100050f09c00012008f30..."} 
[2026-08-21 12:47:14] local.INFO: Processing buffer {"connection_id":161574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232a60d8012dda3100050f09c00012008f30..."} 
[2026-08-21 12:47:14] local.INFO: Packet analysis {"connection_id":161574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232a"} 
[2026-08-21 12:47:14] local.INFO: Extracted packet for processing {"connection_id":161574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232a"} 
[2026-08-21 12:47:14] local.INFO: GPS Element Parsed {"raw_longitude":769274112,"raw_latitude":84871616,"longitude_deg":76.9274112,"latitude_deg":8.4871616,"altitude":18,"angle":143,"satellites":48,"speed":0,"hex_longitude":"2dda3100","hex_latitude":"050f09c0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 12:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547866624001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220440323031040,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2725170334041020416,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787296375000,"timestamp_ms":1787296375000,"timestamp_seconds":1787296375,"priority":1,"record_length":96,"hex_timestamp":"000001a0232a60d8"} 
[2026-08-21 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-08-21 12:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 12:47:14] 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-08-21 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-08-21 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-08-21 12:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547866624001,"66":28028,"223":206,"80":34304,"24":0,"16":388220440323031040,"45":-2725170334041020416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547866624001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220440323031040,"km_value":388220440323031.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2725170334041020416,"description":"Unknown IO ID 45"} 
[2026-08-21 12:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547866624001,"power":28028,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2725170334041020416}} 
[2026-08-21 12:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":161574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:47:14] local.INFO: GPS data processed {"connection_id":161574,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:47:14] local.INFO: Acknowledgment sent {"connection_id":161574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:47:30] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:47:30] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:47:30] local.INFO: IMEI packet received {"connection_id":159312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":159312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:47:33] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:47:33] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:47:33] local.INFO: IMEI packet received {"connection_id":159312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":159312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:47:34] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232da0e0012d1823800721b528005200cf1f..."} 
[2026-08-21 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232da0e0012d1823800721b528005200cf1f..."} 
[2026-08-21 12:47:34] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232da0e0012d1823800721b528005200cf1f..."} 
[2026-08-21 12:47:34] local.INFO: Packet analysis {"connection_id":159312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232d"} 
[2026-08-21 12:47:34] local.INFO: Extracted packet for processing {"connection_id":159312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232d"} 
[2026-08-21 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547921152001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787296588000,"timestamp_ms":1787296588000,"timestamp_seconds":1787296588,"priority":1,"record_length":96,"hex_timestamp":"000001a0232da0e0"} 
[2026-08-21 12:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 12:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547921152001,"66":12906,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547921152001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:47:34] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:47:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547921152001,"power":12906,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":159312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:47:34] local.INFO: GPS data processed {"connection_id":159312,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:47:34] local.INFO: Acknowledgment sent {"connection_id":159312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:47:58] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:58] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:47:58] local.INFO: IMEI packet received {"connection_id":161575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":161575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:48:03] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:48:03] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:48:03] local.INFO: IMEI packet received {"connection_id":161575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":161575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:48:04] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232ab2e0012dda31c0050f09200012008b30..."} 
[2026-08-21 12:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232ab2e0012dda31c0050f09200012008b30..."} 
[2026-08-21 12:48:04] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232ab2e0012dda31c0050f09200012008b30..."} 
[2026-08-21 12:48:04] local.INFO: Packet analysis {"connection_id":161575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232a"} 
[2026-08-21 12:48:04] local.INFO: Extracted packet for processing {"connection_id":161575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232a"} 
[2026-08-21 12:48:04] local.INFO: GPS Element Parsed {"raw_longitude":769274304,"raw_latitude":84871456,"longitude_deg":76.9274304,"latitude_deg":8.4871456,"altitude":18,"angle":139,"satellites":48,"speed":3,"hex_longitude":"2dda31c0","hex_latitude":"050f0920","is_valid_coordinates":true} 
[2026-08-21 12:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547872000001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388220453207932928,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2724396277855305728,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296396000,"timestamp_ms":1787296396000,"timestamp_seconds":1787296396,"priority":1,"record_length":96,"hex_timestamp":"000001a0232ab2e0"} 
[2026-08-21 12:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:48: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-08-21 12:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 12:48: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-08-21 12:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:48: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-08-21 12:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547872000001,"66":27974,"223":206,"80":34304,"24":3,"16":388220453207932928,"45":-2724396277855305728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547872000001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:48:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:48:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388220453207932928,"km_value":388220453207932.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2724396277855305728,"description":"Unknown IO ID 45"} 
[2026-08-21 12:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547872000001,"power":27974,"unknown_223":206,"unknown_80":34304,"ignition":3,"odometer":null,"unknown_45":-2724396277855305728}} 
[2026-08-21 12:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":161575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:48:04] local.INFO: GPS data processed {"connection_id":161575,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:48:04] local.INFO: Acknowledgment sent {"connection_id":161575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:48:05] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232df2e8012d1823800721b528005200cf1f..."} 
[2026-08-21 12:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232df2e8012d1823800721b528005200cf1f..."} 
[2026-08-21 12:48:05] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232df2e8012d1823800721b528005200cf1f..."} 
[2026-08-21 12:48:05] local.INFO: Packet analysis {"connection_id":159312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232d"} 
[2026-08-21 12:48:05] local.INFO: Extracted packet for processing {"connection_id":159312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232d"} 
[2026-08-21 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":31,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547926528001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787296609000,"timestamp_ms":1787296609000,"timestamp_seconds":1787296609,"priority":1,"record_length":96,"hex_timestamp":"000001a0232df2e8"} 
[2026-08-21 12:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 12:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547926528001,"66":12798,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547926528001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:48:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:48:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547926528001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":159312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:48:05] local.INFO: GPS data processed {"connection_id":159312,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:48:05] local.INFO: Acknowledgment sent {"connection_id":159312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:48:30] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:48:30] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:48:30] local.INFO: IMEI packet received {"connection_id":159029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":159029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:48:35] local.INFO: TCP Data received {"connection_id":161575,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232e3938012dda5100050ee570001100882f..."} 
[2026-08-21 12:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232e3938012dda5100050ee570001100882f..."} 
[2026-08-21 12:48:35] local.INFO: Processing buffer {"connection_id":161575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232e3938012dda5100050ee570001100882f..."} 
[2026-08-21 12:48:35] local.INFO: Packet analysis {"connection_id":161575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:48:35] local.INFO: Extracted packet for processing {"connection_id":161575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:48:35] local.INFO: GPS Element Parsed {"raw_longitude":769282304,"raw_latitude":84862320,"longitude_deg":76.9282304,"latitude_deg":8.486232,"altitude":17,"angle":136,"satellites":47,"speed":5,"hex_longitude":"2dda5100","hex_latitude":"050ee570","is_valid_coordinates":true} 
[2026-08-21 12:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547931136001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221063093288960,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2717570509671901184,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296627000,"timestamp_ms":1787296627000,"timestamp_seconds":1787296627,"priority":1,"record_length":96,"hex_timestamp":"000001a0232e3938"} 
[2026-08-21 12:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:48: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-08-21 12:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 12:48:35] 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-08-21 12:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547931136001,"66":27800,"223":206,"80":34304,"24":5,"16":388221063093288960,"45":-2717570509671901184},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547931136001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:48:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:48:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221063093288960,"km_value":388221063093288.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2717570509671901184,"description":"Unknown IO ID 45"} 
[2026-08-21 12:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547931136001,"power":27800,"unknown_223":206,"unknown_80":34304,"ignition":5,"odometer":null,"unknown_45":-2717570509671901184}} 
[2026-08-21 12:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":161575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:48:35] local.INFO: GPS data processed {"connection_id":161575,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:48:35] local.INFO: Acknowledgment sent {"connection_id":161575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:48:35] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:48:35] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:48:35] local.INFO: IMEI packet received {"connection_id":159029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":159029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:48:36] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232e44f0012d1823800721b528005200cf21..."} 
[2026-08-21 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232e44f0012d1823800721b528005200cf21..."} 
[2026-08-21 12:48:36] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232e44f0012d1823800721b528005200cf21..."} 
[2026-08-21 12:48:36] local.INFO: Packet analysis {"connection_id":159029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:48:36] local.INFO: Extracted packet for processing {"connection_id":159029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":33,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547931904001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296630000,"timestamp_ms":1787296630000,"timestamp_seconds":1787296630,"priority":1,"record_length":96,"hex_timestamp":"000001a0232e44f0"} 
[2026-08-21 12:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 12:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547931904001,"66":12809,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547931904001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547931904001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":159029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:48:36] local.INFO: GPS data processed {"connection_id":159029,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:48:36] local.INFO: Acknowledgment sent {"connection_id":159029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:48:58] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:48:58] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:48:58] local.INFO: IMEI packet received {"connection_id":159313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":159313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:49:03] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:49:03] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:49:03] local.INFO: IMEI packet received {"connection_id":159313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":159313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:49:04] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232e8b40012dda5440050ee1a0001000842f..."} 
[2026-08-21 12:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232e8b40012dda5440050ee1a0001000842f..."} 
[2026-08-21 12:49:04] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232e8b40012dda5440050ee1a0001000842f..."} 
[2026-08-21 12:49:04] local.INFO: Packet analysis {"connection_id":159313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:04] local.INFO: Extracted packet for processing {"connection_id":159313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:04] local.INFO: GPS Element Parsed {"raw_longitude":769283136,"raw_latitude":84861344,"longitude_deg":76.9283136,"latitude_deg":8.4861344,"altitude":16,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2dda5440","hex_latitude":"050ee1a0","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547936512001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221127517798400,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2715389078602944512,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296648000,"timestamp_ms":1787296648000,"timestamp_seconds":1787296648,"priority":1,"record_length":96,"hex_timestamp":"000001a0232e8b40"} 
[2026-08-21 12:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:49: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-08-21 12: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 12:49:04] 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-08-21 12: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-08-21 12:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:49: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-08-21 12:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547936512001,"66":28028,"223":206,"80":34304,"24":0,"16":388221127517798400,"45":-2715389078602944512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547936512001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:49:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:49:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221127517798400,"km_value":388221127517798.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2715389078602944512,"description":"Unknown IO ID 45"} 
[2026-08-21 12:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547936512001,"power":28028,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2715389078602944512}} 
[2026-08-21 12:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":159313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:49:04] local.INFO: GPS data processed {"connection_id":159313,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:49:04] local.INFO: Acknowledgment sent {"connection_id":159313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:49:07] local.INFO: TCP Data received {"connection_id":159029,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232e8f28012d1823800721b528005200cf22..."} 
[2026-08-21 12:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232e8f28012d1823800721b528005200cf22..."} 
[2026-08-21 12:49:07] local.INFO: Processing buffer {"connection_id":159029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232e8f28012d1823800721b528005200cf22..."} 
[2026-08-21 12:49:07] local.INFO: Packet analysis {"connection_id":159029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:07] local.INFO: Extracted packet for processing {"connection_id":159029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":34,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547937280001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296649000,"timestamp_ms":1787296649000,"timestamp_seconds":1787296649,"priority":1,"record_length":96,"hex_timestamp":"000001a0232e8f28"} 
[2026-08-21 12:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3226301372481152640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3085434963,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743850,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429850330016568607,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-5476151289970635181,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755412326088945,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,92,160,242,45,128,181,82,31,10,66,78,1,240,232,227,35,33,4,113,205,3,248,37,40,239,53,2,50,7,84,54,164,214],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 12:49:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908950451750961152,"timestamp_seconds":5908950451750961.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 12:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547937280001,"66":12776,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547937280001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547937280001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":159029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:49:07] local.INFO: GPS data processed {"connection_id":159029,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:49:07] local.INFO: Acknowledgment sent {"connection_id":159029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:49:30] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:49:30] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:49:30] local.INFO: IMEI packet received {"connection_id":159030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":159030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:49:35] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232edd48012dda5600050edfc8001100882f..."} 
[2026-08-21 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232edd48012dda5600050edfc8001100882f..."} 
[2026-08-21 12:49:35] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232edd48012dda5600050edfc8001100882f..."} 
[2026-08-21 12:49:35] local.INFO: Packet analysis {"connection_id":159313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:35] local.INFO: Extracted packet for processing {"connection_id":159313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:35] local.INFO: GPS Element Parsed {"raw_longitude":769283584,"raw_latitude":84860872,"longitude_deg":76.9283584,"latitude_deg":8.4860872,"altitude":17,"angle":136,"satellites":47,"speed":0,"hex_longitude":"2dda5600","hex_latitude":"050edfc8","is_valid_coordinates":true} 
[2026-08-21 12:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547941888001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221166172504064,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2714474284928884736,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296669000,"timestamp_ms":1787296669000,"timestamp_seconds":1787296669,"priority":1,"record_length":96,"hex_timestamp":"000001a0232edd48"} 
[2026-08-21 12:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:49: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-08-21 12:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 12:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547941888001,"66":27908,"223":206,"80":34304,"24":0,"16":388221166172504064,"45":-2714474284928884736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547941888001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:49:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:49:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221166172504064,"km_value":388221166172504.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2714474284928884736,"description":"Unknown IO ID 45"} 
[2026-08-21 12:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547941888001,"power":27908,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2714474284928884736}} 
[2026-08-21 12:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":159313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:49:35] local.INFO: GPS data processed {"connection_id":159313,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:49:35] local.INFO: Acknowledgment sent {"connection_id":159313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:49:35] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:49:35] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:49:35] local.INFO: IMEI packet received {"connection_id":159030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":159030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:49:36] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232edd48012d1823800721b528005200cf26..."} 
[2026-08-21 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232edd48012d1823800721b528005200cf26..."} 
[2026-08-21 12:49:36] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232edd48012d1823800721b528005200cf26..."} 
[2026-08-21 12:49:36] local.INFO: Packet analysis {"connection_id":159030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:36] local.INFO: Extracted packet for processing {"connection_id":159030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232e"} 
[2026-08-21 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":38,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547942144001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296669000,"timestamp_ms":1787296669000,"timestamp_seconds":1787296669,"priority":1,"record_length":96,"hex_timestamp":"000001a0232edd48"} 
[2026-08-21 12:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 12:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547942144001,"66":12743,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547942144001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:49:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547942144001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":159030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:49:36] local.INFO: GPS data processed {"connection_id":159030,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:49:36] local.INFO: Acknowledgment sent {"connection_id":159030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:49:58] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:49:58] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:49:58] local.INFO: IMEI packet received {"connection_id":161576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":161576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:50:03] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:50:03] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:50:03] local.INFO: IMEI packet received {"connection_id":161576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":161576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:50:04] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232f2f50012dda58c0050edcf00011008c30..."} 
[2026-08-21 12:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232f2f50012dda58c0050edcf00011008c30..."} 
[2026-08-21 12:50:04] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232f2f50012dda58c0050edcf00011008c30..."} 
[2026-08-21 12:50:04] local.INFO: Packet analysis {"connection_id":161576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:04] local.INFO: Extracted packet for processing {"connection_id":161576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:04] local.INFO: GPS Element Parsed {"raw_longitude":769284288,"raw_latitude":84860144,"longitude_deg":76.9284288,"latitude_deg":8.4860144,"altitude":17,"angle":140,"satellites":48,"speed":0,"hex_longitude":"2dda58c0","hex_latitude":"050edcf0","is_valid_coordinates":true} 
[2026-08-21 12:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547947264001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221217712111616,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2713981703719761920,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296690000,"timestamp_ms":1787296690000,"timestamp_seconds":1787296690,"priority":1,"record_length":96,"hex_timestamp":"000001a0232f2f50"} 
[2026-08-21 12:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12: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-08-21 12:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 12:50:04] 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-08-21 12:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:50: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-08-21 12:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547947264001,"66":27930,"223":206,"80":34304,"24":0,"16":388221217712111616,"45":-2713981703719761920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547947264001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:50:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221217712111616,"km_value":388221217712111.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2713981703719761920,"description":"Unknown IO ID 45"} 
[2026-08-21 12:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547947264001,"power":27930,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2713981703719761920}} 
[2026-08-21 12:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":161576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:50:04] local.INFO: GPS data processed {"connection_id":161576,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:50:04] local.INFO: Acknowledgment sent {"connection_id":161576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:50:07] local.INFO: TCP Data received {"connection_id":159030,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232f2b68012d1823800721b528005200cf27..."} 
[2026-08-21 12:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232f2b68012d1823800721b528005200cf27..."} 
[2026-08-21 12:50:07] local.INFO: Processing buffer {"connection_id":159030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232f2b68012d1823800721b528005200cf27..."} 
[2026-08-21 12:50:07] local.INFO: Packet analysis {"connection_id":159030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:07] local.INFO: Extracted packet for processing {"connection_id":159030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547947264001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296689000,"timestamp_ms":1787296689000,"timestamp_seconds":1787296689,"priority":1,"record_length":96,"hex_timestamp":"000001a0232f2b68"} 
[2026-08-21 12:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 12:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547947264001,"66":12678,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547947264001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547947264001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":159030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:50:07] local.INFO: GPS data processed {"connection_id":159030,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:50:07] local.INFO: Acknowledgment sent {"connection_id":159030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:50:30] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:50:30] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:50:30] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:50:35] local.INFO: TCP Data received {"connection_id":161576,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232f8158012dda5a80050edba00012008930..."} 
[2026-08-21 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232f8158012dda5a80050edba00012008930..."} 
[2026-08-21 12:50:35] local.INFO: Processing buffer {"connection_id":161576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232f8158012dda5a80050edba00012008930..."} 
[2026-08-21 12:50:35] local.INFO: Packet analysis {"connection_id":161576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:35] local.INFO: Extracted packet for processing {"connection_id":161576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:35] local.INFO: GPS Element Parsed {"raw_longitude":769284736,"raw_latitude":84859808,"longitude_deg":76.9284736,"latitude_deg":8.4859808,"altitude":18,"angle":137,"satellites":48,"speed":2,"hex_longitude":"2dda5a80","hex_latitude":"050edba0","is_valid_coordinates":true} 
[2026-08-21 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547952640001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221243481915392,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2713207647533993984,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296711000,"timestamp_ms":1787296711000,"timestamp_seconds":1787296711,"priority":1,"record_length":96,"hex_timestamp":"000001a0232f8158"} 
[2026-08-21 12:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:50: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-08-21 12:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 12:50:35] 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-08-21 12:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547952640001,"66":27767,"223":206,"80":34304,"24":2,"16":388221243481915392,"45":-2713207647533993984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547952640001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:50:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221243481915392,"km_value":388221243481915.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2713207647533993984,"description":"Unknown IO ID 45"} 
[2026-08-21 12:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547952640001,"power":27767,"unknown_223":206,"unknown_80":34304,"ignition":2,"odometer":null,"unknown_45":-2713207647533993984}} 
[2026-08-21 12:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":161576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:50:35] local.INFO: GPS data processed {"connection_id":161576,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:50:35] local.INFO: Acknowledgment sent {"connection_id":161576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:50:35] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:50:35] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:50:35] local.INFO: IMEI packet received {"connection_id":160216,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":160216,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:50:36] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232f7988012d1823800721b528005200cf27..."} 
[2026-08-21 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232f7988012d1823800721b528005200cf27..."} 
[2026-08-21 12:50:36] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232f7988012d1823800721b528005200cf27..."} 
[2026-08-21 12:50:36] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:36] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547952384001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296709000,"timestamp_ms":1787296709000,"timestamp_seconds":1787296709,"priority":1,"record_length":96,"hex_timestamp":"000001a0232f7988"} 
[2026-08-21 12:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 12:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547952384001,"66":12689,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547952384001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:50:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547952384001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:50:36] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:50:36] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:50:58] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:50:58] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:50:58] local.INFO: IMEI packet received {"connection_id":159031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":159031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:51:03] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:03] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:03] local.INFO: IMEI packet received {"connection_id":159031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":159031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:51:04] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0232fd360012dda5bc0050eda300011008330..."} 
[2026-08-21 12:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232fd360012dda5bc0050eda300011008330..."} 
[2026-08-21 12:51:04] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232fd360012dda5bc0050eda300011008330..."} 
[2026-08-21 12:51:04] local.INFO: Packet analysis {"connection_id":159031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:51:04] local.INFO: Extracted packet for processing {"connection_id":159031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:51:04] local.INFO: GPS Element Parsed {"raw_longitude":769285056,"raw_latitude":84859440,"longitude_deg":76.9285056,"latitude_deg":8.485944,"altitude":17,"angle":131,"satellites":48,"speed":0,"hex_longitude":"2dda5bc0","hex_latitude":"050eda30","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547958016001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221269251719168,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2712715066324836352,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296732000,"timestamp_ms":1787296732000,"timestamp_seconds":1787296732,"priority":1,"record_length":96,"hex_timestamp":"000001a0232fd360"} 
[2026-08-21 12:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:51: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-08-21 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:51: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-08-21 12:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547958016001,"66":27887,"223":206,"80":34304,"24":0,"16":388221269251719168,"45":-2712715066324836352},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547958016001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:51:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:51:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221269251719168,"km_value":388221269251719.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2712715066324836352,"description":"Unknown IO ID 45"} 
[2026-08-21 12:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547958016001,"power":27887,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2712715066324836352}} 
[2026-08-21 12:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":159031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:51:04] local.INFO: GPS data processed {"connection_id":159031,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:51:04] local.INFO: Acknowledgment sent {"connection_id":159031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:51:07] local.INFO: TCP Data received {"connection_id":160216,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0232fc3c0012d1823800721b528005200cf29..."} 
[2026-08-21 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0232fc3c0012d1823800721b528005200cf29..."} 
[2026-08-21 12:51:07] local.INFO: Processing buffer {"connection_id":160216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0232fc3c0012d1823800721b528005200cf29..."} 
[2026-08-21 12:51:07] local.INFO: Packet analysis {"connection_id":160216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:51:07] local.INFO: Extracted packet for processing {"connection_id":160216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0232f"} 
[2026-08-21 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547957504001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296728000,"timestamp_ms":1787296728000,"timestamp_seconds":1787296728,"priority":1,"record_length":96,"hex_timestamp":"000001a0232fc3c0"} 
[2026-08-21 12:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 12:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160216,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547957504001,"66":12667,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547957504001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:51:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547957504001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":160216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:51:07] local.INFO: GPS data processed {"connection_id":160216,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:51:07] local.INFO: Acknowledgment sent {"connection_id":160216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:51:30] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:51:30] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:51:30] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:51:35] local.INFO: TCP Data received {"connection_id":159031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023302568012dda5c80050ed9300011008530..."} 
[2026-08-21 12:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023302568012dda5c80050ed9300011008530..."} 
[2026-08-21 12:51:35] local.INFO: Processing buffer {"connection_id":159031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023302568012dda5c80050ed9300011008530..."} 
[2026-08-21 12:51:35] local.INFO: Packet analysis {"connection_id":159031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:51:35] local.INFO: Extracted packet for processing {"connection_id":159031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:51:35] local.INFO: GPS Element Parsed {"raw_longitude":769285248,"raw_latitude":84859184,"longitude_deg":76.9285248,"latitude_deg":8.4859184,"altitude":17,"angle":133,"satellites":48,"speed":3,"hex_longitude":"2dda5c80","hex_latitude":"050ed930","is_valid_coordinates":true} 
[2026-08-21 12:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547963392001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221286431588352,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2712363222604042240,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296753000,"timestamp_ms":1787296753000,"timestamp_seconds":1787296753,"priority":1,"record_length":96,"hex_timestamp":"000001a023302568"} 
[2026-08-21 12:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 12:51:35] 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-08-21 12:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547963392001,"66":27919,"223":206,"80":34304,"24":3,"16":388221286431588352,"45":-2712363222604042240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547963392001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:51:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:51:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221286431588352,"km_value":388221286431588.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2712363222604042240,"description":"Unknown IO ID 45"} 
[2026-08-21 12:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547963392001,"power":27919,"unknown_223":206,"unknown_80":34304,"ignition":3,"odometer":null,"unknown_45":-2712363222604042240}} 
[2026-08-21 12:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":159031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:51:35] local.INFO: GPS data processed {"connection_id":159031,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:51:35] local.INFO: Acknowledgment sent {"connection_id":159031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:51:35] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:51:35] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:51:35] local.INFO: IMEI packet received {"connection_id":160217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":160217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:51:36] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233011e0012d1823800721b528005200cf29..."} 
[2026-08-21 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233011e0012d1823800721b528005200cf29..."} 
[2026-08-21 12:51:36] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233011e0012d1823800721b528005200cf29..."} 
[2026-08-21 12:51:36] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:51:36] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547962368001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296748000,"timestamp_ms":1787296748000,"timestamp_seconds":1787296748,"priority":1,"record_length":96,"hex_timestamp":"000001a0233011e0"} 
[2026-08-21 12:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 12:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547962368001,"66":12613,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547962368001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:51:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547962368001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:51:36] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:51:36] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:51:57] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:57] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:57] local.INFO: IMEI packet received {"connection_id":161577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":161577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:51:57] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:57] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:51:57] local.INFO: IMEI packet received {"connection_id":161577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":161577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:52:03] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:52:03] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:52:03] local.INFO: IMEI packet received {"connection_id":161577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":161577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:52:04] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023307770012dda5f80050ed6900010008431..."} 
[2026-08-21 12:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023307770012dda5f80050ed6900010008431..."} 
[2026-08-21 12:52:04] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023307770012dda5f80050ed6900010008431..."} 
[2026-08-21 12:52:04] local.INFO: Packet analysis {"connection_id":161577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:04] local.INFO: Extracted packet for processing {"connection_id":161577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:04] local.INFO: GPS Element Parsed {"raw_longitude":769286016,"raw_latitude":84858512,"longitude_deg":76.9286016,"latitude_deg":8.4858512,"altitude":16,"angle":132,"satellites":49,"speed":0,"hex_longitude":"2dda5f80","hex_latitude":"050ed690","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547968768001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221337971195904,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2712152116371574784,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296774000,"timestamp_ms":1787296774000,"timestamp_seconds":1787296774,"priority":1,"record_length":96,"hex_timestamp":"000001a023307770"} 
[2026-08-21 12:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:52: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-08-21 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:52: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-08-21 12:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547968768001,"66":27919,"223":206,"80":34304,"24":0,"16":388221337971195904,"45":-2712152116371574784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547968768001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:52:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:52:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221337971195904,"km_value":388221337971195.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2712152116371574784,"description":"Unknown IO ID 45"} 
[2026-08-21 12:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547968768001,"power":27919,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2712152116371574784}} 
[2026-08-21 12:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":161577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:52:04] local.INFO: GPS data processed {"connection_id":161577,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:52:04] local.INFO: Acknowledgment sent {"connection_id":161577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:52:07] local.INFO: TCP Data received {"connection_id":160217,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023305c18012d1823800721b528005200cf29..."} 
[2026-08-21 12:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023305c18012d1823800721b528005200cf29..."} 
[2026-08-21 12:52:07] local.INFO: Processing buffer {"connection_id":160217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023305c18012d1823800721b528005200cf29..."} 
[2026-08-21 12:52:07] local.INFO: Packet analysis {"connection_id":160217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:07] local.INFO: Extracted packet for processing {"connection_id":160217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547967488001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296767000,"timestamp_ms":1787296767000,"timestamp_seconds":1787296767,"priority":1,"record_length":96,"hex_timestamp":"000001a023305c18"} 
[2026-08-21 12:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 12:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547967488001,"66":12613,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547967488001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:52:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547967488001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":160217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:52:07] local.INFO: GPS data processed {"connection_id":160217,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:52:07] local.INFO: Acknowledgment sent {"connection_id":160217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:52:30] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:52:30] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:52:30] local.INFO: IMEI packet received {"connection_id":159032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":159032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:52:35] local.INFO: TCP Data received {"connection_id":161577,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02330c978012dda6000050ed6380010008831..."} 
[2026-08-21 12:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02330c978012dda6000050ed6380010008831..."} 
[2026-08-21 12:52:35] local.INFO: Processing buffer {"connection_id":161577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02330c978012dda6000050ed6380010008831..."} 
[2026-08-21 12:52:35] local.INFO: Packet analysis {"connection_id":161577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:35] local.INFO: Extracted packet for processing {"connection_id":161577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:35] local.INFO: GPS Element Parsed {"raw_longitude":769286144,"raw_latitude":84858424,"longitude_deg":76.9286144,"latitude_deg":8.4858424,"altitude":16,"angle":136,"satellites":49,"speed":1,"hex_longitude":"2dda6000","hex_latitude":"050ed638","is_valid_coordinates":true} 
[2026-08-21 12:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547974144001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221342266163200,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2711307691441614848,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296795000,"timestamp_ms":1787296795000,"timestamp_seconds":1787296795,"priority":1,"record_length":96,"hex_timestamp":"000001a02330c978"} 
[2026-08-21 12:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:52: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-08-21 12:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547974144001,"66":27767,"223":206,"80":34304,"24":1,"16":388221342266163200,"45":-2711307691441614848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547974144001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:52:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:52:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221342266163200,"km_value":388221342266163.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2711307691441614848,"description":"Unknown IO ID 45"} 
[2026-08-21 12:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547974144001,"power":27767,"unknown_223":206,"unknown_80":34304,"ignition":1,"odometer":null,"unknown_45":-2711307691441614848}} 
[2026-08-21 12:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":161577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:52:35] local.INFO: GPS data processed {"connection_id":161577,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:52:35] local.INFO: Acknowledgment sent {"connection_id":161577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:52:35] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:52:35] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:52:35] local.INFO: IMEI packet received {"connection_id":159032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":159032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:52:36] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02330a650012d1823800721b528005200cf29..."} 
[2026-08-21 12:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02330a650012d1823800721b528005200cf29..."} 
[2026-08-21 12:52:36] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02330a650012d1823800721b528005200cf29..."} 
[2026-08-21 12:52:36] local.INFO: Packet analysis {"connection_id":159032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:36] local.INFO: Extracted packet for processing {"connection_id":159032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547972352001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296786000,"timestamp_ms":1787296786000,"timestamp_seconds":1787296786,"priority":1,"record_length":96,"hex_timestamp":"000001a02330a650"} 
[2026-08-21 12:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 12:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547972352001,"66":12645,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547972352001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:52:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547972352001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":159032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:52:36] local.INFO: GPS data processed {"connection_id":159032,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:52:36] local.INFO: Acknowledgment sent {"connection_id":159032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:52:57] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:52:57] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:52:57] local.INFO: IMEI packet received {"connection_id":159314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":159314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:53:00] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:00] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:00] local.INFO: IMEI packet received {"connection_id":159314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":159314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:53:03] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:03] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:03] local.INFO: IMEI packet received {"connection_id":159314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":159314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:53:03] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023311b80012dda6180050ed478000f008431..."} 
[2026-08-21 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023311b80012dda6180050ed478000f008431..."} 
[2026-08-21 12:53:03] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023311b80012dda6180050ed478000f008431..."} 
[2026-08-21 12:53:03] local.INFO: Packet analysis {"connection_id":159314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:03] local.INFO: Extracted packet for processing {"connection_id":159314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":769286528,"raw_latitude":84857976,"longitude_deg":76.9286528,"latitude_deg":8.4857976,"altitude":15,"angle":132,"satellites":49,"speed":0,"hex_longitude":"2dda6180","hex_latitude":"050ed478","is_valid_coordinates":true} 
[2026-08-21 12:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547979520001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221376625901568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2711166953953282048,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787296816000,"timestamp_ms":1787296816000,"timestamp_seconds":1787296816,"priority":1,"record_length":96,"hex_timestamp":"000001a023311b80"} 
[2026-08-21 12:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":119,"data_length":795,"current_offset":136} 
[2026-08-21 12:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:53: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-08-21 12:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547979520001,"66":27919,"223":206,"80":34304,"24":0,"16":388221376625901568,"45":-2711166953953282048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547979520001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:53:03] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221376625901568,"km_value":388221376625901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2711166953953282048,"description":"Unknown IO ID 45"} 
[2026-08-21 12:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547979520001,"power":27919,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2711166953953282048}} 
[2026-08-21 12:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":159314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:53:04] local.INFO: GPS data processed {"connection_id":159314,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:53:04] local.INFO: Acknowledgment sent {"connection_id":159314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:53:07] local.INFO: TCP Data received {"connection_id":159032,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02330f470012d1823800721b528005200cf29..."} 
[2026-08-21 12:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02330f470012d1823800721b528005200cf29..."} 
[2026-08-21 12:53:07] local.INFO: Processing buffer {"connection_id":159032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02330f470012d1823800721b528005200cf29..."} 
[2026-08-21 12:53:07] local.INFO: Packet analysis {"connection_id":159032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:53:07] local.INFO: Extracted packet for processing {"connection_id":159032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02330"} 
[2026-08-21 12:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547977216001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296806000,"timestamp_ms":1787296806000,"timestamp_seconds":1787296806,"priority":1,"record_length":96,"hex_timestamp":"000001a02330f470"} 
[2026-08-21 12:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 12:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547977216001,"66":12613,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547977216001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:53:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547977216001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":159032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:53:07] local.INFO: GPS data processed {"connection_id":159032,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:53:07] local.INFO: Acknowledgment sent {"connection_id":159032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:53:08] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023316d88012dda6180050ed478000f00842f..."} 
[2026-08-21 12:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023316d88012dda6180050ed478000f00842f..."} 
[2026-08-21 12:53:08] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023316d88012dda6180050ed478000f00842f..."} 
[2026-08-21 12:53:08] local.INFO: Packet analysis {"connection_id":159314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:08] local.INFO: Extracted packet for processing {"connection_id":159314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:08] local.INFO: GPS Element Parsed {"raw_longitude":769286528,"raw_latitude":84857976,"longitude_deg":76.9286528,"latitude_deg":8.4857976,"altitude":15,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2dda6180","hex_latitude":"050ed478","is_valid_coordinates":true} 
[2026-08-21 12:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547984896001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221376625901568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2710744741488330752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787296837000,"timestamp_ms":1787296837000,"timestamp_seconds":1787296837,"priority":1,"record_length":96,"hex_timestamp":"000001a023316d88"} 
[2026-08-21 12:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:53:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 12:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:53:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:53: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-08-21 12:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547984896001,"66":27876,"223":206,"80":34304,"24":0,"16":388221376625901568,"45":-2710744741488330752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547984896001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:53:08] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:53:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221376625901568,"km_value":388221376625901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2710744741488330752,"description":"Unknown IO ID 45"} 
[2026-08-21 12:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547984896001,"power":27876,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2710744741488330752}} 
[2026-08-21 12:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":159314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:53:08] local.INFO: GPS data processed {"connection_id":159314,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:53:08] local.INFO: Acknowledgment sent {"connection_id":159314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:53:30] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:30] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:30] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:53:30] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:30] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:30] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:53:35] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:35] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:53:35] local.INFO: IMEI packet received {"connection_id":160218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":160218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:53:36] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023313ea8012d1823800721b528005200cf28..."} 
[2026-08-21 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023313ea8012d1823800721b528005200cf28..."} 
[2026-08-21 12:53:36] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023313ea8012d1823800721b528005200cf28..."} 
[2026-08-21 12:53:36] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:36] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547982336001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296825000,"timestamp_ms":1787296825000,"timestamp_seconds":1787296825,"priority":1,"record_length":96,"hex_timestamp":"000001a023313ea8"} 
[2026-08-21 12:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 12:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547982336001,"66":12613,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547982336001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547982336001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:53:36] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:53:36] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:53:51] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02331bf90012dda6180050ed478000f008432..."} 
[2026-08-21 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02331bf90012dda6180050ed478000f008432..."} 
[2026-08-21 12:53:51] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02331bf90012dda6180050ed478000f008432..."} 
[2026-08-21 12:53:51] local.INFO: Packet analysis {"connection_id":159314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:51] local.INFO: Extracted packet for processing {"connection_id":159314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:53:51] local.INFO: GPS Element Parsed {"raw_longitude":769286528,"raw_latitude":84857976,"longitude_deg":76.9286528,"latitude_deg":8.4857976,"altitude":15,"angle":132,"satellites":50,"speed":0,"hex_longitude":"2dda6180","hex_latitude":"050ed478","is_valid_coordinates":true} 
[2026-08-21 12:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547990272001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221376625901568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2710744741488330752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787296858000,"timestamp_ms":1787296858000,"timestamp_seconds":1787296858,"priority":1,"record_length":96,"hex_timestamp":"000001a02331bf90"} 
[2026-08-21 12:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:53: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-08-21 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 12:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:53:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547990272001,"66":27821,"223":206,"80":34304,"24":0,"16":388221376625901568,"45":-2710744741488330752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547990272001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:53:51] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:53:51] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221376625901568,"km_value":388221376625901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2710744741488330752,"description":"Unknown IO ID 45"} 
[2026-08-21 12:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547990272001,"power":27821,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2710744741488330752}} 
[2026-08-21 12:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":159314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:53:51] local.INFO: GPS data processed {"connection_id":159314,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:53:51] local.INFO: Acknowledgment sent {"connection_id":159314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:53:57] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:57] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:53:57] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:54:03] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:54:03] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:54:03] local.INFO: IMEI packet received {"connection_id":160219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":160219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:54:04] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023321198012dda6180050ed478000f008431..."} 
[2026-08-21 12:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023321198012dda6180050ed478000f008431..."} 
[2026-08-21 12:54:04] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023321198012dda6180050ed478000f008431..."} 
[2026-08-21 12:54:04] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:54:04] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:54:04] local.INFO: GPS Element Parsed {"raw_longitude":769286528,"raw_latitude":84857976,"longitude_deg":76.9286528,"latitude_deg":8.4857976,"altitude":15,"angle":132,"satellites":49,"speed":0,"hex_longitude":"2dda6180","hex_latitude":"050ed478","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547995648001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221376625901568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2710744741488330752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296879000,"timestamp_ms":1787296879000,"timestamp_seconds":1787296879,"priority":1,"record_length":96,"hex_timestamp":"000001a023321198"} 
[2026-08-21 12:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:54: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-08-21 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 12:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12: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-08-21 12:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:54: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-08-21 12:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547995648001,"66":27865,"223":206,"80":34304,"24":0,"16":388221376625901568,"45":-2710744741488330752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547995648001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:54:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221376625901568,"km_value":388221376625901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2710744741488330752,"description":"Unknown IO ID 45"} 
[2026-08-21 12:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547995648001,"power":27865,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2710744741488330752}} 
[2026-08-21 12:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:54:04] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:54:04] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:54:07] local.INFO: TCP Data received {"connection_id":160218,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233188e0012d1823800721b528005200cf29..."} 
[2026-08-21 12:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233188e0012d1823800721b528005200cf29..."} 
[2026-08-21 12:54:07] local.INFO: Processing buffer {"connection_id":160218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233188e0012d1823800721b528005200cf29..."} 
[2026-08-21 12:54:07] local.INFO: Packet analysis {"connection_id":160218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:54:07] local.INFO: Extracted packet for processing {"connection_id":160218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547987200001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296844000,"timestamp_ms":1787296844000,"timestamp_seconds":1787296844,"priority":1,"record_length":96,"hex_timestamp":"000001a0233188e0"} 
[2026-08-21 12:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 12:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547987200001,"66":12591,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547987200001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:54:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547987200001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":160218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:54:07] local.INFO: GPS data processed {"connection_id":160218,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:54:07] local.INFO: Acknowledgment sent {"connection_id":160218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:54:32] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:32] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:32] local.INFO: IMEI packet received {"connection_id":159315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":159315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:54:35] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:35] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:35] local.INFO: IMEI packet received {"connection_id":159315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":159315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:54:39] local.INFO: TCP Data received {"connection_id":160219,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233263a0012dda6180050ed478000f008432..."} 
[2026-08-21 12:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233263a0012dda6180050ed478000f008432..."} 
[2026-08-21 12:54:39] local.INFO: Processing buffer {"connection_id":160219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233263a0012dda6180050ed478000f008432..."} 
[2026-08-21 12:54:39] local.INFO: Packet analysis {"connection_id":160219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:54:39] local.INFO: Extracted packet for processing {"connection_id":160219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:54:39] local.INFO: GPS Element Parsed {"raw_longitude":769286528,"raw_latitude":84857976,"longitude_deg":76.9286528,"latitude_deg":8.4857976,"altitude":15,"angle":132,"satellites":50,"speed":0,"hex_longitude":"2dda6180","hex_latitude":"050ed478","is_valid_coordinates":true} 
[2026-08-21 12:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548001024001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221376625901568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2710744741488330752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787296900000,"timestamp_ms":1787296900000,"timestamp_seconds":1787296900,"priority":1,"record_length":96,"hex_timestamp":"000001a0233263a0"} 
[2026-08-21 12:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 12:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548001024001,"66":28050,"223":206,"80":34304,"24":0,"16":388221376625901568,"45":-2710744741488330752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548001024001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:54:39] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:54:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221376625901568,"km_value":388221376625901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2710744741488330752,"description":"Unknown IO ID 45"} 
[2026-08-21 12:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548001024001,"power":28050,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2710744741488330752}} 
[2026-08-21 12:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":160219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:54:39] local.INFO: GPS data processed {"connection_id":160219,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:54:39] local.INFO: Acknowledgment sent {"connection_id":160219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:54:40] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:40] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:54:40] local.INFO: IMEI packet received {"connection_id":159315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":159315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:54:41] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02331d700012d1823800721b528005200cf27..."} 
[2026-08-21 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02331d700012d1823800721b528005200cf27..."} 
[2026-08-21 12:54:41] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02331d700012d1823800721b528005200cf27..."} 
[2026-08-21 12:54:41] local.INFO: Packet analysis {"connection_id":159315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:54:41] local.INFO: Extracted packet for processing {"connection_id":159315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02331"} 
[2026-08-21 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":39,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547992064001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787296864000,"timestamp_ms":1787296864000,"timestamp_seconds":1787296864,"priority":1,"record_length":96,"hex_timestamp":"000001a02331d700"} 
[2026-08-21 12:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 12:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547992064001,"66":12602,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547992064001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547992064001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":159315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:54:41] local.INFO: GPS data processed {"connection_id":159315,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:54:41] local.INFO: Acknowledgment sent {"connection_id":159315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:54:45] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023322138012d1823800721b528005200cf28..."} 
[2026-08-21 12:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023322138012d1823800721b528005200cf28..."} 
[2026-08-21 12:54:45] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023322138012d1823800721b528005200cf28..."} 
[2026-08-21 12:54:45] local.INFO: Packet analysis {"connection_id":159315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:54:45] local.INFO: Extracted packet for processing {"connection_id":159315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457547997184001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787296883000,"timestamp_ms":1787296883000,"timestamp_seconds":1787296883,"priority":1,"record_length":96,"hex_timestamp":"000001a023322138"} 
[2026-08-21 12:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 12:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457547997184001,"66":12591,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457547997184001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:54:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457547997184001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":159315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:54:46] local.INFO: GPS data processed {"connection_id":159315,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:54:46] local.INFO: Acknowledgment sent {"connection_id":159315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:54:57] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:54:57] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:54:57] local.INFO: IMEI packet received {"connection_id":159033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":159033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:55:03] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:55:03] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:55:03] local.INFO: IMEI packet received {"connection_id":159033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":159033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:55:04] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02332b5a8012dda6180050ed478000f008431..."} 
[2026-08-21 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02332b5a8012dda6180050ed478000f008431..."} 
[2026-08-21 12:55:04] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02332b5a8012dda6180050ed478000f008431..."} 
[2026-08-21 12:55:04] local.INFO: Packet analysis {"connection_id":159033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:55:04] local.INFO: Extracted packet for processing {"connection_id":159033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":769286528,"raw_latitude":84857976,"longitude_deg":76.9286528,"latitude_deg":8.4857976,"altitude":15,"angle":132,"satellites":49,"speed":0,"hex_longitude":"2dda6180","hex_latitude":"050ed478","is_valid_coordinates":true} 
[2026-08-21 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548006400001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221376625901568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2710744741488330752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787296921000,"timestamp_ms":1787296921000,"timestamp_seconds":1787296921,"priority":1,"record_length":96,"hex_timestamp":"000001a02332b5a8"} 
[2026-08-21 12:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 12:55:04] 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-08-21 12:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:55: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-08-21 12:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548006400001,"66":27821,"223":206,"80":34304,"24":0,"16":388221376625901568,"45":-2710744741488330752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548006400001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:55:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:55:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221376625901568,"km_value":388221376625901.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2710744741488330752,"description":"Unknown IO ID 45"} 
[2026-08-21 12:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548006400001,"power":27821,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2710744741488330752}} 
[2026-08-21 12:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":159033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:55:04] local.INFO: GPS data processed {"connection_id":159033,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:55:04] local.INFO: Acknowledgment sent {"connection_id":159033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:55:30] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:55:30] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:55:30] local.INFO: IMEI packet received {"connection_id":159034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":159034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:55:35] local.INFO: TCP Data received {"connection_id":159033,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233307b0012dda6380050ed1e0000e008731..."} 
[2026-08-21 12:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233307b0012dda6380050ed1e0000e008731..."} 
[2026-08-21 12:55:35] local.INFO: Processing buffer {"connection_id":159033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233307b0012dda6380050ed1e0000e008731..."} 
[2026-08-21 12:55:35] local.INFO: Packet analysis {"connection_id":159033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:55:35] local.INFO: Extracted packet for processing {"connection_id":159033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:55:35] local.INFO: GPS Element Parsed {"raw_longitude":769287040,"raw_latitude":84857312,"longitude_deg":76.928704,"latitude_deg":8.4857312,"altitude":14,"angle":135,"satellites":49,"speed":0,"hex_longitude":"2dda6380","hex_latitude":"050ed1e0","is_valid_coordinates":true} 
[2026-08-21 12:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548011776001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221419575574528,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2710744741488330752,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787296942000,"timestamp_ms":1787296942000,"timestamp_seconds":1787296942,"priority":1,"record_length":96,"hex_timestamp":"000001a0233307b0"} 
[2026-08-21 12:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:55: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-08-21 12:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 12:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548011776001,"66":27745,"223":206,"80":34304,"24":0,"16":388221419575574528,"45":-2710744741488330752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548011776001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:55:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:55:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221419575574528,"km_value":388221419575574.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2710744741488330752,"description":"Unknown IO ID 45"} 
[2026-08-21 12:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548011776001,"power":27745,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2710744741488330752}} 
[2026-08-21 12:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":159033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:55:35] local.INFO: GPS data processed {"connection_id":159033,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:55:35] local.INFO: Acknowledgment sent {"connection_id":159033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:55:35] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:55:35] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:55:35] local.INFO: IMEI packet received {"connection_id":159034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":159034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:55:36] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023326b70012d1823800721b528005200cf28..."} 
[2026-08-21 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023326b70012d1823800721b528005200cf28..."} 
[2026-08-21 12:55:36] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023326b70012d1823800721b528005200cf28..."} 
[2026-08-21 12:55:36] local.INFO: Packet analysis {"connection_id":159034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:55:36] local.INFO: Extracted packet for processing {"connection_id":159034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548002048001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296902000,"timestamp_ms":1787296902000,"timestamp_seconds":1787296902,"priority":1,"record_length":96,"hex_timestamp":"000001a023326b70"} 
[2026-08-21 12:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 12:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548002048001,"66":12591,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548002048001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548002048001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":159034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:55:36] local.INFO: GPS data processed {"connection_id":159034,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:55:36] local.INFO: Acknowledgment sent {"connection_id":159034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:56:03] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:03] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:03] local.INFO: IMEI packet received {"connection_id":160220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":160220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:56:07] local.INFO: TCP Data received {"connection_id":159034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02332b5a8012d1823800721b528005200cf28..."} 
[2026-08-21 12:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02332b5a8012d1823800721b528005200cf28..."} 
[2026-08-21 12:56:07] local.INFO: Processing buffer {"connection_id":159034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02332b5a8012d1823800721b528005200cf28..."} 
[2026-08-21 12:56:07] local.INFO: Packet analysis {"connection_id":159034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:56:07] local.INFO: Extracted packet for processing {"connection_id":159034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":40,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548006912001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787296921000,"timestamp_ms":1787296921000,"timestamp_seconds":1787296921,"priority":1,"record_length":96,"hex_timestamp":"000001a02332b5a8"} 
[2026-08-21 12:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 12:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548006912001,"66":12558,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548006912001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:56:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548006912001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":159034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:56:07] local.INFO: GPS data processed {"connection_id":159034,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:56:07] local.INFO: Acknowledgment sent {"connection_id":159034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:56:08] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:08] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:08] local.INFO: IMEI packet received {"connection_id":160220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":160220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:56:09] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233359b8012dda6a00050ecb90000f008731..."} 
[2026-08-21 12:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233359b8012dda6a00050ecb90000f008731..."} 
[2026-08-21 12:56:09] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233359b8012dda6a00050ecb90000f008731..."} 
[2026-08-21 12:56:09] local.INFO: Packet analysis {"connection_id":160220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:56:09] local.INFO: Extracted packet for processing {"connection_id":160220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:56:09] local.INFO: GPS Element Parsed {"raw_longitude":769288704,"raw_latitude":84855696,"longitude_deg":76.9288704,"latitude_deg":8.4855696,"altitude":15,"angle":135,"satellites":49,"speed":1,"hex_longitude":"2dda6a00","hex_latitude":"050ecb90","is_valid_coordinates":true} 
[2026-08-21 12:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548017152001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221535539691520,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2710181791535079424,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787296963000,"timestamp_ms":1787296963000,"timestamp_seconds":1787296963,"priority":1,"record_length":96,"hex_timestamp":"000001a0233359b8"} 
[2026-08-21 12:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12: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-08-21 12: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":97,"data_length":795,"current_offset":136} 
[2026-08-21 12:56:09] 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-08-21 12:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12: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-08-21 12:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548017152001,"66":27930,"223":206,"80":34304,"24":1,"16":388221535539691520,"45":-2710181791535079424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548017152001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:56:09] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:56:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221535539691520,"km_value":388221535539691.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2710181791535079424,"description":"Unknown IO ID 45"} 
[2026-08-21 12:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548017152001,"power":27930,"unknown_223":206,"unknown_80":34304,"ignition":1,"odometer":null,"unknown_45":-2710181791535079424}} 
[2026-08-21 12:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":160220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:56:09] local.INFO: GPS data processed {"connection_id":160220,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:56:09] local.INFO: Acknowledgment sent {"connection_id":160220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:56:13] local.INFO: TCP Data received {"connection_id":160220,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02333abc0012dda6b00050eca90000f008331..."} 
[2026-08-21 12:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02333abc0012dda6b00050eca90000f008331..."} 
[2026-08-21 12:56:13] local.INFO: Processing buffer {"connection_id":160220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02333abc0012dda6b00050eca90000f008331..."} 
[2026-08-21 12:56:13] local.INFO: Packet analysis {"connection_id":160220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:56:13] local.INFO: Extracted packet for processing {"connection_id":160220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:56:13] local.INFO: GPS Element Parsed {"raw_longitude":769288960,"raw_latitude":84855440,"longitude_deg":76.928896,"latitude_deg":8.485544,"altitude":15,"angle":131,"satellites":49,"speed":0,"hex_longitude":"2dda6b00","hex_latitude":"050eca90","is_valid_coordinates":true} 
[2026-08-21 12:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548022528001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221552719560704,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2708352204186873856,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787296984000,"timestamp_ms":1787296984000,"timestamp_seconds":1787296984,"priority":1,"record_length":96,"hex_timestamp":"000001a02333abc0"} 
[2026-08-21 12:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 12:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548022528001,"66":27745,"223":206,"80":34304,"24":0,"16":388221552719560704,"45":-2708352204186873856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548022528001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:56:13] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:56:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221552719560704,"km_value":388221552719560.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2708352204186873856,"description":"Unknown IO ID 45"} 
[2026-08-21 12:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548022528001,"power":27745,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2708352204186873856}} 
[2026-08-21 12:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":160220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:56:13] local.INFO: GPS data processed {"connection_id":160220,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:56:13] local.INFO: Acknowledgment sent {"connection_id":160220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:56:30] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:56:30] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:56:30] local.INFO: IMEI packet received {"connection_id":159035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":159035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:56:35] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:56:35] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:56:35] local.INFO: IMEI packet received {"connection_id":159035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":159035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:56:36] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02332ffe0012d1823800721b528005200cf29..."} 
[2026-08-21 12:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02332ffe0012d1823800721b528005200cf29..."} 
[2026-08-21 12:56:36] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02332ffe0012d1823800721b528005200cf29..."} 
[2026-08-21 12:56:36] local.INFO: Packet analysis {"connection_id":159035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:56:36] local.INFO: Extracted packet for processing {"connection_id":159035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02332"} 
[2026-08-21 12:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649576,"longitude_deg":75.6556672,"latitude_deg":11.9649576,"altitude":82,"angle":207,"satellites":41,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b528","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548011776001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175874567897088,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213790208,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787296940000,"timestamp_ms":1787296940000,"timestamp_seconds":1787296940,"priority":1,"record_length":96,"hex_timestamp":"000001a02332ffe0"} 
[2026-08-21 12:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3039297618,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249386163930248488,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":37,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 12:56:36] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,92,160,107,45,128,181,82,40,10,66,33,215,1,240,58,227,35,4,113,205,62,239,49,2,50,7,106,37,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 12:56:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908950481815732224,"timestamp_seconds":5908950481815732.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 12:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548011776001,"66":12591,"105":206,"83":41984,"24":0,"16":14175874567897088,"45":1739374649213790208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548011776001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:56:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175874567897088,"km_value":14175874567897.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213790208,"description":"Unknown IO ID 45"} 
[2026-08-21 12:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548011776001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213790208}} 
[2026-08-21 12:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":159035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:56:36] local.INFO: GPS data processed {"connection_id":159035,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:56:36] local.INFO: Acknowledgment sent {"connection_id":159035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:56:57] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:57] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:57] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:56:57] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:57] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:56:57] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:57:03] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:57:03] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:57:03] local.INFO: IMEI packet received {"connection_id":160221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":160221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:57:04] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02333fdc8012dda6cc0050ec8e8000f008731..."} 
[2026-08-21 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02333fdc8012dda6cc0050ec8e8000f008731..."} 
[2026-08-21 12:57:04] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02333fdc8012dda6cc0050ec8e8000f008731..."} 
[2026-08-21 12:57:04] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:57:04] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02333"} 
[2026-08-21 12:57:04] local.INFO: GPS Element Parsed {"raw_longitude":769289408,"raw_latitude":84855016,"longitude_deg":76.9289408,"latitude_deg":8.4855016,"altitude":15,"angle":135,"satellites":49,"speed":0,"hex_longitude":"2dda6cc0","hex_latitude":"050ec8e8","is_valid_coordinates":true} 
[2026-08-21 12:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548027904001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221587079299072,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2708070729210228736,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787297005000,"timestamp_ms":1787297005000,"timestamp_seconds":1787297005,"priority":1,"record_length":96,"hex_timestamp":"000001a02333fdc8"} 
[2026-08-21 12:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:57: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-08-21 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 12:57: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-08-21 12:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:57: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-08-21 12:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548027904001,"66":27995,"223":206,"80":34304,"24":0,"16":388221587079299072,"45":-2708070729210228736},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548027904001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:57:04] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:57:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221587079299072,"km_value":388221587079299.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2708070729210228736,"description":"Unknown IO ID 45"} 
[2026-08-21 12:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548027904001,"power":27995,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2708070729210228736}} 
[2026-08-21 12:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:57:04] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:57:04] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:57:07] local.INFO: TCP Data received {"connection_id":159035,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023360938012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023360938012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:57:07] local.INFO: Processing buffer {"connection_id":159035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023360938012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:57:07] local.INFO: Packet analysis {"connection_id":159035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:57:07] local.INFO: Extracted packet for processing {"connection_id":159035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648936,"longitude_deg":75.6556032,"latitude_deg":11.9648936,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-08-21 12:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548062208001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175926107504640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771849728,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297139000,"timestamp_ms":1787297139000,"timestamp_seconds":1787297139,"priority":1,"record_length":96,"hex_timestamp":"000001a023360938"} 
[2026-08-21 12:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 12:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548062208001,"66":12580,"105":206,"83":41984,"24":0,"16":14175926107504640,"45":1738670961771849728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548062208001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:57:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175926107504640,"km_value":14175926107504.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771849728,"description":"Unknown IO ID 45"} 
[2026-08-21 12:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548062208001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771849728}} 
[2026-08-21 12:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":159035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:57:07] local.INFO: GPS data processed {"connection_id":159035,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:57:07] local.INFO: Acknowledgment sent {"connection_id":159035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:57:30] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:57:30] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:57:30] local.INFO: IMEI packet received {"connection_id":159316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":159316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:57:35] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:57:35] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:57:35] local.INFO: IMEI packet received {"connection_id":159316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":159316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:57:35] local.INFO: TCP Data received {"connection_id":160221,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023344fd0012dda6cc0050ec8e8000f008731..."} 
[2026-08-21 12:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023344fd0012dda6cc0050ec8e8000f008731..."} 
[2026-08-21 12:57:35] local.INFO: Processing buffer {"connection_id":160221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023344fd0012dda6cc0050ec8e8000f008731..."} 
[2026-08-21 12:57:35] local.INFO: Packet analysis {"connection_id":160221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02334"} 
[2026-08-21 12:57:35] local.INFO: Extracted packet for processing {"connection_id":160221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02334"} 
[2026-08-21 12:57:35] local.INFO: GPS Element Parsed {"raw_longitude":769289408,"raw_latitude":84855016,"longitude_deg":76.9289408,"latitude_deg":8.4855016,"altitude":15,"angle":135,"satellites":49,"speed":0,"hex_longitude":"2dda6cc0","hex_latitude":"050ec8e8","is_valid_coordinates":true} 
[2026-08-21 12:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548033280001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221587079299072,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2707578148001093632,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787297026000,"timestamp_ms":1787297026000,"timestamp_seconds":1787297026,"priority":1,"record_length":96,"hex_timestamp":"000001a023344fd0"} 
[2026-08-21 12:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:57: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-08-21 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 12:57:35] 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-08-21 12:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548033280001,"66":27745,"223":206,"80":34304,"24":0,"16":388221587079299072,"45":-2707578148001093632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548033280001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:57:35] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:57:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221587079299072,"km_value":388221587079299.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2707578148001093632,"description":"Unknown IO ID 45"} 
[2026-08-21 12:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548033280001,"power":27745,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2707578148001093632}} 
[2026-08-21 12:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":160221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:57:35] local.INFO: GPS data processed {"connection_id":160221,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:57:35] local.INFO: Acknowledgment sent {"connection_id":160221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:57:36] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023365b40012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023365b40012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:57:36] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023365b40012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:57:36] local.INFO: Packet analysis {"connection_id":159316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:57:36] local.INFO: Extracted packet for processing {"connection_id":159316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648936,"longitude_deg":75.6556032,"latitude_deg":11.9648936,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-08-21 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548067584001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175926107504640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771849728,"note":"Value kept but may cause issues"} 
[2026-08-21 12:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297160000,"timestamp_ms":1787297160000,"timestamp_seconds":1787297160,"priority":1,"record_length":96,"hex_timestamp":"000001a023365b40"} 
[2026-08-21 12:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:57:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-21 12:57:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548067584001,"66":12558,"105":206,"83":41984,"24":0,"16":14175926107504640,"45":1738670961771849728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548067584001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175926107504640,"km_value":14175926107504.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771849728,"description":"Unknown IO ID 45"} 
[2026-08-21 12:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548067584001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771849728}} 
[2026-08-21 12:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":159316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:57:36] local.INFO: GPS data processed {"connection_id":159316,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:57:36] local.INFO: Acknowledgment sent {"connection_id":159316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:57:58] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:57:58] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:57:58] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:58:00] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:58:00] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:58:00] local.INFO: IMEI packet received {"connection_id":159036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":159036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:58:00] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02334a1d8012dda6cc0050ec8e8000f008730..."} 
[2026-08-21 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02334a1d8012dda6cc0050ec8e8000f008730..."} 
[2026-08-21 12:58:00] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02334a1d8012dda6cc0050ec8e8000f008730..."} 
[2026-08-21 12:58:00] local.INFO: Packet analysis {"connection_id":159036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02334"} 
[2026-08-21 12:58:00] local.INFO: Extracted packet for processing {"connection_id":159036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02334"} 
[2026-08-21 12:58:00] local.INFO: GPS Element Parsed {"raw_longitude":769289408,"raw_latitude":84855016,"longitude_deg":76.9289408,"latitude_deg":8.4855016,"altitude":15,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2dda6cc0","hex_latitude":"050ec8e8","is_valid_coordinates":true} 
[2026-08-21 12:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548038656001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221587079299072,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2707578148001093632,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787297047000,"timestamp_ms":1787297047000,"timestamp_seconds":1787297047,"priority":1,"record_length":96,"hex_timestamp":"000001a02334a1d8"} 
[2026-08-21 12:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:58: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-08-21 12:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 12:58:00] 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-08-21 12:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548038656001,"66":27745,"223":206,"80":34304,"24":0,"16":388221587079299072,"45":-2707578148001093632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548038656001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:58:00] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:58:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221587079299072,"km_value":388221587079299.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2707578148001093632,"description":"Unknown IO ID 45"} 
[2026-08-21 12:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548038656001,"power":27745,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2707578148001093632}} 
[2026-08-21 12:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":159036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:58:00] local.INFO: GPS data processed {"connection_id":159036,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:58:00] local.INFO: Acknowledgment sent {"connection_id":159036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:58:07] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02336ad48012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02336ad48012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:58:07] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02336ad48012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:58:07] local.INFO: Packet analysis {"connection_id":159316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:58:07] local.INFO: Extracted packet for processing {"connection_id":159316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648936,"longitude_deg":75.6556032,"latitude_deg":11.9648936,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-08-21 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548072960001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175926107504640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771849728,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297181000,"timestamp_ms":1787297181000,"timestamp_seconds":1787297181,"priority":1,"record_length":96,"hex_timestamp":"000001a02336ad48"} 
[2026-08-21 12:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:58:07] 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-08-21 12:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3992977408,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":42,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085504,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407912450,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,92,160,9,45,178,72,42,10,66,183,41,101,1,240,227,35,33,4,113,205,197,168,39,239,49,2,50,7,106,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 12:58:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188376749049643008,"timestamp_seconds":5188376749049643.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 12:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548072960001,"66":12645,"105":206,"83":41984,"24":0,"16":14175926107504640,"45":1738670961771849728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548072960001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:58:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175926107504640,"km_value":14175926107504.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771849728,"description":"Unknown IO ID 45"} 
[2026-08-21 12:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548072960001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771849728}} 
[2026-08-21 12:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":159316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:58:07] local.INFO: GPS data processed {"connection_id":159316,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:58:07] local.INFO: Acknowledgment sent {"connection_id":159316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:58:30] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:58:30] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:58:30] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:58:32] local.INFO: TCP Data received {"connection_id":159036,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02334f3e0012dda7340050ec258000e008630..."} 
[2026-08-21 12:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02334f3e0012dda7340050ec258000e008630..."} 
[2026-08-21 12:58:32] local.INFO: Processing buffer {"connection_id":159036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02334f3e0012dda7340050ec258000e008630..."} 
[2026-08-21 12:58:32] local.INFO: Packet analysis {"connection_id":159036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02334"} 
[2026-08-21 12:58:32] local.INFO: Extracted packet for processing {"connection_id":159036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02334"} 
[2026-08-21 12:58:32] local.INFO: GPS Element Parsed {"raw_longitude":769291072,"raw_latitude":84853336,"longitude_deg":76.9291072,"latitude_deg":8.4853336,"altitude":14,"angle":134,"satellites":48,"speed":0,"hex_longitude":"2dda7340","hex_latitude":"050ec258","is_valid_coordinates":true} 
[2026-08-21 12: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-08-21 12:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548044032001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221703043416064,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2707578148001093632,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787297068000,"timestamp_ms":1787297068000,"timestamp_seconds":1787297068,"priority":1,"record_length":96,"hex_timestamp":"000001a02334f3e0"} 
[2026-08-21 12:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:58: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-08-21 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 12:58: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-08-21 12: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-08-21 12:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:58: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-08-21 12:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548044032001,"66":27843,"223":206,"80":34304,"24":0,"16":388221703043416064,"45":-2707578148001093632},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548044032001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:58:32] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:58:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221703043416064,"km_value":388221703043416.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2707578148001093632,"description":"Unknown IO ID 45"} 
[2026-08-21 12:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548044032001,"power":27843,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2707578148001093632}} 
[2026-08-21 12:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":159036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:58:32] local.INFO: GPS data processed {"connection_id":159036,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:58:32] local.INFO: Acknowledgment sent {"connection_id":159036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:58:35] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:58:35] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:58:35] local.INFO: IMEI packet received {"connection_id":160222,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":160222,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:58:36] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02336ff50012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02336ff50012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:58:36] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02336ff50012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:58:36] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:58:36] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02336"} 
[2026-08-21 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648936,"longitude_deg":75.6556032,"latitude_deg":11.9648936,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-08-21 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548078336001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175926107504640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771849728,"note":"Value kept but may cause issues"} 
[2026-08-21 12:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297202000,"timestamp_ms":1787297202000,"timestamp_seconds":1787297202,"priority":1,"record_length":96,"hex_timestamp":"000001a02336ff50"} 
[2026-08-21 12:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 12:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548078336001,"66":12667,"105":206,"83":41984,"24":0,"16":14175926107504640,"45":1738670961771849728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548078336001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175926107504640,"km_value":14175926107504.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771849728,"description":"Unknown IO ID 45"} 
[2026-08-21 12:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548078336001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771849728}} 
[2026-08-21 12:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:58:36] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:58:36] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:58:58] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:58:58] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:58:58] local.INFO: IMEI packet received {"connection_id":161578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":161578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:59:04] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:59:04] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:59:04] local.INFO: IMEI packet received {"connection_id":161578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 12:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":161578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:59:06] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233545e8012dda7440050ec178001000802f..."} 
[2026-08-21 12:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233545e8012dda7440050ec178001000802f..."} 
[2026-08-21 12:59:06] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233545e8012dda7440050ec178001000802f..."} 
[2026-08-21 12:59:06] local.INFO: Packet analysis {"connection_id":161578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02335"} 
[2026-08-21 12:59:06] local.INFO: Extracted packet for processing {"connection_id":161578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02335"} 
[2026-08-21 12:59:06] local.INFO: GPS Element Parsed {"raw_longitude":769291328,"raw_latitude":84853112,"longitude_deg":76.9291328,"latitude_deg":8.4853112,"altitude":16,"angle":128,"satellites":47,"speed":0,"hex_longitude":"2dda7440","hex_latitude":"050ec178","is_valid_coordinates":true} 
[2026-08-21 12:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548049408001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221720223285248,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2705748560652904448,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787297089000,"timestamp_ms":1787297089000,"timestamp_seconds":1787297089,"priority":1,"record_length":96,"hex_timestamp":"000001a0233545e8"} 
[2026-08-21 12:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:59: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-08-21 12:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 12:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:59: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-08-21 12:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548049408001,"66":27995,"223":206,"80":34304,"24":0,"16":388221720223285248,"45":-2705748560652904448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548049408001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:59:06] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:59:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221720223285248,"km_value":388221720223285.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2705748560652904448,"description":"Unknown IO ID 45"} 
[2026-08-21 12:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548049408001,"power":27995,"unknown_223":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2705748560652904448}} 
[2026-08-21 12:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":161578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:59:06] local.INFO: GPS data processed {"connection_id":161578,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:59:06] local.INFO: Acknowledgment sent {"connection_id":161578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:59:07] local.INFO: TCP Data received {"connection_id":160222,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023375158012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023375158012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:59:07] local.INFO: Processing buffer {"connection_id":160222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023375158012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:59:07] local.INFO: Packet analysis {"connection_id":160222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02337"} 
[2026-08-21 12:59:07] local.INFO: Extracted packet for processing {"connection_id":160222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02337"} 
[2026-08-21 12:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648936,"longitude_deg":75.6556032,"latitude_deg":11.9648936,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-08-21 12:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548083712001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175926107504640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771849728,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297223000,"timestamp_ms":1787297223000,"timestamp_seconds":1787297223,"priority":1,"record_length":96,"hex_timestamp":"000001a023375158"} 
[2026-08-21 12:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 12:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160222,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548083712001,"66":12602,"105":206,"83":41984,"24":0,"16":14175926107504640,"45":1738670961771849728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548083712001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175926107504640,"km_value":14175926107504.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771849728,"description":"Unknown IO ID 45"} 
[2026-08-21 12:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548083712001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771849728}} 
[2026-08-21 12:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":160222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:59:07] local.INFO: GPS data processed {"connection_id":160222,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:59:07] local.INFO: Acknowledgment sent {"connection_id":160222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:59:30] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:59:30] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:59:30] local.INFO: IMEI packet received {"connection_id":159037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 12:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":159037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 12:59:35] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:59:35] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 12:59:35] local.INFO: IMEI packet received {"connection_id":159037,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 12:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":159037,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 12:59:36] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02337a360012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02337a360012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:59:36] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02337a360012d1821000721b2a8004800d12a..."} 
[2026-08-21 12:59:36] local.INFO: Packet analysis {"connection_id":159037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02337"} 
[2026-08-21 12:59:36] local.INFO: Extracted packet for processing {"connection_id":159037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02337"} 
[2026-08-21 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648936,"longitude_deg":75.6556032,"latitude_deg":11.9648936,"altitude":72,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182100","hex_latitude":"0721b2a8","is_valid_coordinates":true} 
[2026-08-21 12:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548089088001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175926107504640,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771849728,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297244000,"timestamp_ms":1787297244000,"timestamp_seconds":1787297244,"priority":1,"record_length":96,"hex_timestamp":"000001a02337a360"} 
[2026-08-21 12:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 12:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 12:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 12:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 12:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 12:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 12:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548089088001,"66":12645,"105":206,"83":41984,"24":0,"16":14175926107504640,"45":1738670961771849728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 12:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 12:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 12:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548089088001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 12:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 12:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175926107504640,"km_value":14175926107504.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771849728,"description":"Unknown IO ID 45"} 
[2026-08-21 12:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548089088001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771849728}} 
[2026-08-21 12:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":159037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:59:36] local.INFO: GPS data processed {"connection_id":159037,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:59:36] local.INFO: Acknowledgment sent {"connection_id":159037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:59:40] local.INFO: TCP Data received {"connection_id":161578,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233578b0012dda74c0050ec0900010008d30..."} 
[2026-08-21 12:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233578b0012dda74c0050ec0900010008d30..."} 
[2026-08-21 12:59:40] local.INFO: Processing buffer {"connection_id":161578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233578b0012dda74c0050ec0900010008d30..."} 
[2026-08-21 12:59:40] local.INFO: Packet analysis {"connection_id":161578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02335"} 
[2026-08-21 12:59:40] local.INFO: Extracted packet for processing {"connection_id":161578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02335"} 
[2026-08-21 12:59:40] local.INFO: GPS Element Parsed {"raw_longitude":769291456,"raw_latitude":84852880,"longitude_deg":76.9291456,"latitude_deg":8.485288,"altitude":16,"angle":141,"satellites":48,"speed":2,"hex_longitude":"2dda74c0","hex_latitude":"050ec090","is_valid_coordinates":true} 
[2026-08-21 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 12:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548054784001,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221733108187136,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2705467085676251136,"note":"Value kept but may cause issues"} 
[2026-08-21 12:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 12:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787297102000,"timestamp_ms":1787297102000,"timestamp_seconds":1787297102,"priority":1,"record_length":96,"hex_timestamp":"000001a0233578b0"} 
[2026-08-21 12:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 12:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 12:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 12:59:40] 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-08-21 12:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 12:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 12:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 12:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 12:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 12:59: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-08-21 12:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 12:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 12:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548054784001,"66":27919,"223":206,"80":34304,"24":2,"16":388221733108187136,"45":-2705467085676251136},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 12:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 12:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 12:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548054784001,"description":"Unknown IO ID 0"} 
[2026-08-21 12:59:40] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 12:59:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 12:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221733108187136,"km_value":388221733108187.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 12:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2705467085676251136,"description":"Unknown IO ID 45"} 
[2026-08-21 12:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548054784001,"power":27919,"unknown_223":206,"unknown_80":34304,"ignition":2,"odometer":null,"unknown_45":-2705467085676251136}} 
[2026-08-21 12:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":161578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 12:59:40] local.INFO: GPS data processed {"connection_id":161578,"processed":1,"errors":0,"total":1} 
[2026-08-21 12:59:40] local.INFO: Acknowledgment sent {"connection_id":161578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 12:59:58] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:59:58] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 12:59:58] local.INFO: IMEI packet received {"connection_id":159317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 12:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:00:03] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:00:03] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:00:03] local.INFO: IMEI packet received {"connection_id":159317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":159317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:00:05] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02335af60012dda7680050ebeb80010008230..."} 
[2026-08-21 13:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02335af60012dda7680050ebeb80010008230..."} 
[2026-08-21 13:00:05] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02335af60012dda7680050ebeb80010008230..."} 
[2026-08-21 13:00:05] local.INFO: Packet analysis {"connection_id":159317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02335"} 
[2026-08-21 13:00:05] local.INFO: Extracted packet for processing {"connection_id":159317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02335"} 
[2026-08-21 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":769291904,"raw_latitude":84852408,"longitude_deg":76.9291904,"latitude_deg":8.4852408,"altitude":16,"angle":130,"satellites":48,"speed":1,"hex_longitude":"2dda7680","hex_latitude":"050ebeb8","is_valid_coordinates":true} 
[2026-08-21 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548058112001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388221771762892800,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2705326348187955200,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787297116000,"timestamp_ms":1787297116000,"timestamp_seconds":1787297116,"priority":1,"record_length":96,"hex_timestamp":"000001a02335af60"} 
[2026-08-21 13:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 13:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:00: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-08-21 13:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548058112001,"66":27919,"223":206,"80":34304,"24":1,"16":388221771762892800,"45":-2705326348187955200},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-08-21 13:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548058112001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:00:05] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-08-21 13:00:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388221771762892800,"km_value":388221771762892.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2705326348187955200,"description":"Unknown IO ID 45"} 
[2026-08-21 13:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548058112001,"power":27919,"unknown_223":206,"unknown_80":34304,"ignition":1,"odometer":null,"unknown_45":-2705326348187955200}} 
[2026-08-21 13:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":159317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:00:05] local.INFO: GPS data processed {"connection_id":159317,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:00:05] local.INFO: Acknowledgment sent {"connection_id":159317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:00:07] local.INFO: TCP Data received {"connection_id":159037,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02337f568012d181f800721b100004d00d72a..."} 
[2026-08-21 13:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02337f568012d181f800721b100004d00d72a..."} 
[2026-08-21 13:00:07] local.INFO: Processing buffer {"connection_id":159037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02337f568012d181f800721b100004d00d72a..."} 
[2026-08-21 13:00:07] local.INFO: Packet analysis {"connection_id":159037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02337"} 
[2026-08-21 13:00:07] local.INFO: Extracted packet for processing {"connection_id":159037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02337"} 
[2026-08-21 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648512,"longitude_deg":75.6555648,"latitude_deg":11.9648512,"altitude":77,"angle":215,"satellites":42,"speed":3,"hex_longitude":"2d181f80","hex_latitude":"0721b100","is_valid_coordinates":true} 
[2026-08-21 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548094464001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175951877308416,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771849728,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297265000,"timestamp_ms":1787297265000,"timestamp_seconds":1787297265,"priority":1,"record_length":96,"hex_timestamp":"000001a02337f568"} 
[2026-08-21 13:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 13:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159037,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548094464001,"66":12645,"105":206,"83":41984,"24":3,"16":14175951877308416,"45":1738670961771849728},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548094464001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175951877308416,"km_value":14175951877308.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771849728,"description":"Unknown IO ID 45"} 
[2026-08-21 13:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548094464001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738670961771849728}} 
[2026-08-21 13:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":159037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:00:07] local.INFO: GPS data processed {"connection_id":159037,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:00:07] local.INFO: Acknowledgment sent {"connection_id":159037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:00:30] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:00:30] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:00:30] local.INFO: IMEI packet received {"connection_id":161579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":161579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:00:35] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:00:35] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:00:35] local.INFO: IMEI packet received {"connection_id":161579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":161579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:00:36] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023384770012d181f400721b060004d00d82a..."} 
[2026-08-21 13:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023384770012d181f400721b060004d00d82a..."} 
[2026-08-21 13:00:36] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023384770012d181f400721b060004d00d82a..."} 
[2026-08-21 13:00:36] local.INFO: Packet analysis {"connection_id":161579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02338"} 
[2026-08-21 13:00:36] local.INFO: Extracted packet for processing {"connection_id":161579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02338"} 
[2026-08-21 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548099840001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306675200,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297286000,"timestamp_ms":1787297286000,"timestamp_seconds":1787297286,"priority":1,"record_length":96,"hex_timestamp":"000001a023384770"} 
[2026-08-21 13:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 13:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548099840001,"66":12645,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738248749306675200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548099840001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306675200,"description":"Unknown IO ID 45"} 
[2026-08-21 13:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548099840001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306675200}} 
[2026-08-21 13:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":161579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:00:36] local.INFO: GPS data processed {"connection_id":161579,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:00:36] local.INFO: Acknowledgment sent {"connection_id":161579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:00:38] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233987c0012dda9680050e9da8000c008c2d..."} 
[2026-08-21 13:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233987c0012dda9680050e9da8000c008c2d..."} 
[2026-08-21 13:00:38] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233987c0012dda9680050e9da8000c008c2d..."} 
[2026-08-21 13:00:38] local.INFO: Packet analysis {"connection_id":159317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:00:38] local.INFO: Extracted packet for processing {"connection_id":159317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":769300096,"raw_latitude":84843944,"longitude_deg":76.9300096,"latitude_deg":8.4843944,"altitude":12,"angle":140,"satellites":45,"speed":0,"hex_longitude":"2dda9680","hex_latitude":"050e9da8","is_valid_coordinates":true} 
[2026-08-21 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548120832001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222360173412352,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695826567726258176,"note":"Value kept but may cause issues"} 
[2026-08-21 13:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787297368000,"timestamp_ms":1787297368000,"timestamp_seconds":1787297368,"priority":1,"record_length":96,"hex_timestamp":"000001a0233987c0"} 
[2026-08-21 13:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 13:00:38] 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-08-21 13:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548120832001,"66":27865,"180":206,"80":34304,"24":0,"16":388222360173412352,"45":-2695826567726258176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548120832001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:00:38] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:00:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222360173412352,"km_value":388222360173412.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695826567726258176,"description":"Unknown IO ID 45"} 
[2026-08-21 13:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548120832001,"power":27865,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2695826567726258176}} 
[2026-08-21 13:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":159317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:00:38] local.INFO: GPS data processed {"connection_id":159317,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:00:38] local.INFO: Acknowledgment sent {"connection_id":159317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:01:03] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:03] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:03] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:01:07] local.INFO: TCP Data received {"connection_id":161579,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023389978012d181f400721b060004d00d82b..."} 
[2026-08-21 13:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023389978012d181f400721b060004d00d82b..."} 
[2026-08-21 13:01:07] local.INFO: Processing buffer {"connection_id":161579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023389978012d181f400721b060004d00d82b..."} 
[2026-08-21 13:01:07] local.INFO: Packet analysis {"connection_id":161579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02338"} 
[2026-08-21 13:01:07] local.INFO: Extracted packet for processing {"connection_id":161579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02338"} 
[2026-08-21 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548105216001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297307000,"timestamp_ms":1787297307000,"timestamp_seconds":1787297307,"priority":1,"record_length":96,"hex_timestamp":"000001a023389978"} 
[2026-08-21 13:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 13:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548105216001,"66":12635,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548105216001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548105216001,"power":12635,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":161579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:01:07] local.INFO: GPS data processed {"connection_id":161579,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:01:07] local.INFO: Acknowledgment sent {"connection_id":161579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:01:08] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:08] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:08] local.INFO: IMEI packet received {"connection_id":160223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":160223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:01:09] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02339d9c8012dda9680050e9da8000c008c2f..."} 
[2026-08-21 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02339d9c8012dda9680050e9da8000c008c2f..."} 
[2026-08-21 13:01:09] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02339d9c8012dda9680050e9da8000c008c2f..."} 
[2026-08-21 13:01:09] local.INFO: Packet analysis {"connection_id":160223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:01:09] local.INFO: Extracted packet for processing {"connection_id":160223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":769300096,"raw_latitude":84843944,"longitude_deg":76.9300096,"latitude_deg":8.4843944,"altitude":12,"angle":140,"satellites":47,"speed":0,"hex_longitude":"2dda9680","hex_latitude":"050e9da8","is_valid_coordinates":true} 
[2026-08-21 13:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548126208001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222360173412352,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695826567726258176,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787297389000,"timestamp_ms":1787297389000,"timestamp_seconds":1787297389,"priority":1,"record_length":96,"hex_timestamp":"000001a02339d9c8"} 
[2026-08-21 13:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:01: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-08-21 13:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548126208001,"66":27919,"180":206,"80":34304,"24":0,"16":388222360173412352,"45":-2695826567726258176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548126208001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222360173412352,"km_value":388222360173412.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695826567726258176,"description":"Unknown IO ID 45"} 
[2026-08-21 13:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548126208001,"power":27919,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2695826567726258176}} 
[2026-08-21 13:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":160223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:01:09] local.INFO: GPS data processed {"connection_id":160223,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:01:09] local.INFO: Acknowledgment sent {"connection_id":160223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:01:32] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:01:32] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:01:32] local.INFO: IMEI packet received {"connection_id":161580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":161580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:01:35] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:01:35] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:01:35] local.INFO: IMEI packet received {"connection_id":161580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":161580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:01:36] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02338eb80012d181f400721b060004d00d82a..."} 
[2026-08-21 13:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02338eb80012d181f400721b060004d00d82a..."} 
[2026-08-21 13:01:36] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02338eb80012d181f400721b060004d00d82a..."} 
[2026-08-21 13:01:36] local.INFO: Packet analysis {"connection_id":161580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02338"} 
[2026-08-21 13:01:36] local.INFO: Extracted packet for processing {"connection_id":161580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02338"} 
[2026-08-21 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548110592001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297328000,"timestamp_ms":1787297328000,"timestamp_seconds":1787297328,"priority":1,"record_length":96,"hex_timestamp":"000001a02338eb80"} 
[2026-08-21 13:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 13:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548110592001,"66":12613,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548110592001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548110592001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":161580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:01:36] local.INFO: GPS data processed {"connection_id":161580,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:01:36] local.INFO: Acknowledgment sent {"connection_id":161580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:01:41] local.INFO: TCP Data received {"connection_id":160223,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02339f520012dda97c0050e9cb8000b00812e..."} 
[2026-08-21 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02339f520012dda97c0050e9cb8000b00812e..."} 
[2026-08-21 13:01:41] local.INFO: Processing buffer {"connection_id":160223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02339f520012dda97c0050e9cb8000b00812e..."} 
[2026-08-21 13:01:41] local.INFO: Packet analysis {"connection_id":160223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:01:41] local.INFO: Extracted packet for processing {"connection_id":160223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":769300416,"raw_latitude":84843704,"longitude_deg":76.9300416,"latitude_deg":8.4843704,"altitude":11,"angle":129,"satellites":46,"speed":2,"hex_longitude":"2dda97c0","hex_latitude":"050e9cb8","is_valid_coordinates":true} 
[2026-08-21 13:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548131584001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222377353281536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695826567726258176,"note":"Value kept but may cause issues"} 
[2026-08-21 13:01:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787297396000,"timestamp_ms":1787297396000,"timestamp_seconds":1787297396,"priority":1,"record_length":96,"hex_timestamp":"000001a02339f520"} 
[2026-08-21 13:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 13:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548131584001,"66":27887,"180":206,"80":34304,"24":2,"16":388222377353281536,"45":-2695826567726258176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548131584001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222377353281536,"km_value":388222377353281.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695826567726258176,"description":"Unknown IO ID 45"} 
[2026-08-21 13:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548131584001,"power":27887,"unknown_180":206,"unknown_80":34304,"ignition":2,"odometer":null,"unknown_45":-2695826567726258176}} 
[2026-08-21 13:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":160223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:01:41] local.INFO: GPS data processed {"connection_id":160223,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:01:41] local.INFO: Acknowledgment sent {"connection_id":160223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:01:58] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:58] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:58] local.INFO: IMEI packet received {"connection_id":159318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":159318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:01:59] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:59] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:01:59] local.INFO: IMEI packet received {"connection_id":159318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":159318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:02:03] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:02:03] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:02:03] local.INFO: IMEI packet received {"connection_id":159318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":159318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:02:04] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233a4728012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233a4728012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:02:04] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233a4728012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:02:04] local.INFO: Packet analysis {"connection_id":159318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:02:04] local.INFO: Extracted packet for processing {"connection_id":159318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:02:04] local.INFO: GPS Element Parsed {"raw_longitude":769300480,"raw_latitude":84843664,"longitude_deg":76.930048,"latitude_deg":8.4843664,"altitude":11,"angle":127,"satellites":44,"speed":0,"hex_longitude":"2dda9800","hex_latitude":"050e9c90","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548133376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222381648248832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695474724005431296,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787297417000,"timestamp_ms":1787297417000,"timestamp_seconds":1787297417,"priority":1,"record_length":96,"hex_timestamp":"000001a0233a4728"} 
[2026-08-21 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-08-21 13: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-08-21 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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 13:02:04] 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-08-21 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-08-21 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-08-21 13:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:02: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-08-21 13:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548133376001,"66":27843,"180":206,"80":34304,"24":0,"16":388222381648248832,"45":-2695474724005431296},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548133376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:02:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:02:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222381648248832,"km_value":388222381648248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695474724005431296,"description":"Unknown IO ID 45"} 
[2026-08-21 13:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548133376001,"power":27843,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2695474724005431296}} 
[2026-08-21 13:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:02:04] local.INFO: GPS data processed {"connection_id":159318,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:02:04] local.INFO: Acknowledgment sent {"connection_id":159318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:02:07] local.INFO: TCP Data received {"connection_id":161580,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023393d88012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023393d88012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:07] local.INFO: Processing buffer {"connection_id":161580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023393d88012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:07] local.INFO: Packet analysis {"connection_id":161580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:02:07] local.INFO: Extracted packet for processing {"connection_id":161580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548115968001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297349000,"timestamp_ms":1787297349000,"timestamp_seconds":1787297349,"priority":1,"record_length":96,"hex_timestamp":"000001a023393d88"} 
[2026-08-21 13:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548115968001,"66":12635,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548115968001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:02:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548115968001,"power":12635,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":161580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:02:07] local.INFO: GPS data processed {"connection_id":161580,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:02:07] local.INFO: Acknowledgment sent {"connection_id":161580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:02:35] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0233a9930012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233a9930012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:02:35] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233a9930012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:02:35] local.INFO: Packet analysis {"connection_id":159318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:02:35] local.INFO: Extracted packet for processing {"connection_id":159318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:02:35] local.INFO: GPS Element Parsed {"raw_longitude":769300480,"raw_latitude":84843664,"longitude_deg":76.930048,"latitude_deg":8.4843664,"altitude":11,"angle":127,"satellites":44,"speed":0,"hex_longitude":"2dda9800","hex_latitude":"050e9c90","is_valid_coordinates":true} 
[2026-08-21 13:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548138752001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222381648248832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695404355261263872,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787297438000,"timestamp_ms":1787297438000,"timestamp_seconds":1787297438,"priority":1,"record_length":96,"hex_timestamp":"000001a0233a9930"} 
[2026-08-21 13:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:02: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-08-21 13:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 13:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548138752001,"66":27865,"180":206,"80":34304,"24":0,"16":388222381648248832,"45":-2695404355261263872},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548138752001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222381648248832,"km_value":388222381648248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695404355261263872,"description":"Unknown IO ID 45"} 
[2026-08-21 13:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548138752001,"power":27865,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2695404355261263872}} 
[2026-08-21 13:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":159318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:02:35] local.INFO: GPS data processed {"connection_id":159318,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:02:35] local.INFO: Acknowledgment sent {"connection_id":159318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:02:35] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:35] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:35] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:02:36] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:36] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:36] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:02:40] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:40] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:02:40] local.INFO: IMEI packet received {"connection_id":161581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":161581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:02:41] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023398f90012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023398f90012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:41] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023398f90012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:41] local.INFO: Packet analysis {"connection_id":161581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:02:41] local.INFO: Extracted packet for processing {"connection_id":161581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:02:41] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548121344001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787297370000,"timestamp_ms":1787297370000,"timestamp_seconds":1787297370,"priority":1,"record_length":96,"hex_timestamp":"000001a023398f90"} 
[2026-08-21 13:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 13:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548121344001,"66":12613,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548121344001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548121344001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":161581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:02:41] local.INFO: GPS data processed {"connection_id":161581,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:02:41] local.INFO: Acknowledgment sent {"connection_id":161581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:02:45] local.INFO: TCP Data received {"connection_id":161581,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02339e198012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02339e198012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:45] local.INFO: Processing buffer {"connection_id":161581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02339e198012d181f400721b060004d00d829..."} 
[2026-08-21 13:02:45] local.INFO: Packet analysis {"connection_id":161581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:02:45] local.INFO: Extracted packet for processing {"connection_id":161581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02339"} 
[2026-08-21 13:02:45] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548126720001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787297391000,"timestamp_ms":1787297391000,"timestamp_seconds":1787297391,"priority":1,"record_length":96,"hex_timestamp":"000001a02339e198"} 
[2026-08-21 13:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548126720001,"66":12591,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548126720001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:02:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:02:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548126720001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":161581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:02:46] local.INFO: GPS data processed {"connection_id":161581,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:02:46] local.INFO: Acknowledgment sent {"connection_id":161581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:02:58] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:02:58] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:02:58] local.INFO: IMEI packet received {"connection_id":159319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":159319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:03:02] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:02] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:02] local.INFO: IMEI packet received {"connection_id":159319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":159319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:03:02] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:02] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:02] local.INFO: IMEI packet received {"connection_id":159319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":159319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:03:04] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233aeb38012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233aeb38012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:03:04] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233aeb38012dda9800050e9c90000b007f2c..."} 
[2026-08-21 13:03:04] local.INFO: Packet analysis {"connection_id":159319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:03:04] local.INFO: Extracted packet for processing {"connection_id":159319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:03:04] local.INFO: GPS Element Parsed {"raw_longitude":769300480,"raw_latitude":84843664,"longitude_deg":76.930048,"latitude_deg":8.4843664,"altitude":11,"angle":127,"satellites":44,"speed":0,"hex_longitude":"2dda9800","hex_latitude":"050e9c90","is_valid_coordinates":true} 
[2026-08-21 13:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548144128001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222381648248832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695404355261263872,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787297459000,"timestamp_ms":1787297459000,"timestamp_seconds":1787297459,"priority":1,"record_length":96,"hex_timestamp":"000001a0233aeb38"} 
[2026-08-21 13:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:03: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-08-21 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:03:04] 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-08-21 13:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548144128001,"66":27745,"180":206,"80":34304,"24":0,"16":388222381648248832,"45":-2695404355261263872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548144128001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:03:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:03:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222381648248832,"km_value":388222381648248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695404355261263872,"description":"Unknown IO ID 45"} 
[2026-08-21 13:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548144128001,"power":27745,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2695404355261263872}} 
[2026-08-21 13:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":159319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:03:04] local.INFO: GPS data processed {"connection_id":159319,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:03:04] local.INFO: Acknowledgment sent {"connection_id":159319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:03:08] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233b3d40012dda9800050e9c90000b007f2f..."} 
[2026-08-21 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233b3d40012dda9800050e9c90000b007f2f..."} 
[2026-08-21 13:03:08] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233b3d40012dda9800050e9c90000b007f2f..."} 
[2026-08-21 13:03:08] local.INFO: Packet analysis {"connection_id":159319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:03:08] local.INFO: Extracted packet for processing {"connection_id":159319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":769300480,"raw_latitude":84843664,"longitude_deg":76.930048,"latitude_deg":8.4843664,"altitude":11,"angle":127,"satellites":47,"speed":0,"hex_longitude":"2dda9800","hex_latitude":"050e9c90","is_valid_coordinates":true} 
[2026-08-21 13:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548149504001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222381648248832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695404355261263872,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787297480000,"timestamp_ms":1787297480000,"timestamp_seconds":1787297480,"priority":1,"record_length":96,"hex_timestamp":"000001a0233b3d40"} 
[2026-08-21 13:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 13:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548149504001,"66":27908,"180":206,"80":34304,"24":0,"16":388222381648248832,"45":-2695404355261263872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548149504001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:03:08] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:03:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222381648248832,"km_value":388222381648248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695404355261263872,"description":"Unknown IO ID 45"} 
[2026-08-21 13:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548149504001,"power":27908,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2695404355261263872}} 
[2026-08-21 13:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":159319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:03:08] local.INFO: GPS data processed {"connection_id":159319,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:03:08] local.INFO: Acknowledgment sent {"connection_id":159319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:03:30] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:03:30] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:03:30] local.INFO: IMEI packet received {"connection_id":160224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":160224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:03:35] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:03:35] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:03:35] local.INFO: IMEI packet received {"connection_id":160224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":160224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:03:36] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233a33a0012d181f400721b060004d00d82a..."} 
[2026-08-21 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233a33a0012d181f400721b060004d00d82a..."} 
[2026-08-21 13:03:36] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233a33a0012d181f400721b060004d00d82a..."} 
[2026-08-21 13:03:36] local.INFO: Packet analysis {"connection_id":160224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:03:36] local.INFO: Extracted packet for processing {"connection_id":160224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548132096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297412000,"timestamp_ms":1787297412000,"timestamp_seconds":1787297412,"priority":1,"record_length":96,"hex_timestamp":"000001a0233a33a0"} 
[2026-08-21 13:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548132096001,"66":12548,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548132096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548132096001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":160224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:03:36] local.INFO: GPS data processed {"connection_id":160224,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:03:36] local.INFO: Acknowledgment sent {"connection_id":160224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:03:39] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233b8f48012dda9800050e9c90000b007f2f..."} 
[2026-08-21 13:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233b8f48012dda9800050e9c90000b007f2f..."} 
[2026-08-21 13:03:39] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233b8f48012dda9800050e9c90000b007f2f..."} 
[2026-08-21 13:03:39] local.INFO: Packet analysis {"connection_id":159319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:03:39] local.INFO: Extracted packet for processing {"connection_id":159319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:03:39] local.INFO: GPS Element Parsed {"raw_longitude":769300480,"raw_latitude":84843664,"longitude_deg":76.930048,"latitude_deg":8.4843664,"altitude":11,"angle":127,"satellites":47,"speed":0,"hex_longitude":"2dda9800","hex_latitude":"050e9c90","is_valid_coordinates":true} 
[2026-08-21 13:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548154880001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222381648248832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695404355261263872,"note":"Value kept but may cause issues"} 
[2026-08-21 13:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787297501000,"timestamp_ms":1787297501000,"timestamp_seconds":1787297501,"priority":1,"record_length":96,"hex_timestamp":"000001a0233b8f48"} 
[2026-08-21 13:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548154880001,"66":27821,"180":206,"80":34304,"24":0,"16":388222381648248832,"45":-2695404355261263872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548154880001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:03:39] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:03:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222381648248832,"km_value":388222381648248.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695404355261263872,"description":"Unknown IO ID 45"} 
[2026-08-21 13:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548154880001,"power":27821,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2695404355261263872}} 
[2026-08-21 13:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":159319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:03:39] local.INFO: GPS data processed {"connection_id":159319,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:03:39] local.INFO: Acknowledgment sent {"connection_id":159319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:03:58] local.INFO: TCP Data received {"connection_id":159320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:58] local.INFO: Processing buffer {"connection_id":159320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:03:58] local.INFO: IMEI packet received {"connection_id":159320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":159320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:04:03] local.INFO: TCP Data received {"connection_id":159320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:04:03] local.INFO: Processing buffer {"connection_id":159320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:04:03] local.INFO: IMEI packet received {"connection_id":159320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":159320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:04:04] local.INFO: TCP Data received {"connection_id":159320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233be150012dda9d00050e9718000c00842f..."} 
[2026-08-21 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233be150012dda9d00050e9718000c00842f..."} 
[2026-08-21 13:04:04] local.INFO: Processing buffer {"connection_id":159320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233be150012dda9d00050e9718000c00842f..."} 
[2026-08-21 13:04:04] local.INFO: Packet analysis {"connection_id":159320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:04:04] local.INFO: Extracted packet for processing {"connection_id":159320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:04:04] local.INFO: GPS Element Parsed {"raw_longitude":769301760,"raw_latitude":84842264,"longitude_deg":76.930176,"latitude_deg":8.4842264,"altitude":12,"angle":132,"satellites":47,"speed":2,"hex_longitude":"2dda9d00","hex_latitude":"050e9718","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548160256001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222476137529344,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2695404355261263872,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787297522000,"timestamp_ms":1787297522000,"timestamp_seconds":1787297522,"priority":1,"record_length":96,"hex_timestamp":"000001a0233be150"} 
[2026-08-21 13:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:04: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-08-21 13: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 13:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548160256001,"66":27930,"180":206,"80":34304,"24":2,"16":388222476137529344,"45":-2695404355261263872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548160256001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:04:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222476137529344,"km_value":388222476137529.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2695404355261263872,"description":"Unknown IO ID 45"} 
[2026-08-21 13:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548160256001,"power":27930,"unknown_180":206,"unknown_80":34304,"ignition":2,"odometer":null,"unknown_45":-2695404355261263872}} 
[2026-08-21 13:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":159320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:04:05] local.INFO: GPS data processed {"connection_id":159320,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:04:05] local.INFO: Acknowledgment sent {"connection_id":159320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:04:07] local.INFO: TCP Data received {"connection_id":160224,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233a85a8012d181f400721b060004d00d82b..."} 
[2026-08-21 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233a85a8012d181f400721b060004d00d82b..."} 
[2026-08-21 13:04:07] local.INFO: Processing buffer {"connection_id":160224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233a85a8012d181f400721b060004d00d82b..."} 
[2026-08-21 13:04:07] local.INFO: Packet analysis {"connection_id":160224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:04:07] local.INFO: Extracted packet for processing {"connection_id":160224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548137472001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297433000,"timestamp_ms":1787297433000,"timestamp_seconds":1787297433,"priority":1,"record_length":96,"hex_timestamp":"000001a0233a85a8"} 
[2026-08-21 13:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4143972352,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959081549,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:04:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,92,160,225,45,64,176,77,41,10,66,143,61,1,240,91,227,35,33,4,113,205,153,31,96,43,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:04:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548672415820677120,"timestamp_seconds":5548672415820677.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548137472001,"66":12602,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548137472001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:04:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548137472001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":160224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:04:07] local.INFO: GPS data processed {"connection_id":160224,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:04:07] local.INFO: Acknowledgment sent {"connection_id":160224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:04:30] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:04:30] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:04:30] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:04:35] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:04:35] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:04:35] local.INFO: IMEI packet received {"connection_id":161582,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":161582,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:04:36] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233ad7b0012d181f400721b060004d00d82a..."} 
[2026-08-21 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233ad7b0012d181f400721b060004d00d82a..."} 
[2026-08-21 13:04:36] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233ad7b0012d181f400721b060004d00d82a..."} 
[2026-08-21 13:04:36] local.INFO: Packet analysis {"connection_id":161582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:04:36] local.INFO: Extracted packet for processing {"connection_id":161582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233a"} 
[2026-08-21 13:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548142848001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297454000,"timestamp_ms":1787297454000,"timestamp_seconds":1787297454,"priority":1,"record_length":96,"hex_timestamp":"000001a0233ad7b0"} 
[2026-08-21 13:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 13:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548142848001,"66":12591,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548142848001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548142848001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":161582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:04:36] local.INFO: GPS data processed {"connection_id":161582,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:04:36] local.INFO: Acknowledgment sent {"connection_id":161582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:04:36] local.INFO: TCP Data received {"connection_id":159320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233c3358012dda9fc0050e9498000c00852f..."} 
[2026-08-21 13:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233c3358012dda9fc0050e9498000c00852f..."} 
[2026-08-21 13:04:36] local.INFO: Processing buffer {"connection_id":159320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233c3358012dda9fc0050e9498000c00852f..."} 
[2026-08-21 13:04:36] local.INFO: Packet analysis {"connection_id":159320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:04:36] local.INFO: Extracted packet for processing {"connection_id":159320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:04:36] local.INFO: GPS Element Parsed {"raw_longitude":769302464,"raw_latitude":84841624,"longitude_deg":76.9302464,"latitude_deg":8.4841624,"altitude":12,"angle":133,"satellites":47,"speed":0,"hex_longitude":"2dda9fc0","hex_latitude":"050e9498","is_valid_coordinates":true} 
[2026-08-21 13:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548165632001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222527677136896,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2693996980378068992,"note":"Value kept but may cause issues"} 
[2026-08-21 13:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297543000,"timestamp_ms":1787297543000,"timestamp_seconds":1787297543,"priority":1,"record_length":96,"hex_timestamp":"000001a0233c3358"} 
[2026-08-21 13:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:04: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-08-21 13:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 13:04:36] 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-08-21 13:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548165632001,"66":27919,"180":206,"80":34304,"24":0,"16":388222527677136896,"45":-2693996980378068992},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548165632001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222527677136896,"km_value":388222527677136.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2693996980378068992,"description":"Unknown IO ID 45"} 
[2026-08-21 13:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548165632001,"power":27919,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2693996980378068992}} 
[2026-08-21 13:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":159320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:04:36] local.INFO: GPS data processed {"connection_id":159320,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:04:36] local.INFO: Acknowledgment sent {"connection_id":159320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:04:57] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:04:57] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:04:57] local.INFO: IMEI packet received {"connection_id":159321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":159321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:05:03] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:05:03] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:05:03] local.INFO: IMEI packet received {"connection_id":159321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":159321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:05:04] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233c8560012ddaa040050e93a8000c007f2f..."} 
[2026-08-21 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233c8560012ddaa040050e93a8000c007f2f..."} 
[2026-08-21 13:05:04] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233c8560012ddaa040050e93a8000c007f2f..."} 
[2026-08-21 13:05:04] local.INFO: Packet analysis {"connection_id":159321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:05:04] local.INFO: Extracted packet for processing {"connection_id":159321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:05:04] local.INFO: GPS Element Parsed {"raw_longitude":769302592,"raw_latitude":84841384,"longitude_deg":76.9302592,"latitude_deg":8.4841384,"altitude":12,"angle":127,"satellites":47,"speed":1,"hex_longitude":"2ddaa040","hex_latitude":"050e93a8","is_valid_coordinates":true} 
[2026-08-21 13:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548171008001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222540562038784,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2693222924192278528,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787297564000,"timestamp_ms":1787297564000,"timestamp_seconds":1787297564,"priority":1,"record_length":96,"hex_timestamp":"000001a0233c8560"} 
[2026-08-21 13:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:05: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-08-21 13:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 13:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548171008001,"66":27930,"180":206,"80":34304,"24":1,"16":388222540562038784,"45":-2693222924192278528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548171008001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:05:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222540562038784,"km_value":388222540562038.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2693222924192278528,"description":"Unknown IO ID 45"} 
[2026-08-21 13:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548171008001,"power":27930,"unknown_180":206,"unknown_80":34304,"ignition":1,"odometer":null,"unknown_45":-2693222924192278528}} 
[2026-08-21 13:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":159321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:05:04] local.INFO: GPS data processed {"connection_id":159321,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:05:04] local.INFO: Acknowledgment sent {"connection_id":159321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:05:07] local.INFO: TCP Data received {"connection_id":161582,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233b29b8012d181f400721b060004d00d82b..."} 
[2026-08-21 13:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233b29b8012d181f400721b060004d00d82b..."} 
[2026-08-21 13:05:07] local.INFO: Processing buffer {"connection_id":161582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233b29b8012d181f400721b060004d00d82b..."} 
[2026-08-21 13:05:07] local.INFO: Packet analysis {"connection_id":161582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:05:07] local.INFO: Extracted packet for processing {"connection_id":161582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648352,"longitude_deg":75.6555584,"latitude_deg":11.9648352,"altitude":77,"angle":216,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-08-21 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548148224001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175964762210304,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297475000,"timestamp_ms":1787297475000,"timestamp_seconds":1787297475,"priority":1,"record_length":96,"hex_timestamp":"000001a0233b29b8"} 
[2026-08-21 13:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161582,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548148224001,"66":12591,"105":206,"83":41984,"24":0,"16":14175964762210304,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548148224001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175964762210304,"km_value":14175964762210.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548148224001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":161582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:05:07] local.INFO: GPS data processed {"connection_id":161582,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:05:07] local.INFO: Acknowledgment sent {"connection_id":161582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:05:30] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:05:30] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:05:30] local.INFO: IMEI packet received {"connection_id":159322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":159322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:05:35] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233cd768012ddaa240050e9228000d008630..."} 
[2026-08-21 13:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233cd768012ddaa240050e9228000d008630..."} 
[2026-08-21 13:05:35] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233cd768012ddaa240050e9228000d008630..."} 
[2026-08-21 13:05:35] local.INFO: Packet analysis {"connection_id":159321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:05:35] local.INFO: Extracted packet for processing {"connection_id":159321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:05:35] local.INFO: GPS Element Parsed {"raw_longitude":769303104,"raw_latitude":84841000,"longitude_deg":76.9303104,"latitude_deg":8.4841,"altitude":13,"angle":134,"satellites":48,"speed":0,"hex_longitude":"2ddaa240","hex_latitude":"050e9228","is_valid_coordinates":true} 
[2026-08-21 13:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548176384001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222574921777152,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2693082186703984640,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787297585000,"timestamp_ms":1787297585000,"timestamp_seconds":1787297585,"priority":1,"record_length":96,"hex_timestamp":"000001a0233cd768"} 
[2026-08-21 13:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:05: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-08-21 13:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 13:05:35] 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-08-21 13:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548176384001,"66":27974,"180":206,"80":34304,"24":0,"16":388222574921777152,"45":-2693082186703984640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548176384001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:05:35] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:05:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222574921777152,"km_value":388222574921777.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2693082186703984640,"description":"Unknown IO ID 45"} 
[2026-08-21 13:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548176384001,"power":27974,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2693082186703984640}} 
[2026-08-21 13:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":159321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:05:35] local.INFO: GPS data processed {"connection_id":159321,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:05:35] local.INFO: Acknowledgment sent {"connection_id":159321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:05:35] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:05:35] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:05:35] local.INFO: IMEI packet received {"connection_id":159322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":159322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:05:36] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233b7bc0012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233b7bc0012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:05:36] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233b7bc0012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:05:36] local.INFO: Packet analysis {"connection_id":159322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:05:36] local.INFO: Extracted packet for processing {"connection_id":159322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548153600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562456576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297496000,"timestamp_ms":1787297496000,"timestamp_seconds":1787297496,"priority":1,"record_length":96,"hex_timestamp":"000001a0233b7bc0"} 
[2026-08-21 13:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548153600001,"66":12591,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1738178380562456576},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548153600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562456576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548153600001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562456576}} 
[2026-08-21 13:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":159322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:05:36] local.INFO: GPS data processed {"connection_id":159322,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:05:36] local.INFO: Acknowledgment sent {"connection_id":159322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:05:58] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:05:58] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:05:58] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:06:03] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:06:03] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:06:03] local.INFO: IMEI packet received {"connection_id":160225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":160225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:06:05] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233d2970012ddaa240050e9228000d008630..."} 
[2026-08-21 13:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233d2970012ddaa240050e9228000d008630..."} 
[2026-08-21 13:06:05] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233d2970012ddaa240050e9228000d008630..."} 
[2026-08-21 13:06:05] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:06:05] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":769303104,"raw_latitude":84841000,"longitude_deg":76.9303104,"latitude_deg":8.4841,"altitude":13,"angle":134,"satellites":48,"speed":0,"hex_longitude":"2ddaa240","hex_latitude":"050e9228","is_valid_coordinates":true} 
[2026-08-21 13:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548181760001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222574921777152,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2692519236750661632,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787297606000,"timestamp_ms":1787297606000,"timestamp_seconds":1787297606,"priority":1,"record_length":96,"hex_timestamp":"000001a0233d2970"} 
[2026-08-21 13:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 13:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548181760001,"66":27865,"180":206,"80":34304,"24":0,"16":388222574921777152,"45":-2692519236750661632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548181760001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:06:05] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:06:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222574921777152,"km_value":388222574921777.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2692519236750661632,"description":"Unknown IO ID 45"} 
[2026-08-21 13:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548181760001,"power":27865,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2692519236750661632}} 
[2026-08-21 13:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:06:05] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:06:05] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:06:07] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233bcdc8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233bcdc8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:06:07] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233bcdc8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:06:07] local.INFO: Packet analysis {"connection_id":159322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:06:07] local.INFO: Extracted packet for processing {"connection_id":159322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233b"} 
[2026-08-21 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548158976001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297517000,"timestamp_ms":1787297517000,"timestamp_seconds":1787297517,"priority":1,"record_length":96,"hex_timestamp":"000001a0233bcdc8"} 
[2026-08-21 13:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548158976001,"66":12591,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548158976001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548158976001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":159322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:06:07] local.INFO: GPS data processed {"connection_id":159322,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:06:07] local.INFO: Acknowledgment sent {"connection_id":159322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:06:30] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:06:30] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:06:30] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:06:35] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:06:35] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:06:35] local.INFO: IMEI packet received {"connection_id":159038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":159038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:06:36] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233c1fd0012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233c1fd0012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:06:36] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233c1fd0012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:06:36] local.INFO: Packet analysis {"connection_id":159038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:06:36] local.INFO: Extracted packet for processing {"connection_id":159038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548164352001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297538000,"timestamp_ms":1787297538000,"timestamp_seconds":1787297538,"priority":1,"record_length":96,"hex_timestamp":"000001a0233c1fd0"} 
[2026-08-21 13:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548164352001,"66":12591,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548164352001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548164352001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":159038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:06:36] local.INFO: GPS data processed {"connection_id":159038,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:06:36] local.INFO: Acknowledgment sent {"connection_id":159038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:06:37] local.INFO: TCP Data received {"connection_id":160225,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233d7b78012ddaa440050e9100000f00892f..."} 
[2026-08-21 13:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233d7b78012ddaa440050e9100000f00892f..."} 
[2026-08-21 13:06:37] local.INFO: Processing buffer {"connection_id":160225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233d7b78012ddaa440050e9100000f00892f..."} 
[2026-08-21 13:06:37] local.INFO: Packet analysis {"connection_id":160225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:06:37] local.INFO: Extracted packet for processing {"connection_id":160225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":769303616,"raw_latitude":84840704,"longitude_deg":76.9303616,"latitude_deg":8.4840704,"altitude":15,"angle":137,"satellites":47,"speed":0,"hex_longitude":"2ddaa440","hex_latitude":"050e9100","is_valid_coordinates":true} 
[2026-08-21 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548187136001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222604986548224,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2692519236750661632,"note":"Value kept but may cause issues"} 
[2026-08-21 13:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787297627000,"timestamp_ms":1787297627000,"timestamp_seconds":1787297627,"priority":1,"record_length":96,"hex_timestamp":"000001a0233d7b78"} 
[2026-08-21 13:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548187136001,"66":27930,"180":206,"80":34304,"24":0,"16":388222604986548224,"45":-2692519236750661632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548187136001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:06:37] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:06:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222604986548224,"km_value":388222604986548.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2692519236750661632,"description":"Unknown IO ID 45"} 
[2026-08-21 13:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548187136001,"power":27930,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2692519236750661632}} 
[2026-08-21 13:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":160225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:06:37] local.INFO: GPS data processed {"connection_id":160225,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:06:37] local.INFO: Acknowledgment sent {"connection_id":160225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:07:03] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:03] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:03] local.INFO: IMEI packet received {"connection_id":159039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":159039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:07:07] local.INFO: TCP Data received {"connection_id":159038,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233c71d8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233c71d8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:07:07] local.INFO: Processing buffer {"connection_id":159038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233c71d8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:07:07] local.INFO: Packet analysis {"connection_id":159038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:07:07] local.INFO: Extracted packet for processing {"connection_id":159038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548169728001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297559000,"timestamp_ms":1787297559000,"timestamp_seconds":1787297559,"priority":1,"record_length":96,"hex_timestamp":"000001a0233c71d8"} 
[2026-08-21 13:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548169728001,"66":12558,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548169728001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548169728001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":159038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:07:07] local.INFO: GPS data processed {"connection_id":159038,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:07:07] local.INFO: Acknowledgment sent {"connection_id":159038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:07:08] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:08] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:08] local.INFO: IMEI packet received {"connection_id":159039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":159039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:07:09] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233dcd80012ddaa440050e9100000f008930..."} 
[2026-08-21 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233dcd80012ddaa440050e9100000f008930..."} 
[2026-08-21 13:07:09] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233dcd80012ddaa440050e9100000f008930..."} 
[2026-08-21 13:07:09] local.INFO: Packet analysis {"connection_id":159039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:07:09] local.INFO: Extracted packet for processing {"connection_id":159039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":769303616,"raw_latitude":84840704,"longitude_deg":76.9303616,"latitude_deg":8.4840704,"altitude":15,"angle":137,"satellites":48,"speed":0,"hex_longitude":"2ddaa440","hex_latitude":"050e9100","is_valid_coordinates":true} 
[2026-08-21 13:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548192512001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222604986548224,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2691956286797316096,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787297648000,"timestamp_ms":1787297648000,"timestamp_seconds":1787297648,"priority":1,"record_length":96,"hex_timestamp":"000001a0233dcd80"} 
[2026-08-21 13:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 13:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548192512001,"66":27876,"180":206,"80":34304,"24":0,"16":388222604986548224,"45":-2691956286797316096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548192512001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:07:09] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:07:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222604986548224,"km_value":388222604986548.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2691956286797316096,"description":"Unknown IO ID 45"} 
[2026-08-21 13:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548192512001,"power":27876,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2691956286797316096}} 
[2026-08-21 13:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":159039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:07:09] local.INFO: GPS data processed {"connection_id":159039,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:07:09] local.INFO: Acknowledgment sent {"connection_id":159039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:07:14] local.INFO: TCP Data received {"connection_id":159039,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233e1f88012ddaa440050e9100000f00892f..."} 
[2026-08-21 13:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233e1f88012ddaa440050e9100000f00892f..."} 
[2026-08-21 13:07:14] local.INFO: Processing buffer {"connection_id":159039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233e1f88012ddaa440050e9100000f00892f..."} 
[2026-08-21 13:07:14] local.INFO: Packet analysis {"connection_id":159039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233e"} 
[2026-08-21 13:07:14] local.INFO: Extracted packet for processing {"connection_id":159039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233e"} 
[2026-08-21 13:07:14] local.INFO: GPS Element Parsed {"raw_longitude":769303616,"raw_latitude":84840704,"longitude_deg":76.9303616,"latitude_deg":8.4840704,"altitude":15,"angle":137,"satellites":47,"speed":0,"hex_longitude":"2ddaa440","hex_latitude":"050e9100","is_valid_coordinates":true} 
[2026-08-21 13:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548197888001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222604986548224,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2691956286797316096,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787297669000,"timestamp_ms":1787297669000,"timestamp_seconds":1787297669,"priority":1,"record_length":96,"hex_timestamp":"000001a0233e1f88"} 
[2026-08-21 13:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 13:07: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-08-21 13:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548197888001,"66":27843,"180":206,"80":34304,"24":0,"16":388222604986548224,"45":-2691956286797316096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548197888001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:07:14] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:07:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222604986548224,"km_value":388222604986548.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2691956286797316096,"description":"Unknown IO ID 45"} 
[2026-08-21 13:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548197888001,"power":27843,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2691956286797316096}} 
[2026-08-21 13:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":159039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:07:14] local.INFO: GPS data processed {"connection_id":159039,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:07:14] local.INFO: Acknowledgment sent {"connection_id":159039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:07:29] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:29] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:29] local.INFO: IMEI packet received {"connection_id":159040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":159040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:07:30] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:30] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:30] local.INFO: IMEI packet received {"connection_id":159040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":159040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:07:35] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:35] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:07:35] local.INFO: IMEI packet received {"connection_id":159040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":159040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:07:36] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233cc3e0012d181e800721ae68004c00d129..."} 
[2026-08-21 13:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233cc3e0012d181e800721ae68004c00d129..."} 
[2026-08-21 13:07:36] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233cc3e0012d181e800721ae68004c00d129..."} 
[2026-08-21 13:07:36] local.INFO: Packet analysis {"connection_id":159040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:07:36] local.INFO: Extracted packet for processing {"connection_id":159040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233c"} 
[2026-08-21 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548175104001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297580000,"timestamp_ms":1787297580000,"timestamp_seconds":1787297580,"priority":1,"record_length":96,"hex_timestamp":"000001a0233cc3e0"} 
[2026-08-21 13:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005829216,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2959081549,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":50,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 13:07:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,92,160,31,45,128,174,76,44,10,66,205,123,1,240,47,227,35,33,4,113,215,96,42,239,49,2,50,7,77,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:07:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476607133791289344,"timestamp_seconds":5476607133791289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548175104001,"66":12558,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548175104001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548175104001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":159040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:07:36] local.INFO: GPS data processed {"connection_id":159040,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:07:36] local.INFO: Acknowledgment sent {"connection_id":159040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:07:58] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:58] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:07:58] local.INFO: IMEI packet received {"connection_id":159323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":159323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:08:03] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:08:03] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:08:03] local.INFO: IMEI packet received {"connection_id":159323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":159323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:08:05] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233e7190012ddaa480050e8ff0000c008830..."} 
[2026-08-21 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233e7190012ddaa480050e8ff0000c008830..."} 
[2026-08-21 13:08:05] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233e7190012ddaa480050e8ff0000c008830..."} 
[2026-08-21 13:08:05] local.INFO: Packet analysis {"connection_id":159323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233e"} 
[2026-08-21 13:08:05] local.INFO: Extracted packet for processing {"connection_id":159323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233e"} 
[2026-08-21 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":769303680,"raw_latitude":84840432,"longitude_deg":76.930368,"latitude_deg":8.4840432,"altitude":12,"angle":136,"satellites":48,"speed":0,"hex_longitude":"2ddaa480","hex_latitude":"050e8ff0","is_valid_coordinates":true} 
[2026-08-21 13:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548203264001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222617871450112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2691956286797316096,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787297690000,"timestamp_ms":1787297690000,"timestamp_seconds":1787297690,"priority":1,"record_length":96,"hex_timestamp":"000001a0233e7190"} 
[2026-08-21 13:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 13:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548203264001,"66":27789,"180":206,"80":34304,"24":0,"16":388222617871450112,"45":-2691956286797316096},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548203264001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:08:05] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:08:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222617871450112,"km_value":388222617871450.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2691956286797316096,"description":"Unknown IO ID 45"} 
[2026-08-21 13:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548203264001,"power":27789,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2691956286797316096}} 
[2026-08-21 13:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":159323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:08:05] local.INFO: GPS data processed {"connection_id":159323,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:08:05] local.INFO: Acknowledgment sent {"connection_id":159323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:08:07] local.INFO: TCP Data received {"connection_id":159040,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0233d15e8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233d15e8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:08:07] local.INFO: Processing buffer {"connection_id":159040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233d15e8012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:08:07] local.INFO: Packet analysis {"connection_id":159040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:08:07] local.INFO: Extracted packet for processing {"connection_id":159040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233d"} 
[2026-08-21 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548180480001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297601000,"timestamp_ms":1787297601000,"timestamp_seconds":1787297601,"priority":1,"record_length":96,"hex_timestamp":"000001a0233d15e8"} 
[2026-08-21 13:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005829216,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2926051404,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,92,160,113,45,128,174,76,44,10,66,31,205,1,240,47,227,35,33,4,41,96,43,239,49,2,50,7,77,106,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:08:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476607120906387456,"timestamp_seconds":5476607120906387.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548180480001,"66":12580,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548180480001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548180480001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":159040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:08:07] local.INFO: GPS data processed {"connection_id":159040,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:08:07] local.INFO: Acknowledgment sent {"connection_id":159040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:08:30] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:30] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:30] local.INFO: IMEI packet received {"connection_id":161583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":161583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:08:32] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:32] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:32] local.INFO: IMEI packet received {"connection_id":161583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":161583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:08:35] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:35] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:08:35] local.INFO: IMEI packet received {"connection_id":161583,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":161583,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:08:36] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233ec398012ddaa480050e8ff0000c008830..."} 
[2026-08-21 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233ec398012ddaa480050e8ff0000c008830..."} 
[2026-08-21 13:08:36] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233ec398012ddaa480050e8ff0000c008830..."} 
[2026-08-21 13:08:36] local.INFO: Packet analysis {"connection_id":159323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233e"} 
[2026-08-21 13:08:36] local.INFO: Extracted packet for processing {"connection_id":159323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233e"} 
[2026-08-21 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":769303680,"raw_latitude":84840432,"longitude_deg":76.930368,"latitude_deg":8.4840432,"altitude":12,"angle":136,"satellites":48,"speed":0,"hex_longitude":"2ddaa480","hex_latitude":"050e8ff0","is_valid_coordinates":true} 
[2026-08-21 13:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548208640001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222617871450112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2691885918053208064,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297711000,"timestamp_ms":1787297711000,"timestamp_seconds":1787297711,"priority":1,"record_length":96,"hex_timestamp":"000001a0233ec398"} 
[2026-08-21 13:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:08: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-08-21 13: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 13:08:36] 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-08-21 13:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548208640001,"66":27800,"180":206,"80":34304,"24":0,"16":388222617871450112,"45":-2691885918053208064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548208640001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222617871450112,"km_value":388222617871450.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2691885918053208064,"description":"Unknown IO ID 45"} 
[2026-08-21 13:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548208640001,"power":27800,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2691885918053208064}} 
[2026-08-21 13:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":159323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:08:36] local.INFO: GPS data processed {"connection_id":159323,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:08:36] local.INFO: Acknowledgment sent {"connection_id":159323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:08:36] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023409c40012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023409c40012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:08:36] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023409c40012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:08:36] local.INFO: Packet analysis {"connection_id":161583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02340"} 
[2026-08-21 13:08:36] local.INFO: Extracted packet for processing {"connection_id":161583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02340"} 
[2026-08-21 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548239616001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297832000,"timestamp_ms":1787297832000,"timestamp_seconds":1787297832,"priority":1,"record_length":96,"hex_timestamp":"000001a023409c40"} 
[2026-08-21 13:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548239616001,"66":12580,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548239616001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548239616001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":161583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:08:36] local.INFO: GPS data processed {"connection_id":161583,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:08:36] local.INFO: Acknowledgment sent {"connection_id":161583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:08:58] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:08:58] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:08:58] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:09:03] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:09:03] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:09:03] local.INFO: IMEI packet received {"connection_id":160226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":160226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:09:04] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0233f15a0012ddaa600050e8ef0000e007f30..."} 
[2026-08-21 13:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0233f15a0012ddaa600050e8ef0000e007f30..."} 
[2026-08-21 13:09:04] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0233f15a0012ddaa600050e8ef0000e007f30..."} 
[2026-08-21 13:09:04] local.INFO: Packet analysis {"connection_id":160226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0233f"} 
[2026-08-21 13:09:04] local.INFO: Extracted packet for processing {"connection_id":160226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0233f"} 
[2026-08-21 13:09:04] local.INFO: GPS Element Parsed {"raw_longitude":769304064,"raw_latitude":84840176,"longitude_deg":76.9304064,"latitude_deg":8.4840176,"altitude":14,"angle":127,"satellites":48,"speed":0,"hex_longitude":"2ddaa600","hex_latitude":"050e8ef0","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548214016001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388222643641253888,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2691885918053208064,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787297732000,"timestamp_ms":1787297732000,"timestamp_seconds":1787297732,"priority":1,"record_length":96,"hex_timestamp":"000001a0233f15a0"} 
[2026-08-21 13:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:09: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-08-21 13: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 13:09:04] 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-08-21 13: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-08-21 13:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548214016001,"66":27843,"180":206,"80":34304,"24":0,"16":388222643641253888,"45":-2691885918053208064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548214016001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:09:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:09:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388222643641253888,"km_value":388222643641253.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2691885918053208064,"description":"Unknown IO ID 45"} 
[2026-08-21 13:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548214016001,"power":27843,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2691885918053208064}} 
[2026-08-21 13:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":160226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:09:04] local.INFO: GPS data processed {"connection_id":160226,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:09:04] local.INFO: Acknowledgment sent {"connection_id":160226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:09:07] local.INFO: TCP Data received {"connection_id":161583,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02340ee48012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02340ee48012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:09:07] local.INFO: Processing buffer {"connection_id":161583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02340ee48012d181e800721ae68004c00d12c..."} 
[2026-08-21 13:09:07] local.INFO: Packet analysis {"connection_id":161583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02340"} 
[2026-08-21 13:09:07] local.INFO: Extracted packet for processing {"connection_id":161583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02340"} 
[2026-08-21 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548244992001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297853000,"timestamp_ms":1787297853000,"timestamp_seconds":1787297853,"priority":1,"record_length":96,"hex_timestamp":"000001a02340ee48"} 
[2026-08-21 13:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-21 13:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161583,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548244992001,"66":12548,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548244992001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548244992001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":161583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:09:07] local.INFO: GPS data processed {"connection_id":161583,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:09:07] local.INFO: Acknowledgment sent {"connection_id":161583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:09:08] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:08] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:08] local.INFO: IMEI packet received {"connection_id":159324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":159324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:09:09] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:09] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:09] local.INFO: IMEI packet received {"connection_id":159324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":159324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:09:13] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:13] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:09:13] local.INFO: IMEI packet received {"connection_id":159324,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":159324,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:09:14] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:09:14] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:09:14] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 13:09:14] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 13:09: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-08-21 13:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:09:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:09:14] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 13:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 13:09:14] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 13:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 13:09:14] local.ERROR: GPS data processing failed {"connection_id":159324,"error":"No valid data to process"} 
[2026-08-21 13:09:14] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 13:09:30] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:09:30] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:09:30] local.INFO: IMEI packet received {"connection_id":159041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":159041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:09:35] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:09:35] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:09:35] local.INFO: IMEI packet received {"connection_id":159041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":159041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:09:36] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023414050012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023414050012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:09:36] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023414050012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:09:36] local.INFO: Packet analysis {"connection_id":159041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:09:36] local.INFO: Extracted packet for processing {"connection_id":159041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:09:36] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548250368001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297874000,"timestamp_ms":1787297874000,"timestamp_seconds":1787297874,"priority":1,"record_length":96,"hex_timestamp":"000001a023414050"} 
[2026-08-21 13:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2926051404,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,92,160,156,45,128,174,76,43,10,66,74,248,1,240,238,227,35,33,4,113,205,84,30,104,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:09:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476607133791289344,"timestamp_seconds":5476607133791289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548250368001,"66":12548,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548250368001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548250368001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:09:36] local.INFO: TCP Data received {"connection_id":160226,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a023417700012ddac280050e7648000900842f..."} 
[2026-08-21 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023417700012ddac280050e7648000900842f..."} 
[2026-08-21 13:09:36] local.INFO: Processing buffer {"connection_id":160226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023417700012ddac280050e7648000900842f..."} 
[2026-08-21 13:09:36] local.INFO: Packet analysis {"connection_id":160226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:09:36] local.INFO: Extracted packet for processing {"connection_id":160226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:09:36] local.INFO: GPS Element Parsed {"raw_longitude":769311360,"raw_latitude":84833864,"longitude_deg":76.931136,"latitude_deg":8.4833864,"altitude":9,"angle":132,"satellites":47,"speed":6,"hex_longitude":"2ddac280","hex_latitude":"050e7648","is_valid_coordinates":true} 
[2026-08-21 13:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548259328001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223133267525632,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2683441668753569792,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297888000,"timestamp_ms":1787297888000,"timestamp_seconds":1787297888,"priority":1,"record_length":96,"hex_timestamp":"000001a023417700"} 
[2026-08-21 13:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:09: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-08-21 13:09:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 13:09:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:09:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:09:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548259328001,"66":27974,"180":206,"80":34304,"24":6,"16":388223133267525632,"45":-2683441668753569792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548259328001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223133267525632,"km_value":388223133267525.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2683441668753569792,"description":"Unknown IO ID 45"} 
[2026-08-21 13:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548259328001,"power":27974,"unknown_180":206,"unknown_80":34304,"ignition":6,"odometer":null,"unknown_45":-2683441668753569792}} 
[2026-08-21 13:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":160226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:09:36] local.INFO: GPS data processed {"connection_id":160226,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:09:36] local.INFO: Acknowledgment sent {"connection_id":160226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":159041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:09:36] local.INFO: GPS data processed {"connection_id":159041,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:09:36] local.INFO: Acknowledgment sent {"connection_id":159041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:09:45] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 13:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 13:09:45] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 13:09:45] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 13:09:45] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 13:09: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-08-21 13:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:09:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:09:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:09:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 13:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 13:09:45] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 13:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 13:09:45] local.ERROR: GPS data processing failed {"connection_id":159324,"error":"No valid data to process"} 
[2026-08-21 13:09:45] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 13:09:58] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:09:58] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:09:58] local.INFO: IMEI packet received {"connection_id":159042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":159042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:10:03] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:10:03] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:10:03] local.INFO: IMEI packet received {"connection_id":159042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":159042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:10:05] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02341c908012ddacb80050e6d18000a00892f..."} 
[2026-08-21 13:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02341c908012ddacb80050e6d18000a00892f..."} 
[2026-08-21 13:10:05] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02341c908012ddacb80050e6d18000a00892f..."} 
[2026-08-21 13:10:05] local.INFO: Packet analysis {"connection_id":159042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:10:05] local.INFO: Extracted packet for processing {"connection_id":159042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":769313664,"raw_latitude":84831512,"longitude_deg":76.9313664,"latitude_deg":8.4831512,"altitude":10,"angle":137,"satellites":47,"speed":2,"hex_longitude":"2ddacb80","hex_latitude":"050e6d18","is_valid_coordinates":true} 
[2026-08-21 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548259328001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223296476282880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2683441668753569792,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787297909000,"timestamp_ms":1787297909000,"timestamp_seconds":1787297909,"priority":1,"record_length":96,"hex_timestamp":"000001a02341c908"} 
[2026-08-21 13:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 13:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548259328001,"66":27865,"180":206,"80":34304,"24":2,"16":388223296476282880,"45":-2683441668753569792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548259328001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:10:05] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:10:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223296476282880,"km_value":388223296476282.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2683441668753569792,"description":"Unknown IO ID 45"} 
[2026-08-21 13:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548259328001,"power":27865,"unknown_180":206,"unknown_80":34304,"ignition":2,"odometer":null,"unknown_45":-2683441668753569792}} 
[2026-08-21 13:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":159042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:10:05] local.INFO: GPS data processed {"connection_id":159042,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:10:05] local.INFO: Acknowledgment sent {"connection_id":159042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:10:07] local.INFO: TCP Data received {"connection_id":159041,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023419258012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023419258012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:10:07] local.INFO: Processing buffer {"connection_id":159041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023419258012d181e800721ae68004c00d12b..."} 
[2026-08-21 13:10:07] local.INFO: Packet analysis {"connection_id":159041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:10:07] local.INFO: Extracted packet for processing {"connection_id":159041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02341"} 
[2026-08-21 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647848,"longitude_deg":75.6555392,"latitude_deg":11.9647848,"altitude":76,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721ae68","is_valid_coordinates":true} 
[2026-08-21 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548255744001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14175990532014080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329794560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787297895000,"timestamp_ms":1787297895000,"timestamp_seconds":1787297895,"priority":1,"record_length":96,"hex_timestamp":"000001a023419258"} 
[2026-08-21 13:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":92,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2926051404,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951022,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,92,160,238,45,128,174,76,44,10,66,156,43,74,1,240,47,227,35,33,4,113,205,166,30,104,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:10:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476607129496322048,"timestamp_seconds":5476607129496322.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548255744001,"66":12558,"105":206,"83":41984,"24":0,"16":14175990532014080,"45":1737967274329794560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548255744001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14175990532014080,"km_value":14175990532014.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329794560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548255744001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329794560}} 
[2026-08-21 13:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":159041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:10:07] local.INFO: GPS data processed {"connection_id":159041,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:10:07] local.INFO: Acknowledgment sent {"connection_id":159041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:10:16] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234305700100000000000000000000000000..."} 
[2026-08-21 13:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234305700100000000000000000000000000..."} 
[2026-08-21 13:10:16] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234305700100000000000000000000000000..."} 
[2026-08-21 13:10:16] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:10:16] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:10: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-08-21 13:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787297990000,"timestamp_ms":1787297990000,"timestamp_seconds":1787297990,"priority":1,"record_length":96,"hex_timestamp":"000001a023430570"} 
[2026-08-21 13:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 13:10:16] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,109,87,24,241,157,16,59,183,10,66,27,1,240,85,4,113,205,239,2,39,176,160],"length":434,"final_offset":564,"validated_count":23,"validation_warnings":[]} 
[2026-08-21 13:10:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:10:16] local.INFO: GPS data processed {"connection_id":159324,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:10:16] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:10:35] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:35] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:35] local.INFO: IMEI packet received {"connection_id":159325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":159325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:10:35] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:35] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:35] local.INFO: IMEI packet received {"connection_id":159325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":159325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:10:37] local.INFO: TCP Data received {"connection_id":159042,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a023421b10012ddacdc0050e6a58000b008931..."} 
[2026-08-21 13:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023421b10012ddacdc0050e6a58000b008931..."} 
[2026-08-21 13:10:37] local.INFO: Processing buffer {"connection_id":159042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023421b10012ddacdc0050e6a58000b008931..."} 
[2026-08-21 13:10:37] local.INFO: Packet analysis {"connection_id":159042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:10:37] local.INFO: Extracted packet for processing {"connection_id":159042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:10:37] local.INFO: GPS Element Parsed {"raw_longitude":769314240,"raw_latitude":84830808,"longitude_deg":76.931424,"latitude_deg":8.4830808,"altitude":11,"angle":137,"satellites":49,"speed":0,"hex_longitude":"2ddacdc0","hex_latitude":"050e6a58","is_valid_coordinates":true} 
[2026-08-21 13:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548264704001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223343720923136,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2680908393963776000,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787297930000,"timestamp_ms":1787297930000,"timestamp_seconds":1787297930,"priority":1,"record_length":96,"hex_timestamp":"000001a023421b10"} 
[2026-08-21 13:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:10: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-08-21 13:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548264704001,"66":27974,"180":206,"80":34304,"24":0,"16":388223343720923136,"45":-2680908393963776000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548264704001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:10:37] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:10:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223343720923136,"km_value":388223343720923.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2680908393963776000,"description":"Unknown IO ID 45"} 
[2026-08-21 13:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548264704001,"power":27974,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2680908393963776000}} 
[2026-08-21 13:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":159042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:10:37] local.INFO: GPS data processed {"connection_id":159042,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:10:37] local.INFO: Acknowledgment sent {"connection_id":159042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:10:40] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:40] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:10:40] local.INFO: IMEI packet received {"connection_id":159325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":159325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:10:41] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02342cad8012d181e000721a628004f00cc2d..."} 
[2026-08-21 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02342cad8012d181e000721a628004f00cc2d..."} 
[2026-08-21 13:10:41] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02342cad8012d181e000721a628004f00cc2d..."} 
[2026-08-21 13:10:41] local.INFO: Packet analysis {"connection_id":159325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:10:41] local.INFO: Extracted packet for processing {"connection_id":159325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645736,"longitude_deg":75.6555264,"latitude_deg":11.9645736,"altitude":79,"angle":204,"satellites":45,"speed":5,"hex_longitude":"2d181e00","hex_latitude":"0721a628","is_valid_coordinates":true} 
[2026-08-21 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548281344001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14176102201163776,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840941568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787297975000,"timestamp_ms":1787297975000,"timestamp_seconds":1787297975,"priority":1,"record_length":96,"hex_timestamp":"000001a02342cad8"} 
[2026-08-21 13:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 13:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548281344001,"66":14113,"107":206,"83":41984,"24":5,"16":14176102201163776,"45":1737826536840941568},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 13:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548281344001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14176102201163776,"km_value":14176102201163.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840941568,"description":"Unknown IO ID 45"} 
[2026-08-21 13:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548281344001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737826536840941568}} 
[2026-08-21 13:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":159325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:10:41] local.INFO: GPS data processed {"connection_id":159325,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:10:41] local.INFO: Acknowledgment sent {"connection_id":159325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:10:49] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234357780100000000000000000000000000..."} 
[2026-08-21 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234357780100000000000000000000000000..."} 
[2026-08-21 13:10:49] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234357780100000000000000000000000000..."} 
[2026-08-21 13:10:49] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:10:49] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:10: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-08-21 13:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:10:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787298011000,"timestamp_ms":1787298011000,"timestamp_seconds":1787298011,"priority":1,"record_length":96,"hex_timestamp":"000001a023435778"} 
[2026-08-21 13:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 13:10:49] local.INFO: IO Element Parsed {"io_data_count":23,"io_data_keys":[0,109,87,24,241,157,16,59,9,10,66,183,27,1,240,85,4,113,205,239,2,39,176],"length":434,"final_offset":564,"validated_count":23,"validation_warnings":[]} 
[2026-08-21 13:10:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:10:49] local.INFO: GPS data processed {"connection_id":159324,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:10:49] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:10:57] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:10:57] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:10:57] local.INFO: IMEI packet received {"connection_id":159043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":159043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:11:02] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:11:03] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:11:03] local.INFO: IMEI packet received {"connection_id":159043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":159043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:11:05] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a023426d18012ddad000050e6838000a008931..."} 
[2026-08-21 13:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023426d18012ddad000050e6838000a008931..."} 
[2026-08-21 13:11:05] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023426d18012ddad000050e6838000a008931..."} 
[2026-08-21 13:11:05] local.INFO: Packet analysis {"connection_id":159043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:11:05] local.INFO: Extracted packet for processing {"connection_id":159043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":769314816,"raw_latitude":84830264,"longitude_deg":76.9314816,"latitude_deg":8.4830264,"altitude":10,"angle":137,"satellites":49,"speed":0,"hex_longitude":"2ddad000","hex_latitude":"050e6838","is_valid_coordinates":true} 
[2026-08-21 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548270080001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223386670596096,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2680275075266357248,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787297951000,"timestamp_ms":1787297951000,"timestamp_seconds":1787297951,"priority":1,"record_length":96,"hex_timestamp":"000001a023426d18"} 
[2026-08-21 13:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 13:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548270080001,"66":28028,"180":206,"80":34304,"24":0,"16":388223386670596096,"45":-2680275075266357248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548270080001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:11:05] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:11:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223386670596096,"km_value":388223386670596.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2680275075266357248,"description":"Unknown IO ID 45"} 
[2026-08-21 13:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548270080001,"power":28028,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2680275075266357248}} 
[2026-08-21 13:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":159043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:11:05] local.INFO: GPS data processed {"connection_id":159043,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:11:05] local.INFO: Acknowledgment sent {"connection_id":159043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:11:12] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02342cec0012d181dc00721a5c8004f00d82d..."} 
[2026-08-21 13:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02342cec0012d181dc00721a5c8004f00d82d..."} 
[2026-08-21 13:11:12] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02342cec0012d181dc00721a5c8004f00d82d..."} 
[2026-08-21 13:11:12] local.INFO: Packet analysis {"connection_id":159325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:11:12] local.INFO: Extracted packet for processing {"connection_id":159325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119645640,"longitude_deg":75.65552,"latitude_deg":11.964564,"altitude":79,"angle":216,"satellites":45,"speed":2,"hex_longitude":"2d181dc0","hex_latitude":"0721a5c8","is_valid_coordinates":true} 
[2026-08-21 13:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548281600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14176106496131072,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536840898560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787297976000,"timestamp_ms":1787297976000,"timestamp_seconds":1787297976,"priority":1,"record_length":96,"hex_timestamp":"000001a02342cec0"} 
[2026-08-21 13:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 13:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548281600001,"66":14113,"107":206,"83":41984,"24":2,"16":14176106496131072,"45":1737826536840898560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 13:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548281600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:11:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 13:11:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14176106496131072,"km_value":14176106496131.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536840898560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548281600001,"power":14113,"unknown_107":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737826536840898560}} 
[2026-08-21 13:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":159325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:11:12] local.INFO: GPS data processed {"connection_id":159325,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:11:12] local.INFO: Acknowledgment sent {"connection_id":159325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:11:21] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02343a9800100000000000000000000000000..."} 
[2026-08-21 13:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02343a9800100000000000000000000000000..."} 
[2026-08-21 13:11:21] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02343a9800100000000000000000000000000..."} 
[2026-08-21 13:11:21] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:11:21] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:11:21] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787298032000,"timestamp_ms":1787298032000,"timestamp_seconds":1787298032,"priority":1,"record_length":96,"hex_timestamp":"000001a02343a980"} 
[2026-08-21 13:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:11:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 13:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:11:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:11:21] local.INFO: GPS data processed {"connection_id":159324,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:11:21] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:11:30] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:11:30] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:11:30] local.INFO: IMEI packet received {"connection_id":161584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":161584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:11:35] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:11:35] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:11:35] local.INFO: IMEI packet received {"connection_id":161584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":161584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:11:36] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234320c8012d180c0007218e48005000de2c..."} 
[2026-08-21 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234320c8012d180c0007218e48005000de2c..."} 
[2026-08-21 13:11:36] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234320c8012d180c0007218e48005000de2c..."} 
[2026-08-21 13:11:36] local.INFO: Packet analysis {"connection_id":161584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:11:36] local.INFO: Extracted packet for processing {"connection_id":161584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756550656,"raw_latitude":119639624,"longitude_deg":75.6550656,"latitude_deg":11.9639624,"altitude":80,"angle":222,"satellites":44,"speed":33,"hex_longitude":"2d180c00","hex_latitude":"07218e48","is_valid_coordinates":true} 
[2026-08-21 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548281856001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14176471568351232,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096696320,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787297997000,"timestamp_ms":1787297997000,"timestamp_seconds":1787297997,"priority":1,"record_length":96,"hex_timestamp":"000001a0234320c8"} 
[2026-08-21 13:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 13:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548281856001,"66":14135,"107":206,"83":41984,"24":33,"16":14176471568351232,"45":1737756168096696320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548281856001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14176471568351232,"km_value":14176471568351.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096696320,"description":"Unknown IO ID 45"} 
[2026-08-21 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548281856001,"power":14135,"unknown_107":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1737756168096696320}} 
[2026-08-21 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":161584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:11:36] local.INFO: GPS data processed {"connection_id":161584,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:11:36] local.INFO: Acknowledgment sent {"connection_id":161584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:11:38] local.INFO: TCP Data received {"connection_id":159043,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02342bf20012ddad1c0050e6670000a008331..."} 
[2026-08-21 13:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02342bf20012ddad1c0050e6670000a008331..."} 
[2026-08-21 13:11:38] local.INFO: Processing buffer {"connection_id":159043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02342bf20012ddad1c0050e6670000a008331..."} 
[2026-08-21 13:11:38] local.INFO: Packet analysis {"connection_id":159043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:11:38] local.INFO: Extracted packet for processing {"connection_id":159043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02342"} 
[2026-08-21 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":769315264,"raw_latitude":84829808,"longitude_deg":76.9315264,"latitude_deg":8.4829808,"altitude":10,"angle":131,"satellites":49,"speed":0,"hex_longitude":"2ddad1c0","hex_latitude":"050e6670","is_valid_coordinates":true} 
[2026-08-21 13:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548275456001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223421030334464,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2679641756568897536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787297972000,"timestamp_ms":1787297972000,"timestamp_seconds":1787297972,"priority":1,"record_length":96,"hex_timestamp":"000001a02342bf20"} 
[2026-08-21 13:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 13:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548275456001,"66":27832,"180":206,"80":34304,"24":0,"16":388223421030334464,"45":-2679641756568897536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548275456001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:11:38] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:11:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223421030334464,"km_value":388223421030334.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2679641756568897536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548275456001,"power":27832,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2679641756568897536}} 
[2026-08-21 13:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:11:38] local.INFO: GPS data processed {"connection_id":159043,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:11:38] local.INFO: Acknowledgment sent {"connection_id":159043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:11:52] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02343fb880100000000000000000000000000..."} 
[2026-08-21 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02343fb880100000000000000000000000000..."} 
[2026-08-21 13:11:52] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02343fb880100000000000000000000000000..."} 
[2026-08-21 13:11:52] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:11:52] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:11: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-08-21 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:11:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787298053000,"timestamp_ms":1787298053000,"timestamp_seconds":1787298053,"priority":1,"record_length":96,"hex_timestamp":"000001a02343fb88"} 
[2026-08-21 13:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-21 13:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1161,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:11:52] local.INFO: GPS data processed {"connection_id":159324,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:11:52] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:12:03] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:03] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:03] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:12:07] local.INFO: TCP Data received {"connection_id":161584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234347d8012d17f0c0072175b0004f00d92d..."} 
[2026-08-21 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234347d8012d17f0c0072175b0004f00d92d..."} 
[2026-08-21 13:12:07] local.INFO: Processing buffer {"connection_id":161584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234347d8012d17f0c0072175b0004f00d92d..."} 
[2026-08-21 13:12:07] local.INFO: Packet analysis {"connection_id":161584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:12:07] local.INFO: Extracted packet for processing {"connection_id":161584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756543680,"raw_latitude":119633328,"longitude_deg":75.654368,"latitude_deg":11.9633328,"altitude":79,"angle":217,"satellites":45,"speed":36,"hex_longitude":"2d17f0c0","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-08-21 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548287232001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14176922539917312,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732759987258542080,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298007000,"timestamp_ms":1787298007000,"timestamp_seconds":1787298007,"priority":1,"record_length":96,"hex_timestamp":"000001a0234347d8"} 
[2026-08-21 13:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161584,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548287232001,"66":13906,"107":206,"83":41984,"24":36,"16":14176922539917312,"45":1732759987258542080},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548287232001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:12:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 13:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14176922539917312,"km_value":14176922539917.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732759987258542080,"description":"Unknown IO ID 45"} 
[2026-08-21 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548287232001,"power":13906,"unknown_107":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1732759987258542080}} 
[2026-08-21 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":161584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:12:07] local.INFO: GPS data processed {"connection_id":161584,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:12:07] local.INFO: Acknowledgment sent {"connection_id":161584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:12:08] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:08] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:08] local.INFO: IMEI packet received {"connection_id":160227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":160227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:12:09] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a023431128012ddad380050e64b00009008331..."} 
[2026-08-21 13:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023431128012ddad380050e64b00009008331..."} 
[2026-08-21 13:12:09] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023431128012ddad380050e64b00009008331..."} 
[2026-08-21 13:12:09] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:12:09] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:12:09] local.INFO: GPS Element Parsed {"raw_longitude":769315712,"raw_latitude":84829360,"longitude_deg":76.9315712,"latitude_deg":8.482936,"altitude":9,"angle":131,"satellites":49,"speed":0,"hex_longitude":"2ddad380","hex_latitude":"050e64b0","is_valid_coordinates":true} 
[2026-08-21 13:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548280832001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223455390072832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2679149175359770624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787297993000,"timestamp_ms":1787297993000,"timestamp_seconds":1787297993,"priority":1,"record_length":96,"hex_timestamp":"000001a023431128"} 
[2026-08-21 13:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 13:12:09] 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-08-21 13:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548280832001,"66":27919,"180":206,"80":34304,"24":0,"16":388223455390072832,"45":-2679149175359770624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548280832001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:12:09] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:12:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223455390072832,"km_value":388223455390072.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2679149175359770624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548280832001,"power":27919,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2679149175359770624}} 
[2026-08-21 13:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:12:09] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:12:09] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:12:24] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023444d900100000000000000000000000000..."} 
[2026-08-21 13:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023444d900100000000000000000000000000..."} 
[2026-08-21 13:12:24] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023444d900100000000000000000000000000..."} 
[2026-08-21 13:12:24] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12:24] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787298074000,"timestamp_ms":1787298074000,"timestamp_seconds":1787298074,"priority":1,"record_length":96,"hex_timestamp":"000001a023444d90"} 
[2026-08-21 13:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:12:24] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 13:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:12:24] local.INFO: GPS data processed {"connection_id":159324,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:12:24] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:12:29] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:29] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:29] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:12:30] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:30] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:30] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:12:33] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:33] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:33] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:12:35] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:35] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:12:35] local.INFO: IMEI packet received {"connection_id":159044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":159044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:12:36] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02344a768012d17f04007217920004b00292c..."} 
[2026-08-21 13:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02344a768012d17f04007217920004b00292c..."} 
[2026-08-21 13:12:36] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02344a768012d17f04007217920004b00292c..."} 
[2026-08-21 13:12:36] local.INFO: Packet analysis {"connection_id":159044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12:36] local.INFO: Extracted packet for processing {"connection_id":159044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756543552,"raw_latitude":119634208,"longitude_deg":75.6543552,"latitude_deg":11.9634208,"altitude":75,"angle":41,"satellites":44,"speed":28,"hex_longitude":"2d17f040","hex_latitude":"07217920","is_valid_coordinates":true} 
[2026-08-21 13:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548309760001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14179353491406848,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1719460294605555712,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298097000,"timestamp_ms":1787298097000,"timestamp_seconds":1787298097,"priority":1,"record_length":96,"hex_timestamp":"000001a02344a768"} 
[2026-08-21 13:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 13:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548309760001,"66":13928,"107":206,"83":41984,"24":28,"16":14179353491406848,"45":1719460294605555712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 13:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548309760001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:12:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 13:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14179353491406848,"km_value":14179353491406.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1719460294605555712,"description":"Unknown IO ID 45"} 
[2026-08-21 13:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548309760001,"power":13928,"unknown_107":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1719460294605555712}} 
[2026-08-21 13:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":159044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:12:36] local.INFO: GPS data processed {"connection_id":159044,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:12:36] local.INFO: Acknowledgment sent {"connection_id":159044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:12:40] local.INFO: TCP Data received {"connection_id":160227,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a023436330012ddad440050e63f80009008331..."} 
[2026-08-21 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023436330012ddad440050e63f80009008331..."} 
[2026-08-21 13:12:40] local.INFO: Processing buffer {"connection_id":160227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023436330012ddad440050e63f80009008331..."} 
[2026-08-21 13:12:40] local.INFO: Packet analysis {"connection_id":160227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:12:40] local.INFO: Extracted packet for processing {"connection_id":160227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:12:40] local.INFO: GPS Element Parsed {"raw_longitude":769315904,"raw_latitude":84829176,"longitude_deg":76.9315904,"latitude_deg":8.4829176,"altitude":9,"angle":131,"satellites":49,"speed":0,"hex_longitude":"2ddad440","hex_latitude":"050e63f8","is_valid_coordinates":true} 
[2026-08-21 13:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548286208001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223463980007424,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2678656594150641664,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787298014000,"timestamp_ms":1787298014000,"timestamp_seconds":1787298014,"priority":1,"record_length":96,"hex_timestamp":"000001a023436330"} 
[2026-08-21 13:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 13:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548286208001,"66":27887,"180":206,"80":34304,"24":0,"16":388223463980007424,"45":-2678656594150641664},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548286208001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223463980007424,"km_value":388223463980007.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2678656594150641664,"description":"Unknown IO ID 45"} 
[2026-08-21 13:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548286208001,"power":27887,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2678656594150641664}} 
[2026-08-21 13:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":160227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:12:40] local.INFO: GPS data processed {"connection_id":160227,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:12:40] local.INFO: Acknowledgment sent {"connection_id":160227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:12:40] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02344a768012d17f04007217920004b00292c..."} 
[2026-08-21 13:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02344a768012d17f04007217920004b00292c..."} 
[2026-08-21 13:12:40] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02344a768012d17f04007217920004b00292c..."} 
[2026-08-21 13:12:40] local.INFO: Packet analysis {"connection_id":159044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12:40] local.INFO: Extracted packet for processing {"connection_id":159044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12:40] local.INFO: GPS Element Parsed {"raw_longitude":756543552,"raw_latitude":119634208,"longitude_deg":75.6543552,"latitude_deg":11.9634208,"altitude":75,"angle":41,"satellites":44,"speed":28,"hex_longitude":"2d17f040","hex_latitude":"07217920","is_valid_coordinates":true} 
[2026-08-21 13:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548312832001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14179353491406848,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653434880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787298097000,"timestamp_ms":1787298097000,"timestamp_seconds":1787298097,"priority":1,"record_length":96,"hex_timestamp":"000001a02344a768"} 
[2026-08-21 13:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 13:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548312832001,"66":13928,"107":206,"83":41984,"24":28,"16":14179353491406848,"45":1724949056653434880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 13:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548312832001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14179353491406848,"km_value":14179353491406.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653434880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548312832001,"power":13928,"unknown_107":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1724949056653434880}} 
[2026-08-21 13:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":159044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:12:41] local.INFO: GPS data processed {"connection_id":159044,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:12:41] local.INFO: Acknowledgment sent {"connection_id":159044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:12:58] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:58] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:58] local.INFO: IMEI packet received {"connection_id":161585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":161585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:12:58] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:58] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:12:58] local.INFO: IMEI packet received {"connection_id":161585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":161585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:12:58] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023449f980100000000000000000000000000..."} 
[2026-08-21 13:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023449f980100000000000000000000000000..."} 
[2026-08-21 13:12:58] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023449f980100000000000000000000000000..."} 
[2026-08-21 13:12:58] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12:58] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:12: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-08-21 13:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787298095000,"timestamp_ms":1787298095000,"timestamp_seconds":1787298095,"priority":1,"record_length":96,"hex_timestamp":"000001a023449f98"} 
[2026-08-21 13:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:12:58] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 13:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303140934045001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:58] local.WARNING: Large IO value detected {"io_id":109,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231880398,"corrected_to":0} 
[2026-08-21 13:12:58] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684420096,"note":"Value kept but may cause issues"} 
[2026-08-21 13:12:58] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,110,87,24,241,157,16,59,160,251,10,66,109,169,1,240,201,227,35,4,113,205,9,239,2,46,176],"length":486,"final_offset":616,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1231880398,"validated":0}]} 
[2026-08-21 13:12:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:12:58] local.INFO: GPS data processed {"connection_id":159324,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:12:58] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:13:03] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:03] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:03] local.INFO: IMEI packet received {"connection_id":161585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":161585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:13:10] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02343b538012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02343b538012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:13:10] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02343b538012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:13:10] local.INFO: Packet analysis {"connection_id":161585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:13:10] local.INFO: Extracted packet for processing {"connection_id":161585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02343"} 
[2026-08-21 13:13:10] local.INFO: GPS Element Parsed {"raw_longitude":769316032,"raw_latitude":84828888,"longitude_deg":76.9316032,"latitude_deg":8.4828888,"altitude":11,"angle":131,"satellites":49,"speed":0,"hex_longitude":"2ddad4c0","hex_latitude":"050e62d8","is_valid_coordinates":true} 
[2026-08-21 13:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548291584001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223481159876608,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2678445487918155776,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787298035000,"timestamp_ms":1787298035000,"timestamp_seconds":1787298035,"priority":1,"record_length":96,"hex_timestamp":"000001a02343b538"} 
[2026-08-21 13:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 13:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548291584001,"66":27800,"180":206,"80":34304,"24":0,"16":388223481159876608,"45":-2678445487918155776},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548291584001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:13:10] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:13:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223481159876608,"km_value":388223481159876.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2678445487918155776,"description":"Unknown IO ID 45"} 
[2026-08-21 13:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548291584001,"power":27800,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2678445487918155776}} 
[2026-08-21 13:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":161585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:13:10] local.INFO: GPS data processed {"connection_id":161585,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:13:10] local.INFO: Acknowledgment sent {"connection_id":161585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:13:12] local.INFO: TCP Data received {"connection_id":159044,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02344de18012d180b00072190a0004c002c2c..."} 
[2026-08-21 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02344de18012d180b00072190a0004c002c2c..."} 
[2026-08-21 13:13:12] local.INFO: Processing buffer {"connection_id":159044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02344de18012d180b00072190a0004c002c2c..."} 
[2026-08-21 13:13:12] local.INFO: Packet analysis {"connection_id":159044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13:12] local.INFO: Extracted packet for processing {"connection_id":159044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756550400,"raw_latitude":119640224,"longitude_deg":75.65504,"latitude_deg":11.9640224,"altitude":76,"angle":44,"satellites":44,"speed":19,"hex_longitude":"2d180b00","hex_latitude":"072190a0","is_valid_coordinates":true} 
[2026-08-21 13:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548312832001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14179791578071040,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724949056653434880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787298111000,"timestamp_ms":1787298111000,"timestamp_seconds":1787298111,"priority":1,"record_length":96,"hex_timestamp":"000001a02344de18"} 
[2026-08-21 13:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 13:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548312832001,"66":14102,"105":206,"83":41984,"24":19,"16":14179791578071040,"45":1724949056653434880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548312832001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:13:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14179791578071040,"km_value":14179791578071.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724949056653434880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548312832001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1724949056653434880}} 
[2026-08-21 13:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":159044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:13:12] local.INFO: GPS data processed {"connection_id":159044,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:13:12] local.INFO: Acknowledgment sent {"connection_id":159044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:13:30] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:13:30] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:13:30] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:13:35] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02344f1a00100000000000000000000000000..."} 
[2026-08-21 13:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02344f1a00100000000000000000000000000..."} 
[2026-08-21 13:13:35] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02344f1a00100000000000000000000000000..."} 
[2026-08-21 13:13:35] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13:35] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13: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-08-21 13:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787298116000,"timestamp_ms":1787298116000,"timestamp_seconds":1787298116,"priority":1,"record_length":96,"hex_timestamp":"000001a02344f1a0"} 
[2026-08-21 13:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:13:35] 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-08-21 13:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 13:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:13:35] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:13:35] local.INFO: GPS data processed {"connection_id":159324,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:13:35] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:13:35] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:13:35] local.INFO: IMEI packet received {"connection_id":160228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":160228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:13:36] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02344edb8012d180f40072195c8004c001e2d..."} 
[2026-08-21 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02344edb8012d180f40072195c8004c001e2d..."} 
[2026-08-21 13:13:36] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02344edb8012d180f40072195c8004c001e2d..."} 
[2026-08-21 13:13:36] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13:36] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756551488,"raw_latitude":119641544,"longitude_deg":75.6551488,"latitude_deg":11.9641544,"altitude":76,"angle":30,"satellites":45,"speed":15,"hex_longitude":"2d180f40","hex_latitude":"072195c8","is_valid_coordinates":true} 
[2026-08-21 13:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548316416001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14179873182449664,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732478512281985024,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298115000,"timestamp_ms":1787298115000,"timestamp_seconds":1787298115,"priority":1,"record_length":96,"hex_timestamp":"000001a02344edb8"} 
[2026-08-21 13:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:13:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 13:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548316416001,"66":14102,"105":206,"83":41984,"24":15,"16":14179873182449664,"45":1732478512281985024},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548316416001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14179873182449664,"km_value":14179873182449.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732478512281985024,"description":"Unknown IO ID 45"} 
[2026-08-21 13:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548316416001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1732478512281985024}} 
[2026-08-21 13:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:13:36] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:13:36] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:13:41] local.INFO: TCP Data received {"connection_id":161585,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a023440740012ddad4c0050e62d8000b00832e..."} 
[2026-08-21 13:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023440740012ddad4c0050e62d8000b00832e..."} 
[2026-08-21 13:13:41] local.INFO: Processing buffer {"connection_id":161585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023440740012ddad4c0050e62d8000b00832e..."} 
[2026-08-21 13:13:41] local.INFO: Packet analysis {"connection_id":161585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13:41] local.INFO: Extracted packet for processing {"connection_id":161585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:13:41] local.INFO: GPS Element Parsed {"raw_longitude":769316032,"raw_latitude":84828888,"longitude_deg":76.9316032,"latitude_deg":8.4828888,"altitude":11,"angle":131,"satellites":46,"speed":0,"hex_longitude":"2ddad4c0","hex_latitude":"050e62d8","is_valid_coordinates":true} 
[2026-08-21 13:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548296960001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223481159876608,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2678304750429874176,"note":"Value kept but may cause issues"} 
[2026-08-21 13:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787298056000,"timestamp_ms":1787298056000,"timestamp_seconds":1787298056,"priority":1,"record_length":96,"hex_timestamp":"000001a023440740"} 
[2026-08-21 13:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 13:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548296960001,"66":27767,"180":206,"80":34304,"24":0,"16":388223481159876608,"45":-2678304750429874176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548296960001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:13:41] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:13:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223481159876608,"km_value":388223481159876.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2678304750429874176,"description":"Unknown IO ID 45"} 
[2026-08-21 13:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548296960001,"power":27767,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2678304750429874176}} 
[2026-08-21 13:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":161585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:13:41] local.INFO: GPS data processed {"connection_id":161585,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:13:41] local.INFO: Acknowledgment sent {"connection_id":161585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:13:53] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:13:53] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:13:53] local.INFO: IMEI packet received {"connection_id":160229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":160229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:13:56] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:13:56] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:13:56] local.INFO: IMEI packet received {"connection_id":160229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":160229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:13:57] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:57] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:57] local.INFO: IMEI packet received {"connection_id":159326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":159326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:13:57] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:57] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:13:57] local.INFO: IMEI packet received {"connection_id":159326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":159326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:14:03] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:14:03] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:14:03] local.INFO: IMEI packet received {"connection_id":159326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":159326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:14:04] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a023445948012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023445948012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:14:04] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023445948012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:14:04] local.INFO: Packet analysis {"connection_id":159326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:14:04] local.INFO: Extracted packet for processing {"connection_id":159326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:14:04] local.INFO: GPS Element Parsed {"raw_longitude":769316032,"raw_latitude":84828888,"longitude_deg":76.9316032,"latitude_deg":8.4828888,"altitude":11,"angle":131,"satellites":49,"speed":0,"hex_longitude":"2ddad4c0","hex_latitude":"050e62d8","is_valid_coordinates":true} 
[2026-08-21 13:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548302336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223481159876608,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2678304750429874176,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787298077000,"timestamp_ms":1787298077000,"timestamp_seconds":1787298077,"priority":1,"record_length":96,"hex_timestamp":"000001a023445948"} 
[2026-08-21 13:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 13:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548302336001,"66":28006,"180":206,"80":34304,"24":0,"16":388223481159876608,"45":-2678304750429874176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548302336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:14:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:14:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223481159876608,"km_value":388223481159876.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2678304750429874176,"description":"Unknown IO ID 45"} 
[2026-08-21 13:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548302336001,"power":28006,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2678304750429874176}} 
[2026-08-21 13:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":159326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:14:04] local.INFO: GPS data processed {"connection_id":159326,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:14:04] local.INFO: Acknowledgment sent {"connection_id":159326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:14:07] local.INFO: TCP Data received {"connection_id":160228,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023453bd8012d1823000721b3c0004f001e2d..."} 
[2026-08-21 13:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023453bd8012d1823000721b3c0004f001e2d..."} 
[2026-08-21 13:14:07] local.INFO: Processing buffer {"connection_id":160228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023453bd8012d1823000721b3c0004f001e2d..."} 
[2026-08-21 13:14:07] local.INFO: Packet analysis {"connection_id":160228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:07] local.INFO: Extracted packet for processing {"connection_id":160228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649216,"longitude_deg":75.6556544,"latitude_deg":11.9649216,"altitude":79,"angle":30,"satellites":45,"speed":15,"hex_longitude":"2d182300","hex_latitude":"0721b3c0","is_valid_coordinates":true} 
[2026-08-21 13:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548317440001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180319859048448,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733674780933343232,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298135000,"timestamp_ms":1787298135000,"timestamp_seconds":1787298135,"priority":1,"record_length":96,"hex_timestamp":"000001a023453bd8"} 
[2026-08-21 13:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 13:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548317440001,"66":13352,"105":206,"83":41984,"24":15,"16":14180319859048448,"45":1733674780933343232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548317440001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180319859048448,"km_value":14180319859048.447,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733674780933343232,"description":"Unknown IO ID 45"} 
[2026-08-21 13:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548317440001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1733674780933343232}} 
[2026-08-21 13:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":160228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:14:07] local.INFO: GPS data processed {"connection_id":160228,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:14:07] local.INFO: Acknowledgment sent {"connection_id":160228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:14:30] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:14:30] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:14:30] local.INFO: IMEI packet received {"connection_id":159045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":159045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:14:34] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a02344ab50012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02344ab50012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:14:34] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02344ab50012ddad4c0050e62d8000b008331..."} 
[2026-08-21 13:14:34] local.INFO: Packet analysis {"connection_id":159326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:14:34] local.INFO: Extracted packet for processing {"connection_id":159326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":769316032,"raw_latitude":84828888,"longitude_deg":76.9316032,"latitude_deg":8.4828888,"altitude":11,"angle":131,"satellites":49,"speed":0,"hex_longitude":"2ddad4c0","hex_latitude":"050e62d8","is_valid_coordinates":true} 
[2026-08-21 13:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548307712001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223481159876608,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2678304750429874176,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787298098000,"timestamp_ms":1787298098000,"timestamp_seconds":1787298098,"priority":1,"record_length":96,"hex_timestamp":"000001a02344ab50"} 
[2026-08-21 13:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 13:14:34] 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-08-21 13:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548307712001,"66":27919,"180":206,"80":34304,"24":0,"16":388223481159876608,"45":-2678304750429874176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548307712001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:14:34] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223481159876608,"km_value":388223481159876.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2678304750429874176,"description":"Unknown IO ID 45"} 
[2026-08-21 13:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548307712001,"power":27919,"unknown_180":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2678304750429874176}} 
[2026-08-21 13:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":159326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:14:34] local.INFO: GPS data processed {"connection_id":159326,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:14:34] local.INFO: Acknowledgment sent {"connection_id":159326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:14:35] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:14:35] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:14:35] local.INFO: IMEI packet received {"connection_id":159045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":159045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:14:36] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023453fc0012d1823800721b500004f00122d..."} 
[2026-08-21 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023453fc0012d1823800721b500004f00122d..."} 
[2026-08-21 13:14:36] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023453fc0012d1823800721b500004f00122d..."} 
[2026-08-21 13:14:36] local.INFO: Packet analysis {"connection_id":159045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:36] local.INFO: Extracted packet for processing {"connection_id":159045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649536,"longitude_deg":75.6556672,"latitude_deg":11.9649536,"altitude":79,"angle":18,"satellites":45,"speed":13,"hex_longitude":"2d182380","hex_latitude":"0721b500","is_valid_coordinates":true} 
[2026-08-21 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548322560001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180337038917632,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725342720,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298136000,"timestamp_ms":1787298136000,"timestamp_seconds":1787298136,"priority":1,"record_length":96,"hex_timestamp":"000001a023453fc0"} 
[2026-08-21 13:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548322560001,"66":13352,"105":206,"83":41984,"24":13,"16":14180337038917632,"45":1739233911725342720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548322560001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180337038917632,"km_value":14180337038917.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725342720,"description":"Unknown IO ID 45"} 
[2026-08-21 13:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548322560001,"power":13352,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1739233911725342720}} 
[2026-08-21 13:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":159045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:14:37] local.INFO: GPS data processed {"connection_id":159045,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:14:37] local.INFO: Acknowledgment sent {"connection_id":159045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:14:38] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234543a80100000000000000000000000000..."} 
[2026-08-21 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234543a80100000000000000000000000000..."} 
[2026-08-21 13:14:38] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234543a80100000000000000000000000000..."} 
[2026-08-21 13:14:38] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:38] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787298137000,"timestamp_ms":1787298137000,"timestamp_seconds":1787298137,"priority":1,"record_length":96,"hex_timestamp":"000001a0234543a8"} 
[2026-08-21 13:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 13:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:14:38] local.INFO: GPS data processed {"connection_id":160229,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:14:38] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:14:45] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":1340,"data_hex":"000000000000030f8e0a000001a023454f60012d7c56c005ec33e0001a010b0b..."} 
[2026-08-21 13:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":1340,"packet_hex":"000000000000030f8e0a000001a023454f60012d7c56c005ec33e0001a010b0b..."} 
[2026-08-21 13:14:45] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a000001a023454f60012d7c56c005ec33e0001a010b0b..."} 
[2026-08-21 13:14:45] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:45] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:45] local.INFO: GPS Element Parsed {"raw_longitude":763123392,"raw_latitude":99365856,"longitude_deg":76.3123392,"latitude_deg":9.9365856,"altitude":26,"angle":267,"satellites":11,"speed":38,"hex_longitude":"2d7c56c0","hex_latitude":"05ec33e0","is_valid_coordinates":true} 
[2026-08-21 13:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662262988505088,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787298140000,"timestamp_ms":1787298140000,"timestamp_seconds":1787298140,"priority":1,"record_length":96,"hex_timestamp":"000001a023454f60"} 
[2026-08-21 13:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 13:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13613,"198":206,"87":13824,"24":38,"16":121662262988505088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-08-21 13:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-21 13:14:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 13:14:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662262988505088,"km_value":121662262988505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:14:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13613,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null}} 
[2026-08-21 13:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:14:45] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:14:45] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:14:45] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:45] local.INFO: Incomplete packet, waiting for more data {"connection_id":160229,"needed":795,"available":545} 
[2026-08-21 13:14:47] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":250,"data_hex":"e3001001b03b2f00000000000001a02343a98001000000000000000000000000..."} 
[2026-08-21 13:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":250,"packet_hex":"e3001001b03b2f00000000000001a02343a98001000000000000000000000000..."} 
[2026-08-21 13:14:47] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023457288012d7c330005ec3320001a010b0b..."} 
[2026-08-21 13:14:47] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:47] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":763114240,"raw_latitude":99365664,"longitude_deg":76.311424,"latitude_deg":9.9365664,"altitude":26,"angle":267,"satellites":11,"speed":38,"hex_longitude":"2d7c3300","hex_latitude":"05ec3320","is_valid_coordinates":true} 
[2026-08-21 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548323840001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121662696780201984,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959559640370372608,"note":"Value kept but may cause issues"} 
[2026-08-21 13:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787298149000,"timestamp_ms":1787298149000,"timestamp_seconds":1787298149,"priority":1,"record_length":96,"hex_timestamp":"000001a023457288"} 
[2026-08-21 13:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-21 13:14:47] 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-08-21 13:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548323840001,"66":13526,"198":206,"87":13824,"24":38,"16":121662696780201984,"45":8959559640370372608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 13:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548323840001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:14:47] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 13:14:47] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121662696780201984,"km_value":121662696780201.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959559640370372608,"description":"Unknown IO ID 45"} 
[2026-08-21 13:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548323840001,"power":13526,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8959559640370372608}} 
[2026-08-21 13:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:14:47] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:14:47] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:14:58] local.INFO: TCP Data received {"connection_id":159327,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:14:58] local.INFO: Processing buffer {"connection_id":159327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:14:58] local.INFO: IMEI packet received {"connection_id":159327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":159327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:15:03] local.INFO: TCP Data received {"connection_id":159327,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:15:03] local.INFO: Processing buffer {"connection_id":159327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:15:03] local.INFO: IMEI packet received {"connection_id":159327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":159327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:15:04] local.INFO: TCP Data received {"connection_id":159327,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02344fd58012ddad700050e6160000a008331..."} 
[2026-08-21 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02344fd58012ddad700050e6160000a008331..."} 
[2026-08-21 13:15:04] local.INFO: Processing buffer {"connection_id":159327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02344fd58012ddad700050e6160000a008331..."} 
[2026-08-21 13:15:04] local.INFO: Packet analysis {"connection_id":159327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:15:04] local.INFO: Extracted packet for processing {"connection_id":159327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02344"} 
[2026-08-21 13:15:04] local.INFO: GPS Element Parsed {"raw_longitude":769316608,"raw_latitude":84828512,"longitude_deg":76.9316608,"latitude_deg":8.4828512,"altitude":10,"angle":131,"satellites":49,"speed":2,"hex_longitude":"2ddad700","hex_latitude":"050e6160","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548313088001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223524109549568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2678304750429874176,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787298119000,"timestamp_ms":1787298119000,"timestamp_seconds":1787298119,"priority":1,"record_length":96,"hex_timestamp":"000001a02344fd58"} 
[2026-08-21 13:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:15: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-08-21 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 13:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:15: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-08-21 13:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548313088001,"66":28017,"180":206,"80":34304,"24":2,"16":388223524109549568,"45":-2678304750429874176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548313088001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:15:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:15:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223524109549568,"km_value":388223524109549.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2678304750429874176,"description":"Unknown IO ID 45"} 
[2026-08-21 13:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548313088001,"power":28017,"unknown_180":206,"unknown_80":34304,"ignition":2,"odometer":null,"unknown_45":-2678304750429874176}} 
[2026-08-21 13:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":159327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:15:04] local.INFO: GPS data processed {"connection_id":159327,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:15:04] local.INFO: Acknowledgment sent {"connection_id":159327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:15:08] local.INFO: TCP Data received {"connection_id":159045,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234543a8012d1824000721b6000050015b2d..."} 
[2026-08-21 13:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234543a8012d1824000721b6000050015b2d..."} 
[2026-08-21 13:15:08] local.INFO: Processing buffer {"connection_id":159045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234543a8012d1824000721b6000050015b2d..."} 
[2026-08-21 13:15:08] local.INFO: Packet analysis {"connection_id":159045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:08] local.INFO: Extracted packet for processing {"connection_id":159045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:08] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649792,"longitude_deg":75.65568,"latitude_deg":11.9649792,"altitude":80,"angle":347,"satellites":45,"speed":9,"hex_longitude":"2d182400","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-08-21 13:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548322816001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180349923819520,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213779968,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787298137000,"timestamp_ms":1787298137000,"timestamp_seconds":1787298137,"priority":1,"record_length":96,"hex_timestamp":"000001a0234543a8"} 
[2026-08-21 13:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548322816001,"66":13396,"105":206,"83":41984,"24":9,"16":14180349923819520,"45":1739374649213779968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548322816001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:15:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:15:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180349923819520,"km_value":14180349923819.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213779968,"description":"Unknown IO ID 45"} 
[2026-08-21 13:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548322816001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739374649213779968}} 
[2026-08-21 13:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":159045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:15:08] local.INFO: GPS data processed {"connection_id":159045,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:15:08] local.INFO: Acknowledgment sent {"connection_id":159045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:15:19] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023459998012d7c0e0005ec32180019010b0d..."} 
[2026-08-21 13:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023459998012d7c0e0005ec32180019010b0d..."} 
[2026-08-21 13:15:19] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023459998012d7c0e0005ec32180019010b0d..."} 
[2026-08-21 13:15:19] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:19] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:19] local.INFO: GPS Element Parsed {"raw_longitude":763104768,"raw_latitude":99365400,"longitude_deg":76.3104768,"latitude_deg":9.93654,"altitude":25,"angle":267,"satellites":13,"speed":33,"hex_longitude":"2d7c0e00","hex_latitude":"05ec3218","is_valid_coordinates":true} 
[2026-08-21 13:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548326144001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121663152046735360,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949496909952917504,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787298159000,"timestamp_ms":1787298159000,"timestamp_seconds":1787298159,"priority":1,"record_length":96,"hex_timestamp":"000001a023459998"} 
[2026-08-21 13:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 13:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548326144001,"66":13276,"198":206,"87":13824,"24":33,"16":121663152046735360,"45":8949496909952917504},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 13:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548326144001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:15:19] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 13:15:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121663152046735360,"km_value":121663152046735.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949496909952917504,"description":"Unknown IO ID 45"} 
[2026-08-21 13:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548326144001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8949496909952917504}} 
[2026-08-21 13:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:15:19] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:15:19] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:15:30] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:15:30] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:15:30] local.INFO: IMEI packet received {"connection_id":159328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":159328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:15:35] local.INFO: TCP Data received {"connection_id":159327,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234704e0012ddae240050e5528000a008830..."} 
[2026-08-21 13:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234704e0012ddae240050e5528000a008830..."} 
[2026-08-21 13:15:35] local.INFO: Processing buffer {"connection_id":159327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234704e0012ddae240050e5528000a008830..."} 
[2026-08-21 13:15:35] local.INFO: Packet analysis {"connection_id":159327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:15:35] local.INFO: Extracted packet for processing {"connection_id":159327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:15:35] local.INFO: GPS Element Parsed {"raw_longitude":769319488,"raw_latitude":84825384,"longitude_deg":76.9319488,"latitude_deg":8.4825384,"altitude":10,"angle":136,"satellites":48,"speed":3,"hex_longitude":"2ddae240","hex_latitude":"050e5528","is_valid_coordinates":true} 
[2026-08-21 13:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548352256001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388223738857914368,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2674645575733518336,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787298252000,"timestamp_ms":1787298252000,"timestamp_seconds":1787298252,"priority":1,"record_length":96,"hex_timestamp":"000001a0234704e0"} 
[2026-08-21 13:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:15: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-08-21 13:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 13:15:35] 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-08-21 13:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548352256001,"66":27995,"180":206,"80":34304,"24":3,"16":388223738857914368,"45":-2674645575733518336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548352256001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:15:35] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:15:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388223738857914368,"km_value":388223738857914.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2674645575733518336,"description":"Unknown IO ID 45"} 
[2026-08-21 13:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548352256001,"power":27995,"unknown_180":206,"unknown_80":34304,"ignition":3,"odometer":null,"unknown_45":-2674645575733518336}} 
[2026-08-21 13:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":159327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:15:35] local.INFO: GPS data processed {"connection_id":159327,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:15:35] local.INFO: Acknowledgment sent {"connection_id":159327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:15:35] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:15:35] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:15:35] local.INFO: IMEI packet received {"connection_id":159328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":159328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:15:36] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023454790012d1823800721b6b8005001452d..."} 
[2026-08-21 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023454790012d1823800721b6b8005001452d..."} 
[2026-08-21 13:15:36] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023454790012d1823800721b6b8005001452d..."} 
[2026-08-21 13:15:36] local.INFO: Packet analysis {"connection_id":159328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:36] local.INFO: Extracted packet for processing {"connection_id":159328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649976,"longitude_deg":75.6556672,"latitude_deg":11.9649976,"altitude":80,"angle":325,"satellites":45,"speed":6,"hex_longitude":"2d182380","hex_latitude":"0721b6b8","is_valid_coordinates":true} 
[2026-08-21 13:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548323072001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180358513754112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702200832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298138000,"timestamp_ms":1787298138000,"timestamp_seconds":1787298138,"priority":1,"record_length":96,"hex_timestamp":"000001a023454790"} 
[2026-08-21 13:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 13:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548323072001,"66":13396,"105":206,"83":41984,"24":6,"16":14180358513754112,"45":1739515386702200832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548323072001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180358513754112,"km_value":14180358513754.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702200832,"description":"Unknown IO ID 45"} 
[2026-08-21 13:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548323072001,"power":13396,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739515386702200832}} 
[2026-08-21 13:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":159328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:15:36] local.INFO: GPS data processed {"connection_id":159328,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:15:36] local.INFO: Acknowledgment sent {"connection_id":159328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:15:51] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02345d818012d7be9c005ec2e980018010510..."} 
[2026-08-21 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02345d818012d7be9c005ec2e980018010510..."} 
[2026-08-21 13:15:51] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02345d818012d7be9c005ec2e980018010510..."} 
[2026-08-21 13:15:51] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:51] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":763095488,"raw_latitude":99364504,"longitude_deg":76.3095488,"latitude_deg":9.9364504,"altitude":24,"angle":261,"satellites":16,"speed":21,"hex_longitude":"2d7be9c0","hex_latitude":"05ec2e98","is_valid_coordinates":true} 
[2026-08-21 13:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548328704001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121663598723334144,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8939082335814555648,"note":"Value kept but may cause issues"} 
[2026-08-21 13:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787298175000,"timestamp_ms":1787298175000,"timestamp_seconds":1787298175,"priority":1,"record_length":96,"hex_timestamp":"000001a02345d818"} 
[2026-08-21 13:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 13:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548328704001,"66":13559,"198":206,"87":13824,"24":21,"16":121663598723334144,"45":8939082335814555648},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 13:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548328704001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:15:51] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 13:15:51] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121663598723334144,"km_value":121663598723334.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8939082335814555648,"description":"Unknown IO ID 45"} 
[2026-08-21 13:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548328704001,"power":13559,"unknown_198":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8939082335814555648}} 
[2026-08-21 13:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:15:51] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:15:51] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:15:58] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:15:58] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:15:58] local.INFO: IMEI packet received {"connection_id":159329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":159329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:16:03] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:03] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:03] local.INFO: IMEI packet received {"connection_id":159329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":159329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:16:04] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234756e8012ddaf200050e4430000a00882f..."} 
[2026-08-21 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234756e8012ddaf200050e4430000a00882f..."} 
[2026-08-21 13:16:04] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234756e8012ddaf200050e4430000a00882f..."} 
[2026-08-21 13:16:04] local.INFO: Packet analysis {"connection_id":159329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:16:04] local.INFO: Extracted packet for processing {"connection_id":159329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:16:04] local.INFO: GPS Element Parsed {"raw_longitude":769323520,"raw_latitude":84821040,"longitude_deg":76.932352,"latitude_deg":8.482104,"altitude":10,"angle":136,"satellites":47,"speed":13,"hex_longitude":"2ddaf200","hex_latitude":"050e4430","is_valid_coordinates":true} 
[2026-08-21 13:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548352512001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224026620723200,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2674504838245177344,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787298273000,"timestamp_ms":1787298273000,"timestamp_seconds":1787298273,"priority":1,"record_length":96,"hex_timestamp":"000001a0234756e8"} 
[2026-08-21 13:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:16: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-08-21 13:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 13:16: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-08-21 13:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:16: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-08-21 13:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548352512001,"66":27843,"180":206,"80":34304,"24":13,"16":388224026620723200,"45":-2674504838245177344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 13:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548352512001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:16:04] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 13:16:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224026620723200,"km_value":388224026620723.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2674504838245177344,"description":"Unknown IO ID 45"} 
[2026-08-21 13:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548352512001,"power":27843,"unknown_180":206,"unknown_80":34304,"ignition":13,"odometer":null,"unknown_45":-2674504838245177344}} 
[2026-08-21 13:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":159329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:16:04] local.INFO: GPS data processed {"connection_id":159329,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:16:04] local.INFO: Acknowledgment sent {"connection_id":159329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:16:07] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023459998012d1824c00721b5e0004f01452d..."} 
[2026-08-21 13:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023459998012d1824c00721b5e0004f01452d..."} 
[2026-08-21 13:16:07] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023459998012d1824c00721b5e0004f01452d..."} 
[2026-08-21 13:16:07] local.INFO: Packet analysis {"connection_id":159328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:16:07] local.INFO: Extracted packet for processing {"connection_id":159328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119649760,"longitude_deg":75.6556992,"latitude_deg":11.964976,"altitude":79,"angle":325,"satellites":45,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b5e0","is_valid_coordinates":true} 
[2026-08-21 13:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548323328001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180401463427072,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213892608,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298159000,"timestamp_ms":1787298159000,"timestamp_seconds":1787298159,"priority":1,"record_length":96,"hex_timestamp":"000001a023459998"} 
[2026-08-21 13:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 13:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159328,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548323328001,"66":13243,"105":206,"83":41984,"24":0,"16":14180401463427072,"45":1739374649213892608},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548323328001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:16:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180401463427072,"km_value":14180401463427.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213892608,"description":"Unknown IO ID 45"} 
[2026-08-21 13:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548323328001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739374649213892608}} 
[2026-08-21 13:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":159328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:16:07] local.INFO: GPS data processed {"connection_id":159328,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:16:07] local.INFO: Acknowledgment sent {"connection_id":159328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:16:23] local.INFO: TCP Data received {"connection_id":160229,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023485ca0012d7af34005ebd178001700f21e..."} 
[2026-08-21 13:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023485ca0012d7af34005ebd178001700f21e..."} 
[2026-08-21 13:16:23] local.INFO: Processing buffer {"connection_id":160229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023485ca0012d7af34005ebd178001700f21e..."} 
[2026-08-21 13:16:23] local.INFO: Packet analysis {"connection_id":160229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:16:23] local.INFO: Extracted packet for processing {"connection_id":160229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:16:23] local.INFO: GPS Element Parsed {"raw_longitude":763032384,"raw_latitude":99340664,"longitude_deg":76.3032384,"latitude_deg":9.9340664,"altitude":23,"angle":242,"satellites":30,"speed":24,"hex_longitude":"2d7af340","hex_latitude":"05ebd178","is_valid_coordinates":true} 
[2026-08-21 13:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548369664001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121666841423642624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865265523166504960,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787298340000,"timestamp_ms":1787298340000,"timestamp_seconds":1787298340,"priority":1,"record_length":96,"hex_timestamp":"000001a023485ca0"} 
[2026-08-21 13:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":62,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":57796679131092790,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13456838,"corrected_to":0} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":236,"raw_value":1195705804162011648,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2415996283,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960481792,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.WARNING: Large IO value detected {"io_id":70,"raw_value":7820502047786074117,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:23] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,98,87,24,241,157,16,63,160,184,45,221,25,27,10,66,106,128,225,23,198,62,192,1,240,247,227,35,236,4,113,205,21,190,121,8,19,239,52,2,176,5,3,70],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":247,"original":13456838,"validated":0},{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-21 13:16:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729650662301499392,"timestamp_seconds":1729650662301499.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548369664001,"66":13341,"98":206,"87":13824,"24":24,"16":121666841423642624,"45":8865265523166504960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548369664001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:16:23] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:16:23] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121666841423642624,"km_value":121666841423642.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865265523166504960,"description":"Unknown IO ID 45"} 
[2026-08-21 13:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548369664001,"power":13341,"unknown_98":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8865265523166504960}} 
[2026-08-21 13:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":160229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:16:23] local.INFO: GPS data processed {"connection_id":160229,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:16:23] local.INFO: Acknowledgment sent {"connection_id":160229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:16:34] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02347a8f0012ddb00c0050e33e0000a00892f..."} 
[2026-08-21 13:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02347a8f0012ddb00c0050e33e0000a00892f..."} 
[2026-08-21 13:16:34] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02347a8f0012ddb00c0050e33e0000a00892f..."} 
[2026-08-21 13:16:34] local.INFO: Packet analysis {"connection_id":159329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:16:34] local.INFO: Extracted packet for processing {"connection_id":159329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":769327296,"raw_latitude":84816864,"longitude_deg":76.9327296,"latitude_deg":8.4816864,"altitude":10,"angle":137,"satellites":47,"speed":12,"hex_longitude":"2ddb00c0","hex_latitude":"050e33e0","is_valid_coordinates":true} 
[2026-08-21 13:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548357888001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224301498630144,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2670071607363096576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787298294000,"timestamp_ms":1787298294000,"timestamp_seconds":1787298294,"priority":1,"record_length":96,"hex_timestamp":"000001a02347a8f0"} 
[2026-08-21 13:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 13:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548357888001,"66":28028,"179":206,"80":34304,"24":12,"16":388224301498630144,"45":-2670071607363096576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548357888001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:16:34] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:16:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224301498630144,"km_value":388224301498630.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2670071607363096576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548357888001,"power":28028,"unknown_179":206,"unknown_80":34304,"ignition":12,"odometer":null,"unknown_45":-2670071607363096576}} 
[2026-08-21 13:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":159329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:16:34] local.INFO: GPS data processed {"connection_id":159329,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:16:34] local.INFO: Acknowledgment sent {"connection_id":159329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:16:35] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:16:35] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:16:35] local.INFO: IMEI packet received {"connection_id":161586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":161586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:16:40] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:16:40] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:16:40] local.INFO: IMEI packet received {"connection_id":161586,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":161586,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:16:41] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02345eba0012d1823000721b3d0004f01452d..."} 
[2026-08-21 13:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02345eba0012d1823000721b3d0004f01452d..."} 
[2026-08-21 13:16:41] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02345eba0012d1823000721b3d0004f01452d..."} 
[2026-08-21 13:16:41] local.INFO: Packet analysis {"connection_id":161586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:16:41] local.INFO: Extracted packet for processing {"connection_id":161586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02345"} 
[2026-08-21 13:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548328704001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934725632,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787298180000,"timestamp_ms":1787298180000,"timestamp_seconds":1787298180,"priority":1,"record_length":96,"hex_timestamp":"000001a02345eba0"} 
[2026-08-21 13:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 13:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548328704001,"66":13048,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739726492934725632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548328704001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:16:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:16:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934725632,"description":"Unknown IO ID 45"} 
[2026-08-21 13:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548328704001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739726492934725632}} 
[2026-08-21 13:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":161586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:16:41] local.INFO: GPS data processed {"connection_id":161586,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:16:41] local.INFO: Acknowledgment sent {"connection_id":161586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:16:45] local.INFO: TCP Data received {"connection_id":161586,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023463da8012d1823000721b3d0004f01452c..."} 
[2026-08-21 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023463da8012d1823000721b3d0004f01452c..."} 
[2026-08-21 13:16:45] local.INFO: Processing buffer {"connection_id":161586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023463da8012d1823000721b3d0004f01452c..."} 
[2026-08-21 13:16:45] local.INFO: Packet analysis {"connection_id":161586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02346"} 
[2026-08-21 13:16:45] local.INFO: Extracted packet for processing {"connection_id":161586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02346"} 
[2026-08-21 13:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548334080001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787298201000,"timestamp_ms":1787298201000,"timestamp_seconds":1787298201,"priority":1,"record_length":96,"hex_timestamp":"000001a023463da8"} 
[2026-08-21 13:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 13:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161586,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548334080001,"66":13004,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548334080001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:16:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:16:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548334080001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":161586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:16:45] local.INFO: GPS data processed {"connection_id":161586,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:16:45] local.INFO: Acknowledgment sent {"connection_id":161586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:16:48] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:16:48] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:16:48] local.INFO: IMEI packet received {"connection_id":159046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":159046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:16:53] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:16:53] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:16:53] local.INFO: IMEI packet received {"connection_id":159046,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":159046,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:16:54] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023489b20012d7ad34005ebc1d8001300f51e..."} 
[2026-08-21 13:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023489b20012d7ad34005ebc1d8001300f51e..."} 
[2026-08-21 13:16:54] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023489b20012d7ad34005ebc1d8001300f51e..."} 
[2026-08-21 13:16:54] local.INFO: Packet analysis {"connection_id":159046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:16:54] local.INFO: Extracted packet for processing {"connection_id":159046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:16:54] local.INFO: GPS Element Parsed {"raw_longitude":763024192,"raw_latitude":99336664,"longitude_deg":76.3024192,"latitude_deg":9.9336664,"altitude":19,"angle":245,"satellites":30,"speed":7,"hex_longitude":"2d7ad340","hex_latitude":"05ebc1d8","is_valid_coordinates":true} 
[2026-08-21 13:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548375040001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121667275215339520,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859495286143285248,"note":"Value kept but may cause issues"} 
[2026-08-21 13:16:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787298356000,"timestamp_ms":1787298356000,"timestamp_seconds":1787298356,"priority":1,"record_length":96,"hex_timestamp":"000001a023489b20"} 
[2026-08-21 13:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:16:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 13:16: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-08-21 13:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548375040001,"66":13135,"98":206,"87":13824,"24":7,"16":121667275215339520,"45":8859495286143285248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548375040001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:16:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:16:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121667275215339520,"km_value":121667275215339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859495286143285248,"description":"Unknown IO ID 45"} 
[2026-08-21 13:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548375040001,"power":13135,"unknown_98":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8859495286143285248}} 
[2026-08-21 13:16:54] local.INFO: DEBUG: GPS processor result {"connection_id":159046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675718,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:16:54] local.INFO: GPS data processed {"connection_id":159046,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:16:54] local.INFO: Acknowledgment sent {"connection_id":159046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:16:58] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:58] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:58] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:16:58] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:58] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:16:58] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:17:03] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:03] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:03] local.INFO: IMEI packet received {"connection_id":161587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":161587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:17:03] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02347faf8012ddb1840050e19780008008c2e..."} 
[2026-08-21 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02347faf8012ddb1840050e19780008008c2e..."} 
[2026-08-21 13:17:03] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02347faf8012ddb1840050e19780008008c2e..."} 
[2026-08-21 13:17:03] local.INFO: Packet analysis {"connection_id":161587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:17:03] local.INFO: Extracted packet for processing {"connection_id":161587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":769333312,"raw_latitude":84810104,"longitude_deg":76.9333312,"latitude_deg":8.4810104,"altitude":8,"angle":140,"satellites":46,"speed":12,"hex_longitude":"2ddb1840","hex_latitude":"050e1978","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548363264001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224739585294336,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2665919851457683456,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787298315000,"timestamp_ms":1787298315000,"timestamp_seconds":1787298315,"priority":1,"record_length":96,"hex_timestamp":"000001a02347faf8"} 
[2026-08-21 13:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 13:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548363264001,"66":27930,"179":206,"80":34304,"24":12,"16":388224739585294336,"45":-2665919851457683456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548363264001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:17:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224739585294336,"km_value":388224739585294.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2665919851457683456,"description":"Unknown IO ID 45"} 
[2026-08-21 13:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548363264001,"power":27930,"unknown_179":206,"unknown_80":34304,"ignition":12,"odometer":null,"unknown_45":-2665919851457683456}} 
[2026-08-21 13:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":161587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:17:04] local.INFO: GPS data processed {"connection_id":161587,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:17:04] local.INFO: Acknowledgment sent {"connection_id":161587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:17:26] local.INFO: TCP Data received {"connection_id":159046,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02348e940012d7ad24005ebc148001300f51f..."} 
[2026-08-21 13:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02348e940012d7ad24005ebc148001300f51f..."} 
[2026-08-21 13:17:26] local.INFO: Processing buffer {"connection_id":159046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02348e940012d7ad24005ebc148001300f51f..."} 
[2026-08-21 13:17:26] local.INFO: Packet analysis {"connection_id":159046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:17:26] local.INFO: Extracted packet for processing {"connection_id":159046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:17:26] local.INFO: GPS Element Parsed {"raw_longitude":763023936,"raw_latitude":99336520,"longitude_deg":76.3023936,"latitude_deg":9.933652,"altitude":19,"angle":245,"satellites":31,"speed":0,"hex_longitude":"2d7ad240","hex_latitude":"05ebc148","is_valid_coordinates":true} 
[2026-08-21 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548379136001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121667292395208704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850488086887520256,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787298376000,"timestamp_ms":1787298376000,"timestamp_seconds":1787298376,"priority":1,"record_length":96,"hex_timestamp":"000001a02348e940"} 
[2026-08-21 13:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 13:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159046,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548379136001,"66":13352,"98":206,"87":13824,"24":0,"16":121667292395208704,"45":8850488086887520256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548379136001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:17:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:17:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121667292395208704,"km_value":121667292395208.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850488086887520256,"description":"Unknown IO ID 45"} 
[2026-08-21 13:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548379136001,"power":13352,"unknown_98":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8850488086887520256}} 
[2026-08-21 13:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":159046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675720,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:17:26] local.INFO: GPS data processed {"connection_id":159046,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:17:26] local.INFO: Acknowledgment sent {"connection_id":159046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:17:29] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:29] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:29] local.INFO: IMEI packet received {"connection_id":159330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":159330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:17:30] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:30] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:30] local.INFO: IMEI packet received {"connection_id":159330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":159330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:17:34] local.INFO: TCP Data received {"connection_id":161587,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02347faf8012ddb1840050e19780008008c2e..."} 
[2026-08-21 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02347faf8012ddb1840050e19780008008c2e..."} 
[2026-08-21 13:17:34] local.INFO: Processing buffer {"connection_id":161587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02347faf8012ddb1840050e19780008008c2e..."} 
[2026-08-21 13:17:34] local.INFO: Packet analysis {"connection_id":161587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:17:34] local.INFO: Extracted packet for processing {"connection_id":161587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":769333312,"raw_latitude":84810104,"longitude_deg":76.9333312,"latitude_deg":8.4810104,"altitude":8,"angle":140,"satellites":46,"speed":12,"hex_longitude":"2ddb1840","hex_latitude":"050e1978","is_valid_coordinates":true} 
[2026-08-21 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548368640001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224739585294336,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2659305189506713600,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787298315000,"timestamp_ms":1787298315000,"timestamp_seconds":1787298315,"priority":1,"record_length":96,"hex_timestamp":"000001a02347faf8"} 
[2026-08-21 13:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 13:17:34] 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-08-21 13:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548368640001,"66":27930,"179":206,"80":34304,"24":12,"16":388224739585294336,"45":-2659305189506713600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548368640001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:17:34] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:17:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224739585294336,"km_value":388224739585294.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2659305189506713600,"description":"Unknown IO ID 45"} 
[2026-08-21 13:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548368640001,"power":27930,"unknown_179":206,"unknown_80":34304,"ignition":12,"odometer":null,"unknown_45":-2659305189506713600}} 
[2026-08-21 13:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":161587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:17:34] local.INFO: GPS data processed {"connection_id":161587,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:17:34] local.INFO: Acknowledgment sent {"connection_id":161587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:17:35] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:35] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:17:35] local.INFO: IMEI packet received {"connection_id":159330,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":159330,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:17:36] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023468fb0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023468fb0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:17:36] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023468fb0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:17:36] local.INFO: Packet analysis {"connection_id":159330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02346"} 
[2026-08-21 13:17:36] local.INFO: Extracted packet for processing {"connection_id":159330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02346"} 
[2026-08-21 13:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548339456001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298222000,"timestamp_ms":1787298222000,"timestamp_seconds":1787298222,"priority":1,"record_length":96,"hex_timestamp":"000001a023468fb0"} 
[2026-08-21 13:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-21 13:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548339456001,"66":12885,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548339456001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:17:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548339456001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":159330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:17:36] local.INFO: GPS data processed {"connection_id":159330,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:17:36] local.INFO: Acknowledgment sent {"connection_id":159330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:17:57] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:17:57] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:17:57] local.INFO: IMEI packet received {"connection_id":159047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":159047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:17:57] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:57] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:57] local.INFO: IMEI packet received {"connection_id":159331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":159331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:17:59] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:59] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:17:59] local.INFO: IMEI packet received {"connection_id":159331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":159331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:18:03] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:18:03] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:18:03] local.INFO: IMEI packet received {"connection_id":159331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":159331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:18:04] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023484d00012ddb2180050e0f00000700872e..."} 
[2026-08-21 13:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023484d00012ddb2180050e0f00000700872e..."} 
[2026-08-21 13:18:04] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023484d00012ddb2180050e0f00000700872e..."} 
[2026-08-21 13:18:04] local.INFO: Packet analysis {"connection_id":159331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:18:04] local.INFO: Extracted packet for processing {"connection_id":159331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:18:04] local.INFO: GPS Element Parsed {"raw_longitude":769335680,"raw_latitude":84807424,"longitude_deg":76.933568,"latitude_deg":8.4807424,"altitude":7,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2ddb2180","hex_latitude":"050e0f00","is_valid_coordinates":true} 
[2026-08-21 13:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548368640001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224915678953472,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2659305189506713600,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787298336000,"timestamp_ms":1787298336000,"timestamp_seconds":1787298336,"priority":1,"record_length":96,"hex_timestamp":"000001a023484d00"} 
[2026-08-21 13:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:18: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-08-21 13:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 13:18: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-08-21 13:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:18: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-08-21 13:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548368640001,"66":27930,"179":206,"80":34304,"24":0,"16":388224915678953472,"45":-2659305189506713600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548368640001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:18:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224915678953472,"km_value":388224915678953.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2659305189506713600,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548368640001,"power":27930,"unknown_179":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2659305189506713600}} 
[2026-08-21 13:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":159331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:04] local.INFO: GPS data processed {"connection_id":159331,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:04] local.INFO: Acknowledgment sent {"connection_id":159331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:18:07] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02346e1b8012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02346e1b8012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:18:07] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02346e1b8012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:18:07] local.INFO: Packet analysis {"connection_id":159330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02346"} 
[2026-08-21 13:18:07] local.INFO: Extracted packet for processing {"connection_id":159330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02346"} 
[2026-08-21 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548344832001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298243000,"timestamp_ms":1787298243000,"timestamp_seconds":1787298243,"priority":1,"record_length":96,"hex_timestamp":"000001a02346e1b8"} 
[2026-08-21 13:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-21 13:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159330,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548344832001,"66":12841,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548344832001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548344832001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":159330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:07] local.INFO: GPS data processed {"connection_id":159330,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:07] local.INFO: Acknowledgment sent {"connection_id":159330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:18:07] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 13:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 13:18:07] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 13:18:07] local.INFO: IMEI packet received {"connection_id":159047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":159047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:18:18] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023493b48012d7ad10005ebc098001300f51f..."} 
[2026-08-21 13:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023493b48012d7ad10005ebc098001300f51f..."} 
[2026-08-21 13:18:18] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a023..."} 
[2026-08-21 13:18:18] local.INFO: IMEI packet received {"connection_id":159047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":159047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:18:19] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023498d50012d7ac9c005ebbd30001200f61f..."} 
[2026-08-21 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023498d50012d7ac9c005ebbd30001200f61f..."} 
[2026-08-21 13:18:19] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a023493b48012d7ad10005ebc098001300f51f..."} 
[2026-08-21 13:18:19] local.INFO: Packet analysis {"connection_id":159047,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:18:19] local.INFO: Extracted packet for processing {"connection_id":159047,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763023616,"raw_latitude":99336344,"longitude_deg":76.3023616,"latitude_deg":9.9336344,"altitude":19,"angle":245,"satellites":31,"speed":4,"hex_longitude":"2d7ad100","hex_latitude":"05ebc098","is_valid_coordinates":true} 
[2026-08-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548384256001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121667309575077888,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850206611910772736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787298397000,"timestamp_ms":1787298397000,"timestamp_seconds":1787298397,"priority":1,"record_length":96,"hex_timestamp":"000001a023493b48"} 
[2026-08-21 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548384256001,"66":13450,"98":206,"87":13824,"24":4,"16":121667309575077888,"45":8850206611910772736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548384256001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121667309575077888,"km_value":121667309575077.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850206611910772736,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548384256001,"power":13450,"unknown_98":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8850206611910772736}} 
[2026-08-21 13:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":159047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:19] local.INFO: GPS data processed {"connection_id":159047,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:19] local.INFO: Acknowledgment sent {"connection_id":159047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:18:19] local.INFO: Packet analysis {"connection_id":159047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:18:19] local.INFO: Extracted packet for processing {"connection_id":159047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":99335472,"longitude_deg":76.302176,"latitude_deg":9.9335472,"altitude":18,"angle":246,"satellites":31,"speed":11,"hex_longitude":"2d7ac9c0","hex_latitude":"05ebbd30","is_valid_coordinates":true} 
[2026-08-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548389632001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121667408359325696,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849854768189839360,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787298418000,"timestamp_ms":1787298418000,"timestamp_seconds":1787298418,"priority":1,"record_length":96,"hex_timestamp":"000001a023498d50"} 
[2026-08-21 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:18: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-08-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 13:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548389632001,"66":13450,"98":206,"87":13824,"24":11,"16":121667408359325696,"45":8849854768189839360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548389632001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121667408359325696,"km_value":121667408359325.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849854768189839360,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548389632001,"power":13450,"unknown_98":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8849854768189839360}} 
[2026-08-21 13:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":159047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:19] local.INFO: GPS data processed {"connection_id":159047,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:19] local.INFO: Acknowledgment sent {"connection_id":159047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:18:20] local.INFO: TCP Data received {"connection_id":159047,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02349cfb8012d7aa94005ebafa0001000f91f..."} 
[2026-08-21 13:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02349cfb8012d7aa94005ebafa0001000f91f..."} 
[2026-08-21 13:18:20] local.INFO: Processing buffer {"connection_id":159047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02349cfb8012d7aa94005ebafa0001000f91f..."} 
[2026-08-21 13:18:20] local.INFO: Packet analysis {"connection_id":159047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:18:20] local.INFO: Extracted packet for processing {"connection_id":159047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:18:20] local.INFO: GPS Element Parsed {"raw_longitude":763013440,"raw_latitude":99332000,"longitude_deg":76.301344,"latitude_deg":9.9332,"altitude":16,"angle":249,"satellites":31,"speed":26,"hex_longitude":"2d7aa940","hex_latitude":"05ebafa0","is_valid_coordinates":true} 
[2026-08-21 13:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:18:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548395008001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121667837856055296,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074608463872,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787298435000,"timestamp_ms":1787298435000,"timestamp_seconds":1787298435,"priority":1,"record_length":96,"hex_timestamp":"000001a02349cfb8"} 
[2026-08-21 13:18:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:18:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:18:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 13:18:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:18:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:18:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:18:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:18:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:18:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:18:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548395008001,"66":13526,"98":206,"87":13824,"24":26,"16":121667837856055296,"45":8847814074608463872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:18:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:18:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:18:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548395008001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:20] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:18:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:18:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121667837856055296,"km_value":121667837856055.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074608463872,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548395008001,"power":13526,"unknown_98":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8847814074608463872}} 
[2026-08-21 13:18:20] local.INFO: DEBUG: GPS processor result {"connection_id":159047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675727,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:20] local.INFO: GPS data processed {"connection_id":159047,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:20] local.INFO: Acknowledgment sent {"connection_id":159047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:18:30] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:30] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:30] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:18:32] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:32] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:32] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:18:35] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023489f08012ddb2180050e0f00000700872e..."} 
[2026-08-21 13:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023489f08012ddb2180050e0f00000700872e..."} 
[2026-08-21 13:18:35] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023489f08012ddb2180050e0f00000700872e..."} 
[2026-08-21 13:18:35] local.INFO: Packet analysis {"connection_id":159331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:18:35] local.INFO: Extracted packet for processing {"connection_id":159331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:18:35] local.INFO: GPS Element Parsed {"raw_longitude":769335680,"raw_latitude":84807424,"longitude_deg":76.933568,"latitude_deg":8.4807424,"altitude":7,"angle":135,"satellites":46,"speed":0,"hex_longitude":"2ddb2180","hex_latitude":"050e0f00","is_valid_coordinates":true} 
[2026-08-21 13:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548374016001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224915678953472,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2656701545972826112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787298357000,"timestamp_ms":1787298357000,"timestamp_seconds":1787298357,"priority":1,"record_length":96,"hex_timestamp":"000001a023489f08"} 
[2026-08-21 13:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:18: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-08-21 13:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 13:18:35] 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-08-21 13:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548374016001,"66":27865,"179":206,"80":34304,"24":0,"16":388224915678953472,"45":-2656701545972826112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548374016001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:18:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224915678953472,"km_value":388224915678953.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2656701545972826112,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548374016001,"power":27865,"unknown_179":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2656701545972826112}} 
[2026-08-21 13:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":159331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:35] local.INFO: GPS data processed {"connection_id":159331,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:35] local.INFO: Acknowledgment sent {"connection_id":159331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:18:35] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:35] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:18:35] local.INFO: IMEI packet received {"connection_id":161588,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":161588,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:18:36] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234733c0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234733c0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:18:36] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234733c0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:18:36] local.INFO: Packet analysis {"connection_id":161588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:18:36] local.INFO: Extracted packet for processing {"connection_id":161588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548350208001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298264000,"timestamp_ms":1787298264000,"timestamp_seconds":1787298264,"priority":1,"record_length":96,"hex_timestamp":"000001a0234733c0"} 
[2026-08-21 13:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 13:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548350208001,"66":12841,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548350208001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548350208001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":161588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:36] local.INFO: GPS data processed {"connection_id":161588,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:36] local.INFO: Acknowledgment sent {"connection_id":161588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:18:48] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:18:48] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:18:48] local.INFO: IMEI packet received {"connection_id":159048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":159048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:18:53] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:18:53] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:18:53] local.INFO: IMEI packet received {"connection_id":159048,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":159048,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:18:54] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234a0280012d7a87c005eba378000d00f81f..."} 
[2026-08-21 13:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234a0280012d7a87c005eba378000d00f81f..."} 
[2026-08-21 13:18:54] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234a0280012d7a87c005eba378000d00f81f..."} 
[2026-08-21 13:18:54] local.INFO: Packet analysis {"connection_id":159048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:18:54] local.INFO: Extracted packet for processing {"connection_id":159048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":763004864,"raw_latitude":99328888,"longitude_deg":76.3004864,"latitude_deg":9.9328888,"altitude":13,"angle":248,"satellites":31,"speed":20,"hex_longitude":"2d7a87c0","hex_latitude":"05eba378","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548399360001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121668275942719488,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8838666137864478720,"note":"Value kept but may cause issues"} 
[2026-08-21 13:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787298448000,"timestamp_ms":1787298448000,"timestamp_seconds":1787298448,"priority":1,"record_length":96,"hex_timestamp":"000001a0234a0280"} 
[2026-08-21 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-08-21 13:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 13:18: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-08-21 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-08-21 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-08-21 13:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548399360001,"66":13428,"98":206,"87":13824,"24":20,"16":121668275942719488,"45":8838666137864478720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548399360001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:18:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:18:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121668275942719488,"km_value":121668275942719.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8838666137864478720,"description":"Unknown IO ID 45"} 
[2026-08-21 13:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548399360001,"power":13428,"unknown_98":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8838666137864478720}} 
[2026-08-21 13:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":159048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675730,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:18:54] local.INFO: GPS data processed {"connection_id":159048,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:18:54] local.INFO: Acknowledgment sent {"connection_id":159048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:19:02] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:02] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:02] local.INFO: IMEI packet received {"connection_id":159049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":159049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:19:02] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:02] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:02] local.INFO: IMEI packet received {"connection_id":159049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":159049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:19:07] local.INFO: TCP Data received {"connection_id":161588,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234785c8012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234785c8012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:19:07] local.INFO: Processing buffer {"connection_id":161588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234785c8012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:19:07] local.INFO: Packet analysis {"connection_id":161588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:19:07] local.INFO: Extracted packet for processing {"connection_id":161588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548355584001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298285000,"timestamp_ms":1787298285000,"timestamp_seconds":1787298285,"priority":1,"record_length":96,"hex_timestamp":"000001a0234785c8"} 
[2026-08-21 13:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 13:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161588,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548355584001,"66":12798,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548355584001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:19:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548355584001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":161588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:19:07] local.INFO: GPS data processed {"connection_id":161588,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:19:07] local.INFO: Acknowledgment sent {"connection_id":161588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:19:08] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:08] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:19:08] local.INFO: IMEI packet received {"connection_id":159049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":159049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:19:09] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02348f110012ddb2480050e0b40000b008a2d..."} 
[2026-08-21 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02348f110012ddb2480050e0b40000b008a2d..."} 
[2026-08-21 13:19:09] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02348f110012ddb2480050e0b40000b008a2d..."} 
[2026-08-21 13:19:09] local.INFO: Packet analysis {"connection_id":159049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:19:09] local.INFO: Extracted packet for processing {"connection_id":159049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:19:09] local.INFO: GPS Element Parsed {"raw_longitude":769336448,"raw_latitude":84806464,"longitude_deg":76.9336448,"latitude_deg":8.4806464,"altitude":11,"angle":138,"satellites":45,"speed":7,"hex_longitude":"2ddb2480","hex_latitude":"050e0b40","is_valid_coordinates":true} 
[2026-08-21 13:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548379392001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224975808495616,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2656701545972826112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787298378000,"timestamp_ms":1787298378000,"timestamp_seconds":1787298378,"priority":1,"record_length":96,"hex_timestamp":"000001a02348f110"} 
[2026-08-21 13:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548379392001,"66":27876,"179":206,"80":34304,"24":7,"16":388224975808495616,"45":-2656701545972826112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548379392001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:19:09] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:19:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224975808495616,"km_value":388224975808495.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2656701545972826112,"description":"Unknown IO ID 45"} 
[2026-08-21 13:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548379392001,"power":27876,"unknown_179":206,"unknown_80":34304,"ignition":7,"odometer":null,"unknown_45":-2656701545972826112}} 
[2026-08-21 13:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":159049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:19:09] local.INFO: GPS data processed {"connection_id":159049,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:19:09] local.INFO: Acknowledgment sent {"connection_id":159049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:19:13] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023494318012ddb2580050e0a50000a008a2d..."} 
[2026-08-21 13:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023494318012ddb2580050e0a50000a008a2d..."} 
[2026-08-21 13:19:13] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023494318012ddb2580050e0a50000a008a2d..."} 
[2026-08-21 13:19:13] local.INFO: Packet analysis {"connection_id":159049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:19:13] local.INFO: Extracted packet for processing {"connection_id":159049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:19:13] local.INFO: GPS Element Parsed {"raw_longitude":769336704,"raw_latitude":84806224,"longitude_deg":76.9336704,"latitude_deg":8.4806224,"altitude":10,"angle":138,"satellites":45,"speed":0,"hex_longitude":"2ddb2580","hex_latitude":"050e0a50","is_valid_coordinates":true} 
[2026-08-21 13:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548384768001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224992988364800,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2655857121042939904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787298399000,"timestamp_ms":1787298399000,"timestamp_seconds":1787298399,"priority":1,"record_length":96,"hex_timestamp":"000001a023494318"} 
[2026-08-21 13:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 13:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548384768001,"66":27865,"179":206,"80":34304,"24":0,"16":388224992988364800,"45":-2655857121042939904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548384768001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:19:13] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:19:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224992988364800,"km_value":388224992988364.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2655857121042939904,"description":"Unknown IO ID 45"} 
[2026-08-21 13:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548384768001,"power":27865,"unknown_179":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2655857121042939904}} 
[2026-08-21 13:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":159049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:19:13] local.INFO: GPS data processed {"connection_id":159049,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:19:13] local.INFO: Acknowledgment sent {"connection_id":159049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:19:18] local.INFO: TCP Data received {"connection_id":159049,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023499520012ddb2580050e0a50000a008a2d..."} 
[2026-08-21 13:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023499520012ddb2580050e0a50000a008a2d..."} 
[2026-08-21 13:19:18] local.INFO: Processing buffer {"connection_id":159049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023499520012ddb2580050e0a50000a008a2d..."} 
[2026-08-21 13:19:18] local.INFO: Packet analysis {"connection_id":159049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:19:18] local.INFO: Extracted packet for processing {"connection_id":159049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02349"} 
[2026-08-21 13:19:18] local.INFO: GPS Element Parsed {"raw_longitude":769336704,"raw_latitude":84806224,"longitude_deg":76.9336704,"latitude_deg":8.4806224,"altitude":10,"angle":138,"satellites":45,"speed":0,"hex_longitude":"2ddb2580","hex_latitude":"050e0a50","is_valid_coordinates":true} 
[2026-08-21 13:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548390144001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388224992988364800,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2655575646066290688,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787298420000,"timestamp_ms":1787298420000,"timestamp_seconds":1787298420,"priority":1,"record_length":96,"hex_timestamp":"000001a023499520"} 
[2026-08-21 13:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548390144001,"66":27767,"179":206,"80":34304,"24":0,"16":388224992988364800,"45":-2655575646066290688},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 13:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548390144001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:19:18] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 13:19:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 13:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388224992988364800,"km_value":388224992988364.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2655575646066290688,"description":"Unknown IO ID 45"} 
[2026-08-21 13:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548390144001,"power":27767,"unknown_179":206,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-2655575646066290688}} 
[2026-08-21 13:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":159049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:19:18] local.INFO: GPS data processed {"connection_id":159049,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:19:18] local.INFO: Acknowledgment sent {"connection_id":159049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:19:26] local.INFO: TCP Data received {"connection_id":159048,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234a3930012d7a828005eba190000d010721..."} 
[2026-08-21 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234a3930012d7a828005eba190000d010721..."} 
[2026-08-21 13:19:26] local.INFO: Processing buffer {"connection_id":159048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234a3930012d7a828005eba190000d010721..."} 
[2026-08-21 13:19:26] local.INFO: Packet analysis {"connection_id":159048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:19:26] local.INFO: Extracted packet for processing {"connection_id":159048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763003520,"raw_latitude":99328400,"longitude_deg":76.300352,"latitude_deg":9.93284,"altitude":13,"angle":263,"satellites":33,"speed":4,"hex_longitude":"2d7a8280","hex_latitude":"05eba190","is_valid_coordinates":true} 
[2026-08-21 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548402688001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121668353252130816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8829236726143875072,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787298462000,"timestamp_ms":1787298462000,"timestamp_seconds":1787298462,"priority":1,"record_length":96,"hex_timestamp":"000001a0234a3930"} 
[2026-08-21 13:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 13:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159048,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548402688001,"66":13613,"98":206,"87":13824,"24":4,"16":121668353252130816,"45":8829236726143875072},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548402688001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:19:26] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:19:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121668353252130816,"km_value":121668353252130.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8829236726143875072,"description":"Unknown IO ID 45"} 
[2026-08-21 13:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548402688001,"power":13613,"unknown_98":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8829236726143875072}} 
[2026-08-21 13:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":159048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:19:26] local.INFO: GPS data processed {"connection_id":159048,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:19:26] local.INFO: Acknowledgment sent {"connection_id":159048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:19:30] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:19:30] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:19:30] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:19:35] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:19:35] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:19:35] local.INFO: IMEI packet received {"connection_id":160230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":160230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:19:36] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02347d7d0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02347d7d0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:19:36] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02347d7d0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:19:36] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:19:36] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02347"} 
[2026-08-21 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548360960001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298306000,"timestamp_ms":1787298306000,"timestamp_seconds":1787298306,"priority":1,"record_length":96,"hex_timestamp":"000001a02347d7d0"} 
[2026-08-21 13:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:19:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 13:19:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:19:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548360960001,"66":12722,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548360960001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:19:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:19:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548360960001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:19:36] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:19:36] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:19:48] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:19:48] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:19:48] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:19:53] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:19:53] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:19:53] local.INFO: IMEI packet received {"connection_id":160231,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":160231,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:19:54] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234a5c58012d7a7a0005eb9f50000c00fb21..."} 
[2026-08-21 13:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234a5c58012d7a7a0005eb9f50000c00fb21..."} 
[2026-08-21 13:19:54] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234a5c58012d7a7a0005eb9f50000c00fb21..."} 
[2026-08-21 13:19:54] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:19:54] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:19:54] local.INFO: GPS Element Parsed {"raw_longitude":763001344,"raw_latitude":99327824,"longitude_deg":76.3001344,"latitude_deg":9.9327824,"altitude":12,"angle":251,"satellites":33,"speed":19,"hex_longitude":"2d7a7a00","hex_latitude":"05eb9f50","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548406272001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121668460626313216,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8827758982516019200,"note":"Value kept but may cause issues"} 
[2026-08-21 13:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787298471000,"timestamp_ms":1787298471000,"timestamp_seconds":1787298471,"priority":1,"record_length":96,"hex_timestamp":"000001a0234a5c58"} 
[2026-08-21 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-08-21 13:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-21 13:19:54] 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-08-21 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-08-21 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-08-21 13:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548406272001,"66":13559,"98":206,"87":13824,"24":19,"16":121668460626313216,"45":8827758982516019200},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,87,24,16,45]} 
[2026-08-21 13:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548406272001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:19:54] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-08-21 13:19:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121668460626313216,"km_value":121668460626313.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8827758982516019200,"description":"Unknown IO ID 45"} 
[2026-08-21 13:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548406272001,"power":13559,"unknown_98":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8827758982516019200}} 
[2026-08-21 13:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675737,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:19:54] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:19:54] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:20:07] local.INFO: TCP Data received {"connection_id":160230,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234829d8012d1823000721b3d0004f01452b..."} 
[2026-08-21 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234829d8012d1823000721b3d0004f01452b..."} 
[2026-08-21 13:20:07] local.INFO: Processing buffer {"connection_id":160230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234829d8012d1823000721b3d0004f01452b..."} 
[2026-08-21 13:20:07] local.INFO: Packet analysis {"connection_id":160230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:20:07] local.INFO: Extracted packet for processing {"connection_id":160230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548366336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298327000,"timestamp_ms":1787298327000,"timestamp_seconds":1787298327,"priority":1,"record_length":96,"hex_timestamp":"000001a0234829d8"} 
[2026-08-21 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 13:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160230,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548366336001,"66":12776,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548366336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:20:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548366336001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":160230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:20:07] local.INFO: GPS data processed {"connection_id":160230,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:20:07] local.INFO: Acknowledgment sent {"connection_id":160230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:20:12] local.INFO: TCP Data received {"connection_id":159332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:12] local.INFO: Processing buffer {"connection_id":159332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:12] local.INFO: IMEI packet received {"connection_id":159332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":159332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:20:12] local.INFO: TCP Data received {"connection_id":159332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:12] local.INFO: Processing buffer {"connection_id":159332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:12] local.INFO: IMEI packet received {"connection_id":159332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":159332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:20:20] local.INFO: TCP Data received {"connection_id":159332,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:20] local.INFO: Processing buffer {"connection_id":159332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:20:20] local.INFO: IMEI packet received {"connection_id":159332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":159332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:20:25] local.INFO: TCP Data received {"connection_id":160231,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234aaa78012d7a648005eb9638000d00f820..."} 
[2026-08-21 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234aaa78012d7a648005eb9638000d00f820..."} 
[2026-08-21 13:20:25] local.INFO: Processing buffer {"connection_id":160231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234aaa78012d7a648005eb9638000d00f820..."} 
[2026-08-21 13:20:25] local.INFO: Packet analysis {"connection_id":160231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:20:25] local.INFO: Extracted packet for processing {"connection_id":160231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234a"} 
[2026-08-21 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":762995840,"raw_latitude":99325496,"longitude_deg":76.299584,"latitude_deg":9.9325496,"altitude":13,"angle":248,"satellites":32,"speed":0,"hex_longitude":"2d7a6480","hex_latitude":"05eb9638","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548408576001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121668748389122048,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825366445213831168,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787298491000,"timestamp_ms":1787298491000,"timestamp_seconds":1787298491,"priority":1,"record_length":96,"hex_timestamp":"000001a0234aaa78"} 
[2026-08-21 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-08-21 13:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-21 13:20:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 13:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":160231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":160231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":160231,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548408576001,"66":12906,"82":206,"87":13824,"24":0,"16":121668748389122048,"45":8825366445213831168},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,87,24,16,45]} 
[2026-08-21 13:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548408576001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:20:25] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 13:20:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121668748389122048,"km_value":121668748389122.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825366445213831168,"description":"Unknown IO ID 45"} 
[2026-08-21 13:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548408576001,"power":12906,"unknown_82":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8825366445213831168}} 
[2026-08-21 13:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":160231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:20:25] local.INFO: GPS data processed {"connection_id":160231,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:20:25] local.INFO: Acknowledgment sent {"connection_id":160231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:20:30] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:20:30] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:20:30] local.INFO: IMEI packet received {"connection_id":159333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":159333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:20:35] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:20:35] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:20:35] local.INFO: IMEI packet received {"connection_id":159333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":159333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:20:36] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023487be0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023487be0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:20:36] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023487be0012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:20:36] local.INFO: Packet analysis {"connection_id":159333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:20:36] local.INFO: Extracted packet for processing {"connection_id":159333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02348"} 
[2026-08-21 13:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548371712001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298348000,"timestamp_ms":1787298348000,"timestamp_seconds":1787298348,"priority":1,"record_length":96,"hex_timestamp":"000001a023487be0"} 
[2026-08-21 13:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 13:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548371712001,"66":12776,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548371712001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548371712001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":159333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:20:36] local.INFO: GPS data processed {"connection_id":159333,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:20:36] local.INFO: Acknowledgment sent {"connection_id":159333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:20:53] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:20:53] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:20:53] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:21:01] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:01] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:01] local.INFO: IMEI packet received {"connection_id":160232,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":160232,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:21:02] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234c63e0012d7a4e4005eb9e280011014f21..."} 
[2026-08-21 13:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234c63e0012d7a4e4005eb9e280011014f21..."} 
[2026-08-21 13:21:02] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234c63e0012d7a4e4005eb9e280011014f21..."} 
[2026-08-21 13:21:02] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:02] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":762990144,"raw_latitude":99327528,"longitude_deg":76.2990144,"latitude_deg":9.9327528,"altitude":17,"angle":335,"satellites":33,"speed":0,"hex_longitude":"2d7a4e40","hex_latitude":"05eb9e28","is_valid_coordinates":true} 
[2026-08-21 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548437504001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121669109166374912,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814459289865639936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787298604000,"timestamp_ms":1787298604000,"timestamp_seconds":1787298604,"priority":1,"record_length":96,"hex_timestamp":"000001a0234c63e0"} 
[2026-08-21 13:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 13:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548437504001,"66":13091,"82":206,"87":13824,"24":0,"16":121669109166374912,"45":8814459289865639936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,87,24,16,45]} 
[2026-08-21 13:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548437504001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:21:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 13:21:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121669109166374912,"km_value":121669109166374.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814459289865639936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548437504001,"power":13091,"unknown_82":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8814459289865639936}} 
[2026-08-21 13:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:21:02] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:21:02] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:21:03] local.INFO: TCP Data received {"connection_id":161589,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:21:03] local.INFO: Processing buffer {"connection_id":161589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:21:03] local.INFO: IMEI packet received {"connection_id":161589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":161589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:21:04] local.INFO: TCP Data received {"connection_id":160232,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234cb5e8012d7a4e4005eb9e280011014f20..."} 
[2026-08-21 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234cb5e8012d7a4e4005eb9e280011014f20..."} 
[2026-08-21 13:21:04] local.INFO: Processing buffer {"connection_id":160232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234cb5e8012d7a4e4005eb9e280011014f20..."} 
[2026-08-21 13:21:04] local.INFO: Packet analysis {"connection_id":160232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:04] local.INFO: Extracted packet for processing {"connection_id":160232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:04] local.INFO: GPS Element Parsed {"raw_longitude":762990144,"raw_latitude":99327528,"longitude_deg":76.2990144,"latitude_deg":9.9327528,"altitude":17,"angle":335,"satellites":32,"speed":0,"hex_longitude":"2d7a4e40","hex_latitude":"05eb9e28","is_valid_coordinates":true} 
[2026-08-21 13:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548442624001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121669109166374912,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813051914982664192,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787298625000,"timestamp_ms":1787298625000,"timestamp_seconds":1787298625,"priority":1,"record_length":96,"hex_timestamp":"000001a0234cb5e8"} 
[2026-08-21 13:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 13:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160232,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548442624001,"66":13189,"82":206,"87":13824,"24":0,"16":121669109166374912,"45":8813051914982664192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,87,24,16,45]} 
[2026-08-21 13:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548442624001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:21:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 13:21:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121669109166374912,"km_value":121669109166374.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813051914982664192,"description":"Unknown IO ID 45"} 
[2026-08-21 13:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548442624001,"power":13189,"unknown_82":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8813051914982664192}} 
[2026-08-21 13:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":160232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:21:04] local.INFO: GPS data processed {"connection_id":160232,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:21:04] local.INFO: Acknowledgment sent {"connection_id":160232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:21:07] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234c0238012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234c0238012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:21:07] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234c0238012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:21:07] local.INFO: Packet analysis {"connection_id":159333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:07] local.INFO: Extracted packet for processing {"connection_id":159333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548430848001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298579000,"timestamp_ms":1787298579000,"timestamp_seconds":1787298579,"priority":1,"record_length":96,"hex_timestamp":"000001a0234c0238"} 
[2026-08-21 13:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-21 13:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548430848001,"66":12645,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548430848001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548430848001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":159333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:21:07] local.INFO: GPS data processed {"connection_id":159333,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:21:07] local.INFO: Acknowledgment sent {"connection_id":159333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:21:35] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:21:35] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:21:35] local.INFO: IMEI packet received {"connection_id":159050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":159050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:21:40] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:21:40] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:21:40] local.INFO: IMEI packet received {"connection_id":159050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":159050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:21:41] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234c5440012d1823000721b3d0004f01452f..."} 
[2026-08-21 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234c5440012d1823000721b3d0004f01452f..."} 
[2026-08-21 13:21:41] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234c5440012d1823000721b3d0004f01452f..."} 
[2026-08-21 13:21:41] local.INFO: Packet analysis {"connection_id":159050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:41] local.INFO: Extracted packet for processing {"connection_id":159050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548436224001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787298600000,"timestamp_ms":1787298600000,"timestamp_seconds":1787298600,"priority":1,"record_length":96,"hex_timestamp":"000001a0234c5440"} 
[2026-08-21 13:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 13:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548436224001,"66":12613,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548436224001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548436224001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":159050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:21:41] local.INFO: GPS data processed {"connection_id":159050,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:21:41] local.INFO: Acknowledgment sent {"connection_id":159050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:21:42] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234ca648012d1823000721b3d0004f01452f..."} 
[2026-08-21 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234ca648012d1823000721b3d0004f01452f..."} 
[2026-08-21 13:21:42] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234ca648012d1823000721b3d0004f01452f..."} 
[2026-08-21 13:21:42] local.INFO: Packet analysis {"connection_id":159050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:42] local.INFO: Extracted packet for processing {"connection_id":159050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548441600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787298621000,"timestamp_ms":1787298621000,"timestamp_seconds":1787298621,"priority":1,"record_length":96,"hex_timestamp":"000001a0234ca648"} 
[2026-08-21 13:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548441600001,"66":12689,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548441600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548441600001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":159050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:21:42] local.INFO: GPS data processed {"connection_id":159050,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:21:42] local.INFO: Acknowledgment sent {"connection_id":159050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:21:53] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:53] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:53] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:21:58] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:58] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:21:58] local.INFO: IMEI packet received {"connection_id":160233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":160233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:21:59] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234d07f0012d7a4e4005eb9e280011014f1e..."} 
[2026-08-21 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234d07f0012d7a4e4005eb9e280011014f1e..."} 
[2026-08-21 13:21:59] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234d07f0012d7a4e4005eb9e280011014f1e..."} 
[2026-08-21 13:21:59] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:21:59] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:21:59] local.INFO: GPS Element Parsed {"raw_longitude":762990144,"raw_latitude":99327528,"longitude_deg":76.2990144,"latitude_deg":9.9327528,"altitude":17,"angle":335,"satellites":30,"speed":0,"hex_longitude":"2d7a4e40","hex_latitude":"05eb9e28","is_valid_coordinates":true} 
[2026-08-21 13:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548448000001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121669109166374912,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813051914982664192,"note":"Value kept but may cause issues"} 
[2026-08-21 13:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787298646000,"timestamp_ms":1787298646000,"timestamp_seconds":1787298646,"priority":1,"record_length":96,"hex_timestamp":"000001a0234d07f0"} 
[2026-08-21 13:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 13:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548448000001,"66":13396,"82":206,"87":13824,"24":0,"16":121669109166374912,"45":8813051914982664192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,87,24,16,45]} 
[2026-08-21 13:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548448000001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:21:59] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 13:21:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121669109166374912,"km_value":121669109166374.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813051914982664192,"description":"Unknown IO ID 45"} 
[2026-08-21 13:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548448000001,"power":13396,"unknown_82":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8813051914982664192}} 
[2026-08-21 13:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:21:59] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:21:59] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:22:02] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234d5610012d7a494005eba9480010015b20..."} 
[2026-08-21 13:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234d5610012d7a494005eba9480010015b20..."} 
[2026-08-21 13:22:02] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234d5610012d7a494005eba9480010015b20..."} 
[2026-08-21 13:22:02] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:02] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":762988864,"raw_latitude":99330376,"longitude_deg":76.2988864,"latitude_deg":9.9330376,"altitude":16,"angle":347,"satellites":32,"speed":15,"hex_longitude":"2d7a4940","hex_latitude":"05eba948","is_valid_coordinates":true} 
[2026-08-21 13:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548453376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121669259490230272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813051914982664192,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787298666000,"timestamp_ms":1787298666000,"timestamp_seconds":1787298666,"priority":1,"record_length":96,"hex_timestamp":"000001a0234d5610"} 
[2026-08-21 13:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-08-21 13:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548453376001,"66":13406,"82":206,"87":13824,"24":15,"16":121669259490230272,"45":8813051914982664192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,87,24,16,45]} 
[2026-08-21 13:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548453376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:22:02] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 13:22:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121669259490230272,"km_value":121669259490230.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813051914982664192,"description":"Unknown IO ID 45"} 
[2026-08-21 13:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548453376001,"power":13406,"unknown_82":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8813051914982664192}} 
[2026-08-21 13:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675747,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:22:02] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:22:02] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:22:13] local.INFO: TCP Data received {"connection_id":159050,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234cf850012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234cf850012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:22:13] local.INFO: Processing buffer {"connection_id":159050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234cf850012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:22:13] local.INFO: Packet analysis {"connection_id":159050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:22:13] local.INFO: Extracted packet for processing {"connection_id":159050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234c"} 
[2026-08-21 13:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548446976001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787298642000,"timestamp_ms":1787298642000,"timestamp_seconds":1787298642,"priority":1,"record_length":96,"hex_timestamp":"000001a0234cf850"} 
[2026-08-21 13:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 13:22: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-08-21 13: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-08-21 13:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548446976001,"66":12689,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548446976001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:22:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:22:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548446976001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":159050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:22:13] local.INFO: GPS data processed {"connection_id":159050,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:22:13] local.INFO: Acknowledgment sent {"connection_id":159050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:22:30] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:22:30] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:22:30] local.INFO: IMEI packet received {"connection_id":161590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":161590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:22:33] local.INFO: TCP Data received {"connection_id":160233,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234d5de0012d7a484005ebacb00010014e20..."} 
[2026-08-21 13:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234d5de0012d7a484005ebacb00010014e20..."} 
[2026-08-21 13:22:33] local.INFO: Processing buffer {"connection_id":160233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234d5de0012d7a484005ebacb00010014e20..."} 
[2026-08-21 13:22:33] local.INFO: Packet analysis {"connection_id":160233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:33] local.INFO: Extracted packet for processing {"connection_id":160233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:33] local.INFO: GPS Element Parsed {"raw_longitude":762988608,"raw_latitude":99331248,"longitude_deg":76.2988608,"latitude_deg":9.9331248,"altitude":16,"angle":334,"satellites":32,"speed":20,"hex_longitude":"2d7a4840","hex_latitude":"05ebacb0","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548458496001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121669302439903232,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811644540099840000,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787298668000,"timestamp_ms":1787298668000,"timestamp_seconds":1787298668,"priority":1,"record_length":96,"hex_timestamp":"000001a0234d5de0"} 
[2026-08-21 13:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 13:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548458496001,"66":13374,"82":206,"87":13824,"24":20,"16":121669302439903232,"45":8811644540099840000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,87,24,16,45]} 
[2026-08-21 13:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548458496001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:22:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 13:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121669302439903232,"km_value":121669302439903.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811644540099840000,"description":"Unknown IO ID 45"} 
[2026-08-21 13:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548458496001,"power":13374,"unknown_82":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8811644540099840000}} 
[2026-08-21 13:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":160233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:22:33] local.INFO: GPS data processed {"connection_id":160233,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:22:33] local.INFO: Acknowledgment sent {"connection_id":160233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:22:35] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:22:35] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:22:35] local.INFO: IMEI packet received {"connection_id":161590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":161590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:22:37] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234d4a58012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234d4a58012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:22:37] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234d4a58012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:22:37] local.INFO: Packet analysis {"connection_id":161590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:37] local.INFO: Extracted packet for processing {"connection_id":161590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548452352001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787298663000,"timestamp_ms":1787298663000,"timestamp_seconds":1787298663,"priority":1,"record_length":96,"hex_timestamp":"000001a0234d4a58"} 
[2026-08-21 13:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:22:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 13:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:22:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548452352001,"66":12439,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548452352001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:22:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:22:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548452352001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":161590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:22:37] local.INFO: GPS data processed {"connection_id":161590,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:22:37] local.INFO: Acknowledgment sent {"connection_id":161590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:22:48] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:22:48] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:22:48] local.INFO: IMEI packet received {"connection_id":159051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":159051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:22:52] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:22:52] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:22:52] local.INFO: IMEI packet received {"connection_id":159051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":159051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:22:53] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234da048012d7a380005ebcd98001101501f..."} 
[2026-08-21 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234da048012d7a380005ebcd98001101501f..."} 
[2026-08-21 13:22:53] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234da048012d7a380005ebcd98001101501f..."} 
[2026-08-21 13:22:53] local.INFO: Packet analysis {"connection_id":159051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:53] local.INFO: Extracted packet for processing {"connection_id":159051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:22:53] local.INFO: GPS Element Parsed {"raw_longitude":762984448,"raw_latitude":99339672,"longitude_deg":76.2984448,"latitude_deg":9.9339672,"altitude":17,"angle":336,"satellites":31,"speed":27,"hex_longitude":"2d7a3800","hex_latitude":"05ebcd98","is_valid_coordinates":true} 
[2026-08-21 13:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548459008001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121669757706436608,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8811363065123352576,"note":"Value kept but may cause issues"} 
[2026-08-21 13:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787298685000,"timestamp_ms":1787298685000,"timestamp_seconds":1787298685,"priority":1,"record_length":96,"hex_timestamp":"000001a0234da048"} 
[2026-08-21 13:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 13:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":159051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":159051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":159051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548459008001,"66":13374,"99":206,"87":13824,"24":27,"16":121669757706436608,"45":8811363065123352576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 13:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548459008001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:22:53] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 13:22:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121669757706436608,"km_value":121669757706436.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8811363065123352576,"description":"Unknown IO ID 45"} 
[2026-08-21 13:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548459008001,"power":13374,"unknown_99":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8811363065123352576}} 
[2026-08-21 13:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":159051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:22:53] local.INFO: GPS data processed {"connection_id":159051,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:22:53] local.INFO: Acknowledgment sent {"connection_id":159051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:23:08] local.INFO: TCP Data received {"connection_id":161590,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234d9c60012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234d9c60012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:23:08] local.INFO: Processing buffer {"connection_id":161590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234d9c60012d1823000721b3d0004f01452e..."} 
[2026-08-21 13:23:08] local.INFO: Packet analysis {"connection_id":161590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:23:08] local.INFO: Extracted packet for processing {"connection_id":161590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:23:08] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649232,"longitude_deg":75.6556544,"latitude_deg":11.9649232,"altitude":79,"angle":325,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b3d0","is_valid_coordinates":true} 
[2026-08-21 13:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548457728001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787298684000,"timestamp_ms":1787298684000,"timestamp_seconds":1787298684,"priority":1,"record_length":96,"hex_timestamp":"000001a0234d9c60"} 
[2026-08-21 13:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-21 13:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548457728001,"66":12613,"105":206,"83":41984,"24":0,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548457728001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:23:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:23:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548457728001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":161590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:23:08] local.INFO: GPS data processed {"connection_id":161590,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:23:08] local.INFO: Acknowledgment sent {"connection_id":161590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:23:25] local.INFO: TCP Data received {"connection_id":159051,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234f0b90012d79fbc005ec76c8000f004722..."} 
[2026-08-21 13:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234f0b90012d79fbc005ec76c8000f004722..."} 
[2026-08-21 13:23:25] local.INFO: Processing buffer {"connection_id":159051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234f0b90012d79fbc005ec76c8000f004722..."} 
[2026-08-21 13:23:25] local.INFO: Packet analysis {"connection_id":159051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:23:25] local.INFO: Extracted packet for processing {"connection_id":159051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762969024,"raw_latitude":99382984,"longitude_deg":76.2969024,"latitude_deg":9.9382984,"altitude":15,"angle":71,"satellites":34,"speed":6,"hex_longitude":"2d79fbc0","hex_latitude":"05ec76c8","is_valid_coordinates":true} 
[2026-08-21 13:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548486912001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672051218972672,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789759860674035712,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787298778000,"timestamp_ms":1787298778000,"timestamp_seconds":1787298778,"priority":1,"record_length":96,"hex_timestamp":"000001a0234f0b90"} 
[2026-08-21 13:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 13:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548486912001,"66":13450,"100":206,"87":13824,"24":6,"16":121672051218972672,"45":8789759860674035712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548486912001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:23:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:23:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672051218972672,"km_value":121672051218972.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789759860674035712,"description":"Unknown IO ID 45"} 
[2026-08-21 13:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548486912001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789759860674035712}} 
[2026-08-21 13:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":159051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:23:25] local.INFO: GPS data processed {"connection_id":159051,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:23:25] local.INFO: Acknowledgment sent {"connection_id":159051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:23:30] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:23:30] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:23:30] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:23:35] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:23:35] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:23:35] local.INFO: IMEI packet received {"connection_id":160234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":160234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:23:36] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234de2b0012d1823000721b410004c00db2f..."} 
[2026-08-21 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234de2b0012d1823000721b410004c00db2f..."} 
[2026-08-21 13:23:36] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234de2b0012d1823000721b410004c00db2f..."} 
[2026-08-21 13:23:36] local.INFO: Packet analysis {"connection_id":160234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:23:36] local.INFO: Extracted packet for processing {"connection_id":160234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234d"} 
[2026-08-21 13:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649296,"longitude_deg":75.6556544,"latitude_deg":11.9649296,"altitude":76,"angle":219,"satellites":47,"speed":2,"hex_longitude":"2d182300","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-08-21 13:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548463104001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180440118132736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725346816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298702000,"timestamp_ms":1787298702000,"timestamp_seconds":1787298702,"priority":1,"record_length":96,"hex_timestamp":"000001a0234de2b0"} 
[2026-08-21 13:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548463104001,"66":12613,"105":206,"83":41984,"24":2,"16":14180440118132736,"45":1739233911725346816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548463104001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:23:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180440118132736,"km_value":14180440118132.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725346816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548463104001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725346816}} 
[2026-08-21 13:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":160234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:23:36] local.INFO: GPS data processed {"connection_id":160234,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:23:36] local.INFO: Acknowledgment sent {"connection_id":160234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:23:45] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:45] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:45] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:23:47] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:47] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:47] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:23:48] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:48] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:48] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:23:53] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:53] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:23:53] local.INFO: IMEI packet received {"connection_id":159052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":159052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:23:54] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234f2ad0012d7a010005ec7920000e003922..."} 
[2026-08-21 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234f2ad0012d7a010005ec7920000e003922..."} 
[2026-08-21 13:23:54] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234f2ad0012d7a010005ec7920000e003922..."} 
[2026-08-21 13:23:54] local.INFO: Packet analysis {"connection_id":159052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:23:54] local.INFO: Extracted packet for processing {"connection_id":159052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:23:54] local.INFO: GPS Element Parsed {"raw_longitude":762970368,"raw_latitude":99383584,"longitude_deg":76.2970368,"latitude_deg":9.9383584,"altitude":14,"angle":57,"satellites":34,"speed":3,"hex_longitude":"2d7a0100","hex_latitude":"05ec7920","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548487168001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672119938449408,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789830229418231808,"note":"Value kept but may cause issues"} 
[2026-08-21 13:23:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787298786000,"timestamp_ms":1787298786000,"timestamp_seconds":1787298786,"priority":1,"record_length":96,"hex_timestamp":"000001a0234f2ad0"} 
[2026-08-21 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-08-21 13:23: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-08-21 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 13:23: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-08-21 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-08-21 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-08-21 13:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548487168001,"66":13189,"100":206,"87":13824,"24":3,"16":121672119938449408,"45":8789830229418231808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548487168001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:23:54] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:23:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672119938449408,"km_value":121672119938449.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789830229418231808,"description":"Unknown IO ID 45"} 
[2026-08-21 13:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548487168001,"power":13189,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8789830229418231808}} 
[2026-08-21 13:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":159052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:23:54] local.INFO: GPS data processed {"connection_id":159052,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:23:54] local.INFO: Acknowledgment sent {"connection_id":159052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:24:07] local.INFO: TCP Data received {"connection_id":160234,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234e34b8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234e34b8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:24:07] local.INFO: Processing buffer {"connection_id":160234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234e34b8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:24:07] local.INFO: Packet analysis {"connection_id":160234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234e"} 
[2026-08-21 13:24:07] local.INFO: Extracted packet for processing {"connection_id":160234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234e"} 
[2026-08-21 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548467712001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725363200,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298723000,"timestamp_ms":1787298723000,"timestamp_seconds":1787298723,"priority":1,"record_length":96,"hex_timestamp":"000001a0234e34b8"} 
[2026-08-21 13:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548467712001,"66":12558,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1739233911725363200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548467712001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:24:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725363200,"description":"Unknown IO ID 45"} 
[2026-08-21 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548467712001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725363200}} 
[2026-08-21 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":160234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:24:07] local.INFO: GPS data processed {"connection_id":160234,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:24:07] local.INFO: Acknowledgment sent {"connection_id":160234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:24:25] local.INFO: TCP Data received {"connection_id":159052,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234f32a0012d7a01c005ec79a8000e004622..."} 
[2026-08-21 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234f32a0012d7a01c005ec79a8000e004622..."} 
[2026-08-21 13:24:25] local.INFO: Processing buffer {"connection_id":159052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234f32a0012d7a01c005ec79a8000e004622..."} 
[2026-08-21 13:24:25] local.INFO: Packet analysis {"connection_id":159052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:24:25] local.INFO: Extracted packet for processing {"connection_id":159052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":762970560,"raw_latitude":99383720,"longitude_deg":76.297056,"latitude_deg":9.938372,"altitude":14,"angle":70,"satellites":34,"speed":7,"hex_longitude":"2d7a01c0","hex_latitude":"05ec79a8","is_valid_coordinates":true} 
[2026-08-21 13:24:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:24:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548489216001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672132823351296,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791307973046116352,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:24:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787298788000,"timestamp_ms":1787298788000,"timestamp_seconds":1787298788,"priority":1,"record_length":96,"hex_timestamp":"000001a0234f32a0"} 
[2026-08-21 13:24:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:24:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 13:24:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:24:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:24:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:24:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:24:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:24:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:24:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:24:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:24:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:24:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:24:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548489216001,"66":13319,"100":206,"87":13824,"24":7,"16":121672132823351296,"45":8791307973046116352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:24:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:24:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:24:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548489216001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:24:25] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:24:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:24:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672132823351296,"km_value":121672132823351.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:24:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791307973046116352,"description":"Unknown IO ID 45"} 
[2026-08-21 13:24:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548489216001,"power":13319,"unknown_100":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8791307973046116352}} 
[2026-08-21 13:24:25] local.INFO: DEBUG: GPS processor result {"connection_id":159052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:24:25] local.INFO: GPS data processed {"connection_id":159052,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:24:25] local.INFO: Acknowledgment sent {"connection_id":159052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:24:30] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:24:30] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:24:30] local.INFO: IMEI packet received {"connection_id":161592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":161592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:24:35] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:24:35] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:24:35] local.INFO: IMEI packet received {"connection_id":161592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":161592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:24:36] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234e86c0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234e86c0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:24:36] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234e86c0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:24:36] local.INFO: Packet analysis {"connection_id":161592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234e"} 
[2026-08-21 13:24:36] local.INFO: Extracted packet for processing {"connection_id":161592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234e"} 
[2026-08-21 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548473088001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298744000,"timestamp_ms":1787298744000,"timestamp_seconds":1787298744,"priority":1,"record_length":96,"hex_timestamp":"000001a0234e86c0"} 
[2026-08-21 13:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385614174434256,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3016753231,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,97,160,226,45,180,76,47,10,66,156,179,79,46,74,1,240,151,227,35,33,4,113,205,166,208,239,49,2,50,7,106,54,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:24:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548666939737374720,"timestamp_seconds":5548666939737375.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548473088001,"66":12591,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548473088001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548473088001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":161592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:24:36] local.INFO: GPS data processed {"connection_id":161592,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:24:36] local.INFO: Acknowledgment sent {"connection_id":161592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:24:48] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:24:48] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:24:48] local.INFO: IMEI packet received {"connection_id":161593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":161593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:24:53] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:24:53] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:24:53] local.INFO: IMEI packet received {"connection_id":161593,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":161593,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:24:54] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234f80c0012d7a158005ec7fe8000e004520..."} 
[2026-08-21 13:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234f80c0012d7a158005ec7fe8000e004520..."} 
[2026-08-21 13:24:54] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234f80c0012d7a158005ec7fe8000e004520..."} 
[2026-08-21 13:24:54] local.INFO: Packet analysis {"connection_id":161593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:24:54] local.INFO: Extracted packet for processing {"connection_id":161593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:24:54] local.INFO: GPS Element Parsed {"raw_longitude":762975616,"raw_latitude":99385320,"longitude_deg":76.2975616,"latitude_deg":9.938532,"altitude":14,"angle":69,"satellites":32,"speed":3,"hex_longitude":"2d7a1580","hex_latitude":"05ec7fe8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548489728001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672386226421760,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791519079278684160,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787298808000,"timestamp_ms":1787298808000,"timestamp_seconds":1787298808,"priority":1,"record_length":96,"hex_timestamp":"000001a0234f80c0"} 
[2026-08-21 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-08-21 13:24: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-08-21 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57777566526625590,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":236,"raw_value":5030520878285135872,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1147404494,"corrected_to":0} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407108,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3966261248,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.WARNING: Large IO value detected {"io_id":78,"raw_value":8583862184600469509,"note":"Value kept but may cause issues"} 
[2026-08-21 13:24:54] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,100,87,24,241,157,16,68,160,42,45,121,14,34,10,66,11,192,118,15,7,128,1,240,138,227,35,236,4,113,205,249,48,239,52,2,176,5,20,27,78],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1147404494,"validated":0}]} 
[2026-08-21 13:24:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008883428374282240,"timestamp_seconds":1008883428374282.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 13:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548489728001,"66":13222,"100":206,"87":13824,"24":3,"16":121672386226421760,"45":8791519079278684160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548489728001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:24:54] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:24:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672386226421760,"km_value":121672386226421.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791519079278684160,"description":"Unknown IO ID 45"} 
[2026-08-21 13:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548489728001,"power":13222,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8791519079278684160}} 
[2026-08-21 13:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":161593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:24:55] local.INFO: GPS data processed {"connection_id":161593,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:24:55] local.INFO: Acknowledgment sent {"connection_id":161593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:25:07] local.INFO: TCP Data received {"connection_id":161592,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234ed8c8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234ed8c8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:25:07] local.INFO: Processing buffer {"connection_id":161592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234ed8c8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:25:07] local.INFO: Packet analysis {"connection_id":161592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234e"} 
[2026-08-21 13:25:07] local.INFO: Extracted packet for processing {"connection_id":161592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234e"} 
[2026-08-21 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548478464001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298765000,"timestamp_ms":1787298765000,"timestamp_seconds":1787298765,"priority":1,"record_length":96,"hex_timestamp":"000001a0234ed8c8"} 
[2026-08-21 13:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548478464001,"66":12667,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548478464001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548478464001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":161592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:25:07] local.INFO: GPS data processed {"connection_id":161592,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:25:07] local.INFO: Acknowledgment sent {"connection_id":161592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:25:26] local.INFO: TCP Data received {"connection_id":161593,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234fbf40012d7a180005ec8118000e003521..."} 
[2026-08-21 13:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234fbf40012d7a180005ec8118000e003521..."} 
[2026-08-21 13:25:26] local.INFO: Processing buffer {"connection_id":161593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234fbf40012d7a180005ec8118000e003521..."} 
[2026-08-21 13:25:26] local.INFO: Packet analysis {"connection_id":161593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:25:26] local.INFO: Extracted packet for processing {"connection_id":161593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":762976256,"raw_latitude":99385624,"longitude_deg":76.2976256,"latitude_deg":9.9385624,"altitude":14,"angle":53,"satellites":33,"speed":3,"hex_longitude":"2d7a1800","hex_latitude":"05ec8118","is_valid_coordinates":true} 
[2026-08-21 13:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548494848001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672420586160128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797078210069129216,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787298824000,"timestamp_ms":1787298824000,"timestamp_seconds":1787298824,"priority":1,"record_length":96,"hex_timestamp":"000001a0234fbf40"} 
[2026-08-21 13:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 13:25:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161593,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548494848001,"66":13493,"100":206,"87":13824,"24":3,"16":121672420586160128,"45":8797078210069129216},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548494848001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:25:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:25:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672420586160128,"km_value":121672420586160.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797078210069129216,"description":"Unknown IO ID 45"} 
[2026-08-21 13:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548494848001,"power":13493,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8797078210069129216}} 
[2026-08-21 13:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":161593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:25:26] local.INFO: GPS data processed {"connection_id":161593,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:25:26] local.INFO: Acknowledgment sent {"connection_id":161593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:25:29] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:29] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:29] local.INFO: IMEI packet received {"connection_id":159054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":159054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:25:30] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:30] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:30] local.INFO: IMEI packet received {"connection_id":159054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":159054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:25:35] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:35] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:25:35] local.INFO: IMEI packet received {"connection_id":159054,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":159054,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:25:36] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234f2ad0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234f2ad0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:25:36] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234f2ad0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:25:36] local.INFO: Packet analysis {"connection_id":159054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:25:36] local.INFO: Extracted packet for processing {"connection_id":159054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548483840001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298786000,"timestamp_ms":1787298786000,"timestamp_seconds":1787298786,"priority":1,"record_length":96,"hex_timestamp":"000001a0234f2ad0"} 
[2026-08-21 13:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 13:25:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548483840001,"66":12613,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548483840001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:25:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:25:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548483840001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:25:36] local.INFO: DEBUG: GPS processor result {"connection_id":159054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:25:36] local.INFO: GPS data processed {"connection_id":159054,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:25:36] local.INFO: Acknowledgment sent {"connection_id":159054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:25:48] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:25:48] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:25:48] local.INFO: IMEI packet received {"connection_id":161594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":161594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:25:53] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:25:53] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:25:53] local.INFO: IMEI packet received {"connection_id":161594,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":161594,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:25:54] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234fc710012d7a188005ec8150000e004b21..."} 
[2026-08-21 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234fc710012d7a188005ec8150000e004b21..."} 
[2026-08-21 13:25:54] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234fc710012d7a188005ec8150000e004b21..."} 
[2026-08-21 13:25:54] local.INFO: Packet analysis {"connection_id":161594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:25:54] local.INFO: Extracted packet for processing {"connection_id":161594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:25:54] local.INFO: GPS Element Parsed {"raw_longitude":762976384,"raw_latitude":99385680,"longitude_deg":76.2976384,"latitude_deg":9.938568,"altitude":14,"angle":75,"satellites":33,"speed":3,"hex_longitude":"2d7a1880","hex_latitude":"05ec8150","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548498944001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672429176094720,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797781897510983680,"note":"Value kept but may cause issues"} 
[2026-08-21 13:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787298826000,"timestamp_ms":1787298826000,"timestamp_seconds":1787298826,"priority":1,"record_length":96,"hex_timestamp":"000001a0234fc710"} 
[2026-08-21 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-08-21 13:25: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-08-21 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 13:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 13:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":161594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":161594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":161594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548498944001,"66":13102,"100":206,"87":13824,"24":3,"16":121672429176094720,"45":8797781897510983680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548498944001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:25:54] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:25:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672429176094720,"km_value":121672429176094.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797781897510983680,"description":"Unknown IO ID 45"} 
[2026-08-21 13:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548498944001,"power":13102,"unknown_100":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8797781897510983680}} 
[2026-08-21 13:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":161594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:25:54] local.INFO: GPS data processed {"connection_id":161594,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:25:54] local.INFO: Acknowledgment sent {"connection_id":161594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:26:07] local.INFO: TCP Data received {"connection_id":159054,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234f7cd8012d1821c00721b298004d00d32e..."} 
[2026-08-21 13:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234f7cd8012d1821c00721b298004d00d32e..."} 
[2026-08-21 13:26:07] local.INFO: Processing buffer {"connection_id":159054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234f7cd8012d1821c00721b298004d00d32e..."} 
[2026-08-21 13:26:07] local.INFO: Packet analysis {"connection_id":159054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:26:07] local.INFO: Extracted packet for processing {"connection_id":159054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548489216001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298807000,"timestamp_ms":1787298807000,"timestamp_seconds":1787298807,"priority":1,"record_length":96,"hex_timestamp":"000001a0234f7cd8"} 
[2026-08-21 13:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159054,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548489216001,"66":12613,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548489216001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:26:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548489216001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":159054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:26:07] local.INFO: GPS data processed {"connection_id":159054,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:26:07] local.INFO: Acknowledgment sent {"connection_id":159054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:26:08] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:26:08] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:26:08] local.INFO: IMEI packet received {"connection_id":161595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":161595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:26:09] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02350a5b8012ddd3e80050dd0c00010002330..."} 
[2026-08-21 13:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350a5b8012ddd3e80050dd0c00010002330..."} 
[2026-08-21 13:26:09] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350a5b8012ddd3e80050dd0c00010002330..."} 
[2026-08-21 13:26:09] local.INFO: Packet analysis {"connection_id":161595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:26:09] local.INFO: Extracted packet for processing {"connection_id":161595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:26:09] local.INFO: GPS Element Parsed {"raw_longitude":769474176,"raw_latitude":84791488,"longitude_deg":76.9474176,"latitude_deg":8.4791488,"altitude":16,"angle":35,"satellites":48,"speed":16,"hex_longitude":"2ddd3e80","hex_latitude":"050dd0c0","is_valid_coordinates":true} 
[2026-08-21 13:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548513792001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388231929360547840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2504775427297398784,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787298883000,"timestamp_ms":1787298883000,"timestamp_seconds":1787298883,"priority":1,"record_length":96,"hex_timestamp":"000001a02350a5b8"} 
[2026-08-21 13:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 13:26:09] 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-08-21 13:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548513792001,"66":28104,"212":206,"80":33792,"24":16,"16":388231929360547840,"45":-2504775427297398784},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-08-21 13:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548513792001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:26:09] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-21 13:26:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388231929360547840,"km_value":388231929360547.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2504775427297398784,"description":"Unknown IO ID 45"} 
[2026-08-21 13:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548513792001,"power":28104,"unknown_212":206,"unknown_80":33792,"ignition":16,"odometer":null,"unknown_45":-2504775427297398784}} 
[2026-08-21 13:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":161595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:26:09] local.INFO: GPS data processed {"connection_id":161595,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:26:09] local.INFO: Acknowledgment sent {"connection_id":161595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:26:26] local.INFO: TCP Data received {"connection_id":161594,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0234ff9d8012d7a180005ec8118000e00ed21..."} 
[2026-08-21 13:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234ff9d8012d7a180005ec8118000e00ed21..."} 
[2026-08-21 13:26:26] local.INFO: Processing buffer {"connection_id":161594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234ff9d8012d7a180005ec8118000e00ed21..."} 
[2026-08-21 13:26:26] local.INFO: Packet analysis {"connection_id":161594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:26:26] local.INFO: Extracted packet for processing {"connection_id":161594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":762976256,"raw_latitude":99385624,"longitude_deg":76.2976256,"latitude_deg":9.9385624,"altitude":14,"angle":237,"satellites":33,"speed":1,"hex_longitude":"2d7a1800","hex_latitude":"05ec8118","is_valid_coordinates":true} 
[2026-08-21 13:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548499456001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672437766029312,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797922634999353344,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787298839000,"timestamp_ms":1787298839000,"timestamp_seconds":1787298839,"priority":1,"record_length":96,"hex_timestamp":"000001a0234ff9d8"} 
[2026-08-21 13:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:26:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":161594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":161594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":161594,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548499456001,"66":13341,"100":206,"87":13824,"24":1,"16":121672437766029312,"45":8797922634999353344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548499456001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:26:26] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:26:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672437766029312,"km_value":121672437766029.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797922634999353344,"description":"Unknown IO ID 45"} 
[2026-08-21 13:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548499456001,"power":13341,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8797922634999353344}} 
[2026-08-21 13:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":161594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675766,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:26:26] local.INFO: GPS data processed {"connection_id":161594,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:26:26] local.INFO: Acknowledgment sent {"connection_id":161594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:26:30] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:30] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:30] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:26:32] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:32] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:32] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:26:35] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:35] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:26:35] local.INFO: IMEI packet received {"connection_id":160235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":160235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:26:36] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0234fcee0012d1821c00721b298004d00d32e..."} 
[2026-08-21 13:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0234fcee0012d1821c00721b298004d00d32e..."} 
[2026-08-21 13:26:36] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0234fcee0012d1821c00721b298004d00d32e..."} 
[2026-08-21 13:26:36] local.INFO: Packet analysis {"connection_id":160235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:26:36] local.INFO: Extracted packet for processing {"connection_id":160235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0234f"} 
[2026-08-21 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548494592001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298828000,"timestamp_ms":1787298828000,"timestamp_seconds":1787298828,"priority":1,"record_length":96,"hex_timestamp":"000001a0234fcee0"} 
[2026-08-21 13:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548494592001,"66":12667,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548494592001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:26:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548494592001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":160235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:26:36] local.INFO: GPS data processed {"connection_id":160235,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:26:36] local.INFO: Acknowledgment sent {"connection_id":160235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:26:40] local.INFO: TCP Data received {"connection_id":161595,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02350a9a0012ddd3f00050dd2480010001130..."} 
[2026-08-21 13:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350a9a0012ddd3f00050dd2480010001130..."} 
[2026-08-21 13:26:40] local.INFO: Processing buffer {"connection_id":161595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350a9a0012ddd3f00050dd2480010001130..."} 
[2026-08-21 13:26:40] local.INFO: Packet analysis {"connection_id":161595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:26:40] local.INFO: Extracted packet for processing {"connection_id":161595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":769474304,"raw_latitude":84791880,"longitude_deg":76.9474304,"latitude_deg":8.479188,"altitude":16,"angle":17,"satellites":48,"speed":17,"hex_longitude":"2ddd3f00","hex_latitude":"050dd248","is_valid_coordinates":true} 
[2026-08-21 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548514048001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388231950835384320,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2504423583576440832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787298884000,"timestamp_ms":1787298884000,"timestamp_seconds":1787298884,"priority":1,"record_length":96,"hex_timestamp":"000001a02350a9a0"} 
[2026-08-21 13:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 13:26:40] 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-08-21 13:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548514048001,"66":28104,"212":206,"80":33792,"24":17,"16":388231950835384320,"45":-2504423583576440832},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-08-21 13:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548514048001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:26:40] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-21 13:26:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388231950835384320,"km_value":388231950835384.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2504423583576440832,"description":"Unknown IO ID 45"} 
[2026-08-21 13:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548514048001,"power":28104,"unknown_212":206,"unknown_80":33792,"ignition":17,"odometer":null,"unknown_45":-2504423583576440832}} 
[2026-08-21 13:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":161595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:26:40] local.INFO: GPS data processed {"connection_id":161595,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:26:40] local.INFO: Acknowledgment sent {"connection_id":161595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:26:53] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:26:53] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:26:53] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:26:58] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:26:58] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:26:58] local.INFO: IMEI packet received {"connection_id":160236,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":160236,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:26:59] local.INFO: TCP Data received {"connection_id":160236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023503470012d7a160005ec80e8000d010c21..."} 
[2026-08-21 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023503470012d7a160005ec80e8000d010c21..."} 
[2026-08-21 13:26:59] local.INFO: Processing buffer {"connection_id":160236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023503470012d7a160005ec80e8000d010c21..."} 
[2026-08-21 13:26:59] local.INFO: Packet analysis {"connection_id":160236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:26:59] local.INFO: Extracted packet for processing {"connection_id":160236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:26:59] local.INFO: GPS Element Parsed {"raw_longitude":762975744,"raw_latitude":99385576,"longitude_deg":76.2975744,"latitude_deg":9.9385576,"altitude":13,"angle":268,"satellites":33,"speed":1,"hex_longitude":"2d7a1600","hex_latitude":"05ec80e8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548502784001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672459240865792,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797781897510983680,"note":"Value kept but may cause issues"} 
[2026-08-21 13:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787298854000,"timestamp_ms":1787298854000,"timestamp_seconds":1787298854,"priority":1,"record_length":96,"hex_timestamp":"000001a023503470"} 
[2026-08-21 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-08-21 13:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 13:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 13:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160236,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548502784001,"66":13450,"100":206,"87":13824,"24":1,"16":121672459240865792,"45":8797781897510983680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,87,24,16,45]} 
[2026-08-21 13:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 13:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 13:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548502784001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:26:59] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-08-21 13:26:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 13:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121672459240865792,"km_value":121672459240865.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797781897510983680,"description":"Unknown IO ID 45"} 
[2026-08-21 13:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548502784001,"power":13450,"unknown_100":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8797781897510983680}} 
[2026-08-21 13:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":160236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:26:59] local.INFO: GPS data processed {"connection_id":160236,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:26:59] local.INFO: Acknowledgment sent {"connection_id":160236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:27:02] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:27:02] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:27:02] local.INFO: IMEI packet received {"connection_id":161596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":161596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:27:07] local.INFO: TCP Data received {"connection_id":160235,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235020e8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235020e8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:27:07] local.INFO: Processing buffer {"connection_id":160235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235020e8012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:27:07] local.INFO: Packet analysis {"connection_id":160235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:07] local.INFO: Extracted packet for processing {"connection_id":160235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548499968001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298849000,"timestamp_ms":1787298849000,"timestamp_seconds":1787298849,"priority":1,"record_length":96,"hex_timestamp":"000001a0235020e8"} 
[2026-08-21 13:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 13:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548499968001,"66":12667,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548499968001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:27:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548499968001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":160235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:27:07] local.INFO: GPS data processed {"connection_id":160235,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:27:07] local.INFO: Acknowledgment sent {"connection_id":160235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:27:08] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:27:08] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:27:08] local.INFO: IMEI packet received {"connection_id":161596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":161596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:27:08] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02350ad88012ddd3f80050dd418001000022e..."} 
[2026-08-21 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350ad88012ddd3f80050dd418001000022e..."} 
[2026-08-21 13:27:08] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350ad88012ddd3f80050dd418001000022e..."} 
[2026-08-21 13:27:08] local.INFO: Packet analysis {"connection_id":161596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:08] local.INFO: Extracted packet for processing {"connection_id":161596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:08] local.INFO: GPS Element Parsed {"raw_longitude":769474432,"raw_latitude":84792344,"longitude_deg":76.9474432,"latitude_deg":8.4792344,"altitude":16,"angle":2,"satellites":46,"speed":18,"hex_longitude":"2ddd3f80","hex_latitude":"050dd418","is_valid_coordinates":true} 
[2026-08-21 13:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548514304001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388231972310220800,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2504282846087985152,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787298885000,"timestamp_ms":1787298885000,"timestamp_seconds":1787298885,"priority":1,"record_length":96,"hex_timestamp":"000001a02350ad88"} 
[2026-08-21 13:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:27: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":200,"data_length":795,"current_offset":136} 
[2026-08-21 13:27:08] 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-08-21 13:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548514304001,"66":27843,"212":206,"80":33792,"24":18,"16":388231972310220800,"45":-2504282846087985152},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-08-21 13:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548514304001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:27:08] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-21 13:27:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388231972310220800,"km_value":388231972310220.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2504282846087985152,"description":"Unknown IO ID 45"} 
[2026-08-21 13:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548514304001,"power":27843,"unknown_212":206,"unknown_80":33792,"ignition":18,"odometer":null,"unknown_45":-2504282846087985152}} 
[2026-08-21 13:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":161596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:27:08] local.INFO: GPS data processed {"connection_id":161596,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:27:08] local.INFO: Acknowledgment sent {"connection_id":161596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:27:30] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:27:30] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:27:30] local.INFO: IMEI packet received {"connection_id":161597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":161597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:27:35] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:27:35] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:27:35] local.INFO: IMEI packet received {"connection_id":161597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":161597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:27:36] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235072f0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235072f0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:27:36] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235072f0012d1821c00721b298004d00d32f..."} 
[2026-08-21 13:27:36] local.INFO: Packet analysis {"connection_id":161597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:36] local.INFO: Extracted packet for processing {"connection_id":161597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119648920,"longitude_deg":75.6556224,"latitude_deg":11.964892,"altitude":77,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-08-21 13:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548505344001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180465887936512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787298870000,"timestamp_ms":1787298870000,"timestamp_seconds":1787298870,"priority":1,"record_length":96,"hex_timestamp":"000001a0235072f0"} 
[2026-08-21 13:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 13:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548505344001,"66":12613,"105":206,"83":41984,"24":0,"16":14180465887936512,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548505344001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:27:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180465887936512,"km_value":14180465887936.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548505344001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":161597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:27:36] local.INFO: GPS data processed {"connection_id":161597,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:27:36] local.INFO: Acknowledgment sent {"connection_id":161597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:27:39] local.INFO: TCP Data received {"connection_id":161596,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02350b940012ddd4080050dd978001100202f..."} 
[2026-08-21 13:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350b940012ddd4080050dd978001100202f..."} 
[2026-08-21 13:27:39] local.INFO: Processing buffer {"connection_id":161596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350b940012ddd4080050dd978001100202f..."} 
[2026-08-21 13:27:39] local.INFO: Packet analysis {"connection_id":161596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:39] local.INFO: Extracted packet for processing {"connection_id":161596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:27:39] local.INFO: GPS Element Parsed {"raw_longitude":769474688,"raw_latitude":84793720,"longitude_deg":76.9474688,"latitude_deg":8.479372,"altitude":17,"angle":32,"satellites":47,"speed":16,"hex_longitude":"2ddd4080","hex_latitude":"050dd978","is_valid_coordinates":true} 
[2026-08-21 13:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548514560001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388232041029697536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2504142108599511040,"note":"Value kept but may cause issues"} 
[2026-08-21 13:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787298888000,"timestamp_ms":1787298888000,"timestamp_seconds":1787298888,"priority":1,"record_length":96,"hex_timestamp":"000001a02350b940"} 
[2026-08-21 13:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 13:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548514560001,"66":27745,"212":206,"80":33792,"24":16,"16":388232041029697536,"45":-2504142108599511040},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-08-21 13:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548514560001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:27:39] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-21 13:27:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388232041029697536,"km_value":388232041029697.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2504142108599511040,"description":"Unknown IO ID 45"} 
[2026-08-21 13:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548514560001,"power":27745,"unknown_212":206,"unknown_80":33792,"ignition":16,"odometer":null,"unknown_45":-2504142108599511040}} 
[2026-08-21 13:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":161596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:27:39] local.INFO: GPS data processed {"connection_id":161596,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:27:39] local.INFO: Acknowledgment sent {"connection_id":161596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:28:05] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:05] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:05] local.INFO: IMEI packet received {"connection_id":159055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":159055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:28:07] local.INFO: TCP Data received {"connection_id":161597,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02350c4f8012d1820400721b108004c00d72d..."} 
[2026-08-21 13:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350c4f8012d1820400721b108004c00d72d..."} 
[2026-08-21 13:28:07] local.INFO: Processing buffer {"connection_id":161597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350c4f8012d1820400721b108004c00d72d..."} 
[2026-08-21 13:28:07] local.INFO: Packet analysis {"connection_id":161597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:28:07] local.INFO: Extracted packet for processing {"connection_id":161597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548510720001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004378624,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787298891000,"timestamp_ms":1787298891000,"timestamp_seconds":1787298891,"priority":1,"record_length":96,"hex_timestamp":"000001a02350c4f8"} 
[2026-08-21 13:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548510720001,"66":12613,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738882068004378624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548510720001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:28:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004378624,"description":"Unknown IO ID 45"} 
[2026-08-21 13:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548510720001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004378624}} 
[2026-08-21 13:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":161597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:28:07] local.INFO: GPS data processed {"connection_id":161597,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:28:07] local.INFO: Acknowledgment sent {"connection_id":161597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:28:09] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:09] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:09] local.INFO: IMEI packet received {"connection_id":159055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":159055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:28:13] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:13] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:13] local.INFO: IMEI packet received {"connection_id":159055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":159055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:28:14] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02350bd28012ddd41c0050ddaa80011003230..."} 
[2026-08-21 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350bd28012ddd41c0050ddaa80011003230..."} 
[2026-08-21 13:28:14] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350bd28012ddd41c0050ddaa80011003230..."} 
[2026-08-21 13:28:14] local.INFO: Packet analysis {"connection_id":159055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:28:14] local.INFO: Extracted packet for processing {"connection_id":159055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:28:14] local.INFO: GPS Element Parsed {"raw_longitude":769475008,"raw_latitude":84794024,"longitude_deg":76.9475008,"latitude_deg":8.4794024,"altitude":17,"angle":50,"satellites":48,"speed":15,"hex_longitude":"2ddd41c0","hex_latitude":"050ddaa8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548515328001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388232062504534016,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2503860633622448128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787298889000,"timestamp_ms":1787298889000,"timestamp_seconds":1787298889,"priority":1,"record_length":96,"hex_timestamp":"000001a02350bd28"} 
[2026-08-21 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-08-21 13:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 13:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 13:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548515328001,"66":27865,"212":206,"80":33792,"24":15,"16":388232062504534016,"45":-2503860633622448128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-08-21 13:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548515328001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:28:14] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-21 13:28:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388232062504534016,"km_value":388232062504534.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2503860633622448128,"description":"Unknown IO ID 45"} 
[2026-08-21 13:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548515328001,"power":27865,"unknown_212":206,"unknown_80":33792,"ignition":15,"odometer":null,"unknown_45":-2503860633622448128}} 
[2026-08-21 13:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":159055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:28:14] local.INFO: GPS data processed {"connection_id":159055,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:28:14] local.INFO: Acknowledgment sent {"connection_id":159055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:28:18] local.INFO: TCP Data received {"connection_id":159055,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02350c110012ddd4300050ddb68001100472f..."} 
[2026-08-21 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350c110012ddd4300050ddb68001100472f..."} 
[2026-08-21 13:28:18] local.INFO: Processing buffer {"connection_id":159055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350c110012ddd4300050ddb68001100472f..."} 
[2026-08-21 13:28:18] local.INFO: Packet analysis {"connection_id":159055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:28:18] local.INFO: Extracted packet for processing {"connection_id":159055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:28:18] local.INFO: GPS Element Parsed {"raw_longitude":769475328,"raw_latitude":84794216,"longitude_deg":76.9475328,"latitude_deg":8.4794216,"altitude":17,"angle":71,"satellites":47,"speed":16,"hex_longitude":"2ddd4300","hex_latitude":"050ddb68","is_valid_coordinates":true} 
[2026-08-21 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548515584001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388232079684403200,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2503508789901481984,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787298890000,"timestamp_ms":1787298890000,"timestamp_seconds":1787298890,"priority":1,"record_length":96,"hex_timestamp":"000001a02350c110"} 
[2026-08-21 13:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:28: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-08-21 13:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548515584001,"66":27865,"212":206,"80":33792,"24":16,"16":388232079684403200,"45":-2503508789901481984},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-08-21 13:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548515584001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:28:18] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-21 13:28:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388232079684403200,"km_value":388232079684403.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2503508789901481984,"description":"Unknown IO ID 45"} 
[2026-08-21 13:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548515584001,"power":27865,"unknown_212":206,"unknown_80":33792,"ignition":16,"odometer":null,"unknown_45":-2503508789901481984}} 
[2026-08-21 13:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":159055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:28:18] local.INFO: GPS data processed {"connection_id":159055,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:28:18] local.INFO: Acknowledgment sent {"connection_id":159055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:28:35] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:28:35] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:28:35] local.INFO: IMEI packet received {"connection_id":161598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":161598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:28:38] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:28:38] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:28:38] local.INFO: IMEI packet received {"connection_id":161598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":161598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:28:39] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023511700012d1820400721b108004c00d72d..."} 
[2026-08-21 13:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023511700012d1820400721b108004c00d72d..."} 
[2026-08-21 13:28:39] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023511700012d1820400721b108004c00d72d..."} 
[2026-08-21 13:28:39] local.INFO: Packet analysis {"connection_id":161598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02351"} 
[2026-08-21 13:28:39] local.INFO: Extracted packet for processing {"connection_id":161598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02351"} 
[2026-08-21 13:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548516096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787298912000,"timestamp_ms":1787298912000,"timestamp_seconds":1787298912,"priority":1,"record_length":96,"hex_timestamp":"000001a023511700"} 
[2026-08-21 13:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548516096001,"66":12667,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548516096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:28:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548516096001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":161598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:28:39] local.INFO: GPS data processed {"connection_id":161598,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:28:39] local.INFO: Acknowledgment sent {"connection_id":161598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:28:40] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023516908012d1820400721b108004c00d72f..."} 
[2026-08-21 13:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023516908012d1820400721b108004c00d72f..."} 
[2026-08-21 13:28:40] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023516908012d1820400721b108004c00d72f..."} 
[2026-08-21 13:28:40] local.INFO: Packet analysis {"connection_id":161598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02351"} 
[2026-08-21 13:28:40] local.INFO: Extracted packet for processing {"connection_id":161598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02351"} 
[2026-08-21 13:28:40] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548521472001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787298933000,"timestamp_ms":1787298933000,"timestamp_seconds":1787298933,"priority":1,"record_length":96,"hex_timestamp":"000001a023516908"} 
[2026-08-21 13:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 13:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548521472001,"66":12667,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548521472001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:28:40] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:28:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548521472001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":161598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:28:40] local.INFO: GPS data processed {"connection_id":161598,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:28:40] local.INFO: Acknowledgment sent {"connection_id":161598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:28:58] local.INFO: TCP Data received {"connection_id":159336,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:58] local.INFO: Processing buffer {"connection_id":159336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:28:58] local.INFO: IMEI packet received {"connection_id":159336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:29:06] local.INFO: TCP Data received {"connection_id":159336,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:29:06] local.INFO: Processing buffer {"connection_id":159336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:29:06] local.INFO: IMEI packet received {"connection_id":159336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":159336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:29:11] local.INFO: TCP Data received {"connection_id":161598,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02351bb10012d1820400721b108004c00d72f..."} 
[2026-08-21 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02351bb10012d1820400721b108004c00d72f..."} 
[2026-08-21 13:29:11] local.INFO: Processing buffer {"connection_id":161598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02351bb10012d1820400721b108004c00d72f..."} 
[2026-08-21 13:29:11] local.INFO: Packet analysis {"connection_id":161598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02351"} 
[2026-08-21 13:29:11] local.INFO: Extracted packet for processing {"connection_id":161598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02351"} 
[2026-08-21 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548526848001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787298954000,"timestamp_ms":1787298954000,"timestamp_seconds":1787298954,"priority":1,"record_length":96,"hex_timestamp":"000001a02351bb10"} 
[2026-08-21 13:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 13:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548526848001,"66":12645,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548526848001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:29:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548526848001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":161598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:29:11] local.INFO: GPS data processed {"connection_id":161598,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:29:11] local.INFO: Acknowledgment sent {"connection_id":161598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:29:15] local.INFO: TCP Data received {"connection_id":159336,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02350c4f8012ddd44c0050ddba0001100572f..."} 
[2026-08-21 13:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02350c4f8012ddd44c0050ddba0001100572f..."} 
[2026-08-21 13:29:15] local.INFO: Processing buffer {"connection_id":159336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02350c4f8012ddd44c0050ddba0001100572f..."} 
[2026-08-21 13:29:15] local.INFO: Packet analysis {"connection_id":159336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:29:15] local.INFO: Extracted packet for processing {"connection_id":159336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02350"} 
[2026-08-21 13:29:15] local.INFO: GPS Element Parsed {"raw_longitude":769475776,"raw_latitude":84794272,"longitude_deg":76.9475776,"latitude_deg":8.4794272,"altitude":17,"angle":87,"satellites":47,"speed":18,"hex_longitude":"2ddd44c0","hex_latitude":"050ddba0","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548515840001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388232101159239680,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2503156946180544512,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787298891000,"timestamp_ms":1787298891000,"timestamp_seconds":1787298891,"priority":1,"record_length":96,"hex_timestamp":"000001a02350c4f8"} 
[2026-08-21 13:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548515840001,"66":27865,"212":206,"80":33792,"24":18,"16":388232101159239680,"45":-2503156946180544512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,80,24,16,45]} 
[2026-08-21 13:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548515840001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:29:15] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-08-21 13:29:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388232101159239680,"km_value":388232101159239.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2503156946180544512,"description":"Unknown IO ID 45"} 
[2026-08-21 13:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548515840001,"power":27865,"unknown_212":206,"unknown_80":33792,"ignition":18,"odometer":null,"unknown_45":-2503156946180544512}} 
[2026-08-21 13:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":159336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:29:15] local.INFO: GPS data processed {"connection_id":159336,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:29:15] local.INFO: Acknowledgment sent {"connection_id":159336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:29:30] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:29:30] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:29:30] local.INFO: IMEI packet received {"connection_id":159056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":159056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:29:35] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:29:35] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:29:35] local.INFO: IMEI packet received {"connection_id":159056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":159056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:29:35] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023520d18012d1820400721b108004c00d72f..."} 
[2026-08-21 13:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023520d18012d1820400721b108004c00d72f..."} 
[2026-08-21 13:29:35] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023520d18012d1820400721b108004c00d72f..."} 
[2026-08-21 13:29:35] local.INFO: Packet analysis {"connection_id":159056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02352"} 
[2026-08-21 13:29:35] local.INFO: Extracted packet for processing {"connection_id":159056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02352"} 
[2026-08-21 13:29:35] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548532224001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787298975000,"timestamp_ms":1787298975000,"timestamp_seconds":1787298975,"priority":1,"record_length":96,"hex_timestamp":"000001a023520d18"} 
[2026-08-21 13:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 13:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548532224001,"66":12602,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548532224001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:29:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:29:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548532224001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":159056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:29:36] local.INFO: GPS data processed {"connection_id":159056,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:29:36] local.INFO: Acknowledgment sent {"connection_id":159056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:29:57] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:29:57] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:29:57] local.INFO: IMEI packet received {"connection_id":161599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":161599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:30:02] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:30:02] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:30:02] local.INFO: IMEI packet received {"connection_id":161599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":161599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:30:03] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023547e18012dde4500050de260000b003030..."} 
[2026-08-21 13:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023547e18012dde4500050de260000b003030..."} 
[2026-08-21 13:30:03] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023547e18012dde4500050de260000b003030..."} 
[2026-08-21 13:30:03] local.INFO: Packet analysis {"connection_id":161599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:30:03] local.INFO: Extracted packet for processing {"connection_id":161599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":769541376,"raw_latitude":84796000,"longitude_deg":76.9541376,"latitude_deg":8.4796,"altitude":11,"angle":48,"satellites":48,"speed":7,"hex_longitude":"2dde4500","hex_latitude":"050de260","is_valid_coordinates":true} 
[2026-08-21 13:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548578048001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235266550136832,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430817877165488128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299135000,"timestamp_ms":1787299135000,"timestamp_seconds":1787299135,"priority":1,"record_length":96,"hex_timestamp":"000001a023547e18"} 
[2026-08-21 13:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 13:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:30: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-08-21 13:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548578048001,"66":27767,"23":206,"80":33792,"24":7,"16":388235266550136832,"45":-2430817877165488128},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548578048001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:30:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235266550136832,"km_value":388235266550136.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430817877165488128,"description":"Unknown IO ID 45"} 
[2026-08-21 13:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548578048001,"power":27767,"unknown_23":206,"unknown_80":33792,"ignition":7,"odometer":null,"unknown_45":-2430817877165488128}} 
[2026-08-21 13:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":161599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:30:03] local.INFO: GPS data processed {"connection_id":161599,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:30:03] local.INFO: Acknowledgment sent {"connection_id":161599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:30:07] local.INFO: TCP Data received {"connection_id":159056,"ip":"42.109.136.2","data_length":93,"data_hex":"00000000000000518e01000001a023525f20012d1820400721b108004c00d72f..."} 
[2026-08-21 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159056,"packet_length":93,"packet_hex":"00000000000000518e01000001a023525f20012d1820400721b108004c00d72f..."} 
[2026-08-21 13:30:07] local.INFO: Processing buffer {"connection_id":159056,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a023525f20012d1820400721b108004c00d72f..."} 
[2026-08-21 13:30:07] local.INFO: Packet analysis {"connection_id":159056,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a02352"} 
[2026-08-21 13:30:07] local.INFO: Extracted packet for processing {"connection_id":159056,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a02352"} 
[2026-08-21 13:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-21 13:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:30:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:30:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 13:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159056,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 13:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 13:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159056,"device_imei":"862567074811360","avl_records_count":0} 
[2026-08-21 13:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 13:30:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 13:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":159056,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 13:30:07] local.ERROR: GPS data processing failed {"connection_id":159056,"error":"No valid data to process"} 
[2026-08-21 13:30:07] local.INFO: Acknowledgment sent {"connection_id":159056,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 13:30:30] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:30:30] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:30:30] local.INFO: IMEI packet received {"connection_id":161600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":161600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:30:34] local.INFO: TCP Data received {"connection_id":161599,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023548200012dde4580050de2f8000b00212f..."} 
[2026-08-21 13:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023548200012dde4580050de2f8000b00212f..."} 
[2026-08-21 13:30:34] local.INFO: Processing buffer {"connection_id":161599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023548200012dde4580050de2f8000b00212f..."} 
[2026-08-21 13:30:34] local.INFO: Packet analysis {"connection_id":161599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:30:34] local.INFO: Extracted packet for processing {"connection_id":161599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":769541504,"raw_latitude":84796152,"longitude_deg":76.9541504,"latitude_deg":8.4796152,"altitude":11,"angle":33,"satellites":47,"speed":8,"hex_longitude":"2dde4580","hex_latitude":"050de2f8","is_valid_coordinates":true} 
[2026-08-21 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548578560001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235275140071424,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430536402188738560,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299136000,"timestamp_ms":1787299136000,"timestamp_seconds":1787299136,"priority":1,"record_length":96,"hex_timestamp":"000001a023548200"} 
[2026-08-21 13:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 13:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548578560001,"66":27767,"23":206,"80":33792,"24":8,"16":388235275140071424,"45":-2430536402188738560},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548578560001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:30:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235275140071424,"km_value":388235275140071.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430536402188738560,"description":"Unknown IO ID 45"} 
[2026-08-21 13:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548578560001,"power":27767,"unknown_23":206,"unknown_80":33792,"ignition":8,"odometer":null,"unknown_45":-2430536402188738560}} 
[2026-08-21 13:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":161599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:30:34] local.INFO: GPS data processed {"connection_id":161599,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:30:34] local.INFO: Acknowledgment sent {"connection_id":161599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:30:35] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:30:35] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:30:35] local.INFO: IMEI packet received {"connection_id":161600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":161600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:30:36] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02352b128012d1820400721b108004c00d72e..."} 
[2026-08-21 13:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02352b128012d1820400721b108004c00d72e..."} 
[2026-08-21 13:30:36] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02352b128012d1820400721b108004c00d72e..."} 
[2026-08-21 13:30:36] local.INFO: Packet analysis {"connection_id":161600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02352"} 
[2026-08-21 13:30:36] local.INFO: Extracted packet for processing {"connection_id":161600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02352"} 
[2026-08-21 13:30:36] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548542976001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:30:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299017000,"timestamp_ms":1787299017000,"timestamp_seconds":1787299017,"priority":1,"record_length":96,"hex_timestamp":"000001a02352b128"} 
[2026-08-21 13:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:30:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:30:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 13:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:30:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548542976001,"66":12602,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548542976001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:30:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:30:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548542976001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":161600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:30:36] local.INFO: GPS data processed {"connection_id":161600,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:30:36] local.INFO: Acknowledgment sent {"connection_id":161600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:30:57] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:30:57] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:30:57] local.INFO: IMEI packet received {"connection_id":161601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:31:03] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:31:03] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:31:03] local.INFO: IMEI packet received {"connection_id":161601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":161601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:31:04] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a023549588012dde4600050de498000a001630..."} 
[2026-08-21 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023549588012dde4600050de498000a001630..."} 
[2026-08-21 13:31:04] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023549588012dde4600050de498000a001630..."} 
[2026-08-21 13:31:04] local.INFO: Packet analysis {"connection_id":161601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:31:04] local.INFO: Extracted packet for processing {"connection_id":161601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:31:04] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84796568,"longitude_deg":76.9541632,"latitude_deg":8.4796568,"altitude":10,"angle":22,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de498","is_valid_coordinates":true} 
[2026-08-21 13:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548578816001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430395664700344320,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787299141000,"timestamp_ms":1787299141000,"timestamp_seconds":1787299141,"priority":1,"record_length":96,"hex_timestamp":"000001a023549588"} 
[2026-08-21 13:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:31: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-08-21 13:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 13:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548578816001,"66":27865,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430395664700344320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548578816001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:31:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:31:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430395664700344320,"description":"Unknown IO ID 45"} 
[2026-08-21 13:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548578816001,"power":27865,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430395664700344320}} 
[2026-08-21 13:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":161601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:31:04] local.INFO: GPS data processed {"connection_id":161601,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:31:04] local.INFO: Acknowledgment sent {"connection_id":161601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:31:07] local.INFO: TCP Data received {"connection_id":161600,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023530330012d1820400721b108004c00d72c..."} 
[2026-08-21 13:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023530330012d1820400721b108004c00d72c..."} 
[2026-08-21 13:31:07] local.INFO: Processing buffer {"connection_id":161600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023530330012d1820400721b108004c00d72c..."} 
[2026-08-21 13:31:07] local.INFO: Packet analysis {"connection_id":161600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:31:07] local.INFO: Extracted packet for processing {"connection_id":161600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:31:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548548352001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299038000,"timestamp_ms":1787299038000,"timestamp_seconds":1787299038,"priority":1,"record_length":96,"hex_timestamp":"000001a023530330"} 
[2026-08-21 13:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 13:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548548352001,"66":12645,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548548352001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:31:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:31:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548548352001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":161600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:31:07] local.INFO: GPS data processed {"connection_id":161600,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:31:07] local.INFO: Acknowledgment sent {"connection_id":161600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:31:30] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:31:30] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:31:30] local.INFO: IMEI packet received {"connection_id":161602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":161602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:31:35] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:31:35] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:31:35] local.INFO: IMEI packet received {"connection_id":161602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:31:35] local.INFO: IMEI acknowledgment sent {"connection_id":161602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:31:35] local.INFO: TCP Data received {"connection_id":161601,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:31:35] local.INFO: Processing buffer {"connection_id":161601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:31:35] local.INFO: Packet analysis {"connection_id":161601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:31:35] local.INFO: Extracted packet for processing {"connection_id":161601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84797328,"longitude_deg":76.9541632,"latitude_deg":8.4797328,"altitude":10,"angle":9,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de790","is_valid_coordinates":true} 
[2026-08-21 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211882496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299146000,"timestamp_ms":1787299146000,"timestamp_seconds":1787299146,"priority":1,"record_length":96,"hex_timestamp":"000001a02354a910"} 
[2026-08-21 13:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:31:35] 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-08-21 13:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580096001,"66":27213,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211882496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211882496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580096001,"power":27213,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211882496}} 
[2026-08-21 13:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":161601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:31:35] local.INFO: GPS data processed {"connection_id":161601,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:31:35] local.INFO: Acknowledgment sent {"connection_id":161601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:31:35] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023535538012d1820400721b108004c00d72d..."} 
[2026-08-21 13:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023535538012d1820400721b108004c00d72d..."} 
[2026-08-21 13:31:35] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023535538012d1820400721b108004c00d72d..."} 
[2026-08-21 13:31:35] local.INFO: Packet analysis {"connection_id":161602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:31:35] local.INFO: Extracted packet for processing {"connection_id":161602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548553728001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299059000,"timestamp_ms":1787299059000,"timestamp_seconds":1787299059,"priority":1,"record_length":96,"hex_timestamp":"000001a023535538"} 
[2026-08-21 13:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 13:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548553728001,"66":12548,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548553728001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548553728001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":161602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:31:36] local.INFO: GPS data processed {"connection_id":161602,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:31:36] local.INFO: Acknowledgment sent {"connection_id":161602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:31:57] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:31:57] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:31:57] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:32:03] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:32:03] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:32:03] local.INFO: IMEI packet received {"connection_id":160237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":160237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:32:03] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:32:03] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:32:03] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:32:03] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:32:03] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84797328,"longitude_deg":76.9541632,"latitude_deg":8.4797328,"altitude":10,"angle":9,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de790","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211882496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299146000,"timestamp_ms":1787299146000,"timestamp_seconds":1787299146,"priority":1,"record_length":96,"hex_timestamp":"000001a02354a910"} 
[2026-08-21 13:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:32: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-08-21 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:32:03] 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-08-21 13: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-08-21 13:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:32: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-08-21 13:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580096001,"66":27213,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211882496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:32:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211882496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580096001,"power":27213,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211882496}} 
[2026-08-21 13:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:32:03] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:32:03] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:32:07] local.INFO: TCP Data received {"connection_id":161602,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02353a740012d1820400721b108004c00d72d..."} 
[2026-08-21 13:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02353a740012d1820400721b108004c00d72d..."} 
[2026-08-21 13:32:07] local.INFO: Processing buffer {"connection_id":161602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02353a740012d1820400721b108004c00d72d..."} 
[2026-08-21 13:32:07] local.INFO: Packet analysis {"connection_id":161602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:32:07] local.INFO: Extracted packet for processing {"connection_id":161602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548559104001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299080000,"timestamp_ms":1787299080000,"timestamp_seconds":1787299080,"priority":1,"record_length":96,"hex_timestamp":"000001a02353a740"} 
[2026-08-21 13:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2970091596,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:32:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,97,160,3,45,64,177,76,44,10,66,46,95,1,240,101,227,35,33,4,113,205,187,32,8,47,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:32:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476613735156023296,"timestamp_seconds":5476613735156023.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548559104001,"66":12558,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548559104001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:32:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548559104001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":161602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:32:07] local.INFO: GPS data processed {"connection_id":161602,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:32:07] local.INFO: Acknowledgment sent {"connection_id":161602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:32:29] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:29] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:29] local.INFO: IMEI packet received {"connection_id":159337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":159337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:32:30] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:30] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:30] local.INFO: IMEI packet received {"connection_id":159337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":159337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:32:34] local.INFO: TCP Data received {"connection_id":160237,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:32:34] local.INFO: Processing buffer {"connection_id":160237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:32:34] local.INFO: Packet analysis {"connection_id":160237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:32:34] local.INFO: Extracted packet for processing {"connection_id":160237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84797328,"longitude_deg":76.9541632,"latitude_deg":8.4797328,"altitude":10,"angle":9,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de790","is_valid_coordinates":true} 
[2026-08-21 13:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211882496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299146000,"timestamp_ms":1787299146000,"timestamp_seconds":1787299146,"priority":1,"record_length":96,"hex_timestamp":"000001a02354a910"} 
[2026-08-21 13:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:32:34] 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-08-21 13:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580096001,"66":27213,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211882496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:32:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:32:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211882496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580096001,"power":27213,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211882496}} 
[2026-08-21 13:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":160237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:32:34] local.INFO: GPS data processed {"connection_id":160237,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:32:34] local.INFO: Acknowledgment sent {"connection_id":160237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:32:35] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:35] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:32:35] local.INFO: IMEI packet received {"connection_id":159337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":159337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:32:36] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02353f948012d1820400721b108004c00d72e..."} 
[2026-08-21 13:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02353f948012d1820400721b108004c00d72e..."} 
[2026-08-21 13:32:36] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02353f948012d1820400721b108004c00d72e..."} 
[2026-08-21 13:32:36] local.INFO: Packet analysis {"connection_id":159337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:32:36] local.INFO: Extracted packet for processing {"connection_id":159337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02353"} 
[2026-08-21 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548564480001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299101000,"timestamp_ms":1787299101000,"timestamp_seconds":1787299101,"priority":1,"record_length":96,"hex_timestamp":"000001a02353f948"} 
[2026-08-21 13:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:32:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457160,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2970091596,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":55,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 13:32:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,97,160,85,45,64,177,76,10,66,3,44,1,240,58,227,35,33,4,113,205,13,32,8,47,239,49,2,50,7,106,55,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:32:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476613735156023296,"timestamp_seconds":5476613735156023.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548564480001,"66":12613,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548564480001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548564480001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":159337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:32:36] local.INFO: GPS data processed {"connection_id":159337,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:32:36] local.INFO: Acknowledgment sent {"connection_id":159337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:32:57] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:32:57] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:32:57] local.INFO: IMEI packet received {"connection_id":161603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":161603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:33:03] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:33:03] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:33:03] local.INFO: IMEI packet received {"connection_id":161603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":161603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:33:03] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:33:03] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:33:03] local.INFO: Packet analysis {"connection_id":161603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:03] local.INFO: Extracted packet for processing {"connection_id":161603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:03] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84797328,"longitude_deg":76.9541632,"latitude_deg":8.4797328,"altitude":10,"angle":9,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de790","is_valid_coordinates":true} 
[2026-08-21 13:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211882496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299146000,"timestamp_ms":1787299146000,"timestamp_seconds":1787299146,"priority":1,"record_length":96,"hex_timestamp":"000001a02354a910"} 
[2026-08-21 13:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:33: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-08-21 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:33:03] 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-08-21 13:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:33: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-08-21 13:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580096001,"66":27213,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211882496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:33:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211882496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580096001,"power":27213,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211882496}} 
[2026-08-21 13:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":161603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:33:03] local.INFO: GPS data processed {"connection_id":161603,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:33:03] local.INFO: Acknowledgment sent {"connection_id":161603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:33:07] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023544b50012d1820400721b108004c00d72e..."} 
[2026-08-21 13:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023544b50012d1820400721b108004c00d72e..."} 
[2026-08-21 13:33:07] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023544b50012d1820400721b108004c00d72e..."} 
[2026-08-21 13:33:07] local.INFO: Packet analysis {"connection_id":159337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:07] local.INFO: Extracted packet for processing {"connection_id":159337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548569856001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299122000,"timestamp_ms":1787299122000,"timestamp_seconds":1787299122,"priority":1,"record_length":96,"hex_timestamp":"000001a023544b50"} 
[2026-08-21 13:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 13:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548569856001,"66":12591,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548569856001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:33:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548569856001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":159337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:33:07] local.INFO: GPS data processed {"connection_id":159337,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:33:07] local.INFO: Acknowledgment sent {"connection_id":159337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:33:30] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:30] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:30] local.INFO: IMEI packet received {"connection_id":159057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":159057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:33:32] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:32] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:32] local.INFO: IMEI packet received {"connection_id":159057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":159057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:33:34] local.INFO: TCP Data received {"connection_id":161603,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:33:34] local.INFO: Processing buffer {"connection_id":161603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:33:34] local.INFO: Packet analysis {"connection_id":161603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:34] local.INFO: Extracted packet for processing {"connection_id":161603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:34] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84797328,"longitude_deg":76.9541632,"latitude_deg":8.4797328,"altitude":10,"angle":9,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de790","is_valid_coordinates":true} 
[2026-08-21 13:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211882496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299146000,"timestamp_ms":1787299146000,"timestamp_seconds":1787299146,"priority":1,"record_length":96,"hex_timestamp":"000001a02354a910"} 
[2026-08-21 13:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:33:34] 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-08-21 13:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580096001,"66":27213,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211882496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:33:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211882496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580096001,"power":27213,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211882496}} 
[2026-08-21 13:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":161603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:33:34] local.INFO: GPS data processed {"connection_id":161603,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:33:34] local.INFO: Acknowledgment sent {"connection_id":161603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:33:35] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:35] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:33:35] local.INFO: IMEI packet received {"connection_id":159057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:33:35] local.INFO: IMEI acknowledgment sent {"connection_id":159057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:33:36] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023549d58012d1820400721b108004c00d72e..."} 
[2026-08-21 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023549d58012d1820400721b108004c00d72e..."} 
[2026-08-21 13:33:36] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023549d58012d1820400721b108004c00d72e..."} 
[2026-08-21 13:33:36] local.INFO: Packet analysis {"connection_id":159057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:36] local.INFO: Extracted packet for processing {"connection_id":159057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":46,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:33:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548575232001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299143000,"timestamp_ms":1787299143000,"timestamp_seconds":1787299143,"priority":1,"record_length":96,"hex_timestamp":"000001a023549d58"} 
[2026-08-21 13:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:33:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548575232001,"66":12548,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548575232001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548575232001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":159057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:33:36] local.INFO: GPS data processed {"connection_id":159057,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:33:36] local.INFO: Acknowledgment sent {"connection_id":159057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:33:57] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:33:57] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:33:57] local.INFO: IMEI packet received {"connection_id":159058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:34:03] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:34:03] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:34:03] local.INFO: IMEI packet received {"connection_id":159058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":159058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:34:03] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:34:03] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:34:03] local.INFO: Packet analysis {"connection_id":159058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:34:03] local.INFO: Extracted packet for processing {"connection_id":159058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:34:03] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84797328,"longitude_deg":76.9541632,"latitude_deg":8.4797328,"altitude":10,"angle":9,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de790","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211882496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299146000,"timestamp_ms":1787299146000,"timestamp_seconds":1787299146,"priority":1,"record_length":96,"hex_timestamp":"000001a02354a910"} 
[2026-08-21 13:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13: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-08-21 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:34:03] 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-08-21 13: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-08-21 13:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:34: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-08-21 13:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580096001,"66":27213,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211882496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:34:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211882496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580096001,"power":27213,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211882496}} 
[2026-08-21 13:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":159058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:34:03] local.INFO: GPS data processed {"connection_id":159058,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:34:03] local.INFO: Acknowledgment sent {"connection_id":159058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:34:07] local.INFO: TCP Data received {"connection_id":159057,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02354ef60012d1820400721b108004c00d72d..."} 
[2026-08-21 13:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354ef60012d1820400721b108004c00d72d..."} 
[2026-08-21 13:34:07] local.INFO: Processing buffer {"connection_id":159057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354ef60012d1820400721b108004c00d72d..."} 
[2026-08-21 13:34:07] local.INFO: Packet analysis {"connection_id":159057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:34:07] local.INFO: Extracted packet for processing {"connection_id":159057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580608001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299164000,"timestamp_ms":1787299164000,"timestamp_seconds":1787299164,"priority":1,"record_length":96,"hex_timestamp":"000001a02354ef60"} 
[2026-08-21 13:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2970091596,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:34:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,97,160,75,45,64,177,76,46,10,66,249,167,1,240,14,227,35,33,4,113,205,3,32,8,44,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:34:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476613739450990592,"timestamp_seconds":5476613739450991.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580608001,"66":12580,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580608001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:34:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580608001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":159057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:34:07] local.INFO: GPS data processed {"connection_id":159057,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:34:07] local.INFO: Acknowledgment sent {"connection_id":159057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:34:34] local.INFO: TCP Data received {"connection_id":159058,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:34:34] local.INFO: Processing buffer {"connection_id":159058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02354a910012dde4600050de790000a000930..."} 
[2026-08-21 13:34:34] local.INFO: Packet analysis {"connection_id":159058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:34:34] local.INFO: Extracted packet for processing {"connection_id":159058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02354"} 
[2026-08-21 13:34:34] local.INFO: GPS Element Parsed {"raw_longitude":769541632,"raw_latitude":84797328,"longitude_deg":76.9541632,"latitude_deg":8.4797328,"altitude":10,"angle":9,"satellites":48,"speed":0,"hex_longitude":"2dde4600","hex_latitude":"050de790","is_valid_coordinates":true} 
[2026-08-21 13:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548580096001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211882496,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299146000,"timestamp_ms":1787299146000,"timestamp_seconds":1787299146,"priority":1,"record_length":96,"hex_timestamp":"000001a02354a910"} 
[2026-08-21 13:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 13:34:34] 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-08-21 13:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548580096001,"66":27213,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211882496},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548580096001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:34:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211882496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548580096001,"power":27213,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211882496}} 
[2026-08-21 13:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":159058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:34:34] local.INFO: GPS data processed {"connection_id":159058,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:34:34] local.INFO: Acknowledgment sent {"connection_id":159058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:34:35] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:35] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:35] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:34:36] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:36] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:36] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:34:40] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:40] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:34:40] local.INFO: IMEI packet received {"connection_id":160238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:34:40] local.INFO: IMEI acknowledgment sent {"connection_id":160238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:34:41] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235875b8012d1820400721b108004c00d72d..."} 
[2026-08-21 13:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235875b8012d1820400721b108004c00d72d..."} 
[2026-08-21 13:34:41] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235875b8012d1820400721b108004c00d72d..."} 
[2026-08-21 13:34:41] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02358"} 
[2026-08-21 13:34:41] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02358"} 
[2026-08-21 13:34:41] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648520,"longitude_deg":75.655584,"latitude_deg":11.964852,"altitude":76,"angle":215,"satellites":45,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b108","is_valid_coordinates":true} 
[2026-08-21 13:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548639744001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180495952707584,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787299395000,"timestamp_ms":1787299395000,"timestamp_seconds":1787299395,"priority":1,"record_length":96,"hex_timestamp":"000001a0235875b8"} 
[2026-08-21 13:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 13:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548639744001,"66":12591,"105":206,"83":41984,"24":0,"16":14180495952707584,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548639744001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:34:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:34:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180495952707584,"km_value":14180495952707.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548639744001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:34:41] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:34:41] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:34:45] local.INFO: TCP Data received {"connection_id":160238,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02358c7c0012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02358c7c0012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:34:45] local.INFO: Processing buffer {"connection_id":160238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02358c7c0012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:34:45] local.INFO: Packet analysis {"connection_id":160238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02358"} 
[2026-08-21 13:34:45] local.INFO: Extracted packet for processing {"connection_id":160238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02358"} 
[2026-08-21 13:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548645120001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539210240,"note":"Value kept but may cause issues"} 
[2026-08-21 13:34:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787299416000,"timestamp_ms":1787299416000,"timestamp_seconds":1787299416,"priority":1,"record_length":96,"hex_timestamp":"000001a02358c7c0"} 
[2026-08-21 13:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:34:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 13:34: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-08-21 13:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548645120001,"66":12558,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1738459855539210240},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548645120001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:34:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:34:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539210240,"description":"Unknown IO ID 45"} 
[2026-08-21 13:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548645120001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539210240}} 
[2026-08-21 13:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":160238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:34:45] local.INFO: GPS data processed {"connection_id":160238,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:34:45] local.INFO: Acknowledgment sent {"connection_id":160238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:35:08] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:08] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:08] local.INFO: IMEI packet received {"connection_id":159059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":159059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:35:13] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:13] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:13] local.INFO: IMEI packet received {"connection_id":159059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":159059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:35:17] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:35:17] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:35:17] local.INFO: Packet analysis {"connection_id":159059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:35:17] local.INFO: Extracted packet for processing {"connection_id":159059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:35:17] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:35:17] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:35:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":159059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:35:17] local.INFO: GPS data processed {"connection_id":159059,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:35:17] local.INFO: Acknowledgment sent {"connection_id":159059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:35:18] local.INFO: TCP Data received {"connection_id":159059,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:35:18] local.INFO: Processing buffer {"connection_id":159059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:35:18] local.INFO: Packet analysis {"connection_id":159059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:35:18] local.INFO: Extracted packet for processing {"connection_id":159059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:35:18] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":159059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:35:18] local.INFO: GPS data processed {"connection_id":159059,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:35:18] local.INFO: Acknowledgment sent {"connection_id":159059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:35:30] local.INFO: TCP Data received {"connection_id":161604,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:35:30] local.INFO: Processing buffer {"connection_id":161604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:35:30] local.INFO: IMEI packet received {"connection_id":161604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":161604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:35:35] local.INFO: TCP Data received {"connection_id":161604,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:35:35] local.INFO: Processing buffer {"connection_id":161604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:35:35] local.INFO: IMEI packet received {"connection_id":161604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":161604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:35:36] local.INFO: TCP Data received {"connection_id":161604,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235919c8012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235919c8012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:35:36] local.INFO: Processing buffer {"connection_id":161604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235919c8012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:35:36] local.INFO: Packet analysis {"connection_id":161604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:35:36] local.INFO: Extracted packet for processing {"connection_id":161604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548650496001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299437000,"timestamp_ms":1787299437000,"timestamp_seconds":1787299437,"priority":1,"record_length":96,"hex_timestamp":"000001a0235919c8"} 
[2026-08-21 13:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457160,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2970091596,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 13:35:36] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,97,160,117,45,64,177,76,10,66,35,46,209,1,240,4,227,33,113,205,32,8,47,239,48,2,50,7,106,57,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:35:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908948308562280448,"timestamp_seconds":5908948308562280.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548650496001,"66":12558,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548650496001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548650496001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":161604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:35:36] local.INFO: GPS data processed {"connection_id":161604,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:35:36] local.INFO: Acknowledgment sent {"connection_id":161604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:35:57] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:57] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:35:57] local.INFO: IMEI packet received {"connection_id":161605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":161605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:36:03] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:36:03] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:36:03] local.INFO: IMEI packet received {"connection_id":161605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":161605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:36:03] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:36:03] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:36:03] local.INFO: Packet analysis {"connection_id":161605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:03] local.INFO: Extracted packet for processing {"connection_id":161605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13: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-08-21 13:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:36:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:36:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":161605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:36:04] local.INFO: GPS data processed {"connection_id":161605,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:36:04] local.INFO: Acknowledgment sent {"connection_id":161605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:36:07] local.INFO: TCP Data received {"connection_id":161604,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023596bd0012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023596bd0012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:36:07] local.INFO: Processing buffer {"connection_id":161604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023596bd0012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:36:07] local.INFO: Packet analysis {"connection_id":161604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:07] local.INFO: Extracted packet for processing {"connection_id":161604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548655872001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299458000,"timestamp_ms":1787299458000,"timestamp_seconds":1787299458,"priority":1,"record_length":96,"hex_timestamp":"000001a023596bd0"} 
[2026-08-21 13:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457160,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2970091596,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":127,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,97,160,199,45,174,82,46,10,66,117,64,177,76,35,1,240,238,227,33,4,113,205,127,32,8,44,239,49,2,50,7,106,56,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:36:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908948312857247744,"timestamp_seconds":5908948312857248.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548655872001,"66":12558,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548655872001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548655872001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":161604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:36:07] local.INFO: GPS data processed {"connection_id":161604,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:36:07] local.INFO: Acknowledgment sent {"connection_id":161604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:36:30] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:36:30] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:36:30] local.INFO: IMEI packet received {"connection_id":159060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":159060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:36:35] local.INFO: TCP Data received {"connection_id":161605,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:36:35] local.INFO: Processing buffer {"connection_id":161605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:36:35] local.INFO: Packet analysis {"connection_id":161605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:35] local.INFO: Extracted packet for processing {"connection_id":161605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:36:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:36:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":161605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:36:35] local.INFO: GPS data processed {"connection_id":161605,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:36:35] local.INFO: Acknowledgment sent {"connection_id":161605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:36:35] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:36:35] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:36:35] local.INFO: IMEI packet received {"connection_id":159060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":159060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:36:36] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02359bdd8012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02359bdd8012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:36:36] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02359bdd8012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:36:36] local.INFO: Packet analysis {"connection_id":159060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:36] local.INFO: Extracted packet for processing {"connection_id":159060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548661248001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299479000,"timestamp_ms":1787299479000,"timestamp_seconds":1787299479,"priority":1,"record_length":96,"hex_timestamp":"000001a02359bdd8"} 
[2026-08-21 13:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249382590517457160,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2970091596,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 13:36:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,97,160,25,45,174,82,47,10,66,199,46,117,64,1,240,227,35,33,4,113,205,209,32,8,239,49,2,50,7,76,106,57,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:36:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908948312857247744,"timestamp_seconds":5908948312857248.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548661248001,"66":12504,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548661248001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548661248001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":159060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:36:36] local.INFO: GPS data processed {"connection_id":159060,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:36:36] local.INFO: Acknowledgment sent {"connection_id":159060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:36:57] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:36:57] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:36:57] local.INFO: IMEI packet received {"connection_id":159338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":159338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:37:02] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:37:02] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:37:02] local.INFO: IMEI packet received {"connection_id":159338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":159338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:37:03] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:37:03] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:37:03] local.INFO: Packet analysis {"connection_id":159338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:37:03] local.INFO: Extracted packet for processing {"connection_id":159338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:37:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 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-08-21 13: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-08-21 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 13:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13: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-08-21 13:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:37:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":159338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:37:03] local.INFO: GPS data processed {"connection_id":159338,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:37:03] local.INFO: Acknowledgment sent {"connection_id":159338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:37:07] local.INFO: TCP Data received {"connection_id":159060,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235a0fe0012d181e000721ae10005200cd2d..."} 
[2026-08-21 13:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235a0fe0012d181e000721ae10005200cd2d..."} 
[2026-08-21 13:37:07] local.INFO: Processing buffer {"connection_id":159060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235a0fe0012d181e000721ae10005200cd2d..."} 
[2026-08-21 13:37:07] local.INFO: Packet analysis {"connection_id":159060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235a"} 
[2026-08-21 13:37:07] local.INFO: Extracted packet for processing {"connection_id":159060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235a"} 
[2026-08-21 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548666624001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299500000,"timestamp_ms":1787299500000,"timestamp_seconds":1787299500,"priority":1,"record_length":96,"hex_timestamp":"000001a0235a0fe0"} 
[2026-08-21 13:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 13:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548666624001,"66":12548,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548666624001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:37:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548666624001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":159060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:37:07] local.INFO: GPS data processed {"connection_id":159060,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:37:07] local.INFO: Acknowledgment sent {"connection_id":159060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:37:30] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:37:30] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:37:30] local.INFO: IMEI packet received {"connection_id":161606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":161606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:37:34] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:37:34] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:37:34] local.INFO: Packet analysis {"connection_id":159338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:37:34] local.INFO: Extracted packet for processing {"connection_id":159338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:37:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:37:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:37:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":159338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:37:34] local.INFO: GPS data processed {"connection_id":159338,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:37:34] local.INFO: Acknowledgment sent {"connection_id":159338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:37:35] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:37:35] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:37:35] local.INFO: IMEI packet received {"connection_id":161606,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":161606,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:37:36] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235a61e8012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235a61e8012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:37:36] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235a61e8012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:37:36] local.INFO: Packet analysis {"connection_id":161606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235a"} 
[2026-08-21 13:37:36] local.INFO: Extracted packet for processing {"connection_id":161606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235a"} 
[2026-08-21 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:37:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548672000001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299521000,"timestamp_ms":1787299521000,"timestamp_seconds":1787299521,"priority":1,"record_length":96,"hex_timestamp":"000001a0235a61e8"} 
[2026-08-21 13:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2920284242,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:37:36] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,97,160,189,45,174,82,46,10,66,107,47,25,1,240,14,227,35,33,4,113,205,117,32,8,239,49,2,50,7,76,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:37:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908948304267313152,"timestamp_seconds":5908948304267313.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548672000001,"66":12548,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548672000001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:37:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:37:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548672000001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":161606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:37:36] local.INFO: GPS data processed {"connection_id":161606,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:37:36] local.INFO: Acknowledgment sent {"connection_id":161606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:37:57] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:37:57] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:37:57] local.INFO: IMEI packet received {"connection_id":159061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":159061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:38:02] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:38:02] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:38:02] local.INFO: IMEI packet received {"connection_id":159061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":159061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:38:03] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:38:03] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:38:03] local.INFO: Packet analysis {"connection_id":159061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:38:03] local.INFO: Extracted packet for processing {"connection_id":159061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:38: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-08-21 13:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:38:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":159061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:38:03] local.INFO: GPS data processed {"connection_id":159061,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:38:03] local.INFO: Acknowledgment sent {"connection_id":159061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:38:07] local.INFO: TCP Data received {"connection_id":161606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235ab3f0012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235ab3f0012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:07] local.INFO: Processing buffer {"connection_id":161606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235ab3f0012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:07] local.INFO: Packet analysis {"connection_id":161606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235a"} 
[2026-08-21 13:38:07] local.INFO: Extracted packet for processing {"connection_id":161606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235a"} 
[2026-08-21 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548677376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299542000,"timestamp_ms":1787299542000,"timestamp_seconds":1787299542,"priority":1,"record_length":96,"hex_timestamp":"000001a0235ab3f0"} 
[2026-08-21 13:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2920284242,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,97,160,15,45,174,82,10,66,189,46,107,1,240,14,227,35,33,4,113,205,199,30,239,49,2,50,7,76,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:38:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908948308562280448,"timestamp_seconds":5908948308562280.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161606,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548677376001,"66":12548,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548677376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:38:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548677376001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":161606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:38:07] local.INFO: GPS data processed {"connection_id":161606,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:38:07] local.INFO: Acknowledgment sent {"connection_id":161606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:38:30] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:30] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:30] local.INFO: IMEI packet received {"connection_id":159339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":159339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:38:33] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:33] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:33] local.INFO: IMEI packet received {"connection_id":159339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":159339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:38:34] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:34] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:38:34] local.INFO: IMEI packet received {"connection_id":159339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":159339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:38:34] local.INFO: TCP Data received {"connection_id":159061,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:38:34] local.INFO: Processing buffer {"connection_id":159061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:38:34] local.INFO: Packet analysis {"connection_id":159061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:38:34] local.INFO: Extracted packet for processing {"connection_id":159061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:38:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:38:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":159061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:38:34] local.INFO: GPS data processed {"connection_id":159061,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:38:34] local.INFO: Acknowledgment sent {"connection_id":159061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:38:35] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235b05f8012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235b05f8012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:35] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235b05f8012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:35] local.INFO: Packet analysis {"connection_id":159339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:38:35] local.INFO: Extracted packet for processing {"connection_id":159339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548682752001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299563000,"timestamp_ms":1787299563000,"timestamp_seconds":1787299563,"priority":1,"record_length":96,"hex_timestamp":"000001a0235b05f8"} 
[2026-08-21 13:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2920284242,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,97,160,45,174,82,46,10,66,15,189,1,240,216,227,35,33,4,113,205,25,30,47,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:38:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908948312857247744,"timestamp_seconds":5908948312857248.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548682752001,"66":12537,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548682752001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548682752001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":159339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:38:35] local.INFO: GPS data processed {"connection_id":159339,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:38:35] local.INFO: Acknowledgment sent {"connection_id":159339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:38:35] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235b5800012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235b5800012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:35] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235b5800012d181e000721ae10005200cd2f..."} 
[2026-08-21 13:38:35] local.INFO: Packet analysis {"connection_id":159339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:38:35] local.INFO: Extracted packet for processing {"connection_id":159339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548688128001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299584000,"timestamp_ms":1787299584000,"timestamp_seconds":1787299584,"priority":1,"record_length":96,"hex_timestamp":"000001a0235b5800"} 
[2026-08-21 13:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:38:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 13:38:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:38:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548688128001,"66":12526,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548688128001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548688128001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":159339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:38:35] local.INFO: GPS data processed {"connection_id":159339,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:38:35] local.INFO: Acknowledgment sent {"connection_id":159339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:38:57] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:38:57] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:38:57] local.INFO: IMEI packet received {"connection_id":161607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":161607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:39:02] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:39:02] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:39:02] local.INFO: IMEI packet received {"connection_id":161607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":161607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:39:03] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:39:03] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:39:03] local.INFO: Packet analysis {"connection_id":161607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:39:03] local.INFO: Extracted packet for processing {"connection_id":161607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:39:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13: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-08-21 13: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:39: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-08-21 13:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:39:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":161607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:39:03] local.INFO: GPS data processed {"connection_id":161607,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:39:03] local.INFO: Acknowledgment sent {"connection_id":161607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:39:06] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235baa08012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235baa08012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:39:06] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235baa08012d181e000721ae10005200cd2e..."} 
[2026-08-21 13:39:06] local.INFO: Packet analysis {"connection_id":159339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:39:06] local.INFO: Extracted packet for processing {"connection_id":159339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548693504001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787299605000,"timestamp_ms":1787299605000,"timestamp_seconds":1787299605,"priority":1,"record_length":96,"hex_timestamp":"000001a0235baa08"} 
[2026-08-21 13:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:39: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-08-21 13:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 13:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548693504001,"66":12548,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548693504001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548693504001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":159339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:39:06] local.INFO: GPS data processed {"connection_id":159339,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:39:06] local.INFO: Acknowledgment sent {"connection_id":159339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:39:30] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:39:30] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:39:30] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:39:34] local.INFO: TCP Data received {"connection_id":161607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:39:34] local.INFO: Processing buffer {"connection_id":161607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235940d8012dde4440050df350000400091d..."} 
[2026-08-21 13:39:34] local.INFO: Packet analysis {"connection_id":161607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:39:34] local.INFO: Extracted packet for processing {"connection_id":161607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02359"} 
[2026-08-21 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":4,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430254927211687936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299447000,"timestamp_ms":1787299447000,"timestamp_seconds":1787299447,"priority":1,"record_length":96,"hex_timestamp":"000001a0235940d8"} 
[2026-08-21 13:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 13:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548581376001,"66":26408,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430254927211687936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:39:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:39:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430254927211687936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548581376001,"power":26408,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430254927211687936}} 
[2026-08-21 13:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":161607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:39:34] local.INFO: GPS data processed {"connection_id":161607,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:39:34] local.INFO: Acknowledgment sent {"connection_id":161607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:39:35] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:39:35] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:39:35] local.INFO: IMEI packet received {"connection_id":160239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":160239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:39:35] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235bfc10012d181e000721ae10005200cd2d..."} 
[2026-08-21 13:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235bfc10012d181e000721ae10005200cd2d..."} 
[2026-08-21 13:39:35] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235bfc10012d181e000721ae10005200cd2d..."} 
[2026-08-21 13:39:35] local.INFO: Packet analysis {"connection_id":160239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:39:35] local.INFO: Extracted packet for processing {"connection_id":160239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235b"} 
[2026-08-21 13:39:35] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647760,"longitude_deg":75.6555264,"latitude_deg":11.964776,"altitude":82,"angle":205,"satellites":45,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae10","is_valid_coordinates":true} 
[2026-08-21 13:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548698880001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14180543197347840,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841416704,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299626000,"timestamp_ms":1787299626000,"timestamp_seconds":1787299626,"priority":1,"record_length":96,"hex_timestamp":"000001a0235bfc10"} 
[2026-08-21 13:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184194146509,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2920284242,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 13:39:35] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,97,160,88,45,174,82,47,10,66,5,179,1,240,4,227,35,33,113,205,15,30,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 13:39:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5908948308562280448,"timestamp_seconds":5908948308562280.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548698880001,"66":13678,"105":206,"83":41984,"24":0,"16":14180543197347840,"45":1737826536841416704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548698880001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:39:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:39:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14180543197347840,"km_value":14180543197347.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841416704,"description":"Unknown IO ID 45"} 
[2026-08-21 13:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548698880001,"power":13678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737826536841416704}} 
[2026-08-21 13:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":160239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:39:36] local.INFO: GPS data processed {"connection_id":160239,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:39:36] local.INFO: Acknowledgment sent {"connection_id":160239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:39:57] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:39:57] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:39:57] local.INFO: IMEI packet received {"connection_id":161608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":161608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:40:02] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:40:02] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:40:02] local.INFO: IMEI packet received {"connection_id":161608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":161608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:40:03] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:40:03] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:40:03] local.INFO: Packet analysis {"connection_id":161608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:03] local.INFO: Extracted packet for processing {"connection_id":161608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 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-08-21 13:40: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-08-21 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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 13:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:40: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-08-21 13:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:40:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":161608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:40:03] local.INFO: GPS data processed {"connection_id":161608,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:40:03] local.INFO: Acknowledgment sent {"connection_id":161608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:40:07] local.INFO: TCP Data received {"connection_id":160239,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dbd48012d188b4007224e60006200212c..."} 
[2026-08-21 13:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dbd48012d188b4007224e60006200212c..."} 
[2026-08-21 13:40:07] local.INFO: Processing buffer {"connection_id":160239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dbd48012d188b4007224e60006200212c..."} 
[2026-08-21 13:40:07] local.INFO: Packet analysis {"connection_id":160239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:07] local.INFO: Extracted packet for processing {"connection_id":160239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756583232,"raw_latitude":119688800,"longitude_deg":75.6583232,"latitude_deg":11.96888,"altitude":98,"angle":33,"satellites":44,"speed":32,"hex_longitude":"2d188b40","hex_latitude":"07224e60","is_valid_coordinates":true} 
[2026-08-21 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548730880001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14182995623673856,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762807441032992768,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299741000,"timestamp_ms":1787299741000,"timestamp_seconds":1787299741,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dbd48"} 
[2026-08-21 13:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 13:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548730880001,"66":14135,"105":206,"83":41984,"24":32,"16":14182995623673856,"45":1762807441032992768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548730880001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:40:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14182995623673856,"km_value":14182995623673.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762807441032992768,"description":"Unknown IO ID 45"} 
[2026-08-21 13:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548730880001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1762807441032992768}} 
[2026-08-21 13:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":160239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:40:07] local.INFO: GPS data processed {"connection_id":160239,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:40:07] local.INFO: Acknowledgment sent {"connection_id":160239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:40:30] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:30] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:30] local.INFO: IMEI packet received {"connection_id":159340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":159340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:40:33] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:33] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:33] local.INFO: IMEI packet received {"connection_id":159340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":159340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:40:34] local.INFO: TCP Data received {"connection_id":161608,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:40:34] local.INFO: Processing buffer {"connection_id":161608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:40:34] local.INFO: Packet analysis {"connection_id":161608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:34] local.INFO: Extracted packet for processing {"connection_id":161608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:40:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":161608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:40:34] local.INFO: GPS data processed {"connection_id":161608,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:40:34] local.INFO: Acknowledgment sent {"connection_id":161608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:40:38] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:38] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:40:38] local.INFO: IMEI packet received {"connection_id":159340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":159340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:40:39] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dec28012d189e0007226ce0006c00192c..."} 
[2026-08-21 13:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dec28012d189e0007226ce0006c00192c..."} 
[2026-08-21 13:40:39] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dec28012d189e0007226ce0006c00192c..."} 
[2026-08-21 13:40:39] local.INFO: Packet analysis {"connection_id":159340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:39] local.INFO: Extracted packet for processing {"connection_id":159340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756588032,"raw_latitude":119696608,"longitude_deg":75.6588032,"latitude_deg":11.9696608,"altitude":108,"angle":25,"satellites":44,"speed":27,"hex_longitude":"2d189e00","hex_latitude":"07226ce0","is_valid_coordinates":true} 
[2026-08-21 13:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548733696001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14183438005305344,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768577678057562112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787299753000,"timestamp_ms":1787299753000,"timestamp_seconds":1787299753,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dec28"} 
[2026-08-21 13:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 13:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548733696001,"66":14070,"105":206,"83":41984,"24":27,"16":14183438005305344,"45":1768577678057562112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548733696001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:40:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14183438005305344,"km_value":14183438005305.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768577678057562112,"description":"Unknown IO ID 45"} 
[2026-08-21 13:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548733696001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1768577678057562112}} 
[2026-08-21 13:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":159340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:40:39] local.INFO: GPS data processed {"connection_id":159340,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:40:39] local.INFO: Acknowledgment sent {"connection_id":159340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:40:57] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:40:57] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:40:57] local.INFO: IMEI packet received {"connection_id":161609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":161609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:41:03] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:41:03] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:41:03] local.INFO: IMEI packet received {"connection_id":161609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":161609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:41:04] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:41:04] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:41:04] local.INFO: Packet analysis {"connection_id":161609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:41:04] local.INFO: Extracted packet for processing {"connection_id":161609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:41:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:41: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-08-21 13:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:41: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-08-21 13:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:41:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:41:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:41:04] local.INFO: GPS data processed {"connection_id":161609,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:41:04] local.INFO: Acknowledgment sent {"connection_id":161609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:41:10] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235e0398012d18a34007227b380070000b2d..."} 
[2026-08-21 13:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235e0398012d18a34007227b380070000b2d..."} 
[2026-08-21 13:41:10] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235e0398012d18a34007227b380070000b2d..."} 
[2026-08-21 13:41:10] local.INFO: Packet analysis {"connection_id":159340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:41:10] local.INFO: Extracted packet for processing {"connection_id":159340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119700280,"longitude_deg":75.6589376,"latitude_deg":11.970028,"altitude":112,"angle":11,"satellites":45,"speed":21,"hex_longitude":"2d18a340","hex_latitude":"07227b38","is_valid_coordinates":true} 
[2026-08-21 13:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548736768001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14183626983866368,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773855333872885760,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787299759000,"timestamp_ms":1787299759000,"timestamp_seconds":1787299759,"priority":1,"record_length":96,"hex_timestamp":"000001a0235e0398"} 
[2026-08-21 13:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-21 13:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548736768001,"66":13863,"105":206,"83":41984,"24":21,"16":14183626983866368,"45":1773855333872885760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548736768001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14183626983866368,"km_value":14183626983866.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773855333872885760,"description":"Unknown IO ID 45"} 
[2026-08-21 13:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548736768001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1773855333872885760}} 
[2026-08-21 13:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":159340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:41:10] local.INFO: GPS data processed {"connection_id":159340,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:41:10] local.INFO: Acknowledgment sent {"connection_id":159340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:41:35] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:41:35] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:41:35] local.INFO: IMEI packet received {"connection_id":161610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":161610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:41:35] local.INFO: TCP Data received {"connection_id":161609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:41:35] local.INFO: Processing buffer {"connection_id":161609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:41:35] local.INFO: Packet analysis {"connection_id":161609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:41:35] local.INFO: Extracted packet for processing {"connection_id":161609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:41:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:41:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:41:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:41:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":161609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:41:35] local.INFO: GPS data processed {"connection_id":161609,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:41:35] local.INFO: Acknowledgment sent {"connection_id":161609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:41:40] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:41:40] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:41:40] local.INFO: IMEI packet received {"connection_id":161610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":161610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:41:41] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235e2aa8012d18a500072281500071003e2d..."} 
[2026-08-21 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235e2aa8012d18a500072281500071003e2d..."} 
[2026-08-21 13:41:41] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235e2aa8012d18a500072281500071003e2d..."} 
[2026-08-21 13:41:41] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:41:41] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119701840,"longitude_deg":75.6589824,"latitude_deg":11.970184,"altitude":113,"angle":62,"satellites":45,"speed":8,"hex_longitude":"2d18a500","hex_latitude":"07228150","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548738304001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14183708588244992,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077501556736,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787299769000,"timestamp_ms":1787299769000,"timestamp_seconds":1787299769,"priority":1,"record_length":96,"hex_timestamp":"000001a0235e2aa8"} 
[2026-08-21 13:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-08-21 13:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548738304001,"66":13091,"105":206,"83":41984,"24":8,"16":14183708588244992,"45":1775333077501556736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548738304001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14183708588244992,"km_value":14183708588244.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077501556736,"description":"Unknown IO ID 45"} 
[2026-08-21 13:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548738304001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1775333077501556736}} 
[2026-08-21 13:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:41:41] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:41:41] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:41:41] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235e2e90012d18a64007228198007100552d..."} 
[2026-08-21 13:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235e2e90012d18a64007228198007100552d..."} 
[2026-08-21 13:41:41] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235e2e90012d18a64007228198007100552d..."} 
[2026-08-21 13:41:41] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:41:41] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:41:41] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119701912,"longitude_deg":75.6590144,"latitude_deg":11.9701912,"altitude":113,"angle":85,"satellites":45,"speed":12,"hex_longitude":"2d18a640","hex_latitude":"07228198","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548740864001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14183721473146880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658711199744,"note":"Value kept but may cause issues"} 
[2026-08-21 13:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787299770000,"timestamp_ms":1787299770000,"timestamp_seconds":1787299770,"priority":1,"record_length":96,"hex_timestamp":"000001a0235e2e90"} 
[2026-08-21 13:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 13:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548740864001,"66":13091,"105":206,"83":41984,"24":12,"16":14183721473146880,"45":1775825658711199744},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548740864001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14183721473146880,"km_value":14183721473146.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658711199744,"description":"Unknown IO ID 45"} 
[2026-08-21 13:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548740864001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1775825658711199744}} 
[2026-08-21 13:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:41:41] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:41:41] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:42:02] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:02] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:02] local.INFO: IMEI packet received {"connection_id":160240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":160240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:42:07] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:07] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:07] local.INFO: IMEI packet received {"connection_id":160240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":160240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:42:08] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:42:08] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:42:08] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:42:08] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:42:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:42:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:42:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:42:08] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:42:08] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:42:12] local.INFO: TCP Data received {"connection_id":161610,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0235e3278012d18a74007228148007100732d..."} 
[2026-08-21 13:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235e3278012d18a74007228148007100732d..."} 
[2026-08-21 13:42:13] local.INFO: Processing buffer {"connection_id":161610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235e3278012d18a74007228148007100732d..."} 
[2026-08-21 13:42:13] local.INFO: Packet analysis {"connection_id":161610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:42:13] local.INFO: Extracted packet for processing {"connection_id":161610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235e"} 
[2026-08-21 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119701832,"longitude_deg":75.65904,"latitude_deg":11.9701832,"altitude":113,"angle":115,"satellites":45,"speed":12,"hex_longitude":"2d18a740","hex_latitude":"07228148","is_valid_coordinates":true} 
[2026-08-21 13:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548741120001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14183738653016064,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776177502432106496,"note":"Value kept but may cause issues"} 
[2026-08-21 13: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-08-21 13:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787299771000,"timestamp_ms":1787299771000,"timestamp_seconds":1787299771,"priority":1,"record_length":96,"hex_timestamp":"000001a0235e3278"} 
[2026-08-21 13:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 13:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548741120001,"66":13972,"105":206,"83":41984,"24":12,"16":14183738653016064,"45":1776177502432106496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548741120001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14183738653016064,"km_value":14183738653016.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776177502432106496,"description":"Unknown IO ID 45"} 
[2026-08-21 13:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548741120001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1776177502432106496}} 
[2026-08-21 13:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":161610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:42:13] local.INFO: GPS data processed {"connection_id":161610,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:42:13] local.INFO: Acknowledgment sent {"connection_id":161610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:42:13] local.INFO: TCP Data received {"connection_id":160240,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:42:13] local.INFO: Processing buffer {"connection_id":160240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:42:13] local.INFO: Packet analysis {"connection_id":160240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:42:13] local.INFO: Extracted packet for processing {"connection_id":160240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":160240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:42:13] local.INFO: GPS data processed {"connection_id":160240,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:42:13] local.INFO: Acknowledgment sent {"connection_id":160240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:42:30] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:42:30] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:42:30] local.INFO: IMEI packet received {"connection_id":161611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":161611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:42:35] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:42:35] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:42:35] local.INFO: IMEI packet received {"connection_id":161611,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":161611,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:42:36] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023603618012d18be4007226a70006d01272a..."} 
[2026-08-21 13:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023603618012d18be4007226a70006d01272a..."} 
[2026-08-21 13:42:36] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023603618012d18be4007226a70006d01272a..."} 
[2026-08-21 13:42:36] local.INFO: Packet analysis {"connection_id":161611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:42:36] local.INFO: Extracted packet for processing {"connection_id":161611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756596288,"raw_latitude":119695984,"longitude_deg":75.6596288,"latitude_deg":11.9695984,"altitude":109,"angle":295,"satellites":42,"speed":8,"hex_longitude":"2d18be40","hex_latitude":"07226a70","is_valid_coordinates":true} 
[2026-08-21 13:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548770048001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184193919549440,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783425483080888320,"note":"Value kept but may cause issues"} 
[2026-08-21 13:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299903000,"timestamp_ms":1787299903000,"timestamp_seconds":1787299903,"priority":1,"record_length":96,"hex_timestamp":"000001a023603618"} 
[2026-08-21 13:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 13:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548770048001,"66":13820,"105":206,"83":41984,"24":8,"16":14184193919549440,"45":1783425483080888320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548770048001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184193919549440,"km_value":14184193919549.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783425483080888320,"description":"Unknown IO ID 45"} 
[2026-08-21 13:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548770048001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1783425483080888320}} 
[2026-08-21 13:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":161611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:42:36] local.INFO: GPS data processed {"connection_id":161611,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:42:36] local.INFO: Acknowledgment sent {"connection_id":161611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:42:58] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:58] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:42:58] local.INFO: IMEI packet received {"connection_id":159062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":159062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:43:02] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:43:02] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:43:02] local.INFO: IMEI packet received {"connection_id":159062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":159062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:43:03] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:43:03] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:43:03] local.INFO: Packet analysis {"connection_id":159062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:43:03] local.INFO: Extracted packet for processing {"connection_id":159062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13: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-08-21 13:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:43:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":159062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:43:03] local.INFO: GPS data processed {"connection_id":159062,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:43:03] local.INFO: Acknowledgment sent {"connection_id":159062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:43:08] local.INFO: TCP Data received {"connection_id":161611,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023603a00012d18be0007226b18006d01502a..."} 
[2026-08-21 13:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023603a00012d18be0007226b18006d01502a..."} 
[2026-08-21 13:43:08] local.INFO: Processing buffer {"connection_id":161611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023603a00012d18be0007226b18006d01502a..."} 
[2026-08-21 13:43:08] local.INFO: Packet analysis {"connection_id":161611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:43:08] local.INFO: Extracted packet for processing {"connection_id":161611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756596224,"raw_latitude":119696152,"longitude_deg":75.6596224,"latitude_deg":11.9696152,"altitude":109,"angle":336,"satellites":42,"speed":9,"hex_longitude":"2d18be00","hex_latitude":"07226b18","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548775168001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184202509484032,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782932901871644672,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787299904000,"timestamp_ms":1787299904000,"timestamp_seconds":1787299904,"priority":1,"record_length":96,"hex_timestamp":"000001a023603a00"} 
[2026-08-21 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-08-21 13:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-21 13:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 13:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161611,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548775168001,"66":13820,"105":206,"83":41984,"24":9,"16":14184202509484032,"45":1782932901871644672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548775168001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:43:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184202509484032,"km_value":14184202509484.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782932901871644672,"description":"Unknown IO ID 45"} 
[2026-08-21 13:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548775168001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1782932901871644672}} 
[2026-08-21 13:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":161611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:43:08] local.INFO: GPS data processed {"connection_id":161611,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:43:08] local.INFO: Acknowledgment sent {"connection_id":161611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:43:30] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:43:30] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:43:30] local.INFO: IMEI packet received {"connection_id":161612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":161612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:43:34] local.INFO: TCP Data received {"connection_id":159062,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:43:34] local.INFO: Processing buffer {"connection_id":159062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:43:34] local.INFO: Packet analysis {"connection_id":159062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:43:34] local.INFO: Extracted packet for processing {"connection_id":159062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:43:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:43:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":159062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:43:34] local.INFO: GPS data processed {"connection_id":159062,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:43:34] local.INFO: Acknowledgment sent {"connection_id":159062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:43:35] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:43:35] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:43:35] local.INFO: IMEI packet received {"connection_id":161612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":161612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:43:36] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023603de8012d18bdc007226c20006d00012a..."} 
[2026-08-21 13:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023603de8012d18bdc007226c20006d00012a..."} 
[2026-08-21 13:43:36] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023603de8012d18bdc007226c20006d00012a..."} 
[2026-08-21 13:43:36] local.INFO: Packet analysis {"connection_id":161612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:43:36] local.INFO: Extracted packet for processing {"connection_id":161612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119696416,"longitude_deg":75.659616,"latitude_deg":11.9696416,"altitude":109,"angle":1,"satellites":42,"speed":10,"hex_longitude":"2d18bdc0","hex_latitude":"07226c20","is_valid_coordinates":true} 
[2026-08-21 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548775424001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184215394385920,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782862533127510016,"note":"Value kept but may cause issues"} 
[2026-08-21 13:43:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787299905000,"timestamp_ms":1787299905000,"timestamp_seconds":1787299905,"priority":1,"record_length":96,"hex_timestamp":"000001a023603de8"} 
[2026-08-21 13:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:43:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-21 13:43:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:43:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548775424001,"66":13798,"105":206,"83":41984,"24":10,"16":14184215394385920,"45":1782862533127510016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548775424001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184215394385920,"km_value":14184215394385.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782862533127510016,"description":"Unknown IO ID 45"} 
[2026-08-21 13:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548775424001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1782862533127510016}} 
[2026-08-21 13:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":161612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:43:36] local.INFO: GPS data processed {"connection_id":161612,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:43:36] local.INFO: Acknowledgment sent {"connection_id":161612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:43:57] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:43:57] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:43:57] local.INFO: IMEI packet received {"connection_id":159063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":159063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:44:02] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:44:02] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:44:02] local.INFO: IMEI packet received {"connection_id":159063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":159063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:44:03] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:44:03] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:44:03] local.INFO: Packet analysis {"connection_id":159063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:44:03] local.INFO: Extracted packet for processing {"connection_id":159063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:44:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:44: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-08-21 13: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":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13: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-08-21 13:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:44:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":159063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:44:03] local.INFO: GPS data processed {"connection_id":159063,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:44:03] local.INFO: Acknowledgment sent {"connection_id":159063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:44:07] local.INFO: TCP Data received {"connection_id":161612,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236041d0012d18bdc007226d10006d015a29..."} 
[2026-08-21 13:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236041d0012d18bdc007226d10006d015a29..."} 
[2026-08-21 13:44:07] local.INFO: Processing buffer {"connection_id":161612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236041d0012d18bdc007226d10006d015a29..."} 
[2026-08-21 13:44:07] local.INFO: Packet analysis {"connection_id":161612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:44:07] local.INFO: Extracted packet for processing {"connection_id":161612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119696656,"longitude_deg":75.659616,"latitude_deg":11.9696656,"altitude":109,"angle":346,"satellites":41,"speed":8,"hex_longitude":"2d18bdc0","hex_latitude":"07226d10","is_valid_coordinates":true} 
[2026-08-21 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548775680001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184228279287808,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782792164383399936,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787299906000,"timestamp_ms":1787299906000,"timestamp_seconds":1787299906,"priority":1,"record_length":96,"hex_timestamp":"000001a0236041d0"} 
[2026-08-21 13:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-21 13:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548775680001,"66":13798,"105":206,"83":41984,"24":8,"16":14184228279287808,"45":1782792164383399936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548775680001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:44:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184228279287808,"km_value":14184228279287.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782792164383399936,"description":"Unknown IO ID 45"} 
[2026-08-21 13:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548775680001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1782792164383399936}} 
[2026-08-21 13:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":161612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:44:07] local.INFO: GPS data processed {"connection_id":161612,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:44:07] local.INFO: Acknowledgment sent {"connection_id":161612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:44:30] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:44:30] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:44:30] local.INFO: IMEI packet received {"connection_id":161613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":161613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:44:34] local.INFO: TCP Data received {"connection_id":159063,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:44:34] local.INFO: Processing buffer {"connection_id":159063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0235dd8a0012dde4440050df350000600091b..."} 
[2026-08-21 13:44:34] local.INFO: Packet analysis {"connection_id":159063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:44:34] local.INFO: Extracted packet for processing {"connection_id":159063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0235d"} 
[2026-08-21 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548658432001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787299748000,"timestamp_ms":1787299748000,"timestamp_seconds":1787299748,"priority":1,"record_length":96,"hex_timestamp":"000001a0235dd8a0"} 
[2026-08-21 13:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1073,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548658432001,"66":26158,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548658432001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:44:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548658432001,"power":26158,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":159063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:44:34] local.INFO: GPS data processed {"connection_id":159063,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:44:34] local.INFO: Acknowledgment sent {"connection_id":159063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:44:35] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:44:35] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:44:35] local.INFO: IMEI packet received {"connection_id":161613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":161613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:44:35] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236093d8012d18bdc007226c78006d015a2c..."} 
[2026-08-21 13:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236093d8012d18bdc007226c78006d015a2c..."} 
[2026-08-21 13:44:35] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236093d8012d18bdc007226c78006d015a2c..."} 
[2026-08-21 13:44:35] local.INFO: Packet analysis {"connection_id":161613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:44:35] local.INFO: Extracted packet for processing {"connection_id":161613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02360"} 
[2026-08-21 13:44:35] local.INFO: GPS Element Parsed {"raw_longitude":756596160,"raw_latitude":119696504,"longitude_deg":75.659616,"latitude_deg":11.9696504,"altitude":109,"angle":346,"satellites":44,"speed":0,"hex_longitude":"2d18bdc0","hex_latitude":"07226c78","is_valid_coordinates":true} 
[2026-08-21 13:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548775936001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184258344058880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782792164383461376,"note":"Value kept but may cause issues"} 
[2026-08-21 13:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787299927000,"timestamp_ms":1787299927000,"timestamp_seconds":1787299927,"priority":1,"record_length":96,"hex_timestamp":"000001a0236093d8"} 
[2026-08-21 13:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-21 13:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548775936001,"66":14102,"105":206,"83":41984,"24":0,"16":14184258344058880,"45":1782792164383461376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548775936001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:44:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:44:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184258344058880,"km_value":14184258344058.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782792164383461376,"description":"Unknown IO ID 45"} 
[2026-08-21 13:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548775936001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1782792164383461376}} 
[2026-08-21 13:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":161613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:44:35] local.INFO: GPS data processed {"connection_id":161613,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:44:35] local.INFO: Acknowledgment sent {"connection_id":161613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:45:00] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:45:00] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:45:00] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:45:03] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:45:03] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:45:03] local.INFO: IMEI packet received {"connection_id":160241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":160241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:45:03] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:03] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:03] local.INFO: Packet analysis {"connection_id":160241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:03] local.INFO: Extracted packet for processing {"connection_id":160241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:45: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-08-21 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:45:03] 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-08-21 13: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-08-21 13:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:45: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-08-21 13:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:45:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":160241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:45:03] local.INFO: GPS data processed {"connection_id":160241,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:45:03] local.INFO: Acknowledgment sent {"connection_id":160241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:45:06] local.INFO: TCP Data received {"connection_id":161613,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:06] local.INFO: Processing buffer {"connection_id":161613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:06] local.INFO: Packet analysis {"connection_id":161613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:06] local.INFO: Extracted packet for processing {"connection_id":161613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548810240001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129449472,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 13:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548810240001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129449472},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548810240001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:45:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129449472,"description":"Unknown IO ID 45"} 
[2026-08-21 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548810240001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129449472}} 
[2026-08-21 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":161613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:45:06] local.INFO: GPS data processed {"connection_id":161613,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:45:06] local.INFO: Acknowledgment sent {"connection_id":161613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:45:08] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:08] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:08] local.INFO: Packet analysis {"connection_id":160241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:08] local.INFO: Extracted packet for processing {"connection_id":160241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:45:08] 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-08-21 13:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:45:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:45:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":160241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:45:08] local.INFO: GPS data processed {"connection_id":160241,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:45:08] local.INFO: Acknowledgment sent {"connection_id":160241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:45:35] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:45:35] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:45:35] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:45:39] local.INFO: TCP Data received {"connection_id":160241,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:39] local.INFO: Processing buffer {"connection_id":160241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:45:39] local.INFO: Packet analysis {"connection_id":160241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:39] local.INFO: Extracted packet for processing {"connection_id":160241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:45:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:45:39] 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-08-21 13:45:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:45:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:45:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":160241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:45:39] local.INFO: GPS data processed {"connection_id":160241,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:45:39] local.INFO: Acknowledgment sent {"connection_id":160241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:45:40] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:45:40] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:45:40] local.INFO: IMEI packet received {"connection_id":160242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:45:40] local.INFO: IMEI acknowledgment sent {"connection_id":160242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:45:41] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:41] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:41] local.INFO: Packet analysis {"connection_id":160242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:41] local.INFO: Extracted packet for processing {"connection_id":160242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:41] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:45:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":160242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:45:41] local.INFO: GPS data processed {"connection_id":160242,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:45:41] local.INFO: Acknowledgment sent {"connection_id":160242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:45:45] local.INFO: TCP Data received {"connection_id":160242,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:45] local.INFO: Processing buffer {"connection_id":160242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:45:45] local.INFO: Packet analysis {"connection_id":160242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:45] local.INFO: Extracted packet for processing {"connection_id":160242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:45:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:45:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":160242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:45:45] local.INFO: GPS data processed {"connection_id":160242,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:45:45] local.INFO: Acknowledgment sent {"connection_id":160242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:46:02] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:02] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:02] local.INFO: IMEI packet received {"connection_id":159064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:46:08] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:08] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:08] local.INFO: IMEI packet received {"connection_id":159064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":159064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:46:09] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:46:09] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:46:09] local.INFO: Packet analysis {"connection_id":159064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:46:09] local.INFO: Extracted packet for processing {"connection_id":159064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:46:09] 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-08-21 13:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":159064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:46:09] local.INFO: GPS data processed {"connection_id":159064,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:46:09] local.INFO: Acknowledgment sent {"connection_id":159064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:46:13] local.INFO: TCP Data received {"connection_id":159064,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:46:13] local.INFO: Processing buffer {"connection_id":159064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:46:13] local.INFO: Packet analysis {"connection_id":159064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:46:13] local.INFO: Extracted packet for processing {"connection_id":159064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:46:13] 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-08-21 13:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":159064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:46:13] local.INFO: GPS data processed {"connection_id":159064,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:46:13] local.INFO: Acknowledgment sent {"connection_id":159064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:46:30] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:46:30] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:46:30] local.INFO: IMEI packet received {"connection_id":161614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":161614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:46:35] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:46:35] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:46:35] local.INFO: IMEI packet received {"connection_id":161614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":161614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:46:35] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:46:35] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:46:35] local.INFO: Packet analysis {"connection_id":161614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:46:35] local.INFO: Extracted packet for processing {"connection_id":161614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:46:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":161614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:46:36] local.INFO: GPS data processed {"connection_id":161614,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:46:36] local.INFO: Acknowledgment sent {"connection_id":161614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:46:57] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:57] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:46:57] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:47:02] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:47:02] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:47:02] local.INFO: IMEI packet received {"connection_id":160243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":160243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:47:03] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:47:03] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:47:03] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:03] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:47: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-08-21 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:47:03] 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-08-21 13: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-08-21 13:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:47: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-08-21 13:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:47:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:47:03] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:47:03] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:47:07] local.INFO: TCP Data received {"connection_id":161614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:47:07] local.INFO: Processing buffer {"connection_id":161614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:47:07] local.INFO: Packet analysis {"connection_id":161614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:07] local.INFO: Extracted packet for processing {"connection_id":161614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":161614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:47:07] local.INFO: GPS data processed {"connection_id":161614,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:47:07] local.INFO: Acknowledgment sent {"connection_id":161614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:47:30] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:47:30] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:47:30] local.INFO: IMEI packet received {"connection_id":159065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":159065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:47:34] local.INFO: TCP Data received {"connection_id":160243,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:47:34] local.INFO: Processing buffer {"connection_id":160243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:47:34] local.INFO: Packet analysis {"connection_id":160243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:34] local.INFO: Extracted packet for processing {"connection_id":160243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:47:34] 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-08-21 13:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:47:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":160243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:47:34] local.INFO: GPS data processed {"connection_id":160243,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:47:34] local.INFO: Acknowledgment sent {"connection_id":160243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:47:35] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:47:35] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:47:35] local.INFO: IMEI packet received {"connection_id":159065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":159065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:47:35] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:47:35] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:47:35] local.INFO: Packet analysis {"connection_id":159065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:35] local.INFO: Extracted packet for processing {"connection_id":159065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:47:35] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:47:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:47:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":159065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:47:36] local.INFO: GPS data processed {"connection_id":159065,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:47:36] local.INFO: Acknowledgment sent {"connection_id":159065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:47:57] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:47:57] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:47:57] local.INFO: IMEI packet received {"connection_id":159341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":159341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:48:02] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:48:02] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:48:02] local.INFO: IMEI packet received {"connection_id":159341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:48:03] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:48:03] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:48:03] local.INFO: Packet analysis {"connection_id":159341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:03] local.INFO: Extracted packet for processing {"connection_id":159341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:48: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-08-21 13:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:48:03] 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-08-21 13:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:48: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-08-21 13:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:48:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":159341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:48:03] local.INFO: GPS data processed {"connection_id":159341,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:48:03] local.INFO: Acknowledgment sent {"connection_id":159341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:48:07] local.INFO: TCP Data received {"connection_id":159065,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:48:07] local.INFO: Processing buffer {"connection_id":159065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:48:07] local.INFO: Packet analysis {"connection_id":159065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:07] local.INFO: Extracted packet for processing {"connection_id":159065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":159065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:48:07] local.INFO: GPS data processed {"connection_id":159065,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:48:07] local.INFO: Acknowledgment sent {"connection_id":159065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:48:30] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:48:30] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:48:30] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:48:34] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:48:34] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:48:34] local.INFO: Packet analysis {"connection_id":159341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:34] local.INFO: Extracted packet for processing {"connection_id":159341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:48:34] 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-08-21 13:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:48:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:48:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":159341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:48:34] local.INFO: GPS data processed {"connection_id":159341,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:48:34] local.INFO: Acknowledgment sent {"connection_id":159341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:48:35] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:48:35] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:48:35] local.INFO: IMEI packet received {"connection_id":160244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":160244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:48:36] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:48:36] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:48:36] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:36] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:48:36] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:48:36] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:48:57] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:48:57] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:48:57] local.INFO: IMEI packet received {"connection_id":161615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":161615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:49:04] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:49:04] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:49:04] local.INFO: IMEI packet received {"connection_id":161615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":161615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:49:05] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:49:05] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:49:05] local.INFO: Packet analysis {"connection_id":161615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:05] local.INFO: Extracted packet for processing {"connection_id":161615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:49:05] 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-08-21 13:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:49: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-08-21 13:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:49:05] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:49:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":161615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:49:05] local.INFO: GPS data processed {"connection_id":161615,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:49:05] local.INFO: Acknowledgment sent {"connection_id":161615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:49:07] local.INFO: TCP Data received {"connection_id":160244,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:49:07] local.INFO: Processing buffer {"connection_id":160244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:49:07] local.INFO: Packet analysis {"connection_id":160244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:07] local.INFO: Extracted packet for processing {"connection_id":160244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":160244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:49:07] local.INFO: GPS data processed {"connection_id":160244,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:49:07] local.INFO: Acknowledgment sent {"connection_id":160244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:49:30] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:49:30] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:49:30] local.INFO: IMEI packet received {"connection_id":161616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":161616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:49:35] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:49:35] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:49:35] local.INFO: IMEI packet received {"connection_id":161616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":161616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:49:36] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:49:36] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023628bc0012d18a88007227fe8007401492d..."} 
[2026-08-21 13:49:36] local.INFO: Packet analysis {"connection_id":161616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:36] local.INFO: Extracted packet for processing {"connection_id":161616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119701480,"longitude_deg":75.659072,"latitude_deg":11.970148,"altitude":116,"angle":329,"satellites":45,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07227fe8","is_valid_coordinates":true} 
[2026-08-21 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300056000,"timestamp_ms":1787300056000,"timestamp_seconds":1787300056,"priority":1,"record_length":96,"hex_timestamp":"000001a023628bc0"} 
[2026-08-21 13:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:49:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:49:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":13156,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:49:36] local.INFO: GPS data processed {"connection_id":161616,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:49:36] local.INFO: Acknowledgment sent {"connection_id":161616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:49:36] local.INFO: TCP Data received {"connection_id":161615,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:49:36] local.INFO: Processing buffer {"connection_id":161615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023627068012dde4440050df350000600091f..."} 
[2026-08-21 13:49:36] local.INFO: Packet analysis {"connection_id":161615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:36] local.INFO: Extracted packet for processing {"connection_id":161615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02362"} 
[2026-08-21 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":6,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:49:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:49:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:49:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300049000,"timestamp_ms":1787300049000,"timestamp_seconds":1787300049,"priority":1,"record_length":96,"hex_timestamp":"000001a023627068"} 
[2026-08-21 13:49:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:49:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:49:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 13:49:36] 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-08-21 13:49:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:49:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:49:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:49:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:49:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:49:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:49: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-08-21 13:49:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:49:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:49:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548735488001,"66":25962,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:49:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:49:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:49:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:49:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:49:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548735488001,"power":25962,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":161615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:49:36] local.INFO: GPS data processed {"connection_id":161615,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:49:36] local.INFO: Acknowledgment sent {"connection_id":161615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:49:57] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:49:57] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:49:57] local.INFO: IMEI packet received {"connection_id":159066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":159066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:50:03] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:50:03] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:50:03] local.INFO: IMEI packet received {"connection_id":159066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":159066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:50:04] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:50:04] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:50:04] local.INFO: Packet analysis {"connection_id":159066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:04] local.INFO: Extracted packet for processing {"connection_id":159066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:50: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-08-21 13:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:50:04] 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-08-21 13:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:50: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-08-21 13:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:50:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:50:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":159066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:50:04] local.INFO: GPS data processed {"connection_id":159066,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:50:04] local.INFO: Acknowledgment sent {"connection_id":159066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:50:07] local.INFO: TCP Data received {"connection_id":161616,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:50:07] local.INFO: Processing buffer {"connection_id":161616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:50:07] local.INFO: Packet analysis {"connection_id":161616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:07] local.INFO: Extracted packet for processing {"connection_id":161616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":161616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:50:07] local.INFO: GPS data processed {"connection_id":161616,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:50:07] local.INFO: Acknowledgment sent {"connection_id":161616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:50:30] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:50:30] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:50:30] local.INFO: IMEI packet received {"connection_id":159342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":159342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:50:35] local.INFO: TCP Data received {"connection_id":159066,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:50:35] local.INFO: Processing buffer {"connection_id":159066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:50:35] local.INFO: Packet analysis {"connection_id":159066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:35] local.INFO: Extracted packet for processing {"connection_id":159066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:50:35] 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-08-21 13:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:50:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:50:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":159066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:50:35] local.INFO: GPS data processed {"connection_id":159066,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:50:35] local.INFO: Acknowledgment sent {"connection_id":159066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:50:35] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:50:35] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:50:35] local.INFO: IMEI packet received {"connection_id":159342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":159342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:50:36] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:50:36] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:50:36] local.INFO: Packet analysis {"connection_id":159342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:36] local.INFO: Extracted packet for processing {"connection_id":159342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":159342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:50:36] local.INFO: GPS data processed {"connection_id":159342,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:50:36] local.INFO: Acknowledgment sent {"connection_id":159342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:50:57] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:50:57] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:50:57] local.INFO: IMEI packet received {"connection_id":161617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":161617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:51:03] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:51:03] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:51:03] local.INFO: IMEI packet received {"connection_id":161617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":161617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:51:03] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:51:03] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:51:03] local.INFO: Packet analysis {"connection_id":161617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:03] local.INFO: Extracted packet for processing {"connection_id":161617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:51: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-08-21 13:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:51: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-08-21 13:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:51: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-08-21 13:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:51:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":161617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:51:03] local.INFO: GPS data processed {"connection_id":161617,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:51:03] local.INFO: Acknowledgment sent {"connection_id":161617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:51:07] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:51:07] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:51:07] local.INFO: Packet analysis {"connection_id":159342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:07] local.INFO: Extracted packet for processing {"connection_id":159342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:51:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":159342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:51:07] local.INFO: GPS data processed {"connection_id":159342,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:51:07] local.INFO: Acknowledgment sent {"connection_id":159342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:51:30] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:51:30] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:51:30] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:51:34] local.INFO: TCP Data received {"connection_id":161617,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:51:34] local.INFO: Processing buffer {"connection_id":161617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:51:34] local.INFO: Packet analysis {"connection_id":161617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:34] local.INFO: Extracted packet for processing {"connection_id":161617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:51:34] 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-08-21 13:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:51:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":161617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:51:34] local.INFO: GPS data processed {"connection_id":161617,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:51:34] local.INFO: Acknowledgment sent {"connection_id":161617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:51:35] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:51:35] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:51:35] local.INFO: IMEI packet received {"connection_id":160245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:51:35] local.INFO: IMEI acknowledgment sent {"connection_id":160245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:51:36] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:51:36] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:51:36] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:36] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:51:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:51:36] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:51:36] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:51:57] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:51:57] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:51:57] local.INFO: IMEI packet received {"connection_id":159067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":159067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:52:03] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:52:03] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:52:03] local.INFO: IMEI packet received {"connection_id":159067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":159067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:52:03] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:52:03] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:52:03] local.INFO: Packet analysis {"connection_id":159067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:52:03] local.INFO: Extracted packet for processing {"connection_id":159067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:52:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:52: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-08-21 13: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":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:52: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-08-21 13:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:52: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-08-21 13:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:52:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:52:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":159067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:52:03] local.INFO: GPS data processed {"connection_id":159067,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:52:03] local.INFO: Acknowledgment sent {"connection_id":159067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:52:07] local.INFO: TCP Data received {"connection_id":160245,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:52:07] local.INFO: Processing buffer {"connection_id":160245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:52:07] local.INFO: Packet analysis {"connection_id":160245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:52:07] local.INFO: Extracted packet for processing {"connection_id":160245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:52:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":160245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:52:07] local.INFO: GPS data processed {"connection_id":160245,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:52:07] local.INFO: Acknowledgment sent {"connection_id":160245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:52:30] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:52:30] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:52:30] local.INFO: IMEI packet received {"connection_id":159343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":159343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:52:35] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:52:35] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:52:35] local.INFO: IMEI packet received {"connection_id":159343,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":159343,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:52:36] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:52:36] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:52:36] local.INFO: Packet analysis {"connection_id":159343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:52:36] local.INFO: Extracted packet for processing {"connection_id":159343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:52:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:52:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:52:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:52:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:52:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:52:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:52:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:52:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:52:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:52:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:52:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:52:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:52:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:52:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:52:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:52:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:52:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:52:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:52:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:52:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:52:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:52:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:52:36] local.INFO: DEBUG: GPS processor result {"connection_id":159343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:52:36] local.INFO: GPS data processed {"connection_id":159343,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:52:36] local.INFO: Acknowledgment sent {"connection_id":159343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:52:58] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:52:58] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:52:58] local.INFO: IMEI packet received {"connection_id":159068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":159068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:53:03] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:53:03] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:53:03] local.INFO: IMEI packet received {"connection_id":159068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":159068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:53:03] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:03] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:03] local.INFO: Packet analysis {"connection_id":159068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:03] local.INFO: Extracted packet for processing {"connection_id":159068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:53: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-08-21 13:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:53: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-08-21 13:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:53: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-08-21 13:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:53:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:53:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":159068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:53:03] local.INFO: GPS data processed {"connection_id":159068,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:53:03] local.INFO: Acknowledgment sent {"connection_id":159068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:53:07] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:53:07] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:53:07] local.INFO: Packet analysis {"connection_id":159343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:07] local.INFO: Extracted packet for processing {"connection_id":159343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159343,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:53:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":159343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:53:07] local.INFO: GPS data processed {"connection_id":159343,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:53:07] local.INFO: Acknowledgment sent {"connection_id":159343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:53:28] local.INFO: TCP Data received {"connection_id":159067,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:28] local.INFO: Processing buffer {"connection_id":159067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:28] local.INFO: Packet analysis {"connection_id":159067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:28] local.INFO: Extracted packet for processing {"connection_id":159067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 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-08-21 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:53:28] 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-08-21 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-08-21 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-08-21 13:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:53:28] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:53:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":159067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:53:28] local.INFO: GPS data processed {"connection_id":159067,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:53:28] local.INFO: Acknowledgment sent {"connection_id":159067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:53:30] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:53:30] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:53:30] local.INFO: IMEI packet received {"connection_id":160246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":160246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:53:34] local.INFO: TCP Data received {"connection_id":159068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:34] local.INFO: Processing buffer {"connection_id":159068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:53:34] local.INFO: Packet analysis {"connection_id":159068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:34] local.INFO: Extracted packet for processing {"connection_id":159068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:53:34] 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-08-21 13:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:53:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:53:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":159068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:53:34] local.INFO: GPS data processed {"connection_id":159068,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:53:34] local.INFO: Acknowledgment sent {"connection_id":159068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:53:35] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:53:35] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:53:35] local.INFO: IMEI packet received {"connection_id":160246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":160246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:53:36] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:53:36] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:53:36] local.INFO: Packet analysis {"connection_id":160246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:36] local.INFO: Extracted packet for processing {"connection_id":160246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:53:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:53:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:53:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:53:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":160246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:53:36] local.INFO: GPS data processed {"connection_id":160246,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:53:36] local.INFO: Acknowledgment sent {"connection_id":160246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:53:59] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:53:59] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:53:59] local.INFO: IMEI packet received {"connection_id":159069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":159069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:54:03] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:54:03] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:54:03] local.INFO: IMEI packet received {"connection_id":159069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":159069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:54:03] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:03] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:03] local.INFO: Packet analysis {"connection_id":159069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:03] local.INFO: Extracted packet for processing {"connection_id":159069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:54: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-08-21 13:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:54: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-08-21 13:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:54: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-08-21 13:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:54:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":159069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:54:03] local.INFO: GPS data processed {"connection_id":159069,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:54:03] local.INFO: Acknowledgment sent {"connection_id":159069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:54:07] local.INFO: TCP Data received {"connection_id":160246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:07] local.INFO: Processing buffer {"connection_id":160246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:07] local.INFO: Packet analysis {"connection_id":160246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:07] local.INFO: Extracted packet for processing {"connection_id":160246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:54:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":160246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:54:07] local.INFO: GPS data processed {"connection_id":160246,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:54:07] local.INFO: Acknowledgment sent {"connection_id":160246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:54:10] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:10] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:10] local.INFO: Packet analysis {"connection_id":159069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:10] local.INFO: Extracted packet for processing {"connection_id":159069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:10] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:54:10] 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-08-21 13: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-08-21 13:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:54: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-08-21 13:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:54:10] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:54:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":159069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:54:10] local.INFO: GPS data processed {"connection_id":159069,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:54:10] local.INFO: Acknowledgment sent {"connection_id":159069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:54:35] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:54:35] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:54:35] local.INFO: IMEI packet received {"connection_id":161618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":161618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:54:40] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:54:40] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:54:40] local.INFO: IMEI packet received {"connection_id":161618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":161618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:54:41] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:41] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:41] local.INFO: Packet analysis {"connection_id":161618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:41] local.INFO: Extracted packet for processing {"connection_id":161618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":161618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:54:41] local.INFO: GPS data processed {"connection_id":161618,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:54:41] local.INFO: Acknowledgment sent {"connection_id":161618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:54:43] local.INFO: TCP Data received {"connection_id":159069,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:43] local.INFO: Processing buffer {"connection_id":159069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023670830012dde4440050df350000800091e..."} 
[2026-08-21 13:54:43] local.INFO: Packet analysis {"connection_id":159069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:43] local.INFO: Extracted packet for processing {"connection_id":159069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:43] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":30,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548812544001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787300350000,"timestamp_ms":1787300350000,"timestamp_seconds":1787300350,"priority":1,"record_length":96,"hex_timestamp":"000001a023670830"} 
[2026-08-21 13:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 13:54:43] 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-08-21 13:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548812544001,"66":25908,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548812544001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:54:43] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:54:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548812544001,"power":25908,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":159069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:54:43] local.INFO: GPS data processed {"connection_id":159069,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:54:43] local.INFO: Acknowledgment sent {"connection_id":159069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:54:45] local.INFO: TCP Data received {"connection_id":161618,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:45] local.INFO: Processing buffer {"connection_id":161618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023672770012d18aa8007228050007301492e..."} 
[2026-08-21 13:54:45] local.INFO: Packet analysis {"connection_id":161618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:45] local.INFO: Extracted packet for processing {"connection_id":161618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02367"} 
[2026-08-21 13:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548814336001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821129594880,"note":"Value kept but may cause issues"} 
[2026-08-21 13:54:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787300358000,"timestamp_ms":1787300358000,"timestamp_seconds":1787300358,"priority":1,"record_length":96,"hex_timestamp":"000001a023672770"} 
[2026-08-21 13:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:54:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 13:54:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548814336001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1776810821129594880},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548814336001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:54:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:54:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821129594880,"description":"Unknown IO ID 45"} 
[2026-08-21 13:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548814336001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1776810821129594880}} 
[2026-08-21 13:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":161618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:54:45] local.INFO: GPS data processed {"connection_id":161618,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:54:45] local.INFO: Acknowledgment sent {"connection_id":161618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:54:58] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:54:58] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:54:58] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:55:03] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:55:03] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:55:03] local.INFO: IMEI packet received {"connection_id":160247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":160247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:55:03] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:55:03] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:55:03] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:55:03] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:55:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:55: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-08-21 13: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:55: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-08-21 13: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-08-21 13:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:55: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-08-21 13:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:55:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:55:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:55:03] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:55:03] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:55:17] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:17] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:17] local.INFO: IMEI packet received {"connection_id":159344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":159344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:55:18] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:18] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:18] local.INFO: IMEI packet received {"connection_id":159344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":159344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:55:22] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:22] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:55:22] local.INFO: IMEI packet received {"connection_id":159344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 13:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":159344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:55:23] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:55:23] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:55:23] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 13:55:23] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 13:55: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-08-21 13:55:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:55:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:55:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:55:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:55:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 13:55:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:55:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:55:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:55:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 13:55:23] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 13:55:23] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 13:55:23] local.ERROR: GPS data processing failed {"connection_id":159344,"error":"No valid data to process"} 
[2026-08-21 13:55:23] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 13:55:27] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:55:27] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 13:55:27] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 13:55:27] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 13:55:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:55:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:55:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 13:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 13:55:27] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 13:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 13:55:27] local.ERROR: GPS data processing failed {"connection_id":159344,"error":"No valid data to process"} 
[2026-08-21 13:55:27] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 13:55:30] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:55:30] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:55:30] local.INFO: IMEI packet received {"connection_id":159345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":159345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:55:34] local.INFO: TCP Data received {"connection_id":160247,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:55:34] local.INFO: Processing buffer {"connection_id":160247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:55:34] local.INFO: Packet analysis {"connection_id":160247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:55:34] local.INFO: Extracted packet for processing {"connection_id":160247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:55:34] 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-08-21 13:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:55:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:55:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":160247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:55:34] local.INFO: GPS data processed {"connection_id":160247,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:55:34] local.INFO: Acknowledgment sent {"connection_id":160247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:55:35] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:55:35] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:55:35] local.INFO: IMEI packet received {"connection_id":159345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":159345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:55:36] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:55:36] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:55:36] local.INFO: Packet analysis {"connection_id":159345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:55:36] local.INFO: Extracted packet for processing {"connection_id":159345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 13:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 13:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:55:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":159345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:55:36] local.INFO: GPS data processed {"connection_id":159345,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:55:36] local.INFO: Acknowledgment sent {"connection_id":159345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:55:57] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:55:57] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:55:57] local.INFO: IMEI packet received {"connection_id":159346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":159346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:55:58] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 13:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 13:55:58] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 13:55:58] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 13:55:58] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 13:55: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-08-21 13:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:55:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:55:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 13:55:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 13:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 13:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 13:55:58] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 13:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 13:55:58] local.ERROR: GPS data processing failed {"connection_id":159344,"error":"No valid data to process"} 
[2026-08-21 13:55:58] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 13:56:02] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:56:02] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:56:02] local.INFO: IMEI packet received {"connection_id":159346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":159346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:56:03] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:56:03] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:56:03] local.INFO: Packet analysis {"connection_id":159346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:03] local.INFO: Extracted packet for processing {"connection_id":159346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 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-08-21 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-08-21 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":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:56: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-08-21 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-08-21 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-08-21 13:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:56: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-08-21 13:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:56:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:56:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":159346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:56:03] local.INFO: GPS data processed {"connection_id":159346,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:56:03] local.INFO: Acknowledgment sent {"connection_id":159346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:56:07] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:56:07] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:56:07] local.INFO: Packet analysis {"connection_id":159345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:07] local.INFO: Extracted packet for processing {"connection_id":159345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 13:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 13:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:56:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":159345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:56:07] local.INFO: GPS data processed {"connection_id":159345,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:56:07] local.INFO: Acknowledgment sent {"connection_id":159345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:56:29] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236d3e080100000000000000000000000000..."} 
[2026-08-21 13:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236d3e080100000000000000000000000000..."} 
[2026-08-21 13:56:29] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236d3e080100000000000000000000000000..."} 
[2026-08-21 13:56:29] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236d"} 
[2026-08-21 13:56:29] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236d"} 
[2026-08-21 13:56:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787300757000,"timestamp_ms":1787300757000,"timestamp_seconds":1787300757,"priority":1,"record_length":96,"hex_timestamp":"000001a0236d3e08"} 
[2026-08-21 13:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-21 13:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:56: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-08-21 13:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:56:29] local.INFO: GPS data processed {"connection_id":159344,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:56:29] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:56:30] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:56:30] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:56:30] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:56:34] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:56:34] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:56:34] local.INFO: Packet analysis {"connection_id":159346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:34] local.INFO: Extracted packet for processing {"connection_id":159346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:56:34] 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-08-21 13:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:56:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:56:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":159346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:56:34] local.INFO: GPS data processed {"connection_id":159346,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:56:34] local.INFO: Acknowledgment sent {"connection_id":159346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:56:35] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:56:35] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:56:35] local.INFO: IMEI packet received {"connection_id":160248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":160248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:56:36] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:56:36] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:56:36] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:36] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 13:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:56:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 13:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:56:36] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:56:36] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:57:00] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236d90100100000000000000000000000000..."} 
[2026-08-21 13:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236d90100100000000000000000000000000..."} 
[2026-08-21 13:57:00] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236d90100100000000000000000000000000..."} 
[2026-08-21 13:57:00] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236d"} 
[2026-08-21 13:57:00] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236d"} 
[2026-08-21 13:57:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787300778000,"timestamp_ms":1787300778000,"timestamp_seconds":1787300778,"priority":1,"record_length":96,"hex_timestamp":"000001a0236d9010"} 
[2026-08-21 13:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-21 13:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:57:00] local.INFO: GPS data processed {"connection_id":159344,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:57:00] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:57:03] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:03] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:03] local.INFO: IMEI packet received {"connection_id":159070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":159070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:57:07] local.INFO: TCP Data received {"connection_id":160248,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:57:07] local.INFO: Processing buffer {"connection_id":160248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:57:07] local.INFO: Packet analysis {"connection_id":160248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:07] local.INFO: Extracted packet for processing {"connection_id":160248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 13:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 13:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":160248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:57:07] local.INFO: GPS data processed {"connection_id":160248,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:57:07] local.INFO: Acknowledgment sent {"connection_id":160248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:57:08] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:08] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:08] local.INFO: IMEI packet received {"connection_id":159070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":159070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:57:08] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:57:08] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:57:08] local.INFO: Packet analysis {"connection_id":159070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:08] local.INFO: Extracted packet for processing {"connection_id":159070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13: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-08-21 13:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:57:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:57:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":159070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:57:08] local.INFO: GPS data processed {"connection_id":159070,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:57:08] local.INFO: Acknowledgment sent {"connection_id":159070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:57:13] local.INFO: TCP Data received {"connection_id":159070,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:57:13] local.INFO: Processing buffer {"connection_id":159070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:57:13] local.INFO: Packet analysis {"connection_id":159070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:13] local.INFO: Extracted packet for processing {"connection_id":159070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:57:13] 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-08-21 13:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:57:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:57:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":159070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:57:13] local.INFO: GPS data processed {"connection_id":159070,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:57:13] local.INFO: Acknowledgment sent {"connection_id":159070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:57:30] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:57:30] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:57:30] local.INFO: IMEI packet received {"connection_id":161619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":161619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:57:31] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236de2180100000000000000000000000000..."} 
[2026-08-21 13:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236de2180100000000000000000000000000..."} 
[2026-08-21 13:57:31] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236de2180100000000000000000000000000..."} 
[2026-08-21 13:57:31] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236d"} 
[2026-08-21 13:57:31] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236d"} 
[2026-08-21 13:57:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787300799000,"timestamp_ms":1787300799000,"timestamp_seconds":1787300799,"priority":1,"record_length":96,"hex_timestamp":"000001a0236de218"} 
[2026-08-21 13:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 13:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:57:31] local.INFO: GPS data processed {"connection_id":159344,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:57:31] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:57:35] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:57:35] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:57:35] local.INFO: IMEI packet received {"connection_id":161619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":161619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:57:46] local.INFO: TCP Data received {"connection_id":161619,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:57:46] local.INFO: Processing buffer {"connection_id":161619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:57:46] local.INFO: Packet analysis {"connection_id":161619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:46] local.INFO: Extracted packet for processing {"connection_id":161619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 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-08-21 13:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:57: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-08-21 13:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 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-08-21 13:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":118,"data_length":795,"current_offset":136} 
[2026-08-21 13: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-08-21 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-08-21 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-08-21 13:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":161619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:57:46] local.INFO: GPS data processed {"connection_id":161619,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:57:46] local.INFO: Acknowledgment sent {"connection_id":161619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:57:57] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:57] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:57:57] local.INFO: IMEI packet received {"connection_id":159071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":159071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:58:03] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:58:03] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:58:03] local.INFO: IMEI packet received {"connection_id":159071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":159071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:58:03] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:58:03] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:58:03] local.INFO: Packet analysis {"connection_id":159071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:58:03] local.INFO: Extracted packet for processing {"connection_id":159071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:58:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13: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-08-21 13:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:58: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-08-21 13: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":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:58: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-08-21 13: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-08-21 13:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13: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-08-21 13:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:58:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":159071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:58:03] local.INFO: GPS data processed {"connection_id":159071,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:58:03] local.INFO: Acknowledgment sent {"connection_id":159071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:58:06] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236e34200100000000000000000000000000..."} 
[2026-08-21 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236e34200100000000000000000000000000..."} 
[2026-08-21 13:58:06] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236e34200100000000000000000000000000..."} 
[2026-08-21 13:58:06] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236e"} 
[2026-08-21 13:58:06] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236e"} 
[2026-08-21 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787300820000,"timestamp_ms":1787300820000,"timestamp_seconds":1787300820,"priority":1,"record_length":96,"hex_timestamp":"000001a0236e3420"} 
[2026-08-21 13:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 13:58: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-08-21 13:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:58:06] local.INFO: GPS data processed {"connection_id":159344,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:58:06] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:58:30] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:58:30] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:58:30] local.INFO: IMEI packet received {"connection_id":160249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":160249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:58:34] local.INFO: TCP Data received {"connection_id":159071,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:58:34] local.INFO: Processing buffer {"connection_id":159071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:58:34] local.INFO: Packet analysis {"connection_id":159071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:58:34] local.INFO: Extracted packet for processing {"connection_id":159071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:58:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:58:34] 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-08-21 13:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:58:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:58:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":159071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:58:34] local.INFO: GPS data processed {"connection_id":159071,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:58:34] local.INFO: Acknowledgment sent {"connection_id":159071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:58:35] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:58:35] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:58:35] local.INFO: IMEI packet received {"connection_id":160249,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":160249,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:58:36] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:58:36] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:58:36] local.INFO: Packet analysis {"connection_id":160249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:58:36] local.INFO: Extracted packet for processing {"connection_id":160249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 13:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:58:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 13:58:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:58:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":160249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:58:36] local.INFO: GPS data processed {"connection_id":160249,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:58:36] local.INFO: Acknowledgment sent {"connection_id":160249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:58:38] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236e86280100000000000000000000000000..."} 
[2026-08-21 13:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236e86280100000000000000000000000000..."} 
[2026-08-21 13:58:38] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236e86280100000000000000000000000000..."} 
[2026-08-21 13:58:38] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236e"} 
[2026-08-21 13:58:38] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236e"} 
[2026-08-21 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:58:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787300841000,"timestamp_ms":1787300841000,"timestamp_seconds":1787300841,"priority":1,"record_length":96,"hex_timestamp":"000001a0236e8628"} 
[2026-08-21 13:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:58: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":40,"data_length":795,"current_offset":136} 
[2026-08-21 13:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:58:38] local.INFO: GPS data processed {"connection_id":159344,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:58:38] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:58:58] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:58:58] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:58:58] local.INFO: IMEI packet received {"connection_id":161620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":161620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:59:03] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:59:03] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:59:03] local.INFO: IMEI packet received {"connection_id":161620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 13:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":161620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:59:03] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:59:03] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:59:03] local.INFO: Packet analysis {"connection_id":161620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:03] local.INFO: Extracted packet for processing {"connection_id":161620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:59: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-08-21 13:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:59: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-08-21 13:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:59: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-08-21 13:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:59:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":161620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:59:03] local.INFO: GPS data processed {"connection_id":161620,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:59:03] local.INFO: Acknowledgment sent {"connection_id":161620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:59:07] local.INFO: TCP Data received {"connection_id":160249,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:59:07] local.INFO: Processing buffer {"connection_id":160249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:59:07] local.INFO: Packet analysis {"connection_id":160249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:07] local.INFO: Extracted packet for processing {"connection_id":160249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 13:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 13:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160249,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":160249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:59:07] local.INFO: GPS data processed {"connection_id":160249,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:59:07] local.INFO: Acknowledgment sent {"connection_id":160249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:59:09] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236ed8300100000000000000000000000000..."} 
[2026-08-21 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236ed8300100000000000000000000000000..."} 
[2026-08-21 13:59:09] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236ed8300100000000000000000000000000..."} 
[2026-08-21 13:59:09] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236e"} 
[2026-08-21 13:59:09] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236e"} 
[2026-08-21 13:59: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-08-21 13:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,99,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787300862000,"timestamp_ms":1787300862000,"timestamp_seconds":1787300862,"priority":1,"record_length":96,"hex_timestamp":"000001a0236ed830"} 
[2026-08-21 13:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 13:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:59:09] local.INFO: GPS data processed {"connection_id":159344,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:59:09] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:59:30] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:59:30] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:59:30] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 13:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:59:34] local.INFO: TCP Data received {"connection_id":161620,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:59:34] local.INFO: Processing buffer {"connection_id":161620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236b9ff8012dde4440050df350000900091b..."} 
[2026-08-21 13:59:34] local.INFO: Packet analysis {"connection_id":161620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:34] local.INFO: Extracted packet for processing {"connection_id":161620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":9,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 13:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787300651000,"timestamp_ms":1787300651000,"timestamp_seconds":1787300651,"priority":1,"record_length":96,"hex_timestamp":"000001a0236b9ff8"} 
[2026-08-21 13:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 13:59:34] 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-08-21 13:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 13:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 13:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 13:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548889600001,"66":25875,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 13:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 13:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 13:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:59:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 13:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 13:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 13:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548889600001,"power":25875,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 13:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":161620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:59:34] local.INFO: GPS data processed {"connection_id":161620,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:59:34] local.INFO: Acknowledgment sent {"connection_id":161620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:59:35] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:59:35] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 13:59:35] local.INFO: IMEI packet received {"connection_id":161621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 13:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":161621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 13:59:36] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:59:36] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236bbf38012d18aa8007228050007301492e..."} 
[2026-08-21 13:59:36] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:36] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236b"} 
[2026-08-21 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 13:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 13:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300659000,"timestamp_ms":1787300659000,"timestamp_seconds":1787300659,"priority":1,"record_length":96,"hex_timestamp":"000001a0236bbf38"} 
[2026-08-21 13:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 13:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 13:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 13:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 13:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 13:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548891648001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 13:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 13:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 13:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 13:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 13:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548891648001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 13:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 13:59:36] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-21 13:59:36] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:59:41] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236f2a380100000000000000000000000000..."} 
[2026-08-21 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236f2a380100000000000000000000000000..."} 
[2026-08-21 13:59:41] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236f2a380100000000000000000000000000..."} 
[2026-08-21 13:59:41] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236f"} 
[2026-08-21 13:59:41] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236f"} 
[2026-08-21 13:59:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 13:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 13:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 13:59:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,99,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 13:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787300883000,"timestamp_ms":1787300883000,"timestamp_seconds":1787300883,"priority":1,"record_length":96,"hex_timestamp":"000001a0236f2a38"} 
[2026-08-21 13:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 13:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 13:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 13:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 13:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 13:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 13:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 13:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 13:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 13:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 13:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 13:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 13:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 13:59:41] local.INFO: GPS data processed {"connection_id":159344,"processed":0,"errors":0,"total":1} 
[2026-08-21 13:59:41] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 13:59:57] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:59:57] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 13:59:57] local.INFO: IMEI packet received {"connection_id":159072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 13:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":159072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 13:59:57] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:59:57] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 13:59:57] local.INFO: IMEI packet received {"connection_id":159347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 13:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":159347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:00:00] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:00:00] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:00:00] local.INFO: IMEI packet received {"connection_id":159072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":159072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:00:01] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0236f7c400100000000000000000000000000..."} 
[2026-08-21 14:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0236f7c400100000000000000000000000000..."} 
[2026-08-21 14:00:01] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0236f7c400100000000000000000000000000..."} 
[2026-08-21 14:00:01] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0236f"} 
[2026-08-21 14:00:01] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0236f"} 
[2026-08-21 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 14:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121672467830800384,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,99,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 14:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787300904000,"timestamp_ms":1787300904000,"timestamp_seconds":1787300904,"priority":1,"record_length":96,"hex_timestamp":"000001a0236f7c40"} 
[2026-08-21 14:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 14:00:01] local.INFO: GPS data processed {"connection_id":159072,"processed":0,"errors":0,"total":1} 
[2026-08-21 14:00:01] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:00:03] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:00:03] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:00:03] local.INFO: IMEI packet received {"connection_id":159347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":159347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:00:03] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:00:03] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:00:03] local.INFO: Packet analysis {"connection_id":159347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:03] local.INFO: Extracted packet for processing {"connection_id":159347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:00: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-08-21 14:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:00:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":159347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:00:03] local.INFO: GPS data processed {"connection_id":159347,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:00:03] local.INFO: Acknowledgment sent {"connection_id":159347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:00:07] local.INFO: TCP Data received {"connection_id":161621,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:00:07] local.INFO: Processing buffer {"connection_id":161621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:00:07] local.INFO: Packet analysis {"connection_id":161621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:07] local.INFO: Extracted packet for processing {"connection_id":161621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":161621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:00:07] local.INFO: GPS data processed {"connection_id":161621,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:00:07] local.INFO: Acknowledgment sent {"connection_id":161621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:00:30] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:00:30] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:00:30] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:00:32] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023710e98012d7b02c005ebdc70000b003f0d..."} 
[2026-08-21 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023710e98012d7b02c005ebdc70000b003f0d..."} 
[2026-08-21 14:00:32] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023710e98012d7b02c005ebdc70000b003f0d..."} 
[2026-08-21 14:00:32] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:00:32] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763036352,"raw_latitude":99343472,"longitude_deg":76.3036352,"latitude_deg":9.9343472,"altitude":11,"angle":63,"satellites":13,"speed":41,"hex_longitude":"2d7b02c0","hex_latitude":"05ebdc70","is_valid_coordinates":true} 
[2026-08-21 14:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549055488001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121675027631308800,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854710211538970624,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787301007000,"timestamp_ms":1787301007000,"timestamp_seconds":1787301007,"priority":1,"record_length":96,"hex_timestamp":"000001a023710e98"} 
[2026-08-21 14:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 14:00: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-08-21 14:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549055488001,"66":13091,"99":206,"87":13824,"24":41,"16":121675027631308800,"45":8854710211538970624},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 14:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549055488001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:00:32] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 14:00:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121675027631308800,"km_value":121675027631308.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854710211538970624,"description":"Unknown IO ID 45"} 
[2026-08-21 14:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549055488001,"power":13091,"unknown_99":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8854710211538970624}} 
[2026-08-21 14:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675906,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:00:32] local.INFO: GPS data processed {"connection_id":159072,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:00:32] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:00:35] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:00:35] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:00:35] local.INFO: Packet analysis {"connection_id":159347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:35] local.INFO: Extracted packet for processing {"connection_id":159347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:00:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:00:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:00:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":159347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:00:35] local.INFO: GPS data processed {"connection_id":159347,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:00:35] local.INFO: Acknowledgment sent {"connection_id":159347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:00:35] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:00:35] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:00:35] local.INFO: IMEI packet received {"connection_id":161622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":161622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:00:36] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:00:36] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:00:36] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:36] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:00:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:00:36] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:00:36] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:01:03] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:03] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:03] local.INFO: IMEI packet received {"connection_id":159348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":159348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:01:05] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237135a8012d7b240005ebed500010003e0f..."} 
[2026-08-21 14:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237135a8012d7b240005ebed500010003e0f..."} 
[2026-08-21 14:01:05] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237135a8012d7b240005ebed500010003e0f..."} 
[2026-08-21 14:01:05] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:01:05] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763044864,"raw_latitude":99347792,"longitude_deg":76.3044864,"latitude_deg":9.9347792,"altitude":16,"angle":62,"satellites":15,"speed":38,"hex_longitude":"2d7b2400","hex_latitude":"05ebed50","is_valid_coordinates":true} 
[2026-08-21 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549057792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121675487192809472,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863858148283019264,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787301017000,"timestamp_ms":1787301017000,"timestamp_seconds":1787301017,"priority":1,"record_length":96,"hex_timestamp":"000001a0237135a8"} 
[2026-08-21 14:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 14:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549057792001,"66":13091,"99":206,"87":13824,"24":38,"16":121675487192809472,"45":8863858148283019264},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 14:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549057792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:01:05] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 14:01:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121675487192809472,"km_value":121675487192809.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863858148283019264,"description":"Unknown IO ID 45"} 
[2026-08-21 14:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549057792001,"power":13091,"unknown_99":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8863858148283019264}} 
[2026-08-21 14:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:01:05] local.INFO: GPS data processed {"connection_id":159072,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:01:05] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:01:07] local.INFO: TCP Data received {"connection_id":161622,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:01:07] local.INFO: Processing buffer {"connection_id":161622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:01:07] local.INFO: Packet analysis {"connection_id":161622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:07] local.INFO: Extracted packet for processing {"connection_id":161622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":161622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:01:07] local.INFO: GPS data processed {"connection_id":161622,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:01:07] local.INFO: Acknowledgment sent {"connection_id":161622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:01:08] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:08] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:08] local.INFO: IMEI packet received {"connection_id":159348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":159348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:01:09] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:01:09] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:01:09] local.INFO: Packet analysis {"connection_id":159348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:09] local.INFO: Extracted packet for processing {"connection_id":159348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:01:09] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:01:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":159348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:01:09] local.INFO: GPS data processed {"connection_id":159348,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:01:09] local.INFO: Acknowledgment sent {"connection_id":159348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:01:13] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:01:13] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:01:13] local.INFO: Packet analysis {"connection_id":159348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:13] local.INFO: Extracted packet for processing {"connection_id":159348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:01:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:01:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":159348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:01:13] local.INFO: GPS data processed {"connection_id":159348,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:01:13] local.INFO: Acknowledgment sent {"connection_id":159348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:01:30] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:01:30] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:01:30] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:01:35] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:01:35] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:01:35] local.INFO: IMEI packet received {"connection_id":160250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":160250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:01:36] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:01:36] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:01:36] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:36] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:01:36] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:01:36] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:01:36] local.INFO: TCP Data received {"connection_id":159072,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237160a0012d7b444005ebfd180011003f10..."} 
[2026-08-21 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237160a0012d7b444005ebfd180011003f10..."} 
[2026-08-21 14:01:36] local.INFO: Processing buffer {"connection_id":159072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237160a0012d7b444005ebfd180011003f10..."} 
[2026-08-21 14:01:36] local.INFO: Packet analysis {"connection_id":159072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:01:36] local.INFO: Extracted packet for processing {"connection_id":159072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763053120,"raw_latitude":99351832,"longitude_deg":76.305312,"latitude_deg":9.9351832,"altitude":17,"angle":63,"satellites":16,"speed":29,"hex_longitude":"2d7b4440","hex_latitude":"05ebfd18","is_valid_coordinates":true} 
[2026-08-21 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549060352001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121675925279473664,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873217191259754496,"note":"Value kept but may cause issues"} 
[2026-08-21 14:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301028000,"timestamp_ms":1787301028000,"timestamp_seconds":1787301028,"priority":1,"record_length":96,"hex_timestamp":"000001a0237160a0"} 
[2026-08-21 14:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 14:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549060352001,"66":13091,"99":206,"87":13824,"24":29,"16":121675925279473664,"45":8873217191259754496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 14:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549060352001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 14:01:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121675925279473664,"km_value":121675925279473.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873217191259754496,"description":"Unknown IO ID 45"} 
[2026-08-21 14:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549060352001,"power":13091,"unknown_99":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8873217191259754496}} 
[2026-08-21 14:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":159072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:01:37] local.INFO: GPS data processed {"connection_id":159072,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:01:37] local.INFO: Acknowledgment sent {"connection_id":159072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:01:56] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:01:56] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:01:56] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:01:57] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:57] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:01:57] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:02:01] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:02:01] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:02:01] local.INFO: IMEI packet received {"connection_id":161624,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":161624,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:02:03] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:02:03] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:02:03] local.INFO: IMEI packet received {"connection_id":161623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":161623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:02:03] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:02:03] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:02:03] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:03] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:02: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-08-21 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14: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-08-21 14:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:02:03] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:02:03] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:02:03] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023719368012d7b668005ec0b580012004510..."} 
[2026-08-21 14:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023719368012d7b668005ec0b580012004510..."} 
[2026-08-21 14:02:03] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023719368012d7b668005ec0b580012004510..."} 
[2026-08-21 14:02:03] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:02:03] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763061888,"raw_latitude":99355480,"longitude_deg":76.3061888,"latitude_deg":9.935548,"altitude":18,"angle":69,"satellites":16,"speed":27,"hex_longitude":"2d7b6680","hex_latitude":"05ec0b58","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549063168001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121676380546007040,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882294759259707392,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301041000,"timestamp_ms":1787301041000,"timestamp_seconds":1787301041,"priority":1,"record_length":96,"hex_timestamp":"000001a023719368"} 
[2026-08-21 14:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 14:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549063168001,"66":13341,"99":206,"87":13824,"24":27,"16":121676380546007040,"45":8882294759259707392},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 14:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549063168001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121676380546007040,"km_value":121676380546007.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882294759259707392,"description":"Unknown IO ID 45"} 
[2026-08-21 14:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549063168001,"power":13341,"unknown_99":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8882294759259707392}} 
[2026-08-21 14:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:02:04] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:02:04] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:02:07] local.INFO: TCP Data received {"connection_id":160250,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:02:07] local.INFO: Processing buffer {"connection_id":160250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:02:07] local.INFO: Packet analysis {"connection_id":160250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:07] local.INFO: Extracted packet for processing {"connection_id":160250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":160250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:02:07] local.INFO: GPS data processed {"connection_id":160250,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:02:07] local.INFO: Acknowledgment sent {"connection_id":160250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:02:30] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:02:30] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:02:30] local.INFO: IMEI packet received {"connection_id":159073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":159073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:02:35] local.INFO: TCP Data received {"connection_id":161623,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:02:35] local.INFO: Processing buffer {"connection_id":161623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:02:35] local.INFO: Packet analysis {"connection_id":161623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:35] local.INFO: Extracted packet for processing {"connection_id":161623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":161623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:02:35] local.INFO: GPS data processed {"connection_id":161623,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:02:35] local.INFO: Acknowledgment sent {"connection_id":161623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:02:35] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:02:35] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:02:35] local.INFO: IMEI packet received {"connection_id":159073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":159073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:02:35] local.INFO: TCP Data received {"connection_id":161624,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02371c248012d7b89c005ec15c80014004910..."} 
[2026-08-21 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02371c248012d7b89c005ec15c80014004910..."} 
[2026-08-21 14:02:35] local.INFO: Processing buffer {"connection_id":161624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02371c248012d7b89c005ec15c80014004910..."} 
[2026-08-21 14:02:35] local.INFO: Packet analysis {"connection_id":161624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:02:35] local.INFO: Extracted packet for processing {"connection_id":161624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763070912,"raw_latitude":99358152,"longitude_deg":76.3070912,"latitude_deg":9.9358152,"altitude":20,"angle":73,"satellites":16,"speed":35,"hex_longitude":"2d7b89c0","hex_latitude":"05ec15c8","is_valid_coordinates":true} 
[2026-08-21 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549066496001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121676831517573120,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891935277212981248,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787301053000,"timestamp_ms":1787301053000,"timestamp_seconds":1787301053,"priority":1,"record_length":96,"hex_timestamp":"000001a02371c248"} 
[2026-08-21 14:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 14:02: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-08-21 14:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161624,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549066496001,"66":13352,"99":206,"87":13824,"24":35,"16":121676831517573120,"45":8891935277212981248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 14:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549066496001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121676831517573120,"km_value":121676831517573.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891935277212981248,"description":"Unknown IO ID 45"} 
[2026-08-21 14:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549066496001,"power":13352,"unknown_99":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8891935277212981248}} 
[2026-08-21 14:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":161624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:02:35] local.INFO: GPS data processed {"connection_id":161624,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:02:35] local.INFO: Acknowledgment sent {"connection_id":161624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:02:36] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:02:36] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:02:36] local.INFO: Packet analysis {"connection_id":159073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:36] local.INFO: Extracted packet for processing {"connection_id":159073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":159073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:02:36] local.INFO: GPS data processed {"connection_id":159073,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:02:36] local.INFO: Acknowledgment sent {"connection_id":159073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:02:56] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:02:56] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:02:56] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:02:58] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:02:58] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:02:58] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:03:01] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:03:01] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:03:01] local.INFO: IMEI packet received {"connection_id":161626,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":161626,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:03:02] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02371f128012d7bac8005ec1ff80013004710..."} 
[2026-08-21 14:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02371f128012d7bac8005ec1ff80013004710..."} 
[2026-08-21 14:03:02] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02371f128012d7bac8005ec1ff80013004710..."} 
[2026-08-21 14:03:02] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:03:02] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02371"} 
[2026-08-21 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763079808,"raw_latitude":99360760,"longitude_deg":76.3079808,"latitude_deg":9.936076,"altitude":19,"angle":71,"satellites":16,"speed":27,"hex_longitude":"2d7bac80","hex_latitude":"05ec1ff8","is_valid_coordinates":true} 
[2026-08-21 14:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549069568001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121677273899204608,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901857270142715904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301065000,"timestamp_ms":1787301065000,"timestamp_seconds":1787301065,"priority":1,"record_length":96,"hex_timestamp":"000001a02371f128"} 
[2026-08-21 14:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-08-21 14:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549069568001,"66":13504,"99":206,"87":13824,"24":27,"16":121677273899204608,"45":8901857270142715904},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,87,24,16,45]} 
[2026-08-21 14:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549069568001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:03:02] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-08-21 14:03:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121677273899204608,"km_value":121677273899204.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901857270142715904,"description":"Unknown IO ID 45"} 
[2026-08-21 14:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549069568001,"power":13504,"unknown_99":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8901857270142715904}} 
[2026-08-21 14:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:03:02] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:03:02] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:03:03] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:03:03] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:03:03] local.INFO: IMEI packet received {"connection_id":161625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":161625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:03:03] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:03:03] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:03:03] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:03] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14: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-08-21 14: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":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:03: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-08-21 14:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:03:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:03:03] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:03:03] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:03:07] local.INFO: TCP Data received {"connection_id":159073,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:03:07] local.INFO: Processing buffer {"connection_id":159073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:03:07] local.INFO: Packet analysis {"connection_id":159073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:07] local.INFO: Extracted packet for processing {"connection_id":159073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:03:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":159073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:03:07] local.INFO: GPS data processed {"connection_id":159073,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:03:07] local.INFO: Acknowledgment sent {"connection_id":159073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:03:30] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:03:30] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:03:30] local.INFO: IMEI packet received {"connection_id":159349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":159349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:03:35] local.INFO: TCP Data received {"connection_id":161625,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:03:35] local.INFO: Processing buffer {"connection_id":161625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:03:35] local.INFO: Packet analysis {"connection_id":161625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:35] local.INFO: Extracted packet for processing {"connection_id":161625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":161625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:03:35] local.INFO: GPS data processed {"connection_id":161625,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:03:35] local.INFO: Acknowledgment sent {"connection_id":161625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:03:35] local.INFO: TCP Data received {"connection_id":161626,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023742790012d7d1c0005ec4150000c012f13..."} 
[2026-08-21 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023742790012d7d1c0005ec4150000c012f13..."} 
[2026-08-21 14:03:35] local.INFO: Processing buffer {"connection_id":161626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023742790012d7d1c0005ec4150000c012f13..."} 
[2026-08-21 14:03:35] local.INFO: Packet analysis {"connection_id":161626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:03:35] local.INFO: Extracted packet for processing {"connection_id":161626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99369296,"longitude_deg":76.3173888,"latitude_deg":9.9369296,"altitude":12,"angle":303,"satellites":19,"speed":8,"hex_longitude":"2d7d1c00","hex_latitude":"05ec4150","is_valid_coordinates":true} 
[2026-08-21 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549109504001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121681865219244032,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054504103936,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787301210000,"timestamp_ms":1787301210000,"timestamp_seconds":1787301210,"priority":1,"record_length":96,"hex_timestamp":"000001a023742790"} 
[2026-08-21 14:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 14:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161626,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549109504001,"66":13222,"110":206,"87":13824,"24":8,"16":121681865219244032,"45":9015362054504103936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:03:35] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549109504001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121681865219244032,"km_value":121681865219244.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054504103936,"description":"Unknown IO ID 45"} 
[2026-08-21 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549109504001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015362054504103936}} 
[2026-08-21 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:03:35] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:03:35] local.INFO: IMEI packet received {"connection_id":159349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":159349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":161626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:03:35] local.INFO: GPS data processed {"connection_id":161626,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:03:35] local.INFO: Acknowledgment sent {"connection_id":161626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:03:36] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:03:36] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:03:36] local.INFO: Packet analysis {"connection_id":159349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:36] local.INFO: Extracted packet for processing {"connection_id":159349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:03:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:03:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:03:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:03:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:03:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:03:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:03:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:03:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:03:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:03:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:03:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:03:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:03:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:03:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:03:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:03:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:03:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:03:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:03:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:03:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:03:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:03:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":159349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:03:36] local.INFO: GPS data processed {"connection_id":159349,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:03:36] local.INFO: Acknowledgment sent {"connection_id":159349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:03:56] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:03:56] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:03:56] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:03:57] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:03:57] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:03:57] local.INFO: IMEI packet received {"connection_id":159350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":159350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:04:01] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:04:01] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:04:01] local.INFO: IMEI packet received {"connection_id":161627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":161627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:04:02] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023742b78012d7d1b8005ec41a8000c012113..."} 
[2026-08-21 14:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023742b78012d7d1b8005ec41a8000c012113..."} 
[2026-08-21 14:04:02] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023742b78012d7d1b8005ec41a8000c012113..."} 
[2026-08-21 14:04:02] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:04:02] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99369384,"longitude_deg":76.317376,"latitude_deg":9.9369384,"altitude":12,"angle":289,"satellites":19,"speed":8,"hex_longitude":"2d7d1b80","hex_latitude":"05ec41a8","is_valid_coordinates":true} 
[2026-08-21 14:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549109760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121681873809178624,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579527430144,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301211000,"timestamp_ms":1787301211000,"timestamp_seconds":1787301211,"priority":1,"record_length":96,"hex_timestamp":"000001a023742b78"} 
[2026-08-21 14:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 14:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549109760001,"66":13222,"110":206,"87":13824,"24":8,"16":121681873809178624,"45":9015080579527430144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 14:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549109760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:04:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 14:04:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121681873809178624,"km_value":121681873809178.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579527430144,"description":"Unknown IO ID 45"} 
[2026-08-21 14:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549109760001,"power":13222,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015080579527430144}} 
[2026-08-21 14:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:04:02] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:04:02] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:04:03] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:04:03] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:04:03] local.INFO: IMEI packet received {"connection_id":159350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":159350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:04:03] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:04:03] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:04:03] local.INFO: Packet analysis {"connection_id":159350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:03] local.INFO: Extracted packet for processing {"connection_id":159350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:04: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-08-21 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:04: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-08-21 14:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:04:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:04:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":159350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:04:04] local.INFO: GPS data processed {"connection_id":159350,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:04:04] local.INFO: Acknowledgment sent {"connection_id":159350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:04:07] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:04:07] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:04:07] local.INFO: Packet analysis {"connection_id":159349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:07] local.INFO: Extracted packet for processing {"connection_id":159349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:04:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":159349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:04:07] local.INFO: GPS data processed {"connection_id":159349,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:04:07] local.INFO: Acknowledgment sent {"connection_id":159349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:04:30] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:04:30] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:04:30] local.INFO: IMEI packet received {"connection_id":159074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":159074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:04:34] local.INFO: TCP Data received {"connection_id":161627,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023742f60012d7d1a4005ec41e0000c011613..."} 
[2026-08-21 14:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023742f60012d7d1a4005ec41e0000c011613..."} 
[2026-08-21 14:04:34] local.INFO: Processing buffer {"connection_id":161627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023742f60012d7d1a4005ec41e0000c011613..."} 
[2026-08-21 14:04:34] local.INFO: Packet analysis {"connection_id":161627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:04:34] local.INFO: Extracted packet for processing {"connection_id":161627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763173440,"raw_latitude":99369440,"longitude_deg":76.317344,"latitude_deg":9.936944,"altitude":12,"angle":278,"satellites":19,"speed":11,"hex_longitude":"2d7d1a40","hex_latitude":"05ec41e0","is_valid_coordinates":true} 
[2026-08-21 14:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549110016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121681890989047808,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842039097344,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301212000,"timestamp_ms":1787301212000,"timestamp_seconds":1787301212,"priority":1,"record_length":96,"hex_timestamp":"000001a023742f60"} 
[2026-08-21 14:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 14:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549110016001,"66":13254,"110":206,"87":13824,"24":11,"16":121681890989047808,"45":9014939842039097344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 14:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549110016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:04:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 14:04:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121681890989047808,"km_value":121681890989047.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842039097344,"description":"Unknown IO ID 45"} 
[2026-08-21 14:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549110016001,"power":13254,"unknown_110":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9014939842039097344}} 
[2026-08-21 14:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":161627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:04:34] local.INFO: GPS data processed {"connection_id":161627,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:04:34] local.INFO: Acknowledgment sent {"connection_id":161627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:04:35] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:04:35] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237037c0012dde4440050df350000a00091f..."} 
[2026-08-21 14:04:35] local.INFO: Packet analysis {"connection_id":159350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:35] local.INFO: Extracted packet for processing {"connection_id":159350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":10,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548966656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787300952000,"timestamp_ms":1787300952000,"timestamp_seconds":1787300952,"priority":1,"record_length":96,"hex_timestamp":"000001a0237037c0"} 
[2026-08-21 14:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-08-21 14:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548966656001,"66":25843,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548966656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:04:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:04:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548966656001,"power":25843,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":159350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:04:35] local.INFO: GPS data processed {"connection_id":159350,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:04:35] local.INFO: Acknowledgment sent {"connection_id":159350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:04:35] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:04:35] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:04:35] local.INFO: IMEI packet received {"connection_id":159074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:04:35] local.INFO: IMEI acknowledgment sent {"connection_id":159074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:04:36] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:04:36] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023705700012d18aa8007228050007301492f..."} 
[2026-08-21 14:04:36] local.INFO: Packet analysis {"connection_id":159074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:36] local.INFO: Extracted packet for processing {"connection_id":159074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02370"} 
[2026-08-21 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457548968704001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787300960000,"timestamp_ms":1787300960000,"timestamp_seconds":1787300960,"priority":1,"record_length":96,"hex_timestamp":"000001a023705700"} 
[2026-08-21 14:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457548968704001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457548968704001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:04:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:04:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457548968704001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":159074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:04:36] local.INFO: GPS data processed {"connection_id":159074,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:04:36] local.INFO: Acknowledgment sent {"connection_id":159074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:04:57] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:04:57] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:04:57] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:05:01] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:01] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:01] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:05:02] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:02] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:02] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:05:03] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:05:03] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:05:03] local.INFO: IMEI packet received {"connection_id":161628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":161628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:05:03] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:05:03] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:05:03] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:03] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:05: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-08-21 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:05: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-08-21 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:05:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:05:03] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:05:03] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:05:06] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:06] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:06] local.INFO: IMEI packet received {"connection_id":160251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":160251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:05:07] local.INFO: TCP Data received {"connection_id":159074,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159074,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:05:07] local.INFO: Processing buffer {"connection_id":159074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:05:07] local.INFO: Packet analysis {"connection_id":159074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:07] local.INFO: Extracted packet for processing {"connection_id":159074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:05:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":159074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:05:07] local.INFO: GPS data processed {"connection_id":159074,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:05:07] local.INFO: Acknowledgment sent {"connection_id":159074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:05:08] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023744ab8012d7d0c0005ec4200000f010913..."} 
[2026-08-21 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023744ab8012d7d0c0005ec4200000f010913..."} 
[2026-08-21 14:05:08] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023744ab8012d7d0c0005ec4200000f010913..."} 
[2026-08-21 14:05:08] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:08] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":763169792,"raw_latitude":99369472,"longitude_deg":76.3169792,"latitude_deg":9.9369472,"altitude":15,"angle":265,"satellites":19,"speed":27,"hex_longitude":"2d7d0c00","hex_latitude":"05ec4200","is_valid_coordinates":true} 
[2026-08-21 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549110272001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121682067082706944,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998318223360,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787301219000,"timestamp_ms":1787301219000,"timestamp_seconds":1787301219,"priority":1,"record_length":96,"hex_timestamp":"000001a023744ab8"} 
[2026-08-21 14:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549110272001,"66":13363,"110":206,"87":13824,"24":27,"16":121682067082706944,"45":9014587998318223360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 14:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549110272001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:05:08] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 14:05:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121682067082706944,"km_value":121682067082706.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998318223360,"description":"Unknown IO ID 45"} 
[2026-08-21 14:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549110272001,"power":13363,"unknown_110":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9014587998318223360}} 
[2026-08-21 14:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675935,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:05:08] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:05:08] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:05:12] local.INFO: TCP Data received {"connection_id":160251,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023748168012d7ce74005ec4040000d010d13..."} 
[2026-08-21 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023748168012d7ce74005ec4040000d010d13..."} 
[2026-08-21 14:05:12] local.INFO: Processing buffer {"connection_id":160251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023748168012d7ce74005ec4040000d010d13..."} 
[2026-08-21 14:05:12] local.INFO: Packet analysis {"connection_id":160251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:12] local.INFO: Extracted packet for processing {"connection_id":160251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:12] local.INFO: GPS Element Parsed {"raw_longitude":763160384,"raw_latitude":99369024,"longitude_deg":76.3160384,"latitude_deg":9.9369024,"altitude":13,"angle":269,"satellites":19,"speed":21,"hex_longitude":"2d7ce740","hex_latitude":"05ec4040","is_valid_coordinates":true} 
[2026-08-21 14:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549112064001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121682513759305728,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010576979900104704,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787301233000,"timestamp_ms":1787301233000,"timestamp_seconds":1787301233,"priority":1,"record_length":96,"hex_timestamp":"000001a023748168"} 
[2026-08-21 14:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 14:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549112064001,"66":13178,"110":206,"87":13824,"24":21,"16":121682513759305728,"45":9010576979900104704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-08-21 14:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549112064001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:05:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-08-21 14:05:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121682513759305728,"km_value":121682513759305.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010576979900104704,"description":"Unknown IO ID 45"} 
[2026-08-21 14:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549112064001,"power":13178,"unknown_110":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":9010576979900104704}} 
[2026-08-21 14:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":160251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:05:13] local.INFO: GPS data processed {"connection_id":160251,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:05:13] local.INFO: Acknowledgment sent {"connection_id":160251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:05:30] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:05:30] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:05:30] local.INFO: IMEI packet received {"connection_id":159075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":159075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:05:34] local.INFO: TCP Data received {"connection_id":161628,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:05:34] local.INFO: Processing buffer {"connection_id":161628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:05:34] local.INFO: Packet analysis {"connection_id":161628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:34] local.INFO: Extracted packet for processing {"connection_id":161628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:05:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":161628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:05:34] local.INFO: GPS data processed {"connection_id":161628,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:05:34] local.INFO: Acknowledgment sent {"connection_id":161628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:05:35] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:05:35] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:05:35] local.INFO: IMEI packet received {"connection_id":159075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":159075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:05:36] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:05:36] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:05:36] local.INFO: Packet analysis {"connection_id":159075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:36] local.INFO: Extracted packet for processing {"connection_id":159075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:05:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:05:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:05:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:05:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:05:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:05:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:05:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":159075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:05:36] local.INFO: GPS data processed {"connection_id":159075,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:05:36] local.INFO: Acknowledgment sent {"connection_id":159075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:05:56] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:56] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:05:56] local.INFO: IMEI packet received {"connection_id":161629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":161629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:06:01] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:06:01] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:06:01] local.INFO: IMEI packet received {"connection_id":161629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":161629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:06:02] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023762748012d7be4c005ec3198000d00d812..."} 
[2026-08-21 14:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023762748012d7be4c005ec3198000d00d812..."} 
[2026-08-21 14:06:02] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023762748012d7be4c005ec3198000d00d812..."} 
[2026-08-21 14:06:02] local.INFO: Packet analysis {"connection_id":161629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:06:02] local.INFO: Extracted packet for processing {"connection_id":161629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99365272,"longitude_deg":76.3094208,"latitude_deg":9.9365272,"altitude":13,"angle":216,"satellites":18,"speed":13,"hex_longitude":"2d7be4c0","hex_latitude":"05ec3198","is_valid_coordinates":true} 
[2026-08-21 14:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549142784001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121685704920006656,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927964074234570752,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301341000,"timestamp_ms":1787301341000,"timestamp_seconds":1787301341,"priority":1,"record_length":96,"hex_timestamp":"000001a023762748"} 
[2026-08-21 14:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 14:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549142784001,"66":13200,"198":206,"87":13824,"24":13,"16":121685704920006656,"45":8927964074234570752},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 14:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549142784001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:06:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 14:06:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121685704920006656,"km_value":121685704920006.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927964074234570752,"description":"Unknown IO ID 45"} 
[2026-08-21 14:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549142784001,"power":13200,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8927964074234570752}} 
[2026-08-21 14:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":161629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:06:02] local.INFO: GPS data processed {"connection_id":161629,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:06:02] local.INFO: Acknowledgment sent {"connection_id":161629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:06:03] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:03] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:03] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:06:07] local.INFO: TCP Data received {"connection_id":159075,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:06:07] local.INFO: Processing buffer {"connection_id":159075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:06:07] local.INFO: Packet analysis {"connection_id":159075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:07] local.INFO: Extracted packet for processing {"connection_id":159075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:06:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":159075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:06:07] local.INFO: GPS data processed {"connection_id":159075,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:06:07] local.INFO: Acknowledgment sent {"connection_id":159075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:06:08] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:08] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:08] local.INFO: IMEI packet received {"connection_id":160252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":160252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:06:08] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:06:08] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:06:08] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:08] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:06:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:06:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:06:08] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:06:08] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:06:13] local.INFO: TCP Data received {"connection_id":160252,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:06:13] local.INFO: Processing buffer {"connection_id":160252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:06:13] local.INFO: Packet analysis {"connection_id":160252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:13] local.INFO: Extracted packet for processing {"connection_id":160252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:06:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:06:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":160252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:06:13] local.INFO: GPS data processed {"connection_id":160252,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:06:13] local.INFO: Acknowledgment sent {"connection_id":160252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:06:30] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:06:30] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:06:30] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:06:33] local.INFO: TCP Data received {"connection_id":161629,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023762b30012d7be44005ec3030000d00c612..."} 
[2026-08-21 14:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023762b30012d7be44005ec3030000d00c612..."} 
[2026-08-21 14:06:33] local.INFO: Processing buffer {"connection_id":161629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023762b30012d7be44005ec3030000d00c612..."} 
[2026-08-21 14:06:33] local.INFO: Packet analysis {"connection_id":161629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:06:33] local.INFO: Extracted packet for processing {"connection_id":161629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":99364912,"longitude_deg":76.309408,"latitude_deg":9.9364912,"altitude":13,"angle":198,"satellites":18,"speed":12,"hex_longitude":"2d7be440","hex_latitude":"05ec3030","is_valid_coordinates":true} 
[2026-08-21 14:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549143296001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121685726394843136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025208320,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787301342000,"timestamp_ms":1787301342000,"timestamp_seconds":1787301342,"priority":1,"record_length":96,"hex_timestamp":"000001a023762b30"} 
[2026-08-21 14:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-21 14:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549143296001,"66":13254,"198":206,"87":13824,"24":12,"16":121685726394843136,"45":8927471493025208320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 14:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549143296001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:06:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 14:06:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121685726394843136,"km_value":121685726394843.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025208320,"description":"Unknown IO ID 45"} 
[2026-08-21 14:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549143296001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8927471493025208320}} 
[2026-08-21 14:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":161629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:06:33] local.INFO: GPS data processed {"connection_id":161629,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:06:33] local.INFO: Acknowledgment sent {"connection_id":161629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:06:35] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:06:35] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:06:35] local.INFO: IMEI packet received {"connection_id":161630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":161630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:06:36] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:06:36] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:06:36] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:36] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:06:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:06:36] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:06:36] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:06:57] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:06:57] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:06:57] local.INFO: IMEI packet received {"connection_id":159351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":159351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:06:58] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:58] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:06:58] local.INFO: IMEI packet received {"connection_id":159076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":159076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:07:01] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:01] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:01] local.INFO: IMEI packet received {"connection_id":159351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":159351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:07:02] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023762f18012d7be4c005ec2ee0000d00ad12..."} 
[2026-08-21 14:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023762f18012d7be4c005ec2ee0000d00ad12..."} 
[2026-08-21 14:07:02] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023762f18012d7be4c005ec2ee0000d00ad12..."} 
[2026-08-21 14:07:02] local.INFO: Packet analysis {"connection_id":159351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:02] local.INFO: Extracted packet for processing {"connection_id":159351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":763094208,"raw_latitude":99364576,"longitude_deg":76.3094208,"latitude_deg":9.9364576,"altitude":13,"angle":173,"satellites":18,"speed":11,"hex_longitude":"2d7be4c0","hex_latitude":"05ec2ee0","is_valid_coordinates":true} 
[2026-08-21 14:07:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549143552001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121685739279745024,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755536760832,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301343000,"timestamp_ms":1787301343000,"timestamp_seconds":1787301343,"priority":1,"record_length":96,"hex_timestamp":"000001a023762f18"} 
[2026-08-21 14:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:07:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549143552001,"66":13254,"198":206,"87":13824,"24":11,"16":121685739279745024,"45":8927330755536760832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 14:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549143552001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 14:07:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121685739279745024,"km_value":121685739279745.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755536760832,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549143552001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927330755536760832}} 
[2026-08-21 14:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":159351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:07:02] local.INFO: GPS data processed {"connection_id":159351,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:07:02] local.INFO: Acknowledgment sent {"connection_id":159351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:07:03] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:07:03] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:07:03] local.INFO: IMEI packet received {"connection_id":159076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":159076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:07:03] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:07:03] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:07:03] local.INFO: Packet analysis {"connection_id":159076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:03] local.INFO: Extracted packet for processing {"connection_id":159076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07: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-08-21 14: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":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:07: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-08-21 14:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":159076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:07:04] local.INFO: GPS data processed {"connection_id":159076,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:07:04] local.INFO: Acknowledgment sent {"connection_id":159076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:07:04] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023763300012d7be58005ec2db0000d009312..."} 
[2026-08-21 14:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023763300012d7be58005ec2db0000d009312..."} 
[2026-08-21 14:07:04] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023763300012d7be58005ec2db0000d009312..."} 
[2026-08-21 14:07:04] local.INFO: Packet analysis {"connection_id":159351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:04] local.INFO: Extracted packet for processing {"connection_id":159351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":763094400,"raw_latitude":99364272,"longitude_deg":76.30944,"latitude_deg":9.9364272,"altitude":13,"angle":147,"satellites":18,"speed":11,"hex_longitude":"2d7be580","hex_latitude":"05ec2db0","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549143808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121685760754581504,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927471493025030144,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787301344000,"timestamp_ms":1787301344000,"timestamp_seconds":1787301344,"priority":1,"record_length":96,"hex_timestamp":"000001a023763300"} 
[2026-08-21 14:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549143808001,"66":13254,"198":206,"87":13824,"24":11,"16":121685760754581504,"45":8927471493025030144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 14:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549143808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:04] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 14:07:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121685760754581504,"km_value":121685760754581.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927471493025030144,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549143808001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927471493025030144}} 
[2026-08-21 14:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":159351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:07:05] local.INFO: GPS data processed {"connection_id":159351,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:07:05] local.INFO: Acknowledgment sent {"connection_id":159351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:07:07] local.INFO: TCP Data received {"connection_id":161630,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:07:07] local.INFO: Processing buffer {"connection_id":161630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:07:07] local.INFO: Packet analysis {"connection_id":161630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:07] local.INFO: Extracted packet for processing {"connection_id":161630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":161630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:07:07] local.INFO: GPS data processed {"connection_id":161630,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:07:07] local.INFO: Acknowledgment sent {"connection_id":161630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:07:30] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:07:30] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:07:30] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:07:35] local.INFO: TCP Data received {"connection_id":159076,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:07:35] local.INFO: Processing buffer {"connection_id":159076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:07:35] local.INFO: Packet analysis {"connection_id":159076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:35] local.INFO: Extracted packet for processing {"connection_id":159076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:07:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":159076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:07:35] local.INFO: GPS data processed {"connection_id":159076,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:07:35] local.INFO: Acknowledgment sent {"connection_id":159076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:07:35] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:07:35] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:07:35] local.INFO: IMEI packet received {"connection_id":160253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":160253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:07:36] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:07:36] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:07:36] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:36] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:07:36] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:07:36] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:07:45] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023768120012d7bed0005ec24a8000a009712..."} 
[2026-08-21 14:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023768120012d7bed0005ec24a8000a009712..."} 
[2026-08-21 14:07:45] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023768120012d7bed0005ec24a8000a009712..."} 
[2026-08-21 14:07:45] local.INFO: Packet analysis {"connection_id":159351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:45] local.INFO: Extracted packet for processing {"connection_id":159351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:45] local.INFO: GPS Element Parsed {"raw_longitude":763096320,"raw_latitude":99361960,"longitude_deg":76.309632,"latitude_deg":9.936196,"altitude":10,"angle":151,"satellites":18,"speed":0,"hex_longitude":"2d7bed00","hex_latitude":"05ec24a8","is_valid_coordinates":true} 
[2026-08-21 14:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549144064001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121685906783469568,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599257485312,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787301364000,"timestamp_ms":1787301364000,"timestamp_seconds":1787301364,"priority":1,"record_length":96,"hex_timestamp":"000001a023768120"} 
[2026-08-21 14:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549144064001,"66":12809,"198":206,"87":13824,"24":0,"16":121685906783469568,"45":8927682599257485312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 14:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549144064001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:45] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 14:07:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121685906783469568,"km_value":121685906783469.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599257485312,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549144064001,"power":12809,"unknown_198":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8927682599257485312}} 
[2026-08-21 14:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":159351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:07:45] local.INFO: GPS data processed {"connection_id":159351,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:07:45] local.INFO: Acknowledgment sent {"connection_id":159351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:07:56] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:56] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:56] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:07:57] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:57] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:57] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:07:57] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:57] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:57] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:07:57] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:07:57] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:07:57] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:07:59] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:59] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:07:59] local.INFO: IMEI packet received {"connection_id":160254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":160254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:07:59] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237694a8012d7bedc005ec2310000700a312..."} 
[2026-08-21 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237694a8012d7bedc005ec2310000700a312..."} 
[2026-08-21 14:07:59] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237694a8012d7bedc005ec2310000700a312..."} 
[2026-08-21 14:07:59] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:59] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02376"} 
[2026-08-21 14:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763096512,"raw_latitude":99361552,"longitude_deg":76.3096512,"latitude_deg":9.9361552,"altitude":7,"angle":163,"satellites":18,"speed":3,"hex_longitude":"2d7bedc0","hex_latitude":"05ec2310","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549149184001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121685932553273344,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929793661582223360,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787301369000,"timestamp_ms":1787301369000,"timestamp_seconds":1787301369,"priority":1,"record_length":96,"hex_timestamp":"000001a0237694a8"} 
[2026-08-21 14:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":216172782281556992,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":80,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":35,"raw_value":8502857674184715584,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":230,"raw_value":2147871795,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1426136949717931759,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504628926543351383,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755416621056241,"note":"Value kept but may cause issues"} 
[2026-08-21 14:07:59] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,198,87,24,241,157,16,80,160,51,45,128,13,18,10,66,47,192,46,43,64,1,240,227,35,236,4,113,205,31,230,104,239,2,176,5,14,52,54,103],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-08-21 14:07:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720742043944484864,"timestamp_seconds":720742043944484.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549149184001,"66":13102,"198":206,"87":13824,"24":3,"16":121685932553273344,"45":8929793661582223360},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-08-21 14:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549149184001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:07:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-08-21 14:07:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121685932553273344,"km_value":121685932553273.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929793661582223360,"description":"Unknown IO ID 45"} 
[2026-08-21 14:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549149184001,"power":13102,"unknown_198":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8929793661582223360}} 
[2026-08-21 14:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675952,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:08:00] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:08:00] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:08:02] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:08:02] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:08:02] local.INFO: IMEI packet received {"connection_id":160255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":160255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:08:03] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:08:03] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:08:03] local.INFO: Packet analysis {"connection_id":160255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:03] local.INFO: Extracted packet for processing {"connection_id":160255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:08: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-08-21 14:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14: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-08-21 14:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14: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-08-21 14:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:08:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:08:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":160255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:08:03] local.INFO: GPS data processed {"connection_id":160255,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:08:03] local.INFO: Acknowledgment sent {"connection_id":160255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:08:07] local.INFO: TCP Data received {"connection_id":160253,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:08:07] local.INFO: Processing buffer {"connection_id":160253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:08:07] local.INFO: Packet analysis {"connection_id":160253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:07] local.INFO: Extracted packet for processing {"connection_id":160253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":160253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:08:07] local.INFO: GPS data processed {"connection_id":160253,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:08:07] local.INFO: Acknowledgment sent {"connection_id":160253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:08:30] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:08:30] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:08:30] local.INFO: IMEI packet received {"connection_id":159077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":159077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:08:31] local.INFO: TCP Data received {"connection_id":160254,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023787520012d7c3c8005eb07d80005009f13..."} 
[2026-08-21 14:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023787520012d7c3c8005eb07d80005009f13..."} 
[2026-08-21 14:08:31] local.INFO: Processing buffer {"connection_id":160254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023787520012d7c3c8005eb07d80005009f13..."} 
[2026-08-21 14:08:31] local.INFO: Packet analysis {"connection_id":160254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:08:31] local.INFO: Extracted packet for processing {"connection_id":160254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":99289048,"longitude_deg":76.3116672,"latitude_deg":9.9289048,"altitude":5,"angle":159,"satellites":19,"speed":26,"hex_longitude":"2d7c3c80","hex_latitude":"05eb07d8","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549181696001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121689626225147904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8951819078491318272,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787301492000,"timestamp_ms":1787301492000,"timestamp_seconds":1787301492,"priority":1,"record_length":96,"hex_timestamp":"000001a023787520"} 
[2026-08-21 14:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 14:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549181696001,"66":13363,"10":206,"87":13824,"24":26,"16":121689626225147904,"45":8951819078491318272},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-21 14:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549181696001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:08:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 14:08:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121689626225147904,"km_value":121689626225147.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8951819078491318272,"description":"Unknown IO ID 45"} 
[2026-08-21 14:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549181696001,"power":13363,"unknown_10":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8951819078491318272}} 
[2026-08-21 14:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":160254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:08:31] local.INFO: GPS data processed {"connection_id":160254,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:08:31] local.INFO: Acknowledgment sent {"connection_id":160254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:08:34] local.INFO: TCP Data received {"connection_id":160255,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:08:34] local.INFO: Processing buffer {"connection_id":160255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:08:34] local.INFO: Packet analysis {"connection_id":160255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:34] local.INFO: Extracted packet for processing {"connection_id":160255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:08:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:08:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":160255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:08:34] local.INFO: GPS data processed {"connection_id":160255,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:08:34] local.INFO: Acknowledgment sent {"connection_id":160255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:08:35] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:08:35] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:08:35] local.INFO: IMEI packet received {"connection_id":159077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":159077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:08:36] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:08:36] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:08:36] local.INFO: Packet analysis {"connection_id":159077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:36] local.INFO: Extracted packet for processing {"connection_id":159077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:08:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":159077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:08:36] local.INFO: GPS data processed {"connection_id":159077,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:08:36] local.INFO: Acknowledgment sent {"connection_id":159077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:08:56] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:08:56] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:08:56] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:08:58] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:08:58] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:08:58] local.INFO: IMEI packet received {"connection_id":161632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":161632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:09:01] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:01] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:01] local.INFO: IMEI packet received {"connection_id":161631,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":161631,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:09:02] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023787cf0012d7c3d8005eb0220000500ad13..."} 
[2026-08-21 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023787cf0012d7c3d8005eb0220000500ad13..."} 
[2026-08-21 14:09:02] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023787cf0012d7c3d8005eb0220000500ad13..."} 
[2026-08-21 14:09:02] local.INFO: Packet analysis {"connection_id":161631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:09:02] local.INFO: Extracted packet for processing {"connection_id":161631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763116928,"raw_latitude":99287584,"longitude_deg":76.3116928,"latitude_deg":9.9287584,"altitude":5,"angle":173,"satellites":19,"speed":31,"hex_longitude":"2d7c3d80","hex_latitude":"05eb0220","is_valid_coordinates":true} 
[2026-08-21 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549181952001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121689699239591936,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922212055040,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301494000,"timestamp_ms":1787301494000,"timestamp_seconds":1787301494,"priority":1,"record_length":96,"hex_timestamp":"000001a023787cf0"} 
[2026-08-21 14:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 14:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549181952001,"66":13048,"10":206,"87":13824,"24":31,"16":121689699239591936,"45":8952170922212055040},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-21 14:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549181952001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:09:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 14:09:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121689699239591936,"km_value":121689699239591.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922212055040,"description":"Unknown IO ID 45"} 
[2026-08-21 14:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549181952001,"power":13048,"unknown_10":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8952170922212055040}} 
[2026-08-21 14:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":161631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:09:02] local.INFO: GPS data processed {"connection_id":161631,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:09:02] local.INFO: Acknowledgment sent {"connection_id":161631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:09:02] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:09:02] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:09:02] local.INFO: IMEI packet received {"connection_id":161632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":161632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:09:03] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:09:03] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:09:03] local.INFO: Packet analysis {"connection_id":161632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:03] local.INFO: Extracted packet for processing {"connection_id":161632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:09: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-08-21 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:09: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-08-21 14:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:09:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":161632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:09:03] local.INFO: GPS data processed {"connection_id":161632,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:09:03] local.INFO: Acknowledgment sent {"connection_id":161632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:09:07] local.INFO: TCP Data received {"connection_id":159077,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:07] local.INFO: Processing buffer {"connection_id":159077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:07] local.INFO: Packet analysis {"connection_id":159077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:07] local.INFO: Extracted packet for processing {"connection_id":159077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:09:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":159077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:09:07] local.INFO: GPS data processed {"connection_id":159077,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:09:07] local.INFO: Acknowledgment sent {"connection_id":159077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:09:34] local.INFO: TCP Data received {"connection_id":161631,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02378a7e8012d7c3e0005eadce8000800b213..."} 
[2026-08-21 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02378a7e8012d7c3e0005eadce8000800b213..."} 
[2026-08-21 14:09:34] local.INFO: Processing buffer {"connection_id":161631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02378a7e8012d7c3e0005eadce8000800b213..."} 
[2026-08-21 14:09:34] local.INFO: Packet analysis {"connection_id":161631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:09:34] local.INFO: Extracted packet for processing {"connection_id":161631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":99278056,"longitude_deg":76.3117056,"latitude_deg":9.9278056,"altitude":8,"angle":178,"satellites":19,"speed":31,"hex_longitude":"2d7c3e00","hex_latitude":"05eadce8","is_valid_coordinates":true} 
[2026-08-21 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549182464001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121690163096059904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952452397188390912,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301505000,"timestamp_ms":1787301505000,"timestamp_seconds":1787301505,"priority":1,"record_length":96,"hex_timestamp":"000001a02378a7e8"} 
[2026-08-21 14:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 14:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161631,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549182464001,"66":12765,"10":206,"87":13824,"24":31,"16":121690163096059904,"45":8952452397188390912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549182464001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121690163096059904,"km_value":121690163096059.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952452397188390912,"description":"Unknown IO ID 45"} 
[2026-08-21 14:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549182464001,"power":12765,"unknown_10":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8952452397188390912}} 
[2026-08-21 14:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":161631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:09:34] local.INFO: GPS data processed {"connection_id":161631,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:09:34] local.INFO: Acknowledgment sent {"connection_id":161631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:09:34] local.INFO: TCP Data received {"connection_id":161632,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:09:34] local.INFO: Processing buffer {"connection_id":161632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374cf88012dde4440050df350000b000918..."} 
[2026-08-21 14:09:34] local.INFO: Packet analysis {"connection_id":161632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:34] local.INFO: Extracted packet for processing {"connection_id":161632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":11,"angle":9,"satellites":24,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549043712001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301253000,"timestamp_ms":1787301253000,"timestamp_seconds":1787301253,"priority":1,"record_length":96,"hex_timestamp":"000001a02374cf88"} 
[2026-08-21 14:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-08-21 14:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549043712001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549043712001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549043712001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":161632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:09:34] local.INFO: GPS data processed {"connection_id":161632,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:09:34] local.INFO: Acknowledgment sent {"connection_id":161632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:09:35] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:09:35] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:09:35] local.INFO: IMEI packet received {"connection_id":159078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:09:35] local.INFO: IMEI acknowledgment sent {"connection_id":159078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:09:40] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:09:40] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:09:40] local.INFO: IMEI packet received {"connection_id":159078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":159078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:09:41] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:41] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:41] local.INFO: Packet analysis {"connection_id":159078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:41] local.INFO: Extracted packet for processing {"connection_id":159078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":159078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:09:41] local.INFO: GPS data processed {"connection_id":159078,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:09:41] local.INFO: Acknowledgment sent {"connection_id":159078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:09:45] local.INFO: TCP Data received {"connection_id":159078,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:45] local.INFO: Processing buffer {"connection_id":159078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02374eec8012d18aa80072280500073014930..."} 
[2026-08-21 14:09:45] local.INFO: Packet analysis {"connection_id":159078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:45] local.INFO: Extracted packet for processing {"connection_id":159078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02374"} 
[2026-08-21 14:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549045760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787301261000,"timestamp_ms":1787301261000,"timestamp_seconds":1787301261,"priority":1,"record_length":96,"hex_timestamp":"000001a02374eec8"} 
[2026-08-21 14:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:09: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-08-21 14:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549045760001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549045760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:09:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:09:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549045760001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":159078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:09:45] local.INFO: GPS data processed {"connection_id":159078,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:09:45] local.INFO: Acknowledgment sent {"connection_id":159078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:09:56] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:56] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:56] local.INFO: IMEI packet received {"connection_id":159352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":159352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:09:57] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:09:57] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:09:57] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:09:58] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:58] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:09:58] local.INFO: IMEI packet received {"connection_id":159352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":159352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:10:01] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:10:01] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:10:01] local.INFO: IMEI packet received {"connection_id":159352,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":159352,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:10:02] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02378d2e0012d7c3ec005eac918000800a412..."} 
[2026-08-21 14:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02378d2e0012d7c3ec005eac918000800a412..."} 
[2026-08-21 14:10:02] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02378d2e0012d7c3ec005eac918000800a412..."} 
[2026-08-21 14:10:02] local.INFO: Packet analysis {"connection_id":159352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:10:02] local.INFO: Extracted packet for processing {"connection_id":159352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02378"} 
[2026-08-21 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":99272984,"longitude_deg":76.3117248,"latitude_deg":9.9272984,"altitude":8,"angle":164,"satellites":18,"speed":8,"hex_longitude":"2d7c3ec0","hex_latitude":"05eac918","is_valid_coordinates":true} 
[2026-08-21 14:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549185280001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121690407909195776,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134674307072,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301516000,"timestamp_ms":1787301516000,"timestamp_seconds":1787301516,"priority":1,"record_length":96,"hex_timestamp":"000001a02378d2e0"} 
[2026-08-21 14:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 14:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549185280001,"66":12939,"10":206,"87":13824,"24":8,"16":121690407909195776,"45":8952593134674307072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,87,24,16,45]} 
[2026-08-21 14:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549185280001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:10:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 14:10:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121690407909195776,"km_value":121690407909195.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134674307072,"description":"Unknown IO ID 45"} 
[2026-08-21 14:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549185280001,"power":12939,"unknown_10":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8952593134674307072}} 
[2026-08-21 14:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":159352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:10:02] local.INFO: GPS data processed {"connection_id":159352,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:10:02] local.INFO: Acknowledgment sent {"connection_id":159352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:10:03] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:10:03] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:10:03] local.INFO: IMEI packet received {"connection_id":161633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":161633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:10:13] local.INFO: TCP Data received {"connection_id":161633,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:10:13] local.INFO: Processing buffer {"connection_id":161633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:10:13] local.INFO: Packet analysis {"connection_id":161633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:10:13] local.INFO: Extracted packet for processing {"connection_id":161633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:10:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:10:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:10:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":161633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:10:13] local.INFO: GPS data processed {"connection_id":161633,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:10:13] local.INFO: Acknowledgment sent {"connection_id":161633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:10:30] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:10:30] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:10:30] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:10:33] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237a3e28012d7ce10005eaed280015004513..."} 
[2026-08-21 14:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237a3e28012d7ce10005eaed280015004513..."} 
[2026-08-21 14:10:33] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237a3e28012d7ce10005eaed280015004513..."} 
[2026-08-21 14:10:33] local.INFO: Packet analysis {"connection_id":159352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:10:33] local.INFO: Extracted packet for processing {"connection_id":159352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763158784,"raw_latitude":99282216,"longitude_deg":76.3158784,"latitude_deg":9.9282216,"altitude":21,"angle":69,"satellites":19,"speed":9,"hex_longitude":"2d7ce100","hex_latitude":"05eaed28","is_valid_coordinates":true} 
[2026-08-21 14:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549208576001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121692486673367040,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992773687600691200,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787301609000,"timestamp_ms":1787301609000,"timestamp_seconds":1787301609,"priority":1,"record_length":96,"hex_timestamp":"000001a0237a3e28"} 
[2026-08-21 14:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 14:10:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159352,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549208576001,"66":12809,"8":206,"87":13824,"24":9,"16":121692486673367040,"45":8992773687600691200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-21 14:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549208576001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:10:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-21 14:10:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121692486673367040,"km_value":121692486673367.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992773687600691200,"description":"Unknown IO ID 45"} 
[2026-08-21 14:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549208576001,"power":12809,"unknown_8":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8992773687600691200}} 
[2026-08-21 14:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":159352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:10:33] local.INFO: GPS data processed {"connection_id":159352,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:10:33] local.INFO: Acknowledgment sent {"connection_id":159352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:10:35] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:10:35] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:10:35] local.INFO: IMEI packet received {"connection_id":161634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":161634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:10:36] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:10:36] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:10:36] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:10:36] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:10:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:10:36] 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-08-21 14:10:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:10:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:10:36] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:10:36] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:10:56] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:10:56] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:10:56] local.INFO: IMEI packet received {"connection_id":159079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":159079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:11:00] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:00] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:00] local.INFO: IMEI packet received {"connection_id":159079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":159079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:11:01] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:01] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:01] local.INFO: IMEI packet received {"connection_id":159079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":159079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:11:02] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237a6538012d7ce3c005eaed800015006412..."} 
[2026-08-21 14:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237a6538012d7ce3c005eaed800015006412..."} 
[2026-08-21 14:11:02] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237a6538012d7ce3c005eaed800015006412..."} 
[2026-08-21 14:11:02] local.INFO: Packet analysis {"connection_id":159079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:11:02] local.INFO: Extracted packet for processing {"connection_id":159079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763159488,"raw_latitude":99282304,"longitude_deg":76.3159488,"latitude_deg":9.9282304,"altitude":21,"angle":100,"satellites":18,"speed":6,"hex_longitude":"2d7ce3c0","hex_latitude":"05eaed80","is_valid_coordinates":true} 
[2026-08-21 14:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549211904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121692521033105408,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998473555879208960,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301619000,"timestamp_ms":1787301619000,"timestamp_seconds":1787301619,"priority":1,"record_length":96,"hex_timestamp":"000001a0237a6538"} 
[2026-08-21 14:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":35,"raw_value":8716162929973281408,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3520069645,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3221613257,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587090614013527,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1528954481172006126,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,8,87,24,241,157,16,86,160,11,45,192,235,21,18,10,66,224,64,228,19,177,1,240,227,85,35,234,4,113,205,6,56,97,239,50,2,176,5,54,223],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-08-21 14:11:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513285422703771648,"timestamp_seconds":1513285422703771.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549211904001,"66":13048,"8":206,"87":13824,"24":6,"16":121692521033105408,"45":8998473555879208960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-21 14:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549211904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:11:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-21 14:11:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121692521033105408,"km_value":121692521033105.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998473555879208960,"description":"Unknown IO ID 45"} 
[2026-08-21 14:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549211904001,"power":13048,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8998473555879208960}} 
[2026-08-21 14:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":159079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:11:02] local.INFO: GPS data processed {"connection_id":159079,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:11:02] local.INFO: Acknowledgment sent {"connection_id":159079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:11:03] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:03] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:03] local.INFO: IMEI packet received {"connection_id":159080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":159080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:11:07] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237a6d08012d7ce54005eaed280015005613..."} 
[2026-08-21 14:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237a6d08012d7ce54005eaed280015005613..."} 
[2026-08-21 14:11:07] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237a6d08012d7ce54005eaed280015005613..."} 
[2026-08-21 14:11:07] local.INFO: Packet analysis {"connection_id":159079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:11:07] local.INFO: Extracted packet for processing {"connection_id":159079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763159872,"raw_latitude":99282216,"longitude_deg":76.3159872,"latitude_deg":9.9282216,"altitude":21,"angle":86,"satellites":19,"speed":9,"hex_longitude":"2d7ce540","hex_latitude":"05eaed28","is_valid_coordinates":true} 
[2026-08-21 14:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549214464001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121692542507941888,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999247612065185792,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301621000,"timestamp_ms":1787301621000,"timestamp_seconds":1787301621,"priority":1,"record_length":96,"hex_timestamp":"000001a0237a6d08"} 
[2026-08-21 14:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 14:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549214464001,"66":12874,"8":206,"87":13824,"24":9,"16":121692542507941888,"45":8999247612065185792},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549214464001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121692542507941888,"km_value":121692542507941.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999247612065185792,"description":"Unknown IO ID 45"} 
[2026-08-21 14:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549214464001,"power":12874,"unknown_8":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8999247612065185792}} 
[2026-08-21 14:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":159079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675970,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:11:07] local.INFO: GPS data processed {"connection_id":159079,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:11:07] local.INFO: Acknowledgment sent {"connection_id":159079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:11:07] local.INFO: TCP Data received {"connection_id":161634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:11:07] local.INFO: Processing buffer {"connection_id":161634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:11:07] local.INFO: Packet analysis {"connection_id":161634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:07] local.INFO: Extracted packet for processing {"connection_id":161634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:11:07] 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-08-21 14:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":161634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:11:07] local.INFO: GPS data processed {"connection_id":161634,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:11:07] local.INFO: Acknowledgment sent {"connection_id":161634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:11:08] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:08] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:08] local.INFO: IMEI packet received {"connection_id":159080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":159080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:11:08] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:11:08] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:11:08] local.INFO: Packet analysis {"connection_id":159080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:08] local.INFO: Extracted packet for processing {"connection_id":159080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:11: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-08-21 14:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":159080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:11:08] local.INFO: GPS data processed {"connection_id":159080,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:11:08] local.INFO: Acknowledgment sent {"connection_id":159080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:11:13] local.INFO: TCP Data received {"connection_id":159080,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:11:13] local.INFO: Processing buffer {"connection_id":159080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:11:13] local.INFO: Packet analysis {"connection_id":159080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:13] local.INFO: Extracted packet for processing {"connection_id":159080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:11:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:11:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":159080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:11:13] local.INFO: GPS data processed {"connection_id":159080,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:11:13] local.INFO: Acknowledgment sent {"connection_id":159080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:11:30] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:11:30] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:11:30] local.INFO: IMEI packet received {"connection_id":159353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":159353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:11:35] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:11:35] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:11:35] local.INFO: IMEI packet received {"connection_id":159353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":159353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:11:36] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:11:36] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:11:36] local.INFO: Packet analysis {"connection_id":159353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:36] local.INFO: Extracted packet for processing {"connection_id":159353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:11:36] 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-08-21 14:11:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:11:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":159353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:11:36] local.INFO: GPS data processed {"connection_id":159353,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:11:36] local.INFO: Acknowledgment sent {"connection_id":159353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:11:38] local.INFO: TCP Data received {"connection_id":159079,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237a9800012d7cf54005eaefa80015004813..."} 
[2026-08-21 14:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237a9800012d7cf54005eaefa80015004813..."} 
[2026-08-21 14:11:38] local.INFO: Processing buffer {"connection_id":159079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237a9800012d7cf54005eaefa80015004813..."} 
[2026-08-21 14:11:38] local.INFO: Packet analysis {"connection_id":159079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:11:38] local.INFO: Extracted packet for processing {"connection_id":159079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:11:38] local.INFO: GPS Element Parsed {"raw_longitude":763163968,"raw_latitude":99282856,"longitude_deg":76.3163968,"latitude_deg":9.9282856,"altitude":21,"angle":72,"satellites":19,"speed":15,"hex_longitude":"2d7cf540","hex_latitude":"05eaefa8","is_valid_coordinates":true} 
[2026-08-21 14:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549214976001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121692740076437504,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999669824530229248,"note":"Value kept but may cause issues"} 
[2026-08-21 14:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787301632000,"timestamp_ms":1787301632000,"timestamp_seconds":1787301632,"priority":1,"record_length":96,"hex_timestamp":"000001a0237a9800"} 
[2026-08-21 14:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-21 14:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549214976001,"66":13059,"8":206,"87":13824,"24":15,"16":121692740076437504,"45":8999669824530229248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-21 14:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549214976001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:11:38] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-21 14:11:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121692740076437504,"km_value":121692740076437.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999669824530229248,"description":"Unknown IO ID 45"} 
[2026-08-21 14:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549214976001,"power":13059,"unknown_8":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8999669824530229248}} 
[2026-08-21 14:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:11:38] local.INFO: GPS data processed {"connection_id":159079,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:11:38] local.INFO: Acknowledgment sent {"connection_id":159079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:11:56] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:56] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:11:56] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:11:57] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:57] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:11:57] local.INFO: IMEI packet received {"connection_id":159081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":159081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:12:01] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:12:01] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:12:01] local.INFO: IMEI packet received {"connection_id":161635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":161635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:12:02] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237ab740012d7d010005eaf2880014003813..."} 
[2026-08-21 14:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237ab740012d7d010005eaf2880014003813..."} 
[2026-08-21 14:12:02] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237ab740012d7d010005eaf2880014003813..."} 
[2026-08-21 14:12:02] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:12:02] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763166976,"raw_latitude":99283592,"longitude_deg":76.3166976,"latitude_deg":9.9283592,"altitude":20,"angle":56,"satellites":19,"speed":6,"hex_longitude":"2d7d0100","hex_latitude":"05eaf288","is_valid_coordinates":true} 
[2026-08-21 14:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549217792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121692886105325568,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004173424157763584,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787301640000,"timestamp_ms":1787301640000,"timestamp_seconds":1787301640,"priority":1,"record_length":96,"hex_timestamp":"000001a0237ab740"} 
[2026-08-21 14:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167559486798,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818524,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2885681152,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3946315797,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-08-21 14:12:02] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1179723,"corrected_to":0} 
[2026-08-21 14:12:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3940179968,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,8,87,24,241,157,16,86,160,109,45,64,237,21,19,10,66,101,192,18,62,1,240,9,227,35,234,4,113,205,224,178,200,239,50,2,176,5,15,28],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0},{"io_id":200,"original":1179723,"validated":0}]} 
[2026-08-21 14:12:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1513288721239048192,"timestamp_seconds":1513288721239048.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549217792001,"66":12993,"8":206,"87":13824,"24":6,"16":121692886105325568,"45":9004173424157763584},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-08-21 14:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549217792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:12:02] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-08-21 14:12:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121692886105325568,"km_value":121692886105325.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004173424157763584,"description":"Unknown IO ID 45"} 
[2026-08-21 14:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549217792001,"power":12993,"unknown_8":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9004173424157763584}} 
[2026-08-21 14:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675976,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:12:02] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:12:02] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:12:03] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:12:03] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:12:03] local.INFO: IMEI packet received {"connection_id":159081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":159081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:12:03] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:12:03] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:12:03] local.INFO: Packet analysis {"connection_id":159081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:03] local.INFO: Extracted packet for processing {"connection_id":159081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:12: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-08-21 14:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:12: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-08-21 14:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:12:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:12:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":159081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:12:03] local.INFO: GPS data processed {"connection_id":159081,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:12:03] local.INFO: Acknowledgment sent {"connection_id":159081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:12:07] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:12:07] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:12:07] local.INFO: Packet analysis {"connection_id":159353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:07] local.INFO: Extracted packet for processing {"connection_id":159353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:12:07] 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-08-21 14:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:12:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":159353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:12:07] local.INFO: GPS data processed {"connection_id":159353,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:12:07] local.INFO: Acknowledgment sent {"connection_id":159353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:12:30] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:12:30] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:12:30] local.INFO: IMEI packet received {"connection_id":159082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":159082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:12:33] local.INFO: TCP Data received {"connection_id":161635,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237afd90012d7d108005eaf8c80014004314..."} 
[2026-08-21 14:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237afd90012d7d108005eaf8c80014004314..."} 
[2026-08-21 14:12:33] local.INFO: Processing buffer {"connection_id":161635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237afd90012d7d108005eaf8c80014004314..."} 
[2026-08-21 14:12:33] local.INFO: Packet analysis {"connection_id":161635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:12:33] local.INFO: Extracted packet for processing {"connection_id":161635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237a"} 
[2026-08-21 14:12:33] local.INFO: GPS Element Parsed {"raw_longitude":763170944,"raw_latitude":99285192,"longitude_deg":76.3170944,"latitude_deg":9.9285192,"altitude":20,"angle":67,"satellites":20,"speed":18,"hex_longitude":"2d7d1080","hex_latitude":"05eaf8c8","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549219840001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121693096558723072,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007480755134302208,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787301658000,"timestamp_ms":1787301658000,"timestamp_seconds":1787301658,"priority":1,"record_length":96,"hex_timestamp":"000001a0237afd90"} 
[2026-08-21 14:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":193,"data_length":795,"current_offset":136} 
[2026-08-21 14:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549219840001,"66":12863,"158":206,"87":13824,"24":18,"16":121693096558723072,"45":9007480755134302208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-21 14:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549219840001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:12:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-21 14:12:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121693096558723072,"km_value":121693096558723.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007480755134302208,"description":"Unknown IO ID 45"} 
[2026-08-21 14:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549219840001,"power":12863,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":9007480755134302208}} 
[2026-08-21 14:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":161635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:12:33] local.INFO: GPS data processed {"connection_id":161635,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:12:33] local.INFO: Acknowledgment sent {"connection_id":161635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:12:34] local.INFO: TCP Data received {"connection_id":159081,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:12:34] local.INFO: Processing buffer {"connection_id":159081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:12:34] local.INFO: Packet analysis {"connection_id":159081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:34] local.INFO: Extracted packet for processing {"connection_id":159081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:12:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:12:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":159081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:12:34] local.INFO: GPS data processed {"connection_id":159081,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:12:34] local.INFO: Acknowledgment sent {"connection_id":159081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:12:35] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:12:35] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:12:35] local.INFO: IMEI packet received {"connection_id":159082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":159082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:12:36] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:12:36] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:12:36] local.INFO: Packet analysis {"connection_id":159082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:36] local.INFO: Extracted packet for processing {"connection_id":159082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:12:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:12:36] 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-08-21 14:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:12:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:12:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":159082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:12:36] local.INFO: GPS data processed {"connection_id":159082,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:12:36] local.INFO: Acknowledgment sent {"connection_id":159082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:12:58] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:12:58] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:12:58] local.INFO: IMEI packet received {"connection_id":159083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":159083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:12:58] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:12:58] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:12:58] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:13:01] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:13:01] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:13:01] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:13:03] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:13:03] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:13:03] local.INFO: IMEI packet received {"connection_id":159083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":159083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:13:03] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:13:03] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:13:03] local.INFO: Packet analysis {"connection_id":159083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:03] local.INFO: Extracted packet for processing {"connection_id":159083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:13: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-08-21 14:13: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-08-21 14:13: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-08-21 14:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:13: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-08-21 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:13:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:13:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":159083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:13:03] local.INFO: GPS data processed {"connection_id":159083,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:13:03] local.INFO: Acknowledgment sent {"connection_id":159083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:13:06] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:13:06] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:13:06] local.INFO: IMEI packet received {"connection_id":161636,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":161636,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:13:07] local.INFO: TCP Data received {"connection_id":159082,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:13:07] local.INFO: Processing buffer {"connection_id":159082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:13:07] local.INFO: Packet analysis {"connection_id":159082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:07] local.INFO: Extracted packet for processing {"connection_id":159082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:13:07] 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-08-21 14:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:13:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":159082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:13:07] local.INFO: GPS data processed {"connection_id":159082,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:13:07] local.INFO: Acknowledgment sent {"connection_id":159082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:13:08] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237c4998012d7d1d4005ea8240001000b114..."} 
[2026-08-21 14:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237c4998012d7d1d4005ea8240001000b114..."} 
[2026-08-21 14:13:08] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237c4998012d7d1d4005ea8240001000b114..."} 
[2026-08-21 14:13:08] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237c"} 
[2026-08-21 14:13:08] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237c"} 
[2026-08-21 14:13:08] local.INFO: GPS Element Parsed {"raw_longitude":763174208,"raw_latitude":99254848,"longitude_deg":76.3174208,"latitude_deg":9.9254848,"altitude":16,"angle":177,"satellites":20,"speed":9,"hex_longitude":"2d7d1d40","hex_latitude":"05ea8240","is_valid_coordinates":true} 
[2026-08-21 14:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549245184001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121694840315445248,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791963367424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787301743000,"timestamp_ms":1787301743000,"timestamp_seconds":1787301743,"priority":1,"record_length":96,"hex_timestamp":"000001a0237c4998"} 
[2026-08-21 14:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-08-21 14:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549245184001,"66":12809,"158":206,"87":13824,"24":9,"16":121694840315445248,"45":9015502791963367424},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-21 14:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549245184001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:13:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-21 14:13:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121694840315445248,"km_value":121694840315445.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791963367424,"description":"Unknown IO ID 45"} 
[2026-08-21 14:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549245184001,"power":12809,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015502791963367424}} 
[2026-08-21 14:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675984,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:13:08] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:13:08] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:13:13] local.INFO: TCP Data received {"connection_id":161636,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237c8818012d7d1c0005ea5ec0001000b714..."} 
[2026-08-21 14:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237c8818012d7d1c0005ea5ec0001000b714..."} 
[2026-08-21 14:13:13] local.INFO: Processing buffer {"connection_id":161636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237c8818012d7d1c0005ea5ec0001000b714..."} 
[2026-08-21 14:13:13] local.INFO: Packet analysis {"connection_id":161636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237c"} 
[2026-08-21 14:13:13] local.INFO: Extracted packet for processing {"connection_id":161636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237c"} 
[2026-08-21 14:13:13] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99245760,"longitude_deg":76.3173888,"latitude_deg":9.924576,"altitude":16,"angle":183,"satellites":20,"speed":26,"hex_longitude":"2d7d1c00","hex_latitude":"05ea5ec0","is_valid_coordinates":true} 
[2026-08-21 14:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549246208001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121695282697076736,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423219019776,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787301759000,"timestamp_ms":1787301759000,"timestamp_seconds":1787301759,"priority":1,"record_length":96,"hex_timestamp":"000001a0237c8818"} 
[2026-08-21 14:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":35,"raw_value":8881089674139738240,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3847225364,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1352532174,"corrected_to":0} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3355520381,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147871483,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576235006171492777,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1513948346241218284,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:13] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,88,160,57,45,128,132,20,10,66,235,192,177,1,240,34,227,35,234,4,113,205,7,71,33,32,239,50,2,176,5,22,54,110],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1352532174,"validated":0}]} 
[2026-08-21 14:13:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153116204064899072,"timestamp_seconds":1153116204064899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161636,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549246208001,"66":13222,"158":206,"87":13824,"24":26,"16":121695282697076736,"45":9015432423219019776},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-21 14:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549246208001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:13:13] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-21 14:13:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121695282697076736,"km_value":121695282697076.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423219019776,"description":"Unknown IO ID 45"} 
[2026-08-21 14:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549246208001,"power":13222,"unknown_158":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":9015432423219019776}} 
[2026-08-21 14:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":161636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:13:13] local.INFO: GPS data processed {"connection_id":161636,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:13:13] local.INFO: Acknowledgment sent {"connection_id":161636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:13:30] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:13:30] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:13:30] local.INFO: IMEI packet received {"connection_id":159084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":159084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:13:34] local.INFO: TCP Data received {"connection_id":159083,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:13:34] local.INFO: Processing buffer {"connection_id":159083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:13:34] local.INFO: Packet analysis {"connection_id":159083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:34] local.INFO: Extracted packet for processing {"connection_id":159083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:13:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":159083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:13:34] local.INFO: GPS data processed {"connection_id":159083,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:13:34] local.INFO: Acknowledgment sent {"connection_id":159083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:13:35] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:13:35] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:13:35] local.INFO: IMEI packet received {"connection_id":159084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:13:35] local.INFO: IMEI acknowledgment sent {"connection_id":159084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:13:36] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:13:36] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:13:36] local.INFO: Packet analysis {"connection_id":159084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:36] local.INFO: Extracted packet for processing {"connection_id":159084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:13:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:13:36] 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-08-21 14:13:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:13:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:13:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":159084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:13:36] local.INFO: GPS data processed {"connection_id":159084,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:13:36] local.INFO: Acknowledgment sent {"connection_id":159084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:13:57] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:13:57] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:13:57] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:14:01] local.INFO: TCP Data received {"connection_id":159354,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:01] local.INFO: Processing buffer {"connection_id":159354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:01] local.INFO: IMEI packet received {"connection_id":159354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:14:03] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:14:03] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:14:03] local.INFO: IMEI packet received {"connection_id":160256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":160256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:14:03] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:14:03] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:14:03] local.INFO: Packet analysis {"connection_id":160256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:03] local.INFO: Extracted packet for processing {"connection_id":160256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:14: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-08-21 14: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-08-21 14: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-08-21 14: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-08-21 14:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:14:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":160256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:14:03] local.INFO: GPS data processed {"connection_id":160256,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:14:03] local.INFO: Acknowledgment sent {"connection_id":160256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:14:07] local.INFO: TCP Data received {"connection_id":159084,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:07] local.INFO: Processing buffer {"connection_id":159084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:07] local.INFO: Packet analysis {"connection_id":159084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:07] local.INFO: Extracted packet for processing {"connection_id":159084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:14:07] 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-08-21 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":159084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:14:07] local.INFO: GPS data processed {"connection_id":159084,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:14:07] local.INFO: Acknowledgment sent {"connection_id":159084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:14:14] local.INFO: TCP Data received {"connection_id":159354,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:14] local.INFO: Processing buffer {"connection_id":159354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:14] local.INFO: IMEI packet received {"connection_id":159354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":159354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:14:16] local.INFO: TCP Data received {"connection_id":159354,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0237cca80012d7d1a0005ea3a80001000b614..."} 
[2026-08-21 14:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237cca80012d7d1a0005ea3a80001000b614..."} 
[2026-08-21 14:14:16] local.INFO: Processing buffer {"connection_id":159354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237cca80012d7d1a0005ea3a80001000b614..."} 
[2026-08-21 14:14:16] local.INFO: Packet analysis {"connection_id":159354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237c"} 
[2026-08-21 14:14:16] local.INFO: Extracted packet for processing {"connection_id":159354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237c"} 
[2026-08-21 14:14:16] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99236480,"longitude_deg":76.3173376,"latitude_deg":9.923648,"altitude":16,"angle":182,"satellites":20,"speed":19,"hex_longitude":"2d7d1a00","hex_latitude":"05ea3a80","is_valid_coordinates":true} 
[2026-08-21 14:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549250304001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121695733668642816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579495804928,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787301776000,"timestamp_ms":1787301776000,"timestamp_seconds":1787301776,"priority":1,"record_length":96,"hex_timestamp":"000001a0237cca80"} 
[2026-08-21 14:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 14:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549250304001,"66":12798,"158":206,"87":13824,"24":19,"16":121695733668642816,"45":9015080579495804928},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-08-21 14:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549250304001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:14:16] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-08-21 14:14:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121695733668642816,"km_value":121695733668642.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579495804928,"description":"Unknown IO ID 45"} 
[2026-08-21 14:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549250304001,"power":12798,"unknown_158":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":9015080579495804928}} 
[2026-08-21 14:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":159354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:14:16] local.INFO: GPS data processed {"connection_id":159354,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:14:16] local.INFO: Acknowledgment sent {"connection_id":159354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:14:34] local.INFO: TCP Data received {"connection_id":160256,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:14:34] local.INFO: Processing buffer {"connection_id":160256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023796750012dde4440050df3500008000919..."} 
[2026-08-21 14:14:34] local.INFO: Packet analysis {"connection_id":160256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:34] local.INFO: Extracted packet for processing {"connection_id":160256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":8,"angle":9,"satellites":25,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549120768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301554000,"timestamp_ms":1787301554000,"timestamp_seconds":1787301554,"priority":1,"record_length":96,"hex_timestamp":"000001a023796750"} 
[2026-08-21 14:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549120768001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549120768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:14:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549120768001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":160256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:14:34] local.INFO: GPS data processed {"connection_id":160256,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:14:34] local.INFO: Acknowledgment sent {"connection_id":160256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:14:35] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:14:35] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:14:35] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:14:40] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:14:40] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:14:40] local.INFO: IMEI packet received {"connection_id":160257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":160257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:14:41] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:41] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:41] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:41] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:41] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:14:41] 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-08-21 14:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:14:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:14:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:14:41] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:14:41] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:14:45] local.INFO: TCP Data received {"connection_id":160257,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:45] local.INFO: Processing buffer {"connection_id":160257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023798690012d18aa8007228050007301492f..."} 
[2026-08-21 14:14:45] local.INFO: Packet analysis {"connection_id":160257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:45] local.INFO: Extracted packet for processing {"connection_id":160257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02379"} 
[2026-08-21 14:14:45] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549122816001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787301562000,"timestamp_ms":1787301562000,"timestamp_seconds":1787301562,"priority":1,"record_length":96,"hex_timestamp":"000001a023798690"} 
[2026-08-21 14:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:14: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-08-21 14:14:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:14:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549122816001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549122816001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:14:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:14:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549122816001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":160257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:14:45] local.INFO: GPS data processed {"connection_id":160257,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:14:45] local.INFO: Acknowledgment sent {"connection_id":160257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:14:56] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:56] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:56] local.INFO: IMEI packet received {"connection_id":159355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":159355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:14:57] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:57] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:57] local.INFO: IMEI packet received {"connection_id":159355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":159355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:14:57] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:14:57] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:14:57] local.INFO: IMEI packet received {"connection_id":159085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":159085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:14:58] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:58] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:58] local.INFO: IMEI packet received {"connection_id":159355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":159355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:14:59] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:59] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:14:59] local.INFO: IMEI packet received {"connection_id":159355,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":159355,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:15:03] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:15:03] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:15:03] local.INFO: IMEI packet received {"connection_id":159085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":159085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:15:03] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:15:03] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:15:03] local.INFO: Packet analysis {"connection_id":159085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:15:03] local.INFO: Extracted packet for processing {"connection_id":159085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:15:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 14:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 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-08-21 14:15: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-08-21 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:15: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-08-21 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-08-21 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-08-21 14:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:15: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-08-21 14:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:15:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:15:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":159085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:15:03] local.INFO: GPS data processed {"connection_id":159085,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:15:03] local.INFO: Acknowledgment sent {"connection_id":159085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:15:30] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:15:30] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:15:30] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:15:34] local.INFO: TCP Data received {"connection_id":159085,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:15:34] local.INFO: Processing buffer {"connection_id":159085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:15:34] local.INFO: Packet analysis {"connection_id":159085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:15:34] local.INFO: Extracted packet for processing {"connection_id":159085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:15:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:15:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:15:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":159085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:15:35] local.INFO: GPS data processed {"connection_id":159085,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:15:35] local.INFO: Acknowledgment sent {"connection_id":159085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:15:35] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:15:35] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:15:35] local.INFO: IMEI packet received {"connection_id":161637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":161637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:15:36] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:15:36] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:15:36] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:15:36] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:15:36] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:15:36] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:15:57] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:15:57] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:15:57] local.INFO: IMEI packet received {"connection_id":159356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":159356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:16:03] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:16:03] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:16:03] local.INFO: IMEI packet received {"connection_id":159356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":159356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:16:03] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:16:03] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:16:03] local.INFO: Packet analysis {"connection_id":159356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:16:03] local.INFO: Extracted packet for processing {"connection_id":159356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:16:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:16: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-08-21 14: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":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:16: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-08-21 14:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:16: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-08-21 14:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:16:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:16:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":159356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:16:03] local.INFO: GPS data processed {"connection_id":159356,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:16:03] local.INFO: Acknowledgment sent {"connection_id":159356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:16:07] local.INFO: TCP Data received {"connection_id":161637,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:16:07] local.INFO: Processing buffer {"connection_id":161637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:16:07] local.INFO: Packet analysis {"connection_id":161637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:16:07] local.INFO: Extracted packet for processing {"connection_id":161637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:16:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":161637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:16:07] local.INFO: GPS data processed {"connection_id":161637,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:16:07] local.INFO: Acknowledgment sent {"connection_id":161637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:16:30] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:16:30] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:16:30] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:16:34] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:16:34] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:16:34] local.INFO: Packet analysis {"connection_id":159356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:16:34] local.INFO: Extracted packet for processing {"connection_id":159356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:16:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:16:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:16:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":159356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":675999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:16:34] local.INFO: GPS data processed {"connection_id":159356,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:16:34] local.INFO: Acknowledgment sent {"connection_id":159356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:16:35] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:16:35] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:16:35] local.INFO: IMEI packet received {"connection_id":160258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":160258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:16:36] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:16:36] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:16:36] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:16:36] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:16:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:16:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:16:36] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:16:36] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:16:58] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:16:58] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:16:58] local.INFO: IMEI packet received {"connection_id":159086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":159086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:17:03] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:17:03] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:17:03] local.INFO: IMEI packet received {"connection_id":159086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":159086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:17:03] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:17:03] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:17:03] local.INFO: Packet analysis {"connection_id":159086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:17:03] local.INFO: Extracted packet for processing {"connection_id":159086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:17:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14: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-08-21 14: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-08-21 14: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-08-21 14: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-08-21 14:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:17: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-08-21 14:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:17:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":159086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:17:03] local.INFO: GPS data processed {"connection_id":159086,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:17:03] local.INFO: Acknowledgment sent {"connection_id":159086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:17:07] local.INFO: TCP Data received {"connection_id":160258,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:17:07] local.INFO: Processing buffer {"connection_id":160258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:17:07] local.INFO: Packet analysis {"connection_id":160258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:17:07] local.INFO: Extracted packet for processing {"connection_id":160258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:17:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":160258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:17:07] local.INFO: GPS data processed {"connection_id":160258,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:17:07] local.INFO: Acknowledgment sent {"connection_id":160258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:17:31] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:17:31] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:17:31] local.INFO: IMEI packet received {"connection_id":159358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":159358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:17:34] local.INFO: TCP Data received {"connection_id":159086,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:17:34] local.INFO: Processing buffer {"connection_id":159086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:17:34] local.INFO: Packet analysis {"connection_id":159086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:17:34] local.INFO: Extracted packet for processing {"connection_id":159086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:17:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:17:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:17:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":159086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:17:34] local.INFO: GPS data processed {"connection_id":159086,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:17:34] local.INFO: Acknowledgment sent {"connection_id":159086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:17:35] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:17:35] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:17:35] local.INFO: IMEI packet received {"connection_id":159358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":159358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:17:36] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:17:36] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:17:36] local.INFO: Packet analysis {"connection_id":159358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:17:36] local.INFO: Extracted packet for processing {"connection_id":159358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:17:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:17:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":159358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:17:36] local.INFO: GPS data processed {"connection_id":159358,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:17:36] local.INFO: Acknowledgment sent {"connection_id":159358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:18:00] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:18:00] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:18:00] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:18:03] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:18:03] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:18:03] local.INFO: IMEI packet received {"connection_id":161639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":161639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:18:04] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:04] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:04] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:18:04] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:18:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:18: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-08-21 14:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:18:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:18:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:18:04] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:18:04] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:18:07] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:18:07] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:18:07] local.INFO: Packet analysis {"connection_id":159358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:18:07] local.INFO: Extracted packet for processing {"connection_id":159358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:18:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":159358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:18:07] local.INFO: GPS data processed {"connection_id":159358,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:18:07] local.INFO: Acknowledgment sent {"connection_id":159358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:18:08] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:08] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:08] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:18:08] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:18:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:18: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-08-21 14:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:18:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:18:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:18:08] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:18:08] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:18:30] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:18:30] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:18:30] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:18:35] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:18:35] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:18:35] local.INFO: IMEI packet received {"connection_id":161641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":161641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:18:36] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:18:36] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:18:36] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:18:36] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:18:36] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:18:36] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:18:39] local.INFO: TCP Data received {"connection_id":161639,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:39] local.INFO: Processing buffer {"connection_id":161639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:18:39] local.INFO: Packet analysis {"connection_id":161639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:18:39] local.INFO: Extracted packet for processing {"connection_id":161639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:18:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:18:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:18:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":161639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:18:39] local.INFO: GPS data processed {"connection_id":161639,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:18:39] local.INFO: Acknowledgment sent {"connection_id":161639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:19:00] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:00] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:00] local.INFO: IMEI packet received {"connection_id":160259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":160259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:19:03] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:03] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:03] local.INFO: IMEI packet received {"connection_id":160259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":160259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:19:07] local.INFO: TCP Data received {"connection_id":161641,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:07] local.INFO: Processing buffer {"connection_id":161641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:07] local.INFO: Packet analysis {"connection_id":161641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:19:07] local.INFO: Extracted packet for processing {"connection_id":161641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":161641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:19:07] local.INFO: GPS data processed {"connection_id":161641,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:19:07] local.INFO: Acknowledgment sent {"connection_id":161641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:19:07] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:19:07] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:19:07] local.INFO: Packet analysis {"connection_id":160259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:19:07] local.INFO: Extracted packet for processing {"connection_id":160259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:19:07] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":160259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:19:07] local.INFO: GPS data processed {"connection_id":160259,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:19:07] local.INFO: Acknowledgment sent {"connection_id":160259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:19:13] local.INFO: TCP Data received {"connection_id":160259,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:19:13] local.INFO: Processing buffer {"connection_id":160259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237dff18012dde4440050df350001500091c..."} 
[2026-08-21 14:19:13] local.INFO: Packet analysis {"connection_id":160259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:19:13] local.INFO: Extracted packet for processing {"connection_id":160259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237d"} 
[2026-08-21 14:19:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":28,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549197824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787301855000,"timestamp_ms":1787301855000,"timestamp_seconds":1787301855,"priority":1,"record_length":96,"hex_timestamp":"000001a0237dff18"} 
[2026-08-21 14:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549197824001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549197824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:19:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:19:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549197824001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":160259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:19:13] local.INFO: GPS data processed {"connection_id":160259,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:19:13] local.INFO: Acknowledgment sent {"connection_id":160259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:19:35] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:19:35] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:19:35] local.INFO: IMEI packet received {"connection_id":159087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:19:35] local.INFO: IMEI acknowledgment sent {"connection_id":159087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:19:40] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:19:40] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:19:40] local.INFO: IMEI packet received {"connection_id":159087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":159087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:19:41] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:41] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:41] local.INFO: Packet analysis {"connection_id":159087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:19:41] local.INFO: Extracted packet for processing {"connection_id":159087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":159087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:19:41] local.INFO: GPS data processed {"connection_id":159087,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:19:41] local.INFO: Acknowledgment sent {"connection_id":159087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:19:45] local.INFO: TCP Data received {"connection_id":159087,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:45] local.INFO: Processing buffer {"connection_id":159087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0237e1e58012d18aa8007228050007301492f..."} 
[2026-08-21 14:19:45] local.INFO: Packet analysis {"connection_id":159087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:19:45] local.INFO: Extracted packet for processing {"connection_id":159087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0237e"} 
[2026-08-21 14:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":47,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:19:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787301863000,"timestamp_ms":1787301863000,"timestamp_seconds":1787301863,"priority":1,"record_length":96,"hex_timestamp":"000001a0237e1e58"} 
[2026-08-21 14:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:19:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549199872001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:19:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:19:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549199872001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":159087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:19:46] local.INFO: GPS data processed {"connection_id":159087,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:19:46] local.INFO: Acknowledgment sent {"connection_id":159087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:19:57] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:57] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:19:57] local.INFO: IMEI packet received {"connection_id":159359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":159359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:20:02] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:02] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:02] local.INFO: IMEI packet received {"connection_id":161642,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":161642,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:20:03] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:20:03] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:20:03] local.INFO: IMEI packet received {"connection_id":159359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":159359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:20:03] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:20:03] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:20:03] local.INFO: Packet analysis {"connection_id":159359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:03] local.INFO: Extracted packet for processing {"connection_id":159359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 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-08-21 14:20: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-08-21 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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:20: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-08-21 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-08-21 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-08-21 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:20:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":159359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:20:03] local.INFO: GPS data processed {"connection_id":159359,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:20:03] local.INFO: Acknowledgment sent {"connection_id":159359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:20:05] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023828358012d7b494005e92c60000400b416..."} 
[2026-08-21 14:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023828358012d7b494005e92c60000400b416..."} 
[2026-08-21 14:20:05] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023828358012d7b494005e92c60000400b416..."} 
[2026-08-21 14:20:05] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:05] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:05] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":99167328,"longitude_deg":76.30544,"latitude_deg":9.9167328,"altitude":4,"angle":180,"satellites":22,"speed":14,"hex_longitude":"2d7b4940","hex_latitude":"05e92c60","is_valid_coordinates":true} 
[2026-08-21 14:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549350400001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121703675063173120,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702134096115712,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787302151000,"timestamp_ms":1787302151000,"timestamp_seconds":1787302151,"priority":1,"record_length":96,"hex_timestamp":"000001a023828358"} 
[2026-08-21 14:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 14:20: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-08-21 14:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549350400001,"66":13374,"201":206,"87":13824,"24":14,"16":121703675063173120,"45":8883702134096115712},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 14:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549350400001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:20:05] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 14:20:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121703675063173120,"km_value":121703675063173.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702134096115712,"description":"Unknown IO ID 45"} 
[2026-08-21 14:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549350400001,"power":13374,"unknown_201":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8883702134096115712}} 
[2026-08-21 14:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:20:05] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:20:05] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:20:30] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:20:30] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:20:30] local.INFO: IMEI packet received {"connection_id":159088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":159088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:20:34] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:20:34] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:20:34] local.INFO: Packet analysis {"connection_id":159359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:34] local.INFO: Extracted packet for processing {"connection_id":159359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:20:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":159359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:20:34] local.INFO: GPS data processed {"connection_id":159359,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:20:34] local.INFO: Acknowledgment sent {"connection_id":159359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:20:35] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:20:35] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:20:35] local.INFO: IMEI packet received {"connection_id":159088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":159088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:20:36] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:20:36] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:20:36] local.INFO: Packet analysis {"connection_id":159088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:36] local.INFO: Extracted packet for processing {"connection_id":159088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":159088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:20:36] local.INFO: GPS data processed {"connection_id":159088,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:20:36] local.INFO: Acknowledgment sent {"connection_id":159088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:20:40] local.INFO: TCP Data received {"connection_id":161642,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b238012d7b4cc005e90750000500ac16..."} 
[2026-08-21 14:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b238012d7b4cc005e90750000500ac16..."} 
[2026-08-21 14:20:40] local.INFO: Processing buffer {"connection_id":161642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b238012d7b4cc005e90750000500ac16..."} 
[2026-08-21 14:20:40] local.INFO: Packet analysis {"connection_id":161642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:40] local.INFO: Extracted packet for processing {"connection_id":161642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":763055296,"raw_latitude":99157840,"longitude_deg":76.3055296,"latitude_deg":9.915784,"altitude":5,"angle":172,"satellites":22,"speed":40,"hex_longitude":"2d7b4cc0","hex_latitude":"05e90750","is_valid_coordinates":true} 
[2026-08-21 14:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549350656001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121704134624673792,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702134096027648,"note":"Value kept but may cause issues"} 
[2026-08-21 14:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787302163000,"timestamp_ms":1787302163000,"timestamp_seconds":1787302163,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b238"} 
[2026-08-21 14:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":62,"data_length":795,"current_offset":136} 
[2026-08-21 14:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161642,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549350656001,"66":13319,"201":206,"87":13824,"24":40,"16":121704134624673792,"45":8883702134096027648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 14:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549350656001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121704134624673792,"km_value":121704134624673.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702134096027648,"description":"Unknown IO ID 45"} 
[2026-08-21 14:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549350656001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":8883702134096027648}} 
[2026-08-21 14:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":161642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676019,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:20:40] local.INFO: GPS data processed {"connection_id":161642,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:20:40] local.INFO: Acknowledgment sent {"connection_id":161642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:20:55] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:55] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:55] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:20:56] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:56] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:56] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:20:58] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:20:58] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:20:58] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:20:58] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:58] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:20:58] local.INFO: IMEI packet received {"connection_id":160261,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":160261,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:21:00] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02382d178012d7b518005e8e208000a00ad16..."} 
[2026-08-21 14:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382d178012d7b518005e8e208000a00ad16..."} 
[2026-08-21 14:21:00] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382d178012d7b518005e8e208000a00ad16..."} 
[2026-08-21 14:21:00] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:00] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:00] local.INFO: GPS Element Parsed {"raw_longitude":763056512,"raw_latitude":99148296,"longitude_deg":76.3056512,"latitude_deg":9.9148296,"altitude":10,"angle":173,"satellites":22,"speed":48,"hex_longitude":"2d7b5180","hex_latitude":"05e8e208","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353728001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121704602776109056,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884687296512086016,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787302171000,"timestamp_ms":1787302171000,"timestamp_seconds":1787302171,"priority":1,"record_length":96,"hex_timestamp":"000001a02382d178"} 
[2026-08-21 14:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:21: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-08-21 14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2188877825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3780771895784117760,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3221612847,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912278016,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":128,"raw_value":57752711550883638,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2708916470719512581,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:00] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,201,87,24,241,157,16,97,160,131,45,64,44,4,22,10,66,96,127,123,192,1,240,62,227,35,233,113,205,6,115,74,120,239,48,2,176,5,30,128,130],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-08-21 14:21:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360477180681519104,"timestamp_seconds":360477180681519.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353728001,"66":12885,"201":206,"87":13824,"24":48,"16":121704602776109056,"45":8884687296512086016},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 14:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353728001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:21:00] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 14:21:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121704602776109056,"km_value":121704602776109.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884687296512086016,"description":"Unknown IO ID 45"} 
[2026-08-21 14:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353728001,"power":12885,"unknown_201":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8884687296512086016}} 
[2026-08-21 14:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:21:00] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:21:00] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:21:03] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:21:03] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:21:03] local.INFO: IMEI packet received {"connection_id":160262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":160262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:21:03] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:21:03] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:21:03] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:03] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:21: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-08-21 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:21: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-08-21 14: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-08-21 14:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:21: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-08-21 14:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:21:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:21:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:21:03] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:21:03] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:21:07] local.INFO: TCP Data received {"connection_id":159088,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:21:07] local.INFO: Processing buffer {"connection_id":159088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:21:07] local.INFO: Packet analysis {"connection_id":159088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:07] local.INFO: Extracted packet for processing {"connection_id":159088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:21:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":159088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:21:07] local.INFO: GPS data processed {"connection_id":159088,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:21:07] local.INFO: Acknowledgment sent {"connection_id":159088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:21:30] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:21:30] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:21:30] local.INFO: IMEI packet received {"connection_id":159089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":159089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:21:34] local.INFO: TCP Data received {"connection_id":160261,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02382f0b8012d7b564005e8bbe0000b00ac16..."} 
[2026-08-21 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382f0b8012d7b564005e8bbe0000b00ac16..."} 
[2026-08-21 14:21:34] local.INFO: Processing buffer {"connection_id":160261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382f0b8012d7b564005e8bbe0000b00ac16..."} 
[2026-08-21 14:21:34] local.INFO: Packet analysis {"connection_id":160261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:34] local.INFO: Extracted packet for processing {"connection_id":160261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:34] local.INFO: GPS Element Parsed {"raw_longitude":763057728,"raw_latitude":99138528,"longitude_deg":76.3057728,"latitude_deg":9.9138528,"altitude":11,"angle":172,"satellites":22,"speed":48,"hex_longitude":"2d7b5640","hex_latitude":"05e8bbe0","is_valid_coordinates":true} 
[2026-08-21 14:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549355776001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121705079517478912,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886024302649018368,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302179000,"timestamp_ms":1787302179000,"timestamp_seconds":1787302179,"priority":1,"record_length":96,"hex_timestamp":"000001a02382f0b8"} 
[2026-08-21 14:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-21 14:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160261,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549355776001,"66":13319,"201":206,"87":13824,"24":48,"16":121705079517478912,"45":8886024302649018368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549355776001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121705079517478912,"km_value":121705079517478.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886024302649018368,"description":"Unknown IO ID 45"} 
[2026-08-21 14:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549355776001,"power":13319,"unknown_201":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8886024302649018368}} 
[2026-08-21 14:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":160261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:21:34] local.INFO: GPS data processed {"connection_id":160261,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:21:34] local.INFO: Acknowledgment sent {"connection_id":160261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:21:34] local.INFO: TCP Data received {"connection_id":160262,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:21:34] local.INFO: Processing buffer {"connection_id":160262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:21:34] local.INFO: Packet analysis {"connection_id":160262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:34] local.INFO: Extracted packet for processing {"connection_id":160262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":160262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:21:34] local.INFO: GPS data processed {"connection_id":160262,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:21:34] local.INFO: Acknowledgment sent {"connection_id":160262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:21:35] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:21:35] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:21:35] local.INFO: IMEI packet received {"connection_id":159089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":159089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:21:36] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:21:36] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:21:36] local.INFO: Packet analysis {"connection_id":159089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:36] local.INFO: Extracted packet for processing {"connection_id":159089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":159089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:21:36] local.INFO: GPS data processed {"connection_id":159089,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:21:36] local.INFO: Acknowledgment sent {"connection_id":159089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:21:56] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:21:56] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:21:56] local.INFO: IMEI packet received {"connection_id":161643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":161643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:21:57] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:21:57] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:21:57] local.INFO: IMEI packet received {"connection_id":159360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":159360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:22:01] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:22:01] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:22:01] local.INFO: IMEI packet received {"connection_id":161643,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":161643,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:22:02] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023830ff8012d7b594005e89860000e00b516..."} 
[2026-08-21 14:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023830ff8012d7b594005e89860000e00b516..."} 
[2026-08-21 14:22:02] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023830ff8012d7b594005e89860000e00b516..."} 
[2026-08-21 14:22:02] local.INFO: Packet analysis {"connection_id":161643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02383"} 
[2026-08-21 14:22:02] local.INFO: Extracted packet for processing {"connection_id":161643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02383"} 
[2026-08-21 14:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99129440,"longitude_deg":76.3058496,"latitude_deg":9.912944,"altitude":14,"angle":181,"satellites":22,"speed":34,"hex_longitude":"2d7b5940","hex_latitude":"05e89860","is_valid_coordinates":true} 
[2026-08-21 14:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549357824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121705521899110400,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887361308785893376,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787302187000,"timestamp_ms":1787302187000,"timestamp_seconds":1787302187,"priority":1,"record_length":96,"hex_timestamp":"000001a023830ff8"} 
[2026-08-21 14:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3912179712,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3640655872,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2189389825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3420483934183953920,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":123,"raw_value":2281778555,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":73,"raw_value":3221612846,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57752711550883638,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.WARNING: Large IO value detected {"io_id":130,"raw_value":8338416004930125829,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:02] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,201,87,24,241,157,16,98,160,209,45,128,226,10,22,66,97,178,192,7,5,131,64,1,240,62,227,96,35,233,4,113,205,123,73,168,239,52,2,176,6,63,130],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-08-21 14:22:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792822744909611008,"timestamp_seconds":792822744909611.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549357824001,"66":13276,"201":206,"87":13824,"24":34,"16":121705521899110400,"45":8887361308785893376},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-08-21 14:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549357824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:22:02] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 14:22:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121705521899110400,"km_value":121705521899110.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887361308785893376,"description":"Unknown IO ID 45"} 
[2026-08-21 14:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549357824001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8887361308785893376}} 
[2026-08-21 14:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":161643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:22:02] local.INFO: GPS data processed {"connection_id":161643,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:22:02] local.INFO: Acknowledgment sent {"connection_id":161643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:22:03] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:22:03] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:22:03] local.INFO: IMEI packet received {"connection_id":159360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":159360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:22:03] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:22:03] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:22:03] local.INFO: Packet analysis {"connection_id":159360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:03] local.INFO: Extracted packet for processing {"connection_id":159360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:22: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-08-21 14: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-08-21 14: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-08-21 14:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:22:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":159360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:22:03] local.INFO: GPS data processed {"connection_id":159360,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:22:03] local.INFO: Acknowledgment sent {"connection_id":159360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:22:07] local.INFO: TCP Data received {"connection_id":159089,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:22:07] local.INFO: Processing buffer {"connection_id":159089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:22:07] local.INFO: Packet analysis {"connection_id":159089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:07] local.INFO: Extracted packet for processing {"connection_id":159089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:22:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":159089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:22:07] local.INFO: GPS data processed {"connection_id":159089,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:22:07] local.INFO: Acknowledgment sent {"connection_id":159089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:22:30] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:22:30] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:22:30] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:22:33] local.INFO: TCP Data received {"connection_id":161643,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02384cd48012d7b634005e79bb8000b00a616..."} 
[2026-08-21 14:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02384cd48012d7b634005e79bb8000b00a616..."} 
[2026-08-21 14:22:33] local.INFO: Processing buffer {"connection_id":161643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02384cd48012d7b634005e79bb8000b00a616..."} 
[2026-08-21 14:22:33] local.INFO: Packet analysis {"connection_id":161643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02384"} 
[2026-08-21 14:22:33] local.INFO: Extracted packet for processing {"connection_id":161643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02384"} 
[2026-08-21 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763061056,"raw_latitude":99064760,"longitude_deg":76.3061056,"latitude_deg":9.906476,"altitude":11,"angle":166,"satellites":22,"speed":17,"hex_longitude":"2d7b6340","hex_latitude":"05e79bb8","is_valid_coordinates":true} 
[2026-08-21 14:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549384960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121708691584974848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890809377233115136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787302301000,"timestamp_ms":1787302301000,"timestamp_seconds":1787302301,"priority":1,"record_length":96,"hex_timestamp":"000001a02384cd48"} 
[2026-08-21 14:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 14:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:22:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161643,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549384960001,"66":13091,"96":206,"87":13824,"24":17,"16":121708691584974848,"45":8890809377233115136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 14:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549384960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:22:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 14:22:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121708691584974848,"km_value":121708691584974.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890809377233115136,"description":"Unknown IO ID 45"} 
[2026-08-21 14:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549384960001,"power":13091,"unknown_96":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8890809377233115136}} 
[2026-08-21 14:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":161643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:22:33] local.INFO: GPS data processed {"connection_id":161643,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:22:33] local.INFO: Acknowledgment sent {"connection_id":161643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:22:34] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:22:34] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:22:34] local.INFO: Packet analysis {"connection_id":159360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:34] local.INFO: Extracted packet for processing {"connection_id":159360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:22:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:22:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":159360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:22:34] local.INFO: GPS data processed {"connection_id":159360,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:22:34] local.INFO: Acknowledgment sent {"connection_id":159360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:22:35] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:22:35] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:22:35] local.INFO: IMEI packet received {"connection_id":160263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":160263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:22:36] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:22:36] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:22:36] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:36] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:22:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:22:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:22:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:22:36] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:22:36] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:22:56] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:22:56] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:22:56] local.INFO: IMEI packet received {"connection_id":159361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":159361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:22:58] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:22:58] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:22:58] local.INFO: IMEI packet received {"connection_id":159362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":159362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:23:01] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:23:01] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:23:01] local.INFO: IMEI packet received {"connection_id":159361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":159361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:23:02] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023851b68012d7b684005e78750000800a316..."} 
[2026-08-21 14:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023851b68012d7b684005e78750000800a316..."} 
[2026-08-21 14:23:02] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023851b68012d7b684005e78750000800a316..."} 
[2026-08-21 14:23:02] local.INFO: Packet analysis {"connection_id":159361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02385"} 
[2026-08-21 14:23:02] local.INFO: Extracted packet for processing {"connection_id":159361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02385"} 
[2026-08-21 14:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763062336,"raw_latitude":99059536,"longitude_deg":76.3062336,"latitude_deg":9.9059536,"altitude":8,"angle":163,"satellites":22,"speed":22,"hex_longitude":"2d7b6840","hex_latitude":"05e78750","is_valid_coordinates":true} 
[2026-08-21 14:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549389056001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121708957872947200,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891020483464247296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787302321000,"timestamp_ms":1787302321000,"timestamp_seconds":1787302321,"priority":1,"record_length":96,"hex_timestamp":"000001a023851b68"} 
[2026-08-21 14:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 14:23: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-08-21 14:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549389056001,"66":13200,"96":206,"87":13824,"24":22,"16":121708957872947200,"45":8891020483464247296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 14:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549389056001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:23:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 14:23:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121708957872947200,"km_value":121708957872947.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891020483464247296,"description":"Unknown IO ID 45"} 
[2026-08-21 14:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549389056001,"power":13200,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8891020483464247296}} 
[2026-08-21 14:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":159361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:23:02] local.INFO: GPS data processed {"connection_id":159361,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:23:02] local.INFO: Acknowledgment sent {"connection_id":159361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:23:03] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:23:03] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:23:03] local.INFO: IMEI packet received {"connection_id":159362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":159362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:23:07] local.INFO: TCP Data received {"connection_id":160263,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:23:07] local.INFO: Processing buffer {"connection_id":160263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:23:07] local.INFO: Packet analysis {"connection_id":160263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:07] local.INFO: Extracted packet for processing {"connection_id":160263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:23:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":160263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:23:07] local.INFO: GPS data processed {"connection_id":160263,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:23:07] local.INFO: Acknowledgment sent {"connection_id":160263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:23:08] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:23:08] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:23:08] local.INFO: Packet analysis {"connection_id":159362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:08] local.INFO: Extracted packet for processing {"connection_id":159362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:23: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-08-21 14:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:23:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:23:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":159362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:23:08] local.INFO: GPS data processed {"connection_id":159362,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:23:08] local.INFO: Acknowledgment sent {"connection_id":159362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:23:30] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:23:30] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:23:30] local.INFO: IMEI packet received {"connection_id":159090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":159090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:23:33] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023856d70012d7b700005e766f0000800a616..."} 
[2026-08-21 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023856d70012d7b700005e766f0000800a616..."} 
[2026-08-21 14:23:33] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023856d70012d7b700005e766f0000800a616..."} 
[2026-08-21 14:23:33] local.INFO: Packet analysis {"connection_id":159361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02385"} 
[2026-08-21 14:23:33] local.INFO: Extracted packet for processing {"connection_id":159361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02385"} 
[2026-08-21 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763064320,"raw_latitude":99051248,"longitude_deg":76.306432,"latitude_deg":9.9051248,"altitude":8,"angle":166,"satellites":22,"speed":8,"hex_longitude":"2d7b7000","hex_latitude":"05e766f0","is_valid_coordinates":true} 
[2026-08-21 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549394176001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121709383074709504,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892427858346463232,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787302342000,"timestamp_ms":1787302342000,"timestamp_seconds":1787302342,"priority":1,"record_length":96,"hex_timestamp":"000001a023856d70"} 
[2026-08-21 14:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-21 14:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549394176001,"66":12624,"96":206,"87":13824,"24":8,"16":121709383074709504,"45":8892427858346463232},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 14:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549394176001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:23:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 14:23:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121709383074709504,"km_value":121709383074709.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892427858346463232,"description":"Unknown IO ID 45"} 
[2026-08-21 14:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549394176001,"power":12624,"unknown_96":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8892427858346463232}} 
[2026-08-21 14:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":159361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:23:33] local.INFO: GPS data processed {"connection_id":159361,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:23:33] local.INFO: Acknowledgment sent {"connection_id":159361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:23:35] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:23:35] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:23:35] local.INFO: IMEI packet received {"connection_id":159090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":159090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:23:36] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:23:36] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:23:36] local.INFO: Packet analysis {"connection_id":159090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:36] local.INFO: Extracted packet for processing {"connection_id":159090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":159090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:23:36] local.INFO: GPS data processed {"connection_id":159090,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:23:36] local.INFO: Acknowledgment sent {"connection_id":159090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:23:39] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:23:39] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:23:39] local.INFO: Packet analysis {"connection_id":159362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:39] local.INFO: Extracted packet for processing {"connection_id":159362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:23:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:23:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:23:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":159362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:23:39] local.INFO: GPS data processed {"connection_id":159362,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:23:39] local.INFO: Acknowledgment sent {"connection_id":159362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:23:56] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:23:56] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:23:56] local.INFO: IMEI packet received {"connection_id":159091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":159091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:23:57] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:23:57] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:23:57] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:24:02] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:02] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:02] local.INFO: IMEI packet received {"connection_id":159091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":159091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:24:02] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:02] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:02] local.INFO: IMEI packet received {"connection_id":159091,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":159091,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:24:03] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:24:03] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:24:03] local.INFO: IMEI packet received {"connection_id":161644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":161644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:24:03] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02385bf78012d7b738005e75500000800ab14..."} 
[2026-08-21 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02385bf78012d7b738005e75500000800ab14..."} 
[2026-08-21 14:24:03] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02385bf78012d7b738005e75500000800ab14..."} 
[2026-08-21 14:24:03] local.INFO: Packet analysis {"connection_id":159091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02385"} 
[2026-08-21 14:24:03] local.INFO: Extracted packet for processing {"connection_id":159091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02385"} 
[2026-08-21 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763065216,"raw_latitude":99046656,"longitude_deg":76.3065216,"latitude_deg":9.9046656,"altitude":8,"angle":171,"satellites":20,"speed":20,"hex_longitude":"2d7b7380","hex_latitude":"05e75500","is_valid_coordinates":true} 
[2026-08-21 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549399552001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121709615002943488,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894609289413849088,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302363000,"timestamp_ms":1787302363000,"timestamp_seconds":1787302363,"priority":1,"record_length":96,"hex_timestamp":"000001a02385bf78"} 
[2026-08-21 14:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549399552001,"66":13091,"96":206,"87":13824,"24":20,"16":121709615002943488,"45":8894609289413849088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 14:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549399552001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121709615002943488,"km_value":121709615002943.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894609289413849088,"description":"Unknown IO ID 45"} 
[2026-08-21 14:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549399552001,"power":13091,"unknown_96":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8894609289413849088}} 
[2026-08-21 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":159091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:24:03] local.INFO: GPS data processed {"connection_id":159091,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:24:03] local.INFO: Acknowledgment sent {"connection_id":159091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:24:03] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:24:03] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:24:03] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:03] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:24: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-08-21 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:24: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-08-21 14:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:24: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-08-21 14:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:24:03] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:24:03] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:24:07] local.INFO: TCP Data received {"connection_id":159091,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023861180012d7b76c005e735c0000c00b316..."} 
[2026-08-21 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023861180012d7b76c005e735c0000c00b316..."} 
[2026-08-21 14:24:07] local.INFO: Processing buffer {"connection_id":159091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023861180012d7b76c005e735c0000c00b316..."} 
[2026-08-21 14:24:07] local.INFO: Packet analysis {"connection_id":159091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02386"} 
[2026-08-21 14:24:07] local.INFO: Extracted packet for processing {"connection_id":159091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02386"} 
[2026-08-21 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763066048,"raw_latitude":99038656,"longitude_deg":76.3066048,"latitude_deg":9.9038656,"altitude":12,"angle":179,"satellites":22,"speed":0,"hex_longitude":"2d7b76c0","hex_latitude":"05e735c0","is_valid_coordinates":true} 
[2026-08-21 14:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549404928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121710010139934720,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895594451831160832,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302384000,"timestamp_ms":1787302384000,"timestamp_seconds":1787302384,"priority":1,"record_length":96,"hex_timestamp":"000001a023861180"} 
[2026-08-21 14:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 14:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159091,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549404928001,"66":12765,"96":206,"87":13824,"24":0,"16":121710010139934720,"45":8895594451831160832},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549404928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121710010139934720,"km_value":121710010139934.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895594451831160832,"description":"Unknown IO ID 45"} 
[2026-08-21 14:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549404928001,"power":12765,"unknown_96":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8895594451831160832}} 
[2026-08-21 14:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":159091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676040,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:24:07] local.INFO: GPS data processed {"connection_id":159091,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:24:07] local.INFO: Acknowledgment sent {"connection_id":159091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:24:07] local.INFO: TCP Data received {"connection_id":159090,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:24:07] local.INFO: Processing buffer {"connection_id":159090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:24:07] local.INFO: Packet analysis {"connection_id":159090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:07] local.INFO: Extracted packet for processing {"connection_id":159090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":159090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:24:07] local.INFO: GPS data processed {"connection_id":159090,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:24:07] local.INFO: Acknowledgment sent {"connection_id":159090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:24:30] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:24:30] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:24:30] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:24:34] local.INFO: TCP Data received {"connection_id":161644,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:24:34] local.INFO: Processing buffer {"connection_id":161644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238296e0012dde4440050df350001b00091b..."} 
[2026-08-21 14:24:34] local.INFO: Packet analysis {"connection_id":161644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:34] local.INFO: Extracted packet for processing {"connection_id":161644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":27,"angle":9,"satellites":27,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549274880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302156000,"timestamp_ms":1787302156000,"timestamp_seconds":1787302156,"priority":1,"record_length":96,"hex_timestamp":"000001a0238296e0"} 
[2026-08-21 14:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549274880001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549274880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:24:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549274880001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":161644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:24:34] local.INFO: GPS data processed {"connection_id":161644,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:24:34] local.INFO: Acknowledgment sent {"connection_id":161644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:24:35] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:24:35] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:24:35] local.INFO: IMEI packet received {"connection_id":160264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":160264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:24:36] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:24:36] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02382b620012d18aa80072280500073014930..."} 
[2026-08-21 14:24:36] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:36] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02382"} 
[2026-08-21 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":48,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549276928001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302164000,"timestamp_ms":1787302164000,"timestamp_seconds":1787302164,"priority":1,"record_length":96,"hex_timestamp":"000001a02382b620"} 
[2026-08-21 14:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549276928001,"66":2166,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549276928001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549276928001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:24:36] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:24:36] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:24:56] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:56] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:56] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:24:57] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:57] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:24:57] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:24:57] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:24:57] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:24:57] local.INFO: IMEI packet received {"connection_id":159363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":159363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:25:01] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:25:01] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:25:01] local.INFO: IMEI packet received {"connection_id":161645,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":161645,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:25:02] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023874618012d7baa0005e668100008009717..."} 
[2026-08-21 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874618012d7baa0005e668100008009717..."} 
[2026-08-21 14:25:02] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874618012d7baa0005e668100008009717..."} 
[2026-08-21 14:25:02] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:02] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763079168,"raw_latitude":98986000,"longitude_deg":76.3079168,"latitude_deg":9.8986,"altitude":8,"angle":151,"satellites":23,"speed":32,"hex_longitude":"2d7baa00","hex_latitude":"05e66810","is_valid_coordinates":true} 
[2026-08-21 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549429760001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121712681609592832,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910020044372602880,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787302463000,"timestamp_ms":1787302463000,"timestamp_seconds":1787302463,"priority":1,"record_length":96,"hex_timestamp":"000001a023874618"} 
[2026-08-21 14:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549429760001,"66":13102,"96":206,"87":13824,"24":32,"16":121712681609592832,"45":8910020044372602880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549429760001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:25:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 14:25:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121712681609592832,"km_value":121712681609592.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910020044372602880,"description":"Unknown IO ID 45"} 
[2026-08-21 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549429760001,"power":13102,"unknown_96":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8910020044372602880}} 
[2026-08-21 14:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:25:02] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:25:02] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:25:03] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:25:03] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:25:03] local.INFO: IMEI packet received {"connection_id":159363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":159363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:25:03] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:25:03] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:25:03] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:03] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 14:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 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-08-21 14:25: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-08-21 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:25: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-08-21 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-08-21 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-08-21 14:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:25: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-08-21 14:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:25:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:25:03] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:25:03] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:25:07] local.INFO: TCP Data received {"connection_id":160264,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:25:07] local.INFO: Processing buffer {"connection_id":160264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:25:07] local.INFO: Packet analysis {"connection_id":160264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:07] local.INFO: Extracted packet for processing {"connection_id":160264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:25:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":160264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:25:07] local.INFO: GPS data processed {"connection_id":160264,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:25:07] local.INFO: Acknowledgment sent {"connection_id":160264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:25:33] local.INFO: TCP Data received {"connection_id":161645,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023876d28012d7bbd0005e648480006009716..."} 
[2026-08-21 14:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023876d28012d7bbd0005e648480006009716..."} 
[2026-08-21 14:25:33] local.INFO: Processing buffer {"connection_id":161645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023876d28012d7bbd0005e648480006009716..."} 
[2026-08-21 14:25:33] local.INFO: Packet analysis {"connection_id":161645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:33] local.INFO: Extracted packet for processing {"connection_id":161645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763084032,"raw_latitude":98977864,"longitude_deg":76.3084032,"latitude_deg":9.8977864,"altitude":6,"angle":151,"satellites":22,"speed":37,"hex_longitude":"2d7bbd00","hex_latitude":"05e64848","is_valid_coordinates":true} 
[2026-08-21 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549430528001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121713141171093504,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910934838046363648,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787302473000,"timestamp_ms":1787302473000,"timestamp_seconds":1787302473,"priority":1,"record_length":96,"hex_timestamp":"000001a023876d28"} 
[2026-08-21 14:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 14:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161645,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549430528001,"66":13037,"96":206,"87":13824,"24":37,"16":121713141171093504,"45":8910934838046363648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-08-21 14:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549430528001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:25:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 14:25:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121713141171093504,"km_value":121713141171093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910934838046363648,"description":"Unknown IO ID 45"} 
[2026-08-21 14:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549430528001,"power":13037,"unknown_96":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8910934838046363648}} 
[2026-08-21 14:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":161645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676047,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:25:33] local.INFO: GPS data processed {"connection_id":161645,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:25:33] local.INFO: Acknowledgment sent {"connection_id":161645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:25:35] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:25:35] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:25:35] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:25:35] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:25:38] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:25:38] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:25:38] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:38] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:38] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:25: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-08-21 14:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:25:38] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:25:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:25:38] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:25:38] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:25:40] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:25:40] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:25:40] local.INFO: IMEI packet received {"connection_id":161646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":161646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:25:41] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:25:41] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:25:41] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:41] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:25:41] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:25:41] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:25:57] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:25:57] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:25:57] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:26:01] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:01] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:01] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:26:03] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:26:03] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:26:03] local.INFO: IMEI packet received {"connection_id":160265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":160265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:26:04] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:26:04] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:26:04] local.INFO: Packet analysis {"connection_id":160265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:04] local.INFO: Extracted packet for processing {"connection_id":160265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:26: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-08-21 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:26: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-08-21 14: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-08-21 14:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:26:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:26:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":160265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:26:04] local.INFO: GPS data processed {"connection_id":160265,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:26:04] local.INFO: Acknowledgment sent {"connection_id":160265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:26:06] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:06] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:06] local.INFO: IMEI packet received {"connection_id":160266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":160266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:26:06] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023878498012d7bc3c005e63c300004008c16..."} 
[2026-08-21 14:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023878498012d7bc3c005e63c300004008c16..."} 
[2026-08-21 14:26:06] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023878498012d7bc3c005e63c300004008c16..."} 
[2026-08-21 14:26:06] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:06] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:06] local.INFO: GPS Element Parsed {"raw_longitude":763085760,"raw_latitude":98974768,"longitude_deg":76.308576,"latitude_deg":9.8974768,"altitude":4,"angle":140,"satellites":22,"speed":6,"hex_longitude":"2d7bc3c0","hex_latitude":"05e63c30","is_valid_coordinates":true} 
[2026-08-21 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549433088001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121713312969785344,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8916282862601783296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787302479000,"timestamp_ms":1787302479000,"timestamp_seconds":1787302479,"priority":1,"record_length":96,"hex_timestamp":"000001a023878498"} 
[2026-08-21 14:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 14:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549433088001,"66":12526,"95":206,"87":13824,"24":6,"16":121713312969785344,"45":8916282862601783296},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-21 14:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549433088001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:26:06] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 14:26:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121713312969785344,"km_value":121713312969785.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8916282862601783296,"description":"Unknown IO ID 45"} 
[2026-08-21 14:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549433088001,"power":12526,"unknown_95":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8916282862601783296}} 
[2026-08-21 14:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:26:06] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:26:06] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:26:07] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023878c68012d7bc44005e63b500004009716..."} 
[2026-08-21 14:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023878c68012d7bc44005e63b500004009716..."} 
[2026-08-21 14:26:07] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023878c68012d7bc44005e63b500004009716..."} 
[2026-08-21 14:26:07] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:07] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98974544,"longitude_deg":76.3085888,"latitude_deg":9.8974544,"altitude":4,"angle":151,"satellites":22,"speed":6,"hex_longitude":"2d7bc440","hex_latitude":"05e63b50","is_valid_coordinates":true} 
[2026-08-21 14:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549434624001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121713325854687232,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918182818693787648,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302481000,"timestamp_ms":1787302481000,"timestamp_seconds":1787302481,"priority":1,"record_length":96,"hex_timestamp":"000001a023878c68"} 
[2026-08-21 14:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 14:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549434624001,"66":13472,"95":206,"87":13824,"24":6,"16":121713325854687232,"45":8918182818693787648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-21 14:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549434624001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:26:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 14:26:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121713325854687232,"km_value":121713325854687.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918182818693787648,"description":"Unknown IO ID 45"} 
[2026-08-21 14:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549434624001,"power":13472,"unknown_95":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8918182818693787648}} 
[2026-08-21 14:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:26:07] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:26:07] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:26:12] local.INFO: TCP Data received {"connection_id":161646,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:26:12] local.INFO: Processing buffer {"connection_id":161646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:26:12] local.INFO: Packet analysis {"connection_id":161646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:12] local.INFO: Extracted packet for processing {"connection_id":161646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:26:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":161646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:26:12] local.INFO: GPS data processed {"connection_id":161646,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:26:12] local.INFO: Acknowledgment sent {"connection_id":161646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:26:30] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:26:30] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:26:30] local.INFO: IMEI packet received {"connection_id":159364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":159364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:26:35] local.INFO: TCP Data received {"connection_id":160265,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:26:35] local.INFO: Processing buffer {"connection_id":160265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:26:35] local.INFO: Packet analysis {"connection_id":160265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:35] local.INFO: Extracted packet for processing {"connection_id":160265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:26:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:26:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":160265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:26:35] local.INFO: GPS data processed {"connection_id":160265,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:26:35] local.INFO: Acknowledgment sent {"connection_id":160265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:26:35] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:26:35] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:26:35] local.INFO: IMEI packet received {"connection_id":159364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":159364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:26:36] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:26:36] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:26:36] local.INFO: Packet analysis {"connection_id":159364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:36] local.INFO: Extracted packet for processing {"connection_id":159364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:26:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:26:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":159364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:26:36] local.INFO: GPS data processed {"connection_id":159364,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:26:36] local.INFO: Acknowledgment sent {"connection_id":159364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:26:38] local.INFO: TCP Data received {"connection_id":160266,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02387c318012d7bcc0005e62bc0000300a517..."} 
[2026-08-21 14:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02387c318012d7bcc0005e62bc0000300a517..."} 
[2026-08-21 14:26:38] local.INFO: Processing buffer {"connection_id":160266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02387c318012d7bcc0005e62bc0000300a517..."} 
[2026-08-21 14:26:38] local.INFO: Packet analysis {"connection_id":160266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:38] local.INFO: Extracted packet for processing {"connection_id":160266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:26:38] local.INFO: GPS Element Parsed {"raw_longitude":763087872,"raw_latitude":98970560,"longitude_deg":76.3087872,"latitude_deg":9.897056,"altitude":3,"angle":165,"satellites":23,"speed":12,"hex_longitude":"2d7bcc00","hex_latitude":"05e62bc0","is_valid_coordinates":true} 
[2026-08-21 14:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549435136001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121713540603052032,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8918323556182085632,"note":"Value kept but may cause issues"} 
[2026-08-21 14:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787302495000,"timestamp_ms":1787302495000,"timestamp_seconds":1787302495,"priority":1,"record_length":96,"hex_timestamp":"000001a02387c318"} 
[2026-08-21 14:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:26: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":160,"data_length":795,"current_offset":136} 
[2026-08-21 14:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549435136001,"66":12939,"95":206,"87":13824,"24":12,"16":121713540603052032,"45":8918323556182085632},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-21 14:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549435136001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:26:38] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 14:26:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121713540603052032,"km_value":121713540603052.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8918323556182085632,"description":"Unknown IO ID 45"} 
[2026-08-21 14:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549435136001,"power":12939,"unknown_95":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8918323556182085632}} 
[2026-08-21 14:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":160266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:26:38] local.INFO: GPS data processed {"connection_id":160266,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:26:38] local.INFO: Acknowledgment sent {"connection_id":160266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:26:56] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:56] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:26:56] local.INFO: IMEI packet received {"connection_id":159365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:26:58] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:26:58] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:26:58] local.INFO: IMEI packet received {"connection_id":159366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":159366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:27:01] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:27:01] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:27:01] local.INFO: IMEI packet received {"connection_id":159365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":159365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:27:03] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:27:03] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:27:03] local.INFO: IMEI packet received {"connection_id":159366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":159366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:27:03] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023880968012d7bd68005e60758000300a217..."} 
[2026-08-21 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023880968012d7bd68005e60758000300a217..."} 
[2026-08-21 14:27:03] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023880968012d7bd68005e60758000300a217..."} 
[2026-08-21 14:27:03] local.INFO: Packet analysis {"connection_id":159365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02388"} 
[2026-08-21 14:27:03] local.INFO: Extracted packet for processing {"connection_id":159365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02388"} 
[2026-08-21 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763090560,"raw_latitude":98961240,"longitude_deg":76.309056,"latitude_deg":9.896124,"altitude":3,"angle":162,"satellites":23,"speed":38,"hex_longitude":"2d7bd680","hex_latitude":"05e60758","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549438720001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121714013049454592,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920504987250573312,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302513000,"timestamp_ms":1787302513000,"timestamp_seconds":1787302513,"priority":1,"record_length":96,"hex_timestamp":"000001a023880968"} 
[2026-08-21 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:27: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-08-21 14: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 14:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549438720001,"66":12624,"95":206,"87":13824,"24":38,"16":121714013049454592,"45":8920504987250573312},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-08-21 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549438720001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121714013049454592,"km_value":121714013049454.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920504987250573312,"description":"Unknown IO ID 45"} 
[2026-08-21 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549438720001,"power":12624,"unknown_95":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8920504987250573312}} 
[2026-08-21 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":159365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:27:03] local.INFO: GPS data processed {"connection_id":159365,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:27:03] local.INFO: Acknowledgment sent {"connection_id":159365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:27:03] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:27:03] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:27:03] local.INFO: Packet analysis {"connection_id":159366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:03] local.INFO: Extracted packet for processing {"connection_id":159366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:27: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-08-21 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:27: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-08-21 14: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-08-21 14:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:27: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-08-21 14:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":159366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:27:03] local.INFO: GPS data processed {"connection_id":159366,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:27:03] local.INFO: Acknowledgment sent {"connection_id":159366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:27:07] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:27:07] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:27:07] local.INFO: Packet analysis {"connection_id":159364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:07] local.INFO: Extracted packet for processing {"connection_id":159364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:27:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":159364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:27:07] local.INFO: GPS data processed {"connection_id":159364,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:27:07] local.INFO: Acknowledgment sent {"connection_id":159364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:27:30] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:27:30] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:27:30] local.INFO: IMEI packet received {"connection_id":159092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":159092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:27:34] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:27:34] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:27:34] local.INFO: Packet analysis {"connection_id":159366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:34] local.INFO: Extracted packet for processing {"connection_id":159366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":159366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:27:34] local.INFO: GPS data processed {"connection_id":159366,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:27:34] local.INFO: Acknowledgment sent {"connection_id":159366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:27:34] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023896128012d7c378005e548c0000a00a317..."} 
[2026-08-21 14:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023896128012d7c378005e548c0000a00a317..."} 
[2026-08-21 14:27:34] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023896128012d7c378005e548c0000a00a317..."} 
[2026-08-21 14:27:34] local.INFO: Packet analysis {"connection_id":159365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02389"} 
[2026-08-21 14:27:34] local.INFO: Extracted packet for processing {"connection_id":159365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02389"} 
[2026-08-21 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":763115392,"raw_latitude":98912448,"longitude_deg":76.3115392,"latitude_deg":9.8912448,"altitude":10,"angle":163,"satellites":23,"speed":30,"hex_longitude":"2d7c3780","hex_latitude":"05e548c0","is_valid_coordinates":true} 
[2026-08-21 14:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549464064001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121716723173818368,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949074697372917760,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] 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-08-21 14:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302601000,"timestamp_ms":1787302601000,"timestamp_seconds":1787302601,"priority":1,"record_length":96,"hex_timestamp":"000001a023896128"} 
[2026-08-21 14:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2291789825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":229,"raw_value":-3564599053515024640,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1479016654,"corrected_to":0} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085592,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3854848000,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57799299061143350,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.WARNING: Large IO value detected {"io_id":136,"raw_value":6588767549708763141,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:34] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,39,87,24,241,157,16,108,160,54,45,64,97,10,66,232,129,9,40,212,128,1,240,106,227,35,229,4,113,205,15,150,26,56,23,239,50,2,176,5,12,144,136],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1479016654,"validated":0}]} 
[2026-08-21 14:27:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720740970204037120,"timestamp_seconds":720740970204037.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549464064001,"66":13428,"39":206,"87":13824,"24":30,"16":121716723173818368,"45":8949074697372917760},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549464064001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121716723173818368,"km_value":121716723173818.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949074697372917760,"description":"Unknown IO ID 45"} 
[2026-08-21 14:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549464064001,"power":13428,"unknown_39":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8949074697372917760}} 
[2026-08-21 14:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":159365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:27:34] local.INFO: GPS data processed {"connection_id":159365,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:27:34] local.INFO: Acknowledgment sent {"connection_id":159365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:27:35] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:27:35] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:27:35] local.INFO: IMEI packet received {"connection_id":159092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":159092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:27:36] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:27:36] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:27:36] local.INFO: Packet analysis {"connection_id":159092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:36] local.INFO: Extracted packet for processing {"connection_id":159092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:27:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:27:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":159092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:27:36] local.INFO: GPS data processed {"connection_id":159092,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:27:36] local.INFO: Acknowledgment sent {"connection_id":159092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:27:56] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:27:56] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:27:56] local.INFO: IMEI packet received {"connection_id":161647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":161647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:27:57] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:27:57] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:27:57] local.INFO: IMEI packet received {"connection_id":159367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":159367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:28:01] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:28:01] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:28:01] local.INFO: IMEI packet received {"connection_id":161647,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":161647,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:28:02] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02389af48012d7c3ec005e52d60000c00a318..."} 
[2026-08-21 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02389af48012d7c3ec005e52d60000c00a318..."} 
[2026-08-21 14:28:02] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02389af48012d7c3ec005e52d60000c00a318..."} 
[2026-08-21 14:28:02] local.INFO: Packet analysis {"connection_id":161647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02389"} 
[2026-08-21 14:28:02] local.INFO: Extracted packet for processing {"connection_id":161647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02389"} 
[2026-08-21 14:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":98905440,"longitude_deg":76.3117248,"latitude_deg":9.890544,"altitude":12,"angle":163,"satellites":24,"speed":0,"hex_longitude":"2d7c3ec0","hex_latitude":"05e52d60","is_valid_coordinates":true} 
[2026-08-21 14:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549465856001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717079656103936,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950763547232092160,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28: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-08-21 14:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787302621000,"timestamp_ms":1787302621000,"timestamp_seconds":1787302621,"priority":1,"record_length":96,"hex_timestamp":"000001a02389af48"} 
[2026-08-21 14:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:28: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-08-21 14: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 14:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549465856001,"66":13222,"39":206,"87":13824,"24":0,"16":121717079656103936,"45":8950763547232092160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549465856001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:28:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717079656103936,"km_value":121717079656103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950763547232092160,"description":"Unknown IO ID 45"} 
[2026-08-21 14:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549465856001,"power":13222,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8950763547232092160}} 
[2026-08-21 14:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":161647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676063,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:28:02] local.INFO: GPS data processed {"connection_id":161647,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:28:02] local.INFO: Acknowledgment sent {"connection_id":161647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:28:03] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:28:03] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:28:03] local.INFO: IMEI packet received {"connection_id":159367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":159367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:28:03] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:28:03] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:28:03] local.INFO: Packet analysis {"connection_id":159367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:03] local.INFO: Extracted packet for processing {"connection_id":159367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:28: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-08-21 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:28: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-08-21 14: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-08-21 14:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:28:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":159367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:28:03] local.INFO: GPS data processed {"connection_id":159367,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:28:03] local.INFO: Acknowledgment sent {"connection_id":159367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:28:07] local.INFO: TCP Data received {"connection_id":159092,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:28:07] local.INFO: Processing buffer {"connection_id":159092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:28:07] local.INFO: Packet analysis {"connection_id":159092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:07] local.INFO: Extracted packet for processing {"connection_id":159092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:28:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":159092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:28:07] local.INFO: GPS data processed {"connection_id":159092,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:28:07] local.INFO: Acknowledgment sent {"connection_id":159092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:28:30] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:28:30] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:28:30] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:28:34] local.INFO: TCP Data received {"connection_id":161647,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238a0150012d7c3ec005e52d60000c00a319..."} 
[2026-08-21 14:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238a0150012d7c3ec005e52d60000c00a319..."} 
[2026-08-21 14:28:34] local.INFO: Processing buffer {"connection_id":161647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238a0150012d7c3ec005e52d60000c00a319..."} 
[2026-08-21 14:28:34] local.INFO: Packet analysis {"connection_id":161647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238a"} 
[2026-08-21 14:28:34] local.INFO: Extracted packet for processing {"connection_id":161647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238a"} 
[2026-08-21 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":98905440,"longitude_deg":76.3117248,"latitude_deg":9.890544,"altitude":12,"angle":163,"satellites":25,"speed":0,"hex_longitude":"2d7c3ec0","hex_latitude":"05e52d60","is_valid_coordinates":true} 
[2026-08-21 14:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549470976001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717079656103936,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952804240811450368,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:34] 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-08-21 14:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302642000,"timestamp_ms":1787302642000,"timestamp_seconds":1787302642,"priority":1,"record_length":96,"hex_timestamp":"000001a0238a0150"} 
[2026-08-21 14:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 14:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161647,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549470976001,"66":13200,"39":206,"87":13824,"24":0,"16":121717079656103936,"45":8952804240811450368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549470976001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:28:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717079656103936,"km_value":121717079656103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952804240811450368,"description":"Unknown IO ID 45"} 
[2026-08-21 14:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549470976001,"power":13200,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8952804240811450368}} 
[2026-08-21 14:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":161647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:28:34] local.INFO: GPS data processed {"connection_id":161647,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:28:34] local.INFO: Acknowledgment sent {"connection_id":161647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:28:35] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:28:35] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:28:35] local.INFO: Packet analysis {"connection_id":159367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:35] local.INFO: Extracted packet for processing {"connection_id":159367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:28:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:28:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":159367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:28:35] local.INFO: GPS data processed {"connection_id":159367,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:28:35] local.INFO: Acknowledgment sent {"connection_id":159367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:28:35] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:28:35] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:28:35] local.INFO: IMEI packet received {"connection_id":161648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:28:35] local.INFO: IMEI acknowledgment sent {"connection_id":161648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:28:36] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:28:36] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:28:36] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:36] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:28:36] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:28:36] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:28:57] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:28:57] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:28:57] local.INFO: IMEI packet received {"connection_id":161649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":161649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:28:57] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:28:57] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:28:57] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:29:01] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:01] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:01] local.INFO: IMEI packet received {"connection_id":161649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":161649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:29:02] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238a5358012d7c3ec005e52d60000c00a317..."} 
[2026-08-21 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238a5358012d7c3ec005e52d60000c00a317..."} 
[2026-08-21 14:29:02] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238a5358012d7c3ec005e52d60000c00a317..."} 
[2026-08-21 14:29:02] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238a"} 
[2026-08-21 14:29:02] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238a"} 
[2026-08-21 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":98905440,"longitude_deg":76.3117248,"latitude_deg":9.890544,"altitude":12,"angle":163,"satellites":23,"speed":0,"hex_longitude":"2d7c3ec0","hex_latitude":"05e52d60","is_valid_coordinates":true} 
[2026-08-21 14:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549476352001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717079656103936,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952804240811450368,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29: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-08-21 14:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787302663000,"timestamp_ms":1787302663000,"timestamp_seconds":1787302663,"priority":1,"record_length":96,"hex_timestamp":"000001a0238a5358"} 
[2026-08-21 14:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:29: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-08-21 14:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-21 14:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549476352001,"66":12809,"39":206,"87":13824,"24":0,"16":121717079656103936,"45":8952804240811450368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549476352001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:29:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717079656103936,"km_value":121717079656103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952804240811450368,"description":"Unknown IO ID 45"} 
[2026-08-21 14:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549476352001,"power":12809,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8952804240811450368}} 
[2026-08-21 14:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:29:02] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:29:02] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:29:03] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:29:03] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:29:03] local.INFO: IMEI packet received {"connection_id":160267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":160267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:29:03] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:29:03] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:29:03] local.INFO: Packet analysis {"connection_id":160267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:03] local.INFO: Extracted packet for processing {"connection_id":160267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:29: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-08-21 14:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:29: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-08-21 14:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:29:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":160267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:29:03] local.INFO: GPS data processed {"connection_id":160267,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:29:03] local.INFO: Acknowledgment sent {"connection_id":160267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:29:07] local.INFO: TCP Data received {"connection_id":161648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:29:07] local.INFO: Processing buffer {"connection_id":161648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:29:07] local.INFO: Packet analysis {"connection_id":161648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:07] local.INFO: Extracted packet for processing {"connection_id":161648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:29:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":161648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:29:07] local.INFO: GPS data processed {"connection_id":161648,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:29:07] local.INFO: Acknowledgment sent {"connection_id":161648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:29:30] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:29:30] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:29:30] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:29:34] local.INFO: TCP Data received {"connection_id":161649,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238aa560012d7c3ec005e52d60000c00a31a..."} 
[2026-08-21 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238aa560012d7c3ec005e52d60000c00a31a..."} 
[2026-08-21 14:29:34] local.INFO: Processing buffer {"connection_id":161649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238aa560012d7c3ec005e52d60000c00a31a..."} 
[2026-08-21 14:29:34] local.INFO: Packet analysis {"connection_id":161649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238a"} 
[2026-08-21 14:29:34] local.INFO: Extracted packet for processing {"connection_id":161649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238a"} 
[2026-08-21 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763117248,"raw_latitude":98905440,"longitude_deg":76.3117248,"latitude_deg":9.890544,"altitude":12,"angle":163,"satellites":26,"speed":0,"hex_longitude":"2d7c3ec0","hex_latitude":"05e52d60","is_valid_coordinates":true} 
[2026-08-21 14:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549481728001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717079656103936,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952804240811450368,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] 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-08-21 14:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302684000,"timestamp_ms":1787302684000,"timestamp_seconds":1787302684,"priority":1,"record_length":96,"hex_timestamp":"000001a0238aa560"} 
[2026-08-21 14:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720575940547052544,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":108,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":35,"raw_value":-8587089050849237120,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755429505958129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1908479506784413417,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8070224753735971241,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,39,87,24,241,157,16,109,160,1,45,192,12,25,10,66,175,97,128,240,116,227,108,35,229,4,113,205,21,54,47,239,50,2,176,5,9,7,51,14],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-21 14:29:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864870447634710528,"timestamp_seconds":864870447634710.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549481728001,"66":12982,"39":206,"87":13824,"24":0,"16":121717079656103936,"45":8952804240811450368},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549481728001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717079656103936,"km_value":121717079656103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952804240811450368,"description":"Unknown IO ID 45"} 
[2026-08-21 14:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549481728001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8952804240811450368}} 
[2026-08-21 14:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":161649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:29:34] local.INFO: GPS data processed {"connection_id":161649,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:29:34] local.INFO: Acknowledgment sent {"connection_id":161649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:29:34] local.INFO: TCP Data received {"connection_id":160267,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:29:34] local.INFO: Processing buffer {"connection_id":160267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023872ac0012dde4440050df350001d00091d..."} 
[2026-08-21 14:29:34] local.INFO: Packet analysis {"connection_id":160267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:34] local.INFO: Extracted packet for processing {"connection_id":160267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":29,"angle":9,"satellites":29,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549351936001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302456000,"timestamp_ms":1787302456000,"timestamp_seconds":1787302456,"priority":1,"record_length":96,"hex_timestamp":"000001a023872ac0"} 
[2026-08-21 14:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549351936001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549351936001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549351936001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":160267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:29:34] local.INFO: GPS data processed {"connection_id":160267,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:29:34] local.INFO: Acknowledgment sent {"connection_id":160267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:29:35] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:29:35] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:29:35] local.INFO: IMEI packet received {"connection_id":161650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":161650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:29:36] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:29:36] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023874de8012d18aa8007228050007301492e..."} 
[2026-08-21 14:29:36] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:36] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02387"} 
[2026-08-21 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787302465000,"timestamp_ms":1787302465000,"timestamp_seconds":1787302465,"priority":1,"record_length":96,"hex_timestamp":"000001a023874de8"} 
[2026-08-21 14:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 14:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549353984001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:29:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:29:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549353984001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:29:36] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:29:36] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:29:56] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:56] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:56] local.INFO: IMEI packet received {"connection_id":159368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":159368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:29:56] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:56] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:56] local.INFO: IMEI packet received {"connection_id":159368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":159368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:29:57] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:57] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:57] local.INFO: IMEI packet received {"connection_id":159368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":159368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:29:58] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:29:58] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:29:58] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:29:59] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:59] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:29:59] local.INFO: IMEI packet received {"connection_id":159368,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":159368,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:30:00] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238c4758012d7c43c005e520d8000d009f1b..."} 
[2026-08-21 14:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238c4758012d7c43c005e520d8000d009f1b..."} 
[2026-08-21 14:30:00] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238c4758012d7c43c005e520d8000d009f1b..."} 
[2026-08-21 14:30:00] local.INFO: Packet analysis {"connection_id":159368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:30:00] local.INFO: Extracted packet for processing {"connection_id":159368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763118528,"raw_latitude":98902232,"longitude_deg":76.3118528,"latitude_deg":9.8902232,"altitude":13,"angle":159,"satellites":27,"speed":1,"hex_longitude":"2d7c43c0","hex_latitude":"05e520d8","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549514240001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717260044730368,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954211615694202880,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787302791000,"timestamp_ms":1787302791000,"timestamp_seconds":1787302791,"priority":1,"record_length":96,"hex_timestamp":"000001a0238c4758"} 
[2026-08-21 14:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:30: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-08-21 14: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 14:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549514240001,"66":12743,"39":206,"87":13824,"24":1,"16":121717260044730368,"45":8954211615694202880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549514240001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:30:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:30:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717260044730368,"km_value":121717260044730.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954211615694202880,"description":"Unknown IO ID 45"} 
[2026-08-21 14:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549514240001,"power":12743,"unknown_39":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8954211615694202880}} 
[2026-08-21 14:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":159368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:30:00] local.INFO: GPS data processed {"connection_id":159368,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:30:00] local.INFO: Acknowledgment sent {"connection_id":159368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:30:03] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:30:03] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:30:03] local.INFO: IMEI packet received {"connection_id":161651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":161651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:30:03] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:30:03] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:30:03] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:03] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:30: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-08-21 14:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:30: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-08-21 14:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:30: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-08-21 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:30:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:30:03] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:30:03] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:30:07] local.INFO: TCP Data received {"connection_id":161650,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0238be5b0012d18aa8007228050007301492e..."} 
[2026-08-21 14:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238be5b0012d18aa8007228050007301492e..."} 
[2026-08-21 14:30:07] local.INFO: Processing buffer {"connection_id":161650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238be5b0012d18aa8007228050007301492e..."} 
[2026-08-21 14:30:07] local.INFO: Packet analysis {"connection_id":161650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:07] local.INFO: Extracted packet for processing {"connection_id":161650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549431040001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302766000,"timestamp_ms":1787302766000,"timestamp_seconds":1787302766,"priority":1,"record_length":96,"hex_timestamp":"000001a0238be5b0"} 
[2026-08-21 14:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 14:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549431040001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549431040001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:30:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:30:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549431040001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":161650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:30:07] local.INFO: GPS data processed {"connection_id":161650,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:30:07] local.INFO: Acknowledgment sent {"connection_id":161650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:30:32] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238c5310012d7c440005e52048000c00ae1b..."} 
[2026-08-21 14:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238c5310012d7c440005e52048000c00ae1b..."} 
[2026-08-21 14:30:32] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238c5310012d7c440005e52048000c00ae1b..."} 
[2026-08-21 14:30:32] local.INFO: Packet analysis {"connection_id":159368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:30:32] local.INFO: Extracted packet for processing {"connection_id":159368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":98902088,"longitude_deg":76.3118592,"latitude_deg":9.8902088,"altitude":12,"angle":174,"satellites":27,"speed":2,"hex_longitude":"2d7c4400","hex_latitude":"05e52048","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549514496001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717268634664960,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954211615694182400,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:32] 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-08-21 14:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787302794000,"timestamp_ms":1787302794000,"timestamp_seconds":1787302794,"priority":1,"record_length":96,"hex_timestamp":"000001a0238c5310"} 
[2026-08-21 14:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:30: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-08-21 14: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":199,"data_length":795,"current_offset":136} 
[2026-08-21 14:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159368,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549514496001,"66":12917,"39":206,"87":13824,"24":2,"16":121717268634664960,"45":8954211615694182400},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549514496001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:30:32] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:30:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717268634664960,"km_value":121717268634664.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954211615694182400,"description":"Unknown IO ID 45"} 
[2026-08-21 14:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549514496001,"power":12917,"unknown_39":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8954211615694182400}} 
[2026-08-21 14:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":159368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:30:32] local.INFO: GPS data processed {"connection_id":159368,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:30:32] local.INFO: Acknowledgment sent {"connection_id":159368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:30:34] local.INFO: TCP Data received {"connection_id":161651,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:30:34] local.INFO: Processing buffer {"connection_id":161651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:30:34] local.INFO: Packet analysis {"connection_id":161651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:34] local.INFO: Extracted packet for processing {"connection_id":161651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:30:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":161651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:30:34] local.INFO: GPS data processed {"connection_id":161651,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:30:34] local.INFO: Acknowledgment sent {"connection_id":161651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:30:35] local.INFO: TCP Data received {"connection_id":159093,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:30:35] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:30:35] local.INFO: IMEI packet received {"connection_id":159093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":159093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:30:40] local.INFO: TCP Data received {"connection_id":159093,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:30:40] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:30:40] local.INFO: IMEI packet received {"connection_id":159093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":159093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:30:44] local.INFO: TCP Data received {"connection_id":159093,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0238be5b0012d18aa8007228050007301492e..."} 
[2026-08-21 14:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238be5b0012d18aa8007228050007301492e..."} 
[2026-08-21 14:30:44] local.INFO: Processing buffer {"connection_id":159093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238be5b0012d18aa8007228050007301492e..."} 
[2026-08-21 14:30:44] local.INFO: Packet analysis {"connection_id":159093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:44] local.INFO: Extracted packet for processing {"connection_id":159093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119701584,"longitude_deg":75.6591232,"latitude_deg":11.9701584,"altitude":115,"angle":329,"satellites":46,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07228050","is_valid_coordinates":true} 
[2026-08-21 14:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549431040001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14184653481050112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771083042816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787302766000,"timestamp_ms":1787302766000,"timestamp_seconds":1787302766,"priority":1,"record_length":96,"hex_timestamp":"000001a0238be5b0"} 
[2026-08-21 14:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:30:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 14:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549431040001,"66":2155,"105":206,"83":41984,"24":0,"16":14184653481050112,"45":1777373771083042816},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549431040001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:30:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:30:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14184653481050112,"km_value":14184653481050.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771083042816,"description":"Unknown IO ID 45"} 
[2026-08-21 14:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549431040001,"power":2155,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777373771083042816}} 
[2026-08-21 14:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":159093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:30:44] local.INFO: GPS data processed {"connection_id":159093,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:30:44] local.INFO: Acknowledgment sent {"connection_id":159093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:30:56] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:30:56] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:30:56] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:30:56] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:30:56] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:30:56] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:31:01] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:01] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:01] local.INFO: IMEI packet received {"connection_id":160268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":160268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:31:01] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:31:01] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:31:01] local.INFO: IMEI packet received {"connection_id":160269,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":160269,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:31:03] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238c56f8012d7c440005e51fd8000c00b91b..."} 
[2026-08-21 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238c56f8012d7c440005e51fd8000c00b91b..."} 
[2026-08-21 14:31:03] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238c56f8012d7c440005e51fd8000c00b91b..."} 
[2026-08-21 14:31:03] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:31:03] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":98901976,"longitude_deg":76.3118592,"latitude_deg":9.8901976,"altitude":12,"angle":185,"satellites":27,"speed":4,"hex_longitude":"2d7c4400","hex_latitude":"05e51fd8","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549515264001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717272929632256,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984438323200,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:03] 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-08-21 14:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302795000,"timestamp_ms":1787302795000,"timestamp_seconds":1787302795,"priority":1,"record_length":96,"hex_timestamp":"000001a0238c56f8"} 
[2026-08-21 14:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 14:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549515264001,"66":12917,"39":206,"87":13824,"24":4,"16":121717272929632256,"45":8954281984438323200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549515264001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:31:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:31:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717272929632256,"km_value":121717272929632.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984438323200,"description":"Unknown IO ID 45"} 
[2026-08-21 14:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549515264001,"power":12917,"unknown_39":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8954281984438323200}} 
[2026-08-21 14:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:31:03] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:31:03] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:31:04] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:04] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:04] local.INFO: IMEI packet received {"connection_id":160268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":160268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:31:22] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:31:22] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:31:22] local.INFO: Packet analysis {"connection_id":160268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:31:22] local.INFO: Extracted packet for processing {"connection_id":160268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:31:22] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:31:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":160268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:31:22] local.INFO: GPS data processed {"connection_id":160268,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:31:22] local.INFO: Acknowledgment sent {"connection_id":160268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:31:35] local.INFO: TCP Data received {"connection_id":160269,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238c5ec8012d7c438005e51eb8000c00d31b..."} 
[2026-08-21 14:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238c5ec8012d7c438005e51eb8000c00d31b..."} 
[2026-08-21 14:31:35] local.INFO: Processing buffer {"connection_id":160269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238c5ec8012d7c438005e51eb8000c00d31b..."} 
[2026-08-21 14:31:35] local.INFO: Packet analysis {"connection_id":160269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:31:35] local.INFO: Extracted packet for processing {"connection_id":160269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238c"} 
[2026-08-21 14:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763118464,"raw_latitude":98901688,"longitude_deg":76.3118464,"latitude_deg":9.8901688,"altitude":12,"angle":211,"satellites":27,"speed":9,"hex_longitude":"2d7c4380","hex_latitude":"05e51eb8","is_valid_coordinates":true} 
[2026-08-21 14:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549515520001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121717290109501440,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8954281984438294528,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:35] 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-08-21 14:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787302797000,"timestamp_ms":1787302797000,"timestamp_seconds":1787302797,"priority":1,"record_length":96,"hex_timestamp":"000001a0238c5ec8"} 
[2026-08-21 14:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 14:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160269,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549515520001,"66":12939,"39":206,"87":13824,"24":9,"16":121717290109501440,"45":8954281984438294528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549515520001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:31:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:31:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121717290109501440,"km_value":121717290109501.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8954281984438294528,"description":"Unknown IO ID 45"} 
[2026-08-21 14:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549515520001,"power":12939,"unknown_39":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8954281984438294528}} 
[2026-08-21 14:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":160269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:31:35] local.INFO: GPS data processed {"connection_id":160269,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:31:35] local.INFO: Acknowledgment sent {"connection_id":160269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:31:56] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:31:56] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:31:56] local.INFO: IMEI packet received {"connection_id":159094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:31:57] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:57] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:31:57] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:31:58] local.INFO: TCP Data received {"connection_id":160268,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:31:58] local.INFO: Processing buffer {"connection_id":160268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:31:58] local.INFO: Packet analysis {"connection_id":160268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:31:58] local.INFO: Extracted packet for processing {"connection_id":160268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:31:58] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:31: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-08-21 14: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":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:31: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-08-21 14:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:31:58] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:31:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":160268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:31:58] local.INFO: GPS data processed {"connection_id":160268,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:31:58] local.INFO: Acknowledgment sent {"connection_id":160268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:32:03] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:32:03] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:32:03] local.INFO: IMEI packet received {"connection_id":161652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":161652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:32:03] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:32:03] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:32:03] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:32:03] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:32: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-08-21 14: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":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:32: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-08-21 14: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-08-21 14:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:32: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-08-21 14:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:32:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:32:03] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:32:03] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:32:06] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.2","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 14:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 14:32:06] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 14:32:06] local.INFO: IMEI packet received {"connection_id":159094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":159094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:32:07] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238dca10012d7b680005e3cbf8000c00d51e..."} 
[2026-08-21 14:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238dca10012d7b680005e3cbf8000c00d51e..."} 
[2026-08-21 14:32:07] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a000001a023..."} 
[2026-08-21 14:32:07] local.INFO: IMEI packet received {"connection_id":159094,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":159094,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:32:08] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238df120012d7b524005e3ad30000c00d51d..."} 
[2026-08-21 14:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238df120012d7b524005e3ad30000c00d51d..."} 
[2026-08-21 14:32:08] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0238dca10012d7b680005e3cbf8000c00d51e..."} 
[2026-08-21 14:32:08] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0238d"} 
[2026-08-21 14:32:08] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238d"} 
[2026-08-21 14:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763062272,"raw_latitude":98814968,"longitude_deg":76.3062272,"latitude_deg":9.8814968,"altitude":12,"angle":213,"satellites":30,"speed":42,"hex_longitude":"2d7b6800","hex_latitude":"05e3cbf8","is_valid_coordinates":true} 
[2026-08-21 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549537792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121722280861499392,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897916620331685888,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:08] 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-08-21 14:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787302890000,"timestamp_ms":1787302890000,"timestamp_seconds":1787302890,"priority":1,"record_length":96,"hex_timestamp":"000001a0238dca10"} 
[2026-08-21 14:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 14:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549537792001,"66":13222,"39":206,"87":13824,"24":42,"16":121722280861499392,"45":8897916620331685888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549537792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121722280861499392,"km_value":121722280861499.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897916620331685888,"description":"Unknown IO ID 45"} 
[2026-08-21 14:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549537792001,"power":13222,"unknown_39":206,"unknown_87":13824,"ignition":42,"odometer":null,"unknown_45":8897916620331685888}} 
[2026-08-21 14:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:32:08] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:32:08] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:32:08] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238d"} 
[2026-08-21 14:32:08] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238d"} 
[2026-08-21 14:32:08] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":98807088,"longitude_deg":76.3056704,"latitude_deg":9.8807088,"altitude":12,"angle":213,"satellites":29,"speed":37,"hex_longitude":"2d7b5240","hex_latitude":"05e3ad30","is_valid_coordinates":true} 
[2026-08-21 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549539840001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121722744717967360,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892357489539676160,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:08] 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-08-21 14:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787302900000,"timestamp_ms":1787302900000,"timestamp_seconds":1787302900,"priority":1,"record_length":96,"hex_timestamp":"000001a0238df120"} 
[2026-08-21 14:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 14:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:32:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549539840001,"66":13059,"39":206,"87":13824,"24":37,"16":121722744717967360,"45":8892357489539676160},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549539840001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121722744717967360,"km_value":121722744717967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892357489539676160,"description":"Unknown IO ID 45"} 
[2026-08-21 14:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549539840001,"power":13059,"unknown_39":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8892357489539676160}} 
[2026-08-21 14:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:32:08] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:32:08] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:32:10] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238e1448012d7b3c4005e38c70000b00d51d..."} 
[2026-08-21 14:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238e1448012d7b3c4005e38c70000b00d51d..."} 
[2026-08-21 14:32:10] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238e1448012d7b3c4005e38c70000b00d51d..."} 
[2026-08-21 14:32:10] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:32:10] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":763051072,"raw_latitude":98798704,"longitude_deg":76.3051072,"latitude_deg":9.8798704,"altitude":11,"angle":213,"satellites":29,"speed":49,"hex_longitude":"2d7b3c40","hex_latitude":"05e38c70","is_valid_coordinates":true} 
[2026-08-21 14:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549542400001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121723234344239104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235408794202112,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] 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-08-21 14:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787302909000,"timestamp_ms":1787302909000,"timestamp_seconds":1787302909,"priority":1,"record_length":96,"hex_timestamp":"000001a0238e1448"} 
[2026-08-21 14:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937432,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":39,"raw_value":58079734643818553,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4097,"corrected_to":0} 
[2026-08-21 14:32:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":63488,"corrected_to":0} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":112,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2373197825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":88,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832045568,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:10] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,39,87,24,241,157,16,114,160,202,45,203,12,30,10,66,113,170,192,234,14,143,128,1,240,166,227,112,35,228,4,205,55,88,184,64,28,239,51,2,176,5,18,57],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":202,"original":4097,"validated":0},{"io_id":203,"original":63488,"validated":0},{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-21 14:32:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864925448988327936,"timestamp_seconds":864925448988327.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549542400001,"66":13135,"39":206,"87":13824,"24":49,"16":121723234344239104,"45":8886235408794202112},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 14:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549542400001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:32:10] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 14:32:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 14:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121723234344239104,"km_value":121723234344239.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235408794202112,"description":"Unknown IO ID 45"} 
[2026-08-21 14:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549542400001,"power":13135,"unknown_39":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":8886235408794202112}} 
[2026-08-21 14:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676088,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:32:10] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:32:10] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:32:35] local.INFO: TCP Data received {"connection_id":161652,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:32:35] local.INFO: Processing buffer {"connection_id":161652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:32:35] local.INFO: Packet analysis {"connection_id":161652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:32:35] local.INFO: Extracted packet for processing {"connection_id":161652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:32:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:32:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":161652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:32:35] local.INFO: GPS data processed {"connection_id":161652,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:32:35] local.INFO: Acknowledgment sent {"connection_id":161652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:32:42] local.INFO: TCP Data received {"connection_id":159094,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238ec410012d7b068005e327e8000a014617..."} 
[2026-08-21 14:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238ec410012d7b068005e327e8000a014617..."} 
[2026-08-21 14:32:42] local.INFO: Processing buffer {"connection_id":159094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238ec410012d7b068005e327e8000a014617..."} 
[2026-08-21 14:32:42] local.INFO: Packet analysis {"connection_id":159094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:32:42] local.INFO: Extracted packet for processing {"connection_id":159094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:32:42] local.INFO: GPS Element Parsed {"raw_longitude":763037312,"raw_latitude":98772968,"longitude_deg":76.3037312,"latitude_deg":9.8772968,"altitude":10,"angle":326,"satellites":23,"speed":8,"hex_longitude":"2d7b0680","hex_latitude":"05e327e8","is_valid_coordinates":true} 
[2026-08-21 14:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549555968001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121724759057629184,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865124785532104704,"note":"Value kept but may cause issues"} 
[2026-08-21 14:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787302954000,"timestamp_ms":1787302954000,"timestamp_seconds":1787302954,"priority":1,"record_length":96,"hex_timestamp":"000001a0238ec410"} 
[2026-08-21 14:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 14:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159094,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549555968001,"66":13319,"208":206,"85":15104,"24":8,"16":121724759057629184,"45":8865124785532104704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549555968001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:32:42] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:32:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121724759057629184,"km_value":121724759057629.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865124785532104704,"description":"Unknown IO ID 45"} 
[2026-08-21 14:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549555968001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865124785532104704}} 
[2026-08-21 14:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":159094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:32:42] local.INFO: GPS data processed {"connection_id":159094,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:32:42] local.INFO: Acknowledgment sent {"connection_id":159094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:32:57] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:32:57] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:32:57] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:33:01] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:01] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:01] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:33:05] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:05] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:05] local.INFO: IMEI packet received {"connection_id":160271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":160271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:33:06] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238ec7f8012d7b064005e32980000a015617..."} 
[2026-08-21 14:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238ec7f8012d7b064005e32980000a015617..."} 
[2026-08-21 14:33:06] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238ec7f8012d7b064005e32980000a015617..."} 
[2026-08-21 14:33:06] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:33:06] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763037248,"raw_latitude":98773376,"longitude_deg":76.3037248,"latitude_deg":9.8773376,"altitude":10,"angle":342,"satellites":23,"speed":11,"hex_longitude":"2d7b0640","hex_latitude":"05e32980","is_valid_coordinates":true} 
[2026-08-21 14:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549556224001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121724780532465664,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864913679299635200,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787302955000,"timestamp_ms":1787302955000,"timestamp_seconds":1787302955,"priority":1,"record_length":96,"hex_timestamp":"000001a0238ec7f8"} 
[2026-08-21 14:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4194304000,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3846074124736076800,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2393677825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3810928640,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3087084923,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3221611300,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.WARNING: Large IO value detected {"io_id":142,"raw_value":8779768768408371205,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,116,160,192,45,64,38,10,23,66,180,37,9,25,115,176,128,1,240,199,227,35,4,113,205,5,168,11,239,48,2,53,142],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:33:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720934479954706432,"timestamp_seconds":720934479954706.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549556224001,"66":13319,"208":206,"85":15104,"24":11,"16":121724780532465664,"45":8864913679299635200},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549556224001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:33:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121724780532465664,"km_value":121724780532465.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864913679299635200,"description":"Unknown IO ID 45"} 
[2026-08-21 14:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549556224001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8864913679299635200}} 
[2026-08-21 14:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676091,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:33:06] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:33:06] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:33:07] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238ed3b0012d7b058005e330a0000a016217..."} 
[2026-08-21 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238ed3b0012d7b058005e330a0000a016217..."} 
[2026-08-21 14:33:07] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238ed3b0012d7b058005e330a0000a016217..."} 
[2026-08-21 14:33:07] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:33:07] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98775200,"longitude_deg":76.3037056,"latitude_deg":9.87752,"altitude":10,"angle":354,"satellites":23,"speed":18,"hex_longitude":"2d7b0580","hex_latitude":"05e330a0","is_valid_coordinates":true} 
[2026-08-21 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549556480001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121724870726778880,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864843310555561984,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787302958000,"timestamp_ms":1787302958000,"timestamp_seconds":1787302958,"priority":1,"record_length":96,"hex_timestamp":"000001a0238ed3b0"} 
[2026-08-21 14:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3221611300,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2749447611177572864,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":115,"raw_value":4227858432,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2393933825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3810848768,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":172,"raw_value":2684431739,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718559,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.WARNING: Large IO value detected {"io_id":142,"raw_value":-6852225538194636795,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,208,85,24,241,157,16,116,160,196,45,128,39,10,23,66,192,64,38,180,1,240,161,227,115,35,4,113,205,5,172,232,25,239,49,2,176,9,6,53,142],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:33:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720952072140947456,"timestamp_seconds":720952072140947.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549556480001,"66":13222,"208":206,"85":15104,"24":18,"16":121724870726778880,"45":8864843310555561984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549556480001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121724870726778880,"km_value":121724870726778.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864843310555561984,"description":"Unknown IO ID 45"} 
[2026-08-21 14:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549556480001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8864843310555561984}} 
[2026-08-21 14:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:33:07] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:33:07] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:33:07] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:33:07] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:33:07] local.INFO: IMEI packet received {"connection_id":160270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":160270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:33:08] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:33:08] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:33:08] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:33:08] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:33:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:33:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:33:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:33:08] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:33:08] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:33:39] local.INFO: TCP Data received {"connection_id":160270,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:33:39] local.INFO: Processing buffer {"connection_id":160270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:33:39] local.INFO: Packet analysis {"connection_id":160270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:33:39] local.INFO: Extracted packet for processing {"connection_id":160270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":160270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:33:39] local.INFO: GPS data processed {"connection_id":160270,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:33:39] local.INFO: Acknowledgment sent {"connection_id":160270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:33:39] local.INFO: TCP Data received {"connection_id":160271,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238eef08012d7b050005e33f500009015613..."} 
[2026-08-21 14:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238eef08012d7b050005e33f500009015613..."} 
[2026-08-21 14:33:39] local.INFO: Processing buffer {"connection_id":160271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238eef08012d7b050005e33f500009015613..."} 
[2026-08-21 14:33:39] local.INFO: Packet analysis {"connection_id":160271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:33:39] local.INFO: Extracted packet for processing {"connection_id":160271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238e"} 
[2026-08-21 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":98778960,"longitude_deg":76.3036928,"latitude_deg":9.877896,"altitude":9,"angle":342,"satellites":19,"speed":14,"hex_longitude":"2d7b0500","hex_latitude":"05e33f50","is_valid_coordinates":true} 
[2026-08-21 14:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549557248001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121725055410372608,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204323495936,"note":"Value kept but may cause issues"} 
[2026-08-21 14:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787302965000,"timestamp_ms":1787302965000,"timestamp_seconds":1787302965,"priority":1,"record_length":96,"hex_timestamp":"000001a0238eef08"} 
[2026-08-21 14:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 14:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549557248001,"66":13080,"208":206,"85":15104,"24":14,"16":121725055410372608,"45":8864632204323495936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549557248001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121725055410372608,"km_value":121725055410372.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204323495936,"description":"Unknown IO ID 45"} 
[2026-08-21 14:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549557248001,"power":13080,"unknown_208":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8864632204323495936}} 
[2026-08-21 14:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":160271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:33:39] local.INFO: GPS data processed {"connection_id":160271,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:33:39] local.INFO: Acknowledgment sent {"connection_id":160271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:33:56] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:56] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:33:56] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:33:57] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:33:57] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:33:57] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:34:01] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:01] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:01] local.INFO: IMEI packet received {"connection_id":161653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":161653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:34:03] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:34:03] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:34:03] local.INFO: IMEI packet received {"connection_id":160272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":160272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:34:03] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:34:03] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:34:03] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:34:03] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 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-08-21 14:34: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-08-21 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:34: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-08-21 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-08-21 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-08-21 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:34: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-08-21 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:34:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:34:03] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:34:03] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:34:04] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238f3558012d7b040005e34820000d00021b..."} 
[2026-08-21 14:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238f3558012d7b040005e34820000d00021b..."} 
[2026-08-21 14:34:04] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238f3558012d7b040005e34820000d00021b..."} 
[2026-08-21 14:34:04] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:04] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98781216,"longitude_deg":76.3036672,"latitude_deg":9.8781216,"altitude":13,"angle":2,"satellites":27,"speed":3,"hex_longitude":"2d7b0400","hex_latitude":"05e34820","is_valid_coordinates":true} 
[2026-08-21 14:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549559040001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121725167079522304,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864491466836103168,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787302983000,"timestamp_ms":1787302983000,"timestamp_seconds":1787302983,"priority":1,"record_length":96,"hex_timestamp":"000001a0238f3558"} 
[2026-08-21 14:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-21 14:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549559040001,"66":12613,"208":206,"85":15104,"24":3,"16":121725167079522304,"45":8864491466836103168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549559040001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:34:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121725167079522304,"km_value":121725167079522.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864491466836103168,"description":"Unknown IO ID 45"} 
[2026-08-21 14:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549559040001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8864491466836103168}} 
[2026-08-21 14:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:34:04] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:34:04] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:34:08] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238f4110012d7b040005e34a50000d015d1d..."} 
[2026-08-21 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238f4110012d7b040005e34a50000d015d1d..."} 
[2026-08-21 14:34:08] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238f4110012d7b040005e34a50000d015d1d..."} 
[2026-08-21 14:34:08] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:08] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:08] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98781776,"longitude_deg":76.3036672,"latitude_deg":9.8781776,"altitude":13,"angle":349,"satellites":29,"speed":10,"hex_longitude":"2d7b0400","hex_latitude":"05e34a50","is_valid_coordinates":true} 
[2026-08-21 14:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549563648001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121725197144293376,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991859970048,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787302986000,"timestamp_ms":1787302986000,"timestamp_seconds":1787302986,"priority":1,"record_length":96,"hex_timestamp":"000001a0238f4110"} 
[2026-08-21 14:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 14:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549563648001,"66":12917,"208":206,"85":15104,"24":10,"16":121725197144293376,"45":8864209991859970048},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549563648001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:34:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:34:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121725197144293376,"km_value":121725197144293.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991859970048,"description":"Unknown IO ID 45"} 
[2026-08-21 14:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549563648001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864209991859970048}} 
[2026-08-21 14:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:34:08] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:34:08] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:34:19] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:19] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:19] local.INFO: IMEI packet received {"connection_id":159095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":159095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:34:21] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:21] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:21] local.INFO: IMEI packet received {"connection_id":159095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":159095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:34:26] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:26] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:34:26] local.INFO: IMEI packet received {"connection_id":159095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":159095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:34:27] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0238f6438012d1840000721dbe0004e00d52d..."} 
[2026-08-21 14:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238f6438012d1840000721dbe0004e00d52d..."} 
[2026-08-21 14:34:27] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238f6438012d1840000721dbe0004e00d52d..."} 
[2026-08-21 14:34:27] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:27] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756563968,"raw_latitude":119659488,"longitude_deg":75.6563968,"latitude_deg":11.9659488,"altitude":78,"angle":213,"satellites":45,"speed":28,"hex_longitude":"2d184000","hex_latitude":"0721dbe0","is_valid_coordinates":true} 
[2026-08-21 14:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14186259798818816,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,83,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 14:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787302995000,"timestamp_ms":1787302995000,"timestamp_seconds":1787302995,"priority":1,"record_length":96,"hex_timestamp":"000001a0238f6438"} 
[2026-08-21 14:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 14:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14135,"105":206,"83":41984,"24":28,"16":14186259798818816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16]} 
[2026-08-21 14:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-08-21 14:34:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14186259798818816,"km_value":14186259798818.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:34:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null}} 
[2026-08-21 14:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:34:27] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:34:27] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:34:34] local.INFO: TCP Data received {"connection_id":160272,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:34:34] local.INFO: Processing buffer {"connection_id":160272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238bc288012dde4440050df350001f00091f..."} 
[2026-08-21 14:34:34] local.INFO: Packet analysis {"connection_id":160272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:34:34] local.INFO: Extracted packet for processing {"connection_id":160272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238b"} 
[2026-08-21 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":31,"angle":9,"satellites":31,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549428736001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787302757000,"timestamp_ms":1787302757000,"timestamp_seconds":1787302757,"priority":1,"record_length":96,"hex_timestamp":"000001a0238bc288"} 
[2026-08-21 14:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 14:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549428736001,"66":25756,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549428736001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:34:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549428736001,"power":25756,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":160272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:34:34] local.INFO: GPS data processed {"connection_id":160272,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:34:34] local.INFO: Acknowledgment sent {"connection_id":160272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:34:39] local.INFO: TCP Data received {"connection_id":161653,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238f8f30012d7afb8005e36998000e01591c..."} 
[2026-08-21 14:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238f8f30012d7afb8005e36998000e01591c..."} 
[2026-08-21 14:34:39] local.INFO: Processing buffer {"connection_id":161653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238f8f30012d7afb8005e36998000e01591c..."} 
[2026-08-21 14:34:39] local.INFO: Packet analysis {"connection_id":161653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:39] local.INFO: Extracted packet for processing {"connection_id":161653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:39] local.INFO: GPS Element Parsed {"raw_longitude":763034496,"raw_latitude":98789784,"longitude_deg":76.3034496,"latitude_deg":9.8789784,"altitude":14,"angle":345,"satellites":28,"speed":13,"hex_longitude":"2d7afb80","hex_latitude":"05e36998","is_valid_coordinates":true} 
[2026-08-21 14:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549564416001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121725600871219200,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991860113408,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787303006000,"timestamp_ms":1787303006000,"timestamp_seconds":1787303006,"priority":1,"record_length":96,"hex_timestamp":"000001a0238f8f30"} 
[2026-08-21 14:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 14:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549564416001,"66":13243,"208":206,"85":15104,"24":13,"16":121725600871219200,"45":8864209991860113408},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549564416001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:34:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:34:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121725600871219200,"km_value":121725600871219.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991860113408,"description":"Unknown IO ID 45"} 
[2026-08-21 14:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549564416001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8864209991860113408}} 
[2026-08-21 14:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":161653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:34:39] local.INFO: GPS data processed {"connection_id":161653,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:34:39] local.INFO: Acknowledgment sent {"connection_id":161653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:34:53] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:53] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:53] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:34:56] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:56] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:34:56] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:34:58] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0238f9700012d182c400721bd98004a00d42d..."} 
[2026-08-21 14:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238f9700012d182c400721bd98004a00d42d..."} 
[2026-08-21 14:34:58] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238f9700012d182c400721bd98004a00d42d..."} 
[2026-08-21 14:34:58] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:58] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756558912,"raw_latitude":119651736,"longitude_deg":75.6558912,"latitude_deg":11.9651736,"altitude":74,"angle":212,"satellites":45,"speed":27,"hex_longitude":"2d182c40","hex_latitude":"0721bd98","is_valid_coordinates":true} 
[2026-08-21 14:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549566720001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14186706475417600,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747396686052581376,"note":"Value kept but may cause issues"} 
[2026-08-21 14:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787303008000,"timestamp_ms":1787303008000,"timestamp_seconds":1787303008,"priority":1,"record_length":96,"hex_timestamp":"000001a0238f9700"} 
[2026-08-21 14:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 14:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549566720001,"66":13972,"105":206,"83":41984,"24":27,"16":14186706475417600,"45":1747396686052581376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549566720001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:34:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14186706475417600,"km_value":14186706475417.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747396686052581376,"description":"Unknown IO ID 45"} 
[2026-08-21 14:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549566720001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1747396686052581376}} 
[2026-08-21 14:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:34:59] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:34:59] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:35:01] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:01] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:01] local.INFO: IMEI packet received {"connection_id":161654,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":161654,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:35:03] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:03] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:03] local.INFO: IMEI packet received {"connection_id":159369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":159369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:35:03] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0238fe138012d7af18005e38a480010014d1d..."} 
[2026-08-21 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238fe138012d7af18005e38a480010014d1d..."} 
[2026-08-21 14:35:03] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238fe138012d7af18005e38a480010014d1d..."} 
[2026-08-21 14:35:03] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:35:03] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763031936,"raw_latitude":98798152,"longitude_deg":76.3031936,"latitude_deg":9.8798152,"altitude":16,"angle":333,"satellites":29,"speed":18,"hex_longitude":"2d7af180","hex_latitude":"05e38a48","is_valid_coordinates":true} 
[2026-08-21 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549569536001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121726026072981504,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8861817454560122880,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303027000,"timestamp_ms":1787303027000,"timestamp_seconds":1787303027,"priority":1,"record_length":96,"hex_timestamp":"000001a0238fe138"} 
[2026-08-21 14:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 14:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549569536001,"66":13059,"208":206,"85":15104,"24":18,"16":121726026072981504,"45":8861817454560122880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549569536001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:35:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121726026072981504,"km_value":121726026072981.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8861817454560122880,"description":"Unknown IO ID 45"} 
[2026-08-21 14:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549569536001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8861817454560122880}} 
[2026-08-21 14:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:35:03] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:35:03] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:35:08] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:08] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:08] local.INFO: IMEI packet received {"connection_id":159369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":159369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:35:09] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:35:09] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:35:09] local.INFO: Packet analysis {"connection_id":159369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:35:09] local.INFO: Extracted packet for processing {"connection_id":159369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:35:09] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:35:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":159369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:35:09] local.INFO: GPS data processed {"connection_id":159369,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:35:09] local.INFO: Acknowledgment sent {"connection_id":159369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:35:13] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:35:13] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:35:13] local.INFO: Packet analysis {"connection_id":159369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:35:13] local.INFO: Extracted packet for processing {"connection_id":159369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:35:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:35:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:35:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":159369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:35:13] local.INFO: GPS data processed {"connection_id":159369,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:35:13] local.INFO: Acknowledgment sent {"connection_id":159369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:35:30] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0238fbe10012d181f800721a938004800c12f..."} 
[2026-08-21 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238fbe10012d181f800721a938004800c12f..."} 
[2026-08-21 14:35:30] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238fbe10012d181f800721a938004800c12f..."} 
[2026-08-21 14:35:30] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:35:30] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646520,"longitude_deg":75.6555648,"latitude_deg":11.964652,"altitude":72,"angle":193,"satellites":47,"speed":14,"hex_longitude":"2d181f80","hex_latitude":"0721a938","is_valid_coordinates":true} 
[2026-08-21 14:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549570048001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14187002828161024,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555260561408,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787303018000,"timestamp_ms":1787303018000,"timestamp_seconds":1787303018,"priority":1,"record_length":96,"hex_timestamp":"000001a0238fbe10"} 
[2026-08-21 14:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-21 14:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549570048001,"66":13059,"105":206,"83":41984,"24":14,"16":14187002828161024,"45":1741837555260561408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549570048001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:35:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:35:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14187002828161024,"km_value":14187002828161.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555260561408,"description":"Unknown IO ID 45"} 
[2026-08-21 14:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549570048001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1741837555260561408}} 
[2026-08-21 14:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:35:30] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:35:30] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:35:35] local.INFO: TCP Data received {"connection_id":161654,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023902f58012d7aeb8005e39738001101491c..."} 
[2026-08-21 14:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023902f58012d7aeb8005e39738001101491c..."} 
[2026-08-21 14:35:35] local.INFO: Processing buffer {"connection_id":161654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023902f58012d7aeb8005e39738001101491c..."} 
[2026-08-21 14:35:35] local.INFO: Packet analysis {"connection_id":161654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:35:35] local.INFO: Extracted packet for processing {"connection_id":161654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801464,"longitude_deg":76.30304,"latitude_deg":9.8801464,"altitude":17,"angle":329,"satellites":28,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e39738","is_valid_coordinates":true} 
[2026-08-21 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549574912001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121726202166640640,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859002704795158528,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787303047000,"timestamp_ms":1787303047000,"timestamp_seconds":1787303047,"priority":1,"record_length":96,"hex_timestamp":"000001a023902f58"} 
[2026-08-21 14:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937439,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399435,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2398029825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2952867195,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3811147776,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070431,"note":"Value kept but may cause issues"} 
[2026-08-21 14:35:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,208,85,24,241,157,16,117,160,143,45,128,105,14,28,10,66,116,65,74,13,29,53,1,240,69,227,35,4,113,205,211,5,23,239,51,2,176,11],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:35:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153287766534127616,"timestamp_seconds":1153287766534127.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161654,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549574912001,"66":13015,"208":206,"85":15104,"24":0,"16":121726202166640640,"45":8859002704795158528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549574912001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:35:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121726202166640640,"km_value":121726202166640.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859002704795158528,"description":"Unknown IO ID 45"} 
[2026-08-21 14:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549574912001,"power":13015,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8859002704795158528}} 
[2026-08-21 14:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":161654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:35:35] local.INFO: GPS data processed {"connection_id":161654,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:35:35] local.INFO: Acknowledgment sent {"connection_id":161654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:35:56] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:56] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:56] local.INFO: IMEI packet received {"connection_id":159370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":159370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:35:57] local.INFO: TCP Data received {"connection_id":159371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:57] local.INFO: Processing buffer {"connection_id":159371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:35:57] local.INFO: IMEI packet received {"connection_id":159371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":159371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:35:57] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:57] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:57] local.INFO: IMEI packet received {"connection_id":159370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":159370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:35:59] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:59] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:35:59] local.INFO: IMEI packet received {"connection_id":159370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":159370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:36:00] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023908160012d7aeb8005e39738001101491e..."} 
[2026-08-21 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023908160012d7aeb8005e39738001101491e..."} 
[2026-08-21 14:36:00] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023908160012d7aeb8005e39738001101491e..."} 
[2026-08-21 14:36:00] local.INFO: Packet analysis {"connection_id":159370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:00] local.INFO: Extracted packet for processing {"connection_id":159370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763030400,"raw_latitude":98801464,"longitude_deg":76.30304,"latitude_deg":9.8801464,"altitude":17,"angle":329,"satellites":30,"speed":0,"hex_longitude":"2d7aeb80","hex_latitude":"05e39738","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549580032001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121726202166640640,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935742464,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787303068000,"timestamp_ms":1787303068000,"timestamp_seconds":1787303068,"priority":1,"record_length":96,"hex_timestamp":"000001a023908160"} 
[2026-08-21 14:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:36: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-08-21 14: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 14:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549580032001,"66":13037,"208":206,"85":15104,"24":0,"16":121726202166640640,"45":8857313854935742464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549580032001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121726202166640640,"km_value":121726202166640.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935742464,"description":"Unknown IO ID 45"} 
[2026-08-21 14:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549580032001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8857313854935742464}} 
[2026-08-21 14:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":159370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:36:00] local.INFO: GPS data processed {"connection_id":159370,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:36:00] local.INFO: Acknowledgment sent {"connection_id":159370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:36:00] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0238fc1f8012d181f800721a800004800b02e..."} 
[2026-08-21 14:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238fc1f8012d181f800721a800004800b02e..."} 
[2026-08-21 14:36:00] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238fc1f8012d181f800721a800004800b02e..."} 
[2026-08-21 14:36:00] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:36:00] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:36:00] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646208,"longitude_deg":75.6555648,"latitude_deg":11.9646208,"altitude":72,"angle":176,"satellites":46,"speed":11,"hex_longitude":"2d181f80","hex_latitude":"0721a800","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549572608001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14187020008030208,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306165248,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787303019000,"timestamp_ms":1787303019000,"timestamp_seconds":1787303019,"priority":1,"record_length":96,"hex_timestamp":"000001a0238fc1f8"} 
[2026-08-21 14:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303178682781034,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":105,"raw_value":58075809043709997,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2375501825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835401984,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:00] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,105,83,24,241,157,16,103,160,151,45,64,189,74,10,66,102,100,219,78,1,240,169,35,4,113,205,239,2,54,50,7,89],"length":486,"final_offset":616,"validated_count":33,"validation_warnings":[]} 
[2026-08-21 14:36:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188359178339352576,"timestamp_seconds":5188359178339353.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549572608001,"66":13059,"105":206,"83":41984,"24":11,"16":14187020008030208,"45":1738248749306165248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549572608001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14187020008030208,"km_value":14187020008030.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306165248,"description":"Unknown IO ID 45"} 
[2026-08-21 14:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549572608001,"power":13059,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738248749306165248}} 
[2026-08-21 14:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:36:01] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:36:01] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:36:03] local.INFO: TCP Data received {"connection_id":159371,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:36:03] local.INFO: Processing buffer {"connection_id":159371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:36:03] local.INFO: IMEI packet received {"connection_id":159371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":159371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:36:03] local.INFO: TCP Data received {"connection_id":159371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:36:03] local.INFO: Processing buffer {"connection_id":159371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:36:03] local.INFO: Packet analysis {"connection_id":159371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:03] local.INFO: Extracted packet for processing {"connection_id":159371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:36: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-08-21 14: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:36: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-08-21 14:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:36:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":159371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:36:03] local.INFO: GPS data processed {"connection_id":159371,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:36:03] local.INFO: Acknowledgment sent {"connection_id":159371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:36:31] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023908d18012d7aeb4005e397d8001100011e..."} 
[2026-08-21 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023908d18012d7aeb4005e397d8001100011e..."} 
[2026-08-21 14:36:31] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023908d18012d7aeb4005e397d8001100011e..."} 
[2026-08-21 14:36:31] local.INFO: Packet analysis {"connection_id":159370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:31] local.INFO: Extracted packet for processing {"connection_id":159370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:31] local.INFO: GPS Element Parsed {"raw_longitude":763030336,"raw_latitude":98801624,"longitude_deg":76.3030336,"latitude_deg":9.8801624,"altitude":17,"angle":1,"satellites":30,"speed":2,"hex_longitude":"2d7aeb40","hex_latitude":"05e397d8","is_valid_coordinates":true} 
[2026-08-21 14:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549585408001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121726210756575232,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857313854935742464,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787303071000,"timestamp_ms":1787303071000,"timestamp_seconds":1787303071,"priority":1,"record_length":96,"hex_timestamp":"000001a023908d18"} 
[2026-08-21 14:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:36: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-08-21 14: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 14:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549585408001,"66":12722,"208":206,"85":15104,"24":2,"16":121726210756575232,"45":8857313854935742464},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549585408001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:36:31] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:36:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121726210756575232,"km_value":121726210756575.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857313854935742464,"description":"Unknown IO ID 45"} 
[2026-08-21 14:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549585408001,"power":12722,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8857313854935742464}} 
[2026-08-21 14:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":159370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:36:31] local.INFO: GPS data processed {"connection_id":159370,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:36:31] local.INFO: Acknowledgment sent {"connection_id":159370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:36:32] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0238fc5e0012d181fc00721a7000048009b2d..."} 
[2026-08-21 14:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0238fc5e0012d181fc00721a7000048009b2d..."} 
[2026-08-21 14:36:32] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0238fc5e0012d181fc00721a7000048009b2d..."} 
[2026-08-21 14:36:32] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:36:32] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0238f"} 
[2026-08-21 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645952,"longitude_deg":75.6555712,"latitude_deg":11.9645952,"altitude":72,"angle":155,"satellites":45,"speed":10,"hex_longitude":"2d181fc0","hex_latitude":"0721a700","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549572864001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14187032892932096,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306085376,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787303020000,"timestamp_ms":1787303020000,"timestamp_seconds":1787303020,"priority":1,"record_length":96,"hex_timestamp":"000001a0238fc5e0"} 
[2026-08-21 14:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":57983845203968000,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:32] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2375501825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:32] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835401984,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:32] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,105,83,24,241,157,16,103,160,190,45,128,169,72,47,10,66,151,64,189,74,102,100,1,240,55,35,4,113,205,239,2,54,50],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[]} 
[2026-08-21 14:36:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188340482346516480,"timestamp_seconds":5188340482346516.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549572864001,"66":13091,"105":206,"83":41984,"24":10,"16":14187032892932096,"45":1738248749306085376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 14:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549572864001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:36:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 14:36:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14187032892932096,"km_value":14187032892932.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306085376,"description":"Unknown IO ID 45"} 
[2026-08-21 14:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549572864001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1738248749306085376}} 
[2026-08-21 14:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:36:32] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:36:32] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:36:40] local.INFO: TCP Data received {"connection_id":159371,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:36:40] local.INFO: Processing buffer {"connection_id":159371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:36:40] local.INFO: Packet analysis {"connection_id":159371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:40] local.INFO: Extracted packet for processing {"connection_id":159371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":159371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:36:40] local.INFO: GPS data processed {"connection_id":159371,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:36:40] local.INFO: Acknowledgment sent {"connection_id":159371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:36:56] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:36:56] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:36:56] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:36:57] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:36:57] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:36:57] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:37:01] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:37:01] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:37:01] local.INFO: IMEI packet received {"connection_id":160273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":160273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:37:02] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239265c0012d7aa0c005e40a48000c004b1b..."} 
[2026-08-21 14:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239265c0012d7aa0c005e40a48000c004b1b..."} 
[2026-08-21 14:37:02] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239265c0012d7aa0c005e40a48000c004b1b..."} 
[2026-08-21 14:37:02] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:02] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:02] local.INFO: GPS Element Parsed {"raw_longitude":763011264,"raw_latitude":98830920,"longitude_deg":76.3011264,"latitude_deg":9.883092,"altitude":12,"angle":75,"satellites":27,"speed":2,"hex_longitude":"2d7aa0c0","hex_latitude":"05e40a48","is_valid_coordinates":true} 
[2026-08-21 14:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549616128001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121728332470419456,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921756713256960,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787303192000,"timestamp_ms":1787303192000,"timestamp_seconds":1787303192,"priority":1,"record_length":96,"hex_timestamp":"000001a0239265c0"} 
[2026-08-21 14:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303141487693151,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2442573825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3221611535,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826110464,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:02] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,119,160,43,45,10,11,27,66,221,192,13,29,213,128,1,240,144,227,35,228,4,113,205,9,146,201,30,239,50,2,176,5,8],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:37:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864786897636032512,"timestamp_seconds":864786897636032.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549616128001,"66":12917,"208":206,"85":15104,"24":2,"16":121728332470419456,"45":8835921756713256960},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549616128001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:37:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:37:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121728332470419456,"km_value":121728332470419.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921756713256960,"description":"Unknown IO ID 45"} 
[2026-08-21 14:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549616128001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":8835921756713256960}} 
[2026-08-21 14:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:37:02] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:37:02] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:37:03] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:37:03] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:37:03] local.INFO: IMEI packet received {"connection_id":161655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":161655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:37:03] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:37:03] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:37:03] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:37:03] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:37: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-08-21 14: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":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:37: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-08-21 14: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-08-21 14:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:37: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-08-21 14:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:37:03] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:37:03] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:37:03] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023920418012d187ac007217fb8004a00942a..."} 
[2026-08-21 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023920418012d187ac007217fb8004a00942a..."} 
[2026-08-21 14:37:03] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023920418012d187ac007217fb8004a00942a..."} 
[2026-08-21 14:37:03] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:03] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756579008,"raw_latitude":119635896,"longitude_deg":75.6579008,"latitude_deg":11.9635896,"altitude":74,"angle":148,"satellites":42,"speed":10,"hex_longitude":"2d187ac0","hex_latitude":"07217fb8","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549610496001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188295613317120,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763722234695813120,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303167000,"timestamp_ms":1787303167000,"timestamp_seconds":1787303167,"priority":1,"record_length":96,"hex_timestamp":"000001a023920418"} 
[2026-08-21 14:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 14:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549610496001,"66":14167,"106":206,"83":41984,"24":10,"16":14188295613317120,"45":1763722234695813120},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549610496001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188295613317120,"km_value":14188295613317.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763722234695813120,"description":"Unknown IO ID 45"} 
[2026-08-21 14:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549610496001,"power":14167,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1763722234695813120}} 
[2026-08-21 14:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:37:04] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:37:04] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:37:34] local.INFO: TCP Data received {"connection_id":160273,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023926d90012d7aa10005e40a70000c003f1a..."} 
[2026-08-21 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023926d90012d7aa10005e40a70000c003f1a..."} 
[2026-08-21 14:37:34] local.INFO: Processing buffer {"connection_id":160273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023926d90012d7aa10005e40a70000c003f1a..."} 
[2026-08-21 14:37:34] local.INFO: Packet analysis {"connection_id":160273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:34] local.INFO: Extracted packet for processing {"connection_id":160273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":763011328,"raw_latitude":98830960,"longitude_deg":76.3011328,"latitude_deg":9.883096,"altitude":12,"angle":63,"satellites":26,"speed":1,"hex_longitude":"2d7aa100","hex_latitude":"05e40a70","is_valid_coordinates":true} 
[2026-08-21 14:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549617152001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121728336765386752,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8836273600434161664,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303194000,"timestamp_ms":1787303194000,"timestamp_seconds":1787303194,"priority":1,"record_length":96,"hex_timestamp":"000001a023926d90"} 
[2026-08-21 14:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 14:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549617152001,"66":13037,"208":206,"85":15104,"24":1,"16":121728336765386752,"45":8836273600434161664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549617152001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121728336765386752,"km_value":121728336765386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8836273600434161664,"description":"Unknown IO ID 45"} 
[2026-08-21 14:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549617152001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8836273600434161664}} 
[2026-08-21 14:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":160273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:37:34] local.INFO: GPS data processed {"connection_id":160273,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:37:34] local.INFO: Acknowledgment sent {"connection_id":160273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:37:34] local.INFO: TCP Data received {"connection_id":161655,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:37:34] local.INFO: Processing buffer {"connection_id":161655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:37:34] local.INFO: Packet analysis {"connection_id":161655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:37:34] local.INFO: Extracted packet for processing {"connection_id":161655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":161655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:37:34] local.INFO: GPS data processed {"connection_id":161655,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:37:34] local.INFO: Acknowledgment sent {"connection_id":161655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:37:35] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023920800012d187b0007217ef0004b00a22a..."} 
[2026-08-21 14:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023920800012d187b0007217ef0004b00a22a..."} 
[2026-08-21 14:37:35] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023920800012d187b0007217ef0004b00a22a..."} 
[2026-08-21 14:37:35] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:35] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":756579072,"raw_latitude":119635696,"longitude_deg":75.6579072,"latitude_deg":11.9635696,"altitude":75,"angle":162,"satellites":42,"speed":9,"hex_longitude":"2d187b00","hex_latitude":"07217ef0","is_valid_coordinates":true} 
[2026-08-21 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549610752001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188304203251712,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763933340928292864,"note":"Value kept but may cause issues"} 
[2026-08-21 14:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787303168000,"timestamp_ms":1787303168000,"timestamp_seconds":1787303168,"priority":1,"record_length":96,"hex_timestamp":"000001a023920800"} 
[2026-08-21 14:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 14:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549610752001,"66":14211,"106":206,"83":41984,"24":9,"16":14188304203251712,"45":1763933340928292864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549610752001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:37:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:37:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188304203251712,"km_value":14188304203251.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763933340928292864,"description":"Unknown IO ID 45"} 
[2026-08-21 14:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549610752001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1763933340928292864}} 
[2026-08-21 14:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:37:35] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:37:35] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:37:56] local.INFO: TCP Data received {"connection_id":159372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:37:56] local.INFO: Processing buffer {"connection_id":159372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:37:56] local.INFO: IMEI packet received {"connection_id":159372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":159372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:37:57] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:37:57] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:37:57] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:38:01] local.INFO: TCP Data received {"connection_id":159372,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159372,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:01] local.INFO: Processing buffer {"connection_id":159372,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:01] local.INFO: IMEI packet received {"connection_id":159372,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":159372,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:38:03] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:38:03] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:38:03] local.INFO: IMEI packet received {"connection_id":160274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":160274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:38:03] local.INFO: TCP Data received {"connection_id":159372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239330e0012d7ace4005e40dc0000f00a61c..."} 
[2026-08-21 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239330e0012d7ace4005e40dc0000f00a61c..."} 
[2026-08-21 14:38:03] local.INFO: Processing buffer {"connection_id":159372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239330e0012d7ace4005e40dc0000f00a61c..."} 
[2026-08-21 14:38:03] local.INFO: Packet analysis {"connection_id":159372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:38:03] local.INFO: Extracted packet for processing {"connection_id":159372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763022912,"raw_latitude":98831808,"longitude_deg":76.3022912,"latitude_deg":9.8831808,"altitude":15,"angle":166,"satellites":28,"speed":19,"hex_longitude":"2d7ace40","hex_latitude":"05e40dc0","is_valid_coordinates":true} 
[2026-08-21 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549630208001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121728938060808192,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848939974386475008,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303244000,"timestamp_ms":1787303244000,"timestamp_seconds":1787303244,"priority":1,"record_length":96,"hex_timestamp":"000001a0239330e0"} 
[2026-08-21 14:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-21 14:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549630208001,"66":12613,"208":206,"85":15104,"24":19,"16":121728938060808192,"45":8848939974386475008},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549630208001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121728938060808192,"km_value":121728938060808.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848939974386475008,"description":"Unknown IO ID 45"} 
[2026-08-21 14:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549630208001,"power":12613,"unknown_208":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8848939974386475008}} 
[2026-08-21 14:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":159372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:38:03] local.INFO: GPS data processed {"connection_id":159372,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:38:03] local.INFO: Acknowledgment sent {"connection_id":159372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:38:03] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:38:03] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:38:03] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:38:03] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:38: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-08-21 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:38: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-08-21 14:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:38:03] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:38:03] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:38:06] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023920be8012d187b0007217e28004b00b12a..."} 
[2026-08-21 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023920be8012d187b0007217e28004b00b12a..."} 
[2026-08-21 14:38:06] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023920be8012d187b0007217e28004b00b12a..."} 
[2026-08-21 14:38:06] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:38:06] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756579072,"raw_latitude":119635496,"longitude_deg":75.6579072,"latitude_deg":11.9635496,"altitude":75,"angle":177,"satellites":42,"speed":9,"hex_longitude":"2d187b00","hex_latitude":"07217e28","is_valid_coordinates":true} 
[2026-08-21 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549611008001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188312793186304,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709672419328,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787303169000,"timestamp_ms":1787303169000,"timestamp_seconds":1787303169,"priority":1,"record_length":96,"hex_timestamp":"000001a023920be8"} 
[2026-08-21 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 14:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549611008001,"66":14211,"106":206,"83":41984,"24":9,"16":14188312793186304,"45":1764003709672419328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549611008001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:38:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188312793186304,"km_value":14188312793186.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709672419328,"description":"Unknown IO ID 45"} 
[2026-08-21 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549611008001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1764003709672419328}} 
[2026-08-21 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:38:06] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:38:06] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:38:34] local.INFO: TCP Data received {"connection_id":159372,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239363a8012d7ad68005e3e960000e00a71e..."} 
[2026-08-21 14:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239363a8012d7ad68005e3e960000e00a71e..."} 
[2026-08-21 14:38:34] local.INFO: Processing buffer {"connection_id":159372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239363a8012d7ad68005e3e960000e00a71e..."} 
[2026-08-21 14:38:34] local.INFO: Packet analysis {"connection_id":159372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:38:34] local.INFO: Extracted packet for processing {"connection_id":159372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763025024,"raw_latitude":98822496,"longitude_deg":76.3025024,"latitude_deg":9.8822496,"altitude":14,"angle":167,"satellites":30,"speed":29,"hex_longitude":"2d7ad680","hex_latitude":"05e3e960","is_valid_coordinates":true} 
[2026-08-21 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549630464001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121729401917276160,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849080711874723840,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303257000,"timestamp_ms":1787303257000,"timestamp_seconds":1787303257,"priority":1,"record_length":96,"hex_timestamp":"000001a0239363a8"} 
[2026-08-21 14:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 14:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159372,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549630464001,"66":13102,"208":206,"85":15104,"24":29,"16":121729401917276160,"45":8849080711874723840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549630464001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121729401917276160,"km_value":121729401917276.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849080711874723840,"description":"Unknown IO ID 45"} 
[2026-08-21 14:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549630464001,"power":13102,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8849080711874723840}} 
[2026-08-21 14:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":159372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:38:34] local.INFO: GPS data processed {"connection_id":159372,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:38:34] local.INFO: Acknowledgment sent {"connection_id":159372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:38:34] local.INFO: TCP Data received {"connection_id":160274,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:38:34] local.INFO: Processing buffer {"connection_id":160274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:38:34] local.INFO: Packet analysis {"connection_id":160274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:38:34] local.INFO: Extracted packet for processing {"connection_id":160274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":160274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:38:34] local.INFO: GPS data processed {"connection_id":160274,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:38:34] local.INFO: Acknowledgment sent {"connection_id":160274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:38:37] local.INFO: TCP Data received {"connection_id":159095,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023925df0012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023925df0012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:38:37] local.INFO: Processing buffer {"connection_id":159095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023925df0012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:38:37] local.INFO: Packet analysis {"connection_id":159095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:38:37] local.INFO: Extracted packet for processing {"connection_id":159095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633224,"longitude_deg":75.6579264,"latitude_deg":11.9633224,"altitude":75,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d187bc0","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549611264001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188428757303296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764003709672368128,"note":"Value kept but may cause issues"} 
[2026-08-21 14:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787303190000,"timestamp_ms":1787303190000,"timestamp_seconds":1787303190,"priority":1,"record_length":96,"hex_timestamp":"000001a023925df0"} 
[2026-08-21 14:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 14:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549611264001,"66":13102,"106":206,"83":41984,"24":0,"16":14188428757303296,"45":1764003709672368128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549611264001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:38:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188428757303296,"km_value":14188428757303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764003709672368128,"description":"Unknown IO ID 45"} 
[2026-08-21 14:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549611264001,"power":13102,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764003709672368128}} 
[2026-08-21 14:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":159095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:38:37] local.INFO: GPS data processed {"connection_id":159095,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:38:37] local.INFO: Acknowledgment sent {"connection_id":159095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:38:56] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:56] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:56] local.INFO: IMEI packet received {"connection_id":159373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":159373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:38:58] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:58] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:38:58] local.INFO: IMEI packet received {"connection_id":159373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":159373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:39:01] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:39:01] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:39:01] local.INFO: IMEI packet received {"connection_id":159373,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":159373,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:39:02] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:39:02] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:39:02] local.INFO: IMEI packet received {"connection_id":159374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":159374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:39:03] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:03] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:03] local.INFO: IMEI packet received {"connection_id":159096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":159096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:39:04] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023939288012d7adfc005e3c700000c00a21e..."} 
[2026-08-21 14:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023939288012d7adfc005e3c700000c00a21e..."} 
[2026-08-21 14:39:04] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023939288012d7adfc005e3c700000c00a21e..."} 
[2026-08-21 14:39:04] local.INFO: Packet analysis {"connection_id":159373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:39:04] local.INFO: Extracted packet for processing {"connection_id":159373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763027392,"raw_latitude":98813696,"longitude_deg":76.3027392,"latitude_deg":9.8813696,"altitude":12,"angle":162,"satellites":30,"speed":30,"hex_longitude":"2d7adfc0","hex_latitude":"05e3c700","is_valid_coordinates":true} 
[2026-08-21 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-08-21 14:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549633792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121729844298907648,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851402880430202880,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787303269000,"timestamp_ms":1787303269000,"timestamp_seconds":1787303269,"priority":1,"record_length":96,"hex_timestamp":"000001a023939288"} 
[2026-08-21 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-08-21 14:39: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-08-21 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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 14:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 14:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549633792001,"66":13254,"208":206,"85":15104,"24":30,"16":121729844298907648,"45":8851402880430202880},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549633792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:39:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121729844298907648,"km_value":121729844298907.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851402880430202880,"description":"Unknown IO ID 45"} 
[2026-08-21 14:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549633792001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8851402880430202880}} 
[2026-08-21 14:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":159373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:39:04] local.INFO: GPS data processed {"connection_id":159373,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:39:04] local.INFO: Acknowledgment sent {"connection_id":159373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:39:06] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:39:06] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:39:06] local.INFO: IMEI packet received {"connection_id":159374,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":159374,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:39:07] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02392aff8012d187bc007217548004b00bb28..."} 
[2026-08-21 14:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02392aff8012d187bc007217548004b00bb28..."} 
[2026-08-21 14:39:07] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02392aff8012d187bc007217548004b00bb28..."} 
[2026-08-21 14:39:07] local.INFO: Packet analysis {"connection_id":159374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:39:07] local.INFO: Extracted packet for processing {"connection_id":159374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02392"} 
[2026-08-21 14:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633224,"longitude_deg":75.6579264,"latitude_deg":11.9633224,"altitude":75,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d187bc0","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 14:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549616640001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188428757303296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904319488,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303211000,"timestamp_ms":1787303211000,"timestamp_seconds":1787303211,"priority":1,"record_length":96,"hex_timestamp":"000001a02392aff8"} 
[2026-08-21 14:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 14:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549616640001,"66":13059,"106":206,"83":41984,"24":0,"16":14188428757303296,"45":1764214815904319488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549616640001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:39:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188428757303296,"km_value":14188428757303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904319488,"description":"Unknown IO ID 45"} 
[2026-08-21 14:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549616640001,"power":13059,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764214815904319488}} 
[2026-08-21 14:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":159374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:39:07] local.INFO: GPS data processed {"connection_id":159374,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:39:07] local.INFO: Acknowledgment sent {"connection_id":159374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:39:08] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:08] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:08] local.INFO: IMEI packet received {"connection_id":159096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":159096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:39:08] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:39:08] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:39:08] local.INFO: Packet analysis {"connection_id":159096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:39:08] local.INFO: Extracted packet for processing {"connection_id":159096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":159096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:39:08] local.INFO: GPS data processed {"connection_id":159096,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:39:08] local.INFO: Acknowledgment sent {"connection_id":159096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:39:13] local.INFO: TCP Data received {"connection_id":159096,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:39:13] local.INFO: Processing buffer {"connection_id":159096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023905a50012dde4440050df3500020000916..."} 
[2026-08-21 14:39:13] local.INFO: Packet analysis {"connection_id":159096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:39:13] local.INFO: Extracted packet for processing {"connection_id":159096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02390"} 
[2026-08-21 14:39:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":32,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549505792001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787303058000,"timestamp_ms":1787303058000,"timestamp_seconds":1787303058,"priority":1,"record_length":96,"hex_timestamp":"000001a023905a50"} 
[2026-08-21 14:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24576,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-08-21 14:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549505792001,"66":25778,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549505792001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:39:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:39:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549505792001,"power":25778,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":159096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:39:13] local.INFO: GPS data processed {"connection_id":159096,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:39:13] local.INFO: Acknowledgment sent {"connection_id":159096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:39:36] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02393bd80012d7aea8005e3a598000b00a01d..."} 
[2026-08-21 14:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02393bd80012d7aea8005e3a598000b00a01d..."} 
[2026-08-21 14:39:36] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02393bd80012d7aea8005e3a598000b00a01d..."} 
[2026-08-21 14:39:36] local.INFO: Packet analysis {"connection_id":159373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:39:36] local.INFO: Extracted packet for processing {"connection_id":159373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":763030144,"raw_latitude":98805144,"longitude_deg":76.3030144,"latitude_deg":9.8805144,"altitude":11,"angle":160,"satellites":29,"speed":29,"hex_longitude":"2d7aea80","hex_latitude":"05e3a598","is_valid_coordinates":true} 
[2026-08-21 14:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549636864001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121730278090604544,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854006523962523648,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787303280000,"timestamp_ms":1787303280000,"timestamp_seconds":1787303280,"priority":1,"record_length":96,"hex_timestamp":"000001a02393bd80"} 
[2026-08-21 14:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159373,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549636864001,"66":13080,"208":206,"85":15104,"24":29,"16":121730278090604544,"45":8854006523962523648},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549636864001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121730278090604544,"km_value":121730278090604.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854006523962523648,"description":"Unknown IO ID 45"} 
[2026-08-21 14:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549636864001,"power":13080,"unknown_208":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8854006523962523648}} 
[2026-08-21 14:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":159373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:39:36] local.INFO: GPS data processed {"connection_id":159373,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:39:36] local.INFO: Acknowledgment sent {"connection_id":159373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:39:38] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023930200012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023930200012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:39:38] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023930200012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:39:38] local.INFO: Packet analysis {"connection_id":159374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:39:38] local.INFO: Extracted packet for processing {"connection_id":159374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633224,"longitude_deg":75.6579264,"latitude_deg":11.9633224,"altitude":75,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d187bc0","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549622016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188428757303296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904319488,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787303232000,"timestamp_ms":1787303232000,"timestamp_seconds":1787303232,"priority":1,"record_length":96,"hex_timestamp":"000001a023930200"} 
[2026-08-21 14:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303181434244458,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":58075809043709983,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2449741825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:39:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-21 14:39:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,106,83,24,241,157,16,104,160,93,45,192,117,75,42,10,66,11,126,8,1,240,131,227,35,33,4,113,205,122,136,40,239,55,2,50,7,76,31],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-21 14:39:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404525333317681152,"timestamp_seconds":5404525333317681.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549622016001,"66":12950,"106":206,"83":41984,"24":0,"16":14188428757303296,"45":1764214815904319488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549622016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:39:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:39:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188428757303296,"km_value":14188428757303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904319488,"description":"Unknown IO ID 45"} 
[2026-08-21 14:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549622016001,"power":12950,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764214815904319488}} 
[2026-08-21 14:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":159374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:39:38] local.INFO: GPS data processed {"connection_id":159374,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:39:38] local.INFO: Acknowledgment sent {"connection_id":159374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:39:56] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:39:56] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:39:56] local.INFO: IMEI packet received {"connection_id":159375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":159375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:39:57] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:57] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:57] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:39:58] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:58] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:39:58] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:40:01] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:40:01] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:40:01] local.INFO: IMEI packet received {"connection_id":159375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":159375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:40:03] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:40:03] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:40:03] local.INFO: IMEI packet received {"connection_id":159097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":159097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:40:03] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023940ba0012d7af44005e38950000b00a01e..."} 
[2026-08-21 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023940ba0012d7af44005e38950000b00a01e..."} 
[2026-08-21 14:40:03] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023940ba0012d7af44005e38950000b00a01e..."} 
[2026-08-21 14:40:03] local.INFO: Packet analysis {"connection_id":159375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:03] local.INFO: Extracted packet for processing {"connection_id":159375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763032640,"raw_latitude":98797904,"longitude_deg":76.303264,"latitude_deg":9.8797904,"altitude":11,"angle":160,"satellites":30,"speed":13,"hex_longitude":"2d7af440","hex_latitude":"05e38950","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549639680001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121730651752759296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857032379959973888,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303300000,"timestamp_ms":1787303300000,"timestamp_seconds":1787303300,"priority":1,"record_length":96,"hex_timestamp":"000001a023940ba0"} 
[2026-08-21 14:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-08-21 14:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549639680001,"66":13254,"208":206,"85":15104,"24":13,"16":121730651752759296,"45":8857032379959973888},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549639680001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121730651752759296,"km_value":121730651752759.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857032379959973888,"description":"Unknown IO ID 45"} 
[2026-08-21 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549639680001,"power":13254,"unknown_208":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8857032379959973888}} 
[2026-08-21 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":159375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676132,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:40:03] local.INFO: GPS data processed {"connection_id":159375,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:40:03] local.INFO: Acknowledgment sent {"connection_id":159375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:40:03] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:40:03] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:40:03] local.INFO: Packet analysis {"connection_id":159097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:03] local.INFO: Extracted packet for processing {"connection_id":159097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:40: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-08-21 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:40: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-08-21 14: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-08-21 14:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:40: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-08-21 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":159097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:40:03] local.INFO: GPS data processed {"connection_id":159097,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:40:03] local.INFO: Acknowledgment sent {"connection_id":159097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:40:09] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023935408012d187bc007217548004b00bb2b..."} 
[2026-08-21 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023935408012d187bc007217548004b00bb2b..."} 
[2026-08-21 14:40:09] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023935408012d187bc007217548004b00bb2b..."} 
[2026-08-21 14:40:09] local.INFO: Packet analysis {"connection_id":159374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:40:09] local.INFO: Extracted packet for processing {"connection_id":159374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633224,"longitude_deg":75.6579264,"latitude_deg":11.9633224,"altitude":75,"angle":187,"satellites":43,"speed":0,"hex_longitude":"2d187bc0","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549627392001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188428757303296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904319488,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787303253000,"timestamp_ms":1787303253000,"timestamp_seconds":1787303253,"priority":1,"record_length":96,"hex_timestamp":"000001a023935408"} 
[2026-08-21 14:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 14:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549627392001,"66":12928,"106":206,"83":41984,"24":0,"16":14188428757303296,"45":1764214815904319488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549627392001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188428757303296,"km_value":14188428757303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904319488,"description":"Unknown IO ID 45"} 
[2026-08-21 14:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549627392001,"power":12928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764214815904319488}} 
[2026-08-21 14:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":159374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:40:09] local.INFO: GPS data processed {"connection_id":159374,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:40:09] local.INFO: Acknowledgment sent {"connection_id":159374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:40:34] local.INFO: TCP Data received {"connection_id":159097,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:40:34] local.INFO: Processing buffer {"connection_id":159097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:40:34] local.INFO: Packet analysis {"connection_id":159097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:34] local.INFO: Extracted packet for processing {"connection_id":159097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":159097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:40:34] local.INFO: GPS data processed {"connection_id":159097,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:40:34] local.INFO: Acknowledgment sent {"connection_id":159097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:40:34] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239451f0012d7afec005e367e8000d00a31d..."} 
[2026-08-21 14:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239451f0012d7afec005e367e8000d00a31d..."} 
[2026-08-21 14:40:34] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239451f0012d7afec005e367e8000d00a31d..."} 
[2026-08-21 14:40:34] local.INFO: Packet analysis {"connection_id":159375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:34] local.INFO: Extracted packet for processing {"connection_id":159375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763035328,"raw_latitude":98789352,"longitude_deg":76.3035328,"latitude_deg":9.8789352,"altitude":13,"angle":163,"satellites":29,"speed":24,"hex_longitude":"2d7afec0","hex_latitude":"05e367e8","is_valid_coordinates":true} 
[2026-08-21 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549644800001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121731085544456192,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8859776760981049344,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303318000,"timestamp_ms":1787303318000,"timestamp_seconds":1787303318,"priority":1,"record_length":96,"hex_timestamp":"000001a0239451f0"} 
[2026-08-21 14:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 14:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549644800001,"66":13243,"208":206,"85":15104,"24":24,"16":121731085544456192,"45":8859776760981049344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549644800001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121731085544456192,"km_value":121731085544456.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8859776760981049344,"description":"Unknown IO ID 45"} 
[2026-08-21 14:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549644800001,"power":13243,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8859776760981049344}} 
[2026-08-21 14:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":159375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676136,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:40:34] local.INFO: GPS data processed {"connection_id":159375,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:40:34] local.INFO: Acknowledgment sent {"connection_id":159375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:40:40] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02393a610012d187bc007217548004b00bb29..."} 
[2026-08-21 14:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02393a610012d187bc007217548004b00bb29..."} 
[2026-08-21 14:40:40] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02393a610012d187bc007217548004b00bb29..."} 
[2026-08-21 14:40:40] local.INFO: Packet analysis {"connection_id":159374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:40:40] local.INFO: Extracted packet for processing {"connection_id":159374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:40:40] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633224,"longitude_deg":75.6579264,"latitude_deg":11.9633224,"altitude":75,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d187bc0","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 14:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549632768001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188428757303296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904319488,"note":"Value kept but may cause issues"} 
[2026-08-21 14:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787303274000,"timestamp_ms":1787303274000,"timestamp_seconds":1787303274,"priority":1,"record_length":96,"hex_timestamp":"000001a02393a610"} 
[2026-08-21 14:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-21 14:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159374,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549632768001,"66":12841,"106":206,"83":41984,"24":0,"16":14188428757303296,"45":1764214815904319488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549632768001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:40:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:40:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188428757303296,"km_value":14188428757303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904319488,"description":"Unknown IO ID 45"} 
[2026-08-21 14:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549632768001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764214815904319488}} 
[2026-08-21 14:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":159374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:40:40] local.INFO: GPS data processed {"connection_id":159374,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:40:40] local.INFO: Acknowledgment sent {"connection_id":159374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:40:56] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:40:56] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:40:56] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:40:58] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:40:58] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:40:58] local.INFO: IMEI packet received {"connection_id":160275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":160275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:41:01] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:41:01] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:41:01] local.INFO: IMEI packet received {"connection_id":160276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":160276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:41:01] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:41:01] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:41:01] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:41:02] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023949840012d7b0a8005e346d8001200a61e..."} 
[2026-08-21 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023949840012d7b0a8005e346d8001200a61e..."} 
[2026-08-21 14:41:02] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023949840012d7b0a8005e346d8001200a61e..."} 
[2026-08-21 14:41:02] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:02] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763038336,"raw_latitude":98780888,"longitude_deg":76.3038336,"latitude_deg":9.8780888,"altitude":18,"angle":166,"satellites":30,"speed":18,"hex_longitude":"2d7b0a80","hex_latitude":"05e346d8","is_valid_coordinates":true} 
[2026-08-21 14:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549649408001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121731523631120384,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862732248234321920,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787303336000,"timestamp_ms":1787303336000,"timestamp_seconds":1787303336,"priority":1,"record_length":96,"hex_timestamp":"000001a023949840"} 
[2026-08-21 14:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 14:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549649408001,"66":13450,"208":206,"85":15104,"24":18,"16":121731523631120384,"45":8862732248234321920},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549649408001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:41:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121731523631120384,"km_value":121731523631120.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862732248234321920,"description":"Unknown IO ID 45"} 
[2026-08-21 14:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549649408001,"power":13450,"unknown_208":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8862732248234321920}} 
[2026-08-21 14:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676138,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:41:02] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:41:02] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:41:03] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:41:03] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:41:03] local.INFO: IMEI packet received {"connection_id":160275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":160275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:41:06] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:41:06] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:41:06] local.INFO: IMEI packet received {"connection_id":160277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":160277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:41:07] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02393f818012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02393f818012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:41:07] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02393f818012d187bc007217548004b00bb2a..."} 
[2026-08-21 14:41:07] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:41:07] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02393"} 
[2026-08-21 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633224,"longitude_deg":75.6579264,"latitude_deg":11.9633224,"altitude":75,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d187bc0","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 14:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549638144001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188428757303296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904319488,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303295000,"timestamp_ms":1787303295000,"timestamp_seconds":1787303295,"priority":1,"record_length":96,"hex_timestamp":"000001a02393f818"} 
[2026-08-21 14:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 14:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549638144001,"66":12798,"106":206,"83":41984,"24":0,"16":14188428757303296,"45":1764214815904319488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549638144001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188428757303296,"km_value":14188428757303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904319488,"description":"Unknown IO ID 45"} 
[2026-08-21 14:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549638144001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764214815904319488}} 
[2026-08-21 14:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:41:07] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:41:07] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:41:07] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:41:07] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:41:07] local.INFO: Packet analysis {"connection_id":160275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:07] local.INFO: Extracted packet for processing {"connection_id":160275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":160275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:41:07] local.INFO: GPS data processed {"connection_id":160275,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:41:07] local.INFO: Acknowledgment sent {"connection_id":160275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:41:33] local.INFO: TCP Data received {"connection_id":160276,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02394b398012d7b0c8005e33b08001400b31b..."} 
[2026-08-21 14:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394b398012d7b0c8005e33b08001400b31b..."} 
[2026-08-21 14:41:33] local.INFO: Processing buffer {"connection_id":160276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394b398012d7b0c8005e33b08001400b31b..."} 
[2026-08-21 14:41:33] local.INFO: Packet analysis {"connection_id":160276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:33] local.INFO: Extracted packet for processing {"connection_id":160276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98777864,"longitude_deg":76.3038848,"latitude_deg":9.8777864,"altitude":20,"angle":179,"satellites":27,"speed":20,"hex_longitude":"2d7b0c80","hex_latitude":"05e33b08","is_valid_coordinates":true} 
[2026-08-21 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549654016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121731673954975744,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866039579208505344,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787303343000,"timestamp_ms":1787303343000,"timestamp_seconds":1787303343,"priority":1,"record_length":96,"hex_timestamp":"000001a02394b398"} 
[2026-08-21 14:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 14:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549654016001,"66":13374,"208":206,"85":15104,"24":20,"16":121731673954975744,"45":8866039579208505344},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549654016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:41:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121731673954975744,"km_value":121731673954975.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866039579208505344,"description":"Unknown IO ID 45"} 
[2026-08-21 14:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549654016001,"power":13374,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8866039579208505344}} 
[2026-08-21 14:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":160276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:41:33] local.INFO: GPS data processed {"connection_id":160276,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:41:33] local.INFO: Acknowledgment sent {"connection_id":160276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:41:38] local.INFO: TCP Data received {"connection_id":160277,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023944a20012d187bc007217548004b00bb2d..."} 
[2026-08-21 14:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023944a20012d187bc007217548004b00bb2d..."} 
[2026-08-21 14:41:38] local.INFO: Processing buffer {"connection_id":160277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023944a20012d187bc007217548004b00bb2d..."} 
[2026-08-21 14:41:38] local.INFO: Packet analysis {"connection_id":160277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:38] local.INFO: Extracted packet for processing {"connection_id":160277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633224,"longitude_deg":75.6579264,"latitude_deg":11.9633224,"altitude":75,"angle":187,"satellites":45,"speed":0,"hex_longitude":"2d187bc0","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 14:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549643520001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188428757303296,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904319488,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787303316000,"timestamp_ms":1787303316000,"timestamp_seconds":1787303316,"priority":1,"record_length":96,"hex_timestamp":"000001a023944a20"} 
[2026-08-21 14:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 14:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549643520001,"66":12776,"106":206,"83":41984,"24":0,"16":14188428757303296,"45":1764214815904319488},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549643520001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:41:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188428757303296,"km_value":14188428757303.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904319488,"description":"Unknown IO ID 45"} 
[2026-08-21 14:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549643520001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1764214815904319488}} 
[2026-08-21 14:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":160277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:41:38] local.INFO: GPS data processed {"connection_id":160277,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:41:38] local.INFO: Acknowledgment sent {"connection_id":160277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:41:43] local.INFO: TCP Data received {"connection_id":160275,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:41:43] local.INFO: Processing buffer {"connection_id":160275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:41:43] local.INFO: Packet analysis {"connection_id":160275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:43] local.INFO: Extracted packet for processing {"connection_id":160275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:41:43] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:41:43] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:41:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":160275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:41:43] local.INFO: GPS data processed {"connection_id":160275,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:41:43] local.INFO: Acknowledgment sent {"connection_id":160275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:41:57] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:41:57] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:41:57] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:41:57] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:41:57] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:41:57] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:42:01] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:01] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:01] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:01] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:01] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:01] local.INFO: IMEI packet received {"connection_id":159376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":159376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:42:02] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:02] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:02] local.INFO: IMEI packet received {"connection_id":159376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":159376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:02] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:02] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:02] local.INFO: IMEI packet received {"connection_id":159376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":159376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:02] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:42:02] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:42:02] local.INFO: IMEI packet received {"connection_id":161657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":161657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:03] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:42:03] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:42:03] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:42:03] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:42:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:42: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-08-21 14:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:42: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-08-21 14:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:42: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-08-21 14:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:42:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:42:03] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:42:03] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:42:06] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:06] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:06] local.INFO: IMEI packet received {"connection_id":161656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":161656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:06] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:06] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:42:06] local.INFO: IMEI packet received {"connection_id":159376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":159376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:07] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02396cac0012d187c4007217ef8005101562d..."} 
[2026-08-21 14:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02396cac0012d187c4007217ef8005101562d..."} 
[2026-08-21 14:42:07] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02396cac0012d187c4007217ef8005101562d..."} 
[2026-08-21 14:42:07] local.INFO: Packet analysis {"connection_id":159376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02396"} 
[2026-08-21 14:42:07] local.INFO: Extracted packet for processing {"connection_id":159376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02396"} 
[2026-08-21 14:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756579392,"raw_latitude":119635704,"longitude_deg":75.6579392,"latitude_deg":11.9635704,"altitude":81,"angle":342,"satellites":45,"speed":4,"hex_longitude":"2d187c40","hex_latitude":"07217ef8","is_valid_coordinates":true} 
[2026-08-21 14:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549690368001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188553311354880,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393246208,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303480000,"timestamp_ms":1787303480000,"timestamp_seconds":1787303480,"priority":1,"record_length":96,"hex_timestamp":"000001a02396cac0"} 
[2026-08-21 14:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 14:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549690368001,"66":14157,"106":206,"83":41984,"24":4,"16":14188553311354880,"45":1764355553393246208},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549690368001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188553311354880,"km_value":14188553311354.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393246208,"description":"Unknown IO ID 45"} 
[2026-08-21 14:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549690368001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1764355553393246208}} 
[2026-08-21 14:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":159376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:42:07] local.INFO: GPS data processed {"connection_id":159376,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:42:07] local.INFO: Acknowledgment sent {"connection_id":159376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:42:08] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a02394ea48012d7b0f0005e31e38001400a61a..."} 
[2026-08-21 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394ea48012d7b0f0005e31e38001400a61a..."} 
[2026-08-21 14:42:08] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394ea48012d7b0f0005e31e38001400a61a..."} 
[2026-08-21 14:42:08] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:42:08] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98770488,"longitude_deg":76.3039488,"latitude_deg":9.8770488,"altitude":20,"angle":166,"satellites":26,"speed":26,"hex_longitude":"2d7b0f00","hex_latitude":"05e31e38","is_valid_coordinates":true} 
[2026-08-21 14:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549655808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121732034732228608,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529161152512,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787303357000,"timestamp_ms":1787303357000,"timestamp_seconds":1787303357,"priority":1,"record_length":96,"hex_timestamp":"000001a02394ea48"} 
[2026-08-21 14:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 14:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549655808001,"66":13200,"208":206,"85":15104,"24":26,"16":121732034732228608,"45":8866602529161152512},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549655808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:42:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:42:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121732034732228608,"km_value":121732034732228.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529161152512,"description":"Unknown IO ID 45"} 
[2026-08-21 14:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549655808001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8866602529161152512}} 
[2026-08-21 14:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:42:08] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:42:08] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:42:09] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023950988012d7b144005e31090000f009a19..."} 
[2026-08-21 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023950988012d7b144005e31090000f009a19..."} 
[2026-08-21 14:42:09] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023950988012d7b144005e31090000f009a19..."} 
[2026-08-21 14:42:09] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02395"} 
[2026-08-21 14:42:09] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02395"} 
[2026-08-21 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98766992,"longitude_deg":76.3040832,"latitude_deg":9.8766992,"altitude":15,"angle":154,"satellites":25,"speed":10,"hex_longitude":"2d7b1440","hex_latitude":"05e31090","is_valid_coordinates":true} 
[2026-08-21 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659392001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121732215120855040,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216601040896,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787303365000,"timestamp_ms":1787303365000,"timestamp_seconds":1787303365,"priority":1,"record_length":96,"hex_timestamp":"000001a023950988"} 
[2026-08-21 14:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-21 14:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659392001,"66":13048,"208":206,"85":15104,"24":10,"16":121732215120855040,"45":8867306216601040896},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659392001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121732215120855040,"km_value":121732215120855.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216601040896,"description":"Unknown IO ID 45"} 
[2026-08-21 14:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659392001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8867306216601040896}} 
[2026-08-21 14:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:42:09] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:42:09] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:42:34] local.INFO: TCP Data received {"connection_id":161657,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:42:34] local.INFO: Processing buffer {"connection_id":161657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:42:34] local.INFO: Packet analysis {"connection_id":161657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:42:34] local.INFO: Extracted packet for processing {"connection_id":161657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:42:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:42:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:42:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":161657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:42:34] local.INFO: GPS data processed {"connection_id":161657,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:42:34] local.INFO: Acknowledgment sent {"connection_id":161657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:42:38] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02396d678012d187b8007218050005001492d..."} 
[2026-08-21 14:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02396d678012d187b8007218050005001492d..."} 
[2026-08-21 14:42:38] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02396d678012d187b8007218050005001492d..."} 
[2026-08-21 14:42:38] local.INFO: Packet analysis {"connection_id":159376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02396"} 
[2026-08-21 14:42:38] local.INFO: Extracted packet for processing {"connection_id":159376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02396"} 
[2026-08-21 14:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636048,"longitude_deg":75.65792,"latitude_deg":11.9636048,"altitude":80,"angle":329,"satellites":45,"speed":3,"hex_longitude":"2d187b80","hex_latitude":"07218050","is_valid_coordinates":true} 
[2026-08-21 14:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549690880001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14188574786191360,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764355553393309696,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787303483000,"timestamp_ms":1787303483000,"timestamp_seconds":1787303483,"priority":1,"record_length":96,"hex_timestamp":"000001a02396d678"} 
[2026-08-21 14:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 14:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549690880001,"66":14157,"106":206,"83":41984,"24":3,"16":14188574786191360,"45":1764355553393309696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 14:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549690880001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:42:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 14:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14188574786191360,"km_value":14188574786191.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764355553393309696,"description":"Unknown IO ID 45"} 
[2026-08-21 14:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549690880001,"power":14157,"unknown_106":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1764355553393309696}} 
[2026-08-21 14:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":159376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:42:38] local.INFO: GPS data processed {"connection_id":159376,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:42:38] local.INFO: Acknowledgment sent {"connection_id":159376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:42:40] local.INFO: TCP Data received {"connection_id":161656,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023977a88012d7b1c4005e2d5c8000e00ab19..."} 
[2026-08-21 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023977a88012d7b1c4005e2d5c8000e00ab19..."} 
[2026-08-21 14:42:40] local.INFO: Processing buffer {"connection_id":161656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023977a88012d7b1c4005e2d5c8000e00ab19..."} 
[2026-08-21 14:42:40] local.INFO: Packet analysis {"connection_id":161656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02397"} 
[2026-08-21 14:42:40] local.INFO: Extracted packet for processing {"connection_id":161656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02397"} 
[2026-08-21 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":763042880,"raw_latitude":98751944,"longitude_deg":76.304288,"latitude_deg":9.8751944,"altitude":14,"angle":171,"satellites":25,"speed":36,"hex_longitude":"2d7b1c40","hex_latitude":"05e2d5c8","is_valid_coordinates":true} 
[2026-08-21 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549699840001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121732975330066432,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869839491389059072,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787303525000,"timestamp_ms":1787303525000,"timestamp_seconds":1787303525,"priority":1,"record_length":96,"hex_timestamp":"000001a023977a88"} 
[2026-08-21 14:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":122,"raw_value":3942645760,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":227,"raw_value":589971611325307392,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2532429825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941343,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3808964608,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":63,"raw_value":57807717197043003,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.WARNING: Large IO value detected {"io_id":149,"raw_value":-308495279624601595,"note":"Value kept but may cause issues"} 
[2026-08-21 14:42:40] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,123,160,71,45,192,15,28,10,66,44,7,29,122,32,1,240,227,35,4,113,205,159,23,48,27,239,51,2,176,5,14,63,149],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:42:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081046541169721344,"timestamp_seconds":1081046541169721.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549699840001,"66":12917,"208":206,"85":15104,"24":36,"16":121732975330066432,"45":8869839491389059072},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549699840001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121732975330066432,"km_value":121732975330066.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869839491389059072,"description":"Unknown IO ID 45"} 
[2026-08-21 14:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549699840001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8869839491389059072}} 
[2026-08-21 14:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":161656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:42:40] local.INFO: GPS data processed {"connection_id":161656,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:42:40] local.INFO: Acknowledgment sent {"connection_id":161656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:42:53] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:53] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:53] local.INFO: IMEI packet received {"connection_id":159377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":159377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:42:54] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:54] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:54] local.INFO: IMEI packet received {"connection_id":159377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":159377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:55] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:55] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:55] local.INFO: IMEI packet received {"connection_id":159377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":159377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:56] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:56] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:42:56] local.INFO: IMEI packet received {"connection_id":159377,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":159377,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:42:57] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:42:57] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:42:57] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:43:03] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:43:03] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:43:03] local.INFO: IMEI packet received {"connection_id":161658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":161658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:43:03] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:03] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:03] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:43:03] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:43:03] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:43:03] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:43:03] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:43: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-08-21 14: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-08-21 14:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:43:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:43:03] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:43:03] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:43:06] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:06] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:06] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:43:07] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:07] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:43:07] local.INFO: IMEI packet received {"connection_id":160278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":160278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:43:08] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239795e0012d18c60007213d20004600a32f..."} 
[2026-08-21 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239795e0012d18c60007213d20004600a32f..."} 
[2026-08-21 14:43:08] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239795e0012d18c60007213d20004600a32f..."} 
[2026-08-21 14:43:08] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02397"} 
[2026-08-21 14:43:08] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02397"} 
[2026-08-21 14:43:08] local.INFO: GPS Element Parsed {"raw_longitude":756598272,"raw_latitude":119618848,"longitude_deg":75.6598272,"latitude_deg":11.9618848,"altitude":70,"angle":163,"satellites":47,"speed":38,"hex_longitude":"2d18c600","hex_latitude":"07213d20","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549703424001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14189987830431744,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784692120457078784,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787303532000,"timestamp_ms":1787303532000,"timestamp_seconds":1787303532,"priority":1,"record_length":96,"hex_timestamp":"000001a0239795e0"} 
[2026-08-21 14:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-08-21 14:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549703424001,"66":14233,"103":206,"83":41984,"24":38,"16":14189987830431744,"45":1784692120457078784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 14:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549703424001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:43:08] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 14:43:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14189987830431744,"km_value":14189987830431.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784692120457078784,"description":"Unknown IO ID 45"} 
[2026-08-21 14:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549703424001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1784692120457078784}} 
[2026-08-21 14:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:43:08] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:43:08] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:43:35] local.INFO: TCP Data received {"connection_id":161658,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:43:35] local.INFO: Processing buffer {"connection_id":161658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:43:35] local.INFO: Packet analysis {"connection_id":161658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:43:35] local.INFO: Extracted packet for processing {"connection_id":161658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:43:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:43:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":161658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:43:35] local.INFO: GPS data processed {"connection_id":161658,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:43:35] local.INFO: Acknowledgment sent {"connection_id":161658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:43:39] local.INFO: TCP Data received {"connection_id":160278,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023979db0012d18c94007213698004500932e..."} 
[2026-08-21 14:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023979db0012d18c94007213698004500932e..."} 
[2026-08-21 14:43:39] local.INFO: Processing buffer {"connection_id":160278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023979db0012d18c94007213698004500932e..."} 
[2026-08-21 14:43:39] local.INFO: Packet analysis {"connection_id":160278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02397"} 
[2026-08-21 14:43:39] local.INFO: Extracted packet for processing {"connection_id":160278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02397"} 
[2026-08-21 14:43:39] local.INFO: GPS Element Parsed {"raw_longitude":756599104,"raw_latitude":119617176,"longitude_deg":75.6599104,"latitude_deg":11.9617176,"altitude":69,"angle":147,"satellites":46,"speed":37,"hex_longitude":"2d18c940","hex_latitude":"07213698","is_valid_coordinates":true} 
[2026-08-21 14:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549704192001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14190078024744960,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785114332921405440,"note":"Value kept but may cause issues"} 
[2026-08-21 14:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787303534000,"timestamp_ms":1787303534000,"timestamp_seconds":1787303534,"priority":1,"record_length":96,"hex_timestamp":"000001a023979db0"} 
[2026-08-21 14:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 14:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549704192001,"66":14243,"103":206,"83":41984,"24":37,"16":14190078024744960,"45":1785114332921405440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 14:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549704192001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:43:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 14:43:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14190078024744960,"km_value":14190078024744.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785114332921405440,"description":"Unknown IO ID 45"} 
[2026-08-21 14:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549704192001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1785114332921405440}} 
[2026-08-21 14:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":160278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:43:39] local.INFO: GPS data processed {"connection_id":160278,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:43:39] local.INFO: Acknowledgment sent {"connection_id":160278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:44:01] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:01] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:01] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:44:02] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:02] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:02] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:44:03] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:03] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:03] local.INFO: IMEI packet received {"connection_id":161659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":161659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:44:04] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023984d78012d1941c00720b078002e00712c..."} 
[2026-08-21 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023984d78012d1941c00720b078002e00712c..."} 
[2026-08-21 14:44:04] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023984d78012d1941c00720b078002e00712c..."} 
[2026-08-21 14:44:04] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02398"} 
[2026-08-21 14:44:04] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02398"} 
[2026-08-21 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":756629952,"raw_latitude":119582840,"longitude_deg":75.6629952,"latitude_deg":11.958284,"altitude":46,"angle":113,"satellites":44,"speed":49,"hex_longitude":"2d1941c0","hex_latitude":"0720b078","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549714432001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14192461731594240,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810658187049701376,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787303579000,"timestamp_ms":1787303579000,"timestamp_seconds":1787303579,"priority":1,"record_length":96,"hex_timestamp":"000001a023984d78"} 
[2026-08-21 14:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 14:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549714432001,"66":14004,"103":206,"83":41984,"24":49,"16":14192461731594240,"45":1810658187049701376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 14:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549714432001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:44:04] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 14:44:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14192461731594240,"km_value":14192461731594.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810658187049701376,"description":"Unknown IO ID 45"} 
[2026-08-21 14:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549714432001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1810658187049701376}} 
[2026-08-21 14:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:44:04] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:44:04] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:44:07] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:08] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:08] local.INFO: IMEI packet received {"connection_id":159099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":159099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:44:08] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:44:08] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:44:08] local.INFO: Packet analysis {"connection_id":159099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:44:08] local.INFO: Extracted packet for processing {"connection_id":159099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:44: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-08-21 14:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:44:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:44:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":159099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:44:08] local.INFO: GPS data processed {"connection_id":159099,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:44:08] local.INFO: Acknowledgment sent {"connection_id":159099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:44:13] local.INFO: TCP Data received {"connection_id":159099,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:44:13] local.INFO: Processing buffer {"connection_id":159099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02394f218012dde4440050df3500023000914..."} 
[2026-08-21 14:44:13] local.INFO: Packet analysis {"connection_id":159099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:44:13] local.INFO: Extracted packet for processing {"connection_id":159099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02394"} 
[2026-08-21 14:44:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549582848001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787303359000,"timestamp_ms":1787303359000,"timestamp_seconds":1787303359,"priority":1,"record_length":96,"hex_timestamp":"000001a02394f218"} 
[2026-08-21 14:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 14:44:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549582848001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549582848001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:44:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:44:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549582848001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":159099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:44:13] local.INFO: GPS data processed {"connection_id":159099,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:44:13] local.INFO: Acknowledgment sent {"connection_id":159099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:44:36] local.INFO: TCP Data received {"connection_id":161659,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239914b0012d19ae8007209130002500c828..."} 
[2026-08-21 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239914b0012d19ae8007209130002500c828..."} 
[2026-08-21 14:44:36] local.INFO: Processing buffer {"connection_id":161659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239914b0012d19ae8007209130002500c828..."} 
[2026-08-21 14:44:36] local.INFO: Packet analysis {"connection_id":161659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:44:36] local.INFO: Extracted packet for processing {"connection_id":161659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119574832,"longitude_deg":75.6657792,"latitude_deg":11.9574832,"altitude":37,"angle":200,"satellites":40,"speed":33,"hex_longitude":"2d19ae80","hex_latitude":"07209130","is_valid_coordinates":true} 
[2026-08-21 14:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549728512001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14194325747400704,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035008623626240,"note":"Value kept but may cause issues"} 
[2026-08-21 14:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787303630000,"timestamp_ms":1787303630000,"timestamp_seconds":1787303630,"priority":1,"record_length":96,"hex_timestamp":"000001a0239914b0"} 
[2026-08-21 14:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 14:44:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549728512001,"66":14102,"103":206,"83":41984,"24":33,"16":14194325747400704,"45":1852035008623626240},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 14:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549728512001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14194325747400704,"km_value":14194325747400.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035008623626240,"description":"Unknown IO ID 45"} 
[2026-08-21 14:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549728512001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1852035008623626240}} 
[2026-08-21 14:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":161659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:44:36] local.INFO: GPS data processed {"connection_id":161659,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:44:36] local.INFO: Acknowledgment sent {"connection_id":161659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:44:57] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:57] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:58] local.INFO: IMEI packet received {"connection_id":159100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":159100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:44:58] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:58] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:44:58] local.INFO: IMEI packet received {"connection_id":159100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":159100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:44:59] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:59] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:44:59] local.INFO: IMEI packet received {"connection_id":159378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":159378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:45:02] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:02] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:02] local.INFO: IMEI packet received {"connection_id":159378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":159378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:45:02] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:02] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:02] local.INFO: IMEI packet received {"connection_id":159378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":159378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:45:02] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:02] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:02] local.INFO: IMEI packet received {"connection_id":159100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":159100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:45:03] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:03] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:03] local.INFO: Packet analysis {"connection_id":159100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:03] local.INFO: Extracted packet for processing {"connection_id":159100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:45: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-08-21 14: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":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:45:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":159100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:45:03] local.INFO: GPS data processed {"connection_id":159100,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:45:03] local.INFO: Acknowledgment sent {"connection_id":159100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:45:06] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:06] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:45:06] local.INFO: IMEI packet received {"connection_id":159378,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":159378,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:45:07] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023991898012d19ae0007208e00002500b827..."} 
[2026-08-21 14:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023991898012d19ae0007208e00002500b827..."} 
[2026-08-21 14:45:07] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023991898012d19ae0007208e00002500b827..."} 
[2026-08-21 14:45:07] local.INFO: Packet analysis {"connection_id":159378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:07] local.INFO: Extracted packet for processing {"connection_id":159378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574016,"longitude_deg":75.6657664,"latitude_deg":11.9574016,"altitude":37,"angle":184,"satellites":39,"speed":33,"hex_longitude":"2d19ae00","hex_latitude":"07208e00","is_valid_coordinates":true} 
[2026-08-21 14:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549729280001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14194368697073664,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995364864,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303631000,"timestamp_ms":1787303631000,"timestamp_seconds":1787303631,"priority":1,"record_length":96,"hex_timestamp":"000001a023991898"} 
[2026-08-21 14:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 14:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549729280001,"66":14102,"103":206,"83":41984,"24":33,"16":14194368697073664,"45":1850557264995364864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 14:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549729280001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:45:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 14:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14194368697073664,"km_value":14194368697073.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995364864,"description":"Unknown IO ID 45"} 
[2026-08-21 14:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549729280001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1850557264995364864}} 
[2026-08-21 14:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":159378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:45:07] local.INFO: GPS data processed {"connection_id":159378,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:45:07] local.INFO: Acknowledgment sent {"connection_id":159378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:45:08] local.INFO: TCP Data received {"connection_id":159100,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:08] local.INFO: Processing buffer {"connection_id":159100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:08] local.INFO: Packet analysis {"connection_id":159100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:08] local.INFO: Extracted packet for processing {"connection_id":159100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:45: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-08-21 14:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":159100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:45:08] local.INFO: GPS data processed {"connection_id":159100,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:45:08] local.INFO: Acknowledgment sent {"connection_id":159100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:45:38] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a02399f740012d1a25c0071fef10002b006a2c..."} 
[2026-08-21 14:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02399f740012d1a25c0071fef10002b006a2c..."} 
[2026-08-21 14:45:38] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02399f740012d1a25c0071fef10002b006a2c..."} 
[2026-08-21 14:45:38] local.INFO: Packet analysis {"connection_id":159378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:38] local.INFO: Extracted packet for processing {"connection_id":159378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756688320,"raw_latitude":119533328,"longitude_deg":75.668832,"latitude_deg":11.9533328,"altitude":43,"angle":106,"satellites":44,"speed":42,"hex_longitude":"2d1a25c0","hex_latitude":"071fef10","is_valid_coordinates":true} 
[2026-08-21 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549741824001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14197134656012288,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1874201163029133312,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787303688000,"timestamp_ms":1787303688000,"timestamp_seconds":1787303688,"priority":1,"record_length":96,"hex_timestamp":"000001a02399f740"} 
[2026-08-21 14:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-21 14:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159378,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549741824001,"66":14243,"101":206,"83":41984,"24":42,"16":14197134656012288,"45":1874201163029133312},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549741824001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:45:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14197134656012288,"km_value":14197134656012.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1874201163029133312,"description":"Unknown IO ID 45"} 
[2026-08-21 14:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549741824001,"power":14243,"unknown_101":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1874201163029133312}} 
[2026-08-21 14:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":159378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:45:38] local.INFO: GPS data processed {"connection_id":159378,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:45:38] local.INFO: Acknowledgment sent {"connection_id":159378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:45:52] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:52] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:52] local.INFO: IMEI packet received {"connection_id":159379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":159379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:45:57] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:57] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:45:57] local.INFO: IMEI packet received {"connection_id":159379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":159379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:45:58] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:58] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:45:58] local.INFO: Packet analysis {"connection_id":159379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:58] local.INFO: Extracted packet for processing {"connection_id":159379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:45:58] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14: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-08-21 14:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:45:58] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:45:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":159379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:45:58] local.INFO: GPS data processed {"connection_id":159379,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:45:58] local.INFO: Acknowledgment sent {"connection_id":159379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:46:02] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:02] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:02] local.INFO: IMEI packet received {"connection_id":159380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:46:02] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:02] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:02] local.INFO: IMEI packet received {"connection_id":159380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:46:06] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:06] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:46:06] local.INFO: IMEI packet received {"connection_id":159380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":159380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:46:07] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239a1a68012d1a4940071fe5e8002b006c2e..."} 
[2026-08-21 14:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239a1a68012d1a4940071fe5e8002b006c2e..."} 
[2026-08-21 14:46:07] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239a1a68012d1a4940071fe5e8002b006c2e..."} 
[2026-08-21 14:46:07] local.INFO: Packet analysis {"connection_id":159380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239a"} 
[2026-08-21 14:46:07] local.INFO: Extracted packet for processing {"connection_id":159380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239a"} 
[2026-08-21 14:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756697408,"raw_latitude":119530984,"longitude_deg":75.6697408,"latitude_deg":11.9530984,"altitude":43,"angle":108,"satellites":46,"speed":39,"hex_longitude":"2d1a4940","hex_latitude":"071fe5e8","is_valid_coordinates":true} 
[2026-08-21 14:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549744128001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14197581332611072,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123155957485568,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303697000,"timestamp_ms":1787303697000,"timestamp_seconds":1787303697,"priority":1,"record_length":96,"hex_timestamp":"000001a0239a1a68"} 
[2026-08-21 14:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:46:07] 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-08-21 14:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-21 14:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549744128001,"66":14211,"101":206,"83":41984,"24":39,"16":14197581332611072,"45":1884123155957485568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549744128001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:46:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14197581332611072,"km_value":14197581332611.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123155957485568,"description":"Unknown IO ID 45"} 
[2026-08-21 14:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549744128001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1884123155957485568}} 
[2026-08-21 14:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":159380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:46:07] local.INFO: GPS data processed {"connection_id":159380,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:46:07] local.INFO: Acknowledgment sent {"connection_id":159380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:46:29] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:46:29] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:46:29] local.INFO: Packet analysis {"connection_id":159379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:46:29] local.INFO: Extracted packet for processing {"connection_id":159379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:46:29] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:46:29] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:46:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":159379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:46:29] local.INFO: GPS data processed {"connection_id":159379,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:46:29] local.INFO: Acknowledgment sent {"connection_id":159379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:46:38] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239aed58012d1ac700071f8508003b00712e..."} 
[2026-08-21 14:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239aed58012d1ac700071f8508003b00712e..."} 
[2026-08-21 14:46:38] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239aed58012d1ac700071f8508003b00712e..."} 
[2026-08-21 14:46:38] local.INFO: Packet analysis {"connection_id":159380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239a"} 
[2026-08-21 14:46:38] local.INFO: Extracted packet for processing {"connection_id":159380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239a"} 
[2026-08-21 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756729600,"raw_latitude":119506184,"longitude_deg":75.67296,"latitude_deg":11.9506184,"altitude":59,"angle":113,"satellites":46,"speed":11,"hex_longitude":"2d1ac700","hex_latitude":"071f8508","is_valid_coordinates":true} 
[2026-08-21 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549760000001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14199660096782336,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929229520968462336,"note":"Value kept but may cause issues"} 
[2026-08-21 14:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787303751000,"timestamp_ms":1787303751000,"timestamp_seconds":1787303751,"priority":1,"record_length":96,"hex_timestamp":"000001a0239aed58"} 
[2026-08-21 14:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 14:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549760000001,"66":14298,"101":206,"83":41984,"24":11,"16":14199660096782336,"45":1929229520968462336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549760000001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:46:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14199660096782336,"km_value":14199660096782.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929229520968462336,"description":"Unknown IO ID 45"} 
[2026-08-21 14:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549760000001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1929229520968462336}} 
[2026-08-21 14:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":159380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:46:38] local.INFO: GPS data processed {"connection_id":159380,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:46:38] local.INFO: Acknowledgment sent {"connection_id":159380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:47:01] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:47:01] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:47:01] local.INFO: IMEI packet received {"connection_id":159382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":159382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:47:03] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:03] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:03] local.INFO: IMEI packet received {"connection_id":159381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":159381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:47:06] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:47:06] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:47:06] local.INFO: IMEI packet received {"connection_id":159382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":159382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:47:07] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239af140012d1ac7c0071f84d0003b005e2e..."} 
[2026-08-21 14:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239af140012d1ac7c0071f84d0003b005e2e..."} 
[2026-08-21 14:47:07] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239af140012d1ac7c0071f84d0003b005e2e..."} 
[2026-08-21 14:47:07] local.INFO: Packet analysis {"connection_id":159382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239a"} 
[2026-08-21 14:47:07] local.INFO: Extracted packet for processing {"connection_id":159382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239a"} 
[2026-08-21 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756729792,"raw_latitude":119506128,"longitude_deg":75.6729792,"latitude_deg":11.9506128,"altitude":59,"angle":94,"satellites":46,"speed":10,"hex_longitude":"2d1ac7c0","hex_latitude":"071f84d0","is_valid_coordinates":true} 
[2026-08-21 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549760256001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14199672981684224,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929510995945129984,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303752000,"timestamp_ms":1787303752000,"timestamp_seconds":1787303752,"priority":1,"record_length":96,"hex_timestamp":"000001a0239af140"} 
[2026-08-21 14:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 14:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549760256001,"66":14157,"101":206,"83":41984,"24":10,"16":14199672981684224,"45":1929510995945129984},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549760256001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:47:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14199672981684224,"km_value":14199672981684.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929510995945129984,"description":"Unknown IO ID 45"} 
[2026-08-21 14:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549760256001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1929510995945129984}} 
[2026-08-21 14:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":159382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:47:07] local.INFO: GPS data processed {"connection_id":159382,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:47:07] local.INFO: Acknowledgment sent {"connection_id":159382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:47:08] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:08] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:08] local.INFO: IMEI packet received {"connection_id":159381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":159381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:47:08] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:47:08] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:47:08] local.INFO: Packet analysis {"connection_id":159381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:47:08] local.INFO: Extracted packet for processing {"connection_id":159381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:47:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:47: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-08-21 14:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":159381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:47:08] local.INFO: GPS data processed {"connection_id":159381,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:47:08] local.INFO: Acknowledgment sent {"connection_id":159381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:47:13] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:47:13] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:47:13] local.INFO: Packet analysis {"connection_id":159381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:47:13] local.INFO: Extracted packet for processing {"connection_id":159381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:47:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:47:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:47:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":159381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:47:13] local.INFO: GPS data processed {"connection_id":159381,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:47:13] local.INFO: Acknowledgment sent {"connection_id":159381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:47:38] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239b0c98012d1ad240071f84d8003800522f..."} 
[2026-08-21 14:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239b0c98012d1ad240071f84d8003800522f..."} 
[2026-08-21 14:47:38] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239b0c98012d1ad240071f84d8003800522f..."} 
[2026-08-21 14:47:38] local.INFO: Packet analysis {"connection_id":159382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239b"} 
[2026-08-21 14:47:38] local.INFO: Extracted packet for processing {"connection_id":159382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239b"} 
[2026-08-21 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756732480,"raw_latitude":119506136,"longitude_deg":75.673248,"latitude_deg":11.9506136,"altitude":56,"angle":82,"satellites":47,"speed":18,"hex_longitude":"2d1ad240","hex_latitude":"071f84d8","is_valid_coordinates":true} 
[2026-08-21 14:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549760512001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14199797535735808,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929722102177648640,"note":"Value kept but may cause issues"} 
[2026-08-21 14:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787303759000,"timestamp_ms":1787303759000,"timestamp_seconds":1787303759,"priority":1,"record_length":96,"hex_timestamp":"000001a0239b0c98"} 
[2026-08-21 14:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 14:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549760512001,"66":14298,"101":206,"83":41984,"24":18,"16":14199797535735808,"45":1929722102177648640},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549760512001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:47:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14199797535735808,"km_value":14199797535735.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929722102177648640,"description":"Unknown IO ID 45"} 
[2026-08-21 14:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549760512001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1929722102177648640}} 
[2026-08-21 14:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":159382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:47:38] local.INFO: GPS data processed {"connection_id":159382,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:47:38] local.INFO: Acknowledgment sent {"connection_id":159382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:47:57] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:57] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:47:57] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:48:02] local.INFO: TCP Data received {"connection_id":159383,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:02] local.INFO: Processing buffer {"connection_id":159383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:02] local.INFO: IMEI packet received {"connection_id":159383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:48:02] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:48:02] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:48:02] local.INFO: IMEI packet received {"connection_id":161661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":161661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:48:03] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:48:03] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:48:03] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:48:03] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:48: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-08-21 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:48:03] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:48:03] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:48:03] local.INFO: TCP Data received {"connection_id":159383,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239cae90012d7a04c005e464e8001001111f..."} 
[2026-08-21 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239cae90012d7a04c005e464e8001001111f..."} 
[2026-08-21 14:48:03] local.INFO: Processing buffer {"connection_id":159383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239cae90012d7a04c005e464e8001001111f..."} 
[2026-08-21 14:48:03] local.INFO: Packet analysis {"connection_id":159383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:03] local.INFO: Extracted packet for processing {"connection_id":159383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":762971328,"raw_latitude":98854120,"longitude_deg":76.2971328,"latitude_deg":9.885412,"altitude":16,"angle":273,"satellites":31,"speed":17,"hex_longitude":"2d7a04c0","hex_latitude":"05e464e8","is_valid_coordinates":true} 
[2026-08-21 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549784832001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121741900272107520,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886452736,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303866000,"timestamp_ms":1787303866000,"timestamp_seconds":1787303866,"priority":1,"record_length":96,"hex_timestamp":"000001a0239cae90"} 
[2026-08-21 14:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 14:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549784832001,"66":13059,"208":206,"85":15104,"24":17,"16":121741900272107520,"45":8800667015886452736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549784832001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121741900272107520,"km_value":121741900272107.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886452736,"description":"Unknown IO ID 45"} 
[2026-08-21 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549784832001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8800667015886452736}} 
[2026-08-21 14:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:48:04] local.INFO: GPS data processed {"connection_id":159383,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:48:04] local.INFO: Acknowledgment sent {"connection_id":159383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:48:06] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:06] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:06] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:48:09] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:09] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:09] local.INFO: IMEI packet received {"connection_id":159102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":159102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:48:12] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239c1250012d1b4880071f7d08003c00502e..."} 
[2026-08-21 14:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239c1250012d1b4880071f7d08003c00502e..."} 
[2026-08-21 14:48:12] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239c1250012d1b4880071f7d08003c00502e..."} 
[2026-08-21 14:48:12] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:12] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756762752,"raw_latitude":119504136,"longitude_deg":75.6762752,"latitude_deg":11.9504136,"altitude":60,"angle":80,"satellites":46,"speed":16,"hex_longitude":"2d1b4880","hex_latitude":"071f7d08","is_valid_coordinates":true} 
[2026-08-21 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549779200001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14201356608864256,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965469424219361280,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787303826000,"timestamp_ms":1787303826000,"timestamp_seconds":1787303826,"priority":1,"record_length":96,"hex_timestamp":"000001a0239c1250"} 
[2026-08-21 14:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 14:48: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-08-21 14:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549779200001,"66":14298,"101":206,"83":41984,"24":16,"16":14201356608864256,"45":1965469424219361280},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549779200001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:48:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:48:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14201356608864256,"km_value":14201356608864.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965469424219361280,"description":"Unknown IO ID 45"} 
[2026-08-21 14:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549779200001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1965469424219361280}} 
[2026-08-21 14:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:48:12] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:48:12] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:48:16] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239c1638012d1b4a00071f7d00003c005d2e..."} 
[2026-08-21 14:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239c1638012d1b4a00071f7d00003c005d2e..."} 
[2026-08-21 14:48:16] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239c1638012d1b4a00071f7d00003c005d2e..."} 
[2026-08-21 14:48:16] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:16] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":756763136,"raw_latitude":119504128,"longitude_deg":75.6763136,"latitude_deg":11.9504128,"altitude":60,"angle":93,"satellites":46,"speed":15,"hex_longitude":"2d1b4a00","hex_latitude":"071f7d00","is_valid_coordinates":true} 
[2026-08-21 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549779456001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14201373788733440,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965962005428635648,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48: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-08-21 14:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787303827000,"timestamp_ms":1787303827000,"timestamp_seconds":1787303827,"priority":1,"record_length":96,"hex_timestamp":"000001a0239c1638"} 
[2026-08-21 14:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 14:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549779456001,"66":14298,"101":206,"83":41984,"24":15,"16":14201373788733440,"45":1965962005428635648},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549779456001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:48:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:48:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14201373788733440,"km_value":14201373788733.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965962005428635648,"description":"Unknown IO ID 45"} 
[2026-08-21 14:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549779456001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1965962005428635648}} 
[2026-08-21 14:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:48:16] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:48:16] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:48:34] local.INFO: TCP Data received {"connection_id":161661,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:48:34] local.INFO: Processing buffer {"connection_id":161661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:48:34] local.INFO: Packet analysis {"connection_id":161661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:48:34] local.INFO: Extracted packet for processing {"connection_id":161661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:48:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:48:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":161661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:48:34] local.INFO: GPS data processed {"connection_id":161661,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:48:34] local.INFO: Acknowledgment sent {"connection_id":161661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:48:35] local.INFO: TCP Data received {"connection_id":159383,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239cba48012d7a00c005e46568000f01011f..."} 
[2026-08-21 14:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239cba48012d7a00c005e46568000f01011f..."} 
[2026-08-21 14:48:35] local.INFO: Processing buffer {"connection_id":159383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239cba48012d7a00c005e46568000f01011f..."} 
[2026-08-21 14:48:35] local.INFO: Packet analysis {"connection_id":159383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:35] local.INFO: Extracted packet for processing {"connection_id":159383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:35] local.INFO: GPS Element Parsed {"raw_longitude":762970304,"raw_latitude":98854248,"longitude_deg":76.2970304,"latitude_deg":9.8854248,"altitude":15,"angle":257,"satellites":31,"speed":9,"hex_longitude":"2d7a00c0","hex_latitude":"05e46568","is_valid_coordinates":true} 
[2026-08-21 14:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549789696001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121741951811715072,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792363504073238528,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787303869000,"timestamp_ms":1787303869000,"timestamp_seconds":1787303869,"priority":1,"record_length":96,"hex_timestamp":"000001a0239cba48"} 
[2026-08-21 14:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163549732184,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":39,"raw_value":58079734643818503,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2622797825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3489738106,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941336,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2201681920,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831894016,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,208,85,24,241,157,16,131,160,100,45,64,104,18,31,10,66,39,87,96,88,1,240,3,227,35,228,4,113,205,9,80,38,239,51,2,176,5,17,7],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-08-21 14:48:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153221804426330112,"timestamp_seconds":1153221804426330.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549789696001,"66":12341,"208":206,"85":15104,"24":9,"16":121741951811715072,"45":8792363504073238528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549789696001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:48:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121741951811715072,"km_value":121741951811715.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792363504073238528,"description":"Unknown IO ID 45"} 
[2026-08-21 14:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549789696001,"power":12341,"unknown_208":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8792363504073238528}} 
[2026-08-21 14:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":159383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676176,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:48:35] local.INFO: GPS data processed {"connection_id":159383,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:48:35] local.INFO: Acknowledgment sent {"connection_id":159383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:48:49] local.INFO: TCP Data received {"connection_id":159102,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239cd5a0012d1b7740071f6fc8004200452a..."} 
[2026-08-21 14:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159102,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239cd5a0012d1b7740071f6fc8004200452a..."} 
[2026-08-21 14:48:49] local.INFO: Processing buffer {"connection_id":159102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239cd5a0012d1b7740071f6fc8004200452a..."} 
[2026-08-21 14:48:49] local.INFO: Packet analysis {"connection_id":159102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:49] local.INFO: Extracted packet for processing {"connection_id":159102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756774720,"raw_latitude":119500744,"longitude_deg":75.677472,"latitude_deg":11.9500744,"altitude":66,"angle":69,"satellites":42,"speed":8,"hex_longitude":"2d1b7740","hex_latitude":"071f6fc8","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549789696001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14202039508664320,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1976728423286898688,"note":"Value kept but may cause issues"} 
[2026-08-21 14:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1787303876000,"timestamp_ms":1787303876000,"timestamp_seconds":1787303876,"priority":1,"record_length":96,"hex_timestamp":"000001a0239cd5a0"} 
[2026-08-21 14:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 14:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":159102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":159102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":159102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549789696001,"66":14396,"101":206,"83":41984,"24":8,"16":14202039508664320,"45":1976728423286898688},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549789696001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14202039508664320,"km_value":14202039508664.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1976728423286898688,"description":"Unknown IO ID 45"} 
[2026-08-21 14:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549789696001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1976728423286898688}} 
[2026-08-21 14:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":159102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:48:49] local.INFO: GPS data processed {"connection_id":159102,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:48:49] local.INFO: Acknowledgment sent {"connection_id":159102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:48:56] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:56] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:56] local.INFO: IMEI packet received {"connection_id":159385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":159385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:48:58] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:48:58] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:48:58] local.INFO: IMEI packet received {"connection_id":159384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":159384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:48:58] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:58] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:48:58] local.INFO: IMEI packet received {"connection_id":159386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 14:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":159386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:48:59] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:59] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:48:59] local.INFO: IMEI packet received {"connection_id":159385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":159385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:49:01] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:49:01] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:49:01] local.INFO: IMEI packet received {"connection_id":159385,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":159385,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:49:01] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:49:01] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:49:01] local.INFO: IMEI packet received {"connection_id":159386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":159386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:49:02] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239cbe30012d79ffc005e46530000e00ef1e..."} 
[2026-08-21 14:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239cbe30012d79ffc005e46530000e00ef1e..."} 
[2026-08-21 14:49:02] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239cbe30012d79ffc005e46530000e00ef1e..."} 
[2026-08-21 14:49:02] local.INFO: Packet analysis {"connection_id":159385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:49:02] local.INFO: Extracted packet for processing {"connection_id":159385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:49:02] local.INFO: GPS Element Parsed {"raw_longitude":762970048,"raw_latitude":98854192,"longitude_deg":76.2970048,"latitude_deg":9.8854192,"altitude":14,"angle":239,"satellites":30,"speed":6,"hex_longitude":"2d79ffc0","hex_latitude":"05e46530","is_valid_coordinates":true} 
[2026-08-21 14:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549790464001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121741964696616960,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791237604166428672,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787303870000,"timestamp_ms":1787303870000,"timestamp_seconds":1787303870,"priority":1,"record_length":96,"hex_timestamp":"000001a0239cbe30"} 
[2026-08-21 14:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 14:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549790464001,"66":12200,"208":206,"85":15104,"24":6,"16":121741964696616960,"45":8791237604166428672},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549790464001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:49:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121741964696616960,"km_value":121741964696616.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791237604166428672,"description":"Unknown IO ID 45"} 
[2026-08-21 14:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549790464001,"power":12200,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8791237604166428672}} 
[2026-08-21 14:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":159385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:49:02] local.INFO: GPS data processed {"connection_id":159385,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:49:02] local.INFO: Acknowledgment sent {"connection_id":159385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:49:03] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:49:03] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:49:03] local.INFO: IMEI packet received {"connection_id":159384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":159384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:49:03] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:49:03] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:49:03] local.INFO: Packet analysis {"connection_id":159384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:49:03] local.INFO: Extracted packet for processing {"connection_id":159384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:49:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:49: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-08-21 14:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:49:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":159384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:49:03] local.INFO: GPS data processed {"connection_id":159384,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:49:03] local.INFO: Acknowledgment sent {"connection_id":159384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:49:06] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:49:06] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 14:49:06] local.INFO: IMEI packet received {"connection_id":159386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 14:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":159386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:49:07] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0239cdd70012d1b7940071f70980043003a2a..."} 
[2026-08-21 14:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239cdd70012d1b7940071f70980043003a2a..."} 
[2026-08-21 14:49:07] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239cdd70012d1b7940071f70980043003a2a..."} 
[2026-08-21 14:49:07] local.INFO: Packet analysis {"connection_id":159386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:49:07] local.INFO: Extracted packet for processing {"connection_id":159386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756775232,"raw_latitude":119500952,"longitude_deg":75.6775232,"latitude_deg":11.9500952,"altitude":67,"angle":58,"satellites":42,"speed":8,"hex_longitude":"2d1b7940","hex_latitude":"071f7098","is_valid_coordinates":true} 
[2026-08-21 14:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549792256001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14202065278468096,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979120960588990464,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303878000,"timestamp_ms":1787303878000,"timestamp_seconds":1787303878,"priority":1,"record_length":96,"hex_timestamp":"000001a0239cdd70"} 
[2026-08-21 14:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 14:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 14:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 14:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 14:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549792256001,"66":14374,"101":206,"83":41984,"24":8,"16":14202065278468096,"45":1979120960588990464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 14:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 14:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 14:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549792256001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:49:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 14:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 14:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14202065278468096,"km_value":14202065278468.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979120960588990464,"description":"Unknown IO ID 45"} 
[2026-08-21 14:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549792256001,"power":14374,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1979120960588990464}} 
[2026-08-21 14:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":159386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:49:07] local.INFO: GPS data processed {"connection_id":159386,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:49:07] local.INFO: Acknowledgment sent {"connection_id":159386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:49:34] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239cc600012d79ff4005e46468000e00c51f..."} 
[2026-08-21 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239cc600012d79ff4005e46468000e00c51f..."} 
[2026-08-21 14:49:34] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239cc600012d79ff4005e46468000e00c51f..."} 
[2026-08-21 14:49:34] local.INFO: Packet analysis {"connection_id":159385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:49:34] local.INFO: Extracted packet for processing {"connection_id":159385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:49:34] local.INFO: GPS Element Parsed {"raw_longitude":762969920,"raw_latitude":98853992,"longitude_deg":76.296992,"latitude_deg":9.8853992,"altitude":14,"angle":197,"satellites":31,"speed":5,"hex_longitude":"2d79ff40","hex_latitude":"05e46468","is_valid_coordinates":true} 
[2026-08-21 14:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549790720001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121741973286551552,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790956129189703680,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303872000,"timestamp_ms":1787303872000,"timestamp_seconds":1787303872,"priority":1,"record_length":96,"hex_timestamp":"000001a0239cc600"} 
[2026-08-21 14:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 14:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159385,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549790720001,"66":12863,"208":206,"85":15104,"24":5,"16":121741973286551552,"45":8790956129189703680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549790720001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121741973286551552,"km_value":121741973286551.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790956129189703680,"description":"Unknown IO ID 45"} 
[2026-08-21 14:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549790720001,"power":12863,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8790956129189703680}} 
[2026-08-21 14:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":159385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:49:34] local.INFO: GPS data processed {"connection_id":159385,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:49:34] local.INFO: Acknowledgment sent {"connection_id":159385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:49:34] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:49:34] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239989e0012dde4440050df350002b000913..."} 
[2026-08-21 14:49:34] local.INFO: Packet analysis {"connection_id":159384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:49:34] local.INFO: Extracted packet for processing {"connection_id":159384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02399"} 
[2026-08-21 14:49:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":43,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549659904001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303660000,"timestamp_ms":1787303660000,"timestamp_seconds":1787303660,"priority":1,"record_length":96,"hex_timestamp":"000001a0239989e0"} 
[2026-08-21 14:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 14:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549659904001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549659904001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549659904001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":159384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:49:34] local.INFO: GPS data processed {"connection_id":159384,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:49:34] local.INFO: Acknowledgment sent {"connection_id":159384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:49:57] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:49:57] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:49:57] local.INFO: IMEI packet received {"connection_id":159387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":159387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:50:00] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:00] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:00] local.INFO: IMEI packet received {"connection_id":159387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":159387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:50:01] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:01] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:01] local.INFO: IMEI packet received {"connection_id":159388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":159388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:50:02] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:02] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:02] local.INFO: IMEI packet received {"connection_id":159388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":159388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:50:03] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:03] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:03] local.INFO: IMEI packet received {"connection_id":159387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":159387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:50:03] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:03] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:03] local.INFO: Packet analysis {"connection_id":159387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:50:03] local.INFO: Extracted packet for processing {"connection_id":159387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:50:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:50: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-08-21 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:50: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-08-21 14:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:50:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":159387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:50:03] local.INFO: GPS data processed {"connection_id":159387,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:50:03] local.INFO: Acknowledgment sent {"connection_id":159387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:50:06] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:06] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:50:06] local.INFO: IMEI packet received {"connection_id":159388,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":159388,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:50:07] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239cc9e8012d79ff4005e463d8000e00ae1f..."} 
[2026-08-21 14:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239cc9e8012d79ff4005e463d8000e00ae1f..."} 
[2026-08-21 14:50:07] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239cc9e8012d79ff4005e463d8000e00ae1f..."} 
[2026-08-21 14:50:07] local.INFO: Packet analysis {"connection_id":159388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:50:07] local.INFO: Extracted packet for processing {"connection_id":159388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239c"} 
[2026-08-21 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":762969920,"raw_latitude":98853848,"longitude_deg":76.296992,"latitude_deg":9.8853848,"altitude":14,"angle":174,"satellites":31,"speed":6,"hex_longitude":"2d79ff40","hex_latitude":"05e463d8","is_valid_coordinates":true} 
[2026-08-21 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549791232001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121741981876486144,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790815391701297152,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787303873000,"timestamp_ms":1787303873000,"timestamp_seconds":1787303873,"priority":1,"record_length":96,"hex_timestamp":"000001a0239cc9e8"} 
[2026-08-21 14:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 14:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549791232001,"66":12863,"208":206,"85":15104,"24":6,"16":121741981876486144,"45":8790815391701297152},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549791232001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:50:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:50:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121741981876486144,"km_value":121741981876486.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790815391701297152,"description":"Unknown IO ID 45"} 
[2026-08-21 14:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549791232001,"power":12863,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8790815391701297152}} 
[2026-08-21 14:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":159388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:50:07] local.INFO: GPS data processed {"connection_id":159388,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:50:07] local.INFO: Acknowledgment sent {"connection_id":159388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:50:08] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:08] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:08] local.INFO: Packet analysis {"connection_id":159387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:50:08] local.INFO: Extracted packet for processing {"connection_id":159387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:50:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:50:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:50:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":159387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:50:08] local.INFO: GPS data processed {"connection_id":159387,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:50:08] local.INFO: Acknowledgment sent {"connection_id":159387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:50:12] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239d0480012d79ffc005e46378000c006f20..."} 
[2026-08-21 14:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239d0480012d79ffc005e46378000c006f20..."} 
[2026-08-21 14:50:12] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239d0480012d79ffc005e46378000c006f20..."} 
[2026-08-21 14:50:12] local.INFO: Packet analysis {"connection_id":159388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239d"} 
[2026-08-21 14:50:12] local.INFO: Extracted packet for processing {"connection_id":159388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239d"} 
[2026-08-21 14:50:12] local.INFO: GPS Element Parsed {"raw_longitude":762970048,"raw_latitude":98853752,"longitude_deg":76.2970048,"latitude_deg":9.8853752,"altitude":12,"angle":111,"satellites":32,"speed":3,"hex_longitude":"2d79ffc0","hex_latitude":"05e46378","is_valid_coordinates":true} 
[2026-08-21 14:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549791488001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742016236224512,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8790815391701260288,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787303888000,"timestamp_ms":1787303888000,"timestamp_seconds":1787303888,"priority":1,"record_length":96,"hex_timestamp":"000001a0239d0480"} 
[2026-08-21 14:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 14:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159388,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549791488001,"66":13091,"208":206,"85":15104,"24":3,"16":121742016236224512,"45":8790815391701260288},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549791488001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:50:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742016236224512,"km_value":121742016236224.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8790815391701260288,"description":"Unknown IO ID 45"} 
[2026-08-21 14:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549791488001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8790815391701260288}} 
[2026-08-21 14:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":159388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:50:12] local.INFO: GPS data processed {"connection_id":159388,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:50:12] local.INFO: Acknowledgment sent {"connection_id":159388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:50:39] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:39] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:50:39] local.INFO: Packet analysis {"connection_id":159387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:50:39] local.INFO: Extracted packet for processing {"connection_id":159387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:50:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:50:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:50:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":159387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:50:39] local.INFO: GPS data processed {"connection_id":159387,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:50:39] local.INFO: Acknowledgment sent {"connection_id":159387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:50:57] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:57] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:50:57] local.INFO: IMEI packet received {"connection_id":159389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":159389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:51:02] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:51:02] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:51:02] local.INFO: IMEI packet received {"connection_id":159389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":159389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:51:03] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:51:03] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:51:03] local.INFO: Packet analysis {"connection_id":159389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:51:03] local.INFO: Extracted packet for processing {"connection_id":159389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:51:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:51: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-08-21 14:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:51:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":159389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:51:03] local.INFO: GPS data processed {"connection_id":159389,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:51:03] local.INFO: Acknowledgment sent {"connection_id":159389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:51:26] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:26] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:26] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:51:31] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:31] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:31] local.INFO: IMEI packet received {"connection_id":161662,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":161662,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:51:32] local.INFO: TCP Data received {"connection_id":161662,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239f0820012d7a044005e46520000c012f24..."} 
[2026-08-21 14:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239f0820012d7a044005e46520000c012f24..."} 
[2026-08-21 14:51:32] local.INFO: Processing buffer {"connection_id":161662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239f0820012d7a044005e46520000c012f24..."} 
[2026-08-21 14:51:32] local.INFO: Packet analysis {"connection_id":161662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:51:32] local.INFO: Extracted packet for processing {"connection_id":161662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:51:32] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":36,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549823744001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787304020000,"timestamp_ms":1787304020000,"timestamp_seconds":1787304020,"priority":1,"record_length":96,"hex_timestamp":"000001a0239f0820"} 
[2026-08-21 14:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 14:51: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-08-21 14: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-08-21 14:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161662,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549823744001,"66":13276,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549823744001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:51:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549823744001,"power":13276,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":161662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:51:32] local.INFO: GPS data processed {"connection_id":161662,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:51:32] local.INFO: Acknowledgment sent {"connection_id":161662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:51:34] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:51:34] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:51:34] local.INFO: Packet analysis {"connection_id":159389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:51:34] local.INFO: Extracted packet for processing {"connection_id":159389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:51:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":159389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:51:34] local.INFO: GPS data processed {"connection_id":159389,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:51:34] local.INFO: Acknowledgment sent {"connection_id":159389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:51:56] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:56] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:51:56] local.INFO: IMEI packet received {"connection_id":159390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":159390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:51:57] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:51:57] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:51:57] local.INFO: IMEI packet received {"connection_id":159391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":159391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:52:01] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:52:01] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:52:01] local.INFO: IMEI packet received {"connection_id":159390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":159390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:52:02] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:52:02] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:52:02] local.INFO: IMEI packet received {"connection_id":159391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":159391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:52:03] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239f5a28012d7a044005e46520000c012f23..."} 
[2026-08-21 14:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239f5a28012d7a044005e46520000c012f23..."} 
[2026-08-21 14:52:03] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239f5a28012d7a044005e46520000c012f23..."} 
[2026-08-21 14:52:03] local.INFO: Packet analysis {"connection_id":159390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:52:03] local.INFO: Extracted packet for processing {"connection_id":159390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":35,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549829120001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304041000,"timestamp_ms":1787304041000,"timestamp_seconds":1787304041,"priority":1,"record_length":96,"hex_timestamp":"000001a0239f5a28"} 
[2026-08-21 14:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 14:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549829120001,"66":13091,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549829120001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549829120001,"power":13091,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":159390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:52:03] local.INFO: GPS data processed {"connection_id":159390,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:52:03] local.INFO: Acknowledgment sent {"connection_id":159390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:52:03] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:52:03] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:52:03] local.INFO: Packet analysis {"connection_id":159391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:52:03] local.INFO: Extracted packet for processing {"connection_id":159391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:52: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-08-21 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:52: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-08-21 14:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":159391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:52:03] local.INFO: GPS data processed {"connection_id":159391,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:52:03] local.INFO: Acknowledgment sent {"connection_id":159391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:52:34] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239fac30012d7a044005e46520000c012f22..."} 
[2026-08-21 14:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239fac30012d7a044005e46520000c012f22..."} 
[2026-08-21 14:52:34] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239fac30012d7a044005e46520000c012f22..."} 
[2026-08-21 14:52:34] local.INFO: Packet analysis {"connection_id":159390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:52:34] local.INFO: Extracted packet for processing {"connection_id":159390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:52:34] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":34,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549834496001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304062000,"timestamp_ms":1787304062000,"timestamp_seconds":1787304062,"priority":1,"record_length":96,"hex_timestamp":"000001a0239fac30"} 
[2026-08-21 14:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 14:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549834496001,"66":13363,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549834496001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549834496001,"power":13363,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":159390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676193,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:52:34] local.INFO: GPS data processed {"connection_id":159390,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:52:34] local.INFO: Acknowledgment sent {"connection_id":159390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:52:34] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:52:34] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:52:34] local.INFO: Packet analysis {"connection_id":159391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:52:34] local.INFO: Extracted packet for processing {"connection_id":159391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:52:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":159391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:52:34] local.INFO: GPS data processed {"connection_id":159391,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:52:34] local.INFO: Acknowledgment sent {"connection_id":159391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:53:01] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:01] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:01] local.INFO: IMEI packet received {"connection_id":159103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":159103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:53:03] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:03] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:03] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:53:06] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:06] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:06] local.INFO: IMEI packet received {"connection_id":159103,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":159103,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:53:07] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0239ffe38012d7a044005e46520000c012f25..."} 
[2026-08-21 14:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239ffe38012d7a044005e46520000c012f25..."} 
[2026-08-21 14:53:07] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239ffe38012d7a044005e46520000c012f25..."} 
[2026-08-21 14:53:07] local.INFO: Packet analysis {"connection_id":159103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:53:07] local.INFO: Extracted packet for processing {"connection_id":159103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239f"} 
[2026-08-21 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549839872001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787304083000,"timestamp_ms":1787304083000,"timestamp_seconds":1787304083,"priority":1,"record_length":96,"hex_timestamp":"000001a0239ffe38"} 
[2026-08-21 14:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 14:53: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-08-21 14:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549839872001,"66":12993,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549839872001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549839872001,"power":12993,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":159103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:53:07] local.INFO: GPS data processed {"connection_id":159103,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:53:07] local.INFO: Acknowledgment sent {"connection_id":159103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:53:08] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:08] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:08] local.INFO: IMEI packet received {"connection_id":159104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":159104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:53:19] local.INFO: TCP Data received {"connection_id":159104,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:53:19] local.INFO: Processing buffer {"connection_id":159104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:53:19] local.INFO: Packet analysis {"connection_id":159104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:53:19] local.INFO: Extracted packet for processing {"connection_id":159104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:53:19] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:53:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":159104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:53:19] local.INFO: GPS data processed {"connection_id":159104,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:53:19] local.INFO: Acknowledgment sent {"connection_id":159104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:53:39] local.INFO: TCP Data received {"connection_id":159103,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:53:39] local.INFO: Processing buffer {"connection_id":159103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:53:39] local.INFO: Packet analysis {"connection_id":159103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:53:39] local.INFO: Extracted packet for processing {"connection_id":159103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:53:39] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549845248001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787304093000,"timestamp_ms":1787304093000,"timestamp_seconds":1787304093,"priority":1,"record_length":96,"hex_timestamp":"000001a023a02548"} 
[2026-08-21 14:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 14:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 14:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159103,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549845248001,"66":13059,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549845248001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:53:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549845248001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":159103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:53:39] local.INFO: GPS data processed {"connection_id":159103,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:53:39] local.INFO: Acknowledgment sent {"connection_id":159103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:53:56] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:56] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:53:56] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:53:57] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:57] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:53:57] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:54:01] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:54:01] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:54:01] local.INFO: IMEI packet received {"connection_id":160280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":160280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:54:03] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:54:03] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:54:03] local.INFO: IMEI packet received {"connection_id":160281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":160281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:54:03] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:54:03] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:54:03] local.INFO: Packet analysis {"connection_id":160280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:54:03] local.INFO: Extracted packet for processing {"connection_id":160280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304093000,"timestamp_ms":1787304093000,"timestamp_seconds":1787304093,"priority":1,"record_length":96,"hex_timestamp":"000001a023a02548"} 
[2026-08-21 14:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861279,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2668109825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,131,160,254,45,64,101,12,37,10,66,172,34,90,1,240,35,227,228,4,113,205,182,32,36,239,50,2,176,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:54:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141551,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":13059,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:54:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:54:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":160280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:54:03] local.INFO: GPS data processed {"connection_id":160280,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:54:03] local.INFO: Acknowledgment sent {"connection_id":160280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:54:04] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:54:04] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:54:04] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:54:04] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:54:04] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:54: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-08-21 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:54:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:54:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:54:04] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:54:04] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:54:35] local.INFO: TCP Data received {"connection_id":160281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:54:35] local.INFO: Processing buffer {"connection_id":160281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0239e21a8012dde4440050df350002a000910..."} 
[2026-08-21 14:54:35] local.INFO: Packet analysis {"connection_id":160281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:54:35] local.INFO: Extracted packet for processing {"connection_id":160281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0239e"} 
[2026-08-21 14:54:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":42,"angle":9,"satellites":16,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549736960001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787303961000,"timestamp_ms":1787303961000,"timestamp_seconds":1787303961,"priority":1,"record_length":96,"hex_timestamp":"000001a0239e21a8"} 
[2026-08-21 14:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 14:54:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549736960001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549736960001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549736960001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":160281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:54:35] local.INFO: GPS data processed {"connection_id":160281,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:54:35] local.INFO: Acknowledgment sent {"connection_id":160281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:54:35] local.INFO: TCP Data received {"connection_id":160280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:54:35] local.INFO: Processing buffer {"connection_id":160280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:54:35] local.INFO: Packet analysis {"connection_id":160280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:54:35] local.INFO: Extracted packet for processing {"connection_id":160280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:54:35] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787304093000,"timestamp_ms":1787304093000,"timestamp_seconds":1787304093,"priority":1,"record_length":96,"hex_timestamp":"000001a023a02548"} 
[2026-08-21 14:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861279,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2668109825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:54:35] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,131,160,254,45,64,101,12,37,10,66,172,34,90,1,240,35,227,228,4,113,205,182,32,36,239,50,2,176,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:54:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141551,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":13059,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":160280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:54:36] local.INFO: GPS data processed {"connection_id":160280,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:54:36] local.INFO: Acknowledgment sent {"connection_id":160280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:54:58] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:54:58] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:54:58] local.INFO: IMEI packet received {"connection_id":159105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":159105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:55:01] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:55:01] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:55:01] local.INFO: IMEI packet received {"connection_id":159105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":159105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:55:01] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:55:01] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:55:01] local.INFO: Packet analysis {"connection_id":159105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:55:01] local.INFO: Extracted packet for processing {"connection_id":159105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:55:01] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:55: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-08-21 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:55:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:55:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":159105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:55:01] local.INFO: GPS data processed {"connection_id":159105,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:55:01] local.INFO: Acknowledgment sent {"connection_id":159105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:55:07] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:55:07] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:55:07] local.INFO: IMEI packet received {"connection_id":159106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":159106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:55:11] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:55:11] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:55:11] local.INFO: IMEI packet received {"connection_id":159106,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":159106,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:55:12] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:55:12] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:55:12] local.INFO: Packet analysis {"connection_id":159106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:55:12] local.INFO: Extracted packet for processing {"connection_id":159106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787304093000,"timestamp_ms":1787304093000,"timestamp_seconds":1787304093,"priority":1,"record_length":96,"hex_timestamp":"000001a023a02548"} 
[2026-08-21 14:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861279,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2668109825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:12] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,131,160,254,45,64,101,12,37,10,66,172,34,90,1,240,35,227,228,4,113,205,182,32,36,239,50,2,176,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:55:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141551,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":13059,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:55:12] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:55:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":159106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:55:12] local.INFO: GPS data processed {"connection_id":159106,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:55:12] local.INFO: Acknowledgment sent {"connection_id":159106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:55:17] local.INFO: TCP Data received {"connection_id":159106,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:55:17] local.INFO: Processing buffer {"connection_id":159106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:55:17] local.INFO: Packet analysis {"connection_id":159106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:55:17] local.INFO: Extracted packet for processing {"connection_id":159106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787304093000,"timestamp_ms":1787304093000,"timestamp_seconds":1787304093,"priority":1,"record_length":96,"hex_timestamp":"000001a023a02548"} 
[2026-08-21 14:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861279,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2668109825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,131,160,254,45,64,101,12,37,10,66,172,34,90,1,240,35,227,228,4,113,205,182,32,36,239,50,2,176,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:55:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141551,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159106,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:55: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-08-21 14:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":13059,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:55:17] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:55:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":159106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:55:17] local.INFO: GPS data processed {"connection_id":159106,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:55:17] local.INFO: Acknowledgment sent {"connection_id":159106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:55:32] local.INFO: TCP Data received {"connection_id":159105,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:55:32] local.INFO: Processing buffer {"connection_id":159105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:55:32] local.INFO: Packet analysis {"connection_id":159105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:55:32] local.INFO: Extracted packet for processing {"connection_id":159105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:55:32] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:55: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-08-21 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:55:32] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:55:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":159105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:55:32] local.INFO: GPS data processed {"connection_id":159105,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:55:32] local.INFO: Acknowledgment sent {"connection_id":159105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:56:00] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:00] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:00] local.INFO: IMEI packet received {"connection_id":159107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":159107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:56:01] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:01] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:01] local.INFO: IMEI packet received {"connection_id":159107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":159107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:56:02] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:56:02] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:56:02] local.INFO: Packet analysis {"connection_id":159107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:56:02] local.INFO: Extracted packet for processing {"connection_id":159107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:56: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-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787304093000,"timestamp_ms":1787304093000,"timestamp_seconds":1787304093,"priority":1,"record_length":96,"hex_timestamp":"000001a023a02548"} 
[2026-08-21 14:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861279,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2668109825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:02] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,131,160,254,45,64,101,12,37,10,66,172,34,90,1,240,35,227,228,4,113,205,182,32,36,239,50,2,176,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:56:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141551,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":13059,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:56:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":159107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:56:02] local.INFO: GPS data processed {"connection_id":159107,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:56:02] local.INFO: Acknowledgment sent {"connection_id":159107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:56:02] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:02] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:02] local.INFO: IMEI packet received {"connection_id":159108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":159108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:56:06] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:56:06] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a02548012d7a044005e46520000c012f25..."} 
[2026-08-21 14:56:06] local.INFO: Packet analysis {"connection_id":159107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:56:06] local.INFO: Extracted packet for processing {"connection_id":159107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a0"} 
[2026-08-21 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":762971200,"raw_latitude":98854176,"longitude_deg":76.29712,"latitude_deg":9.8854176,"altitude":12,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0440","hex_latitude":"05e46520","is_valid_coordinates":true} 
[2026-08-21 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787304093000,"timestamp_ms":1787304093000,"timestamp_seconds":1787304093,"priority":1,"record_length":96,"hex_timestamp":"000001a023a02548"} 
[2026-08-21 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861279,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2668109825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,208,85,24,241,157,16,131,160,254,45,64,101,12,37,10,66,172,34,90,1,240,35,227,228,4,113,205,182,32,36,239,50,2,176,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:56:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141551,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":13059,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:56:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":13059,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":159107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:56:07] local.INFO: GPS data processed {"connection_id":159107,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:56:07] local.INFO: Acknowledgment sent {"connection_id":159107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:56:07] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:08] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:08] local.INFO: IMEI packet received {"connection_id":159108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":159108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:56:08] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:56:08] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:56:08] local.INFO: Packet analysis {"connection_id":159108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:56:08] local.INFO: Extracted packet for processing {"connection_id":159108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:56:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:56:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:56:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":159108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:56:08] local.INFO: GPS data processed {"connection_id":159108,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:56:08] local.INFO: Acknowledgment sent {"connection_id":159108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:56:13] local.INFO: TCP Data received {"connection_id":159108,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:56:13] local.INFO: Processing buffer {"connection_id":159108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:56:13] local.INFO: Packet analysis {"connection_id":159108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:56:13] local.INFO: Extracted packet for processing {"connection_id":159108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:56:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:56:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:56:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":159108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:56:13] local.INFO: GPS data processed {"connection_id":159108,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:56:13] local.INFO: Acknowledgment sent {"connection_id":159108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:56:39] local.INFO: TCP Data received {"connection_id":159107,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:56:39] local.INFO: Processing buffer {"connection_id":159107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:56:39] local.INFO: Packet analysis {"connection_id":159107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:56:39] local.INFO: Extracted packet for processing {"connection_id":159107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:56:39] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 14:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 14:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:56:39] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:56:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:56:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:56:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":159107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:56:39] local.INFO: GPS data processed {"connection_id":159107,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:56:39] local.INFO: Acknowledgment sent {"connection_id":159107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:56:56] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:56] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:56:56] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:56:57] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:57] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:56:57] local.INFO: IMEI packet received {"connection_id":159392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":159392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:57:01] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:57:01] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:57:01] local.INFO: IMEI packet received {"connection_id":160282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":160282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:57:03] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:57:03] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:57:03] local.INFO: IMEI packet received {"connection_id":159392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":159392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:57:03] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:57:03] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:57:03] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:57:03] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 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-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 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-08-21 14:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:57:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 14:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676211,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:57:03] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:57:03] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:57:03] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:57:03] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:57:03] local.INFO: Packet analysis {"connection_id":159392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:57:03] local.INFO: Extracted packet for processing {"connection_id":159392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:57:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 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-08-21 14:57: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-08-21 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 14:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":159392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:57:03] local.INFO: GPS data processed {"connection_id":159392,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:57:03] local.INFO: Acknowledgment sent {"connection_id":159392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:57:34] local.INFO: TCP Data received {"connection_id":160282,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:57:34] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:57:34] local.INFO: Processing buffer {"connection_id":160282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:57:34] local.INFO: Packet analysis {"connection_id":160282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:57:34] local.INFO: Extracted packet for processing {"connection_id":160282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 14:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 14:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:57:34] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:57:34] local.INFO: Packet analysis {"connection_id":159392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:57:34] local.INFO: Extracted packet for processing {"connection_id":159392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:57:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:57:34] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:57:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":159392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:57:34] local.INFO: GPS data processed {"connection_id":159392,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:57:34] local.INFO: Acknowledgment sent {"connection_id":159392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":160282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:57:34] local.INFO: GPS data processed {"connection_id":160282,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:57:34] local.INFO: Acknowledgment sent {"connection_id":160282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:57:56] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:57:56] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:57:56] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:57:57] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:57:57] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:57:57] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:58:01] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:58:01] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:58:01] local.INFO: IMEI packet received {"connection_id":160284,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":160284,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:58:02] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:58:02] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:58:02] local.INFO: IMEI packet received {"connection_id":160283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":160283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:58:03] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:58:03] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:58:03] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:58:03] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 14:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:58:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676215,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:58:03] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:58:03] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:58:03] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:58:03] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:58:03] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:58:03] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:58:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14: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-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:58: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-08-21 14:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14: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-08-21 14:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:58: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-08-21 14:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:58:03] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:58:03] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:58:34] local.INFO: TCP Data received {"connection_id":160283,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:58:34] local.INFO: Processing buffer {"connection_id":160283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:58:34] local.INFO: Packet analysis {"connection_id":160283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:58:34] local.INFO: Extracted packet for processing {"connection_id":160283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:58:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":160283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:58:34] local.INFO: GPS data processed {"connection_id":160283,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:58:34] local.INFO: Acknowledgment sent {"connection_id":160283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:58:34] local.INFO: TCP Data received {"connection_id":160284,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:58:34] local.INFO: Processing buffer {"connection_id":160284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:58:34] local.INFO: Packet analysis {"connection_id":160284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:58:34] local.INFO: Extracted packet for processing {"connection_id":160284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 14:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 14:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:58:34] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:58:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160284,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":160284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:58:34] local.INFO: GPS data processed {"connection_id":160284,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:58:34] local.INFO: Acknowledgment sent {"connection_id":160284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:58:57] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:58:57] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:58:57] local.INFO: IMEI packet received {"connection_id":159393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":159393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:59:01] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:01] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:01] local.INFO: IMEI packet received {"connection_id":159109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":159109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:59:02] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:59:02] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:59:02] local.INFO: IMEI packet received {"connection_id":159393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 14:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":159393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:59:03] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:59:03] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:59:03] local.INFO: Packet analysis {"connection_id":159393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:59:03] local.INFO: Extracted packet for processing {"connection_id":159393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:59:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:59: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-08-21 14:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:59: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-08-21 14:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:59:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":159393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:59:03] local.INFO: GPS data processed {"connection_id":159393,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:59:03] local.INFO: Acknowledgment sent {"connection_id":159393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:59:06] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:06] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:06] local.INFO: IMEI packet received {"connection_id":159109,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 14:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":159109,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 14:59:07] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:59:07] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:59:07] local.INFO: Packet analysis {"connection_id":159109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:59:07] local.INFO: Extracted packet for processing {"connection_id":159109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:59:07] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 14:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 14:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:59:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:59:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":159109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:59:07] local.INFO: GPS data processed {"connection_id":159109,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:59:07] local.INFO: Acknowledgment sent {"connection_id":159109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:59:11] local.INFO: TCP Data received {"connection_id":159109,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:59:11] local.INFO: Processing buffer {"connection_id":159109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 14:59:11] local.INFO: Packet analysis {"connection_id":159109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:59:11] local.INFO: Extracted packet for processing {"connection_id":159109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 14:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 14:59:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 14:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159109,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 14:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 14:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 14:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 14:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 14:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 14:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:59:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 14:59:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 14:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 14:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":159109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:59:12] local.INFO: GPS data processed {"connection_id":159109,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:59:12] local.INFO: Acknowledgment sent {"connection_id":159109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:59:34] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:59:34] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a2b970012dde4440050df3500028000915..."} 
[2026-08-21 14:59:34] local.INFO: Packet analysis {"connection_id":159393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:59:34] local.INFO: Extracted packet for processing {"connection_id":159393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a2"} 
[2026-08-21 14:59:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 14:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 14:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 14:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 14:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304262000,"timestamp_ms":1787304262000,"timestamp_seconds":1787304262,"priority":1,"record_length":96,"hex_timestamp":"000001a023a2b970"} 
[2026-08-21 14:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 14:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 14: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 14:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 14:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 14:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 14:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 14:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 14:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 14:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 14:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 14:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 14:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549814016001,"66":25734,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 14:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 14:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 14:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 14:59:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 14:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 14:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 14:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 14:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549814016001,"power":25734,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 14:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":159393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 14:59:34] local.INFO: GPS data processed {"connection_id":159393,"processed":1,"errors":0,"total":1} 
[2026-08-21 14:59:34] local.INFO: Acknowledgment sent {"connection_id":159393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 14:59:57] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:59:57] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 14:59:57] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 14:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 14:59:58] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:58] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 14:59:58] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 14:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:00:00] local.INFO: TCP Data received {"connection_id":160285,"ip":"117.225.252.131","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:00:00] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:00:00] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:00:01] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:00:01] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:00:01] local.INFO: IMEI packet received {"connection_id":161663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":161663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:00:02] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:02] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:02] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:00:02] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:02] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:02] local.INFO: IMEI packet received {"connection_id":160286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":160286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:00:03] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:00:03] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:00:03] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:00:03] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:00: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-08-21 15: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:00:03] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:00:03] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:00:03] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 15:00:03] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 15:00:03] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 15:00:03] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 15:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:03] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 15:00:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 15:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 15:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:00:03] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:00:03] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:00:04] local.INFO: TCP Data received {"connection_id":160285,"ip":"117.225.252.131","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:00:04] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:00:04] local.INFO: IMEI packet received {"connection_id":160285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":160285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:00:07] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 15:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 15:00:07] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a4bd10012d7a038005e46518001c012f27..."} 
[2026-08-21 15:00:07] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 15:00:07] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a4"} 
[2026-08-21 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":39,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792222766584897536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787304394000,"timestamp_ms":1787304394000,"timestamp_seconds":1787304394,"priority":1,"record_length":96,"hex_timestamp":"000001a023a4bd10"} 
[2026-08-21 15:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496607,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399424,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3405774848,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040095,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2673485825,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1607467214,"corrected_to":0} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2211119104,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3831832576,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:07] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,208,85,24,241,157,16,131,160,37,45,64,101,12,10,66,254,172,1,240,51,227,35,228,4,113,205,8,32,36,239,2,176,5],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1607467214,"validated":0}]} 
[2026-08-21 15:00:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865024439392141552,"timestamp_seconds":865024439392141.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 15:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549847808001,"66":12232,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792222766584897536},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792222766584897536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549847808001,"power":12232,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792222766584897536}} 
[2026-08-21 15:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:00:07] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:00:07] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:00:34] local.INFO: TCP Data received {"connection_id":160286,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:00:34] local.INFO: Processing buffer {"connection_id":160286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:00:34] local.INFO: Packet analysis {"connection_id":160286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:00:34] local.INFO: Extracted packet for processing {"connection_id":160286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:00:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:00:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":160286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:00:34] local.INFO: GPS data processed {"connection_id":160286,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:00:34] local.INFO: Acknowledgment sent {"connection_id":160286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:00:39] local.INFO: TCP Data received {"connection_id":161663,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:00:39] local.INFO: Processing buffer {"connection_id":161663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:00:39] local.INFO: Packet analysis {"connection_id":161663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a8"} 
[2026-08-21 15:00:39] local.INFO: Extracted packet for processing {"connection_id":161663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a8"} 
[2026-08-21 15:00:39] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549924864001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787304619000,"timestamp_ms":1787304619000,"timestamp_seconds":1787304619,"priority":1,"record_length":96,"hex_timestamp":"000001a023a82bf8"} 
[2026-08-21 15:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 15:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549924864001,"66":12156,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549924864001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:00:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:00:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549924864001,"power":12156,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":161663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:00:39] local.INFO: GPS data processed {"connection_id":161663,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:00:39] local.INFO: Acknowledgment sent {"connection_id":161663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:00:56] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:00:56] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:00:56] local.INFO: IMEI packet received {"connection_id":159394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":159394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:00:58] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:58] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:00:58] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:01:01] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:01:01] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:01:01] local.INFO: IMEI packet received {"connection_id":159394,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":159394,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:01:02] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:01:02] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:01:02] local.INFO: Packet analysis {"connection_id":159394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a8"} 
[2026-08-21 15:01:02] local.INFO: Extracted packet for processing {"connection_id":159394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a8"} 
[2026-08-21 15:01:02] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787304619000,"timestamp_ms":1787304619000,"timestamp_seconds":1787304619,"priority":1,"record_length":96,"hex_timestamp":"000001a023a82bf8"} 
[2026-08-21 15:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":12156,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:01:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":12156,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":159394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:01:02] local.INFO: GPS data processed {"connection_id":159394,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:01:02] local.INFO: Acknowledgment sent {"connection_id":159394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:01:02] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:01:02] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:01:02] local.INFO: IMEI packet received {"connection_id":161664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":161664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:01:03] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:01:03] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:01:03] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:01:03] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:01:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:01: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-08-21 15:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:01: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-08-21 15:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:01:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:01:03] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:01:03] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:01:34] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:01:34] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a82bf8012d7a038005e46518001c012f25..."} 
[2026-08-21 15:01:34] local.INFO: Packet analysis {"connection_id":159394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a8"} 
[2026-08-21 15:01:34] local.INFO: Extracted packet for processing {"connection_id":159394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a8"} 
[2026-08-21 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":37,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304619000,"timestamp_ms":1787304619000,"timestamp_seconds":1787304619,"priority":1,"record_length":96,"hex_timestamp":"000001a023a82bf8"} 
[2026-08-21 15:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159394,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":12156,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":12156,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":159394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:01:34] local.INFO: GPS data processed {"connection_id":159394,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:01:34] local.INFO: Acknowledgment sent {"connection_id":159394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:01:34] local.INFO: TCP Data received {"connection_id":161664,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:01:34] local.INFO: Processing buffer {"connection_id":161664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:01:34] local.INFO: Packet analysis {"connection_id":161664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:01:34] local.INFO: Extracted packet for processing {"connection_id":161664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":161664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:01:34] local.INFO: GPS data processed {"connection_id":161664,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:01:34] local.INFO: Acknowledgment sent {"connection_id":161664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:01:56] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:01:56] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:01:56] local.INFO: IMEI packet received {"connection_id":159111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":159111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:01:57] local.INFO: TCP Data received {"connection_id":160285,"ip":"117.225.252.131","data_length":795,"data_hex":"000000000000030f8e0a000001a023a61ca0012d1bb08007200580004f00102a..."} 
[2026-08-21 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a61ca0012d1bb08007200580004f00102a..."} 
[2026-08-21 15:01:57] local.INFO: Processing buffer {"connection_id":160285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a61ca0012d1bb08007200580004f00102a..."} 
[2026-08-21 15:01:57] local.INFO: Packet analysis {"connection_id":160285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a6"} 
[2026-08-21 15:01:57] local.INFO: Extracted packet for processing {"connection_id":160285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a6"} 
[2026-08-21 15:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756789376,"raw_latitude":119539072,"longitude_deg":75.6789376,"latitude_deg":11.9539072,"altitude":79,"angle":16,"satellites":42,"speed":0,"hex_longitude":"2d1bb080","hex_latitude":"07200580","is_valid_coordinates":true} 
[2026-08-21 15:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549940480001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14205428237860864,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1995235403015487488,"note":"Value kept but may cause issues"} 
[2026-08-21 15:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787304484000,"timestamp_ms":1787304484000,"timestamp_seconds":1787304484,"priority":1,"record_length":96,"hex_timestamp":"000001a023a61ca0"} 
[2026-08-21 15:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 15:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.252.131","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549940480001,"66":12972,"61":206,"83":41984,"24":0,"16":14205428237860864,"45":1995235403015487488},"client_ip":"117.225.252.131","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,83,24,16,45]} 
[2026-08-21 15:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549940480001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:01:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-21 15:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14205428237860864,"km_value":14205428237860.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1995235403015487488,"description":"Unknown IO ID 45"} 
[2026-08-21 15:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549940480001,"power":12972,"unknown_61":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1995235403015487488}} 
[2026-08-21 15:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":160285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:01:57] local.INFO: GPS data processed {"connection_id":160285,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:01:57] local.INFO: Acknowledgment sent {"connection_id":160285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:01:57] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:01:57] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:01:57] local.INFO: IMEI packet received {"connection_id":159110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":159110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:02:01] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:02:01] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:02:01] local.INFO: IMEI packet received {"connection_id":159111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:02:02] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:02:02] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:02:02] local.INFO: Packet analysis {"connection_id":159111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:02:02] local.INFO: Extracted packet for processing {"connection_id":159111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:02:02] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:02:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":159111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:02:02] local.INFO: GPS data processed {"connection_id":159111,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:02:02] local.INFO: Acknowledgment sent {"connection_id":159111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:02:02] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:02:02] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:02:02] local.INFO: IMEI packet received {"connection_id":159110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":159110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:02:03] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:02:03] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:02:03] local.INFO: Packet analysis {"connection_id":159110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:02:03] local.INFO: Extracted packet for processing {"connection_id":159110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:02:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:02: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-08-21 15: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":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:02:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":159110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:02:03] local.INFO: GPS data processed {"connection_id":159110,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:02:03] local.INFO: Acknowledgment sent {"connection_id":159110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:02:34] local.INFO: TCP Data received {"connection_id":159111,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:02:34] local.INFO: Processing buffer {"connection_id":159111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:02:34] local.INFO: Packet analysis {"connection_id":159111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:02:34] local.INFO: Extracted packet for processing {"connection_id":159111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":159111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:02:34] local.INFO: GPS data processed {"connection_id":159111,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:02:34] local.INFO: Acknowledgment sent {"connection_id":159111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:02:34] local.INFO: TCP Data received {"connection_id":159110,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:02:34] local.INFO: Processing buffer {"connection_id":159110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:02:34] local.INFO: Packet analysis {"connection_id":159110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:02:34] local.INFO: Extracted packet for processing {"connection_id":159110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":159110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:02:34] local.INFO: GPS data processed {"connection_id":159110,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:02:34] local.INFO: Acknowledgment sent {"connection_id":159110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:02:59] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:02:59] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:02:59] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:03:01] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:01] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:01] local.INFO: IMEI packet received {"connection_id":159395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":159395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:03:02] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:03:02] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:03:02] local.INFO: IMEI packet received {"connection_id":160287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":160287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:03:03] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:03:03] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:03:03] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:03:03] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:03:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15: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-08-21 15: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:03: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-08-21 15:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:03:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:03:03] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:03:03] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:03:06] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:06] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:06] local.INFO: IMEI packet received {"connection_id":159395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":159395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:03:07] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:03:07] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:03:07] local.INFO: Packet analysis {"connection_id":159395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:03:07] local.INFO: Extracted packet for processing {"connection_id":159395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:03:07] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:03:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:03:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":159395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:03:07] local.INFO: GPS data processed {"connection_id":159395,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:03:07] local.INFO: Acknowledgment sent {"connection_id":159395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:03:34] local.INFO: TCP Data received {"connection_id":160287,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:03:34] local.INFO: Processing buffer {"connection_id":160287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:03:34] local.INFO: Packet analysis {"connection_id":160287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:03:34] local.INFO: Extracted packet for processing {"connection_id":160287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:03:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:03:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:03:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":160287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:03:34] local.INFO: GPS data processed {"connection_id":160287,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:03:34] local.INFO: Acknowledgment sent {"connection_id":160287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:03:40] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:03:40] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:03:40] local.INFO: Packet analysis {"connection_id":159395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:03:40] local.INFO: Extracted packet for processing {"connection_id":159395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:03:40] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:03:40] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:03:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":159395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676240,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:03:40] local.INFO: GPS data processed {"connection_id":159395,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:03:40] local.INFO: Acknowledgment sent {"connection_id":159395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:03:57] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:57] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:03:57] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:03:57] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:03:57] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:03:57] local.INFO: IMEI packet received {"connection_id":159396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":159396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:04:01] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:04:01] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:04:01] local.INFO: IMEI packet received {"connection_id":160288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":160288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:04:02] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:04:02] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:04:02] local.INFO: IMEI packet received {"connection_id":159396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":159396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:04:03] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:03] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:03] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:04:03] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676241,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:04:03] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:04:03] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:04:03] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:04:03] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:04:03] local.INFO: Packet analysis {"connection_id":159396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:04:03] local.INFO: Extracted packet for processing {"connection_id":159396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:04:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:04: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-08-21 15:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":159396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:04:03] local.INFO: GPS data processed {"connection_id":159396,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:04:03] local.INFO: Acknowledgment sent {"connection_id":159396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:04:09] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:09] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:09] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:04:09] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:04:09] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676243,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:04:09] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:04:09] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:04:34] local.INFO: TCP Data received {"connection_id":159396,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:04:34] local.INFO: Processing buffer {"connection_id":159396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a75138012dde4440050df3500023000912..."} 
[2026-08-21 15:04:34] local.INFO: Packet analysis {"connection_id":159396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:04:34] local.INFO: Extracted packet for processing {"connection_id":159396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a7"} 
[2026-08-21 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":35,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549891072001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304563000,"timestamp_ms":1787304563000,"timestamp_seconds":1787304563,"priority":1,"record_length":96,"hex_timestamp":"000001a023a75138"} 
[2026-08-21 15:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 15:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549891072001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549891072001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:04:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:04:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549891072001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":159396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:04:34] local.INFO: GPS data processed {"connection_id":159396,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:04:34] local.INFO: Acknowledgment sent {"connection_id":159396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:04:43] local.INFO: TCP Data received {"connection_id":160288,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:43] local.INFO: Processing buffer {"connection_id":160288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:04:43] local.INFO: Packet analysis {"connection_id":160288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:04:43] local.INFO: Extracted packet for processing {"connection_id":160288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:04:43] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:04:43] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:04:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":160288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:04:43] local.INFO: GPS data processed {"connection_id":160288,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:04:43] local.INFO: Acknowledgment sent {"connection_id":160288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:04:56] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:04:56] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:04:56] local.INFO: IMEI packet received {"connection_id":159397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":159397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:04:57] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:04:57] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:04:57] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:05:01] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:05:01] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:05:01] local.INFO: IMEI packet received {"connection_id":159397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":159397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:05:02] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:05:02] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:05:02] local.INFO: Packet analysis {"connection_id":159397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:05:02] local.INFO: Extracted packet for processing {"connection_id":159397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:05:02] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:05:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":159397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676246,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:05:02] local.INFO: GPS data processed {"connection_id":159397,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:05:02] local.INFO: Acknowledgment sent {"connection_id":159397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:05:02] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:05:02] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:05:02] local.INFO: IMEI packet received {"connection_id":160289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":160289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:05:03] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:05:03] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:05:03] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:05:03] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:05:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:05: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-08-21 15:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:05: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-08-21 15:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:05:04] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:05:04] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:05:04] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:05:34] local.INFO: TCP Data received {"connection_id":160289,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:05:34] local.INFO: Processing buffer {"connection_id":160289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:05:34] local.INFO: Packet analysis {"connection_id":160289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:05:34] local.INFO: Extracted packet for processing {"connection_id":160289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:05:34] local.INFO: TCP Data received {"connection_id":159397,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:05:34] local.INFO: Processing buffer {"connection_id":159397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:05:34] local.INFO: Packet analysis {"connection_id":159397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:05:34] local.INFO: Extracted packet for processing {"connection_id":159397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":160289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:05:34] local.INFO: GPS data processed {"connection_id":160289,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:05:34] local.INFO: Acknowledgment sent {"connection_id":160289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":159397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:05:34] local.INFO: GPS data processed {"connection_id":159397,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:05:34] local.INFO: Acknowledgment sent {"connection_id":159397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:05:56] local.INFO: TCP Data received {"connection_id":159112,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:05:56] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:05:56] local.INFO: IMEI packet received {"connection_id":159112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":159112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:05:57] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:05:57] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:05:57] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:06:01] local.INFO: TCP Data received {"connection_id":159112,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:06:01] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:06:01] local.INFO: IMEI packet received {"connection_id":159112,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":159112,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:06:02] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:06:02] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:06:02] local.INFO: IMEI packet received {"connection_id":161665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":161665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:06:03] local.INFO: TCP Data received {"connection_id":159112,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:06:03] local.INFO: Processing buffer {"connection_id":159112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023a954d8012d7a038005e46518001c012f26..."} 
[2026-08-21 15:06:03] local.INFO: Packet analysis {"connection_id":159112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:06:03] local.INFO: Extracted packet for processing {"connection_id":159112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023a9"} 
[2026-08-21 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":38,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549982464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304695000,"timestamp_ms":1787304695000,"timestamp_seconds":1787304695,"priority":1,"record_length":96,"hex_timestamp":"000001a023a954d8"} 
[2026-08-21 15:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 15:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159112,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:06: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-08-21 15:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549982464001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549982464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549982464001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":159112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:06:03] local.INFO: GPS data processed {"connection_id":159112,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:06:03] local.INFO: Acknowledgment sent {"connection_id":159112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:06:03] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:06:03] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:06:03] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:06:03] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:06: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-08-21 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:06: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-08-21 15:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:06: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-08-21 15:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:06:03] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:06:03] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:06:34] local.INFO: TCP Data received {"connection_id":161665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:06:34] local.INFO: Processing buffer {"connection_id":161665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:06:34] local.INFO: Packet analysis {"connection_id":161665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:06:34] local.INFO: Extracted packet for processing {"connection_id":161665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:06:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:06:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:06:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":161665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:06:34] local.INFO: GPS data processed {"connection_id":161665,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:06:34] local.INFO: Acknowledgment sent {"connection_id":161665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:06:57] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:06:57] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:06:57] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:07:02] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:07:02] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:07:02] local.INFO: IMEI packet received {"connection_id":161666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":161666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:07:03] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:07:03] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:07:03] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:07:03] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:07:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:07: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-08-21 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:07: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-08-21 15: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-08-21 15:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:07: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-08-21 15:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:07:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:07:03] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:07:03] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:07:34] local.INFO: TCP Data received {"connection_id":161666,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:07:34] local.INFO: Processing buffer {"connection_id":161666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:07:34] local.INFO: Packet analysis {"connection_id":161666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:07:34] local.INFO: Extracted packet for processing {"connection_id":161666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:07:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:07:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":161666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:07:34] local.INFO: GPS data processed {"connection_id":161666,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:07:34] local.INFO: Acknowledgment sent {"connection_id":161666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:07:57] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:07:57] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:07:57] local.INFO: IMEI packet received {"connection_id":159113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":159113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:08:02] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:08:02] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:08:02] local.INFO: IMEI packet received {"connection_id":159113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":159113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:08:03] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:08:03] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:08:03] local.INFO: Packet analysis {"connection_id":159113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:08:03] local.INFO: Extracted packet for processing {"connection_id":159113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15: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-08-21 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:08: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-08-21 15:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:08: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-08-21 15:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:08:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:08:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":159113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:08:03] local.INFO: GPS data processed {"connection_id":159113,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:08:03] local.INFO: Acknowledgment sent {"connection_id":159113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:08:34] local.INFO: TCP Data received {"connection_id":159113,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:08:34] local.INFO: Processing buffer {"connection_id":159113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:08:34] local.INFO: Packet analysis {"connection_id":159113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:08:34] local.INFO: Extracted packet for processing {"connection_id":159113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:08:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:08:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":159113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:08:34] local.INFO: GPS data processed {"connection_id":159113,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:08:34] local.INFO: Acknowledgment sent {"connection_id":159113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:08:57] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:08:57] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:08:57] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:09:02] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:09:02] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:09:02] local.INFO: IMEI packet received {"connection_id":160290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":160290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:09:03] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:09:03] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:09:03] local.INFO: Packet analysis {"connection_id":160290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:09:03] local.INFO: Extracted packet for processing {"connection_id":160290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:09:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:09: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-08-21 15:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:09: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-08-21 15:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:09: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-08-21 15:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:09:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":160290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:09:03] local.INFO: GPS data processed {"connection_id":160290,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:09:03] local.INFO: Acknowledgment sent {"connection_id":160290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:09:34] local.INFO: TCP Data received {"connection_id":160290,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:09:34] local.INFO: Processing buffer {"connection_id":160290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023abe900012dde4440050df3500025000915..."} 
[2026-08-21 15:09:34] local.INFO: Packet analysis {"connection_id":160290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:09:34] local.INFO: Extracted packet for processing {"connection_id":160290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ab"} 
[2026-08-21 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":37,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457549968128001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787304864000,"timestamp_ms":1787304864000,"timestamp_seconds":1787304864,"priority":1,"record_length":96,"hex_timestamp":"000001a023abe900"} 
[2026-08-21 15:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457549968128001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457549968128001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:09:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457549968128001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":160290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:09:34] local.INFO: GPS data processed {"connection_id":160290,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:09:34] local.INFO: Acknowledgment sent {"connection_id":160290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:09:59] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:09:59] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:09:59] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:10:02] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:02] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:02] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:10:03] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:10:03] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:10:03] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:10:03] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:03] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:03] local.INFO: IMEI packet received {"connection_id":161667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":161667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:10:04] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:10:04] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:10:04] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:10:05] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a023..."} 
[2026-08-21 15:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a023..."} 
[2026-08-21 15:10:05] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a023..."} 
[2026-08-21 15:10:05] local.INFO: IMEI packet received {"connection_id":161668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":161668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:10:06] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:10:06] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:10:06] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:06] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:10:06] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:10:06] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:10:06] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b07ce0012d1b3b40071f7480004400fe2d..."} 
[2026-08-21 15:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b07ce0012d1b3b40071f7480004400fe2d..."} 
[2026-08-21 15:10:06] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a023b07128012d1b4080071f76c8004500ef2d..."} 
[2026-08-21 15:10:06] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:06] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756760704,"raw_latitude":119502536,"longitude_deg":75.6760704,"latitude_deg":11.9502536,"altitude":69,"angle":239,"satellites":45,"speed":19,"hex_longitude":"2d1b4080","hex_latitude":"071f76c8","is_valid_coordinates":true} 
[2026-08-21 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550120448001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14208945816076288,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964976843009964032,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787305161000,"timestamp_ms":1787305161000,"timestamp_seconds":1787305161,"priority":1,"record_length":96,"hex_timestamp":"000001a023b07128"} 
[2026-08-21 15:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-21 15:10: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-08-21 15:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550120448001,"66":14363,"101":206,"83":41984,"24":19,"16":14208945816076288,"45":1964976843009964032},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550120448001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14208945816076288,"km_value":14208945816076.287,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964976843009964032,"description":"Unknown IO ID 45"} 
[2026-08-21 15:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550120448001,"power":14363,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1964976843009964032}} 
[2026-08-21 15:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:10:07] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:10:07] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:10:07] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:07] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756759360,"raw_latitude":119501952,"longitude_deg":75.675936,"latitude_deg":11.9501952,"altitude":68,"angle":254,"satellites":45,"speed":18,"hex_longitude":"2d1b3b40","hex_latitude":"071f7480","is_valid_coordinates":true} 
[2026-08-21 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550121216001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209018830520320,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963710205614540800,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305164000,"timestamp_ms":1787305164000,"timestamp_seconds":1787305164,"priority":1,"record_length":96,"hex_timestamp":"000001a023b07ce0"} 
[2026-08-21 15:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 15:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550121216001,"66":14461,"101":206,"83":41984,"24":18,"16":14209018830520320,"45":1963710205614540800},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550121216001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:10:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209018830520320,"km_value":14209018830520.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963710205614540800,"description":"Unknown IO ID 45"} 
[2026-08-21 15:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550121216001,"power":14461,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1963710205614540800}} 
[2026-08-21 15:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:10:07] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:10:07] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:10:08] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b084b0012d1b3780071f74100044010b2c..."} 
[2026-08-21 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b084b0012d1b3780071f74100044010b2c..."} 
[2026-08-21 15:10:08] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b084b0012d1b3780071f74100044010b2c..."} 
[2026-08-21 15:10:08] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:08] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:08] local.INFO: GPS Element Parsed {"raw_longitude":756758400,"raw_latitude":119501840,"longitude_deg":75.67584,"latitude_deg":11.950184,"altitude":68,"angle":267,"satellites":44,"speed":18,"hex_longitude":"2d1b3780","hex_latitude":"071f7410","is_valid_coordinates":true} 
[2026-08-21 15:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550121984001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209061780193280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1962232461986660352,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787305166000,"timestamp_ms":1787305166000,"timestamp_seconds":1787305166,"priority":1,"record_length":96,"hex_timestamp":"000001a023b084b0"} 
[2026-08-21 15:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 15:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550121984001,"66":14396,"101":206,"83":41984,"24":18,"16":14209061780193280,"45":1962232461986660352},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550121984001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209061780193280,"km_value":14209061780193.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1962232461986660352,"description":"Unknown IO ID 45"} 
[2026-08-21 15:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550121984001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1962232461986660352}} 
[2026-08-21 15:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:10:08] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:10:08] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:10:15] local.INFO: TCP Data received {"connection_id":161667,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:10:15] local.INFO: Processing buffer {"connection_id":161667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:10:15] local.INFO: Packet analysis {"connection_id":161667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:15] local.INFO: Extracted packet for processing {"connection_id":161667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:10:15] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:10:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":161667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:10:15] local.INFO: GPS data processed {"connection_id":161667,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:10:15] local.INFO: Acknowledgment sent {"connection_id":161667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:10:39] local.INFO: TCP Data received {"connection_id":161668,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b09450012d1b2fc0071f74c00045011c2d..."} 
[2026-08-21 15:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b09450012d1b2fc0071f74c00045011c2d..."} 
[2026-08-21 15:10:39] local.INFO: Processing buffer {"connection_id":161668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b09450012d1b2fc0071f74c00045011c2d..."} 
[2026-08-21 15:10:39] local.INFO: Packet analysis {"connection_id":161668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:39] local.INFO: Extracted packet for processing {"connection_id":161668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:10:39] local.INFO: GPS Element Parsed {"raw_longitude":756756416,"raw_latitude":119502016,"longitude_deg":75.6756416,"latitude_deg":11.9502016,"altitude":69,"angle":284,"satellites":45,"speed":21,"hex_longitude":"2d1b2fc0","hex_latitude":"071f74c0","is_valid_coordinates":true} 
[2026-08-21 15:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122496001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209156269473792,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961176930823966720,"note":"Value kept but may cause issues"} 
[2026-08-21 15:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787305170000,"timestamp_ms":1787305170000,"timestamp_seconds":1787305170,"priority":1,"record_length":96,"hex_timestamp":"000001a023b09450"} 
[2026-08-21 15:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 15:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122496001,"66":13906,"101":206,"83":41984,"24":21,"16":14209156269473792,"45":1961176930823966720},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122496001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:10:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:10:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209156269473792,"km_value":14209156269473.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961176930823966720,"description":"Unknown IO ID 45"} 
[2026-08-21 15:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122496001,"power":13906,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1961176930823966720}} 
[2026-08-21 15:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":161668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:10:40] local.INFO: GPS data processed {"connection_id":161668,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:10:40] local.INFO: Acknowledgment sent {"connection_id":161668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:10:58] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:58] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:10:58] local.INFO: IMEI packet received {"connection_id":159398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":159398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:11:02] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:11:02] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:11:02] local.INFO: IMEI packet received {"connection_id":159399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":159399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:11:02] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:11:02] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:11:02] local.INFO: IMEI packet received {"connection_id":159398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":159398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:11:03] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:11:03] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:11:03] local.INFO: Packet analysis {"connection_id":159398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:11:03] local.INFO: Extracted packet for processing {"connection_id":159398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:11:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 15:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 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-08-21 15:11: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-08-21 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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:11: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-08-21 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-08-21 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-08-21 15:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:11:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":159398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:11:03] local.INFO: GPS data processed {"connection_id":159398,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:11:03] local.INFO: Acknowledgment sent {"connection_id":159398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:11:06] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:11:06] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:11:06] local.INFO: IMEI packet received {"connection_id":159399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":159399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:11:07] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b0b778012d1b1cc0071f7b08004201282f..."} 
[2026-08-21 15:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b0b778012d1b1cc0071f7b08004201282f..."} 
[2026-08-21 15:11:07] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b0b778012d1b1cc0071f7b08004201282f..."} 
[2026-08-21 15:11:07] local.INFO: Packet analysis {"connection_id":159399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:11:07] local.INFO: Extracted packet for processing {"connection_id":159399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756751552,"raw_latitude":119503624,"longitude_deg":75.6751552,"latitude_deg":11.9503624,"altitude":66,"angle":296,"satellites":47,"speed":21,"hex_longitude":"2d1b1cc0","hex_latitude":"071f7b08","is_valid_coordinates":true} 
[2026-08-21 15:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550123520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14209401082609664,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958995499754504192,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305179000,"timestamp_ms":1787305179000,"timestamp_seconds":1787305179,"priority":1,"record_length":96,"hex_timestamp":"000001a023b0b778"} 
[2026-08-21 15:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-21 15:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550123520001,"66":14211,"101":206,"83":41984,"24":21,"16":14209401082609664,"45":1958995499754504192},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550123520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:11:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14209401082609664,"km_value":14209401082609.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958995499754504192,"description":"Unknown IO ID 45"} 
[2026-08-21 15:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550123520001,"power":14211,"unknown_101":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1958995499754504192}} 
[2026-08-21 15:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":159399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:11:07] local.INFO: GPS data processed {"connection_id":159399,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:11:07] local.INFO: Acknowledgment sent {"connection_id":159399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:11:34] local.INFO: TCP Data received {"connection_id":159398,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:11:34] local.INFO: Processing buffer {"connection_id":159398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:11:34] local.INFO: Packet analysis {"connection_id":159398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:11:34] local.INFO: Extracted packet for processing {"connection_id":159398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:11:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:11:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":159398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:11:34] local.INFO: GPS data processed {"connection_id":159398,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:11:34] local.INFO: Acknowledgment sent {"connection_id":159398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:11:38] local.INFO: TCP Data received {"connection_id":159399,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b1b560012d1ab800071f95d8003901192e..."} 
[2026-08-21 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b1b560012d1ab800071f95d8003901192e..."} 
[2026-08-21 15:11:38] local.INFO: Processing buffer {"connection_id":159399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b1b560012d1ab800071f95d8003901192e..."} 
[2026-08-21 15:11:38] local.INFO: Packet analysis {"connection_id":159399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b1"} 
[2026-08-21 15:11:38] local.INFO: Extracted packet for processing {"connection_id":159399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b1"} 
[2026-08-21 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756725760,"raw_latitude":119510488,"longitude_deg":75.672576,"latitude_deg":11.9510488,"altitude":57,"angle":281,"satellites":46,"speed":28,"hex_longitude":"2d1ab800","hex_latitude":"071f95d8","is_valid_coordinates":true} 
[2026-08-21 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550141696001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14210818421817344,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927540671109064704,"note":"Value kept but may cause issues"} 
[2026-08-21 15:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305244000,"timestamp_ms":1787305244000,"timestamp_seconds":1787305244,"priority":1,"record_length":96,"hex_timestamp":"000001a023b1b560"} 
[2026-08-21 15:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 15:11:38] 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-08-21 15:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550141696001,"66":14396,"101":206,"83":41984,"24":28,"16":14210818421817344,"45":1927540671109064704},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550141696001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:11:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14210818421817344,"km_value":14210818421817.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927540671109064704,"description":"Unknown IO ID 45"} 
[2026-08-21 15:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550141696001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1927540671109064704}} 
[2026-08-21 15:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:11:38] local.INFO: GPS data processed {"connection_id":159399,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:11:38] local.INFO: Acknowledgment sent {"connection_id":159399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:11:57] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:11:57] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:11:57] local.INFO: IMEI packet received {"connection_id":159114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":159114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:12:01] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:12:01] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:12:01] local.INFO: IMEI packet received {"connection_id":159115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":159115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:12:02] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:12:02] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:12:02] local.INFO: IMEI packet received {"connection_id":159114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":159114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:12:03] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:12:03] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:12:03] local.INFO: Packet analysis {"connection_id":159114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:12:03] local.INFO: Extracted packet for processing {"connection_id":159114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:12: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-08-21 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:12: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-08-21 15:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:12: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-08-21 15:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:12:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:12:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":159114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:12:03] local.INFO: GPS data processed {"connection_id":159114,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:12:03] local.INFO: Acknowledgment sent {"connection_id":159114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:12:06] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:12:06] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:12:06] local.INFO: IMEI packet received {"connection_id":159115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":159115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:12:07] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b1d0b8012d1aa180071f9a90003a012a2f..."} 
[2026-08-21 15:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b1d0b8012d1aa180071f9a90003a012a2f..."} 
[2026-08-21 15:12:07] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b1d0b8012d1aa180071f9a90003a012a2f..."} 
[2026-08-21 15:12:07] local.INFO: Packet analysis {"connection_id":159115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b1"} 
[2026-08-21 15:12:07] local.INFO: Extracted packet for processing {"connection_id":159115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b1"} 
[2026-08-21 15:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756720000,"raw_latitude":119511696,"longitude_deg":75.672,"latitude_deg":11.9511696,"altitude":58,"angle":298,"satellites":47,"speed":37,"hex_longitude":"2d1aa180","hex_latitude":"071f9a90","is_valid_coordinates":true} 
[2026-08-21 15:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550142464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14211101889658880,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925288871295571968,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305251000,"timestamp_ms":1787305251000,"timestamp_seconds":1787305251,"priority":1,"record_length":96,"hex_timestamp":"000001a023b1d0b8"} 
[2026-08-21 15:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 15:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550142464001,"66":14396,"101":206,"83":41984,"24":37,"16":14211101889658880,"45":1925288871295571968},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550142464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14211101889658880,"km_value":14211101889658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925288871295571968,"description":"Unknown IO ID 45"} 
[2026-08-21 15:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550142464001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1925288871295571968}} 
[2026-08-21 15:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":159115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:12:07] local.INFO: GPS data processed {"connection_id":159115,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:12:07] local.INFO: Acknowledgment sent {"connection_id":159115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:12:34] local.INFO: TCP Data received {"connection_id":159114,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:12:34] local.INFO: Processing buffer {"connection_id":159114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:12:34] local.INFO: Packet analysis {"connection_id":159114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:12:34] local.INFO: Extracted packet for processing {"connection_id":159114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:12:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:12:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":159114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:12:34] local.INFO: GPS data processed {"connection_id":159114,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:12:34] local.INFO: Acknowledgment sent {"connection_id":159114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:12:38] local.INFO: TCP Data received {"connection_id":159115,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b2af60012d19e5c007200060002f014431..."} 
[2026-08-21 15:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b2af60012d19e5c007200060002f014431..."} 
[2026-08-21 15:12:38] local.INFO: Processing buffer {"connection_id":159115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b2af60012d19e5c007200060002f014431..."} 
[2026-08-21 15:12:38] local.INFO: Packet analysis {"connection_id":159115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b2"} 
[2026-08-21 15:12:38] local.INFO: Extracted packet for processing {"connection_id":159115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b2"} 
[2026-08-21 15:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756671936,"raw_latitude":119537760,"longitude_deg":75.6671936,"latitude_deg":11.953776,"altitude":47,"angle":324,"satellites":49,"speed":27,"hex_longitude":"2d19e5c0","hex_latitude":"07200060","is_valid_coordinates":true} 
[2026-08-21 15:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550158592001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14213850668728320,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866460601169881088,"note":"Value kept but may cause issues"} 
[2026-08-21 15:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305308000,"timestamp_ms":1787305308000,"timestamp_seconds":1787305308,"priority":1,"record_length":96,"hex_timestamp":"000001a023b2af60"} 
[2026-08-21 15:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 15:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550158592001,"66":14396,"101":206,"83":41984,"24":27,"16":14213850668728320,"45":1866460601169881088},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550158592001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:12:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14213850668728320,"km_value":14213850668728.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866460601169881088,"description":"Unknown IO ID 45"} 
[2026-08-21 15:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550158592001,"power":14396,"unknown_101":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1866460601169881088}} 
[2026-08-21 15:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":159115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:12:38] local.INFO: GPS data processed {"connection_id":159115,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:12:38] local.INFO: Acknowledgment sent {"connection_id":159115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:12:57] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:12:57] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:12:57] local.INFO: IMEI packet received {"connection_id":159116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":159116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:13:02] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:13:02] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:13:02] local.INFO: IMEI packet received {"connection_id":159116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":159116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:13:03] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:13:03] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:13:03] local.INFO: Packet analysis {"connection_id":159116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:13:03] local.INFO: Extracted packet for processing {"connection_id":159116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:13:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:13: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-08-21 15:13: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-08-21 15:13: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-08-21 15:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:13: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-08-21 15:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:13:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:13:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":159116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:13:03] local.INFO: GPS data processed {"connection_id":159116,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:13:03] local.INFO: Acknowledgment sent {"connection_id":159116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:13:06] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:13:06] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:13:06] local.INFO: IMEI packet received {"connection_id":159400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":159400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:13:11] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:13:11] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:13:11] local.INFO: IMEI packet received {"connection_id":159400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":159400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:13:12] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b2bf00012d19df40072009580030013431..."} 
[2026-08-21 15:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b2bf00012d19df40072009580030013431..."} 
[2026-08-21 15:13:12] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b2bf00012d19df40072009580030013431..."} 
[2026-08-21 15:13:12] local.INFO: Packet analysis {"connection_id":159400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b2"} 
[2026-08-21 15:13:12] local.INFO: Extracted packet for processing {"connection_id":159400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b2"} 
[2026-08-21 15:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119540056,"longitude_deg":75.6670272,"latitude_deg":11.9540056,"altitude":48,"angle":308,"satellites":49,"speed":29,"hex_longitude":"2d19df40","hex_latitude":"07200958","is_valid_coordinates":true} 
[2026-08-21 15:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550158848001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14213983812714496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866108757449138176,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787305312000,"timestamp_ms":1787305312000,"timestamp_seconds":1787305312,"priority":1,"record_length":96,"hex_timestamp":"000001a023b2bf00"} 
[2026-08-21 15:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 15:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550158848001,"66":14483,"101":206,"83":41984,"24":29,"16":14213983812714496,"45":1866108757449138176},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550158848001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:13:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14213983812714496,"km_value":14213983812714.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866108757449138176,"description":"Unknown IO ID 45"} 
[2026-08-21 15:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550158848001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1866108757449138176}} 
[2026-08-21 15:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":159400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:13:12] local.INFO: GPS data processed {"connection_id":159400,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:13:12] local.INFO: Acknowledgment sent {"connection_id":159400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:13:17] local.INFO: TCP Data received {"connection_id":159400,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b2da58012d19cd0007201738003001442f..."} 
[2026-08-21 15:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b2da58012d19cd0007201738003001442f..."} 
[2026-08-21 15:13:17] local.INFO: Processing buffer {"connection_id":159400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b2da58012d19cd0007201738003001442f..."} 
[2026-08-21 15:13:17] local.INFO: Packet analysis {"connection_id":159400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b2"} 
[2026-08-21 15:13:17] local.INFO: Extracted packet for processing {"connection_id":159400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b2"} 
[2026-08-21 15:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119543608,"longitude_deg":75.66656,"latitude_deg":11.9543608,"altitude":48,"angle":324,"satellites":47,"speed":32,"hex_longitude":"2d19cd00","hex_latitude":"07201738","is_valid_coordinates":true} 
[2026-08-21 15:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550159872001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14214271575523328,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101106688,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13: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-08-21 15:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787305319000,"timestamp_ms":1787305319000,"timestamp_seconds":1787305319,"priority":1,"record_length":96,"hex_timestamp":"000001a023b2da58"} 
[2026-08-21 15:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:13: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-08-21 15:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-08-21 15:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550159872001,"66":14428,"101":206,"83":41984,"24":32,"16":14214271575523328,"45":1864279170101106688},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550159872001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14214271575523328,"km_value":14214271575523.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101106688,"description":"Unknown IO ID 45"} 
[2026-08-21 15:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550159872001,"power":14428,"unknown_101":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1864279170101106688}} 
[2026-08-21 15:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":159400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:13:17] local.INFO: GPS data processed {"connection_id":159400,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:13:17] local.INFO: Acknowledgment sent {"connection_id":159400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:13:34] local.INFO: TCP Data received {"connection_id":159116,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:13:34] local.INFO: Processing buffer {"connection_id":159116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:13:34] local.INFO: Packet analysis {"connection_id":159116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:13:34] local.INFO: Extracted packet for processing {"connection_id":159116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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":795,"current_offset":40} 
[2026-08-21 15:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:13:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:13:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":159116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:13:34] local.INFO: GPS data processed {"connection_id":159116,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:13:34] local.INFO: Acknowledgment sent {"connection_id":159116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:13:57] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:13:57] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:13:57] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:14:01] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:01] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:01] local.INFO: IMEI packet received {"connection_id":159401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:14:01] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:01] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:01] local.INFO: IMEI packet received {"connection_id":159401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:14:02] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:14:02] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:14:02] local.INFO: IMEI packet received {"connection_id":160291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":160291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:14:03] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:14:03] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:14:03] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:14:03] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:14:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:14: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-08-21 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:14: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-08-21 15: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-08-21 15:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:14: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-08-21 15:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:14:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:14:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:14:03] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:14:03] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:14:06] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:06] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:14:06] local.INFO: IMEI packet received {"connection_id":159401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":159401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:14:07] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b32c60012d19c600072022f8003101432d..."} 
[2026-08-21 15:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b32c60012d19c600072022f8003101432d..."} 
[2026-08-21 15:14:07] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b32c60012d19c600072022f8003101432d..."} 
[2026-08-21 15:14:07] local.INFO: Packet analysis {"connection_id":159401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b3"} 
[2026-08-21 15:14:07] local.INFO: Extracted packet for processing {"connection_id":159401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b3"} 
[2026-08-21 15:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546616,"longitude_deg":75.6663808,"latitude_deg":11.9546616,"altitude":49,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"072022f8","is_valid_coordinates":true} 
[2026-08-21 15:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550161664001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14214443374215168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777046528,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305340000,"timestamp_ms":1787305340000,"timestamp_seconds":1787305340,"priority":1,"record_length":96,"hex_timestamp":"000001a023b32c60"} 
[2026-08-21 15:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 15:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550161664001,"66":13537,"101":206,"83":41984,"24":0,"16":14214443374215168,"45":1859142251777046528},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550161664001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:14:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14214443374215168,"km_value":14214443374215.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777046528,"description":"Unknown IO ID 45"} 
[2026-08-21 15:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550161664001,"power":13537,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859142251777046528}} 
[2026-08-21 15:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":159401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:14:07] local.INFO: GPS data processed {"connection_id":159401,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:14:07] local.INFO: Acknowledgment sent {"connection_id":159401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:14:34] local.INFO: TCP Data received {"connection_id":160291,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:14:34] local.INFO: Processing buffer {"connection_id":160291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b080c8012dde4440050df3500028000914..."} 
[2026-08-21 15:14:34] local.INFO: Packet analysis {"connection_id":160291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:14:34] local.INFO: Extracted packet for processing {"connection_id":160291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b0"} 
[2026-08-21 15:14:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":40,"angle":9,"satellites":20,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550045184001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305165000,"timestamp_ms":1787305165000,"timestamp_seconds":1787305165,"priority":1,"record_length":96,"hex_timestamp":"000001a023b080c8"} 
[2026-08-21 15:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550045184001,"66":25712,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550045184001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:14:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550045184001,"power":25712,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":160291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:14:34] local.INFO: GPS data processed {"connection_id":160291,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:14:34] local.INFO: Acknowledgment sent {"connection_id":160291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:14:38] local.INFO: TCP Data received {"connection_id":159401,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b37e68012d19c600072022f8003101432d..."} 
[2026-08-21 15:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b37e68012d19c600072022f8003101432d..."} 
[2026-08-21 15:14:38] local.INFO: Processing buffer {"connection_id":159401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b37e68012d19c600072022f8003101432d..."} 
[2026-08-21 15:14:38] local.INFO: Packet analysis {"connection_id":159401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b3"} 
[2026-08-21 15:14:38] local.INFO: Extracted packet for processing {"connection_id":159401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b3"} 
[2026-08-21 15:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546616,"longitude_deg":75.6663808,"latitude_deg":11.9546616,"altitude":49,"angle":323,"satellites":45,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"072022f8","is_valid_coordinates":true} 
[2026-08-21 15:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550167040001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14214443374215168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940841984,"note":"Value kept but may cause issues"} 
[2026-08-21 15:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305361000,"timestamp_ms":1787305361000,"timestamp_seconds":1787305361,"priority":1,"record_length":96,"hex_timestamp":"000001a023b37e68"} 
[2026-08-21 15:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-21 15:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550167040001,"66":13820,"101":206,"83":41984,"24":0,"16":14214443374215168,"45":1857171926940841984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550167040001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:14:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14214443374215168,"km_value":14214443374215.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940841984,"description":"Unknown IO ID 45"} 
[2026-08-21 15:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550167040001,"power":13820,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857171926940841984}} 
[2026-08-21 15:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":159401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:14:38] local.INFO: GPS data processed {"connection_id":159401,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:14:38] local.INFO: Acknowledgment sent {"connection_id":159401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:15:00] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:00] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:00] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:15:01] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:01] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:01] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:15:02] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:02] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:02] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:15:02] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:02] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:02] local.INFO: IMEI packet received {"connection_id":159117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":159117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:15:05] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:05] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:05] local.INFO: IMEI packet received {"connection_id":159117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":159117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:15:06] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:06] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:06] local.INFO: Packet analysis {"connection_id":159117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:06] local.INFO: Extracted packet for processing {"connection_id":159117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:15:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:15:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":159117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:15:06] local.INFO: GPS data processed {"connection_id":159117,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:15:06] local.INFO: Acknowledgment sent {"connection_id":159117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:15:06] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:06] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:15:06] local.INFO: IMEI packet received {"connection_id":161669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":161669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:15:07] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b3d070012d19c600072022f8003101432e..."} 
[2026-08-21 15:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b3d070012d19c600072022f8003101432e..."} 
[2026-08-21 15:15:07] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b3d070012d19c600072022f8003101432e..."} 
[2026-08-21 15:15:07] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b3"} 
[2026-08-21 15:15:07] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b3"} 
[2026-08-21 15:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756663808,"raw_latitude":119546616,"longitude_deg":75.6663808,"latitude_deg":11.9546616,"altitude":49,"angle":323,"satellites":46,"speed":0,"hex_longitude":"2d19c600","hex_latitude":"072022f8","is_valid_coordinates":true} 
[2026-08-21 15:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550172416001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14214443374215168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857171926940841984,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305382000,"timestamp_ms":1787305382000,"timestamp_seconds":1787305382,"priority":1,"record_length":96,"hex_timestamp":"000001a023b3d070"} 
[2026-08-21 15:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-21 15:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550172416001,"66":14407,"101":206,"83":41984,"24":0,"16":14214443374215168,"45":1857171926940841984},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550172416001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:15:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14214443374215168,"km_value":14214443374215.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857171926940841984,"description":"Unknown IO ID 45"} 
[2026-08-21 15:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550172416001,"power":14407,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1857171926940841984}} 
[2026-08-21 15:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:15:07] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:15:07] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:15:08] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:08] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:08] local.INFO: Packet analysis {"connection_id":159117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:08] local.INFO: Extracted packet for processing {"connection_id":159117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:15:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:15:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":159117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:15:08] local.INFO: GPS data processed {"connection_id":159117,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:15:08] local.INFO: Acknowledgment sent {"connection_id":159117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:15:38] local.INFO: TCP Data received {"connection_id":161669,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b585f0012d19ca00071ff2e0003600e52d..."} 
[2026-08-21 15:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b585f0012d19ca00071ff2e0003600e52d..."} 
[2026-08-21 15:15:38] local.INFO: Processing buffer {"connection_id":161669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b585f0012d19ca00071ff2e0003600e52d..."} 
[2026-08-21 15:15:38] local.INFO: Packet analysis {"connection_id":161669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:38] local.INFO: Extracted packet for processing {"connection_id":161669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756664832,"raw_latitude":119534304,"longitude_deg":75.6664832,"latitude_deg":11.9534304,"altitude":54,"angle":229,"satellites":45,"speed":14,"hex_longitude":"2d19ca00","hex_latitude":"071ff2e0","is_valid_coordinates":true} 
[2026-08-21 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550206208001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215285187805184,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077127168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305494000,"timestamp_ms":1787305494000,"timestamp_seconds":1787305494,"priority":1,"record_length":96,"hex_timestamp":"000001a023b585f0"} 
[2026-08-21 15:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 15:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550206208001,"66":13993,"101":206,"83":41984,"24":14,"16":14215285187805184,"45":1858508933077127168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550206208001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:15:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215285187805184,"km_value":14215285187805.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077127168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550206208001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1858508933077127168}} 
[2026-08-21 15:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":161669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:15:39] local.INFO: GPS data processed {"connection_id":161669,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:15:39] local.INFO: Acknowledgment sent {"connection_id":161669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:15:39] local.INFO: TCP Data received {"connection_id":159117,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:39] local.INFO: Processing buffer {"connection_id":159117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:15:39] local.INFO: Packet analysis {"connection_id":159117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:39] local.INFO: Extracted packet for processing {"connection_id":159117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:15:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:15:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:15:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":159117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:15:39] local.INFO: GPS data processed {"connection_id":159117,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:15:39] local.INFO: Acknowledgment sent {"connection_id":159117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:15:57] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:57] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:15:57] local.INFO: IMEI packet received {"connection_id":161670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":161670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:16:02] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:16:02] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:16:02] local.INFO: IMEI packet received {"connection_id":160292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":160292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:16:02] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:16:02] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:16:02] local.INFO: IMEI packet received {"connection_id":161670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":161670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:16:03] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:16:03] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:16:03] local.INFO: Packet analysis {"connection_id":161670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:03] local.INFO: Extracted packet for processing {"connection_id":161670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:16: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-08-21 15: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":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:16: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-08-21 15:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:16: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-08-21 15:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:16:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:16:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":161670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:16:03] local.INFO: GPS data processed {"connection_id":161670,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:16:03] local.INFO: Acknowledgment sent {"connection_id":161670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:16:06] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:16:06] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:16:06] local.INFO: IMEI packet received {"connection_id":160292,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":160292,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:16:07] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b589d8012d19c8c0071ff218003600f22d..."} 
[2026-08-21 15:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b589d8012d19c8c0071ff218003600f22d..."} 
[2026-08-21 15:16:07] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b589d8012d19c8c0071ff218003600f22d..."} 
[2026-08-21 15:16:07] local.INFO: Packet analysis {"connection_id":160292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:07] local.INFO: Extracted packet for processing {"connection_id":160292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119534104,"longitude_deg":75.6664512,"latitude_deg":11.9534104,"altitude":54,"angle":242,"satellites":45,"speed":16,"hex_longitude":"2d19c8c0","hex_latitude":"071ff218","is_valid_coordinates":true} 
[2026-08-21 15:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550206464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215302367674368,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858297826844532736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305495000,"timestamp_ms":1787305495000,"timestamp_seconds":1787305495,"priority":1,"record_length":96,"hex_timestamp":"000001a023b589d8"} 
[2026-08-21 15:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 15:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550206464001,"66":13993,"101":206,"83":41984,"24":16,"16":14215302367674368,"45":1858297826844532736},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550206464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:16:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215302367674368,"km_value":14215302367674.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858297826844532736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550206464001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858297826844532736}} 
[2026-08-21 15:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":160292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:16:07] local.INFO: GPS data processed {"connection_id":160292,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:16:07] local.INFO: Acknowledgment sent {"connection_id":160292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:16:34] local.INFO: TCP Data received {"connection_id":161670,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:16:34] local.INFO: Processing buffer {"connection_id":161670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:16:34] local.INFO: Packet analysis {"connection_id":161670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:34] local.INFO: Extracted packet for processing {"connection_id":161670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:16:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:16:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":161670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:16:34] local.INFO: GPS data processed {"connection_id":161670,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:16:34] local.INFO: Acknowledgment sent {"connection_id":161670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:16:38] local.INFO: TCP Data received {"connection_id":160292,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b58dc0012d19c740071ff190003500ff2c..."} 
[2026-08-21 15:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b58dc0012d19c740071ff190003500ff2c..."} 
[2026-08-21 15:16:38] local.INFO: Processing buffer {"connection_id":160292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b58dc0012d19c740071ff190003500ff2c..."} 
[2026-08-21 15:16:38] local.INFO: Packet analysis {"connection_id":160292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:38] local.INFO: Extracted packet for processing {"connection_id":160292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756664128,"raw_latitude":119533968,"longitude_deg":75.6664128,"latitude_deg":11.9533968,"altitude":53,"angle":255,"satellites":44,"speed":17,"hex_longitude":"2d19c740","hex_latitude":"071ff190","is_valid_coordinates":true} 
[2026-08-21 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":795,"current_offset":40} 
[2026-08-21 15:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550206720001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215323842510848,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945983123593216,"note":"Value kept but may cause issues"} 
[2026-08-21 15:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305496000,"timestamp_ms":1787305496000,"timestamp_seconds":1787305496,"priority":1,"record_length":96,"hex_timestamp":"000001a023b58dc0"} 
[2026-08-21 15:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 15:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160292,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550206720001,"66":13972,"101":206,"83":41984,"24":17,"16":14215323842510848,"45":1857945983123593216},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550206720001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:16:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215323842510848,"km_value":14215323842510.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945983123593216,"description":"Unknown IO ID 45"} 
[2026-08-21 15:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550206720001,"power":13972,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1857945983123593216}} 
[2026-08-21 15:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":160292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:16:38] local.INFO: GPS data processed {"connection_id":160292,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:16:38] local.INFO: Acknowledgment sent {"connection_id":160292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:16:58] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:16:58] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:16:58] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:17:01] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:17:01] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:17:01] local.INFO: IMEI packet received {"connection_id":159402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":159402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:17:02] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:17:02] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:17:02] local.INFO: IMEI packet received {"connection_id":161671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":161671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:17:03] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:17:03] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:17:03] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:03] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:17: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-08-21 15: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":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:17: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-08-21 15: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-08-21 15:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:17:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:17:03] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:17:03] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:17:06] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:17:06] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:17:06] local.INFO: IMEI packet received {"connection_id":159402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":159402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:17:07] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5b8b8012d19b1c0071fef800035010d2c..."} 
[2026-08-21 15:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5b8b8012d19b1c0071fef800035010d2c..."} 
[2026-08-21 15:17:07] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5b8b8012d19b1c0071fef800035010d2c..."} 
[2026-08-21 15:17:07] local.INFO: Packet analysis {"connection_id":159402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:07] local.INFO: Extracted packet for processing {"connection_id":159402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756658624,"raw_latitude":119533440,"longitude_deg":75.6658624,"latitude_deg":11.953344,"altitude":53,"angle":269,"satellites":44,"speed":23,"hex_longitude":"2d19b1c0","hex_latitude":"071fef80","is_valid_coordinates":true} 
[2026-08-21 15:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550206976001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215585835515904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857523770658492416,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305507000,"timestamp_ms":1787305507000,"timestamp_seconds":1787305507,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5b8b8"} 
[2026-08-21 15:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-21 15:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550206976001,"66":13156,"101":206,"83":41984,"24":23,"16":14215585835515904,"45":1857523770658492416},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550206976001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:17:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215585835515904,"km_value":14215585835515.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857523770658492416,"description":"Unknown IO ID 45"} 
[2026-08-21 15:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550206976001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1857523770658492416}} 
[2026-08-21 15:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":159402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:17:07] local.INFO: GPS data processed {"connection_id":159402,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:17:07] local.INFO: Acknowledgment sent {"connection_id":159402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:17:34] local.INFO: TCP Data received {"connection_id":161671,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:17:34] local.INFO: Processing buffer {"connection_id":161671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:17:34] local.INFO: Packet analysis {"connection_id":161671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:34] local.INFO: Extracted packet for processing {"connection_id":161671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:17:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:17:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":161671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:17:34] local.INFO: GPS data processed {"connection_id":161671,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:17:34] local.INFO: Acknowledgment sent {"connection_id":161671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:17:38] local.INFO: TCP Data received {"connection_id":159402,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5c088012d19ad40071ff0300036011929..."} 
[2026-08-21 15:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5c088012d19ad40071ff0300036011929..."} 
[2026-08-21 15:17:38] local.INFO: Processing buffer {"connection_id":159402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5c088012d19ad40071ff0300036011929..."} 
[2026-08-21 15:17:38] local.INFO: Packet analysis {"connection_id":159402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:38] local.INFO: Extracted packet for processing {"connection_id":159402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119533616,"longitude_deg":75.6657472,"latitude_deg":11.9533616,"altitude":54,"angle":281,"satellites":41,"speed":23,"hex_longitude":"2d19ad40","hex_latitude":"071ff030","is_valid_coordinates":true} 
[2026-08-21 15:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550209792001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215641670090752,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851472058659078144,"note":"Value kept but may cause issues"} 
[2026-08-21 15:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305509000,"timestamp_ms":1787305509000,"timestamp_seconds":1787305509,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5c088"} 
[2026-08-21 15:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 15:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550209792001,"66":13167,"101":206,"83":41984,"24":23,"16":14215641670090752,"45":1851472058659078144},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550209792001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:17:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215641670090752,"km_value":14215641670090.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851472058659078144,"description":"Unknown IO ID 45"} 
[2026-08-21 15:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550209792001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1851472058659078144}} 
[2026-08-21 15:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":159402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:17:38] local.INFO: GPS data processed {"connection_id":159402,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:17:38] local.INFO: Acknowledgment sent {"connection_id":159402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:17:57] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:17:57] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:17:57] local.INFO: IMEI packet received {"connection_id":159118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":159118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:18:01] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:18:01] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:18:01] local.INFO: IMEI packet received {"connection_id":160293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":160293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:18:02] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:18:02] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:18:02] local.INFO: IMEI packet received {"connection_id":159118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":159118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:18:03] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:18:03] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:18:03] local.INFO: Packet analysis {"connection_id":159118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:03] local.INFO: Extracted packet for processing {"connection_id":159118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15: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-08-21 15: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:18: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-08-21 15:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:18:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:18:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":159118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:18:03] local.INFO: GPS data processed {"connection_id":159118,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:18:03] local.INFO: Acknowledgment sent {"connection_id":159118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:18:06] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:18:06] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:18:06] local.INFO: IMEI packet received {"connection_id":160293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":160293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:18:07] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5d410012d19a3c0071ff1b00038010429..."} 
[2026-08-21 15:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5d410012d19a3c0071ff1b00038010429..."} 
[2026-08-21 15:18:07] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5d410012d19a3c0071ff1b00038010429..."} 
[2026-08-21 15:18:07] local.INFO: Packet analysis {"connection_id":160293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:07] local.INFO: Extracted packet for processing {"connection_id":160293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119534000,"longitude_deg":75.665504,"latitude_deg":11.9534,"altitude":56,"angle":260,"satellites":41,"speed":14,"hex_longitude":"2d19a3c0","hex_latitude":"071ff1b0","is_valid_coordinates":true} 
[2026-08-21 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550210304001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215757634207744,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421263925248,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305514000,"timestamp_ms":1787305514000,"timestamp_seconds":1787305514,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5d410"} 
[2026-08-21 15:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 15:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550210304001,"66":12993,"101":206,"83":41984,"24":14,"16":14215757634207744,"45":1850205421263925248},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550210304001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:18:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215757634207744,"km_value":14215757634207.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421263925248,"description":"Unknown IO ID 45"} 
[2026-08-21 15:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550210304001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1850205421263925248}} 
[2026-08-21 15:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":160293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:18:07] local.INFO: GPS data processed {"connection_id":160293,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:18:07] local.INFO: Acknowledgment sent {"connection_id":160293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:18:34] local.INFO: TCP Data received {"connection_id":159118,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:18:34] local.INFO: Processing buffer {"connection_id":159118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:18:34] local.INFO: Packet analysis {"connection_id":159118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:34] local.INFO: Extracted packet for processing {"connection_id":159118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:18:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:18:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":159118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:18:34] local.INFO: GPS data processed {"connection_id":159118,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:18:34] local.INFO: Acknowledgment sent {"connection_id":159118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:18:38] local.INFO: TCP Data received {"connection_id":160293,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5d7f8012d19a280071ff138003800f62b..."} 
[2026-08-21 15:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5d7f8012d19a280071ff138003800f62b..."} 
[2026-08-21 15:18:38] local.INFO: Processing buffer {"connection_id":160293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5d7f8012d19a280071ff138003800f62b..."} 
[2026-08-21 15:18:38] local.INFO: Packet analysis {"connection_id":160293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:38] local.INFO: Extracted packet for processing {"connection_id":160293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756654720,"raw_latitude":119533880,"longitude_deg":75.665472,"latitude_deg":11.953388,"altitude":56,"angle":246,"satellites":43,"speed":12,"hex_longitude":"2d19a280","hex_latitude":"071ff138","is_valid_coordinates":true} 
[2026-08-21 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550211584001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215774814076928,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985272320,"note":"Value kept but may cause issues"} 
[2026-08-21 15:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305515000,"timestamp_ms":1787305515000,"timestamp_seconds":1787305515,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5d7f8"} 
[2026-08-21 15:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 15:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550211584001,"66":12993,"101":206,"83":41984,"24":12,"16":14215774814076928,"45":1847531408985272320},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550211584001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:18:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215774814076928,"km_value":14215774814076.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985272320,"description":"Unknown IO ID 45"} 
[2026-08-21 15:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550211584001,"power":12993,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1847531408985272320}} 
[2026-08-21 15:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":160293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:18:38] local.INFO: GPS data processed {"connection_id":160293,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:18:38] local.INFO: Acknowledgment sent {"connection_id":160293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:18:48] local.INFO: TCP Data received {"connection_id":159403,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159403,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:18:48] local.INFO: Processing buffer {"connection_id":159403,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:18:48] local.INFO: IMEI packet received {"connection_id":159403,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":159403,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:18:57] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:18:57] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:18:57] local.INFO: IMEI packet received {"connection_id":159404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":159404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:19:02] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:19:02] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:19:02] local.INFO: IMEI packet received {"connection_id":159404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":159404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:19:03] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:19:03] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:19:03] local.INFO: Packet analysis {"connection_id":159404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:03] local.INFO: Extracted packet for processing {"connection_id":159404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 15:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 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-08-21 15:19: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-08-21 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:19: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-08-21 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-08-21 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-08-21 15:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:19:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:19:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":159404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:19:03] local.INFO: GPS data processed {"connection_id":159404,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:19:03] local.INFO: Acknowledgment sent {"connection_id":159404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:19:06] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:19:06] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:19:06] local.INFO: IMEI packet received {"connection_id":160294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":160294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:19:11] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:19:11] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:19:11] local.INFO: IMEI packet received {"connection_id":160294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":160294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:19:12] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:19:12] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:19:12] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:12] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533512,"longitude_deg":75.6653888,"latitude_deg":11.9533512,"altitude":56,"angle":260,"satellites":44,"speed":11,"hex_longitude":"2d199f40","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-08-21 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550211840001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847179565264353280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787305518000,"timestamp_ms":1787305518000,"timestamp_seconds":1787305518,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5e3b0"} 
[2026-08-21 15:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 15:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550211840001,"66":13135,"101":206,"83":41984,"24":11,"16":14215817763749888,"45":1847179565264353280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550211840001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:19:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847179565264353280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550211840001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1847179565264353280}} 
[2026-08-21 15:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:19:12] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:19:12] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:19:34] local.INFO: TCP Data received {"connection_id":159404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:19:34] local.INFO: Processing buffer {"connection_id":159404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b51890012dde4440050df3500018000915..."} 
[2026-08-21 15:19:34] local.INFO: Packet analysis {"connection_id":159404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:34] local.INFO: Extracted packet for processing {"connection_id":159404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":21,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550122240001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305466000,"timestamp_ms":1787305466000,"timestamp_seconds":1787305466,"priority":1,"record_length":96,"hex_timestamp":"000001a023b51890"} 
[2026-08-21 15:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-08-21 15:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550122240001,"66":25462,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550122240001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:19:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:19:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550122240001,"power":25462,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":159404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:19:34] local.INFO: GPS data processed {"connection_id":159404,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:19:34] local.INFO: Acknowledgment sent {"connection_id":159404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:19:43] local.INFO: TCP Data received {"connection_id":160294,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:19:43] local.INFO: Processing buffer {"connection_id":160294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:19:43] local.INFO: Packet analysis {"connection_id":160294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:43] local.INFO: Extracted packet for processing {"connection_id":160294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533512,"longitude_deg":75.6653888,"latitude_deg":11.9533512,"altitude":56,"angle":260,"satellites":44,"speed":11,"hex_longitude":"2d199f40","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-08-21 15:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550212608001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771589949440,"note":"Value kept but may cause issues"} 
[2026-08-21 15:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787305518000,"timestamp_ms":1787305518000,"timestamp_seconds":1787305518,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5e3b0"} 
[2026-08-21 15:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 15:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550212608001,"66":13135,"101":206,"83":41984,"24":11,"16":14215817763749888,"45":1846264771589949440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550212608001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:19:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771589949440,"description":"Unknown IO ID 45"} 
[2026-08-21 15:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550212608001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1846264771589949440}} 
[2026-08-21 15:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":160294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:19:43] local.INFO: GPS data processed {"connection_id":160294,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:19:43] local.INFO: Acknowledgment sent {"connection_id":160294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:20:01] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:20:01] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:20:01] local.INFO: IMEI packet received {"connection_id":159120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":159120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:20:02] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:02] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:02] local.INFO: IMEI packet received {"connection_id":159119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":159119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:20:05] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:05] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:05] local.INFO: IMEI packet received {"connection_id":159119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":159119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:20:06] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:06] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:06] local.INFO: Packet analysis {"connection_id":159119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:20:06] local.INFO: Extracted packet for processing {"connection_id":159119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:20:06] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:20:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":159119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:20:06] local.INFO: GPS data processed {"connection_id":159119,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:20:06] local.INFO: Acknowledgment sent {"connection_id":159119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:20:06] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:20:06] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:20:06] local.INFO: IMEI packet received {"connection_id":159120,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":159120,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:20:07] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:20:07] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:20:07] local.INFO: Packet analysis {"connection_id":159120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:20:07] local.INFO: Extracted packet for processing {"connection_id":159120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533512,"longitude_deg":75.6653888,"latitude_deg":11.9533512,"altitude":56,"angle":260,"satellites":44,"speed":11,"hex_longitude":"2d199f40","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-08-21 15:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550212608001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771589949440,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305518000,"timestamp_ms":1787305518000,"timestamp_seconds":1787305518,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5e3b0"} 
[2026-08-21 15:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 15:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550212608001,"66":13135,"101":206,"83":41984,"24":11,"16":14215817763749888,"45":1846264771589949440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550212608001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771589949440,"description":"Unknown IO ID 45"} 
[2026-08-21 15:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550212608001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1846264771589949440}} 
[2026-08-21 15:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":159120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:20:07] local.INFO: GPS data processed {"connection_id":159120,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:20:07] local.INFO: Acknowledgment sent {"connection_id":159120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:20:07] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:07] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:07] local.INFO: Packet analysis {"connection_id":159119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:20:07] local.INFO: Extracted packet for processing {"connection_id":159119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:20:07] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":159119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:20:07] local.INFO: GPS data processed {"connection_id":159119,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:20:07] local.INFO: Acknowledgment sent {"connection_id":159119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:20:38] local.INFO: TCP Data received {"connection_id":159120,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:20:38] local.INFO: Processing buffer {"connection_id":159120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5e3b0012d199f40071fefc8003801042c..."} 
[2026-08-21 15:20:38] local.INFO: Packet analysis {"connection_id":159120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:20:38] local.INFO: Extracted packet for processing {"connection_id":159120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756653888,"raw_latitude":119533512,"longitude_deg":75.6653888,"latitude_deg":11.9533512,"altitude":56,"angle":260,"satellites":44,"speed":11,"hex_longitude":"2d199f40","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-08-21 15:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550212608001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771589949440,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305518000,"timestamp_ms":1787305518000,"timestamp_seconds":1787305518,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5e3b0"} 
[2026-08-21 15:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 15:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159120,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550212608001,"66":13135,"101":206,"83":41984,"24":11,"16":14215817763749888,"45":1846264771589949440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550212608001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:20:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771589949440,"description":"Unknown IO ID 45"} 
[2026-08-21 15:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550212608001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1846264771589949440}} 
[2026-08-21 15:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":159120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:20:38] local.INFO: GPS data processed {"connection_id":159120,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:20:38] local.INFO: Acknowledgment sent {"connection_id":159120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:20:39] local.INFO: TCP Data received {"connection_id":159119,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:39] local.INFO: Processing buffer {"connection_id":159119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:20:39] local.INFO: Packet analysis {"connection_id":159119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:20:39] local.INFO: Extracted packet for processing {"connection_id":159119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:20:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:20:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":159119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:20:39] local.INFO: GPS data processed {"connection_id":159119,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:20:39] local.INFO: Acknowledgment sent {"connection_id":159119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:20:57] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:57] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:20:57] local.INFO: IMEI packet received {"connection_id":159405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":159405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:21:01] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:01] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:01] local.INFO: IMEI packet received {"connection_id":159406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":159406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:21:02] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:02] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:02] local.INFO: IMEI packet received {"connection_id":159406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":159406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:21:03] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:21:03] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:21:03] local.INFO: IMEI packet received {"connection_id":159405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":159405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:21:03] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:21:03] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:21:03] local.INFO: Packet analysis {"connection_id":159405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:21:03] local.INFO: Extracted packet for processing {"connection_id":159405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:21:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15: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-08-21 15: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:21:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:21:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":159405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:21:04] local.INFO: GPS data processed {"connection_id":159405,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:21:04] local.INFO: Acknowledgment sent {"connection_id":159405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:21:06] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:06] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:21:06] local.INFO: IMEI packet received {"connection_id":159406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":159406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:21:07] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023b5eb80012d199c80071fefe0003901142c..."} 
[2026-08-21 15:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b5eb80012d199c80071fefe0003901142c..."} 
[2026-08-21 15:21:07] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b5eb80012d199c80071fefe0003901142c..."} 
[2026-08-21 15:21:07] local.INFO: Packet analysis {"connection_id":159406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:21:07] local.INFO: Extracted packet for processing {"connection_id":159406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b5"} 
[2026-08-21 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756653184,"raw_latitude":119533536,"longitude_deg":75.6653184,"latitude_deg":11.9533536,"altitude":57,"angle":276,"satellites":44,"speed":15,"hex_longitude":"2d199c80","hex_latitude":"071fefe0","is_valid_coordinates":true} 
[2026-08-21 15:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550212608001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846264771589949440,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305520000,"timestamp_ms":1787305520000,"timestamp_seconds":1787305520,"priority":1,"record_length":96,"hex_timestamp":"000001a023b5eb80"} 
[2026-08-21 15:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 15:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550212608001,"66":2720,"101":206,"83":41984,"24":15,"16":14215817763749888,"45":1846264771589949440},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 15:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550212608001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:21:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 15:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846264771589949440,"description":"Unknown IO ID 45"} 
[2026-08-21 15:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550212608001,"power":2720,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846264771589949440}} 
[2026-08-21 15:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":159406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:21:07] local.INFO: GPS data processed {"connection_id":159406,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:21:07] local.INFO: Acknowledgment sent {"connection_id":159406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:21:35] local.INFO: TCP Data received {"connection_id":159405,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:21:35] local.INFO: Processing buffer {"connection_id":159405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:21:35] local.INFO: Packet analysis {"connection_id":159405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:21:35] local.INFO: Extracted packet for processing {"connection_id":159405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:21:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:21:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":159405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:21:35] local.INFO: GPS data processed {"connection_id":159405,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:21:35] local.INFO: Acknowledgment sent {"connection_id":159405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:21:38] local.INFO: TCP Data received {"connection_id":159406,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:21:38] local.INFO: Processing buffer {"connection_id":159406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:21:38] local.INFO: Packet analysis {"connection_id":159406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:21:38] local.INFO: Extracted packet for processing {"connection_id":159406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:21:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":159406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:21:38] local.INFO: GPS data processed {"connection_id":159406,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:21:38] local.INFO: Acknowledgment sent {"connection_id":159406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:21:57] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:21:57] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:21:57] local.INFO: IMEI packet received {"connection_id":159407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":159407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:22:01] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:22:01] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:22:01] local.INFO: IMEI packet received {"connection_id":159408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":159408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:22:02] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:22:02] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:22:02] local.INFO: IMEI packet received {"connection_id":159407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":159407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:22:03] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:22:03] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:22:03] local.INFO: Packet analysis {"connection_id":159407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:22:03] local.INFO: Extracted packet for processing {"connection_id":159407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:22: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-08-21 15: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:22:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":159407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:22:03] local.INFO: GPS data processed {"connection_id":159407,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:22:03] local.INFO: Acknowledgment sent {"connection_id":159407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:22:06] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:22:06] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:22:06] local.INFO: IMEI packet received {"connection_id":159408,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":159408,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:22:07] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:22:07] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:22:07] local.INFO: Packet analysis {"connection_id":159408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:22:07] local.INFO: Extracted packet for processing {"connection_id":159408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:22:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":159408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:22:07] local.INFO: GPS data processed {"connection_id":159408,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:22:07] local.INFO: Acknowledgment sent {"connection_id":159408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:22:34] local.INFO: TCP Data received {"connection_id":159407,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:22:34] local.INFO: Processing buffer {"connection_id":159407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:22:34] local.INFO: Packet analysis {"connection_id":159407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:22:34] local.INFO: Extracted packet for processing {"connection_id":159407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:22:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:22:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:22:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":159407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:22:34] local.INFO: GPS data processed {"connection_id":159407,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:22:34] local.INFO: Acknowledgment sent {"connection_id":159407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:22:38] local.INFO: TCP Data received {"connection_id":159408,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:22:38] local.INFO: Processing buffer {"connection_id":159408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:22:38] local.INFO: Packet analysis {"connection_id":159408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:22:38] local.INFO: Extracted packet for processing {"connection_id":159408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:22: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":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159408,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:22:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":159408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:22:38] local.INFO: GPS data processed {"connection_id":159408,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:22:38] local.INFO: Acknowledgment sent {"connection_id":159408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:22:57] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:22:57] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:22:57] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:23:01] local.INFO: TCP Data received {"connection_id":160296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:01] local.INFO: Processing buffer {"connection_id":160296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:01] local.INFO: IMEI packet received {"connection_id":160296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":160296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:23:01] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:23:01] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:23:01] local.INFO: IMEI packet received {"connection_id":159409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":159409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:23:02] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:23:02] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:23:02] local.INFO: IMEI packet received {"connection_id":160295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":160295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:23:03] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:23:03] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:23:03] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:23:03] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:23:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 15:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 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-08-21 15:23: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-08-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 15:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:23:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:23:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:23:03] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:23:03] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:23:06] local.INFO: TCP Data received {"connection_id":160296,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:06] local.INFO: Processing buffer {"connection_id":160296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:06] local.INFO: IMEI packet received {"connection_id":160296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":160296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:23:06] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:23:06] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:23:06] local.INFO: IMEI packet received {"connection_id":159409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":159409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:23:07] local.INFO: TCP Data received {"connection_id":160296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a023adeca0012d7a038005e46518001c012f28..."} 
[2026-08-21 15:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023adeca0012d7a038005e46518001c012f28..."} 
[2026-08-21 15:23:07] local.INFO: Processing buffer {"connection_id":160296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023adeca0012d7a038005e46518001c012f28..."} 
[2026-08-21 15:23:07] local.INFO: Packet analysis {"connection_id":160296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ad"} 
[2026-08-21 15:23:07] local.INFO: Extracted packet for processing {"connection_id":160296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ad"} 
[2026-08-21 15:23:07] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":40,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550001920001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787304996000,"timestamp_ms":1787304996000,"timestamp_seconds":1787304996,"priority":1,"record_length":96,"hex_timestamp":"000001a023adeca0"} 
[2026-08-21 15:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 15:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550001920001,"66":2231,"208":206,"85":15104,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550001920001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 15:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550001920001,"power":2231,"unknown_208":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:23:07] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:23:07] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:23:07] local.INFO: Packet analysis {"connection_id":159409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:23:07] local.INFO: Extracted packet for processing {"connection_id":159409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":160296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676316,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:23:07] local.INFO: GPS data processed {"connection_id":160296,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:23:07] local.INFO: Acknowledgment sent {"connection_id":160296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":159409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:23:07] local.INFO: GPS data processed {"connection_id":159409,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:23:07] local.INFO: Acknowledgment sent {"connection_id":159409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:23:34] local.INFO: TCP Data received {"connection_id":160295,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:23:34] local.INFO: Processing buffer {"connection_id":160295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:23:34] local.INFO: Packet analysis {"connection_id":160295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:23:34] local.INFO: Extracted packet for processing {"connection_id":160295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:23:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:23:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":160295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:23:34] local.INFO: GPS data processed {"connection_id":160295,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:23:34] local.INFO: Acknowledgment sent {"connection_id":160295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:23:38] local.INFO: TCP Data received {"connection_id":159409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:23:38] local.INFO: Processing buffer {"connection_id":159409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:23:38] local.INFO: Packet analysis {"connection_id":159409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:23:38] local.INFO: Extracted packet for processing {"connection_id":159409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:23:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":159409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:23:38] local.INFO: GPS data processed {"connection_id":159409,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:23:38] local.INFO: Acknowledgment sent {"connection_id":159409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:23:39] local.INFO: TCP Data received {"connection_id":160296,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba6fc0012d7a038005e46518001c012f2c..."} 
[2026-08-21 15:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba6fc0012d7a038005e46518001c012f2c..."} 
[2026-08-21 15:23:39] local.INFO: Processing buffer {"connection_id":160296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba6fc0012d7a038005e46518001c012f2c..."} 
[2026-08-21 15:23:39] local.INFO: Packet analysis {"connection_id":160296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:23:39] local.INFO: Extracted packet for processing {"connection_id":160296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:23:39] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":44,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550078976001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:23:39] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787305816000,"timestamp_ms":1787305816000,"timestamp_seconds":1787305816,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba6fc0"} 
[2026-08-21 15:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-08-21 15:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550078976001,"66":2220,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550078976001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:23:39] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550078976001,"power":2220,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":160296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:23:39] local.INFO: GPS data processed {"connection_id":160296,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:23:39] local.INFO: Acknowledgment sent {"connection_id":160296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:23:56] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:56] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:23:56] local.INFO: IMEI packet received {"connection_id":160297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":160297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:24:01] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:24:01] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:24:01] local.INFO: IMEI packet received {"connection_id":160297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":160297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:24:02] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:02] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:02] local.INFO: IMEI packet received {"connection_id":159121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":159121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:24:03] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba6fc0012d7a038005e46518001c012f2c..."} 
[2026-08-21 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba6fc0012d7a038005e46518001c012f2c..."} 
[2026-08-21 15:24:03] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba6fc0012d7a038005e46518001c012f2c..."} 
[2026-08-21 15:24:03] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:03] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":44,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550288896001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:03] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305816000,"timestamp_ms":1787305816000,"timestamp_seconds":1787305816,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba6fc0"} 
[2026-08-21 15:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-21 15:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550288896001,"66":2220,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550288896001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:24:03] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550288896001,"power":2220,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:24:03] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:24:03] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:24:06] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:24:06] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:24:06] local.INFO: IMEI packet received {"connection_id":159122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":159122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:24:07] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:07] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:07] local.INFO: IMEI packet received {"connection_id":159121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":159121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:24:08] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:24:08] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:24:08] local.INFO: Packet analysis {"connection_id":159121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:24:08] local.INFO: Extracted packet for processing {"connection_id":159121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:24:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:24:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:24:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":159121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:24:08] local.INFO: GPS data processed {"connection_id":159121,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:24:08] local.INFO: Acknowledgment sent {"connection_id":159121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:24:11] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:24:11] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:24:11] local.INFO: IMEI packet received {"connection_id":159122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":159122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:24:12] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:24:12] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:24:12] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:12] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:24:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:24:12] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:24:12] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:24:13] local.INFO: TCP Data received {"connection_id":159121,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:24:13] local.INFO: Processing buffer {"connection_id":159121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:24:13] local.INFO: Packet analysis {"connection_id":159121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:24:13] local.INFO: Extracted packet for processing {"connection_id":159121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:24:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:24:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:24:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:24:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:24:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":159121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:24:13] local.INFO: GPS data processed {"connection_id":159121,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:24:13] local.INFO: Acknowledgment sent {"connection_id":159121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:24:17] local.INFO: TCP Data received {"connection_id":159122,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:24:17] local.INFO: Processing buffer {"connection_id":159122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:24:17] local.INFO: Packet analysis {"connection_id":159122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:17] local.INFO: Extracted packet for processing {"connection_id":159122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24: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-08-21 15:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:24:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":159122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:24:17] local.INFO: GPS data processed {"connection_id":159122,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:24:17] local.INFO: Acknowledgment sent {"connection_id":159122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:24:36] local.INFO: TCP Data received {"connection_id":160297,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8b18012d7a038005e46518001c012f2b..."} 
[2026-08-21 15:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8b18012d7a038005e46518001c012f2b..."} 
[2026-08-21 15:24:36] local.INFO: Processing buffer {"connection_id":160297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8b18012d7a038005e46518001c012f2b..."} 
[2026-08-21 15:24:36] local.INFO: Packet analysis {"connection_id":160297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:36] local.INFO: Extracted packet for processing {"connection_id":160297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550288896001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:24:36] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787305823000,"timestamp_ms":1787305823000,"timestamp_seconds":1787305823,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8b18"} 
[2026-08-21 15:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-21 15:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550288896001,"66":12385,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550288896001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:24:36] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550288896001,"power":12385,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":160297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:24:36] local.INFO: GPS data processed {"connection_id":160297,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:24:36] local.INFO: Acknowledgment sent {"connection_id":160297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:24:58] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:58] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:24:58] local.INFO: IMEI packet received {"connection_id":159410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":159410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:25:01] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:01] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:01] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:25:01] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:25:01] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:25:01] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:25:02] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:25:02] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:25:02] local.INFO: IMEI packet received {"connection_id":159410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":159410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:25:03] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:25:03] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023b9b058012dde4440050df3500018000916..."} 
[2026-08-21 15:25:03] local.INFO: Packet analysis {"connection_id":159410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:25:03] local.INFO: Extracted packet for processing {"connection_id":159410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023b9"} 
[2026-08-21 15:25:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":24,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550199296001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787305767000,"timestamp_ms":1787305767000,"timestamp_seconds":1787305767,"priority":1,"record_length":96,"hex_timestamp":"000001a023b9b058"} 
[2026-08-21 15:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:25: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-08-21 15: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550199296001,"66":24788,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550199296001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:25:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550199296001,"power":24788,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":159410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:25:03] local.INFO: GPS data processed {"connection_id":159410,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:25:03] local.INFO: Acknowledgment sent {"connection_id":159410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:25:06] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:06] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:06] local.INFO: IMEI packet received {"connection_id":161672,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":161672,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:25:06] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:25:06] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:25:06] local.INFO: IMEI packet received {"connection_id":160298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":160298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:25:07] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:25:07] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:25:07] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:07] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:25:07] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:25:07] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:25:08] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8b18012d7a038005e46518001c012f2b..."} 
[2026-08-21 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8b18012d7a038005e46518001c012f2b..."} 
[2026-08-21 15:25:08] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8b18012d7a038005e46518001c012f2b..."} 
[2026-08-21 15:25:08] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:08] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762971008,"raw_latitude":98854168,"longitude_deg":76.2971008,"latitude_deg":9.8854168,"altitude":28,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2d7a0380","hex_latitude":"05e46518","is_valid_coordinates":true} 
[2026-08-21 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290688001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:08] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787305823000,"timestamp_ms":1787305823000,"timestamp_seconds":1787305823,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8b18"} 
[2026-08-21 15:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 15:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:25:08] 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-08-21 15:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290688001,"66":12385,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290688001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:25:08] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550290688001,"power":12385,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:25:08] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:25:08] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:25:12] local.INFO: TCP Data received {"connection_id":161672,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba92e8012d7a02c005e46880001c01542c..."} 
[2026-08-21 15:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba92e8012d7a02c005e46880001c01542c..."} 
[2026-08-21 15:25:12] local.INFO: Processing buffer {"connection_id":161672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba92e8012d7a02c005e46880001c01542c..."} 
[2026-08-21 15:25:12] local.INFO: Packet analysis {"connection_id":161672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:12] local.INFO: Extracted packet for processing {"connection_id":161672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855040,"longitude_deg":76.2970816,"latitude_deg":9.885504,"altitude":28,"angle":340,"satellites":44,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-08-21 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290688001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792011660352362496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:12] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787305825000,"timestamp_ms":1787305825000,"timestamp_seconds":1787305825,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba92e8"} 
[2026-08-21 15:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 15:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161672,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:25:12] 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-08-21 15:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290688001,"66":12385,"24":0,"16":121742097840603136,"45":8792011660352362496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290688001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792011660352362496,"description":"Unknown IO ID 45"} 
[2026-08-21 15:25:12] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550290688001,"power":12385,"ignition":0,"odometer":null,"unknown_45":8792011660352362496}} 
[2026-08-21 15:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":161672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:25:12] local.INFO: GPS data processed {"connection_id":161672,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:25:12] local.INFO: Acknowledgment sent {"connection_id":161672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:25:34] local.INFO: TCP Data received {"connection_id":159410,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:25:34] local.INFO: Processing buffer {"connection_id":159410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:25:34] local.INFO: Packet analysis {"connection_id":159410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:25:34] local.INFO: Extracted packet for processing {"connection_id":159410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:25:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":159410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:25:34] local.INFO: GPS data processed {"connection_id":159410,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:25:34] local.INFO: Acknowledgment sent {"connection_id":159410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:25:38] local.INFO: TCP Data received {"connection_id":160298,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:25:38] local.INFO: Processing buffer {"connection_id":160298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ba8f00012d197400071fee38004001172b..."} 
[2026-08-21 15:25:38] local.INFO: Packet analysis {"connection_id":160298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:38] local.INFO: Extracted packet for processing {"connection_id":160298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550213120001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845490715404001280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787305824000,"timestamp_ms":1787305824000,"timestamp_seconds":1787305824,"priority":1,"record_length":96,"hex_timestamp":"000001a023ba8f00"} 
[2026-08-21 15:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 15:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1688,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550213120001,"66":2155,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1845490715404001280},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550213120001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:25:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845490715404001280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550213120001,"power":2155,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1845490715404001280}} 
[2026-08-21 15:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":160298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:25:38] local.INFO: GPS data processed {"connection_id":160298,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:25:38] local.INFO: Acknowledgment sent {"connection_id":160298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:25:56] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:56] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:25:56] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:26:01] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:26:01] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:26:01] local.INFO: IMEI packet received {"connection_id":161673,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":161673,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:26:01] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:01] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:01] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:26:02] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:26:02] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:26:02] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:26:02] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855040,"longitude_deg":76.2970816,"latitude_deg":9.885504,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-08-21 15:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550291200001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:02] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787305832000,"timestamp_ms":1787305832000,"timestamp_seconds":1787305832,"priority":1,"record_length":96,"hex_timestamp":"000001a023baae40"} 
[2026-08-21 15:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 15:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:26:02] 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-08-21 15:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550291200001,"66":11634,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550291200001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:26:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550291200001,"power":11634,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:26:02] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:26:02] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:26:02] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:02] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:02] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:26:03] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:03] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:03] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:26:06] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:06] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:26:06] local.INFO: IMEI packet received {"connection_id":160300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":160300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:26:07] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:07] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:07] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:26:07] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:26:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:26:07] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:26:07] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:26:07] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:07] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:07] local.INFO: IMEI packet received {"connection_id":160299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":160299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:26:08] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:26:08] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:26:08] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:26:08] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:26:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:26:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:26:08] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:26:08] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:26:12] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:12] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:12] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:26:12] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:26:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:26:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:26:12] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:26:12] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:26:13] local.INFO: TCP Data received {"connection_id":160299,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:26:13] local.INFO: Processing buffer {"connection_id":160299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:26:13] local.INFO: Packet analysis {"connection_id":160299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:26:13] local.INFO: Extracted packet for processing {"connection_id":160299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:26:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:26:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:26:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":160299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:26:13] local.INFO: GPS data processed {"connection_id":160299,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:26:13] local.INFO: Acknowledgment sent {"connection_id":160299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:26:33] local.INFO: TCP Data received {"connection_id":161673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:26:33] local.INFO: Processing buffer {"connection_id":161673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:26:33] local.INFO: Packet analysis {"connection_id":161673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:26:33] local.INFO: Extracted packet for processing {"connection_id":161673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855040,"longitude_deg":76.2970816,"latitude_deg":9.885504,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-08-21 15:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:33] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787305832000,"timestamp_ms":1787305832000,"timestamp_seconds":1787305832,"priority":1,"record_length":96,"hex_timestamp":"000001a023baae40"} 
[2026-08-21 15:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:26:33] 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-08-21 15:26: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161673,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:26:33] 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-08-21 15:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":11634,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:26:33] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550292992001,"power":11634,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":161673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:26:33] local.INFO: GPS data processed {"connection_id":161673,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:26:33] local.INFO: Acknowledgment sent {"connection_id":161673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:26:43] local.INFO: TCP Data received {"connection_id":160300,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:43] local.INFO: Processing buffer {"connection_id":160300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:26:43] local.INFO: Packet analysis {"connection_id":160300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:26:43] local.INFO: Extracted packet for processing {"connection_id":160300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:26:43] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:26:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:26:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":160300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:26:43] local.INFO: GPS data processed {"connection_id":160300,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:26:43] local.INFO: Acknowledgment sent {"connection_id":160300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:26:56] local.INFO: TCP Data received {"connection_id":159123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:26:56] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:26:56] local.INFO: IMEI packet received {"connection_id":159123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:26:57] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:57] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:26:57] local.INFO: IMEI packet received {"connection_id":159124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":159124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:27:01] local.INFO: TCP Data received {"connection_id":159123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:27:01] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:27:01] local.INFO: IMEI packet received {"connection_id":159123,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":159123,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:27:01] local.INFO: TCP Data received {"connection_id":159411,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:27:01] local.INFO: Processing buffer {"connection_id":159411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:27:01] local.INFO: IMEI packet received {"connection_id":159411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":159411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:27:02] local.INFO: TCP Data received {"connection_id":159123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:27:02] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:27:02] local.INFO: Packet analysis {"connection_id":159123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:27:02] local.INFO: Extracted packet for processing {"connection_id":159123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:27:02] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855040,"longitude_deg":76.2970816,"latitude_deg":9.885504,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-08-21 15:27: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-08-21 15:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:02] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787305832000,"timestamp_ms":1787305832000,"timestamp_seconds":1787305832,"priority":1,"record_length":96,"hex_timestamp":"000001a023baae40"} 
[2026-08-21 15:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:27:02] 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-08-21 15: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:27:02] 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-08-21 15:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":11634,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:27:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550292992001,"power":11634,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":159123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:27:02] local.INFO: GPS data processed {"connection_id":159123,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:27:02] local.INFO: Acknowledgment sent {"connection_id":159123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:27:02] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:27:02] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:27:02] local.INFO: IMEI packet received {"connection_id":159124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":159124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:27:03] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:27:03] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:27:03] local.INFO: Packet analysis {"connection_id":159124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:27:03] local.INFO: Extracted packet for processing {"connection_id":159124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:27:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15: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-08-21 15: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:27:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":159124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:27:03] local.INFO: GPS data processed {"connection_id":159124,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:27:03] local.INFO: Acknowledgment sent {"connection_id":159124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:27:06] local.INFO: TCP Data received {"connection_id":159411,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:27:06] local.INFO: Processing buffer {"connection_id":159411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:27:06] local.INFO: IMEI packet received {"connection_id":159411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":159411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:27:07] local.INFO: TCP Data received {"connection_id":159411,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:27:07] local.INFO: Processing buffer {"connection_id":159411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:27:07] local.INFO: Packet analysis {"connection_id":159411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:27:07] local.INFO: Extracted packet for processing {"connection_id":159411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:27:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":159411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:27:07] local.INFO: GPS data processed {"connection_id":159411,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:27:07] local.INFO: Acknowledgment sent {"connection_id":159411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:27:33] local.INFO: TCP Data received {"connection_id":159123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:27:33] local.INFO: Processing buffer {"connection_id":159123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023baae40012d7a02c005e46880001c01542b..."} 
[2026-08-21 15:27:33] local.INFO: Packet analysis {"connection_id":159123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:27:33] local.INFO: Extracted packet for processing {"connection_id":159123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ba"} 
[2026-08-21 15:27:33] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855040,"longitude_deg":76.2970816,"latitude_deg":9.885504,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46880","is_valid_coordinates":true} 
[2026-08-21 15:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:33] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 15:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787305832000,"timestamp_ms":1787305832000,"timestamp_seconds":1787305832,"priority":1,"record_length":96,"hex_timestamp":"000001a023baae40"} 
[2026-08-21 15:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:27:33] 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-08-21 15:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159123,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:27:33] 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-08-21 15:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":11634,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 15:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:27:33] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550292992001,"power":11634,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":159123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:27:33] local.INFO: GPS data processed {"connection_id":159123,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:27:33] local.INFO: Acknowledgment sent {"connection_id":159123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:27:34] local.INFO: TCP Data received {"connection_id":159124,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:27:34] local.INFO: Processing buffer {"connection_id":159124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:27:34] local.INFO: Packet analysis {"connection_id":159124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:27:34] local.INFO: Extracted packet for processing {"connection_id":159124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:27:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:27:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":159124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:27:34] local.INFO: GPS data processed {"connection_id":159124,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:27:34] local.INFO: Acknowledgment sent {"connection_id":159124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:27:38] local.INFO: TCP Data received {"connection_id":159411,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:27:38] local.INFO: Processing buffer {"connection_id":159411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:27:38] local.INFO: Packet analysis {"connection_id":159411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:27:38] local.INFO: Extracted packet for processing {"connection_id":159411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:27:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:27:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:27:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:27:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":159411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:27:38] local.INFO: GPS data processed {"connection_id":159411,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:27:38] local.INFO: Acknowledgment sent {"connection_id":159411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:27:56] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:27:56] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:27:56] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:27:59] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:27:59] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:27:59] local.INFO: IMEI packet received {"connection_id":159125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":159125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:28:01] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:28:01] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:28:01] local.INFO: IMEI packet received {"connection_id":161674,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":161674,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:28:01] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:28:01] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:28:01] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:28:02] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:28:02] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:28:02] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:28:02] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:28:02] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855000,"longitude_deg":76.2970816,"latitude_deg":9.8855,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-08-21 15:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787306254000,"timestamp_ms":1787306254000,"timestamp_seconds":1787306254,"priority":1,"record_length":96,"hex_timestamp":"000001a023c11eb0"} 
[2026-08-21 15:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:28:02] 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-08-21 15: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:28:02] 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-08-21 15:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":12189,"102":206,"87":12288,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:28:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550292992001,"power":12189,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:28:02] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:28:02] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:28:02] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:28:02] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:28:02] local.INFO: IMEI packet received {"connection_id":159125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":159125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:28:03] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:03] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:03] local.INFO: Packet analysis {"connection_id":159125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:28:03] local.INFO: Extracted packet for processing {"connection_id":159125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:28:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 15:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 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-08-21 15:28: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-08-21 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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 15:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:28:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":159125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:28:03] local.INFO: GPS data processed {"connection_id":159125,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:28:03] local.INFO: Acknowledgment sent {"connection_id":159125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:28:06] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:28:06] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:28:06] local.INFO: IMEI packet received {"connection_id":160301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":160301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:28:07] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:28:07] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:28:07] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:28:07] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:28:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:28:07] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:28:07] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:28:08] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:08] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:08] local.INFO: Packet analysis {"connection_id":159125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:28:08] local.INFO: Extracted packet for processing {"connection_id":159125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:28:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:28:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:28:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":159125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:28:08] local.INFO: GPS data processed {"connection_id":159125,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:28:08] local.INFO: Acknowledgment sent {"connection_id":159125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:28:34] local.INFO: TCP Data received {"connection_id":161674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:28:34] local.INFO: Processing buffer {"connection_id":161674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:28:34] local.INFO: Packet analysis {"connection_id":161674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:28:34] local.INFO: Extracted packet for processing {"connection_id":161674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:28:34] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855000,"longitude_deg":76.2970816,"latitude_deg":9.8855,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-08-21 15:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306254000,"timestamp_ms":1787306254000,"timestamp_seconds":1787306254,"priority":1,"record_length":96,"hex_timestamp":"000001a023c11eb0"} 
[2026-08-21 15:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:28:34] 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-08-21 15: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161674,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:28:34] 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-08-21 15:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":12189,"102":206,"87":12288,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:28:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550292992001,"power":12189,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":161674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:28:34] local.INFO: GPS data processed {"connection_id":161674,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:28:34] local.INFO: Acknowledgment sent {"connection_id":161674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:28:38] local.INFO: TCP Data received {"connection_id":160301,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:28:38] local.INFO: Processing buffer {"connection_id":160301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:28:38] local.INFO: Packet analysis {"connection_id":160301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:28:38] local.INFO: Extracted packet for processing {"connection_id":160301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:28:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":160301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:28:38] local.INFO: GPS data processed {"connection_id":160301,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:28:38] local.INFO: Acknowledgment sent {"connection_id":160301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:28:39] local.INFO: TCP Data received {"connection_id":159125,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:39] local.INFO: Processing buffer {"connection_id":159125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:28:39] local.INFO: Packet analysis {"connection_id":159125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:28:39] local.INFO: Extracted packet for processing {"connection_id":159125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:28:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:28:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:28:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":159125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:28:39] local.INFO: GPS data processed {"connection_id":159125,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:28:39] local.INFO: Acknowledgment sent {"connection_id":159125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:28:53] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:53] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:53] local.INFO: IMEI packet received {"connection_id":159126,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159126,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:28:54] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:54] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:54] local.INFO: IMEI packet received {"connection_id":159126,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":159126,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:28:56] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:28:56] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:28:56] local.INFO: IMEI packet received {"connection_id":159412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":159412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:28:57] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:28:57] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:28:57] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:28:59] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:59] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:28:59] local.INFO: IMEI packet received {"connection_id":159126,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":159126,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:29:00] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 15:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 15:29:00] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000119400100000000000000000000000000..."} 
[2026-08-21 15:29:00] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 15:29:00] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 15:29:00] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:29:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72000,"timestamp_seconds":72,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 15:29:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 15:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 15:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 15:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 15:29:00] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 15:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 15:29:00] local.ERROR: GPS data processing failed {"connection_id":159126,"error":"No valid data to process"} 
[2026-08-21 15:29:00] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 15:29:01] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:29:01] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:29:01] local.INFO: IMEI packet received {"connection_id":159412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":159412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:29:01] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:29:01] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:29:01] local.INFO: IMEI packet received {"connection_id":160302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":160302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:29:02] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:29:02] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:29:02] local.INFO: Packet analysis {"connection_id":159412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:29:02] local.INFO: Extracted packet for processing {"connection_id":159412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:29:02] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855000,"longitude_deg":76.2970816,"latitude_deg":9.8855,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787306254000,"timestamp_ms":1787306254000,"timestamp_seconds":1787306254,"priority":1,"record_length":96,"hex_timestamp":"000001a023c11eb0"} 
[2026-08-21 15:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:29:02] 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-08-21 15: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:29:02] 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-08-21 15:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":12189,"102":206,"87":12288,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:29:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:29:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550292992001,"power":12189,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":159412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676353,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:29:02] local.INFO: GPS data processed {"connection_id":159412,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:29:02] local.INFO: Acknowledgment sent {"connection_id":159412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:29:02] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:29:02] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:29:02] local.INFO: IMEI packet received {"connection_id":161675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":161675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:29:03] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:29:03] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:29:03] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:29:03] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:29: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-08-21 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:29:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:29:03] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:29:03] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:29:06] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:29:06] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:29:06] local.INFO: IMEI packet received {"connection_id":160302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":160302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:29:07] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:29:07] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:29:07] local.INFO: Packet analysis {"connection_id":160302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:29:07] local.INFO: Extracted packet for processing {"connection_id":160302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:29:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":160302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:29:07] local.INFO: GPS data processed {"connection_id":160302,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:29:07] local.INFO: Acknowledgment sent {"connection_id":160302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:29:30] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-21 15:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-21 15:29:30] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000016b480100000000000000000000000000..."} 
[2026-08-21 15:29:30] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 15:29:30] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 15:29:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:29:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":93000,"timestamp_seconds":93,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 15:29:30] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 15:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 15:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":0} 
[2026-08-21 15:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 15:29:30] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 15:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 15:29:30] local.ERROR: GPS data processing failed {"connection_id":159126,"error":"No valid data to process"} 
[2026-08-21 15:29:30] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 15:29:34] local.INFO: TCP Data received {"connection_id":161675,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:29:34] local.INFO: Processing buffer {"connection_id":161675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:29:34] local.INFO: Packet analysis {"connection_id":161675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:29:34] local.INFO: Extracted packet for processing {"connection_id":161675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":161675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:29:34] local.INFO: GPS data processed {"connection_id":161675,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:29:34] local.INFO: Acknowledgment sent {"connection_id":161675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:29:34] local.INFO: TCP Data received {"connection_id":159412,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:29:34] local.INFO: Processing buffer {"connection_id":159412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:29:34] local.INFO: Packet analysis {"connection_id":159412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:29:34] local.INFO: Extracted packet for processing {"connection_id":159412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855000,"longitude_deg":76.2970816,"latitude_deg":9.8855,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-08-21 15:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306254000,"timestamp_ms":1787306254000,"timestamp_seconds":1787306254,"priority":1,"record_length":96,"hex_timestamp":"000001a023c11eb0"} 
[2026-08-21 15:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:29:34] 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-08-21 15:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:29:34] 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-08-21 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":12189,"102":206,"87":12288,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550292992001,"power":12189,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":159412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:29:35] local.INFO: GPS data processed {"connection_id":159412,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:29:35] local.INFO: Acknowledgment sent {"connection_id":159412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:29:39] local.INFO: TCP Data received {"connection_id":160302,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:29:39] local.INFO: Processing buffer {"connection_id":160302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:29:39] local.INFO: Packet analysis {"connection_id":160302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:29:39] local.INFO: Extracted packet for processing {"connection_id":160302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:29:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":160302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:29:39] local.INFO: GPS data processed {"connection_id":160302,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:29:39] local.INFO: Acknowledgment sent {"connection_id":160302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:29:56] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:29:56] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:29:56] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:29:57] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:29:57] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:29:57] local.INFO: IMEI packet received {"connection_id":159127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":159127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:30:01] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:30:01] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:30:01] local.INFO: IMEI packet received {"connection_id":161676,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":161676,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:30:02] local.INFO: TCP Data received {"connection_id":161676,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:30:02] local.INFO: Processing buffer {"connection_id":161676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c11eb0012d7a02c005e46858001c01542b..."} 
[2026-08-21 15:30:02] local.INFO: Packet analysis {"connection_id":161676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:30:02] local.INFO: Extracted packet for processing {"connection_id":161676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c1"} 
[2026-08-21 15:30:02] local.INFO: GPS Element Parsed {"raw_longitude":762970816,"raw_latitude":98855000,"longitude_deg":76.2970816,"latitude_deg":9.8855,"altitude":28,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d7a02c0","hex_latitude":"05e46858","is_valid_coordinates":true} 
[2026-08-21 15:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550292992001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8791800554120052736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787306254000,"timestamp_ms":1787306254000,"timestamp_seconds":1787306254,"priority":1,"record_length":96,"hex_timestamp":"000001a023c11eb0"} 
[2026-08-21 15:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:30:02] 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-08-21 15: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:30:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1449,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161676,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:30:02] 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-08-21 15:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550292992001,"66":12189,"102":206,"87":12288,"24":0,"16":121742097840603136,"45":8791800554120052736},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550292992001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:30:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:30:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742097840603136,"km_value":121742097840603.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:30:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8791800554120052736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550292992001,"power":12189,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8791800554120052736}} 
[2026-08-21 15:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":161676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:30:02] local.INFO: GPS data processed {"connection_id":161676,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:30:02] local.INFO: Acknowledgment sent {"connection_id":161676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:30:02] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:30:02] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:30:02] local.INFO: IMEI packet received {"connection_id":159127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":159127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:30:03] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:30:03] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023be4820012dde4440050df3500015000916..."} 
[2026-08-21 15:30:03] local.INFO: Packet analysis {"connection_id":159127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:30:03] local.INFO: Extracted packet for processing {"connection_id":159127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023be"} 
[2026-08-21 15:30:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":21,"angle":9,"satellites":22,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550276352001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306068000,"timestamp_ms":1787306068000,"timestamp_seconds":1787306068,"priority":1,"record_length":96,"hex_timestamp":"000001a023be4820"} 
[2026-08-21 15:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:30: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-08-21 15:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550276352001,"66":25702,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550276352001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:30:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550276352001,"power":25702,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":159127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:30:03] local.INFO: GPS data processed {"connection_id":159127,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:30:03] local.INFO: Acknowledgment sent {"connection_id":159127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:30:06] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:30:06] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:30:06] local.INFO: IMEI packet received {"connection_id":159413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":159413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:30:07] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2f7580100000000000000000000000000..."} 
[2026-08-21 15:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2f7580100000000000000000000000000..."} 
[2026-08-21 15:30:07] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2f7580100000000000000000000000000..."} 
[2026-08-21 15:30:07] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:30:07] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:30:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306375000,"timestamp_ms":1787306375000,"timestamp_seconds":1787306375,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2f758"} 
[2026-08-21 15:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:30:07] 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-08-21 15:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 15:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:30:07] local.INFO: GPS data processed {"connection_id":159126,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:30:07] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:30:11] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:30:11] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:30:11] local.INFO: IMEI packet received {"connection_id":159413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":159413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:30:12] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:30:12] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:30:12] local.INFO: Packet analysis {"connection_id":159413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:30:12] local.INFO: Extracted packet for processing {"connection_id":159413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:30:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:30:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":159413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:30:12] local.INFO: GPS data processed {"connection_id":159413,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:30:12] local.INFO: Acknowledgment sent {"connection_id":159413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:30:17] local.INFO: TCP Data received {"connection_id":159413,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:30:17] local.INFO: Processing buffer {"connection_id":159413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023bf26c8012d197400071fee38004001172f..."} 
[2026-08-21 15:30:17] local.INFO: Packet analysis {"connection_id":159413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:30:17] local.INFO: Extracted packet for processing {"connection_id":159413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023bf"} 
[2026-08-21 15:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":47,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550290944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30: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-08-21 15:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787306125000,"timestamp_ms":1787306125000,"timestamp_seconds":1787306125,"priority":1,"record_length":96,"hex_timestamp":"000001a023bf26c8"} 
[2026-08-21 15:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 15:30:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550290944001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550290944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:30:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:30:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550290944001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":159413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:30:17] local.INFO: GPS data processed {"connection_id":159413,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:30:17] local.INFO: Acknowledgment sent {"connection_id":159413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:30:34] local.INFO: TCP Data received {"connection_id":159127,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:30:34] local.INFO: Processing buffer {"connection_id":159127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:30:34] local.INFO: Packet analysis {"connection_id":159127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:30:34] local.INFO: Extracted packet for processing {"connection_id":159127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:30:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:30:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:30:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":159127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:30:34] local.INFO: GPS data processed {"connection_id":159127,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:30:34] local.INFO: Acknowledgment sent {"connection_id":159127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:30:38] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c349600100000000000000000000000000..."} 
[2026-08-21 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c349600100000000000000000000000000..."} 
[2026-08-21 15:30:38] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c349600100000000000000000000000000..."} 
[2026-08-21 15:30:38] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:30:38] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:30:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:30:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787306396000,"timestamp_ms":1787306396000,"timestamp_seconds":1787306396,"priority":1,"record_length":96,"hex_timestamp":"000001a023c34960"} 
[2026-08-21 15:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:30:38] 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-08-21 15:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:30:38] local.INFO: GPS data processed {"connection_id":159126,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:30:38] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:31:01] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:31:01] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:31:01] local.INFO: IMEI packet received {"connection_id":159414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":159414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:31:02] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:02] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:02] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:31:04] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:31:04] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:31:04] local.INFO: IMEI packet received {"connection_id":159414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":159414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:31:05] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:31:05] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:31:05] local.INFO: Packet analysis {"connection_id":159414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:05] local.INFO: Extracted packet for processing {"connection_id":159414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:05] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550368000001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787306426000,"timestamp_ms":1787306426000,"timestamp_seconds":1787306426,"priority":1,"record_length":96,"hex_timestamp":"000001a023c3be90"} 
[2026-08-21 15:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:31:05] 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-08-21 15:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:31:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550368000001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550368000001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:31:05] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:31:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550368000001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":159414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:31:05] local.INFO: GPS data processed {"connection_id":159414,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:31:05] local.INFO: Acknowledgment sent {"connection_id":159414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:31:07] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:07] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:07] local.INFO: IMEI packet received {"connection_id":160303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":160303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:31:08] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:31:08] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:31:08] local.INFO: Packet analysis {"connection_id":160303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:31:08] local.INFO: Extracted packet for processing {"connection_id":160303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:31: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-08-21 15:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":160303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:31:08] local.INFO: GPS data processed {"connection_id":160303,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:31:08] local.INFO: Acknowledgment sent {"connection_id":160303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:31:10] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c39b680100000000000000000000000000..."} 
[2026-08-21 15:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c39b680100000000000000000000000000..."} 
[2026-08-21 15:31:10] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c39b680100000000000000000000000000..."} 
[2026-08-21 15:31:10] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:10] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787306417000,"timestamp_ms":1787306417000,"timestamp_seconds":1787306417,"priority":1,"record_length":96,"hex_timestamp":"000001a023c39b68"} 
[2026-08-21 15:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:31:10] 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-08-21 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-21 15:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:31:10] local.INFO: GPS data processed {"connection_id":159126,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:31:10] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:31:13] local.INFO: TCP Data received {"connection_id":160303,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:31:13] local.INFO: Processing buffer {"connection_id":160303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:31:13] local.INFO: Packet analysis {"connection_id":160303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:31:13] local.INFO: Extracted packet for processing {"connection_id":160303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:31:13] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:31:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":160303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:31:13] local.INFO: GPS data processed {"connection_id":160303,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:31:13] local.INFO: Acknowledgment sent {"connection_id":160303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:31:36] local.INFO: TCP Data received {"connection_id":159414,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:31:36] local.INFO: Processing buffer {"connection_id":159414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:31:36] local.INFO: Packet analysis {"connection_id":159414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:36] local.INFO: Extracted packet for processing {"connection_id":159414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:36] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550368000001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787306426000,"timestamp_ms":1787306426000,"timestamp_seconds":1787306426,"priority":1,"record_length":96,"hex_timestamp":"000001a023c3be90"} 
[2026-08-21 15:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:31:36] 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-08-21 15:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550368000001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550368000001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550368000001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":159414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:31:36] local.INFO: GPS data processed {"connection_id":159414,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:31:36] local.INFO: Acknowledgment sent {"connection_id":159414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:31:44] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c3ed700100000000000000000000000000..."} 
[2026-08-21 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c3ed700100000000000000000000000000..."} 
[2026-08-21 15:31:44] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c3ed700100000000000000000000000000..."} 
[2026-08-21 15:31:44] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:44] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:31:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787306438000,"timestamp_ms":1787306438000,"timestamp_seconds":1787306438,"priority":1,"record_length":96,"hex_timestamp":"000001a023c3ed70"} 
[2026-08-21 15:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 15:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:31:44] local.INFO: GPS data processed {"connection_id":159126,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:31:44] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:31:57] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:57] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:31:57] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:32:01] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:32:02] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:32:02] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:32:02] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:32:02] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:32:02] local.INFO: IMEI packet received {"connection_id":160304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":160304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:32:03] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:32:03] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:32:03] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:32:03] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:32:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:32: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-08-21 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:32: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-08-21 15: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-08-21 15:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:32: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-08-21 15:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:32:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:32:03] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:32:03] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:32:06] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:32:06] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:32:06] local.INFO: IMEI packet received {"connection_id":161677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":161677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:32:07] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:32:07] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:32:07] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:32:07] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550368000001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306426000,"timestamp_ms":1787306426000,"timestamp_seconds":1787306426,"priority":1,"record_length":96,"hex_timestamp":"000001a023c3be90"} 
[2026-08-21 15:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:32:07] 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-08-21 15:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550368000001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550368000001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:32:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550368000001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:32:07] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:32:07] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:32:15] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c43f780100000000000000000000000000..."} 
[2026-08-21 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c43f780100000000000000000000000000..."} 
[2026-08-21 15:32:15] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c43f780100000000000000000000000000..."} 
[2026-08-21 15:32:15] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c4"} 
[2026-08-21 15:32:15] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c4"} 
[2026-08-21 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787306459000,"timestamp_ms":1787306459000,"timestamp_seconds":1787306459,"priority":1,"record_length":96,"hex_timestamp":"000001a023c43f78"} 
[2026-08-21 15:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:32:15] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 15:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:32:15] local.INFO: GPS data processed {"connection_id":159126,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:32:15] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:32:34] local.INFO: TCP Data received {"connection_id":160304,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:32:34] local.INFO: Processing buffer {"connection_id":160304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:32:34] local.INFO: Packet analysis {"connection_id":160304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:32:34] local.INFO: Extracted packet for processing {"connection_id":160304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:32:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:32:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":160304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:32:34] local.INFO: GPS data processed {"connection_id":160304,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:32:34] local.INFO: Acknowledgment sent {"connection_id":160304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:32:38] local.INFO: TCP Data received {"connection_id":161677,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:32:38] local.INFO: Processing buffer {"connection_id":161677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:32:38] local.INFO: Packet analysis {"connection_id":161677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:32:38] local.INFO: Extracted packet for processing {"connection_id":161677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:32:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550368000001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787306426000,"timestamp_ms":1787306426000,"timestamp_seconds":1787306426,"priority":1,"record_length":96,"hex_timestamp":"000001a023c3be90"} 
[2026-08-21 15:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:32:38] 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-08-21 15:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550368000001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550368000001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:32:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:32:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550368000001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":161677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:32:38] local.INFO: GPS data processed {"connection_id":161677,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:32:38] local.INFO: Acknowledgment sent {"connection_id":161677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:32:48] local.INFO: TCP Data received {"connection_id":159126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c491800100000000000000000000000000..."} 
[2026-08-21 15:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c491800100000000000000000000000000..."} 
[2026-08-21 15:32:48] local.INFO: Processing buffer {"connection_id":159126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c491800100000000000000000000000000..."} 
[2026-08-21 15:32:48] local.INFO: Packet analysis {"connection_id":159126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c4"} 
[2026-08-21 15:32:48] local.INFO: Extracted packet for processing {"connection_id":159126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c4"} 
[2026-08-21 15:32: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-08-21 15:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:32:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787306480000,"timestamp_ms":1787306480000,"timestamp_seconds":1787306480,"priority":1,"record_length":96,"hex_timestamp":"000001a023c49180"} 
[2026-08-21 15:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:32:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 15:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159126,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:32:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:32:48] local.INFO: DEBUG: GPS processor result {"connection_id":159126,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:32:48] local.INFO: GPS data processed {"connection_id":159126,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:32:48] local.INFO: Acknowledgment sent {"connection_id":159126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:32:57] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:32:57] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:32:57] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:33:01] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:33:01] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:33:01] local.INFO: IMEI packet received {"connection_id":159415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":159415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:33:02] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:33:02] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:33:02] local.INFO: IMEI packet received {"connection_id":161678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":161678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:33:03] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:33:03] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:33:03] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:33:03] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:33:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:33: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-08-21 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:33: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-08-21 15:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:33:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:33:03] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:33:03] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:33:06] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:33:06] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:33:06] local.INFO: IMEI packet received {"connection_id":159415,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":159415,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:33:07] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:33:07] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:33:07] local.INFO: Packet analysis {"connection_id":159415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:33:07] local.INFO: Extracted packet for processing {"connection_id":159415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550368000001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306426000,"timestamp_ms":1787306426000,"timestamp_seconds":1787306426,"priority":1,"record_length":96,"hex_timestamp":"000001a023c3be90"} 
[2026-08-21 15:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:33:07] 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-08-21 15:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550368000001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550368000001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:33:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550368000001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":159415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:33:07] local.INFO: GPS data processed {"connection_id":159415,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:33:07] local.INFO: Acknowledgment sent {"connection_id":159415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:33:13] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:33:13] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:33:13] local.INFO: IMEI packet received {"connection_id":159128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":159128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:33:18] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:33:18] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:33:18] local.INFO: IMEI packet received {"connection_id":159128,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":159128,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:33:20] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c4e3880100000000000000000000000000..."} 
[2026-08-21 15:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c4e3880100000000000000000000000000..."} 
[2026-08-21 15:33:20] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c4e3880100000000000000000000000000..."} 
[2026-08-21 15:33:20] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c4"} 
[2026-08-21 15:33:20] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c4"} 
[2026-08-21 15:33: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-08-21 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787306501000,"timestamp_ms":1787306501000,"timestamp_seconds":1787306501,"priority":1,"record_length":96,"hex_timestamp":"000001a023c4e388"} 
[2026-08-21 15:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:33:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:33:20] local.INFO: GPS data processed {"connection_id":159128,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:33:20] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:33:35] local.INFO: TCP Data received {"connection_id":161678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:33:35] local.INFO: Processing buffer {"connection_id":161678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:33:35] local.INFO: Packet analysis {"connection_id":161678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:33:35] local.INFO: Extracted packet for processing {"connection_id":161678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:33:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:33:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":161678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:33:35] local.INFO: GPS data processed {"connection_id":161678,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:33:35] local.INFO: Acknowledgment sent {"connection_id":161678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:33:38] local.INFO: TCP Data received {"connection_id":159415,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:33:38] local.INFO: Processing buffer {"connection_id":159415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c3be90012d197400071fee38004001172d..."} 
[2026-08-21 15:33:38] local.INFO: Packet analysis {"connection_id":159415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:33:38] local.INFO: Extracted packet for processing {"connection_id":159415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c3"} 
[2026-08-21 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756642816,"raw_latitude":119533112,"longitude_deg":75.6642816,"latitude_deg":11.9533112,"altitude":64,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2d197400","hex_latitude":"071fee38","is_valid_coordinates":true} 
[2026-08-21 15:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550368000001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14215817763749888,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834090978847111168,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787306426000,"timestamp_ms":1787306426000,"timestamp_seconds":1787306426,"priority":1,"record_length":96,"hex_timestamp":"000001a023c3be90"} 
[2026-08-21 15:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:33:38] 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-08-21 15:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 15:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159415,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550368000001,"66":2166,"103":206,"83":41984,"24":0,"16":14215817763749888,"45":1834090978847111168},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550368000001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:33:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14215817763749888,"km_value":14215817763749.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834090978847111168,"description":"Unknown IO ID 45"} 
[2026-08-21 15:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550368000001,"power":2166,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834090978847111168}} 
[2026-08-21 15:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":159415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:33:38] local.INFO: GPS data processed {"connection_id":159415,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:33:38] local.INFO: Acknowledgment sent {"connection_id":159415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:33:51] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c535900100000000000000000000000000..."} 
[2026-08-21 15:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c535900100000000000000000000000000..."} 
[2026-08-21 15:33:51] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c535900100000000000000000000000000..."} 
[2026-08-21 15:33:51] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c5"} 
[2026-08-21 15:33:51] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c5"} 
[2026-08-21 15:33: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-08-21 15:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:33:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787306522000,"timestamp_ms":1787306522000,"timestamp_seconds":1787306522,"priority":1,"record_length":96,"hex_timestamp":"000001a023c53590"} 
[2026-08-21 15:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:33: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:33:51] local.INFO: GPS data processed {"connection_id":159128,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:33:51] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:33:57] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:33:57] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:33:57] local.INFO: IMEI packet received {"connection_id":159129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:34:02] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:34:02] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:34:02] local.INFO: IMEI packet received {"connection_id":159129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":159129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:34:03] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:34:03] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:34:03] local.INFO: Packet analysis {"connection_id":159129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:34:03] local.INFO: Extracted packet for processing {"connection_id":159129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:34:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15: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-08-21 15: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:34: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-08-21 15: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-08-21 15:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:34: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-08-21 15:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:34:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":159129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:34:03] local.INFO: GPS data processed {"connection_id":159129,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:34:03] local.INFO: Acknowledgment sent {"connection_id":159129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:34:29] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c587980100000000000000000000000000..."} 
[2026-08-21 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c587980100000000000000000000000000..."} 
[2026-08-21 15:34:29] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c587980100000000000000000000000000..."} 
[2026-08-21 15:34:29] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c5"} 
[2026-08-21 15:34:29] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c5"} 
[2026-08-21 15:34:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29249388710723584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:34:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787306543000,"timestamp_ms":1787306543000,"timestamp_seconds":1787306543,"priority":1,"record_length":96,"hex_timestamp":"000001a023c58798"} 
[2026-08-21 15:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-08-21 15:34:29] local.INFO: GPS data processed {"connection_id":159128,"processed":0,"errors":0,"total":1} 
[2026-08-21 15:34:29] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:34:34] local.INFO: TCP Data received {"connection_id":159129,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:34:34] local.INFO: Processing buffer {"connection_id":159129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:34:34] local.INFO: Packet analysis {"connection_id":159129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:34:34] local.INFO: Extracted packet for processing {"connection_id":159129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:34:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:34:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":159129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:34:34] local.INFO: GPS data processed {"connection_id":159129,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:34:34] local.INFO: Acknowledgment sent {"connection_id":159129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:34:57] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:34:57] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:34:57] local.INFO: IMEI packet received {"connection_id":159416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":159416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:35:00] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c7d570012d0bf9c007035a680019008b09..."} 
[2026-08-21 15:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c7d570012d0bf9c007035a680019008b09..."} 
[2026-08-21 15:35:00] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c7d570012d0bf9c007035a680019008b09..."} 
[2026-08-21 15:35:00] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:35:00] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:35:00] local.INFO: GPS Element Parsed {"raw_longitude":755759552,"raw_latitude":117660264,"longitude_deg":75.5759552,"latitude_deg":11.7660264,"altitude":25,"angle":139,"satellites":9,"speed":10,"hex_longitude":"2d0bf9c0","hex_latitude":"07035a68","is_valid_coordinates":true} 
[2026-08-21 15:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550513408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29250385143136256,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862791202483415040,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787306694000,"timestamp_ms":1787306694000,"timestamp_seconds":1787306694,"priority":1,"record_length":96,"hex_timestamp":"000001a023c7d570"} 
[2026-08-21 15:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:35: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-08-21 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 15:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550513408001,"66":14537,"37":206,"94":11008,"24":10,"16":29250385143136256,"45":862791202483415040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550513408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:35:00] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:35:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29250385143136256,"km_value":29250385143136.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":862791202483415040,"description":"Unknown IO ID 45"} 
[2026-08-21 15:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550513408001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862791202483415040}} 
[2026-08-21 15:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676378,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:35:01] local.INFO: GPS data processed {"connection_id":159128,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:35:01] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:35:02] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:35:02] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:35:02] local.INFO: IMEI packet received {"connection_id":159416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":159416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:35:03] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:35:03] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c2dfe8012dde4440050df350000d000913..."} 
[2026-08-21 15:35:03] local.INFO: Packet analysis {"connection_id":159416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:35:03] local.INFO: Extracted packet for processing {"connection_id":159416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c2"} 
[2026-08-21 15:35:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":13,"angle":9,"satellites":19,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550353408001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306369000,"timestamp_ms":1787306369000,"timestamp_seconds":1787306369,"priority":1,"record_length":96,"hex_timestamp":"000001a023c2dfe8"} 
[2026-08-21 15:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 15:35: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-08-21 15:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:35: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-08-21 15:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550353408001,"66":25647,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550353408001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:35:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550353408001,"power":25647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":159416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:35:03] local.INFO: GPS data processed {"connection_id":159416,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:35:03] local.INFO: Acknowledgment sent {"connection_id":159416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:35:32] local.INFO: TCP Data received {"connection_id":159128,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c7d958012d0bfb00070359e00019007509..."} 
[2026-08-21 15:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c7d958012d0bfb00070359e00019007509..."} 
[2026-08-21 15:35:32] local.INFO: Processing buffer {"connection_id":159128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c7d958012d0bfb00070359e00019007509..."} 
[2026-08-21 15:35:32] local.INFO: Packet analysis {"connection_id":159128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:35:32] local.INFO: Extracted packet for processing {"connection_id":159128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:35:32] local.INFO: GPS Element Parsed {"raw_longitude":755759872,"raw_latitude":117660128,"longitude_deg":75.5759872,"latitude_deg":11.7660128,"altitude":25,"angle":117,"satellites":9,"speed":10,"hex_longitude":"2d0bfb00","hex_latitude":"070359e0","is_valid_coordinates":true} 
[2026-08-21 15:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550513664001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29250402323005440,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862931939971721216,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787306695000,"timestamp_ms":1787306695000,"timestamp_seconds":1787306695,"priority":1,"record_length":96,"hex_timestamp":"000001a023c7d958"} 
[2026-08-21 15:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 15:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159128,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550513664001,"66":14374,"37":206,"94":11008,"24":10,"16":29250402323005440,"45":862931939971721216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550513664001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:35:32] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:35:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29250402323005440,"km_value":29250402323005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":862931939971721216,"description":"Unknown IO ID 45"} 
[2026-08-21 15:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550513664001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":862931939971721216}} 
[2026-08-21 15:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":159128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676380,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:35:33] local.INFO: GPS data processed {"connection_id":159128,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:35:33] local.INFO: Acknowledgment sent {"connection_id":159128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:35:39] local.INFO: TCP Data received {"connection_id":159416,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:35:39] local.INFO: Processing buffer {"connection_id":159416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:35:39] local.INFO: Packet analysis {"connection_id":159416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:35:39] local.INFO: Extracted packet for processing {"connection_id":159416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:35:39] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:35:39] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:35:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":159416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:35:39] local.INFO: GPS data processed {"connection_id":159416,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:35:39] local.INFO: Acknowledgment sent {"connection_id":159416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:35:57] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:35:57] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:35:57] local.INFO: IMEI packet received {"connection_id":161679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":161679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:36:02] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:36:02] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:36:02] local.INFO: IMEI packet received {"connection_id":161679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":161679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:36:03] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:36:03] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:36:03] local.INFO: Packet analysis {"connection_id":161679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:36:03] local.INFO: Extracted packet for processing {"connection_id":161679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:36:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:36: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-08-21 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:36: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-08-21 15:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:36:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":161679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:36:03] local.INFO: GPS data processed {"connection_id":161679,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:36:03] local.INFO: Acknowledgment sent {"connection_id":161679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:36:09] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:36:09] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:36:09] local.INFO: IMEI packet received {"connection_id":159131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":159131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:36:13] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:36:13] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:36:13] local.INFO: IMEI packet received {"connection_id":159131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":159131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:36:14] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c7dd40012d0bfc00070359c00019006209..."} 
[2026-08-21 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c7dd40012d0bfc00070359c00019006209..."} 
[2026-08-21 15:36:14] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c7dd40012d0bfc00070359c00019006209..."} 
[2026-08-21 15:36:14] local.INFO: Packet analysis {"connection_id":159131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:36:14] local.INFO: Extracted packet for processing {"connection_id":159131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":755760128,"raw_latitude":117660096,"longitude_deg":75.5760128,"latitude_deg":11.7660096,"altitude":25,"angle":98,"satellites":9,"speed":10,"hex_longitude":"2d0bfc00","hex_latitude":"070359c0","is_valid_coordinates":true} 
[2026-08-21 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550513920001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29250415207907328,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863283783692574720,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787306696000,"timestamp_ms":1787306696000,"timestamp_seconds":1787306696,"priority":1,"record_length":96,"hex_timestamp":"000001a023c7dd40"} 
[2026-08-21 15:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 15:36: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-08-21 15:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550513920001,"66":14374,"37":206,"94":11008,"24":10,"16":29250415207907328,"45":863283783692574720},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550513920001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:36:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:36:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29250415207907328,"km_value":29250415207907.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":863283783692574720,"description":"Unknown IO ID 45"} 
[2026-08-21 15:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550513920001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":863283783692574720}} 
[2026-08-21 15:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":159131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676383,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:36:14] local.INFO: GPS data processed {"connection_id":159131,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:36:14] local.INFO: Acknowledgment sent {"connection_id":159131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:36:34] local.INFO: TCP Data received {"connection_id":161679,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:36:34] local.INFO: Processing buffer {"connection_id":161679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:36:34] local.INFO: Packet analysis {"connection_id":161679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:36:34] local.INFO: Extracted packet for processing {"connection_id":161679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:36:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":161679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:36:34] local.INFO: GPS data processed {"connection_id":161679,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:36:34] local.INFO: Acknowledgment sent {"connection_id":161679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:36:45] local.INFO: TCP Data received {"connection_id":159131,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c95c10012d0c1ac0070352380014002e0b..."} 
[2026-08-21 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c95c10012d0c1ac0070352380014002e0b..."} 
[2026-08-21 15:36:45] local.INFO: Processing buffer {"connection_id":159131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c95c10012d0c1ac0070352380014002e0b..."} 
[2026-08-21 15:36:45] local.INFO: Packet analysis {"connection_id":159131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c9"} 
[2026-08-21 15:36:45] local.INFO: Extracted packet for processing {"connection_id":159131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c9"} 
[2026-08-21 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":755768000,"raw_latitude":117658168,"longitude_deg":75.5768,"latitude_deg":11.7658168,"altitude":20,"angle":46,"satellites":11,"speed":12,"hex_longitude":"2d0c1ac0","hex_latitude":"07035238","is_valid_coordinates":true} 
[2026-08-21 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550538752001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29251231251693568,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":871657664249094144,"note":"Value kept but may cause issues"} 
[2026-08-21 15:36:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787306794000,"timestamp_ms":1787306794000,"timestamp_seconds":1787306794,"priority":1,"record_length":96,"hex_timestamp":"000001a023c95c10"} 
[2026-08-21 15:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 15:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550538752001,"66":14396,"37":206,"94":11008,"24":12,"16":29251231251693568,"45":871657664249094144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550538752001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:36:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:36:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29251231251693568,"km_value":29251231251693.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:36:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":871657664249094144,"description":"Unknown IO ID 45"} 
[2026-08-21 15:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550538752001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":871657664249094144}} 
[2026-08-21 15:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":159131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676385,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:36:45] local.INFO: GPS data processed {"connection_id":159131,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:36:45] local.INFO: Acknowledgment sent {"connection_id":159131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:36:57] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:36:57] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:36:57] local.INFO: IMEI packet received {"connection_id":159417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":159417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:37:02] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:37:02] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:37:02] local.INFO: IMEI packet received {"connection_id":159417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":159417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:37:03] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:37:03] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:37:03] local.INFO: Packet analysis {"connection_id":159417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:37:03] local.INFO: Extracted packet for processing {"connection_id":159417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 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-08-21 15: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-08-21 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:37:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":159417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:37:03] local.INFO: GPS data processed {"connection_id":159417,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:37:03] local.INFO: Acknowledgment sent {"connection_id":159417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:37:06] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:06] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:06] local.INFO: IMEI packet received {"connection_id":159132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":159132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:37:08] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:08] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:08] local.INFO: IMEI packet received {"connection_id":159132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":159132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:37:13] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:13] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:37:13] local.INFO: IMEI packet received {"connection_id":159132,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":159132,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:37:14] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c95ff8012d0c1c80070352c00014003c0b..."} 
[2026-08-21 15:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c95ff8012d0c1c80070352c00014003c0b..."} 
[2026-08-21 15:37:14] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c95ff8012d0c1c80070352c00014003c0b..."} 
[2026-08-21 15:37:14] local.INFO: Packet analysis {"connection_id":159132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c9"} 
[2026-08-21 15:37:14] local.INFO: Extracted packet for processing {"connection_id":159132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c9"} 
[2026-08-21 15:37:14] local.INFO: GPS Element Parsed {"raw_longitude":755768448,"raw_latitude":117658304,"longitude_deg":75.5768448,"latitude_deg":11.7658304,"altitude":20,"angle":60,"satellites":11,"speed":13,"hex_longitude":"2d0c1c80","hex_latitude":"070352c0","is_valid_coordinates":true} 
[2026-08-21 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550539264001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29251257021497344,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872220614202636288,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787306795000,"timestamp_ms":1787306795000,"timestamp_seconds":1787306795,"priority":1,"record_length":96,"hex_timestamp":"000001a023c95ff8"} 
[2026-08-21 15:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:37: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-08-21 15:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 15:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550539264001,"66":14450,"37":206,"94":11008,"24":13,"16":29251257021497344,"45":872220614202636288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550539264001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:37:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:37:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29251257021497344,"km_value":29251257021497.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":872220614202636288,"description":"Unknown IO ID 45"} 
[2026-08-21 15:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550539264001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":872220614202636288}} 
[2026-08-21 15:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":159132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676387,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:37:14] local.INFO: GPS data processed {"connection_id":159132,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:37:14] local.INFO: Acknowledgment sent {"connection_id":159132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:37:37] local.INFO: TCP Data received {"connection_id":159417,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:37:37] local.INFO: Processing buffer {"connection_id":159417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:37:37] local.INFO: Packet analysis {"connection_id":159417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:37:37] local.INFO: Extracted packet for processing {"connection_id":159417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:37:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":159417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:37:37] local.INFO: GPS data processed {"connection_id":159417,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:37:37] local.INFO: Acknowledgment sent {"connection_id":159417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:37:47] local.INFO: TCP Data received {"connection_id":159132,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023c96f98012d0c2380070354b00014004d0b..."} 
[2026-08-21 15:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c96f98012d0c2380070354b00014004d0b..."} 
[2026-08-21 15:37:47] local.INFO: Processing buffer {"connection_id":159132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c96f98012d0c2380070354b00014004d0b..."} 
[2026-08-21 15:37:47] local.INFO: Packet analysis {"connection_id":159132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c9"} 
[2026-08-21 15:37:47] local.INFO: Extracted packet for processing {"connection_id":159132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c9"} 
[2026-08-21 15:37:47] local.INFO: GPS Element Parsed {"raw_longitude":755770240,"raw_latitude":117658800,"longitude_deg":75.577024,"latitude_deg":11.76588,"altitude":20,"angle":77,"satellites":11,"speed":18,"hex_longitude":"2d0c2380","hex_latitude":"070354b0","is_valid_coordinates":true} 
[2026-08-21 15:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550539520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29251347215810560,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":872713195411914752,"note":"Value kept but may cause issues"} 
[2026-08-21 15:37:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787306799000,"timestamp_ms":1787306799000,"timestamp_seconds":1787306799,"priority":1,"record_length":96,"hex_timestamp":"000001a023c96f98"} 
[2026-08-21 15:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:37: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-08-21 15:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:37:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159132,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550539520001,"66":14537,"37":206,"94":11008,"24":18,"16":29251347215810560,"45":872713195411914752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550539520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:37:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:37:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29251347215810560,"km_value":29251347215810.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":872713195411914752,"description":"Unknown IO ID 45"} 
[2026-08-21 15:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550539520001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":872713195411914752}} 
[2026-08-21 15:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":159132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:37:47] local.INFO: GPS data processed {"connection_id":159132,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:37:47] local.INFO: Acknowledgment sent {"connection_id":159132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:37:57] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:37:57] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:37:57] local.INFO: IMEI packet received {"connection_id":160305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":160305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:38:02] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:38:02] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:38:02] local.INFO: IMEI packet received {"connection_id":160305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":160305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:38:03] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:38:03] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:38:03] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:38:03] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:38: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-08-21 15:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:38:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:38:03] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:38:03] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:38:08] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:38:08] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:38:08] local.INFO: IMEI packet received {"connection_id":159418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":159418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:38:13] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:38:13] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:38:13] local.INFO: IMEI packet received {"connection_id":159418,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":159418,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:38:14] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023ca7938012d0c6180070370b80017000e0c..."} 
[2026-08-21 15:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ca7938012d0c6180070370b80017000e0c..."} 
[2026-08-21 15:38:14] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ca7938012d0c6180070370b80017000e0c..."} 
[2026-08-21 15:38:14] local.INFO: Packet analysis {"connection_id":159418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ca"} 
[2026-08-21 15:38:14] local.INFO: Extracted packet for processing {"connection_id":159418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ca"} 
[2026-08-21 15:38:14] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":117665976,"longitude_deg":75.5786112,"latitude_deg":11.7665976,"altitude":23,"angle":14,"satellites":12,"speed":8,"hex_longitude":"2d0c6180","hex_latitude":"070370b8","is_valid_coordinates":true} 
[2026-08-21 15:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550557696001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29252244863975424,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892064600062666752,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787306867000,"timestamp_ms":1787306867000,"timestamp_seconds":1787306867,"priority":1,"record_length":96,"hex_timestamp":"000001a023ca7938"} 
[2026-08-21 15:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 15:38: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-08-21 15:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550557696001,"66":14298,"37":206,"94":11008,"24":8,"16":29252244863975424,"45":892064600062666752},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550557696001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:38:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:38:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29252244863975424,"km_value":29252244863975.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":892064600062666752,"description":"Unknown IO ID 45"} 
[2026-08-21 15:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550557696001,"power":14298,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":892064600062666752}} 
[2026-08-21 15:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":159418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676391,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:38:14] local.INFO: GPS data processed {"connection_id":159418,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:38:14] local.INFO: Acknowledgment sent {"connection_id":159418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:38:34] local.INFO: TCP Data received {"connection_id":160305,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:38:34] local.INFO: Processing buffer {"connection_id":160305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:38:34] local.INFO: Packet analysis {"connection_id":160305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:38:34] local.INFO: Extracted packet for processing {"connection_id":160305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:38:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:38:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":160305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:38:34] local.INFO: GPS data processed {"connection_id":160305,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:38:34] local.INFO: Acknowledgment sent {"connection_id":160305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:38:45] local.INFO: TCP Data received {"connection_id":159418,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023ca8108012d0c618007037310001700020c..."} 
[2026-08-21 15:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ca8108012d0c618007037310001700020c..."} 
[2026-08-21 15:38:45] local.INFO: Processing buffer {"connection_id":159418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ca8108012d0c618007037310001700020c..."} 
[2026-08-21 15:38:45] local.INFO: Packet analysis {"connection_id":159418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ca"} 
[2026-08-21 15:38:45] local.INFO: Extracted packet for processing {"connection_id":159418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ca"} 
[2026-08-21 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":755786112,"raw_latitude":117666576,"longitude_deg":75.5786112,"latitude_deg":11.7666576,"altitude":23,"angle":2,"satellites":12,"speed":12,"hex_longitude":"2d0c6180","hex_latitude":"07037310","is_valid_coordinates":true} 
[2026-08-21 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550557952001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29252274928746496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892134968806914048,"note":"Value kept but may cause issues"} 
[2026-08-21 15:38:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787306869000,"timestamp_ms":1787306869000,"timestamp_seconds":1787306869,"priority":1,"record_length":96,"hex_timestamp":"000001a023ca8108"} 
[2026-08-21 15:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 15:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159418,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550557952001,"66":13961,"37":206,"94":11008,"24":12,"16":29252274928746496,"45":892134968806914048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550557952001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:38:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:38:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29252274928746496,"km_value":29252274928746.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":892134968806914048,"description":"Unknown IO ID 45"} 
[2026-08-21 15:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550557952001,"power":13961,"unknown_37":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":892134968806914048}} 
[2026-08-21 15:38:46] local.INFO: DEBUG: GPS processor result {"connection_id":159418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676393,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:38:46] local.INFO: GPS data processed {"connection_id":159418,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:38:46] local.INFO: Acknowledgment sent {"connection_id":159418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:38:57] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:38:57] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:38:57] local.INFO: IMEI packet received {"connection_id":159133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":159133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:39:02] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:39:02] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:39:02] local.INFO: IMEI packet received {"connection_id":159133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":159133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:39:03] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:39:03] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:39:03] local.INFO: Packet analysis {"connection_id":159133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:39:03] local.INFO: Extracted packet for processing {"connection_id":159133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:39:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15: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-08-21 15:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:39: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-08-21 15:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:39:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":159133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:39:03] local.INFO: GPS data processed {"connection_id":159133,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:39:03] local.INFO: Acknowledgment sent {"connection_id":159133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:39:08] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:39:08] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:39:08] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:39:13] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:39:13] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:39:13] local.INFO: IMEI packet received {"connection_id":160306,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":160306,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:39:14] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023cabf88012d0c6280070395c0001c00080c..."} 
[2026-08-21 15:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cabf88012d0c6280070395c0001c00080c..."} 
[2026-08-21 15:39:14] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cabf88012d0c6280070395c0001c00080c..."} 
[2026-08-21 15:39:14] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ca"} 
[2026-08-21 15:39:14] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ca"} 
[2026-08-21 15:39:14] local.INFO: GPS Element Parsed {"raw_longitude":755786368,"raw_latitude":117675456,"longitude_deg":75.5786368,"latitude_deg":11.7675456,"altitude":28,"angle":8,"satellites":12,"speed":19,"hex_longitude":"2d0c6280","hex_latitude":"070395c0","is_valid_coordinates":true} 
[2026-08-21 15:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550558464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29252704425476096,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892134968807067648,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787306885000,"timestamp_ms":1787306885000,"timestamp_seconds":1787306885,"priority":1,"record_length":96,"hex_timestamp":"000001a023cabf88"} 
[2026-08-21 15:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-21 15:39: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-08-21 15:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550558464001,"66":14559,"37":206,"94":11008,"24":19,"16":29252704425476096,"45":892134968807067648},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 15:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550558464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:39:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 15:39:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29252704425476096,"km_value":29252704425476.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":892134968807067648,"description":"Unknown IO ID 45"} 
[2026-08-21 15:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550558464001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":19,"odometer":null,"unknown_45":892134968807067648}} 
[2026-08-21 15:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676395,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:39:14] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:39:14] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:39:34] local.INFO: TCP Data received {"connection_id":159133,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:39:34] local.INFO: Processing buffer {"connection_id":159133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:39:34] local.INFO: Packet analysis {"connection_id":159133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:39:34] local.INFO: Extracted packet for processing {"connection_id":159133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:39:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:39:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":159133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:39:34] local.INFO: GPS data processed {"connection_id":159133,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:39:34] local.INFO: Acknowledgment sent {"connection_id":159133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:39:45] local.INFO: TCP Data received {"connection_id":160306,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023cbf808012d0c55000703e0d8001b00550c..."} 
[2026-08-21 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cbf808012d0c55000703e0d8001b00550c..."} 
[2026-08-21 15:39:45] local.INFO: Processing buffer {"connection_id":160306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cbf808012d0c55000703e0d8001b00550c..."} 
[2026-08-21 15:39:45] local.INFO: Packet analysis {"connection_id":160306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cb"} 
[2026-08-21 15:39:45] local.INFO: Extracted packet for processing {"connection_id":160306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cb"} 
[2026-08-21 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":755782912,"raw_latitude":117694680,"longitude_deg":75.5782912,"latitude_deg":11.769468,"altitude":27,"angle":85,"satellites":12,"speed":1,"hex_longitude":"2d0c5500","hex_latitude":"0703e0d8","is_valid_coordinates":true} 
[2026-08-21 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550582784001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29253919901220864,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888546162861189120,"note":"Value kept but may cause issues"} 
[2026-08-21 15:39:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787306965000,"timestamp_ms":1787306965000,"timestamp_seconds":1787306965,"priority":1,"record_length":96,"hex_timestamp":"000001a023cbf808"} 
[2026-08-21 15:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-21 15:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160306,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550582784001,"66":14515,"16":29253919901220864,"94":11008,"24":1,"45":888546162861189120},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 15:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550582784001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29253919901220864,"km_value":29253919901220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:39:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":888546162861189120,"description":"Unknown IO ID 45"} 
[2026-08-21 15:39:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457550582784001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":888546162861189120}} 
[2026-08-21 15:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":160306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676397,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:39:45] local.INFO: GPS data processed {"connection_id":160306,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:39:45] local.INFO: Acknowledgment sent {"connection_id":160306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:39:57] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:39:57] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:39:57] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:40:02] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:40:02] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:40:02] local.INFO: IMEI packet received {"connection_id":160307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":160307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:40:03] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:40:03] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c777b0012dde4440050df3500013000911..."} 
[2026-08-21 15:40:03] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:40:03] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c7"} 
[2026-08-21 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":17,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550430464001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306670000,"timestamp_ms":1787306670000,"timestamp_seconds":1787306670,"priority":1,"record_length":96,"hex_timestamp":"000001a023c777b0"} 
[2026-08-21 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:40: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-08-21 15: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 15:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:40: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-08-21 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550430464001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550430464001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:40:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550430464001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:40:03] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:40:03] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:40:08] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:08] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:08] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:40:13] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:13] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:13] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:40:13] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:13] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:40:13] local.INFO: IMEI packet received {"connection_id":159134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":159134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:40:14] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023cbffd8012d0c54c00703e0f0001b00d10c..."} 
[2026-08-21 15:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cbffd8012d0c54c00703e0f0001b00d10c..."} 
[2026-08-21 15:40:14] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cbffd8012d0c54c00703e0f0001b00d10c..."} 
[2026-08-21 15:40:14] local.INFO: Packet analysis {"connection_id":159134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cb"} 
[2026-08-21 15:40:14] local.INFO: Extracted packet for processing {"connection_id":159134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cb"} 
[2026-08-21 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":755782848,"raw_latitude":117694704,"longitude_deg":75.5782848,"latitude_deg":11.7694704,"altitude":27,"angle":209,"satellites":12,"speed":0,"hex_longitude":"2d0c54c0","hex_latitude":"0703e0f0","is_valid_coordinates":true} 
[2026-08-21 15:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550583040001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29253924196188160,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888616531605379072,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787306967000,"timestamp_ms":1787306967000,"timestamp_seconds":1787306967,"priority":1,"record_length":96,"hex_timestamp":"000001a023cbffd8"} 
[2026-08-21 15:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 15:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550583040001,"66":14352,"16":29253924196188160,"94":11008,"24":0,"45":888616531605379072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 15:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550583040001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29253924196188160,"km_value":29253924196188.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:40:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":888616531605379072,"description":"Unknown IO ID 45"} 
[2026-08-21 15:40:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457550583040001,"power":14352,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":888616531605379072}} 
[2026-08-21 15:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":159134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:40:14] local.INFO: GPS data processed {"connection_id":159134,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:40:14] local.INFO: Acknowledgment sent {"connection_id":159134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:40:19] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc3a70012d0c54800703e0a80019009a0c..."} 
[2026-08-21 15:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc3a70012d0c54800703e0a80019009a0c..."} 
[2026-08-21 15:40:19] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc3a70012d0c54800703e0a80019009a0c..."} 
[2026-08-21 15:40:19] local.INFO: Packet analysis {"connection_id":159134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:40:19] local.INFO: Extracted packet for processing {"connection_id":159134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":755782784,"raw_latitude":117694632,"longitude_deg":75.5782784,"latitude_deg":11.7694632,"altitude":25,"angle":154,"satellites":12,"speed":1,"hex_longitude":"2d0c5480","hex_latitude":"0703e0a8","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550583552001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29253928491155456,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888546162861207552,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787306982000,"timestamp_ms":1787306982000,"timestamp_seconds":1787306982,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc3a70"} 
[2026-08-21 15:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733143296,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":12,"raw_value":7313853508058349601,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":868068858240434186,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504046005321728,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3420749825,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3763863580,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639831660604176,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2869952718,"corrected_to":0} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3758173452,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2147943392,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3997106176,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84737555119408096,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.WARNING: Large IO value detected {"io_id":8,"raw_value":8726922775234048,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:19] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,16,94,24,241,157,238,160,248,45,224,27,12,10,66,244,192,236,1,240,125,227,35,3,4,113,205,212,87,112,239,53,2,103,7,31,6,206,88,8],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2869952718,"validated":0}]} 
[2026-08-21 15:40:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945784888493867008,"timestamp_seconds":1945784888493867.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 15:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550583552001,"66":14515,"16":29253928491155456,"94":11008,"24":1,"45":888546162861207552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 15:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550583552001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29253928491155456,"km_value":29253928491155.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:40:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":888546162861207552,"description":"Unknown IO ID 45"} 
[2026-08-21 15:40:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457550583552001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":888546162861207552}} 
[2026-08-21 15:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":159134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676400,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:40:19] local.INFO: GPS data processed {"connection_id":159134,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:40:19] local.INFO: Acknowledgment sent {"connection_id":159134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:40:34] local.INFO: TCP Data received {"connection_id":160307,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:40:34] local.INFO: Processing buffer {"connection_id":160307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:40:34] local.INFO: Packet analysis {"connection_id":160307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:40:34] local.INFO: Extracted packet for processing {"connection_id":160307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:40:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":160307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:40:34] local.INFO: GPS data processed {"connection_id":160307,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:40:34] local.INFO: Acknowledgment sent {"connection_id":160307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:40:50] local.INFO: TCP Data received {"connection_id":159134,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023ccde80012d0c9dc007041de0001100240f..."} 
[2026-08-21 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ccde80012d0c9dc007041de0001100240f..."} 
[2026-08-21 15:40:50] local.INFO: Processing buffer {"connection_id":159134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ccde80012d0c9dc007041de0001100240f..."} 
[2026-08-21 15:40:50] local.INFO: Packet analysis {"connection_id":159134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:40:50] local.INFO: Extracted packet for processing {"connection_id":159134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":755801536,"raw_latitude":117710304,"longitude_deg":75.5801536,"latitude_deg":11.7710304,"altitude":17,"angle":36,"satellites":15,"speed":38,"hex_longitude":"2d0c9dc0","hex_latitude":"07041de0","is_valid_coordinates":true} 
[2026-08-21 15:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550597376001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29255143966900224,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":906982773839138816,"note":"Value kept but may cause issues"} 
[2026-08-21 15:40:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787307024000,"timestamp_ms":1787307024000,"timestamp_seconds":1787307024,"priority":1,"record_length":96,"hex_timestamp":"000001a023ccde80"} 
[2026-08-21 15:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 15:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550597376001,"66":14537,"16":29255143966900224,"94":11008,"24":38,"45":906982773839138816},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 15:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550597376001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29255143966900224,"km_value":29255143966900.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:40:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":906982773839138816,"description":"Unknown IO ID 45"} 
[2026-08-21 15:40:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457550597376001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":38,"unknown_45":906982773839138816}} 
[2026-08-21 15:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":159134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676402,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:40:50] local.INFO: GPS data processed {"connection_id":159134,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:40:50] local.INFO: Acknowledgment sent {"connection_id":159134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:40:57] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:40:57] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:40:57] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:41:02] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:41:02] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:41:02] local.INFO: IMEI packet received {"connection_id":161680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":161680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:41:03] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:41:03] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:41:03] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:41:03] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:41:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 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-08-21 15:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 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-08-21 15:41: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-08-21 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 15:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:41: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-08-21 15:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:41:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:41:03] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:41:03] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:41:11] local.INFO: TCP Data received {"connection_id":159419,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:11] local.INFO: Processing buffer {"connection_id":159419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:11] local.INFO: IMEI packet received {"connection_id":159419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":159419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:41:16] local.INFO: TCP Data received {"connection_id":159419,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159419,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:16] local.INFO: Processing buffer {"connection_id":159419,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:16] local.INFO: IMEI packet received {"connection_id":159419,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":159419,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:41:17] local.INFO: TCP Data received {"connection_id":159419,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023c656a0012d7a1d8005e469c80012004129..."} 
[2026-08-21 15:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c656a0012d7a1d8005e469c80012004129..."} 
[2026-08-21 15:41:17] local.INFO: Processing buffer {"connection_id":159419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c656a0012d7a1d8005e469c80012004129..."} 
[2026-08-21 15:41:17] local.INFO: Packet analysis {"connection_id":159419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:41:17] local.INFO: Extracted packet for processing {"connection_id":159419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855368,"longitude_deg":76.2977664,"latitude_deg":9.8855368,"altitude":18,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-21 15:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550483968001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799963328444758016,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787306596000,"timestamp_ms":1787306596000,"timestamp_seconds":1787306596,"priority":1,"record_length":96,"hex_timestamp":"000001a023c656a0"} 
[2026-08-21 15:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 15:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159419,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550483968001,"66":13276,"102":206,"87":12288,"24":0,"16":121742179444981760,"45":8799963328444758016},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550483968001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:41:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799963328444758016,"description":"Unknown IO ID 45"} 
[2026-08-21 15:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550483968001,"power":13276,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799963328444758016}} 
[2026-08-21 15:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":159419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676404,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:41:17] local.INFO: GPS data processed {"connection_id":159419,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:41:17] local.INFO: Acknowledgment sent {"connection_id":159419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:41:18] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:18] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:18] local.INFO: IMEI packet received {"connection_id":159135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":159135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:41:18] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:18] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:18] local.INFO: IMEI packet received {"connection_id":159135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":159135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:41:24] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:24] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:41:24] local.INFO: IMEI packet received {"connection_id":159135,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":159135,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:41:25] local.INFO: TCP Data received {"connection_id":159135,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023ccf9d8012d0caa4007043758001100170f..."} 
[2026-08-21 15:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ccf9d8012d0caa4007043758001100170f..."} 
[2026-08-21 15:41:25] local.INFO: Processing buffer {"connection_id":159135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ccf9d8012d0caa4007043758001100170f..."} 
[2026-08-21 15:41:25] local.INFO: Packet analysis {"connection_id":159135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:41:25] local.INFO: Extracted packet for processing {"connection_id":159135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:41:25] local.INFO: GPS Element Parsed {"raw_longitude":755804736,"raw_latitude":117716824,"longitude_deg":75.5804736,"latitude_deg":11.7716824,"altitude":17,"angle":23,"satellites":15,"speed":38,"hex_longitude":"2d0caa40","hex_latitude":"07043758","is_valid_coordinates":true} 
[2026-08-21 15:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550598144001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29255496154218496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909093836165079040,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 15:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787307031000,"timestamp_ms":1787307031000,"timestamp_seconds":1787307031,"priority":1,"record_length":96,"hex_timestamp":"000001a023ccf9d8"} 
[2026-08-21 15:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 15:41:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159135,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550598144001,"66":14461,"16":29255496154218496,"94":11008,"24":38,"45":909093836165079040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-08-21 15:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550598144001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29255496154218496,"km_value":29255496154218.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:41:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 15:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":909093836165079040,"description":"Unknown IO ID 45"} 
[2026-08-21 15:41:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457550598144001,"power":14461,"odometer":null,"unknown_94":11008,"ignition":38,"unknown_45":909093836165079040}} 
[2026-08-21 15:41:25] local.INFO: DEBUG: GPS processor result {"connection_id":159135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676405,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:41:25] local.INFO: GPS data processed {"connection_id":159135,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:41:25] local.INFO: Acknowledgment sent {"connection_id":159135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:41:34] local.INFO: TCP Data received {"connection_id":161680,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:41:34] local.INFO: Processing buffer {"connection_id":161680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:41:34] local.INFO: Packet analysis {"connection_id":161680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:41:34] local.INFO: Extracted packet for processing {"connection_id":161680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:41:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":161680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:41:34] local.INFO: GPS data processed {"connection_id":161680,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:41:34] local.INFO: Acknowledgment sent {"connection_id":161680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:41:56] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:56] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:41:56] local.INFO: IMEI packet received {"connection_id":161682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":161682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:41:57] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:41:57] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:41:57] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:42:01] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:42:01] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:42:01] local.INFO: IMEI packet received {"connection_id":161682,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":161682,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:42:02] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:42:02] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:42:02] local.INFO: IMEI packet received {"connection_id":161681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":161681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:42:03] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:42:03] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:42:03] local.INFO: Packet analysis {"connection_id":161682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:42:03] local.INFO: Extracted packet for processing {"connection_id":161682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855368,"longitude_deg":76.2977664,"latitude_deg":9.8855368,"altitude":18,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-21 15:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550488576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747146752,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306599000,"timestamp_ms":1787306599000,"timestamp_seconds":1787306599,"priority":1,"record_length":96,"hex_timestamp":"000001a023c66258"} 
[2026-08-21 15:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 15:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550488576001,"66":13254,"102":206,"87":12288,"24":0,"16":121742179444981760,"45":8799330009747146752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550488576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747146752,"description":"Unknown IO ID 45"} 
[2026-08-21 15:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550488576001,"power":13254,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747146752}} 
[2026-08-21 15:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":161682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:42:03] local.INFO: GPS data processed {"connection_id":161682,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:42:03] local.INFO: Acknowledgment sent {"connection_id":161682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:42:03] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:42:03] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:42:03] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:42:03] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:42:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:42: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-08-21 15:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:42: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-08-21 15:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:42:03] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:42:03] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:42:07] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:07] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:07] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:42:08] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:08] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:08] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:42:13] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:13] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:42:13] local.INFO: IMEI packet received {"connection_id":160308,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":160308,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:42:14] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023ce26a0012d0c90000704cee0001b014c10..."} 
[2026-08-21 15:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ce26a0012d0c90000704cee0001b014c10..."} 
[2026-08-21 15:42:14] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ce26a0012d0c90000704cee0001b014c10..."} 
[2026-08-21 15:42:14] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ce"} 
[2026-08-21 15:42:14] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ce"} 
[2026-08-21 15:42:14] local.INFO: GPS Element Parsed {"raw_longitude":755798016,"raw_latitude":117755616,"longitude_deg":75.5798016,"latitude_deg":11.7755616,"altitude":27,"angle":332,"satellites":16,"speed":18,"hex_longitude":"2d0c9000","hex_latitude":"0704cee0","is_valid_coordinates":true} 
[2026-08-21 15:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:42:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550618880001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29257544853618688,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905927242688247808,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:42:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787307108000,"timestamp_ms":1787307108000,"timestamp_seconds":1787307108,"priority":1,"record_length":96,"hex_timestamp":"000001a023ce26a0"} 
[2026-08-21 15:42:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:42:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:42:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 15:42:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:42:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:42:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:42:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:42:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:42:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:42:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:42:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:42:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:42:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:42:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550618880001,"66":14407,"95":206,"94":10240,"24":18,"16":29257544853618688,"45":905927242688247808},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 15:42:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:42:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:42:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550618880001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:42:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 15:42:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:42:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29257544853618688,"km_value":29257544853618.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:42:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":905927242688247808,"description":"Unknown IO ID 45"} 
[2026-08-21 15:42:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550618880001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":905927242688247808}} 
[2026-08-21 15:42:14] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:42:14] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:42:14] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:42:35] local.INFO: TCP Data received {"connection_id":161681,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:42:35] local.INFO: Processing buffer {"connection_id":161681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:42:35] local.INFO: Packet analysis {"connection_id":161681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:42:35] local.INFO: Extracted packet for processing {"connection_id":161681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:42:35] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:42:35] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:42:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":161681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:42:35] local.INFO: GPS data processed {"connection_id":161681,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:42:35] local.INFO: Acknowledgment sent {"connection_id":161681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:42:36] local.INFO: TCP Data received {"connection_id":161682,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:42:36] local.INFO: Processing buffer {"connection_id":161682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:42:36] local.INFO: Packet analysis {"connection_id":161682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:42:36] local.INFO: Extracted packet for processing {"connection_id":161682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855368,"longitude_deg":76.2977664,"latitude_deg":9.8855368,"altitude":18,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-21 15:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550489344001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747146752,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787306599000,"timestamp_ms":1787306599000,"timestamp_seconds":1787306599,"priority":1,"record_length":96,"hex_timestamp":"000001a023c66258"} 
[2026-08-21 15:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 15:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161682,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550489344001,"66":13254,"102":206,"87":12288,"24":0,"16":121742179444981760,"45":8799330009747146752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550489344001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:42:36] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747146752,"description":"Unknown IO ID 45"} 
[2026-08-21 15:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550489344001,"power":13254,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747146752}} 
[2026-08-21 15:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":161682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676411,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:42:36] local.INFO: GPS data processed {"connection_id":161682,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:42:36] local.INFO: Acknowledgment sent {"connection_id":161682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:42:45] local.INFO: TCP Data received {"connection_id":160308,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023ce2e70012d0c8e400704d150001b013810..."} 
[2026-08-21 15:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ce2e70012d0c8e400704d150001b013810..."} 
[2026-08-21 15:42:45] local.INFO: Processing buffer {"connection_id":160308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ce2e70012d0c8e400704d150001b013810..."} 
[2026-08-21 15:42:45] local.INFO: Packet analysis {"connection_id":160308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ce"} 
[2026-08-21 15:42:45] local.INFO: Extracted packet for processing {"connection_id":160308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ce"} 
[2026-08-21 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":755797568,"raw_latitude":117756240,"longitude_deg":75.5797568,"latitude_deg":11.775624,"altitude":27,"angle":312,"satellites":16,"speed":13,"hex_longitude":"2d0c8e40","hex_latitude":"0704d150","is_valid_coordinates":true} 
[2026-08-21 15:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550619648001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29257583508324352,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905223555246907392,"note":"Value kept but may cause issues"} 
[2026-08-21 15:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787307110000,"timestamp_ms":1787307110000,"timestamp_seconds":1787307110,"priority":1,"record_length":96,"hex_timestamp":"000001a023ce2e70"} 
[2026-08-21 15:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 15:42:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160308,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550619648001,"66":14428,"95":206,"94":10240,"24":13,"16":29257583508324352,"45":905223555246907392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 15:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550619648001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:42:45] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 15:42:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29257583508324352,"km_value":29257583508324.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":905223555246907392,"description":"Unknown IO ID 45"} 
[2026-08-21 15:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550619648001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":905223555246907392}} 
[2026-08-21 15:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":160308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:42:46] local.INFO: GPS data processed {"connection_id":160308,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:42:46] local.INFO: Acknowledgment sent {"connection_id":160308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:42:59] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:42:59] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:42:59] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:43:01] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:43:01] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:43:01] local.INFO: IMEI packet received {"connection_id":161684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 15:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":161684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:43:02] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:43:02] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:43:02] local.INFO: IMEI packet received {"connection_id":161683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":161683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:43:03] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:43:03] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:43:03] local.INFO: Packet analysis {"connection_id":161683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:43:03] local.INFO: Extracted packet for processing {"connection_id":161683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:43:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":161683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:43:03] local.INFO: GPS data processed {"connection_id":161683,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:43:03] local.INFO: Acknowledgment sent {"connection_id":161683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:43:06] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:43:06] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 15:43:06] local.INFO: IMEI packet received {"connection_id":161684,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 15:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":161684,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:43:07] local.INFO: TCP Data received {"connection_id":161684,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:43:07] local.INFO: Processing buffer {"connection_id":161684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023c66258012d7a1d8005e469c80012004128..."} 
[2026-08-21 15:43:07] local.INFO: Packet analysis {"connection_id":161684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:43:07] local.INFO: Extracted packet for processing {"connection_id":161684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023c6"} 
[2026-08-21 15:43:07] local.INFO: GPS Element Parsed {"raw_longitude":762977664,"raw_latitude":98855368,"longitude_deg":76.2977664,"latitude_deg":9.8855368,"altitude":18,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d7a1d80","hex_latitude":"05e469c8","is_valid_coordinates":true} 
[2026-08-21 15:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550489344001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799330009747146752,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787306599000,"timestamp_ms":1787306599000,"timestamp_seconds":1787306599,"priority":1,"record_length":96,"hex_timestamp":"000001a023c66258"} 
[2026-08-21 15:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 15:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161684,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 15:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 15:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 15:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550489344001,"66":13254,"102":206,"87":12288,"24":0,"16":121742179444981760,"45":8799330009747146752},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-08-21 15:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 15:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 15:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550489344001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:43:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 15:43:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-08-21 15:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799330009747146752,"description":"Unknown IO ID 45"} 
[2026-08-21 15:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550489344001,"power":13254,"unknown_102":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8799330009747146752}} 
[2026-08-21 15:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":161684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:43:07] local.INFO: GPS data processed {"connection_id":161684,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:43:07] local.INFO: Acknowledgment sent {"connection_id":161684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:43:08] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:08] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:08] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:43:09] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:09] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:09] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:43:14] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:14] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:43:14] local.INFO: IMEI packet received {"connection_id":161685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":161685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:43:15] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023ce3640012d0c8b400704d308001a012510..."} 
[2026-08-21 15:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ce3640012d0c8b400704d308001a012510..."} 
[2026-08-21 15:43:15] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ce3640012d0c8b400704d308001a012510..."} 
[2026-08-21 15:43:15] local.INFO: Packet analysis {"connection_id":161685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ce"} 
[2026-08-21 15:43:15] local.INFO: Extracted packet for processing {"connection_id":161685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ce"} 
[2026-08-21 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":755796800,"raw_latitude":117756680,"longitude_deg":75.57968,"latitude_deg":11.775668,"altitude":26,"angle":293,"satellites":16,"speed":17,"hex_longitude":"2d0c8b40","hex_latitude":"0704d308","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550620160001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29257626457997312,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904730974037823488,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787307112000,"timestamp_ms":1787307112000,"timestamp_seconds":1787307112,"priority":1,"record_length":96,"hex_timestamp":"000001a023ce3640"} 
[2026-08-21 15:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 15:43: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-08-21 15: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-08-21 15:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550620160001,"66":14407,"95":206,"94":10240,"24":17,"16":29257626457997312,"45":904730974037823488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 15:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550620160001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:43:15] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 15:43:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29257626457997312,"km_value":29257626457997.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":904730974037823488,"description":"Unknown IO ID 45"} 
[2026-08-21 15:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550620160001,"power":14407,"unknown_95":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":904730974037823488}} 
[2026-08-21 15:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":161685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676415,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:43:15] local.INFO: GPS data processed {"connection_id":161685,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:43:15] local.INFO: Acknowledgment sent {"connection_id":161685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:43:34] local.INFO: TCP Data received {"connection_id":161683,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:43:34] local.INFO: Processing buffer {"connection_id":161683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:43:34] local.INFO: Packet analysis {"connection_id":161683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:43:34] local.INFO: Extracted packet for processing {"connection_id":161683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:43:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:43:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":161683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:43:34] local.INFO: GPS data processed {"connection_id":161683,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:43:34] local.INFO: Acknowledgment sent {"connection_id":161683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:43:46] local.INFO: TCP Data received {"connection_id":161685,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023cf95d0012d0bba000704ba200016010e11..."} 
[2026-08-21 15:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cf95d0012d0bba000704ba200016010e11..."} 
[2026-08-21 15:43:46] local.INFO: Processing buffer {"connection_id":161685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cf95d0012d0bba000704ba200016010e11..."} 
[2026-08-21 15:43:46] local.INFO: Packet analysis {"connection_id":161685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 15:43:46] local.INFO: Extracted packet for processing {"connection_id":161685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":755743232,"raw_latitude":117750304,"longitude_deg":75.5743232,"latitude_deg":11.7750304,"altitude":22,"angle":270,"satellites":17,"speed":29,"hex_longitude":"2d0bba00","hex_latitude":"0704ba20","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:43:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550643200001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29260233503145984,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":846536022601388032,"note":"Value kept but may cause issues"} 
[2026-08-21 15:43:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:43:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787307202000,"timestamp_ms":1787307202000,"timestamp_seconds":1787307202,"priority":1,"record_length":96,"hex_timestamp":"000001a023cf95d0"} 
[2026-08-21 15:43:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:43:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 15:43:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:43:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:43:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:43:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:43:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:43:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:43:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:43:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:43:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:43:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550643200001,"66":14450,"96":206,"94":10240,"24":29,"16":29260233503145984,"45":846536022601388032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 15:43:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:43:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:43:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550643200001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:43:46] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 15:43:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:43:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29260233503145984,"km_value":29260233503145.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:43:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":846536022601388032,"description":"Unknown IO ID 45"} 
[2026-08-21 15:43:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550643200001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":29,"odometer":null,"unknown_45":846536022601388032}} 
[2026-08-21 15:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":161685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676417,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:43:47] local.INFO: GPS data processed {"connection_id":161685,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:43:47] local.INFO: Acknowledgment sent {"connection_id":161685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:43:57] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:43:57] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:43:57] local.INFO: IMEI packet received {"connection_id":161686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":161686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:44:02] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:44:02] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:44:02] local.INFO: IMEI packet received {"connection_id":161686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":161686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:44:03] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:44:03] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:44:03] local.INFO: Packet analysis {"connection_id":161686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:44:03] local.INFO: Extracted packet for processing {"connection_id":161686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:44:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:44: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-08-21 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:44:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:44:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":161686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:44:03] local.INFO: GPS data processed {"connection_id":161686,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:44:03] local.INFO: Acknowledgment sent {"connection_id":161686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:44:14] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:44:14] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:44:14] local.INFO: IMEI packet received {"connection_id":159136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":159136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:44:19] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:44:19] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:44:19] local.INFO: IMEI packet received {"connection_id":159136,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":159136,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:44:20] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023cfd068012d0b95800704b8d80013010f11..."} 
[2026-08-21 15:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cfd068012d0b95800704b8d80013010f11..."} 
[2026-08-21 15:44:20] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cfd068012d0b95800704b8d80013010f11..."} 
[2026-08-21 15:44:20] local.INFO: Packet analysis {"connection_id":159136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 15:44:20] local.INFO: Extracted packet for processing {"connection_id":159136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":755733888,"raw_latitude":117749976,"longitude_deg":75.5733888,"latitude_deg":11.7749976,"altitude":19,"angle":271,"satellites":17,"speed":21,"hex_longitude":"2d0b9580","hex_latitude":"0704b8d8","is_valid_coordinates":true} 
[2026-08-21 15:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29260680179744768,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":844987910229467136,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787307217000,"timestamp_ms":1787307217000,"timestamp_seconds":1787307217,"priority":1,"record_length":96,"hex_timestamp":"000001a023cfd068"} 
[2026-08-21 15:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:44:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550643712001,"66":14537,"96":206,"94":10240,"24":21,"16":29260680179744768,"45":844987910229467136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 15:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:44:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 15:44:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29260680179744768,"km_value":29260680179744.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":844987910229467136,"description":"Unknown IO ID 45"} 
[2026-08-21 15:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550643712001,"power":14537,"unknown_96":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":844987910229467136}} 
[2026-08-21 15:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":159136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:44:20] local.INFO: GPS data processed {"connection_id":159136,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:44:20] local.INFO: Acknowledgment sent {"connection_id":159136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:44:34] local.INFO: TCP Data received {"connection_id":161686,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:44:34] local.INFO: Processing buffer {"connection_id":161686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:44:34] local.INFO: Packet analysis {"connection_id":161686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:44:34] local.INFO: Extracted packet for processing {"connection_id":161686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:44:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:44:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":161686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:44:34] local.INFO: GPS data processed {"connection_id":161686,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:44:34] local.INFO: Acknowledgment sent {"connection_id":161686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:44:52] local.INFO: TCP Data received {"connection_id":159136,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023cfe7d8012d0b86800704ba500014012011..."} 
[2026-08-21 15:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cfe7d8012d0b86800704ba500014012011..."} 
[2026-08-21 15:44:52] local.INFO: Processing buffer {"connection_id":159136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cfe7d8012d0b86800704ba500014012011..."} 
[2026-08-21 15:44:52] local.INFO: Packet analysis {"connection_id":159136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 15:44:52] local.INFO: Extracted packet for processing {"connection_id":159136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 15:44:52] local.INFO: GPS Element Parsed {"raw_longitude":755730048,"raw_latitude":117750352,"longitude_deg":75.5730048,"latitude_deg":11.7750352,"altitude":20,"angle":288,"satellites":17,"speed":30,"hex_longitude":"2d0b8680","hex_latitude":"0704ba50","is_valid_coordinates":true} 
[2026-08-21 15:44:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550647552001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29260864863338496,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834714073579444224,"note":"Value kept but may cause issues"} 
[2026-08-21 15:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787307223000,"timestamp_ms":1787307223000,"timestamp_seconds":1787307223,"priority":1,"record_length":96,"hex_timestamp":"000001a023cfe7d8"} 
[2026-08-21 15:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 15:44:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:44:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159136,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550647552001,"66":14407,"96":206,"94":10240,"24":30,"16":29260864863338496,"45":834714073579444224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 15:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550647552001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:44:52] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 15:44:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29260864863338496,"km_value":29260864863338.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":834714073579444224,"description":"Unknown IO ID 45"} 
[2026-08-21 15:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550647552001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":834714073579444224}} 
[2026-08-21 15:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":159136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:44:52] local.INFO: GPS data processed {"connection_id":159136,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:44:52] local.INFO: Acknowledgment sent {"connection_id":159136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:45:02] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:02] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:02] local.INFO: IMEI packet received {"connection_id":159420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":159420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:45:07] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:07] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:07] local.INFO: IMEI packet received {"connection_id":159420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":159420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:45:08] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:45:08] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cc0f78012dde4440050df3500013000912..."} 
[2026-08-21 15:45:08] local.INFO: Packet analysis {"connection_id":159420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:45:08] local.INFO: Extracted packet for processing {"connection_id":159420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cc"} 
[2026-08-21 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":19,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550507520001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787306971000,"timestamp_ms":1787306971000,"timestamp_seconds":1787306971,"priority":1,"record_length":96,"hex_timestamp":"000001a023cc0f78"} 
[2026-08-21 15:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550507520001,"66":25680,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550507520001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:45:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:45:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550507520001,"power":25680,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":159420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:45:08] local.INFO: GPS data processed {"connection_id":159420,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:45:08] local.INFO: Acknowledgment sent {"connection_id":159420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:45:10] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:45:10] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:45:10] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:45:11] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:45:11] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:45:11] local.INFO: Packet analysis {"connection_id":159420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:11] local.INFO: Extracted packet for processing {"connection_id":159420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:45:11] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:45:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":159420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:45:11] local.INFO: GPS data processed {"connection_id":159420,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:45:11] local.INFO: Acknowledgment sent {"connection_id":159420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:45:14] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:45:14] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:45:14] local.INFO: IMEI packet received {"connection_id":160309,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":160309,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:45:19] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0ddf0012d0b5cc00704ee300020015515..."} 
[2026-08-21 15:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0ddf0012d0b5cc00704ee300020015515..."} 
[2026-08-21 15:45:19] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0ddf0012d0b5cc00704ee300020015515..."} 
[2026-08-21 15:45:19] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:19] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:19] local.INFO: GPS Element Parsed {"raw_longitude":755719360,"raw_latitude":117763632,"longitude_deg":75.571936,"latitude_deg":11.7763632,"altitude":32,"angle":341,"satellites":21,"speed":0,"hex_longitude":"2d0b5cc0","hex_latitude":"0704ee30","is_valid_coordinates":true} 
[2026-08-21 15:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550659840001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29261844115881984,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818740368654610432,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787307286000,"timestamp_ms":1787307286000,"timestamp_seconds":1787307286,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0ddf0"} 
[2026-08-21 15:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:45: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":197,"data_length":795,"current_offset":136} 
[2026-08-21 15:45:19] 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-08-21 15:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550659840001,"66":14646,"96":206,"94":10240,"24":0,"16":29261844115881984,"45":818740368654610432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 15:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550659840001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:45:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 15:45:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29261844115881984,"km_value":29261844115881.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":818740368654610432,"description":"Unknown IO ID 45"} 
[2026-08-21 15:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550659840001,"power":14646,"unknown_96":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":818740368654610432}} 
[2026-08-21 15:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676424,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:45:19] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:45:19] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:45:20] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0e5c0012d0b5c800704ee98001f013015..."} 
[2026-08-21 15:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0e5c0012d0b5c800704ee98001f013015..."} 
[2026-08-21 15:45:20] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0e5c0012d0b5c800704ee98001f013015..."} 
[2026-08-21 15:45:20] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:20] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:20] local.INFO: GPS Element Parsed {"raw_longitude":755719296,"raw_latitude":117763736,"longitude_deg":75.5719296,"latitude_deg":11.7763736,"altitude":31,"angle":304,"satellites":21,"speed":2,"hex_longitude":"2d0b5c80","hex_latitude":"0704ee98","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550665216001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29261848410849280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818740368654610432,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787307288000,"timestamp_ms":1787307288000,"timestamp_seconds":1787307288,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0e5c0"} 
[2026-08-21 15:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-08-21 15:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550665216001,"66":14559,"96":206,"94":10240,"24":2,"16":29261848410849280,"45":818740368654610432},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 15:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550665216001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:45:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 15:45:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29261848410849280,"km_value":29261848410849.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":818740368654610432,"description":"Unknown IO ID 45"} 
[2026-08-21 15:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550665216001,"power":14559,"unknown_96":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":818740368654610432}} 
[2026-08-21 15:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:45:20] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:45:20] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:45:42] local.INFO: TCP Data received {"connection_id":159420,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:45:42] local.INFO: Processing buffer {"connection_id":159420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:45:42] local.INFO: Packet analysis {"connection_id":159420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:42] local.INFO: Extracted packet for processing {"connection_id":159420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:42] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:45:42] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:45:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":159420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:45:42] local.INFO: GPS data processed {"connection_id":159420,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:45:42] local.INFO: Acknowledgment sent {"connection_id":159420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:45:57] local.INFO: TCP Data received {"connection_id":160309,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0f560012d0b5a800704efb80020012415..."} 
[2026-08-21 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0f560012d0b5a800704efb80020012415..."} 
[2026-08-21 15:45:57] local.INFO: Processing buffer {"connection_id":160309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0f560012d0b5a800704efb80020012415..."} 
[2026-08-21 15:45:57] local.INFO: Packet analysis {"connection_id":160309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:57] local.INFO: Extracted packet for processing {"connection_id":160309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":755718784,"raw_latitude":117764024,"longitude_deg":75.5718784,"latitude_deg":11.7764024,"altitude":32,"angle":292,"satellites":21,"speed":9,"hex_longitude":"2d0b5a80","hex_latitude":"0704efb8","is_valid_coordinates":true} 
[2026-08-21 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550665728001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29261878475620352,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818669999910459392,"note":"Value kept but may cause issues"} 
[2026-08-21 15:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787307292000,"timestamp_ms":1787307292000,"timestamp_seconds":1787307292,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0f560"} 
[2026-08-21 15:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 15:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160309,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550665728001,"66":14428,"96":206,"94":10240,"24":9,"16":29261878475620352,"45":818669999910459392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 15:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550665728001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:45:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 15:45:57] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29261878475620352,"km_value":29261878475620.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":818669999910459392,"description":"Unknown IO ID 45"} 
[2026-08-21 15:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550665728001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":818669999910459392}} 
[2026-08-21 15:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":160309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676427,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:45:57] local.INFO: GPS data processed {"connection_id":160309,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:45:57] local.INFO: Acknowledgment sent {"connection_id":160309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:45:57] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:57] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:45:57] local.INFO: IMEI packet received {"connection_id":160310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":160310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:46:02] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:46:02] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:46:02] local.INFO: IMEI packet received {"connection_id":160310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":160310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:46:03] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:46:03] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:46:03] local.INFO: Packet analysis {"connection_id":160310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:46:03] local.INFO: Extracted packet for processing {"connection_id":160310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:46:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:46:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":160310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:46:03] local.INFO: GPS data processed {"connection_id":160310,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:46:03] local.INFO: Acknowledgment sent {"connection_id":160310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:46:15] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:15] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:15] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:46:17] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:17] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:17] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:46:18] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:18] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:18] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:46:21] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:21] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:46:21] local.INFO: IMEI packet received {"connection_id":161687,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":161687,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:46:22] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d21e40012d0b3ec0070549100022000c15..."} 
[2026-08-21 15:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d21e40012d0b3ec0070549100022000c15..."} 
[2026-08-21 15:46:22] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d21e40012d0b3ec0070549100022000c15..."} 
[2026-08-21 15:46:22] local.INFO: Packet analysis {"connection_id":161687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d2"} 
[2026-08-21 15:46:22] local.INFO: Extracted packet for processing {"connection_id":161687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d2"} 
[2026-08-21 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":755711680,"raw_latitude":117786896,"longitude_deg":75.571168,"latitude_deg":11.7786896,"altitude":34,"angle":12,"satellites":21,"speed":28,"hex_longitude":"2d0b3ec0","hex_latitude":"07054910","is_valid_coordinates":true} 
[2026-08-21 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550683136001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29263514858160128,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808748006984966144,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787307368000,"timestamp_ms":1787307368000,"timestamp_seconds":1787307368,"priority":1,"record_length":96,"hex_timestamp":"000001a023d21e40"} 
[2026-08-21 15:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 15:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550683136001,"66":14407,"177":206,"94":10240,"24":28,"16":29263514858160128,"45":808748006984966144},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 15:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550683136001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:46:22] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 15:46:22] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29263514858160128,"km_value":29263514858160.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":808748006984966144,"description":"Unknown IO ID 45"} 
[2026-08-21 15:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550683136001,"power":14407,"unknown_177":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":808748006984966144}} 
[2026-08-21 15:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":161687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:46:22] local.INFO: GPS data processed {"connection_id":161687,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:46:22] local.INFO: Acknowledgment sent {"connection_id":161687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:46:34] local.INFO: TCP Data received {"connection_id":160310,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:46:34] local.INFO: Processing buffer {"connection_id":160310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:46:34] local.INFO: Packet analysis {"connection_id":160310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:46:34] local.INFO: Extracted packet for processing {"connection_id":160310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:46:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":160310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:46:34] local.INFO: GPS data processed {"connection_id":160310,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:46:34] local.INFO: Acknowledgment sent {"connection_id":160310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:46:53] local.INFO: TCP Data received {"connection_id":161687,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d2b698012d0b26c007058088001f015f15..."} 
[2026-08-21 15:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d2b698012d0b26c007058088001f015f15..."} 
[2026-08-21 15:46:53] local.INFO: Processing buffer {"connection_id":161687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d2b698012d0b26c007058088001f015f15..."} 
[2026-08-21 15:46:53] local.INFO: Packet analysis {"connection_id":161687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d2"} 
[2026-08-21 15:46:53] local.INFO: Extracted packet for processing {"connection_id":161687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d2"} 
[2026-08-21 15:46:53] local.INFO: GPS Element Parsed {"raw_longitude":755705536,"raw_latitude":117801096,"longitude_deg":75.5705536,"latitude_deg":11.7801096,"altitude":31,"angle":351,"satellites":21,"speed":16,"hex_longitude":"2d0b26c0","hex_latitude":"07058088","is_valid_coordinates":true} 
[2026-08-21 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-08-21 15:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550696192001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29264416801292288,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803540719921825792,"note":"Value kept but may cause issues"} 
[2026-08-21 15:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787307407000,"timestamp_ms":1787307407000,"timestamp_seconds":1787307407,"priority":1,"record_length":96,"hex_timestamp":"000001a023d2b698"} 
[2026-08-21 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-08-21 15:46: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-08-21 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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 15:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 15:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161687,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550696192001,"66":14461,"165":206,"94":10240,"24":16,"16":29264416801292288,"45":803540719921825792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 15:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550696192001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:46:53] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 15:46:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29264416801292288,"km_value":29264416801292.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":803540719921825792,"description":"Unknown IO ID 45"} 
[2026-08-21 15:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550696192001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":803540719921825792}} 
[2026-08-21 15:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":161687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676431,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:46:53] local.INFO: GPS data processed {"connection_id":161687,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:46:53] local.INFO: Acknowledgment sent {"connection_id":161687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:46:58] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:46:58] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:46:58] local.INFO: IMEI packet received {"connection_id":159421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":159421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:47:02] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:47:02] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:47:02] local.INFO: IMEI packet received {"connection_id":159421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":159421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:47:03] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:47:03] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:47:03] local.INFO: Packet analysis {"connection_id":159421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:47:03] local.INFO: Extracted packet for processing {"connection_id":159421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:47:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:47:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":159421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:47:03] local.INFO: GPS data processed {"connection_id":159421,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:47:03] local.INFO: Acknowledgment sent {"connection_id":159421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:47:09] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:47:09] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:47:09] local.INFO: IMEI packet received {"connection_id":159422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":159422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:47:13] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:47:13] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:47:13] local.INFO: IMEI packet received {"connection_id":159422,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":159422,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:47:14] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d2ba80012d0b2680070582100020015415..."} 
[2026-08-21 15:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d2ba80012d0b2680070582100020015415..."} 
[2026-08-21 15:47:14] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d2ba80012d0b2680070582100020015415..."} 
[2026-08-21 15:47:14] local.INFO: Packet analysis {"connection_id":159422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d2"} 
[2026-08-21 15:47:14] local.INFO: Extracted packet for processing {"connection_id":159422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d2"} 
[2026-08-21 15:47:14] local.INFO: GPS Element Parsed {"raw_longitude":755705472,"raw_latitude":117801488,"longitude_deg":75.5705472,"latitude_deg":11.7801488,"altitude":32,"angle":340,"satellites":21,"speed":15,"hex_longitude":"2d0b2680","hex_latitude":"07058210","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550696192001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29264433981161472,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":803540719921825792,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787307408000,"timestamp_ms":1787307408000,"timestamp_seconds":1787307408,"priority":1,"record_length":96,"hex_timestamp":"000001a023d2ba80"} 
[2026-08-21 15:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 15:47: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-08-21 15: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-08-21 15:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550696192001,"66":14461,"165":206,"94":10240,"24":15,"16":29264433981161472,"45":803540719921825792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 15:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550696192001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:47:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 15:47:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29264433981161472,"km_value":29264433981161.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":803540719921825792,"description":"Unknown IO ID 45"} 
[2026-08-21 15:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550696192001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":803540719921825792}} 
[2026-08-21 15:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":159422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676433,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:47:14] local.INFO: GPS data processed {"connection_id":159422,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:47:14] local.INFO: Acknowledgment sent {"connection_id":159422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:47:34] local.INFO: TCP Data received {"connection_id":159421,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:47:34] local.INFO: Processing buffer {"connection_id":159421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:47:34] local.INFO: Packet analysis {"connection_id":159421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:47:34] local.INFO: Extracted packet for processing {"connection_id":159421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:47:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":159421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:47:34] local.INFO: GPS data processed {"connection_id":159421,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:47:34] local.INFO: Acknowledgment sent {"connection_id":159421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:47:45] local.INFO: TCP Data received {"connection_id":159422,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d37600012d0ae380070593c8002d012114..."} 
[2026-08-21 15:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d37600012d0ae380070593c8002d012114..."} 
[2026-08-21 15:47:45] local.INFO: Processing buffer {"connection_id":159422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d37600012d0ae380070593c8002d012114..."} 
[2026-08-21 15:47:45] local.INFO: Packet analysis {"connection_id":159422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:47:45] local.INFO: Extracted packet for processing {"connection_id":159422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:47:45] local.INFO: GPS Element Parsed {"raw_longitude":755688320,"raw_latitude":117806024,"longitude_deg":75.568832,"latitude_deg":11.7806024,"altitude":45,"angle":289,"satellites":20,"speed":11,"hex_longitude":"2d0ae380","hex_latitude":"070593c8","is_valid_coordinates":true} 
[2026-08-21 15:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550708224001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29265533492789248,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785315215181035520,"note":"Value kept but may cause issues"} 
[2026-08-21 15:47:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787307456000,"timestamp_ms":1787307456000,"timestamp_seconds":1787307456,"priority":1,"record_length":96,"hex_timestamp":"000001a023d37600"} 
[2026-08-21 15:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 15:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159422,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550708224001,"66":14559,"165":206,"94":10240,"24":11,"16":29265533492789248,"45":785315215181035520},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 15:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550708224001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:47:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 15:47:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29265533492789248,"km_value":29265533492789.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":785315215181035520,"description":"Unknown IO ID 45"} 
[2026-08-21 15:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550708224001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":785315215181035520}} 
[2026-08-21 15:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":159422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676435,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:47:46] local.INFO: GPS data processed {"connection_id":159422,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:47:46] local.INFO: Acknowledgment sent {"connection_id":159422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:47:57] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:47:57] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:47:57] local.INFO: IMEI packet received {"connection_id":159137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":159137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:48:02] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:48:02] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:48:02] local.INFO: IMEI packet received {"connection_id":159137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:48:03] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:48:03] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:48:03] local.INFO: Packet analysis {"connection_id":159137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:48:03] local.INFO: Extracted packet for processing {"connection_id":159137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:48:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":159137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:48:03] local.INFO: GPS data processed {"connection_id":159137,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:48:03] local.INFO: Acknowledgment sent {"connection_id":159137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:48:10] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:48:10] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:48:10] local.INFO: IMEI packet received {"connection_id":159423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":159423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:48:14] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:48:14] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:48:14] local.INFO: IMEI packet received {"connection_id":159423,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":159423,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:48:16] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d37dd0012d0ae1c007059448002f011514..."} 
[2026-08-21 15:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d37dd0012d0ae1c007059448002f011514..."} 
[2026-08-21 15:48:16] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d37dd0012d0ae1c007059448002f011514..."} 
[2026-08-21 15:48:16] local.INFO: Packet analysis {"connection_id":159423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:48:16] local.INFO: Extracted packet for processing {"connection_id":159423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":755687872,"raw_latitude":117806152,"longitude_deg":75.5687872,"latitude_deg":11.7806152,"altitude":47,"angle":277,"satellites":20,"speed":8,"hex_longitude":"2d0ae1c0","hex_latitude":"07059448","is_valid_coordinates":true} 
[2026-08-21 15:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550708736001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29265559262593024,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784611527739295744,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787307458000,"timestamp_ms":1787307458000,"timestamp_seconds":1787307458,"priority":1,"record_length":96,"hex_timestamp":"000001a023d37dd0"} 
[2026-08-21 15:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:48:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 15:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550708736001,"66":14559,"165":206,"94":10240,"24":8,"16":29265559262593024,"45":784611527739295744},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 15:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550708736001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:48:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 15:48:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29265559262593024,"km_value":29265559262593.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":784611527739295744,"description":"Unknown IO ID 45"} 
[2026-08-21 15:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550708736001,"power":14559,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":784611527739295744}} 
[2026-08-21 15:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":159423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:48:16] local.INFO: GPS data processed {"connection_id":159423,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:48:16] local.INFO: Acknowledgment sent {"connection_id":159423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:48:34] local.INFO: TCP Data received {"connection_id":159137,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:48:34] local.INFO: Processing buffer {"connection_id":159137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:48:34] local.INFO: Packet analysis {"connection_id":159137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:48:34] local.INFO: Extracted packet for processing {"connection_id":159137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:48:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:48:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":159137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:48:34] local.INFO: GPS data processed {"connection_id":159137,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:48:34] local.INFO: Acknowledgment sent {"connection_id":159137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:48:47] local.INFO: TCP Data received {"connection_id":159423,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d381b8012d0ae0c007059418002f00ff14..."} 
[2026-08-21 15:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d381b8012d0ae0c007059418002f00ff14..."} 
[2026-08-21 15:48:47] local.INFO: Processing buffer {"connection_id":159423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d381b8012d0ae0c007059418002f00ff14..."} 
[2026-08-21 15:48:47] local.INFO: Packet analysis {"connection_id":159423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:48:47] local.INFO: Extracted packet for processing {"connection_id":159423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:48:47] local.INFO: GPS Element Parsed {"raw_longitude":755687616,"raw_latitude":117806104,"longitude_deg":75.5687616,"latitude_deg":11.7806104,"altitude":47,"angle":255,"satellites":20,"speed":8,"hex_longitude":"2d0ae0c0","hex_latitude":"07059418","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550709248001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29265567852527616,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784118946530084864,"note":"Value kept but may cause issues"} 
[2026-08-21 15:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787307459000,"timestamp_ms":1787307459000,"timestamp_seconds":1787307459,"priority":1,"record_length":96,"hex_timestamp":"000001a023d381b8"} 
[2026-08-21 15:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 15:48:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159423,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550709248001,"66":14515,"165":206,"94":10240,"24":8,"16":29265567852527616,"45":784118946530084864},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 15:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550709248001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:48:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 15:48:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29265567852527616,"km_value":29265567852527.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":784118946530084864,"description":"Unknown IO ID 45"} 
[2026-08-21 15:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550709248001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":784118946530084864}} 
[2026-08-21 15:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":159423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:48:47] local.INFO: GPS data processed {"connection_id":159423,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:48:47] local.INFO: Acknowledgment sent {"connection_id":159423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:48:57] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:48:57] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:48:57] local.INFO: IMEI packet received {"connection_id":159138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":159138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:49:02] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:49:02] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:49:02] local.INFO: IMEI packet received {"connection_id":159138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":159138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:49:03] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:49:03] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:49:03] local.INFO: Packet analysis {"connection_id":159138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:49:03] local.INFO: Extracted packet for processing {"connection_id":159138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:49:03] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:49: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-08-21 15:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:49:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:49:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":159138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:49:03] local.INFO: GPS data processed {"connection_id":159138,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:49:03] local.INFO: Acknowledgment sent {"connection_id":159138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:49:10] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:49:10] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:49:10] local.INFO: IMEI packet received {"connection_id":160311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":160311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:49:14] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:49:14] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:49:14] local.INFO: IMEI packet received {"connection_id":160311,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":160311,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:49:14] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d3cfd8012d0ac48007058c900033010015..."} 
[2026-08-21 15:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d3cfd8012d0ac48007058c900033010015..."} 
[2026-08-21 15:49:14] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d3cfd8012d0ac48007058c900033010015..."} 
[2026-08-21 15:49:14] local.INFO: Packet analysis {"connection_id":160311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:49:14] local.INFO: Extracted packet for processing {"connection_id":160311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d3"} 
[2026-08-21 15:49:14] local.INFO: GPS Element Parsed {"raw_longitude":755680384,"raw_latitude":117804176,"longitude_deg":75.5680384,"latitude_deg":11.7804176,"altitude":51,"angle":256,"satellites":21,"speed":21,"hex_longitude":"2d0ac480","hex_latitude":"07058c90","is_valid_coordinates":true} 
[2026-08-21 15:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550709504001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29265924334813184,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783837471553361920,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787307479000,"timestamp_ms":1787307479000,"timestamp_seconds":1787307479,"priority":1,"record_length":96,"hex_timestamp":"000001a023d3cfd8"} 
[2026-08-21 15:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 15:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550709504001,"66":14515,"165":206,"94":10240,"24":21,"16":29265924334813184,"45":783837471553361920},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 15:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550709504001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:49:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 15:49:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29265924334813184,"km_value":29265924334813.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":783837471553361920,"description":"Unknown IO ID 45"} 
[2026-08-21 15:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550709504001,"power":14515,"unknown_165":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":783837471553361920}} 
[2026-08-21 15:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":160311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676441,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:49:14] local.INFO: GPS data processed {"connection_id":160311,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:49:14] local.INFO: Acknowledgment sent {"connection_id":160311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:49:34] local.INFO: TCP Data received {"connection_id":159138,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:49:34] local.INFO: Processing buffer {"connection_id":159138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d0a740012dde4440050df3500014000912..."} 
[2026-08-21 15:49:34] local.INFO: Packet analysis {"connection_id":159138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:49:34] local.INFO: Extracted packet for processing {"connection_id":159138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d0"} 
[2026-08-21 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":769541184,"raw_latitude":84800336,"longitude_deg":76.9541184,"latitude_deg":8.4800336,"altitude":20,"angle":9,"satellites":18,"speed":0,"hex_longitude":"2dde4440","hex_latitude":"050df350","is_valid_coordinates":true} 
[2026-08-21 15:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550584576001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388235296614907904,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430747508420161536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787307272000,"timestamp_ms":1787307272000,"timestamp_seconds":1787307272,"priority":1,"record_length":96,"hex_timestamp":"000001a023d0a740"} 
[2026-08-21 15:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 15: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 15:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550584576001,"66":25625,"23":206,"80":33792,"24":0,"16":388235296614907904,"45":-2430747508420161536},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550584576001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:49:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:49:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388235296614907904,"km_value":388235296614907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430747508420161536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550584576001,"power":25625,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2430747508420161536}} 
[2026-08-21 15:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":159138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:49:34] local.INFO: GPS data processed {"connection_id":159138,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:49:34] local.INFO: Acknowledgment sent {"connection_id":159138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:49:45] local.INFO: TCP Data received {"connection_id":160311,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d50858012d0a81c00705aad8001f014c1a..."} 
[2026-08-21 15:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d50858012d0a81c00705aad8001f014c1a..."} 
[2026-08-21 15:49:45] local.INFO: Processing buffer {"connection_id":160311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d50858012d0a81c00705aad8001f014c1a..."} 
[2026-08-21 15:49:45] local.INFO: Packet analysis {"connection_id":160311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:49:45] local.INFO: Extracted packet for processing {"connection_id":160311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":755663296,"raw_latitude":117811928,"longitude_deg":75.5663296,"latitude_deg":11.7811928,"altitude":31,"angle":332,"satellites":26,"speed":12,"hex_longitude":"2d0a81c0","hex_latitude":"0705aad8","is_valid_coordinates":true} 
[2026-08-21 15:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550734848001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29266998076637184,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757378823743989760,"note":"Value kept but may cause issues"} 
[2026-08-21 15:49:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787307559000,"timestamp_ms":1787307559000,"timestamp_seconds":1787307559,"priority":1,"record_length":96,"hex_timestamp":"000001a023d50858"} 
[2026-08-21 15:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:49:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 15:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160311,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550734848001,"66":14450,"153":206,"94":10240,"24":12,"16":29266998076637184,"45":757378823743989760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550734848001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:49:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:49:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29266998076637184,"km_value":29266998076637.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":757378823743989760,"description":"Unknown IO ID 45"} 
[2026-08-21 15:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550734848001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":757378823743989760}} 
[2026-08-21 15:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":160311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:49:46] local.INFO: GPS data processed {"connection_id":160311,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:49:46] local.INFO: Acknowledgment sent {"connection_id":160311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:49:56] local.INFO: TCP Data received {"connection_id":159424,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:49:56] local.INFO: Processing buffer {"connection_id":159424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:49:56] local.INFO: IMEI packet received {"connection_id":159424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":159424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:49:58] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:49:58] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:49:58] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:50:01] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:01] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:01] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:50:01] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:01] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:01] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:50:02] local.INFO: TCP Data received {"connection_id":160312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:02] local.INFO: Processing buffer {"connection_id":160312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:50:02] local.INFO: IMEI packet received {"connection_id":160312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":160312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:50:08] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:50:08] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:50:08] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:50:14] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:50:14] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:50:14] local.INFO: IMEI packet received {"connection_id":161688,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":161688,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:50:14] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d53350012d0a77400705bfe8001d015a19..."} 
[2026-08-21 15:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d53350012d0a77400705bfe8001d015a19..."} 
[2026-08-21 15:50:14] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d53350012d0a77400705bfe8001d015a19..."} 
[2026-08-21 15:50:14] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:50:14] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":755660608,"raw_latitude":117817320,"longitude_deg":75.5660608,"latitude_deg":11.781732,"altitude":29,"angle":346,"satellites":25,"speed":21,"hex_longitude":"2d0a7740","hex_latitude":"0705bfe8","is_valid_coordinates":true} 
[2026-08-21 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550735104001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29267290134413312,"note":"Value kept but may cause issues"} 
[2026-08-21 15:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":757097348767340544,"note":"Value kept but may cause issues"} 
[2026-08-21 15:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787307570000,"timestamp_ms":1787307570000,"timestamp_seconds":1787307570,"priority":1,"record_length":96,"hex_timestamp":"000001a023d53350"} 
[2026-08-21 15:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550735104001,"66":14537,"153":206,"94":10240,"24":21,"16":29267290134413312,"45":757097348767340544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550735104001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:50:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:50:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29267290134413312,"km_value":29267290134413.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":757097348767340544,"description":"Unknown IO ID 45"} 
[2026-08-21 15:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550735104001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":757097348767340544}} 
[2026-08-21 15:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676444,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:50:14] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:50:14] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:50:45] local.INFO: TCP Data received {"connection_id":161688,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d542f0012d0a75c00705c5f8001c01671a..."} 
[2026-08-21 15:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d542f0012d0a75c00705c5f8001c01671a..."} 
[2026-08-21 15:50:45] local.INFO: Processing buffer {"connection_id":161688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d542f0012d0a75c00705c5f8001c01671a..."} 
[2026-08-21 15:50:45] local.INFO: Packet analysis {"connection_id":161688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:50:45] local.INFO: Extracted packet for processing {"connection_id":161688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:50:45] local.INFO: GPS Element Parsed {"raw_longitude":755660224,"raw_latitude":117818872,"longitude_deg":75.5660224,"latitude_deg":11.7818872,"altitude":28,"angle":359,"satellites":26,"speed":9,"hex_longitude":"2d0a75c0","hex_latitude":"0705c5f8","is_valid_coordinates":true} 
[2026-08-21 15:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550737920001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29267367443824640,"note":"Value kept but may cause issues"} 
[2026-08-21 15:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":754141861513259008,"note":"Value kept but may cause issues"} 
[2026-08-21 15:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787307574000,"timestamp_ms":1787307574000,"timestamp_seconds":1787307574,"priority":1,"record_length":96,"hex_timestamp":"000001a023d542f0"} 
[2026-08-21 15:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 15:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161688,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550737920001,"66":14439,"153":206,"94":10240,"24":9,"16":29267367443824640,"45":754141861513259008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550737920001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:50:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:50:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29267367443824640,"km_value":29267367443824.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":754141861513259008,"description":"Unknown IO ID 45"} 
[2026-08-21 15:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550737920001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":754141861513259008}} 
[2026-08-21 15:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":161688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676445,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:50:45] local.INFO: GPS data processed {"connection_id":161688,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:50:45] local.INFO: Acknowledgment sent {"connection_id":161688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:51:13] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:51:13] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:51:13] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:51:18] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:51:18] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:51:18] local.INFO: IMEI packet received {"connection_id":160313,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":160313,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:51:19] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d59110012d0a75400705c6e8001b01671b..."} 
[2026-08-21 15:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d59110012d0a75400705c6e8001b01671b..."} 
[2026-08-21 15:51:19] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d59110012d0a75400705c6e8001b01671b..."} 
[2026-08-21 15:51:19] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:51:19] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:51:19] local.INFO: GPS Element Parsed {"raw_longitude":755660096,"raw_latitude":117819112,"longitude_deg":75.5660096,"latitude_deg":11.7819112,"altitude":27,"angle":359,"satellites":27,"speed":0,"hex_longitude":"2d0a7540","hex_latitude":"0705c6e8","is_valid_coordinates":true} 
[2026-08-21 15:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550738944001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29267384623693824,"note":"Value kept but may cause issues"} 
[2026-08-21 15:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753719649048590336,"note":"Value kept but may cause issues"} 
[2026-08-21 15:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787307594000,"timestamp_ms":1787307594000,"timestamp_seconds":1787307594,"priority":1,"record_length":96,"hex_timestamp":"000001a023d59110"} 
[2026-08-21 15:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 15:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550738944001,"66":14678,"153":206,"94":10240,"24":0,"16":29267384623693824,"45":753719649048590336},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550738944001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:51:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:51:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29267384623693824,"km_value":29267384623693.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":753719649048590336,"description":"Unknown IO ID 45"} 
[2026-08-21 15:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550738944001,"power":14678,"unknown_153":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":753719649048590336}} 
[2026-08-21 15:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:51:19] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:51:19] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:51:23] local.INFO: TCP Data received {"connection_id":160313,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d5e318012d0a71c00705dbb0001a015f1b..."} 
[2026-08-21 15:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d5e318012d0a71c00705dbb0001a015f1b..."} 
[2026-08-21 15:51:23] local.INFO: Processing buffer {"connection_id":160313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d5e318012d0a71c00705dbb0001a015f1b..."} 
[2026-08-21 15:51:23] local.INFO: Packet analysis {"connection_id":160313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:51:23] local.INFO: Extracted packet for processing {"connection_id":160313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:51:23] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117824432,"longitude_deg":75.56592,"latitude_deg":11.7824432,"altitude":26,"angle":351,"satellites":27,"speed":13,"hex_longitude":"2d0a71c0","hex_latitude":"0705dbb0","is_valid_coordinates":true} 
[2026-08-21 15:51:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:51:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550744064001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:51:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29267650911666176,"note":"Value kept but may cause issues"} 
[2026-08-21 15:51:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753578911560296448,"note":"Value kept but may cause issues"} 
[2026-08-21 15:51:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:51:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787307615000,"timestamp_ms":1787307615000,"timestamp_seconds":1787307615,"priority":1,"record_length":96,"hex_timestamp":"000001a023d5e318"} 
[2026-08-21 15:51:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:51:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":57,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 15:51:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1257,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:51:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:51:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:51:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:51:23] local.INFO: Teltonika packet parsed successfully {"connection_id":160313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:51:23] local.INFO: Passing IMEI to GPS processor {"connection_id":160313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:51:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":160313,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:51:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:51:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:51:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:51:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550744064001,"66":14374,"153":206,"94":10240,"24":13,"16":29267650911666176,"45":753578911560296448},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:51:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:51:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:51:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550744064001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:51:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:51:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:51:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29267650911666176,"km_value":29267650911666.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:51:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":753578911560296448,"description":"Unknown IO ID 45"} 
[2026-08-21 15:51:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550744064001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":753578911560296448}} 
[2026-08-21 15:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":160313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676447,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:51:24] local.INFO: GPS data processed {"connection_id":160313,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:51:24] local.INFO: Acknowledgment sent {"connection_id":160313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:52:09] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:52:09] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:52:09] local.INFO: IMEI packet received {"connection_id":159425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":159425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:52:14] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:52:14] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:52:14] local.INFO: IMEI packet received {"connection_id":159425,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":159425,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:52:14] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d5eed0012d0a71c00705ded8001a000a1a..."} 
[2026-08-21 15:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d5eed0012d0a71c00705ded8001a000a1a..."} 
[2026-08-21 15:52:14] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d5eed0012d0a71c00705ded8001a000a1a..."} 
[2026-08-21 15:52:14] local.INFO: Packet analysis {"connection_id":159425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:52:14] local.INFO: Extracted packet for processing {"connection_id":159425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d5"} 
[2026-08-21 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":755659200,"raw_latitude":117825240,"longitude_deg":75.56592,"latitude_deg":11.782524,"altitude":26,"angle":10,"satellites":26,"speed":9,"hex_longitude":"2d0a71c0","hex_latitude":"0705ded8","is_valid_coordinates":true} 
[2026-08-21 15:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550749440001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29267689566371840,"note":"Value kept but may cause issues"} 
[2026-08-21 15:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752593749143171072,"note":"Value kept but may cause issues"} 
[2026-08-21 15:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787307618000,"timestamp_ms":1787307618000,"timestamp_seconds":1787307618,"priority":1,"record_length":96,"hex_timestamp":"000001a023d5eed0"} 
[2026-08-21 15:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 15:52: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-08-21 15:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550749440001,"66":14439,"153":206,"94":10240,"24":9,"16":29267689566371840,"45":752593749143171072},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550749440001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:52:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:52:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29267689566371840,"km_value":29267689566371.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":752593749143171072,"description":"Unknown IO ID 45"} 
[2026-08-21 15:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550749440001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":752593749143171072}} 
[2026-08-21 15:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":159425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676448,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:52:14] local.INFO: GPS data processed {"connection_id":159425,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:52:14] local.INFO: Acknowledgment sent {"connection_id":159425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:52:45] local.INFO: TCP Data received {"connection_id":159425,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d7cf48012d0a73c007060228001000b51c..."} 
[2026-08-21 15:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d7cf48012d0a73c007060228001000b51c..."} 
[2026-08-21 15:52:45] local.INFO: Processing buffer {"connection_id":159425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d7cf48012d0a73c007060228001000b51c..."} 
[2026-08-21 15:52:45] local.INFO: Packet analysis {"connection_id":159425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d7"} 
[2026-08-21 15:52:45] local.INFO: Extracted packet for processing {"connection_id":159425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d7"} 
[2026-08-21 15:52:45] local.INFO: GPS Element Parsed {"raw_longitude":755659712,"raw_latitude":117834280,"longitude_deg":75.5659712,"latitude_deg":11.783428,"altitude":16,"angle":181,"satellites":28,"speed":3,"hex_longitude":"2d0a73c0","hex_latitude":"07060228","is_valid_coordinates":true} 
[2026-08-21 15:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550780672001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29268273681924096,"note":"Value kept but may cause issues"} 
[2026-08-21 15:52:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961610868736,"note":"Value kept but may cause issues"} 
[2026-08-21 15:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787307741000,"timestamp_ms":1787307741000,"timestamp_seconds":1787307741,"priority":1,"record_length":96,"hex_timestamp":"000001a023d7cf48"} 
[2026-08-21 15:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159425,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550780672001,"66":14450,"153":206,"94":10240,"24":3,"16":29268273681924096,"45":753015961610868736},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550780672001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:52:45] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:52:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29268273681924096,"km_value":29268273681924.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:52:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961610868736,"description":"Unknown IO ID 45"} 
[2026-08-21 15:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550780672001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":753015961610868736}} 
[2026-08-21 15:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":159425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676449,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:52:45] local.INFO: GPS data processed {"connection_id":159425,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:52:45] local.INFO: Acknowledgment sent {"connection_id":159425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:53:07] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:07] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:07] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:53:08] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:08] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:08] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:53:09] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:09] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:09] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:53:14] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:14] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:53:14] local.INFO: IMEI packet received {"connection_id":159139,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":159139,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:53:14] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d81980012d0a74000705e370001400c71c..."} 
[2026-08-21 15:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d81980012d0a74000705e370001400c71c..."} 
[2026-08-21 15:53:14] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d81980012d0a74000705e370001400c71c..."} 
[2026-08-21 15:53:14] local.INFO: Packet analysis {"connection_id":159139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:53:14] local.INFO: Extracted packet for processing {"connection_id":159139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:53:14] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117826416,"longitude_deg":75.5659776,"latitude_deg":11.7826416,"altitude":20,"angle":199,"satellites":28,"speed":14,"hex_longitude":"2d0a7400","hex_latitude":"0705e370","is_valid_coordinates":true} 
[2026-08-21 15:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550781696001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29268655934013440,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753156699099113472,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787307760000,"timestamp_ms":1787307760000,"timestamp_seconds":1787307760,"priority":1,"record_length":96,"hex_timestamp":"000001a023d81980"} 
[2026-08-21 15:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-08-21 15:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550781696001,"66":14515,"153":206,"94":10240,"24":14,"16":29268655934013440,"45":753156699099113472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550781696001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:53:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:53:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29268655934013440,"km_value":29268655934013.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":753156699099113472,"description":"Unknown IO ID 45"} 
[2026-08-21 15:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550781696001,"power":14515,"unknown_153":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":753156699099113472}} 
[2026-08-21 15:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":159139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:53:14] local.INFO: GPS data processed {"connection_id":159139,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:53:14] local.INFO: Acknowledgment sent {"connection_id":159139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:53:19] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d81d68012d0a73800705e240001400d81c..."} 
[2026-08-21 15:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d81d68012d0a73800705e240001400d81c..."} 
[2026-08-21 15:53:19] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d81d68012d0a73800705e240001400d81c..."} 
[2026-08-21 15:53:19] local.INFO: Packet analysis {"connection_id":159139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:53:19] local.INFO: Extracted packet for processing {"connection_id":159139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:53:19] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117826112,"longitude_deg":75.5659648,"latitude_deg":11.7826112,"altitude":20,"angle":216,"satellites":28,"speed":12,"hex_longitude":"2d0a7380","hex_latitude":"0705e240","is_valid_coordinates":true} 
[2026-08-21 15:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550786560001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29268673113882624,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753227067841277952,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787307761000,"timestamp_ms":1787307761000,"timestamp_seconds":1787307761,"priority":1,"record_length":96,"hex_timestamp":"000001a023d81d68"} 
[2026-08-21 15:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 15:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15: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-08-21 15:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550786560001,"66":14407,"153":206,"94":10240,"24":12,"16":29268673113882624,"45":753227067841277952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550786560001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:53:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:53:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29268673113882624,"km_value":29268673113882.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":753227067841277952,"description":"Unknown IO ID 45"} 
[2026-08-21 15:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550786560001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753227067841277952}} 
[2026-08-21 15:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":159139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676451,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:53:19] local.INFO: GPS data processed {"connection_id":159139,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:53:19] local.INFO: Acknowledgment sent {"connection_id":159139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:53:50] local.INFO: TCP Data received {"connection_id":159139,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d82d08012d0a72000705df30001500c71c..."} 
[2026-08-21 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d82d08012d0a72000705df30001500c71c..."} 
[2026-08-21 15:53:50] local.INFO: Processing buffer {"connection_id":159139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d82d08012d0a72000705df30001500c71c..."} 
[2026-08-21 15:53:50] local.INFO: Packet analysis {"connection_id":159139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:53:50] local.INFO: Extracted packet for processing {"connection_id":159139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:53:50] local.INFO: GPS Element Parsed {"raw_longitude":755659264,"raw_latitude":117825328,"longitude_deg":75.5659264,"latitude_deg":11.7825328,"altitude":21,"angle":199,"satellites":28,"speed":5,"hex_longitude":"2d0a7200","hex_latitude":"0705df30","is_valid_coordinates":true} 
[2026-08-21 15:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550786816001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29268716063555584,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330352844800,"note":"Value kept but may cause issues"} 
[2026-08-21 15:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787307765000,"timestamp_ms":1787307765000,"timestamp_seconds":1787307765,"priority":1,"record_length":96,"hex_timestamp":"000001a023d82d08"} 
[2026-08-21 15:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 15:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159139,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550786816001,"66":14135,"153":206,"94":10240,"24":5,"16":29268716063555584,"45":753086330352844800},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550786816001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:53:50] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:53:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29268716063555584,"km_value":29268716063555.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330352844800,"description":"Unknown IO ID 45"} 
[2026-08-21 15:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550786816001,"power":14135,"unknown_153":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":753086330352844800}} 
[2026-08-21 15:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":159139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676452,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:53:50] local.INFO: GPS data processed {"connection_id":159139,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:53:50] local.INFO: Acknowledgment sent {"connection_id":159139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:54:06] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:06] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:06] local.INFO: IMEI packet received {"connection_id":159426,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":159426,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:54:08] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:08] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:08] local.INFO: IMEI packet received {"connection_id":159426,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":159426,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:54:15] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:15] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:54:15] local.INFO: IMEI packet received {"connection_id":159426,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":159426,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:54:23] local.INFO: TCP Data received {"connection_id":159426,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d87f10012d0a73800705dda0001500c71c..."} 
[2026-08-21 15:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d87f10012d0a73800705dda0001500c71c..."} 
[2026-08-21 15:54:23] local.INFO: Processing buffer {"connection_id":159426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d87f10012d0a73800705dda0001500c71c..."} 
[2026-08-21 15:54:23] local.INFO: Packet analysis {"connection_id":159426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:54:23] local.INFO: Extracted packet for processing {"connection_id":159426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 15:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117824928,"longitude_deg":75.5659648,"latitude_deg":11.7824928,"altitude":21,"angle":199,"satellites":28,"speed":4,"hex_longitude":"2d0a7380","hex_latitude":"0705dda0","is_valid_coordinates":true} 
[2026-08-21 15:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550787840001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29268771898130432,"note":"Value kept but may cause issues"} 
[2026-08-21 15:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752664117887578112,"note":"Value kept but may cause issues"} 
[2026-08-21 15:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787307786000,"timestamp_ms":1787307786000,"timestamp_seconds":1787307786,"priority":1,"record_length":96,"hex_timestamp":"000001a023d87f10"} 
[2026-08-21 15:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-08-21 15:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159426,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159426,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550787840001,"66":14407,"153":206,"94":10240,"24":4,"16":29268771898130432,"45":752664117887578112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-08-21 15:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550787840001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:54:23] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 15:54:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29268771898130432,"km_value":29268771898130.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":752664117887578112,"description":"Unknown IO ID 45"} 
[2026-08-21 15:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550787840001,"power":14407,"unknown_153":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":752664117887578112}} 
[2026-08-21 15:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":159426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676453,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:54:23] local.INFO: GPS data processed {"connection_id":159426,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:54:23] local.INFO: Acknowledgment sent {"connection_id":159426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:55:07] local.INFO: TCP Data received {"connection_id":160316,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:55:07] local.INFO: Processing buffer {"connection_id":160316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:55:07] local.INFO: IMEI packet received {"connection_id":160316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":160316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:55:08] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:08] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:08] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:55:08] local.INFO: TCP Data received {"connection_id":160316,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023d95db8012dde4140050df820000c007020..."} 
[2026-08-21 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d95db8012dde4140050df820000c007020..."} 
[2026-08-21 15:55:08] local.INFO: Processing buffer {"connection_id":160316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d95db8012dde4140050df820000c007020..."} 
[2026-08-21 15:55:08] local.INFO: Packet analysis {"connection_id":160316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:08] local.INFO: Extracted packet for processing {"connection_id":160316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:08] local.INFO: GPS Element Parsed {"raw_longitude":769540416,"raw_latitude":84801568,"longitude_deg":76.9540416,"latitude_deg":8.4801568,"altitude":12,"angle":112,"satellites":32,"speed":0,"hex_longitude":"2dde4140","hex_latitude":"050df820","is_valid_coordinates":true} 
[2026-08-21 15:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550807552001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388236456256077824,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2431591933349980160,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787307843000,"timestamp_ms":1787307843000,"timestamp_seconds":1787307843,"priority":1,"record_length":96,"hex_timestamp":"000001a023d95db8"} 
[2026-08-21 15:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 15:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":3028,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550807552001,"66":27647,"23":206,"80":33792,"24":0,"16":388236456256077824,"45":-2431591933349980160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 15:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550807552001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:55:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 15:55:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388236456256077824,"km_value":388236456256077.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2431591933349980160,"description":"Unknown IO ID 45"} 
[2026-08-21 15:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550807552001,"power":27647,"unknown_23":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2431591933349980160}} 
[2026-08-21 15:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":160316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:55:08] local.INFO: GPS data processed {"connection_id":160316,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:55:08] local.INFO: Acknowledgment sent {"connection_id":160316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:55:11] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:11] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:11] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:55:12] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:12] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:55:12] local.INFO: IMEI packet received {"connection_id":160317,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":160317,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:55:13] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023d9c348012d0a45c0070588a8001100f91c..."} 
[2026-08-21 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d9c348012d0a45c0070588a8001100f91c..."} 
[2026-08-21 15:55:13] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d9c348012d0a45c0070588a8001100f91c..."} 
[2026-08-21 15:55:13] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:13] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:13] local.INFO: GPS Element Parsed {"raw_longitude":755647936,"raw_latitude":117803176,"longitude_deg":75.5647936,"latitude_deg":11.7803176,"altitude":17,"angle":249,"satellites":28,"speed":9,"hex_longitude":"2d0a45c0","hex_latitude":"070588a8","is_valid_coordinates":true} 
[2026-08-21 15:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550814208001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29270541424656384,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":740490325139183616,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787307869000,"timestamp_ms":1787307869000,"timestamp_seconds":1787307869,"priority":1,"record_length":96,"hex_timestamp":"000001a023d9c348"} 
[2026-08-21 15:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:55: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-08-21 15:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 15:55:13] 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-08-21 15:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550814208001,"66":14439,"177":206,"94":10240,"24":9,"16":29270541424656384,"45":740490325139183616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 15:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550814208001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:55:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 15:55:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29270541424656384,"km_value":29270541424656.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":740490325139183616,"description":"Unknown IO ID 45"} 
[2026-08-21 15:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550814208001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":740490325139183616}} 
[2026-08-21 15:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676455,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:55:13] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:55:13] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:55:26] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:26] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:26] local.INFO: IMEI packet received {"connection_id":160318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":160318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:55:27] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:27] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:27] local.INFO: IMEI packet received {"connection_id":160318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":160318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:55:29] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:29] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:29] local.INFO: IMEI packet received {"connection_id":160318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":160318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:55:30] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023d984c8012d195cc007208898002f00962a..."} 
[2026-08-21 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d984c8012d195cc007208898002f00962a..."} 
[2026-08-21 15:55:30] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d984c8012d195cc007208898002f00962a..."} 
[2026-08-21 15:55:30] local.INFO: Packet analysis {"connection_id":160318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:30] local.INFO: Extracted packet for processing {"connection_id":160318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":756636864,"raw_latitude":119572632,"longitude_deg":75.6636864,"latitude_deg":11.9572632,"altitude":47,"angle":150,"satellites":42,"speed":10,"hex_longitude":"2d195cc0","hex_latitude":"07208898","is_valid_coordinates":true} 
[2026-08-21 15:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550809088001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14219313867128832,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826842998207201280,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787307853000,"timestamp_ms":1787307853000,"timestamp_seconds":1787307853,"priority":1,"record_length":96,"hex_timestamp":"000001a023d984c8"} 
[2026-08-21 15:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 15:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550809088001,"66":14428,"103":206,"83":41984,"24":10,"16":14219313867128832,"45":1826842998207201280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550809088001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:55:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14219313867128832,"km_value":14219313867128.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826842998207201280,"description":"Unknown IO ID 45"} 
[2026-08-21 15:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550809088001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1826842998207201280}} 
[2026-08-21 15:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":160318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:55:30] local.INFO: GPS data processed {"connection_id":160318,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:55:30] local.INFO: Acknowledgment sent {"connection_id":160318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:55:31] local.INFO: TCP Data received {"connection_id":160318,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023d9abd8012d19610007207e58003000a329..."} 
[2026-08-21 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d9abd8012d19610007207e58003000a329..."} 
[2026-08-21 15:55:31] local.INFO: Processing buffer {"connection_id":160318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d9abd8012d19610007207e58003000a329..."} 
[2026-08-21 15:55:31] local.INFO: Packet analysis {"connection_id":160318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:31] local.INFO: Extracted packet for processing {"connection_id":160318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d9"} 
[2026-08-21 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":756637952,"raw_latitude":119570008,"longitude_deg":75.6637952,"latitude_deg":11.9570008,"altitude":48,"angle":163,"satellites":41,"speed":11,"hex_longitude":"2d196100","hex_latitude":"07207e58","is_valid_coordinates":true} 
[2026-08-21 15:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550810368001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14219451306082304,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827546685648705536,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787307863000,"timestamp_ms":1787307863000,"timestamp_seconds":1787307863,"priority":1,"record_length":96,"hex_timestamp":"000001a023d9abd8"} 
[2026-08-21 15:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 15:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 15:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 15:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 15:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 15:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550810368001,"66":14537,"103":206,"83":41984,"24":11,"16":14219451306082304,"45":1827546685648705536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 15:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 15:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 15:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550810368001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:55:31] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 15:55:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 15:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14219451306082304,"km_value":14219451306082.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827546685648705536,"description":"Unknown IO ID 45"} 
[2026-08-21 15:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550810368001,"power":14537,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1827546685648705536}} 
[2026-08-21 15:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":160318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:55:31] local.INFO: GPS data processed {"connection_id":160318,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:55:31] local.INFO: Acknowledgment sent {"connection_id":160318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:55:39] local.INFO: TCP Data received {"connection_id":160316,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023da2cc0012dde4500050df458000f00aa26..."} 
[2026-08-21 15:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023da2cc0012dde4500050df458000f00aa26..."} 
[2026-08-21 15:55:39] local.INFO: Processing buffer {"connection_id":160316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023da2cc0012dde4500050df458000f00aa26..."} 
[2026-08-21 15:55:39] local.INFO: Packet analysis {"connection_id":160316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023da"} 
[2026-08-21 15:55:39] local.INFO: Extracted packet for processing {"connection_id":160316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023da"} 
[2026-08-21 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":769541376,"raw_latitude":84800600,"longitude_deg":76.9541376,"latitude_deg":8.48006,"altitude":15,"angle":170,"satellites":38,"speed":3,"hex_longitude":"2dde4500","hex_latitude":"050df458","is_valid_coordinates":true} 
[2026-08-21 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 15:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550818304001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388236550745358336,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2430395664699158528,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787307896000,"timestamp_ms":1787307896000,"timestamp_seconds":1787307896,"priority":1,"record_length":96,"hex_timestamp":"000001a023da2cc0"} 
[2026-08-21 15:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 15:55:39] 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-08-21 15:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 15:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 15:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 15:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 15:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550818304001,"66":27995,"109":206,"80":33792,"24":3,"16":388236550745358336,"45":-2430395664699158528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,80,24,16,45]} 
[2026-08-21 15:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 15:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 15:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550818304001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:55:39] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 15:55:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 15:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388236550745358336,"km_value":388236550745358.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2430395664699158528,"description":"Unknown IO ID 45"} 
[2026-08-21 15:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550818304001,"power":27995,"unknown_109":206,"unknown_80":33792,"ignition":3,"odometer":null,"unknown_45":-2430395664699158528}} 
[2026-08-21 15:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":160316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:55:39] local.INFO: GPS data processed {"connection_id":160316,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:55:39] local.INFO: Acknowledgment sent {"connection_id":160316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:55:45] local.INFO: TCP Data received {"connection_id":160317,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023dac130012d09d700070572a00012012c1c..."} 
[2026-08-21 15:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023dac130012d09d700070572a00012012c1c..."} 
[2026-08-21 15:55:45] local.INFO: Processing buffer {"connection_id":160317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023dac130012d09d700070572a00012012c1c..."} 
[2026-08-21 15:55:45] local.INFO: Packet analysis {"connection_id":160317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023da"} 
[2026-08-21 15:55:45] local.INFO: Extracted packet for processing {"connection_id":160317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023da"} 
[2026-08-21 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":755619584,"raw_latitude":117797536,"longitude_deg":75.5619584,"latitude_deg":11.7797536,"altitude":18,"angle":300,"satellites":28,"speed":17,"hex_longitude":"2d09d700","hex_latitude":"070572a0","is_valid_coordinates":true} 
[2026-08-21 15: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-08-21 15:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550829568001,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29272044663209984,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":711990983745566720,"note":"Value kept but may cause issues"} 
[2026-08-21 15:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 15:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787307934000,"timestamp_ms":1787307934000,"timestamp_seconds":1787307934,"priority":1,"record_length":96,"hex_timestamp":"000001a023dac130"} 
[2026-08-21 15:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 15:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 15:55: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-08-21 15: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-08-21 15:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 15:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 15:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 15:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160317,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 15:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 15:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 15:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 15:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550829568001,"66":14026,"177":206,"94":10240,"24":17,"16":29272044663209984,"45":711990983745566720},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-08-21 15:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 15:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 15:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550829568001,"description":"Unknown IO ID 0"} 
[2026-08-21 15:55:45] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 15:55:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 15:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29272044663209984,"km_value":29272044663209.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 15:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":711990983745566720,"description":"Unknown IO ID 45"} 
[2026-08-21 15:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550829568001,"power":14026,"unknown_177":206,"unknown_94":10240,"ignition":17,"odometer":null,"unknown_45":711990983745566720}} 
[2026-08-21 15:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":160317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 15:55:45] local.INFO: GPS data processed {"connection_id":160317,"processed":1,"errors":0,"total":1} 
[2026-08-21 15:55:45] local.INFO: Acknowledgment sent {"connection_id":160317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 15:55:59] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:59] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:55:59] local.INFO: IMEI packet received {"connection_id":159427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 15:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":159427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:56:00] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:00] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:00] local.INFO: IMEI packet received {"connection_id":159427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":159427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:56:01] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:01] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:01] local.INFO: IMEI packet received {"connection_id":159427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":159427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:56:02] local.INFO: TCP Data received {"connection_id":159427,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159427,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:02] local.INFO: Processing buffer {"connection_id":159427,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 15:56:02] local.INFO: IMEI packet received {"connection_id":159427,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":159427,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:56:03] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:56:03] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 15:56:03] local.INFO: IMEI packet received {"connection_id":159140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 15:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":159140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:56:08] local.INFO: TCP Data received {"connection_id":159140,"ip":"42.106.6.35","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159140,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 15:56:08] local.INFO: Processing buffer {"connection_id":159140,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 15:56:08] local.INFO: IMEI packet received {"connection_id":159140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":159140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:56:08] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:08] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:08] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 15:56:09] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:09] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:09] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:56:09] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:09] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:09] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 15:56:13] local.INFO: TCP Data received {"connection_id":159141,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159141,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:13] local.INFO: Processing buffer {"connection_id":159141,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 15:56:13] local.INFO: IMEI packet received {"connection_id":159141,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 15:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":159141,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:01:06] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:06] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:06] local.INFO: IMEI packet received {"connection_id":159148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":159148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:01:08] local.INFO: TCP Data received {"connection_id":159433,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:01:08] local.INFO: Processing buffer {"connection_id":159433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:01:08] local.INFO: IMEI packet received {"connection_id":159433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":159433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:01:11] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:11] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:11] local.INFO: IMEI packet received {"connection_id":159148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":159148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:01:12] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023de2078012d19768007203c600032005b27..."} 
[2026-08-21 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023de2078012d19768007203c600032005b27..."} 
[2026-08-21 16:01:12] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023de2078012d19768007203c600032005b27..."} 
[2026-08-21 16:01:12] local.INFO: Packet analysis {"connection_id":159148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:01:12] local.INFO: Extracted packet for processing {"connection_id":159148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550882304001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01: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-08-21 16:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787308155000,"timestamp_ms":1787308155000,"timestamp_seconds":1787308155,"priority":1,"record_length":96,"hex_timestamp":"000001a023de2078"} 
[2026-08-21 16:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 16:01: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-08-21 16:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550882304001,"66":12613,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550882304001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:01:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:01:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550882304001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":159148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:01:12] local.INFO: GPS data processed {"connection_id":159148,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:01:12] local.INFO: Acknowledgment sent {"connection_id":159148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:01:13] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:01:13] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:01:13] local.INFO: IMEI packet received {"connection_id":161691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":161691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:01:14] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023df9778012d0b71c00704c660001c00571a..."} 
[2026-08-21 16:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023df9778012d0b71c00704c660001c00571a..."} 
[2026-08-21 16:01:14] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023df9778012d0b71c00704c660001c00571a..."} 
[2026-08-21 16:01:14] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:01:14] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:01:14] local.INFO: GPS Element Parsed {"raw_longitude":755724736,"raw_latitude":117753440,"longitude_deg":75.5724736,"latitude_deg":11.775344,"altitude":28,"angle":87,"satellites":26,"speed":30,"hex_longitude":"2d0b71c0","hex_latitude":"0704c660","is_valid_coordinates":true} 
[2026-08-21 16:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550911488001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29280518633684992,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822047699628337152,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787308251000,"timestamp_ms":1787308251000,"timestamp_seconds":1787308251,"priority":1,"record_length":96,"hex_timestamp":"000001a023df9778"} 
[2026-08-21 16:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 16:01: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-08-21 16:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550911488001,"66":14439,"96":206,"94":10240,"24":30,"16":29280518633684992,"45":822047699628337152},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 16:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550911488001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:01:14] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 16:01:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29280518633684992,"km_value":29280518633684.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":822047699628337152,"description":"Unknown IO ID 45"} 
[2026-08-21 16:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550911488001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":822047699628337152}} 
[2026-08-21 16:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:01:14] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:01:14] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:01:17] local.INFO: TCP Data received {"connection_id":159148,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023de7280012d19768007203c600032005b27..."} 
[2026-08-21 16:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023de7280012d19768007203c600032005b27..."} 
[2026-08-21 16:01:17] local.INFO: Processing buffer {"connection_id":159148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023de7280012d19768007203c600032005b27..."} 
[2026-08-21 16:01:17] local.INFO: Packet analysis {"connection_id":159148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:01:17] local.INFO: Extracted packet for processing {"connection_id":159148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550887680001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787308176000,"timestamp_ms":1787308176000,"timestamp_seconds":1787308176,"priority":1,"record_length":96,"hex_timestamp":"000001a023de7280"} 
[2026-08-21 16:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:01:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 16:01:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:01:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550887680001,"66":12580,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:01:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:01:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:01:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550887680001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:01:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:01:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:01:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:01:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:01:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550887680001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":159148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:01:17] local.INFO: GPS data processed {"connection_id":159148,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:01:17] local.INFO: Acknowledgment sent {"connection_id":159148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:01:19] local.INFO: TCP Data received {"connection_id":159433,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023dea548012ddd1640050dcdb00010010c26..."} 
[2026-08-21 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023dea548012ddd1640050dcdb00010010c26..."} 
[2026-08-21 16:01:19] local.INFO: Processing buffer {"connection_id":159433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023dea548012ddd1640050dcdb00010010c26..."} 
[2026-08-21 16:01:19] local.INFO: Packet analysis {"connection_id":159433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:01:19] local.INFO: Extracted packet for processing {"connection_id":159433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":769463872,"raw_latitude":84790704,"longitude_deg":76.9463872,"latitude_deg":8.4790704,"altitude":16,"angle":268,"satellites":38,"speed":28,"hex_longitude":"2ddd1640","hex_latitude":"050dcdb0","is_valid_coordinates":true} 
[2026-08-21 16:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550892288001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388241842145067008,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2505338377250932736,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787308189000,"timestamp_ms":1787308189000,"timestamp_seconds":1787308189,"priority":1,"record_length":96,"hex_timestamp":"000001a023dea548"} 
[2026-08-21 16:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550892288001,"66":27843,"214":206,"80":33792,"24":28,"16":388241842145067008,"45":-2505338377250932736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-08-21 16:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550892288001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388241842145067008,"km_value":388241842145067.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2505338377250932736,"description":"Unknown IO ID 45"} 
[2026-08-21 16:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550892288001,"power":27843,"unknown_214":206,"unknown_80":33792,"ignition":28,"odometer":null,"unknown_45":-2505338377250932736}} 
[2026-08-21 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":159433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:01:19] local.INFO: GPS data processed {"connection_id":159433,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:01:19] local.INFO: Acknowledgment sent {"connection_id":159433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:01:45] local.INFO: TCP Data received {"connection_id":161691,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023e02418012d0bd4000704c1c8001d005a1c..."} 
[2026-08-21 16:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e02418012d0bd4000704c1c8001d005a1c..."} 
[2026-08-21 16:01:45] local.INFO: Processing buffer {"connection_id":161691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e02418012d0bd4000704c1c8001d005a1c..."} 
[2026-08-21 16:01:45] local.INFO: Packet analysis {"connection_id":161691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:01:45] local.INFO: Extracted packet for processing {"connection_id":161691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":755749888,"raw_latitude":117752264,"longitude_deg":75.5749888,"latitude_deg":11.7752264,"altitude":29,"angle":90,"satellites":28,"speed":9,"hex_longitude":"2d0bd400","hex_latitude":"0704c1c8","is_valid_coordinates":true} 
[2026-08-21 16:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550920960001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29281811418841088,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851672940926822400,"note":"Value kept but may cause issues"} 
[2026-08-21 16:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787308287000,"timestamp_ms":1787308287000,"timestamp_seconds":1787308287,"priority":1,"record_length":96,"hex_timestamp":"000001a023e02418"} 
[2026-08-21 16:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-08-21 16:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550920960001,"66":14548,"96":206,"94":10240,"24":9,"16":29281811418841088,"45":851672940926822400},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 16:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550920960001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:01:45] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 16:01:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29281811418841088,"km_value":29281811418841.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":851672940926822400,"description":"Unknown IO ID 45"} 
[2026-08-21 16:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550920960001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":851672940926822400}} 
[2026-08-21 16:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":161691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676464,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:01:45] local.INFO: GPS data processed {"connection_id":161691,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:01:45] local.INFO: Acknowledgment sent {"connection_id":161691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:01:57] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:01:57] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:01:57] local.INFO: IMEI packet received {"connection_id":159434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":159434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:01:59] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:59] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:01:59] local.INFO: IMEI packet received {"connection_id":159435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":159435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:02:01] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:01] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:01] local.INFO: IMEI packet received {"connection_id":159434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:02:01] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023ded040012ddcf2c0050dcd48000e010b29..."} 
[2026-08-21 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ded040012ddcf2c0050dcd48000e010b29..."} 
[2026-08-21 16:02:01] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ded040012ddcf2c0050dcd48000e010b29..."} 
[2026-08-21 16:02:01] local.INFO: Packet analysis {"connection_id":159434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:02:01] local.INFO: Extracted packet for processing {"connection_id":159434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":769454784,"raw_latitude":84790600,"longitude_deg":76.9454784,"latitude_deg":8.47906,"altitude":14,"angle":267,"satellites":41,"speed":35,"hex_longitude":"2ddcf2c0","hex_latitude":"050dcd48","is_valid_coordinates":true} 
[2026-08-21 16:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550896384001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388242280231731200,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2515752951389245440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787308200000,"timestamp_ms":1787308200000,"timestamp_seconds":1787308200,"priority":1,"record_length":96,"hex_timestamp":"000001a023ded040"} 
[2026-08-21 16:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550896384001,"66":28017,"214":206,"80":33792,"24":35,"16":388242280231731200,"45":-2515752951389245440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,80,24,16,45]} 
[2026-08-21 16:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550896384001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:02:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-08-21 16:02:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388242280231731200,"km_value":388242280231731.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2515752951389245440,"description":"Unknown IO ID 45"} 
[2026-08-21 16:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550896384001,"power":28017,"unknown_214":206,"unknown_80":33792,"ignition":35,"odometer":null,"unknown_45":-2515752951389245440}} 
[2026-08-21 16:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":159434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:02:01] local.INFO: GPS data processed {"connection_id":159434,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:02:01] local.INFO: Acknowledgment sent {"connection_id":159434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:02:01] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:02:01] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:02:01] local.INFO: IMEI packet received {"connection_id":159435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:02:06] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:02:06] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:02:06] local.INFO: IMEI packet received {"connection_id":159435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":159435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:02:07] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023dec488012d19768007203c600032005b27..."} 
[2026-08-21 16:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023dec488012d19768007203c600032005b27..."} 
[2026-08-21 16:02:07] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023dec488012d19768007203c600032005b27..."} 
[2026-08-21 16:02:07] local.INFO: Packet analysis {"connection_id":159435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:02:07] local.INFO: Extracted packet for processing {"connection_id":159435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023de"} 
[2026-08-21 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550893056001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308197000,"timestamp_ms":1787308197000,"timestamp_seconds":1787308197,"priority":1,"record_length":96,"hex_timestamp":"000001a023dec488"} 
[2026-08-21 16:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-21 16:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550893056001,"66":12558,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550893056001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550893056001,"power":12558,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":159435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:02:07] local.INFO: GPS data processed {"connection_id":159435,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:02:07] local.INFO: Acknowledgment sent {"connection_id":159435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:02:09] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:09] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:09] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:02:14] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:14] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:14] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:02:14] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:14] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:14] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:02:19] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:19] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:02:19] local.INFO: IMEI packet received {"connection_id":159149,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":159149,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:02:20] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023e02800012d0bd4800704c1c0001d006a1c..."} 
[2026-08-21 16:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e02800012d0bd4800704c1c0001d006a1c..."} 
[2026-08-21 16:02:20] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e02800012d0bd4800704c1c0001d006a1c..."} 
[2026-08-21 16:02:20] local.INFO: Packet analysis {"connection_id":159149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:02:20] local.INFO: Extracted packet for processing {"connection_id":159149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":755750016,"raw_latitude":117752256,"longitude_deg":75.5750016,"latitude_deg":11.7752256,"altitude":29,"angle":106,"satellites":28,"speed":5,"hex_longitude":"2d0bd480","hex_latitude":"0704c1c0","is_valid_coordinates":true} 
[2026-08-21 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550921472001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29281820008775680,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852306259624445952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787308288000,"timestamp_ms":1787308288000,"timestamp_seconds":1787308288,"priority":1,"record_length":96,"hex_timestamp":"000001a023e02800"} 
[2026-08-21 16:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:02:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:02:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 16:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:02:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550921472001,"66":14548,"96":206,"94":10240,"24":5,"16":29281820008775680,"45":852306259624445952},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 16:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550921472001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:02:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 16:02:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29281820008775680,"km_value":29281820008775.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":852306259624445952,"description":"Unknown IO ID 45"} 
[2026-08-21 16:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550921472001,"power":14548,"unknown_96":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":852306259624445952}} 
[2026-08-21 16:02:20] local.INFO: DEBUG: GPS processor result {"connection_id":159149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:02:20] local.INFO: GPS data processed {"connection_id":159149,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:02:20] local.INFO: Acknowledgment sent {"connection_id":159149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:02:24] local.INFO: TCP Data received {"connection_id":159149,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023e056e0012d0beb800704bf08001c005a1b..."} 
[2026-08-21 16:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e056e0012d0beb800704bf08001c005a1b..."} 
[2026-08-21 16:02:24] local.INFO: Processing buffer {"connection_id":159149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e056e0012d0beb800704bf08001c005a1b..."} 
[2026-08-21 16:02:24] local.INFO: Packet analysis {"connection_id":159149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:02:24] local.INFO: Extracted packet for processing {"connection_id":159149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:02:24] local.INFO: GPS Element Parsed {"raw_longitude":755755904,"raw_latitude":117751560,"longitude_deg":75.5755904,"latitude_deg":11.775156,"altitude":28,"angle":90,"satellites":27,"speed":35,"hex_longitude":"2d0beb80","hex_latitude":"0704bf08","is_valid_coordinates":true} 
[2026-08-21 16:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550921728001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29282099181649920,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852446997112799232,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787308300000,"timestamp_ms":1787308300000,"timestamp_seconds":1787308300,"priority":1,"record_length":96,"hex_timestamp":"000001a023e056e0"} 
[2026-08-21 16:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:02: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-08-21 16: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 16:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159149,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550921728001,"66":14450,"96":206,"94":10240,"24":35,"16":29282099181649920,"45":852446997112799232},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-08-21 16:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550921728001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:02:24] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 16:02:24] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29282099181649920,"km_value":29282099181649.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":852446997112799232,"description":"Unknown IO ID 45"} 
[2026-08-21 16:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550921728001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":852446997112799232}} 
[2026-08-21 16:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":159149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676468,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:02:24] local.INFO: GPS data processed {"connection_id":159149,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:02:24] local.INFO: Acknowledgment sent {"connection_id":159149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:02:32] local.INFO: TCP Data received {"connection_id":159434,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e06a68012ddc1980050dc478000700fe26..."} 
[2026-08-21 16:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e06a68012ddc1980050dc478000700fe26..."} 
[2026-08-21 16:02:32] local.INFO: Processing buffer {"connection_id":159434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e06a68012ddc1980050dc478000700fe26..."} 
[2026-08-21 16:02:32] local.INFO: Packet analysis {"connection_id":159434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:02:32] local.INFO: Extracted packet for processing {"connection_id":159434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":769399168,"raw_latitude":84788344,"longitude_deg":76.9399168,"latitude_deg":8.4788344,"altitude":7,"angle":254,"satellites":38,"speed":12,"hex_longitude":"2ddc1980","hex_latitude":"050dc478","is_valid_coordinates":true} 
[2026-08-21 16:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550924800001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388244977471193088,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2585347639381368832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787308305000,"timestamp_ms":1787308305000,"timestamp_seconds":1787308305,"priority":1,"record_length":96,"hex_timestamp":"000001a023e06a68"} 
[2026-08-21 16:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550924800001,"66":28006,"89":206,"80":33792,"24":12,"16":388244977471193088,"45":-2585347639381368832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-08-21 16:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550924800001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388244977471193088,"km_value":388244977471193.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2585347639381368832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550924800001,"power":28006,"unknown_89":206,"unknown_80":33792,"ignition":12,"odometer":null,"unknown_45":-2585347639381368832}} 
[2026-08-21 16:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":159434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:02:32] local.INFO: GPS data processed {"connection_id":159434,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:02:32] local.INFO: Acknowledgment sent {"connection_id":159434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:02:38] local.INFO: TCP Data received {"connection_id":159435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023df1690012d19768007203c600032005b26..."} 
[2026-08-21 16:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023df1690012d19768007203c600032005b26..."} 
[2026-08-21 16:02:38] local.INFO: Processing buffer {"connection_id":159435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023df1690012d19768007203c600032005b26..."} 
[2026-08-21 16:02:38] local.INFO: Packet analysis {"connection_id":159435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:02:38] local.INFO: Extracted packet for processing {"connection_id":159435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550898432001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308218000,"timestamp_ms":1787308218000,"timestamp_seconds":1787308218,"priority":1,"record_length":96,"hex_timestamp":"000001a023df1690"} 
[2026-08-21 16:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249758898371968096,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3715917825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2147950652,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847672,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-21 16:02:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,133,160,114,45,128,60,50,39,10,66,32,206,1,240,101,227,35,4,113,205,42,118,96,37,239,49,103,2,7,120],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 16:02:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3602979924958248960,"timestamp_seconds":3602979924958249.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550898432001,"66":12548,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550898432001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550898432001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":159435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:02:39] local.INFO: GPS data processed {"connection_id":159435,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:02:39] local.INFO: Acknowledgment sent {"connection_id":159435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:02:57] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:57] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:57] local.INFO: IMEI packet received {"connection_id":159150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":159150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:02:58] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:58] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:02:58] local.INFO: IMEI packet received {"connection_id":159150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":159150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:03:01] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:01] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:01] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:03:02] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:02] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:02] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:03:02] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:03:02] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:03:02] local.INFO: IMEI packet received {"connection_id":159150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":159150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:03:03] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e07238012ddc1700050dc3f80007010928..."} 
[2026-08-21 16:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e07238012ddc1700050dc3f80007010928..."} 
[2026-08-21 16:03:03] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e07238012ddc1700050dc3f80007010928..."} 
[2026-08-21 16:03:03] local.INFO: Packet analysis {"connection_id":159150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:03:03] local.INFO: Extracted packet for processing {"connection_id":159150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":769398528,"raw_latitude":84788216,"longitude_deg":76.9398528,"latitude_deg":8.4788216,"altitude":7,"angle":265,"satellites":40,"speed":15,"hex_longitude":"2ddc1700","hex_latitude":"050dc3f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 16:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550926080001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388245011830931456,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2586895751753467904,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787308307000,"timestamp_ms":1787308307000,"timestamp_seconds":1787308307,"priority":1,"record_length":96,"hex_timestamp":"000001a023e07238"} 
[2026-08-21 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-08-21 16:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 16:03:03] 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-08-21 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-08-21 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-08-21 16:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550926080001,"66":28017,"89":206,"80":33792,"24":15,"16":388245011830931456,"45":-2586895751753467904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-08-21 16:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550926080001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:03:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 16:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388245011830931456,"km_value":388245011830931.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2586895751753467904,"description":"Unknown IO ID 45"} 
[2026-08-21 16:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550926080001,"power":28017,"unknown_89":206,"unknown_80":33792,"ignition":15,"odometer":null,"unknown_45":-2586895751753467904}} 
[2026-08-21 16:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":159150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:03:03] local.INFO: GPS data processed {"connection_id":159150,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:03:03] local.INFO: Acknowledgment sent {"connection_id":159150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:03:05] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:05] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:05] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:03:06] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:06] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:06] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:03:06] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:06] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:03:06] local.INFO: IMEI packet received {"connection_id":160320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":160320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:03:07] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023df6898012d19768007203c600032005b2a..."} 
[2026-08-21 16:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023df6898012d19768007203c600032005b2a..."} 
[2026-08-21 16:03:07] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023df6898012d19768007203c600032005b2a..."} 
[2026-08-21 16:03:07] local.INFO: Packet analysis {"connection_id":160320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:03:07] local.INFO: Extracted packet for processing {"connection_id":160320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:03:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550903808001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308239000,"timestamp_ms":1787308239000,"timestamp_seconds":1787308239,"priority":1,"record_length":96,"hex_timestamp":"000001a023df6898"} 
[2026-08-21 16:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3721293825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":118,"raw_value":2147950652,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748920,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,133,160,196,45,128,60,50,39,10,66,114,32,1,240,69,227,35,4,113,205,124,118,96,239,49,103,2,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 16:03:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3602979920663281664,"timestamp_seconds":3602979920663281.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550903808001,"66":12504,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550903808001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550903808001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":160320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:03:07] local.INFO: GPS data processed {"connection_id":160320,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:03:07] local.INFO: Acknowledgment sent {"connection_id":160320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:03:12] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:12] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:12] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:03:13] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:13] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:03:13] local.INFO: IMEI packet received {"connection_id":161692,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":161692,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:03:14] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023e17fc0012d0c684007050b100029015b1c..."} 
[2026-08-21 16:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e17fc0012d0c684007050b100029015b1c..."} 
[2026-08-21 16:03:14] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e17fc0012d0c684007050b100029015b1c..."} 
[2026-08-21 16:03:14] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:03:14] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:03:14] local.INFO: GPS Element Parsed {"raw_longitude":755787840,"raw_latitude":117771024,"longitude_deg":75.578784,"latitude_deg":11.7771024,"altitude":41,"angle":347,"satellites":28,"speed":35,"hex_longitude":"2d0c6840","hex_latitude":"07050b10","is_valid_coordinates":true} 
[2026-08-21 16:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550943488001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29284951039934464,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087344328704,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787308376000,"timestamp_ms":1787308376000,"timestamp_seconds":1787308376,"priority":1,"record_length":96,"hex_timestamp":"000001a023e17fc0"} 
[2026-08-21 16:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:03:14] 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-08-21 16: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 16:03: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-08-21 16:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550943488001,"66":14352,"95":206,"94":10240,"24":35,"16":29284951039934464,"45":895020087344328704},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 16:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550943488001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:03:14] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 16:03:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29284951039934464,"km_value":29284951039934.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087344328704,"description":"Unknown IO ID 45"} 
[2026-08-21 16:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550943488001,"power":14352,"unknown_95":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":895020087344328704}} 
[2026-08-21 16:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676473,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:03:14] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:03:14] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:03:19] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023e18790012d0c664007050fe80028014f1c..."} 
[2026-08-21 16:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e18790012d0c664007050fe80028014f1c..."} 
[2026-08-21 16:03:19] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e18790012d0c664007050fe80028014f1c..."} 
[2026-08-21 16:03:19] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:03:19] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:03:19] local.INFO: GPS Element Parsed {"raw_longitude":755787328,"raw_latitude":117772264,"longitude_deg":75.5787328,"latitude_deg":11.7772264,"altitude":40,"angle":335,"satellites":28,"speed":20,"hex_longitude":"2d0c6640","hex_latitude":"07050fe8","is_valid_coordinates":true} 
[2026-08-21 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550944256001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29285015464443904,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894034924926603264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787308378000,"timestamp_ms":1787308378000,"timestamp_seconds":1787308378,"priority":1,"record_length":96,"hex_timestamp":"000001a023e18790"} 
[2026-08-21 16:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:03:19] 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-08-21 16:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733147904,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504046461386752,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":9,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3777357825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639457998418783,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6989850508769165568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":861864142,"corrected_to":0} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3221685461,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":56,"raw_value":4278242611,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84737554045666514,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.WARNING: Large IO value detected {"io_id":12,"raw_value":5692557646205812766,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,95,94,24,241,157,16,10,160,116,45,192,255,41,27,66,76,1,240,179,227,9,35,4,113,205,34,141,136,239,56,2,104,7,29,48,206,64,12],"length":628,"final_offset":758,"validated_count":39,"validation_warnings":[{"io_id":205,"original":861864142,"validated":0}]} 
[2026-08-21 16:03:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954743006351261696,"timestamp_seconds":2954743006351261.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550944256001,"66":14515,"95":206,"94":10240,"24":20,"16":29285015464443904,"45":894034924926603264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 16:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550944256001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:03:19] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 16:03:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29285015464443904,"km_value":29285015464443.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":894034924926603264,"description":"Unknown IO ID 45"} 
[2026-08-21 16:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550944256001,"power":14515,"unknown_95":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":894034924926603264}} 
[2026-08-21 16:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:03:19] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:03:19] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:03:34] local.INFO: TCP Data received {"connection_id":159150,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e07a08012ddc1380050dc4100007011529..."} 
[2026-08-21 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e07a08012ddc1380050dc4100007011529..."} 
[2026-08-21 16:03:34] local.INFO: Processing buffer {"connection_id":159150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e07a08012ddc1380050dc4100007011529..."} 
[2026-08-21 16:03:34] local.INFO: Packet analysis {"connection_id":159150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:03:34] local.INFO: Extracted packet for processing {"connection_id":159150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":769397632,"raw_latitude":84788240,"longitude_deg":76.9397632,"latitude_deg":8.478824,"altitude":7,"angle":277,"satellites":41,"speed":19,"hex_longitude":"2ddc1380","hex_latitude":"050dc410","is_valid_coordinates":true} 
[2026-08-21 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550926592001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388245050485637120,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2587599439195277312,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787308309000,"timestamp_ms":1787308309000,"timestamp_seconds":1787308309,"priority":1,"record_length":96,"hex_timestamp":"000001a023e07a08"} 
[2026-08-21 16:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 16:03:34] 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-08-21 16:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550926592001,"66":27995,"89":206,"80":33792,"24":19,"16":388245050485637120,"45":-2587599439195277312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-08-21 16:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550926592001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:03:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 16:03:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388245050485637120,"km_value":388245050485637.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2587599439195277312,"description":"Unknown IO ID 45"} 
[2026-08-21 16:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550926592001,"power":27995,"unknown_89":206,"unknown_80":33792,"ignition":19,"odometer":null,"unknown_45":-2587599439195277312}} 
[2026-08-21 16:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":159150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:03:34] local.INFO: GPS data processed {"connection_id":159150,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:03:34] local.INFO: Acknowledgment sent {"connection_id":159150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:03:39] local.INFO: TCP Data received {"connection_id":160320,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023dfbaa0012d19768007203c600032005b29..."} 
[2026-08-21 16:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023dfbaa0012d19768007203c600032005b29..."} 
[2026-08-21 16:03:39] local.INFO: Processing buffer {"connection_id":160320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023dfbaa0012d19768007203c600032005b29..."} 
[2026-08-21 16:03:39] local.INFO: Packet analysis {"connection_id":160320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:03:39] local.INFO: Extracted packet for processing {"connection_id":160320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023df"} 
[2026-08-21 16:03:39] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550909184001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787308260000,"timestamp_ms":1787308260000,"timestamp_seconds":1787308260,"priority":1,"record_length":96,"hex_timestamp":"000001a023dfbaa0"} 
[2026-08-21 16:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550909184001,"66":12504,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550909184001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:03:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:03:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550909184001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":160320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:03:39] local.INFO: GPS data processed {"connection_id":160320,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:03:39] local.INFO: Acknowledgment sent {"connection_id":160320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:03:51] local.INFO: TCP Data received {"connection_id":161692,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a023e19f00012d0c6640070511e80027001e1c..."} 
[2026-08-21 16:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e19f00012d0c6640070511e80027001e1c..."} 
[2026-08-21 16:03:51] local.INFO: Processing buffer {"connection_id":161692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e19f00012d0c6640070511e80027001e1c..."} 
[2026-08-21 16:03:51] local.INFO: Packet analysis {"connection_id":161692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:03:51] local.INFO: Extracted packet for processing {"connection_id":161692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:03:51] local.INFO: GPS Element Parsed {"raw_longitude":755787328,"raw_latitude":117772776,"longitude_deg":75.5787328,"latitude_deg":11.7772776,"altitude":39,"angle":30,"satellites":28,"speed":5,"hex_longitude":"2d0c6640","hex_latitude":"070511e8","is_valid_coordinates":true} 
[2026-08-21 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550944768001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29285045529214976,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893471974973499392,"note":"Value kept but may cause issues"} 
[2026-08-21 16:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787308384000,"timestamp_ms":1787308384000,"timestamp_seconds":1787308384,"priority":1,"record_length":96,"hex_timestamp":"000001a023e19f00"} 
[2026-08-21 16:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:03:51] 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-08-21 16:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 16:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":161692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":161692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":161692,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550944768001,"66":14352,"95":206,"94":10240,"24":5,"16":29285045529214976,"45":893471974973499392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 16:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550944768001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:03:51] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 16:03:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29285045529214976,"km_value":29285045529214.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":893471974973499392,"description":"Unknown IO ID 45"} 
[2026-08-21 16:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550944768001,"power":14352,"unknown_95":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":893471974973499392}} 
[2026-08-21 16:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":161692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676477,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:03:51] local.INFO: GPS data processed {"connection_id":161692,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:03:51] local.INFO: Acknowledgment sent {"connection_id":161692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:03:57] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:03:57] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:03:57] local.INFO: IMEI packet received {"connection_id":160321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":160321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:04:02] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:04:02] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:04:02] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:04:02] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:02] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:02] local.INFO: IMEI packet received {"connection_id":160321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":160321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:04:03] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e0a8e8012ddbf500050dc5f00009010a29..."} 
[2026-08-21 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e0a8e8012ddbf500050dc5f00009010a29..."} 
[2026-08-21 16:04:03] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e0a8e8012ddbf500050dc5f00009010a29..."} 
[2026-08-21 16:04:03] local.INFO: Packet analysis {"connection_id":160321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:03] local.INFO: Extracted packet for processing {"connection_id":160321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":769389824,"raw_latitude":84788720,"longitude_deg":76.9389824,"latitude_deg":8.478872,"altitude":9,"angle":266,"satellites":41,"speed":25,"hex_longitude":"2ddbf500","hex_latitude":"050dc5f0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550927104001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388245432737726464,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2588584601613758464,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787308321000,"timestamp_ms":1787308321000,"timestamp_seconds":1787308321,"priority":1,"record_length":96,"hex_timestamp":"000001a023e0a8e8"} 
[2026-08-21 16:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 16:04:03] 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-08-21 16: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-08-21 16:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550927104001,"66":27876,"89":206,"80":33792,"24":25,"16":388245432737726464,"45":-2588584601613758464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-08-21 16:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550927104001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:04:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 16:04:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388245432737726464,"km_value":388245432737726.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2588584601613758464,"description":"Unknown IO ID 45"} 
[2026-08-21 16:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550927104001,"power":27876,"unknown_89":206,"unknown_80":33792,"ignition":25,"odometer":null,"unknown_45":-2588584601613758464}} 
[2026-08-21 16:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":160321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:04:03] local.INFO: GPS data processed {"connection_id":160321,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:04:03] local.INFO: Acknowledgment sent {"connection_id":160321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:04:05] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:04:05] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:04:05] local.INFO: IMEI packet received {"connection_id":160322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":160322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:04:06] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e00ca8012d19768007203c600032005b29..."} 
[2026-08-21 16:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e00ca8012d19768007203c600032005b29..."} 
[2026-08-21 16:04:06] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e00ca8012d19768007203c600032005b29..."} 
[2026-08-21 16:04:06] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:06] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550914560001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787308281000,"timestamp_ms":1787308281000,"timestamp_seconds":1787308281,"priority":1,"record_length":96,"hex_timestamp":"000001a023e00ca8"} 
[2026-08-21 16:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550914560001,"66":12439,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550914560001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:04:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550914560001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:04:06] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:04:06] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:04:08] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:04:08] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:04:08] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:04:35] local.INFO: TCP Data received {"connection_id":160321,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e0f320012ddbd200050dc1680006010628..."} 
[2026-08-21 16:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e0f320012ddbd200050dc1680006010628..."} 
[2026-08-21 16:04:35] local.INFO: Processing buffer {"connection_id":160321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e0f320012ddbd200050dc1680006010628..."} 
[2026-08-21 16:04:35] local.INFO: Packet analysis {"connection_id":160321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:35] local.INFO: Extracted packet for processing {"connection_id":160321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":769380864,"raw_latitude":84787560,"longitude_deg":76.9380864,"latitude_deg":8.478756,"altitude":6,"angle":262,"satellites":40,"speed":15,"hex_longitude":"2ddbd200","hex_latitude":"050dc168","is_valid_coordinates":true} 
[2026-08-21 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550930176001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388245862234456064,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2597169588403310592,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787308340000,"timestamp_ms":1787308340000,"timestamp_seconds":1787308340,"priority":1,"record_length":96,"hex_timestamp":"000001a023e0f320"} 
[2026-08-21 16:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550930176001,"66":27876,"89":206,"80":33792,"24":15,"16":388245862234456064,"45":-2597169588403310592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-08-21 16:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550930176001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:04:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 16:04:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388245862234456064,"km_value":388245862234456.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2597169588403310592,"description":"Unknown IO ID 45"} 
[2026-08-21 16:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550930176001,"power":27876,"unknown_89":206,"unknown_80":33792,"ignition":15,"odometer":null,"unknown_45":-2597169588403310592}} 
[2026-08-21 16:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":160321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:04:35] local.INFO: GPS data processed {"connection_id":160321,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:04:35] local.INFO: Acknowledgment sent {"connection_id":160321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:04:37] local.INFO: TCP Data received {"connection_id":160322,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e05eb0012d19768007203c600032005b2b..."} 
[2026-08-21 16:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e05eb0012d19768007203c600032005b2b..."} 
[2026-08-21 16:04:37] local.INFO: Processing buffer {"connection_id":160322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e05eb0012d19768007203c600032005b2b..."} 
[2026-08-21 16:04:37] local.INFO: Packet analysis {"connection_id":160322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:37] local.INFO: Extracted packet for processing {"connection_id":160322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550919936001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787308302000,"timestamp_ms":1787308302000,"timestamp_seconds":1787308302,"priority":1,"record_length":96,"hex_timestamp":"000001a023e05eb0"} 
[2026-08-21 16:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-21 16:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550919936001,"66":12472,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550919936001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550919936001,"power":12472,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":160322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:04:37] local.INFO: GPS data processed {"connection_id":160322,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:04:37] local.INFO: Acknowledgment sent {"connection_id":160322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:04:56] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:57] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:57] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:04:57] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:57] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:04:57] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:05:01] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:05:01] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:05:01] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:05:02] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:05:02] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:05:02] local.INFO: IMEI packet received {"connection_id":161694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":161694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:05:03] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e14528012ddbca80050dc1100008011029..."} 
[2026-08-21 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e14528012ddbca80050dc1100008011029..."} 
[2026-08-21 16:05:03] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e14528012ddbca80050dc1100008011029..."} 
[2026-08-21 16:05:03] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:05:03] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":769378944,"raw_latitude":84787472,"longitude_deg":76.9378944,"latitude_deg":8.4787472,"altitude":8,"angle":272,"satellites":41,"speed":0,"hex_longitude":"2ddbca80","hex_latitude":"050dc110","is_valid_coordinates":true} 
[2026-08-21 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550935040001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388245956723736576,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2607021212588480512,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787308361000,"timestamp_ms":1787308361000,"timestamp_seconds":1787308361,"priority":1,"record_length":96,"hex_timestamp":"000001a023e14528"} 
[2026-08-21 16:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:05:03] 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-08-21 16:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550935040001,"66":27974,"89":206,"80":33792,"24":0,"16":388245956723736576,"45":-2607021212588480512},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,80,24,16,45]} 
[2026-08-21 16:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550935040001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:05:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 16:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":33792,"description":"Unknown IO ID 80"} 
[2026-08-21 16:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388245956723736576,"km_value":388245956723736.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2607021212588480512,"description":"Unknown IO ID 45"} 
[2026-08-21 16:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550935040001,"power":27974,"unknown_89":206,"unknown_80":33792,"ignition":0,"odometer":null,"unknown_45":-2607021212588480512}} 
[2026-08-21 16:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:05:03] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:05:03] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:05:06] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:05:06] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:05:06] local.INFO: IMEI packet received {"connection_id":160323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":160323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:05:07] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e0b0b8012d19768007203c600032005b26..."} 
[2026-08-21 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e0b0b8012d19768007203c600032005b26..."} 
[2026-08-21 16:05:07] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e0b0b8012d19768007203c600032005b26..."} 
[2026-08-21 16:05:07] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:05:07] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e0"} 
[2026-08-21 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550925312001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308323000,"timestamp_ms":1787308323000,"timestamp_seconds":1787308323,"priority":1,"record_length":96,"hex_timestamp":"000001a023e0b0b8"} 
[2026-08-21 16:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 16:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550925312001,"66":12428,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550925312001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550925312001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:05:07] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:05:07] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:05:35] local.INFO: TCP Data received {"connection_id":161694,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e32d70012ddb34c0050deab80009012626..."} 
[2026-08-21 16:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e32d70012ddb34c0050deab80009012626..."} 
[2026-08-21 16:05:35] local.INFO: Processing buffer {"connection_id":161694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e32d70012ddb34c0050deab80009012626..."} 
[2026-08-21 16:05:35] local.INFO: Packet analysis {"connection_id":161694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:05:35] local.INFO: Extracted packet for processing {"connection_id":161694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":769340608,"raw_latitude":84798136,"longitude_deg":76.9340608,"latitude_deg":8.4798136,"altitude":9,"angle":294,"satellites":38,"speed":13,"hex_longitude":"2ddb34c0","hex_latitude":"050deab8","is_valid_coordinates":true} 
[2026-08-21 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550971648001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388247975358365696,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2650438727743420416,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787308486000,"timestamp_ms":1787308486000,"timestamp_seconds":1787308486,"priority":1,"record_length":96,"hex_timestamp":"000001a023e32d70"} 
[2026-08-21 16:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 16:05:35] 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-08-21 16:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550971648001,"66":27865,"179":206,"80":34304,"24":13,"16":388247975358365696,"45":-2650438727743420416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 16:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550971648001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:05:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 16:05:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388247975358365696,"km_value":388247975358365.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2650438727743420416,"description":"Unknown IO ID 45"} 
[2026-08-21 16:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550971648001,"power":27865,"unknown_179":206,"unknown_80":34304,"ignition":13,"odometer":null,"unknown_45":-2650438727743420416}} 
[2026-08-21 16:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":161694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:05:35] local.INFO: GPS data processed {"connection_id":161694,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:05:35] local.INFO: Acknowledgment sent {"connection_id":161694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:05:38] local.INFO: TCP Data received {"connection_id":160323,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e102c0012d19768007203c600032005b28..."} 
[2026-08-21 16:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e102c0012d19768007203c600032005b28..."} 
[2026-08-21 16:05:38] local.INFO: Processing buffer {"connection_id":160323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e102c0012d19768007203c600032005b28..."} 
[2026-08-21 16:05:38] local.INFO: Packet analysis {"connection_id":160323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:05:38] local.INFO: Extracted packet for processing {"connection_id":160323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550930688001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308344000,"timestamp_ms":1787308344000,"timestamp_seconds":1787308344,"priority":1,"record_length":96,"hex_timestamp":"000001a023e102c0"} 
[2026-08-21 16:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-21 16:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550930688001,"66":12385,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550930688001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:05:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550930688001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":160323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:05:38] local.INFO: GPS data processed {"connection_id":160323,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:05:38] local.INFO: Acknowledgment sent {"connection_id":160323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:05:53] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:05:53] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:05:53] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:05:54] local.INFO: TCP Data received {"connection_id":161693,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161693,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:05:54] local.INFO: Processing buffer {"connection_id":161693,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:05:54] local.INFO: IMEI packet received {"connection_id":161693,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":161693,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:05:57] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:05:57] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:05:57] local.INFO: IMEI packet received {"connection_id":160324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":160324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:06:02] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:06:02] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:06:02] local.INFO: IMEI packet received {"connection_id":160324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":160324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:06:04] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e33540012ddb3200050debf00008013228..."} 
[2026-08-21 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e33540012ddb3200050debf00008013228..."} 
[2026-08-21 16:06:04] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e33540012ddb3200050debf00008013228..."} 
[2026-08-21 16:06:04] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:06:04] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:06:04] local.INFO: GPS Element Parsed {"raw_longitude":769339904,"raw_latitude":84798448,"longitude_deg":76.9339904,"latitude_deg":8.4798448,"altitude":8,"angle":306,"satellites":40,"speed":11,"hex_longitude":"2ddb3200","hex_latitude":"050debf0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550972416001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388248009718104064,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2651283152673523712,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787308488000,"timestamp_ms":1787308488000,"timestamp_seconds":1787308488,"priority":1,"record_length":96,"hex_timestamp":"000001a023e33540"} 
[2026-08-21 16:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:06: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-08-21 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:06:04] 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-08-21 16: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-08-21 16:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550972416001,"66":27887,"179":206,"80":34304,"24":11,"16":388248009718104064,"45":-2651283152673523712},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 16:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550972416001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:06:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 16:06:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388248009718104064,"km_value":388248009718104.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2651283152673523712,"description":"Unknown IO ID 45"} 
[2026-08-21 16:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550972416001,"power":27887,"unknown_179":206,"unknown_80":34304,"ignition":11,"odometer":null,"unknown_45":-2651283152673523712}} 
[2026-08-21 16:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:06:04] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:06:04] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:06:06] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:06:06] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:06:06] local.INFO: IMEI packet received {"connection_id":159151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":159151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:06:11] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:06:11] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:06:11] local.INFO: IMEI packet received {"connection_id":159151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":159151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:06:12] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e154c8012d19768007203c600032005b2a..."} 
[2026-08-21 16:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e154c8012d19768007203c600032005b2a..."} 
[2026-08-21 16:06:12] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e154c8012d19768007203c600032005b2a..."} 
[2026-08-21 16:06:12] local.INFO: Packet analysis {"connection_id":159151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:06:12] local.INFO: Extracted packet for processing {"connection_id":159151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550936064001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06: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-08-21 16:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787308365000,"timestamp_ms":1787308365000,"timestamp_seconds":1787308365,"priority":1,"record_length":96,"hex_timestamp":"000001a023e154c8"} 
[2026-08-21 16:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8704,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550936064001,"66":12461,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550936064001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:06:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550936064001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":159151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:06:12] local.INFO: GPS data processed {"connection_id":159151,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:06:12] local.INFO: Acknowledgment sent {"connection_id":159151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:06:13] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e1a6d0012d19768007203c600032005b2c..."} 
[2026-08-21 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e1a6d0012d19768007203c600032005b2c..."} 
[2026-08-21 16:06:13] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e1a6d0012d19768007203c600032005b2c..."} 
[2026-08-21 16:06:13] local.INFO: Packet analysis {"connection_id":159151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:06:13] local.INFO: Extracted packet for processing {"connection_id":159151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550941440001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787308386000,"timestamp_ms":1787308386000,"timestamp_seconds":1787308386,"priority":1,"record_length":96,"hex_timestamp":"000001a023e1a6d0"} 
[2026-08-21 16:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 16:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550941440001,"66":12341,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550941440001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:06:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:06:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550941440001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":159151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:06:13] local.INFO: GPS data processed {"connection_id":159151,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:06:13] local.INFO: Acknowledgment sent {"connection_id":159151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:06:31] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:06:31] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:06:31] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:06:36] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:06:36] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:06:36] local.INFO: IMEI packet received {"connection_id":160325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":160325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:06:36] local.INFO: TCP Data received {"connection_id":160324,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e340f8012ddb3040050ded500008014127..."} 
[2026-08-21 16:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e340f8012ddb3040050ded500008014127..."} 
[2026-08-21 16:06:36] local.INFO: Processing buffer {"connection_id":160324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e340f8012ddb3040050ded500008014127..."} 
[2026-08-21 16:06:36] local.INFO: Packet analysis {"connection_id":160324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:06:36] local.INFO: Extracted packet for processing {"connection_id":160324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":769339456,"raw_latitude":84798800,"longitude_deg":76.9339456,"latitude_deg":8.47988,"altitude":8,"angle":321,"satellites":39,"speed":6,"hex_longitude":"2ddb3040","hex_latitude":"050ded50","is_valid_coordinates":true} 
[2026-08-21 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550972928001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388248039782875136,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2652057208859398144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787308491000,"timestamp_ms":1787308491000,"timestamp_seconds":1787308491,"priority":1,"record_length":96,"hex_timestamp":"000001a023e340f8"} 
[2026-08-21 16:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 16:06:36] 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-08-21 16:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550972928001,"66":27843,"179":206,"80":34304,"24":6,"16":388248039782875136,"45":-2652057208859398144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 16:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550972928001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388248039782875136,"km_value":388248039782875.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2652057208859398144,"description":"Unknown IO ID 45"} 
[2026-08-21 16:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550972928001,"power":27843,"unknown_179":206,"unknown_80":34304,"ignition":6,"odometer":null,"unknown_45":-2652057208859398144}} 
[2026-08-21 16:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":160324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:06:36] local.INFO: GPS data processed {"connection_id":160324,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:06:36] local.INFO: Acknowledgment sent {"connection_id":160324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:06:37] local.INFO: TCP Data received {"connection_id":160325,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023cf8a18012d7a1f0005e469d8001200412b..."} 
[2026-08-21 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cf8a18012d7a1f0005e469d8001200412b..."} 
[2026-08-21 16:06:37] local.INFO: Processing buffer {"connection_id":160325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cf8a18012d7a1f0005e469d8001200412b..."} 
[2026-08-21 16:06:37] local.INFO: Packet analysis {"connection_id":160325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 16:06:37] local.INFO: Extracted packet for processing {"connection_id":160325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":18,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550642944001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787307199000,"timestamp_ms":1787307199000,"timestamp_seconds":1787307199,"priority":1,"record_length":96,"hex_timestamp":"000001a023cf8a18"} 
[2026-08-21 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":22,"n8_eight_byte":13,"data_length":795,"current_offset":136} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788847,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3322957825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845232368,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6282521583261057026,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":176,"raw_value":-8946682134748200960,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-4610027499760381440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2882303761517120000,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.WARNING: Large IO value detected {"io_id":255,"raw_value":57822655093298992,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:37] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,114,85,24,241,157,16,131,160,98,45,128,105,18,40,10,66,102,87,86,1,240,220,227,35,228,4,113,206,176,31,65,255],"length":431,"final_offset":561,"validated_count":33,"validation_warnings":[]} 
[2026-08-21 16:06:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297108345622102047,"timestamp_seconds":1297108345622102.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550642944001,"66":5645,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550642944001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:06:37] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550642944001,"power":5645,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":160325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:06:37] local.INFO: GPS data processed {"connection_id":160325,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:06:37] local.INFO: Acknowledgment sent {"connection_id":160325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:06:44] local.INFO: TCP Data received {"connection_id":159151,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e1f8d8012d19768007203c600032005b2c..."} 
[2026-08-21 16:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e1f8d8012d19768007203c600032005b2c..."} 
[2026-08-21 16:06:44] local.INFO: Processing buffer {"connection_id":159151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e1f8d8012d19768007203c600032005b2c..."} 
[2026-08-21 16:06:44] local.INFO: Packet analysis {"connection_id":159151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:06:44] local.INFO: Extracted packet for processing {"connection_id":159151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550946816001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787308407000,"timestamp_ms":1787308407000,"timestamp_seconds":1787308407,"priority":1,"record_length":96,"hex_timestamp":"000001a023e1f8d8"} 
[2026-08-21 16:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 16:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550946816001,"66":12428,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550946816001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:06:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550946816001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":159151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:06:44] local.INFO: GPS data processed {"connection_id":159151,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:06:44] local.INFO: Acknowledgment sent {"connection_id":159151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:06:57] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:06:57] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:06:57] local.INFO: IMEI packet received {"connection_id":159436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":159436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:07:01] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:01] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:01] local.INFO: IMEI packet received {"connection_id":159437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":159437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:07:01] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:07:01] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:07:01] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:07:02] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:07:02] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:07:02] local.INFO: IMEI packet received {"connection_id":159436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":159436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:07:03] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e39300012ddb1a40050e06180009013e25..."} 
[2026-08-21 16:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e39300012ddb1a40050e06180009013e25..."} 
[2026-08-21 16:07:03] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e39300012ddb1a40050e06180009013e25..."} 
[2026-08-21 16:07:03] local.INFO: Packet analysis {"connection_id":159436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:07:03] local.INFO: Extracted packet for processing {"connection_id":159436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":769333824,"raw_latitude":84805144,"longitude_deg":76.9333824,"latitude_deg":8.4805144,"altitude":9,"angle":318,"satellites":37,"speed":25,"hex_longitude":"2ddb1a40","hex_latitude":"050e0618","is_valid_coordinates":true} 
[2026-08-21 16:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550973696001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388248447804768256,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2652549790068551680,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787308512000,"timestamp_ms":1787308512000,"timestamp_seconds":1787308512,"priority":1,"record_length":96,"hex_timestamp":"000001a023e39300"} 
[2026-08-21 16:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550973696001,"66":27974,"179":206,"80":34304,"24":25,"16":388248447804768256,"45":-2652549790068551680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,80,24,16,45]} 
[2026-08-21 16:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550973696001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:07:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 16:07:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388248447804768256,"km_value":388248447804768.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2652549790068551680,"description":"Unknown IO ID 45"} 
[2026-08-21 16:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550973696001,"power":27974,"unknown_179":206,"unknown_80":34304,"ignition":25,"odometer":null,"unknown_45":-2652549790068551680}} 
[2026-08-21 16:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":159436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:07:03] local.INFO: GPS data processed {"connection_id":159436,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:07:03] local.INFO: Acknowledgment sent {"connection_id":159436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:07:06] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:06] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:06] local.INFO: IMEI packet received {"connection_id":159437,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":159437,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:07:06] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:07:06] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:07:06] local.INFO: IMEI packet received {"connection_id":160326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":160326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:07:07] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e24ae0012d19768007203c600032005b2b..."} 
[2026-08-21 16:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e24ae0012d19768007203c600032005b2b..."} 
[2026-08-21 16:07:07] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e24ae0012d19768007203c600032005b2b..."} 
[2026-08-21 16:07:07] local.INFO: Packet analysis {"connection_id":160326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:07:07] local.INFO: Extracted packet for processing {"connection_id":160326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550952192001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308428000,"timestamp_ms":1787308428000,"timestamp_seconds":1787308428,"priority":1,"record_length":96,"hex_timestamp":"000001a023e24ae0"} 
[2026-08-21 16:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-21 16:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550952192001,"66":12428,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550952192001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550952192001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":160326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:07:07] local.INFO: GPS data processed {"connection_id":160326,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:07:07] local.INFO: Acknowledgment sent {"connection_id":160326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:07:08] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023cf9da0012d7a1f0005e469d8001200412b..."} 
[2026-08-21 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023cf9da0012d7a1f0005e469d8001200412b..."} 
[2026-08-21 16:07:08] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023cf9da0012d7a1f0005e469d8001200412b..."} 
[2026-08-21 16:07:08] local.INFO: Packet analysis {"connection_id":159437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 16:07:08] local.INFO: Extracted packet for processing {"connection_id":159437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023cf"} 
[2026-08-21 16:07:08] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":18,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550642944001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787307204000,"timestamp_ms":1787307204000,"timestamp_seconds":1787307204,"priority":1,"record_length":96,"hex_timestamp":"000001a023cf9da0"} 
[2026-08-21 16:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16: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":22,"n8_eight_byte":13,"data_length":795,"current_offset":136} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":131,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3327565825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620845625584,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6282521583261057026,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":176,"raw_value":-8944711809911226368,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-4610027499760381440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2882303761517120000,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.WARNING: Large IO value detected {"io_id":150,"raw_value":57822655093298992,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:08] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,114,85,24,241,157,16,131,160,138,45,105,18,43,10,66,98,128,40,102,87,240,198,227,35,228,4,113,206,176,1,31,65,150],"length":431,"final_offset":561,"validated_count":34,"validation_warnings":[]} 
[2026-08-21 16:07:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297108345622102082,"timestamp_seconds":1297108345622102.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550642944001,"66":3786,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550642944001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:07:08] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550642944001,"power":3786,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":159437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:07:08] local.INFO: GPS data processed {"connection_id":159437,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:07:08] local.INFO: Acknowledgment sent {"connection_id":159437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:07:29] local.INFO: TCP Data received {"connection_id":160327,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:07:29] local.INFO: Processing buffer {"connection_id":160327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:07:29] local.INFO: IMEI packet received {"connection_id":160327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":160327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:07:34] local.INFO: TCP Data received {"connection_id":159436,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e3d180012ddb0340050e21280008013d26..."} 
[2026-08-21 16:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e3d180012ddb0340050e21280008013d26..."} 
[2026-08-21 16:07:34] local.INFO: Processing buffer {"connection_id":159436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e3d180012ddb0340050e21280008013d26..."} 
[2026-08-21 16:07:34] local.INFO: Packet analysis {"connection_id":159436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:07:34] local.INFO: Extracted packet for processing {"connection_id":159436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":769327936,"raw_latitude":84812072,"longitude_deg":76.9327936,"latitude_deg":8.4812072,"altitude":8,"angle":317,"satellites":38,"speed":19,"hex_longitude":"2ddb0340","hex_latitude":"050e2128","is_valid_coordinates":true} 
[2026-08-21 16:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550979072001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388248890186399744,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2658742239554562048,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,180,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787308528000,"timestamp_ms":1787308528000,"timestamp_seconds":1787308528,"priority":1,"record_length":96,"hex_timestamp":"000001a023e3d180"} 
[2026-08-21 16:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550979072001,"66":27843,"180":206,"80":34304,"24":19,"16":388248890186399744,"45":-2658742239554562048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,180,80,24,16,45]} 
[2026-08-21 16:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550979072001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:07:34] local.INFO: Unknown IO ID detected {"io_id":180,"value":206,"description":"Unknown IO ID 180"} 
[2026-08-21 16:07:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388248890186399744,"km_value":388248890186399.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2658742239554562048,"description":"Unknown IO ID 45"} 
[2026-08-21 16:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550979072001,"power":27843,"unknown_180":206,"unknown_80":34304,"ignition":19,"odometer":null,"unknown_45":-2658742239554562048}} 
[2026-08-21 16:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":159436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:07:34] local.INFO: GPS data processed {"connection_id":159436,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:07:34] local.INFO: Acknowledgment sent {"connection_id":159436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:07:38] local.INFO: TCP Data received {"connection_id":160326,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e29ce8012d19768007203c600032005b29..."} 
[2026-08-21 16:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e29ce8012d19768007203c600032005b29..."} 
[2026-08-21 16:07:38] local.INFO: Processing buffer {"connection_id":160326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e29ce8012d19768007203c600032005b29..."} 
[2026-08-21 16:07:38] local.INFO: Packet analysis {"connection_id":160326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:07:38] local.INFO: Extracted packet for processing {"connection_id":160326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550957568001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308449000,"timestamp_ms":1787308449000,"timestamp_seconds":1787308449,"priority":1,"record_length":96,"hex_timestamp":"000001a023e29ce8"} 
[2026-08-21 16:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-21 16:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550957568001,"66":12406,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550957568001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:07:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550957568001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":160326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:07:38] local.INFO: GPS data processed {"connection_id":160326,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:07:38] local.INFO: Acknowledgment sent {"connection_id":160326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:07:39] local.INFO: TCP Data received {"connection_id":159437,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023d81598012d7a1f0005e469d80018004128..."} 
[2026-08-21 16:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023d81598012d7a1f0005e469d80018004128..."} 
[2026-08-21 16:07:39] local.INFO: Processing buffer {"connection_id":159437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023d81598012d7a1f0005e469d80018004128..."} 
[2026-08-21 16:07:39] local.INFO: Packet analysis {"connection_id":159437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 16:07:39] local.INFO: Extracted packet for processing {"connection_id":159437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023d8"} 
[2026-08-21 16:07:39] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":40,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550644224001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:07:39] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787307759000,"timestamp_ms":1787307759000,"timestamp_seconds":1787307759,"priority":1,"record_length":96,"hex_timestamp":"000001a023d81598"} 
[2026-08-21 16:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":14,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 16:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159437,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550644224001,"66":2209,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550644224001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:07:39] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550644224001,"power":2209,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":159437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:07:39] local.INFO: GPS data processed {"connection_id":159437,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:07:39] local.INFO: Acknowledgment sent {"connection_id":159437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:07:56] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:56] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:07:56] local.INFO: IMEI packet received {"connection_id":160328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":160328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:08:01] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:08:01] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:08:01] local.INFO: IMEI packet received {"connection_id":160328,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":160328,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:08:01] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:01] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:01] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:08:03] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023db4dd0012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023db4dd0012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:08:03] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023db4dd0012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:08:03] local.INFO: Packet analysis {"connection_id":160328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:08:03] local.INFO: Extracted packet for processing {"connection_id":160328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550786304001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:03] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787307970000,"timestamp_ms":1787307970000,"timestamp_seconds":1787307970,"priority":1,"record_length":96,"hex_timestamp":"000001a023db4dd0"} 
[2026-08-21 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-08-21 16:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9472,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 16:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 16:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550786304001,"66":2209,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550786304001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:08:03] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550786304001,"power":2209,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":160328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:08:03] local.INFO: GPS data processed {"connection_id":160328,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:08:03] local.INFO: Acknowledgment sent {"connection_id":160328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:08:06] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:06] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:06] local.INFO: IMEI packet received {"connection_id":160329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":160329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:08:07] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e2eef0012d19768007203c600032005b2b..."} 
[2026-08-21 16:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e2eef0012d19768007203c600032005b2b..."} 
[2026-08-21 16:08:07] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e2eef0012d19768007203c600032005b2b..."} 
[2026-08-21 16:08:07] local.INFO: Packet analysis {"connection_id":160329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:08:07] local.INFO: Extracted packet for processing {"connection_id":160329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550962944001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308470000,"timestamp_ms":1787308470000,"timestamp_seconds":1787308470,"priority":1,"record_length":96,"hex_timestamp":"000001a023e2eef0"} 
[2026-08-21 16:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550962944001,"66":12363,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550962944001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:08:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550962944001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":160329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:08:07] local.INFO: GPS data processed {"connection_id":160329,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:08:07] local.INFO: Acknowledgment sent {"connection_id":160329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:08:19] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:08:19] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:08:19] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:08:21] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 16:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 16:08:21] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 16:08:21] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:08:35] local.INFO: TCP Data received {"connection_id":160328,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023db4dd0012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023db4dd0012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:08:35] local.INFO: Processing buffer {"connection_id":160328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023db4dd0012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:08:35] local.INFO: Packet analysis {"connection_id":160328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:08:35] local.INFO: Extracted packet for processing {"connection_id":160328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550840320001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:35] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787307970000,"timestamp_ms":1787307970000,"timestamp_seconds":1787307970,"priority":1,"record_length":96,"hex_timestamp":"000001a023db4dd0"} 
[2026-08-21 16:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 16:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160328,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550840320001,"66":2209,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550840320001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:08:35] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550840320001,"power":2209,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":160328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:08:35] local.INFO: GPS data processed {"connection_id":160328,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:08:35] local.INFO: Acknowledgment sent {"connection_id":160328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:08:38] local.INFO: TCP Data received {"connection_id":160329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e340f8012d19768007203c600032005b2a..."} 
[2026-08-21 16:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e340f8012d19768007203c600032005b2a..."} 
[2026-08-21 16:08:38] local.INFO: Processing buffer {"connection_id":160329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e340f8012d19768007203c600032005b2a..."} 
[2026-08-21 16:08:38] local.INFO: Packet analysis {"connection_id":160329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:08:38] local.INFO: Extracted packet for processing {"connection_id":160329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550968320001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308491000,"timestamp_ms":1787308491000,"timestamp_seconds":1787308491,"priority":1,"record_length":96,"hex_timestamp":"000001a023e340f8"} 
[2026-08-21 16:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-21 16:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550968320001,"66":12406,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550968320001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550968320001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":160329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:08:38] local.INFO: GPS data processed {"connection_id":160329,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:08:38] local.INFO: Acknowledgment sent {"connection_id":160329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:08:49] local.INFO: TCP Data received {"connection_id":161695,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e42388012ddaeb00050e3c500007013d26..."} 
[2026-08-21 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e42388012ddaeb00050e3c500007013d26..."} 
[2026-08-21 16:08:49] local.INFO: Processing buffer {"connection_id":161695,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a023..."} 
[2026-08-21 16:08:49] local.INFO: IMEI packet received {"connection_id":161695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":161695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:08:56] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:08:56] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:08:56] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:08:59] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:59] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:08:59] local.INFO: IMEI packet received {"connection_id":159152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":159152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:09:01] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:09:01] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:09:01] local.INFO: IMEI packet received {"connection_id":161696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":161696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:09:01] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:09:01] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:09:01] local.INFO: IMEI packet received {"connection_id":159152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":159152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:09:02] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023db6158012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023db6158012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:09:02] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023db6158012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:09:02] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:09:02] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550840320001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:02] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787307975000,"timestamp_ms":1787307975000,"timestamp_seconds":1787307975,"priority":1,"record_length":96,"hex_timestamp":"000001a023db6158"} 
[2026-08-21 16:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":7680,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 16:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550840320001,"66":5210,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550840320001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:09:02] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550840320001,"power":5210,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:09:02] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:09:02] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:09:06] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:09:06] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:09:06] local.INFO: IMEI packet received {"connection_id":159152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":159152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:09:07] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:09:07] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:09:07] local.INFO: IMEI packet received {"connection_id":159154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":159154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:09:07] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e39300012d19768007203c600032005b28..."} 
[2026-08-21 16:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e39300012d19768007203c600032005b28..."} 
[2026-08-21 16:09:07] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e39300012d19768007203c600032005b28..."} 
[2026-08-21 16:09:07] local.INFO: Packet analysis {"connection_id":159152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:09:07] local.INFO: Extracted packet for processing {"connection_id":159152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550973696001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308512000,"timestamp_ms":1787308512000,"timestamp_seconds":1787308512,"priority":1,"record_length":96,"hex_timestamp":"000001a023e39300"} 
[2026-08-21 16:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550973696001,"66":12374,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550973696001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550973696001,"power":12374,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":159152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:09:07] local.INFO: GPS data processed {"connection_id":159152,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:09:07] local.INFO: Acknowledgment sent {"connection_id":159152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:09:12] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:09:12] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:09:12] local.INFO: IMEI packet received {"connection_id":159154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":159154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:09:13] local.INFO: TCP Data received {"connection_id":159154,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e62340012dda2000050f1a780014013f29..."} 
[2026-08-21 16:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e62340012dda2000050f1a780014013f29..."} 
[2026-08-21 16:09:13] local.INFO: Processing buffer {"connection_id":159154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e62340012dda2000050f1a780014013f29..."} 
[2026-08-21 16:09:13] local.INFO: Packet analysis {"connection_id":159154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:09:13] local.INFO: Extracted packet for processing {"connection_id":159154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":769269760,"raw_latitude":84875896,"longitude_deg":76.926976,"latitude_deg":8.4875896,"altitude":20,"angle":319,"satellites":41,"speed":44,"hex_longitude":"2dda2000","hex_latitude":"050f1a78","is_valid_coordinates":true} 
[2026-08-21 16:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551019776001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388253064894611456,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2722355584274941952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787308680000,"timestamp_ms":1787308680000,"timestamp_seconds":1787308680,"priority":1,"record_length":96,"hex_timestamp":"000001a023e62340"} 
[2026-08-21 16:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551019776001,"66":27908,"248":206,"80":34048,"24":44,"16":388253064894611456,"45":-2722355584274941952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,80,24,16,45]} 
[2026-08-21 16:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551019776001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:09:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-08-21 16:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388253064894611456,"km_value":388253064894611.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2722355584274941952,"description":"Unknown IO ID 45"} 
[2026-08-21 16:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551019776001,"power":27908,"tamper_alert":206,"unknown_80":34048,"ignition":44,"odometer":null,"unknown_45":-2722355584274941952}} 
[2026-08-21 16:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":159154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:09:14] local.INFO: GPS data processed {"connection_id":159154,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:09:14] local.INFO: Acknowledgment sent {"connection_id":159154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:09:38] local.INFO: TCP Data received {"connection_id":159152,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e3e508012d19768007203c600032005b2b..."} 
[2026-08-21 16:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e3e508012d19768007203c600032005b2b..."} 
[2026-08-21 16:09:38] local.INFO: Processing buffer {"connection_id":159152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e3e508012d19768007203c600032005b2b..."} 
[2026-08-21 16:09:38] local.INFO: Packet analysis {"connection_id":159152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:09:38] local.INFO: Extracted packet for processing {"connection_id":159152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e3"} 
[2026-08-21 16:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550979072001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308533000,"timestamp_ms":1787308533000,"timestamp_seconds":1787308533,"priority":1,"record_length":96,"hex_timestamp":"000001a023e3e508"} 
[2026-08-21 16:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 16:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550979072001,"66":12385,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550979072001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:09:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550979072001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":159152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:09:38] local.INFO: GPS data processed {"connection_id":159152,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:09:38] local.INFO: Acknowledgment sent {"connection_id":159152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:09:40] local.INFO: TCP Data received {"connection_id":161696,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023db6158012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023db6158012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:09:40] local.INFO: Processing buffer {"connection_id":161696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023db6158012d7a1f0005e469d8001800412b..."} 
[2026-08-21 16:09:40] local.INFO: Packet analysis {"connection_id":161696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:09:40] local.INFO: Extracted packet for processing {"connection_id":161696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023db"} 
[2026-08-21 16:09:40] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550841600001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:09:40] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787307975000,"timestamp_ms":1787307975000,"timestamp_seconds":1787307975,"priority":1,"record_length":96,"hex_timestamp":"000001a023db6158"} 
[2026-08-21 16:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:09:40] 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-08-21 16:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-21 16:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1108,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550841600001,"66":5210,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550841600001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:09:40] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550841600001,"power":5210,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":161696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:09:40] local.INFO: GPS data processed {"connection_id":161696,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:09:40] local.INFO: Acknowledgment sent {"connection_id":161696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:01] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:01] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:01] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:10:01] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:01] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:01] local.INFO: IMEI packet received {"connection_id":159439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":159439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:10:02] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:02] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:02] local.INFO: IMEI packet received {"connection_id":159439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":159439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:10:03] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:03] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:03] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:10:05] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:05] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:05] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:10:06] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:06] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:06] local.INFO: IMEI packet received {"connection_id":160330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":160330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:10:06] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:06] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:10:06] local.INFO: IMEI packet received {"connection_id":159439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":159439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:10:07] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023dcad60012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023dcad60012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:10:07] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023dcad60012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:10:07] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023dc"} 
[2026-08-21 16:10:07] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023dc"} 
[2026-08-21 16:10:07] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":44,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550841600001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:07] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308060000,"timestamp_ms":1787308060000,"timestamp_seconds":1787308060,"priority":1,"record_length":96,"hex_timestamp":"000001a023dcad60"} 
[2026-08-21 16:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:10:07] 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-08-21 16:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":20,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-08-21 16:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1108,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550841600001,"66":2264,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550841600001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:10:07] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550841600001,"power":2264,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:10:07] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:10:07] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:07] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e43710012d19768007203c600032005b2c..."} 
[2026-08-21 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e43710012d19768007203c600032005b2c..."} 
[2026-08-21 16:10:07] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e43710012d19768007203c600032005b2c..."} 
[2026-08-21 16:10:07] local.INFO: Packet analysis {"connection_id":159439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e4"} 
[2026-08-21 16:10:07] local.INFO: Extracted packet for processing {"connection_id":159439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e4"} 
[2026-08-21 16:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550984448001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308554000,"timestamp_ms":1787308554000,"timestamp_seconds":1787308554,"priority":1,"record_length":96,"hex_timestamp":"000001a023e43710"} 
[2026-08-21 16:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550984448001,"66":12406,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550984448001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:10:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550984448001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":159439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:10:07] local.INFO: GPS data processed {"connection_id":159439,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:10:07] local.INFO: Acknowledgment sent {"connection_id":159439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:08] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:08] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:10:08] local.INFO: IMEI packet received {"connection_id":160331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":160331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:10:09] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e64280012dda0780050f35d80014013e2b..."} 
[2026-08-21 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e64280012dda0780050f35d80014013e2b..."} 
[2026-08-21 16:10:09] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e64280012dda0780050f35d80014013e2b..."} 
[2026-08-21 16:10:09] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:10:09] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":769263488,"raw_latitude":84882904,"longitude_deg":76.9263488,"latitude_deg":8.4882904,"altitude":20,"angle":318,"satellites":43,"speed":49,"hex_longitude":"2dda0780","hex_latitude":"050f35d8","is_valid_coordinates":true} 
[2026-08-21 16:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551022080001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388253520161144832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2729181352458291200,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787308688000,"timestamp_ms":1787308688000,"timestamp_seconds":1787308688,"priority":1,"record_length":96,"hex_timestamp":"000001a023e64280"} 
[2026-08-21 16:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551022080001,"66":27843,"247":206,"80":34048,"24":49,"16":388253520161144832,"45":-2729181352458291200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,80,24,16,45]} 
[2026-08-21 16:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551022080001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:10:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-08-21 16:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388253520161144832,"km_value":388253520161144.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2729181352458291200,"description":"Unknown IO ID 45"} 
[2026-08-21 16:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551022080001,"power":27843,"internal_battery_voltage":206,"unknown_80":34048,"ignition":49,"odometer":null,"unknown_45":-2729181352458291200}} 
[2026-08-21 16:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:10:09] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:10:09] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:10] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e65dd8012dd9ef80050f50800014013d2a..."} 
[2026-08-21 16:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e65dd8012dd9ef80050f50800014013d2a..."} 
[2026-08-21 16:10:10] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e65dd8012dd9ef80050f50800014013d2a..."} 
[2026-08-21 16:10:10] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:10:10] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":769257344,"raw_latitude":84889728,"longitude_deg":76.9257344,"latitude_deg":8.4889728,"altitude":20,"angle":317,"satellites":42,"speed":54,"hex_longitude":"2dd9ef80","hex_latitude":"050f5080","is_valid_coordinates":true} 
[2026-08-21 16:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551024128001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388253962542776320,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2736077489385908224,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787308695000,"timestamp_ms":1787308695000,"timestamp_seconds":1787308695,"priority":1,"record_length":96,"hex_timestamp":"000001a023e65dd8"} 
[2026-08-21 16:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:10: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-08-21 16:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551024128001,"66":27658,"247":206,"80":34048,"24":54,"16":388253962542776320,"45":-2736077489385908224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,80,24,16,45]} 
[2026-08-21 16:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551024128001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:10:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-08-21 16:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388253962542776320,"km_value":388253962542776.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2736077489385908224,"description":"Unknown IO ID 45"} 
[2026-08-21 16:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551024128001,"power":27658,"internal_battery_voltage":206,"unknown_80":34048,"ignition":54,"odometer":null,"unknown_45":-2736077489385908224}} 
[2026-08-21 16:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:10:10] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:10:10] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:11] local.INFO: TCP Data received {"connection_id":160330,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e14528012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e14528012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:10:11] local.INFO: Processing buffer {"connection_id":160330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e14528012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:10:11] local.INFO: Packet analysis {"connection_id":160330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:10:11] local.INFO: Extracted packet for processing {"connection_id":160330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e1"} 
[2026-08-21 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":44,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550863360001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:11] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787308361000,"timestamp_ms":1787308361000,"timestamp_seconds":1787308361,"priority":1,"record_length":96,"hex_timestamp":"000001a023e14528"} 
[2026-08-21 16:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6400,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2182,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550863360001,"66":2209,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550863360001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:10:11] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550863360001,"power":2209,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":160330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:10:12] local.INFO: GPS data processed {"connection_id":160330,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:10:12] local.INFO: Acknowledgment sent {"connection_id":160330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:15] local.INFO: TCP Data received {"connection_id":160331,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e67930012dd9d580050f6d400013013e2a..."} 
[2026-08-21 16:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e67930012dd9d580050f6d400013013e2a..."} 
[2026-08-21 16:10:15] local.INFO: Processing buffer {"connection_id":160331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e67930012dd9d580050f6d400013013e2a..."} 
[2026-08-21 16:10:15] local.INFO: Packet analysis {"connection_id":160331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:10:15] local.INFO: Extracted packet for processing {"connection_id":160331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e6"} 
[2026-08-21 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":769250688,"raw_latitude":84897088,"longitude_deg":76.9250688,"latitude_deg":8.4897088,"altitude":19,"angle":318,"satellites":42,"speed":57,"hex_longitude":"2dd9d580","hex_latitude":"050f6d40","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:10:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551025920001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388254439284146176,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2742832888825217024,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:10:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787308702000,"timestamp_ms":1787308702000,"timestamp_seconds":1787308702,"priority":1,"record_length":96,"hex_timestamp":"000001a023e67930"} 
[2026-08-21 16:10:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:10:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 16:10:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:10:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:10:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:10:15] local.INFO: Teltonika packet parsed successfully {"connection_id":160331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:10:15] local.INFO: Passing IMEI to GPS processor {"connection_id":160331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:10:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":160331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:10:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:10:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:10:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:10:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551025920001,"66":27930,"247":206,"80":34048,"24":57,"16":388254439284146176,"45":-2742832888825217024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,80,24,16,45]} 
[2026-08-21 16:10:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:10:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:10:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551025920001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:10:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":34048,"description":"Unknown IO ID 80"} 
[2026-08-21 16:10:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388254439284146176,"km_value":388254439284146.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:10:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2742832888825217024,"description":"Unknown IO ID 45"} 
[2026-08-21 16:10:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551025920001,"power":27930,"internal_battery_voltage":206,"unknown_80":34048,"ignition":57,"odometer":null,"unknown_45":-2742832888825217024}} 
[2026-08-21 16:10:15] local.INFO: DEBUG: GPS processor result {"connection_id":160331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:10:15] local.INFO: GPS data processed {"connection_id":160331,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:10:15] local.INFO: Acknowledgment sent {"connection_id":160331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:38] local.INFO: TCP Data received {"connection_id":159439,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e48918012d19768007203c600032005b2b..."} 
[2026-08-21 16:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e48918012d19768007203c600032005b2b..."} 
[2026-08-21 16:10:38] local.INFO: Processing buffer {"connection_id":159439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e48918012d19768007203c600032005b2b..."} 
[2026-08-21 16:10:38] local.INFO: Packet analysis {"connection_id":159439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e4"} 
[2026-08-21 16:10:38] local.INFO: Extracted packet for processing {"connection_id":159439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e4"} 
[2026-08-21 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550989824001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308575000,"timestamp_ms":1787308575000,"timestamp_seconds":1787308575,"priority":1,"record_length":96,"hex_timestamp":"000001a023e48918"} 
[2026-08-21 16:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550989824001,"66":12406,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550989824001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:10:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550989824001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":159439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:10:38] local.INFO: GPS data processed {"connection_id":159439,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:10:38] local.INFO: Acknowledgment sent {"connection_id":159439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:10:55] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:55] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:10:55] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:11:00] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:11:00] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:11:00] local.INFO: IMEI packet received {"connection_id":161697,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":161697,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:11:01] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:11:01] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:11:01] local.INFO: IMEI packet received {"connection_id":159441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":159441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:11:01] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e223d0012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e223d0012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:11:01] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e223d0012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:11:01] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:11:01] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:11:01] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":44,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550940416001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:01] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787308418000,"timestamp_ms":1787308418000,"timestamp_seconds":1787308418,"priority":1,"record_length":96,"hex_timestamp":"000001a023e223d0"} 
[2026-08-21 16:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1024,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16: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-08-21 16:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550940416001,"66":2155,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550940416001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:11:01] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550940416001,"power":2155,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676514,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:11:01] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:11:01] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:11:04] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:04] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:04] local.INFO: IMEI packet received {"connection_id":159440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":159440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:11:05] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:11:05] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:11:05] local.INFO: IMEI packet received {"connection_id":159441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":159441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:11:06] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:06] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:06] local.INFO: IMEI packet received {"connection_id":159440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":159440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:11:06] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e4db20012d19768007203c600032005b2c..."} 
[2026-08-21 16:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e4db20012d19768007203c600032005b2c..."} 
[2026-08-21 16:11:06] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e4db20012d19768007203c600032005b2c..."} 
[2026-08-21 16:11:06] local.INFO: Packet analysis {"connection_id":159441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e4"} 
[2026-08-21 16:11:06] local.INFO: Extracted packet for processing {"connection_id":159441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e4"} 
[2026-08-21 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550995200001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787308596000,"timestamp_ms":1787308596000,"timestamp_seconds":1787308596,"priority":1,"record_length":96,"hex_timestamp":"000001a023e4db20"} 
[2026-08-21 16:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550995200001,"66":12385,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550995200001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:11:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550995200001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":159441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:11:06] local.INFO: GPS data processed {"connection_id":159441,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:11:06] local.INFO: Acknowledgment sent {"connection_id":159441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:11:08] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e7d4d8012dd87e800510c9800009013b2c..."} 
[2026-08-21 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e7d4d8012dd87e800510c9800009013b2c..."} 
[2026-08-21 16:11:08] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e7d4d8012dd87e800510c9800009013b2c..."} 
[2026-08-21 16:11:08] local.INFO: Packet analysis {"connection_id":159440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e7"} 
[2026-08-21 16:11:08] local.INFO: Extracted packet for processing {"connection_id":159440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e7"} 
[2026-08-21 16:11:08] local.INFO: GPS Element Parsed {"raw_longitude":769162880,"raw_latitude":84986240,"longitude_deg":76.916288,"latitude_deg":8.498624,"altitude":9,"angle":315,"satellites":44,"speed":62,"hex_longitude":"2dd87e80","hex_latitude":"0510c980","is_valid_coordinates":true} 
[2026-08-21 16:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551048960001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388260473713197056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2839801018278955008,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787308791000,"timestamp_ms":1787308791000,"timestamp_seconds":1787308791,"priority":1,"record_length":96,"hex_timestamp":"000001a023e7d4d8"} 
[2026-08-21 16:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551048960001,"66":27865,"124":206,"80":34304,"24":62,"16":388260473713197056,"45":-2839801018278955008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-08-21 16:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551048960001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:11:08] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 16:11:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388260473713197056,"km_value":388260473713197.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2839801018278955008,"description":"Unknown IO ID 45"} 
[2026-08-21 16:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551048960001,"power":27865,"unknown_124":206,"unknown_80":34304,"ignition":62,"odometer":null,"unknown_45":-2839801018278955008}} 
[2026-08-21 16:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":159440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:11:09] local.INFO: GPS data processed {"connection_id":159440,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:11:09] local.INFO: Acknowledgment sent {"connection_id":159440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:11:12] local.INFO: TCP Data received {"connection_id":159440,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e7ec48012dd865400510e3780007013b2b..."} 
[2026-08-21 16:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e7ec48012dd865400510e3780007013b2b..."} 
[2026-08-21 16:11:12] local.INFO: Processing buffer {"connection_id":159440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e7ec48012dd865400510e3780007013b2b..."} 
[2026-08-21 16:11:12] local.INFO: Packet analysis {"connection_id":159440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e7"} 
[2026-08-21 16:11:12] local.INFO: Extracted packet for processing {"connection_id":159440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e7"} 
[2026-08-21 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":769156416,"raw_latitude":84992888,"longitude_deg":76.9156416,"latitude_deg":8.4992888,"altitude":7,"angle":315,"satellites":43,"speed":60,"hex_longitude":"2dd86540","hex_latitude":"0510e378","is_valid_coordinates":true} 
[2026-08-21 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551050496001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388260924684763136,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2846697155206742016,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787308797000,"timestamp_ms":1787308797000,"timestamp_seconds":1787308797,"priority":1,"record_length":96,"hex_timestamp":"000001a023e7ec48"} 
[2026-08-21 16:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551050496001,"66":27995,"124":206,"80":34304,"24":60,"16":388260924684763136,"45":-2846697155206742016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-08-21 16:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551050496001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:11:12] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 16:11:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388260924684763136,"km_value":388260924684763.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2846697155206742016,"description":"Unknown IO ID 45"} 
[2026-08-21 16:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551050496001,"power":27995,"unknown_124":206,"unknown_80":34304,"ignition":60,"odometer":null,"unknown_45":-2846697155206742016}} 
[2026-08-21 16:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":159440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:11:12] local.INFO: GPS data processed {"connection_id":159440,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:11:12] local.INFO: Acknowledgment sent {"connection_id":159440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:11:37] local.INFO: TCP Data received {"connection_id":159441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e52d28012d19768007203c600032005b2c..."} 
[2026-08-21 16:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e52d28012d19768007203c600032005b2c..."} 
[2026-08-21 16:11:37] local.INFO: Processing buffer {"connection_id":159441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e52d28012d19768007203c600032005b2c..."} 
[2026-08-21 16:11:37] local.INFO: Packet analysis {"connection_id":159441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e5"} 
[2026-08-21 16:11:37] local.INFO: Extracted packet for processing {"connection_id":159441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e5"} 
[2026-08-21 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551000576001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787308617000,"timestamp_ms":1787308617000,"timestamp_seconds":1787308617,"priority":1,"record_length":96,"hex_timestamp":"000001a023e52d28"} 
[2026-08-21 16:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551000576001,"66":12385,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551000576001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:11:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551000576001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:11:38] local.INFO: GPS data processed {"connection_id":159441,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:11:38] local.INFO: Acknowledgment sent {"connection_id":159441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:11:40] local.INFO: TCP Data received {"connection_id":161697,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e227b8012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e227b8012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:11:40] local.INFO: Processing buffer {"connection_id":161697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e227b8012d7a1f0005e469d8001800412c..."} 
[2026-08-21 16:11:40] local.INFO: Packet analysis {"connection_id":161697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:11:40] local.INFO: Extracted packet for processing {"connection_id":161697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e2"} 
[2026-08-21 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":24,"angle":65,"satellites":44,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550955008001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:11:40] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787308419000,"timestamp_ms":1787308419000,"timestamp_seconds":1787308419,"priority":1,"record_length":96,"hex_timestamp":"000001a023e227b8"} 
[2026-08-21 16:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 16:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161697,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550955008001,"66":12613,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550955008001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:11:40] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457550955008001,"power":12613,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":161697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:11:40] local.INFO: GPS data processed {"connection_id":161697,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:11:40] local.INFO: Acknowledgment sent {"connection_id":161697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:11:57] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:57] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:11:57] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:11:58] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:11:58] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:11:58] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:12:01] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:12:01] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:12:01] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:12:03] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:12:03] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:12:03] local.INFO: IMEI packet received {"connection_id":159155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":159155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:12:03] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:03] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:03] local.INFO: IMEI packet received {"connection_id":161699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":161699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:12:04] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:04] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:04] local.INFO: Packet analysis {"connection_id":159155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:04] local.INFO: Extracted packet for processing {"connection_id":159155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550955264001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787308869000,"timestamp_ms":1787308869000,"timestamp_seconds":1787308869,"priority":1,"record_length":96,"hex_timestamp":"000001a023e90588"} 
[2026-08-21 16:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 16:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550955264001,"66":12298,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550955264001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:04] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:12:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550955264001,"power":12298,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":159155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:04] local.INFO: GPS data processed {"connection_id":159155,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:04] local.INFO: Acknowledgment sent {"connection_id":159155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:05] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e803b8012dd84c800510fc380007013a2b..."} 
[2026-08-21 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e803b8012dd84c800510fc380007013a2b..."} 
[2026-08-21 16:12:05] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e803b8012dd84c800510fc380007013a2b..."} 
[2026-08-21 16:12:05] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e8"} 
[2026-08-21 16:12:05] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e8"} 
[2026-08-21 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":769150080,"raw_latitude":84999224,"longitude_deg":76.915008,"latitude_deg":8.4999224,"altitude":7,"angle":314,"satellites":43,"speed":58,"hex_longitude":"2dd84c80","hex_latitude":"0510fc38","is_valid_coordinates":true} 
[2026-08-21 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551052032001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388261354181492736,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2853804398366984192,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787308803000,"timestamp_ms":1787308803000,"timestamp_seconds":1787308803,"priority":1,"record_length":96,"hex_timestamp":"000001a023e803b8"} 
[2026-08-21 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 16:12:05] 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-08-21 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:12: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-08-21 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551052032001,"66":27919,"124":206,"80":34304,"24":58,"16":388261354181492736,"45":-2853804398366984192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,80,24,16,45]} 
[2026-08-21 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551052032001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-08-21 16:12:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388261354181492736,"km_value":388261354181492.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2853804398366984192,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551052032001,"power":27919,"unknown_124":206,"unknown_80":34304,"ignition":58,"odometer":null,"unknown_45":-2853804398366984192}} 
[2026-08-21 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:05] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:05] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:06] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:06] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:06] local.INFO: Packet analysis {"connection_id":159155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:06] local.INFO: Extracted packet for processing {"connection_id":159155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550955264001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787308869000,"timestamp_ms":1787308869000,"timestamp_seconds":1787308869,"priority":1,"record_length":96,"hex_timestamp":"000001a023e90588"} 
[2026-08-21 16:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 16:12: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-08-21 16:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550955264001,"66":12298,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550955264001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:06] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550955264001,"power":12298,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":159155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:06] local.INFO: GPS data processed {"connection_id":159155,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:06] local.INFO: Acknowledgment sent {"connection_id":159155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:06] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:12:06] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:12:06] local.INFO: IMEI packet received {"connection_id":160333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":160333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:12:07] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e57f30012d19768007203c600032005b2d..."} 
[2026-08-21 16:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e57f30012d19768007203c600032005b2d..."} 
[2026-08-21 16:12:07] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e57f30012d19768007203c600032005b2d..."} 
[2026-08-21 16:12:07] local.INFO: Packet analysis {"connection_id":160333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e5"} 
[2026-08-21 16:12:07] local.INFO: Extracted packet for processing {"connection_id":160333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e5"} 
[2026-08-21 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551005952001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308638000,"timestamp_ms":1787308638000,"timestamp_seconds":1787308638,"priority":1,"record_length":96,"hex_timestamp":"000001a023e57f30"} 
[2026-08-21 16:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551005952001,"66":12406,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551005952001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551005952001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":160333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:07] local.INFO: GPS data processed {"connection_id":160333,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:07] local.INFO: Acknowledgment sent {"connection_id":160333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:34] local.INFO: TCP Data received {"connection_id":160334,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:12:34] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:12:34] local.INFO: IMEI packet received {"connection_id":160334,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":160334,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:12:36] local.INFO: TCP Data received {"connection_id":160334,"ip":"117.224.239.118","data_length":795,"data_hex":"000000000000030f8e0a000001a023e9c108012d0d62400705d168001801381d..."} 
[2026-08-21 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e9c108012d0d62400705d168001801381d..."} 
[2026-08-21 16:12:36] local.INFO: Processing buffer {"connection_id":160334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e9c108012d0d62400705d168001801381d..."} 
[2026-08-21 16:12:36] local.INFO: Packet analysis {"connection_id":160334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:36] local.INFO: Extracted packet for processing {"connection_id":160334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":755851840,"raw_latitude":117821800,"longitude_deg":75.585184,"latitude_deg":11.78218,"altitude":24,"angle":312,"satellites":29,"speed":8,"hex_longitude":"2d0d6240","hex_latitude":"0705d168","is_valid_coordinates":true} 
[2026-08-21 16:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551081728001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29293794377596928,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":965951781489027072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787308917000,"timestamp_ms":1787308917000,"timestamp_seconds":1787308917,"priority":1,"record_length":96,"hex_timestamp":"000001a023e9c108"} 
[2026-08-21 16:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 16:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160334,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.239.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551081728001,"66":14515,"219":206,"28":32256,"24":8,"16":29293794377596928,"45":965951781489027072},"client_ip":"117.224.239.118","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-08-21 16:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551081728001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 16:12:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-21 16:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29293794377596928,"km_value":29293794377596.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":965951781489027072,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551081728001,"power":14515,"unknown_219":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_45":965951781489027072}} 
[2026-08-21 16:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":160334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676524,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:36] local.INFO: GPS data processed {"connection_id":160334,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:36] local.INFO: Acknowledgment sent {"connection_id":160334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:37] local.INFO: TCP Data received {"connection_id":159155,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:37] local.INFO: Processing buffer {"connection_id":159155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:12:37] local.INFO: Packet analysis {"connection_id":159155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:37] local.INFO: Extracted packet for processing {"connection_id":159155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550955264001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787308869000,"timestamp_ms":1787308869000,"timestamp_seconds":1787308869,"priority":1,"record_length":96,"hex_timestamp":"000001a023e90588"} 
[2026-08-21 16:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 16:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550955264001,"66":12298,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550955264001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:37] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550955264001,"power":12298,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":159155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:37] local.INFO: GPS data processed {"connection_id":159155,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:37] local.INFO: Acknowledgment sent {"connection_id":159155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:38] local.INFO: TCP Data received {"connection_id":160333,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e90588012d19768007203c600032005b29..."} 
[2026-08-21 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e90588012d19768007203c600032005b29..."} 
[2026-08-21 16:12:38] local.INFO: Processing buffer {"connection_id":160333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e90588012d19768007203c600032005b29..."} 
[2026-08-21 16:12:38] local.INFO: Packet analysis {"connection_id":160333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:38] local.INFO: Extracted packet for processing {"connection_id":160333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551065088001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308869000,"timestamp_ms":1787308869000,"timestamp_seconds":1787308869,"priority":1,"record_length":96,"hex_timestamp":"000001a023e90588"} 
[2026-08-21 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:38] 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-08-21 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551065088001,"66":12374,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551065088001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551065088001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:12:38] local.INFO: TCP Data received {"connection_id":161699,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e96730012dd73340051202e80006013429..."} 
[2026-08-21 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e96730012dd73340051202e80006013429..."} 
[2026-08-21 16:12:38] local.INFO: Processing buffer {"connection_id":161699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e96730012dd73340051202e80006013429..."} 
[2026-08-21 16:12:38] local.INFO: Packet analysis {"connection_id":161699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:38] local.INFO: Extracted packet for processing {"connection_id":161699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":769078080,"raw_latitude":85066472,"longitude_deg":76.907808,"latitude_deg":8.5066472,"altitude":6,"angle":308,"satellites":41,"speed":47,"hex_longitude":"2dd73340","hex_latitude":"051202e8","is_valid_coordinates":true} 
[2026-08-21 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551074816001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388266113005256704,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2932054441875120128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308894000,"timestamp_ms":1787308894000,"timestamp_seconds":1787308894,"priority":1,"record_length":96,"hex_timestamp":"000001a023e96730"} 
[2026-08-21 16:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:12:38] 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-08-21 16:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":160333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:12:38] local.INFO: GPS data processed {"connection_id":160333,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:12:38] local.INFO: Acknowledgment sent {"connection_id":160333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551074816001,"66":27974,"36":206,"80":34304,"24":47,"16":388266113005256704,"45":-2932054441875120128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-08-21 16:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551074816001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388266113005256704,"km_value":388266113005256.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2932054441875120128,"description":"Unknown IO ID 45"} 
[2026-08-21 16:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551074816001,"power":27974,"unknown_36":206,"unknown_80":34304,"ignition":47,"odometer":null,"unknown_45":-2932054441875120128}} 
[2026-08-21 16:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":161699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:12:38] local.INFO: GPS data processed {"connection_id":161699,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:12:38] local.INFO: Acknowledgment sent {"connection_id":161699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:12:56] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:12:56] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:12:56] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:12:57] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:57] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:57] local.INFO: IMEI packet received {"connection_id":159442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":159442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:12:58] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:58] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:12:58] local.INFO: IMEI packet received {"connection_id":159442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":159442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:13:01] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:13:01] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:13:01] local.INFO: IMEI packet received {"connection_id":160335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":160335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:13:02] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:13:02] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:13:02] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:02] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550955264001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787308869000,"timestamp_ms":1787308869000,"timestamp_seconds":1787308869,"priority":1,"record_length":96,"hex_timestamp":"000001a023e90588"} 
[2026-08-21 16:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 16:13: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-08-21 16:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550955264001,"66":12298,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550955264001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:02] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550955264001,"power":12298,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:02] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:02] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:02] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:13:02] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:13:02] local.INFO: IMEI packet received {"connection_id":159442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":159442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:13:06] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:13:06] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:13:06] local.INFO: IMEI packet received {"connection_id":159443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":159443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:13:09] local.INFO: TCP Data received {"connection_id":159444,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:13:09] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:13:09] local.INFO: IMEI packet received {"connection_id":159444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":159444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:13:11] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e98670012dd7160005121928000501322a..."} 
[2026-08-21 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e98670012dd7160005121928000501322a..."} 
[2026-08-21 16:13:11] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e98670012dd7160005121928000501322a..."} 
[2026-08-21 16:13:11] local.INFO: Packet analysis {"connection_id":159442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:11] local.INFO: Extracted packet for processing {"connection_id":159442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":769070592,"raw_latitude":85072168,"longitude_deg":76.9070592,"latitude_deg":8.5072168,"altitude":5,"angle":306,"satellites":42,"speed":35,"hex_longitude":"2dd71600","hex_latitude":"05121928","is_valid_coordinates":true} 
[2026-08-21 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551076864001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388266563976822784,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2939935741221607424,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787308902000,"timestamp_ms":1787308902000,"timestamp_seconds":1787308902,"priority":1,"record_length":96,"hex_timestamp":"000001a023e98670"} 
[2026-08-21 16:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551076864001,"66":27908,"36":206,"80":34304,"24":35,"16":388266563976822784,"45":-2939935741221607424},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-08-21 16:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551076864001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:11] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 16:13:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388266563976822784,"km_value":388266563976822.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2939935741221607424,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551076864001,"power":27908,"unknown_36":206,"unknown_80":34304,"ignition":35,"odometer":null,"unknown_45":-2939935741221607424}} 
[2026-08-21 16:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":159442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:11] local.INFO: GPS data processed {"connection_id":159442,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:11] local.INFO: Acknowledgment sent {"connection_id":159442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:11] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:13:11] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:13:11] local.INFO: IMEI packet received {"connection_id":159443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":159443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:13:12] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e95790012d19768007203c600032005b2a..."} 
[2026-08-21 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e95790012d19768007203c600032005b2a..."} 
[2026-08-21 16:13:12] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e95790012d19768007203c600032005b2a..."} 
[2026-08-21 16:13:12] local.INFO: Packet analysis {"connection_id":159443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:12] local.INFO: Extracted packet for processing {"connection_id":159443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551070464001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787308890000,"timestamp_ms":1787308890000,"timestamp_seconds":1787308890,"priority":1,"record_length":96,"hex_timestamp":"000001a023e95790"} 
[2026-08-21 16:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551070464001,"66":11656,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551070464001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551070464001,"power":11656,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":159443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:12] local.INFO: GPS data processed {"connection_id":159443,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:12] local.INFO: Acknowledgment sent {"connection_id":159443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:13] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e9a998012d19768007203c600032005b26..."} 
[2026-08-21 16:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e9a998012d19768007203c600032005b26..."} 
[2026-08-21 16:13:13] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e9a998012d19768007203c600032005b26..."} 
[2026-08-21 16:13:13] local.INFO: Packet analysis {"connection_id":159443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:13] local.INFO: Extracted packet for processing {"connection_id":159443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551075840001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787308911000,"timestamp_ms":1787308911000,"timestamp_seconds":1787308911,"priority":1,"record_length":96,"hex_timestamp":"000001a023e9a998"} 
[2026-08-21 16:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551075840001,"66":12406,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551075840001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:13:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551075840001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":159443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:13] local.INFO: GPS data processed {"connection_id":159443,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:13] local.INFO: Acknowledgment sent {"connection_id":159443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:14] local.INFO: TCP Data received {"connection_id":159444,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:13:14] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:13:14] local.INFO: IMEI packet received {"connection_id":159444,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":159444,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:13:16] local.INFO: TCP Data received {"connection_id":159444,"ip":"117.224.239.118","data_length":795,"data_hex":"000000000000030f8e0a000001a023e9c4f0012d0d61800705d2080019014e1d..."} 
[2026-08-21 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e9c4f0012d0d61800705d2080019014e1d..."} 
[2026-08-21 16:13:16] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e9c4f0012d0d61800705d2080019014e1d..."} 
[2026-08-21 16:13:16] local.INFO: Packet analysis {"connection_id":159444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:16] local.INFO: Extracted packet for processing {"connection_id":159444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":117821960,"longitude_deg":75.5851648,"latitude_deg":11.782196,"altitude":25,"angle":334,"satellites":29,"speed":9,"hex_longitude":"2d0d6180","hex_latitude":"0705d208","is_valid_coordinates":true} 
[2026-08-21 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551082752001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29293802967531520,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964403669117265920,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787308918000,"timestamp_ms":1787308918000,"timestamp_seconds":1787308918,"priority":1,"record_length":96,"hex_timestamp":"000001a023e9c4f0"} 
[2026-08-21 16:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.239.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551082752001,"66":14515,"219":206,"28":32256,"24":9,"16":29293802967531520,"45":964403669117265920},"client_ip":"117.224.239.118","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-08-21 16:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551082752001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-21 16:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29293802967531520,"km_value":29293802967531.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":964403669117265920,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551082752001,"power":14515,"unknown_219":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":964403669117265920}} 
[2026-08-21 16:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":159444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676532,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:16] local.INFO: GPS data processed {"connection_id":159444,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:16] local.INFO: Acknowledgment sent {"connection_id":159444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:33] local.INFO: TCP Data received {"connection_id":160335,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:13:33] local.INFO: Processing buffer {"connection_id":160335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e90588012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:13:33] local.INFO: Packet analysis {"connection_id":160335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:33] local.INFO: Extracted packet for processing {"connection_id":160335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457550955264001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787308869000,"timestamp_ms":1787308869000,"timestamp_seconds":1787308869,"priority":1,"record_length":96,"hex_timestamp":"000001a023e90588"} 
[2026-08-21 16:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457550955264001,"66":12298,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457550955264001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:33] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457550955264001,"power":12298,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":160335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:33] local.INFO: GPS data processed {"connection_id":160335,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:33] local.INFO: Acknowledgment sent {"connection_id":160335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:44] local.INFO: TCP Data received {"connection_id":159443,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023e9fba0012d19768007203c600032005b2c..."} 
[2026-08-21 16:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e9fba0012d19768007203c600032005b2c..."} 
[2026-08-21 16:13:44] local.INFO: Processing buffer {"connection_id":159443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e9fba0012d19768007203c600032005b2c..."} 
[2026-08-21 16:13:44] local.INFO: Packet analysis {"connection_id":159443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:44] local.INFO: Extracted packet for processing {"connection_id":159443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551081216001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787308932000,"timestamp_ms":1787308932000,"timestamp_seconds":1787308932,"priority":1,"record_length":96,"hex_timestamp":"000001a023e9fba0"} 
[2026-08-21 16:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551081216001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551081216001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:13:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551081216001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":159443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:44] local.INFO: GPS data processed {"connection_id":159443,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:44] local.INFO: Acknowledgment sent {"connection_id":159443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:45] local.INFO: TCP Data received {"connection_id":159442,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023e9b168012dd6f8c005123048000601332a..."} 
[2026-08-21 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023e9b168012dd6f8c005123048000601332a..."} 
[2026-08-21 16:13:45] local.INFO: Processing buffer {"connection_id":159442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023e9b168012dd6f8c005123048000601332a..."} 
[2026-08-21 16:13:45] local.INFO: Packet analysis {"connection_id":159442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:45] local.INFO: Extracted packet for processing {"connection_id":159442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023e9"} 
[2026-08-21 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":769063104,"raw_latitude":85078088,"longitude_deg":76.9063104,"latitude_deg":8.5078088,"altitude":6,"angle":307,"satellites":42,"speed":37,"hex_longitude":"2dd6f8c0","hex_latitude":"05123048","is_valid_coordinates":true} 
[2026-08-21 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551078912001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388267023538323456,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-2948168884288935936,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787308913000,"timestamp_ms":1787308913000,"timestamp_seconds":1787308913,"priority":1,"record_length":96,"hex_timestamp":"000001a023e9b168"} 
[2026-08-21 16:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551078912001,"66":27843,"36":206,"80":34304,"24":37,"16":388267023538323456,"45":-2948168884288935936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,80,24,16,45]} 
[2026-08-21 16:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551078912001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:45] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 16:13:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388267023538323456,"km_value":388267023538323.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-2948168884288935936,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551078912001,"power":27843,"unknown_36":206,"unknown_80":34304,"ignition":37,"odometer":null,"unknown_45":-2948168884288935936}} 
[2026-08-21 16:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":159442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:45] local.INFO: GPS data processed {"connection_id":159442,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:45] local.INFO: Acknowledgment sent {"connection_id":159442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:13:47] local.INFO: TCP Data received {"connection_id":159444,"ip":"117.224.239.118","data_length":795,"data_hex":"000000000000030f8e0a000001a023eb3808012d0da380070638c8001d015f1d..."} 
[2026-08-21 16:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eb3808012d0da380070638c8001d015f1d..."} 
[2026-08-21 16:13:47] local.INFO: Processing buffer {"connection_id":159444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eb3808012d0da380070638c8001d015f1d..."} 
[2026-08-21 16:13:47] local.INFO: Packet analysis {"connection_id":159444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:13:47] local.INFO: Extracted packet for processing {"connection_id":159444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":755868544,"raw_latitude":117848264,"longitude_deg":75.5868544,"latitude_deg":11.7848264,"altitude":29,"angle":351,"satellites":29,"speed":18,"hex_longitude":"2d0da380","hex_latitude":"070638c8","is_valid_coordinates":true} 
[2026-08-21 16:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551107072001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29295744292749312,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982769911354300416,"note":"Value kept but may cause issues"} 
[2026-08-21 16:13:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787309013000,"timestamp_ms":1787309013000,"timestamp_seconds":1787309013,"priority":1,"record_length":96,"hex_timestamp":"000001a023eb3808"} 
[2026-08-21 16:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 16:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":159444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":159444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":159444,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:13:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.239.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551107072001,"66":14026,"219":206,"28":32256,"24":18,"16":29295744292749312,"45":982769911354300416},"client_ip":"117.224.239.118","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-08-21 16:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551107072001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:13:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 16:13:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-21 16:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29295744292749312,"km_value":29295744292749.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":982769911354300416,"description":"Unknown IO ID 45"} 
[2026-08-21 16:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551107072001,"power":14026,"unknown_219":206,"unknown_28":32256,"ignition":18,"odometer":null,"unknown_45":982769911354300416}} 
[2026-08-21 16:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":159444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:13:47] local.INFO: GPS data processed {"connection_id":159444,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:13:47] local.INFO: Acknowledgment sent {"connection_id":159444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:14:01] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:14:01] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:14:01] local.INFO: IMEI packet received {"connection_id":159156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:14:05] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:05] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:05] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:14:06] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:14:06] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:14:06] local.INFO: IMEI packet received {"connection_id":159156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":159156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:14:07] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:07] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:07] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:14:07] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ea4da8012d19768007203c600032005b2a..."} 
[2026-08-21 16:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ea4da8012d19768007203c600032005b2a..."} 
[2026-08-21 16:14:07] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ea4da8012d19768007203c600032005b2a..."} 
[2026-08-21 16:14:07] local.INFO: Packet analysis {"connection_id":159156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:14:07] local.INFO: Extracted packet for processing {"connection_id":159156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551086592001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308953000,"timestamp_ms":1787308953000,"timestamp_seconds":1787308953,"priority":1,"record_length":96,"hex_timestamp":"000001a023ea4da8"} 
[2026-08-21 16:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551086592001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551086592001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551086592001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":159156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:14:07] local.INFO: GPS data processed {"connection_id":159156,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:14:07] local.INFO: Acknowledgment sent {"connection_id":159156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:14:09] local.INFO: TCP Data received {"connection_id":160336,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:14:09] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:14:09] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:14:11] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:11] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:14:11] local.INFO: IMEI packet received {"connection_id":161700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":161700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:14:11] local.INFO: TCP Data received {"connection_id":160336,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:14:11] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:14:11] local.INFO: IMEI packet received {"connection_id":160336,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":160336,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:14:12] local.INFO: TCP Data received {"connection_id":160336,"ip":"117.224.239.118","data_length":795,"data_hex":"000000000000030f8e0a000001a023eb5360012d0da100070649a0001b00041d..."} 
[2026-08-21 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eb5360012d0da100070649a0001b00041d..."} 
[2026-08-21 16:14:12] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eb5360012d0da100070649a0001b00041d..."} 
[2026-08-21 16:14:12] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:14:12] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:14:12] local.INFO: GPS Element Parsed {"raw_longitude":755867904,"raw_latitude":117852576,"longitude_deg":75.5867904,"latitude_deg":11.7852576,"altitude":27,"angle":4,"satellites":29,"speed":26,"hex_longitude":"2d0da100","hex_latitude":"070649a0","is_valid_coordinates":true} 
[2026-08-21 16:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551107328001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29295959041114112,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982769911354411008,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787309020000,"timestamp_ms":1787309020000,"timestamp_seconds":1787309020,"priority":1,"record_length":96,"hex_timestamp":"000001a023eb5360"} 
[2026-08-21 16:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 16:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.239.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551107328001,"66":14450,"219":206,"28":32256,"24":26,"16":29295959041114112,"45":982769911354411008},"client_ip":"117.224.239.118","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,28,24,16,45]} 
[2026-08-21 16:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551107328001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:14:12] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 16:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-21 16:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29295959041114112,"km_value":29295959041114.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":982769911354411008,"description":"Unknown IO ID 45"} 
[2026-08-21 16:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551107328001,"power":14450,"unknown_219":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":982769911354411008}} 
[2026-08-21 16:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676538,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:14:12] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:14:12] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:14:21] local.INFO: TCP Data received {"connection_id":161700,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023eaf1b8012dd5d880051352f00007013e28..."} 
[2026-08-21 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eaf1b8012dd5d880051352f00007013e28..."} 
[2026-08-21 16:14:21] local.INFO: Processing buffer {"connection_id":161700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eaf1b8012dd5d880051352f00007013e28..."} 
[2026-08-21 16:14:21] local.INFO: Packet analysis {"connection_id":161700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:14:21] local.INFO: Extracted packet for processing {"connection_id":161700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:14:21] local.INFO: GPS Element Parsed {"raw_longitude":768989312,"raw_latitude":85152496,"longitude_deg":76.8989312,"latitude_deg":8.5152496,"altitude":7,"angle":318,"satellites":40,"speed":57,"hex_longitude":"2dd5d880","hex_latitude":"051352f0","is_valid_coordinates":true} 
[2026-08-21 16:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551100928001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388272083009798144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3030289208725547008,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787308995000,"timestamp_ms":1787308995000,"timestamp_seconds":1787308995,"priority":1,"record_length":96,"hex_timestamp":"000001a023eaf1b8"} 
[2026-08-21 16:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":161700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":161700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551100928001,"66":27865,"64":206,"80":34304,"24":57,"16":388272083009798144,"45":-3030289208725547008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,80,24,16,45]} 
[2026-08-21 16:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551100928001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:14:21] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-21 16:14:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388272083009798144,"km_value":388272083009798.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3030289208725547008,"description":"Unknown IO ID 45"} 
[2026-08-21 16:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551100928001,"power":27865,"unknown_64":206,"unknown_80":34304,"ignition":57,"odometer":null,"unknown_45":-3030289208725547008}} 
[2026-08-21 16:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":161700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:14:21] local.INFO: GPS data processed {"connection_id":161700,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:14:21] local.INFO: Acknowledgment sent {"connection_id":161700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:14:38] local.INFO: TCP Data received {"connection_id":159156,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ea9fb0012d19768007203c600032005b2a..."} 
[2026-08-21 16:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ea9fb0012d19768007203c600032005b2a..."} 
[2026-08-21 16:14:38] local.INFO: Processing buffer {"connection_id":159156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ea9fb0012d19768007203c600032005b2a..."} 
[2026-08-21 16:14:38] local.INFO: Packet analysis {"connection_id":159156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:14:38] local.INFO: Extracted packet for processing {"connection_id":159156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551091968001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787308974000,"timestamp_ms":1787308974000,"timestamp_seconds":1787308974,"priority":1,"record_length":96,"hex_timestamp":"000001a023ea9fb0"} 
[2026-08-21 16:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551091968001,"66":12406,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551091968001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:14:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551091968001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":159156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:14:39] local.INFO: GPS data processed {"connection_id":159156,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:14:39] local.INFO: Acknowledgment sent {"connection_id":159156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:14:44] local.INFO: TCP Data received {"connection_id":160336,"ip":"117.224.239.118","data_length":795,"data_hex":"000000000000030f8e0a000001a023ec2268012d0dcf0007067e10001d003a1d..."} 
[2026-08-21 16:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ec2268012d0dcf0007067e10001d003a1d..."} 
[2026-08-21 16:14:44] local.INFO: Processing buffer {"connection_id":160336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ec2268012d0dcf0007067e10001d003a1d..."} 
[2026-08-21 16:14:44] local.INFO: Packet analysis {"connection_id":160336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:14:44] local.INFO: Extracted packet for processing {"connection_id":160336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:14:44] local.INFO: GPS Element Parsed {"raw_longitude":755879680,"raw_latitude":117866000,"longitude_deg":75.587968,"latitude_deg":11.7866,"altitude":29,"angle":58,"satellites":29,"speed":14,"hex_longitude":"2d0dcf00","hex_latitude":"07067e10","is_valid_coordinates":true} 
[2026-08-21 16:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551122432001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29296946883592192,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994591860380758016,"note":"Value kept but may cause issues"} 
[2026-08-21 16:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787309073000,"timestamp_ms":1787309073000,"timestamp_seconds":1787309073,"priority":1,"record_length":96,"hex_timestamp":"000001a023ec2268"} 
[2026-08-21 16:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:14:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-08-21 16:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160336,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.239.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551122432001,"66":14537,"220":206,"28":32256,"24":14,"16":29296946883592192,"45":994591860380758016},"client_ip":"117.224.239.118","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-21 16:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551122432001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:14:44] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 16:14:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-21 16:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29296946883592192,"km_value":29296946883592.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":994591860380758016,"description":"Unknown IO ID 45"} 
[2026-08-21 16:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551122432001,"power":14537,"unknown_220":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":994591860380758016}} 
[2026-08-21 16:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":160336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676541,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:14:44] local.INFO: GPS data processed {"connection_id":160336,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:14:44] local.INFO: Acknowledgment sent {"connection_id":160336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:15:01] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:01] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:01] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:15:06] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:06] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:06] local.INFO: IMEI packet received {"connection_id":161702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":161702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:15:07] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023eaf1b8012d19768007203c600032005b2c..."} 
[2026-08-21 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eaf1b8012d19768007203c600032005b2c..."} 
[2026-08-21 16:15:07] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eaf1b8012d19768007203c600032005b2c..."} 
[2026-08-21 16:15:07] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:15:07] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ea"} 
[2026-08-21 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551097344001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787308995000,"timestamp_ms":1787308995000,"timestamp_seconds":1787308995,"priority":1,"record_length":96,"hex_timestamp":"000001a023eaf1b8"} 
[2026-08-21 16:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551097344001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551097344001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:15:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551097344001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:15:07] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:15:07] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:15:08] local.INFO: TCP Data received {"connection_id":159445,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:08] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:08] local.INFO: IMEI packet received {"connection_id":159445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":159445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:15:09] local.INFO: TCP Data received {"connection_id":159445,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:09] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:09] local.INFO: IMEI packet received {"connection_id":159445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":159445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:15:10] local.INFO: TCP Data received {"connection_id":159445,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:10] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:10] local.INFO: IMEI packet received {"connection_id":159445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":159445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:15:11] local.INFO: TCP Data received {"connection_id":159445,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:11] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:15:11] local.INFO: IMEI packet received {"connection_id":159445,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":159445,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:15:14] local.INFO: TCP Data received {"connection_id":159445,"ip":"117.224.239.118","data_length":795,"data_hex":"000000000000030f8e0a000001a023ec2650012d0dcfc007067f20001d00241d..."} 
[2026-08-21 16:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ec2650012d0dcfc007067f20001d00241d..."} 
[2026-08-21 16:15:14] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ec2650012d0dcfc007067f20001d00241d..."} 
[2026-08-21 16:15:14] local.INFO: Packet analysis {"connection_id":159445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:15:14] local.INFO: Extracted packet for processing {"connection_id":159445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:15:14] local.INFO: GPS Element Parsed {"raw_longitude":755879872,"raw_latitude":117866272,"longitude_deg":75.5879872,"latitude_deg":11.7866272,"altitude":29,"angle":36,"satellites":29,"speed":15,"hex_longitude":"2d0dcfc0","hex_latitude":"07067f20","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551122688001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29296964063461376,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995014072845864960,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787309074000,"timestamp_ms":1787309074000,"timestamp_seconds":1787309074,"priority":1,"record_length":96,"hex_timestamp":"000001a023ec2650"} 
[2026-08-21 16:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":201,"data_length":795,"current_offset":136} 
[2026-08-21 16:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.239.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551122688001,"66":14537,"220":206,"28":32256,"24":15,"16":29296964063461376,"45":995014072845864960},"client_ip":"117.224.239.118","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-21 16:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551122688001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:15:14] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 16:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-21 16:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29296964063461376,"km_value":29296964063461.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":995014072845864960,"description":"Unknown IO ID 45"} 
[2026-08-21 16:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551122688001,"power":14537,"unknown_220":206,"unknown_28":32256,"ignition":15,"odometer":null,"unknown_45":995014072845864960}} 
[2026-08-21 16:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":159445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676543,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:15:15] local.INFO: GPS data processed {"connection_id":159445,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:15:15] local.INFO: Acknowledgment sent {"connection_id":159445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:15:36] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:15:36] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:15:36] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:15:38] local.INFO: TCP Data received {"connection_id":161702,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023eb43c0012d19768007203c600032005b2c..."} 
[2026-08-21 16:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eb43c0012d19768007203c600032005b2c..."} 
[2026-08-21 16:15:38] local.INFO: Processing buffer {"connection_id":161702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eb43c0012d19768007203c600032005b2c..."} 
[2026-08-21 16:15:38] local.INFO: Packet analysis {"connection_id":161702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:15:38] local.INFO: Extracted packet for processing {"connection_id":161702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551102720001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309016000,"timestamp_ms":1787309016000,"timestamp_seconds":1787309016,"priority":1,"record_length":96,"hex_timestamp":"000001a023eb43c0"} 
[2026-08-21 16:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551102720001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551102720001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:15:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551102720001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":161702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:15:38] local.INFO: GPS data processed {"connection_id":161702,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:15:38] local.INFO: Acknowledgment sent {"connection_id":161702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:15:46] local.INFO: TCP Data received {"connection_id":159445,"ip":"117.224.239.118","data_length":795,"data_hex":"000000000000030f8e0a000001a023ecf558012d0dcd800706ca68002701651e..."} 
[2026-08-21 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ecf558012d0dcd800706ca68002701651e..."} 
[2026-08-21 16:15:46] local.INFO: Processing buffer {"connection_id":159445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ecf558012d0dcd800706ca68002701651e..."} 
[2026-08-21 16:15:46] local.INFO: Packet analysis {"connection_id":159445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:15:46] local.INFO: Extracted packet for processing {"connection_id":159445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":755879296,"raw_latitude":117885544,"longitude_deg":75.5879296,"latitude_deg":11.7885544,"altitude":39,"angle":357,"satellites":30,"speed":24,"hex_longitude":"2d0dcd80","hex_latitude":"0706ca68","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551136256001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29298381402669056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":994591860385640448,"note":"Value kept but may cause issues"} 
[2026-08-21 16:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787309127000,"timestamp_ms":1787309127000,"timestamp_seconds":1787309127,"priority":1,"record_length":96,"hex_timestamp":"000001a023ecf558"} 
[2026-08-21 16:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:15:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 16:15: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-08-21 16: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-08-21 16:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159445,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.239.118","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551136256001,"66":14396,"220":206,"28":32256,"24":24,"16":29298381402669056,"45":994591860385640448},"client_ip":"117.224.239.118","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,28,24,16,45]} 
[2026-08-21 16:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551136256001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:15:46] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 16:15:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-08-21 16:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29298381402669056,"km_value":29298381402669.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":994591860385640448,"description":"Unknown IO ID 45"} 
[2026-08-21 16:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551136256001,"power":14396,"unknown_220":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":994591860385640448}} 
[2026-08-21 16:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":159445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676545,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:15:46] local.INFO: GPS data processed {"connection_id":159445,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:15:46] local.INFO: Acknowledgment sent {"connection_id":159445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:15:54] local.INFO: TCP Data received {"connection_id":161701,"ip":"42.106.6.35","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161701,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 16:15:54] local.INFO: Processing buffer {"connection_id":161701,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 16:15:54] local.INFO: IMEI packet received {"connection_id":161701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":161701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:15:59] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:59] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:15:59] local.INFO: IMEI packet received {"connection_id":159446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":159446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:16:02] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:16:02] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:16:02] local.INFO: IMEI packet received {"connection_id":159446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":159446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:16:06] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:16:06] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:16:06] local.INFO: IMEI packet received {"connection_id":159446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":159446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:16:07] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023eb95c8012d19768007203c600032005b2b..."} 
[2026-08-21 16:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eb95c8012d19768007203c600032005b2b..."} 
[2026-08-21 16:16:07] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eb95c8012d19768007203c600032005b2b..."} 
[2026-08-21 16:16:07] local.INFO: Packet analysis {"connection_id":159446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:16:07] local.INFO: Extracted packet for processing {"connection_id":159446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551108096001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309037000,"timestamp_ms":1787309037000,"timestamp_seconds":1787309037,"priority":1,"record_length":96,"hex_timestamp":"000001a023eb95c8"} 
[2026-08-21 16:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551108096001,"66":12406,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551108096001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:16:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551108096001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":159446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:16:07] local.INFO: GPS data processed {"connection_id":159446,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:16:07] local.INFO: Acknowledgment sent {"connection_id":159446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:16:08] local.INFO: TCP Data received {"connection_id":159157,"ip":"117.224.239.118","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159157,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:16:08] local.INFO: Processing buffer {"connection_id":159157,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:16:08] local.INFO: IMEI packet received {"connection_id":159157,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":159157,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:16:38] local.INFO: TCP Data received {"connection_id":159446,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ebe7d0012d19768007203c600032005b2b..."} 
[2026-08-21 16:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ebe7d0012d19768007203c600032005b2b..."} 
[2026-08-21 16:16:38] local.INFO: Processing buffer {"connection_id":159446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ebe7d0012d19768007203c600032005b2b..."} 
[2026-08-21 16:16:38] local.INFO: Packet analysis {"connection_id":159446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:16:38] local.INFO: Extracted packet for processing {"connection_id":159446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551113472001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309058000,"timestamp_ms":1787309058000,"timestamp_seconds":1787309058,"priority":1,"record_length":96,"hex_timestamp":"000001a023ebe7d0"} 
[2026-08-21 16:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551113472001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551113472001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:16:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551113472001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":159446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:16:38] local.INFO: GPS data processed {"connection_id":159446,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:16:38] local.INFO: Acknowledgment sent {"connection_id":159446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:17:01] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:01] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:01] local.INFO: IMEI packet received {"connection_id":159447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":159447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:17:02] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:02] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:02] local.INFO: IMEI packet received {"connection_id":159447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":159447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:17:06] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:06] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:17:06] local.INFO: IMEI packet received {"connection_id":159447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":159447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:17:07] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ec39d8012d19768007203c600032005b2b..."} 
[2026-08-21 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ec39d8012d19768007203c600032005b2b..."} 
[2026-08-21 16:17:07] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ec39d8012d19768007203c600032005b2b..."} 
[2026-08-21 16:17:07] local.INFO: Packet analysis {"connection_id":159447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:17:07] local.INFO: Extracted packet for processing {"connection_id":159447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551118848001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309079000,"timestamp_ms":1787309079000,"timestamp_seconds":1787309079,"priority":1,"record_length":96,"hex_timestamp":"000001a023ec39d8"} 
[2026-08-21 16:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551118848001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551118848001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:17:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551118848001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":159447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:17:07] local.INFO: GPS data processed {"connection_id":159447,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:17:07] local.INFO: Acknowledgment sent {"connection_id":159447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:17:38] local.INFO: TCP Data received {"connection_id":159447,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ec8be0012d19768007203c600032005b2a..."} 
[2026-08-21 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ec8be0012d19768007203c600032005b2a..."} 
[2026-08-21 16:17:38] local.INFO: Processing buffer {"connection_id":159447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ec8be0012d19768007203c600032005b2a..."} 
[2026-08-21 16:17:38] local.INFO: Packet analysis {"connection_id":159447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:17:38] local.INFO: Extracted packet for processing {"connection_id":159447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551124224001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309100000,"timestamp_ms":1787309100000,"timestamp_seconds":1787309100,"priority":1,"record_length":96,"hex_timestamp":"000001a023ec8be0"} 
[2026-08-21 16:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551124224001,"66":12363,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551124224001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:17:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551124224001,"power":12363,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:17:38] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:17:38] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:17:38] local.INFO: IMEI packet received {"connection_id":159158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":159158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":159447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:17:38] local.INFO: GPS data processed {"connection_id":159447,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:17:38] local.INFO: Acknowledgment sent {"connection_id":159447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:17:40] local.INFO: TCP Data received {"connection_id":159158,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159158,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:17:40] local.INFO: Processing buffer {"connection_id":159158,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:17:40] local.INFO: IMEI packet received {"connection_id":159158,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":159158,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:18:01] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:01] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:01] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:18:07] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:07] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:07] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:18:08] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:08] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:18:08] local.INFO: IMEI packet received {"connection_id":160338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":160338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:18:09] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ecdde8012d19768007203c600032005b2a..."} 
[2026-08-21 16:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ecdde8012d19768007203c600032005b2a..."} 
[2026-08-21 16:18:09] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ecdde8012d19768007203c600032005b2a..."} 
[2026-08-21 16:18:09] local.INFO: Packet analysis {"connection_id":160338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:18:09] local.INFO: Extracted packet for processing {"connection_id":160338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ec"} 
[2026-08-21 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551129600001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787309121000,"timestamp_ms":1787309121000,"timestamp_seconds":1787309121,"priority":1,"record_length":96,"hex_timestamp":"000001a023ecdde8"} 
[2026-08-21 16:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-21 16:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551129600001,"66":12406,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551129600001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551129600001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":160338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:18:09] local.INFO: GPS data processed {"connection_id":160338,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:18:09] local.INFO: Acknowledgment sent {"connection_id":160338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:18:12] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ed2ff0012d19768007203c600032005b2a..."} 
[2026-08-21 16:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ed2ff0012d19768007203c600032005b2a..."} 
[2026-08-21 16:18:12] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ed2ff0012d19768007203c600032005b2a..."} 
[2026-08-21 16:18:12] local.INFO: Packet analysis {"connection_id":160338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:18:12] local.INFO: Extracted packet for processing {"connection_id":160338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551134976001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787309142000,"timestamp_ms":1787309142000,"timestamp_seconds":1787309142,"priority":1,"record_length":96,"hex_timestamp":"000001a023ed2ff0"} 
[2026-08-21 16:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551134976001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551134976001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551134976001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":160338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:18:12] local.INFO: GPS data processed {"connection_id":160338,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:18:12] local.INFO: Acknowledgment sent {"connection_id":160338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:18:43] local.INFO: TCP Data received {"connection_id":160338,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ed81f8012d19768007203c600032005b29..."} 
[2026-08-21 16:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ed81f8012d19768007203c600032005b29..."} 
[2026-08-21 16:18:43] local.INFO: Processing buffer {"connection_id":160338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ed81f8012d19768007203c600032005b29..."} 
[2026-08-21 16:18:43] local.INFO: Packet analysis {"connection_id":160338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:18:43] local.INFO: Extracted packet for processing {"connection_id":160338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551140352001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787309163000,"timestamp_ms":1787309163000,"timestamp_seconds":1787309163,"priority":1,"record_length":96,"hex_timestamp":"000001a023ed81f8"} 
[2026-08-21 16:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551140352001,"66":11406,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551140352001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:18:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:18:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551140352001,"power":11406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":160338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:18:43] local.INFO: GPS data processed {"connection_id":160338,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:18:43] local.INFO: Acknowledgment sent {"connection_id":160338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:19:06] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:19:06] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:19:06] local.INFO: IMEI packet received {"connection_id":159448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":159448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:19:09] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:19:09] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:19:09] local.INFO: IMEI packet received {"connection_id":159448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":159448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:19:09] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023edd400012d19768007203c600032005b29..."} 
[2026-08-21 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023edd400012d19768007203c600032005b29..."} 
[2026-08-21 16:19:09] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023edd400012d19768007203c600032005b29..."} 
[2026-08-21 16:19:09] local.INFO: Packet analysis {"connection_id":159448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:19:09] local.INFO: Extracted packet for processing {"connection_id":159448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551145728001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787309184000,"timestamp_ms":1787309184000,"timestamp_seconds":1787309184,"priority":1,"record_length":96,"hex_timestamp":"000001a023edd400"} 
[2026-08-21 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-08-21 16:19:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1696,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551145728001,"66":12374,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551145728001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551145728001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":159448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:19:10] local.INFO: GPS data processed {"connection_id":159448,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:19:10] local.INFO: Acknowledgment sent {"connection_id":159448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:19:11] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ee2608012d19768007203c600032005b29..."} 
[2026-08-21 16:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ee2608012d19768007203c600032005b29..."} 
[2026-08-21 16:19:11] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ee2608012d19768007203c600032005b29..."} 
[2026-08-21 16:19:11] local.INFO: Packet analysis {"connection_id":159448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ee"} 
[2026-08-21 16:19:11] local.INFO: Extracted packet for processing {"connection_id":159448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ee"} 
[2026-08-21 16:19:11] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551151104001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787309205000,"timestamp_ms":1787309205000,"timestamp_seconds":1787309205,"priority":1,"record_length":96,"hex_timestamp":"000001a023ee2608"} 
[2026-08-21 16:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 16:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551151104001,"66":12406,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551151104001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:19:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:19:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551151104001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":159448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:19:11] local.INFO: GPS data processed {"connection_id":159448,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:19:11] local.INFO: Acknowledgment sent {"connection_id":159448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:19:43] local.INFO: TCP Data received {"connection_id":159448,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ee7810012d19768007203c600032005b2b..."} 
[2026-08-21 16:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ee7810012d19768007203c600032005b2b..."} 
[2026-08-21 16:19:43] local.INFO: Processing buffer {"connection_id":159448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ee7810012d19768007203c600032005b2b..."} 
[2026-08-21 16:19:43] local.INFO: Packet analysis {"connection_id":159448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ee"} 
[2026-08-21 16:19:43] local.INFO: Extracted packet for processing {"connection_id":159448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ee"} 
[2026-08-21 16:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551156480001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787309226000,"timestamp_ms":1787309226000,"timestamp_seconds":1787309226,"priority":1,"record_length":96,"hex_timestamp":"000001a023ee7810"} 
[2026-08-21 16:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551156480001,"66":12178,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551156480001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:19:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551156480001,"power":12178,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":159448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:19:43] local.INFO: GPS data processed {"connection_id":159448,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:19:43] local.INFO: Acknowledgment sent {"connection_id":159448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:20:01] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:20:01] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:20:01] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:20:06] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:20:06] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:20:06] local.INFO: IMEI packet received {"connection_id":160340,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":160340,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:20:07] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023eeca18012d19768007203c600032005b29..."} 
[2026-08-21 16:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eeca18012d19768007203c600032005b29..."} 
[2026-08-21 16:20:07] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eeca18012d19768007203c600032005b29..."} 
[2026-08-21 16:20:07] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ee"} 
[2026-08-21 16:20:07] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ee"} 
[2026-08-21 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551161856001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309247000,"timestamp_ms":1787309247000,"timestamp_seconds":1787309247,"priority":1,"record_length":96,"hex_timestamp":"000001a023eeca18"} 
[2026-08-21 16:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 16:20:07] 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-08-21 16:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551161856001,"66":12406,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551161856001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551161856001,"power":12406,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:20:07] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:20:07] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:20:38] local.INFO: TCP Data received {"connection_id":160340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ef1c20012d19768007203c600032005b2b..."} 
[2026-08-21 16:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ef1c20012d19768007203c600032005b2b..."} 
[2026-08-21 16:20:38] local.INFO: Processing buffer {"connection_id":160340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ef1c20012d19768007203c600032005b2b..."} 
[2026-08-21 16:20:38] local.INFO: Packet analysis {"connection_id":160340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ef"} 
[2026-08-21 16:20:38] local.INFO: Extracted packet for processing {"connection_id":160340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ef"} 
[2026-08-21 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551167232001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309268000,"timestamp_ms":1787309268000,"timestamp_seconds":1787309268,"priority":1,"record_length":96,"hex_timestamp":"000001a023ef1c20"} 
[2026-08-21 16:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160340,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551167232001,"66":12363,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551167232001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:20:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551167232001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":160340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:20:38] local.INFO: GPS data processed {"connection_id":160340,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:20:38] local.INFO: Acknowledgment sent {"connection_id":160340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:20:51] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:20:51] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:20:51] local.INFO: IMEI packet received {"connection_id":159162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":159162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:20:55] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:20:55] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:20:55] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:20:56] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:20:56] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:20:56] local.INFO: IMEI packet received {"connection_id":159162,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":159162,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:20:57] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:20:57] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:20:57] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:20:58] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023eb4b90012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eb4b90012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:20:58] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eb4b90012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:20:58] local.INFO: Packet analysis {"connection_id":159162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:20:58] local.INFO: Extracted packet for processing {"connection_id":159162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551070464001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787309018000,"timestamp_ms":1787309018000,"timestamp_seconds":1787309018,"priority":1,"record_length":96,"hex_timestamp":"000001a023eb4b90"} 
[2026-08-21 16:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5888,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":424580641315094593,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":18343152486194944,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":131,"raw_value":-2449958197289549823,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2583744366995405343,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926404055331,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":1466485509130813646,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3702349825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":43,"raw_value":283468496900,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2212364288,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3832141824,"note":"Value kept but may cause issues"} 
[2026-08-21 16:20:58] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,114,85,24,241,157,16,131,160,39,45,105,44,10,66,35,69,240,161,228,4,113,205,97,31,216,43,239,1,20,2,176,5],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[]} 
[2026-08-21 16:20:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1152993157546246144,"timestamp_seconds":1152993157546246.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:20: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-08-21 16:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551070464001,"66":12330,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551070464001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:20:58] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551070464001,"power":12330,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":159162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:20:58] local.INFO: GPS data processed {"connection_id":159162,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:20:58] local.INFO: Acknowledgment sent {"connection_id":159162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:21:01] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:21:01] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:21:01] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:21:04] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:21:04] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:21:04] local.INFO: IMEI packet received {"connection_id":160341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":160341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:21:06] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:21:06] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:21:06] local.INFO: IMEI packet received {"connection_id":161705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":161705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:21:07] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ef6e28012d19768007203c600032005b29..."} 
[2026-08-21 16:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ef6e28012d19768007203c600032005b29..."} 
[2026-08-21 16:21:07] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ef6e28012d19768007203c600032005b29..."} 
[2026-08-21 16:21:07] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ef"} 
[2026-08-21 16:21:07] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ef"} 
[2026-08-21 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551172608001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309289000,"timestamp_ms":1787309289000,"timestamp_seconds":1787309289,"priority":1,"record_length":96,"hex_timestamp":"000001a023ef6e28"} 
[2026-08-21 16:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-21 16:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551172608001,"66":12385,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551172608001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551172608001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:21:07] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:21:07] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:21:11] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f0a2c0012dd33700051639d8000b01462b..."} 
[2026-08-21 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f0a2c0012dd33700051639d8000b01462b..."} 
[2026-08-21 16:21:11] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f0a2c0012dd33700051639d8000b01462b..."} 
[2026-08-21 16:21:11] local.INFO: Packet analysis {"connection_id":160341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:21:11] local.INFO: Extracted packet for processing {"connection_id":160341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:21:11] local.INFO: GPS Element Parsed {"raw_longitude":768816896,"raw_latitude":85342680,"longitude_deg":76.8816896,"latitude_deg":8.534268,"altitude":11,"angle":326,"satellites":43,"speed":37,"hex_longitude":"2dd33700","hex_latitude":"051639d8","is_valid_coordinates":true} 
[2026-08-21 16:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551194880001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388284499760250880,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3221340349119342592,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787309368000,"timestamp_ms":1787309368000,"timestamp_seconds":1787309368,"priority":1,"record_length":96,"hex_timestamp":"000001a023f0a2c0"} 
[2026-08-21 16:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 16:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551194880001,"66":27908,"51":206,"80":34304,"24":37,"16":388284499760250880,"45":-3221340349119342592},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-08-21 16:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551194880001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:21:11] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 16:21:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388284499760250880,"km_value":388284499760250.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3221340349119342592,"description":"Unknown IO ID 45"} 
[2026-08-21 16:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551194880001,"power":27908,"unknown_51":206,"unknown_80":34304,"ignition":37,"odometer":null,"unknown_45":-3221340349119342592}} 
[2026-08-21 16:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":160341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:21:11] local.INFO: GPS data processed {"connection_id":160341,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:21:11] local.INFO: Acknowledgment sent {"connection_id":160341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:21:31] local.INFO: TCP Data received {"connection_id":159162,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a023eb4b90012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023eb4b90012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:21:31] local.INFO: Processing buffer {"connection_id":159162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023eb4b90012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:21:31] local.INFO: Packet analysis {"connection_id":159162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:21:31] local.INFO: Extracted packet for processing {"connection_id":159162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023eb"} 
[2026-08-21 16:21:31] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551108608001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787309018000,"timestamp_ms":1787309018000,"timestamp_seconds":1787309018,"priority":1,"record_length":96,"hex_timestamp":"000001a023eb4b90"} 
[2026-08-21 16:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 16:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159162,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551108608001,"66":12330,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551108608001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:21:31] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:21:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551108608001,"power":12330,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":159162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:21:31] local.INFO: GPS data processed {"connection_id":159162,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:21:31] local.INFO: Acknowledgment sent {"connection_id":159162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:21:38] local.INFO: TCP Data received {"connection_id":161705,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023efc030012d19768007203c600032005b2a..."} 
[2026-08-21 16:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023efc030012d19768007203c600032005b2a..."} 
[2026-08-21 16:21:38] local.INFO: Processing buffer {"connection_id":161705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023efc030012d19768007203c600032005b2a..."} 
[2026-08-21 16:21:38] local.INFO: Packet analysis {"connection_id":161705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ef"} 
[2026-08-21 16:21:38] local.INFO: Extracted packet for processing {"connection_id":161705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ef"} 
[2026-08-21 16:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551177984001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309310000,"timestamp_ms":1787309310000,"timestamp_seconds":1787309310,"priority":1,"record_length":96,"hex_timestamp":"000001a023efc030"} 
[2026-08-21 16:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551177984001,"66":12385,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551177984001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:21:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551177984001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":161705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:21:38] local.INFO: GPS data processed {"connection_id":161705,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:21:38] local.INFO: Acknowledgment sent {"connection_id":161705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:21:44] local.INFO: TCP Data received {"connection_id":160341,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f1cf88012dd2894005177940000c01652d..."} 
[2026-08-21 16:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f1cf88012dd2894005177940000c01652d..."} 
[2026-08-21 16:21:44] local.INFO: Processing buffer {"connection_id":160341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f1cf88012dd2894005177940000c01652d..."} 
[2026-08-21 16:21:44] local.INFO: Packet analysis {"connection_id":160341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:21:44] local.INFO: Extracted packet for processing {"connection_id":160341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:21:44] local.INFO: GPS Element Parsed {"raw_longitude":768772416,"raw_latitude":85424448,"longitude_deg":76.8772416,"latitude_deg":8.5424448,"altitude":12,"angle":357,"satellites":45,"speed":49,"hex_longitude":"2dd28940","hex_latitude":"05177940","is_valid_coordinates":true} 
[2026-08-21 16:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551216128001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388289095375257600,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3275524282115526656,"note":"Value kept but may cause issues"} 
[2026-08-21 16:21:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 16:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787309445000,"timestamp_ms":1787309445000,"timestamp_seconds":1787309445,"priority":1,"record_length":96,"hex_timestamp":"000001a023f1cf88"} 
[2026-08-21 16:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 16:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551216128001,"66":27984,"80":34304,"24":49,"16":388289095375257600,"45":-3275524282115526656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 16:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551216128001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:21:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388289095375257600,"km_value":388289095375257.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3275524282115526656,"description":"Unknown IO ID 45"} 
[2026-08-21 16:21:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457551216128001,"power":27984,"unknown_80":34304,"ignition":49,"odometer":null,"unknown_45":-3275524282115526656}} 
[2026-08-21 16:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":160341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:21:44] local.INFO: GPS data processed {"connection_id":160341,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:21:44] local.INFO: Acknowledgment sent {"connection_id":160341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:21:56] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:21:56] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:21:56] local.INFO: IMEI packet received {"connection_id":159450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":159450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:21:57] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:21:57] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:21:57] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:22:01] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:22:01] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:22:01] local.INFO: IMEI packet received {"connection_id":161708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":161708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:22:01] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:22:01] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:22:01] local.INFO: IMEI packet received {"connection_id":159450,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":159450,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:22:03] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:22:03] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:22:03] local.INFO: IMEI packet received {"connection_id":161707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":161707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:22:05] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a023ed9d50012d7a1f0005e469d80010004129..."} 
[2026-08-21 16:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ed9d50012d7a1f0005e469d80010004129..."} 
[2026-08-21 16:22:05] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ed9d50012d7a1f0005e469d80010004129..."} 
[2026-08-21 16:22:05] local.INFO: Packet analysis {"connection_id":159450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:22:05] local.INFO: Extracted packet for processing {"connection_id":159450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ed"} 
[2026-08-21 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":41,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551108608001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787309170000,"timestamp_ms":1787309170000,"timestamp_seconds":1787309170,"priority":1,"record_length":96,"hex_timestamp":"000001a023ed9d50"} 
[2026-08-21 16:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":6144,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 16:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551108608001,"66":2122,"114":206,"85":15104,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,45]} 
[2026-08-21 16:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551108608001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-08-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 16:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551108608001,"power":2122,"unknown_114":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":159450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:22:05] local.INFO: GPS data processed {"connection_id":159450,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:22:05] local.INFO: Acknowledgment sent {"connection_id":159450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:22:06] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f1eec8012dd286000517a080000c01642d..."} 
[2026-08-21 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f1eec8012dd286000517a080000c01642d..."} 
[2026-08-21 16:22:06] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f1eec8012dd286000517a080000c01642d..."} 
[2026-08-21 16:22:06] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:22:06] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":768771584,"raw_latitude":85434496,"longitude_deg":76.8771584,"latitude_deg":8.5434496,"altitude":12,"angle":356,"satellites":45,"speed":52,"hex_longitude":"2dd28600","hex_latitude":"0517a080","is_valid_coordinates":true} 
[2026-08-21 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551217920001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388289585001529344,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3276016863322488832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 16:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787309453000,"timestamp_ms":1787309453000,"timestamp_seconds":1787309453,"priority":1,"record_length":96,"hex_timestamp":"000001a023f1eec8"} 
[2026-08-21 16:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:22:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-08-21 16:22:06] 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-08-21 16:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551217920001,"66":27876,"80":34304,"24":52,"16":388289585001529344,"45":-3276016863322488832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 16:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551217920001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:22:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388289585001529344,"km_value":388289585001529.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3276016863322488832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:22:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457551217920001,"power":27876,"unknown_80":34304,"ignition":52,"odometer":null,"unknown_45":-3276016863322488832}} 
[2026-08-21 16:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:22:06] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:22:06] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:22:06] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:22:06] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:22:06] local.INFO: IMEI packet received {"connection_id":161708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":161708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:22:07] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f01238012d19768007203c600032005b2c..."} 
[2026-08-21 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f01238012d19768007203c600032005b2c..."} 
[2026-08-21 16:22:07] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f01238012d19768007203c600032005b2c..."} 
[2026-08-21 16:22:07] local.INFO: Packet analysis {"connection_id":161708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:22:07] local.INFO: Extracted packet for processing {"connection_id":161708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551183360001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309331000,"timestamp_ms":1787309331000,"timestamp_seconds":1787309331,"priority":1,"record_length":96,"hex_timestamp":"000001a023f01238"} 
[2026-08-21 16:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551183360001,"66":12385,"106":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551183360001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551183360001,"power":12385,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":161708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:22:07] local.INFO: GPS data processed {"connection_id":161708,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:22:07] local.INFO: Acknowledgment sent {"connection_id":161708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:22:38] local.INFO: TCP Data received {"connection_id":159450,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:22:38] local.INFO: Processing buffer {"connection_id":159450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:22:38] local.INFO: Packet analysis {"connection_id":159450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:22:38] local.INFO: Extracted packet for processing {"connection_id":159450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551147520001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:38] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309383000,"timestamp_ms":1787309383000,"timestamp_seconds":1787309383,"priority":1,"record_length":96,"hex_timestamp":"000001a023f0dd58"} 
[2026-08-21 16:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-08-21 16:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159450,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551147520001,"66":1514,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551147520001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457551147520001,"power":1514,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":159450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:22:38] local.INFO: GPS data processed {"connection_id":159450,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:22:38] local.INFO: Acknowledgment sent {"connection_id":159450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:22:38] local.INFO: TCP Data received {"connection_id":161708,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f06440012d19768007203c600032005b24..."} 
[2026-08-21 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f06440012d19768007203c600032005b24..."} 
[2026-08-21 16:22:38] local.INFO: Processing buffer {"connection_id":161708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f06440012d19768007203c600032005b24..."} 
[2026-08-21 16:22:38] local.INFO: Packet analysis {"connection_id":161708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:22:38] local.INFO: Extracted packet for processing {"connection_id":161708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551188736001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309352000,"timestamp_ms":1787309352000,"timestamp_seconds":1787309352,"priority":1,"record_length":96,"hex_timestamp":"000001a023f06440"} 
[2026-08-21 16:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551188736001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551188736001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:22:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551188736001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":161708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:22:39] local.INFO: GPS data processed {"connection_id":161708,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:22:39] local.INFO: Acknowledgment sent {"connection_id":161708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:22:39] local.INFO: TCP Data received {"connection_id":161707,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f20e08012dd285800517c510000c01672b..."} 
[2026-08-21 16:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f20e08012dd285800517c510000c01672b..."} 
[2026-08-21 16:22:39] local.INFO: Processing buffer {"connection_id":161707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f20e08012dd285800517c510000c01672b..."} 
[2026-08-21 16:22:39] local.INFO: Packet analysis {"connection_id":161707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:22:39] local.INFO: Extracted packet for processing {"connection_id":161707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:22:39] local.INFO: GPS Element Parsed {"raw_longitude":768771456,"raw_latitude":85443856,"longitude_deg":76.8771456,"latitude_deg":8.5443856,"altitude":12,"angle":359,"satellites":43,"speed":42,"hex_longitude":"2dd28580","hex_latitude":"0517c510","is_valid_coordinates":true} 
[2026-08-21 16:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551219968001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388290040268062720,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3276931656994226176,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 16:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787309461000,"timestamp_ms":1787309461000,"timestamp_seconds":1787309461,"priority":1,"record_length":96,"hex_timestamp":"000001a023f20e08"} 
[2026-08-21 16:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:22:39] 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-08-21 16:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551219968001,"66":28028,"80":34304,"24":42,"16":388290040268062720,"45":-3276931656994226176},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 16:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551219968001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:22:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388290040268062720,"km_value":388290040268062.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3276931656994226176,"description":"Unknown IO ID 45"} 
[2026-08-21 16:22:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457551219968001,"power":28028,"unknown_80":34304,"ignition":42,"odometer":null,"unknown_45":-3276931656994226176}} 
[2026-08-21 16:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":161707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:22:39] local.INFO: GPS data processed {"connection_id":161707,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:22:39] local.INFO: Acknowledgment sent {"connection_id":161707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:22:44] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:22:44] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:22:44] local.INFO: IMEI packet received {"connection_id":160342,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":160342,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:22:44] local.INFO: TCP Data received {"connection_id":160342,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f22578012d0b9fc007071180001501011e..."} 
[2026-08-21 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f22578012d0b9fc007071180001501011e..."} 
[2026-08-21 16:22:44] local.INFO: Processing buffer {"connection_id":160342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f22578012d0b9fc007071180001501011e..."} 
[2026-08-21 16:22:44] local.INFO: Packet analysis {"connection_id":160342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:22:44] local.INFO: Extracted packet for processing {"connection_id":160342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:22:44] local.INFO: GPS Element Parsed {"raw_longitude":755736512,"raw_latitude":117903744,"longitude_deg":75.5736512,"latitude_deg":11.7903744,"altitude":21,"angle":257,"satellites":30,"speed":32,"hex_longitude":"2d0b9fc0","hex_latitude":"07071180","is_valid_coordinates":true} 
[2026-08-21 16:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551222016001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29307538272944128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842173160502030336,"note":"Value kept but may cause issues"} 
[2026-08-21 16:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787309467000,"timestamp_ms":1787309467000,"timestamp_seconds":1787309467,"priority":1,"record_length":96,"hex_timestamp":"000001a023f22578"} 
[2026-08-21 16:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 16:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160342,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551222016001,"66":14515,"163":206,"94":10240,"24":32,"16":29307538272944128,"45":842173160502030336},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 16:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551222016001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:22:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 16:22:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29307538272944128,"km_value":29307538272944.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":842173160502030336,"description":"Unknown IO ID 45"} 
[2026-08-21 16:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551222016001,"power":14515,"unknown_163":206,"unknown_94":10240,"ignition":32,"odometer":null,"unknown_45":842173160502030336}} 
[2026-08-21 16:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":160342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:22:44] local.INFO: GPS data processed {"connection_id":160342,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:22:44] local.INFO: Acknowledgment sent {"connection_id":160342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:22:58] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:22:58] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:22:58] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:23:01] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:23:01] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:23:01] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:23:03] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:23:03] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:23:03] local.INFO: IMEI packet received {"connection_id":159451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":159451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:23:05] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:23:05] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:23:05] local.INFO: IMEI packet received {"connection_id":159451,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":159451,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:23:06] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:23:06] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:23:06] local.INFO: IMEI packet received {"connection_id":160344,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":160344,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:23:07] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f0b648012d19768007203c600032005b2d..."} 
[2026-08-21 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f0b648012d19768007203c600032005b2d..."} 
[2026-08-21 16:23:07] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f0b648012d19768007203c600032005b2d..."} 
[2026-08-21 16:23:07] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:23:07] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551194112001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309373000,"timestamp_ms":1787309373000,"timestamp_seconds":1787309373,"priority":1,"record_length":96,"hex_timestamp":"000001a023f0b648"} 
[2026-08-21 16:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551194112001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551194112001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551194112001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:07] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:07] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:23:08] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:08] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:08] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:23:09] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:09] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:09] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:23:13] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:13] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:23:13] local.INFO: IMEI packet received {"connection_id":161709,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":161709,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:23:14] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f37180012d0aef4007066fd0000e00ed1d..."} 
[2026-08-21 16:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f37180012d0aef4007066fd0000e00ed1d..."} 
[2026-08-21 16:23:14] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f37180012d0aef4007066fd0000e00ed1d..."} 
[2026-08-21 16:23:14] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:23:14] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:23:14] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117862352,"longitude_deg":75.5691328,"latitude_deg":11.7862352,"altitude":14,"angle":237,"satellites":29,"speed":0,"hex_longitude":"2d0aef40","hex_latitude":"07066fd0","is_valid_coordinates":true} 
[2026-08-21 16:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551240192001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29310716548743168,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":789889183567360000,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787309552000,"timestamp_ms":1787309552000,"timestamp_seconds":1787309552,"priority":1,"record_length":96,"hex_timestamp":"000001a023f37180"} 
[2026-08-21 16:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551240192001,"66":14537,"163":206,"94":10240,"24":0,"16":29310716548743168,"45":789889183567360000},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 16:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551240192001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 16:23:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29310716548743168,"km_value":29310716548743.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":789889183567360000,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551240192001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":789889183567360000}} 
[2026-08-21 16:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:14] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:14] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:23:18] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:23:18] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:23:18] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:23:25] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:23:25] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:23:25] local.INFO: Packet analysis {"connection_id":159451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:23:25] local.INFO: Extracted packet for processing {"connection_id":159451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551202048001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:25] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787309383000,"timestamp_ms":1787309383000,"timestamp_seconds":1787309383,"priority":1,"record_length":96,"hex_timestamp":"000001a023f0dd58"} 
[2026-08-21 16:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16: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":5,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2329,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551202048001,"66":1514,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551202048001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:25] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457551202048001,"power":1514,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":159451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:25] local.INFO: GPS data processed {"connection_id":159451,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:25] local.INFO: Acknowledgment sent {"connection_id":159451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:23:26] local.INFO: TCP Data received {"connection_id":159451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:23:27] local.INFO: Processing buffer {"connection_id":159451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:23:27] local.INFO: Packet analysis {"connection_id":159451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:23:27] local.INFO: Extracted packet for processing {"connection_id":159451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:23:27] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551202048001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:27] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787309383000,"timestamp_ms":1787309383000,"timestamp_seconds":1787309383,"priority":1,"record_length":96,"hex_timestamp":"000001a023f0dd58"} 
[2026-08-21 16:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2329,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159451,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551202048001,"66":1514,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551202048001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:27] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457551202048001,"power":1514,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":159451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:27] local.INFO: GPS data processed {"connection_id":159451,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:27] local.INFO: Acknowledgment sent {"connection_id":159451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:23:34] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:23:34] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:23:34] local.INFO: IMEI packet received {"connection_id":160343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":160343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:23:37] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f23900012dd285400517e8a8000b01662d..."} 
[2026-08-21 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f23900012dd285400517e8a8000b01662d..."} 
[2026-08-21 16:23:37] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f23900012dd285400517e8a8000b01662d..."} 
[2026-08-21 16:23:37] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:23:37] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":768771392,"raw_latitude":85452968,"longitude_deg":76.8771392,"latitude_deg":8.5452968,"altitude":11,"angle":358,"satellites":45,"speed":29,"hex_longitude":"2dd28540","hex_latitude":"0517e8a8","is_valid_coordinates":true} 
[2026-08-21 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551222016001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388290482649694208,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3277072394480185344,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787309472000,"timestamp_ms":1787309472000,"timestamp_seconds":1787309472,"priority":1,"record_length":96,"hex_timestamp":"000001a023f23900"} 
[2026-08-21 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551222016001,"66":27974,"80":34304,"24":29,"16":388290482649694208,"45":-3277072394480185344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551222016001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388290482649694208,"km_value":388290482649694.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3277072394480185344,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457551222016001,"power":27974,"unknown_80":34304,"ignition":29,"odometer":null,"unknown_45":-3277072394480185344}} 
[2026-08-21 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:37] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:37] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:23:38] local.INFO: TCP Data received {"connection_id":160343,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f28b08012dd284800517fd48000b01612e..."} 
[2026-08-21 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f28b08012dd284800517fd48000b01612e..."} 
[2026-08-21 16:23:38] local.INFO: Processing buffer {"connection_id":160343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f28b08012dd284800517fd48000b01612e..."} 
[2026-08-21 16:23:38] local.INFO: Packet analysis {"connection_id":160343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:23:38] local.INFO: Extracted packet for processing {"connection_id":160343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":768771200,"raw_latitude":85458248,"longitude_deg":76.87712,"latitude_deg":8.5458248,"altitude":11,"angle":353,"satellites":46,"speed":0,"hex_longitude":"2dd28480","hex_latitude":"0517fd48","is_valid_coordinates":true} 
[2026-08-21 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551224832001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388290736052764672,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3277142763222030336,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 16:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309493000,"timestamp_ms":1787309493000,"timestamp_seconds":1787309493,"priority":1,"record_length":96,"hex_timestamp":"000001a023f28b08"} 
[2026-08-21 16:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551224832001,"66":27865,"80":34304,"24":0,"16":388290736052764672,"45":-3277142763222030336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551224832001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388290736052764672,"km_value":388290736052764.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3277142763222030336,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457551224832001,"power":27865,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-3277142763222030336}} 
[2026-08-21 16:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":160343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:38] local.INFO: GPS data processed {"connection_id":160343,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:38] local.INFO: Acknowledgment sent {"connection_id":160343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:23:38] local.INFO: TCP Data received {"connection_id":160344,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f10850012d19768007203c600032005b2c..."} 
[2026-08-21 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f10850012d19768007203c600032005b2c..."} 
[2026-08-21 16:23:38] local.INFO: Processing buffer {"connection_id":160344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f10850012d19768007203c600032005b2c..."} 
[2026-08-21 16:23:38] local.INFO: Packet analysis {"connection_id":160344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:23:38] local.INFO: Extracted packet for processing {"connection_id":160344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":44,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551199488001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309394000,"timestamp_ms":1787309394000,"timestamp_seconds":1787309394,"priority":1,"record_length":96,"hex_timestamp":"000001a023f10850"} 
[2026-08-21 16:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160344,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551199488001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551199488001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551199488001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":160344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:38] local.INFO: GPS data processed {"connection_id":160344,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:38] local.INFO: Acknowledgment sent {"connection_id":160344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:23:46] local.INFO: TCP Data received {"connection_id":161709,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f3a448012d0aee8007066ec0000e00b420..."} 
[2026-08-21 16:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f3a448012d0aee8007066ec0000e00b420..."} 
[2026-08-21 16:23:46] local.INFO: Processing buffer {"connection_id":161709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f3a448012d0aee8007066ec0000e00b420..."} 
[2026-08-21 16:23:46] local.INFO: Packet analysis {"connection_id":161709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:23:46] local.INFO: Extracted packet for processing {"connection_id":161709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":755691136,"raw_latitude":117862080,"longitude_deg":75.5691136,"latitude_deg":11.786208,"altitude":14,"angle":180,"satellites":32,"speed":1,"hex_longitude":"2d0aee80","hex_latitude":"07066ec0","is_valid_coordinates":true} 
[2026-08-21 16:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551245312001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29310729433645056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858730065920,"note":"Value kept but may cause issues"} 
[2026-08-21 16:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787309565000,"timestamp_ms":1787309565000,"timestamp_seconds":1787309565,"priority":1,"record_length":96,"hex_timestamp":"000001a023f3a448"} 
[2026-08-21 16:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:23:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 16:23:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:23:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161709,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551245312001,"66":14407,"163":206,"94":10240,"24":1,"16":29310729433645056,"45":787918858730065920},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 16:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551245312001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:23:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 16:23:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29310729433645056,"km_value":29310729433645.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858730065920,"description":"Unknown IO ID 45"} 
[2026-08-21 16:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551245312001,"power":14407,"unknown_163":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":787918858730065920}} 
[2026-08-21 16:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":161709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676578,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:23:46] local.INFO: GPS data processed {"connection_id":161709,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:23:46] local.INFO: Acknowledgment sent {"connection_id":161709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:24:01] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:24:01] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:24:01] local.INFO: IMEI packet received {"connection_id":159163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":159163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:24:02] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:02] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:02] local.INFO: IMEI packet received {"connection_id":159453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":159453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:24:02] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:02] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:02] local.INFO: IMEI packet received {"connection_id":159452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":159452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:24:02] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:02] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:02] local.INFO: IMEI packet received {"connection_id":159453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":159453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:24:06] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:06] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:06] local.INFO: IMEI packet received {"connection_id":159452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":159452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:24:06] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:24:06] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:24:06] local.INFO: IMEI packet received {"connection_id":159163,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":159163,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:24:08] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:24:08] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:24:08] local.INFO: Packet analysis {"connection_id":159163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:24:08] local.INFO: Extracted packet for processing {"connection_id":159163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551202048001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:08] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787309383000,"timestamp_ms":1787309383000,"timestamp_seconds":1787309383,"priority":1,"record_length":96,"hex_timestamp":"000001a023f0dd58"} 
[2026-08-21 16:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 16:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2329,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551202048001,"66":1514,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551202048001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:24:08] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457551202048001,"power":1514,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":159163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:24:08] local.INFO: GPS data processed {"connection_id":159163,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:24:08] local.INFO: Acknowledgment sent {"connection_id":159163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:24:08] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:24:08] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:24:08] local.INFO: IMEI packet received {"connection_id":159164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":159164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:24:11] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:11] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:24:11] local.INFO: IMEI packet received {"connection_id":159452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":159452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:24:12] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f15a58012d19768007203c600032005b2a..."} 
[2026-08-21 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f15a58012d19768007203c600032005b2a..."} 
[2026-08-21 16:24:12] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f15a58012d19768007203c600032005b2a..."} 
[2026-08-21 16:24:12] local.INFO: Packet analysis {"connection_id":159452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:24:12] local.INFO: Extracted packet for processing {"connection_id":159452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551204864001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787309415000,"timestamp_ms":1787309415000,"timestamp_seconds":1787309415,"priority":1,"record_length":96,"hex_timestamp":"000001a023f15a58"} 
[2026-08-21 16:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551204864001,"66":12406,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551204864001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:24:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:24:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551204864001,"power":12406,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":159452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:24:12] local.INFO: GPS data processed {"connection_id":159452,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:24:12] local.INFO: Acknowledgment sent {"connection_id":159452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:24:12] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:12] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:24:12] local.INFO: IMEI packet received {"connection_id":159453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":159453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:24:13] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:24:13] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:24:13] local.INFO: IMEI packet received {"connection_id":159164,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":159164,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:24:14] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f3ac18012d0aee8007066e90000e00a820..."} 
[2026-08-21 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f3ac18012d0aee8007066e90000e00a820..."} 
[2026-08-21 16:24:14] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f3ac18012d0aee8007066e90000e00a820..."} 
[2026-08-21 16:24:14] local.INFO: Packet analysis {"connection_id":159164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:24:14] local.INFO: Extracted packet for processing {"connection_id":159164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":755691136,"raw_latitude":117862032,"longitude_deg":75.5691136,"latitude_deg":11.7862032,"altitude":14,"angle":168,"satellites":32,"speed":0,"hex_longitude":"2d0aee80","hex_latitude":"07066e90","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551248640001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29310733728612352,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787707752497463296,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787309567000,"timestamp_ms":1787309567000,"timestamp_seconds":1787309567,"priority":1,"record_length":96,"hex_timestamp":"000001a023f3ac18"} 
[2026-08-21 16:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 16:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551248640001,"66":13537,"163":206,"94":10240,"24":0,"16":29310733728612352,"45":787707752497463296},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551248640001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:24:14] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 16:24:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29310733728612352,"km_value":29310733728612.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":787707752497463296,"description":"Unknown IO ID 45"} 
[2026-08-21 16:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551248640001,"power":13537,"unknown_163":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":787707752497463296}} 
[2026-08-21 16:24:14] local.INFO: TCP Data received {"connection_id":159453,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f2dd10012dd284800517fd48000b01612d..."} 
[2026-08-21 16:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f2dd10012dd284800517fd48000b01612d..."} 
[2026-08-21 16:24:14] local.INFO: Processing buffer {"connection_id":159453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f2dd10012dd284800517fd48000b01612d..."} 
[2026-08-21 16:24:14] local.INFO: Packet analysis {"connection_id":159453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:24:14] local.INFO: Extracted packet for processing {"connection_id":159453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f2"} 
[2026-08-21 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":768771200,"raw_latitude":85458248,"longitude_deg":76.87712,"latitude_deg":8.5458248,"altitude":11,"angle":353,"satellites":45,"speed":0,"hex_longitude":"2dd28480","hex_latitude":"0517fd48","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551230208001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388290736052764672,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3277353869453211648,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 16:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787309514000,"timestamp_ms":1787309514000,"timestamp_seconds":1787309514,"priority":1,"record_length":96,"hex_timestamp":"000001a023f2dd10"} 
[2026-08-21 16:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551230208001,"66":27930,"80":34304,"24":0,"16":388290736052764672,"45":-3277353869453211648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 16:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551230208001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:24:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":34304,"description":"Unknown IO ID 80"} 
[2026-08-21 16:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388290736052764672,"km_value":388290736052764.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3277353869453211648,"description":"Unknown IO ID 45"} 
[2026-08-21 16:24:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457551230208001,"power":27930,"unknown_80":34304,"ignition":0,"odometer":null,"unknown_45":-3277353869453211648}} 
[2026-08-21 16:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":159164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676581,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:24:14] local.INFO: GPS data processed {"connection_id":159164,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:24:14] local.INFO: Acknowledgment sent {"connection_id":159164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":159453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:24:14] local.INFO: GPS data processed {"connection_id":159453,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:24:14] local.INFO: Acknowledgment sent {"connection_id":159453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:24:43] local.INFO: TCP Data received {"connection_id":159452,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f1ac60012d19768007203c600032005b2d..."} 
[2026-08-21 16:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f1ac60012d19768007203c600032005b2d..."} 
[2026-08-21 16:24:43] local.INFO: Processing buffer {"connection_id":159452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f1ac60012d19768007203c600032005b2d..."} 
[2026-08-21 16:24:43] local.INFO: Packet analysis {"connection_id":159452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:24:43] local.INFO: Extracted packet for processing {"connection_id":159452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:24:43] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551210240001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787309436000,"timestamp_ms":1787309436000,"timestamp_seconds":1787309436,"priority":1,"record_length":96,"hex_timestamp":"000001a023f1ac60"} 
[2026-08-21 16:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 16:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551210240001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551210240001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:24:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:24:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551210240001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":159452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:24:43] local.INFO: GPS data processed {"connection_id":159452,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:24:43] local.INFO: Acknowledgment sent {"connection_id":159452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:24:45] local.INFO: TCP Data received {"connection_id":159164,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f3fa38012d0aee8007066e88000e00a821..."} 
[2026-08-21 16:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159164,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f3fa38012d0aee8007066e88000e00a821..."} 
[2026-08-21 16:24:45] local.INFO: Processing buffer {"connection_id":159164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f3fa38012d0aee8007066e88000e00a821..."} 
[2026-08-21 16:24:45] local.INFO: Packet analysis {"connection_id":159164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:24:45] local.INFO: Extracted packet for processing {"connection_id":159164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f3"} 
[2026-08-21 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":755691136,"raw_latitude":117862024,"longitude_deg":75.5691136,"latitude_deg":11.7862024,"altitude":14,"angle":168,"satellites":33,"speed":0,"hex_longitude":"2d0aee80","hex_latitude":"07066e88","is_valid_coordinates":true} 
[2026-08-21 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551249152001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29310733728612352,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787707752497451008,"note":"Value kept but may cause issues"} 
[2026-08-21 16:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787309587000,"timestamp_ms":1787309587000,"timestamp_seconds":1787309587,"priority":1,"record_length":96,"hex_timestamp":"000001a023f3fa38"} 
[2026-08-21 16:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-21 16:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159164,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551249152001,"66":14439,"163":206,"94":10240,"24":0,"16":29310733728612352,"45":787707752497451008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-08-21 16:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551249152001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:24:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-08-21 16:24:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29310733728612352,"km_value":29310733728612.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":787707752497451008,"description":"Unknown IO ID 45"} 
[2026-08-21 16:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551249152001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":787707752497451008}} 
[2026-08-21 16:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":159164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676584,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:24:45] local.INFO: GPS data processed {"connection_id":159164,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:24:45] local.INFO: Acknowledgment sent {"connection_id":159164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:01] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:25:01] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:25:01] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:25:02] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:02] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:02] local.INFO: IMEI packet received {"connection_id":159454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":159454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:25:04] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:04] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:04] local.INFO: IMEI packet received {"connection_id":159454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":159454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:25:05] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f48ea8012dd26e40051964a0001701622d..."} 
[2026-08-21 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f48ea8012dd26e40051964a0001701622d..."} 
[2026-08-21 16:25:05] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f48ea8012dd26e40051964a0001701622d..."} 
[2026-08-21 16:25:05] local.INFO: Packet analysis {"connection_id":159454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f4"} 
[2026-08-21 16:25:05] local.INFO: Extracted packet for processing {"connection_id":159454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f4"} 
[2026-08-21 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":768765504,"raw_latitude":85550240,"longitude_deg":76.8765504,"latitude_deg":8.555024,"altitude":23,"angle":354,"satellites":45,"speed":55,"hex_longitude":"2dd26e40","hex_latitude":"051964a0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551262208001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388295211408687104,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3282631525245454336,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787309625000,"timestamp_ms":1787309625000,"timestamp_seconds":1787309625,"priority":1,"record_length":96,"hex_timestamp":"000001a023f48ea8"} 
[2026-08-21 16:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:25: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-08-21 16:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551262208001,"66":27930,"42":206,"80":34816,"24":55,"16":388295211408687104,"45":-3282631525245454336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-21 16:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551262208001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:25:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-21 16:25:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388295211408687104,"km_value":388295211408687.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3282631525245454336,"description":"Unknown IO ID 45"} 
[2026-08-21 16:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551262208001,"power":27930,"unknown_42":206,"unknown_80":34816,"ignition":55,"odometer":null,"unknown_45":-3282631525245454336}} 
[2026-08-21 16:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":159454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:25:05] local.INFO: GPS data processed {"connection_id":159454,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:25:05] local.INFO: Acknowledgment sent {"connection_id":159454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:05] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:25:05] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:25:05] local.INFO: IMEI packet received {"connection_id":161710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":161710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:25:06] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f1fe68012d19768007203c600032005b2d..."} 
[2026-08-21 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f1fe68012d19768007203c600032005b2d..."} 
[2026-08-21 16:25:06] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f1fe68012d19768007203c600032005b2d..."} 
[2026-08-21 16:25:06] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:25:06] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f1"} 
[2026-08-21 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756643456,"raw_latitude":119553120,"longitude_deg":75.6643456,"latitude_deg":11.955312,"altitude":50,"angle":91,"satellites":45,"speed":0,"hex_longitude":"2d197680","hex_latitude":"07203c60","is_valid_coordinates":true} 
[2026-08-21 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551215616001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220391903920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834794666294009856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787309457000,"timestamp_ms":1787309457000,"timestamp_seconds":1787309457,"priority":1,"record_length":96,"hex_timestamp":"000001a023f1fe68"} 
[2026-08-21 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551215616001,"66":12385,"103":206,"83":41984,"24":0,"16":14220391903920128,"45":1834794666294009856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551215616001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:25:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220391903920128,"km_value":14220391903920.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834794666294009856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551215616001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1834794666294009856}} 
[2026-08-21 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:25:06] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:25:06] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:08] local.INFO: TCP Data received {"connection_id":159163,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:25:08] local.INFO: Processing buffer {"connection_id":159163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f0dd58012d7a1f0005e469d8001000412b..."} 
[2026-08-21 16:25:08] local.INFO: Packet analysis {"connection_id":159163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:25:08] local.INFO: Extracted packet for processing {"connection_id":159163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f0"} 
[2026-08-21 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":762978048,"raw_latitude":98855384,"longitude_deg":76.2978048,"latitude_deg":9.8855384,"altitude":16,"angle":65,"satellites":43,"speed":0,"hex_longitude":"2d7a1f00","hex_latitude":"05e469d8","is_valid_coordinates":true} 
[2026-08-21 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551202048001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742179444981760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799752222212216832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:08] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-08-21 16:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787309383000,"timestamp_ms":1787309383000,"timestamp_seconds":1787309383,"priority":1,"record_length":96,"hex_timestamp":"000001a023f0dd58"} 
[2026-08-21 16:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":5,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 16:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2329,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159163,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551202048001,"66":1514,"24":0,"16":121742179444981760,"45":8799752222212216832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-08-21 16:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551202048001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742179444981760,"km_value":121742179444981.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799752222212216832,"description":"Unknown IO ID 45"} 
[2026-08-21 16:25:08] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":457551202048001,"power":1514,"ignition":0,"odometer":null,"unknown_45":8799752222212216832}} 
[2026-08-21 16:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":159163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:25:08] local.INFO: GPS data processed {"connection_id":159163,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:25:08] local.INFO: Acknowledgment sent {"connection_id":159163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:08] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:25:08] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:25:08] local.INFO: IMEI packet received {"connection_id":159455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":159455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:25:14] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:25:14] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:25:14] local.INFO: IMEI packet received {"connection_id":159455,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":159455,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:25:14] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f55db0012d0b130007062a500011009623..."} 
[2026-08-21 16:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f55db0012d0b130007062a500011009623..."} 
[2026-08-21 16:25:14] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f55db0012d0b130007062a500011009623..."} 
[2026-08-21 16:25:14] local.INFO: Packet analysis {"connection_id":159455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:25:14] local.INFO: Extracted packet for processing {"connection_id":159455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:25:14] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117844560,"longitude_deg":75.570048,"latitude_deg":11.784456,"altitude":17,"angle":150,"satellites":35,"speed":0,"hex_longitude":"2d0b1300","hex_latitude":"07062a50","is_valid_coordinates":true} 
[2026-08-21 16:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551272448001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29311712981155840,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793900201982177280,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787309678000,"timestamp_ms":1787309678000,"timestamp_seconds":1787309678,"priority":1,"record_length":96,"hex_timestamp":"000001a023f55db0"} 
[2026-08-21 16:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 16:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551272448001,"66":14428,"165":206,"94":10240,"24":0,"16":29311712981155840,"45":793900201982177280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 16:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551272448001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:25:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 16:25:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29311712981155840,"km_value":29311712981155.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":793900201982177280,"description":"Unknown IO ID 45"} 
[2026-08-21 16:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551272448001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":793900201982177280}} 
[2026-08-21 16:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":159455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676588,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:25:14] local.INFO: GPS data processed {"connection_id":159455,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:25:14] local.INFO: Acknowledgment sent {"connection_id":159455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:31] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:25:31] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:25:31] local.INFO: IMEI packet received {"connection_id":161711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":161711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:25:36] local.INFO: TCP Data received {"connection_id":159454,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f4aa00012dd26a4005198b40001801632d..."} 
[2026-08-21 16:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f4aa00012dd26a4005198b40001801632d..."} 
[2026-08-21 16:25:36] local.INFO: Processing buffer {"connection_id":159454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f4aa00012dd26a4005198b40001801632d..."} 
[2026-08-21 16:25:36] local.INFO: Packet analysis {"connection_id":159454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f4"} 
[2026-08-21 16:25:36] local.INFO: Extracted packet for processing {"connection_id":159454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f4"} 
[2026-08-21 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":768764480,"raw_latitude":85560128,"longitude_deg":76.876448,"latitude_deg":8.5560128,"altitude":24,"angle":355,"satellites":45,"speed":57,"hex_longitude":"2dd26a40","hex_latitude":"05198b40","is_valid_coordinates":true} 
[2026-08-21 16:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:25:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551264000001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388295692445024256,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3283616687661473792,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:25:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787309632000,"timestamp_ms":1787309632000,"timestamp_seconds":1787309632,"priority":1,"record_length":96,"hex_timestamp":"000001a023f4aa00"} 
[2026-08-21 16:25:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:25:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:25:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 16:25:36] 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-08-21 16:25:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:25:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:25:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:25:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:25:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:25:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:25:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:25:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:25:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:25:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551264000001,"66":27876,"42":206,"80":34816,"24":57,"16":388295692445024256,"45":-3283616687661473792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,80,24,16,45]} 
[2026-08-21 16:25:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:25:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:25:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551264000001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:25:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-08-21 16:25:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:25:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388295692445024256,"km_value":388295692445024.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:25:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3283616687661473792,"description":"Unknown IO ID 45"} 
[2026-08-21 16:25:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551264000001,"power":27876,"unknown_42":206,"unknown_80":34816,"ignition":57,"odometer":null,"unknown_45":-3283616687661473792}} 
[2026-08-21 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":159454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:25:37] local.INFO: GPS data processed {"connection_id":159454,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:25:37] local.INFO: Acknowledgment sent {"connection_id":159454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:37] local.INFO: TCP Data received {"connection_id":161711,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:25:37] local.INFO: Processing buffer {"connection_id":161711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:25:37] local.INFO: IMEI packet received {"connection_id":161711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":161711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:25:37] local.INFO: TCP Data received {"connection_id":161710,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5a018012d19700007203ca8002f01132c..."} 
[2026-08-21 16:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5a018012d19700007203ca8002f01132c..."} 
[2026-08-21 16:25:37] local.INFO: Processing buffer {"connection_id":161710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5a018012d19700007203ca8002f01132c..."} 
[2026-08-21 16:25:37] local.INFO: Packet analysis {"connection_id":161710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:25:37] local.INFO: Extracted packet for processing {"connection_id":161710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756641792,"raw_latitude":119553192,"longitude_deg":75.6641792,"latitude_deg":11.9553192,"altitude":47,"angle":275,"satellites":44,"speed":9,"hex_longitude":"2d197000","hex_latitude":"07203ca8","is_valid_coordinates":true} 
[2026-08-21 16:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551280896001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220494983135232,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833879872619665408,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787309695000,"timestamp_ms":1787309695000,"timestamp_seconds":1787309695,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5a018"} 
[2026-08-21 16:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:25: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":137,"data_length":795,"current_offset":136} 
[2026-08-21 16:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551280896001,"66":13852,"103":206,"83":41984,"24":9,"16":14220494983135232,"45":1833879872619665408},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551280896001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:25:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220494983135232,"km_value":14220494983135.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833879872619665408,"description":"Unknown IO ID 45"} 
[2026-08-21 16:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551280896001,"power":13852,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1833879872619665408}} 
[2026-08-21 16:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":161710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:25:37] local.INFO: GPS data processed {"connection_id":161710,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:25:37] local.INFO: Acknowledgment sent {"connection_id":161710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:45] local.INFO: TCP Data received {"connection_id":159455,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f59c30012d0b19c0070621b80012008923..."} 
[2026-08-21 16:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f59c30012d0b19c0070621b80012008923..."} 
[2026-08-21 16:25:45] local.INFO: Processing buffer {"connection_id":159455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f59c30012d0b19c0070621b80012008923..."} 
[2026-08-21 16:25:45] local.INFO: Packet analysis {"connection_id":159455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:25:45] local.INFO: Extracted packet for processing {"connection_id":159455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:25:45] local.INFO: GPS Element Parsed {"raw_longitude":755702208,"raw_latitude":117842360,"longitude_deg":75.5702208,"latitude_deg":11.784236,"altitude":18,"angle":137,"satellites":35,"speed":19,"hex_longitude":"2d0b19c0","hex_latitude":"070621b8","is_valid_coordinates":true} 
[2026-08-21 16:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551277568001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29311850420109312,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797981589142917120,"note":"Value kept but may cause issues"} 
[2026-08-21 16:25:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787309694000,"timestamp_ms":1787309694000,"timestamp_seconds":1787309694,"priority":1,"record_length":96,"hex_timestamp":"000001a023f59c30"} 
[2026-08-21 16:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 16:25: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-08-21 16:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159455,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551277568001,"66":14439,"165":206,"94":10240,"24":19,"16":29311850420109312,"45":797981589142917120},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 16:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551277568001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29311850420109312,"km_value":29311850420109.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":797981589142917120,"description":"Unknown IO ID 45"} 
[2026-08-21 16:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551277568001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":19,"odometer":null,"unknown_45":797981589142917120}} 
[2026-08-21 16:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":159455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676591,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:25:45] local.INFO: GPS data processed {"connection_id":159455,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:25:45] local.INFO: Acknowledgment sent {"connection_id":159455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:25:57] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:57] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:57] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:25:58] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:58] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:25:58] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:26:01] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:26:01] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:26:01] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:26:01] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.1","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-21 16:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-21 16:26:01] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-21 16:26:01] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:26:02] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:26:02] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:26:02] local.INFO: IMEI packet received {"connection_id":160345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":160345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:26:03] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5b3a0012dd23000051b0768001701492c..."} 
[2026-08-21 16:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5b3a0012dd23000051b0768001701492c..."} 
[2026-08-21 16:26:03] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5b3a0012dd23000051b0768001701492c..."} 
[2026-08-21 16:26:03] local.INFO: Packet analysis {"connection_id":160345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:03] local.INFO: Extracted packet for processing {"connection_id":160345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":768749568,"raw_latitude":85657448,"longitude_deg":76.8749568,"latitude_deg":8.5657448,"altitude":23,"angle":329,"satellites":44,"speed":59,"hex_longitude":"2dd23000","hex_latitude":"051b0768","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551281664001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388300524283232256,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3296353430332178432,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787309700000,"timestamp_ms":1787309700000,"timestamp_seconds":1787309700,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5b3a0"} 
[2026-08-21 16:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:03] 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-08-21 16: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-08-21 16:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551281664001,"66":27843,"54":206,"80":34816,"24":59,"16":388300524283232256,"45":-3296353430332178432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-08-21 16:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551281664001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:03] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-21 16:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388300524283232256,"km_value":388300524283232.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3296353430332178432,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551281664001,"power":27843,"unknown_54":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3296353430332178432}} 
[2026-08-21 16:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":160345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:03] local.INFO: GPS data processed {"connection_id":160345,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:03] local.INFO: Acknowledgment sent {"connection_id":160345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:05] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:26:05] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-21 16:26:05] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:26:07] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5a7e8012d196e8007203cf0002f01292c..."} 
[2026-08-21 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5a7e8012d196e8007203cf0002f01292c..."} 
[2026-08-21 16:26:07] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a023..."} 
[2026-08-21 16:26:07] local.INFO: IMEI packet received {"connection_id":159165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":159165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:26:07] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:26:07] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:26:07] local.INFO: IMEI packet received {"connection_id":161712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":161712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:26:07] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5abd0012d196e0007203d38003001392d..."} 
[2026-08-21 16:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5abd0012d196e0007203d38003001392d..."} 
[2026-08-21 16:26:07] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a023f5a7e8012d196e8007203cf0002f01292c..."} 
[2026-08-21 16:26:07] local.INFO: Packet analysis {"connection_id":159165,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:07] local.INFO: Extracted packet for processing {"connection_id":159165,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119553264,"longitude_deg":75.6641408,"latitude_deg":11.9553264,"altitude":47,"angle":297,"satellites":44,"speed":5,"hex_longitude":"2d196e80","hex_latitude":"07203cf0","is_valid_coordinates":true} 
[2026-08-21 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551281920001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220512163004416,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832965078945409024,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309697000,"timestamp_ms":1787309697000,"timestamp_seconds":1787309697,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5a7e8"} 
[2026-08-21 16:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551281920001,"66":13906,"103":206,"83":41984,"24":5,"16":14220512163004416,"45":1832965078945409024},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551281920001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220512163004416,"km_value":14220512163004.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832965078945409024,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551281920001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1832965078945409024}} 
[2026-08-21 16:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":159165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:07] local.INFO: GPS data processed {"connection_id":159165,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:07] local.INFO: Acknowledgment sent {"connection_id":159165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:07] local.INFO: Packet analysis {"connection_id":159165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:07] local.INFO: Extracted packet for processing {"connection_id":159165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756641280,"raw_latitude":119553336,"longitude_deg":75.664128,"latitude_deg":11.9553336,"altitude":48,"angle":313,"satellites":45,"speed":5,"hex_longitude":"2d196e00","hex_latitude":"07203d38","is_valid_coordinates":true} 
[2026-08-21 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551282432001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220516457971712,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832542866480361472,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309698000,"timestamp_ms":1787309698000,"timestamp_seconds":1787309698,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5abd0"} 
[2026-08-21 16:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551282432001,"66":13993,"103":206,"83":41984,"24":5,"16":14220516457971712,"45":1832542866480361472},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551282432001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220516457971712,"km_value":14220516457971.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832542866480361472,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551282432001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1832542866480361472}} 
[2026-08-21 16:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":159165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:08] local.INFO: GPS data processed {"connection_id":159165,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:08] local.INFO: Acknowledgment sent {"connection_id":159165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:13] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:26:13] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:26:13] local.INFO: IMEI packet received {"connection_id":159456,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":159456,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:26:19] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:26:19] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:26:19] local.INFO: IMEI packet received {"connection_id":159456,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":159456,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:26:19] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5b3a0012d0b2340070619c80012007e23..."} 
[2026-08-21 16:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5b3a0012d0b2340070619c80012007e23..."} 
[2026-08-21 16:26:19] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5b3a0012d0b2340070619c80012007e23..."} 
[2026-08-21 16:26:19] local.INFO: Packet analysis {"connection_id":159456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:19] local.INFO: Extracted packet for processing {"connection_id":159456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:19] local.INFO: GPS Element Parsed {"raw_longitude":755704640,"raw_latitude":117840328,"longitude_deg":75.570464,"latitude_deg":11.7840328,"altitude":18,"angle":126,"satellites":35,"speed":22,"hex_longitude":"2d0b2340","hex_latitude":"070619c8","is_valid_coordinates":true} 
[2026-08-21 16:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551281664001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29312005038931968,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799881545235150848,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787309700000,"timestamp_ms":1787309700000,"timestamp_seconds":1787309700,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5b3a0"} 
[2026-08-21 16:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551281664001,"66":14407,"165":206,"94":10240,"24":22,"16":29312005038931968,"45":799881545235150848},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 16:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551281664001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 16:26:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29312005038931968,"km_value":29312005038931.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":799881545235150848,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551281664001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":799881545235150848}} 
[2026-08-21 16:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":159456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:19] local.INFO: GPS data processed {"connection_id":159456,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:19] local.INFO: Acknowledgment sent {"connection_id":159456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:20] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5e668012d0b4180070607680014007d21..."} 
[2026-08-21 16:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5e668012d0b4180070607680014007d21..."} 
[2026-08-21 16:26:20] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5e668012d0b4180070607680014007d21..."} 
[2026-08-21 16:26:20] local.INFO: Packet analysis {"connection_id":159456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:20] local.INFO: Extracted packet for processing {"connection_id":159456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:20] local.INFO: GPS Element Parsed {"raw_longitude":755712384,"raw_latitude":117835624,"longitude_deg":75.5712384,"latitude_deg":11.7835624,"altitude":20,"angle":125,"satellites":33,"speed":28,"hex_longitude":"2d0b4180","hex_latitude":"07060768","is_valid_coordinates":true} 
[2026-08-21 16:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551283200001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29312434535661568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":802555557513381888,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1787309713000,"timestamp_ms":1787309713000,"timestamp_seconds":1787309713,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5e668"} 
[2026-08-21 16:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":159456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":159456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":159456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551283200001,"66":14407,"165":206,"94":10240,"24":28,"16":29312434535661568,"45":802555557513381888},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 16:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551283200001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:20] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 16:26:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29312434535661568,"km_value":29312434535661.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":802555557513381888,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551283200001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":802555557513381888}} 
[2026-08-21 16:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":159456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676596,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:21] local.INFO: GPS data processed {"connection_id":159456,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:21] local.INFO: Acknowledgment sent {"connection_id":159456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:34] local.INFO: TCP Data received {"connection_id":160345,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5cb10012dd21e80051b25d0001801492c..."} 
[2026-08-21 16:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5cb10012dd21e80051b25d0001801492c..."} 
[2026-08-21 16:26:34] local.INFO: Processing buffer {"connection_id":160345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5cb10012dd21e80051b25d0001801492c..."} 
[2026-08-21 16:26:34] local.INFO: Packet analysis {"connection_id":160345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:34] local.INFO: Extracted packet for processing {"connection_id":160345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":768745088,"raw_latitude":85665232,"longitude_deg":76.8745088,"latitude_deg":8.5665232,"altitude":24,"angle":329,"satellites":44,"speed":59,"hex_longitude":"2dd21e80","hex_latitude":"051b25d0","is_valid_coordinates":true} 
[2026-08-21 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551283200001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388300958074929152,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3301138504934266880,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787309706000,"timestamp_ms":1787309706000,"timestamp_seconds":1787309706,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5cb10"} 
[2026-08-21 16:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551283200001,"66":27789,"54":206,"80":34816,"24":59,"16":388300958074929152,"45":-3301138504934266880},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-08-21 16:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551283200001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:34] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-21 16:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388300958074929152,"km_value":388300958074929.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3301138504934266880,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551283200001,"power":27789,"unknown_54":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3301138504934266880}} 
[2026-08-21 16:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":160345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:34] local.INFO: GPS data processed {"connection_id":160345,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:34] local.INFO: Acknowledgment sent {"connection_id":160345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:39] local.INFO: TCP Data received {"connection_id":159165,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5afb8012d196dc007203d90003001582c..."} 
[2026-08-21 16:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5afb8012d196dc007203d90003001582c..."} 
[2026-08-21 16:26:39] local.INFO: Processing buffer {"connection_id":159165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5afb8012d196dc007203d90003001582c..."} 
[2026-08-21 16:26:39] local.INFO: Packet analysis {"connection_id":159165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:39] local.INFO: Extracted packet for processing {"connection_id":159165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:26:39] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119553424,"longitude_deg":75.6641216,"latitude_deg":11.9553424,"altitude":48,"angle":344,"satellites":44,"speed":3,"hex_longitude":"2d196dc0","hex_latitude":"07203d90","is_valid_coordinates":true} 
[2026-08-21 16:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551282688001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220525047906304,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832402128992024576,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787309699000,"timestamp_ms":1787309699000,"timestamp_seconds":1787309699,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5afb8"} 
[2026-08-21 16:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551282688001,"66":13993,"103":206,"83":41984,"24":3,"16":14220525047906304,"45":1832402128992024576},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551282688001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:26:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220525047906304,"km_value":14220525047906.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832402128992024576,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551282688001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1832402128992024576}} 
[2026-08-21 16:26:39] local.INFO: TCP Data received {"connection_id":161712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:26:39] local.INFO: Processing buffer {"connection_id":161712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:26:39] local.INFO: IMEI packet received {"connection_id":161712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":161712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":159165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:39] local.INFO: GPS data processed {"connection_id":159165,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:39] local.INFO: Acknowledgment sent {"connection_id":159165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:51] local.INFO: TCP Data received {"connection_id":159456,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f601c0012d0b4c800705ff300015006822..."} 
[2026-08-21 16:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f601c0012d0b4c800705ff300015006822..."} 
[2026-08-21 16:26:51] local.INFO: Processing buffer {"connection_id":159456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f601c0012d0b4c800705ff300015006822..."} 
[2026-08-21 16:26:51] local.INFO: Packet analysis {"connection_id":159456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:26:51] local.INFO: Extracted packet for processing {"connection_id":159456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":755715200,"raw_latitude":117833520,"longitude_deg":75.57152,"latitude_deg":11.783352,"altitude":21,"angle":104,"satellites":34,"speed":8,"hex_longitude":"2d0b4c80","hex_latitude":"0705ff30","is_valid_coordinates":true} 
[2026-08-21 16:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551286528001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29312606334353408,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":811070175557675008,"note":"Value kept but may cause issues"} 
[2026-08-21 16:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787309720000,"timestamp_ms":1787309720000,"timestamp_seconds":1787309720,"priority":1,"record_length":96,"hex_timestamp":"000001a023f601c0"} 
[2026-08-21 16:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 16:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159456,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551286528001,"66":14537,"165":206,"94":10240,"24":8,"16":29312606334353408,"45":811070175557675008},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 16:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551286528001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:26:51] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 16:26:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29312606334353408,"km_value":29312606334353.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":811070175557675008,"description":"Unknown IO ID 45"} 
[2026-08-21 16:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551286528001,"power":14537,"unknown_165":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":811070175557675008}} 
[2026-08-21 16:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":159456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676599,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:26:52] local.INFO: GPS data processed {"connection_id":159456,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:26:52] local.INFO: Acknowledgment sent {"connection_id":159456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:26:57] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:26:57] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:26:57] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:27:01] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:01] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:01] local.INFO: IMEI packet received {"connection_id":159457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":159457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:27:02] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:27:02] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:27:02] local.INFO: IMEI packet received {"connection_id":160346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":160346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:27:03] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5e280012dd20c80051b4370001901482a..."} 
[2026-08-21 16:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5e280012dd20c80051b4370001901482a..."} 
[2026-08-21 16:27:03] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5e280012dd20c80051b4370001901482a..."} 
[2026-08-21 16:27:03] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:27:03] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:27:03] local.INFO: GPS Element Parsed {"raw_longitude":768740480,"raw_latitude":85672816,"longitude_deg":76.874048,"latitude_deg":8.5672816,"altitude":25,"angle":328,"satellites":42,"speed":59,"hex_longitude":"2dd20c80","hex_latitude":"051b4370","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551284736001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388301387571658752,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3306064317024710656,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787309712000,"timestamp_ms":1787309712000,"timestamp_seconds":1787309712,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5e280"} 
[2026-08-21 16:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 16:27:03] 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-08-21 16: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-08-21 16:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551284736001,"66":27908,"54":206,"80":34816,"24":59,"16":388301387571658752,"45":-3306064317024710656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-08-21 16:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551284736001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:27:03] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-21 16:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388301387571658752,"km_value":388301387571658.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3306064317024710656,"description":"Unknown IO ID 45"} 
[2026-08-21 16:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551284736001,"power":27908,"unknown_54":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3306064317024710656}} 
[2026-08-21 16:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:27:03] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:27:03] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:27:05] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:05] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:05] local.INFO: IMEI packet received {"connection_id":159457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":159457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:27:06] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:06] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:27:06] local.INFO: IMEI packet received {"connection_id":159457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":159457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:27:07] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5b788012d196dc007203de8003000002c..."} 
[2026-08-21 16:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5b788012d196dc007203de8003000002c..."} 
[2026-08-21 16:27:07] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5b788012d196dc007203de8003000002c..."} 
[2026-08-21 16:27:07] local.INFO: Packet analysis {"connection_id":159457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:27:07] local.INFO: Extracted packet for processing {"connection_id":159457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:27:07] local.INFO: GPS Element Parsed {"raw_longitude":756641216,"raw_latitude":119553512,"longitude_deg":75.6641216,"latitude_deg":11.9553512,"altitude":48,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d196dc0","hex_latitude":"07203de8","is_valid_coordinates":true} 
[2026-08-21 16:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551282944001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220529342873600,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760247869440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309701000,"timestamp_ms":1787309701000,"timestamp_seconds":1787309701,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5b788"} 
[2026-08-21 16:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 16:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:27:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551282944001,"66":14048,"103":206,"83":41984,"24":0,"16":14220529342873600,"45":1832331760247869440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551282944001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:27:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:27:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220529342873600,"km_value":14220529342873.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760247869440,"description":"Unknown IO ID 45"} 
[2026-08-21 16:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551282944001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832331760247869440}} 
[2026-08-21 16:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":159457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:27:07] local.INFO: GPS data processed {"connection_id":159457,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:27:07] local.INFO: Acknowledgment sent {"connection_id":159457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:27:08] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:08] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:08] local.INFO: IMEI packet received {"connection_id":159458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":159458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:27:08] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:08] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:08] local.INFO: IMEI packet received {"connection_id":159458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":159458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:27:12] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f60990012d196e8007203f000030001a2c..."} 
[2026-08-21 16:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f60990012d196e8007203f000030001a2c..."} 
[2026-08-21 16:27:12] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f60990012d196e8007203f000030001a2c..."} 
[2026-08-21 16:27:12] local.INFO: Packet analysis {"connection_id":159457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:27:12] local.INFO: Extracted packet for processing {"connection_id":159457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756641408,"raw_latitude":119553792,"longitude_deg":75.6641408,"latitude_deg":11.9553792,"altitude":48,"angle":26,"satellites":44,"speed":4,"hex_longitude":"2d196e80","hex_latitude":"07203f00","is_valid_coordinates":true} 
[2026-08-21 16:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551283456001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14220546522742784,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832331760247891968,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787309722000,"timestamp_ms":1787309722000,"timestamp_seconds":1787309722,"priority":1,"record_length":96,"hex_timestamp":"000001a023f60990"} 
[2026-08-21 16:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 16:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551283456001,"66":14102,"103":206,"83":41984,"24":4,"16":14220546522742784,"45":1832331760247891968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551283456001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:27:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:27:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14220546522742784,"km_value":14220546522742.783,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832331760247891968,"description":"Unknown IO ID 45"} 
[2026-08-21 16:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551283456001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1832331760247891968}} 
[2026-08-21 16:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":159457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:27:12] local.INFO: GPS data processed {"connection_id":159457,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:27:12] local.INFO: Acknowledgment sent {"connection_id":159457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:27:14] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:14] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:27:14] local.INFO: IMEI packet received {"connection_id":159458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":159458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:27:14] local.INFO: TCP Data received {"connection_id":159458,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f61d18012d0b4ec0070600b00016001a22..."} 
[2026-08-21 16:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f61d18012d0b4ec0070600b00016001a22..."} 
[2026-08-21 16:27:14] local.INFO: Processing buffer {"connection_id":159458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f61d18012d0b4ec0070600b00016001a22..."} 
[2026-08-21 16:27:14] local.INFO: Packet analysis {"connection_id":159458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:27:14] local.INFO: Extracted packet for processing {"connection_id":159458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:27:14] local.INFO: GPS Element Parsed {"raw_longitude":755715776,"raw_latitude":117833904,"longitude_deg":75.5715776,"latitude_deg":11.7833904,"altitude":22,"angle":26,"satellites":34,"speed":5,"hex_longitude":"2d0b4ec0","hex_latitude":"070600b0","is_valid_coordinates":true} 
[2026-08-21 16:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551288320001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29312640694091776,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814166400300953600,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787309727000,"timestamp_ms":1787309727000,"timestamp_seconds":1787309727,"priority":1,"record_length":96,"hex_timestamp":"000001a023f61d18"} 
[2026-08-21 16:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":201,"data_length":795,"current_offset":136} 
[2026-08-21 16:27:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159458,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551288320001,"66":14428,"165":206,"94":10240,"24":5,"16":29312640694091776,"45":814166400300953600},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-08-21 16:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551288320001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:27:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-08-21 16:27:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29312640694091776,"km_value":29312640694091.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":814166400300953600,"description":"Unknown IO ID 45"} 
[2026-08-21 16:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551288320001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":814166400300953600}} 
[2026-08-21 16:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":159458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676603,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:27:14] local.INFO: GPS data processed {"connection_id":159458,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:27:14] local.INFO: Acknowledgment sent {"connection_id":159458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:27:43] local.INFO: TCP Data received {"connection_id":159457,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f76920012d1954c007209d68003b00482b..."} 
[2026-08-21 16:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f76920012d1954c007209d68003b00482b..."} 
[2026-08-21 16:27:43] local.INFO: Processing buffer {"connection_id":159457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f76920012d1954c007209d68003b00482b..."} 
[2026-08-21 16:27:43] local.INFO: Packet analysis {"connection_id":159457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:27:43] local.INFO: Extracted packet for processing {"connection_id":159457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:27:43] local.INFO: GPS Element Parsed {"raw_longitude":756634816,"raw_latitude":119577960,"longitude_deg":75.6634816,"latitude_deg":11.957796,"altitude":59,"angle":72,"satellites":43,"speed":9,"hex_longitude":"2d1954c0","hex_latitude":"07209d68","is_valid_coordinates":true} 
[2026-08-21 16:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551311360001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14221856487768064,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824872673371275264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787309812000,"timestamp_ms":1787309812000,"timestamp_seconds":1787309812,"priority":1,"record_length":96,"hex_timestamp":"000001a023f76920"} 
[2026-08-21 16:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 16:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551311360001,"66":14189,"103":206,"83":41984,"24":9,"16":14221856487768064,"45":1824872673371275264},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551311360001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:27:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:27:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14221856487768064,"km_value":14221856487768.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824872673371275264,"description":"Unknown IO ID 45"} 
[2026-08-21 16:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551311360001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824872673371275264}} 
[2026-08-21 16:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":159457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:27:43] local.INFO: GPS data processed {"connection_id":159457,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:27:43] local.INFO: Acknowledgment sent {"connection_id":159457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:27:55] local.INFO: TCP Data received {"connection_id":160346,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f5f9f0012dd1fa00051b60f8001901462d..."} 
[2026-08-21 16:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f5f9f0012dd1fa00051b60f8001901462d..."} 
[2026-08-21 16:27:55] local.INFO: Processing buffer {"connection_id":160346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f5f9f0012dd1fa00051b60f8001901462d..."} 
[2026-08-21 16:27:55] local.INFO: Packet analysis {"connection_id":160346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:27:55] local.INFO: Extracted packet for processing {"connection_id":160346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f5"} 
[2026-08-21 16:27:55] local.INFO: GPS Element Parsed {"raw_longitude":768735744,"raw_latitude":85680376,"longitude_deg":76.8735744,"latitude_deg":8.5680376,"altitude":25,"angle":326,"satellites":45,"speed":59,"hex_longitude":"2dd1fa00","hex_latitude":"051b60f8","is_valid_coordinates":true} 
[2026-08-21 16:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551286272001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388301817068388352,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3311130866603560960,"note":"Value kept but may cause issues"} 
[2026-08-21 16:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787309718000,"timestamp_ms":1787309718000,"timestamp_seconds":1787309718,"priority":1,"record_length":96,"hex_timestamp":"000001a023f5f9f0"} 
[2026-08-21 16:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:27: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-08-21 16:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:27: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-08-21 16:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551286272001,"66":27843,"54":206,"80":34816,"24":59,"16":388301817068388352,"45":-3311130866603560960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-08-21 16:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551286272001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:27:55] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-21 16:27:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388301817068388352,"km_value":388301817068388.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3311130866603560960,"description":"Unknown IO ID 45"} 
[2026-08-21 16:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551286272001,"power":27843,"unknown_54":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3311130866603560960}} 
[2026-08-21 16:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":160346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:27:55] local.INFO: GPS data processed {"connection_id":160346,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:27:55] local.INFO: Acknowledgment sent {"connection_id":160346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:27:58] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:27:58] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:27:58] local.INFO: IMEI packet received {"connection_id":159166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":159166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:28:01] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:28:01] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:28:01] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:28:02] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:28:02] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:28:02] local.INFO: IMEI packet received {"connection_id":159166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":159166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:28:03] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f61160012dd1e5c0051b7dd0001901442d..."} 
[2026-08-21 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f61160012dd1e5c0051b7dd0001901442d..."} 
[2026-08-21 16:28:03] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f61160012dd1e5c0051b7dd0001901442d..."} 
[2026-08-21 16:28:03] local.INFO: Packet analysis {"connection_id":159166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:28:03] local.INFO: Extracted packet for processing {"connection_id":159166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f6"} 
[2026-08-21 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":768730560,"raw_latitude":85687760,"longitude_deg":76.873056,"latitude_deg":8.568776,"altitude":25,"angle":324,"satellites":45,"speed":59,"hex_longitude":"2dd1e5c0","hex_latitude":"051b7dd0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551287808001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388302255155052544,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3316338153670772736,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,54,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787309724000,"timestamp_ms":1787309724000,"timestamp_seconds":1787309724,"priority":1,"record_length":96,"hex_timestamp":"000001a023f61160"} 
[2026-08-21 16:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551287808001,"66":27789,"54":206,"80":34816,"24":59,"16":388302255155052544,"45":-3316338153670772736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,54,80,24,16,45]} 
[2026-08-21 16:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551287808001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":54,"value":206,"description":"Unknown IO ID 54"} 
[2026-08-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388302255155052544,"km_value":388302255155052.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3316338153670772736,"description":"Unknown IO ID 45"} 
[2026-08-21 16:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551287808001,"power":27789,"unknown_54":206,"unknown_80":34816,"ignition":59,"odometer":null,"unknown_45":-3316338153670772736}} 
[2026-08-21 16:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":159166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:28:03] local.INFO: GPS data processed {"connection_id":159166,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:28:03] local.INFO: Acknowledgment sent {"connection_id":159166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:28:06] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:28:06] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:28:06] local.INFO: IMEI packet received {"connection_id":161713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":161713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:28:07] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f78090012d195a8007209fb8003b001f29..."} 
[2026-08-21 16:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f78090012d195a8007209fb8003b001f29..."} 
[2026-08-21 16:28:07] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f78090012d195a8007209fb8003b001f29..."} 
[2026-08-21 16:28:07] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:28:07] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756636288,"raw_latitude":119578552,"longitude_deg":75.6636288,"latitude_deg":11.9578552,"altitude":59,"angle":31,"satellites":41,"speed":8,"hex_longitude":"2d195a80","hex_latitude":"07209fb8","is_valid_coordinates":true} 
[2026-08-21 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551311872001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14221938092146688,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825294885836384256,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309818000,"timestamp_ms":1787309818000,"timestamp_seconds":1787309818,"priority":1,"record_length":96,"hex_timestamp":"000001a023f78090"} 
[2026-08-21 16:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 16:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551311872001,"66":14211,"103":206,"83":41984,"24":8,"16":14221938092146688,"45":1825294885836384256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551311872001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14221938092146688,"km_value":14221938092146.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825294885836384256,"description":"Unknown IO ID 45"} 
[2026-08-21 16:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551311872001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1825294885836384256}} 
[2026-08-21 16:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:28:07] local.INFO: GPS data processed {"connection_id":161713,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:28:07] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:28:34] local.INFO: TCP Data received {"connection_id":159166,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f79fd0012dd12480051c8c30000d014827..."} 
[2026-08-21 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f79fd0012dd12480051c8c30000d014827..."} 
[2026-08-21 16:28:34] local.INFO: Processing buffer {"connection_id":159166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f79fd0012dd12480051c8c30000d014827..."} 
[2026-08-21 16:28:34] local.INFO: Packet analysis {"connection_id":159166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:28:34] local.INFO: Extracted packet for processing {"connection_id":159166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":768681088,"raw_latitude":85756976,"longitude_deg":76.8681088,"latitude_deg":8.5756976,"altitude":13,"angle":328,"satellites":39,"speed":8,"hex_longitude":"2dd12480","hex_latitude":"051c8c30","is_valid_coordinates":true} 
[2026-08-21 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-08-21 16:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551314944001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388306378323656704,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3376010848713918464,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787309826000,"timestamp_ms":1787309826000,"timestamp_seconds":1787309826,"priority":1,"record_length":96,"hex_timestamp":"000001a023f79fd0"} 
[2026-08-21 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-08-21 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 16:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551314944001,"66":27974,"7":206,"80":34816,"24":8,"16":388306378323656704,"45":-3376010848713918464},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551314944001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:28:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:28:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388306378323656704,"km_value":388306378323656.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3376010848713918464,"description":"Unknown IO ID 45"} 
[2026-08-21 16:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551314944001,"power":27974,"unknown_7":206,"unknown_80":34816,"ignition":8,"odometer":null,"unknown_45":-3376010848713918464}} 
[2026-08-21 16:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":159166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:28:34] local.INFO: GPS data processed {"connection_id":159166,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:28:34] local.INFO: Acknowledgment sent {"connection_id":159166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:28:38] local.INFO: TCP Data received {"connection_id":161713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f78478012d195ac00720a0b0003b000b29..."} 
[2026-08-21 16:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f78478012d195ac00720a0b0003b000b29..."} 
[2026-08-21 16:28:38] local.INFO: Processing buffer {"connection_id":161713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f78478012d195ac00720a0b0003b000b29..."} 
[2026-08-21 16:28:38] local.INFO: Packet analysis {"connection_id":161713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:28:38] local.INFO: Extracted packet for processing {"connection_id":161713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756636352,"raw_latitude":119578800,"longitude_deg":75.6636352,"latitude_deg":11.95788,"altitude":59,"angle":11,"satellites":41,"speed":9,"hex_longitude":"2d195ac0","hex_latitude":"0720a0b0","is_valid_coordinates":true} 
[2026-08-21 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551313408001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14221950977048576,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1826913366952622080,"note":"Value kept but may cause issues"} 
[2026-08-21 16:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309819000,"timestamp_ms":1787309819000,"timestamp_seconds":1787309819,"priority":1,"record_length":96,"hex_timestamp":"000001a023f78478"} 
[2026-08-21 16:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 16:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551313408001,"66":14211,"103":206,"83":41984,"24":9,"16":14221950977048576,"45":1826913366952622080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551313408001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:28:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14221950977048576,"km_value":14221950977048.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1826913366952622080,"description":"Unknown IO ID 45"} 
[2026-08-21 16:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551313408001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1826913366952622080}} 
[2026-08-21 16:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":161713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:28:38] local.INFO: GPS data processed {"connection_id":161713,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:28:38] local.INFO: Acknowledgment sent {"connection_id":161713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:28:57] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:28:57] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:28:57] local.INFO: IMEI packet received {"connection_id":159167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":159167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:29:00] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:00] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:00] local.INFO: IMEI packet received {"connection_id":159167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":159167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:29:01] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:29:01] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:29:01] local.INFO: IMEI packet received {"connection_id":159459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":159459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:29:03] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:03] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:03] local.INFO: IMEI packet received {"connection_id":159167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":159167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:29:04] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f7f1d8012dd11180051ca3f8000d013f2d..."} 
[2026-08-21 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f7f1d8012dd11180051ca3f8000d013f2d..."} 
[2026-08-21 16:29:04] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f7f1d8012dd11180051ca3f8000d013f2d..."} 
[2026-08-21 16:29:04] local.INFO: Packet analysis {"connection_id":159167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:29:04] local.INFO: Extracted packet for processing {"connection_id":159167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f7"} 
[2026-08-21 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":768676224,"raw_latitude":85763064,"longitude_deg":76.8676224,"latitude_deg":8.5763064,"altitude":13,"angle":319,"satellites":45,"speed":8,"hex_longitude":"2dd11180","hex_latitude":"051ca3f8","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551315456001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388306756280778752,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3376433061178888192,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787309847000,"timestamp_ms":1787309847000,"timestamp_seconds":1787309847,"priority":1,"record_length":96,"hex_timestamp":"000001a023f7f1d8"} 
[2026-08-21 16:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551315456001,"66":28028,"7":206,"80":34816,"24":8,"16":388306756280778752,"45":-3376433061178888192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551315456001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:29:04] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:29:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388306756280778752,"km_value":388306756280778.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3376433061178888192,"description":"Unknown IO ID 45"} 
[2026-08-21 16:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551315456001,"power":28028,"unknown_7":206,"unknown_80":34816,"ignition":8,"odometer":null,"unknown_45":-3376433061178888192}} 
[2026-08-21 16:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":159167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:29:04] local.INFO: GPS data processed {"connection_id":159167,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:29:04] local.INFO: Acknowledgment sent {"connection_id":159167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:29:06] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:29:06] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:29:06] local.INFO: IMEI packet received {"connection_id":159459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":159459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:29:07] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f87e78012d18d6400720ff700041014b2b..."} 
[2026-08-21 16:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f87e78012d18d6400720ff700041014b2b..."} 
[2026-08-21 16:29:07] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f87e78012d18d6400720ff700041014b2b..."} 
[2026-08-21 16:29:07] local.INFO: Packet analysis {"connection_id":159459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:29:07] local.INFO: Extracted packet for processing {"connection_id":159459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:29:07] local.INFO: GPS Element Parsed {"raw_longitude":756602432,"raw_latitude":119603056,"longitude_deg":75.6602432,"latitude_deg":11.9603056,"altitude":65,"angle":331,"satellites":43,"speed":32,"hex_longitude":"2d18d640","hex_latitude":"0720ff70","is_valid_coordinates":true} 
[2026-08-21 16:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551329024001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14224064100958208,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792151207334477824,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787309883000,"timestamp_ms":1787309883000,"timestamp_seconds":1787309883,"priority":1,"record_length":96,"hex_timestamp":"000001a023f87e78"} 
[2026-08-21 16:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 16:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551329024001,"66":14189,"103":206,"83":41984,"24":32,"16":14224064100958208,"45":1792151207334477824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551329024001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:29:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:29:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14224064100958208,"km_value":14224064100958.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792151207334477824,"description":"Unknown IO ID 45"} 
[2026-08-21 16:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551329024001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1792151207334477824}} 
[2026-08-21 16:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":159459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:29:08] local.INFO: GPS data processed {"connection_id":159459,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:29:08] local.INFO: Acknowledgment sent {"connection_id":159459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:29:13] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:29:13] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:29:13] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:29:18] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:29:18] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:29:18] local.INFO: IMEI packet received {"connection_id":161714,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":161714,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:29:19] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f939f8012d0c6ac007050308001c00a324..."} 
[2026-08-21 16:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f939f8012d0c6ac007050308001c00a324..."} 
[2026-08-21 16:29:19] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f939f8012d0c6ac007050308001c00a324..."} 
[2026-08-21 16:29:19] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:29:19] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:29:19] local.INFO: GPS Element Parsed {"raw_longitude":755788480,"raw_latitude":117768968,"longitude_deg":75.578848,"latitude_deg":11.7768968,"altitude":28,"angle":163,"satellites":36,"speed":37,"hex_longitude":"2d0c6ac0","hex_latitude":"07050308","is_valid_coordinates":true} 
[2026-08-21 16:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551339776001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29318013698179072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892979393765726208,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787309931000,"timestamp_ms":1787309931000,"timestamp_seconds":1787309931,"priority":1,"record_length":96,"hex_timestamp":"000001a023f939f8"} 
[2026-08-21 16:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 16:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551339776001,"66":14439,"164":206,"94":10240,"24":37,"16":29318013698179072,"45":892979393765726208},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 16:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551339776001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:29:19] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 16:29:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29318013698179072,"km_value":29318013698179.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":892979393765726208,"description":"Unknown IO ID 45"} 
[2026-08-21 16:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551339776001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":892979393765726208}} 
[2026-08-21 16:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:29:19] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:29:19] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:29:35] local.INFO: TCP Data received {"connection_id":159167,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f843e0012dd10000051cb8b0000e013f2d..."} 
[2026-08-21 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f843e0012dd10000051cb8b0000e013f2d..."} 
[2026-08-21 16:29:35] local.INFO: Processing buffer {"connection_id":159167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f843e0012dd10000051cb8b0000e013f2d..."} 
[2026-08-21 16:29:35] local.INFO: Packet analysis {"connection_id":159167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:29:35] local.INFO: Extracted packet for processing {"connection_id":159167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":768671744,"raw_latitude":85768368,"longitude_deg":76.8671744,"latitude_deg":8.5768368,"altitude":14,"angle":319,"satellites":45,"speed":10,"hex_longitude":"2dd10000","hex_latitude":"051cb8b0","is_valid_coordinates":true} 
[2026-08-21 16:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551320832001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388307095583195136,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3381781085734832128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787309868000,"timestamp_ms":1787309868000,"timestamp_seconds":1787309868,"priority":1,"record_length":96,"hex_timestamp":"000001a023f843e0"} 
[2026-08-21 16:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 16:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551320832001,"66":28082,"7":206,"80":34816,"24":10,"16":388307095583195136,"45":-3381781085734832128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551320832001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:29:35] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:29:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388307095583195136,"km_value":388307095583195.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3381781085734832128,"description":"Unknown IO ID 45"} 
[2026-08-21 16:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551320832001,"power":28082,"unknown_7":206,"unknown_80":34816,"ignition":10,"odometer":null,"unknown_45":-3381781085734832128}} 
[2026-08-21 16:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":159167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:29:35] local.INFO: GPS data processed {"connection_id":159167,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:29:35] local.INFO: Acknowledgment sent {"connection_id":159167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:29:39] local.INFO: TCP Data received {"connection_id":159459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f88648012d18d40007210580004101582b..."} 
[2026-08-21 16:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f88648012d18d40007210580004101582b..."} 
[2026-08-21 16:29:39] local.INFO: Processing buffer {"connection_id":159459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f88648012d18d40007210580004101582b..."} 
[2026-08-21 16:29:39] local.INFO: Packet analysis {"connection_id":159459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:29:39] local.INFO: Extracted packet for processing {"connection_id":159459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:29:39] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119604608,"longitude_deg":75.6601856,"latitude_deg":11.9604608,"altitude":65,"angle":344,"satellites":43,"speed":32,"hex_longitude":"2d18d400","hex_latitude":"07210580","is_valid_coordinates":true} 
[2026-08-21 16:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551330048001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14224141410369536,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789688301288910848,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787309885000,"timestamp_ms":1787309885000,"timestamp_seconds":1787309885,"priority":1,"record_length":96,"hex_timestamp":"000001a023f88648"} 
[2026-08-21 16:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 16:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551330048001,"66":13461,"103":206,"83":41984,"24":32,"16":14224141410369536,"45":1789688301288910848},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 16:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551330048001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:29:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 16:29:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14224141410369536,"km_value":14224141410369.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789688301288910848,"description":"Unknown IO ID 45"} 
[2026-08-21 16:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551330048001,"power":13461,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1789688301288910848}} 
[2026-08-21 16:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":159459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:29:39] local.INFO: GPS data processed {"connection_id":159459,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:29:39] local.INFO: Acknowledgment sent {"connection_id":159459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:29:50] local.INFO: TCP Data received {"connection_id":161714,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f939f8012d0c6ac007050308001c00a324..."} 
[2026-08-21 16:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f939f8012d0c6ac007050308001c00a324..."} 
[2026-08-21 16:29:50] local.INFO: Processing buffer {"connection_id":161714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f939f8012d0c6ac007050308001c00a324..."} 
[2026-08-21 16:29:50] local.INFO: Packet analysis {"connection_id":161714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:29:50] local.INFO: Extracted packet for processing {"connection_id":161714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:29:50] local.INFO: GPS Element Parsed {"raw_longitude":755788480,"raw_latitude":117768968,"longitude_deg":75.578848,"latitude_deg":11.7768968,"altitude":28,"angle":163,"satellites":36,"speed":37,"hex_longitude":"2d0c6ac0","hex_latitude":"07050308","is_valid_coordinates":true} 
[2026-08-21 16:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551342336001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29318013698179072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894738612367853568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787309931000,"timestamp_ms":1787309931000,"timestamp_seconds":1787309931,"priority":1,"record_length":96,"hex_timestamp":"000001a023f939f8"} 
[2026-08-21 16:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 16:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161714,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551342336001,"66":14439,"164":206,"94":10240,"24":37,"16":29318013698179072,"45":894738612367853568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 16:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551342336001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:29:50] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 16:29:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29318013698179072,"km_value":29318013698179.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":894738612367853568,"description":"Unknown IO ID 45"} 
[2026-08-21 16:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551342336001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":894738612367853568}} 
[2026-08-21 16:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":161714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676615,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:29:51] local.INFO: GPS data processed {"connection_id":161714,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:29:51] local.INFO: Acknowledgment sent {"connection_id":161714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:29:57] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:57] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:29:57] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:30:02] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:02] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:02] local.INFO: IMEI packet received {"connection_id":159460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":159460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:30:02] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:30:02] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:30:02] local.INFO: IMEI packet received {"connection_id":160348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":160348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:30:05] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f895e8012dd0f500051cc650000d013b2c..."} 
[2026-08-21 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f895e8012dd0f500051cc650000d013b2c..."} 
[2026-08-21 16:30:05] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f895e8012dd0f500051cc650000d013b2c..."} 
[2026-08-21 16:30:05] local.INFO: Packet analysis {"connection_id":160348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:30:05] local.INFO: Extracted packet for processing {"connection_id":160348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":768668928,"raw_latitude":85771856,"longitude_deg":76.8668928,"latitude_deg":8.5771856,"altitude":13,"angle":315,"satellites":44,"speed":6,"hex_longitude":"2dd0f500","hex_latitude":"051cc650","is_valid_coordinates":true} 
[2026-08-21 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551326208001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388307310331559936,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3386706897825910784,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787309889000,"timestamp_ms":1787309889000,"timestamp_seconds":1787309889,"priority":1,"record_length":96,"hex_timestamp":"000001a023f895e8"} 
[2026-08-21 16:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 16:30:05] 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-08-21 16:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:30: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-08-21 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551326208001,"66":27919,"7":206,"80":34816,"24":6,"16":388307310331559936,"45":-3386706897825910784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551326208001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:30:05] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:30:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388307310331559936,"km_value":388307310331559.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3386706897825910784,"description":"Unknown IO ID 45"} 
[2026-08-21 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551326208001,"power":27919,"unknown_7":206,"unknown_80":34816,"ignition":6,"odometer":null,"unknown_45":-3386706897825910784}} 
[2026-08-21 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":160348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:30:05] local.INFO: GPS data processed {"connection_id":160348,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:30:05] local.INFO: Acknowledgment sent {"connection_id":160348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:30:06] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:06] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:06] local.INFO: IMEI packet received {"connection_id":159460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":159460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:30:07] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:07] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:07] local.INFO: IMEI packet received {"connection_id":159460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":159460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:30:07] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:07] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:07] local.INFO: IMEI packet received {"connection_id":159461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":159461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:30:08] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f96108012d18844007218098004c01192a..."} 
[2026-08-21 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f96108012d18844007218098004c01192a..."} 
[2026-08-21 16:30:08] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f96108012d18844007218098004c01192a..."} 
[2026-08-21 16:30:08] local.INFO: Packet analysis {"connection_id":159460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:08] local.INFO: Extracted packet for processing {"connection_id":159460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:08] local.INFO: GPS Element Parsed {"raw_longitude":756581440,"raw_latitude":119636120,"longitude_deg":75.658144,"latitude_deg":11.963612,"altitude":76,"angle":281,"satellites":42,"speed":38,"hex_longitude":"2d188440","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551344896001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226129980227584,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766607353207101440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787309941000,"timestamp_ms":1787309941000,"timestamp_seconds":1787309941,"priority":1,"record_length":96,"hex_timestamp":"000001a023f96108"} 
[2026-08-21 16:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2306867200,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":137,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4177741825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-21 16:30:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,138,160,57,45,192,115,75,46,10,66,50,128,111,11,1,240,185,227,137,35,33,4,113,205,32,239,196,55,103,2,7,69,23],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-21 16:30:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476686290041044992,"timestamp_seconds":5476686290041045.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551344896001,"66":14080,"106":206,"83":41984,"24":38,"16":14226129980227584,"45":1766607353207101440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551344896001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:30:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:30:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226129980227584,"km_value":14226129980227.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766607353207101440,"description":"Unknown IO ID 45"} 
[2026-08-21 16:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551344896001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1766607353207101440}} 
[2026-08-21 16:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":159460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:30:08] local.INFO: GPS data processed {"connection_id":159460,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:30:08] local.INFO: Acknowledgment sent {"connection_id":159460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:30:08] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:08] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:08] local.INFO: IMEI packet received {"connection_id":159461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":159461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:30:09] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f96cc0012d1878c0072181c8004c010e2a..."} 
[2026-08-21 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f96cc0012d1878c0072181c8004c010e2a..."} 
[2026-08-21 16:30:09] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f96cc0012d1878c0072181c8004c010e2a..."} 
[2026-08-21 16:30:09] local.INFO: Packet analysis {"connection_id":159460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:09] local.INFO: Extracted packet for processing {"connection_id":159460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756578496,"raw_latitude":119636424,"longitude_deg":75.6578496,"latitude_deg":11.9636424,"altitude":76,"angle":270,"satellites":42,"speed":38,"hex_longitude":"2d1878c0","hex_latitude":"072181c8","is_valid_coordinates":true} 
[2026-08-21 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551344896001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226267419181056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766607353207101440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787309944000,"timestamp_ms":1787309944000,"timestamp_seconds":1787309944,"priority":1,"record_length":96,"hex_timestamp":"000001a023f96cc0"} 
[2026-08-21 16:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2309685248,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4178253825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3221692752,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:09] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,138,160,97,45,64,128,76,42,10,66,57,192,115,75,46,50,1,240,227,35,33,4,113,205,31,3,194,96,239,55,2,7,70,27],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-08-21 16:30:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476686290041044992,"timestamp_seconds":5476686290041045.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551344896001,"66":14102,"106":206,"83":41984,"24":38,"16":14226267419181056,"45":1766607353207101440},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551344896001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226267419181056,"km_value":14226267419181.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766607353207101440,"description":"Unknown IO ID 45"} 
[2026-08-21 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551344896001,"power":14102,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1766607353207101440}} 
[2026-08-21 16:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":159460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:30:09] local.INFO: GPS data processed {"connection_id":159460,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:30:09] local.INFO: Acknowledgment sent {"connection_id":159460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:30:14] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:14] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:30:14] local.INFO: IMEI packet received {"connection_id":159461,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":159461,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:30:14] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023f941c8012d0c6d800704fc70001c009824..."} 
[2026-08-21 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f941c8012d0c6d800704fc70001c009824..."} 
[2026-08-21 16:30:14] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f941c8012d0c6d800704fc70001c009824..."} 
[2026-08-21 16:30:14] local.INFO: Packet analysis {"connection_id":159461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:14] local.INFO: Extracted packet for processing {"connection_id":159461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":755789184,"raw_latitude":117767280,"longitude_deg":75.5789184,"latitude_deg":11.776728,"altitude":28,"angle":152,"satellites":36,"speed":34,"hex_longitude":"2d0c6d80","hex_latitude":"0704fc70","is_valid_coordinates":true} 
[2026-08-21 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551342336001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29318099597524992,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894738612367853568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787309933000,"timestamp_ms":1787309933000,"timestamp_seconds":1787309933,"priority":1,"record_length":96,"hex_timestamp":"000001a023f941c8"} 
[2026-08-21 16:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 16:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551342336001,"66":14439,"164":206,"94":10240,"24":34,"16":29318099597524992,"45":894738612367853568},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-08-21 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551342336001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29318099597524992,"km_value":29318099597524.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":894738612367853568,"description":"Unknown IO ID 45"} 
[2026-08-21 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551342336001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":894738612367853568}} 
[2026-08-21 16:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":159461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676619,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:30:14] local.INFO: GPS data processed {"connection_id":159461,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:30:14] local.INFO: Acknowledgment sent {"connection_id":159461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:30:38] local.INFO: TCP Data received {"connection_id":160348,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f8c8b0012dd0ec40051ccf80000d01472a..."} 
[2026-08-21 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f8c8b0012dd0ec40051ccf80000d01472a..."} 
[2026-08-21 16:30:38] local.INFO: Processing buffer {"connection_id":160348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f8c8b0012dd0ec40051ccf80000d01472a..."} 
[2026-08-21 16:30:38] local.INFO: Packet analysis {"connection_id":160348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:30:38] local.INFO: Extracted packet for processing {"connection_id":160348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f8"} 
[2026-08-21 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":768666688,"raw_latitude":85774208,"longitude_deg":76.8666688,"latitude_deg":8.5774208,"altitude":13,"angle":327,"satellites":42,"speed":8,"hex_longitude":"2dd0ec40","hex_latitude":"051ccf80","is_valid_coordinates":true} 
[2026-08-21 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551331584001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388307469245349888,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3389803122568835072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787309902000,"timestamp_ms":1787309902000,"timestamp_seconds":1787309902,"priority":1,"record_length":96,"hex_timestamp":"000001a023f8c8b0"} 
[2026-08-21 16:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:30:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551331584001,"66":27974,"7":206,"80":34816,"24":8,"16":388307469245349888,"45":-3389803122568835072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551331584001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:30:38] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:30:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388307469245349888,"km_value":388307469245349.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3389803122568835072,"description":"Unknown IO ID 45"} 
[2026-08-21 16:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551331584001,"power":27974,"unknown_7":206,"unknown_80":34816,"ignition":8,"odometer":null,"unknown_45":-3389803122568835072}} 
[2026-08-21 16:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":160348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:30:38] local.INFO: GPS data processed {"connection_id":160348,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:30:38] local.INFO: Acknowledgment sent {"connection_id":160348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:30:41] local.INFO: TCP Data received {"connection_id":159460,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023f98430012d18624007218210004d011d2c..."} 
[2026-08-21 16:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f98430012d18624007218210004d011d2c..."} 
[2026-08-21 16:30:41] local.INFO: Processing buffer {"connection_id":159460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f98430012d18624007218210004d011d2c..."} 
[2026-08-21 16:30:41] local.INFO: Packet analysis {"connection_id":159460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:41] local.INFO: Extracted packet for processing {"connection_id":159460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:30:41] local.INFO: GPS Element Parsed {"raw_longitude":756572736,"raw_latitude":119636496,"longitude_deg":75.6572736,"latitude_deg":11.9636496,"altitude":77,"angle":285,"satellites":44,"speed":38,"hex_longitude":"2d186240","hex_latitude":"07218210","is_valid_coordinates":true} 
[2026-08-21 16:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551345664001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14226542297088000,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763370390975006720,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787309950000,"timestamp_ms":1787309950000,"timestamp_seconds":1787309950,"priority":1,"record_length":96,"hex_timestamp":"000001a023f98430"} 
[2026-08-21 16:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-08-21 16:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551345664001,"66":14070,"105":206,"83":41984,"24":38,"16":14226542297088000,"45":1763370390975006720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 16:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551345664001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:30:41] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 16:30:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14226542297088000,"km_value":14226542297088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763370390975006720,"description":"Unknown IO ID 45"} 
[2026-08-21 16:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551345664001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1763370390975006720}} 
[2026-08-21 16:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":159460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:30:41] local.INFO: GPS data processed {"connection_id":159460,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:30:41] local.INFO: Acknowledgment sent {"connection_id":159460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:30:48] local.INFO: TCP Data received {"connection_id":159461,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a023fab0f8012d0ca100070427b0001600cb24..."} 
[2026-08-21 16:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fab0f8012d0ca100070427b0001600cb24..."} 
[2026-08-21 16:30:48] local.INFO: Processing buffer {"connection_id":159461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fab0f8012d0ca100070427b0001600cb24..."} 
[2026-08-21 16:30:48] local.INFO: Packet analysis {"connection_id":159461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:30:48] local.INFO: Extracted packet for processing {"connection_id":159461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:30:48] local.INFO: GPS Element Parsed {"raw_longitude":755802368,"raw_latitude":117712816,"longitude_deg":75.5802368,"latitude_deg":11.7712816,"altitude":22,"angle":203,"satellites":36,"speed":12,"hex_longitude":"2d0ca100","hex_latitude":"070427b0","is_valid_coordinates":true} 
[2026-08-21 16:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551366144001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29321084599795712,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910782686026299392,"note":"Value kept but may cause issues"} 
[2026-08-21 16:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787310027000,"timestamp_ms":1787310027000,"timestamp_seconds":1787310027,"priority":1,"record_length":96,"hex_timestamp":"000001a023fab0f8"} 
[2026-08-21 16:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 16:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159461,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551366144001,"66":14276,"95":206,"94":10240,"24":12,"16":29321084599795712,"45":910782686026299392},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-08-21 16:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551366144001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:30:48] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 16:30:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-08-21 16:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29321084599795712,"km_value":29321084599795.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":910782686026299392,"description":"Unknown IO ID 45"} 
[2026-08-21 16:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551366144001,"power":14276,"unknown_95":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":910782686026299392}} 
[2026-08-21 16:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":159461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676622,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:30:48] local.INFO: GPS data processed {"connection_id":159461,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:30:48] local.INFO: Acknowledgment sent {"connection_id":159461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:30:57] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:57] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:57] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:30:58] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:58] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:30:58] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:31:01] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:31:01] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:31:01] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:31:01] local.INFO: TCP Data received {"connection_id":161715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:31:01] local.INFO: Processing buffer {"connection_id":161715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:31:01] local.INFO: IMEI packet received {"connection_id":161715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":161715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:31:02] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:02] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:02] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:31:07] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:07] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:07] local.INFO: IMEI packet received {"connection_id":161716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":161716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:31:08] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f912e8012dd0e780051cd530000d013a2b..."} 
[2026-08-21 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f912e8012dd0e780051cd530000d013a2b..."} 
[2026-08-21 16:31:08] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f912e8012dd0e780051cd530000d013a2b..."} 
[2026-08-21 16:31:08] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:31:08] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":768665472,"raw_latitude":85775664,"longitude_deg":76.8665472,"latitude_deg":8.5775664,"altitude":13,"angle":314,"satellites":43,"speed":7,"hex_longitude":"2dd0e780","hex_latitude":"051cd530","is_valid_coordinates":true} 
[2026-08-21 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551334912001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388307563734630400,"note":"Value kept but may cause issues"} 
[2026-08-21 16:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3392266028614451200,"note":"Value kept but may cause issues"} 
[2026-08-21 16:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787309921000,"timestamp_ms":1787309921000,"timestamp_seconds":1787309921,"priority":1,"record_length":96,"hex_timestamp":"000001a023f912e8"} 
[2026-08-21 16:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551334912001,"66":27767,"7":206,"80":34816,"24":7,"16":388307563734630400,"45":-3392266028614451200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551334912001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:31:08] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:31:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388307563734630400,"km_value":388307563734630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3392266028614451200,"description":"Unknown IO ID 45"} 
[2026-08-21 16:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551334912001,"power":27767,"unknown_7":206,"unknown_80":34816,"ignition":7,"odometer":null,"unknown_45":-3392266028614451200}} 
[2026-08-21 16:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:31:08] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:31:08] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:31:08] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:08] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:08] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:31:09] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:09] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:09] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:31:09] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:09] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:09] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:31:10] local.INFO: TCP Data received {"connection_id":161717,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161717,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:10] local.INFO: Processing buffer {"connection_id":161717,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:31:10] local.INFO: IMEI packet received {"connection_id":161717,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":161717,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:31:13] local.INFO: TCP Data received {"connection_id":161716,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f94d80012dd0e080051cddf8000d01462d..."} 
[2026-08-21 16:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f94d80012dd0e080051cddf8000d01462d..."} 
[2026-08-21 16:31:13] local.INFO: Processing buffer {"connection_id":161716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f94d80012dd0e080051cddf8000d01462d..."} 
[2026-08-21 16:31:13] local.INFO: Packet analysis {"connection_id":161716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:31:13] local.INFO: Extracted packet for processing {"connection_id":161716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":768663680,"raw_latitude":85777912,"longitude_deg":76.866368,"latitude_deg":8.5777912,"altitude":13,"angle":326,"satellites":45,"speed":8,"hex_longitude":"2dd0e080","hex_latitude":"051cddf8","is_valid_coordinates":true} 
[2026-08-21 16:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551339776001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388307705468551168,"note":"Value kept but may cause issues"} 
[2026-08-21 16:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3393603034753454080,"note":"Value kept but may cause issues"} 
[2026-08-21 16:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787309936000,"timestamp_ms":1787309936000,"timestamp_seconds":1787309936,"priority":1,"record_length":96,"hex_timestamp":"000001a023f94d80"} 
[2026-08-21 16:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 16:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551339776001,"66":27930,"7":206,"80":34816,"24":8,"16":388307705468551168,"45":-3393603034753454080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551339776001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:31:13] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:31:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388307705468551168,"km_value":388307705468551.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3393603034753454080,"description":"Unknown IO ID 45"} 
[2026-08-21 16:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551339776001,"power":27930,"unknown_7":206,"unknown_80":34816,"ignition":8,"odometer":null,"unknown_45":-3393603034753454080}} 
[2026-08-21 16:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":161716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:31:13] local.INFO: GPS data processed {"connection_id":161716,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:31:13] local.INFO: Acknowledgment sent {"connection_id":161716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:31:57] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:57] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:31:57] local.INFO: IMEI packet received {"connection_id":159168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":159168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:32:02] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:02] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:02] local.INFO: IMEI packet received {"connection_id":159168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":159168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:32:03] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f99f88012dd0d780051ceac0000d014128..."} 
[2026-08-21 16:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f99f88012dd0d780051ceac0000d014128..."} 
[2026-08-21 16:32:03] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f99f88012dd0d780051ceac0000d014128..."} 
[2026-08-21 16:32:03] local.INFO: Packet analysis {"connection_id":159168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:32:03] local.INFO: Extracted packet for processing {"connection_id":159168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":768661376,"raw_latitude":85781184,"longitude_deg":76.8661376,"latitude_deg":8.5781184,"altitude":13,"angle":321,"satellites":40,"speed":5,"hex_longitude":"2dd0d780","hex_latitude":"051ceac0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551343616001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388307898742079488,"note":"Value kept but may cause issues"} 
[2026-08-21 16:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3395573359589853184,"note":"Value kept but may cause issues"} 
[2026-08-21 16:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787309957000,"timestamp_ms":1787309957000,"timestamp_seconds":1787309957,"priority":1,"record_length":96,"hex_timestamp":"000001a023f99f88"} 
[2026-08-21 16:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 16:32:03] 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-08-21 16: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-08-21 16:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551343616001,"66":28050,"7":206,"80":34816,"24":5,"16":388307898742079488,"45":-3395573359589853184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551343616001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:32:03] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388307898742079488,"km_value":388307898742079.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3395573359589853184,"description":"Unknown IO ID 45"} 
[2026-08-21 16:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551343616001,"power":28050,"unknown_7":206,"unknown_80":34816,"ignition":5,"odometer":null,"unknown_45":-3395573359589853184}} 
[2026-08-21 16:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":159168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:32:03] local.INFO: GPS data processed {"connection_id":159168,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:32:03] local.INFO: Acknowledgment sent {"connection_id":159168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:32:34] local.INFO: TCP Data received {"connection_id":159168,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023f9f190012dd0d400051cefb0000d01432b..."} 
[2026-08-21 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023f9f190012dd0d400051cefb0000d01432b..."} 
[2026-08-21 16:32:34] local.INFO: Processing buffer {"connection_id":159168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023f9f190012dd0d400051cefb0000d01432b..."} 
[2026-08-21 16:32:34] local.INFO: Packet analysis {"connection_id":159168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:32:34] local.INFO: Extracted packet for processing {"connection_id":159168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023f9"} 
[2026-08-21 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":768660480,"raw_latitude":85782448,"longitude_deg":76.866048,"latitude_deg":8.5782448,"altitude":13,"angle":323,"satellites":43,"speed":0,"hex_longitude":"2dd0d400","hex_latitude":"051cefb0","is_valid_coordinates":true} 
[2026-08-21 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551348992001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388307976051490816,"note":"Value kept but may cause issues"} 
[2026-08-21 16:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3398106634379411456,"note":"Value kept but may cause issues"} 
[2026-08-21 16:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787309978000,"timestamp_ms":1787309978000,"timestamp_seconds":1787309978,"priority":1,"record_length":96,"hex_timestamp":"000001a023f9f190"} 
[2026-08-21 16:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 16:32:34] 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-08-21 16:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551348992001,"66":27865,"7":206,"80":34816,"24":0,"16":388307976051490816,"45":-3398106634379411456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551348992001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:32:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:32:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388307976051490816,"km_value":388307976051490.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3398106634379411456,"description":"Unknown IO ID 45"} 
[2026-08-21 16:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551348992001,"power":27865,"unknown_7":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3398106634379411456}} 
[2026-08-21 16:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":159168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:32:34] local.INFO: GPS data processed {"connection_id":159168,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:32:34] local.INFO: Acknowledgment sent {"connection_id":159168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:32:57] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:57] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:57] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:32:57] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:57] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:32:57] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:33:02] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:02] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:02] local.INFO: IMEI packet received {"connection_id":160349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":160349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:33:03] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023fa4398012dd0d000051cf590000c01442b..."} 
[2026-08-21 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fa4398012dd0d000051cf590000c01442b..."} 
[2026-08-21 16:33:03] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fa4398012dd0d000051cf590000c01442b..."} 
[2026-08-21 16:33:03] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:33:03] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:33:03] local.INFO: GPS Element Parsed {"raw_longitude":768659456,"raw_latitude":85783952,"longitude_deg":76.8659456,"latitude_deg":8.5783952,"altitude":12,"angle":324,"satellites":43,"speed":0,"hex_longitude":"2dd0d000","hex_latitude":"051cf590","is_valid_coordinates":true} 
[2026-08-21 16:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551354368001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388308066245804032,"note":"Value kept but may cause issues"} 
[2026-08-21 16:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3399091796797575168,"note":"Value kept but may cause issues"} 
[2026-08-21 16:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787309999000,"timestamp_ms":1787309999000,"timestamp_seconds":1787309999,"priority":1,"record_length":96,"hex_timestamp":"000001a023fa4398"} 
[2026-08-21 16:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:33:03] 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-08-21 16:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551354368001,"66":27789,"7":206,"80":34816,"24":0,"16":388308066245804032,"45":-3399091796797575168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 16:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551354368001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:33:03] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 16:33:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388308066245804032,"km_value":388308066245804.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3399091796797575168,"description":"Unknown IO ID 45"} 
[2026-08-21 16:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551354368001,"power":27789,"unknown_7":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3399091796797575168}} 
[2026-08-21 16:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:33:03] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:33:03] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:33:34] local.INFO: TCP Data received {"connection_id":160349,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023fa8218012dd0ccc0051cf9f8000d01392b..."} 
[2026-08-21 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fa8218012dd0ccc0051cf9f8000d01392b..."} 
[2026-08-21 16:33:34] local.INFO: Processing buffer {"connection_id":160349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fa8218012dd0ccc0051cf9f8000d01392b..."} 
[2026-08-21 16:33:34] local.INFO: Packet analysis {"connection_id":160349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:33:34] local.INFO: Extracted packet for processing {"connection_id":160349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":768658624,"raw_latitude":85785080,"longitude_deg":76.8658624,"latitude_deg":8.578508,"altitude":13,"angle":313,"satellites":43,"speed":8,"hex_longitude":"2dd0ccc0","hex_latitude":"051cf9f8","is_valid_coordinates":true} 
[2026-08-21 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551359744001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388308139260248064,"note":"Value kept but may cause issues"} 
[2026-08-21 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3400217696704032768,"note":"Value kept but may cause issues"} 
[2026-08-21 16:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787310015000,"timestamp_ms":1787310015000,"timestamp_seconds":1787310015,"priority":1,"record_length":96,"hex_timestamp":"000001a023fa8218"} 
[2026-08-21 16:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 16:33:34] 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-08-21 16:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551359744001,"66":27876,"10":206,"80":34816,"24":8,"16":388308139260248064,"45":-3400217696704032768},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551359744001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:33:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 16:33:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388308139260248064,"km_value":388308139260248.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3400217696704032768,"description":"Unknown IO ID 45"} 
[2026-08-21 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551359744001,"power":27876,"unknown_10":206,"unknown_80":34816,"ignition":8,"odometer":null,"unknown_45":-3400217696704032768}} 
[2026-08-21 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":160349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:33:34] local.INFO: GPS data processed {"connection_id":160349,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:33:34] local.INFO: Acknowledgment sent {"connection_id":160349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:33:57] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:57] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:57] local.INFO: IMEI packet received {"connection_id":159169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:33:59] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:59] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:33:59] local.INFO: IMEI packet received {"connection_id":159169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":159169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:34:02] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:34:02] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:34:02] local.INFO: IMEI packet received {"connection_id":159169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":159169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:34:03] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023fa89e8012dd0cb80051cfb60000d01442a..."} 
[2026-08-21 16:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fa89e8012dd0cb80051cfb60000d01442a..."} 
[2026-08-21 16:34:03] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fa89e8012dd0cb80051cfb60000d01442a..."} 
[2026-08-21 16:34:03] local.INFO: Packet analysis {"connection_id":159169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:34:03] local.INFO: Extracted packet for processing {"connection_id":159169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:34:03] local.INFO: GPS Element Parsed {"raw_longitude":768658304,"raw_latitude":85785440,"longitude_deg":76.8658304,"latitude_deg":8.578544,"altitude":13,"angle":324,"satellites":42,"speed":9,"hex_longitude":"2dd0cb80","hex_latitude":"051cfb60","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388308160735084544,"note":"Value kept but may cause issues"} 
[2026-08-21 16:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3401132490378053632,"note":"Value kept but may cause issues"} 
[2026-08-21 16:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310017000,"timestamp_ms":1787310017000,"timestamp_seconds":1787310017,"priority":1,"record_length":96,"hex_timestamp":"000001a023fa89e8"} 
[2026-08-21 16:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:34:03] 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-08-21 16: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-08-21 16:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551363840001,"66":27919,"10":206,"80":34816,"24":9,"16":388308160735084544,"45":-3401132490378053632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 16:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:34:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 16:34:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388308160735084544,"km_value":388308160735084.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3401132490378053632,"description":"Unknown IO ID 45"} 
[2026-08-21 16:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551363840001,"power":27919,"unknown_10":206,"unknown_80":34816,"ignition":9,"odometer":null,"unknown_45":-3401132490378053632}} 
[2026-08-21 16:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":159169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:34:03] local.INFO: GPS data processed {"connection_id":159169,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:34:03] local.INFO: Acknowledgment sent {"connection_id":159169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:34:36] local.INFO: TCP Data received {"connection_id":159169,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023fadbf0012dd0c140051d0990000d01472b..."} 
[2026-08-21 16:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fadbf0012dd0c140051d0990000d01472b..."} 
[2026-08-21 16:34:36] local.INFO: Processing buffer {"connection_id":159169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fadbf0012dd0c140051d0990000d01472b..."} 
[2026-08-21 16:34:36] local.INFO: Packet analysis {"connection_id":159169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:34:36] local.INFO: Extracted packet for processing {"connection_id":159169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fa"} 
[2026-08-21 16:34:36] local.INFO: GPS Element Parsed {"raw_longitude":768655680,"raw_latitude":85789072,"longitude_deg":76.865568,"latitude_deg":8.5789072,"altitude":13,"angle":327,"satellites":43,"speed":0,"hex_longitude":"2dd0c140","hex_latitude":"051d0990","is_valid_coordinates":true} 
[2026-08-21 16:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551364352001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388308379778416640,"note":"Value kept but may cause issues"} 
[2026-08-21 16:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3401484334098849792,"note":"Value kept but may cause issues"} 
[2026-08-21 16:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787310038000,"timestamp_ms":1787310038000,"timestamp_seconds":1787310038,"priority":1,"record_length":96,"hex_timestamp":"000001a023fadbf0"} 
[2026-08-21 16:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16: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-08-21 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551364352001,"66":27930,"10":206,"80":34816,"24":0,"16":388308379778416640,"45":-3401484334098849792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 16:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551364352001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:34:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 16:34:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388308379778416640,"km_value":388308379778416.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3401484334098849792,"description":"Unknown IO ID 45"} 
[2026-08-21 16:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551364352001,"power":27930,"unknown_10":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3401484334098849792}} 
[2026-08-21 16:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":159169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:34:36] local.INFO: GPS data processed {"connection_id":159169,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:34:36] local.INFO: Acknowledgment sent {"connection_id":159169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:34:57] local.INFO: TCP Data received {"connection_id":161723,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:34:57] local.INFO: Processing buffer {"connection_id":161723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:34:57] local.INFO: IMEI packet received {"connection_id":161723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":161723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:35:02] local.INFO: TCP Data received {"connection_id":161723,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:35:02] local.INFO: Processing buffer {"connection_id":161723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:35:02] local.INFO: IMEI packet received {"connection_id":161723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":161723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:35:03] local.INFO: TCP Data received {"connection_id":161723,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023fb0300012dd0bf00051d0cf0000d013c2b..."} 
[2026-08-21 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fb0300012dd0bf00051d0cf0000d013c2b..."} 
[2026-08-21 16:35:03] local.INFO: Processing buffer {"connection_id":161723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fb0300012dd0bf00051d0cf0000d013c2b..."} 
[2026-08-21 16:35:03] local.INFO: Packet analysis {"connection_id":161723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fb"} 
[2026-08-21 16:35:03] local.INFO: Extracted packet for processing {"connection_id":161723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fb"} 
[2026-08-21 16:35:03] local.INFO: GPS Element Parsed {"raw_longitude":768655104,"raw_latitude":85789936,"longitude_deg":76.8655104,"latitude_deg":8.5789936,"altitude":13,"angle":316,"satellites":43,"speed":7,"hex_longitude":"2dd0bf00","hex_latitude":"051d0cf0","is_valid_coordinates":true} 
[2026-08-21 16:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551369728001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388308431318024192,"note":"Value kept but may cause issues"} 
[2026-08-21 16:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3404369452609204224,"note":"Value kept but may cause issues"} 
[2026-08-21 16:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310048000,"timestamp_ms":1787310048000,"timestamp_seconds":1787310048,"priority":1,"record_length":96,"hex_timestamp":"000001a023fb0300"} 
[2026-08-21 16:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 16:35:03] 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-08-21 16:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551369728001,"66":28050,"10":206,"80":34816,"24":7,"16":388308431318024192,"45":-3404369452609204224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 16:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551369728001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:35:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 16:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388308431318024192,"km_value":388308431318024.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3404369452609204224,"description":"Unknown IO ID 45"} 
[2026-08-21 16:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551369728001,"power":28050,"unknown_10":206,"unknown_80":34816,"ignition":7,"odometer":null,"unknown_45":-3404369452609204224}} 
[2026-08-21 16:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":161723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:35:03] local.INFO: GPS data processed {"connection_id":161723,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:35:03] local.INFO: Acknowledgment sent {"connection_id":161723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:35:34] local.INFO: TCP Data received {"connection_id":161723,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023fb1a70012dd0bc00051d1180000d014823..."} 
[2026-08-21 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fb1a70012dd0bc00051d1180000d014823..."} 
[2026-08-21 16:35:34] local.INFO: Processing buffer {"connection_id":161723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fb1a70012dd0bc00051d1180000d014823..."} 
[2026-08-21 16:35:34] local.INFO: Packet analysis {"connection_id":161723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fb"} 
[2026-08-21 16:35:34] local.INFO: Extracted packet for processing {"connection_id":161723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fb"} 
[2026-08-21 16:35:34] local.INFO: GPS Element Parsed {"raw_longitude":768654336,"raw_latitude":85791104,"longitude_deg":76.8654336,"latitude_deg":8.5791104,"altitude":13,"angle":328,"satellites":35,"speed":9,"hex_longitude":"2dd0bc00","hex_latitude":"051d1180","is_valid_coordinates":true} 
[2026-08-21 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551372288001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388308500037500928,"note":"Value kept but may cause issues"} 
[2026-08-21 16:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3405002771306582016,"note":"Value kept but may cause issues"} 
[2026-08-21 16:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787310054000,"timestamp_ms":1787310054000,"timestamp_seconds":1787310054,"priority":1,"record_length":96,"hex_timestamp":"000001a023fb1a70"} 
[2026-08-21 16:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 16:35:34] 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-08-21 16:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551372288001,"66":27995,"10":206,"80":34816,"24":9,"16":388308500037500928,"45":-3405002771306582016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 16:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551372288001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:35:34] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 16:35:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388308500037500928,"km_value":388308500037500.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3405002771306582016,"description":"Unknown IO ID 45"} 
[2026-08-21 16:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551372288001,"power":27995,"unknown_10":206,"unknown_80":34816,"ignition":9,"odometer":null,"unknown_45":-3405002771306582016}} 
[2026-08-21 16:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":161723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:35:34] local.INFO: GPS data processed {"connection_id":161723,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:35:34] local.INFO: Acknowledgment sent {"connection_id":161723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:35:57] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:35:57] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:35:57] local.INFO: IMEI packet received {"connection_id":159462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":159462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:36:02] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:36:02] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:36:02] local.INFO: IMEI packet received {"connection_id":159462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":159462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:36:03] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023fb6c78012dd0af80051d2290000e01402b..."} 
[2026-08-21 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fb6c78012dd0af80051d2290000e01402b..."} 
[2026-08-21 16:36:03] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fb6c78012dd0af80051d2290000e01402b..."} 
[2026-08-21 16:36:03] local.INFO: Packet analysis {"connection_id":159462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fb"} 
[2026-08-21 16:36:03] local.INFO: Extracted packet for processing {"connection_id":159462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fb"} 
[2026-08-21 16:36:03] local.INFO: GPS Element Parsed {"raw_longitude":768651136,"raw_latitude":85795472,"longitude_deg":76.8651136,"latitude_deg":8.5795472,"altitude":14,"angle":320,"satellites":43,"speed":0,"hex_longitude":"2dd0af80","hex_latitude":"051d2290","is_valid_coordinates":true} 
[2026-08-21 16:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551373824001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388308762030505984,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3405847196236414976,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310075000,"timestamp_ms":1787310075000,"timestamp_seconds":1787310075,"priority":1,"record_length":96,"hex_timestamp":"000001a023fb6c78"} 
[2026-08-21 16:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16: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-08-21 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 16:36:03] 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-08-21 16:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551373824001,"66":28104,"10":206,"80":34816,"24":0,"16":388308762030505984,"45":-3405847196236414976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 16:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551373824001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:36:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 16:36:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388308762030505984,"km_value":388308762030506.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3405847196236414976,"description":"Unknown IO ID 45"} 
[2026-08-21 16:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551373824001,"power":28104,"unknown_10":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3405847196236414976}} 
[2026-08-21 16:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":159462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:36:03] local.INFO: GPS data processed {"connection_id":159462,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:36:03] local.INFO: Acknowledgment sent {"connection_id":159462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:36:06] local.INFO: TCP Data received {"connection_id":159463,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:36:06] local.INFO: Processing buffer {"connection_id":159463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:36:06] local.INFO: IMEI packet received {"connection_id":159463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":159463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:36:07] local.INFO: TCP Data received {"connection_id":159463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023fe5e60012d1847000721e540005101052a..."} 
[2026-08-21 16:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fe5e60012d1847000721e540005101052a..."} 
[2026-08-21 16:36:07] local.INFO: Processing buffer {"connection_id":159463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fe5e60012d1847000721e540005101052a..."} 
[2026-08-21 16:36:07] local.INFO: Packet analysis {"connection_id":159463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:36:07] local.INFO: Extracted packet for processing {"connection_id":159463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756565760,"raw_latitude":119661888,"longitude_deg":75.656576,"latitude_deg":11.9661888,"altitude":81,"angle":261,"satellites":42,"speed":6,"hex_longitude":"2d184700","hex_latitude":"0721e540","is_valid_coordinates":true} 
[2026-08-21 16:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551428352001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14229754932625408,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749578117122703360,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310268000,"timestamp_ms":1787310268000,"timestamp_seconds":1787310268,"priority":1,"record_length":96,"hex_timestamp":"000001a023fe5e60"} 
[2026-08-21 16:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526541,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7566055215994503257,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3624927320,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638616184842857,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-2737962716529373613,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2376204288,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,141,160,86,45,64,228,81,41,10,66,59,128,220,85,40,51,1,240,185,227,35,33,4,113,205,88,80,239,55,2,50,7,17,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 16:36:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836979753491693568,"timestamp_seconds":5836979753491694.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551428352001,"66":13319,"105":206,"83":41984,"24":6,"16":14229754932625408,"45":1749578117122703360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 16:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551428352001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 16:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14229754932625408,"km_value":14229754932625.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749578117122703360,"description":"Unknown IO ID 45"} 
[2026-08-21 16:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551428352001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1749578117122703360}} 
[2026-08-21 16:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":159463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:36:07] local.INFO: GPS data processed {"connection_id":159463,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:36:07] local.INFO: Acknowledgment sent {"connection_id":159463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:36:12] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:36:12] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:36:12] local.INFO: IMEI packet received {"connection_id":161725,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":161725,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:36:13] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ff44d8012d0bf9c00702a3c0001400d425..."} 
[2026-08-21 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ff44d8012d0bf9c00702a3c0001400d425..."} 
[2026-08-21 16:36:13] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ff44d8012d0bf9c00702a3c0001400d425..."} 
[2026-08-21 16:36:13] local.INFO: Packet analysis {"connection_id":161725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:36:13] local.INFO: Extracted packet for processing {"connection_id":161725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:36:13] local.INFO: GPS Element Parsed {"raw_longitude":755759552,"raw_latitude":117613504,"longitude_deg":75.5759552,"latitude_deg":11.7613504,"altitude":20,"angle":212,"satellites":37,"speed":7,"hex_longitude":"2d0bf9c0","hex_latitude":"0702a3c0","is_valid_coordinates":true} 
[2026-08-21 16:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551439104001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29327385316818944,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865324477262059520,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787310327000,"timestamp_ms":1787310327000,"timestamp_seconds":1787310327,"priority":1,"record_length":96,"hex_timestamp":"000001a023ff44d8"} 
[2026-08-21 16:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 16:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551439104001,"66":14439,"37":206,"94":11008,"24":7,"16":29327385316818944,"45":865324477262059520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 16:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551439104001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:36:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 16:36:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 16:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29327385316818944,"km_value":29327385316818.945,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":865324477262059520,"description":"Unknown IO ID 45"} 
[2026-08-21 16:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551439104001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":865324477262059520}} 
[2026-08-21 16:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":161725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676635,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:36:13] local.INFO: GPS data processed {"connection_id":161725,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:36:13] local.INFO: Acknowledgment sent {"connection_id":161725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:36:34] local.INFO: TCP Data received {"connection_id":159462,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023ff40f0012dd05a80051d8cb0000d013f29..."} 
[2026-08-21 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ff40f0012dd05a80051d8cb0000d013f29..."} 
[2026-08-21 16:36:34] local.INFO: Processing buffer {"connection_id":159462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ff40f0012dd05a80051d8cb0000d013f29..."} 
[2026-08-21 16:36:34] local.INFO: Packet analysis {"connection_id":159462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:36:34] local.INFO: Extracted packet for processing {"connection_id":159462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:36:34] local.INFO: GPS Element Parsed {"raw_longitude":768629376,"raw_latitude":85822640,"longitude_deg":76.8629376,"latitude_deg":8.582264,"altitude":13,"angle":319,"satellites":41,"speed":31,"hex_longitude":"2dd05a80","hex_latitude":"051d8cb0","is_valid_coordinates":true} 
[2026-08-21 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551438336001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388310471427489792,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3427098556971765760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787310326000,"timestamp_ms":1787310326000,"timestamp_seconds":1787310326,"priority":1,"record_length":96,"hex_timestamp":"000001a023ff40f0"} 
[2026-08-21 16:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:36:34] 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-08-21 16:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551438336001,"66":27876,"67":206,"80":34816,"24":31,"16":388310471427489792,"45":-3427098556971765760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551438336001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:36:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:36:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388310471427489792,"km_value":388310471427489.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3427098556971765760,"description":"Unknown IO ID 45"} 
[2026-08-21 16:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551438336001,"power":27876,"unknown_67":206,"unknown_80":34816,"ignition":31,"odometer":null,"unknown_45":-3427098556971765760}} 
[2026-08-21 16:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":159462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:36:34] local.INFO: GPS data processed {"connection_id":159462,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:36:34] local.INFO: Acknowledgment sent {"connection_id":159462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:36:38] local.INFO: TCP Data received {"connection_id":159463,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023fe6248012d1846800721e4e0005000e72a..."} 
[2026-08-21 16:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fe6248012d1846800721e4e0005000e72a..."} 
[2026-08-21 16:36:38] local.INFO: Processing buffer {"connection_id":159463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fe6248012d1846800721e4e0005000e72a..."} 
[2026-08-21 16:36:38] local.INFO: Packet analysis {"connection_id":159463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:36:38] local.INFO: Extracted packet for processing {"connection_id":159463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756565632,"raw_latitude":119661792,"longitude_deg":75.6565632,"latitude_deg":11.9661792,"altitude":80,"angle":231,"satellites":42,"speed":9,"hex_longitude":"2d184680","hex_latitude":"0721e4e0","is_valid_coordinates":true} 
[2026-08-21 16:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551428608001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14229763522560000,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749367010890170368,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310269000,"timestamp_ms":1787310269000,"timestamp_seconds":1787310269,"priority":1,"record_length":96,"hex_timestamp":"000001a023fe6248"} 
[2026-08-21 16:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":7,"data_length":795,"current_offset":136} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":163,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4264781825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-2931842979443955456,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2376794112,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.WARNING: Large IO value detected {"io_id":254,"raw_value":1733887149731577863,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,141,160,90,45,192,229,81,41,10,66,86,64,228,59,128,1,240,163,227,35,33,4,113,205,18,43,85,239,55,2,50,7,88,254],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 16:36:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836952269996032000,"timestamp_seconds":5836952269996032,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551428608001,"66":13319,"105":206,"83":41984,"24":9,"16":14229763522560000,"45":1749367010890170368},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 16:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551428608001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:36:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 16:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14229763522560000,"km_value":14229763522560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749367010890170368,"description":"Unknown IO ID 45"} 
[2026-08-21 16:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551428608001,"power":13319,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1749367010890170368}} 
[2026-08-21 16:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":159463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:36:38] local.INFO: GPS data processed {"connection_id":159463,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:36:38] local.INFO: Acknowledgment sent {"connection_id":159463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:36:44] local.INFO: TCP Data received {"connection_id":161725,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024000828012d0bd4800702a3c8000d011026..."} 
[2026-08-21 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024000828012d0bd4800702a3c8000d011026..."} 
[2026-08-21 16:36:44] local.INFO: Processing buffer {"connection_id":161725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024000828012d0bd4800702a3c8000d011026..."} 
[2026-08-21 16:36:44] local.INFO: Packet analysis {"connection_id":161725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:36:44] local.INFO: Extracted packet for processing {"connection_id":161725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:36:44] local.INFO: GPS Element Parsed {"raw_longitude":755750016,"raw_latitude":117613512,"longitude_deg":75.5750016,"latitude_deg":11.7613512,"altitude":13,"angle":272,"satellites":38,"speed":3,"hex_longitude":"2d0bd480","hex_latitude":"0702a3c8","is_valid_coordinates":true} 
[2026-08-21 16:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551456256001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29327857763221504,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852658103309803520,"note":"Value kept but may cause issues"} 
[2026-08-21 16:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787310377000,"timestamp_ms":1787310377000,"timestamp_seconds":1787310377,"priority":1,"record_length":96,"hex_timestamp":"000001a024000828"} 
[2026-08-21 16:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 16:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551456256001,"66":14352,"37":206,"94":11008,"24":3,"16":29327857763221504,"45":852658103309803520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 16:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551456256001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:36:44] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 16:36:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 16:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29327857763221504,"km_value":29327857763221.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":852658103309803520,"description":"Unknown IO ID 45"} 
[2026-08-21 16:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551456256001,"power":14352,"unknown_37":206,"unknown_94":11008,"ignition":3,"odometer":null,"unknown_45":852658103309803520}} 
[2026-08-21 16:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":161725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676638,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:36:44] local.INFO: GPS data processed {"connection_id":161725,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:36:44] local.INFO: Acknowledgment sent {"connection_id":161725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:02] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:02] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:02] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:37:06] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:37:06] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:37:06] local.INFO: IMEI packet received {"connection_id":159464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":159464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:37:07] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:07] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:07] local.INFO: IMEI packet received {"connection_id":159171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":159171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:37:07] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023ff73b8012dd042c0051da6e8000e013d27..."} 
[2026-08-21 16:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ff73b8012dd042c0051da6e8000e013d27..."} 
[2026-08-21 16:37:07] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ff73b8012dd042c0051da6e8000e013d27..."} 
[2026-08-21 16:37:07] local.INFO: Packet analysis {"connection_id":159171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:37:07] local.INFO: Extracted packet for processing {"connection_id":159171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:37:07] local.INFO: GPS Element Parsed {"raw_longitude":768623296,"raw_latitude":85829352,"longitude_deg":76.8623296,"latitude_deg":8.5829352,"altitude":14,"angle":317,"satellites":39,"speed":25,"hex_longitude":"2dd042c0","hex_latitude":"051da6e8","is_valid_coordinates":true} 
[2026-08-21 16:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551443456001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388310909514153984,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3433291006457630720,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310339000,"timestamp_ms":1787310339000,"timestamp_seconds":1787310339,"priority":1,"record_length":96,"hex_timestamp":"000001a023ff73b8"} 
[2026-08-21 16:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37: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-08-21 16:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:37: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-08-21 16:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551443456001,"66":27930,"67":206,"80":34816,"24":25,"16":388310909514153984,"45":-3433291006457630720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551443456001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:07] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:37:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388310909514153984,"km_value":388310909514154.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3433291006457630720,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551443456001,"power":27930,"unknown_67":206,"unknown_80":34816,"ignition":25,"odometer":null,"unknown_45":-3433291006457630720}} 
[2026-08-21 16:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":159171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:07] local.INFO: GPS data processed {"connection_id":159171,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:07] local.INFO: Acknowledgment sent {"connection_id":159171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:08] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023ff9eb0012dd02b40051dc328000d013f29..."} 
[2026-08-21 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ff9eb0012dd02b40051dc328000d013f29..."} 
[2026-08-21 16:37:08] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ff9eb0012dd02b40051dc328000d013f29..."} 
[2026-08-21 16:37:08] local.INFO: Packet analysis {"connection_id":159171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:37:08] local.INFO: Extracted packet for processing {"connection_id":159171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":768617280,"raw_latitude":85836584,"longitude_deg":76.861728,"latitude_deg":8.5836584,"altitude":13,"angle":319,"satellites":41,"speed":39,"hex_longitude":"2dd02b40","hex_latitude":"051dc328","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551446784001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388311364780687360,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3439976037152790528,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787310350000,"timestamp_ms":1787310350000,"timestamp_seconds":1787310350,"priority":1,"record_length":96,"hex_timestamp":"000001a023ff9eb0"} 
[2026-08-21 16:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 16:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551446784001,"66":27865,"67":206,"80":34816,"24":39,"16":388311364780687360,"45":-3439976037152790528},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551446784001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388311364780687360,"km_value":388311364780687.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3439976037152790528,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551446784001,"power":27865,"unknown_67":206,"unknown_80":34816,"ignition":39,"odometer":null,"unknown_45":-3439976037152790528}} 
[2026-08-21 16:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":159171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:08] local.INFO: GPS data processed {"connection_id":159171,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:08] local.INFO: Acknowledgment sent {"connection_id":159171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:08] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:37:08] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:37:08] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:37:11] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:37:11] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:37:11] local.INFO: IMEI packet received {"connection_id":159464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":159464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:37:12] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023fe6a18012d1844c00721e2f0004f00d42a..."} 
[2026-08-21 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fe6a18012d1844c00721e2f0004f00d42a..."} 
[2026-08-21 16:37:12] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fe6a18012d1844c00721e2f0004f00d42a..."} 
[2026-08-21 16:37:12] local.INFO: Packet analysis {"connection_id":159464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:37:12] local.INFO: Extracted packet for processing {"connection_id":159464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756565184,"raw_latitude":119661296,"longitude_deg":75.6565184,"latitude_deg":11.9661296,"altitude":79,"angle":212,"satellites":42,"speed":18,"hex_longitude":"2d1844c0","hex_latitude":"0721e2f0","is_valid_coordinates":true} 
[2026-08-21 16:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551428864001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14229797882298368,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749226273401790464,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787310271000,"timestamp_ms":1787310271000,"timestamp_seconds":1787310271,"priority":1,"record_length":96,"hex_timestamp":"000001a023fe6a18"} 
[2026-08-21 16:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4265293825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-2931842979442841344,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":55,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2377449472,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.WARNING: Large IO value detected {"io_id":254,"raw_value":2578312079863185415,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:12] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,141,160,94,45,229,81,42,10,66,90,192,41,86,64,1,240,12,227,35,33,4,113,205,18,51,82,239,55,2,50,7,88,254],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 16:37:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764861690609467392,"timestamp_seconds":5764861690609467.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551428864001,"66":13200,"105":206,"83":41984,"24":18,"16":14229797882298368,"45":1749226273401790464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 16:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551428864001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 16:37:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14229797882298368,"km_value":14229797882298.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749226273401790464,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551428864001,"power":13200,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1749226273401790464}} 
[2026-08-21 16:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":159464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:12] local.INFO: GPS data processed {"connection_id":159464,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:12] local.INFO: Acknowledgment sent {"connection_id":159464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:14] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:37:14] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:37:14] local.INFO: IMEI packet received {"connection_id":159172,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":159172,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:37:14] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024002768012d0bcf400702a438000c010424..."} 
[2026-08-21 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024002768012d0bcf400702a438000c010424..."} 
[2026-08-21 16:37:14] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024002768012d0bcf400702a438000c010424..."} 
[2026-08-21 16:37:14] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:37:14] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:37:14] local.INFO: GPS Element Parsed {"raw_longitude":755748672,"raw_latitude":117613624,"longitude_deg":75.5748672,"latitude_deg":11.7613624,"altitude":12,"angle":260,"satellites":36,"speed":11,"hex_longitude":"2d0bcf40","hex_latitude":"0702a438","is_valid_coordinates":true} 
[2026-08-21 16:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551456512001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29327926482698240,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":852446997077280768,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787310385000,"timestamp_ms":1787310385000,"timestamp_seconds":1787310385,"priority":1,"record_length":96,"hex_timestamp":"000001a024002768"} 
[2026-08-21 16:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264508197,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":226587386316849162,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4504047131295744,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4293453825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1529151694,"corrected_to":0} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3221684900,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":8,"raw_value":5912147640976640,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-702553833988423660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:14] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,37,94,24,241,157,16,49,160,4,45,64,163,13,38,10,66,248,192,14,240,1,27,227,35,2,113,205,209,219,232,239,56,104,7,20,9,206,8,11],"length":628,"final_offset":758,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1529151694,"validated":0}]} 
[2026-08-21 16:37:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937047952864772096,"timestamp_seconds":937047952864772.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551456512001,"66":14374,"37":206,"94":11008,"24":11,"16":29327926482698240,"45":852446997077280768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 16:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551456512001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 16:37:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 16:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29327926482698240,"km_value":29327926482698.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":852446997077280768,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551456512001,"power":14374,"unknown_37":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":852446997077280768}} 
[2026-08-21 16:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:15] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:15] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:15] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023fe98f8012d182fc00721c3b8004b00d52a..."} 
[2026-08-21 16:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fe98f8012d182fc00721c3b8004b00d52a..."} 
[2026-08-21 16:37:15] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fe98f8012d182fc00721c3b8004b00d52a..."} 
[2026-08-21 16:37:15] local.INFO: Packet analysis {"connection_id":159464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:37:15] local.INFO: Extracted packet for processing {"connection_id":159464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:37:15] local.INFO: GPS Element Parsed {"raw_longitude":756559808,"raw_latitude":119653304,"longitude_deg":75.6559808,"latitude_deg":11.9653304,"altitude":75,"angle":213,"satellites":42,"speed":38,"hex_longitude":"2d182fc0","hex_latitude":"0721c3b8","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551429376001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14230261738766336,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1748733692192419840,"note":"Value kept but may cause issues"} 
[2026-08-21 16: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-08-21 16:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787310283000,"timestamp_ms":1787310283000,"timestamp_seconds":1787310283,"priority":1,"record_length":96,"hex_timestamp":"000001a023fe98f8"} 
[2026-08-21 16:37:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37: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-08-21 16: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":144,"data_length":795,"current_offset":136} 
[2026-08-21 16:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:37:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:37: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-08-21 16:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551429376001,"66":13102,"105":206,"83":41984,"24":38,"16":14230261738766336,"45":1748733692192419840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 16:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551429376001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 16:37:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14230261738766336,"km_value":14230261738766.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1748733692192419840,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551429376001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1748733692192419840}} 
[2026-08-21 16:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":159464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:15] local.INFO: GPS data processed {"connection_id":159464,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:15] local.INFO: Acknowledgment sent {"connection_id":159464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:39] local.INFO: TCP Data received {"connection_id":159171,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023ffc1d8012dd01480051de058000d014228..."} 
[2026-08-21 16:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ffc1d8012dd01480051de058000d014228..."} 
[2026-08-21 16:37:39] local.INFO: Processing buffer {"connection_id":159171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ffc1d8012dd01480051de058000d014228..."} 
[2026-08-21 16:37:39] local.INFO: Packet analysis {"connection_id":159171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:37:39] local.INFO: Extracted packet for processing {"connection_id":159171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:37:39] local.INFO: GPS Element Parsed {"raw_longitude":768611456,"raw_latitude":85844056,"longitude_deg":76.8611456,"latitude_deg":8.5844056,"altitude":13,"angle":322,"satellites":40,"speed":39,"hex_longitude":"2dd01480","hex_latitude":"051de058","is_valid_coordinates":true} 
[2026-08-21 16:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551449600001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388311820047220736,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3446590699103639552,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787310359000,"timestamp_ms":1787310359000,"timestamp_seconds":1787310359,"priority":1,"record_length":96,"hex_timestamp":"000001a023ffc1d8"} 
[2026-08-21 16:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551449600001,"66":27767,"67":206,"80":34816,"24":39,"16":388311820047220736,"45":-3446590699103639552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551449600001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:39] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:37:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388311820047220736,"km_value":388311820047220.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3446590699103639552,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551449600001,"power":27767,"unknown_67":206,"unknown_80":34816,"ignition":39,"odometer":null,"unknown_45":-3446590699103639552}} 
[2026-08-21 16:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":159171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:39] local.INFO: GPS data processed {"connection_id":159171,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:39] local.INFO: Acknowledgment sent {"connection_id":159171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:46] local.INFO: TCP Data received {"connection_id":159172,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240065e8012d0bbe0007029ed0000d00f825..."} 
[2026-08-21 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240065e8012d0bbe0007029ed0000d00f825..."} 
[2026-08-21 16:37:46] local.INFO: Processing buffer {"connection_id":159172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240065e8012d0bbe0007029ed0000d00f825..."} 
[2026-08-21 16:37:46] local.INFO: Packet analysis {"connection_id":159172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:37:46] local.INFO: Extracted packet for processing {"connection_id":159172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":755744256,"raw_latitude":117612240,"longitude_deg":75.5744256,"latitude_deg":11.761224,"altitude":13,"angle":248,"satellites":37,"speed":15,"hex_longitude":"2d0bbe00","hex_latitude":"07029ed0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551458560001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":29328145526030336,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":850969253449578496,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787310401000,"timestamp_ms":1787310401000,"timestamp_seconds":1787310401,"priority":1,"record_length":96,"hex_timestamp":"000001a0240065e8"} 
[2026-08-21 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37: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-08-21 16:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 16:37:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159172,"device_imei":"862567072573210","avl_records_count":1} 
[2026-08-21 16:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-08-21 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-08-21 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551458560001,"66":14396,"37":206,"94":11008,"24":15,"16":29328145526030336,"45":850969253449578496},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-08-21 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-08-21 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551458560001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-08-21 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":29328145526030336,"km_value":29328145526030.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":850969253449578496,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551458560001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":15,"odometer":null,"unknown_45":850969253449578496}} 
[2026-08-21 16:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":159172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:46] local.INFO: GPS data processed {"connection_id":159172,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:46] local.INFO: Acknowledgment sent {"connection_id":159172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:46] local.INFO: TCP Data received {"connection_id":159464,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023fec008012d181b800721a5b8004900d42a..."} 
[2026-08-21 16:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fec008012d181b800721a5b8004900d42a..."} 
[2026-08-21 16:37:46] local.INFO: Processing buffer {"connection_id":159464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fec008012d181b800721a5b8004900d42a..."} 
[2026-08-21 16:37:46] local.INFO: Packet analysis {"connection_id":159464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:37:46] local.INFO: Extracted packet for processing {"connection_id":159464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119645624,"longitude_deg":75.6554624,"latitude_deg":11.9645624,"altitude":73,"angle":212,"satellites":42,"speed":35,"hex_longitude":"2d181b80","hex_latitude":"0721a5b8","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551432448001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14230708415365120,"note":"Value kept but may cause issues"} 
[2026-08-21 16:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742822717679450112,"note":"Value kept but may cause issues"} 
[2026-08-21 16: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-08-21 16:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787310293000,"timestamp_ms":1787310293000,"timestamp_seconds":1787310293,"priority":1,"record_length":96,"hex_timestamp":"000001a023fec008"} 
[2026-08-21 16:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16: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-08-21 16: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-08-21 16:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:37: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-08-21 16:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551432448001,"66":12232,"105":206,"83":41984,"24":35,"16":14230708415365120,"45":1742822717679450112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 16:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551432448001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14230708415365120,"km_value":14230708415365.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742822717679450112,"description":"Unknown IO ID 45"} 
[2026-08-21 16:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551432448001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1742822717679450112}} 
[2026-08-21 16:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":159464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:37:46] local.INFO: GPS data processed {"connection_id":159464,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:37:46] local.INFO: Acknowledgment sent {"connection_id":159464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:37:57] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:57] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:37:57] local.INFO: IMEI packet received {"connection_id":161726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":161726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:38:01] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:01] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:01] local.INFO: IMEI packet received {"connection_id":159173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":159173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:38:02] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:38:02] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:38:02] local.INFO: IMEI packet received {"connection_id":161726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":161726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:38:03] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a023ffe8e8012dcfff00051dfdb8000e014429..."} 
[2026-08-21 16:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ffe8e8012dcfff00051dfdb8000e014429..."} 
[2026-08-21 16:38:03] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ffe8e8012dcfff00051dfdb8000e014429..."} 
[2026-08-21 16:38:03] local.INFO: Packet analysis {"connection_id":161726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:38:03] local.INFO: Extracted packet for processing {"connection_id":161726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:38:03] local.INFO: GPS Element Parsed {"raw_longitude":768605952,"raw_latitude":85851576,"longitude_deg":76.8605952,"latitude_deg":8.5851576,"altitude":14,"angle":324,"satellites":41,"speed":34,"hex_longitude":"2dcfff00","hex_latitude":"051dfdb8","is_valid_coordinates":true} 
[2026-08-21 16:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551451904001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388312271018786816,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3452994254821894144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310369000,"timestamp_ms":1787310369000,"timestamp_seconds":1787310369,"priority":1,"record_length":96,"hex_timestamp":"000001a023ffe8e8"} 
[2026-08-21 16:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 16:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551451904001,"66":27767,"67":206,"80":34816,"24":34,"16":388312271018786816,"45":-3452994254821894144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551451904001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:38:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:38:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388312271018786816,"km_value":388312271018786.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3452994254821894144,"description":"Unknown IO ID 45"} 
[2026-08-21 16:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551451904001,"power":27767,"unknown_67":206,"unknown_80":34816,"ignition":34,"odometer":null,"unknown_45":-3452994254821894144}} 
[2026-08-21 16:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":161726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:38:03] local.INFO: GPS data processed {"connection_id":161726,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:38:03] local.INFO: Acknowledgment sent {"connection_id":161726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:38:06] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:06] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:06] local.INFO: IMEI packet received {"connection_id":159173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":159173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:38:07] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023fedf48012d1808c007218c00004800e329..."} 
[2026-08-21 16:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023fedf48012d1808c007218c00004800e329..."} 
[2026-08-21 16:38:07] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023fedf48012d1808c007218c00004800e329..."} 
[2026-08-21 16:38:07] local.INFO: Packet analysis {"connection_id":159173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:38:07] local.INFO: Extracted packet for processing {"connection_id":159173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023fe"} 
[2026-08-21 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":756549824,"raw_latitude":119639040,"longitude_deg":75.6549824,"latitude_deg":11.963904,"altitude":72,"angle":227,"satellites":41,"speed":41,"hex_longitude":"2d1808c0","hex_latitude":"07218c00","is_valid_coordinates":true} 
[2026-08-21 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551435008001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14231099257389056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399093248,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310301000,"timestamp_ms":1787310301000,"timestamp_seconds":1787310301,"priority":1,"record_length":96,"hex_timestamp":"000001a023fedf48"} 
[2026-08-21 16:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 16:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551435008001,"66":12798,"107":206,"83":41984,"24":41,"16":14231099257389056,"45":1737122849399093248},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551435008001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14231099257389056,"km_value":14231099257389.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399093248,"description":"Unknown IO ID 45"} 
[2026-08-21 16:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551435008001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1737122849399093248}} 
[2026-08-21 16:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":159173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:38:07] local.INFO: GPS data processed {"connection_id":159173,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:38:07] local.INFO: Acknowledgment sent {"connection_id":159173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:38:34] local.INFO: TCP Data received {"connection_id":161726,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024003320012dcfe9c0051e1938000d013e29..."} 
[2026-08-21 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024003320012dcfe9c0051e1938000d013e29..."} 
[2026-08-21 16:38:34] local.INFO: Processing buffer {"connection_id":161726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024003320012dcfe9c0051e1938000d013e29..."} 
[2026-08-21 16:38:34] local.INFO: Packet analysis {"connection_id":161726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:38:34] local.INFO: Extracted packet for processing {"connection_id":161726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":768600512,"raw_latitude":85858616,"longitude_deg":76.8600512,"latitude_deg":8.5858616,"altitude":13,"angle":318,"satellites":41,"speed":9,"hex_longitude":"2dcfe9c0","hex_latitude":"051e1938","is_valid_coordinates":true} 
[2026-08-21 16:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551454464001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388312700515516416,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3459045966819248128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787310388000,"timestamp_ms":1787310388000,"timestamp_seconds":1787310388,"priority":1,"record_length":96,"hex_timestamp":"000001a024003320"} 
[2026-08-21 16:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 16:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551454464001,"66":27995,"67":206,"80":34816,"24":9,"16":388312700515516416,"45":-3459045966819248128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551454464001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:38:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:38:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388312700515516416,"km_value":388312700515516.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3459045966819248128,"description":"Unknown IO ID 45"} 
[2026-08-21 16:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551454464001,"power":27995,"unknown_67":206,"unknown_80":34816,"ignition":9,"odometer":null,"unknown_45":-3459045966819248128}} 
[2026-08-21 16:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":161726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:38:34] local.INFO: GPS data processed {"connection_id":161726,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:38:34] local.INFO: Acknowledgment sent {"connection_id":161726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:38:38] local.INFO: TCP Data received {"connection_id":159173,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ff0658012d17edc007217260004800d72a..."} 
[2026-08-21 16:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ff0658012d17edc007217260004800d72a..."} 
[2026-08-21 16:38:38] local.INFO: Processing buffer {"connection_id":159173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ff0658012d17edc007217260004800d72a..."} 
[2026-08-21 16:38:38] local.INFO: Packet analysis {"connection_id":159173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:38:38] local.INFO: Extracted packet for processing {"connection_id":159173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":756542912,"raw_latitude":119632480,"longitude_deg":75.6542912,"latitude_deg":11.963248,"altitude":72,"angle":215,"satellites":42,"speed":34,"hex_longitude":"2d17edc0","hex_latitude":"07217260","is_valid_coordinates":true} 
[2026-08-21 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551437056001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14231558818889728,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1731845193584082944,"note":"Value kept but may cause issues"} 
[2026-08-21 16:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310311000,"timestamp_ms":1787310311000,"timestamp_seconds":1787310311,"priority":1,"record_length":96,"hex_timestamp":"000001a023ff0658"} 
[2026-08-21 16:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 16:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551437056001,"66":12548,"107":206,"83":41984,"24":34,"16":14231558818889728,"45":1731845193584082944},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551437056001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:38:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:38:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14231558818889728,"km_value":14231558818889.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1731845193584082944,"description":"Unknown IO ID 45"} 
[2026-08-21 16:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551437056001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1731845193584082944}} 
[2026-08-21 16:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":159173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:38:38] local.INFO: GPS data processed {"connection_id":159173,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:38:38] local.INFO: Acknowledgment sent {"connection_id":159173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:38:57] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:38:57] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:38:57] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:38:59] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:59] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:38:59] local.INFO: IMEI packet received {"connection_id":159466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":159466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:39:02] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:39:02] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:39:02] local.INFO: IMEI packet received {"connection_id":159466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":159466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:39:02] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:39:02] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:39:02] local.INFO: IMEI packet received {"connection_id":160351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":160351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:39:05] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024008528012dcfe180051e22380012013d29..."} 
[2026-08-21 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024008528012dcfe180051e22380012013d29..."} 
[2026-08-21 16:39:05] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024008528012dcfe180051e22380012013d29..."} 
[2026-08-21 16:39:05] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:39:05] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":768598400,"raw_latitude":85860920,"longitude_deg":76.85984,"latitude_deg":8.586092,"altitude":18,"angle":317,"satellites":41,"speed":3,"hex_longitude":"2dcfe180","hex_latitude":"051e2238","is_valid_coordinates":true} 
[2026-08-21 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551459328001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388312855134339072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3465027310072547328,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787310409000,"timestamp_ms":1787310409000,"timestamp_seconds":1787310409,"priority":1,"record_length":96,"hex_timestamp":"000001a024008528"} 
[2026-08-21 16:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 16:39:05] 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-08-21 16:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:39: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-08-21 16:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551459328001,"66":27995,"67":206,"80":34816,"24":3,"16":388312855134339072,"45":-3465027310072547328},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551459328001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:39:05] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:39:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388312855134339072,"km_value":388312855134339.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3465027310072547328,"description":"Unknown IO ID 45"} 
[2026-08-21 16:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551459328001,"power":27995,"unknown_67":206,"unknown_80":34816,"ignition":3,"odometer":null,"unknown_45":-3465027310072547328}} 
[2026-08-21 16:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:39:05] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:39:05] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:39:06] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:39:06] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:39:06] local.INFO: IMEI packet received {"connection_id":159466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":159466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:39:07] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ff0658012d17edc007217260004800d72a..."} 
[2026-08-21 16:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ff0658012d17edc007217260004800d72a..."} 
[2026-08-21 16:39:07] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ff0658012d17edc007217260004800d72a..."} 
[2026-08-21 16:39:07] local.INFO: Packet analysis {"connection_id":159466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:39:07] local.INFO: Extracted packet for processing {"connection_id":159466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756542912,"raw_latitude":119632480,"longitude_deg":75.6542912,"latitude_deg":11.963248,"altitude":72,"angle":215,"satellites":42,"speed":34,"hex_longitude":"2d17edc0","hex_latitude":"07217260","is_valid_coordinates":true} 
[2026-08-21 16:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551439616001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14231558818889728,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724245369211215872,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310311000,"timestamp_ms":1787310311000,"timestamp_seconds":1787310311,"priority":1,"record_length":96,"hex_timestamp":"000001a023ff0658"} 
[2026-08-21 16:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184247558349,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4268365825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3807379535,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2147951076,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2380595200,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":6,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:07] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,107,83,24,241,157,16,143,160,223,45,192,140,72,41,10,66,128,165,73,42,105,142,152,1,240,46,227,35,33,4,113,205,18,98,70,224,239,52,2,50,7,81,6,106],"length":485,"final_offset":615,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 16:39:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383346121637888,"timestamp_seconds":5188383346121638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551439616001,"66":12548,"107":206,"83":41984,"24":34,"16":14231558818889728,"45":1724245369211215872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551439616001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:39:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14231558818889728,"km_value":14231558818889.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724245369211215872,"description":"Unknown IO ID 45"} 
[2026-08-21 16:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551439616001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1724245369211215872}} 
[2026-08-21 16:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":159466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:39:07] local.INFO: GPS data processed {"connection_id":159466,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:39:07] local.INFO: Acknowledgment sent {"connection_id":159466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:39:36] local.INFO: TCP Data received {"connection_id":160351,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02400d730012dcfde80051e25c00010013e2b..."} 
[2026-08-21 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02400d730012dcfde80051e25c00010013e2b..."} 
[2026-08-21 16:39:36] local.INFO: Processing buffer {"connection_id":160351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02400d730012dcfde80051e25c00010013e2b..."} 
[2026-08-21 16:39:36] local.INFO: Packet analysis {"connection_id":160351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:39:36] local.INFO: Extracted packet for processing {"connection_id":160351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02400"} 
[2026-08-21 16:39:36] local.INFO: GPS Element Parsed {"raw_longitude":768597632,"raw_latitude":85861824,"longitude_deg":76.8597632,"latitude_deg":8.5861824,"altitude":16,"angle":318,"satellites":43,"speed":0,"hex_longitude":"2dcfde80","hex_latitude":"051e25c0","is_valid_coordinates":true} 
[2026-08-21 16:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551464704001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388312910968913920,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3467349478629820416,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787310430000,"timestamp_ms":1787310430000,"timestamp_seconds":1787310430,"priority":1,"record_length":96,"hex_timestamp":"000001a02400d730"} 
[2026-08-21 16:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:39: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-08-21 16:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 16:39:36] 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-08-21 16:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551464704001,"66":27865,"67":206,"80":34816,"24":0,"16":388312910968913920,"45":-3467349478629820416},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551464704001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:39:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:39:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388312910968913920,"km_value":388312910968913.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3467349478629820416,"description":"Unknown IO ID 45"} 
[2026-08-21 16:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551464704001,"power":27865,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3467349478629820416}} 
[2026-08-21 16:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":160351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:39:36] local.INFO: GPS data processed {"connection_id":160351,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:39:36] local.INFO: Acknowledgment sent {"connection_id":160351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:39:38] local.INFO: TCP Data received {"connection_id":159466,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a023ff2d68012d17db00072152b0004200d22a..."} 
[2026-08-21 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a023ff2d68012d17db00072152b0004200d22a..."} 
[2026-08-21 16:39:38] local.INFO: Processing buffer {"connection_id":159466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a023ff2d68012d17db00072152b0004200d22a..."} 
[2026-08-21 16:39:38] local.INFO: Packet analysis {"connection_id":159466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:39:38] local.INFO: Extracted packet for processing {"connection_id":159466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a023ff"} 
[2026-08-21 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756538112,"raw_latitude":119624368,"longitude_deg":75.6538112,"latitude_deg":11.9624368,"altitude":66,"angle":210,"satellites":42,"speed":41,"hex_longitude":"2d17db00","hex_latitude":"072152b0","is_valid_coordinates":true} 
[2026-08-21 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551439616001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232014085423104,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724245369211215872,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310321000,"timestamp_ms":1787310321000,"timestamp_seconds":1787310321,"priority":1,"record_length":96,"hex_timestamp":"000001a023ff2d68"} 
[2026-08-21 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184247558349,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13462121,"corrected_to":0} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3238002688,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":35,"raw_value":4271437825,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3283615819,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3221692898,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2415971690,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2381119488,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.WARNING: Large IO value detected {"io_id":9,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 16:39:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,107,83,24,241,157,16,143,160,6,45,192,114,72,42,10,66,223,140,41,128,1,240,200,227,142,35,33,4,113,205,38,106,68,239,51,105,2,50,7,80,9],"length":485,"final_offset":615,"validated_count":42,"validation_warnings":[{"io_id":200,"original":13462121,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 16:39:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188383346121637888,"timestamp_seconds":5188383346121638.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551439616001,"66":12798,"107":206,"83":41984,"24":41,"16":14232014085423104,"45":1724245369211215872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551439616001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:39:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:39:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232014085423104,"km_value":14232014085423.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724245369211215872,"description":"Unknown IO ID 45"} 
[2026-08-21 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551439616001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1724245369211215872}} 
[2026-08-21 16:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":159466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:39:38] local.INFO: GPS data processed {"connection_id":159466,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:39:38] local.INFO: Acknowledgment sent {"connection_id":159466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:39:43] local.INFO: TCP Data received {"connection_id":159465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159465,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:43] local.INFO: Processing buffer {"connection_id":159465,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:43] local.INFO: IMEI packet received {"connection_id":159465,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":159465,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:39:44] local.INFO: TCP Data received {"connection_id":159465,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159465,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:44] local.INFO: Processing buffer {"connection_id":159465,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:44] local.INFO: IMEI packet received {"connection_id":159465,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-08-21 16:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":159465,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:39:48] local.INFO: TCP Data received {"connection_id":161727,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161727,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:48] local.INFO: Processing buffer {"connection_id":161727,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:39:48] local.INFO: IMEI packet received {"connection_id":161727,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":161727,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:39:57] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:39:57] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:39:57] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:40:01] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:01] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:01] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:40:02] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:02] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:02] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:40:02] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:40:02] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:40:02] local.INFO: IMEI packet received {"connection_id":160352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":160352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:40:03] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024012938012dcfdd40051e27780010013a2c..."} 
[2026-08-21 16:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024012938012dcfdd40051e27780010013a2c..."} 
[2026-08-21 16:40:03] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024012938012dcfdd40051e27780010013a2c..."} 
[2026-08-21 16:40:03] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02401"} 
[2026-08-21 16:40:03] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02401"} 
[2026-08-21 16:40:03] local.INFO: GPS Element Parsed {"raw_longitude":768597312,"raw_latitude":85862264,"longitude_deg":76.8597312,"latitude_deg":8.5862264,"altitude":16,"angle":314,"satellites":44,"speed":0,"hex_longitude":"2dcfdd40","hex_latitude":"051e2778","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551470080001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388312941033684992,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3468193903559720960,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310451000,"timestamp_ms":1787310451000,"timestamp_seconds":1787310451,"priority":1,"record_length":96,"hex_timestamp":"000001a024012938"} 
[2026-08-21 16:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:40:03] 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-08-21 16: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-08-21 16:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551470080001,"66":27843,"67":206,"80":34816,"24":0,"16":388312941033684992,"45":-3468193903559720960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551470080001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:40:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388312941033684992,"km_value":388312941033685.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3468193903559720960,"description":"Unknown IO ID 45"} 
[2026-08-21 16:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551470080001,"power":27843,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3468193903559720960}} 
[2026-08-21 16:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:40:03] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:40:03] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:40:06] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:06] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:40:06] local.INFO: IMEI packet received {"connection_id":159174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":159174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:40:07] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024023e90012d17c8c007213218003b00c029..."} 
[2026-08-21 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024023e90012d17c8c007213218003b00c029..."} 
[2026-08-21 16:40:07] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024023e90012d17c8c007213218003b00c029..."} 
[2026-08-21 16:40:07] local.INFO: Packet analysis {"connection_id":159174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:40:07] local.INFO: Extracted packet for processing {"connection_id":159174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551488256001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310522000,"timestamp_ms":1787310522000,"timestamp_seconds":1787310522,"priority":1,"record_length":96,"hex_timestamp":"000001a024023e90"} 
[2026-08-21 16:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-21 16:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551488256001,"66":12689,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551488256001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551488256001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":159174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:40:07] local.INFO: GPS data processed {"connection_id":159174,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:40:07] local.INFO: Acknowledgment sent {"connection_id":159174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:40:08] local.INFO: TCP Data received {"connection_id":159467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159467,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:40:08] local.INFO: Processing buffer {"connection_id":159467,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-08-21 16:40:08] local.INFO: IMEI packet received {"connection_id":159467,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-08-21 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":159467,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:40:34] local.INFO: TCP Data received {"connection_id":160352,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024017b40012dcfdac0051e29e8000f013a2a..."} 
[2026-08-21 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024017b40012dcfdac0051e29e8000f013a2a..."} 
[2026-08-21 16:40:34] local.INFO: Processing buffer {"connection_id":160352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024017b40012dcfdac0051e29e8000f013a2a..."} 
[2026-08-21 16:40:34] local.INFO: Packet analysis {"connection_id":160352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02401"} 
[2026-08-21 16:40:34] local.INFO: Extracted packet for processing {"connection_id":160352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02401"} 
[2026-08-21 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":768596672,"raw_latitude":85862888,"longitude_deg":76.8596672,"latitude_deg":8.5862888,"altitude":15,"angle":314,"satellites":42,"speed":1,"hex_longitude":"2dcfdac0","hex_latitude":"051e29e8","is_valid_coordinates":true} 
[2026-08-21 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551475456001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388312988278325248,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3468545747280496640,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787310472000,"timestamp_ms":1787310472000,"timestamp_seconds":1787310472,"priority":1,"record_length":96,"hex_timestamp":"000001a024017b40"} 
[2026-08-21 16:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551475456001,"66":27865,"67":206,"80":34816,"24":1,"16":388312988278325248,"45":-3468545747280496640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551475456001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:40:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388312988278325248,"km_value":388312988278325.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3468545747280496640,"description":"Unknown IO ID 45"} 
[2026-08-21 16:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551475456001,"power":27865,"unknown_67":206,"unknown_80":34816,"ignition":1,"odometer":null,"unknown_45":-3468545747280496640}} 
[2026-08-21 16:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":160352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:40:34] local.INFO: GPS data processed {"connection_id":160352,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:40:34] local.INFO: Acknowledgment sent {"connection_id":160352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:40:39] local.INFO: TCP Data received {"connection_id":159174,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024029098012d17c8c007213218003b00c029..."} 
[2026-08-21 16:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024029098012d17c8c007213218003b00c029..."} 
[2026-08-21 16:40:39] local.INFO: Processing buffer {"connection_id":159174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024029098012d17c8c007213218003b00c029..."} 
[2026-08-21 16:40:39] local.INFO: Packet analysis {"connection_id":159174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:40:39] local.INFO: Extracted packet for processing {"connection_id":159174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551493632001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787310543000,"timestamp_ms":1787310543000,"timestamp_seconds":1787310543,"priority":1,"record_length":96,"hex_timestamp":"000001a024029098"} 
[2026-08-21 16:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 16:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551493632001,"66":12689,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551493632001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:40:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:40:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551493632001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":159174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:40:39] local.INFO: GPS data processed {"connection_id":159174,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:40:39] local.INFO: Acknowledgment sent {"connection_id":159174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:40:57] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:40:57] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:40:57] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:41:01] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:41:01] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:41:01] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:41:02] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:41:02] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:41:02] local.INFO: IMEI packet received {"connection_id":159175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":159175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:41:03] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02401cd48012dcfd540051e2f980010013f2c..."} 
[2026-08-21 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02401cd48012dcfd540051e2f980010013f2c..."} 
[2026-08-21 16:41:03] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02401cd48012dcfd540051e2f980010013f2c..."} 
[2026-08-21 16:41:03] local.INFO: Packet analysis {"connection_id":159175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02401"} 
[2026-08-21 16:41:03] local.INFO: Extracted packet for processing {"connection_id":159175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02401"} 
[2026-08-21 16:41:03] local.INFO: GPS Element Parsed {"raw_longitude":768595264,"raw_latitude":85864344,"longitude_deg":76.8595264,"latitude_deg":8.5864344,"altitude":16,"angle":319,"satellites":44,"speed":0,"hex_longitude":"2dcfd540","hex_latitude":"051e2f98","is_valid_coordinates":true} 
[2026-08-21 16:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551480832001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388313087062573056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3469249434722113536,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310493000,"timestamp_ms":1787310493000,"timestamp_seconds":1787310493,"priority":1,"record_length":96,"hex_timestamp":"000001a02401cd48"} 
[2026-08-21 16:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:41:03] 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-08-21 16:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551480832001,"66":28017,"67":206,"80":34816,"24":0,"16":388313087062573056,"45":-3469249434722113536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 16:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551480832001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:41:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 16:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388313087062573056,"km_value":388313087062573.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3469249434722113536,"description":"Unknown IO ID 45"} 
[2026-08-21 16:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551480832001,"power":28017,"unknown_67":206,"unknown_80":34816,"ignition":0,"odometer":null,"unknown_45":-3469249434722113536}} 
[2026-08-21 16:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":159175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:41:03] local.INFO: GPS data processed {"connection_id":159175,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:41:03] local.INFO: Acknowledgment sent {"connection_id":159175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:41:05] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:41:05] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:41:05] local.INFO: IMEI packet received {"connection_id":160353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":160353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:41:06] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02402e2a0012d17c8c007213218003b00c028..."} 
[2026-08-21 16:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02402e2a0012d17c8c007213218003b00c028..."} 
[2026-08-21 16:41:06] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02402e2a0012d17c8c007213218003b00c028..."} 
[2026-08-21 16:41:06] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:41:06] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551499008001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787310564000,"timestamp_ms":1787310564000,"timestamp_seconds":1787310564,"priority":1,"record_length":96,"hex_timestamp":"000001a02402e2a0"} 
[2026-08-21 16:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 16:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551499008001,"66":12689,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551499008001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:41:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551499008001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:41:06] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:41:06] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:41:34] local.INFO: TCP Data received {"connection_id":159175,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024021f50012dcfca40051e3b00000f01352b..."} 
[2026-08-21 16:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024021f50012dcfca40051e3b00000f01352b..."} 
[2026-08-21 16:41:34] local.INFO: Processing buffer {"connection_id":159175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024021f50012dcfca40051e3b00000f01352b..."} 
[2026-08-21 16:41:34] local.INFO: Packet analysis {"connection_id":159175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:41:34] local.INFO: Extracted packet for processing {"connection_id":159175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02402"} 
[2026-08-21 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":768592448,"raw_latitude":85867264,"longitude_deg":76.8592448,"latitude_deg":8.5867264,"altitude":15,"angle":309,"satellites":43,"speed":9,"hex_longitude":"2dcfca40","hex_latitude":"051e3b00","is_valid_coordinates":true} 
[2026-08-21 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551486208001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388313284631068672,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3470797547093649408,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:34] 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-08-21 16:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787310514000,"timestamp_ms":1787310514000,"timestamp_seconds":1787310514,"priority":1,"record_length":96,"hex_timestamp":"000001a024021f50"} 
[2026-08-21 16:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-08-21 16:41:34] 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-08-21 16:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551486208001,"66":27919,"69":206,"80":34816,"24":9,"16":388313284631068672,"45":-3470797547093649408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,80,24,16,45]} 
[2026-08-21 16:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551486208001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:41:34] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 16:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388313284631068672,"km_value":388313284631068.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3470797547093649408,"description":"Unknown IO ID 45"} 
[2026-08-21 16:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551486208001,"power":27919,"unknown_69":206,"unknown_80":34816,"ignition":9,"odometer":null,"unknown_45":-3470797547093649408}} 
[2026-08-21 16:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":159175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:41:34] local.INFO: GPS data processed {"connection_id":159175,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:41:34] local.INFO: Acknowledgment sent {"connection_id":159175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:41:37] local.INFO: TCP Data received {"connection_id":160353,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240334a8012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240334a8012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:41:37] local.INFO: Processing buffer {"connection_id":160353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240334a8012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:41:37] local.INFO: Packet analysis {"connection_id":160353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02403"} 
[2026-08-21 16:41:37] local.INFO: Extracted packet for processing {"connection_id":160353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02403"} 
[2026-08-21 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551504384001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787310585000,"timestamp_ms":1787310585000,"timestamp_seconds":1787310585,"priority":1,"record_length":96,"hex_timestamp":"000001a0240334a8"} 
[2026-08-21 16:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 16:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551504384001,"66":12689,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551504384001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:41:37] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551504384001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":160353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:41:37] local.INFO: GPS data processed {"connection_id":160353,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:41:37] local.INFO: Acknowledgment sent {"connection_id":160353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:41:57] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:41:57] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:41:57] local.INFO: IMEI packet received {"connection_id":159468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":159468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:42:01] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:42:01] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:42:01] local.INFO: IMEI packet received {"connection_id":159469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":159469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:42:01] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:42:01] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:42:01] local.INFO: IMEI packet received {"connection_id":159468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":159468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:42:02] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240451d0012dcf6f40051edf80000e01522e..."} 
[2026-08-21 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240451d0012dcf6f40051edf80000e01522e..."} 
[2026-08-21 16:42:02] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240451d0012dcf6f40051edf80000e01522e..."} 
[2026-08-21 16:42:02] local.INFO: Packet analysis {"connection_id":159468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:42:02] local.INFO: Extracted packet for processing {"connection_id":159468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:42:02] local.INFO: GPS Element Parsed {"raw_longitude":768569152,"raw_latitude":85909376,"longitude_deg":76.8569152,"latitude_deg":8.5909376,"altitude":14,"angle":338,"satellites":46,"speed":29,"hex_longitude":"2dcf6f40","hex_latitude":"051edf80","is_valid_coordinates":true} 
[2026-08-21 16:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551527936001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388315689812754432,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3499085782241882112,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787310658000,"timestamp_ms":1787310658000,"timestamp_seconds":1787310658,"priority":1,"record_length":96,"hex_timestamp":"000001a0240451d0"} 
[2026-08-21 16:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 16:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551527936001,"66":27745,"166":206,"80":34816,"24":29,"16":388315689812754432,"45":-3499085782241882112},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-21 16:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551527936001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:42:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 16:42:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388315689812754432,"km_value":388315689812754.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3499085782241882112,"description":"Unknown IO ID 45"} 
[2026-08-21 16:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551527936001,"power":27745,"unknown_166":206,"unknown_80":34816,"ignition":29,"odometer":null,"unknown_45":-3499085782241882112}} 
[2026-08-21 16:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":159468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:42:02] local.INFO: GPS data processed {"connection_id":159468,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:42:02] local.INFO: Acknowledgment sent {"connection_id":159468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:42:06] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:42:06] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:42:06] local.INFO: IMEI packet received {"connection_id":159469,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":159469,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:42:07] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240386b0012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240386b0012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:42:07] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240386b0012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:42:07] local.INFO: Packet analysis {"connection_id":159469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02403"} 
[2026-08-21 16:42:07] local.INFO: Extracted packet for processing {"connection_id":159469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02403"} 
[2026-08-21 16:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551509760001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310606000,"timestamp_ms":1787310606000,"timestamp_seconds":1787310606,"priority":1,"record_length":96,"hex_timestamp":"000001a0240386b0"} 
[2026-08-21 16:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 16:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551509760001,"66":12667,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551509760001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:42:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551509760001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":159469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:42:07] local.INFO: GPS data processed {"connection_id":159469,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:42:07] local.INFO: Acknowledgment sent {"connection_id":159469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:42:33] local.INFO: TCP Data received {"connection_id":159468,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024048498012dcf6080051f01f0000d01522b..."} 
[2026-08-21 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024048498012dcf6080051f01f0000d01522b..."} 
[2026-08-21 16:42:33] local.INFO: Processing buffer {"connection_id":159468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024048498012dcf6080051f01f0000d01522b..."} 
[2026-08-21 16:42:33] local.INFO: Packet analysis {"connection_id":159468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:42:33] local.INFO: Extracted packet for processing {"connection_id":159468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":768565376,"raw_latitude":85918192,"longitude_deg":76.8565376,"latitude_deg":8.5918192,"altitude":13,"angle":338,"satellites":43,"speed":33,"hex_longitude":"2dcf6080","hex_latitude":"051f01f0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551528448001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388316157964189696,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3499507994706608128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787310671000,"timestamp_ms":1787310671000,"timestamp_seconds":1787310671,"priority":1,"record_length":96,"hex_timestamp":"000001a024048498"} 
[2026-08-21 16:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 16:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551528448001,"66":27930,"166":206,"80":34816,"24":33,"16":388316157964189696,"45":-3499507994706608128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-21 16:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551528448001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:42:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 16:42:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388316157964189696,"km_value":388316157964189.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3499507994706608128,"description":"Unknown IO ID 45"} 
[2026-08-21 16:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551528448001,"power":27930,"unknown_166":206,"unknown_80":34816,"ignition":33,"odometer":null,"unknown_45":-3499507994706608128}} 
[2026-08-21 16:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:42:33] local.INFO: GPS data processed {"connection_id":159468,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:42:33] local.INFO: Acknowledgment sent {"connection_id":159468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:42:38] local.INFO: TCP Data received {"connection_id":159469,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02403d8b8012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02403d8b8012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:42:38] local.INFO: Processing buffer {"connection_id":159469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02403d8b8012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:42:38] local.INFO: Packet analysis {"connection_id":159469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02403"} 
[2026-08-21 16:42:38] local.INFO: Extracted packet for processing {"connection_id":159469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02403"} 
[2026-08-21 16:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551515136001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310627000,"timestamp_ms":1787310627000,"timestamp_seconds":1787310627,"priority":1,"record_length":96,"hex_timestamp":"000001a02403d8b8"} 
[2026-08-21 16:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 16:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159469,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551515136001,"66":12645,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551515136001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:42:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551515136001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":159469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:42:38] local.INFO: GPS data processed {"connection_id":159469,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:42:38] local.INFO: Acknowledgment sent {"connection_id":159469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:42:57] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:42:57] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:42:57] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:43:00] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:00] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:00] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:43:02] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:02] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:02] local.INFO: IMEI packet received {"connection_id":160355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":160355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:43:03] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02404b378012dcf5400051f2418000e01552c..."} 
[2026-08-21 16:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02404b378012dcf5400051f2418000e01552c..."} 
[2026-08-21 16:43:03] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02404b378012dcf5400051f2418000e01552c..."} 
[2026-08-21 16:43:03] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:03] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":768562176,"raw_latitude":85926936,"longitude_deg":76.8562176,"latitude_deg":8.5926936,"altitude":14,"angle":341,"satellites":44,"speed":36,"hex_longitude":"2dcf5400","hex_latitude":"051f2418","is_valid_coordinates":true} 
[2026-08-21 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-08-21 16:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551531776001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388316608935755776,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3503659750610833408,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310683000,"timestamp_ms":1787310683000,"timestamp_seconds":1787310683,"priority":1,"record_length":96,"hex_timestamp":"000001a02404b378"} 
[2026-08-21 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-08-21 16:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 16:43:03] 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-08-21 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-08-21 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-08-21 16:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551531776001,"66":27908,"166":206,"80":34816,"24":36,"16":388316608935755776,"45":-3503659750610833408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-21 16:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551531776001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:43:03] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 16:43:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388316608935755776,"km_value":388316608935755.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3503659750610833408,"description":"Unknown IO ID 45"} 
[2026-08-21 16:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551531776001,"power":27908,"unknown_166":206,"unknown_80":34816,"ignition":36,"odometer":null,"unknown_45":-3503659750610833408}} 
[2026-08-21 16:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:43:03] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:43:03] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:43:06] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:43:06] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:43:06] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:43:11] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:43:11] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:43:11] local.INFO: IMEI packet received {"connection_id":160356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":160356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:43:12] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024042ac0012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024042ac0012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:43:12] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024042ac0012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:43:12] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:12] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551520512001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787310648000,"timestamp_ms":1787310648000,"timestamp_seconds":1787310648,"priority":1,"record_length":96,"hex_timestamp":"000001a024042ac0"} 
[2026-08-21 16:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 16:43: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-08-21 16: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-08-21 16:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551520512001,"66":12667,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551520512001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:43:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:43:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551520512001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:43:12] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:43:12] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:43:13] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024047cc8012d17c8c007213218003b00c028..."} 
[2026-08-21 16:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024047cc8012d17c8c007213218003b00c028..."} 
[2026-08-21 16:43:13] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024047cc8012d17c8c007213218003b00c028..."} 
[2026-08-21 16:43:13] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:13] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551525888001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787310669000,"timestamp_ms":1787310669000,"timestamp_seconds":1787310669,"priority":1,"record_length":96,"hex_timestamp":"000001a024047cc8"} 
[2026-08-21 16:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 16:43: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-08-21 16:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551525888001,"66":12645,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551525888001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:43:13] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:43:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551525888001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:43:13] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:43:13] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:43:34] local.INFO: TCP Data received {"connection_id":160355,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02404d6a0012dcf4900051f45a0000e01562e..."} 
[2026-08-21 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02404d6a0012dcf4900051f45a0000e01562e..."} 
[2026-08-21 16:43:34] local.INFO: Processing buffer {"connection_id":160355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02404d6a0012dcf4900051f45a0000e01562e..."} 
[2026-08-21 16:43:34] local.INFO: Packet analysis {"connection_id":160355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:34] local.INFO: Extracted packet for processing {"connection_id":160355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":768559360,"raw_latitude":85935520,"longitude_deg":76.855936,"latitude_deg":8.593552,"altitude":14,"angle":342,"satellites":46,"speed":43,"hex_longitude":"2dcf4900","hex_latitude":"051f45a0","is_valid_coordinates":true} 
[2026-08-21 16:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551534848001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388317047022419968,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3507178187817478144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787310692000,"timestamp_ms":1787310692000,"timestamp_seconds":1787310692,"priority":1,"record_length":96,"hex_timestamp":"000001a02404d6a0"} 
[2026-08-21 16:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551534848001,"66":27919,"166":206,"80":34816,"24":43,"16":388317047022419968,"45":-3507178187817478144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-21 16:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551534848001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:43:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 16:43:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388317047022419968,"km_value":388317047022419.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3507178187817478144,"description":"Unknown IO ID 45"} 
[2026-08-21 16:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551534848001,"power":27919,"unknown_166":206,"unknown_80":34816,"ignition":43,"odometer":null,"unknown_45":-3507178187817478144}} 
[2026-08-21 16:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":160355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:43:34] local.INFO: GPS data processed {"connection_id":160355,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:43:34] local.INFO: Acknowledgment sent {"connection_id":160355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:43:44] local.INFO: TCP Data received {"connection_id":160356,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02404ced0012d17c8c007213218003b00c028..."} 
[2026-08-21 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02404ced0012d17c8c007213218003b00c028..."} 
[2026-08-21 16:43:44] local.INFO: Processing buffer {"connection_id":160356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02404ced0012d17c8c007213218003b00c028..."} 
[2026-08-21 16:43:44] local.INFO: Packet analysis {"connection_id":160356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:44] local.INFO: Extracted packet for processing {"connection_id":160356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02404"} 
[2026-08-21 16:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551531264001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:43: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-08-21 16:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787310690000,"timestamp_ms":1787310690000,"timestamp_seconds":1787310690,"priority":1,"record_length":96,"hex_timestamp":"000001a02404ced0"} 
[2026-08-21 16:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:43: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-08-21 16:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 16:43: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-08-21 16:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551531264001,"66":12613,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551531264001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:43:44] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:43:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551531264001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":160356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:43:44] local.INFO: GPS data processed {"connection_id":160356,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:43:44] local.INFO: Acknowledgment sent {"connection_id":160356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:43:57] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:57] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:43:57] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:44:01] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:44:01] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:44:01] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:44:02] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:44:02] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:44:02] local.INFO: IMEI packet received {"connection_id":161728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":161728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:44:04] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024050198012dcf3e40051f6760000e01542d..."} 
[2026-08-21 16:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024050198012dcf3e40051f6760000e01542d..."} 
[2026-08-21 16:44:04] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024050198012dcf3e40051f6760000e01542d..."} 
[2026-08-21 16:44:04] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:44:04] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:44:04] local.INFO: GPS Element Parsed {"raw_longitude":768556608,"raw_latitude":85944160,"longitude_deg":76.8556608,"latitude_deg":8.594416,"altitude":14,"angle":340,"satellites":45,"speed":26,"hex_longitude":"2dcf3e40","hex_latitude":"051f6760","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551537152001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388317485109084160,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3510274412559097856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787310703000,"timestamp_ms":1787310703000,"timestamp_seconds":1787310703,"priority":1,"record_length":96,"hex_timestamp":"000001a024050198"} 
[2026-08-21 16:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:44: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-08-21 16: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":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551537152001,"66":27876,"166":206,"80":34816,"24":26,"16":388317485109084160,"45":-3510274412559097856},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-21 16:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551537152001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:44:04] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 16:44:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388317485109084160,"km_value":388317485109084.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3510274412559097856,"description":"Unknown IO ID 45"} 
[2026-08-21 16:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551537152001,"power":27876,"unknown_166":206,"unknown_80":34816,"ignition":26,"odometer":null,"unknown_45":-3510274412559097856}} 
[2026-08-21 16:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:44:04] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:44:04] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:44:06] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:44:06] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:44:06] local.INFO: IMEI packet received {"connection_id":160357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":160357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:44:07] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240520d8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240520d8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:44:07] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240520d8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:44:07] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:44:07] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551536640001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310711000,"timestamp_ms":1787310711000,"timestamp_seconds":1787310711,"priority":1,"record_length":96,"hex_timestamp":"000001a0240520d8"} 
[2026-08-21 16:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 16:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551536640001,"66":12287,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551536640001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551536640001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:44:07] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:44:07] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:44:35] local.INFO: TCP Data received {"connection_id":161728,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02406b718012dcf55400520ffc0002200112d..."} 
[2026-08-21 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02406b718012dcf55400520ffc0002200112d..."} 
[2026-08-21 16:44:35] local.INFO: Processing buffer {"connection_id":161728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02406b718012dcf55400520ffc0002200112d..."} 
[2026-08-21 16:44:35] local.INFO: Packet analysis {"connection_id":161728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:44:35] local.INFO: Extracted packet for processing {"connection_id":161728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:44:35] local.INFO: GPS Element Parsed {"raw_longitude":768562496,"raw_latitude":86048704,"longitude_deg":76.8562496,"latitude_deg":8.6048704,"altitude":34,"angle":17,"satellites":45,"speed":41,"hex_longitude":"2dcf5540","hex_latitude":"0520ffc0","is_valid_coordinates":true} 
[2026-08-21 16:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551566336001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388322840933302272,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3510133675044139008,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:35] 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-08-21 16:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787310815000,"timestamp_ms":1787310815000,"timestamp_seconds":1787310815,"priority":1,"record_length":96,"hex_timestamp":"000001a02406b718"} 
[2026-08-21 16:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:44: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-08-21 16:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 16:44:35] 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-08-21 16:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551566336001,"66":27908,"167":206,"80":34816,"24":41,"16":388322840933302272,"45":-3510133675044139008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-21 16:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551566336001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388322840933302272,"km_value":388322840933302.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3510133675044139008,"description":"Unknown IO ID 45"} 
[2026-08-21 16:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551566336001,"power":27908,"unknown_167":206,"unknown_80":34816,"ignition":41,"odometer":null,"unknown_45":-3510133675044139008}} 
[2026-08-21 16:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":161728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:44:35] local.INFO: GPS data processed {"connection_id":161728,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:44:35] local.INFO: Acknowledgment sent {"connection_id":161728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:44:38] local.INFO: TCP Data received {"connection_id":160357,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240572e0012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240572e0012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:44:38] local.INFO: Processing buffer {"connection_id":160357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240572e0012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:44:38] local.INFO: Packet analysis {"connection_id":160357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:44:38] local.INFO: Extracted packet for processing {"connection_id":160357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551542016001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310732000,"timestamp_ms":1787310732000,"timestamp_seconds":1787310732,"priority":1,"record_length":96,"hex_timestamp":"000001a0240572e0"} 
[2026-08-21 16:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 16:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551542016001,"66":12558,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551542016001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:44:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551542016001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":160357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:44:38] local.INFO: GPS data processed {"connection_id":160357,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:44:38] local.INFO: Acknowledgment sent {"connection_id":160357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:44:59] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:44:59] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:44:59] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:45:01] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:01] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:01] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:45:03] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:03] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:03] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:45:05] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:05] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:05] local.INFO: IMEI packet received {"connection_id":160359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":160359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:45:06] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02406da40012dcf6000052121f0002500112c..."} 
[2026-08-21 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02406da40012dcf6000052121f0002500112c..."} 
[2026-08-21 16:45:06] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02406da40012dcf6000052121f0002500112c..."} 
[2026-08-21 16:45:06] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:45:06] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:45:06] local.INFO: GPS Element Parsed {"raw_longitude":768565248,"raw_latitude":86057456,"longitude_deg":76.8565248,"latitude_deg":8.6057456,"altitude":37,"angle":17,"satellites":44,"speed":38,"hex_longitude":"2dcf6000","hex_latitude":"052121f0","is_valid_coordinates":true} 
[2026-08-21 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551568640001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388323283314933760,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3506826344065417216,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:06] 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-08-21 16:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787310824000,"timestamp_ms":1787310824000,"timestamp_seconds":1787310824,"priority":1,"record_length":96,"hex_timestamp":"000001a02406da40"} 
[2026-08-21 16:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:45: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-08-21 16:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:45: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-08-21 16:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551568640001,"66":27832,"167":206,"80":34816,"24":38,"16":388323283314933760,"45":-3506826344065417216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-21 16:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551568640001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388323283314933760,"km_value":388323283314933.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3506826344065417216,"description":"Unknown IO ID 45"} 
[2026-08-21 16:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551568640001,"power":27832,"unknown_167":206,"unknown_80":34816,"ignition":38,"odometer":null,"unknown_45":-3506826344065417216}} 
[2026-08-21 16:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:45:06] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:45:06] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:45:06] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:06] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:06] local.INFO: IMEI packet received {"connection_id":160358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":160358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:45:07] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02405c4e8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02405c4e8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:45:07] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02405c4e8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:45:07] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:45:07] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02405"} 
[2026-08-21 16:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551547392001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310753000,"timestamp_ms":1787310753000,"timestamp_seconds":1787310753,"priority":1,"record_length":96,"hex_timestamp":"000001a02405c4e8"} 
[2026-08-21 16:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286383249994264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3087084823,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,144,160,32,45,192,50,59,41,10,66,206,40,124,1,240,101,227,36,33,4,113,205,216,200,43,239,49,2,7,106,56],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:45:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609334858907648,"timestamp_seconds":4251609334858907.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551547392001,"66":12558,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551547392001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551547392001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:45:07] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:45:07] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:45:07] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024070920012dcf6a8005214388002700182f..."} 
[2026-08-21 16:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024070920012dcf6a8005214388002700182f..."} 
[2026-08-21 16:45:07] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024070920012dcf6a8005214388002700182f..."} 
[2026-08-21 16:45:07] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:45:07] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:45:07] local.INFO: GPS Element Parsed {"raw_longitude":768567936,"raw_latitude":86066056,"longitude_deg":76.8567936,"latitude_deg":8.6066056,"altitude":39,"angle":24,"satellites":47,"speed":24,"hex_longitude":"2dcf6a80","hex_latitude":"05214388","is_valid_coordinates":true} 
[2026-08-21 16:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551570944001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388323721401597952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3503800488063537152,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:07] 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-08-21 16:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310836000,"timestamp_ms":1787310836000,"timestamp_seconds":1787310836,"priority":1,"record_length":96,"hex_timestamp":"000001a024070920"} 
[2026-08-21 16:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:45: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-08-21 16:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 16:45:07] 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-08-21 16:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551570944001,"66":27767,"167":206,"80":34816,"24":24,"16":388323721401597952,"45":-3503800488063537152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-21 16:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551570944001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388323721401597952,"km_value":388323721401597.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3503800488063537152,"description":"Unknown IO ID 45"} 
[2026-08-21 16:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551570944001,"power":27767,"unknown_167":206,"unknown_80":34816,"ignition":24,"odometer":null,"unknown_45":-3503800488063537152}} 
[2026-08-21 16:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:45:07] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:45:07] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:45:38] local.INFO: TCP Data received {"connection_id":160358,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240616f0012d17c8c007213218003b00c026..."} 
[2026-08-21 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240616f0012d17c8c007213218003b00c026..."} 
[2026-08-21 16:45:38] local.INFO: Processing buffer {"connection_id":160358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240616f0012d17c8c007213218003b00c026..."} 
[2026-08-21 16:45:38] local.INFO: Packet analysis {"connection_id":160358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:45:38] local.INFO: Extracted packet for processing {"connection_id":160358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":38,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551552768001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310774000,"timestamp_ms":1787310774000,"timestamp_seconds":1787310774,"priority":1,"record_length":96,"hex_timestamp":"000001a0240616f0"} 
[2026-08-21 16:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286383249994264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:45:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,107,83,24,241,157,16,144,160,114,45,192,50,59,42,10,66,32,41,206,1,240,69,227,36,33,4,113,205,200,239,49,2,7,106,56],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:45:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609330563940352,"timestamp_seconds":4251609330563940.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551552768001,"66":12591,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551552768001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551552768001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":160358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:45:38] local.INFO: GPS data processed {"connection_id":160358,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:45:38] local.INFO: Acknowledgment sent {"connection_id":160358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:45:38] local.INFO: TCP Data received {"connection_id":160359,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024073418012dcf714005214fb00026000c2e..."} 
[2026-08-21 16:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024073418012dcf714005214fb00026000c2e..."} 
[2026-08-21 16:45:38] local.INFO: Processing buffer {"connection_id":160359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024073418012dcf714005214fb00026000c2e..."} 
[2026-08-21 16:45:38] local.INFO: Packet analysis {"connection_id":160359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:45:38] local.INFO: Extracted packet for processing {"connection_id":160359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":768569664,"raw_latitude":86069168,"longitude_deg":76.8569664,"latitude_deg":8.6069168,"altitude":38,"angle":12,"satellites":46,"speed":9,"hex_longitude":"2dcf7140","hex_latitude":"05214fb0","is_valid_coordinates":true} 
[2026-08-21 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551574016001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388323893200289792,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3500845000805873664,"note":"Value kept but may cause issues"} 
[2026-08-21 16:45:38] 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-08-21 16:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310847000,"timestamp_ms":1787310847000,"timestamp_seconds":1787310847,"priority":1,"record_length":96,"hex_timestamp":"000001a024073418"} 
[2026-08-21 16:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 16:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551574016001,"66":27767,"167":206,"80":34816,"24":9,"16":388323893200289792,"45":-3500845000805873664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-21 16:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551574016001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388323893200289792,"km_value":388323893200289.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3500845000805873664,"description":"Unknown IO ID 45"} 
[2026-08-21 16:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551574016001,"power":27767,"unknown_167":206,"unknown_80":34816,"ignition":9,"odometer":null,"unknown_45":-3500845000805873664}} 
[2026-08-21 16:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":160359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:45:39] local.INFO: GPS data processed {"connection_id":160359,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:45:39] local.INFO: Acknowledgment sent {"connection_id":160359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:45:57] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:57] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:57] local.INFO: IMEI packet received {"connection_id":159471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":159471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:45:59] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:59] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:45:59] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:45:59] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:59] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:45:59] local.INFO: IMEI packet received {"connection_id":159471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":159471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:46:01] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:46:01] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:46:01] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:46:02] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:02] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:02] local.INFO: IMEI packet received {"connection_id":159471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:46:03] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024076ac8012dcf754005216cd0002700012d..."} 
[2026-08-21 16:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024076ac8012dcf754005216cd0002700012d..."} 
[2026-08-21 16:46:03] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024076ac8012dcf754005216cd0002700012d..."} 
[2026-08-21 16:46:03] local.INFO: Packet analysis {"connection_id":159471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:46:03] local.INFO: Extracted packet for processing {"connection_id":159471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":768570688,"raw_latitude":86076624,"longitude_deg":76.8570688,"latitude_deg":8.6076624,"altitude":39,"angle":1,"satellites":45,"speed":27,"hex_longitude":"2dcf7540","hex_latitude":"05216cd0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 16:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551576832001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388324262567477248,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3498945044712280064,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:03] 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-08-21 16:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310861000,"timestamp_ms":1787310861000,"timestamp_seconds":1787310861,"priority":1,"record_length":96,"hex_timestamp":"000001a024076ac8"} 
[2026-08-21 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-08-21 16:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 16:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 16:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551576832001,"66":27832,"167":206,"80":34816,"24":27,"16":388324262567477248,"45":-3498945044712280064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-08-21 16:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551576832001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:46:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-08-21 16:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":34816,"description":"Unknown IO ID 80"} 
[2026-08-21 16:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388324262567477248,"km_value":388324262567477.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3498945044712280064,"description":"Unknown IO ID 45"} 
[2026-08-21 16:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551576832001,"power":27832,"unknown_167":206,"unknown_80":34816,"ignition":27,"odometer":null,"unknown_45":-3498945044712280064}} 
[2026-08-21 16:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":159471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:46:03] local.INFO: GPS data processed {"connection_id":159471,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:46:03] local.INFO: Acknowledgment sent {"connection_id":159471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:46:06] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:46:06] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:46:06] local.INFO: IMEI packet received {"connection_id":160360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":160360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:46:07] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240668f8012d17c8c007213218003b00c028..."} 
[2026-08-21 16:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240668f8012d17c8c007213218003b00c028..."} 
[2026-08-21 16:46:07] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240668f8012d17c8c007213218003b00c028..."} 
[2026-08-21 16:46:07] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:46:07] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551558144001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310795000,"timestamp_ms":1787310795000,"timestamp_seconds":1787310795,"priority":1,"record_length":96,"hex_timestamp":"000001a0240668f8"} 
[2026-08-21 16:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 16:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551558144001,"66":12591,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551558144001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:46:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551558144001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:46:07] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:46:07] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:46:08] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024078238012dcf7500052178880026015d2e..."} 
[2026-08-21 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024078238012dcf7500052178880026015d2e..."} 
[2026-08-21 16:46:08] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024078238012dcf7500052178880026015d2e..."} 
[2026-08-21 16:46:08] local.INFO: Packet analysis {"connection_id":159471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:46:08] local.INFO: Extracted packet for processing {"connection_id":159471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":768570624,"raw_latitude":86079624,"longitude_deg":76.8570624,"latitude_deg":8.6079624,"altitude":38,"angle":349,"satellites":46,"speed":11,"hex_longitude":"2dcf7500","hex_latitude":"05217888","is_valid_coordinates":true} 
[2026-08-21 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551580416001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388324408596365312,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3497819144803528704,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787310867000,"timestamp_ms":1787310867000,"timestamp_seconds":1787310867,"priority":1,"record_length":96,"hex_timestamp":"000001a024078238"} 
[2026-08-21 16:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 16:46:08] 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-08-21 16:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551580416001,"66":27821,"190":206,"80":36352,"24":11,"16":388324408596365312,"45":-3497819144803528704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551580416001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388324408596365312,"km_value":388324408596365.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3497819144803528704,"description":"Unknown IO ID 45"} 
[2026-08-21 16:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551580416001,"power":27821,"unknown_190":206,"unknown_80":36352,"ignition":11,"odometer":null,"unknown_45":-3497819144803528704}} 
[2026-08-21 16:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":159471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:46:08] local.INFO: GPS data processed {"connection_id":159471,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:46:08] local.INFO: Acknowledgment sent {"connection_id":159471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:46:38] local.INFO: TCP Data received {"connection_id":160360,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02406bb00012d17c8c007213218003b00c028..."} 
[2026-08-21 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02406bb00012d17c8c007213218003b00c028..."} 
[2026-08-21 16:46:38] local.INFO: Processing buffer {"connection_id":160360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02406bb00012d17c8c007213218003b00c028..."} 
[2026-08-21 16:46:38] local.INFO: Packet analysis {"connection_id":160360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:46:38] local.INFO: Extracted packet for processing {"connection_id":160360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02406"} 
[2026-08-21 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551563520001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310816000,"timestamp_ms":1787310816000,"timestamp_seconds":1787310816,"priority":1,"record_length":96,"hex_timestamp":"000001a02406bb00"} 
[2026-08-21 16:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 16:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551563520001,"66":12591,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551563520001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:46:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551563520001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":160360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:46:38] local.INFO: GPS data processed {"connection_id":160360,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:46:38] local.INFO: Acknowledgment sent {"connection_id":160360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:46:39] local.INFO: TCP Data received {"connection_id":159471,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02407d440012dcf730005218da0002601572c..."} 
[2026-08-21 16:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02407d440012dcf730005218da0002601572c..."} 
[2026-08-21 16:46:39] local.INFO: Processing buffer {"connection_id":159471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02407d440012dcf730005218da0002601572c..."} 
[2026-08-21 16:46:39] local.INFO: Packet analysis {"connection_id":159471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:46:39] local.INFO: Extracted packet for processing {"connection_id":159471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":768570112,"raw_latitude":86085024,"longitude_deg":76.8570112,"latitude_deg":8.6085024,"altitude":38,"angle":343,"satellites":44,"speed":12,"hex_longitude":"2dcf7300","hex_latitude":"05218da0","is_valid_coordinates":true} 
[2026-08-21 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551581952001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388324670589370368,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3497889513546938368,"note":"Value kept but may cause issues"} 
[2026-08-21 16:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787310888000,"timestamp_ms":1787310888000,"timestamp_seconds":1787310888,"priority":1,"record_length":96,"hex_timestamp":"000001a02407d440"} 
[2026-08-21 16:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 16:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551581952001,"66":27908,"190":206,"80":36352,"24":12,"16":388324670589370368,"45":-3497889513546938368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551581952001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:46:39] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:46:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388324670589370368,"km_value":388324670589370.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3497889513546938368,"description":"Unknown IO ID 45"} 
[2026-08-21 16:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551581952001,"power":27908,"unknown_190":206,"unknown_80":36352,"ignition":12,"odometer":null,"unknown_45":-3497889513546938368}} 
[2026-08-21 16:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":159471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:46:39] local.INFO: GPS data processed {"connection_id":159471,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:46:39] local.INFO: Acknowledgment sent {"connection_id":159471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:46:57] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:57] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:57] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:46:59] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:59] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:46:59] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:47:02] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:02] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:02] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:47:02] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:02] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:02] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:47:02] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:47:02] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:47:02] local.INFO: IMEI packet received {"connection_id":161729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":161729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:47:03] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02407ebb0012dcf6ec0052197c0002601462b..."} 
[2026-08-21 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02407ebb0012dcf6ec0052197c0002601462b..."} 
[2026-08-21 16:47:03] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02407ebb0012dcf6ec0052197c0002601462b..."} 
[2026-08-21 16:47:03] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:47:03] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:47:03] local.INFO: GPS Element Parsed {"raw_longitude":768569024,"raw_latitude":86087616,"longitude_deg":76.8569024,"latitude_deg":8.6087616,"altitude":38,"angle":326,"satellites":43,"speed":24,"hex_longitude":"2dcf6ec0","hex_latitude":"052197c0","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551587328001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388324808028323840,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3498452463498977280,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787310894000,"timestamp_ms":1787310894000,"timestamp_seconds":1787310894,"priority":1,"record_length":96,"hex_timestamp":"000001a02407ebb0"} 
[2026-08-21 16:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:47:03] 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-08-21 16: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-08-21 16:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551587328001,"66":27658,"190":206,"80":36352,"24":24,"16":388324808028323840,"45":-3498452463498977280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551587328001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:47:03] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:47:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388324808028323840,"km_value":388324808028323.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3498452463498977280,"description":"Unknown IO ID 45"} 
[2026-08-21 16:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551587328001,"power":27658,"unknown_190":206,"unknown_80":36352,"ignition":24,"odometer":null,"unknown_45":-3498452463498977280}} 
[2026-08-21 16:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:47:04] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:47:04] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:47:06] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:06] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:47:06] local.INFO: IMEI packet received {"connection_id":159177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":159177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:47:07] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024070d08012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024070d08012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:47:07] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024070d08012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:47:07] local.INFO: Packet analysis {"connection_id":159177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:47:07] local.INFO: Extracted packet for processing {"connection_id":159177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551568896001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310837000,"timestamp_ms":1787310837000,"timestamp_seconds":1787310837,"priority":1,"record_length":96,"hex_timestamp":"000001a024070d08"} 
[2026-08-21 16:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 16:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551568896001,"66":12580,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551568896001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551568896001,"power":12580,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":159177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:47:07] local.INFO: GPS data processed {"connection_id":159177,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:47:07] local.INFO: Acknowledgment sent {"connection_id":159177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:47:34] local.INFO: TCP Data received {"connection_id":161729,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240989c0012dce78800522da78001b01462c..."} 
[2026-08-21 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240989c0012dce78800522da78001b01462c..."} 
[2026-08-21 16:47:34] local.INFO: Processing buffer {"connection_id":161729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240989c0012dce78800522da78001b01462c..."} 
[2026-08-21 16:47:34] local.INFO: Packet analysis {"connection_id":161729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:47:34] local.INFO: Extracted packet for processing {"connection_id":161729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":768505984,"raw_latitude":86170232,"longitude_deg":76.8505984,"latitude_deg":8.6170232,"altitude":27,"angle":326,"satellites":44,"speed":41,"hex_longitude":"2dce7880","hex_latitude":"0522da78","is_valid_coordinates":true} 
[2026-08-21 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551613696001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388329828845092864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3562628758169124864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311000000,"timestamp_ms":1787311000000,"timestamp_seconds":1787311000,"priority":1,"record_length":96,"hex_timestamp":"000001a0240989c0"} 
[2026-08-21 16:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551613696001,"66":27919,"190":206,"80":36352,"24":41,"16":388329828845092864,"45":-3562628758169124864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551613696001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:47:34] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388329828845092864,"km_value":388329828845092.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3562628758169124864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551613696001,"power":27919,"unknown_190":206,"unknown_80":36352,"ignition":41,"odometer":null,"unknown_45":-3562628758169124864}} 
[2026-08-21 16:47:34] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:34] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:34] local.INFO: IMEI packet received {"connection_id":159472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 16:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":159472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":161729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:47:34] local.INFO: GPS data processed {"connection_id":161729,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:47:34] local.INFO: Acknowledgment sent {"connection_id":161729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:47:35] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:35] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:35] local.INFO: IMEI packet received {"connection_id":159472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":159472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:47:38] local.INFO: TCP Data received {"connection_id":159177,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024075f10012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024075f10012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:47:38] local.INFO: Processing buffer {"connection_id":159177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024075f10012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:47:38] local.INFO: Packet analysis {"connection_id":159177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:47:38] local.INFO: Extracted packet for processing {"connection_id":159177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551574272001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787310858000,"timestamp_ms":1787310858000,"timestamp_seconds":1787310858,"priority":1,"record_length":96,"hex_timestamp":"000001a024075f10"} 
[2026-08-21 16:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-21 16:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551574272001,"66":12537,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551574272001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551574272001,"power":12537,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":159177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:47:38] local.INFO: GPS data processed {"connection_id":159177,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:47:38] local.INFO: Acknowledgment sent {"connection_id":159177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:47:39] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:39] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 16:47:39] local.INFO: IMEI packet received {"connection_id":159472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 16:47:39] local.INFO: IMEI acknowledgment sent {"connection_id":159472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:47:41] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 16:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 16:47:41] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 16:47:41] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 16:47:41] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 16:47:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 16:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 16:47:41] 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-08-21 16:47:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:47:41] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 16:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 16:47:41] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 16:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 16:47:41] local.ERROR: GPS data processing failed {"connection_id":159472,"error":"No valid data to process"} 
[2026-08-21 16:47:41] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 16:47:57] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:47:57] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:47:57] local.INFO: IMEI packet received {"connection_id":159473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":159473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:48:01] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:01] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:01] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:48:01] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:48:01] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:48:01] local.INFO: IMEI packet received {"connection_id":159473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:48:02] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:48:02] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:48:02] local.INFO: IMEI packet received {"connection_id":159473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:48:03] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024099d48012dce6f400522ec78001d01532b..."} 
[2026-08-21 16:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024099d48012dce6f400522ec78001d01532b..."} 
[2026-08-21 16:48:03] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024099d48012dce6f400522ec78001d01532b..."} 
[2026-08-21 16:48:03] local.INFO: Packet analysis {"connection_id":159473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:48:03] local.INFO: Extracted packet for processing {"connection_id":159473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:48:03] local.INFO: GPS Element Parsed {"raw_longitude":768503616,"raw_latitude":86174840,"longitude_deg":76.8503616,"latitude_deg":8.617484,"altitude":29,"angle":339,"satellites":43,"speed":40,"hex_longitude":"2dce6f40","hex_latitude":"0522ec78","is_valid_coordinates":true} 
[2026-08-21 16:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551616000001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388330082248163328,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3568961945143183360,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311005000,"timestamp_ms":1787311005000,"timestamp_seconds":1787311005,"priority":1,"record_length":96,"hex_timestamp":"000001a024099d48"} 
[2026-08-21 16:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551616000001,"66":27919,"190":206,"80":36352,"24":40,"16":388330082248163328,"45":-3568961945143183360},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551616000001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:48:03] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:48:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388330082248163328,"km_value":388330082248163.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3568961945143183360,"description":"Unknown IO ID 45"} 
[2026-08-21 16:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551616000001,"power":27919,"unknown_190":206,"unknown_80":36352,"ignition":40,"odometer":null,"unknown_45":-3568961945143183360}} 
[2026-08-21 16:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":159473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:48:03] local.INFO: GPS data processed {"connection_id":159473,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:48:03] local.INFO: Acknowledgment sent {"connection_id":159473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:48:05] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:05] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:05] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:48:06] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:06] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:48:06] local.INFO: IMEI packet received {"connection_id":160361,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":160361,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:48:07] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02407b118012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02407b118012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:48:07] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02407b118012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:48:07] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:48:07] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02407"} 
[2026-08-21 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551579648001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787310879000,"timestamp_ms":1787310879000,"timestamp_seconds":1787310879,"priority":1,"record_length":96,"hex_timestamp":"000001a02407b118"} 
[2026-08-21 16:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 16:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551579648001,"66":12591,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551579648001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551579648001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:48:07] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:48:07] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:48:08] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02409c070012dce64c005230e30002101572a..."} 
[2026-08-21 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02409c070012dce64c005230e30002101572a..."} 
[2026-08-21 16:48:08] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02409c070012dce64c005230e30002101572a..."} 
[2026-08-21 16:48:08] local.INFO: Packet analysis {"connection_id":159473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:48:08] local.INFO: Extracted packet for processing {"connection_id":159473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:48:08] local.INFO: GPS Element Parsed {"raw_longitude":768500928,"raw_latitude":86183472,"longitude_deg":76.8500928,"latitude_deg":8.6183472,"altitude":33,"angle":343,"satellites":42,"speed":39,"hex_longitude":"2dce64c0","hex_latitude":"05230e30","is_valid_coordinates":true} 
[2026-08-21 16:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551617280001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388330520334827520,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3571565588676577280,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787311014000,"timestamp_ms":1787311014000,"timestamp_seconds":1787311014,"priority":1,"record_length":96,"hex_timestamp":"000001a02409c070"} 
[2026-08-21 16:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551617280001,"66":27876,"190":206,"80":36352,"24":39,"16":388330520334827520,"45":-3571565588676577280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551617280001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:48:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:48:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388330520334827520,"km_value":388330520334827.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3571565588676577280,"description":"Unknown IO ID 45"} 
[2026-08-21 16:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551617280001,"power":27876,"unknown_190":206,"unknown_80":36352,"ignition":39,"odometer":null,"unknown_45":-3571565588676577280}} 
[2026-08-21 16:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":159473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:48:08] local.INFO: GPS data processed {"connection_id":159473,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:48:08] local.INFO: Acknowledgment sent {"connection_id":159473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:48:11] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024080320012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024080320012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:48:11] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024080320012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:48:11] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:48:11] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551585024001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787310900000,"timestamp_ms":1787310900000,"timestamp_seconds":1787310900,"priority":1,"record_length":96,"hex_timestamp":"000001a024080320"} 
[2026-08-21 16:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 16:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551585024001,"66":12558,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551585024001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:48:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:48:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551585024001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676693,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:48:11] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:48:11] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:48:12] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 16:48:12] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-08-21 16:48:12] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 16:48:12] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 16:48:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 16:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:12] 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-08-21 16:48:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:48:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 16:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 16:48:12] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 16:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 16:48:12] local.ERROR: GPS data processing failed {"connection_id":159472,"error":"No valid data to process"} 
[2026-08-21 16:48:12] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 16:48:39] local.INFO: TCP Data received {"connection_id":159473,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02409e780012dce5940052331e8002501562b..."} 
[2026-08-21 16:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02409e780012dce5940052331e8002501562b..."} 
[2026-08-21 16:48:39] local.INFO: Processing buffer {"connection_id":159473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02409e780012dce5940052331e8002501562b..."} 
[2026-08-21 16:48:39] local.INFO: Packet analysis {"connection_id":159473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:48:39] local.INFO: Extracted packet for processing {"connection_id":159473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:48:39] local.INFO: GPS Element Parsed {"raw_longitude":768497984,"raw_latitude":86192616,"longitude_deg":76.8497984,"latitude_deg":8.6192616,"altitude":37,"angle":342,"satellites":43,"speed":38,"hex_longitude":"2dce5940","hex_latitude":"052331e8","is_valid_coordinates":true} 
[2026-08-21 16:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551619584001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388330984191295488,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3574521075929829376,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787311024000,"timestamp_ms":1787311024000,"timestamp_seconds":1787311024,"priority":1,"record_length":96,"hex_timestamp":"000001a02409e780"} 
[2026-08-21 16:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:48:39] 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-08-21 16:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551619584001,"66":27876,"190":206,"80":36352,"24":38,"16":388330984191295488,"45":-3574521075929829376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551619584001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:48:39] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:48:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388330984191295488,"km_value":388330984191295.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3574521075929829376,"description":"Unknown IO ID 45"} 
[2026-08-21 16:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551619584001,"power":27876,"unknown_190":206,"unknown_80":36352,"ignition":38,"odometer":null,"unknown_45":-3574521075929829376}} 
[2026-08-21 16:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":159473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:48:39] local.INFO: GPS data processed {"connection_id":159473,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:48:39] local.INFO: Acknowledgment sent {"connection_id":159473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:48:42] local.INFO: TCP Data received {"connection_id":160361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024085528012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024085528012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:48:42] local.INFO: Processing buffer {"connection_id":160361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024085528012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:48:42] local.INFO: Packet analysis {"connection_id":160361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:48:42] local.INFO: Extracted packet for processing {"connection_id":160361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551590400001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787310921000,"timestamp_ms":1787310921000,"timestamp_seconds":1787310921,"priority":1,"record_length":96,"hex_timestamp":"000001a024085528"} 
[2026-08-21 16:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286383249994264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":104,"raw_value":4160826647,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:48:42] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,144,160,177,45,192,50,59,44,10,66,95,13,1,240,36,227,33,4,113,205,104,200,40,239,49,2,7,106,56,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:48:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609339153874944,"timestamp_seconds":4251609339153875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160361,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551590400001,"66":12558,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551590400001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:48:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:48:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551590400001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":160361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676695,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:48:43] local.INFO: GPS data processed {"connection_id":160361,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:48:43] local.INFO: Acknowledgment sent {"connection_id":160361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:49:00] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:00] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:00] local.INFO: IMEI packet received {"connection_id":159178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":159178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:49:01] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-21 16:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-21 16:49:01] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-08-21 16:49:01] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 16:49:01] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 16:49:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 16:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:01] 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-08-21 16:49:01] 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-08-21 16:49:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 16:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 16:49:01] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 16:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 16:49:01] local.ERROR: GPS data processing failed {"connection_id":159472,"error":"No valid data to process"} 
[2026-08-21 16:49:01] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 16:49:02] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:02] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:02] local.INFO: IMEI packet received {"connection_id":159178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":159178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:49:06] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:49:06] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:49:06] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:49:07] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:07] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:07] local.INFO: IMEI packet received {"connection_id":159178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":159178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:49:08] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:49:08] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:49:08] local.INFO: IMEI packet received {"connection_id":160362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":160362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:49:08] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240a1278012dce4e40052352880029014929..."} 
[2026-08-21 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240a1278012dce4e40052352880029014929..."} 
[2026-08-21 16:49:08] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240a1278012dce4e40052352880029014929..."} 
[2026-08-21 16:49:08] local.INFO: Packet analysis {"connection_id":159178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:49:08] local.INFO: Extracted packet for processing {"connection_id":159178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:49:08] local.INFO: GPS Element Parsed {"raw_longitude":768495168,"raw_latitude":86200968,"longitude_deg":76.8495168,"latitude_deg":8.6200968,"altitude":41,"angle":329,"satellites":41,"speed":22,"hex_longitude":"2dce4e40","hex_latitude":"05235288","is_valid_coordinates":true} 
[2026-08-21 16:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551622144001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388331409393057792,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3577758038159661056,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787311035000,"timestamp_ms":1787311035000,"timestamp_seconds":1787311035,"priority":1,"record_length":96,"hex_timestamp":"000001a0240a1278"} 
[2026-08-21 16:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:49:08] 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-08-21 16:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551622144001,"66":27919,"190":206,"80":36352,"24":22,"16":388331409393057792,"45":-3577758038159661056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,80,24,16,45]} 
[2026-08-21 16:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551622144001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:49:08] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 16:49:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388331409393057792,"km_value":388331409393057.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3577758038159661056,"description":"Unknown IO ID 45"} 
[2026-08-21 16:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551622144001,"power":27919,"unknown_190":206,"unknown_80":36352,"ignition":22,"odometer":null,"unknown_45":-3577758038159661056}} 
[2026-08-21 16:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":159178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:49:08] local.INFO: GPS data processed {"connection_id":159178,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:49:08] local.INFO: Acknowledgment sent {"connection_id":159178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:49:09] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02408a730012d17c8c007213218003b00c029..."} 
[2026-08-21 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02408a730012d17c8c007213218003b00c029..."} 
[2026-08-21 16:49:09] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02408a730012d17c8c007213218003b00c029..."} 
[2026-08-21 16:49:09] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:49:09] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 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-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551595776001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787310942000,"timestamp_ms":1787310942000,"timestamp_seconds":1787310942,"priority":1,"record_length":96,"hex_timestamp":"000001a02408a730"} 
[2026-08-21 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-08-21 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286383249994264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:49:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:09] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,144,160,3,45,192,50,59,43,10,66,177,44,95,1,240,249,227,36,33,4,113,205,187,200,40,239,49,2,7,106,56,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:49:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609339153874944,"timestamp_seconds":4251609339153875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 16:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551595776001,"66":12558,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551595776001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:49:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:49:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551595776001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:49:09] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:49:09] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:49:11] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02408f938012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02408f938012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:49:11] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02408f938012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:49:11] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:49:11] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02408"} 
[2026-08-21 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551601152001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787310963000,"timestamp_ms":1787310963000,"timestamp_seconds":1787310963,"priority":1,"record_length":96,"hex_timestamp":"000001a02408f938"} 
[2026-08-21 16:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286383249994264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:49:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:11] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,144,160,85,45,192,50,59,43,10,66,3,177,1,240,47,227,36,33,4,113,205,13,200,42,239,49,2,7,106,56,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:49:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609330563940352,"timestamp_seconds":4251609330563940.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551601152001,"66":12558,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551601152001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:49:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551601152001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:49:11] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:49:11] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:49:13] local.INFO: TCP Data received {"connection_id":159178,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240a31b8012dce45c005236070002a01582a..."} 
[2026-08-21 16:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240a31b8012dce45c005236070002a01582a..."} 
[2026-08-21 16:49:13] local.INFO: Processing buffer {"connection_id":159178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240a31b8012dce45c005236070002a01582a..."} 
[2026-08-21 16:49:13] local.INFO: Packet analysis {"connection_id":159178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:49:13] local.INFO: Extracted packet for processing {"connection_id":159178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:49:13] local.INFO: GPS Element Parsed {"raw_longitude":768492992,"raw_latitude":86204528,"longitude_deg":76.8492992,"latitude_deg":8.6204528,"altitude":42,"angle":344,"satellites":42,"speed":22,"hex_longitude":"2dce45c0","hex_latitude":"05236070","is_valid_coordinates":true} 
[2026-08-21 16:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551624960001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388331615551488000,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3580854262901340160,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787311043000,"timestamp_ms":1787311043000,"timestamp_seconds":1787311043,"priority":1,"record_length":96,"hex_timestamp":"000001a0240a31b8"} 
[2026-08-21 16:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551624960001,"66":27919,"189":206,"80":36352,"24":22,"16":388331615551488000,"45":-3580854262901340160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,80,24,16,45]} 
[2026-08-21 16:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551624960001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:49:13] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 16:49:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388331615551488000,"km_value":388331615551488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3580854262901340160,"description":"Unknown IO ID 45"} 
[2026-08-21 16:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551624960001,"power":27919,"unknown_189":206,"unknown_80":36352,"ignition":22,"odometer":null,"unknown_45":-3580854262901340160}} 
[2026-08-21 16:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":159178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:49:13] local.INFO: GPS data processed {"connection_id":159178,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:49:13] local.INFO: Acknowledgment sent {"connection_id":159178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:49:33] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-21 16:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-21 16:49:33] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-08-21 16:49:33] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 16:49:33] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-08-21 16:49:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 16:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742097840603136,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:33] 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-08-21 16:49:33] 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-08-21 16:49:33] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 16:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 16:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 16:49:33] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 16:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 16:49:33] local.ERROR: GPS data processing failed {"connection_id":159472,"error":"No valid data to process"} 
[2026-08-21 16:49:33] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 16:49:43] local.INFO: TCP Data received {"connection_id":160362,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024094b40012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024094b40012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:49:43] local.INFO: Processing buffer {"connection_id":160362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024094b40012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:49:43] local.INFO: Packet analysis {"connection_id":160362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:49:43] local.INFO: Extracted packet for processing {"connection_id":160362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551606528001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787310984000,"timestamp_ms":1787310984000,"timestamp_seconds":1787310984,"priority":1,"record_length":96,"hex_timestamp":"000001a024094b40"} 
[2026-08-21 16:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286383249994264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:49:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:49:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,144,160,167,45,192,50,59,41,10,66,85,43,3,1,240,14,227,36,33,4,113,205,95,200,44,239,48,2,7,106,56,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:49:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609339153874944,"timestamp_seconds":4251609339153875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551606528001,"66":12526,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551606528001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:49:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551606528001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":160362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:49:43] local.INFO: GPS data processed {"connection_id":160362,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:49:43] local.INFO: Acknowledgment sent {"connection_id":160362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:49:55] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:55] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:55] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:49:57] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:57] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:49:57] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:50:01] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:50:01] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:50:01] local.INFO: IMEI packet received {"connection_id":159179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":159179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:50:02] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:50:02] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:50:02] local.INFO: IMEI packet received {"connection_id":161730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":161730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:50:03] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240a6868012dce3b00052383f8002e015826..."} 
[2026-08-21 16:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240a6868012dce3b00052383f8002e015826..."} 
[2026-08-21 16:50:03] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240a6868012dce3b00052383f8002e015826..."} 
[2026-08-21 16:50:03] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:50:03] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:50:03] local.INFO: GPS Element Parsed {"raw_longitude":768490240,"raw_latitude":86213624,"longitude_deg":76.849024,"latitude_deg":8.6213624,"altitude":46,"angle":344,"satellites":38,"speed":31,"hex_longitude":"2dce3b00","hex_latitude":"052383f8","is_valid_coordinates":true} 
[2026-08-21 16:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551627008001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388332075112988672,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3583246800202469376,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311057000,"timestamp_ms":1787311057000,"timestamp_seconds":1787311057,"priority":1,"record_length":96,"hex_timestamp":"000001a0240a6868"} 
[2026-08-21 16:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16: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-08-21 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551627008001,"66":27908,"189":206,"80":36352,"24":31,"16":388332075112988672,"45":-3583246800202469376},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,80,24,16,45]} 
[2026-08-21 16:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551627008001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:50:03] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 16:50:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388332075112988672,"km_value":388332075112988.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3583246800202469376,"description":"Unknown IO ID 45"} 
[2026-08-21 16:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551627008001,"power":27908,"unknown_189":206,"unknown_80":36352,"ignition":31,"odometer":null,"unknown_45":-3583246800202469376}} 
[2026-08-21 16:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:50:03] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:50:03] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:50:05] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0240c5880012d7a518005e47cf00005008808..."} 
[2026-08-21 16:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240c5880012d7a518005e47cf00005008808..."} 
[2026-08-21 16:50:05] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240c5880012d7a518005e47cf00005008808..."} 
[2026-08-21 16:50:05] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:50:05] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:50:05] local.INFO: GPS Element Parsed {"raw_longitude":762990976,"raw_latitude":98860272,"longitude_deg":76.2990976,"latitude_deg":9.8860272,"altitude":5,"angle":136,"satellites":8,"speed":2,"hex_longitude":"2d7a5180","hex_latitude":"05e47cf0","is_valid_coordinates":true} 
[2026-08-21 16:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551662848001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742754970599424,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813825971049009152,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787311184000,"timestamp_ms":1787311184000,"timestamp_seconds":1787311184,"priority":1,"record_length":96,"hex_timestamp":"000001a0240c5880"} 
[2026-08-21 16:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 16:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551662848001,"66":12939,"39":206,"87":13824,"24":2,"16":121742754970599424,"45":8813825971049009152},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 16:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551662848001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:50:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 16:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 16:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742754970599424,"km_value":121742754970599.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813825971049009152,"description":"Unknown IO ID 45"} 
[2026-08-21 16:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551662848001,"power":12939,"unknown_39":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8813825971049009152}} 
[2026-08-21 16:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:50:05] local.INFO: GPS data processed {"connection_id":159472,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:50:05] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:50:06] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:50:06] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:50:06] local.INFO: IMEI packet received {"connection_id":159179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":159179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:50:07] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024099d48012d17c8c007213218003b00c029..."} 
[2026-08-21 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024099d48012d17c8c007213218003b00c029..."} 
[2026-08-21 16:50:07] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024099d48012d17c8c007213218003b00c029..."} 
[2026-08-21 16:50:07] local.INFO: Packet analysis {"connection_id":159179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:50:07] local.INFO: Extracted packet for processing {"connection_id":159179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551611904001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311005000,"timestamp_ms":1787311005000,"timestamp_seconds":1787311005,"priority":1,"record_length":96,"hex_timestamp":"000001a024099d48"} 
[2026-08-21 16:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 16:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551611904001,"66":12558,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551611904001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:50:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551611904001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":159179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:50:07] local.INFO: GPS data processed {"connection_id":159179,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:50:07] local.INFO: Acknowledgment sent {"connection_id":159179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:50:34] local.INFO: TCP Data received {"connection_id":161730,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240a9360012dce32c00523a8100030015d27..."} 
[2026-08-21 16:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240a9360012dce32c00523a8100030015d27..."} 
[2026-08-21 16:50:34] local.INFO: Processing buffer {"connection_id":161730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240a9360012dce32c00523a8100030015d27..."} 
[2026-08-21 16:50:34] local.INFO: Packet analysis {"connection_id":161730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:50:34] local.INFO: Extracted packet for processing {"connection_id":161730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":768488128,"raw_latitude":86222864,"longitude_deg":76.8488128,"latitude_deg":8.6222864,"altitude":48,"angle":349,"satellites":39,"speed":34,"hex_longitude":"2dce32c0","hex_latitude":"0523a810","is_valid_coordinates":true} 
[2026-08-21 16:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551630592001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388332534674489344,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3586272656199780352,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311068000,"timestamp_ms":1787311068000,"timestamp_seconds":1787311068,"priority":1,"record_length":96,"hex_timestamp":"000001a0240a9360"} 
[2026-08-21 16:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551630592001,"66":27919,"189":206,"80":36352,"24":34,"16":388332534674489344,"45":-3586272656199780352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,80,24,16,45]} 
[2026-08-21 16:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551630592001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:50:34] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 16:50:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388332534674489344,"km_value":388332534674489.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3586272656199780352,"description":"Unknown IO ID 45"} 
[2026-08-21 16:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551630592001,"power":27919,"unknown_189":206,"unknown_80":36352,"ignition":34,"odometer":null,"unknown_45":-3586272656199780352}} 
[2026-08-21 16:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":161730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:50:34] local.INFO: GPS data processed {"connection_id":161730,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:50:34] local.INFO: Acknowledgment sent {"connection_id":161730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:50:37] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0240c9700012d7a518005e47e480005008809..."} 
[2026-08-21 16:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240c9700012d7a518005e47e480005008809..."} 
[2026-08-21 16:50:37] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240c9700012d7a518005e47e480005008809..."} 
[2026-08-21 16:50:37] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:50:37] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":762990976,"raw_latitude":98860616,"longitude_deg":76.2990976,"latitude_deg":9.8860616,"altitude":5,"angle":136,"satellites":9,"speed":0,"hex_longitude":"2d7a5180","hex_latitude":"05e47e48","is_valid_coordinates":true} 
[2026-08-21 16:50: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-08-21 16:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551663104001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742754970599424,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813966708537356288,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:37] 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-08-21 16:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787311200000,"timestamp_ms":1787311200000,"timestamp_seconds":1787311200,"priority":1,"record_length":96,"hex_timestamp":"000001a0240c9700"} 
[2026-08-21 16:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":4608,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 16:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 16:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551663104001,"66":12906,"39":206,"87":13824,"24":0,"16":121742754970599424,"45":8813966708537356288},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 16:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551663104001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:50:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 16:50:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 16:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742754970599424,"km_value":121742754970599.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813966708537356288,"description":"Unknown IO ID 45"} 
[2026-08-21 16:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551663104001,"power":12906,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8813966708537356288}} 
[2026-08-21 16:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:50:37] local.INFO: GPS data processed {"connection_id":159472,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:50:37] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:50:38] local.INFO: TCP Data received {"connection_id":159179,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02409ef50012d17c8c007213218003b00c028..."} 
[2026-08-21 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02409ef50012d17c8c007213218003b00c028..."} 
[2026-08-21 16:50:38] local.INFO: Processing buffer {"connection_id":159179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02409ef50012d17c8c007213218003b00c028..."} 
[2026-08-21 16:50:38] local.INFO: Packet analysis {"connection_id":159179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:50:38] local.INFO: Extracted packet for processing {"connection_id":159179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02409"} 
[2026-08-21 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551617280001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311026000,"timestamp_ms":1787311026000,"timestamp_seconds":1787311026,"priority":1,"record_length":96,"hex_timestamp":"000001a02409ef50"} 
[2026-08-21 16:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286383249994264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:50:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":56,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 16:50:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,144,160,75,45,192,50,59,43,10,66,249,167,1,240,14,227,36,33,4,113,205,3,200,239,49,2,7,106,56,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:50:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609330563940352,"timestamp_seconds":4251609330563940.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551617280001,"66":12526,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551617280001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:50:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551617280001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":159179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:50:38] local.INFO: GPS data processed {"connection_id":159179,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:50:38] local.INFO: Acknowledgment sent {"connection_id":159179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:50:57] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:50:57] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:50:57] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:51:01] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:51:01] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:51:01] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:51:02] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:51:02] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:51:02] local.INFO: IMEI packet received {"connection_id":161731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":161731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:51:03] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240ac240012dce2c800523caf80030015e26..."} 
[2026-08-21 16:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240ac240012dce2c800523caf80030015e26..."} 
[2026-08-21 16:51:03] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240ac240012dce2c800523caf80030015e26..."} 
[2026-08-21 16:51:03] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:51:03] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":768486528,"raw_latitude":86231800,"longitude_deg":76.8486528,"latitude_deg":8.62318,"altitude":48,"angle":350,"satellites":38,"speed":21,"hex_longitude":"2dce2c80","hex_latitude":"0523caf8","is_valid_coordinates":true} 
[2026-08-21 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551633408001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388332977056120832,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3588594824755277824,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311080000,"timestamp_ms":1787311080000,"timestamp_seconds":1787311080,"priority":1,"record_length":96,"hex_timestamp":"000001a0240ac240"} 
[2026-08-21 16:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551633408001,"66":27767,"189":206,"80":36352,"24":21,"16":388332977056120832,"45":-3588594824755277824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,80,24,16,45]} 
[2026-08-21 16:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551633408001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:51:03] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 16:51:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388332977056120832,"km_value":388332977056120.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3588594824755277824,"description":"Unknown IO ID 45"} 
[2026-08-21 16:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551633408001,"power":27767,"unknown_189":206,"unknown_80":36352,"ignition":21,"odometer":null,"unknown_45":-3588594824755277824}} 
[2026-08-21 16:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:51:03] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:51:03] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:51:06] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:51:06] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:51:06] local.INFO: IMEI packet received {"connection_id":161732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":161732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:51:07] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240a4158012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240a4158012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:51:07] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240a4158012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:51:07] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:51:07] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551622656001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311047000,"timestamp_ms":1787311047000,"timestamp_seconds":1787311047,"priority":1,"record_length":96,"hex_timestamp":"000001a0240a4158"} 
[2026-08-21 16:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 16:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551622656001,"66":12548,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551622656001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:51:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551622656001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:51:07] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:51:07] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:51:17] local.INFO: TCP Data received {"connection_id":159472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0240c9700012d7a518005e47e480005008809..."} 
[2026-08-21 16:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240c9700012d7a518005e47e480005008809..."} 
[2026-08-21 16:51:17] local.INFO: Processing buffer {"connection_id":159472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240c9700012d7a518005e47e480005008809..."} 
[2026-08-21 16:51:17] local.INFO: Packet analysis {"connection_id":159472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:51:17] local.INFO: Extracted packet for processing {"connection_id":159472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:51:17] local.INFO: GPS Element Parsed {"raw_longitude":762990976,"raw_latitude":98860616,"longitude_deg":76.2990976,"latitude_deg":9.8860616,"altitude":5,"angle":136,"satellites":9,"speed":0,"hex_longitude":"2d7a5180","hex_latitude":"05e47e48","is_valid_coordinates":true} 
[2026-08-21 16:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551667200001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121742754970599424,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8813966708537444352,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:17] 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-08-21 16:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787311200000,"timestamp_ms":1787311200000,"timestamp_seconds":1787311200,"priority":1,"record_length":96,"hex_timestamp":"000001a0240c9700"} 
[2026-08-21 16:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 16:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 16:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 16:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 16:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551667200001,"66":12906,"39":206,"87":13824,"24":0,"16":121742754970599424,"45":8813966708537444352},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-08-21 16:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 16:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 16:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551667200001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:51:17] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 16:51:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-08-21 16:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121742754970599424,"km_value":121742754970599.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8813966708537444352,"description":"Unknown IO ID 45"} 
[2026-08-21 16:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551667200001,"power":12906,"unknown_39":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8813966708537444352}} 
[2026-08-21 16:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":159472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:51:17] local.INFO: GPS data processed {"connection_id":159472,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:51:17] local.INFO: Acknowledgment sent {"connection_id":159472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:51:34] local.INFO: TCP Data received {"connection_id":161731,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240d17e8012dcdd7c005255b180030015c29..."} 
[2026-08-21 16:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240d17e8012dcdd7c005255b180030015c29..."} 
[2026-08-21 16:51:34] local.INFO: Processing buffer {"connection_id":161731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240d17e8012dcdd7c005255b180030015c29..."} 
[2026-08-21 16:51:34] local.INFO: Packet analysis {"connection_id":161731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:51:34] local.INFO: Extracted packet for processing {"connection_id":161731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":768464832,"raw_latitude":86334232,"longitude_deg":76.8464832,"latitude_deg":8.6334232,"altitude":48,"angle":348,"satellites":41,"speed":44,"hex_longitude":"2dcdd7c0","hex_latitude":"05255b18","is_valid_coordinates":true} 
[2026-08-21 16:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551673344001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388338066592366592,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3612097985284614144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311233000,"timestamp_ms":1787311233000,"timestamp_seconds":1787311233,"priority":1,"record_length":96,"hex_timestamp":"000001a0240d17e8"} 
[2026-08-21 16:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551673344001,"66":27930,"101":206,"80":36352,"24":44,"16":388338066592366592,"45":-3612097985284614144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 16:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551673344001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:51:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 16:51:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388338066592366592,"km_value":388338066592366.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3612097985284614144,"description":"Unknown IO ID 45"} 
[2026-08-21 16:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551673344001,"power":27930,"unknown_101":206,"unknown_80":36352,"ignition":44,"odometer":null,"unknown_45":-3612097985284614144}} 
[2026-08-21 16:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":161731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:51:34] local.INFO: GPS data processed {"connection_id":161731,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:51:34] local.INFO: Acknowledgment sent {"connection_id":161731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:51:38] local.INFO: TCP Data received {"connection_id":161732,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240a9360012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240a9360012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:51:38] local.INFO: Processing buffer {"connection_id":161732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240a9360012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:51:38] local.INFO: Packet analysis {"connection_id":161732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:51:38] local.INFO: Extracted packet for processing {"connection_id":161732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551628032001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311068000,"timestamp_ms":1787311068000,"timestamp_seconds":1787311068,"priority":1,"record_length":96,"hex_timestamp":"000001a0240a9360"} 
[2026-08-21 16:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:51:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:51:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:51:38] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,107,83,24,241,157,16,144,160,239,45,192,50,59,40,10,66,41,75,1,240,238,227,36,33,4,113,205,167,200,49,2,7,106],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:51:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609343448842240,"timestamp_seconds":4251609343448842.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551628032001,"66":12548,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551628032001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:51:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551628032001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":161732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:51:38] local.INFO: GPS data processed {"connection_id":161732,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:51:38] local.INFO: Acknowledgment sent {"connection_id":161732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:51:57] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:51:57] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:51:57] local.INFO: IMEI packet received {"connection_id":159180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":159180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:52:01] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:01] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:01] local.INFO: IMEI packet received {"connection_id":159474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":159474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:52:02] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:02] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:02] local.INFO: IMEI packet received {"connection_id":159180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":159180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:52:03] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240d3b10012dcdd04005258038002c015d25..."} 
[2026-08-21 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240d3b10012dcdd04005258038002c015d25..."} 
[2026-08-21 16:52:03] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240d3b10012dcdd04005258038002c015d25..."} 
[2026-08-21 16:52:03] local.INFO: Packet analysis {"connection_id":159180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:52:03] local.INFO: Extracted packet for processing {"connection_id":159180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":768462912,"raw_latitude":86343736,"longitude_deg":76.8462912,"latitude_deg":8.6343736,"altitude":44,"angle":349,"satellites":37,"speed":44,"hex_longitude":"2dcdd040","hex_latitude":"05258038","is_valid_coordinates":true} 
[2026-08-21 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551675648001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388338534743801856,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3614209047607437312,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311242000,"timestamp_ms":1787311242000,"timestamp_seconds":1787311242,"priority":1,"record_length":96,"hex_timestamp":"000001a0240d3b10"} 
[2026-08-21 16:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 16:52:03] 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-08-21 16:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551675648001,"66":27865,"101":206,"80":36352,"24":44,"16":388338534743801856,"45":-3614209047607437312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 16:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551675648001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:52:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 16:52:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388338534743801856,"km_value":388338534743801.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3614209047607437312,"description":"Unknown IO ID 45"} 
[2026-08-21 16:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551675648001,"power":27865,"unknown_101":206,"unknown_80":36352,"ignition":44,"odometer":null,"unknown_45":-3614209047607437312}} 
[2026-08-21 16:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":159180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:52:03] local.INFO: GPS data processed {"connection_id":159180,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:52:03] local.INFO: Acknowledgment sent {"connection_id":159180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:52:06] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:06] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:06] local.INFO: IMEI packet received {"connection_id":159474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":159474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:52:07] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240ae568012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240ae568012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:52:07] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240ae568012d17c8c007213218003b00c02c..."} 
[2026-08-21 16:52:07] local.INFO: Packet analysis {"connection_id":159474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:52:07] local.INFO: Extracted packet for processing {"connection_id":159474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240a"} 
[2026-08-21 16:52:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551633408001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311089000,"timestamp_ms":1787311089000,"timestamp_seconds":1787311089,"priority":1,"record_length":96,"hex_timestamp":"000001a0240ae568"} 
[2026-08-21 16:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422013952,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 16:52:07] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":3221692722,"corrected_to":0} 
[2026-08-21 16:52:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,144,160,65,45,192,50,59,44,10,66,239,40,1,240,14,227,36,33,4,113,205,249,200,43,49,2,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0},{"io_id":200,"original":3221692722,"validated":0}]} 
[2026-08-21 16:52:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251609339153874944,"timestamp_seconds":4251609339153875.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 16:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551633408001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551633408001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:52:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:52:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551633408001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":159474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:52:07] local.INFO: GPS data processed {"connection_id":159474,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:52:07] local.INFO: Acknowledgment sent {"connection_id":159474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:52:34] local.INFO: TCP Data received {"connection_id":159180,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240d5a50012dcdc9000525a2580028015b24..."} 
[2026-08-21 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240d5a50012dcdc9000525a2580028015b24..."} 
[2026-08-21 16:52:34] local.INFO: Processing buffer {"connection_id":159180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240d5a50012dcdc9000525a2580028015b24..."} 
[2026-08-21 16:52:34] local.INFO: Packet analysis {"connection_id":159180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:52:34] local.INFO: Extracted packet for processing {"connection_id":159180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:52:34] local.INFO: GPS Element Parsed {"raw_longitude":768461056,"raw_latitude":86352472,"longitude_deg":76.8461056,"latitude_deg":8.6352472,"altitude":40,"angle":347,"satellites":36,"speed":43,"hex_longitude":"2dcdc900","hex_latitude":"0525a258","is_valid_coordinates":true} 
[2026-08-21 16:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551677952001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388338968535498752,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3616320109930334208,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311250000,"timestamp_ms":1787311250000,"timestamp_seconds":1787311250,"priority":1,"record_length":96,"hex_timestamp":"000001a0240d5a50"} 
[2026-08-21 16:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:52:34] 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-08-21 16:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551677952001,"66":27832,"101":206,"80":36352,"24":43,"16":388338968535498752,"45":-3616320109930334208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 16:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551677952001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:52:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 16:52:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388338968535498752,"km_value":388338968535498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3616320109930334208,"description":"Unknown IO ID 45"} 
[2026-08-21 16:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551677952001,"power":27832,"unknown_101":206,"unknown_80":36352,"ignition":43,"odometer":null,"unknown_45":-3616320109930334208}} 
[2026-08-21 16:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":159180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:52:34] local.INFO: GPS data processed {"connection_id":159180,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:52:34] local.INFO: Acknowledgment sent {"connection_id":159180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:52:38] local.INFO: TCP Data received {"connection_id":159474,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240b3770012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240b3770012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:52:38] local.INFO: Processing buffer {"connection_id":159474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240b3770012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:52:38] local.INFO: Packet analysis {"connection_id":159474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240b"} 
[2026-08-21 16:52:38] local.INFO: Extracted packet for processing {"connection_id":159474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240b"} 
[2026-08-21 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551638784001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311110000,"timestamp_ms":1787311110000,"timestamp_seconds":1787311110,"priority":1,"record_length":96,"hex_timestamp":"000001a0240b3770"} 
[2026-08-21 16:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551638784001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551638784001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:52:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:52:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551638784001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":159474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:52:38] local.INFO: GPS data processed {"connection_id":159474,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:52:38] local.INFO: Acknowledgment sent {"connection_id":159474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:52:57] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:57] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:57] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:52:59] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:59] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:52:59] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:52:59] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:59] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:52:59] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:53:01] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:53:01] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:53:01] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:53:02] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:53:02] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:53:02] local.INFO: IMEI packet received {"connection_id":160363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":160363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:53:06] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:53:06] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:53:06] local.INFO: IMEI packet received {"connection_id":161733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":161733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:53:06] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240d7d78012dcdc1400525c6d80026015c29..."} 
[2026-08-21 16:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240d7d78012dcdc1400525c6d80026015c29..."} 
[2026-08-21 16:53:06] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240d7d78012dcdc1400525c6d80026015c29..."} 
[2026-08-21 16:53:06] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:53:06] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:53:06] local.INFO: GPS Element Parsed {"raw_longitude":768459072,"raw_latitude":86361816,"longitude_deg":76.8459072,"latitude_deg":8.6361816,"altitude":38,"angle":348,"satellites":41,"speed":44,"hex_longitude":"2dcdc140","hex_latitude":"0525c6d8","is_valid_coordinates":true} 
[2026-08-21 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551680000001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388339432391966720,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3618360803509250048,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787311259000,"timestamp_ms":1787311259000,"timestamp_seconds":1787311259,"priority":1,"record_length":96,"hex_timestamp":"000001a0240d7d78"} 
[2026-08-21 16:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:53: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-08-21 16:53:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 16:53:06] 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-08-21 16:53:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551680000001,"66":27800,"101":206,"80":36352,"24":44,"16":388339432391966720,"45":-3618360803509250048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 16:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551680000001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:53:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 16:53:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388339432391966720,"km_value":388339432391966.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3618360803509250048,"description":"Unknown IO ID 45"} 
[2026-08-21 16:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551680000001,"power":27800,"unknown_101":206,"unknown_80":36352,"ignition":44,"odometer":null,"unknown_45":-3618360803509250048}} 
[2026-08-21 16:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:53:06] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:53:06] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:53:07] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240b8978012d17c8c007213218003b00c029..."} 
[2026-08-21 16:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240b8978012d17c8c007213218003b00c029..."} 
[2026-08-21 16:53:07] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240b8978012d17c8c007213218003b00c029..."} 
[2026-08-21 16:53:07] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240b"} 
[2026-08-21 16:53:07] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240b"} 
[2026-08-21 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551644160001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311131000,"timestamp_ms":1787311131000,"timestamp_seconds":1787311131,"priority":1,"record_length":96,"hex_timestamp":"000001a0240b8978"} 
[2026-08-21 16:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551644160001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551644160001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:53:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551644160001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:53:07] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:53:07] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:53:38] local.INFO: TCP Data received {"connection_id":161733,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240bdb80012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240bdb80012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:53:38] local.INFO: Processing buffer {"connection_id":161733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240bdb80012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:53:38] local.INFO: Packet analysis {"connection_id":161733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240b"} 
[2026-08-21 16:53:38] local.INFO: Extracted packet for processing {"connection_id":161733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240b"} 
[2026-08-21 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551649536001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311152000,"timestamp_ms":1787311152000,"timestamp_seconds":1787311152,"priority":1,"record_length":96,"hex_timestamp":"000001a0240bdb80"} 
[2026-08-21 16:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:53:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:53:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551649536001,"66":12526,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551649536001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:53:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:53:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551649536001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":161733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:53:38] local.INFO: GPS data processed {"connection_id":161733,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:53:38] local.INFO: Acknowledgment sent {"connection_id":161733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:53:48] local.INFO: TCP Data received {"connection_id":160363,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240d9cb8012dcdb8800525e8f80026015623..."} 
[2026-08-21 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240d9cb8012dcdb8800525e8f80026015623..."} 
[2026-08-21 16:53:48] local.INFO: Processing buffer {"connection_id":160363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240d9cb8012dcdb8800525e8f80026015623..."} 
[2026-08-21 16:53:48] local.INFO: Packet analysis {"connection_id":160363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:53:48] local.INFO: Extracted packet for processing {"connection_id":160363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:53:48] local.INFO: GPS Element Parsed {"raw_longitude":768456832,"raw_latitude":86370552,"longitude_deg":76.8456832,"latitude_deg":8.6370552,"altitude":38,"angle":342,"satellites":35,"speed":42,"hex_longitude":"2dcdb880","hex_latitude":"0525e8f8","is_valid_coordinates":true} 
[2026-08-21 16:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551682304001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388339866183663616,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3620542234576365568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787311267000,"timestamp_ms":1787311267000,"timestamp_seconds":1787311267,"priority":1,"record_length":96,"hex_timestamp":"000001a0240d9cb8"} 
[2026-08-21 16:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:53: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-08-21 16:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 16:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":160363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":160363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551682304001,"66":27843,"101":206,"80":36352,"24":42,"16":388339866183663616,"45":-3620542234576365568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 16:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551682304001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:53:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 16:53:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388339866183663616,"km_value":388339866183663.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3620542234576365568,"description":"Unknown IO ID 45"} 
[2026-08-21 16:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551682304001,"power":27843,"unknown_101":206,"unknown_80":36352,"ignition":42,"odometer":null,"unknown_45":-3620542234576365568}} 
[2026-08-21 16:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":160363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:53:48] local.INFO: GPS data processed {"connection_id":160363,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:53:48] local.INFO: Acknowledgment sent {"connection_id":160363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:53:58] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:53:58] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:53:58] local.INFO: IMEI packet received {"connection_id":159181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":159181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:54:01] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:01] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:01] local.INFO: IMEI packet received {"connection_id":159475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":159475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:54:02] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:02] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:02] local.INFO: IMEI packet received {"connection_id":159475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":159475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:54:02] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:54:02] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:54:02] local.INFO: IMEI packet received {"connection_id":159181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":159181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:54:03] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240dbfe0012dcdab4005260a780029015023..."} 
[2026-08-21 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240dbfe0012dcdab4005260a780029015023..."} 
[2026-08-21 16:54:03] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240dbfe0012dcdab4005260a780029015023..."} 
[2026-08-21 16:54:03] local.INFO: Packet analysis {"connection_id":159181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:54:03] local.INFO: Extracted packet for processing {"connection_id":159181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:54:03] local.INFO: GPS Element Parsed {"raw_longitude":768453440,"raw_latitude":86379128,"longitude_deg":76.845344,"latitude_deg":8.6379128,"altitude":41,"angle":336,"satellites":35,"speed":37,"hex_longitude":"2dcdab40","hex_latitude":"05260a78","is_valid_coordinates":true} 
[2026-08-21 16:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551684352001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388340312860262400,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3623005140620347392,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311276000,"timestamp_ms":1787311276000,"timestamp_seconds":1787311276,"priority":1,"record_length":96,"hex_timestamp":"000001a0240dbfe0"} 
[2026-08-21 16:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 16:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551684352001,"66":27865,"101":206,"80":36352,"24":37,"16":388340312860262400,"45":-3623005140620347392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 16:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551684352001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:54:03] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 16:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388340312860262400,"km_value":388340312860262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3623005140620347392,"description":"Unknown IO ID 45"} 
[2026-08-21 16:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551684352001,"power":27865,"unknown_101":206,"unknown_80":36352,"ignition":37,"odometer":null,"unknown_45":-3623005140620347392}} 
[2026-08-21 16:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":159181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:54:03] local.INFO: GPS data processed {"connection_id":159181,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:54:03] local.INFO: Acknowledgment sent {"connection_id":159181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:54:06] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:06] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:54:06] local.INFO: IMEI packet received {"connection_id":159475,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":159475,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:54:07] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240c2d88012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240c2d88012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:54:07] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240c2d88012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:54:07] local.INFO: Packet analysis {"connection_id":159475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:54:07] local.INFO: Extracted packet for processing {"connection_id":159475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551654912001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311173000,"timestamp_ms":1787311173000,"timestamp_seconds":1787311173,"priority":1,"record_length":96,"hex_timestamp":"000001a0240c2d88"} 
[2026-08-21 16:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 16:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551654912001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551654912001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:54:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551654912001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":159475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:54:07] local.INFO: GPS data processed {"connection_id":159475,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:54:07] local.INFO: Acknowledgment sent {"connection_id":159475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:54:38] local.INFO: TCP Data received {"connection_id":159475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0240c7f90012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240c7f90012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:54:38] local.INFO: Processing buffer {"connection_id":159475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240c7f90012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:54:38] local.INFO: Packet analysis {"connection_id":159475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:54:38] local.INFO: Extracted packet for processing {"connection_id":159475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240c"} 
[2026-08-21 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551660288001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311194000,"timestamp_ms":1787311194000,"timestamp_seconds":1787311194,"priority":1,"record_length":96,"hex_timestamp":"000001a0240c7f90"} 
[2026-08-21 16:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159475,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551660288001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551660288001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551660288001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":159475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:54:38] local.INFO: GPS data processed {"connection_id":159475,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:54:38] local.INFO: Acknowledgment sent {"connection_id":159475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:54:39] local.INFO: TCP Data received {"connection_id":159181,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0240deec0012dcd9d0005262b80002c015029..."} 
[2026-08-21 16:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0240deec0012dcd9d0005262b80002c015029..."} 
[2026-08-21 16:54:39] local.INFO: Processing buffer {"connection_id":159181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0240deec0012dcd9d0005262b80002c015029..."} 
[2026-08-21 16:54:39] local.INFO: Packet analysis {"connection_id":159181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:54:39] local.INFO: Extracted packet for processing {"connection_id":159181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0240d"} 
[2026-08-21 16:54:39] local.INFO: GPS Element Parsed {"raw_longitude":768449792,"raw_latitude":86387584,"longitude_deg":76.8449792,"latitude_deg":8.6387584,"altitude":44,"angle":336,"satellites":41,"speed":34,"hex_longitude":"2dcd9d00","hex_latitude":"05262b80","is_valid_coordinates":true} 
[2026-08-21 16:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551686656001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388340759536861184,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3626734684059568128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787311288000,"timestamp_ms":1787311288000,"timestamp_seconds":1787311288,"priority":1,"record_length":96,"hex_timestamp":"000001a0240deec0"} 
[2026-08-21 16:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551686656001,"66":27865,"101":206,"80":36352,"24":34,"16":388340759536861184,"45":-3626734684059568128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,80,24,16,45]} 
[2026-08-21 16:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551686656001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:54:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 16:54:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388340759536861184,"km_value":388340759536861.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3626734684059568128,"description":"Unknown IO ID 45"} 
[2026-08-21 16:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551686656001,"power":27865,"unknown_101":206,"unknown_80":36352,"ignition":34,"odometer":null,"unknown_45":-3626734684059568128}} 
[2026-08-21 16:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":159181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:54:39] local.INFO: GPS data processed {"connection_id":159181,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:54:39] local.INFO: Acknowledgment sent {"connection_id":159181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:54:57] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:54:57] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:54:57] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:55:01] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:01] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:01] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:55:02] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:55:02] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:55:02] local.INFO: IMEI packet received {"connection_id":160364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":160364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:55:03] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024102528012dcd2600052798780028015e28..."} 
[2026-08-21 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024102528012dcd2600052798780028015e28..."} 
[2026-08-21 16:55:03] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024102528012dcd2600052798780028015e28..."} 
[2026-08-21 16:55:03] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:03] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":768419328,"raw_latitude":86481016,"longitude_deg":76.8419328,"latitude_deg":8.6481016,"altitude":40,"angle":350,"satellites":40,"speed":12,"hex_longitude":"2dcd2600","hex_latitude":"05279878","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551722240001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388345531245527040,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3662059793612933120,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311433000,"timestamp_ms":1787311433000,"timestamp_seconds":1787311433,"priority":1,"record_length":96,"hex_timestamp":"000001a024102528"} 
[2026-08-21 16:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:55:03] 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-08-21 16: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-08-21 16:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551722240001,"66":27832,"162":206,"80":36352,"24":12,"16":388345531245527040,"45":-3662059793612933120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,80,24,16,45]} 
[2026-08-21 16:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551722240001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:55:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 16:55:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388345531245527040,"km_value":388345531245527.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3662059793612933120,"description":"Unknown IO ID 45"} 
[2026-08-21 16:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551722240001,"power":27832,"unknown_162":206,"unknown_80":36352,"ignition":12,"odometer":null,"unknown_45":-3662059793612933120}} 
[2026-08-21 16:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:55:03] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:55:03] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:55:05] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:05] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:05] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:55:06] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:06] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:55:06] local.INFO: IMEI packet received {"connection_id":160365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":160365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:55:06] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241005e8012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241005e8012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:55:06] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241005e8012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:55:06] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:06] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551719424001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787311425000,"timestamp_ms":1787311425000,"timestamp_seconds":1787311425,"priority":1,"record_length":96,"hex_timestamp":"000001a0241005e8"} 
[2026-08-21 16:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 16:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551719424001,"66":12526,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551719424001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:55:06] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:55:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551719424001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:55:07] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:55:07] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:55:11] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241057f0012d17c8c007213218003b00c029..."} 
[2026-08-21 16:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241057f0012d17c8c007213218003b00c029..."} 
[2026-08-21 16:55:11] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241057f0012d17c8c007213218003b00c029..."} 
[2026-08-21 16:55:11] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:11] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551724800001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787311446000,"timestamp_ms":1787311446000,"timestamp_seconds":1787311446,"priority":1,"record_length":96,"hex_timestamp":"000001a0241057f0"} 
[2026-08-21 16:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 16:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551724800001,"66":12526,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551724800001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:55:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551724800001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:55:12] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:55:12] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:55:37] local.INFO: TCP Data received {"connection_id":160364,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024106790012dcd21800527b830002a00052b..."} 
[2026-08-21 16:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024106790012dcd21800527b830002a00052b..."} 
[2026-08-21 16:55:37] local.INFO: Processing buffer {"connection_id":160364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024106790012dcd21800527b830002a00052b..."} 
[2026-08-21 16:55:37] local.INFO: Packet analysis {"connection_id":160364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:37] local.INFO: Extracted packet for processing {"connection_id":160364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:37] local.INFO: GPS Element Parsed {"raw_longitude":768418176,"raw_latitude":86489136,"longitude_deg":76.8418176,"latitude_deg":8.6489136,"altitude":42,"angle":5,"satellites":43,"speed":26,"hex_longitude":"2dcd2180","hex_latitude":"0527b830","is_valid_coordinates":true} 
[2026-08-21 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551726848001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388345930677485568,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3664241224680179712,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787311450000,"timestamp_ms":1787311450000,"timestamp_seconds":1787311450,"priority":1,"record_length":96,"hex_timestamp":"000001a024106790"} 
[2026-08-21 16:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:55: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-08-21 16:55:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 16:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:55:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551726848001,"66":27876,"134":206,"80":36352,"24":26,"16":388345930677485568,"45":-3664241224680179712},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,80,24,16,45]} 
[2026-08-21 16:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551726848001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:55:37] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-08-21 16:55:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388345930677485568,"km_value":388345930677485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3664241224680179712,"description":"Unknown IO ID 45"} 
[2026-08-21 16:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551726848001,"power":27876,"unknown_134":206,"unknown_80":36352,"ignition":26,"odometer":null,"unknown_45":-3664241224680179712}} 
[2026-08-21 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":160364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:55:37] local.INFO: GPS data processed {"connection_id":160364,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:55:37] local.INFO: Acknowledgment sent {"connection_id":160364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:55:43] local.INFO: TCP Data received {"connection_id":160365,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02410a9f8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02410a9f8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:55:43] local.INFO: Processing buffer {"connection_id":160365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02410a9f8012d17c8c007213218003b00c029..."} 
[2026-08-21 16:55:43] local.INFO: Packet analysis {"connection_id":160365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:43] local.INFO: Extracted packet for processing {"connection_id":160365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551730176001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787311467000,"timestamp_ms":1787311467000,"timestamp_seconds":1787311467,"priority":1,"record_length":96,"hex_timestamp":"000001a02410a9f8"} 
[2026-08-21 16:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 16:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551730176001,"66":12526,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551730176001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:55:43] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:55:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551730176001,"power":12526,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":160365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:55:43] local.INFO: GPS data processed {"connection_id":160365,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:55:43] local.INFO: Acknowledgment sent {"connection_id":160365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:56:06] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:56:06] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:56:06] local.INFO: IMEI packet received {"connection_id":159476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":159476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:56:08] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:56:08] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:56:08] local.INFO: IMEI packet received {"connection_id":159476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":159476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:56:09] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02410fc00012d17c8c007213218003b00c025..."} 
[2026-08-21 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02410fc00012d17c8c007213218003b00c025..."} 
[2026-08-21 16:56:09] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02410fc00012d17c8c007213218003b00c025..."} 
[2026-08-21 16:56:09] local.INFO: Packet analysis {"connection_id":159476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:56:09] local.INFO: Extracted packet for processing {"connection_id":159476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02410"} 
[2026-08-21 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":37,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551735552001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787311488000,"timestamp_ms":1787311488000,"timestamp_seconds":1787311488,"priority":1,"record_length":96,"hex_timestamp":"000001a02410fc00"} 
[2026-08-21 16:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 16:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551735552001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551735552001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551735552001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":159476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:56:09] local.INFO: GPS data processed {"connection_id":159476,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:56:09] local.INFO: Acknowledgment sent {"connection_id":159476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:56:11] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024114e08012d17c8c007213218003b00c029..."} 
[2026-08-21 16:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024114e08012d17c8c007213218003b00c029..."} 
[2026-08-21 16:56:11] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024114e08012d17c8c007213218003b00c029..."} 
[2026-08-21 16:56:11] local.INFO: Packet analysis {"connection_id":159476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:11] local.INFO: Extracted packet for processing {"connection_id":159476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551740928001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787311509000,"timestamp_ms":1787311509000,"timestamp_seconds":1787311509,"priority":1,"record_length":96,"hex_timestamp":"000001a024114e08"} 
[2026-08-21 16:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551740928001,"66":12461,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551740928001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:56:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551740928001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":159476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:56:11] local.INFO: GPS data processed {"connection_id":159476,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:56:11] local.INFO: Acknowledgment sent {"connection_id":159476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:56:15] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:15] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:15] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:56:15] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:56:17] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:17] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:17] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:56:21] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:21] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:21] local.INFO: IMEI packet received {"connection_id":160366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":160366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:56:22] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241184b8012dcd01c005290e48001c00072a..."} 
[2026-08-21 16:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241184b8012dcd01c005290e48001c00072a..."} 
[2026-08-21 16:56:22] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241184b8012dcd01c005290e48001c00072a..."} 
[2026-08-21 16:56:22] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:22] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:22] local.INFO: GPS Element Parsed {"raw_longitude":768410048,"raw_latitude":86576712,"longitude_deg":76.8410048,"latitude_deg":8.6576712,"altitude":28,"angle":7,"satellites":42,"speed":54,"hex_longitude":"2dcd01c0","hex_latitude":"05290e48","is_valid_coordinates":true} 
[2026-08-21 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551748096001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388350311544127488,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3676626123633233920,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787311523000,"timestamp_ms":1787311523000,"timestamp_seconds":1787311523,"priority":1,"record_length":96,"hex_timestamp":"000001a0241184b8"} 
[2026-08-21 16:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:56: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-08-21 16:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 16:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551748096001,"66":27767,"166":206,"80":34560,"24":54,"16":388350311544127488,"45":-3676626123633233920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-21 16:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551748096001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:56:22] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 16:56:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":34560,"description":"Unknown IO ID 80"} 
[2026-08-21 16:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388350311544127488,"km_value":388350311544127.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3676626123633233920,"description":"Unknown IO ID 45"} 
[2026-08-21 16:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551748096001,"power":27767,"unknown_166":206,"unknown_80":34560,"ignition":54,"odometer":null,"unknown_45":-3676626123633233920}} 
[2026-08-21 16:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:56:22] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:56:22] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:56:42] local.INFO: TCP Data received {"connection_id":159476,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02411a010012d17c8c007213218003b00c029..."} 
[2026-08-21 16:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02411a010012d17c8c007213218003b00c029..."} 
[2026-08-21 16:56:42] local.INFO: Processing buffer {"connection_id":159476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02411a010012d17c8c007213218003b00c029..."} 
[2026-08-21 16:56:42] local.INFO: Packet analysis {"connection_id":159476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:42] local.INFO: Extracted packet for processing {"connection_id":159476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551746304001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787311530000,"timestamp_ms":1787311530000,"timestamp_seconds":1787311530,"priority":1,"record_length":96,"hex_timestamp":"000001a02411a010"} 
[2026-08-21 16:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 16:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551746304001,"66":12461,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551746304001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:56:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551746304001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":159476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:56:42] local.INFO: GPS data processed {"connection_id":159476,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:56:42] local.INFO: Acknowledgment sent {"connection_id":159476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:56:47] local.INFO: TCP Data received {"connection_id":160366,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02411a010012dcd0200052934b0001b01672c..."} 
[2026-08-21 16:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02411a010012dcd0200052934b0001b01672c..."} 
[2026-08-21 16:56:47] local.INFO: Processing buffer {"connection_id":160366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02411a010012dcd0200052934b0001b01672c..."} 
[2026-08-21 16:56:47] local.INFO: Packet analysis {"connection_id":160366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:47] local.INFO: Extracted packet for processing {"connection_id":160366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":768410112,"raw_latitude":86586544,"longitude_deg":76.8410112,"latitude_deg":8.6586544,"altitude":27,"angle":359,"satellites":44,"speed":56,"hex_longitude":"2dcd0200","hex_latitude":"052934b0","is_valid_coordinates":true} 
[2026-08-21 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:56:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551749888001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388350788285497344,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3674444692561442816,"note":"Value kept but may cause issues"} 
[2026-08-21 16:56:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:56:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787311530000,"timestamp_ms":1787311530000,"timestamp_seconds":1787311530,"priority":1,"record_length":96,"hex_timestamp":"000001a02411a010"} 
[2026-08-21 16:56:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:56:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:56:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 16:56: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-08-21 16:56:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:56:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:56:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:56:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:56:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:56:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:56:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:56:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:56:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:56:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551749888001,"66":27908,"166":206,"80":34560,"24":56,"16":388350788285497344,"45":-3674444692561442816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,80,24,16,45]} 
[2026-08-21 16:56:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:56:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:56:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551749888001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:56:47] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 16:56:47] local.INFO: Unknown IO ID detected {"io_id":80,"value":34560,"description":"Unknown IO ID 80"} 
[2026-08-21 16:56:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388350788285497344,"km_value":388350788285497.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:56:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3674444692561442816,"description":"Unknown IO ID 45"} 
[2026-08-21 16:56:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551749888001,"power":27908,"unknown_166":206,"unknown_80":34560,"ignition":56,"odometer":null,"unknown_45":-3674444692561442816}} 
[2026-08-21 16:56:47] local.INFO: DEBUG: GPS processor result {"connection_id":160366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:56:47] local.INFO: GPS data processed {"connection_id":160366,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:56:47] local.INFO: Acknowledgment sent {"connection_id":160366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:56:57] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:57] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:57] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:56:58] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:58] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:56:58] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:57:01] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:57:01] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:57:01] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:57:02] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:57:02] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:57:02] local.INFO: IMEI packet received {"connection_id":161734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":161734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:57:03] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02411bb68012dcd010005295bf8001a01632c..."} 
[2026-08-21 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02411bb68012dcd010005295bf8001a01632c..."} 
[2026-08-21 16:57:03] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02411bb68012dcd010005295bf8001a01632c..."} 
[2026-08-21 16:57:03] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:57:03] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:57:03] local.INFO: GPS Element Parsed {"raw_longitude":768409856,"raw_latitude":86596600,"longitude_deg":76.8409856,"latitude_deg":8.65966,"altitude":26,"angle":355,"satellites":44,"speed":56,"hex_longitude":"2dcd0100","hex_latitude":"05295bf8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 16:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551751680001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388351277911769088,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3674374323814748160,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311537000,"timestamp_ms":1787311537000,"timestamp_seconds":1787311537,"priority":1,"record_length":96,"hex_timestamp":"000001a02411bb68"} 
[2026-08-21 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-08-21 16:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 16:57:03] 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-08-21 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-08-21 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-08-21 16:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551751680001,"66":27876,"160":206,"80":36352,"24":56,"16":388351277911769088,"45":-3674374323814748160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 16:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551751680001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:57:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 16:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388351277911769088,"km_value":388351277911769.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3674374323814748160,"description":"Unknown IO ID 45"} 
[2026-08-21 16:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551751680001,"power":27876,"unknown_160":206,"unknown_80":36352,"ignition":56,"odometer":null,"unknown_45":-3674374323814748160}} 
[2026-08-21 16:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:57:03] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:57:03] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:57:06] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:57:06] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:57:06] local.INFO: IMEI packet received {"connection_id":161735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":161735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:57:07] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02411f218012d17c8c007213218003b00c028..."} 
[2026-08-21 16:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02411f218012d17c8c007213218003b00c028..."} 
[2026-08-21 16:57:07] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02411f218012d17c8c007213218003b00c028..."} 
[2026-08-21 16:57:07] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:57:07] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551751680001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311551000,"timestamp_ms":1787311551000,"timestamp_seconds":1787311551,"priority":1,"record_length":96,"hex_timestamp":"000001a02411f218"} 
[2026-08-21 16:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 16:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551751680001,"66":12341,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551751680001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:57:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551751680001,"power":12341,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:57:07] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:57:07] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:57:34] local.INFO: TCP Data received {"connection_id":161734,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02411d2d8012dccfbc005297bb80018015728..."} 
[2026-08-21 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02411d2d8012dccfbc005297bb80018015728..."} 
[2026-08-21 16:57:34] local.INFO: Processing buffer {"connection_id":161734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02411d2d8012dccfbc005297bb80018015728..."} 
[2026-08-21 16:57:34] local.INFO: Packet analysis {"connection_id":161734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:57:34] local.INFO: Extracted packet for processing {"connection_id":161734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":768408512,"raw_latitude":86604728,"longitude_deg":76.8408512,"latitude_deg":8.6604728,"altitude":24,"angle":343,"satellites":40,"speed":48,"hex_longitude":"2dccfbc0","hex_latitude":"05297bb8","is_valid_coordinates":true} 
[2026-08-21 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551753472001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388351677343727616,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3674655798788884480,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311543000,"timestamp_ms":1787311543000,"timestamp_seconds":1787311543,"priority":1,"record_length":96,"hex_timestamp":"000001a02411d2d8"} 
[2026-08-21 16:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 16:57: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-08-21 16:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551753472001,"66":27974,"160":206,"80":36352,"24":48,"16":388351677343727616,"45":-3674655798788884480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 16:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551753472001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:57:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 16:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388351677343727616,"km_value":388351677343727.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3674655798788884480,"description":"Unknown IO ID 45"} 
[2026-08-21 16:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551753472001,"power":27974,"unknown_160":206,"unknown_80":36352,"ignition":48,"odometer":null,"unknown_45":-3674655798788884480}} 
[2026-08-21 16:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":161734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:57:34] local.INFO: GPS data processed {"connection_id":161734,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:57:34] local.INFO: Acknowledgment sent {"connection_id":161734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:57:38] local.INFO: TCP Data received {"connection_id":161735,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024124420012d17c8c007213218003b00c028..."} 
[2026-08-21 16:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024124420012d17c8c007213218003b00c028..."} 
[2026-08-21 16:57:38] local.INFO: Processing buffer {"connection_id":161735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024124420012d17c8c007213218003b00c028..."} 
[2026-08-21 16:57:38] local.INFO: Packet analysis {"connection_id":161735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:57:38] local.INFO: Extracted packet for processing {"connection_id":161735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551757056001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311572000,"timestamp_ms":1787311572000,"timestamp_seconds":1787311572,"priority":1,"record_length":96,"hex_timestamp":"000001a024124420"} 
[2026-08-21 16:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 16:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551757056001,"66":12461,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551757056001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:57:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551757056001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":161735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:57:38] local.INFO: GPS data processed {"connection_id":161735,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:57:38] local.INFO: Acknowledgment sent {"connection_id":161735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:57:57] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:57:57] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:57:57] local.INFO: IMEI packet received {"connection_id":159182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":159182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:58:01] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:58:01] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:58:01] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:58:02] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:02] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:02] local.INFO: IMEI packet received {"connection_id":159182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":159182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:58:03] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02411f600012dccee8005299dd80015015028..."} 
[2026-08-21 16:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02411f600012dccee8005299dd80015015028..."} 
[2026-08-21 16:58:03] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02411f600012dccee8005299dd80015015028..."} 
[2026-08-21 16:58:03] local.INFO: Packet analysis {"connection_id":159182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:58:03] local.INFO: Extracted packet for processing {"connection_id":159182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02411"} 
[2026-08-21 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":768405120,"raw_latitude":86613464,"longitude_deg":76.840512,"latitude_deg":8.6613464,"altitude":21,"angle":336,"satellites":40,"speed":34,"hex_longitude":"2dccee80","hex_latitude":"05299dd8","is_valid_coordinates":true} 
[2026-08-21 16: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-08-21 16:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551755008001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388352128315293696,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3676133542414534656,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311552000,"timestamp_ms":1787311552000,"timestamp_seconds":1787311552,"priority":1,"record_length":96,"hex_timestamp":"000001a02411f600"} 
[2026-08-21 16:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 16:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16: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-08-21 16:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551755008001,"66":28028,"160":206,"80":36352,"24":34,"16":388352128315293696,"45":-3676133542414534656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 16:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551755008001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:58:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 16:58:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388352128315293696,"km_value":388352128315293.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3676133542414534656,"description":"Unknown IO ID 45"} 
[2026-08-21 16:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551755008001,"power":28028,"unknown_160":206,"unknown_80":36352,"ignition":34,"odometer":null,"unknown_45":-3676133542414534656}} 
[2026-08-21 16:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":159182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:58:03] local.INFO: GPS data processed {"connection_id":159182,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:58:03] local.INFO: Acknowledgment sent {"connection_id":159182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:58:06] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:58:06] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:58:06] local.INFO: IMEI packet received {"connection_id":161736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":161736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:58:07] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024129628012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024129628012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:58:07] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024129628012d17c8c007213218003b00c02a..."} 
[2026-08-21 16:58:07] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:58:07] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":42,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551762432001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311593000,"timestamp_ms":1787311593000,"timestamp_seconds":1787311593,"priority":1,"record_length":96,"hex_timestamp":"000001a024129628"} 
[2026-08-21 16:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 16:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551762432001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551762432001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551762432001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:58:07] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:58:07] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:58:34] local.INFO: TCP Data received {"connection_id":159182,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024120988012dcce8000529aad80016014429..."} 
[2026-08-21 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024120988012dcce8000529aad80016014429..."} 
[2026-08-21 16:58:34] local.INFO: Processing buffer {"connection_id":159182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024120988012dcce8000529aad80016014429..."} 
[2026-08-21 16:58:34] local.INFO: Packet analysis {"connection_id":159182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:58:34] local.INFO: Extracted packet for processing {"connection_id":159182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":768403456,"raw_latitude":86616792,"longitude_deg":76.8403456,"latitude_deg":8.6616792,"altitude":22,"angle":324,"satellites":41,"speed":23,"hex_longitude":"2dcce800","hex_latitude":"0529aad8","is_valid_coordinates":true} 
[2026-08-21 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551757312001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388352308703920128,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3679863085853714432,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311557000,"timestamp_ms":1787311557000,"timestamp_seconds":1787311557,"priority":1,"record_length":96,"hex_timestamp":"000001a024120988"} 
[2026-08-21 16:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 16:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551757312001,"66":27865,"160":206,"80":36352,"24":23,"16":388352308703920128,"45":-3679863085853714432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 16:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551757312001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:58:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 16:58:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388352308703920128,"km_value":388352308703920.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3679863085853714432,"description":"Unknown IO ID 45"} 
[2026-08-21 16:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551757312001,"power":27865,"unknown_160":206,"unknown_80":36352,"ignition":23,"odometer":null,"unknown_45":-3679863085853714432}} 
[2026-08-21 16:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":159182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:58:34] local.INFO: GPS data processed {"connection_id":159182,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:58:34] local.INFO: Acknowledgment sent {"connection_id":159182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:58:38] local.INFO: TCP Data received {"connection_id":161736,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02412e830012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02412e830012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:58:38] local.INFO: Processing buffer {"connection_id":161736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02412e830012d17c8c007213218003b00c02b..."} 
[2026-08-21 16:58:38] local.INFO: Packet analysis {"connection_id":161736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:58:38] local.INFO: Extracted packet for processing {"connection_id":161736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551767808001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311614000,"timestamp_ms":1787311614000,"timestamp_seconds":1787311614,"priority":1,"record_length":96,"hex_timestamp":"000001a02412e830"} 
[2026-08-21 16:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551767808001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551767808001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551767808001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":161736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:58:38] local.INFO: GPS data processed {"connection_id":161736,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:58:38] local.INFO: Acknowledgment sent {"connection_id":161736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:58:40] local.INFO: TCP Data received {"connection_id":160367,"ip":"147.185.133.18","data_length":1483,"data_hex":"16030105c6010005c2030334d6a385930b088c1265ff7dd95a0e59e0f46daa12..."} 
[2026-08-21 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160367,"packet_length":1483,"packet_hex":"16030105c6010005c2030334d6a385930b088c1265ff7dd95a0e59e0f46daa12..."} 
[2026-08-21 16:58:40] local.INFO: Processing buffer {"connection_id":160367,"buffer_length":1483,"buffer_hex":"16030105c6010005c2030334d6a385930b088c1265ff7dd95a0e59e0f46daa12..."} 
[2026-08-21 16:58:40] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":160367,"buffer_length":1483,"first_bytes_hex":"16030105c6010005c2030334d6a38593"} 
[2026-08-21 16:58:40] local.INFO: TCP Data received {"connection_id":159183,"ip":"147.185.133.18","data_length":207,"data_hex":"16030100ca010000c603031cccc32f91a9c3cee12253c199cc3d6733b3560aeb..."} 
[2026-08-21 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":207,"packet_hex":"16030100ca010000c603031cccc32f91a9c3cee12253c199cc3d6733b3560aeb..."} 
[2026-08-21 16:58:40] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":207,"buffer_hex":"16030100ca010000c603031cccc32f91a9c3cee12253c199cc3d6733b3560aeb..."} 
[2026-08-21 16:58:40] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":159183,"buffer_length":207,"first_bytes_hex":"16030100ca010000c603031cccc32f91"} 
[2026-08-21 16:58:40] local.INFO: TCP Data received {"connection_id":159183,"ip":"147.185.133.18","data_length":7,"data_hex":"1503010002020a..."} 
[2026-08-21 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159183,"packet_length":7,"packet_hex":"1503010002020a..."} 
[2026-08-21 16:58:40] local.INFO: Processing buffer {"connection_id":159183,"buffer_length":7,"buffer_hex":"1503010002020a..."} 
[2026-08-21 16:58:55] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:55] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:55] local.INFO: IMEI packet received {"connection_id":159184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":159184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:58:58] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:58] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:58:58] local.INFO: IMEI packet received {"connection_id":159184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:59:01] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:59:01] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:59:01] local.INFO: IMEI packet received {"connection_id":161737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 16:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":161737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:59:02] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:02] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:02] local.INFO: IMEI packet received {"connection_id":159184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":159184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:59:03] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241224e0012dcce0800529b6d8001501512c..."} 
[2026-08-21 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241224e0012dcce0800529b6d8001501512c..."} 
[2026-08-21 16:59:03] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241224e0012dcce0800529b6d8001501512c..."} 
[2026-08-21 16:59:03] local.INFO: Packet analysis {"connection_id":159184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:59:03] local.INFO: Extracted packet for processing {"connection_id":159184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":768401536,"raw_latitude":86619864,"longitude_deg":76.8401536,"latitude_deg":8.6619864,"altitude":21,"angle":337,"satellites":44,"speed":23,"hex_longitude":"2dcce080","hex_latitude":"0529b6d8","is_valid_coordinates":true} 
[2026-08-21 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551758592001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388352484797579264,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3681692673201481728,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311564000,"timestamp_ms":1787311564000,"timestamp_seconds":1787311564,"priority":1,"record_length":96,"hex_timestamp":"000001a0241224e0"} 
[2026-08-21 16:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 16:59:03] 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-08-21 16:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551758592001,"66":27995,"160":206,"80":36352,"24":23,"16":388352484797579264,"45":-3681692673201481728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 16:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551758592001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:59:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 16:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388352484797579264,"km_value":388352484797579.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3681692673201481728,"description":"Unknown IO ID 45"} 
[2026-08-21 16:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551758592001,"power":27995,"unknown_160":206,"unknown_80":36352,"ignition":23,"odometer":null,"unknown_45":-3681692673201481728}} 
[2026-08-21 16:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":159184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:59:03] local.INFO: GPS data processed {"connection_id":159184,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:59:03] local.INFO: Acknowledgment sent {"connection_id":159184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:59:06] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:59:06] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 16:59:06] local.INFO: IMEI packet received {"connection_id":161737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 16:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":161737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 16:59:07] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024133a38012d17c8c007213218003b00c029..."} 
[2026-08-21 16:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024133a38012d17c8c007213218003b00c029..."} 
[2026-08-21 16:59:07] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024133a38012d17c8c007213218003b00c029..."} 
[2026-08-21 16:59:07] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02413"} 
[2026-08-21 16:59:07] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02413"} 
[2026-08-21 16:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551773184001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311635000,"timestamp_ms":1787311635000,"timestamp_seconds":1787311635,"priority":1,"record_length":96,"hex_timestamp":"000001a024133a38"} 
[2026-08-21 16:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551773184001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551773184001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551773184001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:59:07] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:59:07] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:59:34] local.INFO: TCP Data received {"connection_id":159184,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024125f78012dccd1c00529d6280018015028..."} 
[2026-08-21 16:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024125f78012dccd1c00529d6280018015028..."} 
[2026-08-21 16:59:34] local.INFO: Processing buffer {"connection_id":159184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024125f78012dccd1c00529d6280018015028..."} 
[2026-08-21 16:59:34] local.INFO: Packet analysis {"connection_id":159184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:59:34] local.INFO: Extracted packet for processing {"connection_id":159184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":768397760,"raw_latitude":86627880,"longitude_deg":76.839776,"latitude_deg":8.662788,"altitude":24,"angle":336,"satellites":40,"speed":9,"hex_longitude":"2dccd1c0","hex_latitude":"0529d628","is_valid_coordinates":true} 
[2026-08-21 16:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551760384001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388352914294308864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3683803735526025216,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311579000,"timestamp_ms":1787311579000,"timestamp_seconds":1787311579,"priority":1,"record_length":96,"hex_timestamp":"000001a024125f78"} 
[2026-08-21 16:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 16:59:34] 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-08-21 16:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 16:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 16:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 16:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551760384001,"66":27908,"160":206,"80":36352,"24":9,"16":388352914294308864,"45":-3683803735526025216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 16:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 16:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 16:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551760384001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:59:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 16:59:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 16:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388352914294308864,"km_value":388352914294308.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3683803735526025216,"description":"Unknown IO ID 45"} 
[2026-08-21 16:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551760384001,"power":27908,"unknown_160":206,"unknown_80":36352,"ignition":9,"odometer":null,"unknown_45":-3683803735526025216}} 
[2026-08-21 16:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":159184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:59:34] local.INFO: GPS data processed {"connection_id":159184,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:59:34] local.INFO: Acknowledgment sent {"connection_id":159184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:59:38] local.INFO: TCP Data received {"connection_id":161737,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024138c40012d17c8c007213218003b00c029..."} 
[2026-08-21 16:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024138c40012d17c8c007213218003b00c029..."} 
[2026-08-21 16:59:38] local.INFO: Processing buffer {"connection_id":161737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024138c40012d17c8c007213218003b00c029..."} 
[2026-08-21 16:59:38] local.INFO: Packet analysis {"connection_id":161737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02413"} 
[2026-08-21 16:59:38] local.INFO: Extracted packet for processing {"connection_id":161737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02413"} 
[2026-08-21 16:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":41,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 16:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 16:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551778560001,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 16:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 16:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311656000,"timestamp_ms":1787311656000,"timestamp_seconds":1787311656,"priority":1,"record_length":96,"hex_timestamp":"000001a024138c40"} 
[2026-08-21 16:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 16:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 16:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 16:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 16:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 16:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 16:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 16:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 16:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 16:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 16:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 16:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551778560001,"66":12504,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 16:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 16:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 16:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551778560001,"description":"Unknown IO ID 0"} 
[2026-08-21 16:59:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 16:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 16:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 16:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 16:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551778560001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 16:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":161737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 16:59:38] local.INFO: GPS data processed {"connection_id":161737,"processed":1,"errors":0,"total":1} 
[2026-08-21 16:59:38] local.INFO: Acknowledgment sent {"connection_id":161737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 16:59:58] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:58] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:58] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 16:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 16:59:58] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:58] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 16:59:58] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 16:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:00:01] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:00:01] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:00:01] local.INFO: IMEI packet received {"connection_id":159477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":159477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:00:02] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:02] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:02] local.INFO: IMEI packet received {"connection_id":160368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":160368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:00:03] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02412b180012dcccc400529e118001a014a2b..."} 
[2026-08-21 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02412b180012dcccc400529e118001a014a2b..."} 
[2026-08-21 17:00:03] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02412b180012dcccc400529e118001a014a2b..."} 
[2026-08-21 17:00:03] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 17:00:03] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 17:00:03] local.INFO: GPS Element Parsed {"raw_longitude":768396352,"raw_latitude":86630680,"longitude_deg":76.8396352,"latitude_deg":8.663068,"altitude":26,"angle":330,"satellites":43,"speed":5,"hex_longitude":"2dcccc40","hex_latitude":"0529e118","is_valid_coordinates":true} 
[2026-08-21 17:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551764224001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388353068913131520,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3687955491430455296,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311600000,"timestamp_ms":1787311600000,"timestamp_seconds":1787311600,"priority":1,"record_length":96,"hex_timestamp":"000001a02412b180"} 
[2026-08-21 17:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:00:03] 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-08-21 17:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551764224001,"66":27876,"160":206,"80":36352,"24":5,"16":388353068913131520,"45":-3687955491430455296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 17:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551764224001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:00:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 17:00:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388353068913131520,"km_value":388353068913131.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3687955491430455296,"description":"Unknown IO ID 45"} 
[2026-08-21 17:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551764224001,"power":27876,"unknown_160":206,"unknown_80":36352,"ignition":5,"odometer":null,"unknown_45":-3687955491430455296}} 
[2026-08-21 17:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:00:03] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:00:03] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:00:06] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:00:06] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:00:06] local.INFO: IMEI packet received {"connection_id":159477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":159477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:00:07] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02413de48012d17c8c007213218003b00c028..."} 
[2026-08-21 17:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02413de48012d17c8c007213218003b00c028..."} 
[2026-08-21 17:00:07] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02413de48012d17c8c007213218003b00c028..."} 
[2026-08-21 17:00:07] local.INFO: Packet analysis {"connection_id":159477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02413"} 
[2026-08-21 17:00:07] local.INFO: Extracted packet for processing {"connection_id":159477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02413"} 
[2026-08-21 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756533440,"raw_latitude":119616024,"longitude_deg":75.653344,"latitude_deg":11.9616024,"altitude":59,"angle":192,"satellites":40,"speed":0,"hex_longitude":"2d17c8c0","hex_latitude":"07213218","is_valid_coordinates":true} 
[2026-08-21 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551783936001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14232477941891072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713830795068708864,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311677000,"timestamp_ms":1787311677000,"timestamp_seconds":1787311677,"priority":1,"record_length":96,"hex_timestamp":"000001a02413de48"} 
[2026-08-21 17:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 17:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551783936001,"66":12374,"107":206,"83":41984,"24":0,"16":14232477941891072,"45":1713830795068708864},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551783936001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14232477941891072,"km_value":14232477941891.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713830795068708864,"description":"Unknown IO ID 45"} 
[2026-08-21 17:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551783936001,"power":12374,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713830795068708864}} 
[2026-08-21 17:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":159477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:00:07] local.INFO: GPS data processed {"connection_id":159477,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:00:07] local.INFO: Acknowledgment sent {"connection_id":159477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:00:34] local.INFO: TCP Data received {"connection_id":160368,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02412e448012dccc9400529e810001901552a..."} 
[2026-08-21 17:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02412e448012dccc9400529e810001901552a..."} 
[2026-08-21 17:00:34] local.INFO: Processing buffer {"connection_id":160368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02412e448012dccc9400529e810001901552a..."} 
[2026-08-21 17:00:34] local.INFO: Packet analysis {"connection_id":160368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 17:00:34] local.INFO: Extracted packet for processing {"connection_id":160368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02412"} 
[2026-08-21 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":768395584,"raw_latitude":86632464,"longitude_deg":76.8395584,"latitude_deg":8.6632464,"altitude":25,"angle":341,"satellites":42,"speed":5,"hex_longitude":"2dccc940","hex_latitude":"0529e810","is_valid_coordinates":true} 
[2026-08-21 17:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551769600001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388353163402412032,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3689503603801647104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311613000,"timestamp_ms":1787311613000,"timestamp_seconds":1787311613,"priority":1,"record_length":96,"hex_timestamp":"000001a02412e448"} 
[2026-08-21 17:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 17:00: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-08-21 17:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551769600001,"66":27908,"160":206,"80":36352,"24":5,"16":388353163402412032,"45":-3689503603801647104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 17:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551769600001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:00:34] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 17:00:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388353163402412032,"km_value":388353163402412.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3689503603801647104,"description":"Unknown IO ID 45"} 
[2026-08-21 17:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551769600001,"power":27908,"unknown_160":206,"unknown_80":36352,"ignition":5,"odometer":null,"unknown_45":-3689503603801647104}} 
[2026-08-21 17:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":160368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:00:34] local.INFO: GPS data processed {"connection_id":160368,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:00:34] local.INFO: Acknowledgment sent {"connection_id":160368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:00:38] local.INFO: TCP Data received {"connection_id":159477,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024158040012d17ee00072175480049002529..."} 
[2026-08-21 17:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024158040012d17ee00072175480049002529..."} 
[2026-08-21 17:00:38] local.INFO: Processing buffer {"connection_id":159477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024158040012d17ee00072175480049002529..."} 
[2026-08-21 17:00:38] local.INFO: Packet analysis {"connection_id":159477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:00:38] local.INFO: Extracted packet for processing {"connection_id":159477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756542976,"raw_latitude":119633224,"longitude_deg":75.6542976,"latitude_deg":11.9633224,"altitude":73,"angle":37,"satellites":41,"speed":31,"hex_longitude":"2d17ee00","hex_latitude":"07217548","is_valid_coordinates":true} 
[2026-08-21 17:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551813376001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14233487259205632,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718826975907647488,"note":"Value kept but may cause issues"} 
[2026-08-21 17:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311784000,"timestamp_ms":1787311784000,"timestamp_seconds":1787311784,"priority":1,"record_length":96,"hex_timestamp":"000001a024158040"} 
[2026-08-21 17:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 17:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551813376001,"66":14341,"105":206,"83":41984,"24":31,"16":14233487259205632,"45":1718826975907647488},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551813376001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:00:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14233487259205632,"km_value":14233487259205.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718826975907647488,"description":"Unknown IO ID 45"} 
[2026-08-21 17:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551813376001,"power":14341,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1718826975907647488}} 
[2026-08-21 17:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":159477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:00:38] local.INFO: GPS data processed {"connection_id":159477,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:00:38] local.INFO: Acknowledgment sent {"connection_id":159477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:00:56] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:56] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:56] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:00:57] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:57] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:00:57] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:01:01] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:01:01] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:01:01] local.INFO: IMEI packet received {"connection_id":159478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":159478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:01:02] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:01:02] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:01:02] local.INFO: IMEI packet received {"connection_id":160369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":160369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:01:03] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02415af20012dcc6b80052a7a00001d014328..."} 
[2026-08-21 17:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02415af20012dcc6b80052a7a00001d014328..."} 
[2026-08-21 17:01:03] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02415af20012dcc6b80052a7a00001d014328..."} 
[2026-08-21 17:01:03] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:03] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":768371584,"raw_latitude":86669824,"longitude_deg":76.8371584,"latitude_deg":8.6669824,"altitude":29,"angle":323,"satellites":40,"speed":39,"hex_longitude":"2dcc6b80","hex_latitude":"052a7a00","is_valid_coordinates":true} 
[2026-08-21 17:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551817728001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388355336655863808,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3710684595791058944,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,160,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311796000,"timestamp_ms":1787311796000,"timestamp_seconds":1787311796,"priority":1,"record_length":96,"hex_timestamp":"000001a02415af20"} 
[2026-08-21 17:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:01:03] 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-08-21 17:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551817728001,"66":27832,"160":206,"80":36352,"24":39,"16":388355336655863808,"45":-3710684595791058944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,160,80,24,16,45]} 
[2026-08-21 17:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551817728001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:01:03] local.INFO: Unknown IO ID detected {"io_id":160,"value":206,"description":"Unknown IO ID 160"} 
[2026-08-21 17:01:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388355336655863808,"km_value":388355336655863.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3710684595791058944,"description":"Unknown IO ID 45"} 
[2026-08-21 17:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551817728001,"power":27832,"unknown_160":206,"unknown_80":36352,"ignition":39,"odometer":null,"unknown_45":-3710684595791058944}} 
[2026-08-21 17:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:01:03] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:01:03] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:01:06] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:01:06] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:01:06] local.INFO: IMEI packet received {"connection_id":159478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":159478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:01:07] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241597b0012d17fb0007218260004a00322a..."} 
[2026-08-21 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241597b0012d17fb0007218260004a00322a..."} 
[2026-08-21 17:01:07] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241597b0012d17fb0007218260004a00322a..."} 
[2026-08-21 17:01:07] local.INFO: Packet analysis {"connection_id":159478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:07] local.INFO: Extracted packet for processing {"connection_id":159478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756546304,"raw_latitude":119636576,"longitude_deg":75.6546304,"latitude_deg":11.9636576,"altitude":74,"angle":50,"satellites":42,"speed":31,"hex_longitude":"2d17fb00","hex_latitude":"07218260","is_valid_coordinates":true} 
[2026-08-21 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551816704001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14233714892472320,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724315737955584000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787311790000,"timestamp_ms":1787311790000,"timestamp_seconds":1787311790,"priority":1,"record_length":96,"hex_timestamp":"000001a0241597b0"} 
[2026-08-21 17:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981686507,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503816798339072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":243,"raw_value":2684431639,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2422734848,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":208,"raw_value":84750111456305457,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.WARNING: Large IO value detected {"io_id":88,"raw_value":16326872170235392,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:07] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,105,83,24,241,157,16,145,160,77,45,128,85,67,42,10,66,107,144,3,54,59,41,251,64,1,240,55,227,36,33,4,113,205,8,243,198,120,40,239,2,50,7,58,6,206,208,88],"length":529,"final_offset":659,"validated_count":48,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-21 17:01:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260245222794657792,"timestamp_seconds":5260245222794658.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551816704001,"66":14298,"105":206,"83":41984,"24":31,"16":14233714892472320,"45":1724315737955584000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551816704001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:01:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14233714892472320,"km_value":14233714892472.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724315737955584000,"description":"Unknown IO ID 45"} 
[2026-08-21 17:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551816704001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1724315737955584000}} 
[2026-08-21 17:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":159478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:01:07] local.INFO: GPS data processed {"connection_id":159478,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:01:07] local.INFO: Acknowledgment sent {"connection_id":159478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:01:34] local.INFO: TCP Data received {"connection_id":160369,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02415da18012dcc5700052a96100021014326..."} 
[2026-08-21 17:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02415da18012dcc5700052a96100021014326..."} 
[2026-08-21 17:01:34] local.INFO: Processing buffer {"connection_id":160369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02415da18012dcc5700052a96100021014326..."} 
[2026-08-21 17:01:34] local.INFO: Packet analysis {"connection_id":160369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:34] local.INFO: Extracted packet for processing {"connection_id":160369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":768366336,"raw_latitude":86677008,"longitude_deg":76.8366336,"latitude_deg":8.6677008,"altitude":33,"angle":323,"satellites":38,"speed":31,"hex_longitude":"2dcc5700","hex_latitude":"052a9610","is_valid_coordinates":true} 
[2026-08-21 17:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551819776001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388355766152593408,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3716736307788382208,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311807000,"timestamp_ms":1787311807000,"timestamp_seconds":1787311807,"priority":1,"record_length":96,"hex_timestamp":"000001a02415da18"} 
[2026-08-21 17:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 17:01:34] 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-08-21 17:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551819776001,"66":27876,"161":206,"80":36352,"24":31,"16":388355766152593408,"45":-3716736307788382208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 17:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551819776001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:01:34] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 17:01:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388355766152593408,"km_value":388355766152593.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3716736307788382208,"description":"Unknown IO ID 45"} 
[2026-08-21 17:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551819776001,"power":27876,"unknown_161":206,"unknown_80":36352,"ignition":31,"odometer":null,"unknown_45":-3716736307788382208}} 
[2026-08-21 17:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":160369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:01:34] local.INFO: GPS data processed {"connection_id":160369,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:01:34] local.INFO: Acknowledgment sent {"connection_id":160369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:01:38] local.INFO: TCP Data received {"connection_id":159478,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02415b6f0012d180d4007219328004900262b..."} 
[2026-08-21 17:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02415b6f0012d180d4007219328004900262b..."} 
[2026-08-21 17:01:38] local.INFO: Processing buffer {"connection_id":159478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02415b6f0012d180d4007219328004900262b..."} 
[2026-08-21 17:01:38] local.INFO: Packet analysis {"connection_id":159478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:38] local.INFO: Extracted packet for processing {"connection_id":159478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02415"} 
[2026-08-21 17:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756550976,"raw_latitude":119640872,"longitude_deg":75.6550976,"latitude_deg":11.9640872,"altitude":73,"angle":38,"satellites":43,"speed":32,"hex_longitude":"2d180d40","hex_latitude":"07219328","is_valid_coordinates":true} 
[2026-08-21 17:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551818240001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14234019835150336,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727974912653680640,"note":"Value kept but may cause issues"} 
[2026-08-21 17:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787311798000,"timestamp_ms":1787311798000,"timestamp_seconds":1787311798,"priority":1,"record_length":96,"hex_timestamp":"000001a02415b6f0"} 
[2026-08-21 17:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 17:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551818240001,"66":14298,"105":206,"83":41984,"24":32,"16":14234019835150336,"45":1727974912653680640},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551818240001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:01:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14234019835150336,"km_value":14234019835150.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727974912653680640,"description":"Unknown IO ID 45"} 
[2026-08-21 17:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551818240001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1727974912653680640}} 
[2026-08-21 17:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":159478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:01:38] local.INFO: GPS data processed {"connection_id":159478,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:01:38] local.INFO: Acknowledgment sent {"connection_id":159478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:01:57] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:01:57] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:01:57] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:02:01] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:01] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:01] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:02:01] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:01] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:01] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:02:02] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:02] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:02] local.INFO: IMEI packet received {"connection_id":161738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":161738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:02:03] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024160510012dcc41c0052ab3b8002601452b..."} 
[2026-08-21 17:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024160510012dcc41c0052ab3b8002601452b..."} 
[2026-08-21 17:02:03] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024160510012dcc41c0052ab3b8002601452b..."} 
[2026-08-21 17:02:03] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02416"} 
[2026-08-21 17:02:03] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02416"} 
[2026-08-21 17:02:03] local.INFO: GPS Element Parsed {"raw_longitude":768360896,"raw_latitude":86684600,"longitude_deg":76.8360896,"latitude_deg":8.66846,"altitude":38,"angle":325,"satellites":43,"speed":32,"hex_longitude":"2dcc41c0","hex_latitude":"052ab3b8","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551822592001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388356217124159488,"note":"Value kept but may cause issues"} 
[2026-08-21 17:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3722506544809111552,"note":"Value kept but may cause issues"} 
[2026-08-21 17:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787311818000,"timestamp_ms":1787311818000,"timestamp_seconds":1787311818,"priority":1,"record_length":96,"hex_timestamp":"000001a024160510"} 
[2026-08-21 17:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 17:02:03] 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-08-21 17: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-08-21 17:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551822592001,"66":27843,"161":206,"80":36352,"24":32,"16":388356217124159488,"45":-3722506544809111552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,80,24,16,45]} 
[2026-08-21 17:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551822592001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:02:03] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 17:02:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388356217124159488,"km_value":388356217124159.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3722506544809111552,"description":"Unknown IO ID 45"} 
[2026-08-21 17:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551822592001,"power":27843,"unknown_161":206,"unknown_80":36352,"ignition":32,"odometer":null,"unknown_45":-3722506544809111552}} 
[2026-08-21 17:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:02:03] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:02:03] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:02:04] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:04] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:04] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:02:04] local.INFO: TCP Data received {"connection_id":159185,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:04] local.INFO: Processing buffer {"connection_id":159185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:02:04] local.INFO: IMEI packet received {"connection_id":159185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":159185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:02:34] local.INFO: TCP Data received {"connection_id":161738,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024174948012dcb7d00052b97380022012c27..."} 
[2026-08-21 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024174948012dcb7d00052b97380022012c27..."} 
[2026-08-21 17:02:34] local.INFO: Processing buffer {"connection_id":161738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024174948012dcb7d00052b97380022012c27..."} 
[2026-08-21 17:02:34] local.INFO: Packet analysis {"connection_id":161738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:02:34] local.INFO: Extracted packet for processing {"connection_id":161738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":768310528,"raw_latitude":86742840,"longitude_deg":76.8310528,"latitude_deg":8.674284,"altitude":34,"angle":300,"satellites":39,"speed":24,"hex_longitude":"2dcb7d00","hex_latitude":"052b9738","is_valid_coordinates":true} 
[2026-08-21 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551846656001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388360151314202624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3783868089715181568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787311901000,"timestamp_ms":1787311901000,"timestamp_seconds":1787311901,"priority":1,"record_length":96,"hex_timestamp":"000001a024174948"} 
[2026-08-21 17:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 17:02: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-08-21 17:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551846656001,"66":27691,"230":206,"80":36352,"24":24,"16":388360151314202624,"45":-3783868089715181568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-08-21 17:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551846656001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:02:34] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-21 17:02:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388360151314202624,"km_value":388360151314202.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3783868089715181568,"description":"Unknown IO ID 45"} 
[2026-08-21 17:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551846656001,"power":27691,"unknown_230":206,"unknown_80":36352,"ignition":24,"odometer":null,"unknown_45":-3783868089715181568}} 
[2026-08-21 17:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":161738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:02:34] local.INFO: GPS data processed {"connection_id":161738,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:02:34] local.INFO: Acknowledgment sent {"connection_id":161738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:02:54] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:54] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:54] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:02:58] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:58] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:02:58] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:03:00] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:03:00] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:03:00] local.INFO: IMEI packet received {"connection_id":161739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":161739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:03:01] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024174d30012dcb7b40052b98900021013826..."} 
[2026-08-21 17:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024174d30012dcb7b40052b98900021013826..."} 
[2026-08-21 17:03:01] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024174d30012dcb7b40052b98900021013826..."} 
[2026-08-21 17:03:01] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:03:01] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:03:01] local.INFO: GPS Element Parsed {"raw_longitude":768310080,"raw_latitude":86743184,"longitude_deg":76.831008,"latitude_deg":8.6743184,"altitude":33,"angle":312,"satellites":38,"speed":21,"hex_longitude":"2dcb7b40","hex_latitude":"052b9890","is_valid_coordinates":true} 
[2026-08-21 17:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551846656001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388360177084006400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3783868089715181568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787311902000,"timestamp_ms":1787311902000,"timestamp_seconds":1787311902,"priority":1,"record_length":96,"hex_timestamp":"000001a024174d30"} 
[2026-08-21 17:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:03: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-08-21 17:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 17:03: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-08-21 17:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551846656001,"66":27767,"230":206,"80":36352,"24":21,"16":388360177084006400,"45":-3783868089715181568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-08-21 17:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551846656001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:03:01] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-21 17:03:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388360177084006400,"km_value":388360177084006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3783868089715181568,"description":"Unknown IO ID 45"} 
[2026-08-21 17:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551846656001,"power":27767,"unknown_230":206,"unknown_80":36352,"ignition":21,"odometer":null,"unknown_45":-3783868089715181568}} 
[2026-08-21 17:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:03:01] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:03:01] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:03:32] local.INFO: TCP Data received {"connection_id":161739,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241764a0012dcb7000052ba220001f012d29..."} 
[2026-08-21 17:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241764a0012dcb7000052ba220001f012d29..."} 
[2026-08-21 17:03:32] local.INFO: Processing buffer {"connection_id":161739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241764a0012dcb7000052ba220001f012d29..."} 
[2026-08-21 17:03:32] local.INFO: Packet analysis {"connection_id":161739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:03:32] local.INFO: Extracted packet for processing {"connection_id":161739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:03:32] local.INFO: GPS Element Parsed {"raw_longitude":768307200,"raw_latitude":86745632,"longitude_deg":76.83072,"latitude_deg":8.6745632,"altitude":31,"angle":301,"satellites":41,"speed":33,"hex_longitude":"2dcb7000","hex_latitude":"052ba220","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551846912001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388360361767600128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3784360670924337152,"note":"Value kept but may cause issues"} 
[2026-08-21 17:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787311908000,"timestamp_ms":1787311908000,"timestamp_seconds":1787311908,"priority":1,"record_length":96,"hex_timestamp":"000001a0241764a0"} 
[2026-08-21 17:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:03: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-08-21 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 17:03: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-08-21 17: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-08-21 17:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551846912001,"66":27865,"230":206,"80":36352,"24":33,"16":388360361767600128,"45":-3784360670924337152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-08-21 17:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551846912001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:03:32] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-21 17:03:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388360361767600128,"km_value":388360361767600.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3784360670924337152,"description":"Unknown IO ID 45"} 
[2026-08-21 17:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551846912001,"power":27865,"unknown_230":206,"unknown_80":36352,"ignition":33,"odometer":null,"unknown_45":-3784360670924337152}} 
[2026-08-21 17:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":161739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:03:32] local.INFO: GPS data processed {"connection_id":161739,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:03:32] local.INFO: Acknowledgment sent {"connection_id":161739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:03:57] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:03:57] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:03:57] local.INFO: IMEI packet received {"connection_id":159480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":159480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:04:00] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:04:00] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:04:00] local.INFO: IMEI packet received {"connection_id":159480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":159480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:04:01] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241787c8012dcb5100052bb2b0001b012d28..."} 
[2026-08-21 17:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241787c8012dcb5100052bb2b0001b012d28..."} 
[2026-08-21 17:04:01] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241787c8012dcb5100052bb2b0001b012d28..."} 
[2026-08-21 17:04:01] local.INFO: Packet analysis {"connection_id":159480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:04:01] local.INFO: Extracted packet for processing {"connection_id":159480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02417"} 
[2026-08-21 17:04:01] local.INFO: GPS Element Parsed {"raw_longitude":768299264,"raw_latitude":86749872,"longitude_deg":76.8299264,"latitude_deg":8.6749872,"altitude":27,"angle":301,"satellites":40,"speed":46,"hex_longitude":"2dcb5100","hex_latitude":"052bb2b0","is_valid_coordinates":true} 
[2026-08-21 17:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551848448001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388360795559297024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3787527264411705344,"note":"Value kept but may cause issues"} 
[2026-08-21 17:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787311917000,"timestamp_ms":1787311917000,"timestamp_seconds":1787311917,"priority":1,"record_length":96,"hex_timestamp":"000001a0241787c8"} 
[2026-08-21 17:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:04: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-08-21 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:04:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551848448001,"66":27908,"230":206,"80":36352,"24":46,"16":388360795559297024,"45":-3787527264411705344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-08-21 17:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551848448001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:04:01] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-21 17:04:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388360795559297024,"km_value":388360795559297.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3787527264411705344,"description":"Unknown IO ID 45"} 
[2026-08-21 17:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551848448001,"power":27908,"unknown_230":206,"unknown_80":36352,"ignition":46,"odometer":null,"unknown_45":-3787527264411705344}} 
[2026-08-21 17:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":159480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:04:01] local.INFO: GPS data processed {"connection_id":159480,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:04:01] local.INFO: Acknowledgment sent {"connection_id":159480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:04:32] local.INFO: TCP Data received {"connection_id":159480,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02418d3d0012dca8700052c8c90001f015b29..."} 
[2026-08-21 17:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02418d3d0012dca8700052c8c90001f015b29..."} 
[2026-08-21 17:04:32] local.INFO: Processing buffer {"connection_id":159480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02418d3d0012dca8700052c8c90001f015b29..."} 
[2026-08-21 17:04:32] local.INFO: Packet analysis {"connection_id":159480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02418"} 
[2026-08-21 17:04:32] local.INFO: Extracted packet for processing {"connection_id":159480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02418"} 
[2026-08-21 17:04:32] local.INFO: GPS Element Parsed {"raw_longitude":768247552,"raw_latitude":86805648,"longitude_deg":76.8247552,"latitude_deg":8.6805648,"altitude":31,"angle":347,"satellites":41,"speed":18,"hex_longitude":"2dca8700","hex_latitude":"052c8c90","is_valid_coordinates":true} 
[2026-08-21 17:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551867136001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388364557950648320,"note":"Value kept but may cause issues"} 
[2026-08-21 17:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3850788765413832704,"note":"Value kept but may cause issues"} 
[2026-08-21 17:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787312002000,"timestamp_ms":1787312002000,"timestamp_seconds":1787312002,"priority":1,"record_length":96,"hex_timestamp":"000001a02418d3d0"} 
[2026-08-21 17:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:04: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-08-21 17:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:04:32] 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-08-21 17:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551867136001,"66":27865,"230":206,"80":36352,"24":18,"16":388364557950648320,"45":-3850788765413832704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,80,24,16,45]} 
[2026-08-21 17:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551867136001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:04:32] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-08-21 17:04:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388364557950648320,"km_value":388364557950648.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3850788765413832704,"description":"Unknown IO ID 45"} 
[2026-08-21 17:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551867136001,"power":27865,"unknown_230":206,"unknown_80":36352,"ignition":18,"odometer":null,"unknown_45":-3850788765413832704}} 
[2026-08-21 17:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":159480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:04:32] local.INFO: GPS data processed {"connection_id":159480,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:04:32] local.INFO: Acknowledgment sent {"connection_id":159480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:04:57] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:04:57] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:04:57] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:05:02] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:05:02] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:05:02] local.INFO: IMEI packet received {"connection_id":160370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":160370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:05:03] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024190698012dca8040052cb0900021015f2a..."} 
[2026-08-21 17:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024190698012dca8040052cb0900021015f2a..."} 
[2026-08-21 17:05:03] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024190698012dca8040052cb0900021015f2a..."} 
[2026-08-21 17:05:03] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:05:03] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:05:03] local.INFO: GPS Element Parsed {"raw_longitude":768245824,"raw_latitude":86814864,"longitude_deg":76.8245824,"latitude_deg":8.6814864,"altitude":33,"angle":351,"satellites":42,"speed":36,"hex_longitude":"2dca8040","hex_latitude":"052cb090","is_valid_coordinates":true} 
[2026-08-21 17:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551872512001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388365013217181696,"note":"Value kept but may cause issues"} 
[2026-08-21 17:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3853110933969924096,"note":"Value kept but may cause issues"} 
[2026-08-21 17:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312015000,"timestamp_ms":1787312015000,"timestamp_seconds":1787312015,"priority":1,"record_length":96,"hex_timestamp":"000001a024190698"} 
[2026-08-21 17:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:05:03] 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-08-21 17:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551872512001,"66":27930,"229":206,"80":36352,"24":36,"16":388365013217181696,"45":-3853110933969924096},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 17:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551872512001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:05:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 17:05:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388365013217181696,"km_value":388365013217181.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3853110933969924096,"description":"Unknown IO ID 45"} 
[2026-08-21 17:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551872512001,"power":27930,"unknown_229":206,"unknown_80":36352,"ignition":36,"odometer":null,"unknown_45":-3853110933969924096}} 
[2026-08-21 17:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:05:03] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:05:03] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:05:34] local.INFO: TCP Data received {"connection_id":160370,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241929c0012dca7b40052cd3400022016228..."} 
[2026-08-21 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241929c0012dca7b40052cd3400022016228..."} 
[2026-08-21 17:05:34] local.INFO: Processing buffer {"connection_id":160370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241929c0012dca7b40052cd3400022016228..."} 
[2026-08-21 17:05:34] local.INFO: Packet analysis {"connection_id":160370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:05:34] local.INFO: Extracted packet for processing {"connection_id":160370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:05:34] local.INFO: GPS Element Parsed {"raw_longitude":768244544,"raw_latitude":86823744,"longitude_deg":76.8244544,"latitude_deg":8.6823744,"altitude":34,"angle":354,"satellites":40,"speed":41,"hex_longitude":"2dca7b40","hex_latitude":"052cd340","is_valid_coordinates":true} 
[2026-08-21 17:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551875840001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388365447008878592,"note":"Value kept but may cause issues"} 
[2026-08-21 17:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3855010890060361728,"note":"Value kept but may cause issues"} 
[2026-08-21 17:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312024000,"timestamp_ms":1787312024000,"timestamp_seconds":1787312024,"priority":1,"record_length":96,"hex_timestamp":"000001a0241929c0"} 
[2026-08-21 17:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:05:34] 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-08-21 17:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551875840001,"66":27974,"229":206,"80":36352,"24":41,"16":388365447008878592,"45":-3855010890060361728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 17:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551875840001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:05:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 17:05:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388365447008878592,"km_value":388365447008878.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3855010890060361728,"description":"Unknown IO ID 45"} 
[2026-08-21 17:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551875840001,"power":27974,"unknown_229":206,"unknown_80":36352,"ignition":41,"odometer":null,"unknown_45":-3855010890060361728}} 
[2026-08-21 17:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":160370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:05:34] local.INFO: GPS data processed {"connection_id":160370,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:05:34] local.INFO: Acknowledgment sent {"connection_id":160370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:05:57] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:05:57] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:05:57] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:06:02] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:06:02] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:06:02] local.INFO: IMEI packet received {"connection_id":161740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":161740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:06:03] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241954b8012dca7980052cf798002401672b..."} 
[2026-08-21 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241954b8012dca7980052cf798002401672b..."} 
[2026-08-21 17:06:03] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241954b8012dca7980052cf798002401672b..."} 
[2026-08-21 17:06:03] local.INFO: Packet analysis {"connection_id":161740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:06:03] local.INFO: Extracted packet for processing {"connection_id":161740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:06:03] local.INFO: GPS Element Parsed {"raw_longitude":768244096,"raw_latitude":86833048,"longitude_deg":76.8244096,"latitude_deg":8.6833048,"altitude":36,"angle":359,"satellites":43,"speed":26,"hex_longitude":"2dca7980","hex_latitude":"052cf798","is_valid_coordinates":true} 
[2026-08-21 17:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551878144001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388365902275411968,"note":"Value kept but may cause issues"} 
[2026-08-21 17:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3856418264941641728,"note":"Value kept but may cause issues"} 
[2026-08-21 17:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312035000,"timestamp_ms":1787312035000,"timestamp_seconds":1787312035,"priority":1,"record_length":96,"hex_timestamp":"000001a0241954b8"} 
[2026-08-21 17:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 17:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551878144001,"66":27908,"229":206,"80":36352,"24":26,"16":388365902275411968,"45":-3856418264941641728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 17:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551878144001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:06:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 17:06:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388365902275411968,"km_value":388365902275411.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3856418264941641728,"description":"Unknown IO ID 45"} 
[2026-08-21 17:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551878144001,"power":27908,"unknown_229":206,"unknown_80":36352,"ignition":26,"odometer":null,"unknown_45":-3856418264941641728}} 
[2026-08-21 17:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":161740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:06:03] local.INFO: GPS data processed {"connection_id":161740,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:06:03] local.INFO: Acknowledgment sent {"connection_id":161740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:06:33] local.INFO: TCP Data received {"connection_id":161740,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024198b68012dca7880052d1af80025016229..."} 
[2026-08-21 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024198b68012dca7880052d1af80025016229..."} 
[2026-08-21 17:06:33] local.INFO: Processing buffer {"connection_id":161740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024198b68012dca7880052d1af80025016229..."} 
[2026-08-21 17:06:33] local.INFO: Packet analysis {"connection_id":161740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:06:33] local.INFO: Extracted packet for processing {"connection_id":161740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":768243840,"raw_latitude":86842104,"longitude_deg":76.824384,"latitude_deg":8.6842104,"altitude":37,"angle":354,"satellites":41,"speed":10,"hex_longitude":"2dca7880","hex_latitude":"052d1af8","is_valid_coordinates":true} 
[2026-08-21 17:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551880960001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388366340362076160,"note":"Value kept but may cause issues"} 
[2026-08-21 17:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3856910846148503552,"note":"Value kept but may cause issues"} 
[2026-08-21 17:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787312049000,"timestamp_ms":1787312049000,"timestamp_seconds":1787312049,"priority":1,"record_length":96,"hex_timestamp":"000001a024198b68"} 
[2026-08-21 17:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551880960001,"66":27919,"229":206,"80":36352,"24":10,"16":388366340362076160,"45":-3856910846148503552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 17:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551880960001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:06:33] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 17:06:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388366340362076160,"km_value":388366340362076.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3856910846148503552,"description":"Unknown IO ID 45"} 
[2026-08-21 17:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551880960001,"power":27919,"unknown_229":206,"unknown_80":36352,"ignition":10,"odometer":null,"unknown_45":-3856910846148503552}} 
[2026-08-21 17:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":161740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:06:33] local.INFO: GPS data processed {"connection_id":161740,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:06:33] local.INFO: Acknowledgment sent {"connection_id":161740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:07:02] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:02] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:02] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:07:06] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:07:06] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:07:06] local.INFO: IMEI packet received {"connection_id":160373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":160373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:07:07] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241a9508012d182b400721c238004700d62b..."} 
[2026-08-21 17:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241a9508012d182b400721c238004700d62b..."} 
[2026-08-21 17:07:07] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241a9508012d182b400721c238004700d62b..."} 
[2026-08-21 17:07:07] local.INFO: Packet analysis {"connection_id":160373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:07:07] local.INFO: Extracted packet for processing {"connection_id":160373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:07:07] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119652920,"longitude_deg":75.6558656,"latitude_deg":11.965292,"altitude":71,"angle":214,"satellites":43,"speed":22,"hex_longitude":"2d182b40","hex_latitude":"0721c238","is_valid_coordinates":true} 
[2026-08-21 17:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551901184001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237159456243712,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742752348935493632,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312117000,"timestamp_ms":1787312117000,"timestamp_seconds":1787312117,"priority":1,"record_length":96,"hex_timestamp":"000001a0241a9508"} 
[2026-08-21 17:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 17:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551901184001,"66":12743,"105":206,"83":41984,"24":22,"16":14237159456243712,"45":1742752348935493632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551901184001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:07:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:07:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237159456243712,"km_value":14237159456243.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742752348935493632,"description":"Unknown IO ID 45"} 
[2026-08-21 17:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551901184001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1742752348935493632}} 
[2026-08-21 17:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":160373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:07:07] local.INFO: GPS data processed {"connection_id":160373,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:07:07] local.INFO: Acknowledgment sent {"connection_id":160373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:07:07] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:07] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:07] local.INFO: IMEI packet received {"connection_id":160372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":160372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:07:08] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02419dd70012dca7840052d2c78002501652b..."} 
[2026-08-21 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02419dd70012dca7840052d2c78002501652b..."} 
[2026-08-21 17:07:08] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02419dd70012dca7840052d2c78002501652b..."} 
[2026-08-21 17:07:08] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:07:08] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02419"} 
[2026-08-21 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":768243776,"raw_latitude":86846584,"longitude_deg":76.8243776,"latitude_deg":8.6846584,"altitude":37,"angle":357,"satellites":43,"speed":10,"hex_longitude":"2dca7840","hex_latitude":"052d2c78","is_valid_coordinates":true} 
[2026-08-21 17:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551884544001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388366559405408256,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3857192321122895872,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787312070000,"timestamp_ms":1787312070000,"timestamp_seconds":1787312070,"priority":1,"record_length":96,"hex_timestamp":"000001a02419dd70"} 
[2026-08-21 17:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551884544001,"66":27691,"229":206,"80":36352,"24":10,"16":388366559405408256,"45":-3857192321122895872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 17:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551884544001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388366559405408256,"km_value":388366559405408.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3857192321122895872,"description":"Unknown IO ID 45"} 
[2026-08-21 17:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551884544001,"power":27691,"unknown_229":206,"unknown_80":36352,"ignition":10,"odometer":null,"unknown_45":-3857192321122895872}} 
[2026-08-21 17:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:07:08] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:07:08] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:07:38] local.INFO: TCP Data received {"connection_id":160373,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241ae710012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241ae710012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:07:38] local.INFO: Processing buffer {"connection_id":160373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241ae710012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:07:38] local.INFO: Packet analysis {"connection_id":160373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:07:38] local.INFO: Extracted packet for processing {"connection_id":160373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649184,"longitude_deg":75.6556096,"latitude_deg":11.9649184,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-21 17:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551901952001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237382794543104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080284153856,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312138000,"timestamp_ms":1787312138000,"timestamp_seconds":1787312138,"priority":1,"record_length":96,"hex_timestamp":"000001a0241ae710"} 
[2026-08-21 17:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 17:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551901952001,"66":12722,"105":206,"83":41984,"24":0,"16":14237382794543104,"45":1741556080284153856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551901952001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:07:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237382794543104,"km_value":14237382794543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080284153856,"description":"Unknown IO ID 45"} 
[2026-08-21 17:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551901952001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080284153856}} 
[2026-08-21 17:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":160373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:07:38] local.INFO: GPS data processed {"connection_id":160373,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:07:38] local.INFO: Acknowledgment sent {"connection_id":160373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:07:45] local.INFO: TCP Data received {"connection_id":160372,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241a2f78012dca7840052d3f08002301672c..."} 
[2026-08-21 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241a2f78012dca7840052d3f08002301672c..."} 
[2026-08-21 17:07:45] local.INFO: Processing buffer {"connection_id":160372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241a2f78012dca7840052d3f08002301672c..."} 
[2026-08-21 17:07:45] local.INFO: Packet analysis {"connection_id":160372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:07:45] local.INFO: Extracted packet for processing {"connection_id":160372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":768243776,"raw_latitude":86851336,"longitude_deg":76.8243776,"latitude_deg":8.6851336,"altitude":35,"angle":359,"satellites":44,"speed":11,"hex_longitude":"2dca7840","hex_latitude":"052d3f08","is_valid_coordinates":true} 
[2026-08-21 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551889920001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388366795628609536,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3857262689865926656,"note":"Value kept but may cause issues"} 
[2026-08-21 17:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787312091000,"timestamp_ms":1787312091000,"timestamp_seconds":1787312091,"priority":1,"record_length":96,"hex_timestamp":"000001a0241a2f78"} 
[2026-08-21 17:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 17:07:45] 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-08-21 17: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-08-21 17:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551889920001,"66":27876,"229":206,"80":36352,"24":11,"16":388366795628609536,"45":-3857262689865926656},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 17:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551889920001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:07:45] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 17:07:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388366795628609536,"km_value":388366795628609.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3857262689865926656,"description":"Unknown IO ID 45"} 
[2026-08-21 17:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551889920001,"power":27876,"unknown_229":206,"unknown_80":36352,"ignition":11,"odometer":null,"unknown_45":-3857262689865926656}} 
[2026-08-21 17:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":160372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:07:45] local.INFO: GPS data processed {"connection_id":160372,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:07:45] local.INFO: Acknowledgment sent {"connection_id":160372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:07:57] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:57] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:07:57] local.INFO: IMEI packet received {"connection_id":159186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":159186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:08:01] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:01] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:01] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:08:01] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:01] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:01] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:08:02] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:08:02] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:08:02] local.INFO: IMEI packet received {"connection_id":159186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":159186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:08:03] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241a8180012dca7880052d50a8002500042b..."} 
[2026-08-21 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241a8180012dca7880052d50a8002500042b..."} 
[2026-08-21 17:08:03] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241a8180012dca7880052d50a8002500042b..."} 
[2026-08-21 17:08:03] local.INFO: Packet analysis {"connection_id":159186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:08:03] local.INFO: Extracted packet for processing {"connection_id":159186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241a"} 
[2026-08-21 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":768243840,"raw_latitude":86855848,"longitude_deg":76.824384,"latitude_deg":8.6855848,"altitude":37,"angle":4,"satellites":43,"speed":0,"hex_longitude":"2dca7880","hex_latitude":"052d50a8","is_valid_coordinates":true} 
[2026-08-21 17:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551895296001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388367018966908928,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3857262689864710144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312112000,"timestamp_ms":1787312112000,"timestamp_seconds":1787312112,"priority":1,"record_length":96,"hex_timestamp":"000001a0241a8180"} 
[2026-08-21 17:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":228,"data_length":795,"current_offset":136} 
[2026-08-21 17:08:03] 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-08-21 17:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551895296001,"66":28104,"229":206,"80":36352,"24":0,"16":388367018966908928,"45":-3857262689864710144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,80,24,16,45]} 
[2026-08-21 17:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551895296001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:08:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-08-21 17:08:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388367018966908928,"km_value":388367018966908.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3857262689864710144,"description":"Unknown IO ID 45"} 
[2026-08-21 17:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551895296001,"power":28104,"unknown_229":206,"unknown_80":36352,"ignition":0,"odometer":null,"unknown_45":-3857262689864710144}} 
[2026-08-21 17:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":159186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:08:03] local.INFO: GPS data processed {"connection_id":159186,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:08:03] local.INFO: Acknowledgment sent {"connection_id":159186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:08:06] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:06] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:08:06] local.INFO: IMEI packet received {"connection_id":161742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":161742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:08:07] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241b3918012d1821400721b3a0004800d32a..."} 
[2026-08-21 17:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241b3918012d1821400721b3a0004800d32a..."} 
[2026-08-21 17:08:07] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241b3918012d1821400721b3a0004800d32a..."} 
[2026-08-21 17:08:07] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241b"} 
[2026-08-21 17:08:07] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241b"} 
[2026-08-21 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649184,"longitude_deg":75.6556096,"latitude_deg":11.9649184,"altitude":72,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-21 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551907328001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237382794543104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516090880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312159000,"timestamp_ms":1787312159000,"timestamp_seconds":1787312159,"priority":1,"record_length":96,"hex_timestamp":"000001a0241b3918"} 
[2026-08-21 17:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551907328001,"66":12722,"105":206,"83":41984,"24":0,"16":14237382794543104,"45":1738741330516090880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551907328001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237382794543104,"km_value":14237382794543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516090880,"description":"Unknown IO ID 45"} 
[2026-08-21 17:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551907328001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516090880}} 
[2026-08-21 17:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:08:07] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:08:07] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:08:34] local.INFO: TCP Data received {"connection_id":159186,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241ce2e0012dca1040052e4d70001b014526..."} 
[2026-08-21 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241ce2e0012dca1040052e4d70001b014526..."} 
[2026-08-21 17:08:34] local.INFO: Processing buffer {"connection_id":159186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241ce2e0012dca1040052e4d70001b014526..."} 
[2026-08-21 17:08:34] local.INFO: Packet analysis {"connection_id":159186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:08:34] local.INFO: Extracted packet for processing {"connection_id":159186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:08:34] local.INFO: GPS Element Parsed {"raw_longitude":768217152,"raw_latitude":86920560,"longitude_deg":76.8217152,"latitude_deg":8.692056,"altitude":27,"angle":325,"satellites":38,"speed":48,"hex_longitude":"2dca1040","hex_latitude":"052e4d70","is_valid_coordinates":true} 
[2026-08-21 17:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551938560001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388370527955189760,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3882243594032338944,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312268000,"timestamp_ms":1787312268000,"timestamp_seconds":1787312268,"priority":1,"record_length":96,"hex_timestamp":"000001a0241ce2e0"} 
[2026-08-21 17:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:08:34] 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-08-21 17:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551938560001,"66":27974,"32":206,"80":36352,"24":48,"16":388370527955189760,"45":-3882243594032338944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551938560001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:08:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:08:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388370527955189760,"km_value":388370527955189.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3882243594032338944,"description":"Unknown IO ID 45"} 
[2026-08-21 17:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551938560001,"power":27974,"unknown_32":206,"unknown_80":36352,"ignition":48,"odometer":null,"unknown_45":-3882243594032338944}} 
[2026-08-21 17:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":159186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:08:34] local.INFO: GPS data processed {"connection_id":159186,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:08:34] local.INFO: Acknowledgment sent {"connection_id":159186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:08:38] local.INFO: TCP Data received {"connection_id":161742,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241b8b20012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241b8b20012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:08:38] local.INFO: Processing buffer {"connection_id":161742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241b8b20012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:08:38] local.INFO: Packet analysis {"connection_id":161742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241b"} 
[2026-08-21 17:08:38] local.INFO: Extracted packet for processing {"connection_id":161742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241b"} 
[2026-08-21 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649184,"longitude_deg":75.6556096,"latitude_deg":11.9649184,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-21 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551912704001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237382794543104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516090880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312180000,"timestamp_ms":1787312180000,"timestamp_seconds":1787312180,"priority":1,"record_length":96,"hex_timestamp":"000001a0241b8b20"} 
[2026-08-21 17:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551912704001,"66":12722,"105":206,"83":41984,"24":0,"16":14237382794543104,"45":1738741330516090880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551912704001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:08:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237382794543104,"km_value":14237382794543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516090880,"description":"Unknown IO ID 45"} 
[2026-08-21 17:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551912704001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516090880}} 
[2026-08-21 17:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":161742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:08:38] local.INFO: GPS data processed {"connection_id":161742,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:08:38] local.INFO: Acknowledgment sent {"connection_id":161742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:08:57] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:08:57] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:08:57] local.INFO: IMEI packet received {"connection_id":160374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:09:02] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:09:02] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:09:02] local.INFO: IMEI packet received {"connection_id":160374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":160374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:09:03] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241ce2e0012dca1040052e4d70001b014526..."} 
[2026-08-21 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241ce2e0012dca1040052e4d70001b014526..."} 
[2026-08-21 17:09:03] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241ce2e0012dca1040052e4d70001b014526..."} 
[2026-08-21 17:09:03] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:09:03] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":768217152,"raw_latitude":86920560,"longitude_deg":76.8217152,"latitude_deg":8.692056,"altitude":27,"angle":325,"satellites":38,"speed":48,"hex_longitude":"2dca1040","hex_latitude":"052e4d70","is_valid_coordinates":true} 
[2026-08-21 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551940608001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388370527955189760,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3886536087424897024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312268000,"timestamp_ms":1787312268000,"timestamp_seconds":1787312268,"priority":1,"record_length":96,"hex_timestamp":"000001a0241ce2e0"} 
[2026-08-21 17:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 17:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551940608001,"66":27974,"32":206,"80":36352,"24":48,"16":388370527955189760,"45":-3886536087424897024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551940608001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:09:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:09:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388370527955189760,"km_value":388370527955189.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3886536087424897024,"description":"Unknown IO ID 45"} 
[2026-08-21 17:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551940608001,"power":27974,"unknown_32":206,"unknown_80":36352,"ignition":48,"odometer":null,"unknown_45":-3886536087424897024}} 
[2026-08-21 17:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:09:03] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:09:03] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:09:04] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:04] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:04] local.INFO: IMEI packet received {"connection_id":159482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":159482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:09:06] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:06] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:06] local.INFO: IMEI packet received {"connection_id":159482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":159482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:09:13] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:13] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:09:13] local.INFO: IMEI packet received {"connection_id":159482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":159482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:09:14] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241bdd28012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241bdd28012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:09:14] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241bdd28012d1821400721b3a0004800d32b..."} 
[2026-08-21 17:09:14] local.INFO: Packet analysis {"connection_id":159482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241b"} 
[2026-08-21 17:09:14] local.INFO: Extracted packet for processing {"connection_id":159482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241b"} 
[2026-08-21 17:09:14] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649184,"longitude_deg":75.6556096,"latitude_deg":11.9649184,"altitude":72,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-21 17:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551918080001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237382794543104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516090880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09: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-08-21 17:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787312201000,"timestamp_ms":1787312201000,"timestamp_seconds":1787312201,"priority":1,"record_length":96,"hex_timestamp":"000001a0241bdd28"} 
[2026-08-21 17:09:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:09:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:09:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:09:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:09:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551918080001,"66":12722,"105":206,"83":41984,"24":0,"16":14237382794543104,"45":1738741330516090880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551918080001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:09:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:09:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237382794543104,"km_value":14237382794543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516090880,"description":"Unknown IO ID 45"} 
[2026-08-21 17:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551918080001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516090880}} 
[2026-08-21 17:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":159482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:09:14] local.INFO: GPS data processed {"connection_id":159482,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:09:14] local.INFO: Acknowledgment sent {"connection_id":159482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:09:16] local.INFO: TCP Data received {"connection_id":159482,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241c2f30012d1821400721b3a0004800d329..."} 
[2026-08-21 17:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241c2f30012d1821400721b3a0004800d329..."} 
[2026-08-21 17:09:16] local.INFO: Processing buffer {"connection_id":159482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241c2f30012d1821400721b3a0004800d329..."} 
[2026-08-21 17:09:16] local.INFO: Packet analysis {"connection_id":159482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:09:16] local.INFO: Extracted packet for processing {"connection_id":159482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649184,"longitude_deg":75.6556096,"latitude_deg":11.9649184,"altitude":72,"angle":211,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551923456001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237382794543104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516090880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09: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-08-21 17:09:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787312222000,"timestamp_ms":1787312222000,"timestamp_seconds":1787312222,"priority":1,"record_length":96,"hex_timestamp":"000001a0241c2f30"} 
[2026-08-21 17:09:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:09:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:09:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:09:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:09:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:09:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:09:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:09:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:09:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:09:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:09:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:09:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:09:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551923456001,"66":12689,"105":206,"83":41984,"24":0,"16":14237382794543104,"45":1738741330516090880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:09:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:09:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:09:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551923456001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:09:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:09:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:09:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237382794543104,"km_value":14237382794543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:09:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516090880,"description":"Unknown IO ID 45"} 
[2026-08-21 17:09:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551923456001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516090880}} 
[2026-08-21 17:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":159482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:09:17] local.INFO: GPS data processed {"connection_id":159482,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:09:17] local.INFO: Acknowledgment sent {"connection_id":159482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:09:34] local.INFO: TCP Data received {"connection_id":160374,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241cfa50012dca01c0052e5ec0001a013a2a..."} 
[2026-08-21 17:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241cfa50012dca01c0052e5ec0001a013a2a..."} 
[2026-08-21 17:09:34] local.INFO: Processing buffer {"connection_id":160374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241cfa50012dca01c0052e5ec0001a013a2a..."} 
[2026-08-21 17:09:34] local.INFO: Packet analysis {"connection_id":160374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:09:34] local.INFO: Extracted packet for processing {"connection_id":160374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":768213440,"raw_latitude":86924992,"longitude_deg":76.821344,"latitude_deg":8.6924992,"altitude":26,"angle":314,"satellites":42,"speed":29,"hex_longitude":"2dca01c0","hex_latitude":"052e5ec0","is_valid_coordinates":true} 
[2026-08-21 17:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551940608001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388370807128064000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3886536087424897024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312274000,"timestamp_ms":1787312274000,"timestamp_seconds":1787312274,"priority":1,"record_length":96,"hex_timestamp":"000001a0241cfa50"} 
[2026-08-21 17:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 17:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551940608001,"66":28028,"32":206,"80":36352,"24":29,"16":388370807128064000,"45":-3886536087424897024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551940608001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:09:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:09:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388370807128064000,"km_value":388370807128064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3886536087424897024,"description":"Unknown IO ID 45"} 
[2026-08-21 17:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551940608001,"power":28028,"unknown_32":206,"unknown_80":36352,"ignition":29,"odometer":null,"unknown_45":-3886536087424897024}} 
[2026-08-21 17:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":160374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:09:34] local.INFO: GPS data processed {"connection_id":160374,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:09:34] local.INFO: Acknowledgment sent {"connection_id":160374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:09:57] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:09:57] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:09:57] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:10:01] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:10:01] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:10:01] local.INFO: IMEI packet received {"connection_id":159187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":159187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:10:02] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:02] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:02] local.INFO: IMEI packet received {"connection_id":160375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":160375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:10:04] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241d4c58012dc9ef00052e6ed0001801332a..."} 
[2026-08-21 17:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241d4c58012dc9ef00052e6ed0001801332a..."} 
[2026-08-21 17:10:04] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241d4c58012dc9ef00052e6ed0001801332a..."} 
[2026-08-21 17:10:04] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:10:04] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:10:04] local.INFO: GPS Element Parsed {"raw_longitude":768208640,"raw_latitude":86929104,"longitude_deg":76.820864,"latitude_deg":8.6929104,"altitude":24,"angle":307,"satellites":42,"speed":7,"hex_longitude":"2dc9ef00","hex_latitude":"052e6ed0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551942144001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388371112070742016,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3890617474586066944,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787312295000,"timestamp_ms":1787312295000,"timestamp_seconds":1787312295,"priority":1,"record_length":96,"hex_timestamp":"000001a0241d4c58"} 
[2026-08-21 17:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:10: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-08-21 17: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 17:10: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-08-21 17: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-08-21 17:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551942144001,"66":27843,"32":206,"80":36352,"24":7,"16":388371112070742016,"45":-3890617474586066944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551942144001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:10:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:10:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388371112070742016,"km_value":388371112070742.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3890617474586066944,"description":"Unknown IO ID 45"} 
[2026-08-21 17:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551942144001,"power":27843,"unknown_32":206,"unknown_80":36352,"ignition":7,"odometer":null,"unknown_45":-3890617474586066944}} 
[2026-08-21 17:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:10:04] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:10:04] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:10:06] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:10:06] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:10:06] local.INFO: IMEI packet received {"connection_id":159187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":159187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:10:07] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241c8138012d1821400721b3a0004800d32c..."} 
[2026-08-21 17:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241c8138012d1821400721b3a0004800d32c..."} 
[2026-08-21 17:10:07] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241c8138012d1821400721b3a0004800d32c..."} 
[2026-08-21 17:10:07] local.INFO: Packet analysis {"connection_id":159187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:10:07] local.INFO: Extracted packet for processing {"connection_id":159187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649184,"longitude_deg":75.6556096,"latitude_deg":11.9649184,"altitude":72,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-08-21 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551928832001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237382794543104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516090880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312243000,"timestamp_ms":1787312243000,"timestamp_seconds":1787312243,"priority":1,"record_length":96,"hex_timestamp":"000001a0241c8138"} 
[2026-08-21 17:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 17:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551928832001,"66":12613,"105":206,"83":41984,"24":0,"16":14237382794543104,"45":1738741330516090880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551928832001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:10:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237382794543104,"km_value":14237382794543.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516090880,"description":"Unknown IO ID 45"} 
[2026-08-21 17:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551928832001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516090880}} 
[2026-08-21 17:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":159187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:10:07] local.INFO: GPS data processed {"connection_id":159187,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:10:07] local.INFO: Acknowledgment sent {"connection_id":159187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:10:35] local.INFO: TCP Data received {"connection_id":160375,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241d9e60012dc9e200052e7898001a01332b..."} 
[2026-08-21 17:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241d9e60012dc9e200052e7898001a01332b..."} 
[2026-08-21 17:10:35] local.INFO: Processing buffer {"connection_id":160375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241d9e60012dc9e200052e7898001a01332b..."} 
[2026-08-21 17:10:35] local.INFO: Packet analysis {"connection_id":160375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:10:35] local.INFO: Extracted packet for processing {"connection_id":160375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:10:35] local.INFO: GPS Element Parsed {"raw_longitude":768205312,"raw_latitude":86931608,"longitude_deg":76.8205312,"latitude_deg":8.6931608,"altitude":26,"angle":307,"satellites":43,"speed":8,"hex_longitude":"2dc9e200","hex_latitude":"052e7898","is_valid_coordinates":true} 
[2026-08-21 17:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551947520001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388371313934204928,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3895895130398339072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787312316000,"timestamp_ms":1787312316000,"timestamp_seconds":1787312316,"priority":1,"record_length":96,"hex_timestamp":"000001a0241d9e60"} 
[2026-08-21 17:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:10: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-08-21 17:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551947520001,"66":27919,"32":206,"80":36352,"24":8,"16":388371313934204928,"45":-3895895130398339072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551947520001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:10:35] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:10:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388371313934204928,"km_value":388371313934204.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3895895130398339072,"description":"Unknown IO ID 45"} 
[2026-08-21 17:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551947520001,"power":27919,"unknown_32":206,"unknown_80":36352,"ignition":8,"odometer":null,"unknown_45":-3895895130398339072}} 
[2026-08-21 17:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":160375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:10:35] local.INFO: GPS data processed {"connection_id":160375,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:10:35] local.INFO: Acknowledgment sent {"connection_id":160375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:10:38] local.INFO: TCP Data received {"connection_id":159187,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241cd340012d181fc00721b178004900d32a..."} 
[2026-08-21 17:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241cd340012d181fc00721b178004900d32a..."} 
[2026-08-21 17:10:38] local.INFO: Processing buffer {"connection_id":159187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241cd340012d181fc00721b178004900d32a..."} 
[2026-08-21 17:10:38] local.INFO: Packet analysis {"connection_id":159187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:10:38] local.INFO: Extracted packet for processing {"connection_id":159187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241c"} 
[2026-08-21 17:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648632,"longitude_deg":75.6555712,"latitude_deg":11.9648632,"altitude":73,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b178","is_valid_coordinates":true} 
[2026-08-21 17:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551934208001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237417154281472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516090880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312264000,"timestamp_ms":1787312264000,"timestamp_seconds":1787312264,"priority":1,"record_length":96,"hex_timestamp":"000001a0241cd340"} 
[2026-08-21 17:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 17:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551934208001,"66":12689,"105":206,"83":41984,"24":0,"16":14237417154281472,"45":1738741330516090880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551934208001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:10:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237417154281472,"km_value":14237417154281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516090880,"description":"Unknown IO ID 45"} 
[2026-08-21 17:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551934208001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516090880}} 
[2026-08-21 17:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":159187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:10:38] local.INFO: GPS data processed {"connection_id":159187,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:10:38] local.INFO: Acknowledgment sent {"connection_id":159187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:10:57] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:57] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:57] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:10:57] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:58] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:10:58] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:11:01] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:11:01] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:11:01] local.INFO: IMEI packet received {"connection_id":160376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":160376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:11:02] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:11:02] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:11:02] local.INFO: IMEI packet received {"connection_id":161743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":161743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:11:03] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241de898012dc9cac0052e8a40001c013f2a..."} 
[2026-08-21 17:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241de898012dc9cac0052e8a40001c013f2a..."} 
[2026-08-21 17:11:03] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241de898012dc9cac0052e8a40001c013f2a..."} 
[2026-08-21 17:11:03] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:11:03] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":768199360,"raw_latitude":86936128,"longitude_deg":76.819936,"latitude_deg":8.6936128,"altitude":28,"angle":319,"satellites":42,"speed":20,"hex_longitude":"2dc9cac0","hex_latitude":"052e8a40","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551952896001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388371674711457792,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3899554305094936576,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312335000,"timestamp_ms":1787312335000,"timestamp_seconds":1787312335,"priority":1,"record_length":96,"hex_timestamp":"000001a0241de898"} 
[2026-08-21 17:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551952896001,"66":27919,"32":206,"80":36352,"24":20,"16":388371674711457792,"45":-3899554305094936576},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551952896001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:11:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388371674711457792,"km_value":388371674711457.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3899554305094936576,"description":"Unknown IO ID 45"} 
[2026-08-21 17:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551952896001,"power":27919,"unknown_32":206,"unknown_80":36352,"ignition":20,"odometer":null,"unknown_45":-3899554305094936576}} 
[2026-08-21 17:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:11:03] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:11:03] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:11:06] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:11:06] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:11:06] local.INFO: IMEI packet received {"connection_id":160376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":160376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:11:07] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241d2548012d181fc00721b178004900d32c..."} 
[2026-08-21 17:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241d2548012d181fc00721b178004900d32c..."} 
[2026-08-21 17:11:07] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241d2548012d181fc00721b178004900d32c..."} 
[2026-08-21 17:11:07] local.INFO: Packet analysis {"connection_id":160376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:11:07] local.INFO: Extracted packet for processing {"connection_id":160376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648632,"longitude_deg":75.6555712,"latitude_deg":11.9648632,"altitude":73,"angle":211,"satellites":44,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b178","is_valid_coordinates":true} 
[2026-08-21 17:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551939584001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237417154281472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050883584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312285000,"timestamp_ms":1787312285000,"timestamp_seconds":1787312285,"priority":1,"record_length":96,"hex_timestamp":"000001a0241d2548"} 
[2026-08-21 17:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 17:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551939584001,"66":12645,"105":206,"83":41984,"24":0,"16":14237417154281472,"45":1738319118050883584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551939584001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:11:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237417154281472,"km_value":14237417154281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050883584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551939584001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050883584}} 
[2026-08-21 17:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":160376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:11:07] local.INFO: GPS data processed {"connection_id":160376,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:11:07] local.INFO: Acknowledgment sent {"connection_id":160376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:11:34] local.INFO: TCP Data received {"connection_id":161743,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241e3aa0012dc9bc00052e9e400019014629..."} 
[2026-08-21 17:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241e3aa0012dc9bc00052e9e400019014629..."} 
[2026-08-21 17:11:34] local.INFO: Processing buffer {"connection_id":161743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241e3aa0012dc9bc00052e9e400019014629..."} 
[2026-08-21 17:11:34] local.INFO: Packet analysis {"connection_id":161743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:11:34] local.INFO: Extracted packet for processing {"connection_id":161743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:11:34] local.INFO: GPS Element Parsed {"raw_longitude":768195584,"raw_latitude":86941248,"longitude_deg":76.8195584,"latitude_deg":8.6941248,"altitude":25,"angle":326,"satellites":41,"speed":13,"hex_longitude":"2dc9bc00","hex_latitude":"052e9e40","is_valid_coordinates":true} 
[2026-08-21 17:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551957760001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388371983949103104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3906098598302302208,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312356000,"timestamp_ms":1787312356000,"timestamp_seconds":1787312356,"priority":1,"record_length":96,"hex_timestamp":"000001a0241e3aa0"} 
[2026-08-21 17:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551957760001,"66":27919,"32":206,"80":36352,"24":13,"16":388371983949103104,"45":-3906098598302302208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551957760001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:11:34] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:11:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388371983949103104,"km_value":388371983949103.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3906098598302302208,"description":"Unknown IO ID 45"} 
[2026-08-21 17:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551957760001,"power":27919,"unknown_32":206,"unknown_80":36352,"ignition":13,"odometer":null,"unknown_45":-3906098598302302208}} 
[2026-08-21 17:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":161743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:11:34] local.INFO: GPS data processed {"connection_id":161743,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:11:34] local.INFO: Acknowledgment sent {"connection_id":161743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:11:38] local.INFO: TCP Data received {"connection_id":160376,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241d7750012d181fc00721b178004900d32a..."} 
[2026-08-21 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241d7750012d181fc00721b178004900d32a..."} 
[2026-08-21 17:11:38] local.INFO: Processing buffer {"connection_id":160376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241d7750012d181fc00721b178004900d32a..."} 
[2026-08-21 17:11:38] local.INFO: Packet analysis {"connection_id":160376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:11:38] local.INFO: Extracted packet for processing {"connection_id":160376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648632,"longitude_deg":75.6555712,"latitude_deg":11.9648632,"altitude":73,"angle":211,"satellites":42,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b178","is_valid_coordinates":true} 
[2026-08-21 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551944960001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237417154281472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050883584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312306000,"timestamp_ms":1787312306000,"timestamp_seconds":1787312306,"priority":1,"record_length":96,"hex_timestamp":"000001a0241d7750"} 
[2026-08-21 17:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 17:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551944960001,"66":12667,"105":206,"83":41984,"24":0,"16":14237417154281472,"45":1738319118050883584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551944960001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:11:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237417154281472,"km_value":14237417154281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050883584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551944960001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050883584}} 
[2026-08-21 17:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":160376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:11:38] local.INFO: GPS data processed {"connection_id":160376,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:11:38] local.INFO: Acknowledgment sent {"connection_id":160376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:11:57] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:11:57] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:11:57] local.INFO: IMEI packet received {"connection_id":159188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":159188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:12:01] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:12:01] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:12:01] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:12:03] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:12:03] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:12:03] local.INFO: IMEI packet received {"connection_id":159188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":159188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:12:05] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241e8ca8012dc9b380052eab08001a014c2a..."} 
[2026-08-21 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241e8ca8012dc9b380052eab08001a014c2a..."} 
[2026-08-21 17:12:05] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241e8ca8012dc9b380052eab08001a014c2a..."} 
[2026-08-21 17:12:05] local.INFO: Packet analysis {"connection_id":159188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:12:05] local.INFO: Extracted packet for processing {"connection_id":159188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":768193408,"raw_latitude":86944520,"longitude_deg":76.8193408,"latitude_deg":8.694452,"altitude":26,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2dc9b380","hex_latitude":"052eab08","is_valid_coordinates":true} 
[2026-08-21 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551963136001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388372177222631424,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3910250354207473664,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787312377000,"timestamp_ms":1787312377000,"timestamp_seconds":1787312377,"priority":1,"record_length":96,"hex_timestamp":"000001a0241e8ca8"} 
[2026-08-21 17:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:12: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-08-21 17:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551963136001,"66":27821,"32":206,"80":36352,"24":0,"16":388372177222631424,"45":-3910250354207473664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551963136001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:12:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:12:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388372177222631424,"km_value":388372177222631.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3910250354207473664,"description":"Unknown IO ID 45"} 
[2026-08-21 17:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551963136001,"power":27821,"unknown_32":206,"unknown_80":36352,"ignition":0,"odometer":null,"unknown_45":-3910250354207473664}} 
[2026-08-21 17:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":159188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:12:05] local.INFO: GPS data processed {"connection_id":159188,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:12:05] local.INFO: Acknowledgment sent {"connection_id":159188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:12:06] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:12:06] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:12:06] local.INFO: IMEI packet received {"connection_id":161744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":161744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:12:07] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241dc958012d181fc00721b178004900d32b..."} 
[2026-08-21 17:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241dc958012d181fc00721b178004900d32b..."} 
[2026-08-21 17:12:07] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241dc958012d181fc00721b178004900d32b..."} 
[2026-08-21 17:12:07] local.INFO: Packet analysis {"connection_id":161744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:12:07] local.INFO: Extracted packet for processing {"connection_id":161744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241d"} 
[2026-08-21 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648632,"longitude_deg":75.6555712,"latitude_deg":11.9648632,"altitude":73,"angle":211,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b178","is_valid_coordinates":true} 
[2026-08-21 17:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551950336001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237417154281472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050883584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312327000,"timestamp_ms":1787312327000,"timestamp_seconds":1787312327,"priority":1,"record_length":96,"hex_timestamp":"000001a0241dc958"} 
[2026-08-21 17:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 17:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551950336001,"66":12667,"105":206,"83":41984,"24":0,"16":14237417154281472,"45":1738319118050883584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551950336001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:12:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237417154281472,"km_value":14237417154281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050883584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551950336001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050883584}} 
[2026-08-21 17:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":161744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:12:07] local.INFO: GPS data processed {"connection_id":161744,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:12:07] local.INFO: Acknowledgment sent {"connection_id":161744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:12:36] local.INFO: TCP Data received {"connection_id":159188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241edeb0012dc9b2c0052eac68001c014c29..."} 
[2026-08-21 17:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241edeb0012dc9b2c0052eac68001c014c29..."} 
[2026-08-21 17:12:36] local.INFO: Processing buffer {"connection_id":159188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241edeb0012dc9b2c0052eac68001c014c29..."} 
[2026-08-21 17:12:36] local.INFO: Packet analysis {"connection_id":159188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:12:36] local.INFO: Extracted packet for processing {"connection_id":159188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:12:36] local.INFO: GPS Element Parsed {"raw_longitude":768193216,"raw_latitude":86944872,"longitude_deg":76.8193216,"latitude_deg":8.6944872,"altitude":28,"angle":332,"satellites":41,"speed":0,"hex_longitude":"2dc9b2c0","hex_latitude":"052eac68","is_valid_coordinates":true} 
[2026-08-21 17:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551968512001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388372198697467904,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3912642891508676608,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787312398000,"timestamp_ms":1787312398000,"timestamp_seconds":1787312398,"priority":1,"record_length":96,"hex_timestamp":"000001a0241edeb0"} 
[2026-08-21 17:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:12: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-08-21 17:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 17:12:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:12:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551968512001,"66":27865,"32":206,"80":36352,"24":0,"16":388372198697467904,"45":-3912642891508676608},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551968512001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388372198697467904,"km_value":388372198697467.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3912642891508676608,"description":"Unknown IO ID 45"} 
[2026-08-21 17:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551968512001,"power":27865,"unknown_32":206,"unknown_80":36352,"ignition":0,"odometer":null,"unknown_45":-3912642891508676608}} 
[2026-08-21 17:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":159188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:12:36] local.INFO: GPS data processed {"connection_id":159188,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:12:36] local.INFO: Acknowledgment sent {"connection_id":159188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:12:38] local.INFO: TCP Data received {"connection_id":161744,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241e1b60012d181fc00721b178004900d328..."} 
[2026-08-21 17:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241e1b60012d181fc00721b178004900d328..."} 
[2026-08-21 17:12:38] local.INFO: Processing buffer {"connection_id":161744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241e1b60012d181fc00721b178004900d328..."} 
[2026-08-21 17:12:38] local.INFO: Packet analysis {"connection_id":161744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:12:38] local.INFO: Extracted packet for processing {"connection_id":161744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648632,"longitude_deg":75.6555712,"latitude_deg":11.9648632,"altitude":73,"angle":211,"satellites":40,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b178","is_valid_coordinates":true} 
[2026-08-21 17:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551955712001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237417154281472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050883584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312348000,"timestamp_ms":1787312348000,"timestamp_seconds":1787312348,"priority":1,"record_length":96,"hex_timestamp":"000001a0241e1b60"} 
[2026-08-21 17:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 17:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:12:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551955712001,"66":12613,"105":206,"83":41984,"24":0,"16":14237417154281472,"45":1738319118050883584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551955712001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:12:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237417154281472,"km_value":14237417154281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050883584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551955712001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050883584}} 
[2026-08-21 17:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":161744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:12:39] local.INFO: GPS data processed {"connection_id":161744,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:12:39] local.INFO: Acknowledgment sent {"connection_id":161744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:13:01] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:13:01] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:13:01] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:13:02] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:02] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:02] local.INFO: IMEI packet received {"connection_id":159483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":159483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:13:06] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:06] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:06] local.INFO: IMEI packet received {"connection_id":159483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":159483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:13:06] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:13:06] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:13:06] local.INFO: IMEI packet received {"connection_id":160377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":160377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:13:07] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241f30b8012dc9aec0052eb1e8001f01422a..."} 
[2026-08-21 17:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241f30b8012dc9aec0052eb1e8001f01422a..."} 
[2026-08-21 17:13:07] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241f30b8012dc9aec0052eb1e8001f01422a..."} 
[2026-08-21 17:13:07] local.INFO: Packet analysis {"connection_id":159483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241f"} 
[2026-08-21 17:13:07] local.INFO: Extracted packet for processing {"connection_id":159483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241f"} 
[2026-08-21 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":768192192,"raw_latitude":86946280,"longitude_deg":76.8192192,"latitude_deg":8.694628,"altitude":31,"angle":322,"satellites":42,"speed":13,"hex_longitude":"2dc9aec0","hex_latitude":"052eb1e8","is_valid_coordinates":true} 
[2026-08-21 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551973888001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388372280301846528,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3912853997741119488,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312419000,"timestamp_ms":1787312419000,"timestamp_seconds":1787312419,"priority":1,"record_length":96,"hex_timestamp":"000001a0241f30b8"} 
[2026-08-21 17:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:13: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-08-21 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:13:07] 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-08-21 17:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551973888001,"66":28050,"32":206,"80":36352,"24":13,"16":388372280301846528,"45":-3912853997741119488},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551973888001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388372280301846528,"km_value":388372280301846.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3912853997741119488,"description":"Unknown IO ID 45"} 
[2026-08-21 17:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551973888001,"power":28050,"unknown_32":206,"unknown_80":36352,"ignition":13,"odometer":null,"unknown_45":-3912853997741119488}} 
[2026-08-21 17:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":159483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:13:07] local.INFO: GPS data processed {"connection_id":159483,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:13:07] local.INFO: Acknowledgment sent {"connection_id":159483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:13:07] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0241e6d68012d181fc00721b178004900d327..."} 
[2026-08-21 17:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241e6d68012d181fc00721b178004900d327..."} 
[2026-08-21 17:13:07] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241e6d68012d181fc00721b178004900d327..."} 
[2026-08-21 17:13:07] local.INFO: Packet analysis {"connection_id":160377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:13:07] local.INFO: Extracted packet for processing {"connection_id":160377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241e"} 
[2026-08-21 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648632,"longitude_deg":75.6555712,"latitude_deg":11.9648632,"altitude":73,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b178","is_valid_coordinates":true} 
[2026-08-21 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551961088001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237417154281472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050883584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312369000,"timestamp_ms":1787312369000,"timestamp_seconds":1787312369,"priority":1,"record_length":96,"hex_timestamp":"000001a0241e6d68"} 
[2026-08-21 17:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 17:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551961088001,"66":12558,"105":206,"83":41984,"24":0,"16":14237417154281472,"45":1738319118050883584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551961088001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237417154281472,"km_value":14237417154281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050883584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551961088001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050883584}} 
[2026-08-21 17:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":160377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:13:07] local.INFO: GPS data processed {"connection_id":160377,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:13:07] local.INFO: Acknowledgment sent {"connection_id":160377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:13:08] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241f82c0012dc9a380052ec008001f014029..."} 
[2026-08-21 17:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241f82c0012dc9a380052ec008001f014029..."} 
[2026-08-21 17:13:08] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241f82c0012dc9a380052ec008001f014029..."} 
[2026-08-21 17:13:08] local.INFO: Packet analysis {"connection_id":159483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241f"} 
[2026-08-21 17:13:08] local.INFO: Extracted packet for processing {"connection_id":159483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241f"} 
[2026-08-21 17:13:08] local.INFO: GPS Element Parsed {"raw_longitude":768189312,"raw_latitude":86949896,"longitude_deg":76.8189312,"latitude_deg":8.6949896,"altitude":31,"angle":320,"satellites":41,"speed":8,"hex_longitude":"2dc9a380","hex_latitude":"052ec008","is_valid_coordinates":true} 
[2026-08-21 17:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551979264001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388372507935113216,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3913979897647601664,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787312440000,"timestamp_ms":1787312440000,"timestamp_seconds":1787312440,"priority":1,"record_length":96,"hex_timestamp":"000001a0241f82c0"} 
[2026-08-21 17:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 17:13: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-08-21 17:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551979264001,"66":27876,"32":206,"80":36352,"24":8,"16":388372507935113216,"45":-3913979897647601664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551979264001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:13:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:13:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388372507935113216,"km_value":388372507935113.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3913979897647601664,"description":"Unknown IO ID 45"} 
[2026-08-21 17:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551979264001,"power":27876,"unknown_32":206,"unknown_80":36352,"ignition":8,"odometer":null,"unknown_45":-3913979897647601664}} 
[2026-08-21 17:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":159483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:13:08] local.INFO: GPS data processed {"connection_id":159483,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:13:08] local.INFO: Acknowledgment sent {"connection_id":159483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:13:39] local.INFO: TCP Data received {"connection_id":160377,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242176c0012d1822400721a558004a007f2a..."} 
[2026-08-21 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242176c0012d1822400721a558004a007f2a..."} 
[2026-08-21 17:13:39] local.INFO: Processing buffer {"connection_id":160377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242176c0012d1822400721a558004a007f2a..."} 
[2026-08-21 17:13:39] local.INFO: Packet analysis {"connection_id":160377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:13:39] local.INFO: Extracted packet for processing {"connection_id":160377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119645528,"longitude_deg":75.6556352,"latitude_deg":11.9645528,"altitude":74,"angle":127,"satellites":42,"speed":7,"hex_longitude":"2d182240","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-08-21 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552015360001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237584658006016,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306079232,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787312568000,"timestamp_ms":1787312568000,"timestamp_seconds":1787312568,"priority":1,"record_length":96,"hex_timestamp":"000001a0242176c0"} 
[2026-08-21 17:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-08-21 17:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552015360001,"66":14070,"105":206,"83":41984,"24":7,"16":14237584658006016,"45":1738248749306079232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552015360001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237584658006016,"km_value":14237584658006.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306079232,"description":"Unknown IO ID 45"} 
[2026-08-21 17:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552015360001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738248749306079232}} 
[2026-08-21 17:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":160377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:13:39] local.INFO: GPS data processed {"connection_id":160377,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:13:39] local.INFO: Acknowledgment sent {"connection_id":160377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:13:39] local.INFO: TCP Data received {"connection_id":159483,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0241fd4c8012dc9a240052ec2680020014029..."} 
[2026-08-21 17:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0241fd4c8012dc9a240052ec2680020014029..."} 
[2026-08-21 17:13:39] local.INFO: Processing buffer {"connection_id":159483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0241fd4c8012dc9a240052ec2680020014029..."} 
[2026-08-21 17:13:39] local.INFO: Packet analysis {"connection_id":159483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0241f"} 
[2026-08-21 17:13:39] local.INFO: Extracted packet for processing {"connection_id":159483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0241f"} 
[2026-08-21 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":768188992,"raw_latitude":86950504,"longitude_deg":76.8188992,"latitude_deg":8.6950504,"altitude":32,"angle":320,"satellites":41,"speed":6,"hex_longitude":"2dc9a240","hex_latitude":"052ec268","is_valid_coordinates":true} 
[2026-08-21 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551984640001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388372542294851584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3917146491134670848,"note":"Value kept but may cause issues"} 
[2026-08-21 17:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787312461000,"timestamp_ms":1787312461000,"timestamp_seconds":1787312461,"priority":1,"record_length":96,"hex_timestamp":"000001a0241fd4c8"} 
[2026-08-21 17:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 17:13:39] 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-08-21 17:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551984640001,"66":27908,"32":206,"80":36352,"24":6,"16":388372542294851584,"45":-3917146491134670848},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551984640001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388372542294851584,"km_value":388372542294851.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3917146491134670848,"description":"Unknown IO ID 45"} 
[2026-08-21 17:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551984640001,"power":27908,"unknown_32":206,"unknown_80":36352,"ignition":6,"odometer":null,"unknown_45":-3917146491134670848}} 
[2026-08-21 17:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":159483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:13:39] local.INFO: GPS data processed {"connection_id":159483,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:13:39] local.INFO: Acknowledgment sent {"connection_id":159483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:13:57] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:57] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:13:57] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:14:01] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:14:01] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:14:01] local.INFO: IMEI packet received {"connection_id":159189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:14:02] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:14:02] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:14:02] local.INFO: IMEI packet received {"connection_id":160378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":160378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:14:05] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024200b78012dc99580052eceb0002001342a..."} 
[2026-08-21 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024200b78012dc99580052eceb0002001342a..."} 
[2026-08-21 17:14:05] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024200b78012dc99580052eceb0002001342a..."} 
[2026-08-21 17:14:05] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:14:05] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":768185728,"raw_latitude":86953648,"longitude_deg":76.8185728,"latitude_deg":8.6953648,"altitude":32,"angle":308,"satellites":42,"speed":21,"hex_longitude":"2dc99580","hex_latitude":"052eceb0","is_valid_coordinates":true} 
[2026-08-21 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551990016001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388372761338183680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3917498334855403520,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787312475000,"timestamp_ms":1787312475000,"timestamp_seconds":1787312475,"priority":1,"record_length":96,"hex_timestamp":"000001a024200b78"} 
[2026-08-21 17:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:14: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-08-21 17:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551990016001,"66":27832,"32":206,"80":36352,"24":21,"16":388372761338183680,"45":-3917498334855403520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,80,24,16,45]} 
[2026-08-21 17:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551990016001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:14:05] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 17:14:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388372761338183680,"km_value":388372761338183.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3917498334855403520,"description":"Unknown IO ID 45"} 
[2026-08-21 17:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551990016001,"power":27832,"unknown_32":206,"unknown_80":36352,"ignition":21,"odometer":null,"unknown_45":-3917498334855403520}} 
[2026-08-21 17:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:14:05] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:14:05] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:14:06] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024203a58012dc97e00052edd08002201282b..."} 
[2026-08-21 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024203a58012dc97e00052edd08002201282b..."} 
[2026-08-21 17:14:06] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024203a58012dc97e00052edd08002201282b..."} 
[2026-08-21 17:14:06] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:14:06] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:14:06] local.INFO: GPS Element Parsed {"raw_longitude":768179712,"raw_latitude":86957320,"longitude_deg":76.8179712,"latitude_deg":8.695732,"altitude":34,"angle":296,"satellites":43,"speed":19,"hex_longitude":"2dc97e00","hex_latitude":"052edd08","is_valid_coordinates":true} 
[2026-08-21 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551993600001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388373100640600064,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3921087140807659520,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787312487000,"timestamp_ms":1787312487000,"timestamp_seconds":1787312487,"priority":1,"record_length":96,"hex_timestamp":"000001a024203a58"} 
[2026-08-21 17:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:14: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-08-21 17:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 17:14:06] 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-08-21 17:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551993600001,"66":27865,"33":206,"80":36352,"24":19,"16":388373100640600064,"45":-3921087140807659520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-21 17:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551993600001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:14:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 17:14:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388373100640600064,"km_value":388373100640600.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3921087140807659520,"description":"Unknown IO ID 45"} 
[2026-08-21 17:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551993600001,"power":27865,"unknown_33":206,"unknown_80":36352,"ignition":19,"odometer":null,"unknown_45":-3921087140807659520}} 
[2026-08-21 17:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:14:06] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:14:06] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:14:06] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:14:06] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:14:06] local.INFO: IMEI packet received {"connection_id":159189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":159189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:14:07] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024217e90012d1823000721a450004b008e2a..."} 
[2026-08-21 17:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024217e90012d1823000721a450004b008e2a..."} 
[2026-08-21 17:14:07] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024217e90012d1823000721a450004b008e2a..."} 
[2026-08-21 17:14:07] local.INFO: Packet analysis {"connection_id":159189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:14:07] local.INFO: Extracted packet for processing {"connection_id":159189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119645264,"longitude_deg":75.6556544,"latitude_deg":11.9645264,"altitude":75,"angle":142,"satellites":42,"speed":7,"hex_longitude":"2d182300","hex_latitude":"0721a450","is_valid_coordinates":true} 
[2026-08-21 17:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552017408001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237601837875200,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805491865600,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312570000,"timestamp_ms":1787312570000,"timestamp_seconds":1787312570,"priority":1,"record_length":96,"hex_timestamp":"000001a024217e90"} 
[2026-08-21 17:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-21 17:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552017408001,"66":13993,"105":206,"83":41984,"24":7,"16":14237601837875200,"45":1739022805491865600},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552017408001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:14:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237601837875200,"km_value":14237601837875.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805491865600,"description":"Unknown IO ID 45"} 
[2026-08-21 17:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552017408001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739022805491865600}} 
[2026-08-21 17:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":159189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:14:07] local.INFO: GPS data processed {"connection_id":159189,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:14:07] local.INFO: Acknowledgment sent {"connection_id":159189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:14:37] local.INFO: TCP Data received {"connection_id":160378,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024208490012dc95e00052eed700024012728..."} 
[2026-08-21 17:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024208490012dc95e00052eed700024012728..."} 
[2026-08-21 17:14:37] local.INFO: Processing buffer {"connection_id":160378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024208490012dc95e00052eed700024012728..."} 
[2026-08-21 17:14:37] local.INFO: Packet analysis {"connection_id":160378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:14:37] local.INFO: Extracted packet for processing {"connection_id":160378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:14:37] local.INFO: GPS Element Parsed {"raw_longitude":768171520,"raw_latitude":86961520,"longitude_deg":76.817152,"latitude_deg":8.696152,"altitude":36,"angle":295,"satellites":40,"speed":27,"hex_longitude":"2dc95e00","hex_latitude":"052eed70","is_valid_coordinates":true} 
[2026-08-21 17:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457551996672001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388373543022231552,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3927701802759419904,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787312506000,"timestamp_ms":1787312506000,"timestamp_seconds":1787312506,"priority":1,"record_length":96,"hex_timestamp":"000001a024208490"} 
[2026-08-21 17:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457551996672001,"66":28028,"33":206,"80":36352,"24":27,"16":388373543022231552,"45":-3927701802759419904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,80,24,16,45]} 
[2026-08-21 17:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457551996672001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:14:37] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 17:14:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":36352,"description":"Unknown IO ID 80"} 
[2026-08-21 17:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388373543022231552,"km_value":388373543022231.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3927701802759419904,"description":"Unknown IO ID 45"} 
[2026-08-21 17:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457551996672001,"power":28028,"unknown_33":206,"unknown_80":36352,"ignition":27,"odometer":null,"unknown_45":-3927701802759419904}} 
[2026-08-21 17:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":160378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:14:37] local.INFO: GPS data processed {"connection_id":160378,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:14:37] local.INFO: Acknowledgment sent {"connection_id":160378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:14:38] local.INFO: TCP Data received {"connection_id":159189,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024218a48012d1824400721a308004b007c2a..."} 
[2026-08-21 17:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024218a48012d1824400721a308004b007c2a..."} 
[2026-08-21 17:14:38] local.INFO: Processing buffer {"connection_id":159189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024218a48012d1824400721a308004b007c2a..."} 
[2026-08-21 17:14:38] local.INFO: Packet analysis {"connection_id":159189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:14:38] local.INFO: Extracted packet for processing {"connection_id":159189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119644936,"longitude_deg":75.6556864,"latitude_deg":11.9644936,"altitude":75,"angle":124,"satellites":42,"speed":3,"hex_longitude":"2d182440","hex_latitude":"0721a308","is_valid_coordinates":true} 
[2026-08-21 17:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552017920001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237623312711680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911724331008,"note":"Value kept but may cause issues"} 
[2026-08-21 17:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312573000,"timestamp_ms":1787312573000,"timestamp_seconds":1787312573,"priority":1,"record_length":96,"hex_timestamp":"000001a024218a48"} 
[2026-08-21 17:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 17:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552017920001,"66":14004,"105":206,"83":41984,"24":3,"16":14237623312711680,"45":1739233911724331008},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552017920001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:14:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237623312711680,"km_value":14237623312711.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911724331008,"description":"Unknown IO ID 45"} 
[2026-08-21 17:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552017920001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739233911724331008}} 
[2026-08-21 17:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":159189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:14:38] local.INFO: GPS data processed {"connection_id":159189,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:14:38] local.INFO: Acknowledgment sent {"connection_id":159189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:14:53] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:14:53] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:14:53] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:14:57] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:14:57] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:14:57] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:14:59] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:14:59] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:14:59] local.INFO: IMEI packet received {"connection_id":161745,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":161745,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:15:01] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:15:01] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:15:01] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:15:01] local.INFO: TCP Data received {"connection_id":161745,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 17:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161745,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 17:15:01] local.INFO: Processing buffer {"connection_id":161745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-08-21 17:15:01] local.INFO: Packet analysis {"connection_id":161745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 17:15:01] local.INFO: Extracted packet for processing {"connection_id":161745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-08-21 17:15:01] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121744206669545472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:01] 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-08-21 17:15:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:15:01] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 17:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161745,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161745,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:15:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 17:15:01] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 17:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":161745,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 17:15:01] local.ERROR: GPS data processing failed {"connection_id":161745,"error":"No valid data to process"} 
[2026-08-21 17:15:01] local.INFO: Acknowledgment sent {"connection_id":161745,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 17:15:02] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:02] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:02] local.INFO: IMEI packet received {"connection_id":161746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":161746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:15:06] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:15:06] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:15:06] local.INFO: IMEI packet received {"connection_id":160379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":160379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:15:07] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02421dc50012d1824400721a2e0004b007c28..."} 
[2026-08-21 17:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02421dc50012d1824400721a2e0004b007c28..."} 
[2026-08-21 17:15:07] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02421dc50012d1824400721a2e0004b007c28..."} 
[2026-08-21 17:15:07] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:15:07] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119644896,"longitude_deg":75.6556864,"latitude_deg":11.9644896,"altitude":75,"angle":124,"satellites":40,"speed":0,"hex_longitude":"2d182440","hex_latitude":"0721a2e0","is_valid_coordinates":true} 
[2026-08-21 17:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552018688001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237631902646272,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755445135360,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312594000,"timestamp_ms":1787312594000,"timestamp_seconds":1787312594,"priority":1,"record_length":96,"hex_timestamp":"000001a02421dc50"} 
[2026-08-21 17:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 17:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552018688001,"66":14265,"105":206,"83":41984,"24":0,"16":14237631902646272,"45":1739585755445135360},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552018688001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237631902646272,"km_value":14237631902646.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755445135360,"description":"Unknown IO ID 45"} 
[2026-08-21 17:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552018688001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755445135360}} 
[2026-08-21 17:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:15:07] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:15:07] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:15:12] local.INFO: TCP Data received {"connection_id":161746,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02420a3d0012dc94500052ef6b00025011b2a..."} 
[2026-08-21 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02420a3d0012dc94500052ef6b00025011b2a..."} 
[2026-08-21 17:15:12] local.INFO: Processing buffer {"connection_id":161746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02420a3d0012dc94500052ef6b00025011b2a..."} 
[2026-08-21 17:15:12] local.INFO: Packet analysis {"connection_id":161746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:15:12] local.INFO: Extracted packet for processing {"connection_id":161746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02420"} 
[2026-08-21 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":768165120,"raw_latitude":86963888,"longitude_deg":76.816512,"latitude_deg":8.6963888,"altitude":37,"angle":283,"satellites":42,"speed":37,"hex_longitude":"2dc94500","hex_latitude":"052ef6b0","is_valid_coordinates":true} 
[2026-08-21 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552001536001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388373869439746048,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3936709002013085696,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787312514000,"timestamp_ms":1787312514000,"timestamp_seconds":1787312514,"priority":1,"record_length":96,"hex_timestamp":"000001a02420a3d0"} 
[2026-08-21 17:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 17:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552001536001,"66":27887,"11":206,"80":35072,"24":37,"16":388373869439746048,"45":-3936709002013085696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,80,24,16,45]} 
[2026-08-21 17:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552001536001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:15:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-08-21 17:15:12] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388373869439746048,"km_value":388373869439746.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3936709002013085696,"description":"Unknown IO ID 45"} 
[2026-08-21 17:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552001536001,"power":27887,"unknown_11":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-3936709002013085696}} 
[2026-08-21 17:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":161746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:15:12] local.INFO: GPS data processed {"connection_id":161746,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:15:12] local.INFO: Acknowledgment sent {"connection_id":161746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:15:39] local.INFO: TCP Data received {"connection_id":160379,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02421e808012d1825000721a1d0004a008e28..."} 
[2026-08-21 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02421e808012d1825000721a1d0004a008e28..."} 
[2026-08-21 17:15:39] local.INFO: Processing buffer {"connection_id":160379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02421e808012d1825000721a1d0004a008e28..."} 
[2026-08-21 17:15:39] local.INFO: Packet analysis {"connection_id":160379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:15:39] local.INFO: Extracted packet for processing {"connection_id":160379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02421"} 
[2026-08-21 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119644624,"longitude_deg":75.6557056,"latitude_deg":11.9644624,"altitude":74,"angle":142,"satellites":40,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721a1d0","is_valid_coordinates":true} 
[2026-08-21 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552024064001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237649082515456,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755445125120,"note":"Value kept but may cause issues"} 
[2026-08-21 17:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787312597000,"timestamp_ms":1787312597000,"timestamp_seconds":1787312597,"priority":1,"record_length":96,"hex_timestamp":"000001a02421e808"} 
[2026-08-21 17:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552024064001,"66":14233,"105":206,"83":41984,"24":0,"16":14237649082515456,"45":1739585755445125120},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552024064001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:15:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:15:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237649082515456,"km_value":14237649082515.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755445125120,"description":"Unknown IO ID 45"} 
[2026-08-21 17:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552024064001,"power":14233,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739585755445125120}} 
[2026-08-21 17:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":160379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:15:39] local.INFO: GPS data processed {"connection_id":160379,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:15:39] local.INFO: Acknowledgment sent {"connection_id":160379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:15:56] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:56] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:56] local.INFO: IMEI packet received {"connection_id":159190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":159190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:15:57] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:57] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:15:57] local.INFO: IMEI packet received {"connection_id":159190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":159190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:16:06] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:16:06] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:16:06] local.INFO: IMEI packet received {"connection_id":159484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":159484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:16:08] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:08] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:08] local.INFO: IMEI packet received {"connection_id":159190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":159190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:16:10] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242337f8012dc8d6c0052f48500029015328..."} 
[2026-08-21 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242337f8012dc8d6c0052f48500029015328..."} 
[2026-08-21 17:16:10] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242337f8012dc8d6c0052f48500029015328..."} 
[2026-08-21 17:16:10] local.INFO: Packet analysis {"connection_id":159190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02423"} 
[2026-08-21 17:16:10] local.INFO: Extracted packet for processing {"connection_id":159190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02423"} 
[2026-08-21 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":768136896,"raw_latitude":86984784,"longitude_deg":76.8136896,"latitude_deg":8.6984784,"altitude":41,"angle":339,"satellites":40,"speed":26,"hex_longitude":"2dc8d6c0","hex_latitude":"052f4850","is_valid_coordinates":true} 
[2026-08-21 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552045824001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388375634671304704,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3973511855212558336,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787312683000,"timestamp_ms":1787312683000,"timestamp_seconds":1787312683,"priority":1,"record_length":96,"hex_timestamp":"000001a0242337f8"} 
[2026-08-21 17:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552045824001,"66":27843,"10":206,"80":35072,"24":26,"16":388375634671304704,"45":-3973511855212558336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552045824001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:16:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 17:16:10] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388375634671304704,"km_value":388375634671304.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3973511855212558336,"description":"Unknown IO ID 45"} 
[2026-08-21 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552045824001,"power":27843,"unknown_10":206,"unknown_80":35072,"ignition":26,"odometer":null,"unknown_45":-3973511855212558336}} 
[2026-08-21 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":159190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:16:10] local.INFO: GPS data processed {"connection_id":159190,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:16:10] local.INFO: Acknowledgment sent {"connection_id":159190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:16:11] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:16:11] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:16:11] local.INFO: IMEI packet received {"connection_id":159484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":159484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:16:12] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024223a10012d1825c00721a170004a008828..."} 
[2026-08-21 17:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024223a10012d1825c00721a170004a008828..."} 
[2026-08-21 17:16:12] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024223a10012d1825c00721a170004a008828..."} 
[2026-08-21 17:16:12] local.INFO: Packet analysis {"connection_id":159484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02422"} 
[2026-08-21 17:16:12] local.INFO: Extracted packet for processing {"connection_id":159484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02422"} 
[2026-08-21 17:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119644528,"longitude_deg":75.6557248,"latitude_deg":11.9644528,"altitude":74,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721a170","is_valid_coordinates":true} 
[2026-08-21 17:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552024832001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237657672450048,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677588480,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787312618000,"timestamp_ms":1787312618000,"timestamp_seconds":1787312618,"priority":1,"record_length":96,"hex_timestamp":"000001a024223a10"} 
[2026-08-21 17:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 17:16: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-08-21 17:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552024832001,"66":14080,"105":206,"83":41984,"24":0,"16":14237657672450048,"45":1739796861677588480},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552024832001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:16:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237657672450048,"km_value":14237657672450.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677588480,"description":"Unknown IO ID 45"} 
[2026-08-21 17:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552024832001,"power":14080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739796861677588480}} 
[2026-08-21 17:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":159484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:16:12] local.INFO: GPS data processed {"connection_id":159484,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:16:12] local.INFO: Acknowledgment sent {"connection_id":159484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:16:13] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024228c18012d1825c00721a170004a00882a..."} 
[2026-08-21 17:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024228c18012d1825c00721a170004a00882a..."} 
[2026-08-21 17:16:13] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024228c18012d1825c00721a170004a00882a..."} 
[2026-08-21 17:16:13] local.INFO: Packet analysis {"connection_id":159484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02422"} 
[2026-08-21 17:16:13] local.INFO: Extracted packet for processing {"connection_id":159484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02422"} 
[2026-08-21 17:16:13] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119644528,"longitude_deg":75.6557248,"latitude_deg":11.9644528,"altitude":74,"angle":136,"satellites":42,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721a170","is_valid_coordinates":true} 
[2026-08-21 17:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552030208001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237657672450048,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967910096896,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787312639000,"timestamp_ms":1787312639000,"timestamp_seconds":1787312639,"priority":1,"record_length":96,"hex_timestamp":"000001a024228c18"} 
[2026-08-21 17:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:16: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-08-21 17:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2756706379,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2499936256,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:13] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,149,160,232,45,161,74,40,10,66,220,64,162,75,138,1,240,180,227,36,33,4,113,205,7,118,34,88,42,239,54,2,50,73,5],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 17:16:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332411664186736640,"timestamp_seconds":5332411664186737.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552030208001,"66":14070,"105":206,"83":41984,"24":0,"16":14237657672450048,"45":1740007967910096896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552030208001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:16:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:16:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237657672450048,"km_value":14237657672450.049,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967910096896,"description":"Unknown IO ID 45"} 
[2026-08-21 17:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552030208001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740007967910096896}} 
[2026-08-21 17:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":159484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:16:13] local.INFO: GPS data processed {"connection_id":159484,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:16:13] local.INFO: Acknowledgment sent {"connection_id":159484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:16:41] local.INFO: TCP Data received {"connection_id":159190,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242343b0012dc8d4c0052f50a00029016128..."} 
[2026-08-21 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242343b0012dc8d4c0052f50a00029016128..."} 
[2026-08-21 17:16:41] local.INFO: Processing buffer {"connection_id":159190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242343b0012dc8d4c0052f50a00029016128..."} 
[2026-08-21 17:16:41] local.INFO: Packet analysis {"connection_id":159190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02423"} 
[2026-08-21 17:16:41] local.INFO: Extracted packet for processing {"connection_id":159190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02423"} 
[2026-08-21 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":768136384,"raw_latitude":86986912,"longitude_deg":76.8136384,"latitude_deg":8.6986912,"altitude":41,"angle":353,"satellites":40,"speed":32,"hex_longitude":"2dc8d4c0","hex_latitude":"052f50a0","is_valid_coordinates":true} 
[2026-08-21 17:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552046848001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388375742045487104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3974778492607246336,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787312686000,"timestamp_ms":1787312686000,"timestamp_seconds":1787312686,"priority":1,"record_length":96,"hex_timestamp":"000001a0242343b0"} 
[2026-08-21 17:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552046848001,"66":27691,"10":206,"80":35072,"24":32,"16":388375742045487104,"45":-3974778492607246336},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 17:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552046848001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:16:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 17:16:41] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388375742045487104,"km_value":388375742045487.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3974778492607246336,"description":"Unknown IO ID 45"} 
[2026-08-21 17:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552046848001,"power":27691,"unknown_10":206,"unknown_80":35072,"ignition":32,"odometer":null,"unknown_45":-3974778492607246336}} 
[2026-08-21 17:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":159190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:16:41] local.INFO: GPS data processed {"connection_id":159190,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:16:41] local.INFO: Acknowledgment sent {"connection_id":159190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:16:44] local.INFO: TCP Data received {"connection_id":159484,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242293e8012d18274007219ec8004b00752a..."} 
[2026-08-21 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242293e8012d18274007219ec8004b00752a..."} 
[2026-08-21 17:16:44] local.INFO: Processing buffer {"connection_id":159484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242293e8012d18274007219ec8004b00752a..."} 
[2026-08-21 17:16:44] local.INFO: Packet analysis {"connection_id":159484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02422"} 
[2026-08-21 17:16:44] local.INFO: Extracted packet for processing {"connection_id":159484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02422"} 
[2026-08-21 17:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119643848,"longitude_deg":75.6557632,"latitude_deg":11.9643848,"altitude":75,"angle":117,"satellites":42,"speed":7,"hex_longitude":"2d182740","hex_latitude":"07219ec8","is_valid_coordinates":true} 
[2026-08-21 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552035584001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14237696327155712,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740007967910096896,"note":"Value kept but may cause issues"} 
[2026-08-21 17:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787312641000,"timestamp_ms":1787312641000,"timestamp_seconds":1787312641,"priority":1,"record_length":96,"hex_timestamp":"000001a0242293e8"} 
[2026-08-21 17:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:16: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-08-21 17:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-21 17:16: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-08-21 17:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552035584001,"66":14004,"105":206,"83":41984,"24":7,"16":14237696327155712,"45":1740007967910096896},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552035584001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:16:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14237696327155712,"km_value":14237696327155.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740007967910096896,"description":"Unknown IO ID 45"} 
[2026-08-21 17:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552035584001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1740007967910096896}} 
[2026-08-21 17:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":159484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:16:44] local.INFO: GPS data processed {"connection_id":159484,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:16:44] local.INFO: Acknowledgment sent {"connection_id":159484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:16:56] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:56] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:56] local.INFO: IMEI packet received {"connection_id":159191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":159191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:16:57] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:57] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:16:57] local.INFO: IMEI packet received {"connection_id":159191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":159191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:17:00] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:00] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:00] local.INFO: IMEI packet received {"connection_id":160380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":160380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:17:01] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:01] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:01] local.INFO: IMEI packet received {"connection_id":160380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":160380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:17:02] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:17:02] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:17:02] local.INFO: IMEI packet received {"connection_id":159191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":159191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:17:03] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024248018012dc9044005309e480019014d2b..."} 
[2026-08-21 17:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024248018012dc9044005309e480019014d2b..."} 
[2026-08-21 17:17:03] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024248018012dc9044005309e480019014d2b..."} 
[2026-08-21 17:17:03] local.INFO: Packet analysis {"connection_id":159191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:17:03] local.INFO: Extracted packet for processing {"connection_id":159191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":768148544,"raw_latitude":87072328,"longitude_deg":76.8148544,"latitude_deg":8.7072328,"altitude":25,"angle":333,"satellites":43,"speed":44,"hex_longitude":"2dc90440","hex_latitude":"05309e48","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552067072001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388380019832913920,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3959930687564810240,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312767000,"timestamp_ms":1787312767000,"timestamp_seconds":1787312767,"priority":1,"record_length":96,"hex_timestamp":"000001a024248018"} 
[2026-08-21 17:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:17:03] 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-08-21 17: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-08-21 17:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552067072001,"66":27995,"222":206,"80":35072,"24":44,"16":388380019832913920,"45":-3959930687564810240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-08-21 17:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552067072001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:17:03] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-21 17:17:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388380019832913920,"km_value":388380019832913.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3959930687564810240,"description":"Unknown IO ID 45"} 
[2026-08-21 17:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552067072001,"power":27995,"unknown_222":206,"unknown_80":35072,"ignition":44,"odometer":null,"unknown_45":-3959930687564810240}} 
[2026-08-21 17:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":159191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:17:03] local.INFO: GPS data processed {"connection_id":159191,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:17:03] local.INFO: Acknowledgment sent {"connection_id":159191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:17:06] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:06] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:17:06] local.INFO: IMEI packet received {"connection_id":160380,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":160380,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:17:07] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024247c30012d18ab40072172f0004f007725..."} 
[2026-08-21 17:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024247c30012d18ab40072172f0004f007725..."} 
[2026-08-21 17:17:07] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024247c30012d18ab40072172f0004f007725..."} 
[2026-08-21 17:17:07] local.INFO: Packet analysis {"connection_id":160380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:17:07] local.INFO: Extracted packet for processing {"connection_id":160380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756591424,"raw_latitude":119632624,"longitude_deg":75.6591424,"latitude_deg":11.9632624,"altitude":79,"angle":119,"satellites":37,"speed":37,"hex_longitude":"2d18ab40","hex_latitude":"072172f0","is_valid_coordinates":true} 
[2026-08-21 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552065792001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14239422904008704,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767451778137253888,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312766000,"timestamp_ms":1787312766000,"timestamp_seconds":1787312766,"priority":1,"record_length":96,"hex_timestamp":"000001a024247c30"} 
[2026-08-21 17:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 17:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552065792001,"66":13559,"106":206,"83":41984,"24":37,"16":14239422904008704,"45":1767451778137253888},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 17:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552065792001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14239422904008704,"km_value":14239422904008.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767451778137253888,"description":"Unknown IO ID 45"} 
[2026-08-21 17:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552065792001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1767451778137253888}} 
[2026-08-21 17:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":160380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:17:07] local.INFO: GPS data processed {"connection_id":160380,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:17:07] local.INFO: Acknowledgment sent {"connection_id":160380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:17:34] local.INFO: TCP Data received {"connection_id":159191,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024248bd0012dc8fd800530a918001801422b..."} 
[2026-08-21 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024248bd0012dc8fd800530a918001801422b..."} 
[2026-08-21 17:17:34] local.INFO: Processing buffer {"connection_id":159191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024248bd0012dc8fd800530a918001801422b..."} 
[2026-08-21 17:17:34] local.INFO: Packet analysis {"connection_id":159191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:17:34] local.INFO: Extracted packet for processing {"connection_id":159191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":768146816,"raw_latitude":87075096,"longitude_deg":76.8146816,"latitude_deg":8.7075096,"altitude":24,"angle":322,"satellites":43,"speed":43,"hex_longitude":"2dc8fd80","hex_latitude":"0530a918","is_valid_coordinates":true} 
[2026-08-21 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552068352001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388380178746703872,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3961971381144500224,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312770000,"timestamp_ms":1787312770000,"timestamp_seconds":1787312770,"priority":1,"record_length":96,"hex_timestamp":"000001a024248bd0"} 
[2026-08-21 17:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 17:17:34] 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-08-21 17:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552068352001,"66":28050,"222":206,"80":35072,"24":43,"16":388380178746703872,"45":-3961971381144500224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-08-21 17:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552068352001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:17:34] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-08-21 17:17:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388380178746703872,"km_value":388380178746703.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3961971381144500224,"description":"Unknown IO ID 45"} 
[2026-08-21 17:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552068352001,"power":28050,"unknown_222":206,"unknown_80":35072,"ignition":43,"odometer":null,"unknown_45":-3961971381144500224}} 
[2026-08-21 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":159191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:17:34] local.INFO: GPS data processed {"connection_id":159191,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:17:34] local.INFO: Acknowledgment sent {"connection_id":159191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:17:38] local.INFO: TCP Data received {"connection_id":160380,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024251870012d18e7c00720ed580036009427..."} 
[2026-08-21 17:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024251870012d18e7c00720ed580036009427..."} 
[2026-08-21 17:17:38] local.INFO: Processing buffer {"connection_id":160380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024251870012d18e7c00720ed580036009427..."} 
[2026-08-21 17:17:38] local.INFO: Packet analysis {"connection_id":160380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:17:38] local.INFO: Extracted packet for processing {"connection_id":160380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756606912,"raw_latitude":119598424,"longitude_deg":75.6606912,"latitude_deg":11.9598424,"altitude":54,"angle":148,"satellites":39,"speed":37,"hex_longitude":"2d18e7c0","hex_latitude":"0720ed58","is_valid_coordinates":true} 
[2026-08-21 17:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552077312001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14241308394651648,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732357967872,"note":"Value kept but may cause issues"} 
[2026-08-21 17:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312806000,"timestamp_ms":1787312806000,"timestamp_seconds":1787312806,"priority":1,"record_length":96,"hex_timestamp":"000001a024251870"} 
[2026-08-21 17:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 17:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160380,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552077312001,"66":14265,"103":206,"83":41984,"24":37,"16":14241308394651648,"45":1791869732357967872},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552077312001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:17:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14241308394651648,"km_value":14241308394651.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732357967872,"description":"Unknown IO ID 45"} 
[2026-08-21 17:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552077312001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1791869732357967872}} 
[2026-08-21 17:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":160380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:17:38] local.INFO: GPS data processed {"connection_id":160380,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:17:38] local.INFO: Acknowledgment sent {"connection_id":160380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:18:02] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:02] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:02] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:18:06] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:18:06] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:18:06] local.INFO: IMEI packet received {"connection_id":159192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":159192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:18:07] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:07] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:07] local.INFO: IMEI packet received {"connection_id":161747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":161747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:18:07] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02424ab10012dc8e8400530c740001501422b..."} 
[2026-08-21 17:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02424ab10012dc8e8400530c740001501422b..."} 
[2026-08-21 17:18:07] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02424ab10012dc8e8400530c740001501422b..."} 
[2026-08-21 17:18:07] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:18:07] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:18:07] local.INFO: GPS Element Parsed {"raw_longitude":768141376,"raw_latitude":87082816,"longitude_deg":76.8141376,"latitude_deg":8.7082816,"altitude":21,"angle":322,"satellites":43,"speed":37,"hex_longitude":"2dc8e840","hex_latitude":"0530c740","is_valid_coordinates":true} 
[2026-08-21 17:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552069120001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388380634013237248,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3963871337236588544,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312778000,"timestamp_ms":1787312778000,"timestamp_seconds":1787312778,"priority":1,"record_length":96,"hex_timestamp":"000001a02424ab10"} 
[2026-08-21 17:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:18: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-08-21 17:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 17:18:07] 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-08-21 17:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552069120001,"66":27843,"10":206,"80":35072,"24":37,"16":388380634013237248,"45":-3963871337236588544},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 17:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552069120001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:18:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 17:18:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388380634013237248,"km_value":388380634013237.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3963871337236588544,"description":"Unknown IO ID 45"} 
[2026-08-21 17:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552069120001,"power":27843,"unknown_10":206,"unknown_80":35072,"ignition":37,"odometer":null,"unknown_45":-3963871337236588544}} 
[2026-08-21 17:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:18:08] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:18:08] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:18:11] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:18:11] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:18:11] local.INFO: IMEI packet received {"connection_id":159192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":159192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:18:12] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242533c8012d18f7800720d6d80032008526..."} 
[2026-08-21 17:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242533c8012d18f7800720d6d80032008526..."} 
[2026-08-21 17:18:12] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242533c8012d18f7800720d6d80032008526..."} 
[2026-08-21 17:18:12] local.INFO: Packet analysis {"connection_id":159192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:18:12] local.INFO: Extracted packet for processing {"connection_id":159192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756610944,"raw_latitude":119592664,"longitude_deg":75.6610944,"latitude_deg":11.9592664,"altitude":50,"angle":133,"satellites":38,"speed":40,"hex_longitude":"2d18f780","hex_latitude":"0720d6d8","is_valid_coordinates":true} 
[2026-08-21 17:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552078336001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14241647697068032,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794614113380161536,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787312813000,"timestamp_ms":1787312813000,"timestamp_seconds":1787312813,"priority":1,"record_length":96,"hex_timestamp":"000001a0242533c8"} 
[2026-08-21 17:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552078336001,"66":14265,"103":206,"83":41984,"24":40,"16":14241647697068032,"45":1794614113380161536},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552078336001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:18:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14241647697068032,"km_value":14241647697068.031,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794614113380161536,"description":"Unknown IO ID 45"} 
[2026-08-21 17:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552078336001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1794614113380161536}} 
[2026-08-21 17:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":159192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:18:12] local.INFO: GPS data processed {"connection_id":159192,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:18:12] local.INFO: Acknowledgment sent {"connection_id":159192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:18:13] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024254368012d1904400720ce10002f007825..."} 
[2026-08-21 17:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024254368012d1904400720ce10002f007825..."} 
[2026-08-21 17:18:13] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024254368012d1904400720ce10002f007825..."} 
[2026-08-21 17:18:13] local.INFO: Packet analysis {"connection_id":159192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:18:13] local.INFO: Extracted packet for processing {"connection_id":159192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:18:13] local.INFO: GPS Element Parsed {"raw_longitude":756614208,"raw_latitude":119590416,"longitude_deg":75.6614208,"latitude_deg":11.9590416,"altitude":47,"angle":120,"satellites":37,"speed":40,"hex_longitude":"2d190440","hex_latitude":"0720ce10","is_valid_coordinates":true} 
[2026-08-21 17:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552080128001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14241836675629056,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799047344261879808,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787312817000,"timestamp_ms":1787312817000,"timestamp_seconds":1787312817,"priority":1,"record_length":96,"hex_timestamp":"000001a024254368"} 
[2026-08-21 17:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:18: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-08-21 17:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552080128001,"66":14363,"103":206,"83":41984,"24":40,"16":14241836675629056,"45":1799047344261879808},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552080128001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:18:13] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:18:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14241836675629056,"km_value":14241836675629.057,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799047344261879808,"description":"Unknown IO ID 45"} 
[2026-08-21 17:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552080128001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1799047344261879808}} 
[2026-08-21 17:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":159192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:18:13] local.INFO: GPS data processed {"connection_id":159192,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:18:13] local.INFO: Acknowledgment sent {"connection_id":159192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:18:38] local.INFO: TCP Data received {"connection_id":161747,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02424f930012dc8d2400530e4d0001301402b..."} 
[2026-08-21 17:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02424f930012dc8d2400530e4d0001301402b..."} 
[2026-08-21 17:18:38] local.INFO: Processing buffer {"connection_id":161747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02424f930012dc8d2400530e4d0001301402b..."} 
[2026-08-21 17:18:38] local.INFO: Packet analysis {"connection_id":161747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:18:38] local.INFO: Extracted packet for processing {"connection_id":161747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02424"} 
[2026-08-21 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":768135744,"raw_latitude":87090384,"longitude_deg":76.8135744,"latitude_deg":8.7090384,"altitude":19,"angle":320,"satellites":43,"speed":33,"hex_longitude":"2dc8d240","hex_latitude":"0530e4d0","is_valid_coordinates":true} 
[2026-08-21 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552071168001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388381089279770624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3969852680489713664,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787312798000,"timestamp_ms":1787312798000,"timestamp_seconds":1787312798,"priority":1,"record_length":96,"hex_timestamp":"000001a02424f930"} 
[2026-08-21 17:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552071168001,"66":27789,"10":206,"80":35072,"24":33,"16":388381089279770624,"45":-3969852680489713664},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 17:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552071168001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:18:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 17:18:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388381089279770624,"km_value":388381089279770.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3969852680489713664,"description":"Unknown IO ID 45"} 
[2026-08-21 17:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552071168001,"power":27789,"unknown_10":206,"unknown_80":35072,"ignition":33,"odometer":null,"unknown_45":-3969852680489713664}} 
[2026-08-21 17:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":161747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:18:38] local.INFO: GPS data processed {"connection_id":161747,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:18:38] local.INFO: Acknowledgment sent {"connection_id":161747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:18:44] local.INFO: TCP Data received {"connection_id":159192,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024263598012d19ae80072091d0002100c727..."} 
[2026-08-21 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024263598012d19ae80072091d0002100c727..."} 
[2026-08-21 17:18:44] local.INFO: Processing buffer {"connection_id":159192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024263598012d19ae80072091d0002100c727..."} 
[2026-08-21 17:18:44] local.INFO: Packet analysis {"connection_id":159192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:18:44] local.INFO: Extracted packet for processing {"connection_id":159192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119574992,"longitude_deg":75.6657792,"latitude_deg":11.9574992,"altitude":33,"angle":199,"satellites":39,"speed":28,"hex_longitude":"2d19ae80","hex_latitude":"072091d0","is_valid_coordinates":true} 
[2026-08-21 17:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552095744001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14244538210058240,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433554044928,"note":"Value kept but may cause issues"} 
[2026-08-21 17:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787312879000,"timestamp_ms":1787312879000,"timestamp_seconds":1787312879,"priority":1,"record_length":96,"hex_timestamp":"000001a024263598"} 
[2026-08-21 17:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:18:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552095744001,"66":14080,"103":206,"83":41984,"24":28,"16":14244538210058240,"45":1852879433554044928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552095744001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:18:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:18:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14244538210058240,"km_value":14244538210058.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433554044928,"description":"Unknown IO ID 45"} 
[2026-08-21 17:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552095744001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1852879433554044928}} 
[2026-08-21 17:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":159192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:18:44] local.INFO: GPS data processed {"connection_id":159192,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:18:44] local.INFO: Acknowledgment sent {"connection_id":159192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:18:57] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:57] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:18:57] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:19:01] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:01] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:01] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:19:01] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:19:01] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:19:01] local.INFO: IMEI packet received {"connection_id":160381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":160381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:19:02] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:02] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:02] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:19:02] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024254b38012dc8be0005310088001101442b..."} 
[2026-08-21 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024254b38012dc8be0005310088001101442b..."} 
[2026-08-21 17:19:02] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024254b38012dc8be0005310088001101442b..."} 
[2026-08-21 17:19:02] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:19:02] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":768130560,"raw_latitude":87097480,"longitude_deg":76.813056,"latitude_deg":8.709748,"altitude":17,"angle":324,"satellites":43,"speed":31,"hex_longitude":"2dc8be00","hex_latitude":"05310088","is_valid_coordinates":true} 
[2026-08-21 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552076288001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388381518776500224,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3976045129975410688,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787312819000,"timestamp_ms":1787312819000,"timestamp_seconds":1787312819,"priority":1,"record_length":96,"hex_timestamp":"000001a024254b38"} 
[2026-08-21 17:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 17:19:02] 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-08-21 17:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552076288001,"66":27930,"10":206,"80":35072,"24":31,"16":388381518776500224,"45":-3976045129975410688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 17:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552076288001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:19:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 17:19:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388381518776500224,"km_value":388381518776500.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3976045129975410688,"description":"Unknown IO ID 45"} 
[2026-08-21 17:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552076288001,"power":27930,"unknown_10":206,"unknown_80":35072,"ignition":31,"odometer":null,"unknown_45":-3976045129975410688}} 
[2026-08-21 17:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:19:02] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:19:02] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:19:02] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:02] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:02] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:19:06] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:06] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:19:06] local.INFO: IMEI packet received {"connection_id":161748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":161748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:19:07] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024263980012d19ae0007208f08002000bc25..."} 
[2026-08-21 17:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024263980012d19ae0007208f08002000bc25..."} 
[2026-08-21 17:19:07] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024263980012d19ae0007208f08002000bc25..."} 
[2026-08-21 17:19:07] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:19:07] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574280,"longitude_deg":75.6657664,"latitude_deg":11.957428,"altitude":32,"angle":188,"satellites":37,"speed":30,"hex_longitude":"2d19ae00","hex_latitude":"07208f08","is_valid_coordinates":true} 
[2026-08-21 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552097024001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14244572569796608,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995405824,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312880000,"timestamp_ms":1787312880000,"timestamp_seconds":1787312880,"priority":1,"record_length":96,"hex_timestamp":"000001a024263980"} 
[2026-08-21 17:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2784493605,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":14,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2734738808,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2600992768,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:07] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,155,160,34,45,192,35,33,10,66,26,128,161,36,22,1,240,185,227,32,4,113,205,21,14,187,232,40,239,55,2,50,7,38,23],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 17:19:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378119573571108864,"timestamp_seconds":2378119573571109.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552097024001,"66":14004,"103":206,"83":41984,"24":30,"16":14244572569796608,"45":1850557264995405824},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552097024001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14244572569796608,"km_value":14244572569796.607,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995405824,"description":"Unknown IO ID 45"} 
[2026-08-21 17:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552097024001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1850557264995405824}} 
[2026-08-21 17:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:19:07] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:19:07] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:19:12] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024264150012d19ae4007208908002000aa26..."} 
[2026-08-21 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024264150012d19ae4007208908002000aa26..."} 
[2026-08-21 17:19:12] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024264150012d19ae4007208908002000aa26..."} 
[2026-08-21 17:19:12] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:19:12] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119572744,"longitude_deg":75.6657728,"latitude_deg":11.9572744,"altitude":32,"angle":170,"satellites":38,"speed":32,"hex_longitude":"2d19ae40","hex_latitude":"07208908","is_valid_coordinates":true} 
[2026-08-21 17:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552097280001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14244645584240640,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506868224,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787312882000,"timestamp_ms":1787312882000,"timestamp_seconds":1787312882,"priority":1,"record_length":96,"hex_timestamp":"000001a024264150"} 
[2026-08-21 17:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 17:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552097280001,"66":14026,"103":206,"83":41984,"24":32,"16":14244645584240640,"45":1850416527506868224},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552097280001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:19:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:19:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14244645584240640,"km_value":14244645584240.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506868224,"description":"Unknown IO ID 45"} 
[2026-08-21 17:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552097280001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1850416527506868224}} 
[2026-08-21 17:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:19:12] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:19:12] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:19:33] local.INFO: TCP Data received {"connection_id":160381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024257248012dc8a90005311d100010014529..."} 
[2026-08-21 17:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024257248012dc8a90005311d100010014529..."} 
[2026-08-21 17:19:33] local.INFO: Processing buffer {"connection_id":160381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024257248012dc8a90005311d100010014529..."} 
[2026-08-21 17:19:33] local.INFO: Packet analysis {"connection_id":160381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:19:33] local.INFO: Extracted packet for processing {"connection_id":160381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":768125184,"raw_latitude":87104784,"longitude_deg":76.8125184,"latitude_deg":8.7104784,"altitude":16,"angle":325,"satellites":41,"speed":39,"hex_longitude":"2dc8a900","hex_latitude":"05311d10","is_valid_coordinates":true} 
[2026-08-21 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552081664001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388381956863164416,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3981744998251984896,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787312829000,"timestamp_ms":1787312829000,"timestamp_seconds":1787312829,"priority":1,"record_length":96,"hex_timestamp":"000001a024257248"} 
[2026-08-21 17:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:19:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552081664001,"66":27919,"10":206,"80":35072,"24":39,"16":388381956863164416,"45":-3981744998251984896},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,80,24,16,45]} 
[2026-08-21 17:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552081664001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:19:33] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-08-21 17:19:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388381956863164416,"km_value":388381956863164.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3981744998251984896,"description":"Unknown IO ID 45"} 
[2026-08-21 17:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552081664001,"power":27919,"unknown_10":206,"unknown_80":35072,"ignition":39,"odometer":null,"unknown_45":-3981744998251984896}} 
[2026-08-21 17:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":160381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:19:33] local.INFO: GPS data processed {"connection_id":160381,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:19:33] local.INFO: Acknowledgment sent {"connection_id":160381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:19:43] local.INFO: TCP Data received {"connection_id":161748,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242723e0012d19ec00071ffcf80023007829..."} 
[2026-08-21 17:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242723e0012d19ec00071ffcf80023007829..."} 
[2026-08-21 17:19:43] local.INFO: Processing buffer {"connection_id":161748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242723e0012d19ec00071ffcf80023007829..."} 
[2026-08-21 17:19:43] local.INFO: Packet analysis {"connection_id":161748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:19:43] local.INFO: Extracted packet for processing {"connection_id":161748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119536888,"longitude_deg":75.6673536,"latitude_deg":11.9536888,"altitude":35,"angle":120,"satellites":41,"speed":26,"hex_longitude":"2d19ec00","hex_latitude":"071ffcf8","is_valid_coordinates":true} 
[2026-08-21 17:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552111360001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14246642744033280,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865827282472839168,"note":"Value kept but may cause issues"} 
[2026-08-21 17:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787312940000,"timestamp_ms":1787312940000,"timestamp_seconds":1787312940,"priority":1,"record_length":96,"hex_timestamp":"000001a0242723e0"} 
[2026-08-21 17:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:19:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-21 17:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552111360001,"66":14265,"101":206,"83":41984,"24":26,"16":14246642744033280,"45":1865827282472839168},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552111360001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:19:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:19:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14246642744033280,"km_value":14246642744033.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865827282472839168,"description":"Unknown IO ID 45"} 
[2026-08-21 17:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552111360001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1865827282472839168}} 
[2026-08-21 17:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":161748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:19:43] local.INFO: GPS data processed {"connection_id":161748,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:19:43] local.INFO: Acknowledgment sent {"connection_id":161748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:19:57] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:19:57] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:19:57] local.INFO: IMEI packet received {"connection_id":159193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":159193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:20:01] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:20:01] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:20:01] local.INFO: IMEI packet received {"connection_id":159194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":159194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:20:02] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:20:02] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:20:02] local.INFO: IMEI packet received {"connection_id":159193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":159193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:20:03] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024259d40012dc8954005313b680010015129..."} 
[2026-08-21 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024259d40012dc8954005313b680010015129..."} 
[2026-08-21 17:20:03] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024259d40012dc8954005313b680010015129..."} 
[2026-08-21 17:20:03] local.INFO: Packet analysis {"connection_id":159193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:20:03] local.INFO: Extracted packet for processing {"connection_id":159193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":768120128,"raw_latitude":87112552,"longitude_deg":76.8120128,"latitude_deg":8.7112552,"altitude":16,"angle":337,"satellites":41,"speed":15,"hex_longitude":"2dc89540","hex_latitude":"05313b68","is_valid_coordinates":true} 
[2026-08-21 17:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552084224001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388382403539763200,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3987655972761038848,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312840000,"timestamp_ms":1787312840000,"timestamp_seconds":1787312840,"priority":1,"record_length":96,"hex_timestamp":"000001a024259d40"} 
[2026-08-21 17:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552084224001,"66":27800,"7":206,"80":35072,"24":15,"16":388382403539763200,"45":-3987655972761038848},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552084224001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:20:03] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388382403539763200,"km_value":388382403539763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3987655972761038848,"description":"Unknown IO ID 45"} 
[2026-08-21 17:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552084224001,"power":27800,"unknown_7":206,"unknown_80":35072,"ignition":15,"odometer":null,"unknown_45":-3987655972761038848}} 
[2026-08-21 17:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":159193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:20:03] local.INFO: GPS data processed {"connection_id":159193,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:20:03] local.INFO: Acknowledgment sent {"connection_id":159193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:20:04] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:20:04] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:20:04] local.INFO: IMEI packet received {"connection_id":159194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":159194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:20:05] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242727c8012d19ee80071ffc000023006b29..."} 
[2026-08-21 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242727c8012d19ee80071ffc000023006b29..."} 
[2026-08-21 17:20:05] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242727c8012d19ee80071ffc000023006b29..."} 
[2026-08-21 17:20:05] local.INFO: Packet analysis {"connection_id":159194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:20:05] local.INFO: Extracted packet for processing {"connection_id":159194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":756674176,"raw_latitude":119536640,"longitude_deg":75.6674176,"latitude_deg":11.953664,"altitude":35,"angle":107,"satellites":41,"speed":26,"hex_longitude":"2d19ee80","hex_latitude":"071ffc00","is_valid_coordinates":true} 
[2026-08-21 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552112640001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14246677103771648,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867867976053356544,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787312941000,"timestamp_ms":1787312941000,"timestamp_seconds":1787312941,"priority":1,"record_length":96,"hex_timestamp":"000001a0242727c8"} 
[2026-08-21 17:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552112640001,"66":14265,"101":206,"83":41984,"24":26,"16":14246677103771648,"45":1867867976053356544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552112640001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:20:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:20:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14246677103771648,"km_value":14246677103771.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867867976053356544,"description":"Unknown IO ID 45"} 
[2026-08-21 17:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552112640001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1867867976053356544}} 
[2026-08-21 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":159194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:20:05] local.INFO: GPS data processed {"connection_id":159194,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:20:05] local.INFO: Acknowledgment sent {"connection_id":159194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:20:34] local.INFO: TCP Data received {"connection_id":159193,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024259d40012dc8954005313b680010015129..."} 
[2026-08-21 17:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024259d40012dc8954005313b680010015129..."} 
[2026-08-21 17:20:34] local.INFO: Processing buffer {"connection_id":159193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024259d40012dc8954005313b680010015129..."} 
[2026-08-21 17:20:34] local.INFO: Packet analysis {"connection_id":159193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:20:34] local.INFO: Extracted packet for processing {"connection_id":159193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:20:34] local.INFO: GPS Element Parsed {"raw_longitude":768120128,"raw_latitude":87112552,"longitude_deg":76.8120128,"latitude_deg":8.7112552,"altitude":16,"angle":337,"satellites":41,"speed":15,"hex_longitude":"2dc89540","hex_latitude":"05313b68","is_valid_coordinates":true} 
[2026-08-21 17:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552087040001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388382403539763200,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3993215103549085696,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312840000,"timestamp_ms":1787312840000,"timestamp_seconds":1787312840,"priority":1,"record_length":96,"hex_timestamp":"000001a024259d40"} 
[2026-08-21 17:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:20:34] 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-08-21 17:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552087040001,"66":27800,"7":206,"80":35072,"24":15,"16":388382403539763200,"45":-3993215103549085696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552087040001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:20:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388382403539763200,"km_value":388382403539763.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3993215103549085696,"description":"Unknown IO ID 45"} 
[2026-08-21 17:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552087040001,"power":27800,"unknown_7":206,"unknown_80":35072,"ignition":15,"odometer":null,"unknown_45":-3993215103549085696}} 
[2026-08-21 17:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":159193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:20:34] local.INFO: GPS data processed {"connection_id":159193,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:20:34] local.INFO: Acknowledgment sent {"connection_id":159193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:20:36] local.INFO: TCP Data received {"connection_id":159194,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024272bb0012d19f140071ffbd80023005c29..."} 
[2026-08-21 17:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024272bb0012d19f140071ffbd80023005c29..."} 
[2026-08-21 17:20:36] local.INFO: Processing buffer {"connection_id":159194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024272bb0012d19f140071ffbd80023005c29..."} 
[2026-08-21 17:20:36] local.INFO: Packet analysis {"connection_id":159194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:20:36] local.INFO: Extracted packet for processing {"connection_id":159194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":756674880,"raw_latitude":119536600,"longitude_deg":75.667488,"latitude_deg":11.95366,"altitude":35,"angle":92,"satellites":41,"speed":28,"hex_longitude":"2d19f140","hex_latitude":"071ffbd8","is_valid_coordinates":true} 
[2026-08-21 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552112896001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14246711463510016,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868571663495069696,"note":"Value kept but may cause issues"} 
[2026-08-21 17:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787312942000,"timestamp_ms":1787312942000,"timestamp_seconds":1787312942,"priority":1,"record_length":96,"hex_timestamp":"000001a024272bb0"} 
[2026-08-21 17:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552112896001,"66":14298,"101":206,"83":41984,"24":28,"16":14246711463510016,"45":1868571663495069696},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552112896001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:20:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:20:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14246711463510016,"km_value":14246711463510.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868571663495069696,"description":"Unknown IO ID 45"} 
[2026-08-21 17:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552112896001,"power":14298,"unknown_101":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1868571663495069696}} 
[2026-08-21 17:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":159194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:20:36] local.INFO: GPS data processed {"connection_id":159194,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:20:36] local.INFO: Acknowledgment sent {"connection_id":159194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:20:57] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:20:57] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:20:57] local.INFO: IMEI packet received {"connection_id":159195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":159195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:21:01] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:21:01] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:21:01] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:21:02] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:21:02] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:21:02] local.INFO: IMEI packet received {"connection_id":159195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":159195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:21:03] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02425ef48012dc89040053147b8000d01542c..."} 
[2026-08-21 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02425ef48012dc89040053147b8000d01542c..."} 
[2026-08-21 17:21:03] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02425ef48012dc89040053147b8000d01542c..."} 
[2026-08-21 17:21:03] local.INFO: Packet analysis {"connection_id":159195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:21:03] local.INFO: Extracted packet for processing {"connection_id":159195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02425"} 
[2026-08-21 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":768118848,"raw_latitude":87115704,"longitude_deg":76.8118848,"latitude_deg":8.7115704,"altitude":13,"angle":340,"satellites":44,"speed":3,"hex_longitude":"2dc89040","hex_latitude":"053147b8","is_valid_coordinates":true} 
[2026-08-21 17:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552087040001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388382575338455040,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3993215103549085696,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312861000,"timestamp_ms":1787312861000,"timestamp_seconds":1787312861,"priority":1,"record_length":96,"hex_timestamp":"000001a02425ef48"} 
[2026-08-21 17:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:21:03] 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-08-21 17:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552087040001,"66":27865,"7":206,"80":35072,"24":3,"16":388382575338455040,"45":-3993215103549085696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552087040001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:21:03] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:21:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388382575338455040,"km_value":388382575338455.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3993215103549085696,"description":"Unknown IO ID 45"} 
[2026-08-21 17:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552087040001,"power":27865,"unknown_7":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-3993215103549085696}} 
[2026-08-21 17:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":159195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:21:03] local.INFO: GPS data processed {"connection_id":159195,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:21:03] local.INFO: Acknowledgment sent {"connection_id":159195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:21:06] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:21:06] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:21:06] local.INFO: IMEI packet received {"connection_id":161749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":161749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:21:07] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024273b50012d19fe40071ffb800025006b2a..."} 
[2026-08-21 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024273b50012d19fe40071ffb800025006b2a..."} 
[2026-08-21 17:21:07] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024273b50012d19fe40071ffb800025006b2a..."} 
[2026-08-21 17:21:07] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:21:07] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756678208,"raw_latitude":119536512,"longitude_deg":75.6678208,"latitude_deg":11.9536512,"altitude":37,"angle":107,"satellites":42,"speed":36,"hex_longitude":"2d19fe40","hex_latitude":"071ffb80","is_valid_coordinates":true} 
[2026-08-21 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552113152001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14246870377299968,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869345719681013760,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312946000,"timestamp_ms":1787312946000,"timestamp_seconds":1787312946,"priority":1,"record_length":96,"hex_timestamp":"000001a024273b50"} 
[2026-08-21 17:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 17:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552113152001,"66":14113,"101":206,"83":41984,"24":36,"16":14246870377299968,"45":1869345719681013760},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552113152001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14246870377299968,"km_value":14246870377299.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869345719681013760,"description":"Unknown IO ID 45"} 
[2026-08-21 17:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552113152001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1869345719681013760}} 
[2026-08-21 17:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:21:07] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:21:07] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:21:34] local.INFO: TCP Data received {"connection_id":159195,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024264150012dc88c40053156a0000f015e2c..."} 
[2026-08-21 17:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024264150012dc88c40053156a0000f015e2c..."} 
[2026-08-21 17:21:34] local.INFO: Processing buffer {"connection_id":159195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024264150012dc88c40053156a0000f015e2c..."} 
[2026-08-21 17:21:34] local.INFO: Packet analysis {"connection_id":159195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:21:34] local.INFO: Extracted packet for processing {"connection_id":159195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":768117824,"raw_latitude":87119520,"longitude_deg":76.8117824,"latitude_deg":8.711952,"altitude":15,"angle":350,"satellites":44,"speed":15,"hex_longitude":"2dc88c40","hex_latitude":"053156a0","is_valid_coordinates":true} 
[2026-08-21 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552092416001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388382768611983360,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3994622478431832064,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312882000,"timestamp_ms":1787312882000,"timestamp_seconds":1787312882,"priority":1,"record_length":96,"hex_timestamp":"000001a024264150"} 
[2026-08-21 17:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:21:34] 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-08-21 17:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552092416001,"66":27843,"7":206,"80":35072,"24":15,"16":388382768611983360,"45":-3994622478431832064},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552092416001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:21:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:21:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388382768611983360,"km_value":388382768611983.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3994622478431832064,"description":"Unknown IO ID 45"} 
[2026-08-21 17:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552092416001,"power":27843,"unknown_7":206,"unknown_80":35072,"ignition":15,"odometer":null,"unknown_45":-3994622478431832064}} 
[2026-08-21 17:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":159195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:21:34] local.INFO: GPS data processed {"connection_id":159195,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:21:34] local.INFO: Acknowledgment sent {"connection_id":159195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:21:38] local.INFO: TCP Data received {"connection_id":161749,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02428e130012d1ac4c0071f90080036009a27..."} 
[2026-08-21 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02428e130012d1ac4c0071f90080036009a27..."} 
[2026-08-21 17:21:38] local.INFO: Processing buffer {"connection_id":161749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02428e130012d1ac4c0071f90080036009a27..."} 
[2026-08-21 17:21:38] local.INFO: Packet analysis {"connection_id":161749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:21:38] local.INFO: Extracted packet for processing {"connection_id":161749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756729024,"raw_latitude":119509000,"longitude_deg":75.6729024,"latitude_deg":11.9509,"altitude":54,"angle":154,"satellites":39,"speed":20,"hex_longitude":"2d1ac4c0","hex_latitude":"071f9008","is_valid_coordinates":true} 
[2026-08-21 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552141568001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14249769480224768,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928596202271651840,"note":"Value kept but may cause issues"} 
[2026-08-21 17:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313054000,"timestamp_ms":1787313054000,"timestamp_seconds":1787313054,"priority":1,"record_length":96,"hex_timestamp":"000001a02428e130"} 
[2026-08-21 17:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-21 17:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552141568001,"66":13167,"101":206,"83":41984,"24":20,"16":14249769480224768,"45":1928596202271651840},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552141568001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:21:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14249769480224768,"km_value":14249769480224.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928596202271651840,"description":"Unknown IO ID 45"} 
[2026-08-21 17:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552141568001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1928596202271651840}} 
[2026-08-21 17:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":161749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:21:38] local.INFO: GPS data processed {"connection_id":161749,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:21:38] local.INFO: Acknowledgment sent {"connection_id":161749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:21:57] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:21:57] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:21:57] local.INFO: IMEI packet received {"connection_id":159485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":159485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:22:00] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:00] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:00] local.INFO: IMEI packet received {"connection_id":159196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":159196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:22:01] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:01] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:01] local.INFO: IMEI packet received {"connection_id":159196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":159196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:22:02] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:22:02] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:22:02] local.INFO: IMEI packet received {"connection_id":159485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":159485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:22:03] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024269358012dc88ac005316cc0001201662c..."} 
[2026-08-21 17:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024269358012dc88ac005316cc0001201662c..."} 
[2026-08-21 17:22:03] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024269358012dc88ac005316cc0001201662c..."} 
[2026-08-21 17:22:03] local.INFO: Packet analysis {"connection_id":159485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:22:03] local.INFO: Extracted packet for processing {"connection_id":159485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":768117440,"raw_latitude":87125184,"longitude_deg":76.811744,"latitude_deg":8.7125184,"altitude":18,"angle":358,"satellites":44,"speed":12,"hex_longitude":"2dc88ac0","hex_latitude":"05316cc0","is_valid_coordinates":true} 
[2026-08-21 17:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552097792001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388383047784857600,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3995748378337697792,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787312903000,"timestamp_ms":1787312903000,"timestamp_seconds":1787312903,"priority":1,"record_length":96,"hex_timestamp":"000001a024269358"} 
[2026-08-21 17:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552097792001,"66":27843,"7":206,"80":35072,"24":12,"16":388383047784857600,"45":-3995748378337697792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552097792001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:22:03] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:22:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388383047784857600,"km_value":388383047784857.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3995748378337697792,"description":"Unknown IO ID 45"} 
[2026-08-21 17:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552097792001,"power":27843,"unknown_7":206,"unknown_80":35072,"ignition":12,"odometer":null,"unknown_45":-3995748378337697792}} 
[2026-08-21 17:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":159485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:22:03] local.INFO: GPS data processed {"connection_id":159485,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:22:03] local.INFO: Acknowledgment sent {"connection_id":159485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:22:06] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:06] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:22:06] local.INFO: IMEI packet received {"connection_id":159196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":159196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:22:07] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02428e518012d1ac580071f8e20003600a927..."} 
[2026-08-21 17:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02428e518012d1ac580071f8e20003600a927..."} 
[2026-08-21 17:22:07] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02428e518012d1ac580071f8e20003600a927..."} 
[2026-08-21 17:22:07] local.INFO: Packet analysis {"connection_id":159196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:22:07] local.INFO: Extracted packet for processing {"connection_id":159196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756729216,"raw_latitude":119508512,"longitude_deg":75.6729216,"latitude_deg":11.9508512,"altitude":54,"angle":169,"satellites":39,"speed":20,"hex_longitude":"2d1ac580","hex_latitude":"071f8e20","is_valid_coordinates":true} 
[2026-08-21 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552141824001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14249790955061248,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1928877677248251904,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787313055000,"timestamp_ms":1787313055000,"timestamp_seconds":1787313055,"priority":1,"record_length":96,"hex_timestamp":"000001a02428e518"} 
[2026-08-21 17:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 17:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552141824001,"66":13167,"101":206,"83":41984,"24":20,"16":14249790955061248,"45":1928877677248251904},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552141824001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:22:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14249790955061248,"km_value":14249790955061.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1928877677248251904,"description":"Unknown IO ID 45"} 
[2026-08-21 17:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552141824001,"power":13167,"unknown_101":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1928877677248251904}} 
[2026-08-21 17:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":159196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:22:07] local.INFO: GPS data processed {"connection_id":159196,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:22:07] local.INFO: Acknowledgment sent {"connection_id":159196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:22:27] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:22:27] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:22:27] local.INFO: IMEI packet received {"connection_id":159486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":159486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:22:32] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:22:32] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:22:32] local.INFO: IMEI packet received {"connection_id":159486,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":159486,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:22:34] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.109.136.3","data_length":327,"data_hex":"000000000000013b8e040000000000006d600100000000000000000000000000..."} 
[2026-08-21 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":327,"packet_hex":"000000000000013b8e040000000000006d600100000000000000000000000000..."} 
[2026-08-21 17:22:34] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":327,"buffer_hex":"000000000000013b8e040000000000006d600100000000000000000000000000..."} 
[2026-08-21 17:22:34] local.INFO: Packet analysis {"connection_id":159486,"data_field_length":315,"total_packet_length":327,"buffer_length":327,"packet_hex_start":"000000000000013b8e04000000000000"} 
[2026-08-21 17:22:34] local.INFO: Extracted packet for processing {"connection_id":159486,"packet_length":327,"remaining_buffer_length":0,"packet_hex_start":"000000000000013b8e04000000000000"} 
[2026-08-21 17:22:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":327,"current_offset":40} 
[2026-08-21 17:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121744206669545472,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:34] 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-08-21 17:22:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":28000,"timestamp_seconds":28,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:22:34] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":4,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:22:34] local.INFO: AVL Records parsing completed {"total_expected":4,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 17:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159486,"avl_records_parsed":0,"avl_records_expected":4,"crc_valid":false} 
[2026-08-21 17:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 17:22:34] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 17:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":159486,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 17:22:34] local.ERROR: GPS data processing failed {"connection_id":159486,"error":"No valid data to process"} 
[2026-08-21 17:22:34] local.INFO: Acknowledgment sent {"connection_id":159486,"records_acknowledged":0,"records_expected":4,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 17:22:34] local.INFO: TCP Data received {"connection_id":159485,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02426ca08012dc88b4005317aa0001400082d..."} 
[2026-08-21 17:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02426ca08012dc88b4005317aa0001400082d..."} 
[2026-08-21 17:22:34] local.INFO: Processing buffer {"connection_id":159485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02426ca08012dc88b4005317aa0001400082d..."} 
[2026-08-21 17:22:34] local.INFO: Packet analysis {"connection_id":159485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:22:34] local.INFO: Extracted packet for processing {"connection_id":159485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:22:34] local.INFO: GPS Element Parsed {"raw_longitude":768117568,"raw_latitude":87128736,"longitude_deg":76.8117568,"latitude_deg":8.7128736,"altitude":20,"angle":8,"satellites":45,"speed":13,"hex_longitude":"2dc88b40","hex_latitude":"05317aa0","is_valid_coordinates":true} 
[2026-08-21 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552103168001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388383219583549440,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3996170590801313792,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787312917000,"timestamp_ms":1787312917000,"timestamp_seconds":1787312917,"priority":1,"record_length":96,"hex_timestamp":"000001a02426ca08"} 
[2026-08-21 17:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552103168001,"66":27919,"7":206,"80":35072,"24":13,"16":388383219583549440,"45":-3996170590801313792},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552103168001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:22:34] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:22:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388383219583549440,"km_value":388383219583549.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3996170590801313792,"description":"Unknown IO ID 45"} 
[2026-08-21 17:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552103168001,"power":27919,"unknown_7":206,"unknown_80":35072,"ignition":13,"odometer":null,"unknown_45":-3996170590801313792}} 
[2026-08-21 17:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":159485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:22:34] local.INFO: GPS data processed {"connection_id":159485,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:22:34] local.INFO: Acknowledgment sent {"connection_id":159485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:22:38] local.INFO: TCP Data received {"connection_id":159196,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02428e900012d1ac5c0071f8c28003600b527..."} 
[2026-08-21 17:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02428e900012d1ac5c0071f8c28003600b527..."} 
[2026-08-21 17:22:38] local.INFO: Processing buffer {"connection_id":159196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02428e900012d1ac5c0071f8c28003600b527..."} 
[2026-08-21 17:22:38] local.INFO: Packet analysis {"connection_id":159196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:22:38] local.INFO: Extracted packet for processing {"connection_id":159196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756729280,"raw_latitude":119508008,"longitude_deg":75.672928,"latitude_deg":11.9508008,"altitude":54,"angle":181,"satellites":39,"speed":19,"hex_longitude":"2d1ac5c0","hex_latitude":"071f8c28","is_valid_coordinates":true} 
[2026-08-21 17:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552142080001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14249816724865024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929088783480659968,"note":"Value kept but may cause issues"} 
[2026-08-21 17:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313056000,"timestamp_ms":1787313056000,"timestamp_seconds":1787313056,"priority":1,"record_length":96,"hex_timestamp":"000001a02428e900"} 
[2026-08-21 17:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 17:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552142080001,"66":13961,"101":206,"83":41984,"24":19,"16":14249816724865024,"45":1929088783480659968},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552142080001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:22:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14249816724865024,"km_value":14249816724865.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929088783480659968,"description":"Unknown IO ID 45"} 
[2026-08-21 17:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552142080001,"power":13961,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1929088783480659968}} 
[2026-08-21 17:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":159196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:22:38] local.INFO: GPS data processed {"connection_id":159196,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:22:38] local.INFO: Acknowledgment sent {"connection_id":159196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:23:00] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:00] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:00] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:23:01] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:01] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:01] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:23:02] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:02] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:02] local.INFO: IMEI packet received {"connection_id":161750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":161750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:23:03] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:03] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:03] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:23:04] local.INFO: TCP Data received {"connection_id":161751,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161751,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:04] local.INFO: Processing buffer {"connection_id":161751,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:23:04] local.INFO: IMEI packet received {"connection_id":161751,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":161751,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:23:07] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:07] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:07] local.INFO: IMEI packet received {"connection_id":161750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":161750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:23:07] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e01000000000000f2300100000000000000000000000000..."} 
[2026-08-21 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":93,"packet_hex":"00000000000000518e01000000000000f2300100000000000000000000000000..."} 
[2026-08-21 17:23:07] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":93,"buffer_hex":"00000000000000518e01000000000000f2300100000000000000000000000000..."} 
[2026-08-21 17:23:07] local.INFO: Packet analysis {"connection_id":159486,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-08-21 17:23:07] local.INFO: Extracted packet for processing {"connection_id":159486,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000000"} 
[2026-08-21 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-21 17:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:23:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:23:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 17:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159486,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 17:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 17:23:07] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 17:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":159486,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 17:23:07] local.ERROR: GPS data processing failed {"connection_id":159486,"error":"No valid data to process"} 
[2026-08-21 17:23:07] local.INFO: Acknowledgment sent {"connection_id":159486,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 17:23:07] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02426f8e8012dc88ec005318710001400132d..."} 
[2026-08-21 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02426f8e8012dc88ec005318710001400132d..."} 
[2026-08-21 17:23:07] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02426f8e8012dc88ec005318710001400132d..."} 
[2026-08-21 17:23:07] local.INFO: Packet analysis {"connection_id":161750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:23:07] local.INFO: Extracted packet for processing {"connection_id":161750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02426"} 
[2026-08-21 17:23:07] local.INFO: GPS Element Parsed {"raw_longitude":768118464,"raw_latitude":87131920,"longitude_deg":76.8118464,"latitude_deg":8.713192,"altitude":20,"angle":19,"satellites":45,"speed":9,"hex_longitude":"2dc88ec0","hex_latitude":"05318710","is_valid_coordinates":true} 
[2026-08-21 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552106752001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388383378497339392,"note":"Value kept but may cause issues"} 
[2026-08-21 17:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3996029853312049152,"note":"Value kept but may cause issues"} 
[2026-08-21 17:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787312929000,"timestamp_ms":1787312929000,"timestamp_seconds":1787312929,"priority":1,"record_length":96,"hex_timestamp":"000001a02426f8e8"} 
[2026-08-21 17:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:23: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-08-21 17:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552106752001,"66":27908,"7":206,"80":35072,"24":9,"16":388383378497339392,"45":-3996029853312049152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552106752001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388383378497339392,"km_value":388383378497339.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3996029853312049152,"description":"Unknown IO ID 45"} 
[2026-08-21 17:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552106752001,"power":27908,"unknown_7":206,"unknown_80":35072,"ignition":9,"odometer":null,"unknown_45":-3996029853312049152}} 
[2026-08-21 17:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":161750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:23:07] local.INFO: GPS data processed {"connection_id":161750,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:23:07] local.INFO: Acknowledgment sent {"connection_id":161750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:23:15] local.INFO: TCP Data received {"connection_id":161750,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024274af0012dc895c005319958001500162b..."} 
[2026-08-21 17:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024274af0012dc895c005319958001500162b..."} 
[2026-08-21 17:23:15] local.INFO: Processing buffer {"connection_id":161750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024274af0012dc895c005319958001500162b..."} 
[2026-08-21 17:23:15] local.INFO: Packet analysis {"connection_id":161750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:23:15] local.INFO: Extracted packet for processing {"connection_id":161750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":768120256,"raw_latitude":87136600,"longitude_deg":76.8120256,"latitude_deg":8.71366,"altitude":21,"angle":22,"satellites":43,"speed":12,"hex_longitude":"2dc895c0","hex_latitude":"05319958","is_valid_coordinates":true} 
[2026-08-21 17:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552109824001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388383623310475264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3995044690892746752,"note":"Value kept but may cause issues"} 
[2026-08-21 17:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787312950000,"timestamp_ms":1787312950000,"timestamp_seconds":1787312950,"priority":1,"record_length":96,"hex_timestamp":"000001a024274af0"} 
[2026-08-21 17:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552109824001,"66":27843,"7":206,"80":35072,"24":12,"16":388383623310475264,"45":-3995044690892746752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552109824001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:23:15] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:23:15] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388383623310475264,"km_value":388383623310475.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3995044690892746752,"description":"Unknown IO ID 45"} 
[2026-08-21 17:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552109824001,"power":27843,"unknown_7":206,"unknown_80":35072,"ignition":12,"odometer":null,"unknown_45":-3995044690892746752}} 
[2026-08-21 17:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":161750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:23:15] local.INFO: GPS data processed {"connection_id":161750,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:23:15] local.INFO: Acknowledgment sent {"connection_id":161750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:23:38] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e0100000000000144380100000000000000000000000000..."} 
[2026-08-21 17:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":93,"packet_hex":"00000000000000518e0100000000000144380100000000000000000000000000..."} 
[2026-08-21 17:23:38] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000144380100000000000000000000000000..."} 
[2026-08-21 17:23:38] local.INFO: Packet analysis {"connection_id":159486,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-21 17:23:38] local.INFO: Extracted packet for processing {"connection_id":159486,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-21 17:23:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 17:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-21 17:23: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-08-21 17:23: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-08-21 17:23:38] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:23:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 17:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159486,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 17:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 17:23:38] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 17:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":159486,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 17:23:38] local.ERROR: GPS data processing failed {"connection_id":159486,"error":"No valid data to process"} 
[2026-08-21 17:23:38] local.INFO: Acknowledgment sent {"connection_id":159486,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 17:23:57] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:57] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:23:57] local.INFO: IMEI packet received {"connection_id":159487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":159487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:24:00] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:24:00] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:24:00] local.INFO: IMEI packet received {"connection_id":159487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":159487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:24:01] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024279cf8012dc8a1400531b460001700152c..."} 
[2026-08-21 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024279cf8012dc8a1400531b460001700152c..."} 
[2026-08-21 17:24:01] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024279cf8012dc8a1400531b460001700152c..."} 
[2026-08-21 17:24:01] local.INFO: Packet analysis {"connection_id":159487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:24:01] local.INFO: Extracted packet for processing {"connection_id":159487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":768123200,"raw_latitude":87143520,"longitude_deg":76.81232,"latitude_deg":8.714352,"altitude":23,"angle":21,"satellites":44,"speed":5,"hex_longitude":"2dc8a140","hex_latitude":"0531b460","is_valid_coordinates":true} 
[2026-08-21 17:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552115200001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388383988382695424,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3993074366054574080,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787312971000,"timestamp_ms":1787312971000,"timestamp_seconds":1787312971,"priority":1,"record_length":96,"hex_timestamp":"000001a024279cf8"} 
[2026-08-21 17:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17: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-08-21 17: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":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552115200001,"66":27865,"7":206,"80":35072,"24":5,"16":388383988382695424,"45":-3993074366054574080},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552115200001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:24:01] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:24:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388383988382695424,"km_value":388383988382695.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3993074366054574080,"description":"Unknown IO ID 45"} 
[2026-08-21 17:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552115200001,"power":27865,"unknown_7":206,"unknown_80":35072,"ignition":5,"odometer":null,"unknown_45":-3993074366054574080}} 
[2026-08-21 17:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":159487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:24:01] local.INFO: GPS data processed {"connection_id":159487,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:24:01] local.INFO: Acknowledgment sent {"connection_id":159487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:24:02] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02427ef00012dc8a7000531c3a0001a00152c..."} 
[2026-08-21 17:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02427ef00012dc8a7000531c3a0001a00152c..."} 
[2026-08-21 17:24:02] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02427ef00012dc8a7000531c3a0001a00152c..."} 
[2026-08-21 17:24:02] local.INFO: Packet analysis {"connection_id":159487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:24:02] local.INFO: Extracted packet for processing {"connection_id":159487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02427"} 
[2026-08-21 17:24:02] local.INFO: GPS Element Parsed {"raw_longitude":768124672,"raw_latitude":87147424,"longitude_deg":76.8124672,"latitude_deg":8.7147424,"altitude":26,"angle":21,"satellites":44,"speed":12,"hex_longitude":"2dc8a700","hex_latitude":"0531c3a0","is_valid_coordinates":true} 
[2026-08-21 17:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552120576001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388384194541125632,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3989837403820630016,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787312992000,"timestamp_ms":1787312992000,"timestamp_seconds":1787312992,"priority":1,"record_length":96,"hex_timestamp":"000001a02427ef00"} 
[2026-08-21 17:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17: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-08-21 17: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":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:24:02] 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-08-21 17:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552120576001,"66":27800,"7":206,"80":35072,"24":12,"16":388384194541125632,"45":-3989837403820630016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,80,24,16,45]} 
[2026-08-21 17:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552120576001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:24:02] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-08-21 17:24:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388384194541125632,"km_value":388384194541125.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3989837403820630016,"description":"Unknown IO ID 45"} 
[2026-08-21 17:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552120576001,"power":27800,"unknown_7":206,"unknown_80":35072,"ignition":12,"odometer":null,"unknown_45":-3989837403820630016}} 
[2026-08-21 17:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":159487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:24:02] local.INFO: GPS data processed {"connection_id":159487,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:24:02] local.INFO: Acknowledgment sent {"connection_id":159487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:24:10] local.INFO: TCP Data received {"connection_id":159486,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e0100000000000196400100000000000000000000000000..."} 
[2026-08-21 17:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159486,"packet_length":93,"packet_hex":"00000000000000518e0100000000000196400100000000000000000000000000..."} 
[2026-08-21 17:24:10] local.INFO: Processing buffer {"connection_id":159486,"buffer_length":93,"buffer_hex":"00000000000000518e0100000000000196400100000000000000000000000000..."} 
[2026-08-21 17:24:10] local.INFO: Packet analysis {"connection_id":159486,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-21 17:24:10] local.INFO: Extracted packet for processing {"connection_id":159486,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000000000001"} 
[2026-08-21 17:24:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-08-21 17:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-21 17:24: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-08-21 17:24: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-08-21 17:24:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:24:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 17:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159486,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 17:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159486,"device_imei":"862567072406932","avl_records_count":0} 
[2026-08-21 17:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 17:24:10] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 17:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":159486,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 17:24:10] local.ERROR: GPS data processing failed {"connection_id":159486,"error":"No valid data to process"} 
[2026-08-21 17:24:10] local.INFO: Acknowledgment sent {"connection_id":159486,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 17:24:33] local.INFO: TCP Data received {"connection_id":159487,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024284108012dc8b1400531ddf8001d00122c..."} 
[2026-08-21 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024284108012dc8b1400531ddf8001d00122c..."} 
[2026-08-21 17:24:33] local.INFO: Processing buffer {"connection_id":159487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024284108012dc8b1400531ddf8001d00122c..."} 
[2026-08-21 17:24:33] local.INFO: Packet analysis {"connection_id":159487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:24:33] local.INFO: Extracted packet for processing {"connection_id":159487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:24:33] local.INFO: GPS Element Parsed {"raw_longitude":768127296,"raw_latitude":87154168,"longitude_deg":76.8127296,"latitude_deg":8.7154168,"altitude":29,"angle":18,"satellites":44,"speed":18,"hex_longitude":"2dc8b140","hex_latitude":"0531ddf8","is_valid_coordinates":true} 
[2026-08-21 17:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552125952001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388384546728443904,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3988218922703544320,"note":"Value kept but may cause issues"} 
[2026-08-21 17:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787313013000,"timestamp_ms":1787313013000,"timestamp_seconds":1787313013,"priority":1,"record_length":96,"hex_timestamp":"000001a024284108"} 
[2026-08-21 17:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:24:33] 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-08-21 17:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552125952001,"66":27930,"22":206,"80":35072,"24":18,"16":388384546728443904,"45":-3988218922703544320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552125952001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:24:33] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:24:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388384546728443904,"km_value":388384546728443.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3988218922703544320,"description":"Unknown IO ID 45"} 
[2026-08-21 17:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552125952001,"power":27930,"unknown_22":206,"unknown_80":35072,"ignition":18,"odometer":null,"unknown_45":-3988218922703544320}} 
[2026-08-21 17:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":159487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:24:33] local.INFO: GPS data processed {"connection_id":159487,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:24:33] local.INFO: Acknowledgment sent {"connection_id":159487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:24:57] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:24:57] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:24:57] local.INFO: IMEI packet received {"connection_id":161752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":161752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:25:02] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:25:02] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:25:02] local.INFO: IMEI packet received {"connection_id":161752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":161752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:25:03] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024289310012dc8ba400531fd280022000c2d..."} 
[2026-08-21 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024289310012dc8ba400531fd280022000c2d..."} 
[2026-08-21 17:25:03] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024289310012dc8ba400531fd280022000c2d..."} 
[2026-08-21 17:25:03] local.INFO: Packet analysis {"connection_id":161752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:25:03] local.INFO: Extracted packet for processing {"connection_id":161752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":768129600,"raw_latitude":87162152,"longitude_deg":76.81296,"latitude_deg":8.7162152,"altitude":34,"angle":12,"satellites":45,"speed":20,"hex_longitude":"2dc8ba40","hex_latitude":"0531fd28","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552131328001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388384950455369728,"note":"Value kept but may cause issues"} 
[2026-08-21 17:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3985333804190533632,"note":"Value kept but may cause issues"} 
[2026-08-21 17:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313034000,"timestamp_ms":1787313034000,"timestamp_seconds":1787313034,"priority":1,"record_length":96,"hex_timestamp":"000001a024289310"} 
[2026-08-21 17:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:25:03] 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-08-21 17:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552131328001,"66":27865,"22":206,"80":35072,"24":20,"16":388384950455369728,"45":-3985333804190533632},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552131328001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:25:03] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:25:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388384950455369728,"km_value":388384950455369.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3985333804190533632,"description":"Unknown IO ID 45"} 
[2026-08-21 17:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552131328001,"power":27865,"unknown_22":206,"unknown_80":35072,"ignition":20,"odometer":null,"unknown_45":-3985333804190533632}} 
[2026-08-21 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":161752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:25:03] local.INFO: GPS data processed {"connection_id":161752,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:25:03] local.INFO: Acknowledgment sent {"connection_id":161752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:25:34] local.INFO: TCP Data received {"connection_id":161752,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02428e518012dc8bd4005321188002200072d..."} 
[2026-08-21 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02428e518012dc8bd4005321188002200072d..."} 
[2026-08-21 17:25:34] local.INFO: Processing buffer {"connection_id":161752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02428e518012dc8bd4005321188002200072d..."} 
[2026-08-21 17:25:34] local.INFO: Packet analysis {"connection_id":161752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:25:34] local.INFO: Extracted packet for processing {"connection_id":161752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02428"} 
[2026-08-21 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":768130368,"raw_latitude":87167368,"longitude_deg":76.8130368,"latitude_deg":8.7167368,"altitude":34,"angle":7,"satellites":45,"speed":3,"hex_longitude":"2dc8bd40","hex_latitude":"05321188","is_valid_coordinates":true} 
[2026-08-21 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552136704001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388385208153407488,"note":"Value kept but may cause issues"} 
[2026-08-21 17:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3982800529398093824,"note":"Value kept but may cause issues"} 
[2026-08-21 17:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787313055000,"timestamp_ms":1787313055000,"timestamp_seconds":1787313055,"priority":1,"record_length":96,"hex_timestamp":"000001a02428e518"} 
[2026-08-21 17:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:25:34] 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-08-21 17:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552136704001,"66":27995,"22":206,"80":35072,"24":3,"16":388385208153407488,"45":-3982800529398093824},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552136704001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:25:34] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:25:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388385208153407488,"km_value":388385208153407.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3982800529398093824,"description":"Unknown IO ID 45"} 
[2026-08-21 17:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552136704001,"power":27995,"unknown_22":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-3982800529398093824}} 
[2026-08-21 17:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:25:34] local.INFO: GPS data processed {"connection_id":161752,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:25:34] local.INFO: Acknowledgment sent {"connection_id":161752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:25:57] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:25:57] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:25:57] local.INFO: IMEI packet received {"connection_id":160383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":160383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:26:02] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:26:02] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:26:02] local.INFO: IMEI packet received {"connection_id":160383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":160383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:26:03] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024293720012dc8bd40053224b0002300002c..."} 
[2026-08-21 17:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024293720012dc8bd40053224b0002300002c..."} 
[2026-08-21 17:26:03] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024293720012dc8bd40053224b0002300002c..."} 
[2026-08-21 17:26:03] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02429"} 
[2026-08-21 17:26:03] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02429"} 
[2026-08-21 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":768130368,"raw_latitude":87172272,"longitude_deg":76.8130368,"latitude_deg":8.7172272,"altitude":35,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2dc8bd40","hex_latitude":"053224b0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552142080001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388385448671576064,"note":"Value kept but may cause issues"} 
[2026-08-21 17:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3981956104466626560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313076000,"timestamp_ms":1787313076000,"timestamp_seconds":1787313076,"priority":1,"record_length":96,"hex_timestamp":"000001a024293720"} 
[2026-08-21 17:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 17:26:03] 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-08-21 17: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-08-21 17:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552142080001,"66":28050,"22":206,"80":35072,"24":0,"16":388385448671576064,"45":-3981956104466626560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552142080001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:26:03] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:26:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388385448671576064,"km_value":388385448671576.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3981956104466626560,"description":"Unknown IO ID 45"} 
[2026-08-21 17:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552142080001,"power":28050,"unknown_22":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3981956104466626560}} 
[2026-08-21 17:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:26:03] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:26:03] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:26:34] local.INFO: TCP Data received {"connection_id":160383,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242cbd78012dc8bac0053242c8002d01622d..."} 
[2026-08-21 17:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242cbd78012dc8bac0053242c8002d01622d..."} 
[2026-08-21 17:26:34] local.INFO: Processing buffer {"connection_id":160383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242cbd78012dc8bac0053242c8002d01622d..."} 
[2026-08-21 17:26:34] local.INFO: Packet analysis {"connection_id":160383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242c"} 
[2026-08-21 17:26:34] local.INFO: Extracted packet for processing {"connection_id":160383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242c"} 
[2026-08-21 17:26:34] local.INFO: GPS Element Parsed {"raw_longitude":768129728,"raw_latitude":87179976,"longitude_deg":76.8129728,"latitude_deg":8.7179976,"altitude":45,"angle":354,"satellites":45,"speed":8,"hex_longitude":"2dc8bac0","hex_latitude":"053242c8","is_valid_coordinates":true} 
[2026-08-21 17:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552201216001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388385835218632704,"note":"Value kept but may cause issues"} 
[2026-08-21 17:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3982307948184963072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787313307000,"timestamp_ms":1787313307000,"timestamp_seconds":1787313307,"priority":1,"record_length":96,"hex_timestamp":"000001a0242cbd78"} 
[2026-08-21 17:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 17:26:34] 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-08-21 17:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552201216001,"66":27843,"22":206,"80":35072,"24":8,"16":388385835218632704,"45":-3982307948184963072},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552201216001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:26:34] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:26:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388385835218632704,"km_value":388385835218632.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3982307948184963072,"description":"Unknown IO ID 45"} 
[2026-08-21 17:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552201216001,"power":27843,"unknown_22":206,"unknown_80":35072,"ignition":8,"odometer":null,"unknown_45":-3982307948184963072}} 
[2026-08-21 17:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":160383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:26:34] local.INFO: GPS data processed {"connection_id":160383,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:26:34] local.INFO: Acknowledgment sent {"connection_id":160383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:26:57] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:26:57] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:26:57] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:27:02] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:27:02] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:27:02] local.INFO: IMEI packet received {"connection_id":160385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":160385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:27:03] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242d0f80012dc8ba4005325280002c01622c..."} 
[2026-08-21 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242d0f80012dc8ba4005325280002c01622c..."} 
[2026-08-21 17:27:03] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242d0f80012dc8ba4005325280002c01622c..."} 
[2026-08-21 17:27:03] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:03] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:03] local.INFO: GPS Element Parsed {"raw_longitude":768129600,"raw_latitude":87184000,"longitude_deg":76.81296,"latitude_deg":8.7184,"altitude":44,"angle":354,"satellites":44,"speed":5,"hex_longitude":"2dc8ba40","hex_latitude":"05325280","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552206592001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386032787128320,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3982659791905175552,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313328000,"timestamp_ms":1787313328000,"timestamp_seconds":1787313328,"priority":1,"record_length":96,"hex_timestamp":"000001a0242d0f80"} 
[2026-08-21 17:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552206592001,"66":27745,"22":206,"80":35072,"24":5,"16":388386032787128320,"45":-3982659791905175552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552206592001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:27:03] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:27:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386032787128320,"km_value":388386032787128.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3982659791905175552,"description":"Unknown IO ID 45"} 
[2026-08-21 17:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552206592001,"power":27745,"unknown_22":206,"unknown_80":35072,"ignition":5,"odometer":null,"unknown_45":-3982659791905175552}} 
[2026-08-21 17:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:27:03] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:27:03] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:27:22] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:22] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:22] local.INFO: IMEI packet received {"connection_id":159489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":159489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:27:23] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:23] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:23] local.INFO: IMEI packet received {"connection_id":159489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":159489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:27:27] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:27] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:27:27] local.INFO: IMEI packet received {"connection_id":159489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":159489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:27:27] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0242dbb60012d7b0e4005e327780010008410..."} 
[2026-08-21 17:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242dbb60012d7b0e4005e327780010008410..."} 
[2026-08-21 17:27:27] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242dbb60012d7b0e4005e327780010008410..."} 
[2026-08-21 17:27:27] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:27] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98772856,"longitude_deg":76.3039296,"latitude_deg":9.8772856,"altitude":16,"angle":132,"satellites":16,"speed":3,"hex_longitude":"2d7b0e40","hex_latitude":"05e32778","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552218880001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121748398557626368,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897904439296,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787313372000,"timestamp_ms":1787313372000,"timestamp_seconds":1787313372,"priority":1,"record_length":96,"hex_timestamp":"000001a0242dbb60"} 
[2026-08-21 17:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 17:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552218880001,"66":12972,"208":206,"85":15104,"24":3,"16":121748398557626368,"45":8866672897904439296},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 17:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552218880001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:27:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 17:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121748398557626368,"km_value":121748398557626.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897904439296,"description":"Unknown IO ID 45"} 
[2026-08-21 17:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552218880001,"power":12972,"unknown_208":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8866672897904439296}} 
[2026-08-21 17:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:27:28] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:27:28] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:27:33] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0242dbf48012d7b0e4005e327100010009a10..."} 
[2026-08-21 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242dbf48012d7b0e4005e327100010009a10..."} 
[2026-08-21 17:27:33] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242dbf48012d7b0e4005e327100010009a10..."} 
[2026-08-21 17:27:33] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:33] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763039296,"raw_latitude":98772752,"longitude_deg":76.3039296,"latitude_deg":9.8772752,"altitude":16,"angle":154,"satellites":16,"speed":4,"hex_longitude":"2d7b0e40","hex_latitude":"05e32710","is_valid_coordinates":true} 
[2026-08-21 17:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552223232001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121748407147560960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110369114112,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787313373000,"timestamp_ms":1787313373000,"timestamp_seconds":1787313373,"priority":1,"record_length":96,"hex_timestamp":"000001a0242dbf48"} 
[2026-08-21 17:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-21 17:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552223232001,"66":12972,"208":206,"85":15104,"24":4,"16":121748407147560960,"45":8867095110369114112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 17:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552223232001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:27:33] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 17:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121748407147560960,"km_value":121748407147560.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110369114112,"description":"Unknown IO ID 45"} 
[2026-08-21 17:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552223232001,"power":12972,"unknown_208":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8867095110369114112}} 
[2026-08-21 17:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:27:33] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:27:33] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:27:35] local.INFO: TCP Data received {"connection_id":160385,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242d6188012dc8b90005326048002d015e2c..."} 
[2026-08-21 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242d6188012dc8b90005326048002d015e2c..."} 
[2026-08-21 17:27:35] local.INFO: Processing buffer {"connection_id":160385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242d6188012dc8b90005326048002d015e2c..."} 
[2026-08-21 17:27:35] local.INFO: Packet analysis {"connection_id":160385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:35] local.INFO: Extracted packet for processing {"connection_id":160385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":768129280,"raw_latitude":87187528,"longitude_deg":76.812928,"latitude_deg":8.7187528,"altitude":45,"angle":350,"satellites":44,"speed":3,"hex_longitude":"2dc8b900","hex_latitude":"05326048","is_valid_coordinates":true} 
[2026-08-21 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552211968001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386208880787456,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3982800529392500736,"note":"Value kept but may cause issues"} 
[2026-08-21 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787313349000,"timestamp_ms":1787313349000,"timestamp_seconds":1787313349,"priority":1,"record_length":96,"hex_timestamp":"000001a0242d6188"} 
[2026-08-21 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:27: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-08-21 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 17:27:35] 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-08-21 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552211968001,"66":27745,"22":206,"80":35072,"24":3,"16":388386208880787456,"45":-3982800529392500736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552211968001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386208880787456,"km_value":388386208880787.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3982800529392500736,"description":"Unknown IO ID 45"} 
[2026-08-21 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552211968001,"power":27745,"unknown_22":206,"unknown_80":35072,"ignition":3,"odometer":null,"unknown_45":-3982800529392500736}} 
[2026-08-21 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":160385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:27:35] local.INFO: GPS data processed {"connection_id":160385,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:27:35] local.INFO: Acknowledgment sent {"connection_id":160385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:27:57] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:27:57] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:27:57] local.INFO: IMEI packet received {"connection_id":159197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":159197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:28:02] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:28:02] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:28:02] local.INFO: IMEI packet received {"connection_id":159197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":159197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:28:03] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242db390012dc8b900053260e8002d01642c..."} 
[2026-08-21 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242db390012dc8b900053260e8002d01642c..."} 
[2026-08-21 17:28:03] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242db390012dc8b900053260e8002d01642c..."} 
[2026-08-21 17:28:03] local.INFO: Packet analysis {"connection_id":159197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:28:03] local.INFO: Extracted packet for processing {"connection_id":159197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":768129280,"raw_latitude":87187688,"longitude_deg":76.812928,"latitude_deg":8.7187688,"altitude":45,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2dc8b900","hex_latitude":"053260e8","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552217344001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386213175754752,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983152373112485888,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313370000,"timestamp_ms":1787313370000,"timestamp_seconds":1787313370,"priority":1,"record_length":96,"hex_timestamp":"000001a0242db390"} 
[2026-08-21 17:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 17:28: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-08-21 17: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-08-21 17:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552217344001,"66":27691,"22":206,"80":35072,"24":0,"16":388386213175754752,"45":-3983152373112485888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552217344001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:28:03] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:28:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386213175754752,"km_value":388386213175754.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983152373112485888,"description":"Unknown IO ID 45"} 
[2026-08-21 17:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552217344001,"power":27691,"unknown_22":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3983152373112485888}} 
[2026-08-21 17:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":159197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:28:03] local.INFO: GPS data processed {"connection_id":159197,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:28:03] local.INFO: Acknowledgment sent {"connection_id":159197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:28:04] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0242dc718012d7b0ec005e32608001000a710..."} 
[2026-08-21 17:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242dc718012d7b0ec005e32608001000a710..."} 
[2026-08-21 17:28:04] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242dc718012d7b0ec005e32608001000a710..."} 
[2026-08-21 17:28:04] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:28:04] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:28:04] local.INFO: GPS Element Parsed {"raw_longitude":763039424,"raw_latitude":98772488,"longitude_deg":76.3039424,"latitude_deg":9.8772488,"altitude":16,"angle":167,"satellites":16,"speed":5,"hex_longitude":"2d7b0ec0","hex_latitude":"05e32608","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552223488001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121748420032462848,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867095110369087488,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787313375000,"timestamp_ms":1787313375000,"timestamp_seconds":1787313375,"priority":1,"record_length":96,"hex_timestamp":"000001a0242dc718"} 
[2026-08-21 17:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:28: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-08-21 17: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-08-21 17:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552223488001,"66":13200,"208":206,"85":15104,"24":5,"16":121748420032462848,"45":8867095110369087488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 17:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552223488001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:28:04] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 17:28:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121748420032462848,"km_value":121748420032462.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867095110369087488,"description":"Unknown IO ID 45"} 
[2026-08-21 17:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552223488001,"power":13200,"unknown_208":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8867095110369087488}} 
[2026-08-21 17:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:28:04] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:28:04] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:28:06] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:28:06] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:28:06] local.INFO: IMEI packet received {"connection_id":161754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":161754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:28:07] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242e0d68012d1a5ac00720e4e80040007f29..."} 
[2026-08-21 17:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242e0d68012d1a5ac00720e4e80040007f29..."} 
[2026-08-21 17:28:07] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242e0d68012d1a5ac00720e4e80040007f29..."} 
[2026-08-21 17:28:07] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:28:07] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756701888,"raw_latitude":119596264,"longitude_deg":75.6701888,"latitude_deg":11.9596264,"altitude":64,"angle":127,"satellites":41,"speed":18,"hex_longitude":"2d1a5ac0","hex_latitude":"0720e4e8","is_valid_coordinates":true} 
[2026-08-21 17:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552227072001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258093126844416,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896508054949208064,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787313393000,"timestamp_ms":1787313393000,"timestamp_seconds":1787313393,"priority":1,"record_length":96,"hex_timestamp":"000001a0242e0d68"} 
[2026-08-21 17:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 17:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552227072001,"66":13037,"103":206,"83":41984,"24":18,"16":14258093126844416,"45":1896508054949208064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552227072001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:28:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:28:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258093126844416,"km_value":14258093126844.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896508054949208064,"description":"Unknown IO ID 45"} 
[2026-08-21 17:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552227072001,"power":13037,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1896508054949208064}} 
[2026-08-21 17:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:28:07] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:28:07] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:28:34] local.INFO: TCP Data received {"connection_id":159197,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242e0598012dc8b900053260e8002d01642c..."} 
[2026-08-21 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242e0598012dc8b900053260e8002d01642c..."} 
[2026-08-21 17:28:34] local.INFO: Processing buffer {"connection_id":159197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242e0598012dc8b900053260e8002d01642c..."} 
[2026-08-21 17:28:34] local.INFO: Packet analysis {"connection_id":159197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:28:34] local.INFO: Extracted packet for processing {"connection_id":159197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":768129280,"raw_latitude":87187688,"longitude_deg":76.812928,"latitude_deg":8.7187688,"altitude":45,"angle":356,"satellites":44,"speed":0,"hex_longitude":"2dc8b900","hex_latitude":"053260e8","is_valid_coordinates":true} 
[2026-08-21 17:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552222720001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386213175754752,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983152373112444928,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787313391000,"timestamp_ms":1787313391000,"timestamp_seconds":1787313391,"priority":1,"record_length":96,"hex_timestamp":"000001a0242e0598"} 
[2026-08-21 17:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 17:28: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-08-21 17:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552222720001,"66":27821,"22":206,"80":35072,"24":0,"16":388386213175754752,"45":-3983152373112444928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552222720001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:28:34] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:28:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386213175754752,"km_value":388386213175754.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983152373112444928,"description":"Unknown IO ID 45"} 
[2026-08-21 17:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552222720001,"power":27821,"unknown_22":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3983152373112444928}} 
[2026-08-21 17:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":159197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:28:34] local.INFO: GPS data processed {"connection_id":159197,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:28:34] local.INFO: Acknowledgment sent {"connection_id":159197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:28:36] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0242dd6b8012d7b0f0005e322a0001000b510..."} 
[2026-08-21 17:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242dd6b8012d7b0f0005e322a0001000b510..."} 
[2026-08-21 17:28:36] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242dd6b8012d7b0f0005e322a0001000b510..."} 
[2026-08-21 17:28:36] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:28:36] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":98771616,"longitude_deg":76.3039488,"latitude_deg":9.8771616,"altitude":16,"angle":181,"satellites":16,"speed":6,"hex_longitude":"2d7b0f00","hex_latitude":"05e322a0","is_valid_coordinates":true} 
[2026-08-21 17:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552224000001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121748462982135808,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867235847857375232,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787313379000,"timestamp_ms":1787313379000,"timestamp_seconds":1787313379,"priority":1,"record_length":96,"hex_timestamp":"000001a0242dd6b8"} 
[2026-08-21 17:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-08-21 17:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552224000001,"66":12917,"208":206,"85":15104,"24":6,"16":121748462982135808,"45":8867235847857375232},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 17:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552224000001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:28:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 17:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121748462982135808,"km_value":121748462982135.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867235847857375232,"description":"Unknown IO ID 45"} 
[2026-08-21 17:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552224000001,"power":12917,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8867235847857375232}} 
[2026-08-21 17:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:28:36] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:28:36] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:28:38] local.INFO: TCP Data received {"connection_id":161754,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242e3090012d1a67800720d9280045008c27..."} 
[2026-08-21 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242e3090012d1a67800720d9280045008c27..."} 
[2026-08-21 17:28:38] local.INFO: Processing buffer {"connection_id":161754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242e3090012d1a67800720d9280045008c27..."} 
[2026-08-21 17:28:38] local.INFO: Packet analysis {"connection_id":161754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:28:38] local.INFO: Extracted packet for processing {"connection_id":161754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756705152,"raw_latitude":119593256,"longitude_deg":75.6705152,"latitude_deg":11.9593256,"altitude":69,"angle":140,"satellites":39,"speed":19,"hex_longitude":"2d1a6780","hex_latitude":"0720d928","is_valid_coordinates":true} 
[2026-08-21 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552228608001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258307875209216,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899041329739261952,"note":"Value kept but may cause issues"} 
[2026-08-21 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313402000,"timestamp_ms":1787313402000,"timestamp_seconds":1787313402,"priority":1,"record_length":96,"hex_timestamp":"000001a0242e3090"} 
[2026-08-21 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 17:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552228608001,"66":12950,"103":206,"83":41984,"24":19,"16":14258307875209216,"45":1899041329739261952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552228608001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:28:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258307875209216,"km_value":14258307875209.217,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899041329739261952,"description":"Unknown IO ID 45"} 
[2026-08-21 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552228608001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1899041329739261952}} 
[2026-08-21 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":161754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:28:38] local.INFO: GPS data processed {"connection_id":161754,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:28:38] local.INFO: Acknowledgment sent {"connection_id":161754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:28:57] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:28:57] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:28:57] local.INFO: IMEI packet received {"connection_id":159198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":159198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:29:02] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:02] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:02] local.INFO: IMEI packet received {"connection_id":161755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":161755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:29:02] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:29:02] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:29:02] local.INFO: IMEI packet received {"connection_id":159198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":159198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:29:03] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242e57a0012dc8b840053267a0002a01602b..."} 
[2026-08-21 17:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242e57a0012dc8b840053267a0002a01602b..."} 
[2026-08-21 17:29:03] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242e57a0012dc8b840053267a0002a01602b..."} 
[2026-08-21 17:29:03] local.INFO: Packet analysis {"connection_id":159198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:29:03] local.INFO: Extracted packet for processing {"connection_id":159198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":768129088,"raw_latitude":87189408,"longitude_deg":76.8129088,"latitude_deg":8.7189408,"altitude":42,"angle":352,"satellites":43,"speed":0,"hex_longitude":"2dc8b840","hex_latitude":"053267a0","is_valid_coordinates":true} 
[2026-08-21 17:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552228096001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386299075100672,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983152373112444928,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313412000,"timestamp_ms":1787313412000,"timestamp_seconds":1787313412,"priority":1,"record_length":96,"hex_timestamp":"000001a0242e57a0"} 
[2026-08-21 17:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 17:29: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-08-21 17:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552228096001,"66":27865,"22":206,"80":35072,"24":0,"16":388386299075100672,"45":-3983152373112444928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552228096001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:29:03] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:29:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386299075100672,"km_value":388386299075100.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983152373112444928,"description":"Unknown IO ID 45"} 
[2026-08-21 17:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552228096001,"power":27865,"unknown_22":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3983152373112444928}} 
[2026-08-21 17:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":159198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:29:03] local.INFO: GPS data processed {"connection_id":159198,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:29:03] local.INFO: Acknowledgment sent {"connection_id":159198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:29:04] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:04] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:04] local.INFO: IMEI packet received {"connection_id":161755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":161755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:29:06] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:06] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:29:06] local.INFO: IMEI packet received {"connection_id":161755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":161755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:29:06] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242f6cf8012d1a68c00720b990004700ef29..."} 
[2026-08-21 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242f6cf8012d1a68c00720b990004700ef29..."} 
[2026-08-21 17:29:06] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242f6cf8012d1a68c00720b990004700ef29..."} 
[2026-08-21 17:29:06] local.INFO: Packet analysis {"connection_id":161755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:29:06] local.INFO: Extracted packet for processing {"connection_id":161755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119585168,"longitude_deg":75.6705472,"latitude_deg":11.9585168,"altitude":71,"angle":239,"satellites":41,"speed":4,"hex_longitude":"2d1a68c0","hex_latitude":"0720b990","is_valid_coordinates":true} 
[2026-08-21 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552251392001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258741666906112,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903052348154558464,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787313483000,"timestamp_ms":1787313483000,"timestamp_seconds":1787313483,"priority":1,"record_length":96,"hex_timestamp":"000001a0242f6cf8"} 
[2026-08-21 17:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552251392001,"66":12722,"101":206,"83":41984,"24":4,"16":14258741666906112,"45":1903052348154558464},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552251392001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:29:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:29:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258741666906112,"km_value":14258741666906.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903052348154558464,"description":"Unknown IO ID 45"} 
[2026-08-21 17:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552251392001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1903052348154558464}} 
[2026-08-21 17:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":161755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:29:07] local.INFO: GPS data processed {"connection_id":161755,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:29:07] local.INFO: Acknowledgment sent {"connection_id":161755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:29:07] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0242dea40012d7b0f8005e31f38001000a810..."} 
[2026-08-21 17:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242dea40012d7b0f8005e31f38001000a810..."} 
[2026-08-21 17:29:07] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242dea40012d7b0f8005e31f38001000a810..."} 
[2026-08-21 17:29:07] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:29:07] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242d"} 
[2026-08-21 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98770744,"longitude_deg":76.3039616,"latitude_deg":9.8770744,"altitude":16,"angle":168,"satellites":16,"speed":6,"hex_longitude":"2d7b0f80","hex_latitude":"05e31f38","is_valid_coordinates":true} 
[2026-08-21 17:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552225024001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121748505931808768,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867306216601329664,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787313384000,"timestamp_ms":1787313384000,"timestamp_seconds":1787313384,"priority":1,"record_length":96,"hex_timestamp":"000001a0242dea40"} 
[2026-08-21 17:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 17:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552225024001,"66":13135,"208":206,"85":15104,"24":6,"16":121748505931808768,"45":8867306216601329664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 17:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552225024001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:29:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 17:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121748505931808768,"km_value":121748505931808.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867306216601329664,"description":"Unknown IO ID 45"} 
[2026-08-21 17:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552225024001,"power":13135,"unknown_208":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8867306216601329664}} 
[2026-08-21 17:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676853,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:29:07] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:29:07] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:29:11] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242f74c8012d1a68400720b970004700fc29..."} 
[2026-08-21 17:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242f74c8012d1a68400720b970004700fc29..."} 
[2026-08-21 17:29:11] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242f74c8012d1a68400720b970004700fc29..."} 
[2026-08-21 17:29:11] local.INFO: Packet analysis {"connection_id":161755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:29:11] local.INFO: Extracted packet for processing {"connection_id":161755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756705344,"raw_latitude":119585136,"longitude_deg":75.6705344,"latitude_deg":11.9585136,"altitude":71,"angle":252,"satellites":41,"speed":2,"hex_longitude":"2d1a6840","hex_latitude":"0720b970","is_valid_coordinates":true} 
[2026-08-21 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552251648001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258750256840704,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902981979410370560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787313485000,"timestamp_ms":1787313485000,"timestamp_seconds":1787313485,"priority":1,"record_length":96,"hex_timestamp":"000001a0242f74c8"} 
[2026-08-21 17:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552251648001,"66":12689,"101":206,"83":41984,"24":2,"16":14258750256840704,"45":1902981979410370560},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552251648001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:29:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258750256840704,"km_value":14258750256840.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902981979410370560,"description":"Unknown IO ID 45"} 
[2026-08-21 17:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552251648001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1902981979410370560}} 
[2026-08-21 17:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":161755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:29:12] local.INFO: GPS data processed {"connection_id":161755,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:29:12] local.INFO: Acknowledgment sent {"connection_id":161755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:29:34] local.INFO: TCP Data received {"connection_id":159198,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242ea9a8012dc8b78005326d20002a01612a..."} 
[2026-08-21 17:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242ea9a8012dc8b78005326d20002a01612a..."} 
[2026-08-21 17:29:34] local.INFO: Processing buffer {"connection_id":159198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242ea9a8012dc8b78005326d20002a01612a..."} 
[2026-08-21 17:29:34] local.INFO: Packet analysis {"connection_id":159198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:29:34] local.INFO: Extracted packet for processing {"connection_id":159198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":768128896,"raw_latitude":87190816,"longitude_deg":76.8128896,"latitude_deg":8.7190816,"altitude":42,"angle":353,"satellites":42,"speed":0,"hex_longitude":"2dc8b780","hex_latitude":"05326d20","is_valid_coordinates":true} 
[2026-08-21 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552233472001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386367794577408,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983363479344537600,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787313433000,"timestamp_ms":1787313433000,"timestamp_seconds":1787313433,"priority":1,"record_length":96,"hex_timestamp":"000001a0242ea9a8"} 
[2026-08-21 17:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:29:34] 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-08-21 17:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552233472001,"66":27995,"22":206,"80":35072,"24":0,"16":388386367794577408,"45":-3983363479344537600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,80,24,16,45]} 
[2026-08-21 17:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552233472001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:29:34] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-08-21 17:29:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386367794577408,"km_value":388386367794577.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983363479344537600,"description":"Unknown IO ID 45"} 
[2026-08-21 17:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552233472001,"power":27995,"unknown_22":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-3983363479344537600}} 
[2026-08-21 17:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":159198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:29:34] local.INFO: GPS data processed {"connection_id":159198,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:29:34] local.INFO: Acknowledgment sent {"connection_id":159198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:29:38] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02430c8a0012d7b448005e1ad480000007711..."} 
[2026-08-21 17:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02430c8a0012d7b448005e1ad480000007711..."} 
[2026-08-21 17:29:38] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02430c8a0012d7b448005e1ad480000007711..."} 
[2026-08-21 17:29:38] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:29:38] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:29:38] local.INFO: GPS Element Parsed {"raw_longitude":763053184,"raw_latitude":98676040,"longitude_deg":76.3053184,"latitude_deg":9.867604,"altitude":0,"angle":119,"satellites":17,"speed":13,"hex_longitude":"2d7b4480","hex_latitude":"05e1ad48","is_valid_coordinates":true} 
[2026-08-21 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552274176001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882083652854216704,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121753187446161408,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313572000,"timestamp_ms":1787313572000,"timestamp_seconds":1787313572,"priority":1,"record_length":96,"hex_timestamp":"000001a02430c8a0"} 
[2026-08-21 17:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 17:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552274176001,"66":12939,"45":8882083652854216704,"85":15104,"24":13,"16":121753187446161408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-21 17:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552274176001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882083652854216704,"description":"Unknown IO ID 45"} 
[2026-08-21 17:29:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121753187446161408,"km_value":121753187446161.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:29:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552274176001,"power":12939,"unknown_45":8882083652854216704,"unknown_85":15104,"ignition":13,"odometer":null}} 
[2026-08-21 17:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:29:38] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:29:38] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:29:43] local.INFO: TCP Data received {"connection_id":161755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0242fc6d0012d1a67c00720b930004700fa27..."} 
[2026-08-21 17:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242fc6d0012d1a67c00720b930004700fa27..."} 
[2026-08-21 17:29:43] local.INFO: Processing buffer {"connection_id":161755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242fc6d0012d1a67c00720b930004700fa27..."} 
[2026-08-21 17:29:43] local.INFO: Packet analysis {"connection_id":161755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:29:43] local.INFO: Extracted packet for processing {"connection_id":161755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":39,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552252160001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902841241922007040,"note":"Value kept but may cause issues"} 
[2026-08-21 17:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787313506000,"timestamp_ms":1787313506000,"timestamp_seconds":1787313506,"priority":1,"record_length":96,"hex_timestamp":"000001a0242fc6d0"} 
[2026-08-21 17:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 17:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552252160001,"66":12667,"101":206,"83":41984,"24":0,"16":14258754551808000,"45":1902841241922007040},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552252160001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:29:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:29:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902841241922007040,"description":"Unknown IO ID 45"} 
[2026-08-21 17:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552252160001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902841241922007040}} 
[2026-08-21 17:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":161755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:29:43] local.INFO: GPS data processed {"connection_id":161755,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:29:43] local.INFO: Acknowledgment sent {"connection_id":161755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:30:01] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:30:01] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:30:01] local.INFO: IMEI packet received {"connection_id":161756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":161756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:30:02] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:02] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:02] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:30:06] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:30:06] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:30:06] local.INFO: IMEI packet received {"connection_id":161756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":161756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:30:06] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243018d8012d1a67c00720b930004700fa28..."} 
[2026-08-21 17:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243018d8012d1a67c00720b930004700fa28..."} 
[2026-08-21 17:30:06] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243018d8012d1a67c00720b930004700fa28..."} 
[2026-08-21 17:30:06] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:06] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552257536001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787313527000,"timestamp_ms":1787313527000,"timestamp_seconds":1787313527,"priority":1,"record_length":96,"hex_timestamp":"000001a0243018d8"} 
[2026-08-21 17:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 17:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552257536001,"66":12722,"101":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552257536001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:30:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552257536001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:30:07] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:30:07] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:30:07] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:07] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:07] local.INFO: IMEI packet received {"connection_id":160386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":160386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:30:08] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242efbb0012dc8b5c0053277b0002a01622b..."} 
[2026-08-21 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242efbb0012dc8b5c0053277b0002a01622b..."} 
[2026-08-21 17:30:08] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242efbb0012dc8b5c0053277b0002a01622b..."} 
[2026-08-21 17:30:08] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:30:08] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242e"} 
[2026-08-21 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":768128448,"raw_latitude":87193520,"longitude_deg":76.8128448,"latitude_deg":8.719352,"altitude":42,"angle":354,"satellites":43,"speed":4,"hex_longitude":"2dc8b5c0","hex_latitude":"053277b0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552238848001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386505233530880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3983574585576710144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:08] 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-08-21 17:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787313454000,"timestamp_ms":1787313454000,"timestamp_seconds":1787313454,"priority":1,"record_length":96,"hex_timestamp":"000001a0242efbb0"} 
[2026-08-21 17:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":91,"data_length":795,"current_offset":136} 
[2026-08-21 17:30:08] 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-08-21 17: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-08-21 17:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552238848001,"66":27876,"146":206,"80":35072,"24":4,"16":388386505233530880,"45":-3983574585576710144},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-21 17:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552238848001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:30:08] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-21 17:30:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386505233530880,"km_value":388386505233530.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3983574585576710144,"description":"Unknown IO ID 45"} 
[2026-08-21 17:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552238848001,"power":27876,"unknown_146":206,"unknown_80":35072,"ignition":4,"odometer":null,"unknown_45":-3983574585576710144}} 
[2026-08-21 17:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:30:08] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:30:08] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:30:09] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02430d070012d7b47c005e1ac700000006411..."} 
[2026-08-21 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02430d070012d7b47c005e1ac700000006411..."} 
[2026-08-21 17:30:09] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02430d070012d7b47c005e1ac700000006411..."} 
[2026-08-21 17:30:09] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:09] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":763054016,"raw_latitude":98675824,"longitude_deg":76.3054016,"latitude_deg":9.8675824,"altitude":0,"angle":100,"satellites":17,"speed":15,"hex_longitude":"2d7b47c0","hex_latitude":"05e1ac70","is_valid_coordinates":true} 
[2026-08-21 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552274432001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882365127830882304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121753230395834368,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787313574000,"timestamp_ms":1787313574000,"timestamp_seconds":1787313574,"priority":1,"record_length":96,"hex_timestamp":"000001a02430d070"} 
[2026-08-21 17:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 17:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552274432001,"66":13015,"45":8882365127830882304,"85":15104,"24":15,"16":121753230395834368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-21 17:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552274432001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882365127830882304,"description":"Unknown IO ID 45"} 
[2026-08-21 17:30:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121753230395834368,"km_value":121753230395834.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:30:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552274432001,"power":13015,"unknown_45":8882365127830882304,"unknown_85":15104,"ignition":15,"odometer":null}} 
[2026-08-21 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:30:09] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:30:09] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:30:14] local.INFO: TCP Data received {"connection_id":160386,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242f4db8012dc8b58005327ad0002a01612a..."} 
[2026-08-21 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242f4db8012dc8b58005327ad0002a01612a..."} 
[2026-08-21 17:30:14] local.INFO: Processing buffer {"connection_id":160386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242f4db8012dc8b58005327ad0002a01612a..."} 
[2026-08-21 17:30:14] local.INFO: Packet analysis {"connection_id":160386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:30:14] local.INFO: Extracted packet for processing {"connection_id":160386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":768128384,"raw_latitude":87194320,"longitude_deg":76.8128384,"latitude_deg":8.719432,"altitude":42,"angle":353,"satellites":42,"speed":5,"hex_longitude":"2dc8b580","hex_latitude":"05327ad0","is_valid_coordinates":true} 
[2026-08-21 17:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552244224001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386543888236544,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3984067166785261568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:14] 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-08-21 17:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787313475000,"timestamp_ms":1787313475000,"timestamp_seconds":1787313475,"priority":1,"record_length":96,"hex_timestamp":"000001a0242f4db8"} 
[2026-08-21 17:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 17:30: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-08-21 17: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-08-21 17:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":160386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":160386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552244224001,"66":27919,"146":206,"80":35072,"24":5,"16":388386543888236544,"45":-3984067166785261568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,80,24,16,45]} 
[2026-08-21 17:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552244224001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:30:14] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-08-21 17:30:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386543888236544,"km_value":388386543888236.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3984067166785261568,"description":"Unknown IO ID 45"} 
[2026-08-21 17:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552244224001,"power":27919,"unknown_146":206,"unknown_80":35072,"ignition":5,"odometer":null,"unknown_45":-3984067166785261568}} 
[2026-08-21 17:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":160386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:30:14] local.INFO: GPS data processed {"connection_id":160386,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:30:14] local.INFO: Acknowledgment sent {"connection_id":160386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:30:37] local.INFO: TCP Data received {"connection_id":161756,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024306ae0012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024306ae0012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:30:37] local.INFO: Processing buffer {"connection_id":161756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024306ae0012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:30:37] local.INFO: Packet analysis {"connection_id":161756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:37] local.INFO: Extracted packet for processing {"connection_id":161756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552262912001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787313548000,"timestamp_ms":1787313548000,"timestamp_seconds":1787313548,"priority":1,"record_length":96,"hex_timestamp":"000001a024306ae0"} 
[2026-08-21 17:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552262912001,"66":12689,"101":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552262912001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:30:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552262912001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":161756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:30:38] local.INFO: GPS data processed {"connection_id":161756,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:30:38] local.INFO: Acknowledgment sent {"connection_id":161756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:30:39] local.INFO: TCP Data received {"connection_id":159489,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02430d458012d7b494005e1aca80000005511..."} 
[2026-08-21 17:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02430d458012d7b494005e1aca80000005511..."} 
[2026-08-21 17:30:39] local.INFO: Processing buffer {"connection_id":159489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02430d458012d7b494005e1aca80000005511..."} 
[2026-08-21 17:30:39] local.INFO: Packet analysis {"connection_id":159489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:39] local.INFO: Extracted packet for processing {"connection_id":159489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:30:39] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":98675880,"longitude_deg":76.30544,"latitude_deg":9.867588,"altitude":0,"angle":85,"satellites":17,"speed":16,"hex_longitude":"2d7b4940","hex_latitude":"05e1aca8","is_valid_coordinates":true} 
[2026-08-21 17:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552274944001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883279921505136640,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121753247575703552,"note":"Value kept but may cause issues"} 
[2026-08-21 17:30:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787313575000,"timestamp_ms":1787313575000,"timestamp_seconds":1787313575,"priority":1,"record_length":96,"hex_timestamp":"000001a02430d458"} 
[2026-08-21 17:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 17:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552274944001,"66":13015,"45":8883279921505136640,"85":15104,"24":16,"16":121753247575703552},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-21 17:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552274944001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883279921505136640,"description":"Unknown IO ID 45"} 
[2026-08-21 17:30:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121753247575703552,"km_value":121753247575703.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:30:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552274944001,"power":13015,"unknown_45":8883279921505136640,"unknown_85":15104,"ignition":16,"odometer":null}} 
[2026-08-21 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":159489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:30:40] local.INFO: GPS data processed {"connection_id":159489,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:30:40] local.INFO: Acknowledgment sent {"connection_id":159489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:30:57] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:57] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:57] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:30:58] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:58] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:30:58] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:31:02] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:31:02] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:31:02] local.INFO: IMEI packet received {"connection_id":161757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":161757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:31:03] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0242f9fc0012dc8b38005328340002c01602b..."} 
[2026-08-21 17:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0242f9fc0012dc8b38005328340002c01602b..."} 
[2026-08-21 17:31:03] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0242f9fc0012dc8b38005328340002c01602b..."} 
[2026-08-21 17:31:03] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:31:03] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0242f"} 
[2026-08-21 17:31:03] local.INFO: GPS Element Parsed {"raw_longitude":768127872,"raw_latitude":87196480,"longitude_deg":76.8127872,"latitude_deg":8.719648,"altitude":44,"angle":352,"satellites":43,"speed":9,"hex_longitude":"2dc8b380","hex_latitude":"05328340","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552249600001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388386655557386240,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3984137535529234432,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313496000,"timestamp_ms":1787313496000,"timestamp_seconds":1787313496,"priority":1,"record_length":96,"hex_timestamp":"000001a0242f9fc0"} 
[2026-08-21 17:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552249600001,"66":27930,"23":206,"80":35072,"24":9,"16":388386655557386240,"45":-3984137535529234432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,80,24,16,45]} 
[2026-08-21 17:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552249600001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 17:31:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388386655557386240,"km_value":388386655557386.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3984137535529234432,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552249600001,"power":27930,"unknown_23":206,"unknown_80":35072,"ignition":9,"odometer":null,"unknown_45":-3984137535529234432}} 
[2026-08-21 17:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:03] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:03] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:31:06] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:31:06] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:31:06] local.INFO: IMEI packet received {"connection_id":159490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":159490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:31:10] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:31:10] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:31:10] local.INFO: IMEI packet received {"connection_id":159490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":159490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:31:11] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02430bce8012d1a67c00720b930004700fa20..."} 
[2026-08-21 17:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02430bce8012d1a67c00720b930004700fa20..."} 
[2026-08-21 17:31:11] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02430bce8012d1a67c00720b930004700fa20..."} 
[2026-08-21 17:31:11] local.INFO: Packet analysis {"connection_id":159490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:31:11] local.INFO: Extracted packet for processing {"connection_id":159490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":32,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552268288001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787313569000,"timestamp_ms":1787313569000,"timestamp_seconds":1787313569,"priority":1,"record_length":96,"hex_timestamp":"000001a02430bce8"} 
[2026-08-21 17:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 17:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552268288001,"66":12645,"101":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552268288001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:31:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552268288001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":159490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:11] local.INFO: GPS data processed {"connection_id":159490,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:11] local.INFO: Acknowledgment sent {"connection_id":159490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:31:12] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024310ef0012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024310ef0012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:31:12] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024310ef0012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:31:12] local.INFO: Packet analysis {"connection_id":159490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:31:12] local.INFO: Extracted packet for processing {"connection_id":159490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552273664001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787313590000,"timestamp_ms":1787313590000,"timestamp_seconds":1787313590,"priority":1,"record_length":96,"hex_timestamp":"000001a024310ef0"} 
[2026-08-21 17:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 17:31: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-08-21 17:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552273664001,"66":12689,"101":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552273664001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:31:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552273664001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":159490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:12] local.INFO: GPS data processed {"connection_id":159490,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:12] local.INFO: Acknowledgment sent {"connection_id":159490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:31:23] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:23] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:23] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:31:23] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:23] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:23] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:31:25] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:25] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:31:25] local.INFO: IMEI packet received {"connection_id":160387,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":160387,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:31:26] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02430e010012d7b4e8005e1ae880000004311..."} 
[2026-08-21 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02430e010012d7b4e8005e1ae880000004311..."} 
[2026-08-21 17:31:26] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02430e010012d7b4e8005e1ae880000004311..."} 
[2026-08-21 17:31:26] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:31:26] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763055744,"raw_latitude":98676360,"longitude_deg":76.3055744,"latitude_deg":9.867636,"altitude":0,"angle":67,"satellites":17,"speed":18,"hex_longitude":"2d7b4e80","hex_latitude":"05e1ae88","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552275200001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702133970216960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121753316295180288,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:26] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787313578000,"timestamp_ms":1787313578000,"timestamp_seconds":1787313578,"priority":1,"record_length":96,"hex_timestamp":"000001a02430e010"} 
[2026-08-21 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-08-21 17:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 17:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552275200001,"66":12939,"45":8883702133970216960,"85":15104,"24":18,"16":121753316295180288},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-21 17:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552275200001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702133970216960,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121753316295180288,"km_value":121753316295180.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:26] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552275200001,"power":12939,"unknown_45":8883702133970216960,"unknown_85":15104,"ignition":18,"odometer":null}} 
[2026-08-21 17:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:26] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:26] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:31:27] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02430efb0012d7b550005e1b0980000005111..."} 
[2026-08-21 17:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02430efb0012d7b550005e1b0980000005111..."} 
[2026-08-21 17:31:27] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02430efb0012d7b550005e1b0980000005111..."} 
[2026-08-21 17:31:27] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:31:27] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02430"} 
[2026-08-21 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763057408,"raw_latitude":98676888,"longitude_deg":76.3057408,"latitude_deg":9.8676888,"altitude":0,"angle":81,"satellites":17,"speed":11,"hex_longitude":"2d7b5500","hex_latitude":"05e1b098","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552275968001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885179877598070784,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121753397899558912,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787313582000,"timestamp_ms":1787313582000,"timestamp_seconds":1787313582,"priority":1,"record_length":96,"hex_timestamp":"000001a02430efb0"} 
[2026-08-21 17:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 17:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552275968001,"66":12667,"45":8885179877598070784,"85":15104,"24":11,"16":121753397899558912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-21 17:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552275968001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885179877598070784,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121753397899558912,"km_value":121753397899558.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552275968001,"power":12667,"unknown_45":8885179877598070784,"unknown_85":15104,"ignition":11,"odometer":null}} 
[2026-08-21 17:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676868,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:27] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:27] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:31:34] local.INFO: TCP Data received {"connection_id":161757,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02431b6e8012dc897400533ed000030015c2b..."} 
[2026-08-21 17:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02431b6e8012dc897400533ed000030015c2b..."} 
[2026-08-21 17:31:34] local.INFO: Processing buffer {"connection_id":161757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02431b6e8012dc897400533ed000030015c2b..."} 
[2026-08-21 17:31:34] local.INFO: Packet analysis {"connection_id":161757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:31:34] local.INFO: Extracted packet for processing {"connection_id":161757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:31:34] local.INFO: GPS Element Parsed {"raw_longitude":768120640,"raw_latitude":87289088,"longitude_deg":76.812064,"latitude_deg":8.7289088,"altitude":48,"angle":348,"satellites":43,"speed":36,"hex_longitude":"2dc89740","hex_latitude":"0533ed00","is_valid_coordinates":true} 
[2026-08-21 17:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552286464001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388391182452916224,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3990470722483359744,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787313633000,"timestamp_ms":1787313633000,"timestamp_seconds":1787313633,"priority":1,"record_length":96,"hex_timestamp":"000001a02431b6e8"} 
[2026-08-21 17:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:31:34] 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-08-21 17:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552286464001,"66":27821,"72":206,"80":35072,"24":36,"16":388391182452916224,"45":-3990470722483359744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-08-21 17:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552286464001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:34] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 17:31:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388391182452916224,"km_value":388391182452916.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3990470722483359744,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552286464001,"power":27821,"unknown_72":206,"unknown_80":35072,"ignition":36,"odometer":null,"unknown_45":-3990470722483359744}} 
[2026-08-21 17:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":161757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:34] local.INFO: GPS data processed {"connection_id":161757,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:34] local.INFO: Acknowledgment sent {"connection_id":161757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:31:43] local.INFO: TCP Data received {"connection_id":159490,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243160f8012d1a67c00720b930004700fa25..."} 
[2026-08-21 17:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243160f8012d1a67c00720b930004700fa25..."} 
[2026-08-21 17:31:43] local.INFO: Processing buffer {"connection_id":159490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243160f8012d1a67c00720b930004700fa25..."} 
[2026-08-21 17:31:43] local.INFO: Packet analysis {"connection_id":159490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:31:43] local.INFO: Extracted packet for processing {"connection_id":159490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":37,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552279040001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787313611000,"timestamp_ms":1787313611000,"timestamp_seconds":1787313611,"priority":1,"record_length":96,"hex_timestamp":"000001a0243160f8"} 
[2026-08-21 17:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 17:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552279040001,"66":12667,"101":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552279040001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:31:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552279040001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":159490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:43] local.INFO: GPS data processed {"connection_id":159490,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:43] local.INFO: Acknowledgment sent {"connection_id":159490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:31:58] local.INFO: TCP Data received {"connection_id":160387,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02432c088012d7bfa8005e1d8c0000a005a12..."} 
[2026-08-21 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02432c088012d7bfa8005e1d8c0000a005a12..."} 
[2026-08-21 17:31:58] local.INFO: Processing buffer {"connection_id":160387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02432c088012d7bfa8005e1d8c0000a005a12..."} 
[2026-08-21 17:31:58] local.INFO: Packet analysis {"connection_id":160387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:31:58] local.INFO: Extracted packet for processing {"connection_id":160387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763099776,"raw_latitude":98687168,"longitude_deg":76.3099776,"latitude_deg":9.8687168,"altitude":10,"angle":90,"satellites":18,"speed":28,"hex_longitude":"2d7bfa80","hex_latitude":"05e1d8c0","is_valid_coordinates":true} 
[2026-08-21 17:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552303360001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924023424387223552,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121755588332879872,"note":"Value kept but may cause issues"} 
[2026-08-21 17:31:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787313701000,"timestamp_ms":1787313701000,"timestamp_seconds":1787313701,"priority":1,"record_length":96,"hex_timestamp":"000001a02432c088"} 
[2026-08-21 17:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 17:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160387,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552303360001,"66":12961,"45":8924023424387223552,"85":15104,"24":28,"16":121755588332879872},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-21 17:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552303360001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924023424387223552,"description":"Unknown IO ID 45"} 
[2026-08-21 17:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:31:58] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121755588332879872,"km_value":121755588332879.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:31:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552303360001,"power":12961,"unknown_45":8924023424387223552,"unknown_85":15104,"ignition":28,"odometer":null}} 
[2026-08-21 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:31:58] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:31:58] local.INFO: IMEI packet received {"connection_id":159491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":159491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":160387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:31:58] local.INFO: GPS data processed {"connection_id":160387,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:31:58] local.INFO: Acknowledgment sent {"connection_id":160387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:32:01] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:01] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:01] local.INFO: IMEI packet received {"connection_id":159199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":159199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:32:02] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:32:02] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:32:02] local.INFO: IMEI packet received {"connection_id":159491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":159491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:32:03] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02431ddf8012dc88f8005341150003201592b..."} 
[2026-08-21 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02431ddf8012dc88f8005341150003201592b..."} 
[2026-08-21 17:32:03] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02431ddf8012dc88f8005341150003201592b..."} 
[2026-08-21 17:32:03] local.INFO: Packet analysis {"connection_id":159491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:32:03] local.INFO: Extracted packet for processing {"connection_id":159491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":768118656,"raw_latitude":87298384,"longitude_deg":76.8118656,"latitude_deg":8.7298384,"altitude":50,"angle":345,"satellites":43,"speed":36,"hex_longitude":"2dc88f80","hex_latitude":"05341150","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552290048001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388391646309384192,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3992652153550471168,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313643000,"timestamp_ms":1787313643000,"timestamp_seconds":1787313643,"priority":1,"record_length":96,"hex_timestamp":"000001a02431ddf8"} 
[2026-08-21 17:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 17:32: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-08-21 17: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-08-21 17:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552290048001,"66":27930,"72":206,"80":35072,"24":36,"16":388391646309384192,"45":-3992652153550471168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-08-21 17:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552290048001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:32:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 17:32:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388391646309384192,"km_value":388391646309384.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3992652153550471168,"description":"Unknown IO ID 45"} 
[2026-08-21 17:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552290048001,"power":27930,"unknown_72":206,"unknown_80":35072,"ignition":36,"odometer":null,"unknown_45":-3992652153550471168}} 
[2026-08-21 17:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":159491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:32:03] local.INFO: GPS data processed {"connection_id":159491,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:32:03] local.INFO: Acknowledgment sent {"connection_id":159491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:32:04] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:04] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:04] local.INFO: IMEI packet received {"connection_id":159199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":159199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:32:05] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02431b300012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02431b300012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:32:05] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02431b300012d1a67c00720b930004700fa26..."} 
[2026-08-21 17:32:05] local.INFO: Packet analysis {"connection_id":159199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:32:05] local.INFO: Extracted packet for processing {"connection_id":159199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02431"} 
[2026-08-21 17:32:05] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":38,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552284416001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787313632000,"timestamp_ms":1787313632000,"timestamp_seconds":1787313632,"priority":1,"record_length":96,"hex_timestamp":"000001a02431b300"} 
[2026-08-21 17:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:32: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-08-21 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 17:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552284416001,"66":13993,"101":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 17:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552284416001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:32:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 17:32:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552284416001,"power":13993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":159199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:32:05] local.INFO: GPS data processed {"connection_id":159199,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:32:05] local.INFO: Acknowledgment sent {"connection_id":159199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:32:06] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024320508012d1a67c00720b930004700fa29..."} 
[2026-08-21 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024320508012d1a67c00720b930004700fa29..."} 
[2026-08-21 17:32:06] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024320508012d1a67c00720b930004700fa29..."} 
[2026-08-21 17:32:06] local.INFO: Packet analysis {"connection_id":159199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:06] local.INFO: Extracted packet for processing {"connection_id":159199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":41,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552289792001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787313653000,"timestamp_ms":1787313653000,"timestamp_seconds":1787313653,"priority":1,"record_length":96,"hex_timestamp":"000001a024320508"} 
[2026-08-21 17:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 17:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552289792001,"66":14233,"103":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552289792001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:32:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552289792001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":159199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:32:06] local.INFO: GPS data processed {"connection_id":159199,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:32:06] local.INFO: Acknowledgment sent {"connection_id":159199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:32:20] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:20] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:20] local.INFO: IMEI packet received {"connection_id":159200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":159200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:32:22] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:22] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:22] local.INFO: IMEI packet received {"connection_id":159200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":159200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:32:27] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:27] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:32:27] local.INFO: IMEI packet received {"connection_id":159200,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":159200,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:32:28] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02432e3b0012d7c174005e1dcc0000b004e12..."} 
[2026-08-21 17:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02432e3b0012d7c174005e1dcc0000b004e12..."} 
[2026-08-21 17:32:28] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02432e3b0012d7c174005e1dcc0000b004e12..."} 
[2026-08-21 17:32:28] local.INFO: Packet analysis {"connection_id":159200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:28] local.INFO: Extracted packet for processing {"connection_id":159200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763107136,"raw_latitude":98688192,"longitude_deg":76.3107136,"latitude_deg":9.8688192,"altitude":11,"angle":78,"satellites":18,"speed":32,"hex_longitude":"2d7c1740","hex_latitude":"05e1dcc0","is_valid_coordinates":true} 
[2026-08-21 17:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552307456001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933593573595070464,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121755949110132736,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787313710000,"timestamp_ms":1787313710000,"timestamp_seconds":1787313710,"priority":1,"record_length":96,"hex_timestamp":"000001a02432e3b0"} 
[2026-08-21 17:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 17:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552307456001,"66":13243,"45":8933593573595070464,"85":15104,"24":32,"16":121755949110132736},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-08-21 17:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552307456001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933593573595070464,"description":"Unknown IO ID 45"} 
[2026-08-21 17:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121755949110132736,"km_value":121755949110132.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:32:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552307456001,"power":13243,"unknown_45":8933593573595070464,"unknown_85":15104,"ignition":32,"odometer":null}} 
[2026-08-21 17:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":159200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:32:28] local.INFO: GPS data processed {"connection_id":159200,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:32:28] local.INFO: Acknowledgment sent {"connection_id":159200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:32:35] local.INFO: TCP Data received {"connection_id":159491,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024320508012dc88800053433980033015b2d..."} 
[2026-08-21 17:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024320508012dc88800053433980033015b2d..."} 
[2026-08-21 17:32:35] local.INFO: Processing buffer {"connection_id":159491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024320508012dc88800053433980033015b2d..."} 
[2026-08-21 17:32:35] local.INFO: Packet analysis {"connection_id":159491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:35] local.INFO: Extracted packet for processing {"connection_id":159491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:35] local.INFO: GPS Element Parsed {"raw_longitude":768116736,"raw_latitude":87307160,"longitude_deg":76.8116736,"latitude_deg":8.730716,"altitude":51,"angle":347,"satellites":45,"speed":28,"hex_longitude":"2dc88800","hex_latitude":"05343398","is_valid_coordinates":true} 
[2026-08-21 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552292608001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388392080101081088,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3994833584617598976,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787313653000,"timestamp_ms":1787313653000,"timestamp_seconds":1787313653,"priority":1,"record_length":96,"hex_timestamp":"000001a024320508"} 
[2026-08-21 17:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:32: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-08-21 17:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:32:35] 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-08-21 17:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552292608001,"66":27800,"72":206,"80":35072,"24":28,"16":388392080101081088,"45":-3994833584617598976},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,80,24,16,45]} 
[2026-08-21 17:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552292608001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:32:35] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 17:32:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388392080101081088,"km_value":388392080101081.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3994833584617598976,"description":"Unknown IO ID 45"} 
[2026-08-21 17:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552292608001,"power":27800,"unknown_72":206,"unknown_80":35072,"ignition":28,"odometer":null,"unknown_45":-3994833584617598976}} 
[2026-08-21 17:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":159491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:32:35] local.INFO: GPS data processed {"connection_id":159491,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:32:35] local.INFO: Acknowledgment sent {"connection_id":159491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:32:37] local.INFO: TCP Data received {"connection_id":159199,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024325710012d1a67c00720b930004700fa28..."} 
[2026-08-21 17:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159199,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024325710012d1a67c00720b930004700fa28..."} 
[2026-08-21 17:32:37] local.INFO: Processing buffer {"connection_id":159199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024325710012d1a67c00720b930004700fa28..."} 
[2026-08-21 17:32:37] local.INFO: Packet analysis {"connection_id":159199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:37] local.INFO: Extracted packet for processing {"connection_id":159199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756705216,"raw_latitude":119585072,"longitude_deg":75.6705216,"latitude_deg":11.9585072,"altitude":71,"angle":250,"satellites":40,"speed":0,"hex_longitude":"2d1a67c0","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552295168001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258754551808000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787313674000,"timestamp_ms":1787313674000,"timestamp_seconds":1787313674,"priority":1,"record_length":96,"hex_timestamp":"000001a024325710"} 
[2026-08-21 17:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 17:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552295168001,"66":14243,"103":206,"83":41984,"24":0,"16":14258754551808000,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552295168001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:32:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258754551808000,"km_value":14258754551808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552295168001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":159199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:32:37] local.INFO: GPS data processed {"connection_id":159199,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:32:37] local.INFO: Acknowledgment sent {"connection_id":159199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:32:57] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:32:57] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:32:57] local.INFO: IMEI packet received {"connection_id":159201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":159201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:32:58] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:58] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:32:58] local.INFO: IMEI packet received {"connection_id":159202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":159202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:32:59] local.INFO: TCP Data received {"connection_id":159200,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243387c0012d7c778005e213b00013006512..."} 
[2026-08-21 17:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243387c0012d7c778005e213b00013006512..."} 
[2026-08-21 17:32:59] local.INFO: Processing buffer {"connection_id":159200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243387c0012d7c778005e213b00013006512..."} 
[2026-08-21 17:32:59] local.INFO: Packet analysis {"connection_id":159200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:32:59] local.INFO: Extracted packet for processing {"connection_id":159200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":763131776,"raw_latitude":98702256,"longitude_deg":76.3131776,"latitude_deg":9.8702256,"altitude":19,"angle":101,"satellites":18,"speed":36,"hex_longitude":"2d7c7780","hex_latitude":"05e213b0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552320000001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121757460938620928,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8966526145874192384,"note":"Value kept but may cause issues"} 
[2026-08-21 17:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787313752000,"timestamp_ms":1787313752000,"timestamp_seconds":1787313752,"priority":1,"record_length":96,"hex_timestamp":"000001a0243387c0"} 
[2026-08-21 17:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 17:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159200,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552320000001,"66":13059,"43":206,"85":15104,"24":36,"16":121757460938620928,"45":8966526145874192384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-21 17:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552320000001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121757460938620928,"km_value":121757460938620.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8966526145874192384,"description":"Unknown IO ID 45"} 
[2026-08-21 17:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552320000001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8966526145874192384}} 
[2026-08-21 17:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":159200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:32:59] local.INFO: GPS data processed {"connection_id":159200,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:32:59] local.INFO: Acknowledgment sent {"connection_id":159200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:33:00] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:33:00] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:33:00] local.INFO: IMEI packet received {"connection_id":159201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":159201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:33:01] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024324b58012dc880c0053456e0003601522c..."} 
[2026-08-21 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024324b58012dc880c0053456e0003601522c..."} 
[2026-08-21 17:33:01] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024324b58012dc880c0053456e0003601522c..."} 
[2026-08-21 17:33:01] local.INFO: Packet analysis {"connection_id":159201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:33:01] local.INFO: Extracted packet for processing {"connection_id":159201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:33:01] local.INFO: GPS Element Parsed {"raw_longitude":768114880,"raw_latitude":87316192,"longitude_deg":76.811488,"latitude_deg":8.7316192,"altitude":54,"angle":338,"satellites":44,"speed":18,"hex_longitude":"2dc880c0","hex_latitude":"053456e0","is_valid_coordinates":true} 
[2026-08-21 17:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552295168001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388392531072647168,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-3996944646940682240,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787313671000,"timestamp_ms":1787313671000,"timestamp_seconds":1787313671,"priority":1,"record_length":96,"hex_timestamp":"000001a024324b58"} 
[2026-08-21 17:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:33: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-08-21 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:33:01] 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-08-21 17:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552295168001,"66":27843,"82":206,"80":35072,"24":18,"16":388392531072647168,"45":-3996944646940682240},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,80,24,16,45]} 
[2026-08-21 17:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552295168001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:33:01] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 17:33:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388392531072647168,"km_value":388392531072647.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-3996944646940682240,"description":"Unknown IO ID 45"} 
[2026-08-21 17:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552295168001,"power":27843,"unknown_82":206,"unknown_80":35072,"ignition":18,"odometer":null,"unknown_45":-3996944646940682240}} 
[2026-08-21 17:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":159201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:33:01] local.INFO: GPS data processed {"connection_id":159201,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:33:01] local.INFO: Acknowledgment sent {"connection_id":159201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:33:01] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:33:01] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:33:01] local.INFO: IMEI packet received {"connection_id":159202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":159202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:33:06] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:33:06] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:33:06] local.INFO: IMEI packet received {"connection_id":159202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":159202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:33:06] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024325ee0012d1a68c00720b7380044007428..."} 
[2026-08-21 17:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024325ee0012d1a68c00720b7380044007428..."} 
[2026-08-21 17:33:06] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024325ee0012d1a68c00720b7380044007428..."} 
[2026-08-21 17:33:06] local.INFO: Packet analysis {"connection_id":159202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:33:06] local.INFO: Extracted packet for processing {"connection_id":159202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02432"} 
[2026-08-21 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756705472,"raw_latitude":119584568,"longitude_deg":75.6705472,"latitude_deg":11.9584568,"altitude":68,"angle":116,"satellites":40,"speed":2,"hex_longitude":"2d1a68c0","hex_latitude":"0720b738","is_valid_coordinates":true} 
[2026-08-21 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552300544001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14258780321611776,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902700504433635328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787313676000,"timestamp_ms":1787313676000,"timestamp_seconds":1787313676,"priority":1,"record_length":96,"hex_timestamp":"000001a024325ee0"} 
[2026-08-21 17:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-08-21 17:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552300544001,"66":14211,"103":206,"83":41984,"24":2,"16":14258780321611776,"45":1902700504433635328},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552300544001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:33:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14258780321611776,"km_value":14258780321611.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902700504433635328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552300544001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1902700504433635328}} 
[2026-08-21 17:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":159202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:33:07] local.INFO: GPS data processed {"connection_id":159202,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:33:07] local.INFO: Acknowledgment sent {"connection_id":159202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:33:22] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:33:22] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:33:22] local.INFO: IMEI packet received {"connection_id":159203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":159203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:33:27] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:33:27] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:33:27] local.INFO: IMEI packet received {"connection_id":159203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":159203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:33:27] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02433b6a0012d7c9a4005e20c20000f006313..."} 
[2026-08-21 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433b6a0012d7c9a4005e20c20000f006313..."} 
[2026-08-21 17:33:27] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433b6a0012d7c9a4005e20c20000f006313..."} 
[2026-08-21 17:33:27] local.INFO: Packet analysis {"connection_id":159203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:27] local.INFO: Extracted packet for processing {"connection_id":159203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763140672,"raw_latitude":98700320,"longitude_deg":76.3140672,"latitude_deg":9.870032,"altitude":15,"angle":99,"satellites":19,"speed":31,"hex_longitude":"2d7c9a40","hex_latitude":"05e20c20","is_valid_coordinates":true} 
[2026-08-21 17:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552320512001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121757894730317824,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968777945687764992,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787313764000,"timestamp_ms":1787313764000,"timestamp_seconds":1787313764,"priority":1,"record_length":96,"hex_timestamp":"000001a02433b6a0"} 
[2026-08-21 17:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167374937422,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":43,"raw_value":58077557095399454,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":145,"raw_value":2298478592,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-21 17:33:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1114144,"corrected_to":0} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2437218304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3790819328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,43,85,24,241,157,16,145,160,127,45,128,21,20,18,10,66,120,64,112,1,240,187,227,36,226,4,113,205,25,81,87,200,239,50,2,176,5,30],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0},{"io_id":200,"original":1114144,"validated":0}]} 
[2026-08-21 17:33:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369205414706806784,"timestamp_seconds":1369205414706806.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552320512001,"66":13167,"43":206,"85":15104,"24":31,"16":121757894730317824,"45":8968777945687764992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-21 17:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552320512001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:33:27] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-21 17:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121757894730317824,"km_value":121757894730317.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968777945687764992,"description":"Unknown IO ID 45"} 
[2026-08-21 17:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552320512001,"power":13167,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8968777945687764992}} 
[2026-08-21 17:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":159203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:33:27] local.INFO: GPS data processed {"connection_id":159203,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:33:27] local.INFO: Acknowledgment sent {"connection_id":159203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:33:32] local.INFO: TCP Data received {"connection_id":159201,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02433a700012dc798c005359348001a01422a..."} 
[2026-08-21 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433a700012dc798c005359348001a01422a..."} 
[2026-08-21 17:33:32] local.INFO: Processing buffer {"connection_id":159201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433a700012dc798c005359348001a01422a..."} 
[2026-08-21 17:33:32] local.INFO: Packet analysis {"connection_id":159201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:32] local.INFO: Extracted packet for processing {"connection_id":159201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":768055488,"raw_latitude":87397192,"longitude_deg":76.8055488,"latitude_deg":8.7397192,"altitude":26,"angle":322,"satellites":42,"speed":69,"hex_longitude":"2dc798c0","hex_latitude":"05359348","is_valid_coordinates":true} 
[2026-08-21 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552321024001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388397465990070272,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4057602504400914432,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787313760000,"timestamp_ms":1787313760000,"timestamp_seconds":1787313760,"priority":1,"record_length":96,"hex_timestamp":"000001a02433a700"} 
[2026-08-21 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:33: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-08-21 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552321024001,"66":27930,"27":206,"80":35072,"24":69,"16":388397465990070272,"45":-4057602504400914432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-08-21 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552321024001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:33:32] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 17:33:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388397465990070272,"km_value":388397465990070.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4057602504400914432,"description":"Unknown IO ID 45"} 
[2026-08-21 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552321024001,"power":27930,"unknown_27":206,"unknown_80":35072,"ignition":69,"odometer":null,"unknown_45":-4057602504400914432}} 
[2026-08-21 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":159201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:33:32] local.INFO: GPS data processed {"connection_id":159201,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:33:32] local.INFO: Acknowledgment sent {"connection_id":159201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:33:38] local.INFO: TCP Data received {"connection_id":159202,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02433ba88012d1a3d400720f598004100e626..."} 
[2026-08-21 17:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159202,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433ba88012d1a3d400720f598004100e626..."} 
[2026-08-21 17:33:38] local.INFO: Processing buffer {"connection_id":159202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433ba88012d1a3d400720f598004100e626..."} 
[2026-08-21 17:33:38] local.INFO: Packet analysis {"connection_id":159202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:38] local.INFO: Extracted packet for processing {"connection_id":159202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756694336,"raw_latitude":119600536,"longitude_deg":75.6694336,"latitude_deg":11.9600536,"altitude":65,"angle":230,"satellites":38,"speed":10,"hex_longitude":"2d1a3d40","hex_latitude":"0720f598","is_valid_coordinates":true} 
[2026-08-21 17:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552323584001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14259884128206848,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891019292904132608,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313765000,"timestamp_ms":1787313765000,"timestamp_seconds":1787313765,"priority":1,"record_length":96,"hex_timestamp":"000001a02433ba88"} 
[2026-08-21 17:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:33: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-08-21 17:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552323584001,"66":14265,"103":206,"83":41984,"24":10,"16":14259884128206848,"45":1891019292904132608},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552323584001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:33:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14259884128206848,"km_value":14259884128206.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891019292904132608,"description":"Unknown IO ID 45"} 
[2026-08-21 17:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552323584001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1891019292904132608}} 
[2026-08-21 17:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":159202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:33:38] local.INFO: GPS data processed {"connection_id":159202,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:33:38] local.INFO: Acknowledgment sent {"connection_id":159202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:33:57] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:33:57] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:33:57] local.INFO: IMEI packet received {"connection_id":159204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:33:58] local.INFO: TCP Data received {"connection_id":159203,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02433ddb0012d7cb98005e20788000e005812..."} 
[2026-08-21 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433ddb0012d7cb98005e20788000e005812..."} 
[2026-08-21 17:33:58] local.INFO: Processing buffer {"connection_id":159203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433ddb0012d7cb98005e20788000e005812..."} 
[2026-08-21 17:33:58] local.INFO: Packet analysis {"connection_id":159203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:58] local.INFO: Extracted packet for processing {"connection_id":159203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763148672,"raw_latitude":98699144,"longitude_deg":76.3148672,"latitude_deg":9.8699144,"altitude":14,"angle":88,"satellites":18,"speed":26,"hex_longitude":"2d7cb980","hex_latitude":"05e20788","is_valid_coordinates":true} 
[2026-08-21 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552323584001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121758285572341760,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978559201127964672,"note":"Value kept but may cause issues"} 
[2026-08-21 17:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787313774000,"timestamp_ms":1787313774000,"timestamp_seconds":1787313774,"priority":1,"record_length":96,"hex_timestamp":"000001a02433ddb0"} 
[2026-08-21 17:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-08-21 17:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552323584001,"66":12982,"43":206,"85":15104,"24":26,"16":121758285572341760,"45":8978559201127964672},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-21 17:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552323584001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:33:58] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-21 17:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121758285572341760,"km_value":121758285572341.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978559201127964672,"description":"Unknown IO ID 45"} 
[2026-08-21 17:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552323584001,"power":12982,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8978559201127964672}} 
[2026-08-21 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":159203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:33:58] local.INFO: GPS data processed {"connection_id":159203,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:33:58] local.INFO: Acknowledgment sent {"connection_id":159203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:34:00] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:00] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:00] local.INFO: IMEI packet received {"connection_id":159492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":159492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:34:01] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:01] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:01] local.INFO: IMEI packet received {"connection_id":159492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":159492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:34:01] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:34:01] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:34:01] local.INFO: IMEI packet received {"connection_id":159204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":159204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:34:02] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02433be70012dc780400535b330001a01432b..."} 
[2026-08-21 17:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433be70012dc780400535b330001a01432b..."} 
[2026-08-21 17:34:02] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433be70012dc780400535b330001a01432b..."} 
[2026-08-21 17:34:02] local.INFO: Packet analysis {"connection_id":159204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:34:02] local.INFO: Extracted packet for processing {"connection_id":159204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:34:02] local.INFO: GPS Element Parsed {"raw_longitude":768049216,"raw_latitude":87405360,"longitude_deg":76.8049216,"latitude_deg":8.740536,"altitude":26,"angle":323,"satellites":43,"speed":64,"hex_longitude":"2dc78040","hex_latitude":"0535b330","is_valid_coordinates":true} 
[2026-08-21 17:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552322560001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388397964206276608,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4064287535095658496,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787313766000,"timestamp_ms":1787313766000,"timestamp_seconds":1787313766,"priority":1,"record_length":96,"hex_timestamp":"000001a02433be70"} 
[2026-08-21 17:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:34:02] 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-08-21 17:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552322560001,"66":27832,"27":206,"80":35072,"24":64,"16":388397964206276608,"45":-4064287535095658496},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-08-21 17:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552322560001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:34:02] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 17:34:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388397964206276608,"km_value":388397964206276.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4064287535095658496,"description":"Unknown IO ID 45"} 
[2026-08-21 17:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552322560001,"power":27832,"unknown_27":206,"unknown_80":35072,"ignition":64,"odometer":null,"unknown_45":-4064287535095658496}} 
[2026-08-21 17:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":159204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:34:02] local.INFO: GPS data processed {"connection_id":159204,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:34:02] local.INFO: Acknowledgment sent {"connection_id":159204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:34:06] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:06] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:06] local.INFO: IMEI packet received {"connection_id":159492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":159492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:34:07] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02433be70012d1a3c400720f4d0004100d926..."} 
[2026-08-21 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433be70012d1a3c400720f4d0004100d926..."} 
[2026-08-21 17:34:07] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433be70012d1a3c400720f4d0004100d926..."} 
[2026-08-21 17:34:07] local.INFO: Packet analysis {"connection_id":159492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:34:07] local.INFO: Extracted packet for processing {"connection_id":159492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756694080,"raw_latitude":119600336,"longitude_deg":75.669408,"latitude_deg":11.9600336,"altitude":65,"angle":217,"satellites":38,"speed":11,"hex_longitude":"2d1a3c40","hex_latitude":"0720f4d0","is_valid_coordinates":true} 
[2026-08-21 17:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552323840001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14259897013108736,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890737817927391232,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787313766000,"timestamp_ms":1787313766000,"timestamp_seconds":1787313766,"priority":1,"record_length":96,"hex_timestamp":"000001a02433be70"} 
[2026-08-21 17:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 17:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552323840001,"66":13678,"103":206,"83":41984,"24":11,"16":14259897013108736,"45":1890737817927391232},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552323840001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:34:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14259897013108736,"km_value":14259897013108.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890737817927391232,"description":"Unknown IO ID 45"} 
[2026-08-21 17:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552323840001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1890737817927391232}} 
[2026-08-21 17:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":159492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:34:07] local.INFO: GPS data processed {"connection_id":159492,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:34:07] local.INFO: Acknowledgment sent {"connection_id":159492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:34:22] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:22] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:22] local.INFO: IMEI packet received {"connection_id":159493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":159493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:34:23] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:23] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:23] local.INFO: IMEI packet received {"connection_id":159493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":159493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:34:27] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:27] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:34:27] local.INFO: IMEI packet received {"connection_id":159493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":159493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:34:28] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.21","data_length":717,"data_hex":"00000000000002c18e09000001a024341078012d7cdc0005e207d00012004b12..."} 
[2026-08-21 17:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":717,"packet_hex":"00000000000002c18e09000001a024341078012d7cdc0005e207d00012004b12..."} 
[2026-08-21 17:34:28] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":717,"buffer_hex":"00000000000002c18e09000001a024341078012d7cdc0005e207d00012004b12..."} 
[2026-08-21 17:34:28] local.INFO: Packet analysis {"connection_id":159493,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e09000001a02434"} 
[2026-08-21 17:34:28] local.INFO: Extracted packet for processing {"connection_id":159493,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e09000001a02434"} 
[2026-08-21 17:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763157504,"raw_latitude":98699216,"longitude_deg":76.3157504,"latitude_deg":9.8699216,"altitude":18,"angle":75,"satellites":18,"speed":33,"hex_longitude":"2d7cdc00","hex_latitude":"05e207d0","is_valid_coordinates":true} 
[2026-08-21 17: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":717,"current_offset":40} 
[2026-08-21 17:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552326144001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121758710774104064,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8987355294149871616,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787313787000,"timestamp_ms":1787313787000,"timestamp_seconds":1787313787,"priority":1,"record_length":96,"hex_timestamp":"000001a024341078"} 
[2026-08-21 17:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":50,"n8_eight_byte":182,"data_length":717,"current_offset":136} 
[2026-08-21 17:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:34:28] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159493,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-21 17:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552326144001,"66":13059,"43":206,"85":15104,"24":33,"16":121758710774104064,"45":8987355294149871616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-21 17:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552326144001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121758710774104064,"km_value":121758710774104.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8987355294149871616,"description":"Unknown IO ID 45"} 
[2026-08-21 17:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552326144001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8987355294149871616}} 
[2026-08-21 17:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":159493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676887,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:34:28] local.INFO: GPS data processed {"connection_id":159493,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:34:28] local.INFO: Acknowledgment sent {"connection_id":159493,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:34:38] local.INFO: TCP Data received {"connection_id":159492,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02434c810012d19c9400720a4180035010227..."} 
[2026-08-21 17:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02434c810012d19c9400720a4180035010227..."} 
[2026-08-21 17:34:38] local.INFO: Processing buffer {"connection_id":159492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02434c810012d19c9400720a4180035010227..."} 
[2026-08-21 17:34:38] local.INFO: Packet analysis {"connection_id":159492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:34:38] local.INFO: Extracted packet for processing {"connection_id":159492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119579672,"longitude_deg":75.666464,"latitude_deg":11.9579672,"altitude":53,"angle":258,"satellites":39,"speed":13,"hex_longitude":"2d19c940","hex_latitude":"0720a418","is_valid_coordinates":true} 
[2026-08-21 17:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552341248001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14261713784274944,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195600345088,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313834000,"timestamp_ms":1787313834000,"timestamp_seconds":1787313834,"priority":1,"record_length":96,"hex_timestamp":"000001a02434c810"} 
[2026-08-21 17:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17: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-08-21 17: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 17:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552341248001,"66":14004,"103":206,"83":41984,"24":13,"16":14261713784274944,"45":1858368195600345088},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552341248001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:34:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14261713784274944,"km_value":14261713784274.943,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195600345088,"description":"Unknown IO ID 45"} 
[2026-08-21 17:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552341248001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1858368195600345088}} 
[2026-08-21 17:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":159492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:34:38] local.INFO: GPS data processed {"connection_id":159492,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:34:38] local.INFO: Acknowledgment sent {"connection_id":159492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:34:40] local.INFO: TCP Data received {"connection_id":159204,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02433d9c8012dc76a800535d4a0001e014d2b..."} 
[2026-08-21 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433d9c8012dc76a800535d4a0001e014d2b..."} 
[2026-08-21 17:34:40] local.INFO: Processing buffer {"connection_id":159204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433d9c8012dc76a800535d4a0001e014d2b..."} 
[2026-08-21 17:34:40] local.INFO: Packet analysis {"connection_id":159204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:34:40] local.INFO: Extracted packet for processing {"connection_id":159204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":768043648,"raw_latitude":87413920,"longitude_deg":76.8043648,"latitude_deg":8.741392,"altitude":30,"angle":333,"satellites":43,"speed":54,"hex_longitude":"2dc76a80","hex_latitude":"0535d4a0","is_valid_coordinates":true} 
[2026-08-21 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552324096001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388398458127515648,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4071183672022978560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787313773000,"timestamp_ms":1787313773000,"timestamp_seconds":1787313773,"priority":1,"record_length":96,"hex_timestamp":"000001a02433d9c8"} 
[2026-08-21 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552324096001,"66":27919,"27":206,"80":35072,"24":54,"16":388398458127515648,"45":-4071183672022978560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,80,24,16,45]} 
[2026-08-21 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552324096001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:34:40] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 17:34:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388398458127515648,"km_value":388398458127515.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4071183672022978560,"description":"Unknown IO ID 45"} 
[2026-08-21 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552324096001,"power":27919,"unknown_27":206,"unknown_80":35072,"ignition":54,"odometer":null,"unknown_45":-4071183672022978560}} 
[2026-08-21 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":159204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:34:40] local.INFO: GPS data processed {"connection_id":159204,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:34:40] local.INFO: Acknowledgment sent {"connection_id":159204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:34:57] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:34:57] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:34:57] local.INFO: IMEI packet received {"connection_id":159494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":159494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:34:59] local.INFO: TCP Data received {"connection_id":159493,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024342fb8012d7cf78005e20db0000f005912..."} 
[2026-08-21 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024342fb8012d7cf78005e20db0000f005912..."} 
[2026-08-21 17:34:59] local.INFO: Processing buffer {"connection_id":159493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024342fb8012d7cf78005e20db0000f005912..."} 
[2026-08-21 17:34:59] local.INFO: Packet analysis {"connection_id":159493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:34:59] local.INFO: Extracted packet for processing {"connection_id":159493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763164544,"raw_latitude":98700720,"longitude_deg":76.3164544,"latitude_deg":9.870072,"altitude":15,"angle":89,"satellites":18,"speed":31,"hex_longitude":"2d7cf780","hex_latitude":"05e20db0","is_valid_coordinates":true} 
[2026-08-21 17:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552329472001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121759054371487744,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997066180846407680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787313795000,"timestamp_ms":1787313795000,"timestamp_seconds":1787313795,"priority":1,"record_length":96,"hex_timestamp":"000001a024342fb8"} 
[2026-08-21 17:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869006,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":43,"raw_value":58077557095399448,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":145,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1311441102,"corrected_to":0} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2442657792,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792924672,"note":"Value kept but may cause issues"} 
[2026-08-21 17:34:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,43,85,24,241,157,16,146,160,221,45,128,7,14,18,10,66,182,64,12,15,19,135,1,240,3,227,145,36,226,4,113,205,33,120,104,8,239,50,2,176,5],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1311441102,"validated":0}]} 
[2026-08-21 17:34:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1297119233366360064,"timestamp_seconds":1297119233366360.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552329472001,"66":13189,"43":206,"85":15104,"24":31,"16":121759054371487744,"45":8997066180846407680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-08-21 17:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552329472001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-08-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121759054371487744,"km_value":121759054371487.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997066180846407680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552329472001,"power":13189,"unknown_43":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8997066180846407680}} 
[2026-08-21 17:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":159493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676890,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:34:59] local.INFO: GPS data processed {"connection_id":159493,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:34:59] local.INFO: Acknowledgment sent {"connection_id":159493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:34:59] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:59] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:34:59] local.INFO: IMEI packet received {"connection_id":161758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":161758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:35:01] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:35:01] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:35:01] local.INFO: IMEI packet received {"connection_id":161758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":161758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:35:02] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:35:02] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:35:02] local.INFO: IMEI packet received {"connection_id":159494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":159494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:35:03] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02433f520012dc75b800535f6280020015128..."} 
[2026-08-21 17:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02433f520012dc75b800535f6280020015128..."} 
[2026-08-21 17:35:03] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02433f520012dc75b800535f6280020015128..."} 
[2026-08-21 17:35:03] local.INFO: Packet analysis {"connection_id":159494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:35:03] local.INFO: Extracted packet for processing {"connection_id":159494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02433"} 
[2026-08-21 17:35:03] local.INFO: GPS Element Parsed {"raw_longitude":768039808,"raw_latitude":87422504,"longitude_deg":76.8039808,"latitude_deg":8.7422504,"altitude":32,"angle":337,"satellites":40,"speed":53,"hex_longitude":"2dc75b80","hex_latitude":"0535f628","is_valid_coordinates":true} 
[2026-08-21 17:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552325888001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388398913394049024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4077305752764243968,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313780000,"timestamp_ms":1787313780000,"timestamp_seconds":1787313780,"priority":1,"record_length":96,"hex_timestamp":"000001a02433f520"} 
[2026-08-21 17:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 17:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552325888001,"66":27865,"25":206,"80":35072,"24":53,"16":388398913394049024,"45":-4077305752764243968},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,80,24,16,45]} 
[2026-08-21 17:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552325888001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:35:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-21 17:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388398913394049024,"km_value":388398913394049.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4077305752764243968,"description":"Unknown IO ID 45"} 
[2026-08-21 17:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552325888001,"power":27865,"unknown_25":206,"unknown_80":35072,"ignition":53,"odometer":null,"unknown_45":-4077305752764243968}} 
[2026-08-21 17:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":159494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:35:03] local.INFO: GPS data processed {"connection_id":159494,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:35:03] local.INFO: Acknowledgment sent {"connection_id":159494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:35:05] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:35:05] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:35:05] local.INFO: IMEI packet received {"connection_id":161758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":161758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:35:06] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02434cbf8012d19c7c00720a3f80035010e28..."} 
[2026-08-21 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02434cbf8012d19c7c00720a3f80035010e28..."} 
[2026-08-21 17:35:06] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02434cbf8012d19c7c00720a3f80035010e28..."} 
[2026-08-21 17:35:06] local.INFO: Packet analysis {"connection_id":161758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:35:06] local.INFO: Extracted packet for processing {"connection_id":161758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756664256,"raw_latitude":119579640,"longitude_deg":75.6664256,"latitude_deg":11.957964,"altitude":53,"angle":270,"satellites":40,"speed":16,"hex_longitude":"2d19c7c0","hex_latitude":"0720a3f8","is_valid_coordinates":true} 
[2026-08-21 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552341504001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14261735259111424,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720623613952,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787313835000,"timestamp_ms":1787313835000,"timestamp_seconds":1787313835,"priority":1,"record_length":96,"hex_timestamp":"000001a02434cbf8"} 
[2026-08-21 17:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 17:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552341504001,"66":14004,"103":206,"83":41984,"24":16,"16":14261735259111424,"45":1858086720623613952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552341504001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:35:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14261735259111424,"km_value":14261735259111.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720623613952,"description":"Unknown IO ID 45"} 
[2026-08-21 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552341504001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1858086720623613952}} 
[2026-08-21 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":161758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:35:06] local.INFO: GPS data processed {"connection_id":161758,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:35:06] local.INFO: Acknowledgment sent {"connection_id":161758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:35:22] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:22] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:22] local.INFO: IMEI packet received {"connection_id":159205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":159205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:35:24] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:24] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:24] local.INFO: IMEI packet received {"connection_id":159205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":159205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:35:26] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:26] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:26] local.INFO: IMEI packet received {"connection_id":159205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":159205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:35:27] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:27] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:35:27] local.INFO: IMEI packet received {"connection_id":159205,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":159205,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:35:27] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.21","data_length":717,"data_hex":"00000000000002c18e09000001a02435d598012d7e03c005e21348000c007117..."} 
[2026-08-21 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":717,"packet_hex":"00000000000002c18e09000001a02435d598012d7e03c005e21348000c007117..."} 
[2026-08-21 17:35:27] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":717,"buffer_hex":"00000000000002c18e09000001a02435d598012d7e03c005e21348000c007117..."} 
[2026-08-21 17:35:27] local.INFO: Packet analysis {"connection_id":159205,"data_field_length":705,"total_packet_length":717,"buffer_length":717,"packet_hex_start":"00000000000002c18e09000001a02435"} 
[2026-08-21 17:35:27] local.INFO: Extracted packet for processing {"connection_id":159205,"packet_length":717,"remaining_buffer_length":0,"packet_hex_start":"00000000000002c18e09000001a02435"} 
[2026-08-21 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":98702152,"longitude_deg":76.3233216,"latitude_deg":9.8702152,"altitude":12,"angle":113,"satellites":23,"speed":4,"hex_longitude":"2d7e03c0","hex_latitude":"05e21348","is_valid_coordinates":true} 
[2026-08-21 17:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":717,"current_offset":40} 
[2026-08-21 17:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552356352001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121762404445978624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079749455255939072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787313903000,"timestamp_ms":1787313903000,"timestamp_seconds":1787313903,"priority":1,"record_length":96,"hex_timestamp":"000001a02435d598"} 
[2026-08-21 17:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":9,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":717,"current_offset":136} 
[2026-08-21 17:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":717,"available_bytes":581,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":717,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":9,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:35:27] local.INFO: AVL Records parsing completed {"total_expected":9,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159205,"avl_records_parsed":1,"avl_records_expected":9,"crc_valid":false} 
[2026-08-21 17:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552356352001,"66":12809,"61":206,"85":15104,"24":4,"16":121762404445978624,"45":9079749455255939072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-21 17:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552356352001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:35:27] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-21 17:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121762404445978624,"km_value":121762404445978.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079749455255939072,"description":"Unknown IO ID 45"} 
[2026-08-21 17:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552356352001,"power":12809,"unknown_61":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":9079749455255939072}} 
[2026-08-21 17:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":159205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:35:27] local.INFO: GPS data processed {"connection_id":159205,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:35:27] local.INFO: Acknowledgment sent {"connection_id":159205,"records_acknowledged":1,"records_expected":9,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:35:32] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02435d980012d7e044005e21330000c006517..."} 
[2026-08-21 17:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02435d980012d7e044005e21330000c006517..."} 
[2026-08-21 17:35:32] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02435d980012d7e044005e21330000c006517..."} 
[2026-08-21 17:35:32] local.INFO: Packet analysis {"connection_id":159205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:35:32] local.INFO: Extracted packet for processing {"connection_id":159205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:35:32] local.INFO: GPS Element Parsed {"raw_longitude":763233344,"raw_latitude":98702128,"longitude_deg":76.3233344,"latitude_deg":9.8702128,"altitude":12,"angle":101,"satellites":23,"speed":8,"hex_longitude":"2d7e0440","hex_latitude":"05e21330","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552359168001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121762408740945920,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312405209335808,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787313904000,"timestamp_ms":1787313904000,"timestamp_seconds":1787313904,"priority":1,"record_length":96,"hex_timestamp":"000001a02435d980"} 
[2026-08-21 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-08-21 17:35: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-08-21 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3817601133719685504,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":225,"raw_value":4264034316,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3758173565,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2147869180,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422375,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2508652544,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2161112094324269545,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964620604264021,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:32] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,61,85,24,241,157,16,150,160,170,45,192,19,11,23,10,66,166,64,127,1,240,139,227,36,225,4,113,205,35,76,198,120,239,51,2,176,5,15,33,50,59,67],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-08-21 17:35:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864815472053583872,"timestamp_seconds":864815472053583.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 17:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552359168001,"66":12211,"61":206,"85":15104,"24":8,"16":121762408740945920,"45":9080312405209335808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-21 17:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552359168001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:35:32] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-21 17:35:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121762408740945920,"km_value":121762408740945.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312405209335808,"description":"Unknown IO ID 45"} 
[2026-08-21 17:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552359168001,"power":12211,"unknown_61":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9080312405209335808}} 
[2026-08-21 17:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":159205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676894,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:35:32] local.INFO: GPS data processed {"connection_id":159205,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:35:32] local.INFO: Acknowledgment sent {"connection_id":159205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:35:36] local.INFO: TCP Data received {"connection_id":159494,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024341078012dc74dc005361758002201502b..."} 
[2026-08-21 17:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024341078012dc74dc005361758002201502b..."} 
[2026-08-21 17:35:36] local.INFO: Processing buffer {"connection_id":159494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024341078012dc74dc005361758002201502b..."} 
[2026-08-21 17:35:36] local.INFO: Packet analysis {"connection_id":159494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:35:36] local.INFO: Extracted packet for processing {"connection_id":159494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:35:36] local.INFO: GPS Element Parsed {"raw_longitude":768036288,"raw_latitude":87431000,"longitude_deg":76.8036288,"latitude_deg":8.7431,"altitude":34,"angle":336,"satellites":43,"speed":51,"hex_longitude":"2dc74dc0","hex_latitude":"05361758","is_valid_coordinates":true} 
[2026-08-21 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552327680001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388399355775680512,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4081527877412706304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787313787000,"timestamp_ms":1787313787000,"timestamp_seconds":1787313787,"priority":1,"record_length":96,"hex_timestamp":"000001a024341078"} 
[2026-08-21 17:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:35: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-08-21 17:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:35:36] 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-08-21 17:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552327680001,"66":27800,"25":206,"80":35072,"24":51,"16":388399355775680512,"45":-4081527877412706304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,80,24,16,45]} 
[2026-08-21 17:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552327680001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-08-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388399355775680512,"km_value":388399355775680.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4081527877412706304,"description":"Unknown IO ID 45"} 
[2026-08-21 17:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552327680001,"power":27800,"unknown_25":206,"unknown_80":35072,"ignition":51,"odometer":null,"unknown_45":-4081527877412706304}} 
[2026-08-21 17:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":159494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:35:36] local.INFO: GPS data processed {"connection_id":159494,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:35:36] local.INFO: Acknowledgment sent {"connection_id":159494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:35:37] local.INFO: TCP Data received {"connection_id":161758,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02434d3c8012d19c4400720a4700036011925..."} 
[2026-08-21 17:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02434d3c8012d19c4400720a4700036011925..."} 
[2026-08-21 17:35:37] local.INFO: Processing buffer {"connection_id":161758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02434d3c8012d19c4400720a4700036011925..."} 
[2026-08-21 17:35:37] local.INFO: Packet analysis {"connection_id":161758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:35:37] local.INFO: Extracted packet for processing {"connection_id":161758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02434"} 
[2026-08-21 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756663360,"raw_latitude":119579760,"longitude_deg":75.666336,"latitude_deg":11.957976,"altitude":54,"angle":281,"satellites":37,"speed":19,"hex_longitude":"2d19c440","hex_latitude":"0720a470","is_valid_coordinates":true} 
[2026-08-21 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552341760001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14261778208784384,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857664508158539776,"note":"Value kept but may cause issues"} 
[2026-08-21 17:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787313837000,"timestamp_ms":1787313837000,"timestamp_seconds":1787313837,"priority":1,"record_length":96,"hex_timestamp":"000001a02434d3c8"} 
[2026-08-21 17:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 17:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552341760001,"66":13722,"103":206,"83":41984,"24":19,"16":14261778208784384,"45":1857664508158539776},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552341760001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:35:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14261778208784384,"km_value":14261778208784.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857664508158539776,"description":"Unknown IO ID 45"} 
[2026-08-21 17:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552341760001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1857664508158539776}} 
[2026-08-21 17:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":161758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:35:37] local.INFO: GPS data processed {"connection_id":161758,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:35:37] local.INFO: Acknowledgment sent {"connection_id":161758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:00] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:00] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:00] local.INFO: IMEI packet received {"connection_id":159207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":159207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:36:01] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:01] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:01] local.INFO: IMEI packet received {"connection_id":159207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":159207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:36:02] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:02] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:02] local.INFO: IMEI packet received {"connection_id":159206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":159206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:36:03] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:03] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:03] local.INFO: IMEI packet received {"connection_id":159207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":159207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:36:03] local.INFO: TCP Data received {"connection_id":159205,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024361fd0012d7e270005e20ce8000b006b17..."} 
[2026-08-21 17:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024361fd0012d7e270005e20ce8000b006b17..."} 
[2026-08-21 17:36:03] local.INFO: Processing buffer {"connection_id":159205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024361fd0012d7e270005e20ce8000b006b17..."} 
[2026-08-21 17:36:03] local.INFO: Packet analysis {"connection_id":159205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:03] local.INFO: Extracted packet for processing {"connection_id":159205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:03] local.INFO: GPS Element Parsed {"raw_longitude":763242240,"raw_latitude":98700520,"longitude_deg":76.324224,"latitude_deg":9.870052,"altitude":11,"angle":107,"satellites":23,"speed":15,"hex_longitude":"2d7e2700","hex_latitude":"05e20ce8","is_valid_coordinates":true} 
[2026-08-21 17:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552359424001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121762842532642816,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080453142697684992,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313922000,"timestamp_ms":1787313922000,"timestamp_seconds":1787313922,"priority":1,"record_length":96,"hex_timestamp":"000001a024361fd0"} 
[2026-08-21 17:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159205,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552359424001,"66":13102,"61":206,"85":15104,"24":15,"16":121762842532642816,"45":9080453142697684992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-21 17:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552359424001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:03] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-21 17:36:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121762842532642816,"km_value":121762842532642.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080453142697684992,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552359424001,"power":13102,"unknown_61":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9080453142697684992}} 
[2026-08-21 17:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":159205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:03] local.INFO: GPS data processed {"connection_id":159205,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:03] local.INFO: Acknowledgment sent {"connection_id":159205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:06] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:06] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:36:06] local.INFO: IMEI packet received {"connection_id":159207,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":159207,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:36:07] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02435c210012d1907400720cb380035012c26..."} 
[2026-08-21 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02435c210012d1907400720cb380035012c26..."} 
[2026-08-21 17:36:07] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02435c210012d1907400720cb380035012c26..."} 
[2026-08-21 17:36:07] local.INFO: Packet analysis {"connection_id":159207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:36:07] local.INFO: Extracted packet for processing {"connection_id":159207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756614976,"raw_latitude":119589688,"longitude_deg":75.6614976,"latitude_deg":11.9589688,"altitude":53,"angle":300,"satellites":38,"speed":31,"hex_longitude":"2d190740","hex_latitude":"0720cb38","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552357888001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14264204865306624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803480575144310784,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787313898000,"timestamp_ms":1787313898000,"timestamp_seconds":1787313898,"priority":1,"record_length":96,"hex_timestamp":"000001a02435c210"} 
[2026-08-21 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-08-21 17:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552357888001,"66":14428,"103":206,"83":41984,"24":31,"16":14264204865306624,"45":1803480575144310784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552357888001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14264204865306624,"km_value":14264204865306.623,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803480575144310784,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552357888001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1803480575144310784}} 
[2026-08-21 17:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":159207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:07] local.INFO: GPS data processed {"connection_id":159207,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:07] local.INFO: Acknowledgment sent {"connection_id":159207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:07] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:07] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:07] local.INFO: IMEI packet received {"connection_id":159206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":159206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:36:08] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02435e920012dc650c005372d600032013729..."} 
[2026-08-21 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02435e920012dc650c005372d600032013729..."} 
[2026-08-21 17:36:08] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02435e920012dc650c005372d600032013729..."} 
[2026-08-21 17:36:08] local.INFO: Packet analysis {"connection_id":159206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:36:08] local.INFO: Extracted packet for processing {"connection_id":159206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":767971520,"raw_latitude":87502176,"longitude_deg":76.797152,"latitude_deg":8.7502176,"altitude":50,"angle":311,"satellites":41,"speed":53,"hex_longitude":"2dc650c0","hex_latitude":"05372d60","is_valid_coordinates":true} 
[2026-08-21 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552358656001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388404054469902336,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4148589290594983936,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787313908000,"timestamp_ms":1787313908000,"timestamp_seconds":1787313908,"priority":1,"record_length":96,"hex_timestamp":"000001a02435e920"} 
[2026-08-21 17:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552358656001,"66":27767,"113":206,"80":35072,"24":53,"16":388404054469902336,"45":-4148589290594983936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-21 17:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552358656001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:36:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388404054469902336,"km_value":388404054469902.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4148589290594983936,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552358656001,"power":27767,"unknown_113":206,"unknown_80":35072,"ignition":53,"odometer":null,"unknown_45":-4148589290594983936}} 
[2026-08-21 17:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":159206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:08] local.INFO: GPS data processed {"connection_id":159206,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:08] local.INFO: Acknowledgment sent {"connection_id":159206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:09] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024360478012dc63880053748b00034014629..."} 
[2026-08-21 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024360478012dc63880053748b00034014629..."} 
[2026-08-21 17:36:09] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024360478012dc63880053748b00034014629..."} 
[2026-08-21 17:36:09] local.INFO: Packet analysis {"connection_id":159206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:09] local.INFO: Extracted packet for processing {"connection_id":159206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":767965312,"raw_latitude":87509168,"longitude_deg":76.7965312,"latitude_deg":8.7509168,"altitude":52,"angle":326,"satellites":41,"speed":50,"hex_longitude":"2dc63880","hex_latitude":"053748b0","is_valid_coordinates":true} 
[2026-08-21 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552360448001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388404505441468416,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4156611327429877760,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787313915000,"timestamp_ms":1787313915000,"timestamp_seconds":1787313915,"priority":1,"record_length":96,"hex_timestamp":"000001a024360478"} 
[2026-08-21 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17: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-08-21 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 17:36: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-08-21 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552360448001,"66":27865,"113":206,"80":35072,"24":50,"16":388404505441468416,"45":-4156611327429877760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552360448001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388404505441468416,"km_value":388404505441468.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4156611327429877760,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552360448001,"power":27865,"unknown_113":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-4156611327429877760}} 
[2026-08-21 17:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":159206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:09] local.INFO: GPS data processed {"connection_id":159206,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:09] local.INFO: Acknowledgment sent {"connection_id":159206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:09] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02435e150012d18f2c00720d9480038013827..."} 
[2026-08-21 17:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02435e150012d18f2c00720d9480038013827..."} 
[2026-08-21 17:36:09] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02435e150012d18f2c00720d9480038013827..."} 
[2026-08-21 17:36:09] local.INFO: Packet analysis {"connection_id":159207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:36:09] local.INFO: Extracted packet for processing {"connection_id":159207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02435"} 
[2026-08-21 17:36:09] local.INFO: GPS Element Parsed {"raw_longitude":756609728,"raw_latitude":119593288,"longitude_deg":75.6609728,"latitude_deg":11.9593288,"altitude":56,"angle":312,"satellites":39,"speed":34,"hex_longitude":"2d18f2c0","hex_latitude":"0720d948","is_valid_coordinates":true} 
[2026-08-21 17:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552357888001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14264509807984640,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803480575144310784,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787313906000,"timestamp_ms":1787313906000,"timestamp_seconds":1787313906,"priority":1,"record_length":96,"hex_timestamp":"000001a02435e150"} 
[2026-08-21 17:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:36: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-08-21 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552357888001,"66":13961,"103":206,"83":41984,"24":34,"16":14264509807984640,"45":1803480575144310784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 17:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552357888001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14264509807984640,"km_value":14264509807984.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803480575144310784,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552357888001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1803480575144310784}} 
[2026-08-21 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":159207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:10] local.INFO: GPS data processed {"connection_id":159207,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:10] local.INFO: Acknowledgment sent {"connection_id":159207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:22] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:22] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:22] local.INFO: IMEI packet received {"connection_id":159495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":159495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:36:24] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:24] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:24] local.INFO: IMEI packet received {"connection_id":159495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":159495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:36:27] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:27] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:36:27] local.INFO: IMEI packet received {"connection_id":159495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":159495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:36:28] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243627a0012d7e2a0005e20ba8000b007a17..."} 
[2026-08-21 17:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243627a0012d7e2a0005e20ba8000b007a17..."} 
[2026-08-21 17:36:28] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243627a0012d7e2a0005e20ba8000b007a17..."} 
[2026-08-21 17:36:28] local.INFO: Packet analysis {"connection_id":159495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:28] local.INFO: Extracted packet for processing {"connection_id":159495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763243008,"raw_latitude":98700200,"longitude_deg":76.3243008,"latitude_deg":9.87002,"altitude":11,"angle":122,"satellites":23,"speed":16,"hex_longitude":"2d7e2a00","hex_latitude":"05e20ba8","is_valid_coordinates":true} 
[2026-08-21 17:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552364032001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121762885482315776,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9090234398137968640,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787313924000,"timestamp_ms":1787313924000,"timestamp_seconds":1787313924,"priority":1,"record_length":96,"hex_timestamp":"000001a0243627a0"} 
[2026-08-21 17:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552364032001,"66":12722,"61":206,"85":15104,"24":16,"16":121762885482315776,"45":9090234398137968640},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-21 17:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552364032001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121762885482315776,"km_value":121762885482315.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9090234398137968640,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552364032001,"power":12722,"unknown_61":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9090234398137968640}} 
[2026-08-21 17:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":159495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:28] local.INFO: GPS data processed {"connection_id":159495,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:28] local.INFO: Acknowledgment sent {"connection_id":159495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:40] local.INFO: TCP Data received {"connection_id":159206,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024360478012dc63880053748b00034014629..."} 
[2026-08-21 17:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024360478012dc63880053748b00034014629..."} 
[2026-08-21 17:36:40] local.INFO: Processing buffer {"connection_id":159206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024360478012dc63880053748b00034014629..."} 
[2026-08-21 17:36:40] local.INFO: Packet analysis {"connection_id":159206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:40] local.INFO: Extracted packet for processing {"connection_id":159206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":767965312,"raw_latitude":87509168,"longitude_deg":76.7965312,"latitude_deg":8.7509168,"altitude":52,"angle":326,"satellites":41,"speed":50,"hex_longitude":"2dc63880","hex_latitude":"053748b0","is_valid_coordinates":true} 
[2026-08-21 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552362240001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388404505441468416,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4163437095613321216,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36: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-08-21 17:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787313915000,"timestamp_ms":1787313915000,"timestamp_seconds":1787313915,"priority":1,"record_length":96,"hex_timestamp":"000001a024360478"} 
[2026-08-21 17:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552362240001,"66":27865,"113":206,"80":35072,"24":50,"16":388404505441468416,"45":-4163437095613321216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-21 17:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552362240001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:36:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388404505441468416,"km_value":388404505441468.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4163437095613321216,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552362240001,"power":27865,"unknown_113":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-4163437095613321216}} 
[2026-08-21 17:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":159206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:40] local.INFO: GPS data processed {"connection_id":159206,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:40] local.INFO: Acknowledgment sent {"connection_id":159206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:41] local.INFO: TCP Data received {"connection_id":159207,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243698e8012d18b04007216cf0004b014125..."} 
[2026-08-21 17:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243698e8012d18b04007216cf0004b014125..."} 
[2026-08-21 17:36:41] local.INFO: Processing buffer {"connection_id":159207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243698e8012d18b04007216cf0004b014125..."} 
[2026-08-21 17:36:41] local.INFO: Packet analysis {"connection_id":159207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:41] local.INFO: Extracted packet for processing {"connection_id":159207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:41] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119631088,"longitude_deg":75.6592704,"latitude_deg":11.9631088,"altitude":75,"angle":321,"satellites":37,"speed":31,"hex_longitude":"2d18b040","hex_latitude":"07216cf0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552369664001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14266575687254016,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527684096,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787313953000,"timestamp_ms":1787313953000,"timestamp_seconds":1787313953,"priority":1,"record_length":96,"hex_timestamp":"000001a0243698e8"} 
[2026-08-21 17:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159207,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552369664001,"66":14080,"106":206,"83":41984,"24":31,"16":14266575687254016,"45":1783847695527684096},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 17:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552369664001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 17:36:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14266575687254016,"km_value":14266575687254.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527684096,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552369664001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1783847695527684096}} 
[2026-08-21 17:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":159207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:41] local.INFO: GPS data processed {"connection_id":159207,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:41] local.INFO: Acknowledgment sent {"connection_id":159207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:36:57] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:57] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:57] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:36:57] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:57] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:36:57] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:36:58] local.INFO: TCP Data received {"connection_id":159495,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243646e0012d7e2cc005e209a8000c009c17..."} 
[2026-08-21 17:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243646e0012d7e2cc005e209a8000c009c17..."} 
[2026-08-21 17:36:58] local.INFO: Processing buffer {"connection_id":159495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243646e0012d7e2cc005e209a8000c009c17..."} 
[2026-08-21 17:36:58] local.INFO: Packet analysis {"connection_id":159495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:58] local.INFO: Extracted packet for processing {"connection_id":159495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763243712,"raw_latitude":98699688,"longitude_deg":76.3243712,"latitude_deg":9.8699688,"altitude":12,"angle":156,"satellites":23,"speed":9,"hex_longitude":"2d7e2cc0","hex_latitude":"05e209a8","is_valid_coordinates":true} 
[2026-08-21 17:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552364544001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121762928431988736,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078823068018688,"note":"Value kept but may cause issues"} 
[2026-08-21 17:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787313932000,"timestamp_ms":1787313932000,"timestamp_seconds":1787313932,"priority":1,"record_length":96,"hex_timestamp":"000001a0243646e0"} 
[2026-08-21 17:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552364544001,"66":13178,"61":206,"85":15104,"24":9,"16":121762928431988736,"45":9091078823068018688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-21 17:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552364544001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:36:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-21 17:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121762928431988736,"km_value":121762928431988.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078823068018688,"description":"Unknown IO ID 45"} 
[2026-08-21 17:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552364544001,"power":13178,"unknown_61":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9091078823068018688}} 
[2026-08-21 17:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":159495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:36:58] local.INFO: GPS data processed {"connection_id":159495,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:36:58] local.INFO: Acknowledgment sent {"connection_id":159495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:37:01] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:37:01] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:37:01] local.INFO: IMEI packet received {"connection_id":159496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":159496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:37:02] local.INFO: TCP Data received {"connection_id":159208,"ip":"91.196.152.113","data_length":614,"data_hex":"16030302610100025d0303d27b8022acf0fc13d021a0f0e1c39cd2f7d1e6e0e8..."} 
[2026-08-21 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159208,"packet_length":614,"packet_hex":"16030302610100025d0303d27b8022acf0fc13d021a0f0e1c39cd2f7d1e6e0e8..."} 
[2026-08-21 17:37:02] local.INFO: Processing buffer {"connection_id":159208,"buffer_length":614,"buffer_hex":"16030302610100025d0303d27b8022acf0fc13d021a0f0e1c39cd2f7d1e6e0e8..."} 
[2026-08-21 17:37:02] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":159208,"buffer_length":614,"first_bytes_hex":"16030302610100025d0303d27b8022ac"} 
[2026-08-21 17:37:02] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:02] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:02] local.INFO: IMEI packet received {"connection_id":160388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":160388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:37:03] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024361418012dc63080053759780035015229..."} 
[2026-08-21 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024361418012dc63080053759780035015229..."} 
[2026-08-21 17:37:03] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024361418012dc63080053759780035015229..."} 
[2026-08-21 17:37:03] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:03] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":767963264,"raw_latitude":87513464,"longitude_deg":76.7963264,"latitude_deg":8.7513464,"altitude":53,"angle":338,"satellites":41,"speed":45,"hex_longitude":"2dc63080","hex_latitude":"05375978","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552362240001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388404737369702400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4163437095613321216,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787313919000,"timestamp_ms":1787313919000,"timestamp_seconds":1787313919,"priority":1,"record_length":96,"hex_timestamp":"000001a024361418"} 
[2026-08-21 17:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:37:03] 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-08-21 17: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-08-21 17:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552362240001,"66":27843,"113":206,"80":35072,"24":45,"16":388404737369702400,"45":-4163437095613321216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-21 17:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552362240001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:37:03] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:37:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388404737369702400,"km_value":388404737369702.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4163437095613321216,"description":"Unknown IO ID 45"} 
[2026-08-21 17:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552362240001,"power":27843,"unknown_113":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-4163437095613321216}} 
[2026-08-21 17:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:37:03] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:37:03] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:37:06] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:37:06] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:37:06] local.INFO: IMEI packet received {"connection_id":159496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":159496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:37:07] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02436a4a0012d18aa4007217270004d013027..."} 
[2026-08-21 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02436a4a0012d18aa4007217270004d013027..."} 
[2026-08-21 17:37:07] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02436a4a0012d18aa4007217270004d013027..."} 
[2026-08-21 17:37:07] local.INFO: Packet analysis {"connection_id":159496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:07] local.INFO: Extracted packet for processing {"connection_id":159496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756591168,"raw_latitude":119632496,"longitude_deg":75.6591168,"latitude_deg":11.9632496,"altitude":77,"angle":304,"satellites":39,"speed":26,"hex_longitude":"2d18aa40","hex_latitude":"07217270","is_valid_coordinates":true} 
[2026-08-21 17:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552371968001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14266674471501824,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252181082112,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787313956000,"timestamp_ms":1787313956000,"timestamp_seconds":1787313956,"priority":1,"record_length":96,"hex_timestamp":"000001a02436a4a0"} 
[2026-08-21 17:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3758096384,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4227911018,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2929328128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,106,83,24,241,157,16,175,160,117,45,128,71,39,10,66,113,192,80,174,102,1,240,22,227,36,33,4,205,74,88,38,239,53,2,50,7,69],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[]} 
[2026-08-21 17:37:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404672654992932864,"timestamp_seconds":5404672654992933.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552371968001,"66":14026,"106":206,"83":41984,"24":26,"16":14266674471501824,"45":1778992252181082112},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 17:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552371968001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:37:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 17:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14266674471501824,"km_value":14266674471501.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252181082112,"description":"Unknown IO ID 45"} 
[2026-08-21 17:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552371968001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1778992252181082112}} 
[2026-08-21 17:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":159496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:37:07] local.INFO: GPS data processed {"connection_id":159496,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:37:07] local.INFO: Acknowledgment sent {"connection_id":159496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:37:27] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:37:27] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:37:27] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:37:30] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:37:30] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:37:30] local.INFO: IMEI packet received {"connection_id":161760,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":161760,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:37:31] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02437b610012d7e1a0005e16108000e00ab17..."} 
[2026-08-21 17:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02437b610012d7e1a0005e16108000e00ab17..."} 
[2026-08-21 17:37:31] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02437b610012d7e1a0005e16108000e00ab17..."} 
[2026-08-21 17:37:31] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02437"} 
[2026-08-21 17:37:31] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02437"} 
[2026-08-21 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":763238912,"raw_latitude":98656520,"longitude_deg":76.3238912,"latitude_deg":9.865652,"altitude":14,"angle":171,"satellites":23,"speed":33,"hex_longitude":"2d7e1a00","hex_latitude":"05e16108","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552387840001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121765075915636736,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086153010966829056,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787314026000,"timestamp_ms":1787314026000,"timestamp_seconds":1787314026,"priority":1,"record_length":96,"hex_timestamp":"000001a02437b610"} 
[2026-08-21 17:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 17:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552387840001,"66":12961,"61":206,"85":15104,"24":33,"16":121765075915636736,"45":9086153010966829056},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-08-21 17:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552387840001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:37:31] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-08-21 17:37:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121765075915636736,"km_value":121765075915636.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086153010966829056,"description":"Unknown IO ID 45"} 
[2026-08-21 17:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552387840001,"power":12961,"unknown_61":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9086153010966829056}} 
[2026-08-21 17:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:37:31] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:37:31] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:37:32] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02437e4f0012d7e1f0005e13ed0000c00ad17..."} 
[2026-08-21 17:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02437e4f0012d7e1f0005e13ed0000c00ad17..."} 
[2026-08-21 17:37:32] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02437e4f0012d7e1f0005e13ed0000c00ad17..."} 
[2026-08-21 17:37:32] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02437"} 
[2026-08-21 17:37:32] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02437"} 
[2026-08-21 17:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763240192,"raw_latitude":98647760,"longitude_deg":76.3240192,"latitude_deg":9.864776,"altitude":12,"angle":173,"satellites":23,"speed":26,"hex_longitude":"2d7e1f00","hex_latitude":"05e13ed0","is_valid_coordinates":true} 
[2026-08-21 17:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552390656001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121765505412366336,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086575223429466112,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787314038000,"timestamp_ms":1787314038000,"timestamp_seconds":1787314038,"priority":1,"record_length":96,"hex_timestamp":"000001a02437e4f0"} 
[2026-08-21 17:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:37: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-08-21 17:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-08-21 17:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552390656001,"66":13222,"105":206,"85":15104,"24":26,"16":121765505412366336,"45":9086575223429466112},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-21 17:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552390656001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:37:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121765505412366336,"km_value":121765505412366.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086575223429466112,"description":"Unknown IO ID 45"} 
[2026-08-21 17:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552390656001,"power":13222,"unknown_105":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9086575223429466112}} 
[2026-08-21 17:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676909,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:37:32] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:37:32] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:37:35] local.INFO: TCP Data received {"connection_id":160388,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024363b28012dc6230005377d400032015326..."} 
[2026-08-21 17:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024363b28012dc6230005377d400032015326..."} 
[2026-08-21 17:37:35] local.INFO: Processing buffer {"connection_id":160388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024363b28012dc6230005377d400032015326..."} 
[2026-08-21 17:37:35] local.INFO: Packet analysis {"connection_id":160388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:35] local.INFO: Extracted packet for processing {"connection_id":160388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:35] local.INFO: GPS Element Parsed {"raw_longitude":767959808,"raw_latitude":87522624,"longitude_deg":76.7959808,"latitude_deg":8.7522624,"altitude":50,"angle":339,"satellites":38,"speed":39,"hex_longitude":"2dc62300","hex_latitude":"05377d40","is_valid_coordinates":true} 
[2026-08-21 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552363264001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388405209816104960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4165688895425906688,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787313929000,"timestamp_ms":1787313929000,"timestamp_seconds":1787313929,"priority":1,"record_length":96,"hex_timestamp":"000001a024363b28"} 
[2026-08-21 17:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:37: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-08-21 17:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552363264001,"66":27843,"113":206,"80":35072,"24":39,"16":388405209816104960,"45":-4165688895425906688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-21 17:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552363264001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:37:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:37:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388405209816104960,"km_value":388405209816104.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4165688895425906688,"description":"Unknown IO ID 45"} 
[2026-08-21 17:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552363264001,"power":27843,"unknown_113":206,"unknown_80":35072,"ignition":39,"odometer":null,"unknown_45":-4165688895425906688}} 
[2026-08-21 17:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":160388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:37:35] local.INFO: GPS data processed {"connection_id":160388,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:37:35] local.INFO: Acknowledgment sent {"connection_id":160388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:37:38] local.INFO: TCP Data received {"connection_id":159496,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02436ac70012d18a580072174a8004d012126..."} 
[2026-08-21 17:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02436ac70012d18a580072174a8004d012126..."} 
[2026-08-21 17:37:38] local.INFO: Processing buffer {"connection_id":159496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02436ac70012d18a580072174a8004d012126..."} 
[2026-08-21 17:37:38] local.INFO: Packet analysis {"connection_id":159496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:38] local.INFO: Extracted packet for processing {"connection_id":159496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756589952,"raw_latitude":119633064,"longitude_deg":75.6589952,"latitude_deg":11.9633064,"altitude":77,"angle":289,"satellites":38,"speed":29,"hex_longitude":"2d18a580","hex_latitude":"072174a8","is_valid_coordinates":true} 
[2026-08-21 17:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552372736001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14266738896011264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777303402321178624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313958000,"timestamp_ms":1787313958000,"timestamp_seconds":1787313958,"priority":1,"record_length":96,"hex_timestamp":"000001a02436ac70"} 
[2026-08-21 17:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:37: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-08-21 17:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 17:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552372736001,"66":14483,"106":206,"83":41984,"24":29,"16":14266738896011264,"45":1777303402321178624},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 17:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552372736001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:37:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 17:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14266738896011264,"km_value":14266738896011.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777303402321178624,"description":"Unknown IO ID 45"} 
[2026-08-21 17:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552372736001,"power":14483,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1777303402321178624}} 
[2026-08-21 17:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":159496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:37:39] local.INFO: GPS data processed {"connection_id":159496,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:37:39] local.INFO: Acknowledgment sent {"connection_id":159496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:37:57] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:57] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:57] local.INFO: IMEI packet received {"connection_id":159209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":159209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:37:57] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:57] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:37:57] local.INFO: IMEI packet received {"connection_id":159209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":159209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:38:00] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:00] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:00] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:38:01] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:01] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:01] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:38:01] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:01] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:01] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:38:02] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:38:02] local.INFO: TCP Data received {"connection_id":161761,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:38:02] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:38:02] local.INFO: IMEI packet received {"connection_id":159209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":159209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:02] local.INFO: Processing buffer {"connection_id":161761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:38:02] local.INFO: IMEI packet received {"connection_id":161761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":161761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:38:03] local.INFO: TCP Data received {"connection_id":161760,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024380c00012d7e214005e12400000e00bb17..."} 
[2026-08-21 17:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024380c00012d7e214005e12400000e00bb17..."} 
[2026-08-21 17:38:03] local.INFO: Processing buffer {"connection_id":161760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024380c00012d7e214005e12400000e00bb17..."} 
[2026-08-21 17:38:03] local.INFO: Packet analysis {"connection_id":161760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:38:03] local.INFO: Extracted packet for processing {"connection_id":161760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763240768,"raw_latitude":98640896,"longitude_deg":76.3240768,"latitude_deg":9.8640896,"altitude":14,"angle":187,"satellites":23,"speed":27,"hex_longitude":"2d7e2140","hex_latitude":"05e12400","is_valid_coordinates":true} 
[2026-08-21 17:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552393728001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121765840419815424,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087982598310776832,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314048000,"timestamp_ms":1787314048000,"timestamp_seconds":1787314048,"priority":1,"record_length":96,"hex_timestamp":"000001a024380c00"} 
[2026-08-21 17:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 17:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161760,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552393728001,"66":12950,"105":206,"85":15104,"24":27,"16":121765840419815424,"45":9087982598310776832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-21 17:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552393728001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:38:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:38:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121765840419815424,"km_value":121765840419815.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087982598310776832,"description":"Unknown IO ID 45"} 
[2026-08-21 17:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552393728001,"power":12950,"unknown_105":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9087982598310776832}} 
[2026-08-21 17:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":161760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676912,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:38:03] local.INFO: GPS data processed {"connection_id":161760,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:38:03] local.INFO: Acknowledgment sent {"connection_id":161760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:38:05] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024365e50012dc611c005379f680033014827..."} 
[2026-08-21 17:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024365e50012dc611c005379f680033014827..."} 
[2026-08-21 17:38:05] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024365e50012dc611c005379f680033014827..."} 
[2026-08-21 17:38:05] local.INFO: Packet analysis {"connection_id":159209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:38:05] local.INFO: Extracted packet for processing {"connection_id":159209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":767955392,"raw_latitude":87531368,"longitude_deg":76.7955392,"latitude_deg":8.7531368,"altitude":51,"angle":328,"satellites":39,"speed":45,"hex_longitude":"2dc611c0","hex_latitude":"05379f68","is_valid_coordinates":true} 
[2026-08-21 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552365824001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388405686557474816,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4169488807609155584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787313938000,"timestamp_ms":1787313938000,"timestamp_seconds":1787313938,"priority":1,"record_length":96,"hex_timestamp":"000001a024365e50"} 
[2026-08-21 17:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:38: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-08-21 17:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552365824001,"66":27876,"113":206,"80":35072,"24":45,"16":388405686557474816,"45":-4169488807609155584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,80,24,16,45]} 
[2026-08-21 17:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552365824001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:38:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:38:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388405686557474816,"km_value":388405686557474.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4169488807609155584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552365824001,"power":27876,"unknown_113":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-4169488807609155584}} 
[2026-08-21 17:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":159209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:38:05] local.INFO: GPS data processed {"connection_id":159209,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:38:05] local.INFO: Acknowledgment sent {"connection_id":159209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:38:20] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:20] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:20] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:38:20] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:38:22] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:22] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:22] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:38:28] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:28] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:38:28] local.INFO: IMEI packet received {"connection_id":160389,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":160389,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:38:30] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243813d0012d7e1fc005e11ee0000e00cc17..."} 
[2026-08-21 17:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243813d0012d7e1fc005e11ee0000e00cc17..."} 
[2026-08-21 17:38:30] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243813d0012d7e1fc005e11ee0000e00cc17..."} 
[2026-08-21 17:38:30] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:38:30] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":763240384,"raw_latitude":98639584,"longitude_deg":76.3240384,"latitude_deg":9.8639584,"altitude":14,"angle":204,"satellites":23,"speed":27,"hex_longitude":"2d7e1fc0","hex_latitude":"05e11ee0","is_valid_coordinates":true} 
[2026-08-21 17:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552396288001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121765904844324864,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088615917006618624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787314050000,"timestamp_ms":1787314050000,"timestamp_seconds":1787314050,"priority":1,"record_length":96,"hex_timestamp":"000001a0243813d0"} 
[2026-08-21 17:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 17:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552396288001,"66":13135,"105":206,"85":15104,"24":27,"16":121765904844324864,"45":9088615917006618624},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,85,24,16,45]} 
[2026-08-21 17:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552396288001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:38:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121765904844324864,"km_value":121765904844324.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088615917006618624,"description":"Unknown IO ID 45"} 
[2026-08-21 17:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552396288001,"power":13135,"unknown_105":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9088615917006618624}} 
[2026-08-21 17:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676914,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:38:30] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:38:30] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:38:38] local.INFO: TCP Data received {"connection_id":159209,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024367d90012dc5fdc00537bf680032014726..."} 
[2026-08-21 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024367d90012dc5fdc00537bf680032014726..."} 
[2026-08-21 17:38:38] local.INFO: Processing buffer {"connection_id":159209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024367d90012dc5fdc00537bf680032014726..."} 
[2026-08-21 17:38:38] local.INFO: Packet analysis {"connection_id":159209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:38:38] local.INFO: Extracted packet for processing {"connection_id":159209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02436"} 
[2026-08-21 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":767950272,"raw_latitude":87539560,"longitude_deg":76.7950272,"latitude_deg":8.753956,"altitude":50,"angle":327,"satellites":38,"speed":50,"hex_longitude":"2dc5fdc0","hex_latitude":"0537bf68","is_valid_coordinates":true} 
[2026-08-21 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552368128001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388406150413942784,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4174344250955175936,"note":"Value kept but may cause issues"} 
[2026-08-21 17:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787313946000,"timestamp_ms":1787313946000,"timestamp_seconds":1787313946,"priority":1,"record_length":96,"hex_timestamp":"000001a024367d90"} 
[2026-08-21 17:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 17:38:38] 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-08-21 17:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552368128001,"66":27800,"241":206,"80":35072,"24":50,"16":388406150413942784,"45":-4174344250955175936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-21 17:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552368128001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:38:38] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-21 17:38:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388406150413942784,"km_value":388406150413942.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4174344250955175936,"description":"Unknown IO ID 45"} 
[2026-08-21 17:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552368128001,"power":27800,"unknown_241":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-4174344250955175936}} 
[2026-08-21 17:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":159209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:38:38] local.INFO: GPS data processed {"connection_id":159209,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:38:38] local.INFO: Acknowledgment sent {"connection_id":159209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:38:57] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:38:57] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:38:57] local.INFO: IMEI packet received {"connection_id":159497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":159497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:39:01] local.INFO: TCP Data received {"connection_id":160389,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243911b8012d7e408005e068b8000d00b217..."} 
[2026-08-21 17:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243911b8012d7e408005e068b8000d00b217..."} 
[2026-08-21 17:39:01] local.INFO: Processing buffer {"connection_id":160389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243911b8012d7e408005e068b8000d00b217..."} 
[2026-08-21 17:39:01] local.INFO: Packet analysis {"connection_id":160389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:39:01] local.INFO: Extracted packet for processing {"connection_id":160389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763248768,"raw_latitude":98592952,"longitude_deg":76.3248768,"latitude_deg":9.8592952,"altitude":13,"angle":178,"satellites":23,"speed":40,"hex_longitude":"2d7e4080","hex_latitude":"05e068b8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552411904001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121768417400193024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096286110111205376,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39: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-08-21 17:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787314115000,"timestamp_ms":1787314115000,"timestamp_seconds":1787314115,"priority":1,"record_length":96,"hex_timestamp":"000001a0243911b8"} 
[2026-08-21 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-08-21 17:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 17:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160389,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552411904001,"66":13363,"104":206,"85":15104,"24":40,"16":121768417400193024,"45":9096286110111205376},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 17:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552411904001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:39:01] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 17:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121768417400193024,"km_value":121768417400193.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096286110111205376,"description":"Unknown IO ID 45"} 
[2026-08-21 17:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552411904001,"power":13363,"unknown_104":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9096286110111205376}} 
[2026-08-21 17:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":160389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676916,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:39:01] local.INFO: GPS data processed {"connection_id":160389,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:39:01] local.INFO: Acknowledgment sent {"connection_id":160389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:39:02] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:02] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:02] local.INFO: IMEI packet received {"connection_id":159497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":159497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:39:03] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024383ae0012dc5740005391130003701592b..."} 
[2026-08-21 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024383ae0012dc5740005391130003701592b..."} 
[2026-08-21 17:39:03] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024383ae0012dc5740005391130003701592b..."} 
[2026-08-21 17:39:03] local.INFO: Packet analysis {"connection_id":159497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:39:03] local.INFO: Extracted packet for processing {"connection_id":159497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":767915008,"raw_latitude":87626032,"longitude_deg":76.7915008,"latitude_deg":8.7626032,"altitude":55,"angle":345,"satellites":43,"speed":0,"hex_longitude":"2dc57400","hex_latitude":"05391130","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552393984001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388410690194374656,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4218324716042289152,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314060000,"timestamp_ms":1787314060000,"timestamp_seconds":1787314060,"priority":1,"record_length":96,"hex_timestamp":"000001a024383ae0"} 
[2026-08-21 17:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 17:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552393984001,"66":27832,"241":206,"80":35072,"24":0,"16":388410690194374656,"45":-4218324716042289152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-21 17:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552393984001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:39:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-21 17:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388410690194374656,"km_value":388410690194374.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4218324716042289152,"description":"Unknown IO ID 45"} 
[2026-08-21 17:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552393984001,"power":27832,"unknown_241":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4218324716042289152}} 
[2026-08-21 17:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":159497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:39:03] local.INFO: GPS data processed {"connection_id":159497,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:39:03] local.INFO: Acknowledgment sent {"connection_id":159497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:39:22] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:22] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:22] local.INFO: IMEI packet received {"connection_id":159210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":159210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:39:23] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:23] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:23] local.INFO: IMEI packet received {"connection_id":159210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":159210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:39:27] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:27] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:39:27] local.INFO: IMEI packet received {"connection_id":159210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":159210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:39:28] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243938c8012d7e444005e042f0000c00a717..."} 
[2026-08-21 17:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243938c8012d7e444005e042f0000c00a717..."} 
[2026-08-21 17:39:28] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243938c8012d7e444005e042f0000c00a717..."} 
[2026-08-21 17:39:28] local.INFO: Packet analysis {"connection_id":159210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:39:28] local.INFO: Extracted packet for processing {"connection_id":159210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763249728,"raw_latitude":98583280,"longitude_deg":76.3249728,"latitude_deg":9.858328,"altitude":12,"angle":167,"satellites":23,"speed":37,"hex_longitude":"2d7e4440","hex_latitude":"05e042f0","is_valid_coordinates":true} 
[2026-08-21 17:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552413440001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121768889846595584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097412010016552960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787314125000,"timestamp_ms":1787314125000,"timestamp_seconds":1787314125,"priority":1,"record_length":96,"hex_timestamp":"000001a0243938c8"} 
[2026-08-21 17:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 17:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552413440001,"66":13243,"104":206,"85":15104,"24":37,"16":121768889846595584,"45":9097412010016552960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 17:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552413440001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121768889846595584,"km_value":121768889846595.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097412010016552960,"description":"Unknown IO ID 45"} 
[2026-08-21 17:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552413440001,"power":13243,"unknown_104":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9097412010016552960}} 
[2026-08-21 17:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":159210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:39:28] local.INFO: GPS data processed {"connection_id":159210,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:39:28] local.INFO: Acknowledgment sent {"connection_id":159210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:39:43] local.INFO: TCP Data received {"connection_id":159497,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024388ce8012dc5740005391140003701592a..."} 
[2026-08-21 17:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024388ce8012dc5740005391140003701592a..."} 
[2026-08-21 17:39:43] local.INFO: Processing buffer {"connection_id":159497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024388ce8012dc5740005391140003701592a..."} 
[2026-08-21 17:39:43] local.INFO: Packet analysis {"connection_id":159497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:39:43] local.INFO: Extracted packet for processing {"connection_id":159497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:39:43] local.INFO: GPS Element Parsed {"raw_longitude":767915008,"raw_latitude":87626048,"longitude_deg":76.7915008,"latitude_deg":8.7626048,"altitude":55,"angle":345,"satellites":42,"speed":0,"hex_longitude":"2dc57400","hex_latitude":"05391140","is_valid_coordinates":true} 
[2026-08-21 17:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552399360001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388410690194374656,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4218746928507047936,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787314081000,"timestamp_ms":1787314081000,"timestamp_seconds":1787314081,"priority":1,"record_length":96,"hex_timestamp":"000001a024388ce8"} 
[2026-08-21 17:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 17:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552399360001,"66":27876,"241":206,"80":35072,"24":0,"16":388410690194374656,"45":-4218746928507047936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-08-21 17:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552399360001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:39:43] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-08-21 17:39:43] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388410690194374656,"km_value":388410690194374.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4218746928507047936,"description":"Unknown IO ID 45"} 
[2026-08-21 17:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552399360001,"power":27876,"unknown_241":206,"unknown_80":35072,"ignition":0,"odometer":null,"unknown_45":-4218746928507047936}} 
[2026-08-21 17:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":159497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:39:43] local.INFO: GPS data processed {"connection_id":159497,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:39:43] local.INFO: Acknowledgment sent {"connection_id":159497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:39:58] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:58] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:58] local.INFO: IMEI packet received {"connection_id":159498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:39:58] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:58] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:58] local.INFO: IMEI packet received {"connection_id":159498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":159498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:39:59] local.INFO: TCP Data received {"connection_id":159210,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024395fd8012d7e50c005e02040000b009f17..."} 
[2026-08-21 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024395fd8012d7e50c005e02040000b009f17..."} 
[2026-08-21 17:39:59] local.INFO: Processing buffer {"connection_id":159210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024395fd8012d7e50c005e02040000b009f17..."} 
[2026-08-21 17:39:59] local.INFO: Packet analysis {"connection_id":159210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:39:59] local.INFO: Extracted packet for processing {"connection_id":159210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":763252928,"raw_latitude":98574400,"longitude_deg":76.3252928,"latitude_deg":9.85744,"altitude":11,"angle":159,"satellites":23,"speed":34,"hex_longitude":"2d7e50c0","hex_latitude":"05e02040","is_valid_coordinates":true} 
[2026-08-21 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552416000001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121769345113128960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098467541176741888,"note":"Value kept but may cause issues"} 
[2026-08-21 17:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787314135000,"timestamp_ms":1787314135000,"timestamp_seconds":1787314135,"priority":1,"record_length":96,"hex_timestamp":"000001a024395fd8"} 
[2026-08-21 17:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 17:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552416000001,"66":12982,"104":206,"85":15104,"24":34,"16":121769345113128960,"45":9098467541176741888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 17:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552416000001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121769345113128960,"km_value":121769345113128.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098467541176741888,"description":"Unknown IO ID 45"} 
[2026-08-21 17:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552416000001,"power":12982,"unknown_104":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9098467541176741888}} 
[2026-08-21 17:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":159210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676920,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:39:59] local.INFO: GPS data processed {"connection_id":159210,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:39:59] local.INFO: Acknowledgment sent {"connection_id":159210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:39:59] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:59] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:39:59] local.INFO: IMEI packet received {"connection_id":159498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":159498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:40:02] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:02] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:02] local.INFO: IMEI packet received {"connection_id":159498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":159498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:40:03] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02438cb68012dc56a40053933400034015529..."} 
[2026-08-21 17:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02438cb68012dc56a40053933400034015529..."} 
[2026-08-21 17:40:03] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02438cb68012dc56a40053933400034015529..."} 
[2026-08-21 17:40:03] local.INFO: Packet analysis {"connection_id":159498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:40:03] local.INFO: Extracted packet for processing {"connection_id":159498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02438"} 
[2026-08-21 17:40:03] local.INFO: GPS Element Parsed {"raw_longitude":767912512,"raw_latitude":87634752,"longitude_deg":76.7912512,"latitude_deg":8.7634752,"altitude":52,"angle":341,"satellites":41,"speed":32,"hex_longitude":"2dc56a40","hex_latitude":"05393340","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552404736001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388411132576006144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4218746928507043840,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314097000,"timestamp_ms":1787314097000,"timestamp_seconds":1787314097,"priority":1,"record_length":96,"hex_timestamp":"000001a02438cb68"} 
[2026-08-21 17:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 17:40:03] 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-08-21 17: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-08-21 17:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552404736001,"66":27800,"255":206,"80":35072,"24":32,"16":388411132576006144,"45":-4218746928507043840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-21 17:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552404736001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:40:03] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-21 17:40:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388411132576006144,"km_value":388411132576006.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4218746928507043840,"description":"Unknown IO ID 45"} 
[2026-08-21 17:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552404736001,"power":27800,"unknown_255":206,"unknown_80":35072,"ignition":32,"odometer":null,"unknown_45":-4218746928507043840}} 
[2026-08-21 17:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":159498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:40:03] local.INFO: GPS data processed {"connection_id":159498,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:40:03] local.INFO: Acknowledgment sent {"connection_id":159498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:40:20] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:20] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:20] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:40:22] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:22] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:22] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:40:27] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:27] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:40:27] local.INFO: IMEI packet received {"connection_id":161763,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":161763,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:40:28] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024398eb8012d7e5c4005dffdf8000e00a517..."} 
[2026-08-21 17:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024398eb8012d7e5c4005dffdf8000e00a517..."} 
[2026-08-21 17:40:28] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024398eb8012d7e5c4005dffdf8000e00a517..."} 
[2026-08-21 17:40:28] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:40:28] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763255872,"raw_latitude":98565624,"longitude_deg":76.3255872,"latitude_deg":9.8565624,"altitude":14,"angle":165,"satellites":23,"speed":26,"hex_longitude":"2d7e5c40","hex_latitude":"05dffdf8","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552418560001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121769791789727744,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9101985978383351808,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787314147000,"timestamp_ms":1787314147000,"timestamp_seconds":1787314147,"priority":1,"record_length":96,"hex_timestamp":"000001a024398eb8"} 
[2026-08-21 17:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 17:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552418560001,"66":13319,"104":206,"85":15104,"24":26,"16":121769791789727744,"45":9101985978383351808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 17:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552418560001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121769791789727744,"km_value":121769791789727.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9101985978383351808,"description":"Unknown IO ID 45"} 
[2026-08-21 17:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552418560001,"power":13319,"unknown_104":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9101985978383351808}} 
[2026-08-21 17:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676922,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:40:28] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:40:28] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:40:34] local.INFO: TCP Data received {"connection_id":159498,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a0fa0012dc4f140053a3170002b015c2b..."} 
[2026-08-21 17:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a0fa0012dc4f140053a3170002b015c2b..."} 
[2026-08-21 17:40:34] local.INFO: Processing buffer {"connection_id":159498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a0fa0012dc4f140053a3170002b015c2b..."} 
[2026-08-21 17:40:34] local.INFO: Packet analysis {"connection_id":159498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:40:34] local.INFO: Extracted packet for processing {"connection_id":159498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:40:34] local.INFO: GPS Element Parsed {"raw_longitude":767881536,"raw_latitude":87699824,"longitude_deg":76.7881536,"latitude_deg":8.7699824,"altitude":43,"angle":348,"satellites":43,"speed":47,"hex_longitude":"2dc4f140","hex_latitude":"053a3170","is_valid_coordinates":true} 
[2026-08-21 17:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552428032001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388414688808927232,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4253790563090909184,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787314180000,"timestamp_ms":1787314180000,"timestamp_seconds":1787314180,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a0fa0"} 
[2026-08-21 17:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 17:40:34] 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-08-21 17:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552428032001,"66":27767,"255":206,"80":35072,"24":47,"16":388414688808927232,"45":-4253790563090909184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-21 17:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552428032001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:40:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-21 17:40:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388414688808927232,"km_value":388414688808927.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4253790563090909184,"description":"Unknown IO ID 45"} 
[2026-08-21 17:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552428032001,"power":27767,"unknown_255":206,"unknown_80":35072,"ignition":47,"odometer":null,"unknown_45":-4253790563090909184}} 
[2026-08-21 17:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":159498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:40:34] local.INFO: GPS data processed {"connection_id":159498,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:40:34] local.INFO: Acknowledgment sent {"connection_id":159498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:40:57] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:57] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:57] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:40:58] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:58] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:40:58] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:40:59] local.INFO: TCP Data received {"connection_id":161763,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02439c568012d7e640005dfdad8001000a417..."} 
[2026-08-21 17:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02439c568012d7e640005dfdad8001000a417..."} 
[2026-08-21 17:40:59] local.INFO: Processing buffer {"connection_id":161763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02439c568012d7e640005dfdad8001000a417..."} 
[2026-08-21 17:40:59] local.INFO: Packet analysis {"connection_id":161763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:40:59] local.INFO: Extracted packet for processing {"connection_id":161763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:40:59] local.INFO: GPS Element Parsed {"raw_longitude":763257856,"raw_latitude":98556632,"longitude_deg":76.3257856,"latitude_deg":9.8556632,"altitude":16,"angle":164,"satellites":23,"speed":28,"hex_longitude":"2d7e6400","hex_latitude":"05dfdad8","is_valid_coordinates":true} 
[2026-08-21 17:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552421632001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121770238466326528,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9105222940613277696,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787314161000,"timestamp_ms":1787314161000,"timestamp_seconds":1787314161,"priority":1,"record_length":96,"hex_timestamp":"000001a02439c568"} 
[2026-08-21 17:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-7167477512059469819,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":224,"raw_value":-4719772336461441280,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483276494,"corrected_to":0} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2147868836,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085592,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2601189376,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3769245696,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.WARNING: Large IO value detected {"io_id":161,"raw_value":57799578234017083,"note":"Value kept but may cause issues"} 
[2026-08-21 17:40:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,104,85,24,241,157,16,156,160,95,45,192,32,11,23,10,66,56,64,12,17,128,1,240,51,227,155,36,224,4,113,205,207,53,112,239,50,105,2,176,5,13,161],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1483276494,"validated":0}]} 
[2026-08-21 17:40:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008987834735525888,"timestamp_seconds":1008987834735525.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161763,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552421632001,"66":12613,"104":206,"85":15104,"24":28,"16":121770238466326528,"45":9105222940613277696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 17:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552421632001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121770238466326528,"km_value":121770238466326.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9105222940613277696,"description":"Unknown IO ID 45"} 
[2026-08-21 17:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552421632001,"power":12613,"unknown_104":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9105222940613277696}} 
[2026-08-21 17:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":161763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:40:59] local.INFO: GPS data processed {"connection_id":161763,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:40:59] local.INFO: Acknowledgment sent {"connection_id":161763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:41:02] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:41:02] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:41:02] local.INFO: IMEI packet received {"connection_id":161764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":161764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:41:03] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a2ee0012dc4ea40053a57980026015c2a..."} 
[2026-08-21 17:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a2ee0012dc4ea40053a57980026015c2a..."} 
[2026-08-21 17:41:03] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a2ee0012dc4ea40053a57980026015c2a..."} 
[2026-08-21 17:41:03] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:41:03] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":767879744,"raw_latitude":87709592,"longitude_deg":76.7879744,"latitude_deg":8.7709592,"altitude":38,"angle":348,"satellites":42,"speed":50,"hex_longitude":"2dc4ea40","hex_latitude":"053a5798","is_valid_coordinates":true} 
[2026-08-21 17:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552430080001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388415169845264384,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4255549781693075456,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314188000,"timestamp_ms":1787314188000,"timestamp_seconds":1787314188,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a2ee0"} 
[2026-08-21 17:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 17:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552430080001,"66":27800,"255":206,"80":35072,"24":50,"16":388415169845264384,"45":-4255549781693075456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-21 17:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552430080001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:41:03] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-21 17:41:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388415169845264384,"km_value":388415169845264.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4255549781693075456,"description":"Unknown IO ID 45"} 
[2026-08-21 17:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552430080001,"power":27800,"unknown_255":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-4255549781693075456}} 
[2026-08-21 17:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:41:03] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:41:03] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:41:22] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:22] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:22] local.INFO: IMEI packet received {"connection_id":159211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":159211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:41:25] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:25] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:25] local.INFO: IMEI packet received {"connection_id":159211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":159211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:41:27] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:27] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:41:27] local.INFO: IMEI packet received {"connection_id":159211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":159211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:41:27] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02439f830012d7e6cc005dfb7c0000e00a817..."} 
[2026-08-21 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02439f830012d7e6cc005dfb7c0000e00a817..."} 
[2026-08-21 17:41:27] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02439f830012d7e6cc005dfb7c0000e00a817..."} 
[2026-08-21 17:41:27] local.INFO: Packet analysis {"connection_id":159211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:41:27] local.INFO: Extracted packet for processing {"connection_id":159211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763260096,"raw_latitude":98547648,"longitude_deg":76.3260096,"latitude_deg":9.8547648,"altitude":14,"angle":168,"satellites":23,"speed":28,"hex_longitude":"2d7e6cc0","hex_latitude":"05dfb7c0","is_valid_coordinates":true} 
[2026-08-21 17:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552425216001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121770689437892608,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107404371680483328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41: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-08-21 17:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314174000,"timestamp_ms":1787314174000,"timestamp_seconds":1787314174,"priority":1,"record_length":96,"hex_timestamp":"000001a02439f830"} 
[2026-08-21 17:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 17:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552425216001,"66":12917,"104":206,"85":15104,"24":28,"16":121770689437892608,"45":9107404371680483328},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 17:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552425216001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:41:27] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 17:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121770689437892608,"km_value":121770689437892.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107404371680483328,"description":"Unknown IO ID 45"} 
[2026-08-21 17:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552425216001,"power":12917,"unknown_104":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9107404371680483328}} 
[2026-08-21 17:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":159211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:41:27] local.INFO: GPS data processed {"connection_id":159211,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:41:27] local.INFO: Acknowledgment sent {"connection_id":159211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:41:33] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a36b0012d7e774005df9738000b009d17..."} 
[2026-08-21 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a36b0012d7e774005df9738000b009d17..."} 
[2026-08-21 17:41:33] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a36b0012d7e774005df9738000b009d17..."} 
[2026-08-21 17:41:33] local.INFO: Packet analysis {"connection_id":159211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:41:33] local.INFO: Extracted packet for processing {"connection_id":159211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763262784,"raw_latitude":98539320,"longitude_deg":76.3262784,"latitude_deg":9.853932,"altitude":11,"angle":157,"satellites":23,"speed":21,"hex_longitude":"2d7e7740","hex_latitude":"05df9738","is_valid_coordinates":true} 
[2026-08-21 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552428544001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121771114639654912,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9109867277724401664,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787314190000,"timestamp_ms":1787314190000,"timestamp_seconds":1787314190,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a36b0"} 
[2026-08-21 17:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 17:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552428544001,"66":12809,"104":206,"85":15104,"24":21,"16":121771114639654912,"45":9109867277724401664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,85,24,16,45]} 
[2026-08-21 17:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552428544001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-08-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121771114639654912,"km_value":121771114639654.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9109867277724401664,"description":"Unknown IO ID 45"} 
[2026-08-21 17:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552428544001,"power":12809,"unknown_104":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9109867277724401664}} 
[2026-08-21 17:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":159211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676927,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:41:33] local.INFO: GPS data processed {"connection_id":159211,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:41:33] local.INFO: Acknowledgment sent {"connection_id":159211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:41:34] local.INFO: TCP Data received {"connection_id":161764,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a4a38012dc4e280053a79e80022015824..."} 
[2026-08-21 17:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a4a38012dc4e280053a79e80022015824..."} 
[2026-08-21 17:41:34] local.INFO: Processing buffer {"connection_id":161764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a4a38012dc4e280053a79e80022015824..."} 
[2026-08-21 17:41:34] local.INFO: Packet analysis {"connection_id":161764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:41:34] local.INFO: Extracted packet for processing {"connection_id":161764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":767877760,"raw_latitude":87718376,"longitude_deg":76.787776,"latitude_deg":8.7718376,"altitude":34,"angle":344,"satellites":36,"speed":50,"hex_longitude":"2dc4e280","hex_latitude":"053a79e8","is_valid_coordinates":true} 
[2026-08-21 17:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552432128001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388415607931928576,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4257520106527549440,"note":"Value kept but may cause issues"} 
[2026-08-21 17:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787314195000,"timestamp_ms":1787314195000,"timestamp_seconds":1787314195,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a4a38"} 
[2026-08-21 17:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:41:34] 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-08-21 17:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552432128001,"66":28006,"255":206,"80":35072,"24":50,"16":388415607931928576,"45":-4257520106527549440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-21 17:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552432128001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:41:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-21 17:41:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388415607931928576,"km_value":388415607931928.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4257520106527549440,"description":"Unknown IO ID 45"} 
[2026-08-21 17:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552432128001,"power":28006,"unknown_255":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-4257520106527549440}} 
[2026-08-21 17:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":161764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:41:34] local.INFO: GPS data processed {"connection_id":161764,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:41:34] local.INFO: Acknowledgment sent {"connection_id":161764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:41:57] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:41:57] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:41:57] local.INFO: IMEI packet received {"connection_id":159212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":159212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:42:02] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:42:02] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:42:02] local.INFO: IMEI packet received {"connection_id":159212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":159212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:42:03] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a6978012dc4d3c0053a9e10001f014c29..."} 
[2026-08-21 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a6978012dc4d3c0053a9e10001f014c29..."} 
[2026-08-21 17:42:03] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a6978012dc4d3c0053a9e10001f014c29..."} 
[2026-08-21 17:42:03] local.INFO: Packet analysis {"connection_id":159212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:03] local.INFO: Extracted packet for processing {"connection_id":159212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":767873984,"raw_latitude":87727632,"longitude_deg":76.7873984,"latitude_deg":8.7727632,"altitude":31,"angle":332,"satellites":41,"speed":47,"hex_longitude":"2dc4d3c0","hex_latitude":"053a9e10","is_valid_coordinates":true} 
[2026-08-21 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552433920001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388416093263233024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4259701537594808320,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314203000,"timestamp_ms":1787314203000,"timestamp_seconds":1787314203,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a6978"} 
[2026-08-21 17:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 17:42:03] 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-08-21 17:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552433920001,"66":27800,"255":206,"80":35072,"24":47,"16":388416093263233024,"45":-4259701537594808320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-21 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552433920001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:42:03] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-21 17:42:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388416093263233024,"km_value":388416093263233.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4259701537594808320,"description":"Unknown IO ID 45"} 
[2026-08-21 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552433920001,"power":27800,"unknown_255":206,"unknown_80":35072,"ignition":47,"odometer":null,"unknown_45":-4259701537594808320}} 
[2026-08-21 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":159212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:42:03] local.INFO: GPS data processed {"connection_id":159212,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:42:03] local.INFO: Acknowledgment sent {"connection_id":159212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:42:04] local.INFO: TCP Data received {"connection_id":159211,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a7148012d7e824005df7600000900a217..."} 
[2026-08-21 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a7148012d7e824005df7600000900a217..."} 
[2026-08-21 17:42:04] local.INFO: Processing buffer {"connection_id":159211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a7148012d7e824005df7600000900a217..."} 
[2026-08-21 17:42:04] local.INFO: Packet analysis {"connection_id":159211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:04] local.INFO: Extracted packet for processing {"connection_id":159211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763265600,"raw_latitude":98530816,"longitude_deg":76.32656,"latitude_deg":9.8530816,"altitude":9,"angle":162,"satellites":23,"speed":23,"hex_longitude":"2d7e8240","hex_latitude":"05df7600","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552432640001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121771552726319104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9112822764977731584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787314205000,"timestamp_ms":1787314205000,"timestamp_seconds":1787314205,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a7148"} 
[2026-08-21 17:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2594073385533178880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":156,"raw_value":4211081216,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":36,"raw_value":4105673180197043328,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1483210958,"corrected_to":0} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3355520382,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2619932672,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2269946153371917033,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163075520024149,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755571239878897,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,104,85,24,241,157,16,158,160,248,45,192,183,14,23,10,66,197,218,142,64,1,240,7,227,156,36,224,4,113,205,34,56,68,239,51,2,176,5,13,40,52,59,187],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1483210958,"validated":0}]} 
[2026-08-21 17:42:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792806256528392192,"timestamp_seconds":792806256528392.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552432640001,"66":13178,"207":206,"85":15104,"24":23,"16":121771552726319104,"45":9112822764977731584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-21 17:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552432640001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:42:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 17:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121771552726319104,"km_value":121771552726319.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9112822764977731584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552432640001,"power":13178,"unknown_207":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9112822764977731584}} 
[2026-08-21 17:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":159211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:42:04] local.INFO: GPS data processed {"connection_id":159211,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:42:04] local.INFO: Acknowledgment sent {"connection_id":159211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:42:22] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:42:22] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:42:22] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:42:27] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:42:27] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:42:27] local.INFO: IMEI packet received {"connection_id":160391,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":160391,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:42:28] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243aa410012d7e8d4005df52d0000900a317..."} 
[2026-08-21 17:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243aa410012d7e8d4005df52d0000900a317..."} 
[2026-08-21 17:42:28] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243aa410012d7e8d4005df52d0000900a317..."} 
[2026-08-21 17:42:28] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:28] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763268416,"raw_latitude":98521808,"longitude_deg":76.3268416,"latitude_deg":9.8521808,"altitude":9,"angle":163,"satellites":23,"speed":28,"hex_longitude":"2d7e8d40","hex_latitude":"05df52d0","is_valid_coordinates":true} 
[2026-08-21 17:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552436480001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121772007992852480,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115918989719371776,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787314218000,"timestamp_ms":1787314218000,"timestamp_seconds":1787314218,"priority":1,"record_length":96,"hex_timestamp":"000001a0243aa410"} 
[2026-08-21 17:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 17:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552436480001,"66":13037,"207":206,"85":15104,"24":28,"16":121772007992852480,"45":9115918989719371776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-21 17:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552436480001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:42:28] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 17:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121772007992852480,"km_value":121772007992852.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115918989719371776,"description":"Unknown IO ID 45"} 
[2026-08-21 17:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552436480001,"power":13037,"unknown_207":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9115918989719371776}} 
[2026-08-21 17:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676931,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:42:28] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:42:28] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:42:34] local.INFO: TCP Data received {"connection_id":159212,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a6978012dc4d3c0053a9e10001f014c29..."} 
[2026-08-21 17:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159212,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a6978012dc4d3c0053a9e10001f014c29..."} 
[2026-08-21 17:42:34] local.INFO: Processing buffer {"connection_id":159212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a6978012dc4d3c0053a9e10001f014c29..."} 
[2026-08-21 17:42:34] local.INFO: Packet analysis {"connection_id":159212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:34] local.INFO: Extracted packet for processing {"connection_id":159212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:42:34] local.INFO: GPS Element Parsed {"raw_longitude":767873984,"raw_latitude":87727632,"longitude_deg":76.7873984,"latitude_deg":8.7727632,"altitude":31,"angle":332,"satellites":41,"speed":47,"hex_longitude":"2dc4d3c0","hex_latitude":"053a9e10","is_valid_coordinates":true} 
[2026-08-21 17:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552435968001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388416093263233024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4263853293498920960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787314203000,"timestamp_ms":1787314203000,"timestamp_seconds":1787314203,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a6978"} 
[2026-08-21 17:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:42:34] 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-08-21 17:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552435968001,"66":27800,"255":206,"80":35072,"24":47,"16":388416093263233024,"45":-4263853293498920960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-21 17:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552435968001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:42:34] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-21 17:42:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388416093263233024,"km_value":388416093263233.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4263853293498920960,"description":"Unknown IO ID 45"} 
[2026-08-21 17:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552435968001,"power":27800,"unknown_255":206,"unknown_80":35072,"ignition":47,"odometer":null,"unknown_45":-4263853293498920960}} 
[2026-08-21 17:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":159212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:42:34] local.INFO: GPS data processed {"connection_id":159212,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:42:34] local.INFO: Acknowledgment sent {"connection_id":159212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:42:59] local.INFO: TCP Data received {"connection_id":160391,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243c9fe0012d7ef48005de4c60000a00a218..."} 
[2026-08-21 17:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243c9fe0012d7ef48005de4c60000a00a218..."} 
[2026-08-21 17:42:59] local.INFO: Processing buffer {"connection_id":160391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243c9fe0012d7ef48005de4c60000a00a218..."} 
[2026-08-21 17:42:59] local.INFO: Packet analysis {"connection_id":160391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:42:59] local.INFO: Extracted packet for processing {"connection_id":160391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":763294848,"raw_latitude":98454624,"longitude_deg":76.3294848,"latitude_deg":9.8454624,"altitude":10,"angle":162,"satellites":24,"speed":28,"hex_longitude":"2d7ef480","hex_latitude":"05de4c60","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552469760001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121775577110675456,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9144699806070855680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787314348000,"timestamp_ms":1787314348000,"timestamp_seconds":1787314348,"priority":1,"record_length":96,"hex_timestamp":"000001a0243c9fe0"} 
[2026-08-21 17:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":7,"data_length":795,"current_offset":136} 
[2026-08-21 17:42:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798518478,"corrected_to":0} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3843555333,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":384747,"corrected_to":0} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2690580480,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885778227647803,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":59,"raw_value":4634205311475417093,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.WARNING: Large IO value detected {"io_id":223,"raw_value":409827596164011776,"note":"Value kept but may cause issues"} 
[2026-08-21 17:42:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,205,85,24,241,157,16,161,160,42,45,192,144,11,10,66,206,232,64,179,8,23,212,1,240,166,227,36,222,4,113,12,142,204,239,50,2,176,5,15,7,59,223],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2798518478,"validated":0},{"io_id":204,"original":384747,"validated":0}]} 
[2026-08-21 17:42:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720750865808687104,"timestamp_seconds":720750865808687.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160391,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552469760001,"66":12950,"205":206,"85":15104,"24":28,"16":121775577110675456,"45":9144699806070855680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 17:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552469760001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:42:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121775577110675456,"km_value":121775577110675.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9144699806070855680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552469760001,"power":12950,"cell_id":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9144699806070855680}} 
[2026-08-21 17:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":160391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:42:59] local.INFO: GPS data processed {"connection_id":160391,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:42:59] local.INFO: Acknowledgment sent {"connection_id":160391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:43:02] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:02] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:02] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:43:03] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:03] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:03] local.INFO: IMEI packet received {"connection_id":161767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":161767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:43:04] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a88b8012dc4c0c0053abf40001e014a29..."} 
[2026-08-21 17:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a88b8012dc4c0c0053abf40001e014a29..."} 
[2026-08-21 17:43:04] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a88b8012dc4c0c0053abf40001e014a29..."} 
[2026-08-21 17:43:04] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:43:04] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:43:04] local.INFO: GPS Element Parsed {"raw_longitude":767869120,"raw_latitude":87736128,"longitude_deg":76.786912,"latitude_deg":8.7736128,"altitude":30,"angle":330,"satellites":41,"speed":46,"hex_longitude":"2dc4c0c0","hex_latitude":"053abf40","is_valid_coordinates":true} 
[2026-08-21 17:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552435968001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388416565709635584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4263853293498920960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,255,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787314211000,"timestamp_ms":1787314211000,"timestamp_seconds":1787314211,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a88b8"} 
[2026-08-21 17:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:43: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-08-21 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:43:04] 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-08-21 17:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552435968001,"66":28050,"255":206,"80":35072,"24":46,"16":388416565709635584,"45":-4263853293498920960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,255,80,24,16,45]} 
[2026-08-21 17:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552435968001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:43:04] local.INFO: Unknown IO ID detected {"io_id":255,"value":206,"description":"Unknown IO ID 255"} 
[2026-08-21 17:43:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388416565709635584,"km_value":388416565709635.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4263853293498920960,"description":"Unknown IO ID 45"} 
[2026-08-21 17:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552435968001,"power":28050,"unknown_255":206,"unknown_80":35072,"ignition":46,"odometer":null,"unknown_45":-4263853293498920960}} 
[2026-08-21 17:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:43:04] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:43:04] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:43:06] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:43:06] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:43:06] local.INFO: IMEI packet received {"connection_id":161768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":161768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:43:07] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02439ec78012d17a4c00721d2e8005000a424..."} 
[2026-08-21 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02439ec78012d17a4c00721d2e8005000a424..."} 
[2026-08-21 17:43:07] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02439ec78012d17a4c00721d2e8005000a424..."} 
[2026-08-21 17:43:07] local.INFO: Packet analysis {"connection_id":161768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:43:07] local.INFO: Extracted packet for processing {"connection_id":161768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756524224,"raw_latitude":119657192,"longitude_deg":75.6524224,"latitude_deg":11.9657192,"altitude":80,"angle":164,"satellites":36,"speed":0,"hex_longitude":"2d17a4c0","hex_latitude":"0721d2e8","is_valid_coordinates":true} 
[2026-08-21 17:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552424448001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270978028732416,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429272064,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314171000,"timestamp_ms":1787314171000,"timestamp_seconds":1787314171,"priority":1,"record_length":96,"hex_timestamp":"000001a02439ec78"} 
[2026-08-21 17:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 17:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552424448001,"66":13091,"107":206,"83":41984,"24":0,"16":14270978028732416,"45":1703556958429272064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552424448001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270978028732416,"km_value":14270978028732.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429272064,"description":"Unknown IO ID 45"} 
[2026-08-21 17:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552424448001,"power":13091,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429272064}} 
[2026-08-21 17:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":161768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:43:07] local.INFO: GPS data processed {"connection_id":161768,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:43:07] local.INFO: Acknowledgment sent {"connection_id":161768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:43:22] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:43:22] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:43:22] local.INFO: IMEI packet received {"connection_id":159499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":159499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:43:27] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:43:27] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:43:27] local.INFO: IMEI packet received {"connection_id":159499,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":159499,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:43:27] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243ccec0012d7efec005de2a00000a00a118..."} 
[2026-08-21 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243ccec0012d7efec005de2a00000a00a118..."} 
[2026-08-21 17:43:27] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243ccec0012d7efec005de2a00000a00a118..."} 
[2026-08-21 17:43:27] local.INFO: Packet analysis {"connection_id":159499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:43:27] local.INFO: Extracted packet for processing {"connection_id":159499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763297472,"raw_latitude":98445824,"longitude_deg":76.3297472,"latitude_deg":9.8445824,"altitude":10,"angle":161,"satellites":24,"speed":32,"hex_longitude":"2d7efec0","hex_latitude":"05de2a00","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552473088001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121776023787274240,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148077505789059072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314360000,"timestamp_ms":1787314360000,"timestamp_seconds":1787314360,"priority":1,"record_length":96,"hex_timestamp":"000001a0243ccec0"} 
[2026-08-21 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-08-21 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 17:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552473088001,"66":13135,"205":206,"85":15104,"24":32,"16":121776023787274240,"45":9148077505789059072},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 17:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552473088001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121776023787274240,"km_value":121776023787274.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148077505789059072,"description":"Unknown IO ID 45"} 
[2026-08-21 17:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552473088001,"power":13135,"cell_id":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9148077505789059072}} 
[2026-08-21 17:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":159499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:43:27] local.INFO: GPS data processed {"connection_id":159499,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:43:27] local.INFO: Acknowledgment sent {"connection_id":159499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:43:35] local.INFO: TCP Data received {"connection_id":161767,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243cbb38012dc41180053bc6c8002801402b..."} 
[2026-08-21 17:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243cbb38012dc41180053bc6c8002801402b..."} 
[2026-08-21 17:43:35] local.INFO: Processing buffer {"connection_id":161767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243cbb38012dc41180053bc6c8002801402b..."} 
[2026-08-21 17:43:35] local.INFO: Packet analysis {"connection_id":161767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:43:35] local.INFO: Extracted packet for processing {"connection_id":161767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:43:35] local.INFO: GPS Element Parsed {"raw_longitude":767824256,"raw_latitude":87803592,"longitude_deg":76.7824256,"latitude_deg":8.7803592,"altitude":40,"angle":320,"satellites":43,"speed":45,"hex_longitude":"2dc41180","hex_latitude":"053bc6c8","is_valid_coordinates":true} 
[2026-08-21 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552472320001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388420499899678720,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4311915145754652672,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787314355000,"timestamp_ms":1787314355000,"timestamp_seconds":1787314355,"priority":1,"record_length":96,"hex_timestamp":"000001a0243cbb38"} 
[2026-08-21 17:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:43: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-08-21 17:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 17:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552472320001,"66":206,"80":35072,"24":45,"16":388420499899678720,"45":-4311915145754652672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 17:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552472320001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:43:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388420499899678720,"km_value":388420499899678.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4311915145754652672,"description":"Unknown IO ID 45"} 
[2026-08-21 17:43:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552472320001,"power":206,"unknown_80":35072,"ignition":45,"odometer":null,"unknown_45":-4311915145754652672}} 
[2026-08-21 17:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":161767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:43:35] local.INFO: GPS data processed {"connection_id":161767,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:43:35] local.INFO: Acknowledgment sent {"connection_id":161767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:43:38] local.INFO: TCP Data received {"connection_id":161768,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02439f060012d17a4c00721d2b0005000b624..."} 
[2026-08-21 17:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02439f060012d17a4c00721d2b0005000b624..."} 
[2026-08-21 17:43:38] local.INFO: Processing buffer {"connection_id":161768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02439f060012d17a4c00721d2b0005000b624..."} 
[2026-08-21 17:43:38] local.INFO: Packet analysis {"connection_id":161768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:43:38] local.INFO: Extracted packet for processing {"connection_id":161768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756524224,"raw_latitude":119657136,"longitude_deg":75.6524224,"latitude_deg":11.9657136,"altitude":80,"angle":182,"satellites":36,"speed":1,"hex_longitude":"2d17a4c0","hex_latitude":"0721d2b0","is_valid_coordinates":true} 
[2026-08-21 17:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552427776001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270978028732416,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703697695917664256,"note":"Value kept but may cause issues"} 
[2026-08-21 17:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314172000,"timestamp_ms":1787314172000,"timestamp_seconds":1787314172,"priority":1,"record_length":96,"hex_timestamp":"000001a02439f060"} 
[2026-08-21 17:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 17:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552427776001,"66":13135,"107":206,"83":41984,"24":1,"16":14270978028732416,"45":1703697695917664256},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552427776001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:43:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270978028732416,"km_value":14270978028732.416,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703697695917664256,"description":"Unknown IO ID 45"} 
[2026-08-21 17:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552427776001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1703697695917664256}} 
[2026-08-21 17:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":161768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:43:38] local.INFO: GPS data processed {"connection_id":161768,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:43:38] local.INFO: Acknowledgment sent {"connection_id":161768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:43:55] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:55] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:55] local.INFO: IMEI packet received {"connection_id":159500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":159500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:43:57] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:57] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:43:57] local.INFO: IMEI packet received {"connection_id":159500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":159500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:44:00] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:00] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:00] local.INFO: IMEI packet received {"connection_id":159500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":159500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:44:00] local.INFO: TCP Data received {"connection_id":159499,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243cfda0012d7f0d4005de07300009009d18..."} 
[2026-08-21 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243cfda0012d7f0d4005de07300009009d18..."} 
[2026-08-21 17:44:00] local.INFO: Processing buffer {"connection_id":159499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243cfda0012d7f0d4005de07300009009d18..."} 
[2026-08-21 17:44:00] local.INFO: Packet analysis {"connection_id":159499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:44:00] local.INFO: Extracted packet for processing {"connection_id":159499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:44:00] local.INFO: GPS Element Parsed {"raw_longitude":763301184,"raw_latitude":98436912,"longitude_deg":76.3301184,"latitude_deg":9.8436912,"altitude":9,"angle":157,"satellites":24,"speed":28,"hex_longitude":"2d7f0d40","hex_latitude":"05de0730","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552476160001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121776491938709504,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150962624298090496,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44: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-08-21 17:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787314372000,"timestamp_ms":1787314372000,"timestamp_seconds":1787314372,"priority":1,"record_length":96,"hex_timestamp":"000001a0243cfda0"} 
[2026-08-21 17:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:44: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-08-21 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 17:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159499,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552476160001,"66":12765,"205":206,"85":15104,"24":28,"16":121776491938709504,"45":9150962624298090496},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 17:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552476160001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121776491938709504,"km_value":121776491938709.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150962624298090496,"description":"Unknown IO ID 45"} 
[2026-08-21 17:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552476160001,"power":12765,"cell_id":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9150962624298090496}} 
[2026-08-21 17:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":159499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:44:00] local.INFO: GPS data processed {"connection_id":159499,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:44:00] local.INFO: Acknowledgment sent {"connection_id":159499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:44:01] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:01] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:01] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:44:01] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243cde60012dc3fa00053be320002601402b..."} 
[2026-08-21 17:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243cde60012dc3fa00053be320002601402b..."} 
[2026-08-21 17:44:01] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243cde60012dc3fa00053be320002601402b..."} 
[2026-08-21 17:44:01] local.INFO: Packet analysis {"connection_id":159500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:44:01] local.INFO: Extracted packet for processing {"connection_id":159500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:44:01] local.INFO: GPS Element Parsed {"raw_longitude":767818240,"raw_latitude":87810848,"longitude_deg":76.781824,"latitude_deg":8.7810848,"altitude":38,"angle":320,"satellites":43,"speed":44,"hex_longitude":"2dc3fa00","hex_latitude":"053be320","is_valid_coordinates":true} 
[2026-08-21 17:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552474880001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388420955166212096,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4318529807705520128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787314364000,"timestamp_ms":1787314364000,"timestamp_seconds":1787314364,"priority":1,"record_length":96,"hex_timestamp":"000001a0243cde60"} 
[2026-08-21 17:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:44: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-08-21 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 17:44: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-08-21 17:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552474880001,"66":206,"80":35072,"24":44,"16":388420955166212096,"45":-4318529807705520128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 17:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552474880001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:44:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388420955166212096,"km_value":388420955166212.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4318529807705520128,"description":"Unknown IO ID 45"} 
[2026-08-21 17:44:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552474880001,"power":206,"unknown_80":35072,"ignition":44,"odometer":null,"unknown_45":-4318529807705520128}} 
[2026-08-21 17:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":159500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:44:01] local.INFO: GPS data processed {"connection_id":159500,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:44:01] local.INFO: Acknowledgment sent {"connection_id":159500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:44:02] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:02] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:02] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:44:06] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:06] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:44:06] local.INFO: IMEI packet received {"connection_id":160392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":160392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:44:07] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02439f448012d17a4400721d280005000c323..."} 
[2026-08-21 17:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02439f448012d17a4400721d280005000c323..."} 
[2026-08-21 17:44:07] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02439f448012d17a4400721d280005000c323..."} 
[2026-08-21 17:44:07] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:44:07] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02439"} 
[2026-08-21 17:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119657088,"longitude_deg":75.6524096,"latitude_deg":11.9657088,"altitude":80,"angle":195,"satellites":35,"speed":1,"hex_longitude":"2d17a440","hex_latitude":"0721d280","is_valid_coordinates":true} 
[2026-08-21 17:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552428032001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270982323699712,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703697695917649920,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314173000,"timestamp_ms":1787314173000,"timestamp_seconds":1787314173,"priority":1,"record_length":96,"hex_timestamp":"000001a02439f448"} 
[2026-08-21 17:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 17:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552428032001,"66":13135,"107":206,"83":41984,"24":1,"16":14270982323699712,"45":1703697695917649920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552428032001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:44:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270982323699712,"km_value":14270982323699.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703697695917649920,"description":"Unknown IO ID 45"} 
[2026-08-21 17:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552428032001,"power":13135,"unknown_107":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1703697695917649920}} 
[2026-08-21 17:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:44:07] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:44:07] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:44:32] local.INFO: TCP Data received {"connection_id":159500,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243cfda0012dc3e180053c00180023014022..."} 
[2026-08-21 17:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243cfda0012dc3e180053c00180023014022..."} 
[2026-08-21 17:44:32] local.INFO: Processing buffer {"connection_id":159500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243cfda0012dc3e180053c00180023014022..."} 
[2026-08-21 17:44:32] local.INFO: Packet analysis {"connection_id":159500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:44:32] local.INFO: Extracted packet for processing {"connection_id":159500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243c"} 
[2026-08-21 17:44:32] local.INFO: GPS Element Parsed {"raw_longitude":767811968,"raw_latitude":87818264,"longitude_deg":76.7811968,"latitude_deg":8.7818264,"altitude":35,"angle":320,"satellites":34,"speed":51,"hex_longitude":"2dc3e180","hex_latitude":"053c0018","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552477184001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388421423317647360,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4325144469656363008,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787314372000,"timestamp_ms":1787314372000,"timestamp_seconds":1787314372,"priority":1,"record_length":96,"hex_timestamp":"000001a0243cfda0"} 
[2026-08-21 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-08-21 17:44: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-08-21 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552477184001,"66":206,"80":35072,"24":51,"16":388421423317647360,"45":-4325144469656363008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 17:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552477184001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:44:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388421423317647360,"km_value":388421423317647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4325144469656363008,"description":"Unknown IO ID 45"} 
[2026-08-21 17:44:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552477184001,"power":206,"unknown_80":35072,"ignition":51,"odometer":null,"unknown_45":-4325144469656363008}} 
[2026-08-21 17:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":159500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:44:32] local.INFO: GPS data processed {"connection_id":159500,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:44:32] local.INFO: Acknowledgment sent {"connection_id":159500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:44:33] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:44:33] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:44:33] local.INFO: IMEI packet received {"connection_id":159501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":159501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:44:35] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:44:35] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:44:35] local.INFO: IMEI packet received {"connection_id":159501,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":159501,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:44:35] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243d4fa8012d7f12c005ddf920000c00a018..."} 
[2026-08-21 17:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243d4fa8012d7f12c005ddf920000c00a018..."} 
[2026-08-21 17:44:35] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243d4fa8012d7f12c005ddf920000c00a018..."} 
[2026-08-21 17:44:35] local.INFO: Packet analysis {"connection_id":159501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243d"} 
[2026-08-21 17:44:35] local.INFO: Extracted packet for processing {"connection_id":159501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243d"} 
[2026-08-21 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":763302592,"raw_latitude":98433312,"longitude_deg":76.3302592,"latitude_deg":9.8433312,"altitude":12,"angle":160,"satellites":24,"speed":12,"hex_longitude":"2d7f12c0","hex_latitude":"05ddf920","is_valid_coordinates":true} 
[2026-08-21 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552479232001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121776680917270528,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155044011458113536,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787314393000,"timestamp_ms":1787314393000,"timestamp_seconds":1787314393,"priority":1,"record_length":96,"hex_timestamp":"000001a0243d4fa8"} 
[2026-08-21 17:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 17:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552479232001,"66":13298,"205":206,"85":15104,"24":12,"16":121776680917270528,"45":9155044011458113536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-08-21 17:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552479232001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:44:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121776680917270528,"km_value":121776680917270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155044011458113536,"description":"Unknown IO ID 45"} 
[2026-08-21 17:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552479232001,"power":13298,"cell_id":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9155044011458113536}} 
[2026-08-21 17:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":159501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:44:35] local.INFO: GPS data processed {"connection_id":159501,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:44:35] local.INFO: Acknowledgment sent {"connection_id":159501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:44:38] local.INFO: TCP Data received {"connection_id":160392,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243a4650012d17a4400721d218005000c924..."} 
[2026-08-21 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243a4650012d17a4400721d218005000c924..."} 
[2026-08-21 17:44:38] local.INFO: Processing buffer {"connection_id":160392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243a4650012d17a4400721d218005000c924..."} 
[2026-08-21 17:44:38] local.INFO: Packet analysis {"connection_id":160392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:44:38] local.INFO: Extracted packet for processing {"connection_id":160392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243a"} 
[2026-08-21 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552428288001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429282304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314194000,"timestamp_ms":1787314194000,"timestamp_seconds":1787314194,"priority":1,"record_length":96,"hex_timestamp":"000001a0243a4650"} 
[2026-08-21 17:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 17:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552428288001,"66":13091,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429282304},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552428288001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:44:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429282304,"description":"Unknown IO ID 45"} 
[2026-08-21 17:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552428288001,"power":13091,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429282304}} 
[2026-08-21 17:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":160392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:44:38] local.INFO: GPS data processed {"connection_id":160392,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:44:38] local.INFO: Acknowledgment sent {"connection_id":160392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:44:57] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:57] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:57] local.INFO: IMEI packet received {"connection_id":159213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":159213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:44:58] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:58] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:44:58] local.INFO: IMEI packet received {"connection_id":159213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":159213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:45:01] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:01] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:01] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:45:02] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:02] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:02] local.INFO: IMEI packet received {"connection_id":159213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":159213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:45:03] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243d18f8012dc3ca40053c1b980020013f27..."} 
[2026-08-21 17:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243d18f8012dc3ca40053c1b980020013f27..."} 
[2026-08-21 17:45:03] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243d18f8012dc3ca40053c1b980020013f27..."} 
[2026-08-21 17:45:03] local.INFO: Packet analysis {"connection_id":159213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243d"} 
[2026-08-21 17:45:03] local.INFO: Extracted packet for processing {"connection_id":159213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243d"} 
[2026-08-21 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":767806016,"raw_latitude":87825304,"longitude_deg":76.7806016,"latitude_deg":8.7825304,"altitude":32,"angle":319,"satellites":39,"speed":50,"hex_longitude":"2dc3ca40","hex_latitude":"053c1b98","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552479232001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388421865699278848,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4332040606583875584,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 17:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314379000,"timestamp_ms":1787314379000,"timestamp_seconds":1787314379,"priority":1,"record_length":96,"hex_timestamp":"000001a0243d18f8"} 
[2026-08-21 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-08-21 17:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:45:03] 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-08-21 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-08-21 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-08-21 17:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552479232001,"66":206,"80":35072,"24":50,"16":388421865699278848,"45":-4332040606583875584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,24,16,45]} 
[2026-08-21 17:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552479232001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:45:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388421865699278848,"km_value":388421865699278.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4332040606583875584,"description":"Unknown IO ID 45"} 
[2026-08-21 17:45:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457552479232001,"power":206,"unknown_80":35072,"ignition":50,"odometer":null,"unknown_45":-4332040606583875584}} 
[2026-08-21 17:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":159213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:45:03] local.INFO: GPS data processed {"connection_id":159213,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:45:03] local.INFO: Acknowledgment sent {"connection_id":159213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:45:05] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:05] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:05] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:45:07] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:07] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:45:07] local.INFO: IMEI packet received {"connection_id":160393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":160393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:45:07] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243dcca8012d17a4400721d218005000c922..."} 
[2026-08-21 17:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243dcca8012d17a4400721d218005000c922..."} 
[2026-08-21 17:45:07] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243dcca8012d17a4400721d218005000c922..."} 
[2026-08-21 17:45:07] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243d"} 
[2026-08-21 17:45:07] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243d"} 
[2026-08-21 17:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552487424001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314425000,"timestamp_ms":1787314425000,"timestamp_seconds":1787314425,"priority":1,"record_length":96,"hex_timestamp":"000001a0243dcca8"} 
[2026-08-21 17:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 17:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552487424001,"66":12841,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552487424001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552487424001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:45:08] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:45:08] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:45:09] local.INFO: TCP Data received {"connection_id":159501,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0243eda30012d7f834005dcc5100002008718..."} 
[2026-08-21 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243eda30012d7f834005dcc5100002008718..."} 
[2026-08-21 17:45:09] local.INFO: Processing buffer {"connection_id":159501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243eda30012d7f834005dcc5100002008718..."} 
[2026-08-21 17:45:09] local.INFO: Packet analysis {"connection_id":159501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:09] local.INFO: Extracted packet for processing {"connection_id":159501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763331392,"raw_latitude":98354448,"longitude_deg":76.3331392,"latitude_deg":9.8354448,"altitude":2,"angle":135,"satellites":24,"speed":28,"hex_longitude":"2d7f8340","hex_latitude":"05dcc510","is_valid_coordinates":true} 
[2026-08-21 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552509440001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121780825560711168,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9186076627619942400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787314494000,"timestamp_ms":1787314494000,"timestamp_seconds":1787314494,"priority":1,"record_length":96,"hex_timestamp":"000001a0243eda30"} 
[2026-08-21 17:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 17:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159501,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552509440001,"66":12765,"111":206,"85":15104,"24":28,"16":121780825560711168,"45":9186076627619942400},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 17:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552509440001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121780825560711168,"km_value":121780825560711.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9186076627619942400,"description":"Unknown IO ID 45"} 
[2026-08-21 17:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552509440001,"power":12765,"unknown_111":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9186076627619942400}} 
[2026-08-21 17:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":159501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676947,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:45:09] local.INFO: GPS data processed {"connection_id":159501,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:45:09] local.INFO: Acknowledgment sent {"connection_id":159501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:45:11] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243e1eb0012d17a4400721d218005000c923..."} 
[2026-08-21 17:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243e1eb0012d17a4400721d218005000c923..."} 
[2026-08-21 17:45:11] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243e1eb0012d17a4400721d218005000c923..."} 
[2026-08-21 17:45:11] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:11] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":35,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552492800001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787314446000,"timestamp_ms":1787314446000,"timestamp_seconds":1787314446,"priority":1,"record_length":96,"hex_timestamp":"000001a0243e1eb0"} 
[2026-08-21 17:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 17:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552492800001,"66":12841,"105":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552492800001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:45:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552492800001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:45:11] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:45:11] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:45:36] local.INFO: TCP Data received {"connection_id":159213,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243eab50012dc2cf00053cfd980023011129..."} 
[2026-08-21 17:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243eab50012dc2cf00053cfd980023011129..."} 
[2026-08-21 17:45:36] local.INFO: Processing buffer {"connection_id":159213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243eab50012dc2cf00053cfd980023011129..."} 
[2026-08-21 17:45:36] local.INFO: Packet analysis {"connection_id":159213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:36] local.INFO: Extracted packet for processing {"connection_id":159213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:36] local.INFO: GPS Element Parsed {"raw_longitude":767741696,"raw_latitude":87883160,"longitude_deg":76.7741696,"latitude_deg":8.788316,"altitude":35,"angle":273,"satellites":41,"speed":31,"hex_longitude":"2dc2cf00","hex_latitude":"053cfd98","is_valid_coordinates":true} 
[2026-08-21 17:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552506880001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388426328170299392,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4407546269069875200,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787314482000,"timestamp_ms":1787314482000,"timestamp_seconds":1787314482,"priority":1,"record_length":96,"hex_timestamp":"000001a0243eab50"} 
[2026-08-21 17:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:45: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-08-21 17:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 17:45:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552506880001,"66":27745,"67":206,"80":35072,"24":31,"16":388426328170299392,"45":-4407546269069875200},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 17:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552506880001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:45:36] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 17:45:36] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388426328170299392,"km_value":388426328170299.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4407546269069875200,"description":"Unknown IO ID 45"} 
[2026-08-21 17:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552506880001,"power":27745,"unknown_67":206,"unknown_80":35072,"ignition":31,"odometer":null,"unknown_45":-4407546269069875200}} 
[2026-08-21 17:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":159213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:45:36] local.INFO: GPS data processed {"connection_id":159213,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:45:36] local.INFO: Acknowledgment sent {"connection_id":159213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:45:43] local.INFO: TCP Data received {"connection_id":160393,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243e70b8012d17a4400721d218005000c921..."} 
[2026-08-21 17:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243e70b8012d17a4400721d218005000c921..."} 
[2026-08-21 17:45:43] local.INFO: Processing buffer {"connection_id":160393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243e70b8012d17a4400721d218005000c921..."} 
[2026-08-21 17:45:43] local.INFO: Packet analysis {"connection_id":160393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:43] local.INFO: Extracted packet for processing {"connection_id":160393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":33,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552498176001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787314467000,"timestamp_ms":1787314467000,"timestamp_seconds":1787314467,"priority":1,"record_length":96,"hex_timestamp":"000001a0243e70b8"} 
[2026-08-21 17:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 17:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552498176001,"66":12798,"105":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 17:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552498176001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:45:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 17:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552498176001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":160393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:45:43] local.INFO: GPS data processed {"connection_id":160393,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:45:43] local.INFO: Acknowledgment sent {"connection_id":160393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:45:54] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:45:54] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:45:54] local.INFO: IMEI packet received {"connection_id":159214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":159214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:45:56] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:56] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:56] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:45:57] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:57] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:45:57] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:45:57] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:45:57] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:45:57] local.INFO: IMEI packet received {"connection_id":159214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":159214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:46:02] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:02] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:02] local.INFO: IMEI packet received {"connection_id":159214,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159214,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:46:02] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:02] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:02] local.INFO: IMEI packet received {"connection_id":161769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":161769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:46:02] local.INFO: TCP Data received {"connection_id":159214,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0243ee5e8012d7f888005dcbe480001009418..."} 
[2026-08-21 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243ee5e8012d7f888005dcbe480001009418..."} 
[2026-08-21 17:46:02] local.INFO: Processing buffer {"connection_id":159214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243ee5e8012d7f888005dcbe480001009418..."} 
[2026-08-21 17:46:02] local.INFO: Packet analysis {"connection_id":159214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:02] local.INFO: Extracted packet for processing {"connection_id":159214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763332736,"raw_latitude":98352712,"longitude_deg":76.3332736,"latitude_deg":9.8352712,"altitude":1,"angle":148,"satellites":24,"speed":31,"hex_longitude":"2d7f8880","hex_latitude":"05dcbe48","is_valid_coordinates":true} 
[2026-08-21 17:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552510464001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121780928639926272,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9188258058688860160,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787314497000,"timestamp_ms":1787314497000,"timestamp_seconds":1787314497,"priority":1,"record_length":96,"hex_timestamp":"000001a0243ee5e8"} 
[2026-08-21 17:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 17:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159214,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552510464001,"66":12885,"111":206,"85":15104,"24":31,"16":121780928639926272,"45":9188258058688860160},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 17:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552510464001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:46:02] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 17:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121780928639926272,"km_value":121780928639926.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9188258058688860160,"description":"Unknown IO ID 45"} 
[2026-08-21 17:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552510464001,"power":12885,"unknown_111":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9188258058688860160}} 
[2026-08-21 17:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":159214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:46:02] local.INFO: GPS data processed {"connection_id":159214,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:46:02] local.INFO: Acknowledgment sent {"connection_id":159214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:46:03] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243ed260012dc2a940053d04180023011d28..."} 
[2026-08-21 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243ed260012dc2a940053d04180023011d28..."} 
[2026-08-21 17:46:03] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243ed260012dc2a940053d04180023011d28..."} 
[2026-08-21 17:46:03] local.INFO: Packet analysis {"connection_id":161769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:03] local.INFO: Extracted packet for processing {"connection_id":161769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":767732032,"raw_latitude":87884824,"longitude_deg":76.7732032,"latitude_deg":8.7884824,"altitude":35,"angle":285,"satellites":40,"speed":42,"hex_longitude":"2dc2a940","hex_latitude":"053d0418","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552507392001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388426800616701952,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4409305487674337280,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314492000,"timestamp_ms":1787314492000,"timestamp_seconds":1787314492,"priority":1,"record_length":96,"hex_timestamp":"000001a0243ed260"} 
[2026-08-21 17:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 17:46: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-08-21 17: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-08-21 17:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552507392001,"66":27821,"67":206,"80":35072,"24":42,"16":388426800616701952,"45":-4409305487674337280},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 17:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552507392001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:46:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 17:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388426800616701952,"km_value":388426800616701.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4409305487674337280,"description":"Unknown IO ID 45"} 
[2026-08-21 17:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552507392001,"power":27821,"unknown_67":206,"unknown_80":35072,"ignition":42,"odometer":null,"unknown_45":-4409305487674337280}} 
[2026-08-21 17:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":161769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:46:03] local.INFO: GPS data processed {"connection_id":161769,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:46:03] local.INFO: Acknowledgment sent {"connection_id":161769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:46:06] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:46:06] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:46:06] local.INFO: IMEI packet received {"connection_id":159215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":159215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:46:08] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:46:08] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:46:08] local.INFO: IMEI packet received {"connection_id":159215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":159215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:46:10] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243ec2c0012d17a4400721d218005000c922..."} 
[2026-08-21 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243ec2c0012d17a4400721d218005000c922..."} 
[2026-08-21 17:46:10] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243ec2c0012d17a4400721d218005000c922..."} 
[2026-08-21 17:46:10] local.INFO: Packet analysis {"connection_id":159215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:10] local.INFO: Extracted packet for processing {"connection_id":159215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:10] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552503552001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787314488000,"timestamp_ms":1787314488000,"timestamp_seconds":1787314488,"priority":1,"record_length":96,"hex_timestamp":"000001a0243ec2c0"} 
[2026-08-21 17:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 17:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552503552001,"66":12798,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552503552001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552503552001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":159215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:46:10] local.INFO: GPS data processed {"connection_id":159215,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:46:10] local.INFO: Acknowledgment sent {"connection_id":159215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:46:11] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243f14c8012d17a4400721d218005000c925..."} 
[2026-08-21 17:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243f14c8012d17a4400721d218005000c925..."} 
[2026-08-21 17:46:11] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243f14c8012d17a4400721d218005000c925..."} 
[2026-08-21 17:46:11] local.INFO: Packet analysis {"connection_id":159215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243f"} 
[2026-08-21 17:46:11] local.INFO: Extracted packet for processing {"connection_id":159215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243f"} 
[2026-08-21 17:46:11] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552508928001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787314509000,"timestamp_ms":1787314509000,"timestamp_seconds":1787314509,"priority":1,"record_length":96,"hex_timestamp":"000001a0243f14c8"} 
[2026-08-21 17:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 17:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552508928001,"66":12798,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552508928001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:46:11] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:46:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552508928001,"power":12798,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":159215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:46:11] local.INFO: GPS data processed {"connection_id":159215,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:46:11] local.INFO: Acknowledgment sent {"connection_id":159215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:46:27] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:27] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:27] local.INFO: IMEI packet received {"connection_id":159502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":159502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:46:32] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:32] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:46:32] local.INFO: IMEI packet received {"connection_id":159502,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":159502,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:46:33] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244006f8012d80190005dc98680000004d17..."} 
[2026-08-21 17:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244006f8012d80190005dc98680000004d17..."} 
[2026-08-21 17:46:33] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244006f8012d80190005dc98680000004d17..."} 
[2026-08-21 17:46:33] local.INFO: Packet analysis {"connection_id":159502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:46:33] local.INFO: Extracted packet for processing {"connection_id":159502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":763369728,"raw_latitude":98343016,"longitude_deg":76.3369728,"latitude_deg":9.8343016,"altitude":0,"angle":77,"satellites":23,"speed":39,"hex_longitude":"2d801900","hex_latitude":"05dc9868","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552527872001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121783290871939072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220557312262985728,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787314571000,"timestamp_ms":1787314571000,"timestamp_seconds":1787314571,"priority":1,"record_length":96,"hex_timestamp":"000001a0244006f8"} 
[2026-08-21 17:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 17:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552527872001,"66":13276,"53":206,"85":15104,"24":39,"16":121783290871939072,"45":9220557312262985728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 17:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552527872001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:46:33] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 17:46:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121783290871939072,"km_value":121783290871939.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220557312262985728,"description":"Unknown IO ID 45"} 
[2026-08-21 17:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552527872001,"power":13276,"unknown_53":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9220557312262985728}} 
[2026-08-21 17:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":159502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:46:33] local.INFO: GPS data processed {"connection_id":159502,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:46:33] local.INFO: Acknowledgment sent {"connection_id":159502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:46:34] local.INFO: TCP Data received {"connection_id":161769,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243ed260012dc2a940053d04180023011d28..."} 
[2026-08-21 17:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243ed260012dc2a940053d04180023011d28..."} 
[2026-08-21 17:46:34] local.INFO: Processing buffer {"connection_id":161769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243ed260012dc2a940053d04180023011d28..."} 
[2026-08-21 17:46:34] local.INFO: Packet analysis {"connection_id":161769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:34] local.INFO: Extracted packet for processing {"connection_id":161769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:46:34] local.INFO: GPS Element Parsed {"raw_longitude":767732032,"raw_latitude":87884824,"longitude_deg":76.7732032,"latitude_deg":8.7884824,"altitude":35,"angle":285,"satellites":40,"speed":42,"hex_longitude":"2dc2a940","hex_latitude":"053d0418","is_valid_coordinates":true} 
[2026-08-21 17:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552509952001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388426800616701952,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4419931168044738560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787314492000,"timestamp_ms":1787314492000,"timestamp_seconds":1787314492,"priority":1,"record_length":96,"hex_timestamp":"000001a0243ed260"} 
[2026-08-21 17:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 17:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552509952001,"66":27821,"67":206,"80":35072,"24":42,"16":388426800616701952,"45":-4419931168044738560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,80,24,16,45]} 
[2026-08-21 17:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552509952001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:46:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-08-21 17:46:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":35072,"description":"Unknown IO ID 80"} 
[2026-08-21 17:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388426800616701952,"km_value":388426800616701.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4419931168044738560,"description":"Unknown IO ID 45"} 
[2026-08-21 17:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552509952001,"power":27821,"unknown_67":206,"unknown_80":35072,"ignition":42,"odometer":null,"unknown_45":-4419931168044738560}} 
[2026-08-21 17:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":161769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:46:34] local.INFO: GPS data processed {"connection_id":161769,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:46:34] local.INFO: Acknowledgment sent {"connection_id":161769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:46:42] local.INFO: TCP Data received {"connection_id":159215,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243f66d0012d17a4400721d218005000c922..."} 
[2026-08-21 17:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243f66d0012d17a4400721d218005000c922..."} 
[2026-08-21 17:46:42] local.INFO: Processing buffer {"connection_id":159215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243f66d0012d17a4400721d218005000c922..."} 
[2026-08-21 17:46:42] local.INFO: Packet analysis {"connection_id":159215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243f"} 
[2026-08-21 17:46:42] local.INFO: Extracted packet for processing {"connection_id":159215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243f"} 
[2026-08-21 17:46:42] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552514304001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787314530000,"timestamp_ms":1787314530000,"timestamp_seconds":1787314530,"priority":1,"record_length":96,"hex_timestamp":"000001a0243f66d0"} 
[2026-08-21 17:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 17:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552514304001,"66":12711,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552514304001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:46:42] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:46:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552514304001,"power":12711,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":159215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:46:42] local.INFO: GPS data processed {"connection_id":159215,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:46:42] local.INFO: Acknowledgment sent {"connection_id":159215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:46:57] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:57] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:57] local.INFO: IMEI packet received {"connection_id":160394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":160394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:46:59] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:59] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:46:59] local.INFO: IMEI packet received {"connection_id":160394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":160394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:47:01] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:47:01] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:47:01] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:47:02] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:02] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:02] local.INFO: IMEI packet received {"connection_id":160394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":160394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:47:03] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0243eedb8012dc29040053d0d900025012827..."} 
[2026-08-21 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243eedb8012dc29040053d0d900025012827..."} 
[2026-08-21 17:47:03] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243eedb8012dc29040053d0d900025012827..."} 
[2026-08-21 17:47:03] local.INFO: Packet analysis {"connection_id":160394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:47:03] local.INFO: Extracted packet for processing {"connection_id":160394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243e"} 
[2026-08-21 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":767725632,"raw_latitude":87887248,"longitude_deg":76.7725632,"latitude_deg":8.7887248,"altitude":37,"angle":296,"satellites":39,"speed":37,"hex_longitude":"2dc29040","hex_latitude":"053d0d90","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552509952001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388427127034216448,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4419931168044738560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314499000,"timestamp_ms":1787314499000,"timestamp_seconds":1787314499,"priority":1,"record_length":96,"hex_timestamp":"000001a0243eedb8"} 
[2026-08-21 17:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 17:47: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-08-21 17: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-08-21 17:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552509952001,"66":27658,"188":206,"84":5376,"24":37,"16":388427127034216448,"45":-4419931168044738560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-08-21 17:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552509952001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:47:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 17:47:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388427127034216448,"km_value":388427127034216.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4419931168044738560,"description":"Unknown IO ID 45"} 
[2026-08-21 17:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552509952001,"power":27658,"unknown_188":206,"unknown_84":5376,"ignition":37,"odometer":null,"unknown_45":-4419931168044738560}} 
[2026-08-21 17:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":160394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:47:03] local.INFO: GPS data processed {"connection_id":160394,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:47:03] local.INFO: Acknowledgment sent {"connection_id":160394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:47:04] local.INFO: TCP Data received {"connection_id":159502,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024402a20012d803c8005dca0780000004d17..."} 
[2026-08-21 17:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024402a20012d803c8005dca0780000004d17..."} 
[2026-08-21 17:47:04] local.INFO: Processing buffer {"connection_id":159502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024402a20012d803c8005dca0780000004d17..."} 
[2026-08-21 17:47:04] local.INFO: Packet analysis {"connection_id":159502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:04] local.INFO: Extracted packet for processing {"connection_id":159502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":763378816,"raw_latitude":98345080,"longitude_deg":76.3378816,"latitude_deg":9.834508,"altitude":0,"angle":77,"satellites":23,"speed":40,"hex_longitude":"2d803c80","hex_latitude":"05dca078","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552530176001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121783733253570560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216335137261197312,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787314580000,"timestamp_ms":1787314580000,"timestamp_seconds":1787314580,"priority":1,"record_length":96,"hex_timestamp":"000001a024402a20"} 
[2026-08-21 17:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 17:47: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-08-21 17: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-08-21 17:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159502,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552530176001,"66":13059,"251":206,"85":15104,"24":40,"16":121783733253570560,"45":-9216335137261197312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 17:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552530176001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:47:04] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 17:47:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121783733253570560,"km_value":121783733253570.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216335137261197312,"description":"Unknown IO ID 45"} 
[2026-08-21 17:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552530176001,"power":13059,"unknown_251":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9216335137261197312}} 
[2026-08-21 17:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":159502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676959,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:47:04] local.INFO: GPS data processed {"connection_id":159502,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:47:04] local.INFO: Acknowledgment sent {"connection_id":159502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:47:06] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:47:06] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:47:06] local.INFO: IMEI packet received {"connection_id":161770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":161770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:47:07] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0243fb8d8012d17a4400721d218005000c923..."} 
[2026-08-21 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0243fb8d8012d17a4400721d218005000c923..."} 
[2026-08-21 17:47:07] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0243fb8d8012d17a4400721d218005000c923..."} 
[2026-08-21 17:47:07] local.INFO: Packet analysis {"connection_id":161770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0243f"} 
[2026-08-21 17:47:07] local.INFO: Extracted packet for processing {"connection_id":161770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0243f"} 
[2026-08-21 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":35,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552519680001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314551000,"timestamp_ms":1787314551000,"timestamp_seconds":1787314551,"priority":1,"record_length":96,"hex_timestamp":"000001a0243fb8d8"} 
[2026-08-21 17:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:47:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-21 17:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:47:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552519680001,"66":12743,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552519680001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:47:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:47:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552519680001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":161770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:47:07] local.INFO: GPS data processed {"connection_id":161770,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:47:07] local.INFO: Acknowledgment sent {"connection_id":161770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:47:20] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:21] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:21] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:47:21] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:22] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:22] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:47:27] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:27] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:47:27] local.INFO: IMEI packet received {"connection_id":160395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":160395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:47:27] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024405130012d80610005dca8300000004f17..."} 
[2026-08-21 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024405130012d80610005dca8300000004f17..."} 
[2026-08-21 17:47:27] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024405130012d80610005dca8300000004f17..."} 
[2026-08-21 17:47:27] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:27] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763388160,"raw_latitude":98347056,"longitude_deg":76.338816,"latitude_deg":9.8347056,"altitude":0,"angle":79,"satellites":23,"speed":32,"hex_longitude":"2d806100","hex_latitude":"05dca830","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552532480001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121784188520103936,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9206342775587440640,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314590000,"timestamp_ms":1787314590000,"timestamp_seconds":1787314590,"priority":1,"record_length":96,"hex_timestamp":"000001a024405130"} 
[2026-08-21 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-08-21 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861199,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":111,"raw_value":58077557095399445,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":176,"raw_value":2818244608,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3699169280,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,251,85,24,241,157,16,169,160,6,45,152,23,10,66,53,227,144,168,188,64,1,240,7,36,220,4,113,205,9,79,170,239,51,111,2,176,5,21],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[]} 
[2026-08-21 17:47:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":84761182208000,"timestamp_seconds":84761182208,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 17:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552532480001,"66":13222,"251":206,"85":15104,"24":32,"16":121784188520103936,"45":-9206342775587440640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 17:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552532480001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:47:27] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 17:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121784188520103936,"km_value":121784188520103.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9206342775587440640,"description":"Unknown IO ID 45"} 
[2026-08-21 17:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552532480001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9206342775587440640}} 
[2026-08-21 17:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:47:28] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:47:28] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:47:37] local.INFO: TCP Data received {"connection_id":160394,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024408fb0012dc20ec0053e2d280022013b2b..."} 
[2026-08-21 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024408fb0012dc20ec0053e2d280022013b2b..."} 
[2026-08-21 17:47:37] local.INFO: Processing buffer {"connection_id":160394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024408fb0012dc20ec0053e2d280022013b2b..."} 
[2026-08-21 17:47:37] local.INFO: Packet analysis {"connection_id":160394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:37] local.INFO: Extracted packet for processing {"connection_id":160394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":767692480,"raw_latitude":87960872,"longitude_deg":76.769248,"latitude_deg":8.7960872,"altitude":34,"angle":315,"satellites":43,"speed":16,"hex_longitude":"2dc20ec0","hex_latitude":"053e2d28","is_valid_coordinates":true} 
[2026-08-21 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552538624001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388431172893409280,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4462926470717997056,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787314606000,"timestamp_ms":1787314606000,"timestamp_seconds":1787314606,"priority":1,"record_length":96,"hex_timestamp":"000001a024408fb0"} 
[2026-08-21 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:47: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-08-21 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552538624001,"66":27767,"188":206,"84":5376,"24":16,"16":388431172893409280,"45":-4462926470717997056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-08-21 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552538624001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:47:37] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 17:47:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388431172893409280,"km_value":388431172893409.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4462926470717997056,"description":"Unknown IO ID 45"} 
[2026-08-21 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552538624001,"power":27767,"unknown_188":206,"unknown_84":5376,"ignition":16,"odometer":null,"unknown_45":-4462926470717997056}} 
[2026-08-21 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":160394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:47:37] local.INFO: GPS data processed {"connection_id":160394,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:47:37] local.INFO: Acknowledgment sent {"connection_id":160394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:47:38] local.INFO: TCP Data received {"connection_id":161770,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024400ae0012d17a4400721d218005000c922..."} 
[2026-08-21 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024400ae0012d17a4400721d218005000c922..."} 
[2026-08-21 17:47:38] local.INFO: Processing buffer {"connection_id":161770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024400ae0012d17a4400721d218005000c922..."} 
[2026-08-21 17:47:38] local.INFO: Packet analysis {"connection_id":161770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:38] local.INFO: Extracted packet for processing {"connection_id":161770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552525056001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314572000,"timestamp_ms":1787314572000,"timestamp_seconds":1787314572,"priority":1,"record_length":96,"hex_timestamp":"000001a024400ae0"} 
[2026-08-21 17:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 17:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552525056001,"66":12722,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552525056001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:47:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552525056001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":161770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:47:38] local.INFO: GPS data processed {"connection_id":161770,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:47:38] local.INFO: Acknowledgment sent {"connection_id":161770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:47:57] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:57] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:57] local.INFO: IMEI packet received {"connection_id":159216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":159216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:47:59] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:59] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:47:59] local.INFO: IMEI packet received {"connection_id":159216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":159216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:48:00] local.INFO: TCP Data received {"connection_id":160395,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024419568012d80ae8005dc0af8000900b018..."} 
[2026-08-21 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024419568012d80ae8005dc0af8000900b018..."} 
[2026-08-21 17:48:00] local.INFO: Processing buffer {"connection_id":160395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024419568012d80ae8005dc0af8000900b018..."} 
[2026-08-21 17:48:00] local.INFO: Packet analysis {"connection_id":160395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:48:00] local.INFO: Extracted packet for processing {"connection_id":160395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763408000,"raw_latitude":98306808,"longitude_deg":76.3408,"latitude_deg":9.8306808,"altitude":9,"angle":176,"satellites":24,"speed":6,"hex_longitude":"2d80ae80","hex_latitude":"05dc0af8","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552553984001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121786447672901632,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176787903041286144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787314673000,"timestamp_ms":1787314673000,"timestamp_seconds":1787314673,"priority":1,"record_length":96,"hex_timestamp":"000001a024419568"} 
[2026-08-21 17:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 17:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552553984001,"66":13178,"251":206,"85":15104,"24":6,"16":121786447672901632,"45":-9176787903041286144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 17:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552553984001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:48:00] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 17:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121786447672901632,"km_value":121786447672901.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176787903041286144,"description":"Unknown IO ID 45"} 
[2026-08-21 17:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552553984001,"power":13178,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9176787903041286144}} 
[2026-08-21 17:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":160395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676964,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:48:00] local.INFO: GPS data processed {"connection_id":160395,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:48:00] local.INFO: Acknowledgment sent {"connection_id":160395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:48:02] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:48:02] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:48:02] local.INFO: IMEI packet received {"connection_id":159216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:48:03] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024409f50012dc20b00053e3190002101482c..."} 
[2026-08-21 17:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024409f50012dc20b00053e3190002101482c..."} 
[2026-08-21 17:48:03] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024409f50012dc20b00053e3190002101482c..."} 
[2026-08-21 17:48:03] local.INFO: Packet analysis {"connection_id":159216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:48:03] local.INFO: Extracted packet for processing {"connection_id":159216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:48:03] local.INFO: GPS Element Parsed {"raw_longitude":767691520,"raw_latitude":87962000,"longitude_deg":76.769152,"latitude_deg":8.7962,"altitude":33,"angle":328,"satellites":44,"speed":15,"hex_longitude":"2dc20b00","hex_latitude":"053e3190","is_valid_coordinates":true} 
[2026-08-21 17:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552539136001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388431245907853312,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4463419051927066624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787314610000,"timestamp_ms":1787314610000,"timestamp_seconds":1787314610,"priority":1,"record_length":96,"hex_timestamp":"000001a024409f50"} 
[2026-08-21 17:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 17:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552539136001,"66":27908,"188":206,"84":5376,"24":15,"16":388431245907853312,"45":-4463419051927066624},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-08-21 17:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552539136001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:48:03] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 17:48:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388431245907853312,"km_value":388431245907853.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4463419051927066624,"description":"Unknown IO ID 45"} 
[2026-08-21 17:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552539136001,"power":27908,"unknown_188":206,"unknown_84":5376,"ignition":15,"odometer":null,"unknown_45":-4463419051927066624}} 
[2026-08-21 17:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":159216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:48:03] local.INFO: GPS data processed {"connection_id":159216,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:48:03] local.INFO: Acknowledgment sent {"connection_id":159216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:48:11] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:48:11] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:48:11] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:48:17] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:48:17] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:48:17] local.INFO: IMEI packet received {"connection_id":160396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":160396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:48:18] local.INFO: TCP Data received {"connection_id":160396,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024405ce8012d17a4400721d218005000c924..."} 
[2026-08-21 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024405ce8012d17a4400721d218005000c924..."} 
[2026-08-21 17:48:18] local.INFO: Processing buffer {"connection_id":160396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024405ce8012d17a4400721d218005000c924..."} 
[2026-08-21 17:48:18] local.INFO: Packet analysis {"connection_id":160396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:48:18] local.INFO: Extracted packet for processing {"connection_id":160396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552530432001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787314593000,"timestamp_ms":1787314593000,"timestamp_seconds":1787314593,"priority":1,"record_length":96,"hex_timestamp":"000001a024405ce8"} 
[2026-08-21 17:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":160396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":160396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552530432001,"66":12722,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552530432001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552530432001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":160396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:48:18] local.INFO: GPS data processed {"connection_id":160396,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:48:18] local.INFO: Acknowledgment sent {"connection_id":160396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:48:21] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:48:21] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:48:21] local.INFO: IMEI packet received {"connection_id":159217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":159217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:48:27] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:48:27] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:48:27] local.INFO: IMEI packet received {"connection_id":159217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":159217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:48:27] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024419d38012d80ae8005dc0998000900a418..."} 
[2026-08-21 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024419d38012d80ae8005dc0998000900a418..."} 
[2026-08-21 17:48:27] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024419d38012d80ae8005dc0998000900a418..."} 
[2026-08-21 17:48:27] local.INFO: Packet analysis {"connection_id":159217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:48:27] local.INFO: Extracted packet for processing {"connection_id":159217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763408000,"raw_latitude":98306456,"longitude_deg":76.3408,"latitude_deg":9.8306456,"altitude":9,"angle":164,"satellites":24,"speed":8,"hex_longitude":"2d80ae80","hex_latitude":"05dc0998","is_valid_coordinates":true} 
[2026-08-21 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552556288001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121786464852770816,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174254628252223488,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314675000,"timestamp_ms":1787314675000,"timestamp_seconds":1787314675,"priority":1,"record_length":96,"hex_timestamp":"000001a024419d38"} 
[2026-08-21 17:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 17:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552556288001,"66":12841,"251":206,"85":15104,"24":8,"16":121786464852770816,"45":-9174254628252223488},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 17:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552556288001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:48:27] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 17:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121786464852770816,"km_value":121786464852770.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174254628252223488,"description":"Unknown IO ID 45"} 
[2026-08-21 17:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552556288001,"power":12841,"unknown_251":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9174254628252223488}} 
[2026-08-21 17:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":159217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676967,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:48:27] local.INFO: GPS data processed {"connection_id":159217,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:48:27] local.INFO: Acknowledgment sent {"connection_id":159217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:48:34] local.INFO: TCP Data received {"connection_id":159216,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02440a720012dc20980053e34c00021015d2b..."} 
[2026-08-21 17:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02440a720012dc20980053e34c00021015d2b..."} 
[2026-08-21 17:48:34] local.INFO: Processing buffer {"connection_id":159216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02440a720012dc20980053e34c00021015d2b..."} 
[2026-08-21 17:48:34] local.INFO: Packet analysis {"connection_id":159216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:48:34] local.INFO: Extracted packet for processing {"connection_id":159216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:48:34] local.INFO: GPS Element Parsed {"raw_longitude":767691136,"raw_latitude":87962816,"longitude_deg":76.7691136,"latitude_deg":8.7962816,"altitude":33,"angle":349,"satellites":43,"speed":18,"hex_longitude":"2dc20980","hex_latitude":"053e34c0","is_valid_coordinates":true} 
[2026-08-21 17:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552540160001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388431288857526272,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4464474583089442816,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787314612000,"timestamp_ms":1787314612000,"timestamp_seconds":1787314612,"priority":1,"record_length":96,"hex_timestamp":"000001a02440a720"} 
[2026-08-21 17:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552540160001,"66":27843,"188":206,"84":5376,"24":18,"16":388431288857526272,"45":-4464474583089442816},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,84,24,16,45]} 
[2026-08-21 17:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552540160001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:48:34] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-08-21 17:48:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388431288857526272,"km_value":388431288857526.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4464474583089442816,"description":"Unknown IO ID 45"} 
[2026-08-21 17:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552540160001,"power":27843,"unknown_188":206,"unknown_84":5376,"ignition":18,"odometer":null,"unknown_45":-4464474583089442816}} 
[2026-08-21 17:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":159216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:48:34] local.INFO: GPS data processed {"connection_id":159216,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:48:34] local.INFO: Acknowledgment sent {"connection_id":159216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:48:57] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:48:57] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:48:57] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:48:58] local.INFO: TCP Data received {"connection_id":159217,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02441a120012d80aec005dc09100008009618..."} 
[2026-08-21 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441a120012d80aec005dc09100008009618..."} 
[2026-08-21 17:48:58] local.INFO: Processing buffer {"connection_id":159217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02441a120012d80aec005dc09100008009618..."} 
[2026-08-21 17:48:58] local.INFO: Packet analysis {"connection_id":159217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:48:58] local.INFO: Extracted packet for processing {"connection_id":159217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":98306320,"longitude_deg":76.3408064,"latitude_deg":9.830632,"altitude":8,"angle":150,"satellites":24,"speed":6,"hex_longitude":"2d80aec0","hex_latitude":"05dc0910","is_valid_coordinates":true} 
[2026-08-21 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552556800001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121786469147738112,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174254628252313600,"note":"Value kept but may cause issues"} 
[2026-08-21 17:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787314676000,"timestamp_ms":1787314676000,"timestamp_seconds":1787314676,"priority":1,"record_length":96,"hex_timestamp":"000001a02441a120"} 
[2026-08-21 17:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 17:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552556800001,"66":12939,"251":206,"85":15104,"24":6,"16":121786469147738112,"45":-9174254628252313600},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 17:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552556800001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:48:58] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 17:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121786469147738112,"km_value":121786469147738.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174254628252313600,"description":"Unknown IO ID 45"} 
[2026-08-21 17:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552556800001,"power":12939,"unknown_251":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9174254628252313600}} 
[2026-08-21 17:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":159217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:48:58] local.INFO: GPS data processed {"connection_id":159217,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:48:58] local.INFO: Acknowledgment sent {"connection_id":159217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:49:01] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:49:01] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:49:01] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:49:03] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:49:03] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:49:03] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:49:06] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:49:06] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:49:06] local.INFO: IMEI packet received {"connection_id":160398,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":160398,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:49:07] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02440aef0012d17a4400721d218005000c923..."} 
[2026-08-21 17:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02440aef0012d17a4400721d218005000c923..."} 
[2026-08-21 17:49:07] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02440aef0012d17a4400721d218005000c923..."} 
[2026-08-21 17:49:07] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:49:07] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02440"} 
[2026-08-21 17:49:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":35,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552535808001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314614000,"timestamp_ms":1787314614000,"timestamp_seconds":1787314614,"priority":1,"record_length":96,"hex_timestamp":"000001a02440aef0"} 
[2026-08-21 17:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 17:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552535808001,"66":12178,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552535808001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:49:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:49:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552535808001,"power":12178,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676970,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:49:07] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:49:07] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:49:14] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.35","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 17:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 17:49:14] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 17:49:14] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:49:22] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:22] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:22] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:49:26] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:26] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:26] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:49:26] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:27] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:49:27] local.INFO: IMEI packet received {"connection_id":161771,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":161771,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:49:27] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02441c060012d80b34005dbfe98000a00a218..."} 
[2026-08-21 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441c060012d80b34005dbfe98000a00a218..."} 
[2026-08-21 17:49:27] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02441c060012d80b34005dbfe98000a00a218..."} 
[2026-08-21 17:49:27] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:27] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763409216,"raw_latitude":98303640,"longitude_deg":76.3409216,"latitude_deg":9.830364,"altitude":10,"angle":162,"satellites":24,"speed":21,"hex_longitude":"2d80b340","hex_latitude":"05dbfe98","is_valid_coordinates":true} 
[2026-08-21 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552557056001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121786610881658880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174184259508170752,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314684000,"timestamp_ms":1787314684000,"timestamp_seconds":1787314684,"priority":1,"record_length":96,"hex_timestamp":"000001a02441c060"} 
[2026-08-21 17:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:49: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-08-21 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-08-21 17:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552557056001,"66":13222,"251":206,"85":15104,"24":21,"16":121786610881658880,"45":-9174184259508170752},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 17:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552557056001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121786610881658880,"km_value":121786610881658.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174184259508170752,"description":"Unknown IO ID 45"} 
[2026-08-21 17:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552557056001,"power":13222,"unknown_251":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9174184259508170752}} 
[2026-08-21 17:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676971,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:49:27] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:49:27] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:49:28] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02441f328012d80c20005dbdb980006009c18..."} 
[2026-08-21 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441f328012d80c20005dbdb980006009c18..."} 
[2026-08-21 17:49:28] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02441f328012d80c20005dbdb980006009c18..."} 
[2026-08-21 17:49:28] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:28] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763412992,"raw_latitude":98294680,"longitude_deg":76.3412992,"latitude_deg":9.829468,"altitude":6,"angle":156,"satellites":24,"speed":33,"hex_longitude":"2d80c200","hex_latitude":"05dbdb98","is_valid_coordinates":true} 
[2026-08-21 17:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552559104001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121787083328061440,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9172917622113658880,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787314697000,"timestamp_ms":1787314697000,"timestamp_seconds":1787314697,"priority":1,"record_length":96,"hex_timestamp":"000001a02441f328"} 
[2026-08-21 17:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:49: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-08-21 17:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 17:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552559104001,"66":13298,"155":206,"85":15104,"24":33,"16":121787083328061440,"45":-9172917622113658880},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 17:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552559104001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:49:28] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 17:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121787083328061440,"km_value":121787083328061.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9172917622113658880,"description":"Unknown IO ID 45"} 
[2026-08-21 17:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552559104001,"power":13298,"unknown_155":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9172917622113658880}} 
[2026-08-21 17:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:49:28] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:49:28] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:49:30] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02441b4a8012dc1ac40053f17b0002d012d2b..."} 
[2026-08-21 17:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441b4a8012dc1ac40053f17b0002d012d2b..."} 
[2026-08-21 17:49:30] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a024..."} 
[2026-08-21 17:49:30] local.INFO: IMEI packet received {"connection_id":160397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":160397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:49:32] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02441d000012dc18b00053f2750002e012329..."} 
[2026-08-21 17:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441d000012dc18b00053f2750002e012329..."} 
[2026-08-21 17:49:32] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a02441b4a8012dc1ac40053f17b0002d012d2b..."} 
[2026-08-21 17:49:32] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:32] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":767667264,"raw_latitude":88020912,"longitude_deg":76.7667264,"latitude_deg":8.8020912,"altitude":45,"angle":301,"satellites":43,"speed":51,"hex_longitude":"2dc1ac40","hex_latitude":"053f17b0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552558336001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388434510082998272,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4491144337117696000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787314681000,"timestamp_ms":1787314681000,"timestamp_seconds":1787314681,"priority":1,"record_length":96,"hex_timestamp":"000001a02441b4a8"} 
[2026-08-21 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-08-21 17:49: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-08-21 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:49:32] 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-08-21 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-08-21 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-08-21 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552558336001,"66":27865,"218":206,"84":5376,"24":51,"16":388434510082998272,"45":-4491144337117696000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,84,24,16,45]} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552558336001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388434510082998272,"km_value":388434510082998.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4491144337117696000,"description":"Unknown IO ID 45"} 
[2026-08-21 17:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552558336001,"power":27865,"unknown_218":206,"unknown_84":5376,"ignition":51,"odometer":null,"unknown_45":-4491144337117696000}} 
[2026-08-21 17:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:49:32] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:49:32] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:49:32] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:32] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:32] local.INFO: GPS Element Parsed {"raw_longitude":767658752,"raw_latitude":88024912,"longitude_deg":76.7658752,"latitude_deg":8.8024912,"altitude":46,"angle":291,"satellites":41,"speed":54,"hex_longitude":"2dc18b00","hex_latitude":"053f2750","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552558336001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388434956759597056,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4491144337117696000,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787314688000,"timestamp_ms":1787314688000,"timestamp_seconds":1787314688,"priority":1,"record_length":96,"hex_timestamp":"000001a02441d000"} 
[2026-08-21 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-08-21 17:49: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-08-21 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 17:49:32] 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-08-21 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-08-21 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-08-21 17:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552558336001,"66":27843,"218":206,"84":5376,"24":54,"16":388434956759597056,"45":-4491144337117696000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,84,24,16,45]} 
[2026-08-21 17:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552558336001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388434956759597056,"km_value":388434956759597.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4491144337117696000,"description":"Unknown IO ID 45"} 
[2026-08-21 17:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552558336001,"power":27843,"unknown_218":206,"unknown_84":5376,"ignition":54,"odometer":null,"unknown_45":-4491144337117696000}} 
[2026-08-21 17:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:49:32] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:49:32] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:49:33] local.INFO: TCP Data received {"connection_id":160397,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02441eb58012dc16700053f3450002f01212b..."} 
[2026-08-21 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441eb58012dc16700053f3450002f01212b..."} 
[2026-08-21 17:49:33] local.INFO: Processing buffer {"connection_id":160397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02441eb58012dc16700053f3450002f01212b..."} 
[2026-08-21 17:49:33] local.INFO: Packet analysis {"connection_id":160397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:33] local.INFO: Extracted packet for processing {"connection_id":160397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":767649536,"raw_latitude":88028240,"longitude_deg":76.7649536,"latitude_deg":8.802824,"altitude":47,"angle":289,"satellites":43,"speed":55,"hex_longitude":"2dc16700","hex_latitude":"053f3450","is_valid_coordinates":true} 
[2026-08-21 17:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552560128001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388435429205999616,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4500503380092301312,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787314695000,"timestamp_ms":1787314695000,"timestamp_seconds":1787314695,"priority":1,"record_length":96,"hex_timestamp":"000001a02441eb58"} 
[2026-08-21 17:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552560128001,"66":27887,"218":206,"84":5376,"24":55,"16":388435429205999616,"45":-4500503380092301312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,84,24,16,45]} 
[2026-08-21 17:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552560128001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:49:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-08-21 17:49:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388435429205999616,"km_value":388435429205999.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4500503380092301312,"description":"Unknown IO ID 45"} 
[2026-08-21 17:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552560128001,"power":27887,"unknown_218":206,"unknown_84":5376,"ignition":55,"odometer":null,"unknown_45":-4500503380092301312}} 
[2026-08-21 17:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":160397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:49:33] local.INFO: GPS data processed {"connection_id":160397,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:49:33] local.INFO: Acknowledgment sent {"connection_id":160397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:49:38] local.INFO: TCP Data received {"connection_id":160398,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0244100f8012d17a4400721d218005000c923..."} 
[2026-08-21 17:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244100f8012d17a4400721d218005000c923..."} 
[2026-08-21 17:49:38] local.INFO: Processing buffer {"connection_id":160398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244100f8012d17a4400721d218005000c923..."} 
[2026-08-21 17:49:38] local.INFO: Packet analysis {"connection_id":160398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:38] local.INFO: Extracted packet for processing {"connection_id":160398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":35,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:49:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552541184001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:49:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:49:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314635000,"timestamp_ms":1787314635000,"timestamp_seconds":1787314635,"priority":1,"record_length":96,"hex_timestamp":"000001a0244100f8"} 
[2026-08-21 17:49:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:49:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:49:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 17:49:38] 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-08-21 17:49:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:49:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:49:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:49:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:49:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:49:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160398,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:49:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:49:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:49:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:49:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552541184001,"66":12678,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:49:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:49:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:49:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552541184001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:49:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:49:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:49:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:49:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:49:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552541184001,"power":12678,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:49:38] local.INFO: DEBUG: GPS processor result {"connection_id":160398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676976,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:49:38] local.INFO: GPS data processed {"connection_id":160398,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:49:38] local.INFO: Acknowledgment sent {"connection_id":160398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:50:01] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:50:01] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:50:01] local.INFO: IMEI packet received {"connection_id":159503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":159503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:50:02] local.INFO: TCP Data received {"connection_id":161771,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024431438012d814a8005dae9f8000300a618..."} 
[2026-08-21 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024431438012d814a8005dae9f8000300a618..."} 
[2026-08-21 17:50:02] local.INFO: Processing buffer {"connection_id":161771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024431438012d814a8005dae9f8000300a618..."} 
[2026-08-21 17:50:02] local.INFO: Packet analysis {"connection_id":161771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:50:02] local.INFO: Extracted packet for processing {"connection_id":161771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763447936,"raw_latitude":98232824,"longitude_deg":76.3447936,"latitude_deg":9.8232824,"altitude":3,"angle":166,"satellites":24,"speed":37,"hex_longitude":"2d814a80","hex_latitude":"05dae9f8","is_valid_coordinates":true} 
[2026-08-21 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552580864001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121790545071702016,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9131048219345645568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787314771000,"timestamp_ms":1787314771000,"timestamp_seconds":1787314771,"priority":1,"record_length":96,"hex_timestamp":"000001a024431438"} 
[2026-08-21 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:50: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-08-21 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-21 17:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161771,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552580864001,"66":13222,"154":206,"85":15104,"24":37,"16":121790545071702016,"45":-9131048219345645568},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-21 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552580864001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:50:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 17:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121790545071702016,"km_value":121790545071702.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9131048219345645568,"description":"Unknown IO ID 45"} 
[2026-08-21 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552580864001,"power":13222,"unknown_154":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9131048219345645568}} 
[2026-08-21 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":161771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:50:02] local.INFO: GPS data processed {"connection_id":161771,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:50:02] local.INFO: Acknowledgment sent {"connection_id":161771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:50:03] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:50:03] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:50:03] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:50:06] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:50:06] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:50:06] local.INFO: IMEI packet received {"connection_id":159503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":159503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:50:07] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024415300012d17a4400721d218005000c923..."} 
[2026-08-21 17:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024415300012d17a4400721d218005000c923..."} 
[2026-08-21 17:50:07] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024415300012d17a4400721d218005000c923..."} 
[2026-08-21 17:50:07] local.INFO: Packet analysis {"connection_id":159503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:50:07] local.INFO: Extracted packet for processing {"connection_id":159503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":35,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552546560001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314656000,"timestamp_ms":1787314656000,"timestamp_seconds":1787314656,"priority":1,"record_length":96,"hex_timestamp":"000001a024415300"} 
[2026-08-21 17:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-08-21 17:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:50:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552546560001,"66":12613,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552546560001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:50:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:50:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552546560001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:50:07] local.INFO: DEBUG: GPS processor result {"connection_id":159503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:50:07] local.INFO: GPS data processed {"connection_id":159503,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:50:07] local.INFO: Acknowledgment sent {"connection_id":159503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:50:11] local.INFO: TCP Data received {"connection_id":161772,"ip":"42.106.6.35","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 17:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161772,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 17:50:11] local.INFO: Processing buffer {"connection_id":161772,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 17:50:11] local.INFO: IMEI packet received {"connection_id":161772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":161772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:50:26] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:26] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:26] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:50:27] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:27] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:27] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:50:28] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:28] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:28] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:50:30] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:30] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:50:30] local.INFO: IMEI packet received {"connection_id":160399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":160399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:50:30] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024433b48012d81520005dac4f0000400a019..."} 
[2026-08-21 17:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024433b48012d81520005dac4f0000400a019..."} 
[2026-08-21 17:50:30] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024433b48012d81520005dac4f0000400a019..."} 
[2026-08-21 17:50:30] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:50:30] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763449856,"raw_latitude":98223344,"longitude_deg":76.3449856,"latitude_deg":9.8223344,"altitude":4,"angle":160,"satellites":25,"speed":38,"hex_longitude":"2d815200","hex_latitude":"05dac4f0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552581376001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121791013223137280,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9130344531904301056,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787314781000,"timestamp_ms":1787314781000,"timestamp_seconds":1787314781,"priority":1,"record_length":96,"hex_timestamp":"000001a024433b48"} 
[2026-08-21 17:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 17:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552581376001,"66":13363,"154":206,"85":15104,"24":38,"16":121791013223137280,"45":-9130344531904301056},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,85,24,16,45]} 
[2026-08-21 17:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552581376001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:50:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-08-21 17:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121791013223137280,"km_value":121791013223137.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9130344531904301056,"description":"Unknown IO ID 45"} 
[2026-08-21 17:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552581376001,"power":13363,"unknown_154":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-9130344531904301056}} 
[2026-08-21 17:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:50:30] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:50:30] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:50:38] local.INFO: TCP Data received {"connection_id":159503,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02441a508012d17a4400721d218005000c924..."} 
[2026-08-21 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441a508012d17a4400721d218005000c924..."} 
[2026-08-21 17:50:38] local.INFO: Processing buffer {"connection_id":159503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02441a508012d17a4400721d218005000c924..."} 
[2026-08-21 17:50:38] local.INFO: Packet analysis {"connection_id":159503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:50:38] local.INFO: Extracted packet for processing {"connection_id":159503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552551936001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314677000,"timestamp_ms":1787314677000,"timestamp_seconds":1787314677,"priority":1,"record_length":96,"hex_timestamp":"000001a02441a508"} 
[2026-08-21 17:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 17:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552551936001,"66":12613,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552551936001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:50:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:50:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552551936001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":159503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:50:38] local.INFO: GPS data processed {"connection_id":159503,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:50:38] local.INFO: Acknowledgment sent {"connection_id":159503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:51:01] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:01] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:01] local.INFO: IMEI packet received {"connection_id":159218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":159218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:51:01] local.INFO: TCP Data received {"connection_id":160399,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024446428012d82218005da8b880006007f19..."} 
[2026-08-21 17:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024446428012d82218005da8b880006007f19..."} 
[2026-08-21 17:51:01] local.INFO: Processing buffer {"connection_id":160399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024446428012d82218005da8b880006007f19..."} 
[2026-08-21 17:51:01] local.INFO: Packet analysis {"connection_id":160399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:51:01] local.INFO: Extracted packet for processing {"connection_id":160399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:51:01] local.INFO: GPS Element Parsed {"raw_longitude":763502976,"raw_latitude":98208648,"longitude_deg":76.3502976,"latitude_deg":9.8208648,"altitude":6,"angle":127,"satellites":25,"speed":23,"hex_longitude":"2d822180","hex_latitude":"05da8b88","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552603136001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121794230153641984,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070319993126838272,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787314857000,"timestamp_ms":1787314857000,"timestamp_seconds":1787314857,"priority":1,"record_length":96,"hex_timestamp":"000001a024446428"} 
[2026-08-21 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-08-21 17: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-08-21 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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 17:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552603136001,"66":13222,"153":206,"85":15104,"24":23,"16":121794230153641984,"45":-9070319993126838272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-21 17:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552603136001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:51:01] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 17:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121794230153641984,"km_value":121794230153641.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070319993126838272,"description":"Unknown IO ID 45"} 
[2026-08-21 17:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552603136001,"power":13222,"unknown_153":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9070319993126838272}} 
[2026-08-21 17:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":160399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:51:01] local.INFO: GPS data processed {"connection_id":160399,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:51:01] local.INFO: Acknowledgment sent {"connection_id":160399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:51:02] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:02] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:02] local.INFO: IMEI packet received {"connection_id":159218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":159218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:51:06] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:06] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:51:06] local.INFO: IMEI packet received {"connection_id":159218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":159218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:51:07] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02441f710012d17a4400721d218005000c927..."} 
[2026-08-21 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02441f710012d17a4400721d218005000c927..."} 
[2026-08-21 17:51:07] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02441f710012d17a4400721d218005000c927..."} 
[2026-08-21 17:51:07] local.INFO: Packet analysis {"connection_id":159218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:51:07] local.INFO: Extracted packet for processing {"connection_id":159218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02441"} 
[2026-08-21 17:51:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":39,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552557312001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314698000,"timestamp_ms":1787314698000,"timestamp_seconds":1787314698,"priority":1,"record_length":96,"hex_timestamp":"000001a02441f710"} 
[2026-08-21 17:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 17:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552557312001,"66":12667,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552557312001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:51:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:51:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552557312001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":159218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:51:07] local.INFO: GPS data processed {"connection_id":159218,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:51:07] local.INFO: Acknowledgment sent {"connection_id":159218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:51:22] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:51:22] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:51:22] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:51:26] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:51:26] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:51:26] local.INFO: IMEI packet received {"connection_id":160401,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":160401,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:51:27] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024446810012d82224005da89380006009019..."} 
[2026-08-21 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024446810012d82224005da89380006009019..."} 
[2026-08-21 17:51:27] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024446810012d82224005da89380006009019..."} 
[2026-08-21 17:51:27] local.INFO: Packet analysis {"connection_id":160401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:51:27] local.INFO: Extracted packet for processing {"connection_id":160401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763503168,"raw_latitude":98208056,"longitude_deg":76.3503168,"latitude_deg":9.8208056,"altitude":6,"angle":144,"satellites":25,"speed":24,"hex_longitude":"2d822240","hex_latitude":"05da8938","is_valid_coordinates":true} 
[2026-08-21 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552603392001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121794260218413056,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069827411917699072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314858000,"timestamp_ms":1787314858000,"timestamp_seconds":1787314858,"priority":1,"record_length":96,"hex_timestamp":"000001a024446810"} 
[2026-08-21 17:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 17:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552603392001,"66":13341,"153":206,"85":15104,"24":24,"16":121794260218413056,"45":-9069827411917699072},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,85,24,16,45]} 
[2026-08-21 17:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552603392001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:51:27] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-08-21 17:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121794260218413056,"km_value":121794260218413.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069827411917699072,"description":"Unknown IO ID 45"} 
[2026-08-21 17:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552603392001,"power":13341,"unknown_153":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9069827411917699072}} 
[2026-08-21 17:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":160401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676983,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:51:27] local.INFO: GPS data processed {"connection_id":160401,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:51:27] local.INFO: Acknowledgment sent {"connection_id":160401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:51:38] local.INFO: TCP Data received {"connection_id":159218,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024424918012d17a4400721d218005000c925..."} 
[2026-08-21 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024424918012d17a4400721d218005000c925..."} 
[2026-08-21 17:51:38] local.INFO: Processing buffer {"connection_id":159218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024424918012d17a4400721d218005000c925..."} 
[2026-08-21 17:51:38] local.INFO: Packet analysis {"connection_id":159218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02442"} 
[2026-08-21 17:51:38] local.INFO: Extracted packet for processing {"connection_id":159218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02442"} 
[2026-08-21 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552562688001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314719000,"timestamp_ms":1787314719000,"timestamp_seconds":1787314719,"priority":1,"record_length":96,"hex_timestamp":"000001a024424918"} 
[2026-08-21 17:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 17:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552562688001,"66":12667,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552562688001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:51:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552562688001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":159218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:51:38] local.INFO: GPS data processed {"connection_id":159218,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:51:38] local.INFO: Acknowledgment sent {"connection_id":159218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:51:58] local.INFO: TCP Data received {"connection_id":160401,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024446bf8012d82234005da86880006009b19..."} 
[2026-08-21 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024446bf8012d82234005da86880006009b19..."} 
[2026-08-21 17:51:58] local.INFO: Processing buffer {"connection_id":160401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024446bf8012d82234005da86880006009b19..."} 
[2026-08-21 17:51:58] local.INFO: Packet analysis {"connection_id":160401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:51:58] local.INFO: Extracted packet for processing {"connection_id":160401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763503424,"raw_latitude":98207368,"longitude_deg":76.3503424,"latitude_deg":9.8207368,"altitude":6,"angle":155,"satellites":25,"speed":26,"hex_longitude":"2d822340","hex_latitude":"05da8688","is_valid_coordinates":true} 
[2026-08-21 17:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552603648001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121794294578151424,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069616305685317632,"note":"Value kept but may cause issues"} 
[2026-08-21 17:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787314859000,"timestamp_ms":1787314859000,"timestamp_seconds":1787314859,"priority":1,"record_length":96,"hex_timestamp":"000001a024446bf8"} 
[2026-08-21 17:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 17:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160401,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552603648001,"66":13341,"71":206,"85":15104,"24":26,"16":121794294578151424,"45":-9069616305685317632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-21 17:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552603648001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:51:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 17:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121794294578151424,"km_value":121794294578151.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069616305685317632,"description":"Unknown IO ID 45"} 
[2026-08-21 17:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552603648001,"power":13341,"unknown_71":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9069616305685317632}} 
[2026-08-21 17:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":160401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:51:58] local.INFO: GPS data processed {"connection_id":160401,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:51:58] local.INFO: Acknowledgment sent {"connection_id":160401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:52:08] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:08] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:08] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:52:08] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:08] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:08] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:52:11] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:11] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:52:11] local.INFO: IMEI packet received {"connection_id":161774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":161774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:52:12] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024429b20012d17a4400721d218005000c925..."} 
[2026-08-21 17:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024429b20012d17a4400721d218005000c925..."} 
[2026-08-21 17:52:12] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024429b20012d17a4400721d218005000c925..."} 
[2026-08-21 17:52:12] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02442"} 
[2026-08-21 17:52:12] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02442"} 
[2026-08-21 17:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552568064001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787314740000,"timestamp_ms":1787314740000,"timestamp_seconds":1787314740,"priority":1,"record_length":96,"hex_timestamp":"000001a024429b20"} 
[2026-08-21 17:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:52:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-08-21 17:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552568064001,"66":12613,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552568064001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:52:12] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:52:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552568064001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:52:12] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:52:12] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:52:17] local.INFO: TCP Data received {"connection_id":161774,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02442ed28012d17a4400721d218005000c924..."} 
[2026-08-21 17:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02442ed28012d17a4400721d218005000c924..."} 
[2026-08-21 17:52:17] local.INFO: Processing buffer {"connection_id":161774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02442ed28012d17a4400721d218005000c924..."} 
[2026-08-21 17:52:17] local.INFO: Packet analysis {"connection_id":161774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02442"} 
[2026-08-21 17:52:17] local.INFO: Extracted packet for processing {"connection_id":161774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02442"} 
[2026-08-21 17:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552573440001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52: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-08-21 17:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787314761000,"timestamp_ms":1787314761000,"timestamp_seconds":1787314761,"priority":1,"record_length":96,"hex_timestamp":"000001a02442ed28"} 
[2026-08-21 17:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:52: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-08-21 17:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 17:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552573440001,"66":12613,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552573440001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:52:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:52:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552573440001,"power":12613,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":161774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:52:17] local.INFO: GPS data processed {"connection_id":161774,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:52:17] local.INFO: Acknowledgment sent {"connection_id":161774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:52:25] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:25] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:25] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:52:25] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:25] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:25] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:52:27] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:27] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:52:27] local.INFO: IMEI packet received {"connection_id":161775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":161775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:52:27] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244496f0012d822ec005da64800007009c19..."} 
[2026-08-21 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244496f0012d822ec005da64800007009c19..."} 
[2026-08-21 17:52:27] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244496f0012d822ec005da64800007009c19..."} 
[2026-08-21 17:52:27] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:52:27] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763506368,"raw_latitude":98198656,"longitude_deg":76.3506368,"latitude_deg":9.8198656,"altitude":7,"angle":156,"satellites":25,"speed":37,"hex_longitude":"2d822ec0","hex_latitude":"05da6480","is_valid_coordinates":true} 
[2026-08-21 17:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552603904001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121794741254750208,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9069334830708783104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314870000,"timestamp_ms":1787314870000,"timestamp_seconds":1787314870,"priority":1,"record_length":96,"hex_timestamp":"000001a0244496f0"} 
[2026-08-21 17:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 17:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:52:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552603904001,"66":13254,"71":206,"85":15104,"24":37,"16":121794741254750208,"45":-9069334830708783104},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-21 17:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552603904001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:52:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 17:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121794741254750208,"km_value":121794741254750.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9069334830708783104,"description":"Unknown IO ID 45"} 
[2026-08-21 17:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552603904001,"power":13254,"unknown_71":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9069334830708783104}} 
[2026-08-21 17:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676988,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:52:27] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:52:27] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:52:32] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02444a690012d82334005da56a8000700a719..."} 
[2026-08-21 17:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02444a690012d82334005da56a8000700a719..."} 
[2026-08-21 17:52:32] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02444a690012d82334005da56a8000700a719..."} 
[2026-08-21 17:52:32] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:52:32] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:52:32] local.INFO: GPS Element Parsed {"raw_longitude":763507520,"raw_latitude":98195112,"longitude_deg":76.350752,"latitude_deg":9.8195112,"altitude":7,"angle":167,"satellites":25,"speed":36,"hex_longitude":"2d823340","hex_latitude":"05da56a8","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552606720001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121794921643376640,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9066097868478840832,"note":"Value kept but may cause issues"} 
[2026-08-21 17:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787314874000,"timestamp_ms":1787314874000,"timestamp_seconds":1787314874,"priority":1,"record_length":96,"hex_timestamp":"000001a02444a690"} 
[2026-08-21 17:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 17:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552606720001,"66":13276,"71":206,"85":15104,"24":36,"16":121794921643376640,"45":-9066097868478840832},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-21 17:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552606720001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:52:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 17:52:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121794921643376640,"km_value":121794921643376.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9066097868478840832,"description":"Unknown IO ID 45"} 
[2026-08-21 17:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552606720001,"power":13276,"unknown_71":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9066097868478840832}} 
[2026-08-21 17:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:52:32] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:52:32] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:53:01] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:53:01] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:53:01] local.INFO: IMEI packet received {"connection_id":161776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":161776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:53:04] local.INFO: TCP Data received {"connection_id":161775,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02444cda0012d823a4005da32f0000700aa19..."} 
[2026-08-21 17:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02444cda0012d823a4005da32f0000700aa19..."} 
[2026-08-21 17:53:04] local.INFO: Processing buffer {"connection_id":161775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02444cda0012d823a4005da32f0000700aa19..."} 
[2026-08-21 17:53:04] local.INFO: Packet analysis {"connection_id":161775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:53:04] local.INFO: Extracted packet for processing {"connection_id":161775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":763509312,"raw_latitude":98185968,"longitude_deg":76.3509312,"latitude_deg":9.8185968,"altitude":7,"angle":170,"satellites":25,"speed":36,"hex_longitude":"2d823a40","hex_latitude":"05da32f0","is_valid_coordinates":true} 
[2026-08-21 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552607744001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121795372614942720,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064831231084550144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787314884000,"timestamp_ms":1787314884000,"timestamp_seconds":1787314884,"priority":1,"record_length":96,"hex_timestamp":"000001a02444cda0"} 
[2026-08-21 17:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 17:53: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-08-21 17:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552607744001,"66":13059,"71":206,"85":15104,"24":36,"16":121795372614942720,"45":-9064831231084550144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-21 17:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552607744001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:53:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 17:53:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121795372614942720,"km_value":121795372614942.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064831231084550144,"description":"Unknown IO ID 45"} 
[2026-08-21 17:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552607744001,"power":13059,"unknown_71":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9064831231084550144}} 
[2026-08-21 17:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":161775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:53:04] local.INFO: GPS data processed {"connection_id":161775,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:53:04] local.INFO: Acknowledgment sent {"connection_id":161775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:53:06] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:53:06] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:53:06] local.INFO: IMEI packet received {"connection_id":161776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":161776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:53:07] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024433f30012d17a4400721d218005000c926..."} 
[2026-08-21 17:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024433f30012d17a4400721d218005000c926..."} 
[2026-08-21 17:53:07] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024433f30012d17a4400721d218005000c926..."} 
[2026-08-21 17:53:07] local.INFO: Packet analysis {"connection_id":161776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:53:07] local.INFO: Extracted packet for processing {"connection_id":161776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":38,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552578816001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314782000,"timestamp_ms":1787314782000,"timestamp_seconds":1787314782,"priority":1,"record_length":96,"hex_timestamp":"000001a024433f30"} 
[2026-08-21 17:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 17:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552578816001,"66":12591,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552578816001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:53:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:53:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552578816001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":161776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:53:07] local.INFO: GPS data processed {"connection_id":161776,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:53:07] local.INFO: Acknowledgment sent {"connection_id":161776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:53:22] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:22] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:22] local.INFO: IMEI packet received {"connection_id":159504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":159504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:53:25] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:25] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:25] local.INFO: IMEI packet received {"connection_id":159504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":159504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:53:27] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:27] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:53:27] local.INFO: IMEI packet received {"connection_id":159504,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":159504,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:53:27] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02444f898012d823fc005da1048000800ad19..."} 
[2026-08-21 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02444f898012d823fc005da1048000800ad19..."} 
[2026-08-21 17:53:27] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02444f898012d823fc005da1048000800ad19..."} 
[2026-08-21 17:53:27] local.INFO: Packet analysis {"connection_id":159504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:53:27] local.INFO: Extracted packet for processing {"connection_id":159504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763510720,"raw_latitude":98177096,"longitude_deg":76.351072,"latitude_deg":9.8177096,"altitude":8,"angle":173,"satellites":25,"speed":24,"hex_longitude":"2d823fc0","hex_latitude":"05da1048","is_valid_coordinates":true} 
[2026-08-21 17:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552610304001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121795810701606912,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062860906249916416,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787314895000,"timestamp_ms":1787314895000,"timestamp_seconds":1787314895,"priority":1,"record_length":96,"hex_timestamp":"000001a02444f898"} 
[2026-08-21 17:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2183282693,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2302148614,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2828599502,"corrected_to":0} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2147867275,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070504,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":153,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3006595072,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:27] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,71,85,24,241,157,16,180,160,166,45,64,86,7,25,10,66,179,150,192,100,107,1,240,29,227,36,218,4,113,205,33,136,239,51,153,2,176,5],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2828599502,"validated":0}]} 
[2026-08-21 17:53:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504590182618759168,"timestamp_seconds":504590182618759.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552610304001,"66":13091,"71":206,"85":15104,"24":24,"16":121795810701606912,"45":-9062860906249916416},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-08-21 17:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552610304001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:53:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 17:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121795810701606912,"km_value":121795810701606.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062860906249916416,"description":"Unknown IO ID 45"} 
[2026-08-21 17:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552610304001,"power":13091,"unknown_71":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9062860906249916416}} 
[2026-08-21 17:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":159504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676992,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:53:27] local.INFO: GPS data processed {"connection_id":159504,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:53:27] local.INFO: Acknowledgment sent {"connection_id":159504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:53:39] local.INFO: TCP Data received {"connection_id":161776,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024439138012d17a4400721d218005000c925..."} 
[2026-08-21 17:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024439138012d17a4400721d218005000c925..."} 
[2026-08-21 17:53:39] local.INFO: Processing buffer {"connection_id":161776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024439138012d17a4400721d218005000c925..."} 
[2026-08-21 17:53:39] local.INFO: Packet analysis {"connection_id":161776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:53:39] local.INFO: Extracted packet for processing {"connection_id":161776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:53:39] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552584192001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787314803000,"timestamp_ms":1787314803000,"timestamp_seconds":1787314803,"priority":1,"record_length":96,"hex_timestamp":"000001a024439138"} 
[2026-08-21 17:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 17:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552584192001,"66":12591,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552584192001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552584192001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":161776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:53:39] local.INFO: GPS data processed {"connection_id":161776,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:53:39] local.INFO: Acknowledgment sent {"connection_id":161776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:53:58] local.INFO: TCP Data received {"connection_id":159504,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02446f080012d82894005d88ad0000400a419..."} 
[2026-08-21 17:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02446f080012d82894005d88ad0000400a419..."} 
[2026-08-21 17:53:58] local.INFO: Processing buffer {"connection_id":159504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02446f080012d82894005d88ad0000400a419..."} 
[2026-08-21 17:53:58] local.INFO: Packet analysis {"connection_id":159504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:53:58] local.INFO: Extracted packet for processing {"connection_id":159504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763529536,"raw_latitude":98077392,"longitude_deg":76.3529536,"latitude_deg":9.8077392,"altitude":4,"angle":164,"satellites":25,"speed":36,"hex_longitude":"2d828940","hex_latitude":"05d88ad0","is_valid_coordinates":true} 
[2026-08-21 17:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552644864001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121800758503931904,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041187333069819904,"note":"Value kept but may cause issues"} 
[2026-08-21 17:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787315024000,"timestamp_ms":1787315024000,"timestamp_seconds":1787315024,"priority":1,"record_length":96,"hex_timestamp":"000001a02446f080"} 
[2026-08-21 17:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 17:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159504,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552644864001,"66":13515,"49":206,"85":15104,"24":36,"16":121800758503931904,"45":-9041187333069819904},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 17:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552644864001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:53:58] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 17:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121800758503931904,"km_value":121800758503931.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041187333069819904,"description":"Unknown IO ID 45"} 
[2026-08-21 17:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552644864001,"power":13515,"unknown_49":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9041187333069819904}} 
[2026-08-21 17:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":159504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676994,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:53:58] local.INFO: GPS data processed {"connection_id":159504,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:53:58] local.INFO: Acknowledgment sent {"connection_id":159504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:54:01] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:54:01] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:54:01] local.INFO: IMEI packet received {"connection_id":159505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":159505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:54:06] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:54:06] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:54:06] local.INFO: IMEI packet received {"connection_id":159505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":159505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:54:07] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02443e340012d17a4400721d218005000c925..."} 
[2026-08-21 17:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02443e340012d17a4400721d218005000c925..."} 
[2026-08-21 17:54:07] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02443e340012d17a4400721d218005000c925..."} 
[2026-08-21 17:54:07] local.INFO: Packet analysis {"connection_id":159505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:54:07] local.INFO: Extracted packet for processing {"connection_id":159505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02443"} 
[2026-08-21 17:54:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552589568001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314824000,"timestamp_ms":1787314824000,"timestamp_seconds":1787314824,"priority":1,"record_length":96,"hex_timestamp":"000001a02443e340"} 
[2026-08-21 17:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 17:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552589568001,"66":12558,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552589568001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:54:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:54:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552589568001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":159505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:54:07] local.INFO: GPS data processed {"connection_id":159505,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:54:07] local.INFO: Acknowledgment sent {"connection_id":159505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:54:22] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:22] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:22] local.INFO: IMEI packet received {"connection_id":161778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":161778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:54:25] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:25] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:25] local.INFO: IMEI packet received {"connection_id":161778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":161778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:54:26] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:26] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:54:26] local.INFO: IMEI packet received {"connection_id":161778,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":161778,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:54:27] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02446f850012d828bc005d884180003009819..."} 
[2026-08-21 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02446f850012d828bc005d884180003009819..."} 
[2026-08-21 17:54:27] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02446f850012d828bc005d884180003009819..."} 
[2026-08-21 17:54:27] local.INFO: Packet analysis {"connection_id":161778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:54:27] local.INFO: Extracted packet for processing {"connection_id":161778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763530176,"raw_latitude":98075672,"longitude_deg":76.3530176,"latitude_deg":9.8075672,"altitude":3,"angle":152,"satellites":25,"speed":37,"hex_longitude":"2d828bc0","hex_latitude":"05d88418","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552646144001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121800848698245120,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040624383117570048,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787315026000,"timestamp_ms":1787315026000,"timestamp_seconds":1787315026,"priority":1,"record_length":96,"hex_timestamp":"000001a02446f850"} 
[2026-08-21 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-08-21 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-21 17:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552646144001,"66":13243,"49":206,"85":15104,"24":37,"16":121800848698245120,"45":-9040624383117570048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 17:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552646144001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:54:27] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 17:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121800848698245120,"km_value":121800848698245.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040624383117570048,"description":"Unknown IO ID 45"} 
[2026-08-21 17:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552646144001,"power":13243,"unknown_49":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9040624383117570048}} 
[2026-08-21 17:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":161778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676996,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:54:27] local.INFO: GPS data processed {"connection_id":161778,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:54:27] local.INFO: Acknowledgment sent {"connection_id":161778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:54:38] local.INFO: TCP Data received {"connection_id":159505,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024443548012d17a4400721d218005000c924..."} 
[2026-08-21 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024443548012d17a4400721d218005000c924..."} 
[2026-08-21 17:54:38] local.INFO: Processing buffer {"connection_id":159505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024443548012d17a4400721d218005000c924..."} 
[2026-08-21 17:54:38] local.INFO: Packet analysis {"connection_id":159505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:54:38] local.INFO: Extracted packet for processing {"connection_id":159505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552594944001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314845000,"timestamp_ms":1787314845000,"timestamp_seconds":1787314845,"priority":1,"record_length":96,"hex_timestamp":"000001a024443548"} 
[2026-08-21 17:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249246251075621400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3524788304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3009675264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,179,160,145,45,64,210,80,37,10,66,63,38,237,1,240,69,227,36,33,4,113,205,73,164,239,49,2,50,7,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-21 17:54:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764828683785207808,"timestamp_seconds":5764828683785208.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552594944001,"66":12591,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552594944001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:54:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:54:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552594944001,"power":12591,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":159505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:54:38] local.INFO: GPS data processed {"connection_id":159505,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:54:38] local.INFO: Acknowledgment sent {"connection_id":159505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:54:59] local.INFO: TCP Data received {"connection_id":161778,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024471f60012d82994005d86470000400a519..."} 
[2026-08-21 17:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024471f60012d82994005d86470000400a519..."} 
[2026-08-21 17:54:59] local.INFO: Processing buffer {"connection_id":161778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024471f60012d82994005d86470000400a519..."} 
[2026-08-21 17:54:59] local.INFO: Packet analysis {"connection_id":161778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:54:59] local.INFO: Extracted packet for processing {"connection_id":161778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":98067568,"longitude_deg":76.3533632,"latitude_deg":9.8067568,"altitude":4,"angle":165,"satellites":25,"speed":32,"hex_longitude":"2d829940","hex_latitude":"05d86470","is_valid_coordinates":true} 
[2026-08-21 17:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552646656001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121801273900007424,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039920695676233728,"note":"Value kept but may cause issues"} 
[2026-08-21 17:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787315036000,"timestamp_ms":1787315036000,"timestamp_seconds":1787315036,"priority":1,"record_length":96,"hex_timestamp":"000001a024471f60"} 
[2026-08-21 17:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 17:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161778,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552646656001,"66":12982,"49":206,"85":15104,"24":32,"16":121801273900007424,"45":-9039920695676233728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 17:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552646656001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:54:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 17:54:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121801273900007424,"km_value":121801273900007.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039920695676233728,"description":"Unknown IO ID 45"} 
[2026-08-21 17:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552646656001,"power":12982,"unknown_49":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9039920695676233728}} 
[2026-08-21 17:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":161778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:54:59] local.INFO: GPS data processed {"connection_id":161778,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:54:59] local.INFO: Acknowledgment sent {"connection_id":161778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:55:02] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:55:02] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:55:02] local.INFO: IMEI packet received {"connection_id":159506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":159506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:55:06] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:55:06] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:55:06] local.INFO: IMEI packet received {"connection_id":159506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":159506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:55:07] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024448750012d17a4400721d218005000c922..."} 
[2026-08-21 17:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024448750012d17a4400721d218005000c922..."} 
[2026-08-21 17:55:07] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024448750012d17a4400721d218005000c922..."} 
[2026-08-21 17:55:07] local.INFO: Packet analysis {"connection_id":159506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:55:07] local.INFO: Extracted packet for processing {"connection_id":159506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552600320001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314866000,"timestamp_ms":1787314866000,"timestamp_seconds":1787314866,"priority":1,"record_length":96,"hex_timestamp":"000001a024448750"} 
[2026-08-21 17:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 17:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552600320001,"66":12558,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552600320001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:55:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552600320001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":159506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":676999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:55:07] local.INFO: GPS data processed {"connection_id":159506,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:55:07] local.INFO: Acknowledgment sent {"connection_id":159506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:55:12] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:55:12] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:55:12] local.INFO: IMEI packet received {"connection_id":160402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":160402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:55:16] local.INFO: TCP Data received {"connection_id":160402,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02446b5e8012dbd6d00054493a0003a014b2d..."} 
[2026-08-21 17:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02446b5e8012dbd6d00054493a0003a014b2d..."} 
[2026-08-21 17:55:16] local.INFO: Processing buffer {"connection_id":160402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02446b5e8012dbd6d00054493a0003a014b2d..."} 
[2026-08-21 17:55:16] local.INFO: Packet analysis {"connection_id":160402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:55:16] local.INFO: Extracted packet for processing {"connection_id":160402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:55:16] local.INFO: GPS Element Parsed {"raw_longitude":767388928,"raw_latitude":88380320,"longitude_deg":76.7388928,"latitude_deg":8.838032,"altitude":58,"angle":331,"satellites":45,"speed":59,"hex_longitude":"2dbd6d00","hex_latitude":"054493a0","is_valid_coordinates":true} 
[2026-08-21 17:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552640768001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388457105905942528,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4792744774573191168,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787315009000,"timestamp_ms":1787315009000,"timestamp_seconds":1787315009,"priority":1,"record_length":96,"hex_timestamp":"000001a02446b5e8"} 
[2026-08-21 17:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:55:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 17:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552640768001,"66":27745,"191":206,"84":5376,"24":59,"16":388457105905942528,"45":-4792744774573191168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,84,24,16,45]} 
[2026-08-21 17:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552640768001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:55:16] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-08-21 17:55:16] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388457105905942528,"km_value":388457105905942.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4792744774573191168,"description":"Unknown IO ID 45"} 
[2026-08-21 17:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552640768001,"power":27745,"unknown_191":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4792744774573191168}} 
[2026-08-21 17:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":160402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:55:16] local.INFO: GPS data processed {"connection_id":160402,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:55:16] local.INFO: Acknowledgment sent {"connection_id":160402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:55:26] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:55:26] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:55:26] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:55:30] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:55:30] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:55:30] local.INFO: IMEI packet received {"connection_id":160403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":160403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:55:31] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244761c8012d829e8005d84298000100ad19..."} 
[2026-08-21 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244761c8012d829e8005d84298000100ad19..."} 
[2026-08-21 17:55:31] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244761c8012d829e8005d84298000100ad19..."} 
[2026-08-21 17:55:31] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:55:31] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":98058904,"longitude_deg":76.3534976,"latitude_deg":9.8058904,"altitude":1,"angle":173,"satellites":25,"speed":0,"hex_longitude":"2d829e80","hex_latitude":"05d84298","is_valid_coordinates":true} 
[2026-08-21 17:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552649216001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121801703396737024,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036120783492714496,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787315053000,"timestamp_ms":1787315053000,"timestamp_seconds":1787315053,"priority":1,"record_length":96,"hex_timestamp":"000001a0244761c8"} 
[2026-08-21 17:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:55: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-08-21 17: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-08-21 17:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552649216001,"66":13102,"47":206,"85":15104,"24":0,"16":121801703396737024,"45":-9036120783492714496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-21 17:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552649216001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:55:31] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-21 17:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121801703396737024,"km_value":121801703396737.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036120783492714496,"description":"Unknown IO ID 45"} 
[2026-08-21 17:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552649216001,"power":13102,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9036120783492714496}} 
[2026-08-21 17:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:55:31] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:55:31] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:55:38] local.INFO: TCP Data received {"connection_id":159506,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02444d958012d17a4400721d218005000c925..."} 
[2026-08-21 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02444d958012d17a4400721d218005000c925..."} 
[2026-08-21 17:55:38] local.INFO: Processing buffer {"connection_id":159506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02444d958012d17a4400721d218005000c925..."} 
[2026-08-21 17:55:38] local.INFO: Packet analysis {"connection_id":159506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:55:38] local.INFO: Extracted packet for processing {"connection_id":159506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02444"} 
[2026-08-21 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":37,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552605696001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314887000,"timestamp_ms":1787314887000,"timestamp_seconds":1787314887,"priority":1,"record_length":96,"hex_timestamp":"000001a02444d958"} 
[2026-08-21 17:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249246251075621400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3524788304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3009675264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 17:55:38] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,107,83,24,241,157,16,179,160,53,45,64,210,80,36,10,66,227,37,145,1,240,47,33,4,113,205,237,164,239,49,2,50,7,106,69,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-21 17:55:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764828670900305920,"timestamp_seconds":5764828670900306.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552605696001,"66":12558,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552605696001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:55:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552605696001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":159506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:55:38] local.INFO: GPS data processed {"connection_id":159506,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:55:38] local.INFO: Acknowledgment sent {"connection_id":159506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:01] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:56:01] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:56:01] local.INFO: IMEI packet received {"connection_id":159219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":159219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:56:01] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:01] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:01] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:56:02] local.INFO: TCP Data received {"connection_id":160403,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244788d8012d829e4005d841a0000300b819..."} 
[2026-08-21 17:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244788d8012d829e4005d841a0000300b819..."} 
[2026-08-21 17:56:02] local.INFO: Processing buffer {"connection_id":160403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244788d8012d829e4005d841a0000300b819..."} 
[2026-08-21 17:56:02] local.INFO: Packet analysis {"connection_id":160403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:02] local.INFO: Extracted packet for processing {"connection_id":160403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763534912,"raw_latitude":98058656,"longitude_deg":76.3534912,"latitude_deg":9.8058656,"altitude":3,"angle":184,"satellites":25,"speed":4,"hex_longitude":"2d829e40","hex_latitude":"05d841a0","is_valid_coordinates":true} 
[2026-08-21 17:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552653568001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121801716281638912,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039867201536,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787315063000,"timestamp_ms":1787315063000,"timestamp_seconds":1787315063,"priority":1,"record_length":96,"hex_timestamp":"000001a0244788d8"} 
[2026-08-21 17:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160403,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552653568001,"66":12906,"47":206,"85":15104,"24":4,"16":121801716281638912,"45":-9034643039867201536},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-21 17:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552653568001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:02] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-21 17:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121801716281638912,"km_value":121801716281638.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039867201536,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552653568001,"power":12906,"unknown_47":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9034643039867201536}} 
[2026-08-21 17:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":160403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:02] local.INFO: GPS data processed {"connection_id":160403,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:02] local.INFO: Acknowledgment sent {"connection_id":160403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:02] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:02] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:02] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:56:06] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:56:06] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:56:06] local.INFO: IMEI packet received {"connection_id":159219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":159219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:56:07] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024452b60012d17a4400721d218005000c924..."} 
[2026-08-21 17:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024452b60012d17a4400721d218005000c924..."} 
[2026-08-21 17:56:07] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024452b60012d17a4400721d218005000c924..."} 
[2026-08-21 17:56:07] local.INFO: Packet analysis {"connection_id":159219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02445"} 
[2026-08-21 17:56:07] local.INFO: Extracted packet for processing {"connection_id":159219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02445"} 
[2026-08-21 17:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552611072001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314908000,"timestamp_ms":1787314908000,"timestamp_seconds":1787314908,"priority":1,"record_length":96,"hex_timestamp":"000001a024452b60"} 
[2026-08-21 17:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249246251075621400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3524788304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3009675264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,107,83,24,241,157,16,179,160,135,45,64,210,80,34,10,66,53,36,227,1,240,14,33,4,113,205,63,164,38,239,49,2,50,7,106,69,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-21 17:56:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764828683785207808,"timestamp_seconds":5764828683785208.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552611072001,"66":12558,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552611072001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552611072001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":159219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:07] local.INFO: GPS data processed {"connection_id":159219,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:07] local.INFO: Acknowledgment sent {"connection_id":159219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:07] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:07] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:07] local.INFO: IMEI packet received {"connection_id":160404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":160404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:56:08] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02447ee68012dbcad4005463250003901552b..."} 
[2026-08-21 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02447ee68012dbcad4005463250003901552b..."} 
[2026-08-21 17:56:08] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02447ee68012dbcad4005463250003901552b..."} 
[2026-08-21 17:56:08] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:08] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":767339840,"raw_latitude":88486480,"longitude_deg":76.733984,"latitude_deg":8.848648,"altitude":57,"angle":341,"satellites":43,"speed":58,"hex_longitude":"2dbcad40","hex_latitude":"05463250","is_valid_coordinates":true} 
[2026-08-21 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552661248001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388462874047021056,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4848899032399966208,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787315089000,"timestamp_ms":1787315089000,"timestamp_seconds":1787315089,"priority":1,"record_length":96,"hex_timestamp":"000001a02447ee68"} 
[2026-08-21 17:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552661248001,"66":27832,"59":206,"84":5376,"24":58,"16":388462874047021056,"45":-4848899032399966208},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-08-21 17:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552661248001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:08] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-21 17:56:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388462874047021056,"km_value":388462874047021.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4848899032399966208,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552661248001,"power":27832,"unknown_59":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4848899032399966208}} 
[2026-08-21 17:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:08] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:08] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:22] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:22] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:22] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:56:22] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:22] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:22] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:56:26] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:26] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:56:26] local.INFO: IMEI packet received {"connection_id":161779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":161779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:56:27] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02447cf28012d829f8005d81e98000500b319..."} 
[2026-08-21 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02447cf28012d829f8005d81e98000500b319..."} 
[2026-08-21 17:56:27] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02447cf28012d829f8005d81e98000500b319..."} 
[2026-08-21 17:56:27] local.INFO: Packet analysis {"connection_id":161779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:27] local.INFO: Extracted packet for processing {"connection_id":161779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763535232,"raw_latitude":98049688,"longitude_deg":76.3535232,"latitude_deg":9.8049688,"altitude":5,"angle":179,"satellites":25,"speed":28,"hex_longitude":"2d829f80","hex_latitude":"05d81e98","is_valid_coordinates":true} 
[2026-08-21 17:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552656128001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121802154368303104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034713408611442688,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787315081000,"timestamp_ms":1787315081000,"timestamp_seconds":1787315081,"priority":1,"record_length":96,"hex_timestamp":"000001a02447cf28"} 
[2026-08-21 17:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:56:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552656128001,"66":13504,"47":206,"85":15104,"24":28,"16":121802154368303104,"45":-9034713408611442688},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-21 17:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552656128001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:27] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-21 17:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121802154368303104,"km_value":121802154368303.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034713408611442688,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552656128001,"power":13504,"unknown_47":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9034713408611442688}} 
[2026-08-21 17:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":161779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677006,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:27] local.INFO: GPS data processed {"connection_id":161779,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:27] local.INFO: Acknowledgment sent {"connection_id":161779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:38] local.INFO: TCP Data received {"connection_id":159219,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024457d68012d17a4400721d218005000c924..."} 
[2026-08-21 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024457d68012d17a4400721d218005000c924..."} 
[2026-08-21 17:56:38] local.INFO: Processing buffer {"connection_id":159219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024457d68012d17a4400721d218005000c924..."} 
[2026-08-21 17:56:38] local.INFO: Packet analysis {"connection_id":159219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02445"} 
[2026-08-21 17:56:38] local.INFO: Extracted packet for processing {"connection_id":159219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02445"} 
[2026-08-21 17:56:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":36,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552616448001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314929000,"timestamp_ms":1787314929000,"timestamp_seconds":1787314929,"priority":1,"record_length":96,"hex_timestamp":"000001a024457d68"} 
[2026-08-21 17:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:56:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249246251075621400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3524788304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3009675264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":69,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,179,160,217,45,64,210,80,37,10,66,135,34,53,1,240,47,227,36,33,4,113,205,145,164,239,49,2,50,7,106,69,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-21 17:56:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764828679490240512,"timestamp_seconds":5764828679490241.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:56:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552616448001,"66":12548,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552616448001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:56:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552616448001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":159219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:38] local.INFO: GPS data processed {"connection_id":159219,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:38] local.INFO: Acknowledgment sent {"connection_id":159219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:39] local.INFO: TCP Data received {"connection_id":160404,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244801f0012dbca18005464ca8003a01492c..."} 
[2026-08-21 17:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244801f0012dbca18005464ca8003a01492c..."} 
[2026-08-21 17:56:39] local.INFO: Processing buffer {"connection_id":160404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244801f0012dbca18005464ca8003a01492c..."} 
[2026-08-21 17:56:39] local.INFO: Packet analysis {"connection_id":160404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02448"} 
[2026-08-21 17:56:39] local.INFO: Extracted packet for processing {"connection_id":160404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02448"} 
[2026-08-21 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":767336832,"raw_latitude":88493224,"longitude_deg":76.7336832,"latitude_deg":8.8493224,"altitude":58,"angle":329,"satellites":44,"speed":58,"hex_longitude":"2dbca180","hex_latitude":"05464ca8","is_valid_coordinates":true} 
[2026-08-21 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552662784001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388463230529306624,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4851150832211439616,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787315094000,"timestamp_ms":1787315094000,"timestamp_seconds":1787315094,"priority":1,"record_length":96,"hex_timestamp":"000001a0244801f0"} 
[2026-08-21 17:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552662784001,"66":27821,"59":206,"84":5376,"24":58,"16":388463230529306624,"45":-4851150832211439616},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,84,24,16,45]} 
[2026-08-21 17:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552662784001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:39] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-08-21 17:56:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388463230529306624,"km_value":388463230529306.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4851150832211439616,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552662784001,"power":27821,"unknown_59":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4851150832211439616}} 
[2026-08-21 17:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":160404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:39] local.INFO: GPS data processed {"connection_id":160404,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:39] local.INFO: Acknowledgment sent {"connection_id":160404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:57] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:57] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:57] local.INFO: IMEI packet received {"connection_id":159507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":159507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:56:58] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:58] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:56:58] local.INFO: IMEI packet received {"connection_id":159507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":159507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:56:58] local.INFO: TCP Data received {"connection_id":161779,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02447fe08012d82a08005d7fa80000400b219..."} 
[2026-08-21 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02447fe08012d82a08005d7fa80000400b219..."} 
[2026-08-21 17:56:58] local.INFO: Processing buffer {"connection_id":161779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02447fe08012d82a08005d7fa80000400b219..."} 
[2026-08-21 17:56:58] local.INFO: Packet analysis {"connection_id":161779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:58] local.INFO: Extracted packet for processing {"connection_id":161779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02447"} 
[2026-08-21 17:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763535488,"raw_latitude":98040448,"longitude_deg":76.3535488,"latitude_deg":9.8040448,"altitude":4,"angle":178,"satellites":25,"speed":30,"hex_longitude":"2d82a080","hex_latitude":"05d7fa80","is_valid_coordinates":true} 
[2026-08-21 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-08-21 17:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552660736001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121802601044901888,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034361564892850176,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787315093000,"timestamp_ms":1787315093000,"timestamp_seconds":1787315093,"priority":1,"record_length":96,"hex_timestamp":"000001a02447fe08"} 
[2026-08-21 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-08-21 17:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 17:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552660736001,"66":13515,"155":206,"85":15104,"24":30,"16":121802601044901888,"45":-9034361564892850176},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 17:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552660736001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 17:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121802601044901888,"km_value":121802601044901.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034361564892850176,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552660736001,"power":13515,"unknown_155":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9034361564892850176}} 
[2026-08-21 17:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":161779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:58] local.INFO: GPS data processed {"connection_id":161779,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:58] local.INFO: Acknowledgment sent {"connection_id":161779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:56:59] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02448ffd8012dbb99c005475a38002c01332c..."} 
[2026-08-21 17:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02448ffd8012dbb99c005475a38002c01332c..."} 
[2026-08-21 17:56:59] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02448ffd8012dbb99c005475a38002c01332c..."} 
[2026-08-21 17:56:59] local.INFO: Packet analysis {"connection_id":159507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02448"} 
[2026-08-21 17:56:59] local.INFO: Extracted packet for processing {"connection_id":159507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02448"} 
[2026-08-21 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":767269312,"raw_latitude":88562232,"longitude_deg":76.7269312,"latitude_deg":8.8562232,"altitude":44,"angle":307,"satellites":44,"speed":59,"hex_longitude":"2dbb99c0","hex_latitude":"05475a38","is_valid_coordinates":true} 
[2026-08-21 17:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552679168001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388467916338626560,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4920956626417711104,"note":"Value kept but may cause issues"} 
[2026-08-21 17:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787315159000,"timestamp_ms":1787315159000,"timestamp_seconds":1787315159,"priority":1,"record_length":96,"hex_timestamp":"000001a02448ffd8"} 
[2026-08-21 17:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552679168001,"66":27821,"112":206,"84":5376,"24":59,"16":388467916338626560,"45":-4920956626417711104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-21 17:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552679168001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388467916338626560,"km_value":388467916338626.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4920956626417711104,"description":"Unknown IO ID 45"} 
[2026-08-21 17:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552679168001,"power":27821,"unknown_112":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4920956626417711104}} 
[2026-08-21 17:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":159507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:56:59] local.INFO: GPS data processed {"connection_id":159507,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:56:59] local.INFO: Acknowledgment sent {"connection_id":159507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:57:01] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:57:01] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:57:01] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:57:02] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024491b30012dbb7940054772e8002b01332c..."} 
[2026-08-21 17:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024491b30012dbb7940054772e8002b01332c..."} 
[2026-08-21 17:57:02] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024491b30012dbb7940054772e8002b01332c..."} 
[2026-08-21 17:57:02] local.INFO: Packet analysis {"connection_id":159507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02449"} 
[2026-08-21 17:57:02] local.INFO: Extracted packet for processing {"connection_id":159507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02449"} 
[2026-08-21 17:57:02] local.INFO: GPS Element Parsed {"raw_longitude":767260992,"raw_latitude":88568552,"longitude_deg":76.7260992,"latitude_deg":8.8568552,"altitude":43,"angle":307,"satellites":44,"speed":59,"hex_longitude":"2dbb7940","hex_latitude":"054772e8","is_valid_coordinates":true} 
[2026-08-21 17:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552680704001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388468418849800192,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4928697188275832832,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787315166000,"timestamp_ms":1787315166000,"timestamp_seconds":1787315166,"priority":1,"record_length":96,"hex_timestamp":"000001a024491b30"} 
[2026-08-21 17:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 17:57: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-08-21 17:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552680704001,"66":27800,"112":206,"84":5376,"24":59,"16":388468418849800192,"45":-4928697188275832832},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-21 17:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552680704001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:57:02] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 17:57:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388468418849800192,"km_value":388468418849800.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4928697188275832832,"description":"Unknown IO ID 45"} 
[2026-08-21 17:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552680704001,"power":27800,"unknown_112":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4928697188275832832}} 
[2026-08-21 17:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":159507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:57:02] local.INFO: GPS data processed {"connection_id":159507,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:57:02] local.INFO: Acknowledgment sent {"connection_id":159507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:57:06] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:57:06] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:57:06] local.INFO: IMEI packet received {"connection_id":161780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":161780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:57:07] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02445cf70012d17a4400721d218005000c922..."} 
[2026-08-21 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02445cf70012d17a4400721d218005000c922..."} 
[2026-08-21 17:57:07] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02445cf70012d17a4400721d218005000c922..."} 
[2026-08-21 17:57:07] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02445"} 
[2026-08-21 17:57:07] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02445"} 
[2026-08-21 17:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":34,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552621824001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787314950000,"timestamp_ms":1787314950000,"timestamp_seconds":1787314950,"priority":1,"record_length":96,"hex_timestamp":"000001a02445cf70"} 
[2026-08-21 17:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3524788304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3009675264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:07] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,179,160,43,45,64,210,80,36,10,66,217,37,135,1,240,14,227,33,4,113,205,164,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-21 17:57:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764828679490240512,"timestamp_seconds":5764828679490241.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552621824001,"66":12548,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552621824001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:57:07] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552621824001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:57:07] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:57:07] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:57:22] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:57:22] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:57:22] local.INFO: IMEI packet received {"connection_id":159508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":159508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:57:27] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:57:27] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:57:27] local.INFO: IMEI packet received {"connection_id":159508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":159508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:57:27] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024482130012d82a10005d7ede8000500c319..."} 
[2026-08-21 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024482130012d82a10005d7ede8000500c319..."} 
[2026-08-21 17:57:27] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024482130012d82a10005d7ede8000500c319..."} 
[2026-08-21 17:57:27] local.INFO: Packet analysis {"connection_id":159508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02448"} 
[2026-08-21 17:57:27] local.INFO: Extracted packet for processing {"connection_id":159508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02448"} 
[2026-08-21 17:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763535616,"raw_latitude":98037224,"longitude_deg":76.3535616,"latitude_deg":9.8037224,"altitude":5,"angle":195,"satellites":25,"speed":6,"hex_longitude":"2d82a100","hex_latitude":"05d7ede8","is_valid_coordinates":true} 
[2026-08-21 17:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552663808001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121802759958691840,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034080089918504960,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787315102000,"timestamp_ms":1787315102000,"timestamp_seconds":1787315102,"priority":1,"record_length":96,"hex_timestamp":"000001a024482130"} 
[2026-08-21 17:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-21 17:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552663808001,"66":13243,"155":206,"85":15104,"24":6,"16":121802759958691840,"45":-9034080089918504960},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 17:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552663808001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:57:27] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 17:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121802759958691840,"km_value":121802759958691.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034080089918504960,"description":"Unknown IO ID 45"} 
[2026-08-21 17:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552663808001,"power":13243,"unknown_155":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9034080089918504960}} 
[2026-08-21 17:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":159508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:57:27] local.INFO: GPS data processed {"connection_id":159508,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:57:27] local.INFO: Acknowledgment sent {"connection_id":159508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:57:34] local.INFO: TCP Data received {"connection_id":159507,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024493688012dbb590005478b48002b01312c..."} 
[2026-08-21 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024493688012dbb590005478b48002b01312c..."} 
[2026-08-21 17:57:34] local.INFO: Processing buffer {"connection_id":159507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024493688012dbb590005478b48002b01312c..."} 
[2026-08-21 17:57:34] local.INFO: Packet analysis {"connection_id":159507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02449"} 
[2026-08-21 17:57:34] local.INFO: Extracted packet for processing {"connection_id":159507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02449"} 
[2026-08-21 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":767252736,"raw_latitude":88574792,"longitude_deg":76.7252736,"latitude_deg":8.8574792,"altitude":43,"angle":305,"satellites":44,"speed":58,"hex_longitude":"2dbb5900","hex_latitude":"05478b48","is_valid_coordinates":true} 
[2026-08-21 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552682496001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388468917066006528,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4937845125017311232,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787315173000,"timestamp_ms":1787315173000,"timestamp_seconds":1787315173,"priority":1,"record_length":96,"hex_timestamp":"000001a024493688"} 
[2026-08-21 17:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:57:34] 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-08-21 17:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552682496001,"66":27800,"112":206,"84":5376,"24":58,"16":388468917066006528,"45":-4937845125017311232},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-21 17:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552682496001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:57:34] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 17:57:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388468917066006528,"km_value":388468917066006.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4937845125017311232,"description":"Unknown IO ID 45"} 
[2026-08-21 17:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552682496001,"power":27800,"unknown_112":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-4937845125017311232}} 
[2026-08-21 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":159507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:57:34] local.INFO: GPS data processed {"connection_id":159507,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:57:34] local.INFO: Acknowledgment sent {"connection_id":159507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:57:38] local.INFO: TCP Data received {"connection_id":161780,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024462178012d17a4400721d218005000c928..."} 
[2026-08-21 17:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161780,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024462178012d17a4400721d218005000c928..."} 
[2026-08-21 17:57:38] local.INFO: Processing buffer {"connection_id":161780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024462178012d17a4400721d218005000c928..."} 
[2026-08-21 17:57:38] local.INFO: Packet analysis {"connection_id":161780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:57:38] local.INFO: Extracted packet for processing {"connection_id":161780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02446"} 
[2026-08-21 17:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119656984,"longitude_deg":75.6524096,"latitude_deg":11.9656984,"altitude":80,"angle":201,"satellites":40,"speed":0,"hex_longitude":"2d17a440","hex_latitude":"0721d218","is_valid_coordinates":true} 
[2026-08-21 17:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552627200001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14270990913634304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703556958429255680,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787314971000,"timestamp_ms":1787314971000,"timestamp_seconds":1787314971,"priority":1,"record_length":96,"hex_timestamp":"000001a024462178"} 
[2026-08-21 17:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3524788304,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3009675264,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:38] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,179,160,125,45,64,210,80,36,10,66,43,217,1,240,14,227,33,4,113,205,53,164,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-08-21 17:57:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764828670900305920,"timestamp_seconds":5764828670900306.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 17:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 17:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 17:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 17:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552627200001,"66":12548,"107":206,"83":41984,"24":0,"16":14270990913634304,"45":1703556958429255680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-08-21 17:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 17:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 17:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552627200001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:57:38] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-08-21 17:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 17:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14270990913634304,"km_value":14270990913634.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703556958429255680,"description":"Unknown IO ID 45"} 
[2026-08-21 17:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552627200001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1703556958429255680}} 
[2026-08-21 17:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":161780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:57:38] local.INFO: GPS data processed {"connection_id":161780,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:57:38] local.INFO: Acknowledgment sent {"connection_id":161780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:57:57] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:57:57] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:57:57] local.INFO: IMEI packet received {"connection_id":159509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":159509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:57:57] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:57:57] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:57:57] local.INFO: IMEI packet received {"connection_id":159509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":159509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:57:58] local.INFO: TCP Data received {"connection_id":159508,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244ab940012d82d00005d686f0000300871b..."} 
[2026-08-21 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244ab940012d82d00005d686f0000300871b..."} 
[2026-08-21 17:57:58] local.INFO: Processing buffer {"connection_id":159508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244ab940012d82d00005d686f0000300871b..."} 
[2026-08-21 17:57:58] local.INFO: Packet analysis {"connection_id":159508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:57:58] local.INFO: Extracted packet for processing {"connection_id":159508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763547648,"raw_latitude":97945328,"longitude_deg":76.3547648,"latitude_deg":9.7945328,"altitude":3,"angle":135,"satellites":27,"speed":10,"hex_longitude":"2d82d000","hex_latitude":"05d686f0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552708352001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121807372753567744,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9022609984641624064,"note":"Value kept but may cause issues"} 
[2026-08-21 17:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787315272000,"timestamp_ms":1787315272000,"timestamp_seconds":1787315272,"priority":1,"record_length":96,"hex_timestamp":"000001a0244ab940"} 
[2026-08-21 17:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-21 17:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17: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-08-21 17:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552708352001,"66":12885,"156":206,"85":15104,"24":10,"16":121807372753567744,"45":-9022609984641624064},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 17:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552708352001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:57:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 17:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121807372753567744,"km_value":121807372753567.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9022609984641624064,"description":"Unknown IO ID 45"} 
[2026-08-21 17:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552708352001,"power":12885,"unknown_156":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9022609984641624064}} 
[2026-08-21 17:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":159508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:57:58] local.INFO: GPS data processed {"connection_id":159508,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:57:58] local.INFO: Acknowledgment sent {"connection_id":159508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:58:02] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:58:02] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:58:02] local.INFO: IMEI packet received {"connection_id":159509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":159509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:58:03] local.INFO: TCP Data received {"connection_id":159220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:03] local.INFO: Processing buffer {"connection_id":159220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:03] local.INFO: IMEI packet received {"connection_id":159220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 17:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":159220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:58:03] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244951e0012dbb38000547a2c0002b01312c..."} 
[2026-08-21 17:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244951e0012dbb38000547a2c0002b01312c..."} 
[2026-08-21 17:58:03] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244951e0012dbb38000547a2c0002b01312c..."} 
[2026-08-21 17:58:03] local.INFO: Packet analysis {"connection_id":159509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02449"} 
[2026-08-21 17:58:03] local.INFO: Extracted packet for processing {"connection_id":159509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02449"} 
[2026-08-21 17:58:03] local.INFO: GPS Element Parsed {"raw_longitude":767244288,"raw_latitude":88580800,"longitude_deg":76.7244288,"latitude_deg":8.85808,"altitude":43,"angle":305,"satellites":44,"speed":59,"hex_longitude":"2dbb3800","hex_latitude":"0547a2c0","is_valid_coordinates":true} 
[2026-08-21 17: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-08-21 17:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552684288001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388469415282212864,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-4946922693014632448,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787315180000,"timestamp_ms":1787315180000,"timestamp_seconds":1787315180,"priority":1,"record_length":96,"hex_timestamp":"000001a0244951e0"} 
[2026-08-21 17:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:58:03] 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-08-21 17: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-08-21 17:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552684288001,"66":27843,"112":206,"84":5376,"24":59,"16":388469415282212864,"45":-4946922693014632448},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-21 17:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552684288001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:58:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 17:58:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388469415282212864,"km_value":388469415282212.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-4946922693014632448,"description":"Unknown IO ID 45"} 
[2026-08-21 17:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552684288001,"power":27843,"unknown_112":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-4946922693014632448}} 
[2026-08-21 17:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":159509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:58:03] local.INFO: GPS data processed {"connection_id":159509,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:58:03] local.INFO: Acknowledgment sent {"connection_id":159509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:58:05] local.INFO: TCP Data received {"connection_id":159220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:05] local.INFO: Processing buffer {"connection_id":159220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:05] local.INFO: IMEI packet received {"connection_id":159220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":159220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:58:06] local.INFO: TCP Data received {"connection_id":159220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:06] local.INFO: Processing buffer {"connection_id":159220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:06] local.INFO: IMEI packet received {"connection_id":159220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":159220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:58:06] local.INFO: TCP Data received {"connection_id":159220,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159220,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:06] local.INFO: Processing buffer {"connection_id":159220,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 17:58:06] local.INFO: IMEI packet received {"connection_id":159220,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 17:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":159220,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:58:22] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:22] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:22] local.INFO: IMEI packet received {"connection_id":159221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":159221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:58:23] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:23] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:23] local.INFO: IMEI packet received {"connection_id":159221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":159221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:58:27] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:27] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:58:27] local.INFO: IMEI packet received {"connection_id":159221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":159221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:58:28] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244ac110012d82d14005d685900004009d1b..."} 
[2026-08-21 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244ac110012d82d14005d685900004009d1b..."} 
[2026-08-21 17:58:28] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244ac110012d82d14005d685900004009d1b..."} 
[2026-08-21 17:58:28] local.INFO: Packet analysis {"connection_id":159221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:58:28] local.INFO: Extracted packet for processing {"connection_id":159221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763547968,"raw_latitude":97944976,"longitude_deg":76.3547968,"latitude_deg":9.7944976,"altitude":4,"angle":157,"satellites":27,"speed":6,"hex_longitude":"2d82d140","hex_latitude":"05d68590","is_valid_coordinates":true} 
[2026-08-21 17:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552709632001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121807394228404224,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020710028549099520,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787315274000,"timestamp_ms":1787315274000,"timestamp_seconds":1787315274,"priority":1,"record_length":96,"hex_timestamp":"000001a0244ac110"} 
[2026-08-21 17:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-21 17:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552709632001,"66":13222,"156":206,"85":15104,"24":6,"16":121807394228404224,"45":-9020710028549099520},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 17:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552709632001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121807394228404224,"km_value":121807394228404.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020710028549099520,"description":"Unknown IO ID 45"} 
[2026-08-21 17:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552709632001,"power":13222,"unknown_156":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9020710028549099520}} 
[2026-08-21 17:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":159221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677018,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:58:28] local.INFO: GPS data processed {"connection_id":159221,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:58:28] local.INFO: Acknowledgment sent {"connection_id":159221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:58:38] local.INFO: TCP Data received {"connection_id":159509,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244a9618012db98c80054880d0002101132c..."} 
[2026-08-21 17:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244a9618012db98c80054880d0002101132c..."} 
[2026-08-21 17:58:38] local.INFO: Processing buffer {"connection_id":159509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244a9618012db98c80054880d0002101132c..."} 
[2026-08-21 17:58:38] local.INFO: Packet analysis {"connection_id":159509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:58:38] local.INFO: Extracted packet for processing {"connection_id":159509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:58:38] local.INFO: GPS Element Parsed {"raw_longitude":767134848,"raw_latitude":88637648,"longitude_deg":76.7134848,"latitude_deg":8.8637648,"altitude":33,"angle":275,"satellites":44,"speed":63,"hex_longitude":"2db98c80","hex_latitude":"054880d0","is_valid_coordinates":true} 
[2026-08-21 17:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552705792001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388475393876688896,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5066127345635842048,"note":"Value kept but may cause issues"} 
[2026-08-21 17:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315263000,"timestamp_ms":1787315263000,"timestamp_seconds":1787315263,"priority":1,"record_length":96,"hex_timestamp":"000001a0244a9618"} 
[2026-08-21 17:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 17:58:38] 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-08-21 17:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552705792001,"66":27800,"113":206,"84":5376,"24":63,"16":388475393876688896,"45":-5066127345635842048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 17:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552705792001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:58:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:58:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388475393876688896,"km_value":388475393876688.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5066127345635842048,"description":"Unknown IO ID 45"} 
[2026-08-21 17:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552705792001,"power":27800,"unknown_113":206,"unknown_84":5376,"ignition":63,"odometer":null,"unknown_45":-5066127345635842048}} 
[2026-08-21 17:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":159509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:58:38] local.INFO: GPS data processed {"connection_id":159509,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:58:38] local.INFO: Acknowledgment sent {"connection_id":159509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:58:59] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:58:59] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:58:59] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:59:00] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:00] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:00] local.INFO: IMEI packet received {"connection_id":160405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":160405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:59:03] local.INFO: TCP Data received {"connection_id":159221,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244ac8e0012d82d18005d68470000400b71b..."} 
[2026-08-21 17:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244ac8e0012d82d18005d68470000400b71b..."} 
[2026-08-21 17:59:03] local.INFO: Processing buffer {"connection_id":159221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244ac8e0012d82d18005d68470000400b71b..."} 
[2026-08-21 17:59:03] local.INFO: Packet analysis {"connection_id":159221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:03] local.INFO: Extracted packet for processing {"connection_id":159221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763548032,"raw_latitude":97944688,"longitude_deg":76.3548032,"latitude_deg":9.7944688,"altitude":4,"angle":183,"satellites":27,"speed":5,"hex_longitude":"2d82d180","hex_latitude":"05d68470","is_valid_coordinates":true} 
[2026-08-21 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552710144001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121807411408273408,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020358184828301312,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787315276000,"timestamp_ms":1787315276000,"timestamp_seconds":1787315276,"priority":1,"record_length":96,"hex_timestamp":"000001a0244ac8e0"} 
[2026-08-21 17:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 17:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552710144001,"66":13059,"156":206,"85":15104,"24":5,"16":121807411408273408,"45":-9020358184828301312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 17:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552710144001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:59:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 17:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121807411408273408,"km_value":121807411408273.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020358184828301312,"description":"Unknown IO ID 45"} 
[2026-08-21 17:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552710144001,"power":13059,"unknown_156":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9020358184828301312}} 
[2026-08-21 17:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":159221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:59:03] local.INFO: GPS data processed {"connection_id":159221,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:59:03] local.INFO: Acknowledgment sent {"connection_id":159221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:59:08] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244aad88012db966c005488200001e010c2c..."} 
[2026-08-21 17:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244aad88012db966c005488200001e010c2c..."} 
[2026-08-21 17:59:08] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244aad88012db966c005488200001e010c2c..."} 
[2026-08-21 17:59:08] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:08] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":767125184,"raw_latitude":88637952,"longitude_deg":76.7125184,"latitude_deg":8.8637952,"altitude":30,"angle":268,"satellites":44,"speed":63,"hex_longitude":"2db966c0","hex_latitude":"05488200","is_valid_coordinates":true} 
[2026-08-21 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552707328001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388475857733156864,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5076541919773798400,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787315269000,"timestamp_ms":1787315269000,"timestamp_seconds":1787315269,"priority":1,"record_length":96,"hex_timestamp":"000001a0244aad88"} 
[2026-08-21 17:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 17:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552707328001,"66":27745,"113":206,"84":5376,"24":63,"16":388475857733156864,"45":-5076541919773798400},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 17:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552707328001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:59:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:59:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388475857733156864,"km_value":388475857733156.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5076541919773798400,"description":"Unknown IO ID 45"} 
[2026-08-21 17:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552707328001,"power":27745,"unknown_113":206,"unknown_84":5376,"ignition":63,"odometer":null,"unknown_45":-5076541919773798400}} 
[2026-08-21 17:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:59:08] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:59:08] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:59:09] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244ac4f8012db9420005487ed0001e01052b..."} 
[2026-08-21 17:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244ac4f8012db9420005487ed0001e01052b..."} 
[2026-08-21 17:59:09] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244ac4f8012db9420005487ed0001e01052b..."} 
[2026-08-21 17:59:09] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:09] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":767115776,"raw_latitude":88637136,"longitude_deg":76.7115776,"latitude_deg":8.8637136,"altitude":30,"angle":261,"satellites":43,"speed":58,"hex_longitude":"2db94200","hex_latitude":"05487ed0","is_valid_coordinates":true} 
[2026-08-21 17:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552708864001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388476312999690240,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5087167600144547840,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787315275000,"timestamp_ms":1787315275000,"timestamp_seconds":1787315275,"priority":1,"record_length":96,"hex_timestamp":"000001a0244ac4f8"} 
[2026-08-21 17:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 17:59:09] 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-08-21 17:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552708864001,"66":27843,"113":206,"84":5376,"24":58,"16":388476312999690240,"45":-5087167600144547840},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 17:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552708864001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:59:09] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:59:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388476312999690240,"km_value":388476312999690.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5087167600144547840,"description":"Unknown IO ID 45"} 
[2026-08-21 17:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552708864001,"power":27843,"unknown_113":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-5087167600144547840}} 
[2026-08-21 17:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:59:09] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:59:09] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:59:20] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:20] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:20] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 17:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:59:21] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:21] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:21] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:59:22] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:22] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:22] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:59:28] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:28] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 17:59:28] local.INFO: IMEI packet received {"connection_id":161782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 17:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":161782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 17:59:29] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244bd280012d829e8005d613b0000900d61b..."} 
[2026-08-21 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244bd280012d829e8005d613b0000900d61b..."} 
[2026-08-21 17:59:29] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244bd280012d829e8005d613b0000900d61b..."} 
[2026-08-21 17:59:29] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244b"} 
[2026-08-21 17:59:29] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244b"} 
[2026-08-21 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":97915824,"longitude_deg":76.3534976,"latitude_deg":9.7915824,"altitude":9,"angle":214,"satellites":27,"speed":8,"hex_longitude":"2d829e80","hex_latitude":"05d613b0","is_valid_coordinates":true} 
[2026-08-21 17:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552727808001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121809009136107520,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933671254016,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787315344000,"timestamp_ms":1787315344000,"timestamp_seconds":1787315344,"priority":1,"record_length":96,"hex_timestamp":"000001a0244bd280"} 
[2026-08-21 17:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-08-21 17:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 17:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 17:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 17:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552727808001,"66":12906,"156":206,"85":15104,"24":8,"16":121809009136107520,"45":-9034431933671254016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 17:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 17:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 17:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552727808001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:59:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 17:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 17:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121809009136107520,"km_value":121809009136107.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933671254016,"description":"Unknown IO ID 45"} 
[2026-08-21 17:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552727808001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9034431933671254016}} 
[2026-08-21 17:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:59:29] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:59:29] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:59:40] local.INFO: TCP Data received {"connection_id":160405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244ae050012db91a00054875f0001f00fe2b..."} 
[2026-08-21 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244ae050012db91a00054875f0001f00fe2b..."} 
[2026-08-21 17:59:40] local.INFO: Processing buffer {"connection_id":160405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244ae050012db91a00054875f0001f00fe2b..."} 
[2026-08-21 17:59:40] local.INFO: Packet analysis {"connection_id":160405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:40] local.INFO: Extracted packet for processing {"connection_id":160405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":767105536,"raw_latitude":88634864,"longitude_deg":76.7105536,"latitude_deg":8.8634864,"altitude":31,"angle":254,"satellites":43,"speed":58,"hex_longitude":"2db91a00","hex_latitude":"054875f0","is_valid_coordinates":true} 
[2026-08-21 17:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 17:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552710400001,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388476811215896576,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5097511805538873344,"note":"Value kept but may cause issues"} 
[2026-08-21 17:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 17:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787315282000,"timestamp_ms":1787315282000,"timestamp_seconds":1787315282,"priority":1,"record_length":96,"hex_timestamp":"000001a0244ae050"} 
[2026-08-21 17:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 17:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 17:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 17:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 17:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 17:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 17:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 17:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 17:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 17:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 17:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 17:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552710400001,"66":27234,"113":206,"84":5376,"24":58,"16":388476811215896576,"45":-5097511805538873344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,84,24,16,45]} 
[2026-08-21 17:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 17:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 17:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552710400001,"description":"Unknown IO ID 0"} 
[2026-08-21 17:59:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-08-21 17:59:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 17:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388476811215896576,"km_value":388476811215896.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 17:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5097511805538873344,"description":"Unknown IO ID 45"} 
[2026-08-21 17:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552710400001,"power":27234,"unknown_113":206,"unknown_84":5376,"ignition":58,"odometer":null,"unknown_45":-5097511805538873344}} 
[2026-08-21 17:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":160405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 17:59:40] local.INFO: GPS data processed {"connection_id":160405,"processed":1,"errors":0,"total":1} 
[2026-08-21 17:59:40] local.INFO: Acknowledgment sent {"connection_id":160405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 17:59:57] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:57] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:57] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 17:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 17:59:59] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:59] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 17:59:59] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 17:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:00:01] local.INFO: TCP Data received {"connection_id":161782,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244bd668012d829e8005d61278000900b31b..."} 
[2026-08-21 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244bd668012d829e8005d61278000900b31b..."} 
[2026-08-21 18:00:01] local.INFO: Processing buffer {"connection_id":161782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244bd668012d829e8005d61278000900b31b..."} 
[2026-08-21 18:00:01] local.INFO: Packet analysis {"connection_id":161782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244b"} 
[2026-08-21 18:00:01] local.INFO: Extracted packet for processing {"connection_id":161782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244b"} 
[2026-08-21 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":97915512,"longitude_deg":76.3534976,"latitude_deg":9.7915512,"altitude":9,"angle":179,"satellites":27,"speed":12,"hex_longitude":"2d829e80","hex_latitude":"05d61278","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552728064001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121809026315976704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039903830016,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787315345000,"timestamp_ms":1787315345000,"timestamp_seconds":1787315345,"priority":1,"record_length":96,"hex_timestamp":"000001a0244bd668"} 
[2026-08-21 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-08-21 18:00: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-08-21 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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 18:00: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-08-21 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-08-21 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-08-21 18:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552728064001,"66":12906,"156":206,"85":15104,"24":12,"16":121809026315976704,"45":-9034643039903830016},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552728064001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:00:01] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121809026315976704,"km_value":121809026315976.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039903830016,"description":"Unknown IO ID 45"} 
[2026-08-21 18:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552728064001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9034643039903830016}} 
[2026-08-21 18:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":161782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:00:01] local.INFO: GPS data processed {"connection_id":161782,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:00:01] local.INFO: Acknowledgment sent {"connection_id":161782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:00:02] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:00:02] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:00:02] local.INFO: IMEI packet received {"connection_id":161783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":161783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:00:03] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244af7c0012db8f90005486a88001f00f82b..."} 
[2026-08-21 18:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244af7c0012db8f90005486a88001f00f82b..."} 
[2026-08-21 18:00:03] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244af7c0012db8f90005486a88001f00f82b..."} 
[2026-08-21 18:00:03] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 18:00:03] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244a"} 
[2026-08-21 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":767097088,"raw_latitude":88631944,"longitude_deg":76.7097088,"latitude_deg":8.8631944,"altitude":31,"angle":248,"satellites":43,"speed":59,"hex_longitude":"2db8f900","hex_latitude":"05486a88","is_valid_coordinates":true} 
[2026-08-21 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552712192001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388477245007593472,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5108770804607881216,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787315288000,"timestamp_ms":1787315288000,"timestamp_seconds":1787315288,"priority":1,"record_length":96,"hex_timestamp":"000001a0244af7c0"} 
[2026-08-21 18:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 18:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552712192001,"66":27995,"177":206,"84":5376,"24":59,"16":388477245007593472,"45":-5108770804607881216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,84,24,16,45]} 
[2026-08-21 18:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552712192001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:00:03] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 18:00:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388477245007593472,"km_value":388477245007593.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5108770804607881216,"description":"Unknown IO ID 45"} 
[2026-08-21 18:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552712192001,"power":27995,"unknown_177":206,"unknown_84":5376,"ignition":59,"odometer":null,"unknown_45":-5108770804607881216}} 
[2026-08-21 18:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:00:03] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:00:03] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:00:34] local.INFO: TCP Data received {"connection_id":161783,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244c43c8012db77200054871a0000b01222b..."} 
[2026-08-21 18:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244c43c8012db77200054871a0000b01222b..."} 
[2026-08-21 18:00:34] local.INFO: Processing buffer {"connection_id":161783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244c43c8012db77200054871a0000b01222b..."} 
[2026-08-21 18:00:34] local.INFO: Packet analysis {"connection_id":161783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:00:34] local.INFO: Extracted packet for processing {"connection_id":161783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":766996992,"raw_latitude":88633760,"longitude_deg":76.6996992,"latitude_deg":8.863376,"altitude":11,"angle":290,"satellites":43,"speed":19,"hex_longitude":"2db77200","hex_latitude":"054871a0","is_valid_coordinates":true} 
[2026-08-21 18:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552734976001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388482334543839232,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5227131032315113472,"note":"Value kept but may cause issues"} 
[2026-08-21 18:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787315373000,"timestamp_ms":1787315373000,"timestamp_seconds":1787315373,"priority":1,"record_length":96,"hex_timestamp":"000001a0244c43c8"} 
[2026-08-21 18:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 18:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552734976001,"66":27865,"37":206,"84":5376,"24":19,"16":388482334543839232,"45":-5227131032315113472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-21 18:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552734976001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:00:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 18:00:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388482334543839232,"km_value":388482334543839.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5227131032315113472,"description":"Unknown IO ID 45"} 
[2026-08-21 18:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552734976001,"power":27865,"unknown_37":206,"unknown_84":5376,"ignition":19,"odometer":null,"unknown_45":-5227131032315113472}} 
[2026-08-21 18:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":161783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:00:34] local.INFO: GPS data processed {"connection_id":161783,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:00:34] local.INFO: Acknowledgment sent {"connection_id":161783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:00:57] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:00:57] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:00:57] local.INFO: IMEI packet received {"connection_id":159223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":159223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:00:57] local.INFO: TCP Data received {"connection_id":159222,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:00:57] local.INFO: Processing buffer {"connection_id":159222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:00:57] local.INFO: IMEI packet received {"connection_id":159222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":159222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:01:01] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:01] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:01] local.INFO: IMEI packet received {"connection_id":159223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":159223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:01:01] local.INFO: TCP Data received {"connection_id":159222,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:02] local.INFO: Processing buffer {"connection_id":159222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:02] local.INFO: IMEI packet received {"connection_id":159222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":159222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:01:02] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244c4b98012db76e8005487288000b01172b..."} 
[2026-08-21 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244c4b98012db76e8005487288000b01172b..."} 
[2026-08-21 18:01:02] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244c4b98012db76e8005487288000b01172b..."} 
[2026-08-21 18:01:02] local.INFO: Packet analysis {"connection_id":159223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:01:02] local.INFO: Extracted packet for processing {"connection_id":159223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":766996096,"raw_latitude":88633992,"longitude_deg":76.6996096,"latitude_deg":8.8633992,"altitude":11,"angle":279,"satellites":43,"speed":20,"hex_longitude":"2db76e80","hex_latitude":"05487288","is_valid_coordinates":true} 
[2026-08-21 18:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552735488001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388482377493512192,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5228116194733481984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787315375000,"timestamp_ms":1787315375000,"timestamp_seconds":1787315375,"priority":1,"record_length":96,"hex_timestamp":"000001a0244c4b98"} 
[2026-08-21 18:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:01:02] 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-08-21 18:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552735488001,"66":27876,"37":206,"84":5376,"24":20,"16":388482377493512192,"45":-5228116194733481984},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-21 18:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552735488001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:01:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 18:01:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388482377493512192,"km_value":388482377493512.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5228116194733481984,"description":"Unknown IO ID 45"} 
[2026-08-21 18:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552735488001,"power":27876,"unknown_37":206,"unknown_84":5376,"ignition":20,"odometer":null,"unknown_45":-5228116194733481984}} 
[2026-08-21 18:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":159223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:01:02] local.INFO: GPS data processed {"connection_id":159223,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:01:02] local.INFO: Acknowledgment sent {"connection_id":159223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:01:03] local.INFO: TCP Data received {"connection_id":159222,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244d5920012d82028005d5c8d8000901511b..."} 
[2026-08-21 18:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244d5920012d82028005d5c8d8000901511b..."} 
[2026-08-21 18:01:03] local.INFO: Processing buffer {"connection_id":159222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244d5920012d82028005d5c8d8000901511b..."} 
[2026-08-21 18:01:03] local.INFO: Packet analysis {"connection_id":159222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:01:03] local.INFO: Extracted packet for processing {"connection_id":159222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763495040,"raw_latitude":97896664,"longitude_deg":76.349504,"latitude_deg":9.7896664,"altitude":9,"angle":337,"satellites":27,"speed":25,"hex_longitude":"2d820280","hex_latitude":"05d5c8d8","is_valid_coordinates":true} 
[2026-08-21 18:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552753152001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121811620476223488,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9077779080089968640,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787315444000,"timestamp_ms":1787315444000,"timestamp_seconds":1787315444,"priority":1,"record_length":96,"hex_timestamp":"000001a0244d5920"} 
[2026-08-21 18:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 18:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552753152001,"66":12863,"156":206,"85":15104,"24":25,"16":121811620476223488,"45":-9077779080089968640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552753152001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:01:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121811620476223488,"km_value":121811620476223.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9077779080089968640,"description":"Unknown IO ID 45"} 
[2026-08-21 18:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552753152001,"power":12863,"unknown_156":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9077779080089968640}} 
[2026-08-21 18:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":159222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:01:03] local.INFO: GPS data processed {"connection_id":159222,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:01:03] local.INFO: Acknowledgment sent {"connection_id":159222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:01:25] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:25] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:25] local.INFO: IMEI packet received {"connection_id":159510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":159510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:01:26] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:26] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:26] local.INFO: IMEI packet received {"connection_id":159510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":159510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:01:32] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:32] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:01:32] local.INFO: IMEI packet received {"connection_id":159510,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":159510,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:01:33] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244d64d8012d81ff8005d5cf10000a013b1b..."} 
[2026-08-21 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244d64d8012d81ff8005d5cf10000a013b1b..."} 
[2026-08-21 18:01:33] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244d64d8012d81ff8005d5cf10000a013b1b..."} 
[2026-08-21 18:01:33] local.INFO: Packet analysis {"connection_id":159510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:01:33] local.INFO: Extracted packet for processing {"connection_id":159510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":763494272,"raw_latitude":97898256,"longitude_deg":76.3494272,"latitude_deg":9.7898256,"altitude":10,"angle":315,"satellites":27,"speed":20,"hex_longitude":"2d81ff80","hex_latitude":"05d5cf10","is_valid_coordinates":true} 
[2026-08-21 18:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552753664001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121811706375569408,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9078553136275597312,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787315447000,"timestamp_ms":1787315447000,"timestamp_seconds":1787315447,"priority":1,"record_length":96,"hex_timestamp":"000001a0244d64d8"} 
[2026-08-21 18:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 18:01:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552753664001,"66":12939,"156":206,"85":15104,"24":20,"16":121811706375569408,"45":-9078553136275597312},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552753664001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121811706375569408,"km_value":121811706375569.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9078553136275597312,"description":"Unknown IO ID 45"} 
[2026-08-21 18:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552753664001,"power":12939,"unknown_156":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9078553136275597312}} 
[2026-08-21 18:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":159510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:01:33] local.INFO: GPS data processed {"connection_id":159510,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:01:33] local.INFO: Acknowledgment sent {"connection_id":159510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:01:33] local.INFO: TCP Data received {"connection_id":159223,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244c6ec0012db75800054874a0000a010b2b..."} 
[2026-08-21 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244c6ec0012db75800054874a0000a010b2b..."} 
[2026-08-21 18:01:33] local.INFO: Processing buffer {"connection_id":159223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244c6ec0012db75800054874a0000a010b2b..."} 
[2026-08-21 18:01:33] local.INFO: Packet analysis {"connection_id":159223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:01:33] local.INFO: Extracted packet for processing {"connection_id":159223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":766990336,"raw_latitude":88634528,"longitude_deg":76.6990336,"latitude_deg":8.8634528,"altitude":10,"angle":267,"satellites":43,"speed":18,"hex_longitude":"2db75800","hex_latitude":"054874a0","is_valid_coordinates":true} 
[2026-08-21 18:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552736000001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388482656666386432,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5229101357151909888,"note":"Value kept but may cause issues"} 
[2026-08-21 18:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787315384000,"timestamp_ms":1787315384000,"timestamp_seconds":1787315384,"priority":1,"record_length":96,"hex_timestamp":"000001a0244c6ec0"} 
[2026-08-21 18:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 18:01:33] 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-08-21 18:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552736000001,"66":27767,"37":206,"84":5376,"24":18,"16":388482656666386432,"45":-5229101357151909888},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-21 18:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552736000001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388482656666386432,"km_value":388482656666386.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5229101357151909888,"description":"Unknown IO ID 45"} 
[2026-08-21 18:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552736000001,"power":27767,"unknown_37":206,"unknown_84":5376,"ignition":18,"odometer":null,"unknown_45":-5229101357151909888}} 
[2026-08-21 18:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":159223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:01:33] local.INFO: GPS data processed {"connection_id":159223,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:01:33] local.INFO: Acknowledgment sent {"connection_id":159223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:01:57] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:57] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:57] local.INFO: IMEI packet received {"connection_id":159224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":159224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:01:57] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:57] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:01:57] local.INFO: IMEI packet received {"connection_id":159224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":159224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:02:00] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:02:00] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:02:00] local.INFO: IMEI packet received {"connection_id":159224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":159224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:02:02] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:02:02] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:02:02] local.INFO: IMEI packet received {"connection_id":159224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":159224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:02:03] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244cb510012db7350005487270000d01082c..."} 
[2026-08-21 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244cb510012db7350005487270000d01082c..."} 
[2026-08-21 18:02:03] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244cb510012db7350005487270000d01082c..."} 
[2026-08-21 18:02:03] local.INFO: Packet analysis {"connection_id":159224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:02:03] local.INFO: Extracted packet for processing {"connection_id":159224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244c"} 
[2026-08-21 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":766981376,"raw_latitude":88633968,"longitude_deg":76.6981376,"latitude_deg":8.8633968,"altitude":13,"angle":264,"satellites":44,"speed":15,"hex_longitude":"2db73500","hex_latitude":"05487270","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552738304001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388483086163116032,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5235434544127762432,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787315402000,"timestamp_ms":1787315402000,"timestamp_seconds":1787315402,"priority":1,"record_length":96,"hex_timestamp":"000001a0244cb510"} 
[2026-08-21 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-08-21 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 18:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552738304001,"66":27930,"37":206,"84":5376,"24":15,"16":388483086163116032,"45":-5235434544127762432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-21 18:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552738304001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:02:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 18:02:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388483086163116032,"km_value":388483086163116.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5235434544127762432,"description":"Unknown IO ID 45"} 
[2026-08-21 18:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552738304001,"power":27930,"unknown_37":206,"unknown_84":5376,"ignition":15,"odometer":null,"unknown_45":-5235434544127762432}} 
[2026-08-21 18:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":159224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:02:03] local.INFO: GPS data processed {"connection_id":159224,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:02:03] local.INFO: Acknowledgment sent {"connection_id":159224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:02:04] local.INFO: TCP Data received {"connection_id":159510,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0244e4768012d81b94005d54368000300c81b..."} 
[2026-08-21 18:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244e4768012d81b94005d54368000300c81b..."} 
[2026-08-21 18:02:04] local.INFO: Processing buffer {"connection_id":159510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244e4768012d81b94005d54368000300c81b..."} 
[2026-08-21 18:02:04] local.INFO: Packet analysis {"connection_id":159510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244e"} 
[2026-08-21 18:02:04] local.INFO: Extracted packet for processing {"connection_id":159510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244e"} 
[2026-08-21 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763476288,"raw_latitude":97862504,"longitude_deg":76.3476288,"latitude_deg":9.7862504,"altitude":3,"angle":200,"satellites":27,"speed":48,"hex_longitude":"2d81b940","hex_latitude":"05d54368","is_valid_coordinates":true} 
[2026-08-21 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552768256001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121814231816339456,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097834172187721728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787315505000,"timestamp_ms":1787315505000,"timestamp_seconds":1787315505,"priority":1,"record_length":96,"hex_timestamp":"000001a0244e4768"} 
[2026-08-21 18:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 18:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159510,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552768256001,"66":13189,"157":206,"85":15104,"24":48,"16":121814231816339456,"45":-9097834172187721728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 18:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552768256001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:02:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 18:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121814231816339456,"km_value":121814231816339.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097834172187721728,"description":"Unknown IO ID 45"} 
[2026-08-21 18:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552768256001,"power":13189,"unknown_157":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9097834172187721728}} 
[2026-08-21 18:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:02:04] local.INFO: GPS data processed {"connection_id":159510,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:02:04] local.INFO: Acknowledgment sent {"connection_id":159510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:02:21] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:21] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:21] local.INFO: IMEI packet received {"connection_id":159512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":159512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:02:21] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:21] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:21] local.INFO: IMEI packet received {"connection_id":159512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":159512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:02:23] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:23] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:23] local.INFO: IMEI packet received {"connection_id":159512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":159512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:02:24] local.INFO: TCP Data received {"connection_id":159512,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159512,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:24] local.INFO: Processing buffer {"connection_id":159512,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:02:24] local.INFO: IMEI packet received {"connection_id":159512,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":159512,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:02:34] local.INFO: TCP Data received {"connection_id":159224,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244d0718012db712c005486eb8000e01072b..."} 
[2026-08-21 18:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244d0718012db712c005486eb8000e01072b..."} 
[2026-08-21 18:02:34] local.INFO: Processing buffer {"connection_id":159224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244d0718012db712c005486eb8000e01072b..."} 
[2026-08-21 18:02:34] local.INFO: Packet analysis {"connection_id":159224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:02:34] local.INFO: Extracted packet for processing {"connection_id":159224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":766972608,"raw_latitude":88633016,"longitude_deg":76.6972608,"latitude_deg":8.8633016,"altitude":14,"angle":263,"satellites":43,"speed":18,"hex_longitude":"2db712c0","hex_latitude":"05486eb8","is_valid_coordinates":true} 
[2026-08-21 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552742912001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388483511364878336,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5245286168312778752,"note":"Value kept but may cause issues"} 
[2026-08-21 18:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787315423000,"timestamp_ms":1787315423000,"timestamp_seconds":1787315423,"priority":1,"record_length":96,"hex_timestamp":"000001a0244d0718"} 
[2026-08-21 18:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 18:02:34] 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-08-21 18:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552742912001,"66":27843,"37":206,"84":5376,"24":18,"16":388483511364878336,"45":-5245286168312778752},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,84,24,16,45]} 
[2026-08-21 18:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552742912001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:02:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-08-21 18:02:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388483511364878336,"km_value":388483511364878.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5245286168312778752,"description":"Unknown IO ID 45"} 
[2026-08-21 18:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552742912001,"power":27843,"unknown_37":206,"unknown_84":5376,"ignition":18,"odometer":null,"unknown_45":-5245286168312778752}} 
[2026-08-21 18:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":159224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:02:34] local.INFO: GPS data processed {"connection_id":159224,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:02:34] local.INFO: Acknowledgment sent {"connection_id":159224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:03:02] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:02] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:02] local.INFO: IMEI packet received {"connection_id":161785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":161785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:03:07] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:07] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:07] local.INFO: IMEI packet received {"connection_id":161785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":161785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:03:08] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244d5150012db6efc005486b40000e01092b..."} 
[2026-08-21 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244d5150012db6efc005486b40000e01092b..."} 
[2026-08-21 18:03:08] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244d5150012db6efc005486b40000e01092b..."} 
[2026-08-21 18:03:08] local.INFO: Packet analysis {"connection_id":161785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:03:08] local.INFO: Extracted packet for processing {"connection_id":161785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":766963648,"raw_latitude":88632128,"longitude_deg":76.6963648,"latitude_deg":8.8632128,"altitude":14,"angle":265,"satellites":43,"speed":12,"hex_longitude":"2db6efc0","hex_latitude":"05486b40","is_valid_coordinates":true} 
[2026-08-21 18:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552748288001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388483940861607936,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5254926686265362432,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787315442000,"timestamp_ms":1787315442000,"timestamp_seconds":1787315442,"priority":1,"record_length":96,"hex_timestamp":"000001a0244d5150"} 
[2026-08-21 18:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 18:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552748288001,"66":27865,"39":206,"84":5376,"24":12,"16":388483940861607936,"45":-5254926686265362432},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-08-21 18:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552748288001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388483940861607936,"km_value":388483940861607.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5254926686265362432,"description":"Unknown IO ID 45"} 
[2026-08-21 18:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552748288001,"power":27865,"unknown_39":206,"unknown_84":5376,"ignition":12,"odometer":null,"unknown_45":-5254926686265362432}} 
[2026-08-21 18:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":161785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:03:08] local.INFO: GPS data processed {"connection_id":161785,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:03:08] local.INFO: Acknowledgment sent {"connection_id":161785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:03:10] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:03:10] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:03:10] local.INFO: IMEI packet received {"connection_id":160407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":160407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:03:11] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0244e4b50012d183800072195900052006d24..."} 
[2026-08-21 18:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244e4b50012d183800072195900052006d24..."} 
[2026-08-21 18:03:11] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244e4b50012d183800072195900052006d24..."} 
[2026-08-21 18:03:11] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244e"} 
[2026-08-21 18:03:11] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244e"} 
[2026-08-21 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756561920,"raw_latitude":119641488,"longitude_deg":75.656192,"latitude_deg":11.9641488,"altitude":82,"angle":109,"satellites":36,"speed":8,"hex_longitude":"2d183800","hex_latitude":"07219590","is_valid_coordinates":true} 
[2026-08-21 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552766976001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14273808412180480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211633664,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787315506000,"timestamp_ms":1787315506000,"timestamp_seconds":1787315506,"priority":1,"record_length":96,"hex_timestamp":"000001a0244e4b50"} 
[2026-08-21 18:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 18:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552766976001,"66":14374,"105":206,"83":41984,"24":8,"16":14273808412180480,"45":1742400505211633664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552766976001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:03:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14273808412180480,"km_value":14273808412180.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211633664,"description":"Unknown IO ID 45"} 
[2026-08-21 18:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552766976001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1742400505211633664}} 
[2026-08-21 18:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:03:11] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:03:11] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:03:39] local.INFO: TCP Data received {"connection_id":161785,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244da358012db6d100054868d00010010d2b..."} 
[2026-08-21 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244da358012db6d100054868d00010010d2b..."} 
[2026-08-21 18:03:39] local.INFO: Processing buffer {"connection_id":161785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244da358012db6d100054868d00010010d2b..."} 
[2026-08-21 18:03:39] local.INFO: Packet analysis {"connection_id":161785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:03:39] local.INFO: Extracted packet for processing {"connection_id":161785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:03:39] local.INFO: GPS Element Parsed {"raw_longitude":766955776,"raw_latitude":88631504,"longitude_deg":76.6955776,"latitude_deg":8.8631504,"altitude":16,"angle":269,"satellites":43,"speed":18,"hex_longitude":"2db6d100","hex_latitude":"054868d0","is_valid_coordinates":true} 
[2026-08-21 18:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552753152001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388484318818729984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5264778310450462720,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787315463000,"timestamp_ms":1787315463000,"timestamp_seconds":1787315463,"priority":1,"record_length":96,"hex_timestamp":"000001a0244da358"} 
[2026-08-21 18:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552753152001,"66":27865,"39":206,"84":5376,"24":18,"16":388484318818729984,"45":-5264778310450462720},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-08-21 18:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552753152001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:03:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 18:03:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388484318818729984,"km_value":388484318818730.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5264778310450462720,"description":"Unknown IO ID 45"} 
[2026-08-21 18:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552753152001,"power":27865,"unknown_39":206,"unknown_84":5376,"ignition":18,"odometer":null,"unknown_45":-5264778310450462720}} 
[2026-08-21 18:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":161785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:03:39] local.INFO: GPS data processed {"connection_id":161785,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:03:39] local.INFO: Acknowledgment sent {"connection_id":161785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:03:43] local.INFO: TCP Data received {"connection_id":160407,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0244e5320012d1839c0072195380053006025..."} 
[2026-08-21 18:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244e5320012d1839c0072195380053006025..."} 
[2026-08-21 18:03:43] local.INFO: Processing buffer {"connection_id":160407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244e5320012d1839c0072195380053006025..."} 
[2026-08-21 18:03:43] local.INFO: Packet analysis {"connection_id":160407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244e"} 
[2026-08-21 18:03:43] local.INFO: Extracted packet for processing {"connection_id":160407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244e"} 
[2026-08-21 18:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756562368,"raw_latitude":119641400,"longitude_deg":75.6562368,"latitude_deg":11.96414,"altitude":83,"angle":96,"satellites":37,"speed":8,"hex_longitude":"2d1839c0","hex_latitude":"07219538","is_valid_coordinates":true} 
[2026-08-21 18:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552769536001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14273829887016960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1745144886234288128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787315508000,"timestamp_ms":1787315508000,"timestamp_seconds":1787315508,"priority":1,"record_length":96,"hex_timestamp":"000001a0244e5320"} 
[2026-08-21 18:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 18:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552769536001,"66":14298,"105":206,"83":41984,"24":8,"16":14273829887016960,"45":1745144886234288128},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552769536001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:03:43] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:03:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14273829887016960,"km_value":14273829887016.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1745144886234288128,"description":"Unknown IO ID 45"} 
[2026-08-21 18:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552769536001,"power":14298,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1745144886234288128}} 
[2026-08-21 18:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":160407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:03:43] local.INFO: GPS data processed {"connection_id":160407,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:03:43] local.INFO: Acknowledgment sent {"connection_id":160407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:03:57] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:57] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:03:57] local.INFO: IMEI packet received {"connection_id":159226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":159226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:04:01] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:01] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:01] local.INFO: IMEI packet received {"connection_id":159227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":159227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:04:02] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:04:02] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:04:02] local.INFO: IMEI packet received {"connection_id":159226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":159226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:04:02] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244dbac8012db6c880054867f8001001012c..."} 
[2026-08-21 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244dbac8012db6c880054867f8001001012c..."} 
[2026-08-21 18:04:02] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244dbac8012db6c880054867f8001001012c..."} 
[2026-08-21 18:04:02] local.INFO: Packet analysis {"connection_id":159226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:04:02] local.INFO: Extracted packet for processing {"connection_id":159226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:04:02] local.INFO: GPS Element Parsed {"raw_longitude":766953600,"raw_latitude":88631288,"longitude_deg":76.69536,"latitude_deg":8.8631288,"altitude":16,"angle":257,"satellites":44,"speed":8,"hex_longitude":"2db6c880","hex_latitude":"054867f8","is_valid_coordinates":true} 
[2026-08-21 18:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552758528001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388484426192912384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5273433665984475136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787315469000,"timestamp_ms":1787315469000,"timestamp_seconds":1787315469,"priority":1,"record_length":96,"hex_timestamp":"000001a0244dbac8"} 
[2026-08-21 18:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18: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-08-21 18: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:04:02] 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-08-21 18:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552758528001,"66":27832,"39":206,"84":5376,"24":8,"16":388484426192912384,"45":-5273433665984475136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-08-21 18:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552758528001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:04:02] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 18:04:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388484426192912384,"km_value":388484426192912.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5273433665984475136,"description":"Unknown IO ID 45"} 
[2026-08-21 18:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552758528001,"power":27832,"unknown_39":206,"unknown_84":5376,"ignition":8,"odometer":null,"unknown_45":-5273433665984475136}} 
[2026-08-21 18:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":159226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:04:02] local.INFO: GPS data processed {"connection_id":159226,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:04:02] local.INFO: Acknowledgment sent {"connection_id":159226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:04:03] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:03] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:03] local.INFO: IMEI packet received {"connection_id":159227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":159227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:04:04] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0244f8f88012d18c2c0072153900049009b28..."} 
[2026-08-21 18:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244f8f88012d18c2c0072153900049009b28..."} 
[2026-08-21 18:04:04] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244f8f88012d18c2c0072153900049009b28..."} 
[2026-08-21 18:04:04] local.INFO: Packet analysis {"connection_id":159227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244f"} 
[2026-08-21 18:04:04] local.INFO: Extracted packet for processing {"connection_id":159227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244f"} 
[2026-08-21 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119624592,"longitude_deg":75.659744,"latitude_deg":11.9624592,"altitude":73,"angle":155,"satellites":40,"speed":26,"hex_longitude":"2d18c2c0","hex_latitude":"07215390","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552787968001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14275784097136640,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252181176320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787315589000,"timestamp_ms":1787315589000,"timestamp_seconds":1787315589,"priority":1,"record_length":96,"hex_timestamp":"000001a0244f8f88"} 
[2026-08-21 18:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 18:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552787968001,"66":14363,"106":206,"83":41984,"24":26,"16":14275784097136640,"45":1778992252181176320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 18:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552787968001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:04:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 18:04:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14275784097136640,"km_value":14275784097136.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252181176320,"description":"Unknown IO ID 45"} 
[2026-08-21 18:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552787968001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1778992252181176320}} 
[2026-08-21 18:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":159227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:04:04] local.INFO: GPS data processed {"connection_id":159227,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:04:04] local.INFO: Acknowledgment sent {"connection_id":159227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:04:33] local.INFO: TCP Data received {"connection_id":159226,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0244de1d8012db6be0005486568001001112e..."} 
[2026-08-21 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244de1d8012db6be0005486568001001112e..."} 
[2026-08-21 18:04:33] local.INFO: Processing buffer {"connection_id":159226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244de1d8012db6be0005486568001001112e..."} 
[2026-08-21 18:04:33] local.INFO: Packet analysis {"connection_id":159226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:04:33] local.INFO: Extracted packet for processing {"connection_id":159226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244d"} 
[2026-08-21 18:04:33] local.INFO: GPS Element Parsed {"raw_longitude":766950912,"raw_latitude":88630632,"longitude_deg":76.6950912,"latitude_deg":8.8630632,"altitude":16,"angle":273,"satellites":46,"speed":12,"hex_longitude":"2db6be00","hex_latitude":"05486568","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552760064001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388484555041931264,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5275826203286571008,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787315479000,"timestamp_ms":1787315479000,"timestamp_seconds":1787315479,"priority":1,"record_length":96,"hex_timestamp":"000001a0244de1d8"} 
[2026-08-21 18:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18: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-08-21 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 18:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552760064001,"66":27876,"39":206,"84":5376,"24":12,"16":388484555041931264,"45":-5275826203286571008},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,84,24,16,45]} 
[2026-08-21 18:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552760064001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:04:33] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 18:04:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388484555041931264,"km_value":388484555041931.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5275826203286571008,"description":"Unknown IO ID 45"} 
[2026-08-21 18:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552760064001,"power":27876,"unknown_39":206,"unknown_84":5376,"ignition":12,"odometer":null,"unknown_45":-5275826203286571008}} 
[2026-08-21 18:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":159226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:04:34] local.INFO: GPS data processed {"connection_id":159226,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:04:34] local.INFO: Acknowledgment sent {"connection_id":159226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:04:35] local.INFO: TCP Data received {"connection_id":159227,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0244f9758012d18c44007214e68004800a827..."} 
[2026-08-21 18:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159227,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0244f9758012d18c44007214e68004800a827..."} 
[2026-08-21 18:04:35] local.INFO: Processing buffer {"connection_id":159227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0244f9758012d18c44007214e68004800a827..."} 
[2026-08-21 18:04:35] local.INFO: Packet analysis {"connection_id":159227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0244f"} 
[2026-08-21 18:04:35] local.INFO: Extracted packet for processing {"connection_id":159227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0244f"} 
[2026-08-21 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":756597824,"raw_latitude":119623272,"longitude_deg":75.6597824,"latitude_deg":11.9623272,"altitude":72,"angle":168,"satellites":39,"speed":28,"hex_longitude":"2d18c440","hex_latitude":"07214e68","is_valid_coordinates":true} 
[2026-08-21 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552790784001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14275848521646080,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539248566272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787315591000,"timestamp_ms":1787315591000,"timestamp_seconds":1787315591,"priority":1,"record_length":96,"hex_timestamp":"000001a0244f9758"} 
[2026-08-21 18:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 18:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552790784001,"66":14265,"106":206,"83":41984,"24":28,"16":14275848521646080,"45":1784199539248566272},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 18:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552790784001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:04:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 18:04:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14275848521646080,"km_value":14275848521646.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539248566272,"description":"Unknown IO ID 45"} 
[2026-08-21 18:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552790784001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1784199539248566272}} 
[2026-08-21 18:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":159227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:04:35] local.INFO: GPS data processed {"connection_id":159227,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:04:35] local.INFO: Acknowledgment sent {"connection_id":159227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:04:57] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:04:57] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:04:57] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:04:58] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:58] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:04:58] local.INFO: IMEI packet received {"connection_id":159228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":159228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:05:00] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:05:00] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:05:00] local.INFO: IMEI packet received {"connection_id":161786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":161786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:05:01] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:05:01] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:05:01] local.INFO: IMEI packet received {"connection_id":159228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":159228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:05:05] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:05:05] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:05:05] local.INFO: IMEI packet received {"connection_id":159228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":159228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:05:06] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245081b8012d1939c00720b4d8002f007c29..."} 
[2026-08-21 18:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245081b8012d1939c00720b4d8002f007c29..."} 
[2026-08-21 18:05:06] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245081b8012d1939c00720b4d8002f007c29..."} 
[2026-08-21 18:05:06] local.INFO: Packet analysis {"connection_id":159228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:05:06] local.INFO: Extracted packet for processing {"connection_id":159228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:05:06] local.INFO: GPS Element Parsed {"raw_longitude":756627904,"raw_latitude":119583960,"longitude_deg":75.6627904,"latitude_deg":11.958396,"altitude":47,"angle":124,"satellites":41,"speed":34,"hex_longitude":"2d1939c0","hex_latitude":"0720b4d8","is_valid_coordinates":true} 
[2026-08-21 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552804352001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14278438386925568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1808336018492030976,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787315651000,"timestamp_ms":1787315651000,"timestamp_seconds":1787315651,"priority":1,"record_length":96,"hex_timestamp":"000001a0245081b8"} 
[2026-08-21 18:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:05: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-08-21 18:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 18:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552804352001,"66":13993,"103":206,"83":41984,"24":34,"16":14278438386925568,"45":1808336018492030976},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552804352001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:05:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:05:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14278438386925568,"km_value":14278438386925.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1808336018492030976,"description":"Unknown IO ID 45"} 
[2026-08-21 18:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552804352001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1808336018492030976}} 
[2026-08-21 18:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":159228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:05:06] local.INFO: GPS data processed {"connection_id":159228,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:05:06] local.INFO: Acknowledgment sent {"connection_id":159228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:05:18] local.INFO: TCP Data received {"connection_id":161786,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024502bc8012db56c0005488990000901122e..."} 
[2026-08-21 18:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024502bc8012db56c0005488990000901122e..."} 
[2026-08-21 18:05:18] local.INFO: Processing buffer {"connection_id":161786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024502bc8012db56c0005488990000901122e..."} 
[2026-08-21 18:05:18] local.INFO: Packet analysis {"connection_id":161786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:05:18] local.INFO: Extracted packet for processing {"connection_id":161786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:05:18] local.INFO: GPS Element Parsed {"raw_longitude":766864384,"raw_latitude":88639888,"longitude_deg":76.6864384,"latitude_deg":8.8639888,"altitude":9,"angle":274,"satellites":46,"speed":14,"hex_longitude":"2db56c00","hex_latitude":"05488990","is_valid_coordinates":true} 
[2026-08-21 18:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552795648001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388488746930012160,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5369205526808219648,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787315629000,"timestamp_ms":1787315629000,"timestamp_seconds":1787315629,"priority":1,"record_length":96,"hex_timestamp":"000001a024502bc8"} 
[2026-08-21 18:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:05: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-08-21 18:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552795648001,"66":27865,"57":206,"84":5376,"24":14,"16":388488746930012160,"45":-5369205526808219648},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-21 18:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552795648001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:05:18] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-21 18:05:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388488746930012160,"km_value":388488746930012.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5369205526808219648,"description":"Unknown IO ID 45"} 
[2026-08-21 18:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552795648001,"power":27865,"unknown_57":206,"unknown_84":5376,"ignition":14,"odometer":null,"unknown_45":-5369205526808219648}} 
[2026-08-21 18:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":161786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:05:18] local.INFO: GPS data processed {"connection_id":161786,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:05:18] local.INFO: Acknowledgment sent {"connection_id":161786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:05:37] local.INFO: TCP Data received {"connection_id":159228,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245081b8012d1939c00720b4d8002f007c29..."} 
[2026-08-21 18:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245081b8012d1939c00720b4d8002f007c29..."} 
[2026-08-21 18:05:37] local.INFO: Processing buffer {"connection_id":159228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245081b8012d1939c00720b4d8002f007c29..."} 
[2026-08-21 18:05:37] local.INFO: Packet analysis {"connection_id":159228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:05:37] local.INFO: Extracted packet for processing {"connection_id":159228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:05:37] local.INFO: GPS Element Parsed {"raw_longitude":756627904,"raw_latitude":119583960,"longitude_deg":75.6627904,"latitude_deg":11.958396,"altitude":47,"angle":124,"satellites":41,"speed":34,"hex_longitude":"2d1939c0","hex_latitude":"0720b4d8","is_valid_coordinates":true} 
[2026-08-21 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552806656001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14278438386925568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817695061466732544,"note":"Value kept but may cause issues"} 
[2026-08-21 18:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787315651000,"timestamp_ms":1787315651000,"timestamp_seconds":1787315651,"priority":1,"record_length":96,"hex_timestamp":"000001a0245081b8"} 
[2026-08-21 18:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:05: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-08-21 18:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 18:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552806656001,"66":13993,"103":206,"83":41984,"24":34,"16":14278438386925568,"45":1817695061466732544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552806656001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14278438386925568,"km_value":14278438386925.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817695061466732544,"description":"Unknown IO ID 45"} 
[2026-08-21 18:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552806656001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1817695061466732544}} 
[2026-08-21 18:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":159228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:05:37] local.INFO: GPS data processed {"connection_id":159228,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:05:37] local.INFO: Acknowledgment sent {"connection_id":159228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:06:01] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:06:01] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:06:01] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:06:06] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:06:06] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:06:06] local.INFO: IMEI packet received {"connection_id":161788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":161788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:06:07] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024508d70012d1942400720b008002e006d28..."} 
[2026-08-21 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024508d70012d1942400720b008002e006d28..."} 
[2026-08-21 18:06:07] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024508d70012d1942400720b008002e006d28..."} 
[2026-08-21 18:06:07] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:06:07] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02450"} 
[2026-08-21 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756630080,"raw_latitude":119582728,"longitude_deg":75.663008,"latitude_deg":11.9582728,"altitude":46,"angle":109,"satellites":40,"speed":34,"hex_longitude":"2d194240","hex_latitude":"0720b008","is_valid_coordinates":true} 
[2026-08-21 18:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552806656001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14278558646009856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817695061466732544,"note":"Value kept but may cause issues"} 
[2026-08-21 18:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787315654000,"timestamp_ms":1787315654000,"timestamp_seconds":1787315654,"priority":1,"record_length":96,"hex_timestamp":"000001a024508d70"} 
[2026-08-21 18:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-08-21 18:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552806656001,"66":14070,"103":206,"83":41984,"24":34,"16":14278558646009856,"45":1817695061466732544},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552806656001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:06:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14278558646009856,"km_value":14278558646009.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817695061466732544,"description":"Unknown IO ID 45"} 
[2026-08-21 18:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552806656001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1817695061466732544}} 
[2026-08-21 18:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:06:07] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:06:07] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:06:38] local.INFO: TCP Data received {"connection_id":161788,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02451f4d0012d19acc007208f18003000b829..."} 
[2026-08-21 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02451f4d0012d19acc007208f18003000b829..."} 
[2026-08-21 18:06:38] local.INFO: Processing buffer {"connection_id":161788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02451f4d0012d19acc007208f18003000b829..."} 
[2026-08-21 18:06:38] local.INFO: Packet analysis {"connection_id":161788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:06:38] local.INFO: Extracted packet for processing {"connection_id":161788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119574296,"longitude_deg":75.6657344,"latitude_deg":11.9574296,"altitude":48,"angle":184,"satellites":41,"speed":23,"hex_longitude":"2d19acc0","hex_latitude":"07208f18","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552830464001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14280465611489280,"note":"Value kept but may cause issues"} 
[2026-08-21 18:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527507175424,"note":"Value kept but may cause issues"} 
[2026-08-21 18:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315746000,"timestamp_ms":1787315746000,"timestamp_seconds":1787315746,"priority":1,"record_length":96,"hex_timestamp":"000001a02451f4d0"} 
[2026-08-21 18:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 18:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552830464001,"66":14363,"103":206,"83":41984,"24":23,"16":14280465611489280,"45":1850416527507175424},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552830464001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:06:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14280465611489280,"km_value":14280465611489.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527507175424,"description":"Unknown IO ID 45"} 
[2026-08-21 18:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552830464001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1850416527507175424}} 
[2026-08-21 18:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":161788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:06:38] local.INFO: GPS data processed {"connection_id":161788,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:06:38] local.INFO: Acknowledgment sent {"connection_id":161788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:07:02] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:02] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:02] local.INFO: IMEI packet received {"connection_id":159230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":159230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:07:04] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:04] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:04] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:07:06] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:06] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:06] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:07:06] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:06] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:06] local.INFO: IMEI packet received {"connection_id":159230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":159230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:07:07] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:07] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:07:07] local.INFO: IMEI packet received {"connection_id":159230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":159230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:07:07] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02451aa98012db403800548bd50002101132a..."} 
[2026-08-21 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02451aa98012db403800548bd50002101132a..."} 
[2026-08-21 18:07:07] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02451aa98012db403800548bd50002101132a..."} 
[2026-08-21 18:07:07] local.INFO: Packet analysis {"connection_id":159230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:07] local.INFO: Extracted packet for processing {"connection_id":159230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":766772096,"raw_latitude":88653136,"longitude_deg":76.6772096,"latitude_deg":8.8653136,"altitude":33,"angle":275,"satellites":42,"speed":56,"hex_longitude":"2db40380","hex_latitude":"0548bd50","is_valid_coordinates":true} 
[2026-08-21 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552824320001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388493226580901888,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5464203331444828160,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787315727000,"timestamp_ms":1787315727000,"timestamp_seconds":1787315727,"priority":1,"record_length":96,"hex_timestamp":"000001a02451aa98"} 
[2026-08-21 18:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 18:07:07] 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-08-21 18:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552824320001,"66":27908,"57":206,"84":5376,"24":56,"16":388493226580901888,"45":-5464203331444828160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-21 18:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552824320001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:07:07] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-21 18:07:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388493226580901888,"km_value":388493226580901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5464203331444828160,"description":"Unknown IO ID 45"} 
[2026-08-21 18:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552824320001,"power":27908,"unknown_57":206,"unknown_84":5376,"ignition":56,"odometer":null,"unknown_45":-5464203331444828160}} 
[2026-08-21 18:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":159230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:07:07] local.INFO: GPS data processed {"connection_id":159230,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:07:07] local.INFO: Acknowledgment sent {"connection_id":159230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:07:11] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:11] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:11] local.INFO: IMEI packet received {"connection_id":160409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":160409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:07:12] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02451f8b8012d19acc007208cc8003000ac29..."} 
[2026-08-21 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02451f8b8012d19acc007208cc8003000ac29..."} 
[2026-08-21 18:07:12] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02451f8b8012d19acc007208cc8003000ac29..."} 
[2026-08-21 18:07:12] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:12] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119573704,"longitude_deg":75.6657344,"latitude_deg":11.9573704,"altitude":48,"angle":172,"satellites":41,"speed":23,"hex_longitude":"2d19acc0","hex_latitude":"07208cc8","is_valid_coordinates":true} 
[2026-08-21 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552830976001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14280495676260352,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785984000,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787315747000,"timestamp_ms":1787315747000,"timestamp_seconds":1787315747,"priority":1,"record_length":96,"hex_timestamp":"000001a02451f8b8"} 
[2026-08-21 18:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 18:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552830976001,"66":14363,"103":206,"83":41984,"24":23,"16":14280495676260352,"45":1850064683785984000},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552830976001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14280495676260352,"km_value":14280495676260.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785984000,"description":"Unknown IO ID 45"} 
[2026-08-21 18:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552830976001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1850064683785984000}} 
[2026-08-21 18:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:07:12] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:07:12] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:07:12] local.INFO: TCP Data received {"connection_id":159230,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02451c5f0012db3dd800548c0980023011329..."} 
[2026-08-21 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02451c5f0012db3dd800548c0980023011329..."} 
[2026-08-21 18:07:12] local.INFO: Processing buffer {"connection_id":159230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02451c5f0012db3dd800548c0980023011329..."} 
[2026-08-21 18:07:12] local.INFO: Packet analysis {"connection_id":159230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:12] local.INFO: Extracted packet for processing {"connection_id":159230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":766762368,"raw_latitude":88653976,"longitude_deg":76.6762368,"latitude_deg":8.8653976,"altitude":35,"angle":275,"satellites":41,"speed":54,"hex_longitude":"2db3dd80","hex_latitude":"0548c098","is_valid_coordinates":true} 
[2026-08-21 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552826112001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388493694732337152,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5475391961768833024,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787315734000,"timestamp_ms":1787315734000,"timestamp_seconds":1787315734,"priority":1,"record_length":96,"hex_timestamp":"000001a02451c5f0"} 
[2026-08-21 18:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552826112001,"66":27800,"57":206,"84":5376,"24":54,"16":388493694732337152,"45":-5475391961768833024},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,84,24,16,45]} 
[2026-08-21 18:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552826112001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":5376,"description":"Unknown IO ID 84"} 
[2026-08-21 18:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388493694732337152,"km_value":388493694732337.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5475391961768833024,"description":"Unknown IO ID 45"} 
[2026-08-21 18:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552826112001,"power":27800,"unknown_57":206,"unknown_84":5376,"ignition":54,"odometer":null,"unknown_45":-5475391961768833024}} 
[2026-08-21 18:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":159230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:07:12] local.INFO: GPS data processed {"connection_id":159230,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:07:12] local.INFO: Acknowledgment sent {"connection_id":159230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:07:27] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:07:27] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:07:27] local.INFO: IMEI packet received {"connection_id":161789,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":161789,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:07:28] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02451b650012d82830005d34868000b00ad1b..."} 
[2026-08-21 18:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02451b650012d82830005d34868000b00ad1b..."} 
[2026-08-21 18:07:28] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02451b650012d82830005d34868000b00ad1b..."} 
[2026-08-21 18:07:28] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:28] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":97732712,"longitude_deg":76.3527936,"latitude_deg":9.7732712,"altitude":11,"angle":173,"satellites":27,"speed":8,"hex_longitude":"2d828300","hex_latitude":"05d34868","is_valid_coordinates":true} 
[2026-08-21 18:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552826624001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121823465996025856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042524339298557952,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787315730000,"timestamp_ms":1787315730000,"timestamp_seconds":1787315730,"priority":1,"record_length":96,"hex_timestamp":"000001a02451b650"} 
[2026-08-21 18:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 18:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552826624001,"66":13189,"68":206,"85":15104,"24":8,"16":121823465996025856,"45":-9042524339298557952},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552826624001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121823465996025856,"km_value":121823465996025.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042524339298557952,"description":"Unknown IO ID 45"} 
[2026-08-21 18:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552826624001,"power":13189,"unknown_68":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9042524339298557952}} 
[2026-08-21 18:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:07:28] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:07:28] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:07:43] local.INFO: TCP Data received {"connection_id":160409,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024521028012d19af0007207ec8002f00a029..."} 
[2026-08-21 18:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024521028012d19af0007207ec8002f00a029..."} 
[2026-08-21 18:07:43] local.INFO: Processing buffer {"connection_id":160409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024521028012d19af0007207ec8002f00a029..."} 
[2026-08-21 18:07:43] local.INFO: Packet analysis {"connection_id":160409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:07:43] local.INFO: Extracted packet for processing {"connection_id":160409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119570120,"longitude_deg":75.665792,"latitude_deg":11.957012,"altitude":47,"angle":160,"satellites":41,"speed":24,"hex_longitude":"2d19af00","hex_latitude":"07207ec8","is_valid_coordinates":true} 
[2026-08-21 18:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552831232001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14280671769919488,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785832448,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787315753000,"timestamp_ms":1787315753000,"timestamp_seconds":1787315753,"priority":1,"record_length":96,"hex_timestamp":"000001a024521028"} 
[2026-08-21 18:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 18:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552831232001,"66":14363,"103":206,"83":41984,"24":24,"16":14280671769919488,"45":1850064683785832448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552831232001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:07:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:07:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14280671769919488,"km_value":14280671769919.488,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785832448,"description":"Unknown IO ID 45"} 
[2026-08-21 18:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552831232001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1850064683785832448}} 
[2026-08-21 18:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":160409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:07:43] local.INFO: GPS data processed {"connection_id":160409,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:07:43] local.INFO: Acknowledgment sent {"connection_id":160409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:07:59] local.INFO: TCP Data received {"connection_id":161789,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02451fca0012d82838005d324e0000800b01d..."} 
[2026-08-21 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02451fca0012d82838005d324e0000800b01d..."} 
[2026-08-21 18:07:59] local.INFO: Processing buffer {"connection_id":161789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02451fca0012d82838005d324e0000800b01d..."} 
[2026-08-21 18:07:59] local.INFO: Packet analysis {"connection_id":161789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:59] local.INFO: Extracted packet for processing {"connection_id":161789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02451"} 
[2026-08-21 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763528064,"raw_latitude":97723616,"longitude_deg":76.3528064,"latitude_deg":9.7723616,"altitude":8,"angle":176,"satellites":29,"speed":15,"hex_longitude":"2d828380","hex_latitude":"05d324e0","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552826880001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121823908377657344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601810249728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787315748000,"timestamp_ms":1787315748000,"timestamp_seconds":1787315748,"priority":1,"record_length":96,"hex_timestamp":"000001a02451fca0"} 
[2026-08-21 18:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18: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-08-21 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 18:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161789,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552826880001,"66":13341,"68":206,"85":15104,"24":15,"16":121823908377657344,"45":-9042383601810249728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552826880001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:07:59] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121823908377657344,"km_value":121823908377657.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601810249728,"description":"Unknown IO ID 45"} 
[2026-08-21 18:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552826880001,"power":13341,"unknown_68":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":-9042383601810249728}} 
[2026-08-21 18:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":161789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:07:59] local.INFO: GPS data processed {"connection_id":161789,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:07:59] local.INFO: Acknowledgment sent {"connection_id":161789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:07:59] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:59] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:07:59] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:08:01] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:01] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:01] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:08:06] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:06] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:06] local.INFO: IMEI packet received {"connection_id":161790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":161790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:08:07] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245242f0012d19b9c007205f50002d00ac28..."} 
[2026-08-21 18:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245242f0012d19b9c007205f50002d00ac28..."} 
[2026-08-21 18:08:07] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245242f0012d19b9c007205f50002d00ac28..."} 
[2026-08-21 18:08:07] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:07] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756660672,"raw_latitude":119562064,"longitude_deg":75.6660672,"latitude_deg":11.9562064,"altitude":45,"angle":172,"satellites":40,"speed":29,"hex_longitude":"2d19b9c0","hex_latitude":"07205f50","is_valid_coordinates":true} 
[2026-08-21 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552832768001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14281084086779904,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002482513920,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787315766000,"timestamp_ms":1787315766000,"timestamp_seconds":1787315766,"priority":1,"record_length":96,"hex_timestamp":"000001a0245242f0"} 
[2026-08-21 18:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 18:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552832768001,"66":14004,"103":206,"83":41984,"24":29,"16":14281084086779904,"45":1850698002482513920},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552832768001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:08:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14281084086779904,"km_value":14281084086779.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002482513920,"description":"Unknown IO ID 45"} 
[2026-08-21 18:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552832768001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1850698002482513920}} 
[2026-08-21 18:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:08:07] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:08:07] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:08:08] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:08] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:08] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:08:08] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:08] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:08] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:08:14] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:14] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:14] local.INFO: IMEI packet received {"connection_id":160410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":160410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:08:27] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:08:27] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:08:27] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:08:32] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:08:32] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:08:32] local.INFO: IMEI packet received {"connection_id":161791,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":161791,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:08:32] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024523b20012d82840005d304b8000700a51c..."} 
[2026-08-21 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024523b20012d82840005d304b8000700a51c..."} 
[2026-08-21 18:08:32] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024523b20012d82840005d304b8000700a51c..."} 
[2026-08-21 18:08:32] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:32] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":763528192,"raw_latitude":97715384,"longitude_deg":76.3528192,"latitude_deg":9.7715384,"altitude":7,"angle":165,"satellites":28,"speed":17,"hex_longitude":"2d828400","hex_latitude":"05d304b8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552831488001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121824312104583168,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042242864324222976,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787315764000,"timestamp_ms":1787315764000,"timestamp_seconds":1787315764,"priority":1,"record_length":96,"hex_timestamp":"000001a024523b20"} 
[2026-08-21 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-08-21 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 18:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 18:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552831488001,"66":13222,"68":206,"85":15104,"24":17,"16":121824312104583168,"45":-9042242864324222976},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552831488001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:08:32] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:08:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121824312104583168,"km_value":121824312104583.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042242864324222976,"description":"Unknown IO ID 45"} 
[2026-08-21 18:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552831488001,"power":13222,"unknown_68":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9042242864324222976}} 
[2026-08-21 18:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:08:33] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:08:33] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:08:35] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024528d28012d82850005d30108000600a81a..."} 
[2026-08-21 18:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024528d28012d82850005d30108000600a81a..."} 
[2026-08-21 18:08:35] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024528d28012d82850005d30108000600a81a..."} 
[2026-08-21 18:08:35] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:35] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":97714440,"longitude_deg":76.3528448,"latitude_deg":9.771444,"altitude":6,"angle":168,"satellites":26,"speed":0,"hex_longitude":"2d828500","hex_latitude":"05d30108","is_valid_coordinates":true} 
[2026-08-21 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552835584001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121824359349223424,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042102126837975040,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787315785000,"timestamp_ms":1787315785000,"timestamp_seconds":1787315785,"priority":1,"record_length":96,"hex_timestamp":"000001a024528d28"} 
[2026-08-21 18:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:08:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 18:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:08:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:08:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552835584001,"66":13037,"68":206,"85":15104,"24":0,"16":121824359349223424,"45":-9042102126837975040},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552835584001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:08:35] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:08:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121824359349223424,"km_value":121824359349223.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:08:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042102126837975040,"description":"Unknown IO ID 45"} 
[2026-08-21 18:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552835584001,"power":13037,"unknown_68":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9042102126837975040}} 
[2026-08-21 18:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:08:35] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:08:35] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:08:38] local.INFO: TCP Data received {"connection_id":161790,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02453e8d0012d19df4007200a10003201272a..."} 
[2026-08-21 18:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02453e8d0012d19df4007200a10003201272a..."} 
[2026-08-21 18:08:38] local.INFO: Processing buffer {"connection_id":161790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02453e8d0012d19df4007200a10003201272a..."} 
[2026-08-21 18:08:38] local.INFO: Packet analysis {"connection_id":161790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02453"} 
[2026-08-21 18:08:38] local.INFO: Extracted packet for processing {"connection_id":161790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02453"} 
[2026-08-21 18:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756670272,"raw_latitude":119540240,"longitude_deg":75.6670272,"latitude_deg":11.954024,"altitude":50,"angle":295,"satellites":42,"speed":8,"hex_longitude":"2d19df40","hex_latitude":"07200a10","is_valid_coordinates":true} 
[2026-08-21 18:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552863488001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14282342512197632,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864560645077848064,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315874000,"timestamp_ms":1787315874000,"timestamp_seconds":1787315874,"priority":1,"record_length":96,"hex_timestamp":"000001a02453e8d0"} 
[2026-08-21 18:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 18:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552863488001,"66":13493,"101":206,"83":41984,"24":8,"16":14282342512197632,"45":1864560645077848064},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 18:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552863488001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:08:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 18:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14282342512197632,"km_value":14282342512197.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864560645077848064,"description":"Unknown IO ID 45"} 
[2026-08-21 18:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552863488001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1864560645077848064}} 
[2026-08-21 18:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":161790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:08:38] local.INFO: GPS data processed {"connection_id":161790,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:08:38] local.INFO: Acknowledgment sent {"connection_id":161790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:08:40] local.INFO: TCP Data received {"connection_id":160410,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02452e700012db244800548e880002301102b..."} 
[2026-08-21 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02452e700012db244800548e880002301102b..."} 
[2026-08-21 18:08:40] local.INFO: Processing buffer {"connection_id":160410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02452e700012db244800548e880002301102b..."} 
[2026-08-21 18:08:40] local.INFO: Packet analysis {"connection_id":160410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:40] local.INFO: Extracted packet for processing {"connection_id":160410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02452"} 
[2026-08-21 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":766657664,"raw_latitude":88664192,"longitude_deg":76.6657664,"latitude_deg":8.8664192,"altitude":35,"angle":272,"satellites":43,"speed":62,"hex_longitude":"2db24480","hex_latitude":"0548e880","is_valid_coordinates":true} 
[2026-08-21 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552845312001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388498737023942656,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5591007808450037760,"note":"Value kept but may cause issues"} 
[2026-08-21 18:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787315808000,"timestamp_ms":1787315808000,"timestamp_seconds":1787315808,"priority":1,"record_length":96,"hex_timestamp":"000001a02452e700"} 
[2026-08-21 18:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552845312001,"66":27843,"95":206,"84":6400,"24":62,"16":388498737023942656,"45":-5591007808450037760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-21 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552845312001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388498737023942656,"km_value":388498737023942.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5591007808450037760,"description":"Unknown IO ID 45"} 
[2026-08-21 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552845312001,"power":27843,"unknown_95":206,"unknown_84":6400,"ignition":62,"odometer":null,"unknown_45":-5591007808450037760}} 
[2026-08-21 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":160410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:08:40] local.INFO: GPS data processed {"connection_id":160410,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:08:40] local.INFO: Acknowledgment sent {"connection_id":160410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:08:57] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:57] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:57] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:08:57] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:57] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:08:57] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:08:59] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:59] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:08:59] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:09:01] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:01] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:01] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:09:02] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:02] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:02] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:09:04] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:09:04] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:09:04] local.INFO: IMEI packet received {"connection_id":160411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":160411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:09:06] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:06] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:09:06] local.INFO: IMEI packet received {"connection_id":161792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":161792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:09:06] local.INFO: TCP Data received {"connection_id":161791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024548128012d8297c005d24358000600b51c..."} 
[2026-08-21 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024548128012d8297c005d24358000600b51c..."} 
[2026-08-21 18:09:06] local.INFO: Processing buffer {"connection_id":161791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024548128012d8297c005d24358000600b51c..."} 
[2026-08-21 18:09:06] local.INFO: Packet analysis {"connection_id":161791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:06] local.INFO: Extracted packet for processing {"connection_id":161791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763533248,"raw_latitude":97665880,"longitude_deg":76.3533248,"latitude_deg":9.766588,"altitude":6,"angle":181,"satellites":28,"speed":28,"hex_longitude":"2d8297c0","hex_latitude":"05d24358","is_valid_coordinates":true} 
[2026-08-21 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552870144001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121826743056072704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683500099584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787315913000,"timestamp_ms":1787315913000,"timestamp_seconds":1787315913,"priority":1,"record_length":96,"hex_timestamp":"000001a024548128"} 
[2026-08-21 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 18:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161791,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552870144001,"66":13091,"68":206,"85":15104,"24":28,"16":121826743056072704,"45":-9037246683500099584},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552870144001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:09:06] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121826743056072704,"km_value":121826743056072.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683500099584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552870144001,"power":13091,"unknown_68":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9037246683500099584}} 
[2026-08-21 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":161791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:09:06] local.INFO: GPS data processed {"connection_id":161791,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:09:06] local.INFO: Acknowledgment sent {"connection_id":161791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:09:07] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02453ecb8012db0c4400548aa18001a01102a..."} 
[2026-08-21 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02453ecb8012db0c4400548aa18001a01102a..."} 
[2026-08-21 18:09:07] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02453ecb8012db0c4400548aa18001a01102a..."} 
[2026-08-21 18:09:07] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02453"} 
[2026-08-21 18:09:07] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02453"} 
[2026-08-21 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":766559296,"raw_latitude":88648216,"longitude_deg":76.6559296,"latitude_deg":8.8648216,"altitude":26,"angle":272,"satellites":42,"speed":58,"hex_longitude":"2db0c440","hex_latitude":"0548aa18","is_valid_coordinates":true} 
[2026-08-21 18:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552862208001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388503594631954432,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5697968299604144128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787315875000,"timestamp_ms":1787315875000,"timestamp_seconds":1787315875,"priority":1,"record_length":96,"hex_timestamp":"000001a02453ecb8"} 
[2026-08-21 18:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:09:07] 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-08-21 18:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552862208001,"66":27865,"78":206,"84":6400,"24":58,"16":388503594631954432,"45":-5697968299604144128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552862208001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388503594631954432,"km_value":388503594631954.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5697968299604144128,"description":"Unknown IO ID 45"} 
[2026-08-21 18:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552862208001,"power":27865,"unknown_78":206,"unknown_84":6400,"ignition":58,"odometer":null,"unknown_45":-5697968299604144128}} 
[2026-08-21 18:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:09:07] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:09:07] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:09:07] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02453ecb8012d19dec007200a88003201342a..."} 
[2026-08-21 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02453ecb8012d19dec007200a88003201342a..."} 
[2026-08-21 18:09:07] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02453ecb8012d19dec007200a88003201342a..."} 
[2026-08-21 18:09:07] local.INFO: Packet analysis {"connection_id":161792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02453"} 
[2026-08-21 18:09:07] local.INFO: Extracted packet for processing {"connection_id":161792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02453"} 
[2026-08-21 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540360,"longitude_deg":75.6670144,"latitude_deg":11.954036,"altitude":50,"angle":308,"satellites":42,"speed":8,"hex_longitude":"2d19dec0","hex_latitude":"07200a88","is_valid_coordinates":true} 
[2026-08-21 18:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552863744001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14282351102132224,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864279170101153792,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787315875000,"timestamp_ms":1787315875000,"timestamp_seconds":1787315875,"priority":1,"record_length":96,"hex_timestamp":"000001a02453ecb8"} 
[2026-08-21 18:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 18:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552863744001,"66":13493,"101":206,"83":41984,"24":8,"16":14282351102132224,"45":1864279170101153792},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 18:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552863744001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14282351102132224,"km_value":14282351102132.225,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864279170101153792,"description":"Unknown IO ID 45"} 
[2026-08-21 18:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552863744001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1864279170101153792}} 
[2026-08-21 18:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":161792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:09:07] local.INFO: GPS data processed {"connection_id":161792,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:09:07] local.INFO: Acknowledgment sent {"connection_id":161792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:09:21] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:09:21] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:09:21] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:09:26] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:09:26] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:09:26] local.INFO: IMEI packet received {"connection_id":160412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":160412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:09:27] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02454b3f0012d8296c005d21fc0000500b21d..."} 
[2026-08-21 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02454b3f0012d8296c005d21fc0000500b21d..."} 
[2026-08-21 18:09:27] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02454b3f0012d8296c005d21fc0000500b21d..."} 
[2026-08-21 18:09:27] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:27] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763532992,"raw_latitude":97656768,"longitude_deg":76.3532992,"latitude_deg":9.7656768,"altitude":5,"angle":178,"satellites":29,"speed":26,"hex_longitude":"2d8296c0","hex_latitude":"05d21fc0","is_valid_coordinates":true} 
[2026-08-21 18:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552873728001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121827185437704192,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996060612608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787315926000,"timestamp_ms":1787315926000,"timestamp_seconds":1787315926,"priority":1,"record_length":96,"hex_timestamp":"000001a02454b3f0"} 
[2026-08-21 18:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 18:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552873728001,"66":13363,"68":206,"85":15104,"24":26,"16":121827185437704192,"45":-9036542996060612608},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552873728001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:09:27] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121827185437704192,"km_value":121827185437704.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996060612608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552873728001,"power":13363,"unknown_68":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9036542996060612608}} 
[2026-08-21 18:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:09:27] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:09:27] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:09:38] local.INFO: TCP Data received {"connection_id":160411,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024540810012db09bc00548ad10001a01162a..."} 
[2026-08-21 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024540810012db09bc00548ad10001a01162a..."} 
[2026-08-21 18:09:38] local.INFO: Processing buffer {"connection_id":160411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024540810012db09bc00548ad10001a01162a..."} 
[2026-08-21 18:09:38] local.INFO: Packet analysis {"connection_id":160411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:38] local.INFO: Extracted packet for processing {"connection_id":160411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":766548928,"raw_latitude":88648976,"longitude_deg":76.6548928,"latitude_deg":8.8648976,"altitude":26,"angle":278,"satellites":42,"speed":59,"hex_longitude":"2db09bc0","hex_latitude":"0548ad10","is_valid_coordinates":true} 
[2026-08-21 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552864000001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388504092848160768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5709368036160825344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315882000,"timestamp_ms":1787315882000,"timestamp_seconds":1787315882,"priority":1,"record_length":96,"hex_timestamp":"000001a024540810"} 
[2026-08-21 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:09:38] 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-08-21 18:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552864000001,"66":27821,"80":206,"84":6400,"24":59,"16":388504092848160768,"45":-5709368036160825344},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552864000001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388504092848160768,"km_value":388504092848160.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5709368036160825344,"description":"Unknown IO ID 45"} 
[2026-08-21 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552864000001,"power":27821,"unknown_80":206,"unknown_84":6400,"ignition":59,"odometer":null,"unknown_45":-5709368036160825344}} 
[2026-08-21 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":160411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:09:38] local.INFO: GPS data processed {"connection_id":160411,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:09:38] local.INFO: Acknowledgment sent {"connection_id":160411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:09:38] local.INFO: TCP Data received {"connection_id":161792,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02454dee8012d19ba800720a688003600092a..."} 
[2026-08-21 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02454dee8012d19ba800720a688003600092a..."} 
[2026-08-21 18:09:38] local.INFO: Processing buffer {"connection_id":161792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02454dee8012d19ba800720a688003600092a..."} 
[2026-08-21 18:09:38] local.INFO: Packet analysis {"connection_id":161792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:38] local.INFO: Extracted packet for processing {"connection_id":161792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756660864,"raw_latitude":119580296,"longitude_deg":75.6660864,"latitude_deg":11.9580296,"altitude":54,"angle":9,"satellites":42,"speed":19,"hex_longitude":"2d19ba80","hex_latitude":"0720a688","is_valid_coordinates":true} 
[2026-08-21 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552879616001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14284515765649408,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853723858484627456,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315937000,"timestamp_ms":1787315937000,"timestamp_seconds":1787315937,"priority":1,"record_length":96,"hex_timestamp":"000001a02454dee8"} 
[2026-08-21 18:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2594073385533178880,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":36,"raw_value":6079296552048376896,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3204382720,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2325730976359081512,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":55,"raw_value":225917007875667,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755523995238641,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,191,160,195,45,64,152,53,42,10,66,187,147,41,183,128,1,240,28,227,36,32,4,113,205,140,181,80,40,239,54,2,50,7,49,29,55,164],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 18:09:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891134443399086080,"timestamp_seconds":3891134443399086.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552879616001,"66":12809,"103":206,"83":41984,"24":19,"16":14284515765649408,"45":1853723858484627456},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552879616001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14284515765649408,"km_value":14284515765649.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853723858484627456,"description":"Unknown IO ID 45"} 
[2026-08-21 18:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552879616001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1853723858484627456}} 
[2026-08-21 18:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":161792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:09:38] local.INFO: GPS data processed {"connection_id":161792,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:09:38] local.INFO: Acknowledgment sent {"connection_id":161792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:09:57] local.INFO: TCP Data received {"connection_id":160412,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02454e6b8012d82974005d1fcb0000400b21d..."} 
[2026-08-21 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02454e6b8012d82974005d1fcb0000400b21d..."} 
[2026-08-21 18:09:57] local.INFO: Processing buffer {"connection_id":160412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02454e6b8012d82974005d1fcb0000400b21d..."} 
[2026-08-21 18:09:57] local.INFO: Packet analysis {"connection_id":160412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:57] local.INFO: Extracted packet for processing {"connection_id":160412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97647792,"longitude_deg":76.353312,"latitude_deg":9.7647792,"altitude":4,"angle":178,"satellites":29,"speed":31,"hex_longitude":"2d829740","hex_latitude":"05d1fcb0","is_valid_coordinates":true} 
[2026-08-21 18:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552877056001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121827623524368384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036824471039655936,"note":"Value kept but may cause issues"} 
[2026-08-21 18:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787315939000,"timestamp_ms":1787315939000,"timestamp_seconds":1787315939,"priority":1,"record_length":96,"hex_timestamp":"000001a02454e6b8"} 
[2026-08-21 18:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 18:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552877056001,"66":13254,"63":206,"85":15104,"24":31,"16":121827623524368384,"45":-9036824471039655936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 18:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552877056001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:09:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 18:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121827623524368384,"km_value":121827623524368.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036824471039655936,"description":"Unknown IO ID 45"} 
[2026-08-21 18:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552877056001,"power":13254,"unknown_63":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9036824471039655936}} 
[2026-08-21 18:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":160412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677065,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:09:57] local.INFO: GPS data processed {"connection_id":160412,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:09:57] local.INFO: Acknowledgment sent {"connection_id":160412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:10:00] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:00] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:00] local.INFO: IMEI packet received {"connection_id":159514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":159514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:10:01] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:01] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:01] local.INFO: IMEI packet received {"connection_id":159514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":159514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:10:02] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:02] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:02] local.INFO: IMEI packet received {"connection_id":159513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":159513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:10:06] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:06] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:10:06] local.INFO: IMEI packet received {"connection_id":159514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":159514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:10:07] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02454e2d0012d19ba000720a8480036015929..."} 
[2026-08-21 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02454e2d0012d19ba000720a8480036015929..."} 
[2026-08-21 18:10:07] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02454e2d0012d19ba000720a8480036015929..."} 
[2026-08-21 18:10:07] local.INFO: Packet analysis {"connection_id":159514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:07] local.INFO: Extracted packet for processing {"connection_id":159514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119580744,"longitude_deg":75.6660736,"latitude_deg":11.9580744,"altitude":54,"angle":345,"satellites":41,"speed":18,"hex_longitude":"2d19ba00","hex_latitude":"0720a848","is_valid_coordinates":true} 
[2026-08-21 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552879872001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14284537240485888,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853934964717291520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787315938000,"timestamp_ms":1787315938000,"timestamp_seconds":1787315938,"priority":1,"record_length":96,"hex_timestamp":"000001a02454e2d0"} 
[2026-08-21 18:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2089670227267683328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755545470075121,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-720350023371403693,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":6089192156698359872,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2424832052,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3208773632,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2334351147520842536,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,191,160,219,45,192,164,54,41,10,66,195,64,152,53,42,187,1,240,182,227,36,32,4,113,205,29,168,174,56,239,2,50,7,49,34,255],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 18:10:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891120154042630144,"timestamp_seconds":3891120154042630.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552879872001,"66":12602,"103":206,"83":41984,"24":18,"16":14284537240485888,"45":1853934964717291520},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552879872001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:10:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14284537240485888,"km_value":14284537240485.889,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853934964717291520,"description":"Unknown IO ID 45"} 
[2026-08-21 18:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552879872001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1853934964717291520}} 
[2026-08-21 18:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":159514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:10:07] local.INFO: GPS data processed {"connection_id":159514,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:10:07] local.INFO: Acknowledgment sent {"connection_id":159514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:10:07] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:07] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:07] local.INFO: IMEI packet received {"connection_id":159513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":159513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:10:09] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024541b98012db07f800548b468001901222b..."} 
[2026-08-21 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024541b98012db07f800548b468001901222b..."} 
[2026-08-21 18:10:09] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024541b98012db07f800548b468001901222b..."} 
[2026-08-21 18:10:09] local.INFO: Packet analysis {"connection_id":159513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:09] local.INFO: Extracted packet for processing {"connection_id":159513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":766541696,"raw_latitude":88650856,"longitude_deg":76.6541696,"latitude_deg":8.8650856,"altitude":25,"angle":290,"satellites":43,"speed":59,"hex_longitude":"2db07f80","hex_latitude":"0548b468","is_valid_coordinates":true} 
[2026-08-21 18:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552865792001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388504453625413632,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5720767772717412352,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787315887000,"timestamp_ms":1787315887000,"timestamp_seconds":1787315887,"priority":1,"record_length":96,"hex_timestamp":"000001a024541b98"} 
[2026-08-21 18:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:10: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-08-21 18:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:10:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552865792001,"66":27865,"80":206,"84":6400,"24":59,"16":388504453625413632,"45":-5720767772717412352},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552865792001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388504453625413632,"km_value":388504453625413.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5720767772717412352,"description":"Unknown IO ID 45"} 
[2026-08-21 18:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552865792001,"power":27865,"unknown_80":206,"unknown_84":6400,"ignition":59,"odometer":null,"unknown_45":-5720767772717412352}} 
[2026-08-21 18:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":159513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:10:09] local.INFO: GPS data processed {"connection_id":159513,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:10:09] local.INFO: Acknowledgment sent {"connection_id":159513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:10:13] local.INFO: TCP Data received {"connection_id":159513,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024543308012db05e400548c140001701242c..."} 
[2026-08-21 18:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024543308012db05e400548c140001701242c..."} 
[2026-08-21 18:10:13] local.INFO: Processing buffer {"connection_id":159513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024543308012db05e400548c140001701242c..."} 
[2026-08-21 18:10:13] local.INFO: Packet analysis {"connection_id":159513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:13] local.INFO: Extracted packet for processing {"connection_id":159513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":766533184,"raw_latitude":88654144,"longitude_deg":76.6533184,"latitude_deg":8.8654144,"altitude":23,"angle":292,"satellites":44,"speed":59,"hex_longitude":"2db05e40","hex_latitude":"0548c140","is_valid_coordinates":true} 
[2026-08-21 18:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552867072001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388504887417110528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5728719440809007104,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787315893000,"timestamp_ms":1787315893000,"timestamp_seconds":1787315893,"priority":1,"record_length":96,"hex_timestamp":"000001a024543308"} 
[2026-08-21 18:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552867072001,"66":27865,"80":206,"84":6400,"24":59,"16":388504887417110528,"45":-5728719440809007104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552867072001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:10:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:10:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388504887417110528,"km_value":388504887417110.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5728719440809007104,"description":"Unknown IO ID 45"} 
[2026-08-21 18:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552867072001,"power":27865,"unknown_80":206,"unknown_84":6400,"ignition":59,"odometer":null,"unknown_45":-5728719440809007104}} 
[2026-08-21 18:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":159513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:10:13] local.INFO: GPS data processed {"connection_id":159513,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:10:13] local.INFO: Acknowledgment sent {"connection_id":159513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:10:22] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:22] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:22] local.INFO: IMEI packet received {"connection_id":159515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":159515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:10:23] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:23] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:23] local.INFO: IMEI packet received {"connection_id":159515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":159515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:10:27] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:27] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:10:27] local.INFO: IMEI packet received {"connection_id":159515,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":159515,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:10:28] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02455f058012d82b74005d160c0000400651d..."} 
[2026-08-21 18:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02455f058012d82b74005d160c0000400651d..."} 
[2026-08-21 18:10:28] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02455f058012d82b74005d160c0000400651d..."} 
[2026-08-21 18:10:28] local.INFO: Packet analysis {"connection_id":159515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:10:28] local.INFO: Extracted packet for processing {"connection_id":159515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97607872,"longitude_deg":76.3541312,"latitude_deg":9.7607872,"altitude":4,"angle":101,"satellites":29,"speed":45,"hex_longitude":"2d82b740","hex_latitude":"05d160c0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552895488001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121829934216773632,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035768939889412096,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316007000,"timestamp_ms":1787316007000,"timestamp_seconds":1787316007,"priority":1,"record_length":96,"hex_timestamp":"000001a02455f058"} 
[2026-08-21 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-08-21 18:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015630,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":63,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190917637,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147864949,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3541893120,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515600896,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,63,85,24,241,157,16,211,160,201,45,98,3,29,10,66,197,192,193,64,1,240,41,227,36,209,4,113,205,13,158,151,56,239,51,2,176,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-21 18:10:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216269663691931648,"timestamp_seconds":216269663691931.66,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 18:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552895488001,"66":12645,"63":206,"85":15104,"24":45,"16":121829934216773632,"45":-9035768939889412096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 18:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552895488001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:10:28] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 18:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121829934216773632,"km_value":121829934216773.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035768939889412096,"description":"Unknown IO ID 45"} 
[2026-08-21 18:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552895488001,"power":12645,"unknown_63":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9035768939889412096}} 
[2026-08-21 18:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":159515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:10:28] local.INFO: GPS data processed {"connection_id":159515,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:10:28] local.INFO: Acknowledgment sent {"connection_id":159515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:10:30] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024560bb0012d82da4005d15a70000400611d..."} 
[2026-08-21 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024560bb0012d82da4005d15a70000400611d..."} 
[2026-08-21 18:10:30] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024560bb0012d82da4005d15a70000400611d..."} 
[2026-08-21 18:10:30] local.INFO: Packet analysis {"connection_id":159515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:10:30] local.INFO: Extracted packet for processing {"connection_id":159515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763550272,"raw_latitude":97606256,"longitude_deg":76.3550272,"latitude_deg":9.7606256,"altitude":4,"angle":97,"satellites":29,"speed":54,"hex_longitude":"2d82da40","hex_latitude":"05d15a70","is_valid_coordinates":true} 
[2026-08-21 18:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552897792001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121830368008470528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534309076992,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787316014000,"timestamp_ms":1787316014000,"timestamp_seconds":1787316014,"priority":1,"record_length":96,"hex_timestamp":"000001a024560bb0"} 
[2026-08-21 18:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 18:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552897792001,"66":13059,"63":206,"85":15104,"24":54,"16":121830368008470528,"45":-9027676534309076992},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 18:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552897792001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:10:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 18:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121830368008470528,"km_value":121830368008470.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534309076992,"description":"Unknown IO ID 45"} 
[2026-08-21 18:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552897792001,"power":13059,"unknown_63":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":-9027676534309076992}} 
[2026-08-21 18:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":159515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677070,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:10:30] local.INFO: GPS data processed {"connection_id":159515,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:10:30] local.INFO: Acknowledgment sent {"connection_id":159515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:10:38] local.INFO: TCP Data received {"connection_id":159514,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02454e6b8012d19b9000720a9980037013829..."} 
[2026-08-21 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02454e6b8012d19b9000720a9980037013829..."} 
[2026-08-21 18:10:38] local.INFO: Processing buffer {"connection_id":159514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02454e6b8012d19b9000720a9980037013829..."} 
[2026-08-21 18:10:38] local.INFO: Packet analysis {"connection_id":159514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:38] local.INFO: Extracted packet for processing {"connection_id":159514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756660480,"raw_latitude":119581080,"longitude_deg":75.666048,"latitude_deg":11.958108,"altitude":55,"angle":312,"satellites":41,"speed":18,"hex_longitude":"2d19b900","hex_latitude":"0720a998","is_valid_coordinates":true} 
[2026-08-21 18:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552880128001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14284558715322368,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229050880,"note":"Value kept but may cause issues"} 
[2026-08-21 18:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315939000,"timestamp_ms":1787315939000,"timestamp_seconds":1787315939,"priority":1,"record_length":96,"hex_timestamp":"000001a02454e6b8"} 
[2026-08-21 18:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 18:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552880128001,"66":12602,"103":206,"83":41984,"24":18,"16":14284558715322368,"45":1853794227229050880},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552880128001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14284558715322368,"km_value":14284558715322.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229050880,"description":"Unknown IO ID 45"} 
[2026-08-21 18:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552880128001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1853794227229050880}} 
[2026-08-21 18:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":159514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:10:38] local.INFO: GPS data processed {"connection_id":159514,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:10:38] local.INFO: Acknowledgment sent {"connection_id":159514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:10:57] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:57] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:10:57] local.INFO: IMEI packet received {"connection_id":159231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":159231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:11:00] local.INFO: TCP Data received {"connection_id":159515,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024562708012d83030005d156e00006005d1d..."} 
[2026-08-21 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024562708012d83030005d156e00006005d1d..."} 
[2026-08-21 18:11:00] local.INFO: Processing buffer {"connection_id":159515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024562708012d83030005d156e00006005d1d..."} 
[2026-08-21 18:11:00] local.INFO: Packet analysis {"connection_id":159515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:11:00] local.INFO: Extracted packet for processing {"connection_id":159515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:11:00] local.INFO: GPS Element Parsed {"raw_longitude":763560704,"raw_latitude":97605344,"longitude_deg":76.3560704,"latitude_deg":9.7605344,"altitude":6,"angle":93,"satellites":29,"speed":58,"hex_longitude":"2d830300","hex_latitude":"05d156e0","is_valid_coordinates":true} 
[2026-08-21 18:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552899584001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121830870519644160,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9017824910124617728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787316021000,"timestamp_ms":1787316021000,"timestamp_seconds":1787316021,"priority":1,"record_length":96,"hex_timestamp":"000001a024562708"} 
[2026-08-21 18:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:11: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-08-21 18:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303159355428174,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":63,"raw_value":58077557095399437,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190983173,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3545300992,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3513001984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,63,85,24,241,157,16,212,160,240,45,64,96,4,29,10,66,211,205,128,98,3,201,1,124,227,36,209,113,9,193,151,239,50,2,176,5,13],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-21 18:11:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288337153337196544,"timestamp_seconds":288337153337196.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159515,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552899584001,"66":13037,"63":206,"85":15104,"24":58,"16":121830870519644160,"45":-9017824910124617728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 18:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552899584001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:11:00] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 18:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121830870519644160,"km_value":121830870519644.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9017824910124617728,"description":"Unknown IO ID 45"} 
[2026-08-21 18:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552899584001,"power":13037,"unknown_63":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":-9017824910124617728}} 
[2026-08-21 18:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":159515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:11:00] local.INFO: GPS data processed {"connection_id":159515,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:11:00] local.INFO: Acknowledgment sent {"connection_id":159515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:11:01] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:01] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:01] local.INFO: IMEI packet received {"connection_id":159232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":159232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:11:02] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:11:02] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:11:02] local.INFO: IMEI packet received {"connection_id":159231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":159231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:11:03] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024557358012daf43c005490c780011011c2d..."} 
[2026-08-21 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024557358012daf43c005490c780011011c2d..."} 
[2026-08-21 18:11:03] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024557358012daf43c005490c780011011c2d..."} 
[2026-08-21 18:11:03] local.INFO: Packet analysis {"connection_id":159231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:11:03] local.INFO: Extracted packet for processing {"connection_id":159231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:11:03] local.INFO: GPS Element Parsed {"raw_longitude":766460864,"raw_latitude":88673400,"longitude_deg":76.6460864,"latitude_deg":8.86734,"altitude":17,"angle":284,"satellites":45,"speed":12,"hex_longitude":"2daf43c0","hex_latitude":"05490c78","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552884224001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388508499484606464,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5811895296421627904,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787315975000,"timestamp_ms":1787315975000,"timestamp_seconds":1787315975,"priority":1,"record_length":96,"hex_timestamp":"000001a024557358"} 
[2026-08-21 18:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 18:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552884224001,"66":27658,"80":206,"84":6400,"24":12,"16":388508499484606464,"45":-5811895296421627904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552884224001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:11:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:11:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388508499484606464,"km_value":388508499484606.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5811895296421627904,"description":"Unknown IO ID 45"} 
[2026-08-21 18:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552884224001,"power":27658,"unknown_80":206,"unknown_84":6400,"ignition":12,"odometer":null,"unknown_45":-5811895296421627904}} 
[2026-08-21 18:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":159231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:11:03] local.INFO: GPS data processed {"connection_id":159231,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:11:03] local.INFO: Acknowledgment sent {"connection_id":159231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:11:03] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:03] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:03] local.INFO: IMEI packet received {"connection_id":159232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":159232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:11:06] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:06] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:11:06] local.INFO: IMEI packet received {"connection_id":159232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":159232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:11:06] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02454eaa0012d19b7400720aa900037012929..."} 
[2026-08-21 18:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02454eaa0012d19b7400720aa900037012929..."} 
[2026-08-21 18:11:06] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02454eaa0012d19b7400720aa900037012929..."} 
[2026-08-21 18:11:06] local.INFO: Packet analysis {"connection_id":159232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:11:06] local.INFO: Extracted packet for processing {"connection_id":159232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02454"} 
[2026-08-21 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119581328,"longitude_deg":75.6660032,"latitude_deg":11.9581328,"altitude":55,"angle":297,"satellites":41,"speed":21,"hex_longitude":"2d19b740","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-08-21 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552880384001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14284584485126144,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853512752252426240,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787315940000,"timestamp_ms":1787315940000,"timestamp_seconds":1787315940,"priority":1,"record_length":96,"hex_timestamp":"000001a02454eaa0"} 
[2026-08-21 18:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 18:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552880384001,"66":12711,"103":206,"83":41984,"24":21,"16":14284584485126144,"45":1853512752252426240},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552880384001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:11:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14284584485126144,"km_value":14284584485126.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853512752252426240,"description":"Unknown IO ID 45"} 
[2026-08-21 18:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552880384001,"power":12711,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853512752252426240}} 
[2026-08-21 18:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":159232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:11:07] local.INFO: GPS data processed {"connection_id":159232,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:11:07] local.INFO: Acknowledgment sent {"connection_id":159232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:11:22] local.INFO: TCP Data received {"connection_id":159516,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:11:22] local.INFO: Processing buffer {"connection_id":159516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:11:22] local.INFO: IMEI packet received {"connection_id":159516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":159516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:11:26] local.INFO: TCP Data received {"connection_id":159516,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159516,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:11:26] local.INFO: Processing buffer {"connection_id":159516,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:11:26] local.INFO: IMEI packet received {"connection_id":159516,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":159516,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:11:27] local.INFO: TCP Data received {"connection_id":159516,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024564260012d8326c005d154500005005b1d..."} 
[2026-08-21 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024564260012d8326c005d154500005005b1d..."} 
[2026-08-21 18:11:27] local.INFO: Processing buffer {"connection_id":159516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024564260012d8326c005d154500005005b1d..."} 
[2026-08-21 18:11:27] local.INFO: Packet analysis {"connection_id":159516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:11:27] local.INFO: Extracted packet for processing {"connection_id":159516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763569856,"raw_latitude":97604688,"longitude_deg":76.3569856,"latitude_deg":9.7604688,"altitude":5,"angle":91,"satellites":29,"speed":43,"hex_longitude":"2d8326c0","hex_latitude":"05d15450","is_valid_coordinates":true} 
[2026-08-21 18:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552901376001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121831308606308352,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9006354804823891968,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787316028000,"timestamp_ms":1787316028000,"timestamp_seconds":1787316028,"priority":1,"record_length":96,"hex_timestamp":"000001a024564260"} 
[2026-08-21 18:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-08-21 18:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552901376001,"66":13037,"63":206,"85":15104,"24":43,"16":121831308606308352,"45":-9006354804823891968},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 18:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552901376001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:11:27] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 18:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121831308606308352,"km_value":121831308606308.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9006354804823891968,"description":"Unknown IO ID 45"} 
[2026-08-21 18:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552901376001,"power":13037,"unknown_63":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9006354804823891968}} 
[2026-08-21 18:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677075,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:11:27] local.INFO: GPS data processed {"connection_id":159516,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:11:27] local.INFO: Acknowledgment sent {"connection_id":159516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:11:34] local.INFO: TCP Data received {"connection_id":159231,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02455aa08012daf32c005491118001801292c..."} 
[2026-08-21 18:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02455aa08012daf32c005491118001801292c..."} 
[2026-08-21 18:11:34] local.INFO: Processing buffer {"connection_id":159231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02455aa08012daf32c005491118001801292c..."} 
[2026-08-21 18:11:34] local.INFO: Packet analysis {"connection_id":159231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:11:34] local.INFO: Extracted packet for processing {"connection_id":159231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:11:34] local.INFO: GPS Element Parsed {"raw_longitude":766456512,"raw_latitude":88674584,"longitude_deg":76.6456512,"latitude_deg":8.8674584,"altitude":24,"angle":297,"satellites":44,"speed":10,"hex_longitude":"2daf32c0","hex_latitude":"05491118","is_valid_coordinates":true} 
[2026-08-21 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552889600001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388508714232971264,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5817595164699625472,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787315989000,"timestamp_ms":1787315989000,"timestamp_seconds":1787315989,"priority":1,"record_length":96,"hex_timestamp":"000001a02455aa08"} 
[2026-08-21 18:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:11: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-08-21 18:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 18:11:34] 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-08-21 18:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552889600001,"66":27995,"80":206,"84":6400,"24":10,"16":388508714232971264,"45":-5817595164699625472},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552889600001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:11:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:11:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388508714232971264,"km_value":388508714232971.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5817595164699625472,"description":"Unknown IO ID 45"} 
[2026-08-21 18:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552889600001,"power":27995,"unknown_80":206,"unknown_84":6400,"ignition":10,"odometer":null,"unknown_45":-5817595164699625472}} 
[2026-08-21 18:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":159231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:11:34] local.INFO: GPS data processed {"connection_id":159231,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:11:34] local.INFO: Acknowledgment sent {"connection_id":159231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:11:38] local.INFO: TCP Data received {"connection_id":159232,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024550210012d19a8c00720afd0003a011926..."} 
[2026-08-21 18:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024550210012d19a8c00720afd0003a011926..."} 
[2026-08-21 18:11:38] local.INFO: Processing buffer {"connection_id":159232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024550210012d19a8c00720afd0003a011926..."} 
[2026-08-21 18:11:38] local.INFO: Packet analysis {"connection_id":159232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:11:38] local.INFO: Extracted packet for processing {"connection_id":159232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":119582672,"longitude_deg":75.665632,"latitude_deg":11.9582672,"altitude":58,"angle":281,"satellites":38,"speed":26,"hex_longitude":"2d19a8c0","hex_latitude":"0720afd0","is_valid_coordinates":true} 
[2026-08-21 18:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552880640001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14284773463687168,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171043246080,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315946000,"timestamp_ms":1787315946000,"timestamp_seconds":1787315946,"priority":1,"record_length":96,"hex_timestamp":"000001a024550210"} 
[2026-08-21 18:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-21 18:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552880640001,"66":12602,"103":206,"83":41984,"24":26,"16":14284773463687168,"45":1853020171043246080},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552880640001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:11:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14284773463687168,"km_value":14284773463687.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171043246080,"description":"Unknown IO ID 45"} 
[2026-08-21 18:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552880640001,"power":12602,"unknown_103":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1853020171043246080}} 
[2026-08-21 18:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:11:38] local.INFO: GPS data processed {"connection_id":159232,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:11:38] local.INFO: Acknowledgment sent {"connection_id":159232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:11:57] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:11:57] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:11:57] local.INFO: IMEI packet received {"connection_id":159517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":159517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:11:58] local.INFO: TCP Data received {"connection_id":159516,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024573c60012d82e20005d15838000901161e..."} 
[2026-08-21 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024573c60012d82e20005d15838000901161e..."} 
[2026-08-21 18:11:58] local.INFO: Processing buffer {"connection_id":159516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024573c60012d82e20005d15838000901161e..."} 
[2026-08-21 18:11:58] local.INFO: Packet analysis {"connection_id":159516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:11:58] local.INFO: Extracted packet for processing {"connection_id":159516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763552256,"raw_latitude":97605688,"longitude_deg":76.3552256,"latitude_deg":9.7605688,"altitude":9,"angle":278,"satellites":30,"speed":48,"hex_longitude":"2d82e200","hex_latitude":"05d15838","is_valid_coordinates":true} 
[2026-08-21 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552917504001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121832622866300928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9005369642405480448,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787316092000,"timestamp_ms":1787316092000,"timestamp_seconds":1787316092,"priority":1,"record_length":96,"hex_timestamp":"000001a024573c60"} 
[2026-08-21 18:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201255941,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":209,"raw_value":5778118351991086336,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3489738115,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221606738,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941326,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3576889344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":80,"raw_value":57788402729112891,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.WARNING: Large IO value detected {"io_id":86,"raw_value":6753148936228585477,"note":"Value kept but may cause issues"} 
[2026-08-21 18:11:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,63,85,24,241,157,16,213,160,238,45,83,9,30,10,66,226,192,82,222,128,1,240,227,36,209,4,113,205,3,214,52,168,239,51,2,176,5,80,86],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-08-21 18:11:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720878430633656320,"timestamp_seconds":720878430633656.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159516,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552917504001,"66":13135,"63":206,"85":15104,"24":48,"16":121832622866300928,"45":-9005369642405480448},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 18:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552917504001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:11:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 18:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121832622866300928,"km_value":121832622866300.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9005369642405480448,"description":"Unknown IO ID 45"} 
[2026-08-21 18:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552917504001,"power":13135,"unknown_63":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9005369642405480448}} 
[2026-08-21 18:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":159516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:11:58] local.INFO: GPS data processed {"connection_id":159516,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:11:58] local.INFO: Acknowledgment sent {"connection_id":159516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:12:01] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:12:01] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:12:01] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:12:02] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:02] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:02] local.INFO: IMEI packet received {"connection_id":159517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":159517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:12:06] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:12:06] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:12:06] local.INFO: IMEI packet received {"connection_id":161793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":161793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:12:07] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245534d8012d198f000720b2b8003e010929..."} 
[2026-08-21 18:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245534d8012d198f000720b2b8003e010929..."} 
[2026-08-21 18:12:07] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245534d8012d198f000720b2b8003e010929..."} 
[2026-08-21 18:12:07] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:12:07] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756649728,"raw_latitude":119583416,"longitude_deg":75.6649728,"latitude_deg":11.9583416,"altitude":62,"angle":265,"satellites":41,"speed":8,"hex_longitude":"2d198f00","hex_latitude":"0720b2b8","is_valid_coordinates":true} 
[2026-08-21 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552882176001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285086996299776,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938783881285632,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787315959000,"timestamp_ms":1787315959000,"timestamp_seconds":1787315959,"priority":1,"record_length":96,"hex_timestamp":"000001a0245534d8"} 
[2026-08-21 18:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 18:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552882176001,"66":12558,"103":206,"83":41984,"24":8,"16":14285086996299776,"45":1848938783881285632},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552882176001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:12:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285086996299776,"km_value":14285086996299.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938783881285632,"description":"Unknown IO ID 45"} 
[2026-08-21 18:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552882176001,"power":12558,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1848938783881285632}} 
[2026-08-21 18:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:12:07] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:12:07] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:12:13] local.INFO: TCP Data received {"connection_id":159517,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02455e0b8012daf2500054914f0001b011a2c..."} 
[2026-08-21 18:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02455e0b8012daf2500054914f0001b011a2c..."} 
[2026-08-21 18:12:13] local.INFO: Processing buffer {"connection_id":159517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02455e0b8012daf2500054914f0001b011a2c..."} 
[2026-08-21 18:12:13] local.INFO: Packet analysis {"connection_id":159517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:12:13] local.INFO: Extracted packet for processing {"connection_id":159517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:12:13] local.INFO: GPS Element Parsed {"raw_longitude":766452992,"raw_latitude":88675568,"longitude_deg":76.6452992,"latitude_deg":8.8675568,"altitude":27,"angle":282,"satellites":44,"speed":15,"hex_longitude":"2daf2500","hex_latitude":"054914f0","is_valid_coordinates":true} 
[2026-08-21 18:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552893184001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388508890326630400,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5822380239303403520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787316003000,"timestamp_ms":1787316003000,"timestamp_seconds":1787316003,"priority":1,"record_length":96,"hex_timestamp":"000001a02455e0b8"} 
[2026-08-21 18:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-08-21 18:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552893184001,"66":27919,"80":206,"84":6400,"24":15,"16":388508890326630400,"45":-5822380239303403520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552893184001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:12:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:12:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388508890326630400,"km_value":388508890326630.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5822380239303403520,"description":"Unknown IO ID 45"} 
[2026-08-21 18:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552893184001,"power":27919,"unknown_80":206,"unknown_84":6400,"ignition":15,"odometer":null,"unknown_45":-5822380239303403520}} 
[2026-08-21 18:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":159517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:12:13] local.INFO: GPS data processed {"connection_id":159517,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:12:13] local.INFO: Acknowledgment sent {"connection_id":159517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:12:22] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:22] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:22] local.INFO: IMEI packet received {"connection_id":159233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":159233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:12:22] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:22] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:22] local.INFO: IMEI packet received {"connection_id":159233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":159233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:12:27] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:27] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:12:27] local.INFO: IMEI packet received {"connection_id":159233,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":159233,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:12:28] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024575ba0012d82bc0005d15e580006011a1d..."} 
[2026-08-21 18:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024575ba0012d82bc0005d15e580006011a1d..."} 
[2026-08-21 18:12:28] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024575ba0012d82bc0005d15e580006011a1d..."} 
[2026-08-21 18:12:28] local.INFO: Packet analysis {"connection_id":159233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:12:28] local.INFO: Extracted packet for processing {"connection_id":159233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763542528,"raw_latitude":97607256,"longitude_deg":76.3542528,"latitude_deg":9.7607256,"altitude":6,"angle":282,"satellites":29,"speed":46,"hex_longitude":"2d82bc00","hex_latitude":"05d15e58","is_valid_coordinates":true} 
[2026-08-21 18:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552919552001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121833091017736192,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015643479055255552,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316100000,"timestamp_ms":1787316100000,"timestamp_seconds":1787316100,"priority":1,"record_length":96,"hex_timestamp":"000001a024575ba0"} 
[2026-08-21 18:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:12: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-08-21 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 18:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552919552001,"66":13254,"63":206,"85":15104,"24":46,"16":121833091017736192,"45":-9015643479055255552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 18:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552919552001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:12:28] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 18:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121833091017736192,"km_value":121833091017736.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015643479055255552,"description":"Unknown IO ID 45"} 
[2026-08-21 18:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552919552001,"power":13254,"unknown_63":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9015643479055255552}} 
[2026-08-21 18:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":159233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677081,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:12:28] local.INFO: GPS data processed {"connection_id":159233,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:12:28] local.INFO: Acknowledgment sent {"connection_id":159233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:12:38] local.INFO: TCP Data received {"connection_id":161793,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245538c0012d198e000720b298003e00fc28..."} 
[2026-08-21 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245538c0012d198e000720b298003e00fc28..."} 
[2026-08-21 18:12:38] local.INFO: Processing buffer {"connection_id":161793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245538c0012d198e000720b298003e00fc28..."} 
[2026-08-21 18:12:38] local.INFO: Packet analysis {"connection_id":161793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:12:38] local.INFO: Extracted packet for processing {"connection_id":161793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":756649472,"raw_latitude":119583384,"longitude_deg":75.6649472,"latitude_deg":11.9583384,"altitude":62,"angle":252,"satellites":40,"speed":6,"hex_longitude":"2d198e00","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-08-21 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552885504001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285099881201664,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841690803231176704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787315960000,"timestamp_ms":1787315960000,"timestamp_seconds":1787315960,"priority":1,"record_length":96,"hex_timestamp":"000001a0245538c0"} 
[2026-08-21 18:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:12:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3137339392,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249822395168495704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2823290934,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2147950758,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3216048128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":23,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":71,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409681922,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:38] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,103,83,24,241,157,16,192,160,2,45,175,58,38,10,66,191,234,64,170,55,41,230,1,240,227,36,32,4,113,205,18,222,186,136,42,239,50,7,54,23,120,71,206],"length":575,"final_offset":705,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 18:12:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467862377027076096,"timestamp_seconds":4467862377027076.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552885504001,"66":12178,"103":206,"83":41984,"24":6,"16":14285099881201664,"45":1841690803231176704},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552885504001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:12:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:12:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285099881201664,"km_value":14285099881201.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841690803231176704,"description":"Unknown IO ID 45"} 
[2026-08-21 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552885504001,"power":12178,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1841690803231176704}} 
[2026-08-21 18:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":161793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:12:39] local.INFO: GPS data processed {"connection_id":161793,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:12:39] local.INFO: Acknowledgment sent {"connection_id":161793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:12:59] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:59] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:59] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:12:59] local.INFO: TCP Data received {"connection_id":159233,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024585988012d82140005d17688000c01261d..."} 
[2026-08-21 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024585988012d82140005d17688000c01261d..."} 
[2026-08-21 18:12:59] local.INFO: Processing buffer {"connection_id":159233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024585988012d82140005d17688000c01261d..."} 
[2026-08-21 18:12:59] local.INFO: Packet analysis {"connection_id":159233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:12:59] local.INFO: Extracted packet for processing {"connection_id":159233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:12:59] local.INFO: GPS Element Parsed {"raw_longitude":763499520,"raw_latitude":97613448,"longitude_deg":76.349952,"latitude_deg":9.7613448,"altitude":12,"angle":294,"satellites":29,"speed":29,"hex_longitude":"2d821400","hex_latitude":"05d17688","is_valid_coordinates":true} 
[2026-08-21 18:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552936960001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121835268566155264,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9068982987140208640,"note":"Value kept but may cause issues"} 
[2026-08-21 18:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787316165000,"timestamp_ms":1787316165000,"timestamp_seconds":1787316165,"priority":1,"record_length":96,"hex_timestamp":"000001a024585988"} 
[2026-08-21 18:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 18:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159233,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552936960001,"66":13254,"64":206,"85":15104,"24":29,"16":121835268566155264,"45":-9068982987140208640},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-21 18:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552936960001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121835268566155264,"km_value":121835268566155.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9068982987140208640,"description":"Unknown IO ID 45"} 
[2026-08-21 18:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552936960001,"power":13254,"unknown_64":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9068982987140208640}} 
[2026-08-21 18:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":159233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:12:59] local.INFO: GPS data processed {"connection_id":159233,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:12:59] local.INFO: Acknowledgment sent {"connection_id":159233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:12:59] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:59] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:12:59] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:13:02] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:13:02] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:13:02] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:13:06] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:13:06] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:13:06] local.INFO: IMEI packet received {"connection_id":161795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":161795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:13:07] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:13:07] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:13:07] local.INFO: IMEI packet received {"connection_id":161794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":161794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:13:08] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02455f828012daf1b0005491918001b01252d..."} 
[2026-08-21 18:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02455f828012daf1b0005491918001b01252d..."} 
[2026-08-21 18:13:08] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02455f828012daf1b0005491918001b01252d..."} 
[2026-08-21 18:13:08] local.INFO: Packet analysis {"connection_id":161794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:08] local.INFO: Extracted packet for processing {"connection_id":161794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":766450432,"raw_latitude":88676632,"longitude_deg":76.6450432,"latitude_deg":8.8676632,"altitude":27,"angle":293,"satellites":45,"speed":16,"hex_longitude":"2daf1b00","hex_latitude":"05491918","is_valid_coordinates":true} 
[2026-08-21 18:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552896768001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388509027765583872,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5826250520232923136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787316009000,"timestamp_ms":1787316009000,"timestamp_seconds":1787316009,"priority":1,"record_length":96,"hex_timestamp":"000001a02455f828"} 
[2026-08-21 18:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 18:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552896768001,"66":27908,"80":206,"84":6400,"24":16,"16":388509027765583872,"45":-5826250520232923136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552896768001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:13:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:13:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388509027765583872,"km_value":388509027765583.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5826250520232923136,"description":"Unknown IO ID 45"} 
[2026-08-21 18:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552896768001,"power":27908,"unknown_80":206,"unknown_84":6400,"ignition":16,"odometer":null,"unknown_45":-5826250520232923136}} 
[2026-08-21 18:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":161794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:13:08] local.INFO: GPS data processed {"connection_id":161794,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:13:08] local.INFO: Acknowledgment sent {"connection_id":161794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:13:09] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:13:09] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:13:09] local.INFO: IMEI packet received {"connection_id":161795,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":161795,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:13:10] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024554090012d198cc00720b220003e00ef27..."} 
[2026-08-21 18:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024554090012d198cc00720b220003e00ef27..."} 
[2026-08-21 18:13:10] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024554090012d198cc00720b220003e00ef27..."} 
[2026-08-21 18:13:10] local.INFO: Packet analysis {"connection_id":161795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:10] local.INFO: Extracted packet for processing {"connection_id":161795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:10] local.INFO: GPS Element Parsed {"raw_longitude":756649152,"raw_latitude":119583264,"longitude_deg":75.6649152,"latitude_deg":11.9583264,"altitude":62,"angle":239,"satellites":39,"speed":6,"hex_longitude":"2d198cc0","hex_latitude":"0720b220","is_valid_coordinates":true} 
[2026-08-21 18:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552885760001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285117061070848,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841409328254457856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787315962000,"timestamp_ms":1787315962000,"timestamp_seconds":1787315962,"priority":1,"record_length":96,"hex_timestamp":"000001a024554090"} 
[2026-08-21 18:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 18:13:10] 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-08-21 18:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552885760001,"66":12504,"103":206,"83":41984,"24":6,"16":14285117061070848,"45":1841409328254457856},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552885760001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:13:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:13:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285117061070848,"km_value":14285117061070.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841409328254457856,"description":"Unknown IO ID 45"} 
[2026-08-21 18:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552885760001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1841409328254457856}} 
[2026-08-21 18:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":161795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:13:10] local.INFO: GPS data processed {"connection_id":161795,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:13:10] local.INFO: Acknowledgment sent {"connection_id":161795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:13:11] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024559298012d198c000720b1f8003f00ef23..."} 
[2026-08-21 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024559298012d198c000720b1f8003f00ef23..."} 
[2026-08-21 18:13:11] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024559298012d198c000720b1f8003f00ef23..."} 
[2026-08-21 18:13:11] local.INFO: Packet analysis {"connection_id":161795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:11] local.INFO: Extracted packet for processing {"connection_id":161795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":35,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552886272001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841057484533538816,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787315983000,"timestamp_ms":1787315983000,"timestamp_seconds":1787315983,"priority":1,"record_length":96,"hex_timestamp":"000001a024559298"} 
[2026-08-21 18:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 18:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552886272001,"66":12591,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1841057484533538816},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552886272001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:13:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841057484533538816,"description":"Unknown IO ID 45"} 
[2026-08-21 18:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552886272001,"power":12591,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1841057484533538816}} 
[2026-08-21 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":161795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:13:11] local.INFO: GPS data processed {"connection_id":161795,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:13:11] local.INFO: Acknowledgment sent {"connection_id":161795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:13:21] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:13:21] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:13:21] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:13:27] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:13:27] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:13:27] local.INFO: IMEI packet received {"connection_id":160413,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":160413,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:13:28] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024586540012d820c0005d17948000b011a1d..."} 
[2026-08-21 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024586540012d820c0005d17948000b011a1d..."} 
[2026-08-21 18:13:28] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024586540012d820c0005d17948000b011a1d..."} 
[2026-08-21 18:13:28] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:13:28] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763497472,"raw_latitude":97614152,"longitude_deg":76.3497472,"latitude_deg":9.7614152,"altitude":11,"angle":282,"satellites":29,"speed":27,"hex_longitude":"2d820c00","hex_latitude":"05d17948","is_valid_coordinates":true} 
[2026-08-21 18:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552938240001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121835371645370368,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9073627324255664128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316168000,"timestamp_ms":1787316168000,"timestamp_seconds":1787316168,"priority":1,"record_length":96,"hex_timestamp":"000001a024586540"} 
[2026-08-21 18:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 18:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552938240001,"66":13243,"65":206,"85":15104,"24":27,"16":121835371645370368,"45":-9073627324255664128},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552938240001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121835371645370368,"km_value":121835371645370.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9073627324255664128,"description":"Unknown IO ID 45"} 
[2026-08-21 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552938240001,"power":13243,"unknown_65":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9073627324255664128}} 
[2026-08-21 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:13:28] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:13:28] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:13:39] local.INFO: TCP Data received {"connection_id":161794,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024564260012daf0440054927c8000f01302f..."} 
[2026-08-21 18:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024564260012daf0440054927c8000f01302f..."} 
[2026-08-21 18:13:39] local.INFO: Processing buffer {"connection_id":161794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024564260012daf0440054927c8000f01302f..."} 
[2026-08-21 18:13:39] local.INFO: Packet analysis {"connection_id":161794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:13:39] local.INFO: Extracted packet for processing {"connection_id":161794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:13:39] local.INFO: GPS Element Parsed {"raw_longitude":766444608,"raw_latitude":88680392,"longitude_deg":76.6444608,"latitude_deg":8.8680392,"altitude":15,"angle":304,"satellites":47,"speed":10,"hex_longitude":"2daf0440","hex_latitude":"054927c8","is_valid_coordinates":true} 
[2026-08-21 18:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552898304001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388509358478065664,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5829065269999757312,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787316028000,"timestamp_ms":1787316028000,"timestamp_seconds":1787316028,"priority":1,"record_length":96,"hex_timestamp":"000001a024564260"} 
[2026-08-21 18:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552898304001,"66":27908,"80":206,"84":6400,"24":10,"16":388509358478065664,"45":-5829065269999757312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,84,24,16,45]} 
[2026-08-21 18:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552898304001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:13:39] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-08-21 18:13:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388509358478065664,"km_value":388509358478065.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5829065269999757312,"description":"Unknown IO ID 45"} 
[2026-08-21 18:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552898304001,"power":27908,"unknown_80":206,"unknown_84":6400,"ignition":10,"odometer":null,"unknown_45":-5829065269999757312}} 
[2026-08-21 18:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":161794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:13:39] local.INFO: GPS data processed {"connection_id":161794,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:13:39] local.INFO: Acknowledgment sent {"connection_id":161794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:13:42] local.INFO: TCP Data received {"connection_id":161795,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02455e4a0012d198c000720b1f8003f00ef29..."} 
[2026-08-21 18:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02455e4a0012d198c000720b1f8003f00ef29..."} 
[2026-08-21 18:13:42] local.INFO: Processing buffer {"connection_id":161795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02455e4a0012d198c000720b1f8003f00ef29..."} 
[2026-08-21 18:13:42] local.INFO: Packet analysis {"connection_id":161795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:42] local.INFO: Extracted packet for processing {"connection_id":161795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02455"} 
[2026-08-21 18:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":41,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552891648001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787316004000,"timestamp_ms":1787316004000,"timestamp_seconds":1787316004,"priority":1,"record_length":96,"hex_timestamp":"000001a02455e4a0"} 
[2026-08-21 18:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 18:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161795,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552891648001,"66":12537,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552891648001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:13:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552891648001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":161795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:13:42] local.INFO: GPS data processed {"connection_id":161795,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:13:42] local.INFO: Acknowledgment sent {"connection_id":161795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:13:59] local.INFO: TCP Data received {"connection_id":160413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024586d10012d82064005d179f0000a010f1d..."} 
[2026-08-21 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024586d10012d82064005d179f0000a010f1d..."} 
[2026-08-21 18:13:59] local.INFO: Processing buffer {"connection_id":160413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024586d10012d82064005d179f0000a010f1d..."} 
[2026-08-21 18:13:59] local.INFO: Packet analysis {"connection_id":160413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:13:59] local.INFO: Extracted packet for processing {"connection_id":160413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763496000,"raw_latitude":97614320,"longitude_deg":76.3496,"latitude_deg":9.761432,"altitude":10,"angle":271,"satellites":29,"speed":30,"hex_longitude":"2d820640","hex_latitude":"05d179f0","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552939008001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121835440364847104,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9075879124069169152,"note":"Value kept but may cause issues"} 
[2026-08-21 18:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787316170000,"timestamp_ms":1787316170000,"timestamp_seconds":1787316170,"priority":1,"record_length":96,"hex_timestamp":"000001a024586d10"} 
[2026-08-21 18:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 18:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160413,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552939008001,"66":13015,"65":206,"85":15104,"24":30,"16":121835440364847104,"45":-9075879124069169152},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 18:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552939008001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121835440364847104,"km_value":121835440364847.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9075879124069169152,"description":"Unknown IO ID 45"} 
[2026-08-21 18:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552939008001,"power":13015,"unknown_65":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9075879124069169152}} 
[2026-08-21 18:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":160413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:13:59] local.INFO: GPS data processed {"connection_id":160413,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:13:59] local.INFO: Acknowledgment sent {"connection_id":160413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:14:01] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:14:01] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:14:01] local.INFO: IMEI packet received {"connection_id":161796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":161796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:14:02] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:02] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:02] local.INFO: IMEI packet received {"connection_id":159518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":159518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:14:06] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:14:06] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:14:06] local.INFO: IMEI packet received {"connection_id":161796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":161796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:14:07] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245636a8012d198c000720b1f8003f00ef26..."} 
[2026-08-21 18:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245636a8012d198c000720b1f8003f00ef26..."} 
[2026-08-21 18:14:07] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245636a8012d198c000720b1f8003f00ef26..."} 
[2026-08-21 18:14:07] local.INFO: Packet analysis {"connection_id":161796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:14:07] local.INFO: Extracted packet for processing {"connection_id":161796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:14:07] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":38,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552897024001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316025000,"timestamp_ms":1787316025000,"timestamp_seconds":1787316025,"priority":1,"record_length":96,"hex_timestamp":"000001a0245636a8"} 
[2026-08-21 18:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:14:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 18:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552897024001,"66":12504,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552897024001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:14:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:14:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552897024001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":161796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:14:07] local.INFO: GPS data processed {"connection_id":161796,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:14:07] local.INFO: Acknowledgment sent {"connection_id":161796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:14:21] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:21] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:21] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:14:24] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:24] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:24] local.INFO: IMEI packet received {"connection_id":159518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":159518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:14:25] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:25] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:25] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:14:25] local.INFO: TCP Data received {"connection_id":159518,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024589808012dade8400549d728001001192d..."} 
[2026-08-21 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024589808012dade8400549d728001001192d..."} 
[2026-08-21 18:14:25] local.INFO: Processing buffer {"connection_id":159518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024589808012dade8400549d728001001192d..."} 
[2026-08-21 18:14:25] local.INFO: Packet analysis {"connection_id":159518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:14:25] local.INFO: Extracted packet for processing {"connection_id":159518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":766371904,"raw_latitude":88725288,"longitude_deg":76.6371904,"latitude_deg":8.8725288,"altitude":16,"angle":281,"satellites":45,"speed":30,"hex_longitude":"2dade840","hex_latitude":"0549d728","is_valid_coordinates":true} 
[2026-08-21 18:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552937216001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388513516006408192,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5905415357420765184,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787316181000,"timestamp_ms":1787316181000,"timestamp_seconds":1787316181,"priority":1,"record_length":96,"hex_timestamp":"000001a024589808"} 
[2026-08-21 18:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 18:14:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552937216001,"66":27908,"247":206,"84":6400,"24":30,"16":388513516006408192,"45":-5905415357420765184},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-21 18:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552937216001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:14:25] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388513516006408192,"km_value":388513516006408.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5905415357420765184,"description":"Unknown IO ID 45"} 
[2026-08-21 18:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552937216001,"power":27908,"internal_battery_voltage":206,"unknown_84":6400,"ignition":30,"odometer":null,"unknown_45":-5905415357420765184}} 
[2026-08-21 18:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":159518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:14:25] local.INFO: GPS data processed {"connection_id":159518,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:14:25] local.INFO: Acknowledgment sent {"connection_id":159518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:14:26] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:26] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:26] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:14:27] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:27] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:14:27] local.INFO: IMEI packet received {"connection_id":160414,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":160414,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:14:27] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024597a98012d814e8005d18310000801141d..."} 
[2026-08-21 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024597a98012d814e8005d18310000801141d..."} 
[2026-08-21 18:14:27] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024597a98012d814e8005d18310000801141d..."} 
[2026-08-21 18:14:27] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02459"} 
[2026-08-21 18:14:27] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02459"} 
[2026-08-21 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763448960,"raw_latitude":97616656,"longitude_deg":76.344896,"latitude_deg":9.7616656,"altitude":8,"angle":276,"satellites":29,"speed":27,"hex_longitude":"2d814e80","hex_latitude":"05d18310","is_valid_coordinates":true} 
[2026-08-21 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552955136001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121837742467317760,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121689176528244736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787316239000,"timestamp_ms":1787316239000,"timestamp_seconds":1787316239,"priority":1,"record_length":96,"hex_timestamp":"000001a024597a98"} 
[2026-08-21 18:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:14: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-08-21 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 18:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552955136001,"66":13135,"65":206,"85":15104,"24":27,"16":121837742467317760,"45":-9121689176528244736},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 18:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552955136001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:14:27] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 18:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121837742467317760,"km_value":121837742467317.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121689176528244736,"description":"Unknown IO ID 45"} 
[2026-08-21 18:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552955136001,"power":13135,"unknown_65":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9121689176528244736}} 
[2026-08-21 18:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677093,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:14:27] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:14:27] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:14:28] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02459b530012d81294005d18a68000801171f..."} 
[2026-08-21 18:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02459b530012d81294005d18a68000801171f..."} 
[2026-08-21 18:14:28] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02459b530012d81294005d18a68000801171f..."} 
[2026-08-21 18:14:28] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02459"} 
[2026-08-21 18:14:28] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02459"} 
[2026-08-21 18:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763439424,"raw_latitude":97618536,"longitude_deg":76.3439424,"latitude_deg":9.7618536,"altitude":8,"angle":279,"satellites":31,"speed":36,"hex_longitude":"2d812940","hex_latitude":"05d18a68","is_valid_coordinates":true} 
[2026-08-21 18:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552957184001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121838206323785728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9129218632155197440,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316254000,"timestamp_ms":1787316254000,"timestamp_seconds":1787316254,"priority":1,"record_length":96,"hex_timestamp":"000001a02459b530"} 
[2026-08-21 18:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:14: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-08-21 18: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 18:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552957184001,"66":13091,"65":206,"85":15104,"24":36,"16":121838206323785728,"45":-9129218632155197440},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 18:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552957184001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121838206323785728,"km_value":121838206323785.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9129218632155197440,"description":"Unknown IO ID 45"} 
[2026-08-21 18:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552957184001,"power":13091,"unknown_65":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-9129218632155197440}} 
[2026-08-21 18:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677094,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:14:28] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:14:28] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:14:38] local.INFO: TCP Data received {"connection_id":161796,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245688b0012d198c000720b1f8003f00ef26..."} 
[2026-08-21 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245688b0012d198c000720b1f8003f00ef26..."} 
[2026-08-21 18:14:38] local.INFO: Processing buffer {"connection_id":161796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245688b0012d198c000720b1f8003f00ef26..."} 
[2026-08-21 18:14:38] local.INFO: Packet analysis {"connection_id":161796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:14:38] local.INFO: Extracted packet for processing {"connection_id":161796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":38,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552902400001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316046000,"timestamp_ms":1787316046000,"timestamp_seconds":1787316046,"priority":1,"record_length":96,"hex_timestamp":"000001a0245688b0"} 
[2026-08-21 18:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 18:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552902400001,"66":12537,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552902400001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:14:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:14:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552902400001,"power":12537,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":161796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:14:38] local.INFO: GPS data processed {"connection_id":161796,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:14:38] local.INFO: Acknowledgment sent {"connection_id":161796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:14:57] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:57] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:14:57] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:14:59] local.INFO: TCP Data received {"connection_id":160414,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a02459c4d0012d811c0005d18b300008010a1f..."} 
[2026-08-21 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02459c4d0012d811c0005d18b300008010a1f..."} 
[2026-08-21 18:14:59] local.INFO: Processing buffer {"connection_id":160414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02459c4d0012d811c0005d18b300008010a1f..."} 
[2026-08-21 18:14:59] local.INFO: Packet analysis {"connection_id":160414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02459"} 
[2026-08-21 18:14:59] local.INFO: Extracted packet for processing {"connection_id":160414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02459"} 
[2026-08-21 18:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763436032,"raw_latitude":97618736,"longitude_deg":76.3436032,"latitude_deg":9.7618736,"altitude":8,"angle":266,"satellites":31,"speed":26,"hex_longitude":"2d811c00","hex_latitude":"05d18b30","is_valid_coordinates":true} 
[2026-08-21 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552961024001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121838365237575680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9139703575037188096,"note":"Value kept but may cause issues"} 
[2026-08-21 18:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787316258000,"timestamp_ms":1787316258000,"timestamp_seconds":1787316258,"priority":1,"record_length":96,"hex_timestamp":"000001a02459c4d0"} 
[2026-08-21 18:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-08-21 18:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160414,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552961024001,"66":12863,"65":206,"85":15104,"24":26,"16":121838365237575680,"45":-9139703575037188096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 18:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552961024001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:14:59] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 18:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121838365237575680,"km_value":121838365237575.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9139703575037188096,"description":"Unknown IO ID 45"} 
[2026-08-21 18:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552961024001,"power":12863,"unknown_65":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9139703575037188096}} 
[2026-08-21 18:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":160414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677096,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:14:59] local.INFO: GPS data processed {"connection_id":160414,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:14:59] local.INFO: Acknowledgment sent {"connection_id":160414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:15:01] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:15:01] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:15:01] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:15:02] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:15:02] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:15:02] local.INFO: IMEI packet received {"connection_id":160415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":160415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:15:05] local.INFO: TCP Data received {"connection_id":160415,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02458c6e8012dadc5400549db68000f010e2d..."} 
[2026-08-21 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02458c6e8012dadc5400549db68000f010e2d..."} 
[2026-08-21 18:15:05] local.INFO: Processing buffer {"connection_id":160415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02458c6e8012dadc5400549db68000f010e2d..."} 
[2026-08-21 18:15:05] local.INFO: Packet analysis {"connection_id":160415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:15:05] local.INFO: Extracted packet for processing {"connection_id":160415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:15:05] local.INFO: GPS Element Parsed {"raw_longitude":766362944,"raw_latitude":88726376,"longitude_deg":76.6362944,"latitude_deg":8.8726376,"altitude":15,"angle":270,"satellites":45,"speed":27,"hex_longitude":"2dadc540","hex_latitude":"0549db68","is_valid_coordinates":true} 
[2026-08-21 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552942336001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388513949798105088,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5915407719093295104,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787316193000,"timestamp_ms":1787316193000,"timestamp_seconds":1787316193,"priority":1,"record_length":96,"hex_timestamp":"000001a02458c6e8"} 
[2026-08-21 18:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:15: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-08-21 18:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:15: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-08-21 18:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552942336001,"66":27745,"247":206,"84":6400,"24":27,"16":388513949798105088,"45":-5915407719093295104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-21 18:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552942336001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:15:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388513949798105088,"km_value":388513949798105.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5915407719093295104,"description":"Unknown IO ID 45"} 
[2026-08-21 18:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552942336001,"power":27745,"internal_battery_voltage":206,"unknown_84":6400,"ignition":27,"odometer":null,"unknown_45":-5915407719093295104}} 
[2026-08-21 18:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":160415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:15:05] local.INFO: GPS data processed {"connection_id":160415,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:15:05] local.INFO: Acknowledgment sent {"connection_id":160415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:15:06] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:15:06] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:15:06] local.INFO: IMEI packet received {"connection_id":161797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":161797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:15:07] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02456dab8012d198c000720b1f8003f00ef25..."} 
[2026-08-21 18:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02456dab8012d198c000720b1f8003f00ef25..."} 
[2026-08-21 18:15:07] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02456dab8012d198c000720b1f8003f00ef25..."} 
[2026-08-21 18:15:07] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:15:07] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02456"} 
[2026-08-21 18:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":37,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552907776001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316067000,"timestamp_ms":1787316067000,"timestamp_seconds":1787316067,"priority":1,"record_length":96,"hex_timestamp":"000001a02456dab8"} 
[2026-08-21 18:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 18:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552907776001,"66":12548,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552907776001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:15:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552907776001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:15:07] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:15:07] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:15:22] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:22] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:22] local.INFO: IMEI packet received {"connection_id":159519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":159519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:15:26] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:26] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:26] local.INFO: IMEI packet received {"connection_id":159519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":159519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:15:27] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:27] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:15:27] local.INFO: IMEI packet received {"connection_id":159519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":159519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:15:27] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245a8c08012d81104005d22a38000900001e..."} 
[2026-08-21 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245a8c08012d81104005d22a38000900001e..."} 
[2026-08-21 18:15:27] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245a8c08012d81104005d22a38000900001e..."} 
[2026-08-21 18:15:27] local.INFO: Packet analysis {"connection_id":159519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245a"} 
[2026-08-21 18:15:27] local.INFO: Extracted packet for processing {"connection_id":159519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245a"} 
[2026-08-21 18:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763433024,"raw_latitude":97659448,"longitude_deg":76.3433024,"latitude_deg":9.7659448,"altitude":9,"angle":0,"satellites":30,"speed":40,"hex_longitude":"2d811040","hex_latitude":"05d22a38","is_valid_coordinates":true} 
[2026-08-21 18:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552973824001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121840482656452608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9145755287027236864,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787316309000,"timestamp_ms":1787316309000,"timestamp_seconds":1787316309,"priority":1,"record_length":96,"hex_timestamp":"000001a0245a8c08"} 
[2026-08-21 18:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:15: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-08-21 18:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-08-21 18:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552973824001,"66":13178,"65":206,"85":15104,"24":40,"16":121840482656452608,"45":-9145755287027236864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,85,24,16,45]} 
[2026-08-21 18:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552973824001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:15:27] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-08-21 18:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121840482656452608,"km_value":121840482656452.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9145755287027236864,"description":"Unknown IO ID 45"} 
[2026-08-21 18:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552973824001,"power":13178,"unknown_65":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9145755287027236864}} 
[2026-08-21 18:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":159519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:15:27] local.INFO: GPS data processed {"connection_id":159519,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:15:27] local.INFO: Acknowledgment sent {"connection_id":159519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:15:28] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245aab48012d81160005d24ba80009000b1e..."} 
[2026-08-21 18:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245aab48012d81160005d24ba80009000b1e..."} 
[2026-08-21 18:15:28] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245aab48012d81160005d24ba80009000b1e..."} 
[2026-08-21 18:15:28] local.INFO: Packet analysis {"connection_id":159519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245a"} 
[2026-08-21 18:15:28] local.INFO: Extracted packet for processing {"connection_id":159519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245a"} 
[2026-08-21 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763434496,"raw_latitude":97668008,"longitude_deg":76.3434496,"latitude_deg":9.7668008,"altitude":9,"angle":11,"satellites":30,"speed":43,"hex_longitude":"2d811600","hex_latitude":"05d24ba8","is_valid_coordinates":true} 
[2026-08-21 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552975104001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121840903563247616,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146740449444481024,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316317000,"timestamp_ms":1787316317000,"timestamp_seconds":1787316317,"priority":1,"record_length":96,"hex_timestamp":"000001a0245aab48"} 
[2026-08-21 18:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 18:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552975104001,"66":13124,"208":206,"85":15104,"24":43,"16":121840903563247616,"45":-9146740449444481024},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552975104001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:15:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121840903563247616,"km_value":121840903563247.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146740449444481024,"description":"Unknown IO ID 45"} 
[2026-08-21 18:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552975104001,"power":13124,"unknown_208":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9146740449444481024}} 
[2026-08-21 18:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":159519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:15:28] local.INFO: GPS data processed {"connection_id":159519,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:15:28] local.INFO: Acknowledgment sent {"connection_id":159519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:15:38] local.INFO: TCP Data received {"connection_id":161797,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024572cc0012d198c000720b1f8003f00ef27..."} 
[2026-08-21 18:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024572cc0012d198c000720b1f8003f00ef27..."} 
[2026-08-21 18:15:38] local.INFO: Processing buffer {"connection_id":161797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024572cc0012d198c000720b1f8003f00ef27..."} 
[2026-08-21 18:15:38] local.INFO: Packet analysis {"connection_id":161797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:15:38] local.INFO: Extracted packet for processing {"connection_id":161797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552913152001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316088000,"timestamp_ms":1787316088000,"timestamp_seconds":1787316088,"priority":1,"record_length":96,"hex_timestamp":"000001a024572cc0"} 
[2026-08-21 18:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184172781773,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3221692594,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931256,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3225223168,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":6,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,103,83,24,241,157,16,192,160,136,45,177,63,38,10,66,54,228,1,240,249,227,36,32,4,113,205,64,140,39,239,48,2,50,7,62,6,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 18:15:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539891366582288384,"timestamp_seconds":4539891366582288.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552913152001,"66":12504,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552913152001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552913152001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":161797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:15:38] local.INFO: GPS data processed {"connection_id":161797,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:15:38] local.INFO: Acknowledgment sent {"connection_id":161797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:15:59] local.INFO: TCP Data received {"connection_id":159519,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245b18a8012d810b0005d287b0000301571e..."} 
[2026-08-21 18:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245b18a8012d810b0005d287b0000301571e..."} 
[2026-08-21 18:15:59] local.INFO: Processing buffer {"connection_id":159519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245b18a8012d810b0005d287b0000301571e..."} 
[2026-08-21 18:15:59] local.INFO: Packet analysis {"connection_id":159519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:15:59] local.INFO: Extracted packet for processing {"connection_id":159519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:15:59] local.INFO: GPS Element Parsed {"raw_longitude":763431680,"raw_latitude":97683376,"longitude_deg":76.343168,"latitude_deg":9.7683376,"altitude":3,"angle":343,"satellites":30,"speed":17,"hex_longitude":"2d810b00","hex_latitude":"05d287b0","is_valid_coordinates":true} 
[2026-08-21 18:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552984064001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121841818391281664,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148007086833668096,"note":"Value kept but may cause issues"} 
[2026-08-21 18:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787316345000,"timestamp_ms":1787316345000,"timestamp_seconds":1787316345,"priority":1,"record_length":96,"hex_timestamp":"000001a0245b18a8"} 
[2026-08-21 18:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 18:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552984064001,"66":12906,"208":206,"85":15104,"24":17,"16":121841818391281664,"45":-9148007086833668096},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552984064001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:15:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:15:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121841818391281664,"km_value":121841818391281.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148007086833668096,"description":"Unknown IO ID 45"} 
[2026-08-21 18:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552984064001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9148007086833668096}} 
[2026-08-21 18:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":159519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:15:59] local.INFO: GPS data processed {"connection_id":159519,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:15:59] local.INFO: Acknowledgment sent {"connection_id":159519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:16:01] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:16:01] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:16:01] local.INFO: IMEI packet received {"connection_id":161798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":161798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:16:05] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:05] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:05] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:16:06] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:16:06] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:16:06] local.INFO: IMEI packet received {"connection_id":161798,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":161798,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:16:07] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:07] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:07] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:16:07] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024577ec8012d198c000720b1f8003f00ef27..."} 
[2026-08-21 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024577ec8012d198c000720b1f8003f00ef27..."} 
[2026-08-21 18:16:07] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024577ec8012d198c000720b1f8003f00ef27..."} 
[2026-08-21 18:16:07] local.INFO: Packet analysis {"connection_id":161798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:16:07] local.INFO: Extracted packet for processing {"connection_id":161798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552918528001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316109000,"timestamp_ms":1787316109000,"timestamp_seconds":1787316109,"priority":1,"record_length":96,"hex_timestamp":"000001a024577ec8"} 
[2026-08-21 18:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 18:16:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552918528001,"66":12504,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552918528001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:16:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552918528001,"power":12504,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":161798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:16:07] local.INFO: GPS data processed {"connection_id":161798,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:16:07] local.INFO: Acknowledgment sent {"connection_id":161798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:16:12] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:12] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:12] local.INFO: IMEI packet received {"connection_id":161799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":161799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:16:13] local.INFO: TCP Data received {"connection_id":161799,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02458c6e8012dadc5400549db68000f010e2d..."} 
[2026-08-21 18:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02458c6e8012dadc5400549db68000f010e2d..."} 
[2026-08-21 18:16:13] local.INFO: Processing buffer {"connection_id":161799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02458c6e8012dadc5400549db68000f010e2d..."} 
[2026-08-21 18:16:13] local.INFO: Packet analysis {"connection_id":161799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:16:13] local.INFO: Extracted packet for processing {"connection_id":161799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:16:13] local.INFO: GPS Element Parsed {"raw_longitude":766362944,"raw_latitude":88726376,"longitude_deg":76.6362944,"latitude_deg":8.8726376,"altitude":15,"angle":270,"satellites":45,"speed":27,"hex_longitude":"2dadc540","hex_latitude":"0549db68","is_valid_coordinates":true} 
[2026-08-21 18:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552945408001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388513949798105088,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5925259343277889536,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787316193000,"timestamp_ms":1787316193000,"timestamp_seconds":1787316193,"priority":1,"record_length":96,"hex_timestamp":"000001a02458c6e8"} 
[2026-08-21 18:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:16:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552945408001,"66":27745,"247":206,"84":6400,"24":27,"16":388513949798105088,"45":-5925259343277889536},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-21 18:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552945408001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:16:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388513949798105088,"km_value":388513949798105.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5925259343277889536,"description":"Unknown IO ID 45"} 
[2026-08-21 18:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552945408001,"power":27745,"internal_battery_voltage":206,"unknown_84":6400,"ignition":27,"odometer":null,"unknown_45":-5925259343277889536}} 
[2026-08-21 18:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":161799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:16:13] local.INFO: GPS data processed {"connection_id":161799,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:16:13] local.INFO: Acknowledgment sent {"connection_id":161799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:16:27] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:16:27] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:16:27] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:16:28] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:16:28] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:16:28] local.INFO: IMEI packet received {"connection_id":160416,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":160416,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:16:28] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245b1c90012d810a0005d289a00002014a1e..."} 
[2026-08-21 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245b1c90012d810a0005d289a00002014a1e..."} 
[2026-08-21 18:16:28] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245b1c90012d810a0005d289a00002014a1e..."} 
[2026-08-21 18:16:28] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:16:28] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763431424,"raw_latitude":97683872,"longitude_deg":76.3431424,"latitude_deg":9.7683872,"altitude":2,"angle":330,"satellites":30,"speed":20,"hex_longitude":"2d810a00","hex_latitude":"05d289a0","is_valid_coordinates":true} 
[2026-08-21 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552984320001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121841848456052736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148218193066086400,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316346000,"timestamp_ms":1787316346000,"timestamp_seconds":1787316346,"priority":1,"record_length":96,"hex_timestamp":"000001a0245b1c90"} 
[2026-08-21 18:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 18:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552984320001,"66":12004,"208":206,"85":15104,"24":20,"16":121841848456052736,"45":-9148218193066086400},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552984320001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121841848456052736,"km_value":121841848456052.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148218193066086400,"description":"Unknown IO ID 45"} 
[2026-08-21 18:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552984320001,"power":12004,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9148218193066086400}} 
[2026-08-21 18:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:16:28] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:16:28] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:16:32] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245b43a0012d80f5c005d2a6600000014a1e..."} 
[2026-08-21 18:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245b43a0012d80f5c005d2a6600000014a1e..."} 
[2026-08-21 18:16:32] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245b43a0012d80f5c005d2a6600000014a1e..."} 
[2026-08-21 18:16:32] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:16:32] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:16:32] local.INFO: GPS Element Parsed {"raw_longitude":763426240,"raw_latitude":97691232,"longitude_deg":76.342624,"latitude_deg":9.7691232,"altitude":0,"angle":330,"satellites":30,"speed":35,"hex_longitude":"2d80f5c0","hex_latitude":"05d2a660","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552984576001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121842282247749632,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9148499668042670080,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787316356000,"timestamp_ms":1787316356000,"timestamp_seconds":1787316356,"priority":1,"record_length":96,"hex_timestamp":"000001a0245b43a0"} 
[2026-08-21 18:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:16: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-08-21 18: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 18:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552984576001,"66":12819,"208":206,"85":15104,"24":35,"16":121842282247749632,"45":-9148499668042670080},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552984576001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:16:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:16:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121842282247749632,"km_value":121842282247749.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9148499668042670080,"description":"Unknown IO ID 45"} 
[2026-08-21 18:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552984576001,"power":12819,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9148499668042670080}} 
[2026-08-21 18:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:16:32] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:16:32] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:16:38] local.INFO: TCP Data received {"connection_id":161798,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02457d0d0012d198c000720b1f8003f00ef23..."} 
[2026-08-21 18:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02457d0d0012d198c000720b1f8003f00ef23..."} 
[2026-08-21 18:16:38] local.INFO: Processing buffer {"connection_id":161798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02457d0d0012d198c000720b1f8003f00ef23..."} 
[2026-08-21 18:16:38] local.INFO: Packet analysis {"connection_id":161798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:16:38] local.INFO: Extracted packet for processing {"connection_id":161798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02457"} 
[2026-08-21 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":35,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552923904001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316130000,"timestamp_ms":1787316130000,"timestamp_seconds":1787316130,"priority":1,"record_length":96,"hex_timestamp":"000001a02457d0d0"} 
[2026-08-21 18:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 18:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161798,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552923904001,"66":12461,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552923904001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:16:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552923904001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":161798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:16:38] local.INFO: GPS data processed {"connection_id":161798,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:16:38] local.INFO: Acknowledgment sent {"connection_id":161798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:16:57] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:57] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:16:57] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:17:00] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:00] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:00] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:17:01] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:01] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:01] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:17:02] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:02] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:02] local.INFO: IMEI packet received {"connection_id":160417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":160417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:17:03] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245ae5e0012dacb000054a0a70000f01282d..."} 
[2026-08-21 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245ae5e0012dacb000054a0a70000f01282d..."} 
[2026-08-21 18:17:03] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245ae5e0012dacb000054a0a70000f01282d..."} 
[2026-08-21 18:17:03] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245a"} 
[2026-08-21 18:17:03] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245a"} 
[2026-08-21 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":766291968,"raw_latitude":88738416,"longitude_deg":76.6291968,"latitude_deg":8.8738416,"altitude":15,"angle":296,"satellites":45,"speed":17,"hex_longitude":"2dacb000","hex_latitude":"054a0a70","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552977408001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388517561865601024,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-5994220712569989120,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316332000,"timestamp_ms":1787316332000,"timestamp_seconds":1787316332,"priority":1,"record_length":96,"hex_timestamp":"000001a0245ae5e0"} 
[2026-08-21 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-08-21 18:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 18:17:03] 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-08-21 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-08-21 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-08-21 18:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552977408001,"66":27767,"249":206,"84":6400,"24":17,"16":388517561865601024,"45":-5994220712569989120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-21 18:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552977408001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:17:03] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-21 18:17:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388517561865601024,"km_value":388517561865601.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-5994220712569989120,"description":"Unknown IO ID 45"} 
[2026-08-21 18:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552977408001,"power":27767,"unknown_249":206,"unknown_84":6400,"ignition":17,"odometer":null,"unknown_45":-5994220712569989120}} 
[2026-08-21 18:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:17:03] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:17:03] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:17:06] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:06] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:17:06] local.INFO: IMEI packet received {"connection_id":161800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":161800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:17:07] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245822d8012d198c000720b1f8003f00ef24..."} 
[2026-08-21 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245822d8012d198c000720b1f8003f00ef24..."} 
[2026-08-21 18:17:07] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245822d8012d198c000720b1f8003f00ef24..."} 
[2026-08-21 18:17:07] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:17:07] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756648960,"raw_latitude":119583224,"longitude_deg":75.664896,"latitude_deg":11.9583224,"altitude":63,"angle":239,"satellites":36,"speed":0,"hex_longitude":"2d198c00","hex_latitude":"0720b1f8","is_valid_coordinates":true} 
[2026-08-21 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552929280001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285129945972736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316151000,"timestamp_ms":1787316151000,"timestamp_seconds":1787316151,"priority":1,"record_length":96,"hex_timestamp":"000001a0245822d8"} 
[2026-08-21 18:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552929280001,"66":11961,"103":206,"83":41984,"24":0,"16":14285129945972736,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552929280001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285129945972736,"km_value":14285129945972.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552929280001,"power":11961,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:17:07] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:17:07] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:17:07] local.INFO: TCP Data received {"connection_id":160416,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c0ec0012d80a40005d300700006015f1e..."} 
[2026-08-21 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c0ec0012d80a40005d300700006015f1e..."} 
[2026-08-21 18:17:07] local.INFO: Processing buffer {"connection_id":160416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c0ec0012d80a40005d300700006015f1e..."} 
[2026-08-21 18:17:07] local.INFO: Packet analysis {"connection_id":160416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:17:07] local.INFO: Extracted packet for processing {"connection_id":160416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763405312,"raw_latitude":97714288,"longitude_deg":76.3405312,"latitude_deg":9.7714288,"altitude":6,"angle":351,"satellites":30,"speed":24,"hex_longitude":"2d80a400","hex_latitude":"05d30070","is_valid_coordinates":true} 
[2026-08-21 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553000192001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121844120493752320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177139746915352576,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316408000,"timestamp_ms":1787316408000,"timestamp_seconds":1787316408,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c0ec0"} 
[2026-08-21 18:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303161721015671,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":208,"raw_value":58077557095399449,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158657541,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":210,"raw_value":4196401156,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":223,"raw_value":3758173568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2147865336,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3762552832,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040119,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,208,85,24,241,157,16,224,160,6,45,64,252,5,30,10,66,3,192,250,255,1,240,227,36,210,4,113,205,21,223,188,176,239,51,2,25],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-21 18:17:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360654236412084224,"timestamp_seconds":360654236412084.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160416,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553000192001,"66":13319,"208":206,"85":15104,"24":24,"16":121844120493752320,"45":-9177139746915352576},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553000192001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121844120493752320,"km_value":121844120493752.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177139746915352576,"description":"Unknown IO ID 45"} 
[2026-08-21 18:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553000192001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9177139746915352576}} 
[2026-08-21 18:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":160416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677110,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:17:07] local.INFO: GPS data processed {"connection_id":160416,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:17:07] local.INFO: Acknowledgment sent {"connection_id":160416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:17:22] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:17:22] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:17:22] local.INFO: IMEI packet received {"connection_id":159234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":159234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:17:27] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:17:27] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:17:27] local.INFO: IMEI packet received {"connection_id":159234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":159234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:17:28] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c12a8012d80a44005d30368000600031e..."} 
[2026-08-21 18:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c12a8012d80a44005d30368000600031e..."} 
[2026-08-21 18:17:28] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c12a8012d80a44005d30368000600031e..."} 
[2026-08-21 18:17:28] local.INFO: Packet analysis {"connection_id":159234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:17:28] local.INFO: Extracted packet for processing {"connection_id":159234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763405376,"raw_latitude":97715048,"longitude_deg":76.3405376,"latitude_deg":9.7715048,"altitude":6,"angle":3,"satellites":30,"speed":28,"hex_longitude":"2d80a440","hex_latitude":"05d30368","is_valid_coordinates":true} 
[2026-08-21 18:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553000448001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121844159148457984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177210115659370496,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316409000,"timestamp_ms":1787316409000,"timestamp_seconds":1787316409,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c12a8"} 
[2026-08-21 18:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158542853,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3539513344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-605734128387482112,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2147865338,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391991,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3765895168,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.WARNING: Large IO value detected {"io_id":91,"raw_value":-2877798866944376827,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,224,160,10,45,64,254,5,30,66,6,252,3,192,1,240,227,36,210,4,113,205,20,251,170,32,239,51,2,176,220,91],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-21 18:17:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432731621659508736,"timestamp_seconds":432731621659508.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553000448001,"66":13319,"208":206,"85":15104,"24":28,"16":121844159148457984,"45":-9177210115659370496},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553000448001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121844159148457984,"km_value":121844159148457.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177210115659370496,"description":"Unknown IO ID 45"} 
[2026-08-21 18:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553000448001,"power":13319,"unknown_208":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9177210115659370496}} 
[2026-08-21 18:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":159234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:17:28] local.INFO: GPS data processed {"connection_id":159234,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:17:28] local.INFO: Acknowledgment sent {"connection_id":159234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:17:32] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c2e00012d80a74005d31a080007000e1e..."} 
[2026-08-21 18:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c2e00012d80a74005d31a080007000e1e..."} 
[2026-08-21 18:17:32] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c2e00012d80a74005d31a080007000e1e..."} 
[2026-08-21 18:17:32] local.INFO: Packet analysis {"connection_id":159234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:17:32] local.INFO: Extracted packet for processing {"connection_id":159234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:17:32] local.INFO: GPS Element Parsed {"raw_longitude":763406144,"raw_latitude":97720840,"longitude_deg":76.3406144,"latitude_deg":9.772084,"altitude":7,"angle":14,"satellites":30,"speed":35,"hex_longitude":"2d80a740","hex_latitude":"05d31a08","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553000704001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121844442616299520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9177139746914998272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787316416000,"timestamp_ms":1787316416000,"timestamp_seconds":1787316416,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c2e00"} 
[2026-08-21 18:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:17: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-08-21 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2281701376,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2158411781,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3539607552,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":210,"raw_value":-526921139204252160,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2010120398,"corrected_to":0} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":168,"raw_value":3221607162,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221278071,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3766222848,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57834105476109627,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.WARNING: Large IO value detected {"io_id":91,"raw_value":-2314848913523441659,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:32] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,208,85,24,241,157,16,224,160,14,45,6,30,10,66,64,254,5,1,240,3,227,36,210,4,113,205,20,255,168,48,239,52,2,176,21,187,91],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2010120398,"validated":0}]} 
[2026-08-21 18:17:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432348991613304832,"timestamp_seconds":432348991613304.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553000704001,"66":13406,"208":206,"85":15104,"24":35,"16":121844442616299520,"45":-9177139746914998272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553000704001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:17:32] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:17:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121844442616299520,"km_value":121844442616299.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9177139746914998272,"description":"Unknown IO ID 45"} 
[2026-08-21 18:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553000704001,"power":13406,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9177139746914998272}} 
[2026-08-21 18:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":159234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:17:32] local.INFO: GPS data processed {"connection_id":159234,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:17:32] local.INFO: Acknowledgment sent {"connection_id":159234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:17:34] local.INFO: TCP Data received {"connection_id":160417,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245b37e8012dac9d40054a1408001501292f..."} 
[2026-08-21 18:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245b37e8012dac9d40054a1408001501292f..."} 
[2026-08-21 18:17:34] local.INFO: Processing buffer {"connection_id":160417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245b37e8012dac9d40054a1408001501292f..."} 
[2026-08-21 18:17:34] local.INFO: Packet analysis {"connection_id":160417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:17:34] local.INFO: Extracted packet for processing {"connection_id":160417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":766287168,"raw_latitude":88740872,"longitude_deg":76.6287168,"latitude_deg":8.8740872,"altitude":21,"angle":297,"satellites":47,"speed":9,"hex_longitude":"2dac9d40","hex_latitude":"054a1408","is_valid_coordinates":true} 
[2026-08-21 18:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552980992001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388517823858606080,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6003298280567836672,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787316353000,"timestamp_ms":1787316353000,"timestamp_seconds":1787316353,"priority":1,"record_length":96,"hex_timestamp":"000001a0245b37e8"} 
[2026-08-21 18:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552980992001,"66":27908,"249":206,"84":6400,"24":9,"16":388517823858606080,"45":-6003298280567836672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,84,24,16,45]} 
[2026-08-21 18:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552980992001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:17:34] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-08-21 18:17:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6400,"description":"Unknown IO ID 84"} 
[2026-08-21 18:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388517823858606080,"km_value":388517823858606.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6003298280567836672,"description":"Unknown IO ID 45"} 
[2026-08-21 18:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552980992001,"power":27908,"unknown_249":206,"unknown_84":6400,"ignition":9,"odometer":null,"unknown_45":-6003298280567836672}} 
[2026-08-21 18:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":160417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:17:34] local.INFO: GPS data processed {"connection_id":160417,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:17:34] local.INFO: Acknowledgment sent {"connection_id":160417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:17:38] local.INFO: TCP Data received {"connection_id":161800,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245874e0012d198c400720b590004300ef29..."} 
[2026-08-21 18:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245874e0012d198c400720b590004300ef29..."} 
[2026-08-21 18:17:38] local.INFO: Processing buffer {"connection_id":161800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245874e0012d198c400720b590004300ef29..."} 
[2026-08-21 18:17:38] local.INFO: Packet analysis {"connection_id":161800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:17:38] local.INFO: Extracted packet for processing {"connection_id":161800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02458"} 
[2026-08-21 18:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":41,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552934656001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840846378300995584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316172000,"timestamp_ms":1787316172000,"timestamp_seconds":1787316172,"priority":1,"record_length":96,"hex_timestamp":"000001a0245874e0"} 
[2026-08-21 18:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 18:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552934656001,"66":12461,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840846378300995584},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552934656001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:17:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840846378300995584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552934656001,"power":12461,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840846378300995584}} 
[2026-08-21 18:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":161800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:17:38] local.INFO: GPS data processed {"connection_id":161800,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:17:38] local.INFO: Acknowledgment sent {"connection_id":161800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:17:55] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:55] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:55] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:17:57] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:57] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:17:57] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:18:01] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:01] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:01] local.INFO: IMEI packet received {"connection_id":159235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":159235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:18:02] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:02] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:02] local.INFO: IMEI packet received {"connection_id":160418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":160418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:18:03] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245b89f0012dac96c0054a1780001601242c..."} 
[2026-08-21 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245b89f0012dac96c0054a1780001601242c..."} 
[2026-08-21 18:18:03] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245b89f0012dac96c0054a1780001601242c..."} 
[2026-08-21 18:18:03] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:18:03] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":766285504,"raw_latitude":88741760,"longitude_deg":76.6285504,"latitude_deg":8.874176,"altitude":22,"angle":292,"satellites":44,"speed":0,"hex_longitude":"2dac96c0","hex_latitude":"054a1780","is_valid_coordinates":true} 
[2026-08-21 18:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552986368001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388517918347886592,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6008575936380532736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316374000,"timestamp_ms":1787316374000,"timestamp_seconds":1787316374,"priority":1,"record_length":96,"hex_timestamp":"000001a0245b89f0"} 
[2026-08-21 18:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:18:03] 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-08-21 18:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552986368001,"66":27767,"72":206,"84":6144,"24":0,"16":388517918347886592,"45":-6008575936380532736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552986368001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388517918347886592,"km_value":388517918347886.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6008575936380532736,"description":"Unknown IO ID 45"} 
[2026-08-21 18:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552986368001,"power":27767,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6008575936380532736}} 
[2026-08-21 18:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:18:03] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:18:03] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:18:03] local.INFO: TCP Data received {"connection_id":159234,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c4958012d80aac005d33180000600001d..."} 
[2026-08-21 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c4958012d80aac005d33180000600001d..."} 
[2026-08-21 18:18:03] local.INFO: Processing buffer {"connection_id":159234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c4958012d80aac005d33180000600001d..."} 
[2026-08-21 18:18:03] local.INFO: Packet analysis {"connection_id":159234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:03] local.INFO: Extracted packet for processing {"connection_id":159234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":763407040,"raw_latitude":97726848,"longitude_deg":76.340704,"latitude_deg":9.7726848,"altitude":6,"angle":0,"satellites":29,"speed":35,"hex_longitude":"2d80aac0","hex_latitude":"05d33180","is_valid_coordinates":true} 
[2026-08-21 18:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553002496001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121844738969042944,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176295321983383552,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316423000,"timestamp_ms":1787316423000,"timestamp_seconds":1787316423,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c4958"} 
[2026-08-21 18:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 18:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553002496001,"66":13461,"208":206,"85":15104,"24":35,"16":121844738969042944,"45":-9176295321983383552},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553002496001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121844738969042944,"km_value":121844738969042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176295321983383552,"description":"Unknown IO ID 45"} 
[2026-08-21 18:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553002496001,"power":13461,"unknown_208":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9176295321983383552}} 
[2026-08-21 18:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":159234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:18:03] local.INFO: GPS data processed {"connection_id":159234,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:18:03] local.INFO: Acknowledgment sent {"connection_id":159234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:18:03] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:03] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:03] local.INFO: IMEI packet received {"connection_id":159235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":159235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:18:06] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:06] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:18:06] local.INFO: IMEI packet received {"connection_id":159235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":159235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:18:07] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245bfb38012d198c400720b590004300ef27..."} 
[2026-08-21 18:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245bfb38012d198c400720b590004300ef27..."} 
[2026-08-21 18:18:07] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245bfb38012d198c400720b590004300ef27..."} 
[2026-08-21 18:18:07] local.INFO: Packet analysis {"connection_id":159235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:18:07] local.INFO: Extracted packet for processing {"connection_id":159235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552993792001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316403000,"timestamp_ms":1787316403000,"timestamp_seconds":1787316403,"priority":1,"record_length":96,"hex_timestamp":"000001a0245bfb38"} 
[2026-08-21 18:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 18:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552993792001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552993792001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:18:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552993792001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":159235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:18:07] local.INFO: GPS data processed {"connection_id":159235,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:18:07] local.INFO: Acknowledgment sent {"connection_id":159235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:18:20] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:20] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:20] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:18:22] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:22] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:22] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:18:27] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:27] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:18:27] local.INFO: IMEI packet received {"connection_id":161801,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":161801,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:18:28] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c7450012d80abc005d35480000400051e..."} 
[2026-08-21 18:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c7450012d80abc005d35480000400051e..."} 
[2026-08-21 18:18:28] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c7450012d80abc005d35480000400051e..."} 
[2026-08-21 18:18:28] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:28] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763407296,"raw_latitude":97735808,"longitude_deg":76.3407296,"latitude_deg":9.7735808,"altitude":4,"angle":5,"satellites":30,"speed":17,"hex_longitude":"2d80abc0","hex_latitude":"05d35480","is_valid_coordinates":true} 
[2026-08-21 18:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553004288001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121845172760739840,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175310159563358208,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787316434000,"timestamp_ms":1787316434000,"timestamp_seconds":1787316434,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c7450"} 
[2026-08-21 18:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-08-21 18:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553004288001,"66":12776,"208":206,"85":15104,"24":17,"16":121845172760739840,"45":-9175310159563358208},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-08-21 18:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553004288001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-08-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121845172760739840,"km_value":121845172760739.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175310159563358208,"description":"Unknown IO ID 45"} 
[2026-08-21 18:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553004288001,"power":12776,"unknown_208":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9175310159563358208}} 
[2026-08-21 18:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:18:28] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:18:28] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:18:33] local.INFO: TCP Data received {"connection_id":160418,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245bdbf8012dac91c0054a1948001601282e..."} 
[2026-08-21 18:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245bdbf8012dac91c0054a1948001601282e..."} 
[2026-08-21 18:18:33] local.INFO: Processing buffer {"connection_id":160418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245bdbf8012dac91c0054a1948001601282e..."} 
[2026-08-21 18:18:33] local.INFO: Packet analysis {"connection_id":160418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:18:33] local.INFO: Extracted packet for processing {"connection_id":160418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245b"} 
[2026-08-21 18:18:33] local.INFO: GPS Element Parsed {"raw_longitude":766284224,"raw_latitude":88742216,"longitude_deg":76.6284224,"latitude_deg":8.8742216,"altitude":22,"angle":296,"satellites":46,"speed":0,"hex_longitude":"2dac91c0","hex_latitude":"054a1948","is_valid_coordinates":true} 
[2026-08-21 18:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552991744001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388517982772396032,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6010405523728924672,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787316395000,"timestamp_ms":1787316395000,"timestamp_seconds":1787316395,"priority":1,"record_length":96,"hex_timestamp":"000001a0245bdbf8"} 
[2026-08-21 18:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:18: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-08-21 18:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552991744001,"66":27658,"72":206,"84":6144,"24":0,"16":388517982772396032,"45":-6010405523728924672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552991744001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:18:33] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:18:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388517982772396032,"km_value":388517982772396.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6010405523728924672,"description":"Unknown IO ID 45"} 
[2026-08-21 18:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552991744001,"power":27658,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6010405523728924672}} 
[2026-08-21 18:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":160418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:18:33] local.INFO: GPS data processed {"connection_id":160418,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:18:33] local.INFO: Acknowledgment sent {"connection_id":160418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:18:38] local.INFO: TCP Data received {"connection_id":159235,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c4d40012d198c400720b590004300ef28..."} 
[2026-08-21 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c4d40012d198c400720b590004300ef28..."} 
[2026-08-21 18:18:38] local.INFO: Processing buffer {"connection_id":159235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c4d40012d198c400720b590004300ef28..."} 
[2026-08-21 18:18:38] local.INFO: Packet analysis {"connection_id":159235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:38] local.INFO: Extracted packet for processing {"connection_id":159235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":40,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552999168001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316424000,"timestamp_ms":1787316424000,"timestamp_seconds":1787316424,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c4d40"} 
[2026-08-21 18:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552999168001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552999168001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:18:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552999168001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":159235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:18:38] local.INFO: GPS data processed {"connection_id":159235,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:18:38] local.INFO: Acknowledgment sent {"connection_id":159235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:18:57] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:57] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:57] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:18:58] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:58] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:18:58] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:18:58] local.INFO: TCP Data received {"connection_id":161801,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245cc658012d80ac8005d36290000500051e..."} 
[2026-08-21 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245cc658012d80ac8005d36290000500051e..."} 
[2026-08-21 18:18:58] local.INFO: Processing buffer {"connection_id":161801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245cc658012d80ac8005d36290000500051e..."} 
[2026-08-21 18:18:58] local.INFO: Packet analysis {"connection_id":161801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:58] local.INFO: Extracted packet for processing {"connection_id":161801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763407488,"raw_latitude":97739408,"longitude_deg":76.3407488,"latitude_deg":9.7739408,"altitude":5,"angle":5,"satellites":30,"speed":18,"hex_longitude":"2d80ac80","hex_latitude":"05d36290","is_valid_coordinates":true} 
[2026-08-21 18:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553007104001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121845353149366272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175028684584353792,"note":"Value kept but may cause issues"} 
[2026-08-21 18:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787316455000,"timestamp_ms":1787316455000,"timestamp_seconds":1787316455,"priority":1,"record_length":96,"hex_timestamp":"000001a0245cc658"} 
[2026-08-21 18:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:18: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-08-21 18: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 18:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161801,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553007104001,"66":13091,"207":206,"85":15104,"24":18,"16":121845353149366272,"45":-9175028684584353792},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-21 18:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553007104001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:18:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 18:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121845353149366272,"km_value":121845353149366.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175028684584353792,"description":"Unknown IO ID 45"} 
[2026-08-21 18:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553007104001,"power":13091,"unknown_207":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9175028684584353792}} 
[2026-08-21 18:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":161801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:18:58] local.INFO: GPS data processed {"connection_id":161801,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:18:58] local.INFO: Acknowledgment sent {"connection_id":161801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:19:01] local.INFO: TCP Data received {"connection_id":159520,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:19:01] local.INFO: Processing buffer {"connection_id":159520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:19:01] local.INFO: IMEI packet received {"connection_id":159520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":159520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:19:02] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:19:02] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:19:02] local.INFO: IMEI packet received {"connection_id":161802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":161802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:19:03] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c2e00012dac8180054a22800016012c2e..."} 
[2026-08-21 18:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c2e00012dac8180054a22800016012c2e..."} 
[2026-08-21 18:19:03] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c2e00012dac8180054a22800016012c2e..."} 
[2026-08-21 18:19:03] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:03] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:03] local.INFO: GPS Element Parsed {"raw_longitude":766280064,"raw_latitude":88744576,"longitude_deg":76.6280064,"latitude_deg":8.8744576,"altitude":22,"angle":300,"satellites":46,"speed":13,"hex_longitude":"2dac8180","hex_latitude":"054a2280","is_valid_coordinates":true} 
[2026-08-21 18:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457552997120001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518218995597312,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6011812898612361216,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316416000,"timestamp_ms":1787316416000,"timestamp_seconds":1787316416,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c2e00"} 
[2026-08-21 18:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 18:19: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-08-21 18:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457552997120001,"66":27865,"72":206,"84":6144,"24":13,"16":388518218995597312,"45":-6011812898612361216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457552997120001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:19:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:19:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518218995597312,"km_value":388518218995597.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6011812898612361216,"description":"Unknown IO ID 45"} 
[2026-08-21 18:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457552997120001,"power":27865,"unknown_72":206,"unknown_84":6144,"ignition":13,"odometer":null,"unknown_45":-6011812898612361216}} 
[2026-08-21 18:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:19:03] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:19:03] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:19:06] local.INFO: TCP Data received {"connection_id":159520,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:19:06] local.INFO: Processing buffer {"connection_id":159520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:19:06] local.INFO: IMEI packet received {"connection_id":159520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":159520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:19:07] local.INFO: TCP Data received {"connection_id":159520,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c9f48012d198c400720b590004300ef28..."} 
[2026-08-21 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c9f48012d198c400720b590004300ef28..."} 
[2026-08-21 18:19:07] local.INFO: Processing buffer {"connection_id":159520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c9f48012d198c400720b590004300ef28..."} 
[2026-08-21 18:19:07] local.INFO: Packet analysis {"connection_id":159520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:07] local.INFO: Extracted packet for processing {"connection_id":159520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:07] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":40,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553004544001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316445000,"timestamp_ms":1787316445000,"timestamp_seconds":1787316445,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c9f48"} 
[2026-08-21 18:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553004544001,"66":12341,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553004544001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:19:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:19:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553004544001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":159520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:19:07] local.INFO: GPS data processed {"connection_id":159520,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:19:07] local.INFO: Acknowledgment sent {"connection_id":159520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:19:22] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:19:22] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:19:22] local.INFO: IMEI packet received {"connection_id":159521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":159521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:19:27] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:19:27] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:19:27] local.INFO: IMEI packet received {"connection_id":159521,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":159521,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:19:27] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245e31a0012d81764005d340100006005f1d..."} 
[2026-08-21 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245e31a0012d81764005d340100006005f1d..."} 
[2026-08-21 18:19:27] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245e31a0012d81764005d340100006005f1d..."} 
[2026-08-21 18:19:27] local.INFO: Packet analysis {"connection_id":159521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:19:27] local.INFO: Extracted packet for processing {"connection_id":159521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763459136,"raw_latitude":97730576,"longitude_deg":76.3459136,"latitude_deg":9.7730576,"altitude":6,"angle":95,"satellites":29,"speed":10,"hex_longitude":"2d817640","hex_latitude":"05d34010","is_valid_coordinates":true} 
[2026-08-21 18:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553030912001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121848071863664640,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9127740888498505728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787316548000,"timestamp_ms":1787316548000,"timestamp_seconds":1787316548,"priority":1,"record_length":96,"hex_timestamp":"000001a0245e31a0"} 
[2026-08-21 18:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:19: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-08-21 18:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 18:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553030912001,"66":13243,"207":206,"85":15104,"24":10,"16":121848071863664640,"45":-9127740888498505728},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-21 18:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553030912001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:19:27] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 18:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121848071863664640,"km_value":121848071863664.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9127740888498505728,"description":"Unknown IO ID 45"} 
[2026-08-21 18:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553030912001,"power":13243,"unknown_207":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9127740888498505728}} 
[2026-08-21 18:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":159521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:19:27] local.INFO: GPS data processed {"connection_id":159521,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:19:27] local.INFO: Acknowledgment sent {"connection_id":159521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:19:33] local.INFO: TCP Data received {"connection_id":161802,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245c8008012dac7380054a29f80011012b2d..."} 
[2026-08-21 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245c8008012dac7380054a29f80011012b2d..."} 
[2026-08-21 18:19:33] local.INFO: Processing buffer {"connection_id":161802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245c8008012dac7380054a29f80011012b2d..."} 
[2026-08-21 18:19:33] local.INFO: Packet analysis {"connection_id":161802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:33] local.INFO: Extracted packet for processing {"connection_id":161802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":766276480,"raw_latitude":88746488,"longitude_deg":76.627648,"latitude_deg":8.8746488,"altitude":17,"angle":299,"satellites":45,"speed":0,"hex_longitude":"2dac7380","hex_latitude":"054a29f8","is_valid_coordinates":true} 
[2026-08-21 18:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553002496001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518412269125632,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6016386866983305216,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787316437000,"timestamp_ms":1787316437000,"timestamp_seconds":1787316437,"priority":1,"record_length":96,"hex_timestamp":"000001a0245c8008"} 
[2026-08-21 18:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:19:33] 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-08-21 18:19:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553002496001,"66":27908,"72":206,"84":6144,"24":0,"16":388518412269125632,"45":-6016386866983305216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553002496001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518412269125632,"km_value":388518412269125.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6016386866983305216,"description":"Unknown IO ID 45"} 
[2026-08-21 18:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553002496001,"power":27908,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6016386866983305216}} 
[2026-08-21 18:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":161802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:19:33] local.INFO: GPS data processed {"connection_id":161802,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:19:33] local.INFO: Acknowledgment sent {"connection_id":161802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:19:38] local.INFO: TCP Data received {"connection_id":159520,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245cf150012d198c400720b590004300ef27..."} 
[2026-08-21 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245cf150012d198c400720b590004300ef27..."} 
[2026-08-21 18:19:38] local.INFO: Processing buffer {"connection_id":159520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245cf150012d198c400720b590004300ef27..."} 
[2026-08-21 18:19:38] local.INFO: Packet analysis {"connection_id":159520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:38] local.INFO: Extracted packet for processing {"connection_id":159520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553009920001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316466000,"timestamp_ms":1787316466000,"timestamp_seconds":1787316466,"priority":1,"record_length":96,"hex_timestamp":"000001a0245cf150"} 
[2026-08-21 18:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 18:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553009920001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553009920001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553009920001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":159520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:19:38] local.INFO: GPS data processed {"connection_id":159520,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:19:38] local.INFO: Acknowledgment sent {"connection_id":159520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:19:57] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:19:57] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:19:57] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:19:58] local.INFO: TCP Data received {"connection_id":159521,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0245e7408012d819a4005d33e080008004a1d..."} 
[2026-08-21 18:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245e7408012d819a4005d33e080008004a1d..."} 
[2026-08-21 18:19:58] local.INFO: Processing buffer {"connection_id":159521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245e7408012d819a4005d33e080008004a1d..."} 
[2026-08-21 18:19:58] local.INFO: Packet analysis {"connection_id":159521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:19:58] local.INFO: Extracted packet for processing {"connection_id":159521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763468352,"raw_latitude":97730056,"longitude_deg":76.3468352,"latitude_deg":9.7730056,"altitude":8,"angle":74,"satellites":29,"speed":9,"hex_longitude":"2d819a40","hex_latitude":"05d33e08","is_valid_coordinates":true} 
[2026-08-21 18:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553036288001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121848509950328832,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118030001801785344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787316565000,"timestamp_ms":1787316565000,"timestamp_seconds":1787316565,"priority":1,"record_length":96,"hex_timestamp":"000001a0245e7408"} 
[2026-08-21 18:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:19: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-08-21 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 18:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159521,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553036288001,"66":11678,"207":206,"85":15104,"24":9,"16":121848509950328832,"45":-9118030001801785344},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-21 18:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553036288001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:19:58] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 18:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121848509950328832,"km_value":121848509950328.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118030001801785344,"description":"Unknown IO ID 45"} 
[2026-08-21 18:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553036288001,"power":11678,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9118030001801785344}} 
[2026-08-21 18:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":159521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677127,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:19:58] local.INFO: GPS data processed {"connection_id":159521,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:19:58] local.INFO: Acknowledgment sent {"connection_id":159521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:20:01] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:20:01] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:20:01] local.INFO: IMEI packet received {"connection_id":160419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":160419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:20:02] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245cd210012dac71c0054a2b080010012b2f..."} 
[2026-08-21 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245cd210012dac71c0054a2b080010012b2f..."} 
[2026-08-21 18:20:02] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245cd210012dac71c0054a2b080010012b2f..."} 
[2026-08-21 18:20:02] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:20:02] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245c"} 
[2026-08-21 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":766276032,"raw_latitude":88746760,"longitude_deg":76.6276032,"latitude_deg":8.874676,"altitude":16,"angle":299,"satellites":47,"speed":0,"hex_longitude":"2dac71c0","hex_latitude":"054a2b08","is_valid_coordinates":true} 
[2026-08-21 18:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553007872001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518442333896704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6020327516656764928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787316458000,"timestamp_ms":1787316458000,"timestamp_seconds":1787316458,"priority":1,"record_length":96,"hex_timestamp":"000001a0245cd210"} 
[2026-08-21 18:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553007872001,"66":27800,"72":206,"84":6144,"24":0,"16":388518442333896704,"45":-6020327516656764928},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553007872001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:20:02] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:20:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518442333896704,"km_value":388518442333896.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6020327516656764928,"description":"Unknown IO ID 45"} 
[2026-08-21 18:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553007872001,"power":27800,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6020327516656764928}} 
[2026-08-21 18:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:20:02] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:20:02] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:20:06] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:20:06] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:20:06] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:20:09] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:20:09] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:20:09] local.INFO: IMEI packet received {"connection_id":161803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":161803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:20:10] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245d4358012d198c400720b590004300ef26..."} 
[2026-08-21 18:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245d4358012d198c400720b590004300ef26..."} 
[2026-08-21 18:20:10] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245d4358012d198c400720b590004300ef26..."} 
[2026-08-21 18:20:10] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:10] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":38,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553015296001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787316487000,"timestamp_ms":1787316487000,"timestamp_seconds":1787316487,"priority":1,"record_length":96,"hex_timestamp":"000001a0245d4358"} 
[2026-08-21 18:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:20:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:20:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:20:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553015296001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553015296001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:20:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:20:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553015296001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:20:10] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:20:10] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:20:11] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245d9560012d198c400720b590004300ef24..."} 
[2026-08-21 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245d9560012d198c400720b590004300ef24..."} 
[2026-08-21 18:20:11] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245d9560012d198c400720b590004300ef24..."} 
[2026-08-21 18:20:11] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:11] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":36,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553020672001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787316508000,"timestamp_ms":1787316508000,"timestamp_seconds":1787316508,"priority":1,"record_length":96,"hex_timestamp":"000001a0245d9560"} 
[2026-08-21 18:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553020672001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553020672001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:20:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:20:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553020672001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:20:11] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:20:11] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:20:33] local.INFO: TCP Data received {"connection_id":160419,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245d2418012dac7040054a2c080010012b2f..."} 
[2026-08-21 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245d2418012dac7040054a2c080010012b2f..."} 
[2026-08-21 18:20:33] local.INFO: Processing buffer {"connection_id":160419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245d2418012dac7040054a2c080010012b2f..."} 
[2026-08-21 18:20:33] local.INFO: Packet analysis {"connection_id":160419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:33] local.INFO: Extracted packet for processing {"connection_id":160419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":766275648,"raw_latitude":88747016,"longitude_deg":76.6275648,"latitude_deg":8.8747016,"altitude":16,"angle":299,"satellites":47,"speed":1,"hex_longitude":"2dac7040","hex_latitude":"054a2c08","is_valid_coordinates":true} 
[2026-08-21 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553013248001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518463808733184,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6020820097865938944,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787316479000,"timestamp_ms":1787316479000,"timestamp_seconds":1787316479,"priority":1,"record_length":96,"hex_timestamp":"000001a0245d2418"} 
[2026-08-21 18:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 18:20:33] 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-08-21 18:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553013248001,"66":27908,"72":206,"84":6144,"24":1,"16":388518463808733184,"45":-6020820097865938944},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553013248001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:20:33] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:20:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518463808733184,"km_value":388518463808733.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6020820097865938944,"description":"Unknown IO ID 45"} 
[2026-08-21 18:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553013248001,"power":27908,"unknown_72":206,"unknown_84":6144,"ignition":1,"odometer":null,"unknown_45":-6020820097865938944}} 
[2026-08-21 18:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":160419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:20:33] local.INFO: GPS data processed {"connection_id":160419,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:20:33] local.INFO: Acknowledgment sent {"connection_id":160419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:20:42] local.INFO: TCP Data received {"connection_id":161803,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245de768012d198c400720b590004300ef27..."} 
[2026-08-21 18:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245de768012d198c400720b590004300ef27..."} 
[2026-08-21 18:20:42] local.INFO: Processing buffer {"connection_id":161803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245de768012d198c400720b590004300ef27..."} 
[2026-08-21 18:20:42] local.INFO: Packet analysis {"connection_id":161803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:42] local.INFO: Extracted packet for processing {"connection_id":161803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553026048001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787316529000,"timestamp_ms":1787316529000,"timestamp_seconds":1787316529,"priority":1,"record_length":96,"hex_timestamp":"000001a0245de768"} 
[2026-08-21 18:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553026048001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553026048001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:20:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:20:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553026048001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":161803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:20:42] local.INFO: GPS data processed {"connection_id":161803,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:20:42] local.INFO: Acknowledgment sent {"connection_id":161803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:20:57] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:20:57] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:20:57] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:21:01] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:21:01] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:21:01] local.INFO: IMEI packet received {"connection_id":159236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":159236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:21:02] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:21:02] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:21:02] local.INFO: IMEI packet received {"connection_id":160420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":160420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:21:03] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245d7620012dac6940054a2fb80010012b2d..."} 
[2026-08-21 18:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245d7620012dac6940054a2fb80010012b2d..."} 
[2026-08-21 18:21:03] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245d7620012dac6940054a2fb80010012b2d..."} 
[2026-08-21 18:21:03] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:21:03] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:21:03] local.INFO: GPS Element Parsed {"raw_longitude":766273856,"raw_latitude":88747960,"longitude_deg":76.6273856,"latitude_deg":8.874796,"altitude":16,"angle":299,"satellites":45,"speed":10,"hex_longitude":"2dac6940","hex_latitude":"054a2fb8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553018624001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518562592980992,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6021242310330939392,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316500000,"timestamp_ms":1787316500000,"timestamp_seconds":1787316500,"priority":1,"record_length":96,"hex_timestamp":"000001a0245d7620"} 
[2026-08-21 18:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:21:03] 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-08-21 18: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-08-21 18:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553018624001,"66":27843,"72":206,"84":6144,"24":10,"16":388518562592980992,"45":-6021242310330939392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553018624001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:21:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:21:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518562592980992,"km_value":388518562592981.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6021242310330939392,"description":"Unknown IO ID 45"} 
[2026-08-21 18:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553018624001,"power":27843,"unknown_72":206,"unknown_84":6144,"ignition":10,"odometer":null,"unknown_45":-6021242310330939392}} 
[2026-08-21 18:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:21:03] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:21:03] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:21:06] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:21:06] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:21:06] local.INFO: IMEI packet received {"connection_id":159236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":159236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:21:07] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245e3970012d198c400720b590004300ef26..."} 
[2026-08-21 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245e3970012d198c400720b590004300ef26..."} 
[2026-08-21 18:21:07] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245e3970012d198c400720b590004300ef26..."} 
[2026-08-21 18:21:07] local.INFO: Packet analysis {"connection_id":159236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:21:07] local.INFO: Extracted packet for processing {"connection_id":159236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":38,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553031424001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316550000,"timestamp_ms":1787316550000,"timestamp_seconds":1787316550,"priority":1,"record_length":96,"hex_timestamp":"000001a0245e3970"} 
[2026-08-21 18:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553031424001,"66":12319,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553031424001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:21:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553031424001,"power":12319,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":159236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:21:07] local.INFO: GPS data processed {"connection_id":159236,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:21:07] local.INFO: Acknowledgment sent {"connection_id":159236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:21:34] local.INFO: TCP Data received {"connection_id":160420,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245dc828012dac59c0054a39700013012c2e..."} 
[2026-08-21 18:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245dc828012dac59c0054a39700013012c2e..."} 
[2026-08-21 18:21:34] local.INFO: Processing buffer {"connection_id":160420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245dc828012dac59c0054a39700013012c2e..."} 
[2026-08-21 18:21:34] local.INFO: Packet analysis {"connection_id":160420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:21:34] local.INFO: Extracted packet for processing {"connection_id":160420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245d"} 
[2026-08-21 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":766269888,"raw_latitude":88750448,"longitude_deg":76.6269888,"latitude_deg":8.8750448,"altitude":19,"angle":300,"satellites":46,"speed":3,"hex_longitude":"2dac59c0","hex_latitude":"054a3970","is_valid_coordinates":true} 
[2026-08-21 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553024000001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518790226247680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6023212635167672320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787316521000,"timestamp_ms":1787316521000,"timestamp_seconds":1787316521,"priority":1,"record_length":96,"hex_timestamp":"000001a0245dc828"} 
[2026-08-21 18:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 18:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553024000001,"66":27919,"72":206,"84":6144,"24":3,"16":388518790226247680,"45":-6023212635167672320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553024000001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:21:34] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:21:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518790226247680,"km_value":388518790226247.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6023212635167672320,"description":"Unknown IO ID 45"} 
[2026-08-21 18:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553024000001,"power":27919,"unknown_72":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6023212635167672320}} 
[2026-08-21 18:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":160420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:21:34] local.INFO: GPS data processed {"connection_id":160420,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:21:34] local.INFO: Acknowledgment sent {"connection_id":160420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:21:38] local.INFO: TCP Data received {"connection_id":159236,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245e8b78012d198c400720b590004300ef27..."} 
[2026-08-21 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245e8b78012d198c400720b590004300ef27..."} 
[2026-08-21 18:21:38] local.INFO: Processing buffer {"connection_id":159236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245e8b78012d198c400720b590004300ef27..."} 
[2026-08-21 18:21:38] local.INFO: Packet analysis {"connection_id":159236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:21:38] local.INFO: Extracted packet for processing {"connection_id":159236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553036800001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316571000,"timestamp_ms":1787316571000,"timestamp_seconds":1787316571,"priority":1,"record_length":96,"hex_timestamp":"000001a0245e8b78"} 
[2026-08-21 18:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-21 18:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553036800001,"66":12341,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553036800001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:21:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553036800001,"power":12341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":159236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:21:38] local.INFO: GPS data processed {"connection_id":159236,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:21:38] local.INFO: Acknowledgment sent {"connection_id":159236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:21:57] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:21:57] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:21:57] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:22:01] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:22:01] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:22:01] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:22:02] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:22:02] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:22:02] local.INFO: IMEI packet received {"connection_id":161804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":161804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:22:05] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245e1a30012dac5200054a3c68001301282e..."} 
[2026-08-21 18:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245e1a30012dac5200054a3c68001301282e..."} 
[2026-08-21 18:22:05] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245e1a30012dac5200054a3c68001301282e..."} 
[2026-08-21 18:22:05] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:22:05] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":766267904,"raw_latitude":88751208,"longitude_deg":76.6267904,"latitude_deg":8.8751208,"altitude":19,"angle":296,"satellites":46,"speed":5,"hex_longitude":"2dac5200","hex_latitude":"054a3c68","is_valid_coordinates":true} 
[2026-08-21 18:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553029376001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518893305462784,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6027575497306050560,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787316542000,"timestamp_ms":1787316542000,"timestamp_seconds":1787316542,"priority":1,"record_length":96,"hex_timestamp":"000001a0245e1a30"} 
[2026-08-21 18:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 18:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:22: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-08-21 18:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553029376001,"66":27800,"72":206,"84":6144,"24":5,"16":388518893305462784,"45":-6027575497306050560},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553029376001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:22:05] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:22:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518893305462784,"km_value":388518893305462.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6027575497306050560,"description":"Unknown IO ID 45"} 
[2026-08-21 18:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553029376001,"power":27800,"unknown_72":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6027575497306050560}} 
[2026-08-21 18:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:22:05] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:22:05] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:22:06] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:22:06] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:22:06] local.INFO: IMEI packet received {"connection_id":161805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":161805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:22:07] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245edd80012d198c400720b590004300ef27..."} 
[2026-08-21 18:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245edd80012d198c400720b590004300ef27..."} 
[2026-08-21 18:22:07] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245edd80012d198c400720b590004300ef27..."} 
[2026-08-21 18:22:07] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:22:07] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553042176001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316592000,"timestamp_ms":1787316592000,"timestamp_seconds":1787316592,"priority":1,"record_length":96,"hex_timestamp":"000001a0245edd80"} 
[2026-08-21 18:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 18:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553042176001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553042176001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:22:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553042176001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:22:07] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:22:07] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:22:38] local.INFO: TCP Data received {"connection_id":161805,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245f2f88012d198c400720b590004300ef29..."} 
[2026-08-21 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245f2f88012d198c400720b590004300ef29..."} 
[2026-08-21 18:22:38] local.INFO: Processing buffer {"connection_id":161805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245f2f88012d198c400720b590004300ef29..."} 
[2026-08-21 18:22:38] local.INFO: Packet analysis {"connection_id":161805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:22:38] local.INFO: Extracted packet for processing {"connection_id":161805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":41,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553047552001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316613000,"timestamp_ms":1787316613000,"timestamp_seconds":1787316613,"priority":1,"record_length":96,"hex_timestamp":"000001a0245f2f88"} 
[2026-08-21 18:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553047552001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553047552001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:22:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553047552001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":161805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:22:38] local.INFO: GPS data processed {"connection_id":161805,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:22:38] local.INFO: Acknowledgment sent {"connection_id":161805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:22:39] local.INFO: TCP Data received {"connection_id":161804,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245e6c38012dac4dc0054a3e780013012b2d..."} 
[2026-08-21 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245e6c38012dac4dc0054a3e780013012b2d..."} 
[2026-08-21 18:22:39] local.INFO: Processing buffer {"connection_id":161804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245e6c38012dac4dc0054a3e780013012b2d..."} 
[2026-08-21 18:22:39] local.INFO: Packet analysis {"connection_id":161804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:22:39] local.INFO: Extracted packet for processing {"connection_id":161804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":766266816,"raw_latitude":88751736,"longitude_deg":76.6266816,"latitude_deg":8.8751736,"altitude":19,"angle":299,"satellites":45,"speed":2,"hex_longitude":"2dac4dc0","hex_latitude":"054a3e78","is_valid_coordinates":true} 
[2026-08-21 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553034752001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518953435004928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6029756928375363584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787316563000,"timestamp_ms":1787316563000,"timestamp_seconds":1787316563,"priority":1,"record_length":96,"hex_timestamp":"000001a0245e6c38"} 
[2026-08-21 18:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 18:22:39] 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-08-21 18:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553034752001,"66":27974,"72":206,"84":6144,"24":2,"16":388518953435004928,"45":-6029756928375363584},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553034752001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518953435004928,"km_value":388518953435004.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6029756928375363584,"description":"Unknown IO ID 45"} 
[2026-08-21 18:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553034752001,"power":27974,"unknown_72":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6029756928375363584}} 
[2026-08-21 18:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":161804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:22:39] local.INFO: GPS data processed {"connection_id":161804,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:22:39] local.INFO: Acknowledgment sent {"connection_id":161804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:23:01] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:23:01] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:23:01] local.INFO: IMEI packet received {"connection_id":161807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":161807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:23:02] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:02] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:02] local.INFO: IMEI packet received {"connection_id":161806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":161806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:23:06] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:23:06] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:23:06] local.INFO: IMEI packet received {"connection_id":161807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":161807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:23:06] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245f8190012d198c400720b590004300ef29..."} 
[2026-08-21 18:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245f8190012d198c400720b590004300ef29..."} 
[2026-08-21 18:23:06] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245f8190012d198c400720b590004300ef29..."} 
[2026-08-21 18:23:06] local.INFO: Packet analysis {"connection_id":161807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:23:06] local.INFO: Extracted packet for processing {"connection_id":161807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":41,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553052928001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787316634000,"timestamp_ms":1787316634000,"timestamp_seconds":1787316634,"priority":1,"record_length":96,"hex_timestamp":"000001a0245f8190"} 
[2026-08-21 18:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:23:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553052928001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553052928001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:23:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553052928001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":161807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:23:06] local.INFO: GPS data processed {"connection_id":161807,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:23:06] local.INFO: Acknowledgment sent {"connection_id":161807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:23:07] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:07] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:07] local.INFO: IMEI packet received {"connection_id":161806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":161806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:23:09] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245ebe40012dac4b80054a3fb80013012b2d..."} 
[2026-08-21 18:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245ebe40012dac4b80054a3fb80013012b2d..."} 
[2026-08-21 18:23:09] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245ebe40012dac4b80054a3fb80013012b2d..."} 
[2026-08-21 18:23:09] local.INFO: Packet analysis {"connection_id":161806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:23:09] local.INFO: Extracted packet for processing {"connection_id":161806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:23:09] local.INFO: GPS Element Parsed {"raw_longitude":766266240,"raw_latitude":88752056,"longitude_deg":76.626624,"latitude_deg":8.8752056,"altitude":19,"angle":299,"satellites":45,"speed":0,"hex_longitude":"2dac4b80","hex_latitude":"054a3fb8","is_valid_coordinates":true} 
[2026-08-21 18:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553040128001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388518987794743296,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6030953197026248704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787316584000,"timestamp_ms":1787316584000,"timestamp_seconds":1787316584,"priority":1,"record_length":96,"hex_timestamp":"000001a0245ebe40"} 
[2026-08-21 18:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-08-21 18:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553040128001,"66":27887,"72":206,"84":6144,"24":0,"16":388518987794743296,"45":-6030953197026248704},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553040128001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:23:09] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:23:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388518987794743296,"km_value":388518987794743.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6030953197026248704,"description":"Unknown IO ID 45"} 
[2026-08-21 18:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553040128001,"power":27887,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6030953197026248704}} 
[2026-08-21 18:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":161806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:23:09] local.INFO: GPS data processed {"connection_id":161806,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:23:09] local.INFO: Acknowledgment sent {"connection_id":161806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:23:13] local.INFO: TCP Data received {"connection_id":161806,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245f1048012dac4740054a41980012012c2e..."} 
[2026-08-21 18:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245f1048012dac4740054a41980012012c2e..."} 
[2026-08-21 18:23:13] local.INFO: Processing buffer {"connection_id":161806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245f1048012dac4740054a41980012012c2e..."} 
[2026-08-21 18:23:13] local.INFO: Packet analysis {"connection_id":161806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:23:13] local.INFO: Extracted packet for processing {"connection_id":161806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":766265152,"raw_latitude":88752536,"longitude_deg":76.6265152,"latitude_deg":8.8752536,"altitude":18,"angle":300,"satellites":46,"speed":2,"hex_longitude":"2dac4740","hex_latitude":"054a4198","is_valid_coordinates":true} 
[2026-08-21 18:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553045504001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388519047924285440,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6031586515723765760,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787316605000,"timestamp_ms":1787316605000,"timestamp_seconds":1787316605,"priority":1,"record_length":96,"hex_timestamp":"000001a0245f1048"} 
[2026-08-21 18:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 18:23:13] 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-08-21 18:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553045504001,"66":28028,"72":206,"84":6144,"24":2,"16":388519047924285440,"45":-6031586515723765760},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553045504001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:23:13] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:23:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388519047924285440,"km_value":388519047924285.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6031586515723765760,"description":"Unknown IO ID 45"} 
[2026-08-21 18:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553045504001,"power":28028,"unknown_72":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6031586515723765760}} 
[2026-08-21 18:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":161806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:23:13] local.INFO: GPS data processed {"connection_id":161806,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:23:13] local.INFO: Acknowledgment sent {"connection_id":161806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:23:37] local.INFO: TCP Data received {"connection_id":161807,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0245fd398012d198c400720b590004300ef28..."} 
[2026-08-21 18:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245fd398012d198c400720b590004300ef28..."} 
[2026-08-21 18:23:37] local.INFO: Processing buffer {"connection_id":161807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245fd398012d198c400720b590004300ef28..."} 
[2026-08-21 18:23:37] local.INFO: Packet analysis {"connection_id":161807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:23:37] local.INFO: Extracted packet for processing {"connection_id":161807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":40,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553058304001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787316655000,"timestamp_ms":1787316655000,"timestamp_seconds":1787316655,"priority":1,"record_length":96,"hex_timestamp":"000001a0245fd398"} 
[2026-08-21 18:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553058304001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553058304001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:23:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553058304001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":161807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:23:38] local.INFO: GPS data processed {"connection_id":161807,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:23:38] local.INFO: Acknowledgment sent {"connection_id":161807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:23:57] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:57] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:23:57] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:24:00] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:00] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:00] local.INFO: IMEI packet received {"connection_id":159522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":159522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:24:01] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:01] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:01] local.INFO: IMEI packet received {"connection_id":159522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":159522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:24:02] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:24:02] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:24:02] local.INFO: IMEI packet received {"connection_id":160421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":160421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:24:03] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245f6250012dac4040054a45d80012012a2f..."} 
[2026-08-21 18:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245f6250012dac4040054a45d80012012a2f..."} 
[2026-08-21 18:24:03] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245f6250012dac4040054a45d80012012a2f..."} 
[2026-08-21 18:24:03] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:24:03] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:24:03] local.INFO: GPS Element Parsed {"raw_longitude":766263360,"raw_latitude":88753624,"longitude_deg":76.626336,"latitude_deg":8.8753624,"altitude":18,"angle":298,"satellites":47,"speed":7,"hex_longitude":"2dac4040","hex_latitude":"054a45d8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553050880001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388519151003500544,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6032782784374663168,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316626000,"timestamp_ms":1787316626000,"timestamp_seconds":1787316626,"priority":1,"record_length":96,"hex_timestamp":"000001a0245f6250"} 
[2026-08-21 18:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 18:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553050880001,"66":27767,"72":206,"84":6144,"24":7,"16":388519151003500544,"45":-6032782784374663168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553050880001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:24:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:24:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388519151003500544,"km_value":388519151003500.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6032782784374663168,"description":"Unknown IO ID 45"} 
[2026-08-21 18:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553050880001,"power":27767,"unknown_72":206,"unknown_84":6144,"ignition":7,"odometer":null,"unknown_45":-6032782784374663168}} 
[2026-08-21 18:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:24:03] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:24:03] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:24:06] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:06] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:24:06] local.INFO: IMEI packet received {"connection_id":159522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":159522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:24:07] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0246025a0012d198c400720b590004300ef26..."} 
[2026-08-21 18:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246025a0012d198c400720b590004300ef26..."} 
[2026-08-21 18:24:07] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246025a0012d198c400720b590004300ef26..."} 
[2026-08-21 18:24:07] local.INFO: Packet analysis {"connection_id":159522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02460"} 
[2026-08-21 18:24:07] local.INFO: Extracted packet for processing {"connection_id":159522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02460"} 
[2026-08-21 18:24:07] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":38,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553063680001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316676000,"timestamp_ms":1787316676000,"timestamp_seconds":1787316676,"priority":1,"record_length":96,"hex_timestamp":"000001a0246025a0"} 
[2026-08-21 18:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553063680001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553063680001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:24:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:24:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553063680001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":159522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:24:07] local.INFO: GPS data processed {"connection_id":159522,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:24:07] local.INFO: Acknowledgment sent {"connection_id":159522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:24:38] local.INFO: TCP Data received {"connection_id":159522,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0246077a8012d198c400720b590004300ef26..."} 
[2026-08-21 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246077a8012d198c400720b590004300ef26..."} 
[2026-08-21 18:24:38] local.INFO: Processing buffer {"connection_id":159522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246077a8012d198c400720b590004300ef26..."} 
[2026-08-21 18:24:38] local.INFO: Packet analysis {"connection_id":159522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02460"} 
[2026-08-21 18:24:38] local.INFO: Extracted packet for processing {"connection_id":159522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02460"} 
[2026-08-21 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":38,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553069056001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316697000,"timestamp_ms":1787316697000,"timestamp_seconds":1787316697,"priority":1,"record_length":96,"hex_timestamp":"000001a0246077a8"} 
[2026-08-21 18:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553069056001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553069056001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:24:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553069056001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":159522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:24:38] local.INFO: GPS data processed {"connection_id":159522,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:24:38] local.INFO: Acknowledgment sent {"connection_id":159522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:24:41] local.INFO: TCP Data received {"connection_id":160421,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0245fb458012dac3d40054a47a00012012b2c..."} 
[2026-08-21 18:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245fb458012dac3d40054a47a00012012b2c..."} 
[2026-08-21 18:24:41] local.INFO: Processing buffer {"connection_id":160421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245fb458012dac3d40054a47a00012012b2c..."} 
[2026-08-21 18:24:41] local.INFO: Packet analysis {"connection_id":160421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:24:41] local.INFO: Extracted packet for processing {"connection_id":160421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245f"} 
[2026-08-21 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":766262592,"raw_latitude":88754080,"longitude_deg":76.6262592,"latitude_deg":8.875408,"altitude":18,"angle":299,"satellites":44,"speed":0,"hex_longitude":"2dac3d40","hex_latitude":"054a47a0","is_valid_coordinates":true} 
[2026-08-21 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553056256001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388519198248140800,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6034753109211359232,"note":"Value kept but may cause issues"} 
[2026-08-21 18:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787316647000,"timestamp_ms":1787316647000,"timestamp_seconds":1787316647,"priority":1,"record_length":96,"hex_timestamp":"000001a0245fb458"} 
[2026-08-21 18:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553056256001,"66":27821,"72":206,"84":6144,"24":0,"16":388519198248140800,"45":-6034753109211359232},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,84,24,16,45]} 
[2026-08-21 18:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553056256001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:24:41] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-08-21 18:24:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388519198248140800,"km_value":388519198248140.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6034753109211359232,"description":"Unknown IO ID 45"} 
[2026-08-21 18:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553056256001,"power":27821,"unknown_72":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6034753109211359232}} 
[2026-08-21 18:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":160421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:24:41] local.INFO: GPS data processed {"connection_id":160421,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:24:41] local.INFO: Acknowledgment sent {"connection_id":160421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:24:57] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:24:57] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:24:57] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:24:57] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:24:57] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:24:57] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:25:01] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:01] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:01] local.INFO: IMEI packet received {"connection_id":159237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":159237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:25:01] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:25:01] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:25:01] local.INFO: IMEI packet received {"connection_id":161808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":161808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:25:02] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:25:02] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:25:02] local.INFO: IMEI packet received {"connection_id":161809,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":161809,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:25:02] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024627760012dab7bc0054a67580018010a2d..."} 
[2026-08-21 18:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024627760012dab7bc0054a67580018010a2d..."} 
[2026-08-21 18:25:02] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024627760012dab7bc0054a67580018010a2d..."} 
[2026-08-21 18:25:02] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02462"} 
[2026-08-21 18:25:02] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02462"} 
[2026-08-21 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":766213056,"raw_latitude":88762200,"longitude_deg":76.6213056,"latitude_deg":8.87622,"altitude":24,"angle":266,"satellites":45,"speed":31,"hex_longitude":"2dab7bc0","hex_latitude":"054a6758","is_valid_coordinates":true} 
[2026-08-21 18:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553103872001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388521689329172480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6079648367994349568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787316828000,"timestamp_ms":1787316828000,"timestamp_seconds":1787316828,"priority":1,"record_length":96,"hex_timestamp":"000001a024627760"} 
[2026-08-21 18:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:25: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-08-21 18:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553103872001,"66":27767,"118":206,"84":6144,"24":31,"16":388521689329172480,"45":-6079648367994349568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-21 18:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553103872001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:25:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-21 18:25:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388521689329172480,"km_value":388521689329172.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6079648367994349568,"description":"Unknown IO ID 45"} 
[2026-08-21 18:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553103872001,"power":27767,"unknown_118":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6079648367994349568}} 
[2026-08-21 18:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:25:02] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:25:02] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:25:03] local.INFO: TCP Data received {"connection_id":161809,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0245e7408012d819a4005d33e080008004a1d..."} 
[2026-08-21 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0245e7408012d819a4005d33e080008004a1d..."} 
[2026-08-21 18:25:03] local.INFO: Processing buffer {"connection_id":161809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0245e7408012d819a4005d33e080008004a1d..."} 
[2026-08-21 18:25:03] local.INFO: Packet analysis {"connection_id":161809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:25:03] local.INFO: Extracted packet for processing {"connection_id":161809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0245e"} 
[2026-08-21 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763468352,"raw_latitude":97730056,"longitude_deg":76.3468352,"latitude_deg":9.7730056,"altitude":8,"angle":74,"satellites":29,"speed":9,"hex_longitude":"2d819a40","hex_latitude":"05d33e08","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553040640001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121848509950328832,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107896902640334848,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316565000,"timestamp_ms":1787316565000,"timestamp_seconds":1787316565,"priority":1,"record_length":96,"hex_timestamp":"000001a0245e7408"} 
[2026-08-21 18:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-21 18:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161809,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553040640001,"66":11678,"207":206,"85":15104,"24":9,"16":121848509950328832,"45":-9107896902640334848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-08-21 18:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553040640001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:25:03] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 18:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121848509950328832,"km_value":121848509950328.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107896902640334848,"description":"Unknown IO ID 45"} 
[2026-08-21 18:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553040640001,"power":11678,"unknown_207":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9107896902640334848}} 
[2026-08-21 18:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":161809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:25:03] local.INFO: GPS data processed {"connection_id":161809,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:25:03] local.INFO: Acknowledgment sent {"connection_id":161809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:25:03] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:03] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:03] local.INFO: IMEI packet received {"connection_id":159237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":159237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:25:06] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:06] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:25:06] local.INFO: IMEI packet received {"connection_id":159237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":159237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:25:07] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02460c9b0012d198c400720b590004300ef27..."} 
[2026-08-21 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02460c9b0012d198c400720b590004300ef27..."} 
[2026-08-21 18:25:07] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02460c9b0012d198c400720b590004300ef27..."} 
[2026-08-21 18:25:07] local.INFO: Packet analysis {"connection_id":159237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02460"} 
[2026-08-21 18:25:07] local.INFO: Extracted packet for processing {"connection_id":159237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02460"} 
[2026-08-21 18:25:07] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":39,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553074432001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316718000,"timestamp_ms":1787316718000,"timestamp_seconds":1787316718,"priority":1,"record_length":96,"hex_timestamp":"000001a02460c9b0"} 
[2026-08-21 18:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:25:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:25:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553074432001,"66":12385,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553074432001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:25:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:25:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553074432001,"power":12385,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":159237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:25:07] local.INFO: GPS data processed {"connection_id":159237,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:25:07] local.INFO: Acknowledgment sent {"connection_id":159237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:25:34] local.INFO: TCP Data received {"connection_id":161808,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02462a640012dab55c0054a6238001401052d..."} 
[2026-08-21 18:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02462a640012dab55c0054a6238001401052d..."} 
[2026-08-21 18:25:34] local.INFO: Processing buffer {"connection_id":161808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02462a640012dab55c0054a6238001401052d..."} 
[2026-08-21 18:25:34] local.INFO: Packet analysis {"connection_id":161808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02462"} 
[2026-08-21 18:25:34] local.INFO: Extracted packet for processing {"connection_id":161808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02462"} 
[2026-08-21 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":766203328,"raw_latitude":88760888,"longitude_deg":76.6203328,"latitude_deg":8.8760888,"altitude":20,"angle":261,"satellites":45,"speed":38,"hex_longitude":"2dab55c0","hex_latitude":"054a6238","is_valid_coordinates":true} 
[2026-08-21 18:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553107968001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388522161775575040,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6090062942132807680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787316840000,"timestamp_ms":1787316840000,"timestamp_seconds":1787316840,"priority":1,"record_length":96,"hex_timestamp":"000001a02462a640"} 
[2026-08-21 18:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553107968001,"66":27821,"118":206,"84":6144,"24":38,"16":388522161775575040,"45":-6090062942132807680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-21 18:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553107968001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:25:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-21 18:25:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388522161775575040,"km_value":388522161775575.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6090062942132807680,"description":"Unknown IO ID 45"} 
[2026-08-21 18:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553107968001,"power":27821,"unknown_118":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6090062942132807680}} 
[2026-08-21 18:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:25:34] local.INFO: GPS data processed {"connection_id":161808,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:25:34] local.INFO: Acknowledgment sent {"connection_id":161808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:25:38] local.INFO: TCP Data received {"connection_id":159237,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024611bb8012d198c400720b590004300ef25..."} 
[2026-08-21 18:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024611bb8012d198c400720b590004300ef25..."} 
[2026-08-21 18:25:38] local.INFO: Processing buffer {"connection_id":159237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024611bb8012d198c400720b590004300ef25..."} 
[2026-08-21 18:25:38] local.INFO: Packet analysis {"connection_id":159237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02461"} 
[2026-08-21 18:25:38] local.INFO: Extracted packet for processing {"connection_id":159237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02461"} 
[2026-08-21 18:25:38] local.INFO: GPS Element Parsed {"raw_longitude":756649024,"raw_latitude":119584144,"longitude_deg":75.6649024,"latitude_deg":11.9584144,"altitude":67,"angle":239,"satellites":37,"speed":0,"hex_longitude":"2d198c40","hex_latitude":"0720b590","is_valid_coordinates":true} 
[2026-08-21 18:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553079808001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14285172895645696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840916747045408768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787316739000,"timestamp_ms":1787316739000,"timestamp_seconds":1787316739,"priority":1,"record_length":96,"hex_timestamp":"000001a024611bb8"} 
[2026-08-21 18:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:25:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:25:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:25:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553079808001,"66":12374,"103":206,"83":41984,"24":0,"16":14285172895645696,"45":1840916747045408768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553079808001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:25:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:25:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14285172895645696,"km_value":14285172895645.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840916747045408768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553079808001,"power":12374,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840916747045408768}} 
[2026-08-21 18:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":159237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:25:38] local.INFO: GPS data processed {"connection_id":159237,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:25:38] local.INFO: Acknowledgment sent {"connection_id":159237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:25:57] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:25:57] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:25:57] local.INFO: IMEI packet received {"connection_id":159523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":159523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:26:00] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:00] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:00] local.INFO: IMEI packet received {"connection_id":159523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":159523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:26:02] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:02] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:02] local.INFO: IMEI packet received {"connection_id":159523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":159523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:26:02] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02462d138012dab3080054a5c90001401032a..."} 
[2026-08-21 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02462d138012dab3080054a5c90001401032a..."} 
[2026-08-21 18:26:02] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02462d138012dab3080054a5c90001401032a..."} 
[2026-08-21 18:26:02] local.INFO: Packet analysis {"connection_id":159523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02462"} 
[2026-08-21 18:26:02] local.INFO: Extracted packet for processing {"connection_id":159523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02462"} 
[2026-08-21 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":766193792,"raw_latitude":88759440,"longitude_deg":76.6193792,"latitude_deg":8.875944,"altitude":20,"angle":259,"satellites":42,"speed":31,"hex_longitude":"2dab3080","hex_latitude":"054a5c90","is_valid_coordinates":true} 
[2026-08-21 18:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553111040001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388522621337075712,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6100758991248148480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787316851000,"timestamp_ms":1787316851000,"timestamp_seconds":1787316851,"priority":1,"record_length":96,"hex_timestamp":"000001a02462d138"} 
[2026-08-21 18:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:26: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-08-21 18:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553111040001,"66":27908,"36":206,"84":6144,"24":31,"16":388522621337075712,"45":-6100758991248148480},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,84,24,16,45]} 
[2026-08-21 18:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553111040001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:26:02] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 18:26:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388522621337075712,"km_value":388522621337075.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6100758991248148480,"description":"Unknown IO ID 45"} 
[2026-08-21 18:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553111040001,"power":27908,"unknown_36":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6100758991248148480}} 
[2026-08-21 18:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":159523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:26:02] local.INFO: GPS data processed {"connection_id":159523,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:26:02] local.INFO: Acknowledgment sent {"connection_id":159523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:26:06] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:06] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:06] local.INFO: IMEI packet received {"connection_id":159524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":159524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:26:07] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024630018012dab0ac0054a5508001500ff2c..."} 
[2026-08-21 18:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024630018012dab0ac0054a5508001500ff2c..."} 
[2026-08-21 18:26:07] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024630018012dab0ac0054a5508001500ff2c..."} 
[2026-08-21 18:26:07] local.INFO: Packet analysis {"connection_id":159523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:26:07] local.INFO: Extracted packet for processing {"connection_id":159523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:26:07] local.INFO: GPS Element Parsed {"raw_longitude":766184128,"raw_latitude":88757512,"longitude_deg":76.6184128,"latitude_deg":8.8757512,"altitude":21,"angle":255,"satellites":44,"speed":34,"hex_longitude":"2dab0ac0","hex_latitude":"054a5508","is_valid_coordinates":true} 
[2026-08-21 18:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553113856001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388523093783478272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6111243934130991104,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787316863000,"timestamp_ms":1787316863000,"timestamp_seconds":1787316863,"priority":1,"record_length":96,"hex_timestamp":"000001a024630018"} 
[2026-08-21 18:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:26: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-08-21 18:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553113856001,"66":27800,"34":206,"84":6144,"24":34,"16":388523093783478272,"45":-6111243934130991104},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-21 18:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553113856001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:26:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-21 18:26:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388523093783478272,"km_value":388523093783478.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6111243934130991104,"description":"Unknown IO ID 45"} 
[2026-08-21 18:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553113856001,"power":27800,"unknown_34":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6111243934130991104}} 
[2026-08-21 18:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":159523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:26:07] local.INFO: GPS data processed {"connection_id":159523,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:26:07] local.INFO: Acknowledgment sent {"connection_id":159523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:26:11] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:11] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:11] local.INFO: IMEI packet received {"connection_id":159524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":159524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:26:12] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:12] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:12] local.INFO: IMEI packet received {"connection_id":159524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":159524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:26:16] local.INFO: TCP Data received {"connection_id":159524,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:16] local.INFO: Processing buffer {"connection_id":159524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:26:16] local.INFO: IMEI packet received {"connection_id":159524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":159524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:26:39] local.INFO: TCP Data received {"connection_id":159523,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024631b70012daaf280054a50e80014010b2a..."} 
[2026-08-21 18:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024631b70012daaf280054a50e80014010b2a..."} 
[2026-08-21 18:26:39] local.INFO: Processing buffer {"connection_id":159523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024631b70012daaf280054a50e80014010b2a..."} 
[2026-08-21 18:26:39] local.INFO: Packet analysis {"connection_id":159523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:26:39] local.INFO: Extracted packet for processing {"connection_id":159523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":766177920,"raw_latitude":88756456,"longitude_deg":76.617792,"latitude_deg":8.8756456,"altitude":20,"angle":267,"satellites":42,"speed":38,"hex_longitude":"2daaf280","hex_latitude":"054a50e8","is_valid_coordinates":true} 
[2026-08-21 18:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553116928001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388523398726156288,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6121869614502311936,"note":"Value kept but may cause issues"} 
[2026-08-21 18:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787316870000,"timestamp_ms":1787316870000,"timestamp_seconds":1787316870,"priority":1,"record_length":96,"hex_timestamp":"000001a024631b70"} 
[2026-08-21 18:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 18:26:39] 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-08-21 18:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553116928001,"66":27919,"34":206,"84":6144,"24":38,"16":388523398726156288,"45":-6121869614502311936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-21 18:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553116928001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:26:39] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-21 18:26:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388523398726156288,"km_value":388523398726156.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6121869614502311936,"description":"Unknown IO ID 45"} 
[2026-08-21 18:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553116928001,"power":27919,"unknown_34":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6121869614502311936}} 
[2026-08-21 18:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":159523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:26:39] local.INFO: GPS data processed {"connection_id":159523,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:26:39] local.INFO: Acknowledgment sent {"connection_id":159523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:26:57] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:57] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:26:57] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:27:01] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:01] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:01] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:27:02] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:02] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:02] local.INFO: IMEI packet received {"connection_id":160422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":160422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:27:03] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246336c8012daadbc0054a51f00012011827..."} 
[2026-08-21 18:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246336c8012daadbc0054a51f00012011827..."} 
[2026-08-21 18:27:03] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246336c8012daadbc0054a51f00012011827..."} 
[2026-08-21 18:27:03] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:27:03] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:27:03] local.INFO: GPS Element Parsed {"raw_longitude":766172096,"raw_latitude":88756720,"longitude_deg":76.6172096,"latitude_deg":8.875672,"altitude":18,"angle":280,"satellites":39,"speed":31,"hex_longitude":"2daadbc0","hex_latitude":"054a51f0","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553118720001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388523673604063232,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6128695382687815680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316877000,"timestamp_ms":1787316877000,"timestamp_seconds":1787316877,"priority":1,"record_length":96,"hex_timestamp":"000001a0246336c8"} 
[2026-08-21 18:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 18:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553118720001,"66":27876,"34":206,"84":6144,"24":31,"16":388523673604063232,"45":-6128695382687815680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-21 18:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553118720001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:27:03] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-21 18:27:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388523673604063232,"km_value":388523673604063.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6128695382687815680,"description":"Unknown IO ID 45"} 
[2026-08-21 18:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553118720001,"power":27876,"unknown_34":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6128695382687815680}} 
[2026-08-21 18:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:27:03] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:27:03] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:27:08] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246365a8012daab900054a5c280010011a2d..."} 
[2026-08-21 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246365a8012daab900054a5c280010011a2d..."} 
[2026-08-21 18:27:08] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246365a8012daab900054a5c280010011a2d..."} 
[2026-08-21 18:27:08] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:27:08] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":766163200,"raw_latitude":88759336,"longitude_deg":76.61632,"latitude_deg":8.8759336,"altitude":16,"angle":282,"satellites":45,"speed":29,"hex_longitude":"2daab900","hex_latitude":"054a5c28","is_valid_coordinates":true} 
[2026-08-21 18:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553120512001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388524120280662016,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6135098938407915520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787316889000,"timestamp_ms":1787316889000,"timestamp_seconds":1787316889,"priority":1,"record_length":96,"hex_timestamp":"000001a0246365a8"} 
[2026-08-21 18:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:27: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":228,"data_length":795,"current_offset":136} 
[2026-08-21 18:27:08] 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-08-21 18:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553120512001,"66":27876,"34":206,"84":6144,"24":29,"16":388524120280662016,"45":-6135098938407915520},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-21 18:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553120512001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388524120280662016,"km_value":388524120280662.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6135098938407915520,"description":"Unknown IO ID 45"} 
[2026-08-21 18:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553120512001,"power":27876,"unknown_34":206,"unknown_84":6144,"ignition":29,"odometer":null,"unknown_45":-6135098938407915520}} 
[2026-08-21 18:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:27:08] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:27:08] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:27:39] local.INFO: TCP Data received {"connection_id":160422,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246384e8012daaa2c0054a6190001101282b..."} 
[2026-08-21 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246384e8012daaa2c0054a6190001101282b..."} 
[2026-08-21 18:27:39] local.INFO: Processing buffer {"connection_id":160422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246384e8012daaa2c0054a6190001101282b..."} 
[2026-08-21 18:27:39] local.INFO: Packet analysis {"connection_id":160422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:27:39] local.INFO: Extracted packet for processing {"connection_id":160422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":766157504,"raw_latitude":88760720,"longitude_deg":76.6157504,"latitude_deg":8.876072,"altitude":17,"angle":296,"satellites":43,"speed":28,"hex_longitude":"2daaa2c0","hex_latitude":"054a6190","is_valid_coordinates":true} 
[2026-08-21 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553123584001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388524399453536256,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6144880193847941120,"note":"Value kept but may cause issues"} 
[2026-08-21 18:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787316897000,"timestamp_ms":1787316897000,"timestamp_seconds":1787316897,"priority":1,"record_length":96,"hex_timestamp":"000001a0246384e8"} 
[2026-08-21 18:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 18:27:39] 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-08-21 18:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553123584001,"66":27908,"34":206,"84":6144,"24":28,"16":388524399453536256,"45":-6144880193847941120},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,84,24,16,45]} 
[2026-08-21 18:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553123584001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:27:39] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-08-21 18:27:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388524399453536256,"km_value":388524399453536.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6144880193847941120,"description":"Unknown IO ID 45"} 
[2026-08-21 18:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553123584001,"power":27908,"unknown_34":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6144880193847941120}} 
[2026-08-21 18:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":160422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:27:39] local.INFO: GPS data processed {"connection_id":160422,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:27:39] local.INFO: Acknowledgment sent {"connection_id":160422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:27:57] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:57] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:27:57] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:28:02] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:28:02] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:28:02] local.INFO: IMEI packet received {"connection_id":161810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":161810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:28:03] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02463afe0012daa8300054a7168001101202e..."} 
[2026-08-21 18:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02463afe0012daa8300054a7168001101202e..."} 
[2026-08-21 18:28:03] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02463afe0012daa8300054a7168001101202e..."} 
[2026-08-21 18:28:03] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:28:03] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":766149376,"raw_latitude":88764776,"longitude_deg":76.6149376,"latitude_deg":8.8764776,"altitude":17,"angle":288,"satellites":46,"speed":31,"hex_longitude":"2daa8300","hex_latitude":"054a7168","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553125632001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388524841835167744,"note":"Value kept but may cause issues"} 
[2026-08-21 18:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6151143012079398912,"note":"Value kept but may cause issues"} 
[2026-08-21 18:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787316908000,"timestamp_ms":1787316908000,"timestamp_seconds":1787316908,"priority":1,"record_length":96,"hex_timestamp":"000001a02463afe0"} 
[2026-08-21 18:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:28:03] 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-08-21 18: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-08-21 18:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553125632001,"66":27843,"36":206,"84":6144,"24":31,"16":388524841835167744,"45":-6151143012079398912},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,84,24,16,45]} 
[2026-08-21 18:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553125632001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:28:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 18:28:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388524841835167744,"km_value":388524841835167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6151143012079398912,"description":"Unknown IO ID 45"} 
[2026-08-21 18:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553125632001,"power":27843,"unknown_36":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6151143012079398912}} 
[2026-08-21 18:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:28:03] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:28:03] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:28:34] local.INFO: TCP Data received {"connection_id":161810,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02463dad8012daa60c0054a7c000012011e2c..."} 
[2026-08-21 18:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02463dad8012daa60c0054a7c000012011e2c..."} 
[2026-08-21 18:28:34] local.INFO: Processing buffer {"connection_id":161810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02463dad8012daa60c0054a7c000012011e2c..."} 
[2026-08-21 18:28:34] local.INFO: Packet analysis {"connection_id":161810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:28:34] local.INFO: Extracted packet for processing {"connection_id":161810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02463"} 
[2026-08-21 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":766140608,"raw_latitude":88767488,"longitude_deg":76.6140608,"latitude_deg":8.8767488,"altitude":18,"angle":286,"satellites":44,"speed":31,"hex_longitude":"2daa60c0","hex_latitude":"054a7c00","is_valid_coordinates":true} 
[2026-08-21 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553128448001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388525279921831936,"note":"Value kept but may cause issues"} 
[2026-08-21 18:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6160079842588923904,"note":"Value kept but may cause issues"} 
[2026-08-21 18:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787316919000,"timestamp_ms":1787316919000,"timestamp_seconds":1787316919,"priority":1,"record_length":96,"hex_timestamp":"000001a02463dad8"} 
[2026-08-21 18:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 18:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553128448001,"66":27908,"36":206,"84":6144,"24":31,"16":388525279921831936,"45":-6160079842588923904},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,84,24,16,45]} 
[2026-08-21 18:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553128448001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:28:34] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-08-21 18:28:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388525279921831936,"km_value":388525279921831.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6160079842588923904,"description":"Unknown IO ID 45"} 
[2026-08-21 18:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553128448001,"power":27908,"unknown_36":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6160079842588923904}} 
[2026-08-21 18:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":161810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:28:34] local.INFO: GPS data processed {"connection_id":161810,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:28:34] local.INFO: Acknowledgment sent {"connection_id":161810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:28:57] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:28:57] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:28:57] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:29:03] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:29:03] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:29:03] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:29:04] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:29:04] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:29:04] local.INFO: IMEI packet received {"connection_id":160423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":160423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:29:04] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024663850012da90fc0054af2300010011e2c..."} 
[2026-08-21 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024663850012da90fc0054af2300010011e2c..."} 
[2026-08-21 18:29:04] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024663850012da90fc0054af2300010011e2c..."} 
[2026-08-21 18:29:04] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:29:04] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":766054336,"raw_latitude":88797744,"longitude_deg":76.6054336,"latitude_deg":8.8797744,"altitude":16,"angle":286,"satellites":44,"speed":0,"hex_longitude":"2da90fc0","hex_latitude":"054af230","is_valid_coordinates":true} 
[2026-08-21 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553165568001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388529673673375744,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6264577427684315136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787317074000,"timestamp_ms":1787317074000,"timestamp_seconds":1787317074,"priority":1,"record_length":96,"hex_timestamp":"000001a024663850"} 
[2026-08-21 18:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:29: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-08-21 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:29:04] 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-08-21 18:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553165568001,"66":27658,"115":206,"84":6144,"24":0,"16":388529673673375744,"45":-6264577427684315136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,84,24,16,45]} 
[2026-08-21 18:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553165568001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:29:04] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-08-21 18:29:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388529673673375744,"km_value":388529673673375.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6264577427684315136,"description":"Unknown IO ID 45"} 
[2026-08-21 18:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553165568001,"power":27658,"unknown_115":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6264577427684315136}} 
[2026-08-21 18:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:29:04] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:29:04] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:29:07] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024668a58012da90580054af5e0000f01232d..."} 
[2026-08-21 18:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024668a58012da90580054af5e0000f01232d..."} 
[2026-08-21 18:29:07] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024668a58012da90580054af5e0000f01232d..."} 
[2026-08-21 18:29:07] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:29:07] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:29:07] local.INFO: GPS Element Parsed {"raw_longitude":766051712,"raw_latitude":88798688,"longitude_deg":76.6051712,"latitude_deg":8.8798688,"altitude":15,"angle":291,"satellites":45,"speed":18,"hex_longitude":"2da90580","hex_latitude":"054af5e0","is_valid_coordinates":true} 
[2026-08-21 18:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553170944001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388529806817361920,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6264577427684315136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317095000,"timestamp_ms":1787317095000,"timestamp_seconds":1787317095,"priority":1,"record_length":96,"hex_timestamp":"000001a024668a58"} 
[2026-08-21 18:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 18:29:07] 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-08-21 18:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553170944001,"66":27767,"116":206,"84":6144,"24":18,"16":388529806817361920,"45":-6264577427684315136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 18:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553170944001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:29:07] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 18:29:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388529806817361920,"km_value":388529806817361.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6264577427684315136,"description":"Unknown IO ID 45"} 
[2026-08-21 18:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553170944001,"power":27767,"unknown_116":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6264577427684315136}} 
[2026-08-21 18:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:29:07] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:29:07] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:29:38] local.INFO: TCP Data received {"connection_id":160423,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02466a5b0012da8f480054afad8000f01182d..."} 
[2026-08-21 18:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02466a5b0012da8f480054afad8000f01182d..."} 
[2026-08-21 18:29:38] local.INFO: Processing buffer {"connection_id":160423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02466a5b0012da8f480054afad8000f01182d..."} 
[2026-08-21 18:29:38] local.INFO: Packet analysis {"connection_id":160423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:29:38] local.INFO: Extracted packet for processing {"connection_id":160423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:29:38] local.INFO: GPS Element Parsed {"raw_longitude":766047360,"raw_latitude":88799960,"longitude_deg":76.604736,"latitude_deg":8.879996,"altitude":15,"angle":280,"satellites":45,"speed":28,"hex_longitude":"2da8f480","hex_latitude":"054afad8","is_valid_coordinates":true} 
[2026-08-21 18:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553176320001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388530025860694016,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6267462546195357696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317102000,"timestamp_ms":1787317102000,"timestamp_seconds":1787317102,"priority":1,"record_length":96,"hex_timestamp":"000001a02466a5b0"} 
[2026-08-21 18:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:29:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:29:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553176320001,"66":27767,"155":206,"84":6144,"24":28,"16":388530025860694016,"45":-6267462546195357696},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,84,24,16,45]} 
[2026-08-21 18:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553176320001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:29:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 18:29:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388530025860694016,"km_value":388530025860694.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6267462546195357696,"description":"Unknown IO ID 45"} 
[2026-08-21 18:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553176320001,"power":27767,"unknown_155":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6267462546195357696}} 
[2026-08-21 18:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":160423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:29:38] local.INFO: GPS data processed {"connection_id":160423,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:29:38] local.INFO: Acknowledgment sent {"connection_id":160423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:29:44] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:29:44] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:29:44] local.INFO: IMEI packet received {"connection_id":159525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":159525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:29:49] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:29:49] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:29:49] local.INFO: IMEI packet received {"connection_id":159525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":159525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:29:50] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02467b338012d8276c005d34908000f004c27..."} 
[2026-08-21 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02467b338012d8276c005d34908000f004c27..."} 
[2026-08-21 18:29:50] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02467b338012d8276c005d34908000f004c27..."} 
[2026-08-21 18:29:50] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:29:50] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":763524800,"raw_latitude":97732872,"longitude_deg":76.35248,"latitude_deg":9.7732872,"altitude":15,"angle":76,"satellites":39,"speed":20,"hex_longitude":"2d8276c0","hex_latitude":"05d34908","is_valid_coordinates":true} 
[2026-08-21 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553191680001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121850554354761728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056035138181029888,"note":"Value kept but may cause issues"} 
[2026-08-21 18:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787317171000,"timestamp_ms":1787317171000,"timestamp_seconds":1787317171,"priority":1,"record_length":96,"hex_timestamp":"000001a02467b338"} 
[2026-08-21 18:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 18:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553191680001,"66":13450,"68":206,"85":15104,"24":20,"16":121850554354761728,"45":-9056035138181029888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553191680001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:29:50] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:29:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121850554354761728,"km_value":121850554354761.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056035138181029888,"description":"Unknown IO ID 45"} 
[2026-08-21 18:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553191680001,"power":13450,"unknown_68":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9056035138181029888}} 
[2026-08-21 18:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:29:50] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:29:50] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:30:02] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:02] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:02] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:30:08] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:08] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:08] local.INFO: IMEI packet received {"connection_id":161813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":161813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:30:09] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02466d0a8012da8cf40054afe48000e01122c..."} 
[2026-08-21 18:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02466d0a8012da8cf40054afe48000e01122c..."} 
[2026-08-21 18:30:09] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02466d0a8012da8cf40054afe48000e01122c..."} 
[2026-08-21 18:30:09] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:30:09] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02466"} 
[2026-08-21 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":766037824,"raw_latitude":88800840,"longitude_deg":76.6037824,"latitude_deg":8.880084,"altitude":14,"angle":274,"satellites":44,"speed":31,"hex_longitude":"2da8cf40","hex_latitude":"054afe48","is_valid_coordinates":true} 
[2026-08-21 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553178112001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388530485422194688,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6272247620799113216,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787317113000,"timestamp_ms":1787317113000,"timestamp_seconds":1787317113,"priority":1,"record_length":96,"hex_timestamp":"000001a02466d0a8"} 
[2026-08-21 18:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:30: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-08-21 18:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553178112001,"66":27376,"155":206,"84":6144,"24":31,"16":388530485422194688,"45":-6272247620799113216},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,84,24,16,45]} 
[2026-08-21 18:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553178112001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:30:09] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 18:30:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388530485422194688,"km_value":388530485422194.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6272247620799113216,"description":"Unknown IO ID 45"} 
[2026-08-21 18:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553178112001,"power":27376,"unknown_155":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6272247620799113216}} 
[2026-08-21 18:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:30:09] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:30:09] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:30:10] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024670758012da8a9c0054b0100000f01112b..."} 
[2026-08-21 18:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024670758012da8a9c0054b0100000f01112b..."} 
[2026-08-21 18:30:10] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024670758012da8a9c0054b0100000f01112b..."} 
[2026-08-21 18:30:10] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:30:10] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:30:10] local.INFO: GPS Element Parsed {"raw_longitude":766028224,"raw_latitude":88801536,"longitude_deg":76.6028224,"latitude_deg":8.8801536,"altitude":15,"angle":273,"satellites":43,"speed":32,"hex_longitude":"2da8a9c0","hex_latitude":"054b0100","is_valid_coordinates":true} 
[2026-08-21 18:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553180928001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388530944983695360,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6282732563681359872,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787317127000,"timestamp_ms":1787317127000,"timestamp_seconds":1787317127,"priority":1,"record_length":96,"hex_timestamp":"000001a024670758"} 
[2026-08-21 18:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 18:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553180928001,"66":27908,"156":206,"84":6144,"24":32,"16":388530944983695360,"45":-6282732563681359872},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 18:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553180928001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:30:10] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:30:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388530944983695360,"km_value":388530944983695.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6282732563681359872,"description":"Unknown IO ID 45"} 
[2026-08-21 18:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553180928001,"power":27908,"unknown_156":206,"unknown_84":6144,"ignition":32,"odometer":null,"unknown_45":-6282732563681359872}} 
[2026-08-21 18:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:30:10] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:30:10] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:30:21] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02467f1b8012d8299c005d355000013004b28..."} 
[2026-08-21 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02467f1b8012d8299c005d355000013004b28..."} 
[2026-08-21 18:30:21] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02467f1b8012d8299c005d355000013004b28..."} 
[2026-08-21 18:30:21] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:30:21] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":763533760,"raw_latitude":97735936,"longitude_deg":76.353376,"latitude_deg":9.7735936,"altitude":19,"angle":75,"satellites":40,"speed":32,"hex_longitude":"2d8299c0","hex_latitude":"05d35500","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553195776001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121851009621295104,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045831670274914304,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1787317187000,"timestamp_ms":1787317187000,"timestamp_seconds":1787317187,"priority":1,"record_length":96,"hex_timestamp":"000001a02467f1b8"} 
[2026-08-21 18:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-08-21 18:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553195776001,"66":13493,"68":206,"85":15104,"24":32,"16":121851009621295104,"45":-9045831670274914304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553195776001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:30:21] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:30:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121851009621295104,"km_value":121851009621295.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045831670274914304,"description":"Unknown IO ID 45"} 
[2026-08-21 18:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553195776001,"power":13493,"unknown_68":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9045831670274914304}} 
[2026-08-21 18:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677168,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:30:21] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:30:21] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:30:41] local.INFO: TCP Data received {"connection_id":161813,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024672a80012da88b40054b04b0000f011e2c..."} 
[2026-08-21 18:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024672a80012da88b40054b04b0000f011e2c..."} 
[2026-08-21 18:30:41] local.INFO: Processing buffer {"connection_id":161813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024672a80012da88b40054b04b0000f011e2c..."} 
[2026-08-21 18:30:41] local.INFO: Packet analysis {"connection_id":161813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:30:41] local.INFO: Extracted packet for processing {"connection_id":161813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:30:41] local.INFO: GPS Element Parsed {"raw_longitude":766020416,"raw_latitude":88802480,"longitude_deg":76.6020416,"latitude_deg":8.880248,"altitude":15,"angle":286,"satellites":44,"speed":35,"hex_longitude":"2da88b40","hex_latitude":"054b04b0","is_valid_coordinates":true} 
[2026-08-21 18:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553184512001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388531322940817408,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6293287875307831296,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787317136000,"timestamp_ms":1787317136000,"timestamp_seconds":1787317136,"priority":1,"record_length":96,"hex_timestamp":"000001a024672a80"} 
[2026-08-21 18:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553184512001,"66":27800,"156":206,"84":6144,"24":35,"16":388531322940817408,"45":-6293287875307831296},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 18:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553184512001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:30:41] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:30:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388531322940817408,"km_value":388531322940817.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6293287875307831296,"description":"Unknown IO ID 45"} 
[2026-08-21 18:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553184512001,"power":27800,"unknown_156":206,"unknown_84":6144,"ignition":35,"odometer":null,"unknown_45":-6293287875307831296}} 
[2026-08-21 18:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":161813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:30:41] local.INFO: GPS data processed {"connection_id":161813,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:30:41] local.INFO: Acknowledgment sent {"connection_id":161813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:30:52] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0246810f8012d82b20005d358300013005628..."} 
[2026-08-21 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246810f8012d82b20005d358300013005628..."} 
[2026-08-21 18:30:52] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246810f8012d82b20005d358300013005628..."} 
[2026-08-21 18:30:52] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02468"} 
[2026-08-21 18:30:52] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02468"} 
[2026-08-21 18:30:52] local.INFO: GPS Element Parsed {"raw_longitude":763539968,"raw_latitude":97736752,"longitude_deg":76.3539968,"latitude_deg":9.7736752,"altitude":19,"angle":86,"satellites":40,"speed":33,"hex_longitude":"2d82b200","hex_latitude":"05d35830","is_valid_coordinates":true} 
[2026-08-21 18:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553199872001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121851310269005824,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035980046089256960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1787317195000,"timestamp_ms":1787317195000,"timestamp_seconds":1787317195,"priority":1,"record_length":96,"hex_timestamp":"000001a0246810f8"} 
[2026-08-21 18:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:30:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 18:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553199872001,"66":13526,"68":206,"85":15104,"24":33,"16":121851310269005824,"45":-9035980046089256960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553199872001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:30:52] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:30:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121851310269005824,"km_value":121851310269005.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035980046089256960,"description":"Unknown IO ID 45"} 
[2026-08-21 18:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553199872001,"power":13526,"unknown_68":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9035980046089256960}} 
[2026-08-21 18:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:30:52] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:30:52] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:30:56] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:56] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:56] local.INFO: IMEI packet received {"connection_id":159526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":159526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:30:57] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:57] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:30:57] local.INFO: IMEI packet received {"connection_id":159526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":159526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:31:02] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:31:02] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:31:02] local.INFO: IMEI packet received {"connection_id":159526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":159526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:31:06] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024675190012da866c0054b0d58000e011a2b..."} 
[2026-08-21 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024675190012da866c0054b0d58000e011a2b..."} 
[2026-08-21 18:31:06] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024675190012da866c0054b0d58000e011a2b..."} 
[2026-08-21 18:31:06] local.INFO: Packet analysis {"connection_id":159526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:31:06] local.INFO: Extracted packet for processing {"connection_id":159526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":766011072,"raw_latitude":88804696,"longitude_deg":76.6011072,"latitude_deg":8.8804696,"altitude":14,"angle":282,"satellites":43,"speed":33,"hex_longitude":"2da866c0","hex_latitude":"054b0d58","is_valid_coordinates":true} 
[2026-08-21 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553186816001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388531782502318080,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6301872862097264640,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787317146000,"timestamp_ms":1787317146000,"timestamp_seconds":1787317146,"priority":1,"record_length":96,"hex_timestamp":"000001a024675190"} 
[2026-08-21 18:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:31: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-08-21 18:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 18:31: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-08-21 18:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553186816001,"66":27843,"156":206,"84":6144,"24":33,"16":388531782502318080,"45":-6301872862097264640},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,84,24,16,45]} 
[2026-08-21 18:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553186816001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:31:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:31:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388531782502318080,"km_value":388531782502318.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6301872862097264640,"description":"Unknown IO ID 45"} 
[2026-08-21 18:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553186816001,"power":27843,"unknown_156":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6301872862097264640}} 
[2026-08-21 18:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":159526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:31:06] local.INFO: GPS data processed {"connection_id":159526,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:31:06] local.INFO: Acknowledgment sent {"connection_id":159526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:31:17] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:31:17] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:31:17] local.INFO: IMEI packet received {"connection_id":159240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":159240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:31:18] local.INFO: TCP Data received {"connection_id":159240,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02467de30012d18d50007210428003e015829..."} 
[2026-08-21 18:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02467de30012d18d50007210428003e015829..."} 
[2026-08-21 18:31:18] local.INFO: Processing buffer {"connection_id":159240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02467de30012d18d50007210428003e015829..."} 
[2026-08-21 18:31:18] local.INFO: Packet analysis {"connection_id":159240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:31:18] local.INFO: Extracted packet for processing {"connection_id":159240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756602112,"raw_latitude":119604264,"longitude_deg":75.6602112,"latitude_deg":11.9604264,"altitude":62,"angle":344,"satellites":41,"speed":21,"hex_longitude":"2d18d500","hex_latitude":"07210428","is_valid_coordinates":true} 
[2026-08-21 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553198080001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14287870135107584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789758670033174528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787317182000,"timestamp_ms":1787317182000,"timestamp_seconds":1787317182,"priority":1,"record_length":96,"hex_timestamp":"000001a02467de30"} 
[2026-08-21 18:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 18:31: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-08-21 18:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553198080001,"66":14189,"103":206,"83":41984,"24":21,"16":14287870135107584,"45":1789758670033174528},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553198080001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14287870135107584,"km_value":14287870135107.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789758670033174528,"description":"Unknown IO ID 45"} 
[2026-08-21 18:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553198080001,"power":14189,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1789758670033174528}} 
[2026-08-21 18:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":159240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:31:18] local.INFO: GPS data processed {"connection_id":159240,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:31:18] local.INFO: Acknowledgment sent {"connection_id":159240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:31:23] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024682868012d82c74005d357100012006128..."} 
[2026-08-21 18:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024682868012d82c74005d357100012006128..."} 
[2026-08-21 18:31:23] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024682868012d82c74005d357100012006128..."} 
[2026-08-21 18:31:23] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02468"} 
[2026-08-21 18:31:23] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02468"} 
[2026-08-21 18:31:23] local.INFO: GPS Element Parsed {"raw_longitude":763545408,"raw_latitude":97736464,"longitude_deg":76.3545408,"latitude_deg":9.7736464,"altitude":18,"angle":97,"satellites":40,"speed":35,"hex_longitude":"2d82c740","hex_latitude":"05d35710","is_valid_coordinates":true} 
[2026-08-21 18:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553201920001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121851567967043584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029154277903814656,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787317201000,"timestamp_ms":1787317201000,"timestamp_seconds":1787317201,"priority":1,"record_length":96,"hex_timestamp":"000001a024682868"} 
[2026-08-21 18:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:31: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-08-21 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 18:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553201920001,"66":13656,"68":206,"85":15104,"24":35,"16":121851567967043584,"45":-9029154277903814656},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,85,24,16,45]} 
[2026-08-21 18:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553201920001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:31:23] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-08-21 18:31:23] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121851567967043584,"km_value":121851567967043.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029154277903814656,"description":"Unknown IO ID 45"} 
[2026-08-21 18:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553201920001,"power":13656,"unknown_68":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9029154277903814656}} 
[2026-08-21 18:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:31:23] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:31:23] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:31:40] local.INFO: TCP Data received {"connection_id":159526,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024677c88012da84c40054b1528000d01262b..."} 
[2026-08-21 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024677c88012da84c40054b1528000d01262b..."} 
[2026-08-21 18:31:40] local.INFO: Processing buffer {"connection_id":159526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024677c88012da84c40054b1528000d01262b..."} 
[2026-08-21 18:31:40] local.INFO: Packet analysis {"connection_id":159526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:31:40] local.INFO: Extracted packet for processing {"connection_id":159526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":766004288,"raw_latitude":88806696,"longitude_deg":76.6004288,"latitude_deg":8.8806696,"altitude":13,"angle":294,"satellites":43,"speed":22,"hex_longitude":"2da84c40","hex_latitude":"054b1528","is_valid_coordinates":true} 
[2026-08-21 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553189376001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388532121804734464,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6312146698746636288,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787317157000,"timestamp_ms":1787317157000,"timestamp_seconds":1787317157,"priority":1,"record_length":96,"hex_timestamp":"000001a024677c88"} 
[2026-08-21 18:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-08-21 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553189376001,"66":27821,"117":206,"84":6144,"24":22,"16":388532121804734464,"45":-6312146698746636288},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553189376001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388532121804734464,"km_value":388532121804734.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6312146698746636288,"description":"Unknown IO ID 45"} 
[2026-08-21 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553189376001,"power":27821,"unknown_117":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6312146698746636288}} 
[2026-08-21 18:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":159526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:31:40] local.INFO: GPS data processed {"connection_id":159526,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:31:40] local.INFO: Acknowledgment sent {"connection_id":159526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:31:55] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0246968b8012d83d54005d37880000b015327..."} 
[2026-08-21 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246968b8012d83d54005d37880000b015327..."} 
[2026-08-21 18:31:55] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246968b8012d83d54005d37880000b015327..."} 
[2026-08-21 18:31:55] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:31:55] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":763614528,"raw_latitude":97745024,"longitude_deg":76.3614528,"latitude_deg":9.7745024,"altitude":11,"angle":339,"satellites":39,"speed":13,"hex_longitude":"2d83d540","hex_latitude":"05d37880","is_valid_coordinates":true} 
[2026-08-21 18:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553223936001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121854969581142016,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947104322190673920,"note":"Value kept but may cause issues"} 
[2026-08-21 18:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787317283000,"timestamp_ms":1787317283000,"timestamp_seconds":1787317283,"priority":1,"record_length":96,"hex_timestamp":"000001a0246968b8"} 
[2026-08-21 18:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-08-21 18:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553223936001,"66":13624,"221":206,"85":15104,"24":13,"16":121854969581142016,"45":-8947104322190673920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-21 18:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553223936001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:31:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 18:31:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121854969581142016,"km_value":121854969581142.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947104322190673920,"description":"Unknown IO ID 45"} 
[2026-08-21 18:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553223936001,"power":13624,"unknown_221":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-8947104322190673920}} 
[2026-08-21 18:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:31:55] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:31:55] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:31:57] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:31:57] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:31:57] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:32:01] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:32:01] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:32:01] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:32:04] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:32:04] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:32:04] local.INFO: IMEI packet received {"connection_id":160424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":160424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:32:05] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02467af50012da830c0054b2090000c01182b..."} 
[2026-08-21 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02467af50012da830c0054b2090000c01182b..."} 
[2026-08-21 18:32:05] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02467af50012da830c0054b2090000c01182b..."} 
[2026-08-21 18:32:05] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:32:05] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:32:05] local.INFO: GPS Element Parsed {"raw_longitude":765997248,"raw_latitude":88809616,"longitude_deg":76.5997248,"latitude_deg":8.8809616,"altitude":12,"angle":280,"satellites":43,"speed":28,"hex_longitude":"2da830c0","hex_latitude":"054b2090","is_valid_coordinates":true} 
[2026-08-21 18:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553192192001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388532491171921920,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6319605785628956672,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787317170000,"timestamp_ms":1787317170000,"timestamp_seconds":1787317170,"priority":1,"record_length":96,"hex_timestamp":"000001a02467af50"} 
[2026-08-21 18:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18: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-08-21 18: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":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:32: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-08-21 18:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:32: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-08-21 18:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553192192001,"66":27821,"117":206,"84":6144,"24":28,"16":388532491171921920,"45":-6319605785628956672},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 18:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553192192001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:32:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 18:32:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388532491171921920,"km_value":388532491171921.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6319605785628956672,"description":"Unknown IO ID 45"} 
[2026-08-21 18:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553192192001,"power":27821,"unknown_117":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6319605785628956672}} 
[2026-08-21 18:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:32:05] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:32:05] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:32:06] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:32:06] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:32:06] local.INFO: IMEI packet received {"connection_id":160425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":160425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:32:07] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024692650012d18a2c0072174e0004c011b27..."} 
[2026-08-21 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024692650012d18a2c0072174e0004c011b27..."} 
[2026-08-21 18:32:07] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024692650012d18a2c0072174e0004c011b27..."} 
[2026-08-21 18:32:07] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:07] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":756589248,"raw_latitude":119633120,"longitude_deg":75.6589248,"latitude_deg":11.963312,"altitude":76,"angle":283,"satellites":39,"speed":29,"hex_longitude":"2d18a2c0","hex_latitude":"072174e0","is_valid_coordinates":true} 
[2026-08-21 18:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553219584001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14289485042810880,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776740452367800320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317266000,"timestamp_ms":1787317266000,"timestamp_seconds":1787317266,"priority":1,"record_length":96,"hex_timestamp":"000001a024692650"} 
[2026-08-21 18:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 18:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553219584001,"66":14254,"106":206,"83":41984,"24":29,"16":14289485042810880,"45":1776740452367800320},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 18:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553219584001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:32:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 18:32:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14289485042810880,"km_value":14289485042810.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776740452367800320,"description":"Unknown IO ID 45"} 
[2026-08-21 18:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553219584001,"power":14254,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1776740452367800320}} 
[2026-08-21 18:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:32:07] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:32:07] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:32:26] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024699f68012d83c98005d39c600009015d28..."} 
[2026-08-21 18:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024699f68012d83c98005d39c600009015d28..."} 
[2026-08-21 18:32:26] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024699f68012d83c98005d39c600009015d28..."} 
[2026-08-21 18:32:26] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:26] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":763611520,"raw_latitude":97754208,"longitude_deg":76.361152,"latitude_deg":9.7754208,"altitude":9,"angle":349,"satellites":40,"speed":31,"hex_longitude":"2d83c980","hex_latitude":"05d39c60","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553224448001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121855437732577280,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947174690934718464,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787317297000,"timestamp_ms":1787317297000,"timestamp_seconds":1787317297,"priority":1,"record_length":96,"hex_timestamp":"000001a024699f68"} 
[2026-08-21 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-08-21 18:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-08-21 18:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 18:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553224448001,"66":13493,"221":206,"85":15104,"24":31,"16":121855437732577280,"45":-8947174690934718464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-21 18:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553224448001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:32:26] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 18:32:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121855437732577280,"km_value":121855437732577.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947174690934718464,"description":"Unknown IO ID 45"} 
[2026-08-21 18:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553224448001,"power":13493,"unknown_221":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-8947174690934718464}} 
[2026-08-21 18:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:32:26] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:32:26] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:32:36] local.INFO: TCP Data received {"connection_id":160424,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02467e218012da80bc0054b25a0000c011b2c..."} 
[2026-08-21 18:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02467e218012da80bc0054b25a0000c011b2c..."} 
[2026-08-21 18:32:36] local.INFO: Processing buffer {"connection_id":160424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02467e218012da80bc0054b25a0000c011b2c..."} 
[2026-08-21 18:32:36] local.INFO: Packet analysis {"connection_id":160424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:32:36] local.INFO: Extracted packet for processing {"connection_id":160424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:32:36] local.INFO: GPS Element Parsed {"raw_longitude":765987776,"raw_latitude":88810912,"longitude_deg":76.5987776,"latitude_deg":8.8810912,"altitude":12,"angle":283,"satellites":44,"speed":23,"hex_longitude":"2da80bc0","hex_latitude":"054b25a0","is_valid_coordinates":true} 
[2026-08-21 18:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553195520001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388532946438455296,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6327346347487752192,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787317183000,"timestamp_ms":1787317183000,"timestamp_seconds":1787317183,"priority":1,"record_length":96,"hex_timestamp":"000001a02467e218"} 
[2026-08-21 18:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:32: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-08-21 18:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:32:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:32:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553195520001,"66":27691,"117":206,"84":6144,"24":23,"16":388532946438455296,"45":-6327346347487752192},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 18:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553195520001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:32:36] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 18:32:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388532946438455296,"km_value":388532946438455.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6327346347487752192,"description":"Unknown IO ID 45"} 
[2026-08-21 18:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553195520001,"power":27691,"unknown_117":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6327346347487752192}} 
[2026-08-21 18:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":160424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:32:36] local.INFO: GPS data processed {"connection_id":160424,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:32:36] local.INFO: Acknowledgment sent {"connection_id":160424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:32:39] local.INFO: TCP Data received {"connection_id":160425,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024693208012d189a4007217810004d012727..."} 
[2026-08-21 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024693208012d189a4007217810004d012727..."} 
[2026-08-21 18:32:39] local.INFO: Processing buffer {"connection_id":160425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024693208012d189a4007217810004d012727..."} 
[2026-08-21 18:32:39] local.INFO: Packet analysis {"connection_id":160425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:39] local.INFO: Extracted packet for processing {"connection_id":160425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":756587072,"raw_latitude":119633936,"longitude_deg":75.6587072,"latitude_deg":11.9633936,"altitude":77,"angle":295,"satellites":39,"speed":32,"hex_longitude":"2d189a40","hex_latitude":"07217810","is_valid_coordinates":true} 
[2026-08-21 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553220096001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14289601006927872,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192339996008448,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787317269000,"timestamp_ms":1787317269000,"timestamp_seconds":1787317269,"priority":1,"record_length":96,"hex_timestamp":"000001a024693208"} 
[2026-08-21 18:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 18:32:39] 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-08-21 18:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553220096001,"66":14233,"106":206,"83":41984,"24":32,"16":14289601006927872,"45":1775192339996008448},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 18:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553220096001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14289601006927872,"km_value":14289601006927.871,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192339996008448,"description":"Unknown IO ID 45"} 
[2026-08-21 18:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553220096001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1775192339996008448}} 
[2026-08-21 18:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":160425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:32:40] local.INFO: GPS data processed {"connection_id":160425,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:32:40] local.INFO: Acknowledgment sent {"connection_id":160425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:32:57] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:32:57] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:32:57] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:32:57] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02469c678012d83c34005d3bf58000b015f27..."} 
[2026-08-21 18:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02469c678012d83c34005d3bf58000b015f27..."} 
[2026-08-21 18:32:57] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02469c678012d83c34005d3bf58000b015f27..."} 
[2026-08-21 18:32:57] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:57] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763609920,"raw_latitude":97763160,"longitude_deg":76.360992,"latitude_deg":9.776316,"altitude":11,"angle":351,"satellites":39,"speed":34,"hex_longitude":"2d83c340","hex_latitude":"05d3bf58","is_valid_coordinates":true} 
[2026-08-21 18:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553228032001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121855875819241472,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8950482021908717568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787317307000,"timestamp_ms":1787317307000,"timestamp_seconds":1787317307,"priority":1,"record_length":96,"hex_timestamp":"000001a02469c678"} 
[2026-08-21 18:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 18:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553228032001,"66":13428,"221":206,"85":15104,"24":34,"16":121855875819241472,"45":-8950482021908717568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-08-21 18:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553228032001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:32:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-08-21 18:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121855875819241472,"km_value":121855875819241.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8950482021908717568,"description":"Unknown IO ID 45"} 
[2026-08-21 18:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553228032001,"power":13428,"unknown_221":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-8950482021908717568}} 
[2026-08-21 18:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677181,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:32:57] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:32:57] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:33:01] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:33:01] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:33:01] local.INFO: IMEI packet received {"connection_id":159241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":159241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:33:02] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:33:02] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:33:02] local.INFO: IMEI packet received {"connection_id":161814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":161814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:33:03] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02467f5a0012da80040054b29f8000c012c2b..."} 
[2026-08-21 18:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02467f5a0012da80040054b29f8000c012c2b..."} 
[2026-08-21 18:33:03] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02467f5a0012da80040054b29f8000c012c2b..."} 
[2026-08-21 18:33:03] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:33:03] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02467"} 
[2026-08-21 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":765984832,"raw_latitude":88812024,"longitude_deg":76.5984832,"latitude_deg":8.8812024,"altitude":12,"angle":300,"satellites":43,"speed":24,"hex_longitude":"2da80040","hex_latitude":"054b29f8","is_valid_coordinates":true} 
[2026-08-21 18:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553198848001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388533101057277952,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6337760921625714688,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787317188000,"timestamp_ms":1787317188000,"timestamp_seconds":1787317188,"priority":1,"record_length":96,"hex_timestamp":"000001a02467f5a0"} 
[2026-08-21 18:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 18:33: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-08-21 18:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553198848001,"66":27843,"78":206,"84":6144,"24":24,"16":388533101057277952,"45":-6337760921625714688},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 18:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553198848001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388533101057277952,"km_value":388533101057277.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6337760921625714688,"description":"Unknown IO ID 45"} 
[2026-08-21 18:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553198848001,"power":27843,"unknown_78":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6337760921625714688}} 
[2026-08-21 18:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:33:03] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:33:03] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:33:06] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:33:06] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:33:06] local.INFO: IMEI packet received {"connection_id":159241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":159241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:33:07] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024695148012d18834007218110004d011a24..."} 
[2026-08-21 18:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024695148012d18834007218110004d011a24..."} 
[2026-08-21 18:33:07] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024695148012d18834007218110004d011a24..."} 
[2026-08-21 18:33:07] local.INFO: Packet analysis {"connection_id":159241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:33:07] local.INFO: Extracted packet for processing {"connection_id":159241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756581184,"raw_latitude":119636240,"longitude_deg":75.6581184,"latitude_deg":11.963624,"altitude":77,"angle":282,"satellites":36,"speed":27,"hex_longitude":"2d188340","hex_latitude":"07218110","is_valid_coordinates":true} 
[2026-08-21 18:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553220864001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14289901654638592,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1772799802694176768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317277000,"timestamp_ms":1787317277000,"timestamp_seconds":1787317277,"priority":1,"record_length":96,"hex_timestamp":"000001a024695148"} 
[2026-08-21 18:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 18:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553220864001,"66":14265,"106":206,"83":41984,"24":27,"16":14289901654638592,"45":1772799802694176768},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 18:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553220864001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:33:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 18:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14289901654638592,"km_value":14289901654638.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1772799802694176768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553220864001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1772799802694176768}} 
[2026-08-21 18:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":159241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:33:07] local.INFO: GPS data processed {"connection_id":159241,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:33:07] local.INFO: Acknowledgment sent {"connection_id":159241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:33:28] local.INFO: TCP Data received {"connection_id":159525,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02469ed88012d83c04005d3e538000e016528..."} 
[2026-08-21 18:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02469ed88012d83c04005d3e538000e016528..."} 
[2026-08-21 18:33:28] local.INFO: Processing buffer {"connection_id":159525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02469ed88012d83c04005d3e538000e016528..."} 
[2026-08-21 18:33:28] local.INFO: Packet analysis {"connection_id":159525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:33:28] local.INFO: Extracted packet for processing {"connection_id":159525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02469"} 
[2026-08-21 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763609152,"raw_latitude":97772856,"longitude_deg":76.3609152,"latitude_deg":9.7772856,"altitude":14,"angle":357,"satellites":40,"speed":42,"hex_longitude":"2d83c040","hex_latitude":"05d3e538","is_valid_coordinates":true} 
[2026-08-21 18:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553230592001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121856348265644032,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8952241240510867456,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787317317000,"timestamp_ms":1787317317000,"timestamp_seconds":1787317317,"priority":1,"record_length":96,"hex_timestamp":"000001a02469ed88"} 
[2026-08-21 18:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-08-21 18:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553230592001,"66":13319,"219":206,"85":15104,"24":42,"16":121856348265644032,"45":-8952241240510867456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-21 18:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553230592001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121856348265644032,"km_value":121856348265644.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8952241240510867456,"description":"Unknown IO ID 45"} 
[2026-08-21 18:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553230592001,"power":13319,"unknown_219":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-8952241240510867456}} 
[2026-08-21 18:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":159525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:33:28] local.INFO: GPS data processed {"connection_id":159525,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:33:28] local.INFO: Acknowledgment sent {"connection_id":159525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:33:35] local.INFO: TCP Data received {"connection_id":161814,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246a2050012da78b80054bba70001201572c..."} 
[2026-08-21 18:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246a2050012da78b80054bba70001201572c..."} 
[2026-08-21 18:33:35] local.INFO: Processing buffer {"connection_id":161814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246a2050012da78b80054bba70001201572c..."} 
[2026-08-21 18:33:35] local.INFO: Packet analysis {"connection_id":161814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:33:35] local.INFO: Extracted packet for processing {"connection_id":161814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":765954944,"raw_latitude":88849008,"longitude_deg":76.5954944,"latitude_deg":8.8849008,"altitude":18,"angle":343,"satellites":44,"speed":3,"hex_longitude":"2da78b80","hex_latitude":"054bba70","is_valid_coordinates":true} 
[2026-08-21 18:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553231104001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388535540598702080,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6373156399937851392,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787317330000,"timestamp_ms":1787317330000,"timestamp_seconds":1787317330,"priority":1,"record_length":96,"hex_timestamp":"000001a0246a2050"} 
[2026-08-21 18:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 18:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553231104001,"66":27919,"78":206,"84":6144,"24":3,"16":388535540598702080,"45":-6373156399937851392},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 18:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553231104001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:33:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 18:33:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388535540598702080,"km_value":388535540598702.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6373156399937851392,"description":"Unknown IO ID 45"} 
[2026-08-21 18:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553231104001,"power":27919,"unknown_78":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6373156399937851392}} 
[2026-08-21 18:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":161814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:33:35] local.INFO: GPS data processed {"connection_id":161814,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:33:35] local.INFO: Acknowledgment sent {"connection_id":161814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:33:39] local.INFO: TCP Data received {"connection_id":159241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0246ad018012d181c400721a9380050000729..."} 
[2026-08-21 18:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246ad018012d181c400721a9380050000729..."} 
[2026-08-21 18:33:39] local.INFO: Processing buffer {"connection_id":159241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246ad018012d181c400721a9380050000729..."} 
[2026-08-21 18:33:39] local.INFO: Packet analysis {"connection_id":159241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:33:39] local.INFO: Extracted packet for processing {"connection_id":159241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756554816,"raw_latitude":119646520,"longitude_deg":75.6554816,"latitude_deg":11.964652,"altitude":80,"angle":7,"satellites":41,"speed":10,"hex_longitude":"2d181c40","hex_latitude":"0721a938","is_valid_coordinates":true} 
[2026-08-21 18:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553247744001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291306108944384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631794176,"note":"Value kept but may cause issues"} 
[2026-08-21 18:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787317375000,"timestamp_ms":1787317375000,"timestamp_seconds":1787317375,"priority":1,"record_length":96,"hex_timestamp":"000001a0246ad018"} 
[2026-08-21 18:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 18:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553247744001,"66":14113,"105":206,"83":41984,"24":10,"16":14291306108944384,"45":1737333955631794176},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553247744001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:33:39] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291306108944384,"km_value":14291306108944.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631794176,"description":"Unknown IO ID 45"} 
[2026-08-21 18:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553247744001,"power":14113,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737333955631794176}} 
[2026-08-21 18:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":159241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:33:39] local.INFO: GPS data processed {"connection_id":159241,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:33:39] local.INFO: Acknowledgment sent {"connection_id":159241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:33:57] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:33:57] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:33:57] local.INFO: IMEI packet received {"connection_id":159527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:33:58] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:33:58] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:33:58] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:34:02] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:34:02] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:34:02] local.INFO: IMEI packet received {"connection_id":159527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":159527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:34:03] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:03] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:03] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:34:03] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246a7258012da789c0054bc298001201602c..."} 
[2026-08-21 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246a7258012da789c0054bc298001201602c..."} 
[2026-08-21 18:34:03] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246a7258012da789c0054bc298001201602c..."} 
[2026-08-21 18:34:03] local.INFO: Packet analysis {"connection_id":159527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:03] local.INFO: Extracted packet for processing {"connection_id":159527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":765954496,"raw_latitude":88851096,"longitude_deg":76.5954496,"latitude_deg":8.8851096,"altitude":18,"angle":352,"satellites":44,"speed":0,"hex_longitude":"2da789c0","hex_latitude":"054bc298","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553236480001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388535647972884480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6373860087379103744,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787317351000,"timestamp_ms":1787317351000,"timestamp_seconds":1787317351,"priority":1,"record_length":96,"hex_timestamp":"000001a0246a7258"} 
[2026-08-21 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-08-21 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 18:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553236480001,"66":27658,"78":206,"84":6144,"24":0,"16":388535647972884480,"45":-6373860087379103744},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553236480001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:34:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 18:34:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388535647972884480,"km_value":388535647972884.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6373860087379103744,"description":"Unknown IO ID 45"} 
[2026-08-21 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553236480001,"power":27658,"unknown_78":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6373860087379103744}} 
[2026-08-21 18:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":159527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:34:03] local.INFO: GPS data processed {"connection_id":159527,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:34:03] local.INFO: Acknowledgment sent {"connection_id":159527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:34:06] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:06] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:06] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:34:11] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:11] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:34:11] local.INFO: IMEI packet received {"connection_id":161815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":161815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:34:12] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0246ad400012d181c800721aa500050001829..."} 
[2026-08-21 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246ad400012d181c800721aa500050001829..."} 
[2026-08-21 18:34:12] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246ad400012d181c800721aa500050001829..."} 
[2026-08-21 18:34:12] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:12] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646800,"longitude_deg":75.655488,"latitude_deg":11.96468,"altitude":80,"angle":24,"satellites":41,"speed":12,"hex_longitude":"2d181c80","hex_latitude":"0721aa50","is_valid_coordinates":true} 
[2026-08-21 18:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553248000001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291318993846272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631855616,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787317376000,"timestamp_ms":1787317376000,"timestamp_seconds":1787317376,"priority":1,"record_length":96,"hex_timestamp":"000001a0246ad400"} 
[2026-08-21 18:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 18:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553248000001,"66":14396,"105":206,"83":41984,"24":12,"16":14291318993846272,"45":1737333955631855616},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553248000001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:34:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:34:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291318993846272,"km_value":14291318993846.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631855616,"description":"Unknown IO ID 45"} 
[2026-08-21 18:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553248000001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737333955631855616}} 
[2026-08-21 18:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:34:12] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:34:12] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:34:13] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:34:13] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:34:13] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:34:13] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.1","data_length":1348,"data_hex":"000000000000030f8e0a000001a0246adbd0012d181e000721ac90004f002429..."} 
[2026-08-21 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":1348,"packet_hex":"000000000000030f8e0a000001a0246adbd0012d181e000721ac90004f002429..."} 
[2026-08-21 18:34:13] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a000001a0246adbd0012d181e000721ac90004f002429..."} 
[2026-08-21 18:34:13] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:13] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647376,"longitude_deg":75.6555264,"latitude_deg":11.9647376,"altitude":79,"angle":36,"satellites":41,"speed":14,"hex_longitude":"2d181e00","hex_latitude":"0721ac90","is_valid_coordinates":true} 
[2026-08-21 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553248256001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291353353584640,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376104960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787317378000,"timestamp_ms":1787317378000,"timestamp_seconds":1787317378,"priority":1,"record_length":96,"hex_timestamp":"000001a0246adbd0"} 
[2026-08-21 18:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 18:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553248256001,"66":14428,"105":206,"83":41984,"24":14,"16":14291353353584640,"45":1737404324376104960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553248256001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291353353584640,"km_value":14291353353584.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376104960,"description":"Unknown IO ID 45"} 
[2026-08-21 18:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553248256001,"power":14428,"unknown_105":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737404324376104960}} 
[2026-08-21 18:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:34:13] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:34:13] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:34:13] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:13] local.INFO: Incomplete packet, waiting for more data {"connection_id":161815,"needed":795,"available":553} 
[2026-08-21 18:34:13] local.INFO: TCP Data received {"connection_id":160426,"ip":"42.106.6.21","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160426,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 18:34:13] local.INFO: Processing buffer {"connection_id":160426,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-08-21 18:34:13] local.INFO: IMEI packet received {"connection_id":160426,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":160426,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:34:13] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.1","data_length":242,"data_hex":"000000000001a0246a7258012d1827c007219eb00050013e2800020000000a00..."} 
[2026-08-21 18:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":242,"packet_hex":"000000000001a0246a7258012d1827c007219eb00050013e2800020000000a00..."} 
[2026-08-21 18:34:13] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246aef58012d1821000721b180004f00042a..."} 
[2026-08-21 18:34:13] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:13] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648640,"longitude_deg":75.6556032,"latitude_deg":11.964864,"altitude":79,"angle":4,"satellites":42,"speed":8,"hex_longitude":"2d182100","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-08-21 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553248768001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291422073061376,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841318400,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787317383000,"timestamp_ms":1787317383000,"timestamp_seconds":1787317383,"priority":1,"record_length":96,"hex_timestamp":"000001a0246aef58"} 
[2026-08-21 18:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:34:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 18:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553248768001,"66":14048,"105":206,"83":41984,"24":8,"16":14291422073061376,"45":1737826536841318400},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553248768001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291422073061376,"km_value":14291422073061.377,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841318400,"description":"Unknown IO ID 45"} 
[2026-08-21 18:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553248768001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737826536841318400}} 
[2026-08-21 18:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:34:14] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:34:14] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:34:36] local.INFO: TCP Data received {"connection_id":159527,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246ac460012da788c0054bc7f0001301602c..."} 
[2026-08-21 18:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246ac460012da788c0054bc7f0001301602c..."} 
[2026-08-21 18:34:36] local.INFO: Processing buffer {"connection_id":159527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246ac460012da788c0054bc7f0001301602c..."} 
[2026-08-21 18:34:36] local.INFO: Packet analysis {"connection_id":159527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:36] local.INFO: Extracted packet for processing {"connection_id":159527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":765954240,"raw_latitude":88852464,"longitude_deg":76.595424,"latitude_deg":8.8852464,"altitude":19,"angle":352,"satellites":44,"speed":2,"hex_longitude":"2da788c0","hex_latitude":"054bc7f0","is_valid_coordinates":true} 
[2026-08-21 18:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553241856001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388535720987328512,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6374352668587812864,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787317372000,"timestamp_ms":1787317372000,"timestamp_seconds":1787317372,"priority":1,"record_length":96,"hex_timestamp":"000001a0246ac460"} 
[2026-08-21 18:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":10,"data_length":795,"current_offset":136} 
[2026-08-21 18:34:36] 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-08-21 18:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553241856001,"66":27865,"78":206,"84":6144,"24":2,"16":388535720987328512,"45":-6374352668587812864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,84,24,16,45]} 
[2026-08-21 18:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553241856001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-08-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388535720987328512,"km_value":388535720987328.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6374352668587812864,"description":"Unknown IO ID 45"} 
[2026-08-21 18:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553241856001,"power":27865,"unknown_78":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6374352668587812864}} 
[2026-08-21 18:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":159527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:34:36] local.INFO: GPS data processed {"connection_id":159527,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:34:36] local.INFO: Acknowledgment sent {"connection_id":159527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:34:44] local.INFO: TCP Data received {"connection_id":161815,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0246af340012d1821000721b228004e014c2a..."} 
[2026-08-21 18:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246af340012d1821000721b228004e014c2a..."} 
[2026-08-21 18:34:44] local.INFO: Processing buffer {"connection_id":161815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246af340012d1821000721b228004e014c2a..."} 
[2026-08-21 18:34:44] local.INFO: Packet analysis {"connection_id":161815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:44] local.INFO: Extracted packet for processing {"connection_id":161815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246a"} 
[2026-08-21 18:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756556032,"raw_latitude":119648808,"longitude_deg":75.6556032,"latitude_deg":11.9648808,"altitude":78,"angle":332,"satellites":42,"speed":6,"hex_longitude":"2d182100","hex_latitude":"0721b228","is_valid_coordinates":true} 
[2026-08-21 18:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553250048001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291430662995968,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771773952,"note":"Value kept but may cause issues"} 
[2026-08-21 18:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787317384000,"timestamp_ms":1787317384000,"timestamp_seconds":1787317384,"priority":1,"record_length":96,"hex_timestamp":"000001a0246af340"} 
[2026-08-21 18:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:34: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-08-21 18:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 18:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553250048001,"66":14004,"105":206,"83":41984,"24":6,"16":14291430662995968,"45":1738670961771773952},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553250048001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:34:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:34:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291430662995968,"km_value":14291430662995.969,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771773952,"description":"Unknown IO ID 45"} 
[2026-08-21 18:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553250048001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738670961771773952}} 
[2026-08-21 18:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":161815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:34:45] local.INFO: GPS data processed {"connection_id":161815,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:34:45] local.INFO: Acknowledgment sent {"connection_id":161815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:34:57] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:34:57] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:34:57] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:35:01] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:35:01] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:35:01] local.INFO: IMEI packet received {"connection_id":159242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":159242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:35:02] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:35:02] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:35:02] local.INFO: IMEI packet received {"connection_id":160427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":160427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:35:03] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246b1668012da78380054bce60001201602b..."} 
[2026-08-21 18:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246b1668012da78380054bce60001201602b..."} 
[2026-08-21 18:35:03] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246b1668012da78380054bce60001201602b..."} 
[2026-08-21 18:35:03] local.INFO: Packet analysis {"connection_id":160427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:03] local.INFO: Extracted packet for processing {"connection_id":160427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":765952896,"raw_latitude":88854112,"longitude_deg":76.5952896,"latitude_deg":8.8854112,"altitude":18,"angle":352,"satellites":43,"speed":4,"hex_longitude":"2da78380","hex_latitude":"054bce60","is_valid_coordinates":true} 
[2026-08-21 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553247232001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388535832656478208,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6374634143564173312,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787317393000,"timestamp_ms":1787317393000,"timestamp_seconds":1787317393,"priority":1,"record_length":96,"hex_timestamp":"000001a0246b1668"} 
[2026-08-21 18:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:35:03] 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-08-21 18:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553247232001,"66":27919,"76":206,"84":6144,"24":4,"16":388535832656478208,"45":-6374634143564173312},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,84,24,16,45]} 
[2026-08-21 18:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553247232001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:35:03] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-21 18:35:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388535832656478208,"km_value":388535832656478.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6374634143564173312,"description":"Unknown IO ID 45"} 
[2026-08-21 18:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553247232001,"power":27919,"unknown_76":206,"unknown_84":6144,"ignition":4,"odometer":null,"unknown_45":-6374634143564173312}} 
[2026-08-21 18:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":160427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:35:03] local.INFO: GPS data processed {"connection_id":160427,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:35:03] local.INFO: Acknowledgment sent {"connection_id":160427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:35:06] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:35:06] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:35:06] local.INFO: IMEI packet received {"connection_id":159242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":159242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:35:07] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0246b4548012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246b4548012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:35:07] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246b4548012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:35:07] local.INFO: Packet analysis {"connection_id":159242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:07] local.INFO: Extracted packet for processing {"connection_id":159242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648944,"longitude_deg":75.655584,"latitude_deg":11.9648944,"altitude":78,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-21 18:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553250304001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738670961771816960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317405000,"timestamp_ms":1787317405000,"timestamp_seconds":1787317405,"priority":1,"record_length":96,"hex_timestamp":"000001a0246b4548"} 
[2026-08-21 18:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 18:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553250304001,"66":13222,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738670961771816960},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553250304001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738670961771816960,"description":"Unknown IO ID 45"} 
[2026-08-21 18:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553250304001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738670961771816960}} 
[2026-08-21 18:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":159242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:35:07] local.INFO: GPS data processed {"connection_id":159242,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:35:07] local.INFO: Acknowledgment sent {"connection_id":159242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:35:35] local.INFO: TCP Data received {"connection_id":160427,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246b1a50012da78300054bce700012010f2b..."} 
[2026-08-21 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246b1a50012da78300054bce700012010f2b..."} 
[2026-08-21 18:35:35] local.INFO: Processing buffer {"connection_id":160427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246b1a50012da78300054bce700012010f2b..."} 
[2026-08-21 18:35:35] local.INFO: Packet analysis {"connection_id":160427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:35] local.INFO: Extracted packet for processing {"connection_id":160427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":765952768,"raw_latitude":88854128,"longitude_deg":76.5952768,"latitude_deg":8.8854128,"altitude":18,"angle":271,"satellites":43,"speed":6,"hex_longitude":"2da78300","hex_latitude":"054bce70","is_valid_coordinates":true} 
[2026-08-21 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553252608001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388535841246412800,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6376111887191482368,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787317394000,"timestamp_ms":1787317394000,"timestamp_seconds":1787317394,"priority":1,"record_length":96,"hex_timestamp":"000001a0246b1a50"} 
[2026-08-21 18:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-08-21 18:35:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:35:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553252608001,"66":27930,"76":206,"84":6144,"24":6,"16":388535841246412800,"45":-6376111887191482368},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,84,24,16,45]} 
[2026-08-21 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553252608001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:35:35] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-21 18:35:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388535841246412800,"km_value":388535841246412.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6376111887191482368,"description":"Unknown IO ID 45"} 
[2026-08-21 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553252608001,"power":27930,"unknown_76":206,"unknown_84":6144,"ignition":6,"odometer":null,"unknown_45":-6376111887191482368}} 
[2026-08-21 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":160427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:35:35] local.INFO: GPS data processed {"connection_id":160427,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:35:35] local.INFO: Acknowledgment sent {"connection_id":160427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:35:38] local.INFO: TCP Data received {"connection_id":159242,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:35:38] local.INFO: Processing buffer {"connection_id":159242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:35:38] local.INFO: Packet analysis {"connection_id":159242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:38] local.INFO: Extracted packet for processing {"connection_id":159242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648944,"longitude_deg":75.655584,"latitude_deg":11.9648944,"altitude":78,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-21 18:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553255680001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539318784,"note":"Value kept but may cause issues"} 
[2026-08-21 18:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317414000,"timestamp_ms":1787317414000,"timestamp_seconds":1787317414,"priority":1,"record_length":96,"hex_timestamp":"000001a0246b6870"} 
[2026-08-21 18:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 18:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553255680001,"66":4916,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738459855539318784},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553255680001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:35:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:35:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539318784,"description":"Unknown IO ID 45"} 
[2026-08-21 18:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553255680001,"power":4916,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539318784}} 
[2026-08-21 18:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":159242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:35:38] local.INFO: GPS data processed {"connection_id":159242,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:35:38] local.INFO: Acknowledgment sent {"connection_id":159242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:35:57] local.INFO: TCP Data received {"connection_id":159528,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:35:57] local.INFO: Processing buffer {"connection_id":159528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:35:57] local.INFO: IMEI packet received {"connection_id":159528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":159528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:36:01] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:36:01] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:36:01] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:36:02] local.INFO: TCP Data received {"connection_id":159528,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:36:02] local.INFO: Processing buffer {"connection_id":159528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:36:02] local.INFO: IMEI packet received {"connection_id":159528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":159528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:36:06] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:36:06] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:36:06] local.INFO: IMEI packet received {"connection_id":161816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":161816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:36:07] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:36:07] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:36:07] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:36:07] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:36:07] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648944,"longitude_deg":75.655584,"latitude_deg":11.9648944,"altitude":78,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-21 18:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553257984001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539318784,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317414000,"timestamp_ms":1787317414000,"timestamp_seconds":1787317414,"priority":1,"record_length":96,"hex_timestamp":"000001a0246b6870"} 
[2026-08-21 18:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:36:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 18: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":19,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 18:36:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":761,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553257984001,"66":4916,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738459855539318784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553257984001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539318784,"description":"Unknown IO ID 45"} 
[2026-08-21 18:36:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553257984001,"power":4916,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539318784}} 
[2026-08-21 18:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:36:07] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:36:07] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:36:12] local.INFO: TCP Data received {"connection_id":159528,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246b6c58012da777c0054bce98000e01052b..."} 
[2026-08-21 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246b6c58012da777c0054bce98000e01052b..."} 
[2026-08-21 18:36:12] local.INFO: Processing buffer {"connection_id":159528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246b6c58012da777c0054bce98000e01052b..."} 
[2026-08-21 18:36:12] local.INFO: Packet analysis {"connection_id":159528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:36:12] local.INFO: Extracted packet for processing {"connection_id":159528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:36:12] local.INFO: GPS Element Parsed {"raw_longitude":765949888,"raw_latitude":88854168,"longitude_deg":76.5949888,"latitude_deg":8.8854168,"altitude":14,"angle":261,"satellites":43,"speed":2,"hex_longitude":"2da777c0","hex_latitude":"054bce98","is_valid_coordinates":true} 
[2026-08-21 18:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553252864001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388535978685366272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6376252624679833600,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787317415000,"timestamp_ms":1787317415000,"timestamp_seconds":1787317415,"priority":1,"record_length":96,"hex_timestamp":"000001a0246b6c58"} 
[2026-08-21 18:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 18:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553252864001,"66":27908,"76":206,"84":6144,"24":2,"16":388535978685366272,"45":-6376252624679833600},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,84,24,16,45]} 
[2026-08-21 18:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553252864001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:36:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-08-21 18:36:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388535978685366272,"km_value":388535978685366.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6376252624679833600,"description":"Unknown IO ID 45"} 
[2026-08-21 18:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553252864001,"power":27908,"unknown_76":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6376252624679833600}} 
[2026-08-21 18:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":159528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:36:12] local.INFO: GPS data processed {"connection_id":159528,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:36:12] local.INFO: Acknowledgment sent {"connection_id":159528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:36:38] local.INFO: TCP Data received {"connection_id":161816,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:36:38] local.INFO: Processing buffer {"connection_id":161816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246b6870012d1820400721b2b0004e014c28..."} 
[2026-08-21 18:36:38] local.INFO: Packet analysis {"connection_id":161816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:36:38] local.INFO: Extracted packet for processing {"connection_id":161816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246b"} 
[2026-08-21 18:36:38] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119648944,"longitude_deg":75.655584,"latitude_deg":11.9648944,"altitude":78,"angle":332,"satellites":40,"speed":0,"hex_longitude":"2d182040","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-08-21 18:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553257984001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539318784,"note":"Value kept but may cause issues"} 
[2026-08-21 18:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317414000,"timestamp_ms":1787317414000,"timestamp_seconds":1787317414,"priority":1,"record_length":96,"hex_timestamp":"000001a0246b6870"} 
[2026-08-21 18:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 18: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":19,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 18:36:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":761,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553257984001,"66":4916,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738459855539318784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553257984001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539318784,"description":"Unknown IO ID 45"} 
[2026-08-21 18:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553257984001,"power":4916,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539318784}} 
[2026-08-21 18:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":161816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:36:38] local.INFO: GPS data processed {"connection_id":161816,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:36:38] local.INFO: Acknowledgment sent {"connection_id":161816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:36:57] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:36:57] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:36:57] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:37:01] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:37:01] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:37:01] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:37:01] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:37:01] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:37:01] local.INFO: IMEI packet received {"connection_id":161817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":161817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:37:02] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246d6ff8012da6bc40054c17a8000d01342a..."} 
[2026-08-21 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246d6ff8012da6bc40054c17a8000d01342a..."} 
[2026-08-21 18:37:02] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246d6ff8012da6bc40054c17a8000d01342a..."} 
[2026-08-21 18:37:02] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:37:02] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:37:02] local.INFO: GPS Element Parsed {"raw_longitude":765901888,"raw_latitude":88872872,"longitude_deg":76.5901888,"latitude_deg":8.8872872,"altitude":13,"angle":308,"satellites":42,"speed":34,"hex_longitude":"2da6bc40","hex_latitude":"054c17a8","is_valid_coordinates":true} 
[2026-08-21 18:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553289728001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388538925032931328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6426918120484096000,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787317547000,"timestamp_ms":1787317547000,"timestamp_seconds":1787317547,"priority":1,"record_length":96,"hex_timestamp":"000001a0246d6ff8"} 
[2026-08-21 18:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:37: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-08-21 18:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553289728001,"66":27691,"144":206,"84":6144,"24":34,"16":388538925032931328,"45":-6426918120484096000},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,84,24,16,45]} 
[2026-08-21 18:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553289728001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:37:02] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 18:37:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388538925032931328,"km_value":388538925032931.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6426918120484096000,"description":"Unknown IO ID 45"} 
[2026-08-21 18:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553289728001,"power":27691,"unknown_144":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6426918120484096000}} 
[2026-08-21 18:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:37:02] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:37:02] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:37:06] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:37:06] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:37:06] local.INFO: IMEI packet received {"connection_id":161818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":161818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:37:07] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:37:07] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:37:07] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246c"} 
[2026-08-21 18:37:07] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246c"} 
[2026-08-21 18:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-08-21 18:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553257984001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539318784,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317515000,"timestamp_ms":1787317515000,"timestamp_seconds":1787317515,"priority":1,"record_length":96,"hex_timestamp":"000001a0246cf2f8"} 
[2026-08-21 18:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 18:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-08-21 18:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":761,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553257984001,"66":2166,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738459855539318784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553257984001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:37:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539318784,"description":"Unknown IO ID 45"} 
[2026-08-21 18:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553257984001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855539318784}} 
[2026-08-21 18:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:37:07] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:37:07] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:37:33] local.INFO: TCP Data received {"connection_id":161817,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246d9320012da6a540054c2808000b01252a..."} 
[2026-08-21 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246d9320012da6a540054c2808000b01252a..."} 
[2026-08-21 18:37:33] local.INFO: Processing buffer {"connection_id":161817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246d9320012da6a540054c2808000b01252a..."} 
[2026-08-21 18:37:33] local.INFO: Packet analysis {"connection_id":161817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:37:33] local.INFO: Extracted packet for processing {"connection_id":161817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:37:33] local.INFO: GPS Element Parsed {"raw_longitude":765896000,"raw_latitude":88877064,"longitude_deg":76.5896,"latitude_deg":8.8877064,"altitude":11,"angle":293,"satellites":42,"speed":31,"hex_longitude":"2da6a540","hex_latitude":"054c2808","is_valid_coordinates":true} 
[2026-08-21 18:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553292032001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388539272925282304,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6432195776296278016,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787317556000,"timestamp_ms":1787317556000,"timestamp_seconds":1787317556,"priority":1,"record_length":96,"hex_timestamp":"000001a0246d9320"} 
[2026-08-21 18:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:37:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-08-21 18:37: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-08-21 18:37:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553292032001,"66":27865,"152":206,"84":6144,"24":31,"16":388539272925282304,"45":-6432195776296278016},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,84,24,16,45]} 
[2026-08-21 18:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553292032001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:37:33] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-21 18:37:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388539272925282304,"km_value":388539272925282.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6432195776296278016,"description":"Unknown IO ID 45"} 
[2026-08-21 18:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553292032001,"power":27865,"unknown_152":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6432195776296278016}} 
[2026-08-21 18:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":161817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:37:33] local.INFO: GPS data processed {"connection_id":161817,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:37:33] local.INFO: Acknowledgment sent {"connection_id":161817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:37:38] local.INFO: TCP Data received {"connection_id":161818,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:37:38] local.INFO: Processing buffer {"connection_id":161818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:37:38] local.INFO: Packet analysis {"connection_id":161818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246c"} 
[2026-08-21 18:37:38] local.INFO: Extracted packet for processing {"connection_id":161818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246c"} 
[2026-08-21 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-08-21 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553283840001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-08-21 18:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317515000,"timestamp_ms":1787317515000,"timestamp_seconds":1787317515,"priority":1,"record_length":96,"hex_timestamp":"000001a0246cf2f8"} 
[2026-08-21 18:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 18:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553283840001,"66":2166,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738037643074113536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553283840001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:37:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-08-21 18:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553283840001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-08-21 18:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":161818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:37:38] local.INFO: GPS data processed {"connection_id":161818,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:37:38] local.INFO: Acknowledgment sent {"connection_id":161818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:37:57] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:37:57] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:37:57] local.INFO: IMEI packet received {"connection_id":159243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":159243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:38:02] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:02] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:02] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:38:02] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:38:02] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:38:02] local.INFO: IMEI packet received {"connection_id":159243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":159243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:38:03] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246da2c0012da69a00054c2b70000b01182b..."} 
[2026-08-21 18:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246da2c0012da69a00054c2b70000b01182b..."} 
[2026-08-21 18:38:03] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246da2c0012da69a00054c2b70000b01182b..."} 
[2026-08-21 18:38:03] local.INFO: Packet analysis {"connection_id":159243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:38:03] local.INFO: Extracted packet for processing {"connection_id":159243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:38:03] local.INFO: GPS Element Parsed {"raw_longitude":765893120,"raw_latitude":88877936,"longitude_deg":76.589312,"latitude_deg":8.8877936,"altitude":11,"angle":280,"satellites":43,"speed":30,"hex_longitude":"2da69a00","hex_latitude":"054c2b70","is_valid_coordinates":true} 
[2026-08-21 18:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553294336001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388539418954170368,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6438669700759549952,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,152,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787317560000,"timestamp_ms":1787317560000,"timestamp_seconds":1787317560,"priority":1,"record_length":96,"hex_timestamp":"000001a0246da2c0"} 
[2026-08-21 18:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-08-21 18:38:03] 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-08-21 18:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553294336001,"66":27908,"152":206,"84":6144,"24":30,"16":388539418954170368,"45":-6438669700759549952},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,152,84,24,16,45]} 
[2026-08-21 18:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553294336001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:38:03] local.INFO: Unknown IO ID detected {"io_id":152,"value":206,"description":"Unknown IO ID 152"} 
[2026-08-21 18:38:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388539418954170368,"km_value":388539418954170.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6438669700759549952,"description":"Unknown IO ID 45"} 
[2026-08-21 18:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553294336001,"power":27908,"unknown_152":206,"unknown_84":6144,"ignition":30,"odometer":null,"unknown_45":-6438669700759549952}} 
[2026-08-21 18:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":159243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:38:03] local.INFO: GPS data processed {"connection_id":159243,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:38:03] local.INFO: Acknowledgment sent {"connection_id":159243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:38:06] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:06] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:06] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:38:11] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:11] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:38:11] local.INFO: IMEI packet received {"connection_id":160428,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":160428,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:38:12] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:38:12] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246cf2f8012d181ec00721b090004f014c2a..."} 
[2026-08-21 18:38:12] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246c"} 
[2026-08-21 18:38:12] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246c"} 
[2026-08-21 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-08-21 18:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553283840001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787317515000,"timestamp_ms":1787317515000,"timestamp_seconds":1787317515,"priority":1,"record_length":96,"hex_timestamp":"000001a0246cf2f8"} 
[2026-08-21 18:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 18:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553283840001,"66":2166,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738037643074113536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553283840001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:38:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-08-21 18:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553283840001,"power":2166,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-08-21 18:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:38:12] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:38:12] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:38:16] local.INFO: TCP Data received {"connection_id":160428,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246d50b8012d181f400721b040004f014c29..."} 
[2026-08-21 18:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246d50b8012d181f400721b040004f014c29..."} 
[2026-08-21 18:38:16] local.INFO: Processing buffer {"connection_id":160428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246d50b8012d181f400721b040004f014c29..."} 
[2026-08-21 18:38:16] local.INFO: Packet analysis {"connection_id":160428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:38:16] local.INFO: Extracted packet for processing {"connection_id":160428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648320,"longitude_deg":75.6555584,"latitude_deg":11.964832,"altitude":79,"angle":332,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-21 18:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553283840001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38: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-08-21 18:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787317539000,"timestamp_ms":1787317539000,"timestamp_seconds":1787317539,"priority":1,"record_length":96,"hex_timestamp":"000001a0246d50b8"} 
[2026-08-21 18:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 18:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160428,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553283840001,"66":12841,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738037643074113536},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553283840001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:38:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:38:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-08-21 18:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553283840001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-08-21 18:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":160428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:38:16] local.INFO: GPS data processed {"connection_id":160428,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:38:16] local.INFO: Acknowledgment sent {"connection_id":160428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:38:34] local.INFO: TCP Data received {"connection_id":159243,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f44b8012da5d400054c82e8001001362b..."} 
[2026-08-21 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159243,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f44b8012da5d400054c82e8001001362b..."} 
[2026-08-21 18:38:34] local.INFO: Processing buffer {"connection_id":159243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f44b8012da5d400054c82e8001001362b..."} 
[2026-08-21 18:38:34] local.INFO: Packet analysis {"connection_id":159243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:38:34] local.INFO: Extracted packet for processing {"connection_id":159243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:38:34] local.INFO: GPS Element Parsed {"raw_longitude":765842432,"raw_latitude":88900328,"longitude_deg":76.5842432,"latitude_deg":8.8900328,"altitude":16,"angle":310,"satellites":43,"speed":18,"hex_longitude":"2da5d400","hex_latitude":"054c82e8","is_valid_coordinates":true} 
[2026-08-21 18:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553321728001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388542227862781952,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6496723914700423168,"note":"Value kept but may cause issues"} 
[2026-08-21 18:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787317667000,"timestamp_ms":1787317667000,"timestamp_seconds":1787317667,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f44b8"} 
[2026-08-21 18:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:38: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-08-21 18:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553321728001,"66":27908,"219":206,"84":6144,"24":18,"16":388542227862781952,"45":-6496723914700423168},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,84,24,16,45]} 
[2026-08-21 18:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553321728001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:38:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:38:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388542227862781952,"km_value":388542227862781.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6496723914700423168,"description":"Unknown IO ID 45"} 
[2026-08-21 18:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553321728001,"power":27908,"unknown_219":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6496723914700423168}} 
[2026-08-21 18:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":159243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:38:35] local.INFO: GPS data processed {"connection_id":159243,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:38:35] local.INFO: Acknowledgment sent {"connection_id":159243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:38:57] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:38:57] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:38:57] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:39:01] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:39:01] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:39:01] local.INFO: IMEI packet received {"connection_id":159530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":159530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:39:02] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:39:02] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:39:02] local.INFO: IMEI packet received {"connection_id":160429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":160429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:39:03] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f4c88012da5d080054c85480010012a2b..."} 
[2026-08-21 18:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f4c88012da5d080054c85480010012a2b..."} 
[2026-08-21 18:39:03] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f4c88012da5d080054c85480010012a2b..."} 
[2026-08-21 18:39:03] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:03] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:03] local.INFO: GPS Element Parsed {"raw_longitude":765841536,"raw_latitude":88900936,"longitude_deg":76.5841536,"latitude_deg":8.8900936,"altitude":16,"angle":298,"satellites":43,"speed":23,"hex_longitude":"2da5d080","hex_latitude":"054c8548","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553322752001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388542279402389504,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6497568339630299136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787317669000,"timestamp_ms":1787317669000,"timestamp_seconds":1787317669,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f4c88"} 
[2026-08-21 18:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 18:39:03] 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-08-21 18: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-08-21 18:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553322752001,"66":27767,"219":206,"84":6144,"24":23,"16":388542279402389504,"45":-6497568339630299136},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,84,24,16,45]} 
[2026-08-21 18:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553322752001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:39:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:39:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388542279402389504,"km_value":388542279402389.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6497568339630299136,"description":"Unknown IO ID 45"} 
[2026-08-21 18:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553322752001,"power":27767,"unknown_219":206,"unknown_84":6144,"ignition":23,"odometer":null,"unknown_45":-6497568339630299136}} 
[2026-08-21 18:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:39:03] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:39:03] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:39:05] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:39:05] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:39:05] local.INFO: IMEI packet received {"connection_id":159530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":159530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:39:06] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246da2c0012d181f400721b040004f014c2a..."} 
[2026-08-21 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246da2c0012d181f400721b040004f014c2a..."} 
[2026-08-21 18:39:06] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246da2c0012d181f400721b040004f014c2a..."} 
[2026-08-21 18:39:06] local.INFO: Packet analysis {"connection_id":159530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:39:06] local.INFO: Extracted packet for processing {"connection_id":159530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648320,"longitude_deg":75.6555584,"latitude_deg":11.964832,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b040","is_valid_coordinates":true} 
[2026-08-21 18:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553289984001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291443547897856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562448384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787317560000,"timestamp_ms":1787317560000,"timestamp_seconds":1787317560,"priority":1,"record_length":96,"hex_timestamp":"000001a0246da2c0"} 
[2026-08-21 18:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 18:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553289984001,"66":12428,"105":206,"83":41984,"24":0,"16":14291443547897856,"45":1738178380562448384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553289984001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:39:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:39:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291443547897856,"km_value":14291443547897.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562448384,"description":"Unknown IO ID 45"} 
[2026-08-21 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553289984001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562448384}} 
[2026-08-21 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":159530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:39:06] local.INFO: GPS data processed {"connection_id":159530,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:39:06] local.INFO: Acknowledgment sent {"connection_id":159530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:39:14] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:39:14] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:39:14] local.INFO: IMEI packet received {"connection_id":159529,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":159529,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:39:16] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f48a0012d82a74005d76638000b01622a..."} 
[2026-08-21 18:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f48a0012d82a74005d76638000b01622a..."} 
[2026-08-21 18:39:16] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f48a0012d82a74005d76638000b01622a..."} 
[2026-08-21 18:39:16] local.INFO: Packet analysis {"connection_id":159529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:16] local.INFO: Extracted packet for processing {"connection_id":159529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:16] local.INFO: GPS Element Parsed {"raw_longitude":763537216,"raw_latitude":98002488,"longitude_deg":76.3537216,"latitude_deg":9.8002488,"altitude":11,"angle":354,"satellites":42,"speed":28,"hex_longitude":"2d82a740","hex_latitude":"05d76638","is_valid_coordinates":true} 
[2026-08-21 18:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553319680001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121869100023545856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9030913496442630144,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787317668000,"timestamp_ms":1787317668000,"timestamp_seconds":1787317668,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f48a0"} 
[2026-08-21 18:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 18:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553319680001,"66":13526,"155":206,"85":15104,"24":28,"16":121869100023545856,"45":-9030913496442630144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 18:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553319680001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:39:16] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 18:39:16] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121869100023545856,"km_value":121869100023545.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9030913496442630144,"description":"Unknown IO ID 45"} 
[2026-08-21 18:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553319680001,"power":13526,"unknown_155":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9030913496442630144}} 
[2026-08-21 18:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":159529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:39:17] local.INFO: GPS data processed {"connection_id":159529,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:39:17] local.INFO: Acknowledgment sent {"connection_id":159529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:39:34] local.INFO: TCP Data received {"connection_id":160429,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f63f8012da5c180054c8ab8000e011d2b..."} 
[2026-08-21 18:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f63f8012da5c180054c8ab8000e011d2b..."} 
[2026-08-21 18:39:34] local.INFO: Processing buffer {"connection_id":160429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f63f8012da5c180054c8ab8000e011d2b..."} 
[2026-08-21 18:39:34] local.INFO: Packet analysis {"connection_id":160429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:34] local.INFO: Extracted packet for processing {"connection_id":160429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:34] local.INFO: GPS Element Parsed {"raw_longitude":765837696,"raw_latitude":88902328,"longitude_deg":76.5837696,"latitude_deg":8.8902328,"altitude":14,"angle":285,"satellites":43,"speed":27,"hex_longitude":"2da5c180","hex_latitude":"054c8ab8","is_valid_coordinates":true} 
[2026-08-21 18:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553323264001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388542472675917824,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6498553502048630784,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787317675000,"timestamp_ms":1787317675000,"timestamp_seconds":1787317675,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f63f8"} 
[2026-08-21 18:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:39: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-08-21 18:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553323264001,"66":27821,"220":206,"84":6144,"24":27,"16":388542472675917824,"45":-6498553502048630784},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,84,24,16,45]} 
[2026-08-21 18:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553323264001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:39:34] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:39:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388542472675917824,"km_value":388542472675917.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6498553502048630784,"description":"Unknown IO ID 45"} 
[2026-08-21 18:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553323264001,"power":27821,"unknown_220":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6498553502048630784}} 
[2026-08-21 18:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":160429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:39:34] local.INFO: GPS data processed {"connection_id":160429,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:39:34] local.INFO: Acknowledgment sent {"connection_id":160429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:39:37] local.INFO: TCP Data received {"connection_id":159530,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246df4c8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246df4c8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:39:37] local.INFO: Processing buffer {"connection_id":159530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246df4c8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:39:37] local.INFO: Packet analysis {"connection_id":159530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:39:37] local.INFO: Extracted packet for processing {"connection_id":159530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246d"} 
[2026-08-21 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553295360001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562448384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787317581000,"timestamp_ms":1787317581000,"timestamp_seconds":1787317581,"priority":1,"record_length":96,"hex_timestamp":"000001a0246df4c8"} 
[2026-08-21 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-08-21 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553295360001,"66":12743,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1738178380562448384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553295360001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:39:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:39:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562448384,"description":"Unknown IO ID 45"} 
[2026-08-21 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553295360001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562448384}} 
[2026-08-21 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":159530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677212,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:39:37] local.INFO: GPS data processed {"connection_id":159530,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:39:37] local.INFO: Acknowledgment sent {"connection_id":159530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:39:48] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f7780012d82a54005d789d8000b016529..."} 
[2026-08-21 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f7780012d82a54005d789d8000b016529..."} 
[2026-08-21 18:39:48] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f7780012d82a54005d789d8000b016529..."} 
[2026-08-21 18:39:48] local.INFO: Packet analysis {"connection_id":159529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:48] local.INFO: Extracted packet for processing {"connection_id":159529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":763536704,"raw_latitude":98011608,"longitude_deg":76.3536704,"latitude_deg":9.8011608,"altitude":11,"angle":357,"satellites":41,"speed":30,"hex_longitude":"2d82a540","hex_latitude":"05d789d8","is_valid_coordinates":true} 
[2026-08-21 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553323008001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121869542405177344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032180133835425792,"note":"Value kept but may cause issues"} 
[2026-08-21 18:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787317680000,"timestamp_ms":1787317680000,"timestamp_seconds":1787317680,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f7780"} 
[2026-08-21 18:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 18:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553323008001,"66":13798,"155":206,"85":15104,"24":30,"16":121869542405177344,"45":-9032180133835425792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 18:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553323008001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121869542405177344,"km_value":121869542405177.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032180133835425792,"description":"Unknown IO ID 45"} 
[2026-08-21 18:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553323008001,"power":13798,"unknown_155":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9032180133835425792}} 
[2026-08-21 18:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":159529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:39:48] local.INFO: GPS data processed {"connection_id":159529,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:39:48] local.INFO: Acknowledgment sent {"connection_id":159529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:40:01] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:40:01] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:40:01] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:40:02] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:40:02] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:40:02] local.INFO: IMEI packet received {"connection_id":159244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":159244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:40:06] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:40:06] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:40:06] local.INFO: IMEI packet received {"connection_id":161819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":161819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:40:07] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246e46d0012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246e46d0012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:40:07] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246e46d0012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:40:07] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246e"} 
[2026-08-21 18:40:07] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246e"} 
[2026-08-21 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553300736001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097220608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317602000,"timestamp_ms":1787317602000,"timestamp_seconds":1787317602,"priority":1,"record_length":96,"hex_timestamp":"000001a0246e46d0"} 
[2026-08-21 18:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 18:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553300736001,"66":12743,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1737756168097220608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553300736001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097220608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553300736001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097220608}} 
[2026-08-21 18:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:40:07] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:40:07] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:40:07] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:40:07] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:40:07] local.INFO: IMEI packet received {"connection_id":159244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":159244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:40:08] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f7f50012da5b140054c9108000b012a29..."} 
[2026-08-21 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f7f50012da5b140054c9108000b012a29..."} 
[2026-08-21 18:40:08] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f7f50012da5b140054c9108000b012a29..."} 
[2026-08-21 18:40:08] local.INFO: Packet analysis {"connection_id":159244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:40:08] local.INFO: Extracted packet for processing {"connection_id":159244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":765833536,"raw_latitude":88903944,"longitude_deg":76.5833536,"latitude_deg":8.8903944,"altitude":11,"angle":298,"satellites":41,"speed":28,"hex_longitude":"2da5b140","hex_latitude":"054c9108","is_valid_coordinates":true} 
[2026-08-21 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553324800001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388542691719249920,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6502775626698934272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787317682000,"timestamp_ms":1787317682000,"timestamp_seconds":1787317682,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f7f50"} 
[2026-08-21 18:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553324800001,"66":27876,"220":206,"84":6144,"24":28,"16":388542691719249920,"45":-6502775626698934272},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,84,24,16,45]} 
[2026-08-21 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553324800001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388542691719249920,"km_value":388542691719249.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6502775626698934272,"description":"Unknown IO ID 45"} 
[2026-08-21 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553324800001,"power":27876,"unknown_220":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6502775626698934272}} 
[2026-08-21 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":159244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:40:08] local.INFO: GPS data processed {"connection_id":159244,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:40:08] local.INFO: Acknowledgment sent {"connection_id":159244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:40:09] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246faa48012da59300054ca488000b012b29..."} 
[2026-08-21 18:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246faa48012da59300054ca488000b012b29..."} 
[2026-08-21 18:40:09] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246faa48012da59300054ca488000b012b29..."} 
[2026-08-21 18:40:09] local.INFO: Packet analysis {"connection_id":159244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:40:09] local.INFO: Extracted packet for processing {"connection_id":159244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:40:09] local.INFO: GPS Element Parsed {"raw_longitude":765825792,"raw_latitude":88908936,"longitude_deg":76.5825792,"latitude_deg":8.8908936,"altitude":11,"angle":299,"satellites":41,"speed":31,"hex_longitude":"2da59300","hex_latitude":"054ca488","is_valid_coordinates":true} 
[2026-08-21 18:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553326592001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388543134100881408,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6507349595070068736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787317693000,"timestamp_ms":1787317693000,"timestamp_seconds":1787317693,"priority":1,"record_length":96,"hex_timestamp":"000001a0246faa48"} 
[2026-08-21 18:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:40: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-08-21 18:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 18:40: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-08-21 18:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553326592001,"66":27800,"220":206,"84":6144,"24":31,"16":388543134100881408,"45":-6507349595070068736},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,84,24,16,45]} 
[2026-08-21 18:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553326592001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:40:09] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:40:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388543134100881408,"km_value":388543134100881.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6507349595070068736,"description":"Unknown IO ID 45"} 
[2026-08-21 18:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553326592001,"power":27800,"unknown_220":206,"unknown_84":6144,"ignition":31,"odometer":null,"unknown_45":-6507349595070068736}} 
[2026-08-21 18:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":159244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:40:09] local.INFO: GPS data processed {"connection_id":159244,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:40:09] local.INFO: Acknowledgment sent {"connection_id":159244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:40:19] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024712148012d82830005d8e240000c01642a..."} 
[2026-08-21 18:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024712148012d82830005d8e240000c01642a..."} 
[2026-08-21 18:40:19] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024712148012d82830005d8e240000c01642a..."} 
[2026-08-21 18:40:19] local.INFO: Packet analysis {"connection_id":159529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:40:19] local.INFO: Extracted packet for processing {"connection_id":159529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":98099776,"longitude_deg":76.3527936,"latitude_deg":9.8099776,"altitude":12,"angle":356,"satellites":42,"speed":30,"hex_longitude":"2d828300","hex_latitude":"05d8e240","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553350656001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121873871732211712,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041679914276868096,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787317789000,"timestamp_ms":1787317789000,"timestamp_seconds":1787317789,"priority":1,"record_length":96,"hex_timestamp":"000001a024712148"} 
[2026-08-21 18:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-08-21 18:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":159529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553350656001,"66":13515,"47":206,"85":15104,"24":30,"16":121873871732211712,"45":-9041679914276868096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-21 18:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553350656001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:40:19] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-21 18:40:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121873871732211712,"km_value":121873871732211.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041679914276868096,"description":"Unknown IO ID 45"} 
[2026-08-21 18:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553350656001,"power":13515,"unknown_47":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9041679914276868096}} 
[2026-08-21 18:40:20] local.INFO: DEBUG: GPS processor result {"connection_id":159529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677217,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:40:20] local.INFO: GPS data processed {"connection_id":159529,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:40:20] local.INFO: Acknowledgment sent {"connection_id":159529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:40:38] local.INFO: TCP Data received {"connection_id":161819,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246e98d8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246e98d8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:40:38] local.INFO: Processing buffer {"connection_id":161819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246e98d8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:40:38] local.INFO: Packet analysis {"connection_id":161819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246e"} 
[2026-08-21 18:40:38] local.INFO: Extracted packet for processing {"connection_id":161819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246e"} 
[2026-08-21 18:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553306112001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097220608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317623000,"timestamp_ms":1787317623000,"timestamp_seconds":1787317623,"priority":1,"record_length":96,"hex_timestamp":"000001a0246e98d8"} 
[2026-08-21 18:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 18:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553306112001,"66":12711,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1737756168097220608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553306112001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:40:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097220608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553306112001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097220608}} 
[2026-08-21 18:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":161819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:40:38] local.INFO: GPS data processed {"connection_id":161819,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:40:38] local.INFO: Acknowledgment sent {"connection_id":161819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:40:41] local.INFO: TCP Data received {"connection_id":159244,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0246fdd10012da57280054cb300000b01242b..."} 
[2026-08-21 18:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159244,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246fdd10012da57280054cb300000b01242b..."} 
[2026-08-21 18:40:41] local.INFO: Processing buffer {"connection_id":159244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246fdd10012da57280054cb300000b01242b..."} 
[2026-08-21 18:40:41] local.INFO: Packet analysis {"connection_id":159244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:40:41] local.INFO: Extracted packet for processing {"connection_id":159244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":765817472,"raw_latitude":88912640,"longitude_deg":76.5817472,"latitude_deg":8.891264,"altitude":11,"angle":292,"satellites":43,"speed":30,"hex_longitude":"2da57280","hex_latitude":"054cb300","is_valid_coordinates":true} 
[2026-08-21 18:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553329408001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388543567892578304,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6515864213114288128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787317706000,"timestamp_ms":1787317706000,"timestamp_seconds":1787317706,"priority":1,"record_length":96,"hex_timestamp":"000001a0246fdd10"} 
[2026-08-21 18:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-08-21 18:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553329408001,"66":27767,"220":206,"84":6144,"24":30,"16":388543567892578304,"45":-6515864213114288128},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,84,24,16,45]} 
[2026-08-21 18:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553329408001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388543567892578304,"km_value":388543567892578.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6515864213114288128,"description":"Unknown IO ID 45"} 
[2026-08-21 18:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553329408001,"power":27767,"unknown_220":206,"unknown_84":6144,"ignition":30,"odometer":null,"unknown_45":-6515864213114288128}} 
[2026-08-21 18:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":159244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:40:41] local.INFO: GPS data processed {"connection_id":159244,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:40:41] local.INFO: Acknowledgment sent {"connection_id":159244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:40:50] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024715028012d8280c005d90778000d015f29..."} 
[2026-08-21 18:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024715028012d8280c005d90778000d015f29..."} 
[2026-08-21 18:40:50] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024715028012d8280c005d90778000d015f29..."} 
[2026-08-21 18:40:50] local.INFO: Packet analysis {"connection_id":159529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:40:50] local.INFO: Extracted packet for processing {"connection_id":159529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":763527360,"raw_latitude":98109304,"longitude_deg":76.352736,"latitude_deg":9.8109304,"altitude":13,"angle":351,"satellites":41,"speed":31,"hex_longitude":"2d8280c0","hex_latitude":"05d90778","is_valid_coordinates":true} 
[2026-08-21 18:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553353984001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121874335588679680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042383601716281344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787317801000,"timestamp_ms":1787317801000,"timestamp_seconds":1787317801,"priority":1,"record_length":96,"hex_timestamp":"000001a024715028"} 
[2026-08-21 18:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-08-21 18:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":159529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553353984001,"66":13526,"47":206,"85":15104,"24":31,"16":121874335588679680,"45":-9042383601716281344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-21 18:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553353984001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:40:50] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-21 18:40:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121874335588679680,"km_value":121874335588679.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042383601716281344,"description":"Unknown IO ID 45"} 
[2026-08-21 18:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553353984001,"power":13526,"unknown_47":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9042383601716281344}} 
[2026-08-21 18:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":159529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:40:50] local.INFO: GPS data processed {"connection_id":159529,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:40:50] local.INFO: Acknowledgment sent {"connection_id":159529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:41:01] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:41:01] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:41:01] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:41:06] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:41:06] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:41:06] local.INFO: IMEI packet received {"connection_id":160430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":160430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:41:07] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:07] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:07] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:41:07] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246eeae0012d181dc00721adc8004f014c29..."} 
[2026-08-21 18:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246eeae0012d181dc00721adc8004f014c29..."} 
[2026-08-21 18:41:07] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246eeae0012d181dc00721adc8004f014c29..."} 
[2026-08-21 18:41:07] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246e"} 
[2026-08-21 18:41:07] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246e"} 
[2026-08-21 18:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":41,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553311488001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097220608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317644000,"timestamp_ms":1787317644000,"timestamp_seconds":1787317644,"priority":1,"record_length":96,"hex_timestamp":"000001a0246eeae0"} 
[2026-08-21 18:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-21 18:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553311488001,"66":12722,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1737756168097220608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553311488001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:41:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097220608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553311488001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097220608}} 
[2026-08-21 18:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:41:07] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:41:07] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:41:12] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:12] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:12] local.INFO: IMEI packet received {"connection_id":161820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":161820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:41:13] local.INFO: TCP Data received {"connection_id":161820,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024700bf0012da55040054cc158000801232b..."} 
[2026-08-21 18:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024700bf0012da55040054cc158000801232b..."} 
[2026-08-21 18:41:13] local.INFO: Processing buffer {"connection_id":161820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024700bf0012da55040054cc158000801232b..."} 
[2026-08-21 18:41:13] local.INFO: Packet analysis {"connection_id":161820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02470"} 
[2026-08-21 18:41:13] local.INFO: Extracted packet for processing {"connection_id":161820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02470"} 
[2026-08-21 18:41:13] local.INFO: GPS Element Parsed {"raw_longitude":765808704,"raw_latitude":88916312,"longitude_deg":76.5808704,"latitude_deg":8.8916312,"altitude":8,"angle":291,"satellites":43,"speed":25,"hex_longitude":"2da55040","hex_latitude":"054cc158","is_valid_coordinates":true} 
[2026-08-21 18:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553332736001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388544027454078976,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6525012149856436224,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787317718000,"timestamp_ms":1787317718000,"timestamp_seconds":1787317718,"priority":1,"record_length":96,"hex_timestamp":"000001a024700bf0"} 
[2026-08-21 18:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553332736001,"66":27745,"220":206,"84":6144,"24":25,"16":388544027454078976,"45":-6525012149856436224},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,84,24,16,45]} 
[2026-08-21 18:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553332736001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388544027454078976,"km_value":388544027454079.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6525012149856436224,"description":"Unknown IO ID 45"} 
[2026-08-21 18:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553332736001,"power":27745,"unknown_220":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6525012149856436224}} 
[2026-08-21 18:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":161820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:41:13] local.INFO: GPS data processed {"connection_id":161820,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:41:13] local.INFO: Acknowledgment sent {"connection_id":161820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:41:22] local.INFO: TCP Data received {"connection_id":159529,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024717350012d82788005d92728000b01532a..."} 
[2026-08-21 18:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024717350012d82788005d92728000b01532a..."} 
[2026-08-21 18:41:22] local.INFO: Processing buffer {"connection_id":159529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024717350012d82788005d92728000b01532a..."} 
[2026-08-21 18:41:22] local.INFO: Packet analysis {"connection_id":159529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:41:22] local.INFO: Extracted packet for processing {"connection_id":159529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:41:22] local.INFO: GPS Element Parsed {"raw_longitude":763525248,"raw_latitude":98117416,"longitude_deg":76.3525248,"latitude_deg":9.8117416,"altitude":11,"angle":339,"satellites":42,"speed":42,"hex_longitude":"2d827880","hex_latitude":"05d92728","is_valid_coordinates":true} 
[2026-08-21 18:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553357056001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121874743610572800,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043016920411441152,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787317810000,"timestamp_ms":1787317810000,"timestamp_seconds":1787317810,"priority":1,"record_length":96,"hex_timestamp":"000001a024717350"} 
[2026-08-21 18:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:41: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-08-21 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 18:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":159529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":159529,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553357056001,"66":13526,"47":206,"85":15104,"24":42,"16":121874743610572800,"45":-9043016920411441152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-21 18:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553357056001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:41:22] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-21 18:41:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121874743610572800,"km_value":121874743610572.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043016920411441152,"description":"Unknown IO ID 45"} 
[2026-08-21 18:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553357056001,"power":13526,"unknown_47":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-9043016920411441152}} 
[2026-08-21 18:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":159529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:41:22] local.INFO: GPS data processed {"connection_id":159529,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:41:22] local.INFO: Acknowledgment sent {"connection_id":159529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:41:38] local.INFO: TCP Data received {"connection_id":160430,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f3ce8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f3ce8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:41:38] local.INFO: Processing buffer {"connection_id":160430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f3ce8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:41:38] local.INFO: Packet analysis {"connection_id":160430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:41:38] local.INFO: Extracted packet for processing {"connection_id":160430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553316864001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097220608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317665000,"timestamp_ms":1787317665000,"timestamp_seconds":1787317665,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f3ce8"} 
[2026-08-21 18:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 18:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553316864001,"66":12722,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1737756168097220608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553316864001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097220608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553316864001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097220608}} 
[2026-08-21 18:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":160430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:41:38] local.INFO: GPS data processed {"connection_id":160430,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:41:38] local.INFO: Acknowledgment sent {"connection_id":160430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:41:53] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:41:53] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:41:53] local.INFO: IMEI packet received {"connection_id":159245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":159245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:41:57] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:57] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:41:57] local.INFO: IMEI packet received {"connection_id":159246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":159246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:41:58] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:41:58] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:41:58] local.INFO: IMEI packet received {"connection_id":159245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":159245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:41:59] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024719678012d826a8005d94af00009015129..."} 
[2026-08-21 18:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024719678012d826a8005d94af00009015129..."} 
[2026-08-21 18:41:59] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024719678012d826a8005d94af00009015129..."} 
[2026-08-21 18:41:59] local.INFO: Packet analysis {"connection_id":159245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:41:59] local.INFO: Extracted packet for processing {"connection_id":159245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02471"} 
[2026-08-21 18:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763521664,"raw_latitude":98126576,"longitude_deg":76.3521664,"latitude_deg":9.8126576,"altitude":9,"angle":337,"satellites":41,"speed":40,"hex_longitude":"2d826a80","hex_latitude":"05d94af0","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553359360001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121875220351942656,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9045339088967227392,"note":"Value kept but may cause issues"} 
[2026-08-21 18:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787317819000,"timestamp_ms":1787317819000,"timestamp_seconds":1787317819,"priority":1,"record_length":96,"hex_timestamp":"000001a024719678"} 
[2026-08-21 18:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:41: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-08-21 18: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":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 18:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553359360001,"66":13537,"49":206,"85":15104,"24":40,"16":121875220351942656,"45":-9045339088967227392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 18:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553359360001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:41:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 18:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121875220351942656,"km_value":121875220351942.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9045339088967227392,"description":"Unknown IO ID 45"} 
[2026-08-21 18:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553359360001,"power":13537,"unknown_49":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9045339088967227392}} 
[2026-08-21 18:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":159245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:41:59] local.INFO: GPS data processed {"connection_id":159245,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:41:59] local.INFO: Acknowledgment sent {"connection_id":159245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:42:00] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:42:00] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:42:00] local.INFO: IMEI packet received {"connection_id":159246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":159246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:42:01] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:42:01] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:42:01] local.INFO: IMEI packet received {"connection_id":159531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":159531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:42:01] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024704e58012da52e80054cd130000d012929..."} 
[2026-08-21 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024704e58012da52e80054cd130000d012929..."} 
[2026-08-21 18:42:01] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024704e58012da52e80054cd130000d012929..."} 
[2026-08-21 18:42:01] local.INFO: Packet analysis {"connection_id":159246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02470"} 
[2026-08-21 18:42:01] local.INFO: Extracted packet for processing {"connection_id":159246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02470"} 
[2026-08-21 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":765800064,"raw_latitude":88920368,"longitude_deg":76.5800064,"latitude_deg":8.8920368,"altitude":13,"angle":297,"satellites":41,"speed":27,"hex_longitude":"2da52e80","hex_latitude":"054cd130","is_valid_coordinates":true} 
[2026-08-21 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553335808001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388544482720612352,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6534652667807836160,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787317735000,"timestamp_ms":1787317735000,"timestamp_seconds":1787317735,"priority":1,"record_length":96,"hex_timestamp":"000001a024704e58"} 
[2026-08-21 18:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:42: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-08-21 18:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553335808001,"66":27865,"220":206,"84":6144,"24":27,"16":388544482720612352,"45":-6534652667807836160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,84,24,16,45]} 
[2026-08-21 18:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553335808001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:42:01] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:42:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388544482720612352,"km_value":388544482720612.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6534652667807836160,"description":"Unknown IO ID 45"} 
[2026-08-21 18:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553335808001,"power":27865,"unknown_220":206,"unknown_84":6144,"ignition":27,"odometer":null,"unknown_45":-6534652667807836160}} 
[2026-08-21 18:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":159246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:42:01] local.INFO: GPS data processed {"connection_id":159246,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:42:01] local.INFO: Acknowledgment sent {"connection_id":159246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:42:06] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:42:06] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:42:06] local.INFO: IMEI packet received {"connection_id":159531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":159531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:42:07] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246f8ef0012d181dc00721adc8004f014c2b..."} 
[2026-08-21 18:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246f8ef0012d181dc00721adc8004f014c2b..."} 
[2026-08-21 18:42:07] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246f8ef0012d181dc00721adc8004f014c2b..."} 
[2026-08-21 18:42:07] local.INFO: Packet analysis {"connection_id":159531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:42:07] local.INFO: Extracted packet for processing {"connection_id":159531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":43,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553322240001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097220608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317686000,"timestamp_ms":1787317686000,"timestamp_seconds":1787317686,"priority":1,"record_length":96,"hex_timestamp":"000001a0246f8ef0"} 
[2026-08-21 18:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 18:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553322240001,"66":12689,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1737756168097220608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553322240001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:42:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097220608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553322240001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097220608}} 
[2026-08-21 18:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":159531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:42:07] local.INFO: GPS data processed {"connection_id":159531,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:42:07] local.INFO: Acknowledgment sent {"connection_id":159531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:42:30] local.INFO: TCP Data received {"connection_id":159245,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024734428012d824a0005d9cc28000a008828..."} 
[2026-08-21 18:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024734428012d824a0005d9cc28000a008828..."} 
[2026-08-21 18:42:30] local.INFO: Processing buffer {"connection_id":159245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024734428012d824a0005d9cc28000a008828..."} 
[2026-08-21 18:42:30] local.INFO: Packet analysis {"connection_id":159245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:42:30] local.INFO: Extracted packet for processing {"connection_id":159245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763513344,"raw_latitude":98159656,"longitude_deg":76.3513344,"latitude_deg":9.8159656,"altitude":10,"angle":136,"satellites":40,"speed":5,"hex_longitude":"2d824a00","hex_latitude":"05d9cc28","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553389312001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121876951223762944,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058709150350137344,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787317929000,"timestamp_ms":1787317929000,"timestamp_seconds":1787317929,"priority":1,"record_length":96,"hex_timestamp":"000001a024734428"} 
[2026-08-21 18:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185756677,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-6631550412625532416,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2818649474,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941415,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4267114496,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3653693440,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":122,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.WARNING: Large IO value detected {"io_id":114,"raw_value":4780572299425382405,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:30] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,69,85,24,241,157,16,254,160,249,45,192,204,10,40,66,214,205,42,206,128,1,240,29,227,36,217,4,113,6,136,73,208,239,51,2,176,5,11,14,122,114],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-08-21 18:42:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720699257480544256,"timestamp_seconds":720699257480544.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553389312001,"66":13580,"69":206,"85":15104,"24":5,"16":121876951223762944,"45":-9058709150350137344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553389312001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:42:30] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121876951223762944,"km_value":121876951223762.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058709150350137344,"description":"Unknown IO ID 45"} 
[2026-08-21 18:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553389312001,"power":13580,"unknown_69":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":-9058709150350137344}} 
[2026-08-21 18:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":159245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:42:30] local.INFO: GPS data processed {"connection_id":159245,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:42:30] local.INFO: Acknowledgment sent {"connection_id":159245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:42:33] local.INFO: TCP Data received {"connection_id":159246,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02472ea50012da42340054d1090000b01422a..."} 
[2026-08-21 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02472ea50012da42340054d1090000b01422a..."} 
[2026-08-21 18:42:33] local.INFO: Processing buffer {"connection_id":159246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02472ea50012da42340054d1090000b01422a..."} 
[2026-08-21 18:42:33] local.INFO: Packet analysis {"connection_id":159246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02472"} 
[2026-08-21 18:42:33] local.INFO: Extracted packet for processing {"connection_id":159246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02472"} 
[2026-08-21 18:42:33] local.INFO: GPS Element Parsed {"raw_longitude":765731648,"raw_latitude":88936592,"longitude_deg":76.5731648,"latitude_deg":8.8936592,"altitude":11,"angle":322,"satellites":42,"speed":19,"hex_longitude":"2da42340","hex_latitude":"054d1090","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553383424001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388547910104514560,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6618532210862594048,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787317906000,"timestamp_ms":1787317906000,"timestamp_seconds":1787317906,"priority":1,"record_length":96,"hex_timestamp":"000001a02472ea50"} 
[2026-08-21 18:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 18:42: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-08-21 18: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-08-21 18:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553383424001,"66":27745,"164":206,"84":6144,"24":19,"16":388547910104514560,"45":-6618532210862594048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,84,24,16,45]} 
[2026-08-21 18:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553383424001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:42:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 18:42:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388547910104514560,"km_value":388547910104514.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6618532210862594048,"description":"Unknown IO ID 45"} 
[2026-08-21 18:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553383424001,"power":27745,"unknown_164":206,"unknown_84":6144,"ignition":19,"odometer":null,"unknown_45":-6618532210862594048}} 
[2026-08-21 18:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:42:33] local.INFO: GPS data processed {"connection_id":159246,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:42:33] local.INFO: Acknowledgment sent {"connection_id":159246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:42:38] local.INFO: TCP Data received {"connection_id":159531,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0246fe0f8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0246fe0f8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:42:38] local.INFO: Processing buffer {"connection_id":159531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0246fe0f8012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:42:38] local.INFO: Packet analysis {"connection_id":159531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:42:38] local.INFO: Extracted packet for processing {"connection_id":159531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0246f"} 
[2026-08-21 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553327616001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097220608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317707000,"timestamp_ms":1787317707000,"timestamp_seconds":1787317707,"priority":1,"record_length":96,"hex_timestamp":"000001a0246fe0f8"} 
[2026-08-21 18:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 18:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553327616001,"66":12689,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1737756168097220608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553327616001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:42:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:42:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097220608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553327616001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097220608}} 
[2026-08-21 18:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":159531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:42:38] local.INFO: GPS data processed {"connection_id":159531,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:42:38] local.INFO: Acknowledgment sent {"connection_id":159531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:42:55] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:55] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:55] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:42:57] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:42:57] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:42:57] local.INFO: IMEI packet received {"connection_id":159532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":159532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:42:58] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:58] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:58] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:42:59] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:59] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:42:59] local.INFO: IMEI packet received {"connection_id":161821,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":161821,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:43:00] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024734810012d824a4005d9cbb0000a009e28..."} 
[2026-08-21 18:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024734810012d824a4005d9cbb0000a009e28..."} 
[2026-08-21 18:43:00] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024734810012d824a4005d9cbb0000a009e28..."} 
[2026-08-21 18:43:00] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:00] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:00] local.INFO: GPS Element Parsed {"raw_longitude":763513408,"raw_latitude":98159536,"longitude_deg":76.3513408,"latitude_deg":9.8159536,"altitude":10,"angle":158,"satellites":40,"speed":6,"hex_longitude":"2d824a40","hex_latitude":"05d9cbb0","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553389824001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121876955518730240,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058427675373459456,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787317930000,"timestamp_ms":1787317930000,"timestamp_seconds":1787317930,"priority":1,"record_length":96,"hex_timestamp":"000001a024734810"} 
[2026-08-21 18:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18: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-08-21 18: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":12,"data_length":795,"current_offset":136} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624446,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185789445,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6136717502375264266,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3441426442,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634273972922181,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":8791252590928121429,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4267704320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3653816320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5350282790219808779,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755459570729201,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,69,85,24,241,157,16,254,160,60,45,204,10,40,66,249,192,214,1,240,35,227,36,217,4,113,205,2,152,72,112,42,239,51,176,5,11,8,130,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-08-21 18:43:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720725645759676416,"timestamp_seconds":720725645759676.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553389824001,"66":13580,"69":206,"85":15104,"24":6,"16":121876955518730240,"45":-9058427675373459456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553389824001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:00] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121876955518730240,"km_value":121876955518730.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058427675373459456,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553389824001,"power":13580,"unknown_69":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9058427675373459456}} 
[2026-08-21 18:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:00] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:00] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:43:01] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:43:01] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:43:01] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:43:02] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:43:02] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:43:02] local.INFO: IMEI packet received {"connection_id":159532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":159532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:43:03] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02472f220012da42180054d13f0000b015329..."} 
[2026-08-21 18:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02472f220012da42180054d13f0000b015329..."} 
[2026-08-21 18:43:03] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02472f220012da42180054d13f0000b015329..."} 
[2026-08-21 18:43:03] local.INFO: Packet analysis {"connection_id":159532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02472"} 
[2026-08-21 18:43:03] local.INFO: Extracted packet for processing {"connection_id":159532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02472"} 
[2026-08-21 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":765731200,"raw_latitude":88937456,"longitude_deg":76.57312,"latitude_deg":8.8937456,"altitude":11,"angle":339,"satellites":41,"speed":18,"hex_longitude":"2da42180","hex_latitude":"054d13f0","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553383936001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388547957349154816,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6619376635792551936,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787317908000,"timestamp_ms":1787317908000,"timestamp_seconds":1787317908,"priority":1,"record_length":96,"hex_timestamp":"000001a02472f220"} 
[2026-08-21 18:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:43: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-08-21 18: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-08-21 18:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553383936001,"66":27213,"164":206,"84":6144,"24":18,"16":388547957349154816,"45":-6619376635792551936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,84,24,16,45]} 
[2026-08-21 18:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553383936001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:03] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-08-21 18:43:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388547957349154816,"km_value":388547957349154.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6619376635792551936,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553383936001,"power":27213,"unknown_164":206,"unknown_84":6144,"ignition":18,"odometer":null,"unknown_45":-6619376635792551936}} 
[2026-08-21 18:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":159532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:03] local.INFO: GPS data processed {"connection_id":159532,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:03] local.INFO: Acknowledgment sent {"connection_id":159532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:43:04] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024737ec0012d82508005d9b5a0000b008c2a..."} 
[2026-08-21 18:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024737ec0012d82508005d9b5a0000b008c2a..."} 
[2026-08-21 18:43:04] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024737ec0012d82508005d9b5a0000b008c2a..."} 
[2026-08-21 18:43:04] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:04] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:04] local.INFO: GPS Element Parsed {"raw_longitude":763515008,"raw_latitude":98153888,"longitude_deg":76.3515008,"latitude_deg":9.8153888,"altitude":11,"angle":140,"satellites":42,"speed":9,"hex_longitude":"2d825080","hex_latitude":"05d9b5a0","is_valid_coordinates":true} 
[2026-08-21 18:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553390080001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121877243281539072,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058357306629312512,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787317944000,"timestamp_ms":1787317944000,"timestamp_seconds":1787317944,"priority":1,"record_length":96,"hex_timestamp":"000001a024737ec0"} 
[2026-08-21 18:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:43: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-08-21 18: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751624446,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185805829,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5272026348150325258,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4179114335898907051,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3446669322,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18633994800047941,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":206,"raw_value":4160826754,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2147867085,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4268032000,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3653988352,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":130,"raw_value":5278225196213338123,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:04] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,69,85,24,241,157,16,254,160,68,45,204,10,40,66,60,249,192,1,240,51,227,36,217,4,113,205,2,206,72,32,41,239,52,176,5,11,6,130,59],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-08-21 18:43:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720749835015553024,"timestamp_seconds":720749835015553.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553390080001,"66":13341,"69":206,"85":15104,"24":9,"16":121877243281539072,"45":-9058357306629312512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553390080001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:04] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:43:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121877243281539072,"km_value":121877243281539.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058357306629312512,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553390080001,"power":13341,"unknown_69":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":-9058357306629312512}} 
[2026-08-21 18:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:04] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:04] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:43:06] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:43:06] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:43:06] local.INFO: IMEI packet received {"connection_id":160431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":160431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:43:07] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024703300012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024703300012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:43:07] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024703300012d181dc00721adc8004f014c2a..."} 
[2026-08-21 18:43:07] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02470"} 
[2026-08-21 18:43:07] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02470"} 
[2026-08-21 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647688,"longitude_deg":75.65552,"latitude_deg":11.9647688,"altitude":79,"angle":332,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721adc8","is_valid_coordinates":true} 
[2026-08-21 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553332992001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291482202603520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097220608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317728000,"timestamp_ms":1787317728000,"timestamp_seconds":1787317728,"priority":1,"record_length":96,"hex_timestamp":"000001a024703300"} 
[2026-08-21 18:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 18:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553332992001,"66":12689,"105":206,"83":41984,"24":0,"16":14291482202603520,"45":1737756168097220608},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553332992001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291482202603520,"km_value":14291482202603.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097220608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553332992001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097220608}} 
[2026-08-21 18:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:07] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:07] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:43:34] local.INFO: TCP Data received {"connection_id":159532,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02473ec20012da37e00054d4a08000c013029..."} 
[2026-08-21 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473ec20012da37e00054d4a08000c013029..."} 
[2026-08-21 18:43:34] local.INFO: Processing buffer {"connection_id":159532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473ec20012da37e00054d4a08000c013029..."} 
[2026-08-21 18:43:34] local.INFO: Packet analysis {"connection_id":159532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:34] local.INFO: Extracted packet for processing {"connection_id":159532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":765689344,"raw_latitude":88951304,"longitude_deg":76.5689344,"latitude_deg":8.8951304,"altitude":12,"angle":304,"satellites":41,"speed":22,"hex_longitude":"2da37e00","hex_latitude":"054d4a08","is_valid_coordinates":true} 
[2026-08-21 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553400320001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388550431250317312,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6664694107039313920,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787317972000,"timestamp_ms":1787317972000,"timestamp_seconds":1787317972,"priority":1,"record_length":96,"hex_timestamp":"000001a02473ec20"} 
[2026-08-21 18:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:43: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-08-21 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 18:43:34] 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-08-21 18:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553400320001,"66":27658,"166":206,"84":6144,"24":22,"16":388550431250317312,"45":-6664694107039313920},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553400320001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388550431250317312,"km_value":388550431250317.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6664694107039313920,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553400320001,"power":27658,"unknown_166":206,"unknown_84":6144,"ignition":22,"odometer":null,"unknown_45":-6664694107039313920}} 
[2026-08-21 18:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":159532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:34] local.INFO: GPS data processed {"connection_id":159532,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:34] local.INFO: Acknowledgment sent {"connection_id":159532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:43:34] local.INFO: TCP Data received {"connection_id":161821,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02473d0c8012d82518005d9b320000b008a29..."} 
[2026-08-21 18:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473d0c8012d82518005d9b320000b008a29..."} 
[2026-08-21 18:43:34] local.INFO: Processing buffer {"connection_id":161821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473d0c8012d82518005d9b320000b008a29..."} 
[2026-08-21 18:43:34] local.INFO: Packet analysis {"connection_id":161821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:34] local.INFO: Extracted packet for processing {"connection_id":161821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763515264,"raw_latitude":98153248,"longitude_deg":76.3515264,"latitude_deg":9.8153248,"altitude":11,"angle":138,"satellites":41,"speed":0,"hex_longitude":"2d825180","hex_latitude":"05d9b320","is_valid_coordinates":true} 
[2026-08-21 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553393664001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121877277641277440,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056598088026316800,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787317965000,"timestamp_ms":1787317965000,"timestamp_seconds":1787317965,"priority":1,"record_length":96,"hex_timestamp":"000001a02473d0c8"} 
[2026-08-21 18:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 18:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161821,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553393664001,"66":13319,"69":206,"85":15104,"24":0,"16":121877277641277440,"45":-9056598088026316800},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553393664001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121877277641277440,"km_value":121877277641277.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056598088026316800,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553393664001,"power":13319,"unknown_69":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-9056598088026316800}} 
[2026-08-21 18:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":161821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:34] local.INFO: GPS data processed {"connection_id":161821,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:34] local.INFO: Acknowledgment sent {"connection_id":161821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:43:38] local.INFO: TCP Data received {"connection_id":160431,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02473b188012d181cc00721ab18004d00a12a..."} 
[2026-08-21 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473b188012d181cc00721ab18004d00a12a..."} 
[2026-08-21 18:43:38] local.INFO: Processing buffer {"connection_id":160431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473b188012d181cc00721ab18004d00a12a..."} 
[2026-08-21 18:43:38] local.INFO: Packet analysis {"connection_id":160431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:38] local.INFO: Extracted packet for processing {"connection_id":160431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647000,"longitude_deg":75.6554944,"latitude_deg":11.9647,"altitude":77,"angle":161,"satellites":42,"speed":0,"hex_longitude":"2d181cc0","hex_latitude":"0721ab18","is_valid_coordinates":true} 
[2026-08-21 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553396224001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291520857309184,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376188928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317957000,"timestamp_ms":1787317957000,"timestamp_seconds":1787317957,"priority":1,"record_length":96,"hex_timestamp":"000001a02473b188"} 
[2026-08-21 18:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 18:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553396224001,"66":13928,"105":206,"83":41984,"24":0,"16":14291520857309184,"45":1737404324376188928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553396224001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291520857309184,"km_value":14291520857309.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376188928,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553396224001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737404324376188928}} 
[2026-08-21 18:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":160431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:38] local.INFO: GPS data processed {"connection_id":160431,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:38] local.INFO: Acknowledgment sent {"connection_id":160431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:43:53] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:43:53] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:43:53] local.INFO: IMEI packet received {"connection_id":159247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":159247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:43:57] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:43:57] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:43:57] local.INFO: IMEI packet received {"connection_id":159533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":159533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:43:58] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:43:58] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:43:58] local.INFO: IMEI packet received {"connection_id":159247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":159247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:43:59] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02473e068012d8251c005d9b2f0000b00ae29..."} 
[2026-08-21 18:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473e068012d8251c005d9b2f0000b00ae29..."} 
[2026-08-21 18:43:59] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473e068012d8251c005d9b2f0000b00ae29..."} 
[2026-08-21 18:43:59] local.INFO: Packet analysis {"connection_id":159247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:59] local.INFO: Extracted packet for processing {"connection_id":159247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763515328,"raw_latitude":98153200,"longitude_deg":76.3515328,"latitude_deg":9.81532,"altitude":11,"angle":174,"satellites":41,"speed":2,"hex_longitude":"2d8251c0","hex_latitude":"05d9b2f0","is_valid_coordinates":true} 
[2026-08-21 18:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553399040001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121877281936244736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056316613049769984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787317969000,"timestamp_ms":1787317969000,"timestamp_seconds":1787317969,"priority":1,"record_length":96,"hex_timestamp":"000001a02473e068"} 
[2026-08-21 18:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:43: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-08-21 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185822213,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3221608908,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":45056,"corrected_to":0} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-3665930053727213312,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":249,"raw_value":4026609026,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4268359680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3654119424,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":35,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-3533072612701208571,"note":"Value kept but may cause issues"} 
[2026-08-21 18:43:59] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,69,85,24,241,157,16,254,160,126,45,128,181,11,42,10,66,72,64,203,40,68,1,240,12,227,36,217,4,113,205,249,232,239,52,2,176,5,35,114],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":203,"original":45056,"validated":0},{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-08-21 18:43:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792785443115499520,"timestamp_seconds":792785443115499.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553399040001,"66":13472,"69":206,"85":15104,"24":2,"16":121877281936244736,"45":-9056316613049769984},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553399040001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:43:59] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121877281936244736,"km_value":121877281936244.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056316613049769984,"description":"Unknown IO ID 45"} 
[2026-08-21 18:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553399040001,"power":13472,"unknown_69":206,"unknown_85":15104,"ignition":2,"odometer":null,"unknown_45":-9056316613049769984}} 
[2026-08-21 18:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":159247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677238,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:43:59] local.INFO: GPS data processed {"connection_id":159247,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:43:59] local.INFO: Acknowledgment sent {"connection_id":159247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:44:02] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:02] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:02] local.INFO: IMEI packet received {"connection_id":159533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":159533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:44:04] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02473f008012da37c80054d4b68000c013e29..."} 
[2026-08-21 18:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473f008012da37c80054d4b68000c013e29..."} 
[2026-08-21 18:44:04] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473f008012da37c80054d4b68000c013e29..."} 
[2026-08-21 18:44:04] local.INFO: Packet analysis {"connection_id":159533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:04] local.INFO: Extracted packet for processing {"connection_id":159533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:04] local.INFO: GPS Element Parsed {"raw_longitude":765688960,"raw_latitude":88951656,"longitude_deg":76.568896,"latitude_deg":8.8951656,"altitude":12,"angle":318,"satellites":41,"speed":21,"hex_longitude":"2da37c80","hex_latitude":"054d4b68","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553400832001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388550457020121088,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6665890375690221568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787317973000,"timestamp_ms":1787317973000,"timestamp_seconds":1787317973,"priority":1,"record_length":96,"hex_timestamp":"000001a02473f008"} 
[2026-08-21 18:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18: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-08-21 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 18:44:04] 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-08-21 18: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-08-21 18:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553400832001,"66":27658,"166":206,"84":6144,"24":21,"16":388550457020121088,"45":-6665890375690221568},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-08-21 18:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553400832001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:44:04] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 18:44:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388550457020121088,"km_value":388550457020121.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6665890375690221568,"description":"Unknown IO ID 45"} 
[2026-08-21 18:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553400832001,"power":27658,"unknown_166":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6665890375690221568}} 
[2026-08-21 18:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":159533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:44:04] local.INFO: GPS data processed {"connection_id":159533,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:44:04] local.INFO: Acknowledgment sent {"connection_id":159533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:44:06] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:44:06] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:44:06] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:44:11] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:44:11] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:44:11] local.INFO: IMEI packet received {"connection_id":161822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":161822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:44:14] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02473c128012d181d000721aa10004d009128..."} 
[2026-08-21 18:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473c128012d181d000721aa10004d009128..."} 
[2026-08-21 18:44:14] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473c128012d181d000721aa10004d009128..."} 
[2026-08-21 18:44:14] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:14] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:14] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646736,"longitude_deg":75.6555008,"latitude_deg":11.9646736,"altitude":77,"angle":145,"satellites":40,"speed":3,"hex_longitude":"2d181d00","hex_latitude":"0721aa10","is_valid_coordinates":true} 
[2026-08-21 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553396992001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291538037178368,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120333824,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44: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-08-21 18:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787317961000,"timestamp_ms":1787317961000,"timestamp_seconds":1787317961,"priority":1,"record_length":96,"hex_timestamp":"000001a02473c128"} 
[2026-08-21 18:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:44: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-08-21 18:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 18:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553396992001,"66":13048,"105":206,"83":41984,"24":3,"16":14291538037178368,"45":1737474693120333824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553396992001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:44:14] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:44:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291538037178368,"km_value":14291538037178.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120333824,"description":"Unknown IO ID 45"} 
[2026-08-21 18:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553396992001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737474693120333824}} 
[2026-08-21 18:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:44:14] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:44:14] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:44:17] local.INFO: TCP Data received {"connection_id":161822,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02473cce0012d181ec00721a870004d008528..."} 
[2026-08-21 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473cce0012d181ec00721a870004d008528..."} 
[2026-08-21 18:44:17] local.INFO: Processing buffer {"connection_id":161822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473cce0012d181ec00721a870004d008528..."} 
[2026-08-21 18:44:17] local.INFO: Packet analysis {"connection_id":161822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:17] local.INFO: Extracted packet for processing {"connection_id":161822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119646320,"longitude_deg":75.6555456,"latitude_deg":11.964632,"altitude":77,"angle":133,"satellites":40,"speed":11,"hex_longitude":"2d181ec0","hex_latitude":"0721a870","is_valid_coordinates":true} 
[2026-08-21 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553398016001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291568101949440,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864443904,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787317964000,"timestamp_ms":1787317964000,"timestamp_seconds":1787317964,"priority":1,"record_length":96,"hex_timestamp":"000001a02473cce0"} 
[2026-08-21 18:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 18:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553398016001,"66":12993,"105":206,"83":41984,"24":11,"16":14291568101949440,"45":1737545061864443904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553398016001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291568101949440,"km_value":14291568101949.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864443904,"description":"Unknown IO ID 45"} 
[2026-08-21 18:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553398016001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737545061864443904}} 
[2026-08-21 18:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":161822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:44:17] local.INFO: GPS data processed {"connection_id":161822,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:44:17] local.INFO: Acknowledgment sent {"connection_id":161822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:44:30] local.INFO: TCP Data received {"connection_id":159247,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02473f3f0012d82524005d9b0d0000b00a129..."} 
[2026-08-21 18:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473f3f0012d82524005d9b0d0000b00a129..."} 
[2026-08-21 18:44:30] local.INFO: Processing buffer {"connection_id":159247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473f3f0012d82524005d9b0d0000b00a129..."} 
[2026-08-21 18:44:30] local.INFO: Packet analysis {"connection_id":159247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:30] local.INFO: Extracted packet for processing {"connection_id":159247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:30] local.INFO: GPS Element Parsed {"raw_longitude":763515456,"raw_latitude":98152656,"longitude_deg":76.3515456,"latitude_deg":9.8152656,"altitude":11,"angle":161,"satellites":41,"speed":7,"hex_longitude":"2d825240","hex_latitude":"05d9b0d0","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553400064001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121877312001015808,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056246244305604608,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787317974000,"timestamp_ms":1787317974000,"timestamp_seconds":1787317974,"priority":1,"record_length":96,"hex_timestamp":"000001a02473f3f0"} 
[2026-08-21 18:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:44: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-08-21 18: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-08-21 18:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159247,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553400064001,"66":13330,"69":206,"85":15104,"24":7,"16":121877312001015808,"45":-9056246244305604608},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553400064001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:44:30] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121877312001015808,"km_value":121877312001015.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056246244305604608,"description":"Unknown IO ID 45"} 
[2026-08-21 18:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553400064001,"power":13330,"unknown_69":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9056246244305604608}} 
[2026-08-21 18:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":159247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:44:30] local.INFO: GPS data processed {"connection_id":159247,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:44:30] local.INFO: Acknowledgment sent {"connection_id":159247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:44:35] local.INFO: TCP Data received {"connection_id":159533,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02473f3f0012da37b80054d4d10000c014a29..."} 
[2026-08-21 18:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473f3f0012da37b80054d4d10000c014a29..."} 
[2026-08-21 18:44:35] local.INFO: Processing buffer {"connection_id":159533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473f3f0012da37b80054d4d10000c014a29..."} 
[2026-08-21 18:44:35] local.INFO: Packet analysis {"connection_id":159533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:35] local.INFO: Extracted packet for processing {"connection_id":159533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:44:35] local.INFO: GPS Element Parsed {"raw_longitude":765688704,"raw_latitude":88952080,"longitude_deg":76.5688704,"latitude_deg":8.895208,"altitude":12,"angle":330,"satellites":41,"speed":21,"hex_longitude":"2da37b80","hex_latitude":"054d4d10","is_valid_coordinates":true} 
[2026-08-21 18:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553401088001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388550482789924864,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6666312588155197440,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787317974000,"timestamp_ms":1787317974000,"timestamp_seconds":1787317974,"priority":1,"record_length":96,"hex_timestamp":"000001a02473f3f0"} 
[2026-08-21 18:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 18:44:35] 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-08-21 18:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553401088001,"66":27767,"166":206,"84":6144,"24":21,"16":388550482789924864,"45":-6666312588155197440},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-08-21 18:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553401088001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:44:35] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 18:44:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388550482789924864,"km_value":388550482789924.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6666312588155197440,"description":"Unknown IO ID 45"} 
[2026-08-21 18:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553401088001,"power":27767,"unknown_166":206,"unknown_84":6144,"ignition":21,"odometer":null,"unknown_45":-6666312588155197440}} 
[2026-08-21 18:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":159533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:44:35] local.INFO: GPS data processed {"connection_id":159533,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:44:35] local.INFO: Acknowledgment sent {"connection_id":159533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:44:53] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:53] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:53] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:44:56] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:56] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:56] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:44:57] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:57] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:57] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:44:58] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:58] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:44:58] local.INFO: IMEI packet received {"connection_id":160432,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":160432,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:44:59] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024740390012d82534005d9ae88000b00a72a..."} 
[2026-08-21 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024740390012d82534005d9ae88000b00a72a..."} 
[2026-08-21 18:44:59] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024740390012d82534005d9ae88000b00a72a..."} 
[2026-08-21 18:44:59] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:44:59] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763515712,"raw_latitude":98152072,"longitude_deg":76.3515712,"latitude_deg":9.8152072,"altitude":11,"angle":167,"satellites":42,"speed":4,"hex_longitude":"2d825340","hex_latitude":"05d9ae88","is_valid_coordinates":true} 
[2026-08-21 18:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553401344001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121877333475852288,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9056105506817388544,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787317978000,"timestamp_ms":1787317978000,"timestamp_seconds":1787317978,"priority":1,"record_length":96,"hex_timestamp":"000001a024740390"} 
[2026-08-21 18:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:44: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-08-21 18:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3036676096,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2185904133,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279263468248223088,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-3681692652412524544,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4268818432,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3654068224,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-436847868883976187,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":167,"raw_value":4972200854074431488,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 18:44:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,69,85,24,241,157,16,254,160,224,45,192,178,11,41,10,66,208,128,179,126,1,240,29,227,36,217,4,113,205,6,68,74,40,239,53,2,176,5,7,114,167,89],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-08-21 18:44:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792810731883397120,"timestamp_seconds":792810731883397.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553401344001,"66":13341,"69":206,"85":15104,"24":4,"16":121877333475852288,"45":-9056105506817388544},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553401344001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121877333475852288,"km_value":121877333475852.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9056105506817388544,"description":"Unknown IO ID 45"} 
[2026-08-21 18:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553401344001,"power":13341,"unknown_69":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":-9056105506817388544}} 
[2026-08-21 18:44:59] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:59] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:44:59] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677244,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:44:59] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:44:59] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:45:01] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:01] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:01] local.INFO: IMEI packet received {"connection_id":159534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":159534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:45:02] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:45:02] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:45:02] local.INFO: IMEI packet received {"connection_id":161823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":161823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:45:03] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a02473fbc0012da37a00054d5138000b01592c..."} 
[2026-08-21 18:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02473fbc0012da37a00054d5138000b01592c..."} 
[2026-08-21 18:45:03] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02473fbc0012da37a00054d5138000b01592c..."} 
[2026-08-21 18:45:03] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:45:03] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02473"} 
[2026-08-21 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":765688320,"raw_latitude":88953144,"longitude_deg":76.568832,"latitude_deg":8.8953144,"altitude":11,"angle":345,"satellites":44,"speed":24,"hex_longitude":"2da37a00","hex_latitude":"054d5138","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553401344001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388550534329532416,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6666594063131799552,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787317976000,"timestamp_ms":1787317976000,"timestamp_seconds":1787317976,"priority":1,"record_length":96,"hex_timestamp":"000001a02473fbc0"} 
[2026-08-21 18:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553401344001,"66":27745,"166":206,"84":6144,"24":24,"16":388550534329532416,"45":-6666594063131799552},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-08-21 18:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553401344001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:45:03] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 18:45:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388550534329532416,"km_value":388550534329532.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6666594063131799552,"description":"Unknown IO ID 45"} 
[2026-08-21 18:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553401344001,"power":27745,"unknown_166":206,"unknown_84":6144,"ignition":24,"odometer":null,"unknown_45":-6666594063131799552}} 
[2026-08-21 18:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:45:03] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:45:03] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:45:06] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:06] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:06] local.INFO: IMEI packet received {"connection_id":159534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":159534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:45:07] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024741ee8012d18278007219f58004f008428..."} 
[2026-08-21 18:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024741ee8012d18278007219f58004f008428..."} 
[2026-08-21 18:45:07] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024741ee8012d18278007219f58004f008428..."} 
[2026-08-21 18:45:07] local.INFO: Packet analysis {"connection_id":159534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:45:07] local.INFO: Extracted packet for processing {"connection_id":159534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119643992,"longitude_deg":75.6557696,"latitude_deg":11.9643992,"altitude":79,"angle":132,"satellites":40,"speed":0,"hex_longitude":"2d182780","hex_latitude":"07219f58","is_valid_coordinates":true} 
[2026-08-21 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553398784001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291722720772096,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073581056,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787317985000,"timestamp_ms":1787317985000,"timestamp_seconds":1787317985,"priority":1,"record_length":96,"hex_timestamp":"000001a024741ee8"} 
[2026-08-21 18:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 18:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553398784001,"66":12776,"105":206,"83":41984,"24":0,"16":14291722720772096,"45":1738037643073581056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553398784001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:45:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291722720772096,"km_value":14291722720772.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073581056,"description":"Unknown IO ID 45"} 
[2026-08-21 18:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553398784001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643073581056}} 
[2026-08-21 18:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":159534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:45:07] local.INFO: GPS data processed {"connection_id":159534,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:45:07] local.INFO: Acknowledgment sent {"connection_id":159534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:45:30] local.INFO: TCP Data received {"connection_id":160432,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02475fb78012d82630005d96300000800a128..."} 
[2026-08-21 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02475fb78012d82630005d96300000800a128..."} 
[2026-08-21 18:45:30] local.INFO: Processing buffer {"connection_id":160432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02475fb78012d82630005d96300000800a128..."} 
[2026-08-21 18:45:30] local.INFO: Packet analysis {"connection_id":160432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:45:30] local.INFO: Extracted packet for processing {"connection_id":160432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:45:30] local.INFO: GPS Element Parsed {"raw_longitude":763519744,"raw_latitude":98132736,"longitude_deg":76.3519744,"latitude_deg":9.8132736,"altitude":8,"angle":161,"satellites":40,"speed":32,"hex_longitude":"2d826300","hex_latitude":"05d96300","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553432064001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121878282663624704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9053712969518102528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318107000,"timestamp_ms":1787318107000,"timestamp_seconds":1787318107,"priority":1,"record_length":96,"hex_timestamp":"000001a02475fb78"} 
[2026-08-21 18:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 18:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160432,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553432064001,"66":13319,"69":206,"85":15104,"24":32,"16":121878282663624704,"45":-9053712969518102528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553432064001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:45:30] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121878282663624704,"km_value":121878282663624.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9053712969518102528,"description":"Unknown IO ID 45"} 
[2026-08-21 18:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553432064001,"power":13319,"unknown_69":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9053712969518102528}} 
[2026-08-21 18:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":160432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:45:30] local.INFO: GPS data processed {"connection_id":160432,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:45:30] local.INFO: Acknowledgment sent {"connection_id":160432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:45:34] local.INFO: TCP Data received {"connection_id":161823,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024743270012da37240054d7088000d014c2b..."} 
[2026-08-21 18:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024743270012da37240054d7088000d014c2b..."} 
[2026-08-21 18:45:34] local.INFO: Processing buffer {"connection_id":161823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024743270012da37240054d7088000d014c2b..."} 
[2026-08-21 18:45:34] local.INFO: Packet analysis {"connection_id":161823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:45:34] local.INFO: Extracted packet for processing {"connection_id":161823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:45:34] local.INFO: GPS Element Parsed {"raw_longitude":765686336,"raw_latitude":88961160,"longitude_deg":76.5686336,"latitude_deg":8.896116,"altitude":13,"angle":332,"satellites":43,"speed":10,"hex_longitude":"2da37240","hex_latitude":"054d7088","is_valid_coordinates":true} 
[2026-08-21 18:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553401856001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388550938056458240,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6667016275596593152,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787317990000,"timestamp_ms":1787317990000,"timestamp_seconds":1787317990,"priority":1,"record_length":96,"hex_timestamp":"000001a024743270"} 
[2026-08-21 18:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:45: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-08-21 18:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:45:34] 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-08-21 18:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553401856001,"66":27745,"166":206,"84":6144,"24":10,"16":388550938056458240,"45":-6667016275596593152},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,84,24,16,45]} 
[2026-08-21 18:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553401856001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:45:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 18:45:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388550938056458240,"km_value":388550938056458.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6667016275596593152,"description":"Unknown IO ID 45"} 
[2026-08-21 18:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553401856001,"power":27745,"unknown_166":206,"unknown_84":6144,"ignition":10,"odometer":null,"unknown_45":-6667016275596593152}} 
[2026-08-21 18:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":161823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:45:34] local.INFO: GPS data processed {"connection_id":161823,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:45:34] local.INFO: Acknowledgment sent {"connection_id":161823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:45:38] local.INFO: TCP Data received {"connection_id":159534,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024743658012d1829c007219e18004f007726..."} 
[2026-08-21 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024743658012d1829c007219e18004f007726..."} 
[2026-08-21 18:45:38] local.INFO: Processing buffer {"connection_id":159534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024743658012d1829c007219e18004f007726..."} 
[2026-08-21 18:45:38] local.INFO: Packet analysis {"connection_id":159534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:45:38] local.INFO: Extracted packet for processing {"connection_id":159534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643672,"longitude_deg":75.6558272,"latitude_deg":11.9643672,"altitude":79,"angle":119,"satellites":38,"speed":3,"hex_longitude":"2d1829c0","hex_latitude":"07219e18","is_valid_coordinates":true} 
[2026-08-21 18:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553404160001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291757080510464,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549119203328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787317991000,"timestamp_ms":1787317991000,"timestamp_seconds":1787317991,"priority":1,"record_length":96,"hex_timestamp":"000001a024743658"} 
[2026-08-21 18:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-08-21 18:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553404160001,"66":12711,"105":206,"83":41984,"24":3,"16":14291757080510464,"45":1740500549119203328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553404160001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291757080510464,"km_value":14291757080510.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549119203328,"description":"Unknown IO ID 45"} 
[2026-08-21 18:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553404160001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1740500549119203328}} 
[2026-08-21 18:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":159534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:45:38] local.INFO: GPS data processed {"connection_id":159534,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:45:38] local.INFO: Acknowledgment sent {"connection_id":159534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:45:53] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:45:53] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:45:53] local.INFO: IMEI packet received {"connection_id":160433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":160433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:45:58] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:58] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:45:58] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:45:58] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:45:58] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:45:58] local.INFO: IMEI packet received {"connection_id":160433,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":160433,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:45:59] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024762288012d826f0005d942480008009f28..."} 
[2026-08-21 18:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024762288012d826f0005d942480008009f28..."} 
[2026-08-21 18:45:59] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024762288012d826f0005d942480008009f28..."} 
[2026-08-21 18:45:59] local.INFO: Packet analysis {"connection_id":160433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:45:59] local.INFO: Extracted packet for processing {"connection_id":160433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763522816,"raw_latitude":98124360,"longitude_deg":76.3522816,"latitude_deg":9.812436,"altitude":8,"angle":159,"satellites":40,"speed":37,"hex_longitude":"2d826f00","hex_latitude":"05d94248","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121878716455321600,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051390800962584576,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318117000,"timestamp_ms":1787318117000,"timestamp_seconds":1787318117,"priority":1,"record_length":96,"hex_timestamp":"000001a024762288"} 
[2026-08-21 18:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:45: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-08-21 18:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":45057,"corrected_to":0} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186510341,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":254,"raw_value":3472883712,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788847,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-5922233462736738304,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2147867053,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2818624935,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4274651136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3652046848,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":168,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3202060630032089093,"note":"Value kept but may cause issues"} 
[2026-08-21 18:45:59] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,69,85,24,241,157,16,255,160,200,45,192,134,11,41,10,66,138,128,170,42,254,130,64,1,240,221,227,36,217,4,113,205,48,83,208,40,239,47,2,176,5,168,117],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":200,"original":45057,"validated":0},{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-08-21 18:45:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576637945476284416,"timestamp_seconds":576637945476284.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553435392001,"66":13222,"69":206,"85":15104,"24":37,"16":121878716455321600,"45":-9051390800962584576},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:45:59] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121878716455321600,"km_value":121878716455321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051390800962584576,"description":"Unknown IO ID 45"} 
[2026-08-21 18:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553435392001,"power":13222,"unknown_69":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9051390800962584576}} 
[2026-08-21 18:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":160433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:45:59] local.INFO: GPS data processed {"connection_id":160433,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:45:59] local.INFO: Acknowledgment sent {"connection_id":160433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:46:01] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:46:01] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:46:01] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:46:04] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:46:04] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:46:04] local.INFO: IMEI packet received {"connection_id":160434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":160434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:46:05] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024744210012d1829c007219dc8004f008a27..."} 
[2026-08-21 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024744210012d1829c007219dc8004f008a27..."} 
[2026-08-21 18:46:05] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024744210012d1829c007219dc8004f008a27..."} 
[2026-08-21 18:46:05] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:46:05] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02474"} 
[2026-08-21 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643592,"longitude_deg":75.6558272,"latitude_deg":11.9643592,"altitude":79,"angle":138,"satellites":39,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219dc8","is_valid_coordinates":true} 
[2026-08-21 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553405696001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14291761375477760,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816720384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787317994000,"timestamp_ms":1787317994000,"timestamp_seconds":1787317994,"priority":1,"record_length":96,"hex_timestamp":"000001a024744210"} 
[2026-08-21 18:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-08-21 18:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553405696001,"66":12689,"105":206,"83":41984,"24":0,"16":14291761375477760,"45":1741133867816720384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553405696001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:46:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:46:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14291761375477760,"km_value":14291761375477.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816720384,"description":"Unknown IO ID 45"} 
[2026-08-21 18:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553405696001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741133867816720384}} 
[2026-08-21 18:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:46:05] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:46:05] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:46:12] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:12] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:12] local.INFO: IMEI packet received {"connection_id":159248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":159248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:46:17] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:17] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:17] local.INFO: IMEI packet received {"connection_id":159248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":159248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:46:18] local.INFO: TCP Data received {"connection_id":159248,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02475b910012da322c0054d9ea80012014427..."} 
[2026-08-21 18:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02475b910012da322c0054d9ea80012014427..."} 
[2026-08-21 18:46:18] local.INFO: Processing buffer {"connection_id":159248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02475b910012da322c0054d9ea80012014427..."} 
[2026-08-21 18:46:18] local.INFO: Packet analysis {"connection_id":159248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:46:18] local.INFO: Extracted packet for processing {"connection_id":159248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:46:18] local.INFO: GPS Element Parsed {"raw_longitude":765665984,"raw_latitude":88972968,"longitude_deg":76.5665984,"latitude_deg":8.8972968,"altitude":18,"angle":324,"satellites":39,"speed":8,"hex_longitude":"2da322c0","hex_latitude":"054d9ea8","is_valid_coordinates":true} 
[2026-08-21 18:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553426688001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388552239431548928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6690589804891305984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787318090000,"timestamp_ms":1787318090000,"timestamp_seconds":1787318090,"priority":1,"record_length":96,"hex_timestamp":"000001a02475b910"} 
[2026-08-21 18:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553426688001,"66":27876,"182":206,"84":6144,"24":8,"16":388552239431548928,"45":-6690589804891305984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553426688001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:46:18] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:46:18] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388552239431548928,"km_value":388552239431548.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6690589804891305984,"description":"Unknown IO ID 45"} 
[2026-08-21 18:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553426688001,"power":27876,"unknown_182":206,"unknown_84":6144,"ignition":8,"odometer":null,"unknown_45":-6690589804891305984}} 
[2026-08-21 18:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":159248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:46:18] local.INFO: GPS data processed {"connection_id":159248,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:46:18] local.INFO: Acknowledgment sent {"connection_id":159248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:46:30] local.INFO: TCP Data received {"connection_id":160433,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024764d80012d827c4005d91ee8000800a328..."} 
[2026-08-21 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024764d80012d827c4005d91ee8000800a328..."} 
[2026-08-21 18:46:30] local.INFO: Processing buffer {"connection_id":160433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024764d80012d827c4005d91ee8000800a328..."} 
[2026-08-21 18:46:30] local.INFO: Packet analysis {"connection_id":160433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:46:30] local.INFO: Extracted packet for processing {"connection_id":160433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763526208,"raw_latitude":98115304,"longitude_deg":76.3526208,"latitude_deg":9.8115304,"altitude":8,"angle":163,"satellites":40,"speed":35,"hex_longitude":"2d827c40","hex_latitude":"05d91ee8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553437952001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121879184606756864,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9048013101244200960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318128000,"timestamp_ms":1787318128000,"timestamp_seconds":1787318128,"priority":1,"record_length":96,"hex_timestamp":"000001a024764d80"} 
[2026-08-21 18:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:46: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-08-21 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 18:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160433,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553437952001,"66":13341,"69":206,"85":15104,"24":35,"16":121879184606756864,"45":-9048013101244200960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553437952001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:46:30] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121879184606756864,"km_value":121879184606756.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9048013101244200960,"description":"Unknown IO ID 45"} 
[2026-08-21 18:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553437952001,"power":13341,"unknown_69":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9048013101244200960}} 
[2026-08-21 18:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":160433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:46:30] local.INFO: GPS data processed {"connection_id":160433,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:46:30] local.INFO: Acknowledgment sent {"connection_id":160433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:46:36] local.INFO: TCP Data received {"connection_id":160434,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024768c00012d186f40072181a0004f005528..."} 
[2026-08-21 18:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024768c00012d186f40072181a0004f005528..."} 
[2026-08-21 18:46:36] local.INFO: Processing buffer {"connection_id":160434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024768c00012d186f40072181a0004f005528..."} 
[2026-08-21 18:46:36] local.INFO: Packet analysis {"connection_id":160434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:46:36] local.INFO: Extracted packet for processing {"connection_id":160434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":756576064,"raw_latitude":119636384,"longitude_deg":75.6576064,"latitude_deg":11.9636384,"altitude":79,"angle":85,"satellites":40,"speed":28,"hex_longitude":"2d186f40","hex_latitude":"072181a0","is_valid_coordinates":true} 
[2026-08-21 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553444096001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14292689088413696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758303841394229248,"note":"Value kept but may cause issues"} 
[2026-08-21 18:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787318144000,"timestamp_ms":1787318144000,"timestamp_seconds":1787318144,"priority":1,"record_length":96,"hex_timestamp":"000001a024768c00"} 
[2026-08-21 18:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:46:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:46:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 18:46:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:46:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553444096001,"66":13961,"105":206,"83":41984,"24":28,"16":14292689088413696,"45":1758303841394229248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553444096001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14292689088413696,"km_value":14292689088413.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758303841394229248,"description":"Unknown IO ID 45"} 
[2026-08-21 18:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553444096001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1758303841394229248}} 
[2026-08-21 18:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":160434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:46:36] local.INFO: GPS data processed {"connection_id":160434,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:46:36] local.INFO: Acknowledgment sent {"connection_id":160434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:46:53] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:46:53] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:46:53] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:46:57] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:57] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:46:57] local.INFO: IMEI packet received {"connection_id":159535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":159535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:46:59] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:46:59] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:46:59] local.INFO: IMEI packet received {"connection_id":161824,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":161824,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:47:00] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024767490012d82824005d8ff48000800ae28..."} 
[2026-08-21 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024767490012d82824005d8ff48000800ae28..."} 
[2026-08-21 18:47:00] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024767490012d82824005d8ff48000800ae28..."} 
[2026-08-21 18:47:00] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:00] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:00] local.INFO: GPS Element Parsed {"raw_longitude":763527744,"raw_latitude":98107208,"longitude_deg":76.3527744,"latitude_deg":9.8107208,"altitude":8,"angle":174,"satellites":40,"speed":27,"hex_longitude":"2d828240","hex_latitude":"05d8ff48","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553440768001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121879584038715392,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044283557805103104,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787318138000,"timestamp_ms":1787318138000,"timestamp_seconds":1787318138,"priority":1,"record_length":96,"hex_timestamp":"000001a024767490"} 
[2026-08-21 18:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:47: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-08-21 18:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-08-21 18:47: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-08-21 18: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-08-21 18:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553440768001,"66":13189,"69":206,"85":15104,"24":27,"16":121879584038715392,"45":-9044283557805103104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-08-21 18:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553440768001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:47:00] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-08-21 18:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121879584038715392,"km_value":121879584038715.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044283557805103104,"description":"Unknown IO ID 45"} 
[2026-08-21 18:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553440768001,"power":13189,"unknown_69":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9044283557805103104}} 
[2026-08-21 18:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:47:00] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:47:00] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:47:01] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:47:01] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:47:01] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:47:02] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:47:02] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:47:02] local.INFO: IMEI packet received {"connection_id":159535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":159535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:47:03] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02475d080012da32140054da1280012015028..."} 
[2026-08-21 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02475d080012da32140054da1280012015028..."} 
[2026-08-21 18:47:03] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02475d080012da32140054da1280012015028..."} 
[2026-08-21 18:47:03] local.INFO: Packet analysis {"connection_id":159535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:47:03] local.INFO: Extracted packet for processing {"connection_id":159535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":765665600,"raw_latitude":88973608,"longitude_deg":76.56656,"latitude_deg":8.8973608,"altitude":18,"angle":336,"satellites":40,"speed":3,"hex_longitude":"2da32140","hex_latitude":"054da128","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553431040001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388552278086254592,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6691574967309522944,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318096000,"timestamp_ms":1787318096000,"timestamp_seconds":1787318096,"priority":1,"record_length":96,"hex_timestamp":"000001a02475d080"} 
[2026-08-21 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-08-21 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 18:47:03] 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-08-21 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-08-21 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-08-21 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553431040001,"66":27789,"182":206,"84":6144,"24":3,"16":388552278086254592,"45":-6691574967309522944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553431040001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:47:03] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:47:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388552278086254592,"km_value":388552278086254.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6691574967309522944,"description":"Unknown IO ID 45"} 
[2026-08-21 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553431040001,"power":27789,"unknown_182":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6691574967309522944}} 
[2026-08-21 18:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":159535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:47:03] local.INFO: GPS data processed {"connection_id":159535,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:47:03] local.INFO: Acknowledgment sent {"connection_id":159535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:47:06] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:47:06] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:47:06] local.INFO: IMEI packet received {"connection_id":161825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":161825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:47:06] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02476ab40012d18830007218208004e006227..."} 
[2026-08-21 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02476ab40012d18830007218208004e006227..."} 
[2026-08-21 18:47:06] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02476ab40012d18830007218208004e006227..."} 
[2026-08-21 18:47:06] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:06] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756581120,"raw_latitude":119636488,"longitude_deg":75.658112,"latitude_deg":11.9636488,"altitude":78,"angle":98,"satellites":39,"speed":30,"hex_longitude":"2d188300","hex_latitude":"07218208","is_valid_coordinates":true} 
[2026-08-21 18:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553444864001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14292929606582272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760696378696245248,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787318152000,"timestamp_ms":1787318152000,"timestamp_seconds":1787318152,"priority":1,"record_length":96,"hex_timestamp":"000001a02476ab40"} 
[2026-08-21 18:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-08-21 18:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553444864001,"66":14070,"105":206,"83":41984,"24":30,"16":14292929606582272,"45":1760696378696245248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553444864001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:47:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14292929606582272,"km_value":14292929606582.271,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760696378696245248,"description":"Unknown IO ID 45"} 
[2026-08-21 18:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553444864001,"power":14070,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1760696378696245248}} 
[2026-08-21 18:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:47:06] local.INFO: GPS data processed {"connection_id":161825,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:47:06] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:47:31] local.INFO: TCP Data received {"connection_id":161824,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02476a370012d82850005d8da40000800b328..."} 
[2026-08-21 18:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02476a370012d82850005d8da40000800b328..."} 
[2026-08-21 18:47:31] local.INFO: Processing buffer {"connection_id":161824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02476a370012d82850005d8da40000800b328..."} 
[2026-08-21 18:47:31] local.INFO: Packet analysis {"connection_id":161824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:31] local.INFO: Extracted packet for processing {"connection_id":161824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:31] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":98097728,"longitude_deg":76.3528448,"latitude_deg":9.8097728,"altitude":8,"angle":179,"satellites":40,"speed":28,"hex_longitude":"2d828500","hex_latitude":"05d8da40","is_valid_coordinates":true} 
[2026-08-21 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553443328001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121880047895183360,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042594707946911744,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787318150000,"timestamp_ms":1787318150000,"timestamp_seconds":1787318150,"priority":1,"record_length":96,"hex_timestamp":"000001a02476a370"} 
[2026-08-21 18:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:47: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-08-21 18:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 18:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161824,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553443328001,"66":13319,"49":206,"85":15104,"24":28,"16":121880047895183360,"45":-9042594707946911744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 18:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553443328001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:47:31] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 18:47:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121880047895183360,"km_value":121880047895183.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042594707946911744,"description":"Unknown IO ID 45"} 
[2026-08-21 18:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553443328001,"power":13319,"unknown_49":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9042594707946911744}} 
[2026-08-21 18:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":161824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:47:31] local.INFO: GPS data processed {"connection_id":161824,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:47:31] local.INFO: Acknowledgment sent {"connection_id":161824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:47:34] local.INFO: TCP Data received {"connection_id":159535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02475d850012da32080054da2000012014327..."} 
[2026-08-21 18:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02475d850012da32080054da2000012014327..."} 
[2026-08-21 18:47:34] local.INFO: Processing buffer {"connection_id":159535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02475d850012da32080054da2000012014327..."} 
[2026-08-21 18:47:34] local.INFO: Packet analysis {"connection_id":159535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:47:34] local.INFO: Extracted packet for processing {"connection_id":159535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:47:34] local.INFO: GPS Element Parsed {"raw_longitude":765665408,"raw_latitude":88973824,"longitude_deg":76.5665408,"latitude_deg":8.8973824,"altitude":18,"angle":323,"satellites":39,"speed":4,"hex_longitude":"2da32080","hex_latitude":"054da200","is_valid_coordinates":true} 
[2026-08-21 18:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553432576001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388552290971156480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6691997179774425088,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787318098000,"timestamp_ms":1787318098000,"timestamp_seconds":1787318098,"priority":1,"record_length":96,"hex_timestamp":"000001a02475d850"} 
[2026-08-21 18:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:47: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-08-21 18:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 18:47:34] 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-08-21 18:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553432576001,"66":27658,"182":206,"84":6144,"24":4,"16":388552290971156480,"45":-6691997179774425088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553432576001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:47:34] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:47:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388552290971156480,"km_value":388552290971156.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6691997179774425088,"description":"Unknown IO ID 45"} 
[2026-08-21 18:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553432576001,"power":27658,"unknown_182":206,"unknown_84":6144,"ignition":4,"odometer":null,"unknown_45":-6691997179774425088}} 
[2026-08-21 18:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":159535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:47:34] local.INFO: GPS data processed {"connection_id":159535,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:47:34] local.INFO: Acknowledgment sent {"connection_id":159535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:47:38] local.INFO: TCP Data received {"connection_id":161825,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02476b310012d18894007218078004e006d25..."} 
[2026-08-21 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02476b310012d18894007218078004e006d25..."} 
[2026-08-21 18:47:38] local.INFO: Processing buffer {"connection_id":161825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02476b310012d18894007218078004e006d25..."} 
[2026-08-21 18:47:38] local.INFO: Packet analysis {"connection_id":161825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:38] local.INFO: Extracted packet for processing {"connection_id":161825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":756582720,"raw_latitude":119636088,"longitude_deg":75.658272,"latitude_deg":11.9636088,"altitude":78,"angle":109,"satellites":37,"speed":34,"hex_longitude":"2d188940","hex_latitude":"07218078","is_valid_coordinates":true} 
[2026-08-21 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553446912001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14293006915993600,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766255509486307328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787318154000,"timestamp_ms":1787318154000,"timestamp_seconds":1787318154,"priority":1,"record_length":96,"hex_timestamp":"000001a02476b310"} 
[2026-08-21 18:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:47:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-08-21 18:47:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:47:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553446912001,"66":14004,"105":206,"83":41984,"24":34,"16":14293006915993600,"45":1766255509486307328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553446912001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:47:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:47:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14293006915993600,"km_value":14293006915993.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766255509486307328,"description":"Unknown IO ID 45"} 
[2026-08-21 18:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553446912001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1766255509486307328}} 
[2026-08-21 18:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":161825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:47:38] local.INFO: GPS data processed {"connection_id":161825,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:47:38] local.INFO: Acknowledgment sent {"connection_id":161825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:47:57] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:47:57] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:47:57] local.INFO: IMEI packet received {"connection_id":159249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":159249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:47:58] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:47:58] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:47:58] local.INFO: IMEI packet received {"connection_id":159536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":159536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:47:59] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:47:59] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:47:59] local.INFO: IMEI packet received {"connection_id":159536,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":159536,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:48:00] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02476d250012d82870005d8b698000800b328..."} 
[2026-08-21 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02476d250012d82870005d8b698000800b328..."} 
[2026-08-21 18:48:00] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02476d250012d82870005d8b698000800b328..."} 
[2026-08-21 18:48:00] local.INFO: Packet analysis {"connection_id":159536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:48:00] local.INFO: Extracted packet for processing {"connection_id":159536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":763528960,"raw_latitude":98088600,"longitude_deg":76.352896,"latitude_deg":9.80886,"altitude":8,"angle":179,"satellites":40,"speed":29,"hex_longitude":"2d828700","hex_latitude":"05d8b698","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553446400001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121880490276814848,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820651763384320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787318162000,"timestamp_ms":1787318162000,"timestamp_seconds":1787318162,"priority":1,"record_length":96,"hex_timestamp":"000001a02476d250"} 
[2026-08-21 18:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48: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-08-21 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2187526149,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-6037075257527883264,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:48:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":721064,"corrected_to":0} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3221608838,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941415,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":176,"raw_value":4282187776,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3651833856,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":221,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.WARNING: Large IO value detected {"io_id":117,"raw_value":-9052233956043046907,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,49,85,24,241,157,16,1,160,116,45,64,255,8,40,10,66,69,77,30,34,240,166,227,36,217,4,113,205,32,200,90,41,239,51,2,176,5,221,117],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0},{"io_id":200,"original":721064,"validated":0}]} 
[2026-08-21 18:48:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576657736685322240,"timestamp_seconds":576657736685322.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553446400001,"66":13189,"49":206,"85":15104,"24":29,"16":121880490276814848,"45":-9041820651763384320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 18:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553446400001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 18:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121880490276814848,"km_value":121880490276814.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820651763384320,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553446400001,"power":13189,"unknown_49":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9041820651763384320}} 
[2026-08-21 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":159536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677261,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:00] local.INFO: GPS data processed {"connection_id":159536,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:00] local.INFO: Acknowledgment sent {"connection_id":159536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:48:01] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:48:01] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:48:01] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:48:01] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:48:01] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:48:01] local.INFO: IMEI packet received {"connection_id":159249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:48:02] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02475f790012da31e40054da5380011013429..."} 
[2026-08-21 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02475f790012da31e40054da5380011013429..."} 
[2026-08-21 18:48:02] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02475f790012da31e40054da5380011013429..."} 
[2026-08-21 18:48:02] local.INFO: Packet analysis {"connection_id":159249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:48:02] local.INFO: Extracted packet for processing {"connection_id":159249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:48:02] local.INFO: GPS Element Parsed {"raw_longitude":765664832,"raw_latitude":88974648,"longitude_deg":76.5664832,"latitude_deg":8.8974648,"altitude":17,"angle":308,"satellites":41,"speed":5,"hex_longitude":"2da31e40","hex_latitude":"054da538","is_valid_coordinates":true} 
[2026-08-21 18:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553433088001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388552338215796736,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6692208286006902784,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787318106000,"timestamp_ms":1787318106000,"timestamp_seconds":1787318106,"priority":1,"record_length":96,"hex_timestamp":"000001a02475f790"} 
[2026-08-21 18:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 18:48:02] 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-08-21 18:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553433088001,"66":27767,"182":206,"84":6144,"24":5,"16":388552338215796736,"45":-6692208286006902784},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553433088001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:02] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:48:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388552338215796736,"km_value":388552338215796.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6692208286006902784,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553433088001,"power":27767,"unknown_182":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6692208286006902784}} 
[2026-08-21 18:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":159249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:02] local.INFO: GPS data processed {"connection_id":159249,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:02] local.INFO: Acknowledgment sent {"connection_id":159249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:48:04] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024770130012d82874005d89268000900ac28..."} 
[2026-08-21 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024770130012d82874005d89268000900ac28..."} 
[2026-08-21 18:48:04] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024770130012d82874005d89268000900ac28..."} 
[2026-08-21 18:48:04] local.INFO: Packet analysis {"connection_id":159536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02477"} 
[2026-08-21 18:48:04] local.INFO: Extracted packet for processing {"connection_id":159536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02477"} 
[2026-08-21 18:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763529024,"raw_latitude":98079336,"longitude_deg":76.3529024,"latitude_deg":9.8079336,"altitude":9,"angle":172,"satellites":40,"speed":28,"hex_longitude":"2d828740","hex_latitude":"05d89268","is_valid_coordinates":true} 
[2026-08-21 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553449472001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121880941248380928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041257701812299776,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787318174000,"timestamp_ms":1787318174000,"timestamp_seconds":1787318174,"priority":1,"record_length":96,"hex_timestamp":"000001a024770130"} 
[2026-08-21 18:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48: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-08-21 18:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 18:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:48:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553449472001,"66":12809,"49":206,"85":15104,"24":28,"16":121880941248380928,"45":-9041257701812299776},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 18:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553449472001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:04] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 18:48:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121880941248380928,"km_value":121880941248380.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041257701812299776,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553449472001,"power":12809,"unknown_49":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9041257701812299776}} 
[2026-08-21 18:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":159536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:04] local.INFO: GPS data processed {"connection_id":159536,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:04] local.INFO: Acknowledgment sent {"connection_id":159536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:48:06] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:48:06] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:48:06] local.INFO: IMEI packet received {"connection_id":161826,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":161826,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:48:07] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02476e1f0012d18a740072173f0004c007926..."} 
[2026-08-21 18:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02476e1f0012d18a740072173f0004c007926..."} 
[2026-08-21 18:48:07] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02476e1f0012d18a740072173f0004c007926..."} 
[2026-08-21 18:48:07] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:48:07] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:48:07] local.INFO: GPS Element Parsed {"raw_longitude":756590400,"raw_latitude":119632880,"longitude_deg":75.65904,"latitude_deg":11.963288,"altitude":76,"angle":121,"satellites":38,"speed":11,"hex_longitude":"2d18a740","hex_latitude":"072173f0","is_valid_coordinates":true} 
[2026-08-21 18:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553447424001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14293406347952128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768014728090646528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787318166000,"timestamp_ms":1787318166000,"timestamp_seconds":1787318166,"priority":1,"record_length":96,"hex_timestamp":"000001a02476e1f0"} 
[2026-08-21 18:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-08-21 18:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553447424001,"66":14396,"105":206,"83":41984,"24":11,"16":14293406347952128,"45":1768014728090646528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553447424001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:48:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14293406347952128,"km_value":14293406347952.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768014728090646528,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553447424001,"power":14396,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1768014728090646528}} 
[2026-08-21 18:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:07] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:07] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:48:09] local.INFO: TCP Data received {"connection_id":159536,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247710d0012d828a4005d886d80008009d29..."} 
[2026-08-21 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247710d0012d828a4005d886d80008009d29..."} 
[2026-08-21 18:48:09] local.INFO: Processing buffer {"connection_id":159536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247710d0012d828a4005d886d80008009d29..."} 
[2026-08-21 18:48:09] local.INFO: Packet analysis {"connection_id":159536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02477"} 
[2026-08-21 18:48:09] local.INFO: Extracted packet for processing {"connection_id":159536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02477"} 
[2026-08-21 18:48:09] local.INFO: GPS Element Parsed {"raw_longitude":763529792,"raw_latitude":98076376,"longitude_deg":76.3529792,"latitude_deg":9.8076376,"altitude":8,"angle":157,"satellites":41,"speed":31,"hex_longitude":"2d828a40","hex_latitude":"05d886d8","is_valid_coordinates":true} 
[2026-08-21 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553452544001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121881087277268992,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041187333070493696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787318178000,"timestamp_ms":1787318178000,"timestamp_seconds":1787318178,"priority":1,"record_length":96,"hex_timestamp":"000001a0247710d0"} 
[2026-08-21 18:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48: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-08-21 18:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1873497445153899520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2189180933,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":36,"raw_value":8487227016884673216,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2281778562,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-2772308618089813975,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":504629276566408789,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755536880140529,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:09] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,49,85,24,241,157,16,2,160,210,45,182,8,40,10,66,1,163,218,116,64,240,133,227,36,217,4,113,205,35,34,111,72,239,51,69,177,5,32,52,59,167],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-08-21 18:48:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648707634141855744,"timestamp_seconds":648707634141855.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159536,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553452544001,"66":13189,"49":206,"85":15104,"24":31,"16":121881087277268992,"45":-9041187333070493696},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-08-21 18:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553452544001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:09] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-08-21 18:48:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121881087277268992,"km_value":121881087277268.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041187333070493696,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553452544001,"power":13189,"unknown_49":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9041187333070493696}} 
[2026-08-21 18:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":159536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:09] local.INFO: GPS data processed {"connection_id":159536,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:09] local.INFO: Acknowledgment sent {"connection_id":159536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:48:33] local.INFO: TCP Data received {"connection_id":159249,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02475fb78012da31e00054da5980011014429..."} 
[2026-08-21 18:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02475fb78012da31e00054da5980011014429..."} 
[2026-08-21 18:48:33] local.INFO: Processing buffer {"connection_id":159249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02475fb78012da31e00054da5980011014429..."} 
[2026-08-21 18:48:33] local.INFO: Packet analysis {"connection_id":159249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:48:33] local.INFO: Extracted packet for processing {"connection_id":159249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02475"} 
[2026-08-21 18:48:33] local.INFO: GPS Element Parsed {"raw_longitude":765664768,"raw_latitude":88974744,"longitude_deg":76.5664768,"latitude_deg":8.8974744,"altitude":17,"angle":324,"satellites":41,"speed":4,"hex_longitude":"2da31e00","hex_latitude":"054da598","is_valid_coordinates":true} 
[2026-08-21 18:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553435136001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388552346805731328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6692841604704290816,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787318107000,"timestamp_ms":1787318107000,"timestamp_seconds":1787318107,"priority":1,"record_length":96,"hex_timestamp":"000001a02475fb78"} 
[2026-08-21 18:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:48:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:48: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-08-21 18:48:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553435136001,"66":27767,"182":206,"84":6144,"24":4,"16":388552346805731328,"45":-6692841604704290816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553435136001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:33] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:48:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388552346805731328,"km_value":388552346805731.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6692841604704290816,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553435136001,"power":27767,"unknown_182":206,"unknown_84":6144,"ignition":4,"odometer":null,"unknown_45":-6692841604704290816}} 
[2026-08-21 18:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":159249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:33] local.INFO: GPS data processed {"connection_id":159249,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:33] local.INFO: Acknowledgment sent {"connection_id":159249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:48:38] local.INFO: TCP Data received {"connection_id":161826,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02476f190012d18aa0007217258004d008527..."} 
[2026-08-21 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02476f190012d18aa0007217258004d008527..."} 
[2026-08-21 18:48:38] local.INFO: Processing buffer {"connection_id":161826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02476f190012d18aa0007217258004d008527..."} 
[2026-08-21 18:48:38] local.INFO: Packet analysis {"connection_id":161826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:48:38] local.INFO: Extracted packet for processing {"connection_id":161826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632472,"longitude_deg":75.6591104,"latitude_deg":11.9632472,"altitude":77,"angle":133,"satellites":39,"speed":5,"hex_longitude":"2d18aa00","hex_latitude":"07217258","is_valid_coordinates":true} 
[2026-08-21 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553450496001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14293445002657792,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977391144960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787318170000,"timestamp_ms":1787318170000,"timestamp_seconds":1787318170,"priority":1,"record_length":96,"hex_timestamp":"000001a02476f190"} 
[2026-08-21 18:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-08-21 18:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:48:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161826,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553450496001,"66":14363,"105":206,"83":41984,"24":5,"16":14293445002657792,"45":1776458977391144960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 18:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553450496001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 18:48:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14293445002657792,"km_value":14293445002657.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977391144960,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553450496001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1776458977391144960}} 
[2026-08-21 18:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":161826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:38] local.INFO: GPS data processed {"connection_id":161826,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:38] local.INFO: Acknowledgment sent {"connection_id":161826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:48:53] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:53] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:53] local.INFO: IMEI packet received {"connection_id":159537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":159537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:48:53] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:53] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:53] local.INFO: IMEI packet received {"connection_id":159537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":159537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:48:57] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:48:57] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:48:57] local.INFO: IMEI packet received {"connection_id":160435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":160435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:48:58] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:58] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:48:58] local.INFO: IMEI packet received {"connection_id":159537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":159537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:48:59] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247904d0012d82b74005d70130000600af26..."} 
[2026-08-21 18:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247904d0012d82b74005d70130000600af26..."} 
[2026-08-21 18:48:59] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247904d0012d82b74005d70130000600af26..."} 
[2026-08-21 18:48:59] local.INFO: Packet analysis {"connection_id":159537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:48:59] local.INFO: Extracted packet for processing {"connection_id":159537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:48:59] local.INFO: GPS Element Parsed {"raw_longitude":763541312,"raw_latitude":97976624,"longitude_deg":76.3541312,"latitude_deg":9.7976624,"altitude":6,"angle":175,"satellites":38,"speed":21,"hex_longitude":"2d82b740","hex_latitude":"05d70130","is_valid_coordinates":true} 
[2026-08-21 18:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553482496001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121885987834953728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029224646584242176,"note":"Value kept but may cause issues"} 
[2026-08-21 18:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318306000,"timestamp_ms":1787318306000,"timestamp_seconds":1787318306,"priority":1,"record_length":96,"hex_timestamp":"000001a0247904d0"} 
[2026-08-21 18:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-08-21 18:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553482496001,"66":13178,"155":206,"85":15104,"24":21,"16":121885987834953728,"45":-9029224646584242176},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-08-21 18:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553482496001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-08-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121885987834953728,"km_value":121885987834953.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029224646584242176,"description":"Unknown IO ID 45"} 
[2026-08-21 18:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553482496001,"power":13178,"unknown_155":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9029224646584242176}} 
[2026-08-21 18:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":159537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:48:59] local.INFO: GPS data processed {"connection_id":159537,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:48:59] local.INFO: Acknowledgment sent {"connection_id":159537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:49:01] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:01] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:01] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:49:02] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:02] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:02] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:49:02] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:02] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:02] local.INFO: IMEI packet received {"connection_id":160435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":160435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:49:03] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024764d80012da31b00054da9100010014828..."} 
[2026-08-21 18:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024764d80012da31b00054da9100010014828..."} 
[2026-08-21 18:49:03] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024764d80012da31b00054da9100010014828..."} 
[2026-08-21 18:49:03] local.INFO: Packet analysis {"connection_id":160435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:49:03] local.INFO: Extracted packet for processing {"connection_id":160435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":765664000,"raw_latitude":88975632,"longitude_deg":76.5664,"latitude_deg":8.8975632,"altitude":16,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2da31b00","hex_latitude":"054da910","is_valid_coordinates":true} 
[2026-08-21 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553435392001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388552402640306176,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6692911973448443904,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318128000,"timestamp_ms":1787318128000,"timestamp_seconds":1787318128,"priority":1,"record_length":96,"hex_timestamp":"000001a024764d80"} 
[2026-08-21 18:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553435392001,"66":27767,"182":206,"84":6144,"24":0,"16":388552402640306176,"45":-6692911973448443904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553435392001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:49:03] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:49:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388552402640306176,"km_value":388552402640306.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6692911973448443904,"description":"Unknown IO ID 45"} 
[2026-08-21 18:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553435392001,"power":27767,"unknown_182":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6692911973448443904}} 
[2026-08-21 18:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":160435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:49:03] local.INFO: GPS data processed {"connection_id":160435,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:49:03] local.INFO: Acknowledgment sent {"connection_id":160435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:49:04] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:04] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:04] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:49:06] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:06] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:49:06] local.INFO: IMEI packet received {"connection_id":160436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":160436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:49:06] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024774398012d18ab0007217148004d008523..."} 
[2026-08-21 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024774398012d18ab0007217148004d008523..."} 
[2026-08-21 18:49:06] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024774398012d18ab0007217148004d008523..."} 
[2026-08-21 18:49:06] local.INFO: Packet analysis {"connection_id":160436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02477"} 
[2026-08-21 18:49:06] local.INFO: Extracted packet for processing {"connection_id":160436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02477"} 
[2026-08-21 18:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756591360,"raw_latitude":119632200,"longitude_deg":75.659136,"latitude_deg":11.96322,"altitude":77,"angle":133,"satellites":35,"speed":0,"hex_longitude":"2d18ab00","hex_latitude":"07217148","is_valid_coordinates":true} 
[2026-08-21 18:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553451520001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14293462182526976,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033576994816,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787318191000,"timestamp_ms":1787318191000,"timestamp_seconds":1787318191,"priority":1,"record_length":96,"hex_timestamp":"000001a024774398"} 
[2026-08-21 18:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-08-21 18:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553451520001,"66":14352,"106":206,"83":41984,"24":0,"16":14293462182526976,"45":1777233033576994816},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 18:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553451520001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:49:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 18:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14293462182526976,"km_value":14293462182526.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033576994816,"description":"Unknown IO ID 45"} 
[2026-08-21 18:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553451520001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1777233033576994816}} 
[2026-08-21 18:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":160436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:49:06] local.INFO: GPS data processed {"connection_id":160436,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:49:06] local.INFO: Acknowledgment sent {"connection_id":160436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:49:30] local.INFO: TCP Data received {"connection_id":159537,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024793798012d82bc8005d6dec8000700af29..."} 
[2026-08-21 18:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024793798012d82bc8005d6dec8000700af29..."} 
[2026-08-21 18:49:30] local.INFO: Processing buffer {"connection_id":159537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024793798012d82bc8005d6dec8000700af29..."} 
[2026-08-21 18:49:30] local.INFO: Packet analysis {"connection_id":159537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:49:30] local.INFO: Extracted packet for processing {"connection_id":159537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:49:30] local.INFO: GPS Element Parsed {"raw_longitude":763542656,"raw_latitude":97967816,"longitude_deg":76.3542656,"latitude_deg":9.7967816,"altitude":7,"angle":175,"satellites":41,"speed":23,"hex_longitude":"2d82bc80","hex_latitude":"05d6dec8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553486336001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121886417331683328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9027676534214676480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318319000,"timestamp_ms":1787318319000,"timestamp_seconds":1787318319,"priority":1,"record_length":96,"hex_timestamp":"000001a024793798"} 
[2026-08-21 18:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:49: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-08-21 18: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-08-21 18:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553486336001,"66":13243,"156":206,"85":15104,"24":23,"16":121886417331683328,"45":-9027676534214676480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553486336001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:49:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121886417331683328,"km_value":121886417331683.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9027676534214676480,"description":"Unknown IO ID 45"} 
[2026-08-21 18:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553486336001,"power":13243,"unknown_156":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9027676534214676480}} 
[2026-08-21 18:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":159537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:49:30] local.INFO: GPS data processed {"connection_id":159537,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:49:30] local.INFO: Acknowledgment sent {"connection_id":159537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:49:34] local.INFO: TCP Data received {"connection_id":160435,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024769f88012da31380054db3f0001001482c..."} 
[2026-08-21 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024769f88012da31380054db3f0001001482c..."} 
[2026-08-21 18:49:34] local.INFO: Processing buffer {"connection_id":160435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024769f88012da31380054db3f0001001482c..."} 
[2026-08-21 18:49:34] local.INFO: Packet analysis {"connection_id":160435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:49:34] local.INFO: Extracted packet for processing {"connection_id":160435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02476"} 
[2026-08-21 18:49:34] local.INFO: GPS Element Parsed {"raw_longitude":765662080,"raw_latitude":88978416,"longitude_deg":76.566208,"latitude_deg":8.8978416,"altitude":16,"angle":328,"satellites":44,"speed":5,"hex_longitude":"2da31380","hex_latitude":"054db3f0","is_valid_coordinates":true} 
[2026-08-21 18:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553440768001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388552570144030720,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6693756398378348544,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787318149000,"timestamp_ms":1787318149000,"timestamp_seconds":1787318149,"priority":1,"record_length":96,"hex_timestamp":"000001a024769f88"} 
[2026-08-21 18:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:49:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553440768001,"66":27821,"182":206,"84":6144,"24":5,"16":388552570144030720,"45":-6693756398378348544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553440768001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:49:34] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:49:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388552570144030720,"km_value":388552570144030.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:49:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6693756398378348544,"description":"Unknown IO ID 45"} 
[2026-08-21 18:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553440768001,"power":27821,"unknown_182":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6693756398378348544}} 
[2026-08-21 18:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":160435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:49:34] local.INFO: GPS data processed {"connection_id":160435,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:49:34] local.INFO: Acknowledgment sent {"connection_id":160435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:49:37] local.INFO: TCP Data received {"connection_id":160436,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024796678012d18d8c00720fde80040009027..."} 
[2026-08-21 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024796678012d18d8c00720fde80040009027..."} 
[2026-08-21 18:49:37] local.INFO: Processing buffer {"connection_id":160436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024796678012d18d8c00720fde80040009027..."} 
[2026-08-21 18:49:37] local.INFO: Packet analysis {"connection_id":160436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:49:37] local.INFO: Extracted packet for processing {"connection_id":160436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602664,"longitude_deg":75.6603072,"latitude_deg":11.9602664,"altitude":64,"angle":144,"satellites":39,"speed":34,"hex_longitude":"2d18d8c0","hex_latitude":"0720fde8","is_valid_coordinates":true} 
[2026-08-21 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553492224001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14295064205328384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056658432,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787318331000,"timestamp_ms":1787318331000,"timestamp_seconds":1787318331,"priority":1,"record_length":96,"hex_timestamp":"000001a024796678"} 
[2026-08-21 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 18:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553492224001,"66":14298,"103":206,"83":41984,"24":34,"16":14295064205328384,"45":1789477195056658432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553492224001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:49:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14295064205328384,"km_value":14295064205328.385,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056658432,"description":"Unknown IO ID 45"} 
[2026-08-21 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553492224001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1789477195056658432}} 
[2026-08-21 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":160436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677273,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:49:37] local.INFO: GPS data processed {"connection_id":160436,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:49:37] local.INFO: Acknowledgment sent {"connection_id":160436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:49:53] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:49:53] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:49:53] local.INFO: IMEI packet received {"connection_id":159250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":159250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:49:57] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:57] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:57] local.INFO: IMEI packet received {"connection_id":159251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":159251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:49:58] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:49:58] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:49:58] local.INFO: IMEI packet received {"connection_id":159250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":159250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:49:59] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024796678012d82bb8005d6bc00000900b82a..."} 
[2026-08-21 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024796678012d82bb8005d6bc00000900b82a..."} 
[2026-08-21 18:49:59] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024796678012d82bb8005d6bc00000900b82a..."} 
[2026-08-21 18:49:59] local.INFO: Packet analysis {"connection_id":159250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:49:59] local.INFO: Extracted packet for processing {"connection_id":159250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763542400,"raw_latitude":97958912,"longitude_deg":76.35424,"latitude_deg":9.7958912,"altitude":9,"angle":184,"satellites":42,"speed":33,"hex_longitude":"2d82bb80","hex_latitude":"05d6bc00","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553489664001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121886851123380224,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026198790589200384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318331000,"timestamp_ms":1787318331000,"timestamp_seconds":1787318331,"priority":1,"record_length":96,"hex_timestamp":"000001a024796678"} 
[2026-08-21 18:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-08-21 18:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553489664001,"66":13189,"156":206,"85":15104,"24":33,"16":121886851123380224,"45":-9026198790589200384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553489664001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121886851123380224,"km_value":121886851123380.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026198790589200384,"description":"Unknown IO ID 45"} 
[2026-08-21 18:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553489664001,"power":13189,"unknown_156":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9026198790589200384}} 
[2026-08-21 18:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":159250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677274,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:49:59] local.INFO: GPS data processed {"connection_id":159250,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:49:59] local.INFO: Acknowledgment sent {"connection_id":159250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:49:59] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:59] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:49:59] local.INFO: IMEI packet received {"connection_id":159251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":159251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:50:01] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:01] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:01] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:50:02] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:02] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:02] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:50:02] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:50:02] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:50:02] local.INFO: IMEI packet received {"connection_id":159251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":159251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:50:03] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024793798012da2f600054ddcd0000d01472d..."} 
[2026-08-21 18:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024793798012da2f600054ddcd0000d01472d..."} 
[2026-08-21 18:50:03] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024793798012da2f600054ddcd0000d01472d..."} 
[2026-08-21 18:50:03] local.INFO: Packet analysis {"connection_id":159251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:03] local.INFO: Extracted packet for processing {"connection_id":159251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:03] local.INFO: GPS Element Parsed {"raw_longitude":765654528,"raw_latitude":88988880,"longitude_deg":76.5654528,"latitude_deg":8.898888,"altitude":13,"angle":327,"satellites":45,"speed":2,"hex_longitude":"2da2f600","hex_latitude":"054ddcd0","is_valid_coordinates":true} 
[2026-08-21 18:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553487360001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388553205799190528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6704030235024936960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318319000,"timestamp_ms":1787318319000,"timestamp_seconds":1787318319,"priority":1,"record_length":96,"hex_timestamp":"000001a024793798"} 
[2026-08-21 18:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18: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-08-21 18:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553487360001,"66":27767,"182":206,"84":6144,"24":2,"16":388553205799190528,"45":-6704030235024936960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553487360001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:50:03] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:50:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388553205799190528,"km_value":388553205799190.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6704030235024936960,"description":"Unknown IO ID 45"} 
[2026-08-21 18:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553487360001,"power":27767,"unknown_182":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6704030235024936960}} 
[2026-08-21 18:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":159251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:50:03] local.INFO: GPS data processed {"connection_id":159251,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:50:03] local.INFO: Acknowledgment sent {"connection_id":159251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:50:06] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:06] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:50:06] local.INFO: IMEI packet received {"connection_id":161827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":161827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:50:06] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024796e48012d18dd400720f9200040008424..."} 
[2026-08-21 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024796e48012d18dd400720f9200040008424..."} 
[2026-08-21 18:50:06] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024796e48012d18dd400720f9200040008424..."} 
[2026-08-21 18:50:06] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:06] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756604224,"raw_latitude":119601440,"longitude_deg":75.6604224,"latitude_deg":11.960144,"altitude":64,"angle":132,"satellites":36,"speed":33,"hex_longitude":"2d18dd40","hex_latitude":"0720f920","is_valid_coordinates":true} 
[2026-08-21 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553492736001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14295141514739712,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730587136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787318333000,"timestamp_ms":1787318333000,"timestamp_seconds":1787318333,"priority":1,"record_length":96,"hex_timestamp":"000001a024796e48"} 
[2026-08-21 18:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-08-21 18:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553492736001,"66":14374,"103":206,"83":41984,"24":33,"16":14295141514739712,"45":1790391988730587136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553492736001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:50:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14295141514739712,"km_value":14295141514739.713,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730587136,"description":"Unknown IO ID 45"} 
[2026-08-21 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553492736001,"power":14374,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1790391988730587136}} 
[2026-08-21 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:50:06] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:50:06] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:50:30] local.INFO: TCP Data received {"connection_id":159250,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024798d88012d82ba0005d69ed8000800aa2a..."} 
[2026-08-21 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024798d88012d82ba0005d69ed8000800aa2a..."} 
[2026-08-21 18:50:30] local.INFO: Processing buffer {"connection_id":159250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024798d88012d82ba0005d69ed8000800aa2a..."} 
[2026-08-21 18:50:30] local.INFO: Packet analysis {"connection_id":159250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:30] local.INFO: Extracted packet for processing {"connection_id":159250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":763542016,"raw_latitude":97951448,"longitude_deg":76.3542016,"latitude_deg":9.7951448,"altitude":8,"angle":170,"satellites":42,"speed":29,"hex_longitude":"2d82ba00","hex_latitude":"05d69ed8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553492736001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121887211900633088,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9026480265568190464,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318341000,"timestamp_ms":1787318341000,"timestamp_seconds":1787318341,"priority":1,"record_length":96,"hex_timestamp":"000001a024798d88"} 
[2026-08-21 18:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:50: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-08-21 18: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-08-21 18:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553492736001,"66":13135,"156":206,"85":15104,"24":29,"16":121887211900633088,"45":-9026480265568190464},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553492736001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:50:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121887211900633088,"km_value":121887211900633.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9026480265568190464,"description":"Unknown IO ID 45"} 
[2026-08-21 18:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553492736001,"power":13135,"unknown_156":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9026480265568190464}} 
[2026-08-21 18:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":159250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:50:30] local.INFO: GPS data processed {"connection_id":159250,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:50:30] local.INFO: Acknowledgment sent {"connection_id":159250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:50:34] local.INFO: TCP Data received {"connection_id":159251,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247989a0012da2f2c0054de180000d01452b..."} 
[2026-08-21 18:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247989a0012da2f2c0054de180000d01452b..."} 
[2026-08-21 18:50:34] local.INFO: Processing buffer {"connection_id":159251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247989a0012da2f2c0054de180000d01452b..."} 
[2026-08-21 18:50:34] local.INFO: Packet analysis {"connection_id":159251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:34] local.INFO: Extracted packet for processing {"connection_id":159251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:34] local.INFO: GPS Element Parsed {"raw_longitude":765653696,"raw_latitude":88990080,"longitude_deg":76.5653696,"latitude_deg":8.899008,"altitude":13,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2da2f2c0","hex_latitude":"054de180","is_valid_coordinates":true} 
[2026-08-21 18:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553489664001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388553287403569152,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6704170972513251328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787318340000,"timestamp_ms":1787318340000,"timestamp_seconds":1787318340,"priority":1,"record_length":96,"hex_timestamp":"000001a0247989a0"} 
[2026-08-21 18:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:50: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-08-21 18:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553489664001,"66":27767,"182":206,"84":6144,"24":0,"16":388553287403569152,"45":-6704170972513251328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553489664001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:50:34] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:50:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388553287403569152,"km_value":388553287403569.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6704170972513251328,"description":"Unknown IO ID 45"} 
[2026-08-21 18:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553489664001,"power":27767,"unknown_182":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6704170972513251328}} 
[2026-08-21 18:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":159251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:50:34] local.INFO: GPS data processed {"connection_id":159251,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:50:34] local.INFO: Acknowledgment sent {"connection_id":159251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:50:37] local.INFO: TCP Data received {"connection_id":161827,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024797de8012d18e6400720ef98003f009326..."} 
[2026-08-21 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024797de8012d18e6400720ef98003f009326..."} 
[2026-08-21 18:50:37] local.INFO: Processing buffer {"connection_id":161827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024797de8012d18e6400720ef98003f009326..."} 
[2026-08-21 18:50:37] local.INFO: Packet analysis {"connection_id":161827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:37] local.INFO: Extracted packet for processing {"connection_id":161827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756606528,"raw_latitude":119599000,"longitude_deg":75.6606528,"latitude_deg":11.9599,"altitude":63,"angle":147,"satellites":38,"speed":33,"hex_longitude":"2d18e640","hex_latitude":"0720ef98","is_valid_coordinates":true} 
[2026-08-21 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553493248001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14295304723496960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791658626125471744,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787318337000,"timestamp_ms":1787318337000,"timestamp_seconds":1787318337,"priority":1,"record_length":96,"hex_timestamp":"000001a024797de8"} 
[2026-08-21 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-08-21 18:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553493248001,"66":14341,"103":206,"83":41984,"24":33,"16":14295304723496960,"45":1791658626125471744},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553493248001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:50:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14295304723496960,"km_value":14295304723496.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791658626125471744,"description":"Unknown IO ID 45"} 
[2026-08-21 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553493248001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1791658626125471744}} 
[2026-08-21 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":161827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:50:37] local.INFO: GPS data processed {"connection_id":161827,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:50:37] local.INFO: Acknowledgment sent {"connection_id":161827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:50:53] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:50:53] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:50:53] local.INFO: IMEI packet received {"connection_id":159538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":159538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:50:57] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:50:57] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:50:57] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:50:59] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:50:59] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:50:59] local.INFO: IMEI packet received {"connection_id":159538,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":159538,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:50:59] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247ad1c0012d83178005d68858000d007f27..."} 
[2026-08-21 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247ad1c0012d83178005d68858000d007f27..."} 
[2026-08-21 18:50:59] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247ad1c0012d83178005d68858000d007f27..."} 
[2026-08-21 18:50:59] local.INFO: Packet analysis {"connection_id":159538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:50:59] local.INFO: Extracted packet for processing {"connection_id":159538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:50:59] local.INFO: GPS Element Parsed {"raw_longitude":763565952,"raw_latitude":97945688,"longitude_deg":76.3565952,"latitude_deg":9.7945688,"altitude":13,"angle":127,"satellites":39,"speed":26,"hex_longitude":"2d831780","hex_latitude":"05d68858","is_valid_coordinates":true} 
[2026-08-21 18:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553515776001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121888526160625664,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9002414155062558720,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318424000,"timestamp_ms":1787318424000,"timestamp_seconds":1787318424,"priority":1,"record_length":96,"hex_timestamp":"000001a0247ad1c0"} 
[2026-08-21 18:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2195030021,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279394585009623600,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-8183040497153988352,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221608072,"corrected_to":0} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030054,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":123,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-6278016585575448571,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":26,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-7205532538335389696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 18:50:59] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,156,85,24,241,157,16,8,160,194,45,140,12,40,10,66,139,9,39,61,1,240,187,227,36,214,4,113,205,192,239,48,2,177,5,17,123,121,26,166,90],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3221608072,"validated":0}]} 
[2026-08-21 18:50:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864815545069273088,"timestamp_seconds":864815545069273.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553515776001,"66":13276,"156":206,"85":15104,"24":26,"16":121888526160625664,"45":-9002414155062558720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553515776001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:50:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:50:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121888526160625664,"km_value":121888526160625.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9002414155062558720,"description":"Unknown IO ID 45"} 
[2026-08-21 18:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553515776001,"power":13276,"unknown_156":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9002414155062558720}} 
[2026-08-21 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":159538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:00] local.INFO: GPS data processed {"connection_id":159538,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:00] local.INFO: Acknowledgment sent {"connection_id":159538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:51:02] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:51:02] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:51:02] local.INFO: IMEI packet received {"connection_id":160437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":160437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:51:03] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02479dba8012da2eb40054debd8000d01432c..."} 
[2026-08-21 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02479dba8012da2eb40054debd8000d01432c..."} 
[2026-08-21 18:51:03] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02479dba8012da2eb40054debd8000d01432c..."} 
[2026-08-21 18:51:03] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:51:03] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02479"} 
[2026-08-21 18:51:03] local.INFO: GPS Element Parsed {"raw_longitude":765651776,"raw_latitude":88992728,"longitude_deg":76.5651776,"latitude_deg":8.8992728,"altitude":13,"angle":323,"satellites":44,"speed":9,"hex_longitude":"2da2eb40","hex_latitude":"054debd8","is_valid_coordinates":true} 
[2026-08-21 18:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553495040001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388553446317359104,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6705085766187253760,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318361000,"timestamp_ms":1787318361000,"timestamp_seconds":1787318361,"priority":1,"record_length":96,"hex_timestamp":"000001a02479dba8"} 
[2026-08-21 18:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553495040001,"66":27626,"182":206,"84":6144,"24":9,"16":388553446317359104,"45":-6705085766187253760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553495040001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:51:03] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:51:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388553446317359104,"km_value":388553446317359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6705085766187253760,"description":"Unknown IO ID 45"} 
[2026-08-21 18:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553495040001,"power":27626,"unknown_182":206,"unknown_84":6144,"ignition":9,"odometer":null,"unknown_45":-6705085766187253760}} 
[2026-08-21 18:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:03] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:03] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:51:06] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:06] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:06] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:51:09] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:09] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:09] local.INFO: IMEI packet received {"connection_id":160438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":160438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:51:10] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247a9728012d19bb400720a8a80032008326..."} 
[2026-08-21 18:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247a9728012d19bb400720a8a80032008326..."} 
[2026-08-21 18:51:10] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247a9728012d19bb400720a8a80032008326..."} 
[2026-08-21 18:51:10] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:51:10] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756661056,"raw_latitude":119580840,"longitude_deg":75.6661056,"latitude_deg":11.958084,"altitude":50,"angle":131,"satellites":38,"speed":20,"hex_longitude":"2d19bb40","hex_latitude":"0720a8a8","is_valid_coordinates":true} 
[2026-08-21 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553512192001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14298233891192832,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853231277275826176,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787318409000,"timestamp_ms":1787318409000,"timestamp_seconds":1787318409,"priority":1,"record_length":96,"hex_timestamp":"000001a0247a9728"} 
[2026-08-21 18:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6981712339,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3403218944,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":1107296256,"corrected_to":0} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503817776070656,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2865233957,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 18:51:10] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":77081,"corrected_to":0} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3221692590,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":216,"raw_value":84751620063568061,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.WARNING: Large IO value detected {"io_id":184,"raw_value":13792755532704768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:10] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,204,160,123,45,128,176,50,40,10,66,203,84,179,47,36,37,64,1,240,60,227,32,4,113,205,28,247,71,8,239,54,2,7,44,41,206,216,184],"length":529,"final_offset":659,"validated_count":45,"validation_warnings":[{"io_id":203,"original":1107296256,"validated":0},{"io_id":205,"original":2020016334,"validated":0},{"io_id":247,"original":77081,"validated":0}]} 
[2026-08-21 18:51:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603009611773771776,"timestamp_seconds":3603009611773772.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553512192001,"66":14265,"103":206,"83":41984,"24":20,"16":14298233891192832,"45":1853231277275826176},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553512192001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:51:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:51:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14298233891192832,"km_value":14298233891192.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853231277275826176,"description":"Unknown IO ID 45"} 
[2026-08-21 18:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553512192001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1853231277275826176}} 
[2026-08-21 18:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:10] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:10] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:51:11] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247a9ef8012d19be400720a6880031007827..."} 
[2026-08-21 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247a9ef8012d19be400720a6880031007827..."} 
[2026-08-21 18:51:11] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247a9ef8012d19be400720a6880031007827..."} 
[2026-08-21 18:51:11] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:51:11] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":756661824,"raw_latitude":119580296,"longitude_deg":75.6661824,"latitude_deg":11.9580296,"altitude":49,"angle":120,"satellites":39,"speed":16,"hex_longitude":"2d19be40","hex_latitude":"0720a688","is_valid_coordinates":true} 
[2026-08-21 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553512704001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14298276840865792,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949963776,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787318411000,"timestamp_ms":1787318411000,"timestamp_seconds":1787318411,"priority":1,"record_length":96,"hex_timestamp":"000001a0247a9ef8"} 
[2026-08-21 18:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 18:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553512704001,"66":13559,"103":206,"83":41984,"24":16,"16":14298276840865792,"45":1854146070949963776},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553512704001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:51:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:51:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14298276840865792,"km_value":14298276840865.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949963776,"description":"Unknown IO ID 45"} 
[2026-08-21 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553512704001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1854146070949963776}} 
[2026-08-21 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:11] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:11] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:51:31] local.INFO: TCP Data received {"connection_id":159538,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247b0488012d83340005d67230000b008328..."} 
[2026-08-21 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247b0488012d83340005d67230000b008328..."} 
[2026-08-21 18:51:31] local.INFO: Processing buffer {"connection_id":159538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247b0488012d83340005d67230000b008328..."} 
[2026-08-21 18:51:31] local.INFO: Packet analysis {"connection_id":159538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:51:31] local.INFO: Extracted packet for processing {"connection_id":159538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:51:31] local.INFO: GPS Element Parsed {"raw_longitude":763573248,"raw_latitude":97940016,"longitude_deg":76.3573248,"latitude_deg":9.7940016,"altitude":11,"angle":131,"satellites":40,"speed":28,"hex_longitude":"2d833400","hex_latitude":"05d67230","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553516544001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121888968542257152,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9000584567714195456,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787318437000,"timestamp_ms":1787318437000,"timestamp_seconds":1787318437,"priority":1,"record_length":96,"hex_timestamp":"000001a0247b0488"} 
[2026-08-21 18:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-08-21 18:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159538,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553516544001,"66":13319,"156":206,"85":15104,"24":28,"16":121888968542257152,"45":-9000584567714195456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553516544001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:51:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121888968542257152,"km_value":121888968542257.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9000584567714195456,"description":"Unknown IO ID 45"} 
[2026-08-21 18:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553516544001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9000584567714195456}} 
[2026-08-21 18:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":159538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677284,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:31] local.INFO: GPS data processed {"connection_id":159538,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:31] local.INFO: Acknowledgment sent {"connection_id":159538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:51:34] local.INFO: TCP Data received {"connection_id":160437,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247a25e0012da2e480054df4d0001001282c..."} 
[2026-08-21 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247a25e0012da2e480054df4d0001001282c..."} 
[2026-08-21 18:51:34] local.INFO: Processing buffer {"connection_id":160437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247a25e0012da2e480054df4d0001001282c..."} 
[2026-08-21 18:51:34] local.INFO: Packet analysis {"connection_id":160437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:51:34] local.INFO: Extracted packet for processing {"connection_id":160437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247a"} 
[2026-08-21 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":765650048,"raw_latitude":88995024,"longitude_deg":76.5650048,"latitude_deg":8.8995024,"altitude":16,"angle":296,"satellites":44,"speed":0,"hex_longitude":"2da2e480","hex_latitude":"054df4d0","is_valid_coordinates":true} 
[2026-08-21 18:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553500416001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388553588051279872,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6707196828511905792,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787318380000,"timestamp_ms":1787318380000,"timestamp_seconds":1787318380,"priority":1,"record_length":96,"hex_timestamp":"000001a0247a25e0"} 
[2026-08-21 18:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:51: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-08-21 18:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 18:51:34] 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-08-21 18:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553500416001,"66":27691,"182":206,"84":6144,"24":0,"16":388553588051279872,"45":-6707196828511905792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,84,24,16,45]} 
[2026-08-21 18:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553500416001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:51:34] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-08-21 18:51:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388553588051279872,"km_value":388553588051279.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6707196828511905792,"description":"Unknown IO ID 45"} 
[2026-08-21 18:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553500416001,"power":27691,"unknown_182":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6707196828511905792}} 
[2026-08-21 18:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":160437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:34] local.INFO: GPS data processed {"connection_id":160437,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:34] local.INFO: Acknowledgment sent {"connection_id":160437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:51:43] local.INFO: TCP Data received {"connection_id":160438,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247b4ec0012d1a0c000720c1d00030003929..."} 
[2026-08-21 18:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247b4ec0012d1a0c000720c1d00030003929..."} 
[2026-08-21 18:51:43] local.INFO: Processing buffer {"connection_id":160438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247b4ec0012d1a0c000720c1d00030003929..."} 
[2026-08-21 18:51:43] local.INFO: Packet analysis {"connection_id":160438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:51:43] local.INFO: Extracted packet for processing {"connection_id":160438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756681728,"raw_latitude":119587280,"longitude_deg":75.6681728,"latitude_deg":11.958728,"altitude":48,"angle":57,"satellites":41,"speed":28,"hex_longitude":"2d1a0c00","hex_latitude":"0720c1d0","is_valid_coordinates":true} 
[2026-08-21 18:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553521920001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14299337697787904,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1868149451042078720,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787318456000,"timestamp_ms":1787318456000,"timestamp_seconds":1787318456,"priority":1,"record_length":96,"hex_timestamp":"000001a0247b4ec0"} 
[2026-08-21 18:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 18:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553521920001,"66":14135,"103":206,"83":41984,"24":28,"16":14299337697787904,"45":1868149451042078720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553521920001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:51:43] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:51:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14299337697787904,"km_value":14299337697787.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1868149451042078720,"description":"Unknown IO ID 45"} 
[2026-08-21 18:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553521920001,"power":14135,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1868149451042078720}} 
[2026-08-21 18:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":160438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:43] local.INFO: GPS data processed {"connection_id":160438,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:43] local.INFO: Acknowledgment sent {"connection_id":160438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:51:54] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:54] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:54] local.INFO: IMEI packet received {"connection_id":159539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":159539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:51:54] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:54] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:54] local.INFO: IMEI packet received {"connection_id":159539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":159539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:51:57] local.INFO: TCP Data received {"connection_id":159252,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:57] local.INFO: Processing buffer {"connection_id":159252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:51:57] local.INFO: IMEI packet received {"connection_id":159252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":159252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:51:58] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:51:58] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:51:58] local.INFO: IMEI packet received {"connection_id":159253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:51:58] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:58] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:51:58] local.INFO: IMEI packet received {"connection_id":159539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":159539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:51:59] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247b3368012d83508005d65a780007007d29..."} 
[2026-08-21 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247b3368012d83508005d65a780007007d29..."} 
[2026-08-21 18:51:59] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247b3368012d83508005d65a780007007d29..."} 
[2026-08-21 18:51:59] local.INFO: Packet analysis {"connection_id":159539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:51:59] local.INFO: Extracted packet for processing {"connection_id":159539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:51:59] local.INFO: GPS Element Parsed {"raw_longitude":763580544,"raw_latitude":97933944,"longitude_deg":76.3580544,"latitude_deg":9.7933944,"altitude":7,"angle":125,"satellites":41,"speed":33,"hex_longitude":"2d835080","hex_latitude":"05d65a78","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553519872001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121889428103757824,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8992562530879393792,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318449000,"timestamp_ms":1787318449000,"timestamp_seconds":1787318449,"priority":1,"record_length":96,"hex_timestamp":"000001a0247b3368"} 
[2026-08-21 18:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2197487621,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-8579357272954296320,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3599228928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-4589166725310857211,"note":"Value kept but may cause issues"} 
[2026-08-21 18:51:59] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,156,85,24,241,157,16,9,160,209,45,128,136,13,39,10,66,8,198,140,12,40,194,1,240,18,227,36,214,4,113,205,6,61,232,144,239,51,2,177,5,3,7,121],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-08-21 18:51:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792777742240972800,"timestamp_seconds":792777742240972.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 18:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553519872001,"66":13319,"156":206,"85":15104,"24":33,"16":121889428103757824,"45":-8992562530879393792},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553519872001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121889428103757824,"km_value":121889428103757.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8992562530879393792,"description":"Unknown IO ID 45"} 
[2026-08-21 18:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553519872001,"power":13319,"unknown_156":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-8992562530879393792}} 
[2026-08-21 18:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":159539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:51:59] local.INFO: GPS data processed {"connection_id":159539,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:51:59] local.INFO: Acknowledgment sent {"connection_id":159539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:52:01] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:01] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:01] local.INFO: IMEI packet received {"connection_id":159253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":159253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:52:02] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:02] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:02] local.INFO: IMEI packet received {"connection_id":159253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":159253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:52:03] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:03] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:03] local.INFO: IMEI packet received {"connection_id":159253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":159253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:52:04] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247bac80012da2d140054e1218001101362b..."} 
[2026-08-21 18:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247bac80012da2d140054e1218001101362b..."} 
[2026-08-21 18:52:04] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247bac80012da2d140054e1218001101362b..."} 
[2026-08-21 18:52:04] local.INFO: Packet analysis {"connection_id":159253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:52:04] local.INFO: Extracted packet for processing {"connection_id":159253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":765645120,"raw_latitude":89002520,"longitude_deg":76.564512,"latitude_deg":8.900252,"altitude":17,"angle":310,"satellites":43,"speed":3,"hex_longitude":"2da2d140","hex_latitude":"054e1218","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553526272001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554030432911360,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6713670752974016512,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787318480000,"timestamp_ms":1787318480000,"timestamp_seconds":1787318480,"priority":1,"record_length":96,"hex_timestamp":"000001a0247bac80"} 
[2026-08-21 18:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 18:52: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-08-21 18: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-08-21 18:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553526272001,"66":27745,"183":206,"84":6144,"24":3,"16":388554030432911360,"45":-6713670752974016512},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553526272001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:52:04] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:52:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554030432911360,"km_value":388554030432911.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6713670752974016512,"description":"Unknown IO ID 45"} 
[2026-08-21 18:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553526272001,"power":27745,"unknown_183":206,"unknown_84":6144,"ignition":3,"odometer":null,"unknown_45":-6713670752974016512}} 
[2026-08-21 18:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":159253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:52:04] local.INFO: GPS data processed {"connection_id":159253,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:52:04] local.INFO: Acknowledgment sent {"connection_id":159253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:52:30] local.INFO: TCP Data received {"connection_id":159539,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247b52a8012d8364c005d64a180008008e29..."} 
[2026-08-21 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247b52a8012d8364c005d64a180008008e29..."} 
[2026-08-21 18:52:30] local.INFO: Processing buffer {"connection_id":159539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247b52a8012d8364c005d64a180008008e29..."} 
[2026-08-21 18:52:30] local.INFO: Packet analysis {"connection_id":159539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:52:30] local.INFO: Extracted packet for processing {"connection_id":159539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":763585728,"raw_latitude":97929752,"longitude_deg":76.3585728,"latitude_deg":9.7929752,"altitude":8,"angle":142,"satellites":41,"speed":28,"hex_longitude":"2d8364c0","hex_latitude":"05d64a18","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553522944001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121889745931337728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8984540494044694528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318457000,"timestamp_ms":1787318457000,"timestamp_seconds":1787318457,"priority":1,"record_length":96,"hex_timestamp":"000001a0247b52a8"} 
[2026-08-21 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-08-21 18:52: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-08-21 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2198798341,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":8,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":214,"raw_value":-8655918470914889728,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3599273984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57885559184315707,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.WARNING: Large IO value detected {"io_id":122,"raw_value":1321807785613426693,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:30] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,156,85,24,241,157,16,9,160,4,45,114,11,40,10,66,209,128,136,13,39,8,198,1,240,18,227,36,214,113,205,23,139,251,72,239,51,2,177,5,19,187,122],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-08-21 18:52:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504540773314789376,"timestamp_seconds":504540773314789.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 18:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553522944001,"66":13254,"156":206,"85":15104,"24":28,"16":121889745931337728,"45":-8984540494044694528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-08-21 18:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553522944001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:52:30] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-08-21 18:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121889745931337728,"km_value":121889745931337.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8984540494044694528,"description":"Unknown IO ID 45"} 
[2026-08-21 18:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553522944001,"power":13254,"unknown_156":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-8984540494044694528}} 
[2026-08-21 18:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":159539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:52:31] local.INFO: GPS data processed {"connection_id":159539,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:52:31] local.INFO: Acknowledgment sent {"connection_id":159539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:52:34] local.INFO: TCP Data received {"connection_id":159253,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247bb838012da2d040054e1328001101412d..."} 
[2026-08-21 18:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247bb838012da2d040054e1328001101412d..."} 
[2026-08-21 18:52:34] local.INFO: Processing buffer {"connection_id":159253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247bb838012da2d040054e1328001101412d..."} 
[2026-08-21 18:52:34] local.INFO: Packet analysis {"connection_id":159253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:52:34] local.INFO: Extracted packet for processing {"connection_id":159253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:52:34] local.INFO: GPS Element Parsed {"raw_longitude":765644864,"raw_latitude":89002792,"longitude_deg":76.5644864,"latitude_deg":8.9002792,"altitude":17,"angle":321,"satellites":45,"speed":4,"hex_longitude":"2da2d040","hex_latitude":"054e1328","is_valid_coordinates":true} 
[2026-08-21 18:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553530880001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554051907747840,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6714515177903876096,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787318483000,"timestamp_ms":1787318483000,"timestamp_seconds":1787318483,"priority":1,"record_length":96,"hex_timestamp":"000001a0247bb838"} 
[2026-08-21 18:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:52: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-08-21 18:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:52:34] 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-08-21 18:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553530880001,"66":27767,"183":206,"84":6144,"24":4,"16":388554051907747840,"45":-6714515177903876096},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553530880001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:52:34] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:52:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554051907747840,"km_value":388554051907747.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6714515177903876096,"description":"Unknown IO ID 45"} 
[2026-08-21 18:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553530880001,"power":27767,"unknown_183":206,"unknown_84":6144,"ignition":4,"odometer":null,"unknown_45":-6714515177903876096}} 
[2026-08-21 18:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":159253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:52:34] local.INFO: GPS data processed {"connection_id":159253,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:52:34] local.INFO: Acknowledgment sent {"connection_id":159253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:52:48] local.INFO: TCP Data received {"connection_id":159540,"ip":"85.217.149.21","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-21 18:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159540,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-21 18:52:48] local.INFO: Processing buffer {"connection_id":159540,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-21 18:52:49] local.INFO: TCP Data received {"connection_id":159252,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:52:49] local.INFO: Processing buffer {"connection_id":159252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:52:49] local.INFO: IMEI packet received {"connection_id":159252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":159252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:52:53] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:53] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:53] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:52:54] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:54] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:54] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:52:57] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:57] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:57] local.INFO: IMEI packet received {"connection_id":159541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":159541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:52:58] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:58] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:52:58] local.INFO: IMEI packet received {"connection_id":159541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":159541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:52:58] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:58] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:52:58] local.INFO: IMEI packet received {"connection_id":161828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":161828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:52:59] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247cc1d8012d83968005d4fce8000a00aa29..."} 
[2026-08-21 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247cc1d8012d83968005d4fce8000a00aa29..."} 
[2026-08-21 18:52:59] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247cc1d8012d83968005d4fce8000a00aa29..."} 
[2026-08-21 18:52:59] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:52:59] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":763598464,"raw_latitude":97844456,"longitude_deg":76.3598464,"latitude_deg":9.7844456,"altitude":10,"angle":170,"satellites":41,"speed":29,"hex_longitude":"2d839680","hex_latitude":"05d4fce8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553546752001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121893942114385920,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8966737201788379136,"note":"Value kept but may cause issues"} 
[2026-08-21 18:52:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318551000,"timestamp_ms":1787318551000,"timestamp_seconds":1787318551,"priority":1,"record_length":96,"hex_timestamp":"000001a0247cc1d8"} 
[2026-08-21 18:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-08-21 18:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553546752001,"66":13504,"219":206,"85":15104,"24":29,"16":121893942114385920,"45":-8966737201788379136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-21 18:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553546752001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121893942114385920,"km_value":121893942114385.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8966737201788379136,"description":"Unknown IO ID 45"} 
[2026-08-21 18:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553546752001,"power":13504,"unknown_219":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-8966737201788379136}} 
[2026-08-21 18:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:52:59] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:52:59] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:53:00] local.INFO: TCP Data received {"connection_id":159252,"ip":"42.109.136.3","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-21 18:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159252,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-21 18:53:00] local.INFO: Processing buffer {"connection_id":159252,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-08-21 18:53:00] local.INFO: IMEI packet received {"connection_id":159252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":159252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:53:01] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:53:01] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:53:01] local.INFO: IMEI packet received {"connection_id":159541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":159541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:53:02] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247bc008012da2cfc0054e1390001101332c..."} 
[2026-08-21 18:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247bc008012da2cfc0054e1390001101332c..."} 
[2026-08-21 18:53:02] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247bc008012da2cfc0054e1390001101332c..."} 
[2026-08-21 18:53:02] local.INFO: Packet analysis {"connection_id":159541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:53:02] local.INFO: Extracted packet for processing {"connection_id":159541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:53:02] local.INFO: GPS Element Parsed {"raw_longitude":765644736,"raw_latitude":89002896,"longitude_deg":76.5644736,"latitude_deg":8.9002896,"altitude":17,"angle":307,"satellites":44,"speed":1,"hex_longitude":"2da2cfc0","hex_latitude":"054e1390","is_valid_coordinates":true} 
[2026-08-21 18:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553531648001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554060497682432,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6714796652880517120,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787318485000,"timestamp_ms":1787318485000,"timestamp_seconds":1787318485,"priority":1,"record_length":96,"hex_timestamp":"000001a0247bc008"} 
[2026-08-21 18:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:53: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-08-21 18:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553531648001,"66":27767,"183":206,"84":6144,"24":1,"16":388554060497682432,"45":-6714796652880517120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553531648001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:53:02] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:53:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554060497682432,"km_value":388554060497682.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6714796652880517120,"description":"Unknown IO ID 45"} 
[2026-08-21 18:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553531648001,"power":27767,"unknown_183":206,"unknown_84":6144,"ignition":1,"odometer":null,"unknown_45":-6714796652880517120}} 
[2026-08-21 18:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":159541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:53:02] local.INFO: GPS data processed {"connection_id":159541,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:53:02] local.INFO: Acknowledgment sent {"connection_id":159541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:53:30] local.INFO: TCP Data received {"connection_id":161828,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247cecd0012d839c8005d4d990000a00a829..."} 
[2026-08-21 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247cecd0012d839c8005d4d990000a00a829..."} 
[2026-08-21 18:53:30] local.INFO: Processing buffer {"connection_id":161828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247cecd0012d839c8005d4d990000a00a829..."} 
[2026-08-21 18:53:30] local.INFO: Packet analysis {"connection_id":161828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:53:30] local.INFO: Extracted packet for processing {"connection_id":161828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763600000,"raw_latitude":97835408,"longitude_deg":76.36,"latitude_deg":9.7835408,"altitude":10,"angle":168,"satellites":41,"speed":36,"hex_longitude":"2d839c80","hex_latitude":"05d4d990","is_valid_coordinates":true} 
[2026-08-21 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553549056001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121894388790984704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8964837245697857536,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318562000,"timestamp_ms":1787318562000,"timestamp_seconds":1787318562,"priority":1,"record_length":96,"hex_timestamp":"000001a0247cecd0"} 
[2026-08-21 18:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-08-21 18:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2186,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553549056001,"66":12341,"219":206,"85":15104,"24":36,"16":121894388790984704,"45":-8964837245697857536},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-21 18:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553549056001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:53:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121894388790984704,"km_value":121894388790984.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8964837245697857536,"description":"Unknown IO ID 45"} 
[2026-08-21 18:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553549056001,"power":12341,"unknown_219":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":-8964837245697857536}} 
[2026-08-21 18:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":161828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677293,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:53:30] local.INFO: GPS data processed {"connection_id":161828,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:53:30] local.INFO: Acknowledgment sent {"connection_id":161828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:53:33] local.INFO: TCP Data received {"connection_id":159541,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247bcbc0012da2cf40054e1418001101522d..."} 
[2026-08-21 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247bcbc0012da2cf40054e1418001101522d..."} 
[2026-08-21 18:53:33] local.INFO: Processing buffer {"connection_id":159541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247bcbc0012da2cf40054e1418001101522d..."} 
[2026-08-21 18:53:33] local.INFO: Packet analysis {"connection_id":159541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:53:33] local.INFO: Extracted packet for processing {"connection_id":159541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":765644608,"raw_latitude":89003032,"longitude_deg":76.5644608,"latitude_deg":8.9003032,"altitude":17,"angle":338,"satellites":45,"speed":1,"hex_longitude":"2da2cf40","hex_latitude":"054e1418","is_valid_coordinates":true} 
[2026-08-21 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553532160001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554069087617024,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6714937390368845824,"note":"Value kept but may cause issues"} 
[2026-08-21 18:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787318488000,"timestamp_ms":1787318488000,"timestamp_seconds":1787318488,"priority":1,"record_length":96,"hex_timestamp":"000001a0247bcbc0"} 
[2026-08-21 18:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 18:53: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-08-21 18:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553532160001,"66":27604,"183":206,"84":6144,"24":1,"16":388554069087617024,"45":-6714937390368845824},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553532160001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:53:33] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:53:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554069087617024,"km_value":388554069087617.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6714937390368845824,"description":"Unknown IO ID 45"} 
[2026-08-21 18:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553532160001,"power":27604,"unknown_183":206,"unknown_84":6144,"ignition":1,"odometer":null,"unknown_45":-6714937390368845824}} 
[2026-08-21 18:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":159541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:53:33] local.INFO: GPS data processed {"connection_id":159541,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:53:33] local.INFO: Acknowledgment sent {"connection_id":159541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:53:53] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:53] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:53] local.INFO: IMEI packet received {"connection_id":159254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":159254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:53:57] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:57] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:57] local.INFO: IMEI packet received {"connection_id":159254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":159254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:53:57] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:53:57] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:53:57] local.INFO: IMEI packet received {"connection_id":159255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":159255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:53:59] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:59] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:53:59] local.INFO: IMEI packet received {"connection_id":159254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":159254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:54:00] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247d13e0012d83a40005d4b420000a00a928..."} 
[2026-08-21 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247d13e0012d83a40005d4b420000a00a928..."} 
[2026-08-21 18:54:00] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247d13e0012d83a40005d4b420000a00a928..."} 
[2026-08-21 18:54:00] local.INFO: Packet analysis {"connection_id":159254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:54:00] local.INFO: Extracted packet for processing {"connection_id":159254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763601920,"raw_latitude":97825824,"longitude_deg":76.360192,"latitude_deg":9.7825824,"altitude":10,"angle":169,"satellites":40,"speed":41,"hex_longitude":"2d83a400","hex_latitude":"05d4b420","is_valid_coordinates":true} 
[2026-08-21 18:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553551872001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121894861237387264,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8963148395839909888,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787318572000,"timestamp_ms":1787318572000,"timestamp_seconds":1787318572,"priority":1,"record_length":96,"hex_timestamp":"000001a0247d13e0"} 
[2026-08-21 18:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 18:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553551872001,"66":12439,"219":206,"85":15104,"24":41,"16":121894861237387264,"45":-8963148395839909888},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-21 18:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553551872001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:54:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121894861237387264,"km_value":121894861237387.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8963148395839909888,"description":"Unknown IO ID 45"} 
[2026-08-21 18:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553551872001,"power":12439,"unknown_219":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-8963148395839909888}} 
[2026-08-21 18:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":159254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:54:00] local.INFO: GPS data processed {"connection_id":159254,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:54:00] local.INFO: Acknowledgment sent {"connection_id":159254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:54:02] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:02] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:02] local.INFO: IMEI packet received {"connection_id":159255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":159255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:54:03] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247beb00012da2cec0054e14b00010013a2c..."} 
[2026-08-21 18:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247beb00012da2cec0054e14b00010013a2c..."} 
[2026-08-21 18:54:03] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247beb00012da2cec0054e14b00010013a2c..."} 
[2026-08-21 18:54:03] local.INFO: Packet analysis {"connection_id":159255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:54:03] local.INFO: Extracted packet for processing {"connection_id":159255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247b"} 
[2026-08-21 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":765644480,"raw_latitude":89003184,"longitude_deg":76.564448,"latitude_deg":8.9003184,"altitude":16,"angle":314,"satellites":44,"speed":2,"hex_longitude":"2da2cec0","hex_latitude":"054e14b0","is_valid_coordinates":true} 
[2026-08-21 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553532928001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554081972518912,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6715078127857166336,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318496000,"timestamp_ms":1787318496000,"timestamp_seconds":1787318496,"priority":1,"record_length":96,"hex_timestamp":"000001a0247beb00"} 
[2026-08-21 18:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-08-21 18:54:03] 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-08-21 18:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553532928001,"66":27821,"183":206,"84":6144,"24":2,"16":388554081972518912,"45":-6715078127857166336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553532928001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:54:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:54:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554081972518912,"km_value":388554081972518.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6715078127857166336,"description":"Unknown IO ID 45"} 
[2026-08-21 18:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553532928001,"power":27821,"unknown_183":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6715078127857166336}} 
[2026-08-21 18:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":159255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:54:03] local.INFO: GPS data processed {"connection_id":159255,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:54:03] local.INFO: Acknowledgment sent {"connection_id":159255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:54:31] local.INFO: TCP Data received {"connection_id":159254,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247d3708012d83ac0005d48e88000a00a728..."} 
[2026-08-21 18:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247d3708012d83ac0005d48e88000a00a728..."} 
[2026-08-21 18:54:31] local.INFO: Processing buffer {"connection_id":159254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247d3708012d83ac0005d48e88000a00a728..."} 
[2026-08-21 18:54:31] local.INFO: Packet analysis {"connection_id":159254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:54:31] local.INFO: Extracted packet for processing {"connection_id":159254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763603968,"raw_latitude":97816200,"longitude_deg":76.3603968,"latitude_deg":9.78162,"altitude":10,"angle":167,"satellites":40,"speed":44,"hex_longitude":"2d83ac00","hex_latitude":"05d48e88","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553554432001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121895337978757120,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8961037333517033472,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787318581000,"timestamp_ms":1787318581000,"timestamp_seconds":1787318581,"priority":1,"record_length":96,"hex_timestamp":"000001a0247d3708"} 
[2026-08-21 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-08-21 18:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-08-21 18:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 18:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553554432001,"66":12232,"219":206,"85":15104,"24":44,"16":121895337978757120,"45":-8961037333517033472},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-21 18:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553554432001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:54:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121895337978757120,"km_value":121895337978757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8961037333517033472,"description":"Unknown IO ID 45"} 
[2026-08-21 18:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553554432001,"power":12232,"unknown_219":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-8961037333517033472}} 
[2026-08-21 18:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":159254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:54:31] local.INFO: GPS data processed {"connection_id":159254,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:54:31] local.INFO: Acknowledgment sent {"connection_id":159254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:54:34] local.INFO: TCP Data received {"connection_id":159255,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247c3d08012da2cbc0054e18d0000f013b2b..."} 
[2026-08-21 18:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247c3d08012da2cbc0054e18d0000f013b2b..."} 
[2026-08-21 18:54:34] local.INFO: Processing buffer {"connection_id":159255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247c3d08012da2cbc0054e18d0000f013b2b..."} 
[2026-08-21 18:54:34] local.INFO: Packet analysis {"connection_id":159255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:54:34] local.INFO: Extracted packet for processing {"connection_id":159255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:54:34] local.INFO: GPS Element Parsed {"raw_longitude":765643712,"raw_latitude":89004240,"longitude_deg":76.5643712,"latitude_deg":8.900424,"altitude":15,"angle":315,"satellites":43,"speed":5,"hex_longitude":"2da2cbc0","hex_latitude":"054e18d0","is_valid_coordinates":true} 
[2026-08-21 18:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553534976001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554146397028352,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6715218865345482752,"note":"Value kept but may cause issues"} 
[2026-08-21 18:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787318517000,"timestamp_ms":1787318517000,"timestamp_seconds":1787318517,"priority":1,"record_length":96,"hex_timestamp":"000001a0247c3d08"} 
[2026-08-21 18:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:54: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-08-21 18:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 18:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553534976001,"66":27713,"183":206,"84":6144,"24":5,"16":388554146397028352,"45":-6715218865345482752},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553534976001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:54:34] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:54:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554146397028352,"km_value":388554146397028.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6715218865345482752,"description":"Unknown IO ID 45"} 
[2026-08-21 18:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553534976001,"power":27713,"unknown_183":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6715218865345482752}} 
[2026-08-21 18:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":159255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:54:34] local.INFO: GPS data processed {"connection_id":159255,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:54:34] local.INFO: Acknowledgment sent {"connection_id":159255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:54:56] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:56] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:56] local.INFO: IMEI packet received {"connection_id":159543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":159543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:54:57] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:57] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:54:57] local.INFO: IMEI packet received {"connection_id":159543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":159543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:54:58] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:54:58] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:54:58] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:54:59] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:54:59] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:54:59] local.INFO: IMEI packet received {"connection_id":160439,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":160439,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:55:00] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247d5a30012d83b40005d469a0000900a728..."} 
[2026-08-21 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247d5a30012d83b40005d469a0000900a728..."} 
[2026-08-21 18:55:00] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247d5a30012d83b40005d469a0000900a728..."} 
[2026-08-21 18:55:00] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:55:00] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763606016,"raw_latitude":97806752,"longitude_deg":76.3606016,"latitude_deg":9.7806752,"altitude":9,"angle":167,"satellites":40,"speed":38,"hex_longitude":"2d83b400","hex_latitude":"05d469a0","is_valid_coordinates":true} 
[2026-08-21 18:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553556736001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121895806130192384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958785533705811968,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787318590000,"timestamp_ms":1787318590000,"timestamp_seconds":1787318590,"priority":1,"record_length":96,"hex_timestamp":"000001a0247d5a30"} 
[2026-08-21 18:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 18:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553556736001,"66":12341,"219":206,"85":15104,"24":38,"16":121895806130192384,"45":-8958785533705811968},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-21 18:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553556736001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:55:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121895806130192384,"km_value":121895806130192.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958785533705811968,"description":"Unknown IO ID 45"} 
[2026-08-21 18:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553556736001,"power":12341,"unknown_219":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":-8958785533705811968}} 
[2026-08-21 18:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:55:00] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:55:00] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:55:02] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:55:02] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:55:02] local.INFO: IMEI packet received {"connection_id":159543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":159543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:55:03] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247c6fd0012da2c740054e1d20001001482b..."} 
[2026-08-21 18:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247c6fd0012da2c740054e1d20001001482b..."} 
[2026-08-21 18:55:03] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247c6fd0012da2c740054e1d20001001482b..."} 
[2026-08-21 18:55:03] local.INFO: Packet analysis {"connection_id":159543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:55:03] local.INFO: Extracted packet for processing {"connection_id":159543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:55:03] local.INFO: GPS Element Parsed {"raw_longitude":765642560,"raw_latitude":89005344,"longitude_deg":76.564256,"latitude_deg":8.9005344,"altitude":16,"angle":328,"satellites":43,"speed":2,"hex_longitude":"2da2c740","hex_latitude":"054e1d20","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553540352001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554223706439680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6716063290275344384,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318530000,"timestamp_ms":1787318530000,"timestamp_seconds":1787318530,"priority":1,"record_length":96,"hex_timestamp":"000001a0247c6fd0"} 
[2026-08-21 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-08-21 18:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-08-21 18:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 18:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553540352001,"66":27789,"183":206,"84":6144,"24":2,"16":388554223706439680,"45":-6716063290275344384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553540352001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:55:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:55:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554223706439680,"km_value":388554223706439.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6716063290275344384,"description":"Unknown IO ID 45"} 
[2026-08-21 18:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553540352001,"power":27789,"unknown_183":206,"unknown_84":6144,"ignition":2,"odometer":null,"unknown_45":-6716063290275344384}} 
[2026-08-21 18:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":159543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:55:03] local.INFO: GPS data processed {"connection_id":159543,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:55:03] local.INFO: Acknowledgment sent {"connection_id":159543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:55:04] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247d8528012d83ba0005d446a8000b00ac29..."} 
[2026-08-21 18:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247d8528012d83ba0005d446a8000b00ac29..."} 
[2026-08-21 18:55:04] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247d8528012d83ba0005d446a8000b00ac29..."} 
[2026-08-21 18:55:04] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:55:04] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247d"} 
[2026-08-21 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":763607552,"raw_latitude":97797800,"longitude_deg":76.3607552,"latitude_deg":9.77978,"altitude":11,"angle":172,"satellites":41,"speed":34,"hex_longitude":"2d83ba00","hex_latitude":"05d446a8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553559040001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121896248511823872,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8956533733894545408,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787318601000,"timestamp_ms":1787318601000,"timestamp_seconds":1787318601,"priority":1,"record_length":96,"hex_timestamp":"000001a0247d8528"} 
[2026-08-21 18:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 18:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553559040001,"66":12385,"219":206,"85":15104,"24":34,"16":121896248511823872,"45":-8956533733894545408},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-08-21 18:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553559040001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:55:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-08-21 18:55:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121896248511823872,"km_value":121896248511823.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8956533733894545408,"description":"Unknown IO ID 45"} 
[2026-08-21 18:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553559040001,"power":12385,"unknown_219":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-8956533733894545408}} 
[2026-08-21 18:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677301,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:55:04] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:55:04] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:55:35] local.INFO: TCP Data received {"connection_id":160439,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247f6d70012d83fdc005d2c258000c00b227..."} 
[2026-08-21 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247f6d70012d83fdc005d2c258000c00b227..."} 
[2026-08-21 18:55:35] local.INFO: Processing buffer {"connection_id":160439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247f6d70012d83fdc005d2c258000c00b227..."} 
[2026-08-21 18:55:35] local.INFO: Packet analysis {"connection_id":160439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:55:35] local.INFO: Extracted packet for processing {"connection_id":160439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":763624896,"raw_latitude":97698392,"longitude_deg":76.3624896,"latitude_deg":9.7698392,"altitude":12,"angle":178,"satellites":39,"speed":40,"hex_longitude":"2d83fdc0","hex_latitude":"05d2c258","is_valid_coordinates":true} 
[2026-08-21 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553591552001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121901196314148864,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935986060620015616,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787318726000,"timestamp_ms":1787318726000,"timestamp_seconds":1787318726,"priority":1,"record_length":96,"hex_timestamp":"000001a0247f6d70"} 
[2026-08-21 18:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-08-21 18:55:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160439,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553591552001,"66":12374,"220":206,"85":15104,"24":40,"16":121901196314148864,"45":-8935986060620015616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553591552001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121901196314148864,"km_value":121901196314148.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935986060620015616,"description":"Unknown IO ID 45"} 
[2026-08-21 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553591552001,"power":12374,"unknown_220":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-8935986060620015616}} 
[2026-08-21 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":160439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:55:35] local.INFO: GPS data processed {"connection_id":160439,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:55:35] local.INFO: Acknowledgment sent {"connection_id":160439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:55:35] local.INFO: TCP Data received {"connection_id":159543,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247c96e0012da2c580054e20a00010015428..."} 
[2026-08-21 18:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247c96e0012da2c580054e20a00010015428..."} 
[2026-08-21 18:55:35] local.INFO: Processing buffer {"connection_id":159543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247c96e0012da2c580054e20a00010015428..."} 
[2026-08-21 18:55:35] local.INFO: Packet analysis {"connection_id":159543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:55:35] local.INFO: Extracted packet for processing {"connection_id":159543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":765642112,"raw_latitude":89006240,"longitude_deg":76.5642112,"latitude_deg":8.900624,"altitude":16,"angle":340,"satellites":40,"speed":6,"hex_longitude":"2da2c580","hex_latitude":"054e20a0","is_valid_coordinates":true} 
[2026-08-21 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:55:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553543680001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554275246047232,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6717329927670259712,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:55:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787318540000,"timestamp_ms":1787318540000,"timestamp_seconds":1787318540,"priority":1,"record_length":96,"hex_timestamp":"000001a0247c96e0"} 
[2026-08-21 18:55:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:55:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:55:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 18:55:35] 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-08-21 18:55:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:55:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:55:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:55:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:55:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:55:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:55:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553543680001,"66":27517,"183":206,"84":6144,"24":6,"16":388554275246047232,"45":-6717329927670259712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:55:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:55:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553543680001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:55:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554275246047232,"km_value":388554275246047.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:55:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6717329927670259712,"description":"Unknown IO ID 45"} 
[2026-08-21 18:55:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553543680001,"power":27517,"unknown_183":206,"unknown_84":6144,"ignition":6,"odometer":null,"unknown_45":-6717329927670259712}} 
[2026-08-21 18:55:35] local.INFO: DEBUG: GPS processor result {"connection_id":159543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:55:35] local.INFO: GPS data processed {"connection_id":159543,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:55:35] local.INFO: Acknowledgment sent {"connection_id":159543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:55:53] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:55:53] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:55:53] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:55:57] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:55:57] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:55:57] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:55:57] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:55:57] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:55:57] local.INFO: IMEI packet received {"connection_id":161829,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":161829,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:55:58] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247f7d10012d83fcc005d2b2f8000c00c127..."} 
[2026-08-21 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247f7d10012d83fcc005d2b2f8000c00c127..."} 
[2026-08-21 18:55:58] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247f7d10012d83fcc005d2b2f8000c00c127..."} 
[2026-08-21 18:55:58] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:55:58] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763624640,"raw_latitude":97694456,"longitude_deg":76.362464,"latitude_deg":9.7694456,"altitude":12,"angle":193,"satellites":39,"speed":40,"hex_longitude":"2d83fcc0","hex_latitude":"05d2b2f8","is_valid_coordinates":true} 
[2026-08-21 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553593856001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121901385292709888,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935774954389874688,"note":"Value kept but may cause issues"} 
[2026-08-21 18:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787318730000,"timestamp_ms":1787318730000,"timestamp_seconds":1787318730,"priority":1,"record_length":96,"hex_timestamp":"000001a0247f7d10"} 
[2026-08-21 18:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 18:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553593856001,"66":12385,"220":206,"85":15104,"24":40,"16":121901385292709888,"45":-8935774954389874688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-21 18:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553593856001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:55:58] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121901385292709888,"km_value":121901385292709.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935774954389874688,"description":"Unknown IO ID 45"} 
[2026-08-21 18:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553593856001,"power":12385,"unknown_220":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-8935774954389874688}} 
[2026-08-21 18:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:55:58] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:55:58] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:56:02] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:56:02] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:56:02] local.INFO: IMEI packet received {"connection_id":161830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":161830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:56:03] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247ca298012da2c4c0054e22200010014829..."} 
[2026-08-21 18:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247ca298012da2c4c0054e22200010014829..."} 
[2026-08-21 18:56:03] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247ca298012da2c4c0054e22200010014829..."} 
[2026-08-21 18:56:03] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:56:03] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247c"} 
[2026-08-21 18:56:03] local.INFO: GPS Element Parsed {"raw_longitude":765641920,"raw_latitude":89006624,"longitude_deg":76.564192,"latitude_deg":8.9006624,"altitude":16,"angle":328,"satellites":41,"speed":5,"hex_longitude":"2da2c4c0","hex_latitude":"054e2220","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553546240001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388554296720883712,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6717822508879273984,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318543000,"timestamp_ms":1787318543000,"timestamp_seconds":1787318543,"priority":1,"record_length":96,"hex_timestamp":"000001a0247ca298"} 
[2026-08-21 18:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-08-21 18:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18: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-08-21 18:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553546240001,"66":27821,"183":206,"84":6144,"24":5,"16":388554296720883712,"45":-6717822508879273984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,84,24,16,45]} 
[2026-08-21 18:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553546240001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:56:03] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 18:56:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388554296720883712,"km_value":388554296720883.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6717822508879273984,"description":"Unknown IO ID 45"} 
[2026-08-21 18:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553546240001,"power":27821,"unknown_183":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6717822508879273984}} 
[2026-08-21 18:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:56:03] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:56:03] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:56:29] local.INFO: TCP Data received {"connection_id":161829,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247f84e0012d83f98005d2aba8000c00ce27..."} 
[2026-08-21 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247f84e0012d83f98005d2aba8000c00ce27..."} 
[2026-08-21 18:56:29] local.INFO: Processing buffer {"connection_id":161829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247f84e0012d83f98005d2aba8000c00ce27..."} 
[2026-08-21 18:56:29] local.INFO: Packet analysis {"connection_id":161829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:56:29] local.INFO: Extracted packet for processing {"connection_id":161829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763623808,"raw_latitude":97692584,"longitude_deg":76.3623808,"latitude_deg":9.7692584,"altitude":12,"angle":206,"satellites":39,"speed":39,"hex_longitude":"2d83f980","hex_latitude":"05d2aba8","is_valid_coordinates":true} 
[2026-08-21 18:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553594880001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121901484076957696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8936056429367592960,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787318732000,"timestamp_ms":1787318732000,"timestamp_seconds":1787318732,"priority":1,"record_length":96,"hex_timestamp":"000001a0247f84e0"} 
[2026-08-21 18:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 18:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161829,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:56:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553594880001,"66":12341,"220":206,"85":15104,"24":39,"16":121901484076957696,"45":-8936056429367592960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-21 18:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553594880001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:56:29] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121901484076957696,"km_value":121901484076957.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8936056429367592960,"description":"Unknown IO ID 45"} 
[2026-08-21 18:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553594880001,"power":12341,"unknown_220":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8936056429367592960}} 
[2026-08-21 18:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":161829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:56:30] local.INFO: GPS data processed {"connection_id":161829,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:56:30] local.INFO: Acknowledgment sent {"connection_id":161829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:56:34] local.INFO: TCP Data received {"connection_id":161830,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247f7928012da264c0054ed610000e01422c..."} 
[2026-08-21 18:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247f7928012da264c0054ed610000e01422c..."} 
[2026-08-21 18:56:34] local.INFO: Processing buffer {"connection_id":161830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247f7928012da264c0054ed610000e01422c..."} 
[2026-08-21 18:56:34] local.INFO: Packet analysis {"connection_id":161830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:56:34] local.INFO: Extracted packet for processing {"connection_id":161830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:56:34] local.INFO: GPS Element Parsed {"raw_longitude":765617344,"raw_latitude":89052688,"longitude_deg":76.5617344,"latitude_deg":8.9052688,"altitude":14,"angle":322,"satellites":44,"speed":16,"hex_longitude":"2da264c0","hex_latitude":"054ed610","is_valid_coordinates":true} 
[2026-08-21 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553590784001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388556843636490240,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6739003500866684928,"note":"Value kept but may cause issues"} 
[2026-08-21 18:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787318729000,"timestamp_ms":1787318729000,"timestamp_seconds":1787318729,"priority":1,"record_length":96,"hex_timestamp":"000001a0247f7928"} 
[2026-08-21 18:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:56: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-08-21 18:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 18:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553590784001,"66":27300,"23":206,"84":6144,"24":16,"16":388556843636490240,"45":-6739003500866684928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-08-21 18:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553590784001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:56:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 18:56:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388556843636490240,"km_value":388556843636490.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6739003500866684928,"description":"Unknown IO ID 45"} 
[2026-08-21 18:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553590784001,"power":27300,"unknown_23":206,"unknown_84":6144,"ignition":16,"odometer":null,"unknown_45":-6739003500866684928}} 
[2026-08-21 18:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":161830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:56:34] local.INFO: GPS data processed {"connection_id":161830,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:56:34] local.INFO: Acknowledgment sent {"connection_id":161830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:56:53] local.INFO: TCP Data received {"connection_id":159257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:56:53] local.INFO: Processing buffer {"connection_id":159257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:56:53] local.INFO: IMEI packet received {"connection_id":159257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":159257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:56:58] local.INFO: TCP Data received {"connection_id":159257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:56:58] local.INFO: Processing buffer {"connection_id":159257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:56:58] local.INFO: IMEI packet received {"connection_id":159257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":159257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:56:59] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:56:59] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:56:59] local.INFO: IMEI packet received {"connection_id":159544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":159544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:57:00] local.INFO: TCP Data received {"connection_id":159257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247f9480012d83f44005d29d28000d00bc27..."} 
[2026-08-21 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247f9480012d83f44005d29d28000d00bc27..."} 
[2026-08-21 18:57:00] local.INFO: Processing buffer {"connection_id":159257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247f9480012d83f44005d29d28000d00bc27..."} 
[2026-08-21 18:57:00] local.INFO: Packet analysis {"connection_id":159257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:00] local.INFO: Extracted packet for processing {"connection_id":159257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":763622464,"raw_latitude":97688872,"longitude_deg":76.3622464,"latitude_deg":9.7688872,"altitude":13,"angle":188,"satellites":39,"speed":39,"hex_longitude":"2d83f440","hex_latitude":"05d29d28","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553595392001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121901677350486016,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8936971223042381824,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787318736000,"timestamp_ms":1787318736000,"timestamp_seconds":1787318736,"priority":1,"record_length":96,"hex_timestamp":"000001a0247f9480"} 
[2026-08-21 18:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 18:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553595392001,"66":12363,"220":206,"85":15104,"24":39,"16":121901677350486016,"45":-8936971223042381824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-21 18:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553595392001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121901677350486016,"km_value":121901677350486.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8936971223042381824,"description":"Unknown IO ID 45"} 
[2026-08-21 18:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553595392001,"power":12363,"unknown_220":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-8936971223042381824}} 
[2026-08-21 18:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":159257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:57:00] local.INFO: GPS data processed {"connection_id":159257,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:57:00] local.INFO: Acknowledgment sent {"connection_id":159257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:57:02] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:02] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:02] local.INFO: IMEI packet received {"connection_id":159544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":159544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:57:07] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:07] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:07] local.INFO: IMEI packet received {"connection_id":159544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":159544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:57:08] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247fc360012da257c0054ee9b8000d014d2c..."} 
[2026-08-21 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247fc360012da257c0054ee9b8000d014d2c..."} 
[2026-08-21 18:57:08] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247fc360012da257c0054ee9b8000d014d2c..."} 
[2026-08-21 18:57:08] local.INFO: Packet analysis {"connection_id":159544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:08] local.INFO: Extracted packet for processing {"connection_id":159544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":765614016,"raw_latitude":89057720,"longitude_deg":76.5614016,"latitude_deg":8.905772,"altitude":13,"angle":333,"satellites":44,"speed":12,"hex_longitude":"2da257c0","hex_latitude":"054ee9b8","is_valid_coordinates":true} 
[2026-08-21 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553594624001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388557139989233664,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6745055212864139264,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787318748000,"timestamp_ms":1787318748000,"timestamp_seconds":1787318748,"priority":1,"record_length":96,"hex_timestamp":"000001a0247fc360"} 
[2026-08-21 18:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 18:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553594624001,"66":27300,"23":206,"84":6144,"24":12,"16":388557139989233664,"45":-6745055212864139264},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-08-21 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553594624001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388557139989233664,"km_value":388557139989233.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6745055212864139264,"description":"Unknown IO ID 45"} 
[2026-08-21 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553594624001,"power":27300,"unknown_23":206,"unknown_84":6144,"ignition":12,"odometer":null,"unknown_45":-6745055212864139264}} 
[2026-08-21 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":159544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:57:08] local.INFO: GPS data processed {"connection_id":159544,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:57:08] local.INFO: Acknowledgment sent {"connection_id":159544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:57:11] local.INFO: TCP Data received {"connection_id":159544,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247fdad0012da25440054eefb8000e01402d..."} 
[2026-08-21 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247fdad0012da25440054eefb8000e01402d..."} 
[2026-08-21 18:57:11] local.INFO: Processing buffer {"connection_id":159544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247fdad0012da25440054eefb8000e01402d..."} 
[2026-08-21 18:57:11] local.INFO: Packet analysis {"connection_id":159544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:11] local.INFO: Extracted packet for processing {"connection_id":159544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":765613120,"raw_latitude":89059256,"longitude_deg":76.561312,"latitude_deg":8.9059256,"altitude":14,"angle":320,"satellites":45,"speed":15,"hex_longitude":"2da25440","hex_latitude":"054eefb8","is_valid_coordinates":true} 
[2026-08-21 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553599488001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388557225888579584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6748714387560089600,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787318754000,"timestamp_ms":1787318754000,"timestamp_seconds":1787318754,"priority":1,"record_length":96,"hex_timestamp":"000001a0247fdad0"} 
[2026-08-21 18:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 18:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553599488001,"66":27289,"23":206,"84":6144,"24":15,"16":388557225888579584,"45":-6748714387560089600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-08-21 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553599488001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:57:11] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 18:57:11] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388557225888579584,"km_value":388557225888579.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6748714387560089600,"description":"Unknown IO ID 45"} 
[2026-08-21 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553599488001,"power":27289,"unknown_23":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6748714387560089600}} 
[2026-08-21 18:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":159544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:57:11] local.INFO: GPS data processed {"connection_id":159544,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:57:11] local.INFO: Acknowledgment sent {"connection_id":159544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:57:30] local.INFO: TCP Data received {"connection_id":159257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0247fb3c0012d83f38005d27b48000c00af27..."} 
[2026-08-21 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247fb3c0012d83f38005d27b48000c00af27..."} 
[2026-08-21 18:57:30] local.INFO: Processing buffer {"connection_id":159257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247fb3c0012d83f38005d27b48000c00af27..."} 
[2026-08-21 18:57:30] local.INFO: Packet analysis {"connection_id":159257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:30] local.INFO: Extracted packet for processing {"connection_id":159257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763622272,"raw_latitude":97680200,"longitude_deg":76.3622272,"latitude_deg":9.76802,"altitude":12,"angle":175,"satellites":39,"speed":42,"hex_longitude":"2d83f380","hex_latitude":"05d27b48","is_valid_coordinates":true} 
[2026-08-21 18:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553596416001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121902098257281024,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8938448966671063040,"note":"Value kept but may cause issues"} 
[2026-08-21 18:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318744000,"timestamp_ms":1787318744000,"timestamp_seconds":1787318744,"priority":1,"record_length":96,"hex_timestamp":"000001a0247fb3c0"} 
[2026-08-21 18:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-21 18:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553596416001,"66":12385,"220":206,"85":15104,"24":42,"16":121902098257281024,"45":-8938448966671063040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-21 18:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553596416001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:57:30] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121902098257281024,"km_value":121902098257281.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8938448966671063040,"description":"Unknown IO ID 45"} 
[2026-08-21 18:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553596416001,"power":12385,"unknown_220":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":-8938448966671063040}} 
[2026-08-21 18:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":159257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:57:31] local.INFO: GPS data processed {"connection_id":159257,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:57:31] local.INFO: Acknowledgment sent {"connection_id":159257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:57:53] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:57:53] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:57:53] local.INFO: IMEI packet received {"connection_id":159258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":159258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:57:54] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:54] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:54] local.INFO: IMEI packet received {"connection_id":161832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":161832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:57:57] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:57] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:57:57] local.INFO: IMEI packet received {"connection_id":161832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":161832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:57:58] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:57:58] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:57:58] local.INFO: IMEI packet received {"connection_id":159258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":159258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:58:01] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:58:01] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:58:01] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:58:02] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:58:02] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:58:02] local.INFO: IMEI packet received {"connection_id":161832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":161832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:58:02] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248159a0012d8401c005d11a98000800b128..."} 
[2026-08-21 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248159a0012d8401c005d11a98000800b128..."} 
[2026-08-21 18:58:02] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248159a0012d8401c005d11a98000800b128..."} 
[2026-08-21 18:58:02] local.INFO: Packet analysis {"connection_id":159258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:58:02] local.INFO: Extracted packet for processing {"connection_id":159258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763625920,"raw_latitude":97589912,"longitude_deg":76.362592,"latitude_deg":9.7589912,"altitude":8,"angle":177,"satellites":40,"speed":45,"hex_longitude":"2d8401c0","hex_latitude":"05d11a98","is_valid_coordinates":true} 
[2026-08-21 18:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553624064001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121906552138366976,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8935071266973573120,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787318852000,"timestamp_ms":1787318852000,"timestamp_seconds":1787318852,"priority":1,"record_length":96,"hex_timestamp":"000001a0248159a0"} 
[2026-08-21 18:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 18:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553624064001,"66":12287,"220":206,"85":15104,"24":45,"16":121906552138366976,"45":-8935071266973573120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-21 18:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553624064001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:58:02] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121906552138366976,"km_value":121906552138366.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8935071266973573120,"description":"Unknown IO ID 45"} 
[2026-08-21 18:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553624064001,"power":12287,"unknown_220":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-8935071266973573120}} 
[2026-08-21 18:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":159258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:58:02] local.INFO: GPS data processed {"connection_id":159258,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:58:02] local.INFO: Acknowledgment sent {"connection_id":159258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:58:03] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247ffdf8012da24b00054effa8000e014c2d..."} 
[2026-08-21 18:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247ffdf8012da24b00054effa8000e014c2d..."} 
[2026-08-21 18:58:03] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247ffdf8012da24b00054effa8000e014c2d..."} 
[2026-08-21 18:58:03] local.INFO: Packet analysis {"connection_id":161832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:58:03] local.INFO: Extracted packet for processing {"connection_id":161832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":765610752,"raw_latitude":89063336,"longitude_deg":76.5610752,"latitude_deg":8.9063336,"altitude":14,"angle":332,"satellites":45,"speed":28,"hex_longitude":"2da24b00","hex_latitude":"054effa8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 18:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553601024001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388557453521846272,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6749699549978183680,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318763000,"timestamp_ms":1787318763000,"timestamp_seconds":1787318763,"priority":1,"record_length":96,"hex_timestamp":"000001a0247ffdf8"} 
[2026-08-21 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-08-21 18:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 18:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 18:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553601024001,"66":27365,"23":206,"84":6144,"24":28,"16":388557453521846272,"45":-6749699549978183680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-08-21 18:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553601024001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:58:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 18:58:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388557453521846272,"km_value":388557453521846.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6749699549978183680,"description":"Unknown IO ID 45"} 
[2026-08-21 18:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553601024001,"power":27365,"unknown_23":206,"unknown_84":6144,"ignition":28,"odometer":null,"unknown_45":-6749699549978183680}} 
[2026-08-21 18:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":161832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:58:03] local.INFO: GPS data processed {"connection_id":161832,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:58:03] local.INFO: Acknowledgment sent {"connection_id":161832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:58:06] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:58:06] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:58:06] local.INFO: IMEI packet received {"connection_id":161833,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":161833,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:58:07] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0247fea70012d19ab800720afa8003b011c27..."} 
[2026-08-21 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0247fea70012d19ab800720afa8003b011c27..."} 
[2026-08-21 18:58:07] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0247fea70012d19ab800720afa8003b011c27..."} 
[2026-08-21 18:58:07] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:58:07] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0247f"} 
[2026-08-21 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":756657024,"raw_latitude":119582632,"longitude_deg":75.6657024,"latitude_deg":11.9582632,"altitude":59,"angle":284,"satellites":39,"speed":22,"hex_longitude":"2d19ab80","hex_latitude":"0720afa8","is_valid_coordinates":true} 
[2026-08-21 18:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553598464001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14305161673441280,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855342339600844800,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787318758000,"timestamp_ms":1787318758000,"timestamp_seconds":1787318758,"priority":1,"record_length":96,"hex_timestamp":"000001a0247fea70"} 
[2026-08-21 18:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-08-21 18:58:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553598464001,"66":12982,"103":206,"83":41984,"24":22,"16":14305161673441280,"45":1855342339600844800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553598464001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:58:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:58:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14305161673441280,"km_value":14305161673441.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855342339600844800,"description":"Unknown IO ID 45"} 
[2026-08-21 18:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553598464001,"power":12982,"unknown_103":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1855342339600844800}} 
[2026-08-21 18:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:58:07] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:58:07] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:58:33] local.INFO: TCP Data received {"connection_id":159258,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248178e0012d84030005d0f658000700b027..."} 
[2026-08-21 18:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248178e0012d84030005d0f658000700b027..."} 
[2026-08-21 18:58:33] local.INFO: Processing buffer {"connection_id":159258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248178e0012d84030005d0f658000700b027..."} 
[2026-08-21 18:58:33] local.INFO: Packet analysis {"connection_id":159258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:58:33] local.INFO: Extracted packet for processing {"connection_id":159258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763626240,"raw_latitude":97580632,"longitude_deg":76.362624,"latitude_deg":9.7580632,"altitude":7,"angle":176,"satellites":39,"speed":43,"hex_longitude":"2d840300","hex_latitude":"05d0f658","is_valid_coordinates":true} 
[2026-08-21 18:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553626112001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121907003109933056,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934649054510802944,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,220,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787318860000,"timestamp_ms":1787318860000,"timestamp_seconds":1787318860,"priority":1,"record_length":96,"hex_timestamp":"000001a0248178e0"} 
[2026-08-21 18:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 18:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553626112001,"66":12374,"220":206,"85":15104,"24":43,"16":121907003109933056,"45":-8934649054510802944},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,220,85,24,16,45]} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553626112001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":220,"value":206,"description":"Unknown IO ID 220"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121907003109933056,"km_value":121907003109933.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934649054510802944,"description":"Unknown IO ID 45"} 
[2026-08-21 18:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553626112001,"power":12374,"unknown_220":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-8934649054510802944}} 
[2026-08-21 18:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":159258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:58:33] local.INFO: GPS data processed {"connection_id":159258,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:58:33] local.INFO: Acknowledgment sent {"connection_id":159258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:58:33] local.INFO: TCP Data received {"connection_id":161832,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024801568012da24540054f0f18000f01572c..."} 
[2026-08-21 18:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024801568012da24540054f0f18000f01572c..."} 
[2026-08-21 18:58:33] local.INFO: Processing buffer {"connection_id":161832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024801568012da24540054f0f18000f01572c..."} 
[2026-08-21 18:58:33] local.INFO: Packet analysis {"connection_id":161832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:58:33] local.INFO: Extracted packet for processing {"connection_id":161832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:58:33] local.INFO: GPS Element Parsed {"raw_longitude":765609280,"raw_latitude":89067288,"longitude_deg":76.560928,"latitude_deg":8.9067288,"altitude":15,"angle":343,"satellites":44,"speed":26,"hex_longitude":"2da24540","hex_latitude":"054f0f18","is_valid_coordinates":true} 
[2026-08-21 18:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553603328001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388557659680276480,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6752303193511712768,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787318769000,"timestamp_ms":1787318769000,"timestamp_seconds":1787318769,"priority":1,"record_length":96,"hex_timestamp":"000001a024801568"} 
[2026-08-21 18:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 18:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553603328001,"66":27332,"23":206,"84":6144,"24":26,"16":388557659680276480,"45":-6752303193511712768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-08-21 18:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553603328001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388557659680276480,"km_value":388557659680276.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6752303193511712768,"description":"Unknown IO ID 45"} 
[2026-08-21 18:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553603328001,"power":27332,"unknown_23":206,"unknown_84":6144,"ignition":26,"odometer":null,"unknown_45":-6752303193511712768}} 
[2026-08-21 18:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":161832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:58:34] local.INFO: GPS data processed {"connection_id":161832,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:58:34] local.INFO: Acknowledgment sent {"connection_id":161832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:58:38] local.INFO: TCP Data received {"connection_id":161833,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024801180012d1993800720b2f8003b011129..."} 
[2026-08-21 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161833,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024801180012d1993800720b2f8003b011129..."} 
[2026-08-21 18:58:38] local.INFO: Processing buffer {"connection_id":161833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024801180012d1993800720b2f8003b011129..."} 
[2026-08-21 18:58:38] local.INFO: Packet analysis {"connection_id":161833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:58:38] local.INFO: Extracted packet for processing {"connection_id":161833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756650880,"raw_latitude":119583480,"longitude_deg":75.665088,"latitude_deg":11.958348,"altitude":59,"angle":273,"satellites":41,"speed":24,"hex_longitude":"2d199380","hex_latitude":"0720b2f8","is_valid_coordinates":true} 
[2026-08-21 18:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553602048001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14305458026184704,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849712840067229696,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787318768000,"timestamp_ms":1787318768000,"timestamp_seconds":1787318768,"priority":1,"record_length":96,"hex_timestamp":"000001a024801180"} 
[2026-08-21 18:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:58: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-08-21 18:58: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-08-21 18:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161833,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553602048001,"66":13048,"103":206,"83":41984,"24":24,"16":14305458026184704,"45":1849712840067229696},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553602048001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:58:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14305458026184704,"km_value":14305458026184.703,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849712840067229696,"description":"Unknown IO ID 45"} 
[2026-08-21 18:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553602048001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1849712840067229696}} 
[2026-08-21 18:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":161833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:58:38] local.INFO: GPS data processed {"connection_id":161833,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:58:38] local.INFO: Acknowledgment sent {"connection_id":161833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:58:53] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:53] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:53] local.INFO: IMEI packet received {"connection_id":159259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":159259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:58:56] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:56] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:56] local.INFO: IMEI packet received {"connection_id":159259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":159259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:58:57] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:58:57] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:58:57] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:58:58] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:58] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:58:58] local.INFO: IMEI packet received {"connection_id":159259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:58:59] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024819c08012d84078005d0d078000700ad26..."} 
[2026-08-21 18:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024819c08012d84078005d0d078000700ad26..."} 
[2026-08-21 18:58:59] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024819c08012d84078005d0d078000700ad26..."} 
[2026-08-21 18:58:59] local.INFO: Packet analysis {"connection_id":159259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:58:59] local.INFO: Extracted packet for processing {"connection_id":159259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763627392,"raw_latitude":97570936,"longitude_deg":76.3627392,"latitude_deg":9.7570936,"altitude":7,"angle":173,"satellites":38,"speed":37,"hex_longitude":"2d840780","hex_latitude":"05d0d078","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553628160001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121907475556335616,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934297210792290304,"note":"Value kept but may cause issues"} 
[2026-08-21 18:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318869000,"timestamp_ms":1787318869000,"timestamp_seconds":1787318869,"priority":1,"record_length":96,"hex_timestamp":"000001a024819c08"} 
[2026-08-21 18:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 18:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553628160001,"66":12374,"109":206,"85":15104,"24":37,"16":121907475556335616,"45":-8934297210792290304},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 18:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553628160001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121907475556335616,"km_value":121907475556335.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934297210792290304,"description":"Unknown IO ID 45"} 
[2026-08-21 18:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553628160001,"power":12374,"unknown_109":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-8934297210792290304}} 
[2026-08-21 18:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":159259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:58:59] local.INFO: GPS data processed {"connection_id":159259,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:58:59] local.INFO: Acknowledgment sent {"connection_id":159259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:59:00] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:59:00] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:59:00] local.INFO: IMEI packet received {"connection_id":160441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":160441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:59:01] local.INFO: TCP Data received {"connection_id":159546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:59:01] local.INFO: Processing buffer {"connection_id":159546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:59:01] local.INFO: IMEI packet received {"connection_id":159546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 18:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":159546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:59:01] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024804448012da23ec0054f3428000e015e2d..."} 
[2026-08-21 18:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024804448012da23ec0054f3428000e015e2d..."} 
[2026-08-21 18:59:01] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024804448012da23ec0054f3428000e015e2d..."} 
[2026-08-21 18:59:01] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:59:01] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":765607616,"raw_latitude":89076776,"longitude_deg":76.5607616,"latitude_deg":8.9076776,"altitude":14,"angle":350,"satellites":45,"speed":34,"hex_longitude":"2da23ec0","hex_latitude":"054f3428","is_valid_coordinates":true} 
[2026-08-21 18:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553604864001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388558127831711744,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6753921674626787328,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787318781000,"timestamp_ms":1787318781000,"timestamp_seconds":1787318781,"priority":1,"record_length":96,"hex_timestamp":"000001a024804448"} 
[2026-08-21 18:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 18:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553604864001,"66":27267,"23":206,"84":6144,"24":34,"16":388558127831711744,"45":-6753921674626787328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,84,24,16,45]} 
[2026-08-21 18:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553604864001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:59:01] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-08-21 18:59:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388558127831711744,"km_value":388558127831711.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6753921674626787328,"description":"Unknown IO ID 45"} 
[2026-08-21 18:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553604864001,"power":27267,"unknown_23":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6753921674626787328}} 
[2026-08-21 18:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:59:01] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:59:01] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:59:06] local.INFO: TCP Data received {"connection_id":159546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:59:06] local.INFO: Processing buffer {"connection_id":159546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 18:59:06] local.INFO: IMEI packet received {"connection_id":159546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 18:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":159546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:59:07] local.INFO: TCP Data received {"connection_id":159546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248028f0012d1988c00720b2c8003a010328..."} 
[2026-08-21 18:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248028f0012d1988c00720b2c8003a010328..."} 
[2026-08-21 18:59:07] local.INFO: Processing buffer {"connection_id":159546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248028f0012d1988c00720b2c8003a010328..."} 
[2026-08-21 18:59:07] local.INFO: Packet analysis {"connection_id":159546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:59:07] local.INFO: Extracted packet for processing {"connection_id":159546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:59:07] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119583432,"longitude_deg":75.6648128,"latitude_deg":11.9583432,"altitude":58,"angle":259,"satellites":40,"speed":14,"hex_longitude":"2d1988c0","hex_latitude":"0720b2c8","is_valid_coordinates":true} 
[2026-08-21 18:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553604608001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14305586875203584,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842957440626391040,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787318774000,"timestamp_ms":1787318774000,"timestamp_seconds":1787318774,"priority":1,"record_length":96,"hex_timestamp":"000001a0248028f0"} 
[2026-08-21 18:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 18:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553604608001,"66":13048,"103":206,"83":41984,"24":14,"16":14305586875203584,"45":1842957440626391040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553604608001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14305586875203584,"km_value":14305586875203.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842957440626391040,"description":"Unknown IO ID 45"} 
[2026-08-21 18:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553604608001,"power":13048,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1842957440626391040}} 
[2026-08-21 18:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":159546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:59:07] local.INFO: GPS data processed {"connection_id":159546,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:59:07] local.INFO: Acknowledgment sent {"connection_id":159546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:59:31] local.INFO: TCP Data received {"connection_id":159259,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02481bf30012d840e4005d0abe8000800a528..."} 
[2026-08-21 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02481bf30012d840e4005d0abe8000800a528..."} 
[2026-08-21 18:59:31] local.INFO: Processing buffer {"connection_id":159259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02481bf30012d840e4005d0abe8000800a528..."} 
[2026-08-21 18:59:31] local.INFO: Packet analysis {"connection_id":159259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:59:31] local.INFO: Extracted packet for processing {"connection_id":159259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763629120,"raw_latitude":97561576,"longitude_deg":76.362912,"latitude_deg":9.7561576,"altitude":8,"angle":165,"satellites":40,"speed":43,"hex_longitude":"2d840e40","hex_latitude":"05d0abe8","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553630464001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121907935117836288,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8933030573399574528,"note":"Value kept but may cause issues"} 
[2026-08-21 18: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-08-21 18:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787318878000,"timestamp_ms":1787318878000,"timestamp_seconds":1787318878,"priority":1,"record_length":96,"hex_timestamp":"000001a02481bf30"} 
[2026-08-21 18:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 18:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553630464001,"66":12232,"109":206,"85":15104,"24":43,"16":121907935117836288,"45":-8933030573399574528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553630464001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121907935117836288,"km_value":121907935117836.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8933030573399574528,"description":"Unknown IO ID 45"} 
[2026-08-21 18:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553630464001,"power":12232,"unknown_109":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-8933030573399574528}} 
[2026-08-21 18:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":159259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:59:31] local.INFO: GPS data processed {"connection_id":159259,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:59:31] local.INFO: Acknowledgment sent {"connection_id":159259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:59:31] local.INFO: TCP Data received {"connection_id":160441,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024824018012da1ff000550ba58000901612b..."} 
[2026-08-21 18:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024824018012da1ff000550ba58000901612b..."} 
[2026-08-21 18:59:31] local.INFO: Processing buffer {"connection_id":160441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024824018012da1ff000550ba58000901612b..."} 
[2026-08-21 18:59:31] local.INFO: Packet analysis {"connection_id":160441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 18:59:31] local.INFO: Extracted packet for processing {"connection_id":160441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":765591296,"raw_latitude":89176664,"longitude_deg":76.5591296,"latitude_deg":8.9176664,"altitude":9,"angle":353,"satellites":43,"speed":34,"hex_longitude":"2da1ff00","hex_latitude":"0550ba58","is_valid_coordinates":true} 
[2026-08-21 18: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-08-21 18:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553638912001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388563045569265664,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6772710129296490496,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787318911000,"timestamp_ms":1787318911000,"timestamp_seconds":1787318911,"priority":1,"record_length":96,"hex_timestamp":"000001a024824018"} 
[2026-08-21 18:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:59:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 18:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 18:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553638912001,"66":27343,"237":206,"84":6144,"24":34,"16":388563045569265664,"45":-6772710129296490496},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,84,24,16,45]} 
[2026-08-21 18:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 18:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553638912001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 18:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388563045569265664,"km_value":388563045569265.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6772710129296490496,"description":"Unknown IO ID 45"} 
[2026-08-21 18:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553638912001,"power":27343,"unknown_237":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6772710129296490496}} 
[2026-08-21 18:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":160441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:59:31] local.INFO: GPS data processed {"connection_id":160441,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:59:31] local.INFO: Acknowledgment sent {"connection_id":160441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:59:38] local.INFO: TCP Data received {"connection_id":159546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248053e8012d1973000720ad70003700f828..."} 
[2026-08-21 18:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248053e8012d1973000720ad70003700f828..."} 
[2026-08-21 18:59:38] local.INFO: Processing buffer {"connection_id":159546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248053e8012d1973000720ad70003700f828..."} 
[2026-08-21 18:59:38] local.INFO: Packet analysis {"connection_id":159546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:59:38] local.INFO: Extracted packet for processing {"connection_id":159546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 18:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756642560,"raw_latitude":119582064,"longitude_deg":75.664256,"latitude_deg":11.9582064,"altitude":55,"angle":248,"satellites":40,"speed":21,"hex_longitude":"2d197300","hex_latitude":"0720ad70","is_valid_coordinates":true} 
[2026-08-21 18:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553606144001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14305861753110528,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584626739200,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787318785000,"timestamp_ms":1787318785000,"timestamp_seconds":1787318785,"priority":1,"record_length":96,"hex_timestamp":"000001a0248053e8"} 
[2026-08-21 18:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-08-21 18:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 18:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 18:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 18:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 18:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553606144001,"66":13015,"103":206,"83":41984,"24":21,"16":14305861753110528,"45":1839931584626739200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 18:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 18:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 18:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553606144001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:59:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 18:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 18:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14305861753110528,"km_value":14305861753110.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584626739200,"description":"Unknown IO ID 45"} 
[2026-08-21 18:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553606144001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1839931584626739200}} 
[2026-08-21 18:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":159546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:59:38] local.INFO: GPS data processed {"connection_id":159546,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:59:38] local.INFO: Acknowledgment sent {"connection_id":159546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 18:59:53] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:59:53] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:59:53] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 18:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:59:57] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:59:57] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 18:59:57] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 18:59:58] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:59:58] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 18:59:58] local.INFO: IMEI packet received {"connection_id":161834,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 18:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":161834,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 18:59:59] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02481fdb0012d84174005d08a50000700a729..."} 
[2026-08-21 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02481fdb0012d84174005d08a50000700a729..."} 
[2026-08-21 18:59:59] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02481fdb0012d84174005d08a50000700a729..."} 
[2026-08-21 18:59:59] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:59:59] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763631424,"raw_latitude":97552976,"longitude_deg":76.3631424,"latitude_deg":9.7552976,"altitude":7,"angle":167,"satellites":41,"speed":3,"hex_longitude":"2d841740","hex_latitude":"05d08a50","is_valid_coordinates":true} 
[2026-08-21 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 18:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553632768001,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121908368909533184,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931130617309173760,"note":"Value kept but may cause issues"} 
[2026-08-21 18:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 18:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787318894000,"timestamp_ms":1787318894000,"timestamp_seconds":1787318894,"priority":1,"record_length":96,"hex_timestamp":"000001a02481fdb0"} 
[2026-08-21 18:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 18:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 18: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-08-21 18:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 18:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 18:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 18:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 18:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 18:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 18:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 18:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553632768001,"66":12178,"109":206,"85":15104,"24":3,"16":121908368909533184,"45":-8931130617309173760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 18:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 18:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553632768001,"description":"Unknown IO ID 0"} 
[2026-08-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 18:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121908368909533184,"km_value":121908368909533.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 18:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931130617309173760,"description":"Unknown IO ID 45"} 
[2026-08-21 18:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553632768001,"power":12178,"unknown_109":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-8931130617309173760}} 
[2026-08-21 18:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 18:59:59] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-21 18:59:59] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:00:01] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:01] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:01] local.INFO: IMEI packet received {"connection_id":161835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":161835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:00:02] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024826728012da1fbc00550de60000901622a..."} 
[2026-08-21 19:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024826728012da1fbc00550de60000901622a..."} 
[2026-08-21 19:00:02] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024826728012da1fbc00550de60000901622a..."} 
[2026-08-21 19:00:02] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:00:02] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:00:02] local.INFO: GPS Element Parsed {"raw_longitude":765590464,"raw_latitude":89185888,"longitude_deg":76.5590464,"latitude_deg":8.9185888,"altitude":9,"angle":354,"satellites":42,"speed":34,"hex_longitude":"2da1fbc0","hex_latitude":"0550de60","is_valid_coordinates":true} 
[2026-08-21 19:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553641216001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388563496540831744,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6773695291712710656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787318921000,"timestamp_ms":1787318921000,"timestamp_seconds":1787318921,"priority":1,"record_length":96,"hex_timestamp":"000001a024826728"} 
[2026-08-21 19:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553641216001,"66":27180,"237":206,"84":6144,"24":34,"16":388563496540831744,"45":-6773695291712710656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,84,24,16,45]} 
[2026-08-21 19:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553641216001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:00:02] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 19:00:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388563496540831744,"km_value":388563496540831.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6773695291712710656,"description":"Unknown IO ID 45"} 
[2026-08-21 19:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553641216001,"power":27180,"unknown_237":206,"unknown_84":6144,"ignition":34,"odometer":null,"unknown_45":-6773695291712710656}} 
[2026-08-21 19:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:00:02] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:00:02] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:00:06] local.INFO: TCP Data received {"connection_id":159547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:06] local.INFO: Processing buffer {"connection_id":159547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:06] local.INFO: IMEI packet received {"connection_id":159547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":159547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:00:11] local.INFO: TCP Data received {"connection_id":159547,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:11] local.INFO: Processing buffer {"connection_id":159547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:11] local.INFO: IMEI packet received {"connection_id":159547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":159547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:00:11] local.INFO: TCP Data received {"connection_id":159547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024806388012d196c400720ab880037010429..."} 
[2026-08-21 19:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024806388012d196c400720ab880037010429..."} 
[2026-08-21 19:00:11] local.INFO: Processing buffer {"connection_id":159547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024806388012d196c400720ab880037010429..."} 
[2026-08-21 19:00:11] local.INFO: Packet analysis {"connection_id":159547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 19:00:11] local.INFO: Extracted packet for processing {"connection_id":159547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":756640832,"raw_latitude":119581576,"longitude_deg":75.6640832,"latitude_deg":11.9581576,"altitude":55,"angle":260,"satellites":41,"speed":14,"hex_longitude":"2d196c40","hex_latitude":"0720ab88","is_valid_coordinates":true} 
[2026-08-21 19:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553608960001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14305943357489152,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1833809503882932224,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787318789000,"timestamp_ms":1787318789000,"timestamp_seconds":1787318789,"priority":1,"record_length":96,"hex_timestamp":"000001a024806388"} 
[2026-08-21 19:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 19:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553608960001,"66":13004,"103":206,"83":41984,"24":14,"16":14305943357489152,"45":1833809503882932224},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553608960001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:00:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:00:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14305943357489152,"km_value":14305943357489.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1833809503882932224,"description":"Unknown IO ID 45"} 
[2026-08-21 19:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553608960001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1833809503882932224}} 
[2026-08-21 19:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":159547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:00:12] local.INFO: GPS data processed {"connection_id":159547,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:00:12] local.INFO: Acknowledgment sent {"connection_id":159547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:00:16] local.INFO: TCP Data received {"connection_id":159547,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02480b590012d1964800720aa800036010727..."} 
[2026-08-21 19:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02480b590012d1964800720aa800036010727..."} 
[2026-08-21 19:00:16] local.INFO: Processing buffer {"connection_id":159547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02480b590012d1964800720aa800036010727..."} 
[2026-08-21 19:00:16] local.INFO: Packet analysis {"connection_id":159547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 19:00:16] local.INFO: Extracted packet for processing {"connection_id":159547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02480"} 
[2026-08-21 19:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553609984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831909547790010368,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00: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-08-21 19:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787318810000,"timestamp_ms":1787318810000,"timestamp_seconds":1787318810,"priority":1,"record_length":96,"hex_timestamp":"000001a02480b590"} 
[2026-08-21 19:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-21 19:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553609984001,"66":13004,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1831909547790010368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553609984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:00:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:00:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831909547790010368,"description":"Unknown IO ID 45"} 
[2026-08-21 19:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553609984001,"power":13004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831909547790010368}} 
[2026-08-21 19:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":159547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:00:16] local.INFO: GPS data processed {"connection_id":159547,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:00:16] local.INFO: Acknowledgment sent {"connection_id":159547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:00:30] local.INFO: TCP Data received {"connection_id":161834,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024824bd0012d841f0005d067b8000900a627..."} 
[2026-08-21 19:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024824bd0012d841f0005d067b8000900a627..."} 
[2026-08-21 19:00:30] local.INFO: Processing buffer {"connection_id":161834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024824bd0012d841f0005d067b8000900a627..."} 
[2026-08-21 19:00:30] local.INFO: Packet analysis {"connection_id":161834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:00:30] local.INFO: Extracted packet for processing {"connection_id":161834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":763633408,"raw_latitude":97544120,"longitude_deg":76.3633408,"latitude_deg":9.754412,"altitude":9,"angle":166,"satellites":39,"speed":28,"hex_longitude":"2d841f00","hex_latitude":"05d067b8","is_valid_coordinates":true} 
[2026-08-21 19:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553636864001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121908811291164672,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8928597342520979456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00: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-08-21 19:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787318914000,"timestamp_ms":1787318914000,"timestamp_seconds":1787318914,"priority":1,"record_length":96,"hex_timestamp":"000001a024824bd0"} 
[2026-08-21 19:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 19:00:30] 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-08-21 19:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161834,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553636864001,"66":12385,"109":206,"85":15104,"24":28,"16":121908811291164672,"45":-8928597342520979456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 19:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553636864001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:00:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 19:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121908811291164672,"km_value":121908811291164.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8928597342520979456,"description":"Unknown IO ID 45"} 
[2026-08-21 19:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553636864001,"power":12385,"unknown_109":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-8928597342520979456}} 
[2026-08-21 19:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":161834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:00:30] local.INFO: GPS data processed {"connection_id":161834,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:00:30] local.INFO: Acknowledgment sent {"connection_id":161834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:00:33] local.INFO: TCP Data received {"connection_id":161835,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024829220012da1f90005510278000901622a..."} 
[2026-08-21 19:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024829220012da1f90005510278000901622a..."} 
[2026-08-21 19:00:33] local.INFO: Processing buffer {"connection_id":161835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024829220012da1f90005510278000901622a..."} 
[2026-08-21 19:00:33] local.INFO: Packet analysis {"connection_id":161835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:00:33] local.INFO: Extracted packet for processing {"connection_id":161835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":765589760,"raw_latitude":89195128,"longitude_deg":76.558976,"latitude_deg":8.9195128,"altitude":9,"angle":354,"satellites":42,"speed":25,"hex_longitude":"2da1f900","hex_latitude":"05510278","is_valid_coordinates":true} 
[2026-08-21 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553643776001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388563943217430528,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6774610085384658944,"note":"Value kept but may cause issues"} 
[2026-08-21 19:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787318932000,"timestamp_ms":1787318932000,"timestamp_seconds":1787318932,"priority":1,"record_length":96,"hex_timestamp":"000001a024829220"} 
[2026-08-21 19:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 19:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553643776001,"66":27234,"237":206,"84":6144,"24":25,"16":388563943217430528,"45":-6774610085384658944},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,84,24,16,45]} 
[2026-08-21 19:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553643776001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-08-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388563943217430528,"km_value":388563943217430.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6774610085384658944,"description":"Unknown IO ID 45"} 
[2026-08-21 19:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553643776001,"power":27234,"unknown_237":206,"unknown_84":6144,"ignition":25,"odometer":null,"unknown_45":-6774610085384658944}} 
[2026-08-21 19:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":161835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:00:33] local.INFO: GPS data processed {"connection_id":161835,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:00:33] local.INFO: Acknowledgment sent {"connection_id":161835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:00:57] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:57] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:57] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:00:58] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:58] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:00:58] local.INFO: IMEI packet received {"connection_id":159548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":159548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:00:58] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:58] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:00:58] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:00:58] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:00:58] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:00:58] local.INFO: IMEI packet received {"connection_id":159260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":159260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:01:01] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:01:01] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:01:01] local.INFO: IMEI packet received {"connection_id":159548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":159548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:01:02] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:01:02] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:01:02] local.INFO: IMEI packet received {"connection_id":160442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":160442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:01:03] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02482c8d0012da1f500055127e0000a015e2a..."} 
[2026-08-21 19:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02482c8d0012da1f500055127e0000a015e2a..."} 
[2026-08-21 19:01:03] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02482c8d0012da1f500055127e0000a015e2a..."} 
[2026-08-21 19:01:03] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:01:03] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:01:03] local.INFO: GPS Element Parsed {"raw_longitude":765588736,"raw_latitude":89204704,"longitude_deg":76.5588736,"latitude_deg":8.9204704,"altitude":10,"angle":350,"satellites":42,"speed":33,"hex_longitude":"2da1f500","hex_latitude":"055127e0","is_valid_coordinates":true} 
[2026-08-21 19:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553646592001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388564411368865792,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6775384141568247808,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787318946000,"timestamp_ms":1787318946000,"timestamp_seconds":1787318946,"priority":1,"record_length":96,"hex_timestamp":"000001a02482c8d0"} 
[2026-08-21 19:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553646592001,"66":27245,"239":206,"84":6144,"24":33,"16":388564411368865792,"45":-6775384141568247808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,84,24,16,45]} 
[2026-08-21 19:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553646592001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:03] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-08-21 19:01:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388564411368865792,"km_value":388564411368865.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6775384141568247808,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553646592001,"power":27245,"unknown_239":206,"unknown_84":6144,"ignition":33,"odometer":null,"unknown_45":-6775384141568247808}} 
[2026-08-21 19:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:03] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:03] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:01:03] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:03] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:03] local.INFO: IMEI packet received {"connection_id":159260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":159260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:01:04] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024826ef8012d84230005d04c20000a00b327..."} 
[2026-08-21 19:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024826ef8012d84230005d04c20000a00b327..."} 
[2026-08-21 19:01:04] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024826ef8012d84230005d04c20000a00b327..."} 
[2026-08-21 19:01:04] local.INFO: Packet analysis {"connection_id":159260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:01:04] local.INFO: Extracted packet for processing {"connection_id":159260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763634432,"raw_latitude":97537056,"longitude_deg":76.3634432,"latitude_deg":9.7537056,"altitude":10,"angle":179,"satellites":39,"speed":35,"hex_longitude":"2d842300","hex_latitude":"05d04c20","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553641984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121909159183515648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8926415911453739008,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787318923000,"timestamp_ms":1787318923000,"timestamp_seconds":1787318923,"priority":1,"record_length":96,"hex_timestamp":"000001a024826ef8"} 
[2026-08-21 19:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553641984001,"66":12330,"109":206,"85":15104,"24":35,"16":121909159183515648,"45":-8926415911453739008},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 19:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553641984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 19:01:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121909159183515648,"km_value":121909159183515.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8926415911453739008,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553641984001,"power":12330,"unknown_109":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-8926415911453739008}} 
[2026-08-21 19:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":159260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:04] local.INFO: GPS data processed {"connection_id":159260,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:04] local.INFO: Acknowledgment sent {"connection_id":159260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:01:05] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248299f0012d84204005d02948000d00bb27..."} 
[2026-08-21 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248299f0012d84204005d02948000d00bb27..."} 
[2026-08-21 19:01:05] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248299f0012d84204005d02948000d00bb27..."} 
[2026-08-21 19:01:05] local.INFO: Packet analysis {"connection_id":159260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:01:05] local.INFO: Extracted packet for processing {"connection_id":159260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":763633728,"raw_latitude":97528136,"longitude_deg":76.3633728,"latitude_deg":9.7528136,"altitude":13,"angle":187,"satellites":39,"speed":32,"hex_longitude":"2d842040","hex_latitude":"05d02948","is_valid_coordinates":true} 
[2026-08-21 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553644288001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121909592975212544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8925290011548704768,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787318934000,"timestamp_ms":1787318934000,"timestamp_seconds":1787318934,"priority":1,"record_length":96,"hex_timestamp":"000001a0248299f0"} 
[2026-08-21 19:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553644288001,"66":12298,"111":206,"85":15104,"24":32,"16":121909592975212544,"45":-8925290011548704768},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-08-21 19:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553644288001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-08-21 19:01:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121909592975212544,"km_value":121909592975212.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8925290011548704768,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553644288001,"power":12298,"unknown_111":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-8925290011548704768}} 
[2026-08-21 19:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":159260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:05] local.INFO: GPS data processed {"connection_id":159260,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:05] local.INFO: Acknowledgment sent {"connection_id":159260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:01:06] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:01:06] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:01:06] local.INFO: IMEI packet received {"connection_id":159548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":159548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:01:07] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024810798012d1964800720aa800036010722..."} 
[2026-08-21 19:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024810798012d1964800720aa800036010722..."} 
[2026-08-21 19:01:07] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024810798012d1964800720aa800036010722..."} 
[2026-08-21 19:01:07] local.INFO: Packet analysis {"connection_id":159548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:01:07] local.INFO: Extracted packet for processing {"connection_id":159548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":34,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553615360001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787318831000,"timestamp_ms":1787318831000,"timestamp_seconds":1787318831,"priority":1,"record_length":96,"hex_timestamp":"000001a024810798"} 
[2026-08-21 19:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553615360001,"66":12950,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553615360001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:01:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553615360001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":159548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:07] local.INFO: GPS data processed {"connection_id":159548,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:07] local.INFO: Acknowledgment sent {"connection_id":159548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:01:34] local.INFO: TCP Data received {"connection_id":160442,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024843418012da18b000551d8600008014d2e..."} 
[2026-08-21 19:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024843418012da18b000551d8600008014d2e..."} 
[2026-08-21 19:01:34] local.INFO: Processing buffer {"connection_id":160442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024843418012da18b000551d8600008014d2e..."} 
[2026-08-21 19:01:34] local.INFO: Packet analysis {"connection_id":160442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:01:34] local.INFO: Extracted packet for processing {"connection_id":160442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:01:34] local.INFO: GPS Element Parsed {"raw_longitude":765561600,"raw_latitude":89249888,"longitude_deg":76.55616,"latitude_deg":8.9249888,"altitude":8,"angle":333,"satellites":46,"speed":14,"hex_longitude":"2da18b00","hex_latitude":"0551d860","is_valid_coordinates":true} 
[2026-08-21 19:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553673472001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388566996939177984,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6805924176527472640,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319039000,"timestamp_ms":1787319039000,"timestamp_seconds":1787319039,"priority":1,"record_length":96,"hex_timestamp":"000001a024843418"} 
[2026-08-21 19:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:01: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-08-21 19:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553673472001,"66":27082,"125":206,"84":6144,"24":14,"16":388566996939177984,"45":-6805924176527472640},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553673472001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:34] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:01:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388566996939177984,"km_value":388566996939178.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6805924176527472640,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553673472001,"power":27082,"unknown_125":206,"unknown_84":6144,"ignition":14,"odometer":null,"unknown_45":-6805924176527472640}} 
[2026-08-21 19:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":160442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:34] local.INFO: GPS data processed {"connection_id":160442,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:34] local.INFO: Acknowledgment sent {"connection_id":160442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:01:36] local.INFO: TCP Data received {"connection_id":159260,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248491d8012d8413c005ce9d98000b00ba27..."} 
[2026-08-21 19:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248491d8012d8413c005ce9d98000b00ba27..."} 
[2026-08-21 19:01:36] local.INFO: Processing buffer {"connection_id":159260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248491d8012d8413c005ce9d98000b00ba27..."} 
[2026-08-21 19:01:36] local.INFO: Packet analysis {"connection_id":159260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:01:36] local.INFO: Extracted packet for processing {"connection_id":159260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":763630528,"raw_latitude":97426840,"longitude_deg":76.3630528,"latitude_deg":9.742684,"altitude":11,"angle":186,"satellites":39,"speed":32,"hex_longitude":"2d8413c0","hex_latitude":"05ce9d98","is_valid_coordinates":true} 
[2026-08-21 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553677056001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121914527892635648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8928245498830012416,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787319063000,"timestamp_ms":1787319063000,"timestamp_seconds":1787319063,"priority":1,"record_length":96,"hex_timestamp":"000001a0248491d8"} 
[2026-08-21 19:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553677056001,"66":12298,"141":206,"85":15104,"24":32,"16":121914527892635648,"45":-8928245498830012416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,85,24,16,45]} 
[2026-08-21 19:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553677056001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:36] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-21 19:01:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121914527892635648,"km_value":121914527892635.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8928245498830012416,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553677056001,"power":12298,"unknown_141":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-8928245498830012416}} 
[2026-08-21 19:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":159260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:36] local.INFO: GPS data processed {"connection_id":159260,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:36] local.INFO: Acknowledgment sent {"connection_id":159260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:01:38] local.INFO: TCP Data received {"connection_id":159548,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248159a0012d1964800720aa800036010726..."} 
[2026-08-21 19:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248159a0012d1964800720aa800036010726..."} 
[2026-08-21 19:01:38] local.INFO: Processing buffer {"connection_id":159548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248159a0012d1964800720aa800036010726..."} 
[2026-08-21 19:01:38] local.INFO: Packet analysis {"connection_id":159548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:01:38] local.INFO: Extracted packet for processing {"connection_id":159548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:01:38] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:01:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:01:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553620736001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787318852000,"timestamp_ms":1787318852000,"timestamp_seconds":1787318852,"priority":1,"record_length":96,"hex_timestamp":"000001a0248159a0"} 
[2026-08-21 19:01:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:01:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:01: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":150,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:01:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:01:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:01:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:01:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:01:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:01:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:01:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553620736001,"66":12950,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:01:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:01:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:01:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553620736001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:01:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:01:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553620736001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:01:38] local.INFO: DEBUG: GPS processor result {"connection_id":159548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:38] local.INFO: GPS data processed {"connection_id":159548,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:38] local.INFO: Acknowledgment sent {"connection_id":159548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:01:53] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:53] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:53] local.INFO: IMEI packet received {"connection_id":161836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":161836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:01:57] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:01:57] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:01:57] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:01:58] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:58] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:01:58] local.INFO: IMEI packet received {"connection_id":161836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":161836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:01:59] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02484bcd0012d840fc005ce7978000b00b827..."} 
[2026-08-21 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02484bcd0012d840fc005ce7978000b00b827..."} 
[2026-08-21 19:01:59] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02484bcd0012d840fc005ce7978000b00b827..."} 
[2026-08-21 19:01:59] local.INFO: Packet analysis {"connection_id":161836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:01:59] local.INFO: Extracted packet for processing {"connection_id":161836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763629504,"raw_latitude":97417592,"longitude_deg":76.3629504,"latitude_deg":9.7417592,"altitude":11,"angle":184,"satellites":39,"speed":30,"hex_longitude":"2d840fc0","hex_latitude":"05ce7978","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553680128001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121914978864201728,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8929582504971757568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319074000,"timestamp_ms":1787319074000,"timestamp_seconds":1787319074,"priority":1,"record_length":96,"hex_timestamp":"000001a02484bcd0"} 
[2026-08-21 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-08-21 19:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437104017920,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2631070611630031904,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2216706053,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469838774478,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":418720553575776430,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2213398529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2809004238,"corrected_to":0} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":7036874418421764,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2684431748,"corrected_to":0} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060391,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3480393728,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":12,"raw_value":50426902371893248,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3746994889972252673,"note":"Value kept but may cause issues"} 
[2026-08-21 19:01:59] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,141,85,24,241,157,16,32,160,98,45,128,193,11,40,10,66,52,64,230,110,31,1,240,227,36,207,4,113,205,39,202,33,48,239,2,177,5,12,30],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2809004238,"validated":0},{"io_id":202,"original":2684431748,"validated":0}]} 
[2026-08-21 19:01:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792838211085795328,"timestamp_seconds":792838211085795.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 19:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553680128001,"66":12287,"141":206,"85":15104,"24":30,"16":121914978864201728,"45":-8929582504971757568},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,85,24,16,45]} 
[2026-08-21 19:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553680128001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121914978864201728,"km_value":121914978864201.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8929582504971757568,"description":"Unknown IO ID 45"} 
[2026-08-21 19:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553680128001,"power":12287,"unknown_141":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-8929582504971757568}} 
[2026-08-21 19:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":161836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:01:59] local.INFO: GPS data processed {"connection_id":161836,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:01:59] local.INFO: Acknowledgment sent {"connection_id":161836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:02:01] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:01] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:01] local.INFO: IMEI packet received {"connection_id":159549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:02:01] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:01] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:01] local.INFO: IMEI packet received {"connection_id":159549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:02:02] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:02:02] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:02:02] local.INFO: IMEI packet received {"connection_id":161837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":161837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:02:03] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248447a0012da188000551df880008013c2d..."} 
[2026-08-21 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248447a0012da188000551df880008013c2d..."} 
[2026-08-21 19:02:03] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248447a0012da188000551df880008013c2d..."} 
[2026-08-21 19:02:03] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:02:03] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":765560832,"raw_latitude":89251720,"longitude_deg":76.5560832,"latitude_deg":8.925172,"altitude":8,"angle":316,"satellites":45,"speed":14,"hex_longitude":"2da18800","hex_latitude":"0551df88","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553673984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388567095723425792,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6806346388992401408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319044000,"timestamp_ms":1787319044000,"timestamp_seconds":1787319044,"priority":1,"record_length":96,"hex_timestamp":"000001a0248447a0"} 
[2026-08-21 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-08-21 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 19:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553673984001,"66":26267,"125":206,"84":6144,"24":14,"16":388567095723425792,"45":-6806346388992401408},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553673984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388567095723425792,"km_value":388567095723425.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6806346388992401408,"description":"Unknown IO ID 45"} 
[2026-08-21 19:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553673984001,"power":26267,"unknown_125":206,"unknown_84":6144,"ignition":14,"odometer":null,"unknown_45":-6806346388992401408}} 
[2026-08-21 19:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:02:03] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:02:03] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:02:03] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02484ef98012d840c4005ce54f8000900b827..."} 
[2026-08-21 19:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02484ef98012d840c4005ce54f8000900b827..."} 
[2026-08-21 19:02:03] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02484ef98012d840c4005ce54f8000900b827..."} 
[2026-08-21 19:02:03] local.INFO: Packet analysis {"connection_id":161836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:02:03] local.INFO: Extracted packet for processing {"connection_id":161836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":763628608,"raw_latitude":97408248,"longitude_deg":76.3628608,"latitude_deg":9.7408248,"altitude":9,"angle":184,"satellites":39,"speed":27,"hex_longitude":"2d840c40","hex_latitude":"05ce54f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553682944001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121915434130735104,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8930708404880967680,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319087000,"timestamp_ms":1787319087000,"timestamp_seconds":1787319087,"priority":1,"record_length":96,"hex_timestamp":"000001a02484ef98"} 
[2026-08-21 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-08-21 19:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553682944001,"66":12472,"141":206,"85":15104,"24":27,"16":121915434130735104,"45":-8930708404880967680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,85,24,16,45]} 
[2026-08-21 19:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553682944001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121915434130735104,"km_value":121915434130735.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8930708404880967680,"description":"Unknown IO ID 45"} 
[2026-08-21 19:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553682944001,"power":12472,"unknown_141":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-8930708404880967680}} 
[2026-08-21 19:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":161836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677339,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:02:03] local.INFO: GPS data processed {"connection_id":161836,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:02:03] local.INFO: Acknowledgment sent {"connection_id":161836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:02:06] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:06] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:02:06] local.INFO: IMEI packet received {"connection_id":159549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":159549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:02:07] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02481aba8012d1964800720aa800036010727..."} 
[2026-08-21 19:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02481aba8012d1964800720aa800036010727..."} 
[2026-08-21 19:02:07] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02481aba8012d1964800720aa800036010727..."} 
[2026-08-21 19:02:07] local.INFO: Packet analysis {"connection_id":159549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:02:07] local.INFO: Extracted packet for processing {"connection_id":159549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553626112001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787318873000,"timestamp_ms":1787318873000,"timestamp_seconds":1787318873,"priority":1,"record_length":96,"hex_timestamp":"000001a02481aba8"} 
[2026-08-21 19:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 19:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553626112001,"66":12950,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553626112001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553626112001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":159549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:02:07] local.INFO: GPS data processed {"connection_id":159549,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:02:07] local.INFO: Acknowledgment sent {"connection_id":159549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:02:34] local.INFO: TCP Data received {"connection_id":161837,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024844f70012da185400551e158000701272c..."} 
[2026-08-21 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024844f70012da185400551e158000701272c..."} 
[2026-08-21 19:02:34] local.INFO: Processing buffer {"connection_id":161837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024844f70012da185400551e158000701272c..."} 
[2026-08-21 19:02:34] local.INFO: Packet analysis {"connection_id":161837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:02:34] local.INFO: Extracted packet for processing {"connection_id":161837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:02:34] local.INFO: GPS Element Parsed {"raw_longitude":765560128,"raw_latitude":89252184,"longitude_deg":76.5560128,"latitude_deg":8.9252184,"altitude":7,"angle":295,"satellites":44,"speed":17,"hex_longitude":"2da18540","hex_latitude":"0551e158","is_valid_coordinates":true} 
[2026-08-21 19:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553675264001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388567134378131456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6807190813922064384,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319046000,"timestamp_ms":1787319046000,"timestamp_seconds":1787319046,"priority":1,"record_length":96,"hex_timestamp":"000001a024844f70"} 
[2026-08-21 19:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:02: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-08-21 19:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-21 19:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553675264001,"66":27169,"125":206,"84":6144,"24":17,"16":388567134378131456,"45":-6807190813922064384},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553675264001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388567134378131456,"km_value":388567134378131.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6807190813922064384,"description":"Unknown IO ID 45"} 
[2026-08-21 19:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553675264001,"power":27169,"unknown_125":206,"unknown_84":6144,"ignition":17,"odometer":null,"unknown_45":-6807190813922064384}} 
[2026-08-21 19:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":161837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:02:34] local.INFO: GPS data processed {"connection_id":161837,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:02:34] local.INFO: Acknowledgment sent {"connection_id":161837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:02:34] local.INFO: TCP Data received {"connection_id":161836,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024852a30012d840a0005ce3258000b00b928..."} 
[2026-08-21 19:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024852a30012d840a0005ce3258000b00b928..."} 
[2026-08-21 19:02:34] local.INFO: Processing buffer {"connection_id":161836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024852a30012d840a0005ce3258000b00b928..."} 
[2026-08-21 19:02:34] local.INFO: Packet analysis {"connection_id":161836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:02:34] local.INFO: Extracted packet for processing {"connection_id":161836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763628032,"raw_latitude":97399384,"longitude_deg":76.3628032,"latitude_deg":9.7399384,"altitude":11,"angle":185,"satellites":40,"speed":20,"hex_longitude":"2d840a00","hex_latitude":"05ce3258","is_valid_coordinates":true} 
[2026-08-21 19:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553686272001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121915867922432000,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8931693567301847040,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319102000,"timestamp_ms":1787319102000,"timestamp_seconds":1787319102,"priority":1,"record_length":96,"hex_timestamp":"000001a024852a30"} 
[2026-08-21 19:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 19:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553686272001,"66":11950,"141":206,"85":15104,"24":20,"16":121915867922432000,"45":-8931693567301847040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,85,24,16,45]} 
[2026-08-21 19:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553686272001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121915867922432000,"km_value":121915867922432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8931693567301847040,"description":"Unknown IO ID 45"} 
[2026-08-21 19:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553686272001,"power":11950,"unknown_141":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-8931693567301847040}} 
[2026-08-21 19:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":161836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:02:34] local.INFO: GPS data processed {"connection_id":161836,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:02:34] local.INFO: Acknowledgment sent {"connection_id":161836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:02:38] local.INFO: TCP Data received {"connection_id":159549,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02481fdb0012d1964800720aa800036010728..."} 
[2026-08-21 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02481fdb0012d1964800720aa800036010728..."} 
[2026-08-21 19:02:38] local.INFO: Processing buffer {"connection_id":159549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02481fdb0012d1964800720aa800036010728..."} 
[2026-08-21 19:02:38] local.INFO: Packet analysis {"connection_id":159549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:02:38] local.INFO: Extracted packet for processing {"connection_id":159549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02481"} 
[2026-08-21 19:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":40,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553631488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787318894000,"timestamp_ms":1787318894000,"timestamp_seconds":1787318894,"priority":1,"record_length":96,"hex_timestamp":"000001a02481fdb0"} 
[2026-08-21 19:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 19:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553631488001,"66":12928,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553631488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:02:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553631488001,"power":12928,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":159549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:02:38] local.INFO: GPS data processed {"connection_id":159549,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:02:38] local.INFO: Acknowledgment sent {"connection_id":159549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:02:53] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:53] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:53] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:02:54] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:54] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:54] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:02:58] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:58] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:02:58] local.INFO: IMEI packet received {"connection_id":160443,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":160443,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:02:59] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024857850012d84088005ce1a08000c00ad29..."} 
[2026-08-21 19:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024857850012d84088005ce1a08000c00ad29..."} 
[2026-08-21 19:02:59] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024857850012d84088005ce1a08000c00ad29..."} 
[2026-08-21 19:02:59] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:02:59] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763627648,"raw_latitude":97393160,"longitude_deg":76.3627648,"latitude_deg":9.739316,"altitude":12,"angle":173,"satellites":41,"speed":7,"hex_longitude":"2d840880","hex_latitude":"05ce1a08","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553690112001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121916172865110016,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8932326886001715200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319122000,"timestamp_ms":1787319122000,"timestamp_seconds":1787319122,"priority":1,"record_length":96,"hex_timestamp":"000001a024857850"} 
[2026-08-21 19:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 19:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553690112001,"66":11721,"140":206,"85":15104,"24":7,"16":121916172865110016,"45":-8932326886001715200},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-21 19:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553690112001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121916172865110016,"km_value":121916172865110.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8932326886001715200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553690112001,"power":11721,"unknown_140":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8932326886001715200}} 
[2026-08-21 19:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:02:59] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:02:59] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:03:01] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:01] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:01] local.INFO: IMEI packet received {"connection_id":159261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":159261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:03:02] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:02] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:02] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:03:04] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:04] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:04] local.INFO: IMEI packet received {"connection_id":159261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":159261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:03:06] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:06] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:03:06] local.INFO: IMEI packet received {"connection_id":159261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":159261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:03:06] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024824fb8012d1964800720aa800036010727..."} 
[2026-08-21 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024824fb8012d1964800720aa800036010727..."} 
[2026-08-21 19:03:06] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024824fb8012d1964800720aa800036010727..."} 
[2026-08-21 19:03:06] local.INFO: Packet analysis {"connection_id":159261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:03:06] local.INFO: Extracted packet for processing {"connection_id":159261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":39,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553636864001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787318915000,"timestamp_ms":1787318915000,"timestamp_seconds":1787318915,"priority":1,"record_length":96,"hex_timestamp":"000001a024824fb8"} 
[2026-08-21 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-08-21 19:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553636864001,"66":12885,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553636864001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:03:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:03:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553636864001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":159261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:03:06] local.INFO: GPS data processed {"connection_id":159261,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:03:06] local.INFO: Acknowledgment sent {"connection_id":159261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:03:07] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:07] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:07] local.INFO: IMEI packet received {"connection_id":160444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":160444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:03:08] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024847e50012da164400551ee800005012525..."} 
[2026-08-21 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024847e50012da164400551ee800005012525..."} 
[2026-08-21 19:03:08] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024847e50012da164400551ee800005012525..."} 
[2026-08-21 19:03:08] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:03:08] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":765551680,"raw_latitude":89255552,"longitude_deg":76.555168,"latitude_deg":8.9255552,"altitude":5,"angle":293,"satellites":37,"speed":39,"hex_longitude":"2da16440","hex_latitude":"0551ee80","is_valid_coordinates":true} 
[2026-08-21 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553675776001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388567572464795648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6807964870107899904,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787319058000,"timestamp_ms":1787319058000,"timestamp_seconds":1787319058,"priority":1,"record_length":96,"hex_timestamp":"000001a024847e50"} 
[2026-08-21 19:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 19:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553675776001,"66":27267,"125":206,"84":6144,"24":39,"16":388567572464795648,"45":-6807964870107899904},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553675776001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388567572464795648,"km_value":388567572464795.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6807964870107899904,"description":"Unknown IO ID 45"} 
[2026-08-21 19:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553675776001,"power":27267,"unknown_125":206,"unknown_84":6144,"ignition":39,"odometer":null,"unknown_45":-6807964870107899904}} 
[2026-08-21 19:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:03:08] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:03:08] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:03:11] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02482a1c0012d1964800720aa800036010725..."} 
[2026-08-21 19:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02482a1c0012d1964800720aa800036010725..."} 
[2026-08-21 19:03:11] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02482a1c0012d1964800720aa800036010725..."} 
[2026-08-21 19:03:11] local.INFO: Packet analysis {"connection_id":159261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:03:11] local.INFO: Extracted packet for processing {"connection_id":159261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553642240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787318936000,"timestamp_ms":1787318936000,"timestamp_seconds":1787318936,"priority":1,"record_length":96,"hex_timestamp":"000001a02482a1c0"} 
[2026-08-21 19:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-08-21 19:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553642240001,"66":12841,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553642240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:03:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553642240001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":159261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:03:11] local.INFO: GPS data processed {"connection_id":159261,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:03:11] local.INFO: Acknowledgment sent {"connection_id":159261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:03:13] local.INFO: TCP Data received {"connection_id":160444,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02484a178012da142400551fc000006012423..."} 
[2026-08-21 19:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02484a178012da142400551fc000006012423..."} 
[2026-08-21 19:03:13] local.INFO: Processing buffer {"connection_id":160444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02484a178012da142400551fc000006012423..."} 
[2026-08-21 19:03:13] local.INFO: Packet analysis {"connection_id":160444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:03:13] local.INFO: Extracted packet for processing {"connection_id":160444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:03:13] local.INFO: GPS Element Parsed {"raw_longitude":765542976,"raw_latitude":89259008,"longitude_deg":76.5542976,"latitude_deg":8.9259008,"altitude":6,"angle":292,"satellites":35,"speed":39,"hex_longitude":"2da14240","hex_latitude":"0551fc00","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553678848001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388568023436361728,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6817253544338489344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787319067000,"timestamp_ms":1787319067000,"timestamp_seconds":1787319067,"priority":1,"record_length":96,"hex_timestamp":"000001a02484a178"} 
[2026-08-21 19:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 19:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553678848001,"66":26267,"125":206,"84":6144,"24":39,"16":388568023436361728,"45":-6817253544338489344},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553678848001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:03:13] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:03:13] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388568023436361728,"km_value":388568023436361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6817253544338489344,"description":"Unknown IO ID 45"} 
[2026-08-21 19:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553678848001,"power":26267,"unknown_125":206,"unknown_84":6144,"ignition":39,"odometer":null,"unknown_45":-6817253544338489344}} 
[2026-08-21 19:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":160444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:03:13] local.INFO: GPS data processed {"connection_id":160444,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:03:13] local.INFO: Acknowledgment sent {"connection_id":160444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:03:32] local.INFO: TCP Data received {"connection_id":160443,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02485b6d0012d8408c005ce14f0000a00c328..."} 
[2026-08-21 19:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02485b6d0012d8408c005ce14f0000a00c328..."} 
[2026-08-21 19:03:32] local.INFO: Processing buffer {"connection_id":160443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02485b6d0012d8408c005ce14f0000a00c328..."} 
[2026-08-21 19:03:32] local.INFO: Packet analysis {"connection_id":160443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:03:32] local.INFO: Extracted packet for processing {"connection_id":160443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763627712,"raw_latitude":97391856,"longitude_deg":76.3627712,"latitude_deg":9.7391856,"altitude":10,"angle":195,"satellites":40,"speed":3,"hex_longitude":"2d8408c0","hex_latitude":"05ce14f0","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553695232001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121916241584586752,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8932749098468374528,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787319138000,"timestamp_ms":1787319138000,"timestamp_seconds":1787319138,"priority":1,"record_length":96,"hex_timestamp":"000001a02485b6d0"} 
[2026-08-21 19:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-08-21 19:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160443,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553695232001,"66":12287,"140":206,"85":15104,"24":3,"16":121916241584586752,"45":-8932749098468374528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-21 19:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553695232001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:03:32] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 19:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121916241584586752,"km_value":121916241584586.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8932749098468374528,"description":"Unknown IO ID 45"} 
[2026-08-21 19:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553695232001,"power":12287,"unknown_140":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":-8932749098468374528}} 
[2026-08-21 19:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":160443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677349,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:03:32] local.INFO: GPS data processed {"connection_id":160443,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:03:32] local.INFO: Acknowledgment sent {"connection_id":160443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:03:42] local.INFO: TCP Data received {"connection_id":159261,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02482f3c8012d1964800720aa800036010725..."} 
[2026-08-21 19:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02482f3c8012d1964800720aa800036010725..."} 
[2026-08-21 19:03:42] local.INFO: Processing buffer {"connection_id":159261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02482f3c8012d1964800720aa800036010725..."} 
[2026-08-21 19:03:42] local.INFO: Packet analysis {"connection_id":159261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:03:42] local.INFO: Extracted packet for processing {"connection_id":159261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02482"} 
[2026-08-21 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553647616001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787318957000,"timestamp_ms":1787318957000,"timestamp_seconds":1787318957,"priority":1,"record_length":96,"hex_timestamp":"000001a02482f3c8"} 
[2026-08-21 19:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553647616001,"66":12798,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553647616001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:03:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:03:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553647616001,"power":12798,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":159261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:03:42] local.INFO: GPS data processed {"connection_id":159261,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:03:42] local.INFO: Acknowledgment sent {"connection_id":159261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:03:51] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:51] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:51] local.INFO: IMEI packet received {"connection_id":159550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":159550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:03:53] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:53] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:53] local.INFO: IMEI packet received {"connection_id":159550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:03:57] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:57] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:57] local.INFO: IMEI packet received {"connection_id":161838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":161838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:03:58] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:58] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:03:58] local.INFO: IMEI packet received {"connection_id":161838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":161838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:03:58] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:58] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:03:58] local.INFO: IMEI packet received {"connection_id":159550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":159550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:03:59] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02485dde0012d84078005ce0c50000b00b429..."} 
[2026-08-21 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02485dde0012d84078005ce0c50000b00b429..."} 
[2026-08-21 19:03:59] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02485dde0012d84078005ce0c50000b00b429..."} 
[2026-08-21 19:03:59] local.INFO: Packet analysis {"connection_id":159550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:03:59] local.INFO: Extracted packet for processing {"connection_id":159550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:03:59] local.INFO: GPS Element Parsed {"raw_longitude":763627392,"raw_latitude":97389648,"longitude_deg":76.3627392,"latitude_deg":9.7389648,"altitude":11,"angle":180,"satellites":41,"speed":7,"hex_longitude":"2d840780","hex_latitude":"05ce0c50","is_valid_coordinates":true} 
[2026-08-21 19:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553699328001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121916348958769152,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8932678729724530688,"note":"Value kept but may cause issues"} 
[2026-08-21 19:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319148000,"timestamp_ms":1787319148000,"timestamp_seconds":1787319148,"priority":1,"record_length":96,"hex_timestamp":"000001a02485dde0"} 
[2026-08-21 19:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553699328001,"66":12156,"140":206,"85":15104,"24":7,"16":121916348958769152,"45":-8932678729724530688},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-21 19:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553699328001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:03:59] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 19:03:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121916348958769152,"km_value":121916348958769.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8932678729724530688,"description":"Unknown IO ID 45"} 
[2026-08-21 19:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553699328001,"power":12156,"unknown_140":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-8932678729724530688}} 
[2026-08-21 19:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":159550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:03:59] local.INFO: GPS data processed {"connection_id":159550,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:03:59] local.INFO: Acknowledgment sent {"connection_id":159550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:04:01] local.INFO: TCP Data received {"connection_id":159551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:04:01] local.INFO: Processing buffer {"connection_id":159551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:04:01] local.INFO: IMEI packet received {"connection_id":159551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":159551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:04:02] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:04:02] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:04:02] local.INFO: IMEI packet received {"connection_id":161838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":161838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:04:03] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02484c4a0012da1228005520a780006012824..."} 
[2026-08-21 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02484c4a0012da1228005520a780006012824..."} 
[2026-08-21 19:04:03] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02484c4a0012da1228005520a780006012824..."} 
[2026-08-21 19:04:03] local.INFO: Packet analysis {"connection_id":161838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:04:03] local.INFO: Extracted packet for processing {"connection_id":161838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":765534848,"raw_latitude":89262712,"longitude_deg":76.5534848,"latitude_deg":8.9262712,"altitude":6,"angle":296,"satellites":36,"speed":42,"hex_longitude":"2da12280","hex_latitude":"05520a78","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553681152001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388568452933091328,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6826823693545766912,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319076000,"timestamp_ms":1787319076000,"timestamp_seconds":1787319076,"priority":1,"record_length":96,"hex_timestamp":"000001a02484c4a0"} 
[2026-08-21 19:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-21 19:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553681152001,"66":27300,"125":206,"84":6144,"24":42,"16":388568452933091328,"45":-6826823693545766912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553681152001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:04:03] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:04:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388568452933091328,"km_value":388568452933091.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6826823693545766912,"description":"Unknown IO ID 45"} 
[2026-08-21 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553681152001,"power":27300,"unknown_125":206,"unknown_84":6144,"ignition":42,"odometer":null,"unknown_45":-6826823693545766912}} 
[2026-08-21 19:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":161838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:04:03] local.INFO: GPS data processed {"connection_id":161838,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:04:03] local.INFO: Acknowledgment sent {"connection_id":161838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:04:06] local.INFO: TCP Data received {"connection_id":159551,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:04:06] local.INFO: Processing buffer {"connection_id":159551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:04:06] local.INFO: IMEI packet received {"connection_id":159551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":159551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:04:07] local.INFO: TCP Data received {"connection_id":159551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248345d0012d1964800720aa800036010725..."} 
[2026-08-21 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248345d0012d1964800720aa800036010725..."} 
[2026-08-21 19:04:07] local.INFO: Processing buffer {"connection_id":159551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248345d0012d1964800720aa800036010725..."} 
[2026-08-21 19:04:07] local.INFO: Packet analysis {"connection_id":159551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02483"} 
[2026-08-21 19:04:07] local.INFO: Extracted packet for processing {"connection_id":159551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02483"} 
[2026-08-21 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":37,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553652992001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787318978000,"timestamp_ms":1787318978000,"timestamp_seconds":1787318978,"priority":1,"record_length":96,"hex_timestamp":"000001a0248345d0"} 
[2026-08-21 19:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-08-21 19:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553652992001,"66":12841,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553652992001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553652992001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":159551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:04:07] local.INFO: GPS data processed {"connection_id":159551,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:04:07] local.INFO: Acknowledgment sent {"connection_id":159551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:04:07] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02484e7c8012da100c005521c500007012d28..."} 
[2026-08-21 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02484e7c8012da100c005521c500007012d28..."} 
[2026-08-21 19:04:07] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02484e7c8012da100c005521c500007012d28..."} 
[2026-08-21 19:04:07] local.INFO: Packet analysis {"connection_id":161838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:04:07] local.INFO: Extracted packet for processing {"connection_id":161838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02484"} 
[2026-08-21 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":765526208,"raw_latitude":89267280,"longitude_deg":76.5526208,"latitude_deg":8.926728,"altitude":7,"angle":301,"satellites":40,"speed":38,"hex_longitude":"2da100c0","hex_latitude":"05521c50","is_valid_coordinates":true} 
[2026-08-21 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553683456001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388568921084526592,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6835760524055382016,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319085000,"timestamp_ms":1787319085000,"timestamp_seconds":1787319085,"priority":1,"record_length":96,"hex_timestamp":"000001a02484e7c8"} 
[2026-08-21 19:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 19:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553683456001,"66":27343,"125":206,"84":6144,"24":38,"16":388568921084526592,"45":-6835760524055382016},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553683456001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388568921084526592,"km_value":388568921084526.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6835760524055382016,"description":"Unknown IO ID 45"} 
[2026-08-21 19:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553683456001,"power":27343,"unknown_125":206,"unknown_84":6144,"ignition":38,"odometer":null,"unknown_45":-6835760524055382016}} 
[2026-08-21 19:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":161838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:04:07] local.INFO: GPS data processed {"connection_id":161838,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:04:07] local.INFO: Acknowledgment sent {"connection_id":161838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:04:30] local.INFO: TCP Data received {"connection_id":159550,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02485ed80012d84070005ce0888000d00c129..."} 
[2026-08-21 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02485ed80012d84070005ce0888000d00c129..."} 
[2026-08-21 19:04:30] local.INFO: Processing buffer {"connection_id":159550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02485ed80012d84070005ce0888000d00c129..."} 
[2026-08-21 19:04:30] local.INFO: Packet analysis {"connection_id":159550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:04:30] local.INFO: Extracted packet for processing {"connection_id":159550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763627264,"raw_latitude":97388680,"longitude_deg":76.3627264,"latitude_deg":9.738868,"altitude":13,"angle":193,"satellites":41,"speed":10,"hex_longitude":"2d840700","hex_latitude":"05ce0888","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553701888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121916400498376704,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8933030573445984256,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787319152000,"timestamp_ms":1787319152000,"timestamp_seconds":1787319152,"priority":1,"record_length":96,"hex_timestamp":"000001a02485ed80"} 
[2026-08-21 19:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553701888001,"66":12058,"140":206,"85":15104,"24":10,"16":121916400498376704,"45":-8933030573445984256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-21 19:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553701888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:04:30] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 19:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121916400498376704,"km_value":121916400498376.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8933030573445984256,"description":"Unknown IO ID 45"} 
[2026-08-21 19:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553701888001,"power":12058,"unknown_140":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-8933030573445984256}} 
[2026-08-21 19:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":159550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:04:30] local.INFO: GPS data processed {"connection_id":159550,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:04:30] local.INFO: Acknowledgment sent {"connection_id":159550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:04:38] local.INFO: TCP Data received {"connection_id":159551,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248397d8012d1964800720aa800036010726..."} 
[2026-08-21 19:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248397d8012d1964800720aa800036010726..."} 
[2026-08-21 19:04:38] local.INFO: Processing buffer {"connection_id":159551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248397d8012d1964800720aa800036010726..."} 
[2026-08-21 19:04:38] local.INFO: Packet analysis {"connection_id":159551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02483"} 
[2026-08-21 19:04:38] local.INFO: Extracted packet for processing {"connection_id":159551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02483"} 
[2026-08-21 19:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553658368001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787318999000,"timestamp_ms":1787318999000,"timestamp_seconds":1787318999,"priority":1,"record_length":96,"hex_timestamp":"000001a0248397d8"} 
[2026-08-21 19:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553658368001,"66":12809,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553658368001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:04:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553658368001,"power":12809,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":159551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:04:38] local.INFO: GPS data processed {"connection_id":159551,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:04:38] local.INFO: Acknowledgment sent {"connection_id":159551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:04:39] local.INFO: TCP Data received {"connection_id":161838,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024850af0012da0e340055230280007013229..."} 
[2026-08-21 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024850af0012da0e340055230280007013229..."} 
[2026-08-21 19:04:39] local.INFO: Processing buffer {"connection_id":161838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024850af0012da0e340055230280007013229..."} 
[2026-08-21 19:04:39] local.INFO: Packet analysis {"connection_id":161838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:04:39] local.INFO: Extracted packet for processing {"connection_id":161838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02485"} 
[2026-08-21 19:04:39] local.INFO: GPS Element Parsed {"raw_longitude":765518656,"raw_latitude":89272360,"longitude_deg":76.5518656,"latitude_deg":8.927236,"altitude":7,"angle":306,"satellites":41,"speed":39,"hex_longitude":"2da0e340","hex_latitude":"05523028","is_valid_coordinates":true} 
[2026-08-21 19:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553685760001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388569359171190784,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6845260304518197248,"note":"Value kept but may cause issues"} 
[2026-08-21 19:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787319094000,"timestamp_ms":1787319094000,"timestamp_seconds":1787319094,"priority":1,"record_length":96,"hex_timestamp":"000001a024850af0"} 
[2026-08-21 19:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553685760001,"66":27321,"125":206,"84":6144,"24":39,"16":388569359171190784,"45":-6845260304518197248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,84,24,16,45]} 
[2026-08-21 19:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553685760001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:04:39] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-08-21 19:04:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388569359171190784,"km_value":388569359171190.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6845260304518197248,"description":"Unknown IO ID 45"} 
[2026-08-21 19:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553685760001,"power":27321,"unknown_125":206,"unknown_84":6144,"ignition":39,"odometer":null,"unknown_45":-6845260304518197248}} 
[2026-08-21 19:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":161838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:04:39] local.INFO: GPS data processed {"connection_id":161838,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:04:39] local.INFO: Acknowledgment sent {"connection_id":161838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:04:54] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:04:54] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:04:54] local.INFO: IMEI packet received {"connection_id":159262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":159262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:04:57] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:04:57] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:04:57] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:04:59] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:04:59] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:04:59] local.INFO: IMEI packet received {"connection_id":159262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":159262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:05:01] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:05:01] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:05:01] local.INFO: IMEI packet received {"connection_id":159263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":159263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:05:02] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:05:02] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:05:02] local.INFO: IMEI packet received {"connection_id":160445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":160445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:05:03] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248754e0012da035400552a4a80006012b2c..."} 
[2026-08-21 19:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248754e0012da035400552a4a80006012b2c..."} 
[2026-08-21 19:05:03] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248754e0012da035400552a4a80006012b2c..."} 
[2026-08-21 19:05:03] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:05:03] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":765474112,"raw_latitude":89302184,"longitude_deg":76.5474112,"latitude_deg":8.9302184,"altitude":6,"angle":299,"satellites":44,"speed":5,"hex_longitude":"2da03540","hex_latitude":"0552a4a8","is_valid_coordinates":true} 
[2026-08-21 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553725952001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388571991986143232,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6902329356037376000,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319244000,"timestamp_ms":1787319244000,"timestamp_seconds":1787319244,"priority":1,"record_length":96,"hex_timestamp":"000001a0248754e0"} 
[2026-08-21 19:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 19:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553725952001,"66":27332,"116":206,"84":6144,"24":5,"16":388571991986143232,"45":-6902329356037376000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553725952001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:05:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:05:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388571991986143232,"km_value":388571991986143.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6902329356037376000,"description":"Unknown IO ID 45"} 
[2026-08-21 19:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553725952001,"power":27332,"unknown_116":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6902329356037376000}} 
[2026-08-21 19:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:05:03] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:05:03] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:05:04] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:04] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:04] local.INFO: IMEI packet received {"connection_id":159262,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":159262,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:05:05] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024863ba0012d8401c005cdec38000e00c028..."} 
[2026-08-21 19:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024863ba0012d8401c005cdec38000e00c028..."} 
[2026-08-21 19:05:05] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024863ba0012d8401c005cdec38000e00c028..."} 
[2026-08-21 19:05:05] local.INFO: Packet analysis {"connection_id":159262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02486"} 
[2026-08-21 19:05:05] local.INFO: Extracted packet for processing {"connection_id":159262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02486"} 
[2026-08-21 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":763625920,"raw_latitude":97381432,"longitude_deg":76.362592,"latitude_deg":9.7381432,"altitude":14,"angle":192,"satellites":40,"speed":11,"hex_longitude":"2d8401c0","hex_latitude":"05cdec38","is_valid_coordinates":true} 
[2026-08-21 19:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553702912001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121916756980662272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8933171310934587392,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787319172000,"timestamp_ms":1787319172000,"timestamp_seconds":1787319172,"priority":1,"record_length":96,"hex_timestamp":"000001a024863ba0"} 
[2026-08-21 19:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553702912001,"66":12058,"140":206,"85":15104,"24":11,"16":121916756980662272,"45":-8933171310934587392},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-21 19:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553702912001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:05:05] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 19:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121916756980662272,"km_value":121916756980662.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8933171310934587392,"description":"Unknown IO ID 45"} 
[2026-08-21 19:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553702912001,"power":12058,"unknown_140":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-8933171310934587392}} 
[2026-08-21 19:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":159262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:05:05] local.INFO: GPS data processed {"connection_id":159262,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:05:05] local.INFO: Acknowledgment sent {"connection_id":159262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:05:06] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:05:06] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:05:06] local.INFO: IMEI packet received {"connection_id":159263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":159263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:05:07] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02483e9e0012d1964800720aa800036010726..."} 
[2026-08-21 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02483e9e0012d1964800720aa800036010726..."} 
[2026-08-21 19:05:07] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02483e9e0012d1964800720aa800036010726..."} 
[2026-08-21 19:05:07] local.INFO: Packet analysis {"connection_id":159263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02483"} 
[2026-08-21 19:05:07] local.INFO: Extracted packet for processing {"connection_id":159263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02483"} 
[2026-08-21 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756638848,"raw_latitude":119581312,"longitude_deg":75.6638848,"latitude_deg":11.9581312,"altitude":54,"angle":263,"satellites":38,"speed":0,"hex_longitude":"2d196480","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-08-21 19:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553663744001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306037846769664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319020000,"timestamp_ms":1787319020000,"timestamp_seconds":1787319020,"priority":1,"record_length":96,"hex_timestamp":"000001a02483e9e0"} 
[2026-08-21 19:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-9126087242977549184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2860515382,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":253,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":100,"raw_value":2147950762,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637879051012485549,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2353834493648897830,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:07] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,103,83,24,241,157,16,211,160,69,45,128,170,54,37,10,66,243,161,1,240,41,227,36,32,4,113,205,253,100,40,239,50,2,7,164,68],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 19:05:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891399412814970880,"timestamp_seconds":3891399412814971.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553663744001,"66":12765,"103":206,"83":41984,"24":0,"16":14306037846769664,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553663744001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306037846769664,"km_value":14306037846769.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553663744001,"power":12765,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":159263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:05:07] local.INFO: GPS data processed {"connection_id":159263,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:05:07] local.INFO: Acknowledgment sent {"connection_id":159263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:05:34] local.INFO: TCP Data received {"connection_id":160445,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024876868012da032c00552a660000601372d..."} 
[2026-08-21 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024876868012da032c00552a660000601372d..."} 
[2026-08-21 19:05:34] local.INFO: Processing buffer {"connection_id":160445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024876868012da032c00552a660000601372d..."} 
[2026-08-21 19:05:34] local.INFO: Packet analysis {"connection_id":160445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:05:34] local.INFO: Extracted packet for processing {"connection_id":160445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":765473472,"raw_latitude":89302624,"longitude_deg":76.5473472,"latitude_deg":8.9302624,"altitude":6,"angle":311,"satellites":45,"speed":5,"hex_longitude":"2da032c0","hex_latitude":"0552a660","is_valid_coordinates":true} 
[2026-08-21 19:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553726464001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572030640848896,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6902540462269880320,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319249000,"timestamp_ms":1787319249000,"timestamp_seconds":1787319249,"priority":1,"record_length":96,"hex_timestamp":"000001a024876868"} 
[2026-08-21 19:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 19:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553726464001,"66":27213,"116":206,"84":6144,"24":5,"16":388572030640848896,"45":-6902540462269880320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553726464001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:05:34] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:05:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572030640848896,"km_value":388572030640848.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6902540462269880320,"description":"Unknown IO ID 45"} 
[2026-08-21 19:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553726464001,"power":27213,"unknown_116":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6902540462269880320}} 
[2026-08-21 19:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":160445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:05:34] local.INFO: GPS data processed {"connection_id":160445,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:05:34] local.INFO: Acknowledgment sent {"connection_id":160445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:05:37] local.INFO: TCP Data received {"connection_id":159262,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024868da8012d83fe0005cdce18001000b729..."} 
[2026-08-21 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024868da8012d83fe0005cdce18001000b729..."} 
[2026-08-21 19:05:37] local.INFO: Processing buffer {"connection_id":159262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024868da8012d83fe0005cdce18001000b729..."} 
[2026-08-21 19:05:37] local.INFO: Packet analysis {"connection_id":159262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02486"} 
[2026-08-21 19:05:37] local.INFO: Extracted packet for processing {"connection_id":159262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02486"} 
[2026-08-21 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":763624960,"raw_latitude":97373720,"longitude_deg":76.362496,"latitude_deg":9.737372,"altitude":16,"angle":183,"satellites":41,"speed":19,"hex_longitude":"2d83fe00","hex_latitude":"05cdce18","is_valid_coordinates":true} 
[2026-08-21 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553708032001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121917134937784320,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934649054564173824,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787319193000,"timestamp_ms":1787319193000,"timestamp_seconds":1787319193,"priority":1,"record_length":96,"hex_timestamp":"000001a024868da8"} 
[2026-08-21 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:05:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:05:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159262,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553708032001,"66":12287,"140":206,"85":15104,"24":19,"16":121917134937784320,"45":-8934649054564173824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,85,24,16,45]} 
[2026-08-21 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553708032001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:05:37] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-08-21 19:05:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121917134937784320,"km_value":121917134937784.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934649054564173824,"description":"Unknown IO ID 45"} 
[2026-08-21 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553708032001,"power":12287,"unknown_140":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-8934649054564173824}} 
[2026-08-21 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":159262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:05:37] local.INFO: GPS data processed {"connection_id":159262,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:05:37] local.INFO: Acknowledgment sent {"connection_id":159262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:05:38] local.INFO: TCP Data received {"connection_id":159263,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02487c240012d195f000720abb80033010c2a..."} 
[2026-08-21 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02487c240012d195f000720abb80033010c2a..."} 
[2026-08-21 19:05:38] local.INFO: Processing buffer {"connection_id":159263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02487c240012d195f000720abb80033010c2a..."} 
[2026-08-21 19:05:38] local.INFO: Packet analysis {"connection_id":159263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:05:38] local.INFO: Extracted packet for processing {"connection_id":159263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756637440,"raw_latitude":119581624,"longitude_deg":75.663744,"latitude_deg":11.9581624,"altitude":51,"angle":268,"satellites":42,"speed":12,"hex_longitude":"2d195f00","hex_latitude":"0720abb8","is_valid_coordinates":true} 
[2026-08-21 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553728256001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306115156180992,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829728116720435200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787319272000,"timestamp_ms":1787319272000,"timestamp_seconds":1787319272,"priority":1,"record_length":96,"hex_timestamp":"000001a02487c240"} 
[2026-08-21 19:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-08-21 19:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553728256001,"66":13939,"103":206,"83":41984,"24":12,"16":14306115156180992,"45":1829728116720435200},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553728256001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:05:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306115156180992,"km_value":14306115156180.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829728116720435200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553728256001,"power":13939,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1829728116720435200}} 
[2026-08-21 19:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":159263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:05:38] local.INFO: GPS data processed {"connection_id":159263,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:05:38] local.INFO: Acknowledgment sent {"connection_id":159263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:05:53] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:53] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:53] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:05:57] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:05:57] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:05:57] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:05:58] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:58] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:05:58] local.INFO: IMEI packet received {"connection_id":160446,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":160446,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:05:59] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02488a0e8012d83d5c005cc4c28000800c929..."} 
[2026-08-21 19:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02488a0e8012d83d5c005cc4c28000800c929..."} 
[2026-08-21 19:05:59] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02488a0e8012d83d5c005cc4c28000800c929..."} 
[2026-08-21 19:05:59] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:05:59] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763614656,"raw_latitude":97274920,"longitude_deg":76.3614656,"latitude_deg":9.727492,"altitude":8,"angle":201,"satellites":41,"speed":25,"hex_longitude":"2d83d5c0","hex_latitude":"05cc4c28","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553745664001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121921962481025024,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8945345103704760320,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319329000,"timestamp_ms":1787319329000,"timestamp_seconds":1787319329,"priority":1,"record_length":96,"hex_timestamp":"000001a02488a0e8"} 
[2026-08-21 19:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436969800192,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2632105698748367860,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2213068805,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":41,"raw_value":9007199255396356,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146866913486,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":-7349874591868649471,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":4153409548,"corrected_to":0} 
[2026-08-21 19:05:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2810970318,"corrected_to":0} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3623955843,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3443523584,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":8,"raw_value":51835376632856576,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.WARNING: Large IO value detected {"io_id":192,"raw_value":418099501304709302,"note":"Value kept but may cause issues"} 
[2026-08-21 19:05:59] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,63,85,24,241,157,16,39,160,71,45,128,138,6,41,10,66,140,38,20,64,174,9,229,1,240,53,227,37,36,204,4,113,205,28,127,238,40,239,48,2,177,5,8,192],"length":534,"final_offset":664,"validated_count":45,"validation_warnings":[{"io_id":204,"original":4153409548,"validated":0},{"io_id":205,"original":2810970318,"validated":0}]} 
[2026-08-21 19:05:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576668736096763904,"timestamp_seconds":576668736096763.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553745664001,"66":12200,"63":206,"85":15104,"24":25,"16":121921962481025024,"45":-8945345103704760320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 19:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553745664001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121921962481025024,"km_value":121921962481025.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8945345103704760320,"description":"Unknown IO ID 45"} 
[2026-08-21 19:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553745664001,"power":12200,"unknown_63":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-8945345103704760320}} 
[2026-08-21 19:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677364,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:05:59] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:05:59] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:06:02] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:02] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:02] local.INFO: IMEI packet received {"connection_id":160447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":160447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:06:03] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024877808012da031000552a770000601242d..."} 
[2026-08-21 19:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024877808012da031000552a770000601242d..."} 
[2026-08-21 19:06:03] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024877808012da031000552a770000601242d..."} 
[2026-08-21 19:06:03] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:06:03] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":765473024,"raw_latitude":89302896,"longitude_deg":76.5473024,"latitude_deg":8.9302896,"altitude":6,"angle":292,"satellites":45,"speed":5,"hex_longitude":"2da03100","hex_latitude":"0552a770","is_valid_coordinates":true} 
[2026-08-21 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553727744001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572056410652672,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6903244149711544320,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319253000,"timestamp_ms":1787319253000,"timestamp_seconds":1787319253,"priority":1,"record_length":96,"hex_timestamp":"000001a024877808"} 
[2026-08-21 19:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 19:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553727744001,"66":27115,"116":206,"84":6144,"24":5,"16":388572056410652672,"45":-6903244149711544320},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553727744001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:06:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:06:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572056410652672,"km_value":388572056410652.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6903244149711544320,"description":"Unknown IO ID 45"} 
[2026-08-21 19:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553727744001,"power":27115,"unknown_116":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6903244149711544320}} 
[2026-08-21 19:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:06:03] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:06:03] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:06:06] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:06:06] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:06:06] local.INFO: IMEI packet received {"connection_id":159264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":159264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:06:11] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:06:11] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:06:11] local.INFO: IMEI packet received {"connection_id":159264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":159264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:06:12] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02487ed38012d194e400720ab880032011b26..."} 
[2026-08-21 19:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02487ed38012d194e400720ab880032011b26..."} 
[2026-08-21 19:06:12] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02487ed38012d194e400720ab880032011b26..."} 
[2026-08-21 19:06:12] local.INFO: Packet analysis {"connection_id":159264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:06:12] local.INFO: Extracted packet for processing {"connection_id":159264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119581576,"longitude_deg":75.6633152,"latitude_deg":11.9581576,"altitude":50,"angle":283,"satellites":38,"speed":21,"hex_longitude":"2d194e40","hex_latitude":"0720ab88","is_valid_coordinates":true} 
[2026-08-21 19:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553733632001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306317019643904,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828180004348606464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787319283000,"timestamp_ms":1787319283000,"timestamp_seconds":1787319283,"priority":1,"record_length":96,"hex_timestamp":"000001a02487ed38"} 
[2026-08-21 19:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-08-21 19:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553733632001,"66":13906,"103":206,"83":41984,"24":21,"16":14306317019643904,"45":1828180004348606464},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553733632001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306317019643904,"km_value":14306317019643.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828180004348606464,"description":"Unknown IO ID 45"} 
[2026-08-21 19:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553733632001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1828180004348606464}} 
[2026-08-21 19:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":159264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:06:12] local.INFO: GPS data processed {"connection_id":159264,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:06:12] local.INFO: Acknowledgment sent {"connection_id":159264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:06:12] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248804a8012d1940c00720afd00031012829..."} 
[2026-08-21 19:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248804a8012d1940c00720afd00031012829..."} 
[2026-08-21 19:06:12] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248804a8012d1940c00720afd00031012829..."} 
[2026-08-21 19:06:12] local.INFO: Packet analysis {"connection_id":159264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:12] local.INFO: Extracted packet for processing {"connection_id":159264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756629696,"raw_latitude":119582672,"longitude_deg":75.6629696,"latitude_deg":11.9582672,"altitude":49,"angle":296,"satellites":41,"speed":23,"hex_longitude":"2d1940c0","hex_latitude":"0720afd0","is_valid_coordinates":true} 
[2026-08-21 19:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553736448001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14306488818335744,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823465298488690688,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787319289000,"timestamp_ms":1787319289000,"timestamp_seconds":1787319289,"priority":1,"record_length":96,"hex_timestamp":"000001a0248804a8"} 
[2026-08-21 19:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-21 19:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553736448001,"66":13798,"103":206,"83":41984,"24":23,"16":14306488818335744,"45":1823465298488690688},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553736448001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14306488818335744,"km_value":14306488818335.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823465298488690688,"description":"Unknown IO ID 45"} 
[2026-08-21 19:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553736448001,"power":13798,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1823465298488690688}} 
[2026-08-21 19:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":159264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:06:13] local.INFO: GPS data processed {"connection_id":159264,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:06:13] local.INFO: Acknowledgment sent {"connection_id":159264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:06:31] local.INFO: TCP Data received {"connection_id":160446,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02488d798012d83c7c005cc2a88000a00bc25..."} 
[2026-08-21 19:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02488d798012d83c7c005cc2a88000a00bc25..."} 
[2026-08-21 19:06:31] local.INFO: Processing buffer {"connection_id":160446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02488d798012d83c7c005cc2a88000a00bc25..."} 
[2026-08-21 19:06:31] local.INFO: Packet analysis {"connection_id":160446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:31] local.INFO: Extracted packet for processing {"connection_id":160446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763611072,"raw_latitude":97266312,"longitude_deg":76.3611072,"latitude_deg":9.7266312,"altitude":10,"angle":188,"satellites":37,"speed":23,"hex_longitude":"2d83c7c0","hex_latitude":"05cc2a88","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553748224001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121922417747558400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8947033953566709760,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787319343000,"timestamp_ms":1787319343000,"timestamp_seconds":1787319343,"priority":1,"record_length":96,"hex_timestamp":"000001a02488d798"} 
[2026-08-21 19:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 19:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160446,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553748224001,"66":12385,"63":206,"85":15104,"24":23,"16":121922417747558400,"45":-8947033953566709760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 19:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553748224001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:06:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 19:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121922417747558400,"km_value":121922417747558.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8947033953566709760,"description":"Unknown IO ID 45"} 
[2026-08-21 19:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553748224001,"power":12385,"unknown_63":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-8947033953566709760}} 
[2026-08-21 19:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":160446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:06:31] local.INFO: GPS data processed {"connection_id":160446,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:06:31] local.INFO: Acknowledgment sent {"connection_id":160446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:06:34] local.INFO: TCP Data received {"connection_id":160447,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02487b2a0012da02c400552a878000701172c..."} 
[2026-08-21 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02487b2a0012da02c400552a878000701172c..."} 
[2026-08-21 19:06:34] local.INFO: Processing buffer {"connection_id":160447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02487b2a0012da02c400552a878000701172c..."} 
[2026-08-21 19:06:34] local.INFO: Packet analysis {"connection_id":160447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:06:34] local.INFO: Extracted packet for processing {"connection_id":160447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02487"} 
[2026-08-21 19:06:34] local.INFO: GPS Element Parsed {"raw_longitude":765471808,"raw_latitude":89303160,"longitude_deg":76.5471808,"latitude_deg":8.930316,"altitude":7,"angle":279,"satellites":44,"speed":5,"hex_longitude":"2da02c40","hex_latitude":"0552a878","is_valid_coordinates":true} 
[2026-08-21 19:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553728768001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572116540194816,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6903736730920718336,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319268000,"timestamp_ms":1787319268000,"timestamp_seconds":1787319268,"priority":1,"record_length":96,"hex_timestamp":"000001a02487b2a0"} 
[2026-08-21 19:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-21 19:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553728768001,"66":27343,"116":206,"84":6144,"24":5,"16":388572116540194816,"45":-6903736730920718336},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553728768001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:06:34] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:06:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572116540194816,"km_value":388572116540194.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6903736730920718336,"description":"Unknown IO ID 45"} 
[2026-08-21 19:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553728768001,"power":27343,"unknown_116":206,"unknown_84":6144,"ignition":5,"odometer":null,"unknown_45":-6903736730920718336}} 
[2026-08-21 19:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":160447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:06:34] local.INFO: GPS data processed {"connection_id":160447,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:06:34] local.INFO: Acknowledgment sent {"connection_id":160447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:06:44] local.INFO: TCP Data received {"connection_id":159264,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02488fea8012d18ce8007212db00040014829..."} 
[2026-08-21 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02488fea8012d18ce8007212db00040014829..."} 
[2026-08-21 19:06:44] local.INFO: Processing buffer {"connection_id":159264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02488fea8012d18ce8007212db00040014829..."} 
[2026-08-21 19:06:44] local.INFO: Packet analysis {"connection_id":159264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:44] local.INFO: Extracted packet for processing {"connection_id":159264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756600448,"raw_latitude":119614896,"longitude_deg":75.6600448,"latitude_deg":11.9614896,"altitude":64,"angle":328,"satellites":41,"speed":31,"hex_longitude":"2d18ce80","hex_latitude":"07212db0","is_valid_coordinates":true} 
[2026-08-21 19:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553753856001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14308752266100736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557663852544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787319353000,"timestamp_ms":1787319353000,"timestamp_seconds":1787319353,"priority":1,"record_length":96,"hex_timestamp":"000001a02488fea8"} 
[2026-08-21 19:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:06: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-08-21 19:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-08-21 19:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553753856001,"66":13722,"103":206,"83":41984,"24":31,"16":14308752266100736,"45":1788210557663852544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553753856001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:06:44] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:06:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14308752266100736,"km_value":14308752266100.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557663852544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553753856001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1788210557663852544}} 
[2026-08-21 19:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":159264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:06:44] local.INFO: GPS data processed {"connection_id":159264,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:06:44] local.INFO: Acknowledgment sent {"connection_id":159264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:06:46] local.INFO: TCP Data received {"connection_id":159552,"ip":"85.217.149.4","data_length":8,"data_hex":"3030303030303030..."} 
[2026-08-21 19:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159552,"packet_length":8,"packet_hex":"3030303030303030..."} 
[2026-08-21 19:06:46] local.INFO: Processing buffer {"connection_id":159552,"buffer_length":8,"buffer_hex":"3030303030303030..."} 
[2026-08-21 19:06:53] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:06:53] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:06:53] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:06:56] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:56] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:56] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:06:57] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:06:57] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:06:57] local.INFO: IMEI packet received {"connection_id":161839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:06:57] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:57] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:06:57] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:06:57] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02488d798012d83c7c005cc2a88000a00bc25..."} 
[2026-08-21 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02488d798012d83c7c005cc2a88000a00bc25..."} 
[2026-08-21 19:06:57] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02488d798012d83c7c005cc2a88000a00bc25..."} 
[2026-08-21 19:06:57] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:57] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763611072,"raw_latitude":97266312,"longitude_deg":76.3611072,"latitude_deg":9.7266312,"altitude":10,"angle":188,"satellites":37,"speed":23,"hex_longitude":"2d83c7c0","hex_latitude":"05cc2a88","is_valid_coordinates":true} 
[2026-08-21 19:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553751808001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121922417747558400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8950974603242862592,"note":"Value kept but may cause issues"} 
[2026-08-21 19:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787319343000,"timestamp_ms":1787319343000,"timestamp_seconds":1787319343,"priority":1,"record_length":96,"hex_timestamp":"000001a02488d798"} 
[2026-08-21 19:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553751808001,"66":12385,"63":206,"85":15104,"24":23,"16":121922417747558400,"45":-8950974603242862592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 19:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553751808001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:06:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 19:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121922417747558400,"km_value":121922417747558.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8950974603242862592,"description":"Unknown IO ID 45"} 
[2026-08-21 19:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553751808001,"power":12385,"unknown_63":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-8950974603242862592}} 
[2026-08-21 19:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:06:57] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:06:57] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:07:01] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:07:01] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:07:01] local.INFO: IMEI packet received {"connection_id":159265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":159265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:07:02] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:02] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:02] local.INFO: IMEI packet received {"connection_id":160448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":160448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:07:03] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248804a8012da026000552aa18000701172c..."} 
[2026-08-21 19:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248804a8012da026000552aa18000701172c..."} 
[2026-08-21 19:07:03] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248804a8012da026000552aa18000701172c..."} 
[2026-08-21 19:07:03] local.INFO: Packet analysis {"connection_id":160448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:07:03] local.INFO: Extracted packet for processing {"connection_id":160448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:07:03] local.INFO: GPS Element Parsed {"raw_longitude":765470208,"raw_latitude":89303576,"longitude_deg":76.5470208,"latitude_deg":8.9303576,"altitude":7,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2da02600","hex_latitude":"0552aa18","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553732608001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572198144573440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6905073737060026368,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319289000,"timestamp_ms":1787319289000,"timestamp_seconds":1787319289,"priority":1,"record_length":96,"hex_timestamp":"000001a0248804a8"} 
[2026-08-21 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-08-21 19:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553732608001,"66":27343,"116":206,"84":6144,"24":0,"16":388572198144573440,"45":-6905073737060026368},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553732608001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:07:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:07:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572198144573440,"km_value":388572198144573.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6905073737060026368,"description":"Unknown IO ID 45"} 
[2026-08-21 19:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553732608001,"power":27343,"unknown_116":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6905073737060026368}} 
[2026-08-21 19:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":160448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:07:03] local.INFO: GPS data processed {"connection_id":160448,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:07:03] local.INFO: Acknowledgment sent {"connection_id":160448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:07:06] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:07:06] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:07:06] local.INFO: IMEI packet received {"connection_id":159265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":159265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:07:06] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024891618012d18c54007213d600041015429..."} 
[2026-08-21 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024891618012d18c54007213d600041015429..."} 
[2026-08-21 19:07:06] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024891618012d18c54007213d600041015429..."} 
[2026-08-21 19:07:06] local.INFO: Packet analysis {"connection_id":159265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:06] local.INFO: Extracted packet for processing {"connection_id":159265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119618912,"longitude_deg":75.659808,"latitude_deg":11.9618912,"altitude":65,"angle":340,"satellites":41,"speed":29,"hex_longitude":"2d18c540","hex_latitude":"07213d60","is_valid_coordinates":true} 
[2026-08-21 19:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553754368001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14308975604400128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787506870222434304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787319359000,"timestamp_ms":1787319359000,"timestamp_seconds":1787319359,"priority":1,"record_length":96,"hex_timestamp":"000001a024891618"} 
[2026-08-21 19:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:07: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-08-21 19: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-21 19:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553754368001,"66":13678,"103":206,"83":41984,"24":29,"16":14308975604400128,"45":1787506870222434304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553754368001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:07:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14308975604400128,"km_value":14308975604400.129,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787506870222434304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553754368001,"power":13678,"unknown_103":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1787506870222434304}} 
[2026-08-21 19:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":159265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:07:06] local.INFO: GPS data processed {"connection_id":159265,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:07:06] local.INFO: Acknowledgment sent {"connection_id":159265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:07:28] local.INFO: TCP Data received {"connection_id":161839,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024890e48012d83c1c005cc0780000a00c129..."} 
[2026-08-21 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024890e48012d83c1c005cc0780000a00c129..."} 
[2026-08-21 19:07:28] local.INFO: Processing buffer {"connection_id":161839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024890e48012d83c1c005cc0780000a00c129..."} 
[2026-08-21 19:07:28] local.INFO: Packet analysis {"connection_id":161839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:28] local.INFO: Extracted packet for processing {"connection_id":161839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763609536,"raw_latitude":97257344,"longitude_deg":76.3609536,"latitude_deg":9.7257344,"altitude":10,"angle":193,"satellites":41,"speed":24,"hex_longitude":"2d83c1c0","hex_latitude":"05cc0780","is_valid_coordinates":true} 
[2026-08-21 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553751808001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121922860129189888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8950974603242862592,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787319357000,"timestamp_ms":1787319357000,"timestamp_seconds":1787319357,"priority":1,"record_length":96,"hex_timestamp":"000001a024890e48"} 
[2026-08-21 19:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553751808001,"66":12330,"63":206,"85":15104,"24":24,"16":121922860129189888,"45":-8950974603242862592},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 19:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553751808001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121922860129189888,"km_value":121922860129189.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8950974603242862592,"description":"Unknown IO ID 45"} 
[2026-08-21 19:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553751808001,"power":12330,"unknown_63":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-8950974603242862592}} 
[2026-08-21 19:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":161839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:07:28] local.INFO: GPS data processed {"connection_id":161839,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:07:28] local.INFO: Acknowledgment sent {"connection_id":161839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:07:34] local.INFO: TCP Data received {"connection_id":160448,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248856b0012da025000552aa68000701172d..."} 
[2026-08-21 19:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248856b0012da025000552aa68000701172d..."} 
[2026-08-21 19:07:34] local.INFO: Processing buffer {"connection_id":160448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248856b0012da025000552aa68000701172d..."} 
[2026-08-21 19:07:34] local.INFO: Packet analysis {"connection_id":160448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:07:34] local.INFO: Extracted packet for processing {"connection_id":160448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:07:34] local.INFO: GPS Element Parsed {"raw_longitude":765469952,"raw_latitude":89303656,"longitude_deg":76.5469952,"latitude_deg":8.9303656,"altitude":7,"angle":279,"satellites":45,"speed":0,"hex_longitude":"2da02500","hex_latitude":"0552aa68","is_valid_coordinates":true} 
[2026-08-21 19:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553737984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572211029475328,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6906832955664361472,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319310000,"timestamp_ms":1787319310000,"timestamp_seconds":1787319310,"priority":1,"record_length":96,"hex_timestamp":"000001a0248856b0"} 
[2026-08-21 19:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19: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-08-21 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553737984001,"66":27343,"116":206,"84":6144,"24":0,"16":388572211029475328,"45":-6906832955664361472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553737984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:07:34] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:07:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572211029475328,"km_value":388572211029475.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6906832955664361472,"description":"Unknown IO ID 45"} 
[2026-08-21 19:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553737984001,"power":27343,"unknown_116":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6906832955664361472}} 
[2026-08-21 19:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":160448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:07:34] local.INFO: GPS data processed {"connection_id":160448,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:07:34] local.INFO: Acknowledgment sent {"connection_id":160448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:07:38] local.INFO: TCP Data received {"connection_id":159265,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024891de8012d18c400072143380041016329..."} 
[2026-08-21 19:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024891de8012d18c400072143380041016329..."} 
[2026-08-21 19:07:38] local.INFO: Processing buffer {"connection_id":159265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024891de8012d18c400072143380041016329..."} 
[2026-08-21 19:07:38] local.INFO: Packet analysis {"connection_id":159265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:38] local.INFO: Extracted packet for processing {"connection_id":159265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119620408,"longitude_deg":75.659776,"latitude_deg":11.9620408,"altitude":65,"angle":355,"satellites":41,"speed":31,"hex_longitude":"2d18c400","hex_latitude":"07214338","is_valid_coordinates":true} 
[2026-08-21 19:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553755904001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14309052913811456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226688888832,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787319361000,"timestamp_ms":1787319361000,"timestamp_seconds":1787319361,"priority":1,"record_length":96,"hex_timestamp":"000001a024891de8"} 
[2026-08-21 19:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:07: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":110,"data_length":795,"current_offset":136} 
[2026-08-21 19:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553755904001,"66":12841,"103":206,"83":41984,"24":31,"16":14309052913811456,"45":1784903226688888832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553755904001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:07:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14309052913811456,"km_value":14309052913811.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226688888832,"description":"Unknown IO ID 45"} 
[2026-08-21 19:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553755904001,"power":12841,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784903226688888832}} 
[2026-08-21 19:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":159265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:07:38] local.INFO: GPS data processed {"connection_id":159265,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:07:38] local.INFO: Acknowledgment sent {"connection_id":159265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:07:53] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:07:53] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:07:53] local.INFO: IMEI packet received {"connection_id":159553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":159553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:07:57] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:57] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:57] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:07:58] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:07:58] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:07:58] local.INFO: IMEI packet received {"connection_id":159553,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":159553,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:07:59] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:59] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:07:59] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:07:59] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024894110012d83bb4005cbe4c0000a00bb28..."} 
[2026-08-21 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024894110012d83bb4005cbe4c0000a00bb28..."} 
[2026-08-21 19:07:59] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024894110012d83bb4005cbe4c0000a00bb28..."} 
[2026-08-21 19:07:59] local.INFO: Packet analysis {"connection_id":159553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:59] local.INFO: Extracted packet for processing {"connection_id":159553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763607872,"raw_latitude":97248448,"longitude_deg":76.3607872,"latitude_deg":9.7248448,"altitude":10,"angle":187,"satellites":40,"speed":30,"hex_longitude":"2d83bb40","hex_latitude":"05cbe4c0","is_valid_coordinates":true} 
[2026-08-21 19:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553755392001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121923298215854080,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8952663453105422336,"note":"Value kept but may cause issues"} 
[2026-08-21 19:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319370000,"timestamp_ms":1787319370000,"timestamp_seconds":1787319370,"priority":1,"record_length":96,"hex_timestamp":"000001a024894110"} 
[2026-08-21 19:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19: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-08-21 19:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 19:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553755392001,"66":12461,"63":206,"85":15104,"24":30,"16":121923298215854080,"45":-8952663453105422336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 19:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553755392001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121923298215854080,"km_value":121923298215854.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8952663453105422336,"description":"Unknown IO ID 45"} 
[2026-08-21 19:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553755392001,"power":12461,"unknown_63":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-8952663453105422336}} 
[2026-08-21 19:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":159553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:08:00] local.INFO: GPS data processed {"connection_id":159553,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:08:00] local.INFO: Acknowledgment sent {"connection_id":159553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:08:00] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:00] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:00] local.INFO: IMEI packet received {"connection_id":159554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":159554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:08:01] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:01] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:01] local.INFO: IMEI packet received {"connection_id":159554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":159554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:08:01] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:01] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:01] local.INFO: IMEI packet received {"connection_id":159554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":159554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:08:02] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:08:02] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:08:02] local.INFO: IMEI packet received {"connection_id":161840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":161840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:08:03] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02488a8b8012da01b000552ac300007011a2c..."} 
[2026-08-21 19:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02488a8b8012da01b000552ac300007011a2c..."} 
[2026-08-21 19:08:03] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02488a8b8012da01b000552ac300007011a2c..."} 
[2026-08-21 19:08:03] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:08:03] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":765467392,"raw_latitude":89304112,"longitude_deg":76.5467392,"latitude_deg":8.9304112,"altitude":7,"angle":282,"satellites":44,"speed":8,"hex_longitude":"2da01b00","hex_latitude":"0552ac30","is_valid_coordinates":true} 
[2026-08-21 19:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553743360001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572339878494208,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6907114430641051648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319331000,"timestamp_ms":1787319331000,"timestamp_seconds":1787319331,"priority":1,"record_length":96,"hex_timestamp":"000001a02488a8b8"} 
[2026-08-21 19:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553743360001,"66":27267,"116":206,"84":6144,"24":8,"16":388572339878494208,"45":-6907114430641051648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553743360001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:08:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:08:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572339878494208,"km_value":388572339878494.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6907114430641051648,"description":"Unknown IO ID 45"} 
[2026-08-21 19:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553743360001,"power":27267,"unknown_116":206,"unknown_84":6144,"ignition":8,"odometer":null,"unknown_45":-6907114430641051648}} 
[2026-08-21 19:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:08:03] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:08:03] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:08:06] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:06] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:08:06] local.INFO: IMEI packet received {"connection_id":159554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":159554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:08:07] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024893170012d18c280072152200042015129..."} 
[2026-08-21 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024893170012d18c280072152200042015129..."} 
[2026-08-21 19:08:07] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024893170012d18c280072152200042015129..."} 
[2026-08-21 19:08:07] local.INFO: Packet analysis {"connection_id":159554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:08:07] local.INFO: Extracted packet for processing {"connection_id":159554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756597376,"raw_latitude":119624224,"longitude_deg":75.6597376,"latitude_deg":11.9624224,"altitude":66,"angle":337,"satellites":41,"speed":31,"hex_longitude":"2d18c280","hex_latitude":"07215220","is_valid_coordinates":true} 
[2026-08-21 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553756416001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14309237597405184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968383488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319366000,"timestamp_ms":1787319366000,"timestamp_seconds":1787319366,"priority":1,"record_length":96,"hex_timestamp":"000001a024893170"} 
[2026-08-21 19:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553756416001,"66":13580,"103":206,"83":41984,"24":31,"16":14309237597405184,"45":1784551382968383488},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553756416001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14309237597405184,"km_value":14309237597405.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968383488,"description":"Unknown IO ID 45"} 
[2026-08-21 19:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553756416001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1784551382968383488}} 
[2026-08-21 19:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":159554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:08:07] local.INFO: GPS data processed {"connection_id":159554,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:08:07] local.INFO: Acknowledgment sent {"connection_id":159554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:08:31] local.INFO: TCP Data received {"connection_id":159553,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024896ff0012d83b8c005cbc190000b00b427..."} 
[2026-08-21 19:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024896ff0012d83b8c005cbc190000b00b427..."} 
[2026-08-21 19:08:31] local.INFO: Processing buffer {"connection_id":159553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024896ff0012d83b8c005cbc190000b00b427..."} 
[2026-08-21 19:08:31] local.INFO: Packet analysis {"connection_id":159553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:08:31] local.INFO: Extracted packet for processing {"connection_id":159553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763607232,"raw_latitude":97239440,"longitude_deg":76.3607232,"latitude_deg":9.723944,"altitude":11,"angle":180,"satellites":39,"speed":28,"hex_longitude":"2d83b8c0","hex_latitude":"05cbc190","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553758720001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121923736302518272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8954493040456318976,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787319382000,"timestamp_ms":1787319382000,"timestamp_seconds":1787319382,"priority":1,"record_length":96,"hex_timestamp":"000001a024896ff0"} 
[2026-08-21 19:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 19:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159553,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553758720001,"66":12341,"63":206,"85":15104,"24":28,"16":121923736302518272,"45":-8954493040456318976},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 19:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553758720001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:08:31] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 19:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121923736302518272,"km_value":121923736302518.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8954493040456318976,"description":"Unknown IO ID 45"} 
[2026-08-21 19:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553758720001,"power":12341,"unknown_63":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-8954493040456318976}} 
[2026-08-21 19:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":159553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:08:31] local.INFO: GPS data processed {"connection_id":159553,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:08:31] local.INFO: Acknowledgment sent {"connection_id":159553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:08:34] local.INFO: TCP Data received {"connection_id":161840,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02488ef08012da006800552b238000801262c..."} 
[2026-08-21 19:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02488ef08012da006800552b238000801262c..."} 
[2026-08-21 19:08:34] local.INFO: Processing buffer {"connection_id":161840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02488ef08012da006800552b238000801262c..."} 
[2026-08-21 19:08:34] local.INFO: Packet analysis {"connection_id":161840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:08:34] local.INFO: Extracted packet for processing {"connection_id":161840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02488"} 
[2026-08-21 19:08:34] local.INFO: GPS Element Parsed {"raw_longitude":765462144,"raw_latitude":89305656,"longitude_deg":76.5462144,"latitude_deg":8.9305656,"altitude":8,"angle":294,"satellites":44,"speed":16,"hex_longitude":"2da00680","hex_latitude":"0552b238","is_valid_coordinates":true} 
[2026-08-21 19:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553748736001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572601871499264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6909929180408041472,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319349000,"timestamp_ms":1787319349000,"timestamp_seconds":1787319349,"priority":1,"record_length":96,"hex_timestamp":"000001a02488ef08"} 
[2026-08-21 19:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 19:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553748736001,"66":27213,"116":206,"84":6144,"24":16,"16":388572601871499264,"45":-6909929180408041472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553748736001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:08:34] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:08:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572601871499264,"km_value":388572601871499.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6909929180408041472,"description":"Unknown IO ID 45"} 
[2026-08-21 19:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553748736001,"power":27213,"unknown_116":206,"unknown_84":6144,"ignition":16,"odometer":null,"unknown_45":-6909929180408041472}} 
[2026-08-21 19:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":161840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:08:34] local.INFO: GPS data processed {"connection_id":161840,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:08:34] local.INFO: Acknowledgment sent {"connection_id":161840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:08:38] local.INFO: TCP Data received {"connection_id":159554,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024893940012d18bf40072157380043014429..."} 
[2026-08-21 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024893940012d18bf40072157380043014429..."} 
[2026-08-21 19:08:38] local.INFO: Processing buffer {"connection_id":159554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024893940012d18bf40072157380043014429..."} 
[2026-08-21 19:08:38] local.INFO: Packet analysis {"connection_id":159554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:08:38] local.INFO: Extracted packet for processing {"connection_id":159554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756596544,"raw_latitude":119625528,"longitude_deg":75.6596544,"latitude_deg":11.9625528,"altitude":67,"angle":324,"satellites":41,"speed":30,"hex_longitude":"2d18bf40","hex_latitude":"07215738","is_valid_coordinates":true} 
[2026-08-21 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553757696001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14309314906816512,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504294400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787319368000,"timestamp_ms":1787319368000,"timestamp_seconds":1787319368,"priority":1,"record_length":96,"hex_timestamp":"000001a024893940"} 
[2026-08-21 19:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526613,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-2954353517257555906,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5055290663327760394,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2297878529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549763175,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":-7349648674860773805,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3580952576,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755481045565681,"note":"Value kept but may cause issues"} 
[2026-08-21 19:08:38] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,103,83,24,241,157,16,214,160,29,45,67,65,41,10,66,22,64,61,213,254,128,1,240,154,227,36,33,4,113,205,219,209,80,42,239,53,2,50,7,62,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-08-21 19:08:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4756171918017495040,"timestamp_seconds":4756171918017495.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553757696001,"66":13656,"103":206,"83":41984,"24":30,"16":14309314906816512,"45":1784129170504294400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553757696001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14309314906816512,"km_value":14309314906816.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504294400,"description":"Unknown IO ID 45"} 
[2026-08-21 19:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553757696001,"power":13656,"unknown_103":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1784129170504294400}} 
[2026-08-21 19:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":159554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:08:38] local.INFO: GPS data processed {"connection_id":159554,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:08:38] local.INFO: Acknowledgment sent {"connection_id":159554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:08:53] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:53] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:53] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:08:55] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:55] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:55] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:08:58] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:58] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:08:58] local.INFO: IMEI packet received {"connection_id":161841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":161841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:09:01] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:09:01] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:09:01] local.INFO: IMEI packet received {"connection_id":161843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":161843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:09:02] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:02] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:02] local.INFO: IMEI packet received {"connection_id":161842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":161842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:09:03] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:03] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:03] local.INFO: IMEI packet received {"connection_id":161842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":161842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:09:03] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024899ed0012d83b94005cb9da0000700b028..."} 
[2026-08-21 19:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024899ed0012d83b94005cb9da0000700b028..."} 
[2026-08-21 19:09:03] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024899ed0012d83b94005cb9da0000700b028..."} 
[2026-08-21 19:09:03] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:03] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763607360,"raw_latitude":97230240,"longitude_deg":76.360736,"latitude_deg":9.723024,"altitude":7,"angle":176,"satellites":40,"speed":33,"hex_longitude":"2d83b940","hex_latitude":"05cb9da0","is_valid_coordinates":true} 
[2026-08-21 19:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553761792001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121924182979117056,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8955196727900401664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319394000,"timestamp_ms":1787319394000,"timestamp_seconds":1787319394,"priority":1,"record_length":96,"hex_timestamp":"000001a024899ed0"} 
[2026-08-21 19:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553761792001,"66":12461,"63":206,"85":15104,"24":33,"16":121924182979117056,"45":-8955196727900401664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553761792001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121924182979117056,"km_value":121924182979117.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8955196727900401664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553761792001,"power":12461,"unknown_63":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-8955196727900401664}} 
[2026-08-21 19:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:03] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:03] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:09:03] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024890e48012d9ffa800552b8b8000701312d..."} 
[2026-08-21 19:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024890e48012d9ffa800552b8b8000701312d..."} 
[2026-08-21 19:09:03] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024890e48012d9ffa800552b8b8000701312d..."} 
[2026-08-21 19:09:03] local.INFO: Packet analysis {"connection_id":161842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:03] local.INFO: Extracted packet for processing {"connection_id":161842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:03] local.INFO: GPS Element Parsed {"raw_longitude":765459072,"raw_latitude":89307320,"longitude_deg":76.5459072,"latitude_deg":8.930732,"altitude":7,"angle":305,"satellites":45,"speed":15,"hex_longitude":"2d9ffa80","hex_latitude":"0552b8b8","is_valid_coordinates":true} 
[2026-08-21 19:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553753344001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572769375223808,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6915699417430214656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319357000,"timestamp_ms":1787319357000,"timestamp_seconds":1787319357,"priority":1,"record_length":96,"hex_timestamp":"000001a024890e48"} 
[2026-08-21 19:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553753344001,"66":27321,"116":206,"84":6144,"24":15,"16":388572769375223808,"45":-6915699417430214656},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553753344001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572769375223808,"km_value":388572769375223.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6915699417430214656,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553753344001,"power":27321,"unknown_116":206,"unknown_84":6144,"ignition":15,"odometer":null,"unknown_45":-6915699417430214656}} 
[2026-08-21 19:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":161842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:03] local.INFO: GPS data processed {"connection_id":161842,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:03] local.INFO: Acknowledgment sent {"connection_id":161842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:09:06] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:09:06] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:09:06] local.INFO: IMEI packet received {"connection_id":161843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":161843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:09:07] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024898b48012d18b98007215f60004501492a..."} 
[2026-08-21 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024898b48012d18b98007215f60004501492a..."} 
[2026-08-21 19:09:07] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024898b48012d18b98007215f60004501492a..."} 
[2026-08-21 19:09:07] local.INFO: Packet analysis {"connection_id":161843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:07] local.INFO: Extracted packet for processing {"connection_id":161843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756595072,"raw_latitude":119627616,"longitude_deg":75.6595072,"latitude_deg":11.9627616,"altitude":69,"angle":329,"satellites":42,"speed":0,"hex_longitude":"2d18b980","hex_latitude":"07215f60","is_valid_coordinates":true} 
[2026-08-21 19:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553758208001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14309435165900800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783214376830318592,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319389000,"timestamp_ms":1787319389000,"timestamp_seconds":1787319389,"priority":1,"record_length":96,"hex_timestamp":"000001a024898b48"} 
[2026-08-21 19:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553758208001,"66":13722,"103":206,"83":41984,"24":0,"16":14309435165900800,"45":1783214376830318592},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553758208001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14309435165900800,"km_value":14309435165900.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783214376830318592,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553758208001,"power":13722,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1783214376830318592}} 
[2026-08-21 19:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":161843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:07] local.INFO: GPS data processed {"connection_id":161843,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:07] local.INFO: Acknowledgment sent {"connection_id":161843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:09:07] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024896050012d9feec00552c2d00007013b2d..."} 
[2026-08-21 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024896050012d9feec00552c2d00007013b2d..."} 
[2026-08-21 19:09:07] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024896050012d9feec00552c2d00007013b2d..."} 
[2026-08-21 19:09:07] local.INFO: Packet analysis {"connection_id":161842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:07] local.INFO: Extracted packet for processing {"connection_id":161842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:07] local.INFO: GPS Element Parsed {"raw_longitude":765456064,"raw_latitude":89309904,"longitude_deg":76.5456064,"latitude_deg":8.9309904,"altitude":7,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d9feec0","hex_latitude":"0552c2d0","is_valid_coordinates":true} 
[2026-08-21 19:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553755392001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388572962648752128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6919077117150316544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319378000,"timestamp_ms":1787319378000,"timestamp_seconds":1787319378,"priority":1,"record_length":96,"hex_timestamp":"000001a024896050"} 
[2026-08-21 19:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09: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-08-21 19:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553755392001,"66":27343,"116":206,"84":6144,"24":0,"16":388572962648752128,"45":-6919077117150316544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553755392001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388572962648752128,"km_value":388572962648752.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6919077117150316544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553755392001,"power":27343,"unknown_116":206,"unknown_84":6144,"ignition":0,"odometer":null,"unknown_45":-6919077117150316544}} 
[2026-08-21 19:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":161842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:07] local.INFO: GPS data processed {"connection_id":161842,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:07] local.INFO: Acknowledgment sent {"connection_id":161842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:09:34] local.INFO: TCP Data received {"connection_id":161841,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c0fd0012d836b4005c9fbe0000700d728..."} 
[2026-08-21 19:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c0fd0012d836b4005c9fbe0000700d728..."} 
[2026-08-21 19:09:34] local.INFO: Processing buffer {"connection_id":161841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c0fd0012d836b4005c9fbe0000700d728..."} 
[2026-08-21 19:09:34] local.INFO: Packet analysis {"connection_id":161841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:09:34] local.INFO: Extracted packet for processing {"connection_id":161841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763587392,"raw_latitude":97123296,"longitude_deg":76.3587392,"latitude_deg":9.7123296,"altitude":7,"angle":215,"satellites":40,"speed":24,"hex_longitude":"2d836b40","hex_latitude":"05c9fbe0","is_valid_coordinates":true} 
[2026-08-21 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553805056001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121929504443596800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8975814769973745664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319554000,"timestamp_ms":1787319554000,"timestamp_seconds":1787319554,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c0fd0"} 
[2026-08-21 19:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09: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-08-21 19:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553805056001,"66":12189,"64":206,"85":15104,"24":24,"16":121929504443596800,"45":-8975814769973745664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,85,24,16,45]} 
[2026-08-21 19:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553805056001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:34] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-08-21 19:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121929504443596800,"km_value":121929504443596.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8975814769973745664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553805056001,"power":12189,"unknown_64":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-8975814769973745664}} 
[2026-08-21 19:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":161841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:34] local.INFO: GPS data processed {"connection_id":161841,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:34] local.INFO: Acknowledgment sent {"connection_id":161841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:09:38] local.INFO: TCP Data received {"connection_id":161843,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248b19b8012d182dc0072198e8004d01172b..."} 
[2026-08-21 19:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248b19b8012d182dc0072198e8004d01172b..."} 
[2026-08-21 19:09:38] local.INFO: Processing buffer {"connection_id":161843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248b19b8012d182dc0072198e8004d01172b..."} 
[2026-08-21 19:09:38] local.INFO: Packet analysis {"connection_id":161843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248b"} 
[2026-08-21 19:09:38] local.INFO: Extracted packet for processing {"connection_id":161843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248b"} 
[2026-08-21 19:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642344,"longitude_deg":75.6559296,"latitude_deg":11.9642344,"altitude":77,"angle":279,"satellites":43,"speed":6,"hex_longitude":"2d182dc0","hex_latitude":"072198e8","is_valid_coordinates":true} 
[2026-08-21 19:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553786624001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311355016282112,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747678161024393216,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787319491000,"timestamp_ms":1787319491000,"timestamp_seconds":1787319491,"priority":1,"record_length":96,"hex_timestamp":"000001a0248b19b8"} 
[2026-08-21 19:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553786624001,"66":12722,"105":206,"83":41984,"24":6,"16":14311355016282112,"45":1747678161024393216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553786624001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311355016282112,"km_value":14311355016282.111,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747678161024393216,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553786624001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1747678161024393216}} 
[2026-08-21 19:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":161843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:38] local.INFO: GPS data processed {"connection_id":161843,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:38] local.INFO: Acknowledgment sent {"connection_id":161843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:09:38] local.INFO: TCP Data received {"connection_id":161842,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02489b258012d9fe5400552ce70000901482d..."} 
[2026-08-21 19:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02489b258012d9fe5400552ce70000901482d..."} 
[2026-08-21 19:09:38] local.INFO: Processing buffer {"connection_id":161842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02489b258012d9fe5400552ce70000901482d..."} 
[2026-08-21 19:09:38] local.INFO: Packet analysis {"connection_id":161842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:38] local.INFO: Extracted packet for processing {"connection_id":161842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:09:38] local.INFO: GPS Element Parsed {"raw_longitude":765453632,"raw_latitude":89312880,"longitude_deg":76.5453632,"latitude_deg":8.931288,"altitude":9,"angle":328,"satellites":45,"speed":11,"hex_longitude":"2d9fe540","hex_latitude":"0552ce70","is_valid_coordinates":true} 
[2026-08-21 19:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553760768001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388573147332345856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6922384448126005248,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787319399000,"timestamp_ms":1787319399000,"timestamp_seconds":1787319399,"priority":1,"record_length":96,"hex_timestamp":"000001a02489b258"} 
[2026-08-21 19:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553760768001,"66":27234,"116":206,"84":6144,"24":11,"16":388573147332345856,"45":-6922384448126005248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553760768001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388573147332345856,"km_value":388573147332345.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6922384448126005248,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553760768001,"power":27234,"unknown_116":206,"unknown_84":6144,"ignition":11,"odometer":null,"unknown_45":-6922384448126005248}} 
[2026-08-21 19:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":161842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:38] local.INFO: GPS data processed {"connection_id":161842,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:38] local.INFO: Acknowledgment sent {"connection_id":161842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:09:53] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:09:53] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:09:53] local.INFO: IMEI packet received {"connection_id":159555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":159555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:09:57] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:57] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:09:57] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:09:58] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:09:58] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:09:58] local.INFO: IMEI packet received {"connection_id":159555,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":159555,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:09:59] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c4a68012d83538005c9e008000500d427..."} 
[2026-08-21 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c4a68012d83538005c9e008000500d427..."} 
[2026-08-21 19:09:59] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c4a68012d83538005c9e008000500d427..."} 
[2026-08-21 19:09:59] local.INFO: Packet analysis {"connection_id":159555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:09:59] local.INFO: Extracted packet for processing {"connection_id":159555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":763581312,"raw_latitude":97116168,"longitude_deg":76.3581312,"latitude_deg":9.7116168,"altitude":5,"angle":212,"satellites":39,"speed":28,"hex_longitude":"2d835380","hex_latitude":"05c9e008","is_valid_coordinates":true} 
[2026-08-21 19:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553805824001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121929959710130176,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8977011038625210368,"note":"Value kept but may cause issues"} 
[2026-08-21 19:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319569000,"timestamp_ms":1787319569000,"timestamp_seconds":1787319569,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c4a68"} 
[2026-08-21 19:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 19:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553805824001,"66":12287,"157":206,"85":15104,"24":28,"16":121929959710130176,"45":-8977011038625210368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553805824001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121929959710130176,"km_value":121929959710130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8977011038625210368,"description":"Unknown IO ID 45"} 
[2026-08-21 19:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553805824001,"power":12287,"unknown_157":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-8977011038625210368}} 
[2026-08-21 19:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":159555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:09:59] local.INFO: GPS data processed {"connection_id":159555,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:09:59] local.INFO: Acknowledgment sent {"connection_id":159555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:10:01] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:10:01] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:10:01] local.INFO: IMEI packet received {"connection_id":160449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":160449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:10:02] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:10:02] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:10:02] local.INFO: IMEI packet received {"connection_id":161844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":161844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:10:03] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02489b258012d9fe5400552ce70000901482d..."} 
[2026-08-21 19:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02489b258012d9fe5400552ce70000901482d..."} 
[2026-08-21 19:10:03] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02489b258012d9fe5400552ce70000901482d..."} 
[2026-08-21 19:10:03] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:10:03] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02489"} 
[2026-08-21 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":765453632,"raw_latitude":89312880,"longitude_deg":76.5453632,"latitude_deg":8.931288,"altitude":9,"angle":328,"satellites":45,"speed":11,"hex_longitude":"2d9fe540","hex_latitude":"0552ce70","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553766144001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388573147332345856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6925058460403994624,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319399000,"timestamp_ms":1787319399000,"timestamp_seconds":1787319399,"priority":1,"record_length":96,"hex_timestamp":"000001a02489b258"} 
[2026-08-21 19:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 19:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553766144001,"66":27234,"116":206,"84":6144,"24":11,"16":388573147332345856,"45":-6925058460403994624},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,84,24,16,45]} 
[2026-08-21 19:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553766144001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:10:03] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-08-21 19:10:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":6144,"description":"Unknown IO ID 84"} 
[2026-08-21 19:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388573147332345856,"km_value":388573147332345.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6925058460403994624,"description":"Unknown IO ID 45"} 
[2026-08-21 19:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553766144001,"power":27234,"unknown_116":206,"unknown_84":6144,"ignition":11,"odometer":null,"unknown_45":-6925058460403994624}} 
[2026-08-21 19:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:10:03] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:10:03] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:10:06] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:10:06] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:10:06] local.INFO: IMEI packet received {"connection_id":160449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":160449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:10:07] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248b6bc0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248b6bc0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:10:07] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248b6bc0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:10:07] local.INFO: Packet analysis {"connection_id":160449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248b"} 
[2026-08-21 19:10:07] local.INFO: Extracted packet for processing {"connection_id":160449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248b"} 
[2026-08-21 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553789696001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723223040,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319512000,"timestamp_ms":1787319512000,"timestamp_seconds":1787319512,"priority":1,"record_length":96,"hex_timestamp":"000001a0248b6bc0"} 
[2026-08-21 19:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 19:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553789696001,"66":12722,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1742259767723223040},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553789696001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723223040,"description":"Unknown IO ID 45"} 
[2026-08-21 19:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553789696001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1742259767723223040}} 
[2026-08-21 19:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":160449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:10:07] local.INFO: GPS data processed {"connection_id":160449,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:10:07] local.INFO: Acknowledgment sent {"connection_id":160449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:10:30] local.INFO: TCP Data received {"connection_id":159555,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c5620012d834fc005c9d8c0000600c628..."} 
[2026-08-21 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c5620012d834fc005c9d8c0000600c628..."} 
[2026-08-21 19:10:30] local.INFO: Processing buffer {"connection_id":159555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c5620012d834fc005c9d8c0000600c628..."} 
[2026-08-21 19:10:30] local.INFO: Packet analysis {"connection_id":159555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:10:30] local.INFO: Extracted packet for processing {"connection_id":159555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763580352,"raw_latitude":97114304,"longitude_deg":76.3580352,"latitude_deg":9.7114304,"altitude":6,"angle":198,"satellites":40,"speed":26,"hex_longitude":"2d834fc0","hex_latitude":"05c9d8c0","is_valid_coordinates":true} 
[2026-08-21 19:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553809664001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121930062789345280,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8983696069323913216,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787319572000,"timestamp_ms":1787319572000,"timestamp_seconds":1787319572,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c5620"} 
[2026-08-21 19:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159555,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553809664001,"66":12330,"157":206,"85":15104,"24":26,"16":121930062789345280,"45":-8983696069323913216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553809664001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:10:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121930062789345280,"km_value":121930062789345.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8983696069323913216,"description":"Unknown IO ID 45"} 
[2026-08-21 19:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553809664001,"power":12330,"unknown_157":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-8983696069323913216}} 
[2026-08-21 19:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":159555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:10:30] local.INFO: GPS data processed {"connection_id":159555,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:10:30] local.INFO: Acknowledgment sent {"connection_id":159555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:10:34] local.INFO: TCP Data received {"connection_id":161844,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c8500012d9fc2c00553ba60000901512d..."} 
[2026-08-21 19:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c8500012d9fc2c00553ba60000901512d..."} 
[2026-08-21 19:10:34] local.INFO: Processing buffer {"connection_id":161844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c8500012d9fc2c00553ba60000901512d..."} 
[2026-08-21 19:10:34] local.INFO: Packet analysis {"connection_id":161844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:10:34] local.INFO: Extracted packet for processing {"connection_id":161844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:10:34] local.INFO: GPS Element Parsed {"raw_longitude":765444800,"raw_latitude":89373280,"longitude_deg":76.54448,"latitude_deg":8.937328,"altitude":9,"angle":337,"satellites":45,"speed":7,"hex_longitude":"2d9fc2c0","hex_latitude":"0553ba60","is_valid_coordinates":true} 
[2026-08-21 19:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553810176001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388576149514485760,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6934276765876805632,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319584000,"timestamp_ms":1787319584000,"timestamp_seconds":1787319584,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c8500"} 
[2026-08-21 19:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 19:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553810176001,"66":27300,"228":206,"84":7168,"24":7,"16":388576149514485760,"45":-6934276765876805632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-21 19:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553810176001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:10:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-21 19:10:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388576149514485760,"km_value":388576149514485.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6934276765876805632,"description":"Unknown IO ID 45"} 
[2026-08-21 19:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553810176001,"power":27300,"unknown_228":206,"unknown_84":7168,"ignition":7,"odometer":null,"unknown_45":-6934276765876805632}} 
[2026-08-21 19:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":161844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:10:34] local.INFO: GPS data processed {"connection_id":161844,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:10:34] local.INFO: Acknowledgment sent {"connection_id":161844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:10:38] local.INFO: TCP Data received {"connection_id":160449,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248bbdc8012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248bbdc8012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:10:38] local.INFO: Processing buffer {"connection_id":160449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248bbdc8012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:10:38] local.INFO: Packet analysis {"connection_id":160449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248b"} 
[2026-08-21 19:10:38] local.INFO: Extracted packet for processing {"connection_id":160449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248b"} 
[2026-08-21 19:10:38] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553795072001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787319533000,"timestamp_ms":1787319533000,"timestamp_seconds":1787319533,"priority":1,"record_length":96,"hex_timestamp":"000001a0248bbdc8"} 
[2026-08-21 19:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 19:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553795072001,"66":12722,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553795072001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:10:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:10:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553795072001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":160449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:10:38] local.INFO: GPS data processed {"connection_id":160449,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:10:38] local.INFO: Acknowledgment sent {"connection_id":160449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:10:57] local.INFO: TCP Data received {"connection_id":159556,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:10:57] local.INFO: Processing buffer {"connection_id":159556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:10:57] local.INFO: IMEI packet received {"connection_id":159556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":159556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:10:58] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:10:58] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:10:58] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:11:01] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:11:01] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:11:01] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:11:02] local.INFO: TCP Data received {"connection_id":159556,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:02] local.INFO: Processing buffer {"connection_id":159556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:02] local.INFO: IMEI packet received {"connection_id":159556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":159556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:11:03] local.INFO: TCP Data received {"connection_id":159556,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c8cd0012d9fc2400553bc600009015e2d..."} 
[2026-08-21 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c8cd0012d9fc2400553bc600009015e2d..."} 
[2026-08-21 19:11:03] local.INFO: Processing buffer {"connection_id":159556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c8cd0012d9fc2400553bc600009015e2d..."} 
[2026-08-21 19:11:03] local.INFO: Packet analysis {"connection_id":159556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:03] local.INFO: Extracted packet for processing {"connection_id":159556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":765444672,"raw_latitude":89373792,"longitude_deg":76.5444672,"latitude_deg":8.9373792,"altitude":9,"angle":350,"satellites":45,"speed":12,"hex_longitude":"2d9fc240","hex_latitude":"0553bc60","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553813504001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388576175284289536,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6934769347085049856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319586000,"timestamp_ms":1787319586000,"timestamp_seconds":1787319586,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c8cd0"} 
[2026-08-21 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-08-21 19:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 19:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553813504001,"66":27484,"228":206,"84":7168,"24":12,"16":388576175284289536,"45":-6934769347085049856},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-21 19:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553813504001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:11:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-21 19:11:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388576175284289536,"km_value":388576175284289.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6934769347085049856,"description":"Unknown IO ID 45"} 
[2026-08-21 19:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553813504001,"power":27484,"unknown_228":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-6934769347085049856}} 
[2026-08-21 19:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":159556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:11:03] local.INFO: GPS data processed {"connection_id":159556,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:11:03] local.INFO: Acknowledgment sent {"connection_id":159556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:11:03] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:03] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:03] local.INFO: IMEI packet received {"connection_id":161845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":161845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:11:04] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c7560012d834c4005c9c430000700b928..."} 
[2026-08-21 19:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c7560012d834c4005c9c430000700b928..."} 
[2026-08-21 19:11:04] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c7560012d834c4005c9c430000700b928..."} 
[2026-08-21 19:11:04] local.INFO: Packet analysis {"connection_id":161845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:04] local.INFO: Extracted packet for processing {"connection_id":161845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":763579456,"raw_latitude":97109040,"longitude_deg":76.3579456,"latitude_deg":9.710904,"altitude":7,"angle":185,"satellites":40,"speed":25,"hex_longitude":"2d834c40","hex_latitude":"05c9c430","is_valid_coordinates":true} 
[2026-08-21 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553810432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121930320487383040,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8984751600487055360,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787319580000,"timestamp_ms":1787319580000,"timestamp_seconds":1787319580,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c7560"} 
[2026-08-21 19:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 19:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553810432001,"66":12298,"157":206,"85":15104,"24":25,"16":121930320487383040,"45":-8984751600487055360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553810432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:11:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:11:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121930320487383040,"km_value":121930320487383.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8984751600487055360,"description":"Unknown IO ID 45"} 
[2026-08-21 19:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553810432001,"power":12298,"unknown_157":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-8984751600487055360}} 
[2026-08-21 19:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":161845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:11:04] local.INFO: GPS data processed {"connection_id":161845,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:11:04] local.INFO: Acknowledgment sent {"connection_id":161845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:11:06] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:11:06] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:11:06] local.INFO: IMEI packet received {"connection_id":161846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":161846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:11:07] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c0fd0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c0fd0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:11:07] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c0fd0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:11:07] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:07] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:07] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553800448001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319554000,"timestamp_ms":1787319554000,"timestamp_seconds":1787319554,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c0fd0"} 
[2026-08-21 19:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 19:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553800448001,"66":12689,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553800448001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553800448001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:11:07] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:11:07] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:11:13] local.INFO: TCP Data received {"connection_id":161845,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c94a0012d83478005c9b068000800c524..."} 
[2026-08-21 19:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c94a0012d83478005c9b068000800c524..."} 
[2026-08-21 19:11:13] local.INFO: Processing buffer {"connection_id":161845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c94a0012d83478005c9b068000800c524..."} 
[2026-08-21 19:11:13] local.INFO: Packet analysis {"connection_id":161845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:13] local.INFO: Extracted packet for processing {"connection_id":161845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:13] local.INFO: GPS Element Parsed {"raw_longitude":763578240,"raw_latitude":97103976,"longitude_deg":76.357824,"latitude_deg":9.7103976,"altitude":8,"angle":197,"satellites":36,"speed":24,"hex_longitude":"2d834780","hex_latitude":"05c9b068","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553812480001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121930573890453504,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8985736762906890240,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787319588000,"timestamp_ms":1787319588000,"timestamp_seconds":1787319588,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c94a0"} 
[2026-08-21 19:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424437003354624,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2633411368806351732,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2205122565,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":6,"raw_value":53804601991757824,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832606,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469852537038,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3390011392,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":64,"raw_value":417203983443493042,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2415996291,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2349078529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":44564487,"corrected_to":0} 
[2026-08-21 19:11:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2822766798,"corrected_to":0} 
[2026-08-21 19:11:13] local.WARNING: Large IO value detected {"io_id":41,"raw_value":9851624185528324,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:13] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,157,85,24,241,16,46,160,86,45,192,216,6,40,10,66,74,128,224,5,39,15,64,1,240,227,36,202,4,113,205,26,115,120,239,48,2,177,41],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":202,"original":44564487,"validated":0},{"io_id":205,"original":2822766798,"validated":0}]} 
[2026-08-21 19:11:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504606739716964352,"timestamp_seconds":504606739716964.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":161845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":161845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553812480001,"66":12287,"157":206,"85":15104,"24":24,"16":121930573890453504,"45":-8985736762906890240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553812480001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:11:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:11:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121930573890453504,"km_value":121930573890453.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8985736762906890240,"description":"Unknown IO ID 45"} 
[2026-08-21 19:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553812480001,"power":12287,"unknown_157":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-8985736762906890240}} 
[2026-08-21 19:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":161845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:11:13] local.INFO: GPS data processed {"connection_id":161845,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:11:13] local.INFO: Acknowledgment sent {"connection_id":161845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:11:34] local.INFO: TCP Data received {"connection_id":159556,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248ca828012d9fbf400553ca40000801522d..."} 
[2026-08-21 19:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248ca828012d9fbf400553ca40000801522d..."} 
[2026-08-21 19:11:34] local.INFO: Processing buffer {"connection_id":159556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248ca828012d9fbf400553ca40000801522d..."} 
[2026-08-21 19:11:34] local.INFO: Packet analysis {"connection_id":159556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:34] local.INFO: Extracted packet for processing {"connection_id":159556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:34] local.INFO: GPS Element Parsed {"raw_longitude":765443904,"raw_latitude":89377344,"longitude_deg":76.5443904,"latitude_deg":8.9377344,"altitude":8,"angle":338,"satellites":45,"speed":24,"hex_longitude":"2d9fbf40","hex_latitude":"0553ca40","is_valid_coordinates":true} 
[2026-08-21 19:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553814016001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388576355672915968,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6934910084573274112,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319593000,"timestamp_ms":1787319593000,"timestamp_seconds":1787319593,"priority":1,"record_length":96,"hex_timestamp":"000001a0248ca828"} 
[2026-08-21 19:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 19:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553814016001,"66":27571,"228":206,"84":7168,"24":24,"16":388576355672915968,"45":-6934910084573274112},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-21 19:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553814016001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:11:34] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-21 19:11:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388576355672915968,"km_value":388576355672915.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6934910084573274112,"description":"Unknown IO ID 45"} 
[2026-08-21 19:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553814016001,"power":27571,"unknown_228":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-6934910084573274112}} 
[2026-08-21 19:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":159556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:11:34] local.INFO: GPS data processed {"connection_id":159556,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:11:34] local.INFO: Acknowledgment sent {"connection_id":159556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:11:37] local.INFO: TCP Data received {"connection_id":161846,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248c61d8012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248c61d8012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:11:37] local.INFO: Processing buffer {"connection_id":161846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248c61d8012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:11:37] local.INFO: Packet analysis {"connection_id":161846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:37] local.INFO: Extracted packet for processing {"connection_id":161846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553805824001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787319575000,"timestamp_ms":1787319575000,"timestamp_seconds":1787319575,"priority":1,"record_length":96,"hex_timestamp":"000001a0248c61d8"} 
[2026-08-21 19:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 19:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553805824001,"66":12645,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553805824001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:11:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553805824001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":161846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:11:38] local.INFO: GPS data processed {"connection_id":161846,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:11:38] local.INFO: Acknowledgment sent {"connection_id":161846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:11:53] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:53] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:53] local.INFO: IMEI packet received {"connection_id":159266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":159266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:11:56] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:56] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:56] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:11:57] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:57] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:11:57] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:11:58] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:58] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:11:58] local.INFO: IMEI packet received {"connection_id":159266,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":159266,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:11:59] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248cc768012d83420005c990f8000900b927..."} 
[2026-08-21 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248cc768012d83420005c990f8000900b927..."} 
[2026-08-21 19:11:59] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248cc768012d83420005c990f8000900b927..."} 
[2026-08-21 19:11:59] local.INFO: Packet analysis {"connection_id":159266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:59] local.INFO: Extracted packet for processing {"connection_id":159266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":763576832,"raw_latitude":97095928,"longitude_deg":76.3576832,"latitude_deg":9.7095928,"altitude":9,"angle":185,"satellites":39,"speed":23,"hex_longitude":"2d834200","hex_latitude":"05c990f8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553814528001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121930969027444736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8987073769047562240,"note":"Value kept but may cause issues"} 
[2026-08-21 19:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319601000,"timestamp_ms":1787319601000,"timestamp_seconds":1787319601,"priority":1,"record_length":96,"hex_timestamp":"000001a0248cc768"} 
[2026-08-21 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-08-21 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553814528001,"66":12287,"157":206,"85":15104,"24":23,"16":121930969027444736,"45":-8987073769047562240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553814528001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121930969027444736,"km_value":121930969027444.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8987073769047562240,"description":"Unknown IO ID 45"} 
[2026-08-21 19:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553814528001,"power":12287,"unknown_157":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-8987073769047562240}} 
[2026-08-21 19:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":159266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:11:59] local.INFO: GPS data processed {"connection_id":159266,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:11:59] local.INFO: Acknowledgment sent {"connection_id":159266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:12:02] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:02] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:02] local.INFO: IMEI packet received {"connection_id":160450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":160450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:12:03] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248cb7c8012d9fba800553d380000701472c..."} 
[2026-08-21 19:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248cb7c8012d9fba800553d380000701472c..."} 
[2026-08-21 19:12:03] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248cb7c8012d9fba800553d380000701472c..."} 
[2026-08-21 19:12:03] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:12:03] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":765442688,"raw_latitude":89379712,"longitude_deg":76.5442688,"latitude_deg":8.9379712,"altitude":7,"angle":327,"satellites":44,"speed":26,"hex_longitude":"2d9fba80","hex_latitude":"0553d380","is_valid_coordinates":true} 
[2026-08-21 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553815808001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388576484521934848,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6935754509502496768,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319597000,"timestamp_ms":1787319597000,"timestamp_seconds":1787319597,"priority":1,"record_length":96,"hex_timestamp":"000001a0248cb7c8"} 
[2026-08-21 19:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-08-21 19:12:03] 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-08-21 19:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553815808001,"66":27234,"228":206,"84":7168,"24":26,"16":388576484521934848,"45":-6935754509502496768},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,84,24,16,45]} 
[2026-08-21 19:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553815808001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:12:03] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-08-21 19:12:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388576484521934848,"km_value":388576484521934.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6935754509502496768,"description":"Unknown IO ID 45"} 
[2026-08-21 19:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553815808001,"power":27234,"unknown_228":206,"unknown_84":7168,"ignition":26,"odometer":null,"unknown_45":-6935754509502496768}} 
[2026-08-21 19:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:12:03] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:12:03] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:12:06] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:12:06] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:12:06] local.INFO: IMEI packet received {"connection_id":160451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":160451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:12:11] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:12:11] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:12:11] local.INFO: IMEI packet received {"connection_id":160451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":160451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:12:12] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248cb3e0012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248cb3e0012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:12:12] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248cb3e0012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:12:12] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:12:12] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553811200001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787319596000,"timestamp_ms":1787319596000,"timestamp_seconds":1787319596,"priority":1,"record_length":96,"hex_timestamp":"000001a0248cb3e0"} 
[2026-08-21 19:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:12:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 19:12: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-08-21 19:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553811200001,"66":12613,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553811200001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:12:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:12:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553811200001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:12:12] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:12:12] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:12:16] local.INFO: TCP Data received {"connection_id":160451,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248d05e8012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248d05e8012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:12:16] local.INFO: Processing buffer {"connection_id":160451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248d05e8012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:12:16] local.INFO: Packet analysis {"connection_id":160451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:12:16] local.INFO: Extracted packet for processing {"connection_id":160451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:12:16] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553816576001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12: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-08-21 19:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787319617000,"timestamp_ms":1787319617000,"timestamp_seconds":1787319617,"priority":1,"record_length":96,"hex_timestamp":"000001a0248d05e8"} 
[2026-08-21 19:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:12: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-08-21 19:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 19:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553816576001,"66":12558,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553816576001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:12:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:12:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553816576001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":160451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:12:16] local.INFO: GPS data processed {"connection_id":160451,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:12:16] local.INFO: Acknowledgment sent {"connection_id":160451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:12:31] local.INFO: TCP Data received {"connection_id":159266,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248cfe18012d833c8005c96d10000800bd27..."} 
[2026-08-21 19:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248cfe18012d833c8005c96d10000800bd27..."} 
[2026-08-21 19:12:31] local.INFO: Processing buffer {"connection_id":159266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248cfe18012d833c8005c96d10000800bd27..."} 
[2026-08-21 19:12:31] local.INFO: Packet analysis {"connection_id":159266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:12:31] local.INFO: Extracted packet for processing {"connection_id":159266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248c"} 
[2026-08-21 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763575424,"raw_latitude":97086736,"longitude_deg":76.3575424,"latitude_deg":9.7086736,"altitude":8,"angle":189,"satellites":39,"speed":24,"hex_longitude":"2d833c80","hex_latitude":"05c96d10","is_valid_coordinates":true} 
[2026-08-21 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553817856001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121931419999010816,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8988621881421531136,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787319615000,"timestamp_ms":1787319615000,"timestamp_seconds":1787319615,"priority":1,"record_length":96,"hex_timestamp":"000001a0248cfe18"} 
[2026-08-21 19:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159266,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553817856001,"66":12287,"157":206,"85":15104,"24":24,"16":121931419999010816,"45":-8988621881421531136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553817856001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:12:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121931419999010816,"km_value":121931419999010.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8988621881421531136,"description":"Unknown IO ID 45"} 
[2026-08-21 19:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553817856001,"power":12287,"unknown_157":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-8988621881421531136}} 
[2026-08-21 19:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":159266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:12:31] local.INFO: GPS data processed {"connection_id":159266,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:12:31] local.INFO: Acknowledgment sent {"connection_id":159266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:12:34] local.INFO: TCP Data received {"connection_id":160450,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248e4250012d9eeec0055464c8000601382b..."} 
[2026-08-21 19:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248e4250012d9eeec0055464c8000601382b..."} 
[2026-08-21 19:12:34] local.INFO: Processing buffer {"connection_id":160450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248e4250012d9eeec0055464c8000601382b..."} 
[2026-08-21 19:12:34] local.INFO: Packet analysis {"connection_id":160450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:12:34] local.INFO: Extracted packet for processing {"connection_id":160450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:12:34] local.INFO: GPS Element Parsed {"raw_longitude":765390528,"raw_latitude":89416904,"longitude_deg":76.5390528,"latitude_deg":8.9416904,"altitude":6,"angle":312,"satellites":43,"speed":28,"hex_longitude":"2d9eeec0","hex_latitude":"055464c8","is_valid_coordinates":true} 
[2026-08-21 19:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553839872001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388579662797733888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6986631111534471168,"note":"Value kept but may cause issues"} 
[2026-08-21 19:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319698000,"timestamp_ms":1787319698000,"timestamp_seconds":1787319698,"priority":1,"record_length":96,"hex_timestamp":"000001a0248e4250"} 
[2026-08-21 19:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 19:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553839872001,"66":27365,"196":206,"84":7168,"24":28,"16":388579662797733888,"45":-6986631111534471168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 19:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553839872001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:12:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 19:12:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388579662797733888,"km_value":388579662797733.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6986631111534471168,"description":"Unknown IO ID 45"} 
[2026-08-21 19:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553839872001,"power":27365,"unknown_196":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-6986631111534471168}} 
[2026-08-21 19:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":160450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:12:34] local.INFO: GPS data processed {"connection_id":160450,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:12:34] local.INFO: Acknowledgment sent {"connection_id":160450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:12:53] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:53] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:53] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:12:54] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:54] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:54] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:12:57] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:57] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:57] local.INFO: IMEI packet received {"connection_id":159267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":159267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:12:58] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:58] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:12:58] local.INFO: IMEI packet received {"connection_id":159267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":159267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:12:59] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:59] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:12:59] local.INFO: IMEI packet received {"connection_id":161847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":161847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:13:00] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248d3c98012d83374005c94a50000c00bb29..."} 
[2026-08-21 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248d3c98012d83374005c94a50000c00bb29..."} 
[2026-08-21 19:13:00] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248d3c98012d83374005c94a50000c00bb29..."} 
[2026-08-21 19:13:00] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:00] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763574080,"raw_latitude":97077840,"longitude_deg":76.357408,"latitude_deg":9.707784,"altitude":12,"angle":187,"satellites":41,"speed":11,"hex_longitude":"2d833740","hex_latitude":"05c94a50","is_valid_coordinates":true} 
[2026-08-21 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553821440001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121931858085675008,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8990169993795792896,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787319631000,"timestamp_ms":1787319631000,"timestamp_seconds":1787319631,"priority":1,"record_length":96,"hex_timestamp":"000001a0248d3c98"} 
[2026-08-21 19:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553821440001,"66":12341,"157":206,"85":15104,"24":11,"16":121931858085675008,"45":-8990169993795792896},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553821440001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121931858085675008,"km_value":121931858085675.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8990169993795792896,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553821440001,"power":12341,"unknown_157":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-8990169993795792896}} 
[2026-08-21 19:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:00] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:00] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:01] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:01] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:01] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:13:01] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:01] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:01] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:13:02] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:13:02] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:13:02] local.INFO: IMEI packet received {"connection_id":159267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":159267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:13:03] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248e6d48012d9ed44005547fc0000601432d..."} 
[2026-08-21 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248e6d48012d9ed44005547fc0000601432d..."} 
[2026-08-21 19:13:03] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248e6d48012d9ed44005547fc0000601432d..."} 
[2026-08-21 19:13:03] local.INFO: Packet analysis {"connection_id":159267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:13:03] local.INFO: Extracted packet for processing {"connection_id":159267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":765383744,"raw_latitude":89423808,"longitude_deg":76.5383744,"latitude_deg":8.9423808,"altitude":6,"angle":323,"satellites":45,"speed":40,"hex_longitude":"2d9ed440","hex_latitude":"05547fc0","is_valid_coordinates":true} 
[2026-08-21 19:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553842688001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388580130949169152,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6994442042136541184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319709000,"timestamp_ms":1787319709000,"timestamp_seconds":1787319709,"priority":1,"record_length":96,"hex_timestamp":"000001a0248e6d48"} 
[2026-08-21 19:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553842688001,"66":26908,"196":206,"84":7168,"24":40,"16":388580130949169152,"45":-6994442042136541184},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 19:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553842688001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 19:13:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388580130949169152,"km_value":388580130949169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6994442042136541184,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553842688001,"power":26908,"unknown_196":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-6994442042136541184}} 
[2026-08-21 19:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":159267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:03] local.INFO: GPS data processed {"connection_id":159267,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:03] local.INFO: Acknowledgment sent {"connection_id":159267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:04] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248d86d0012d83318005c927c8000a00bb29..."} 
[2026-08-21 19:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248d86d0012d83318005c927c8000a00bb29..."} 
[2026-08-21 19:13:04] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248d86d0012d83318005c927c8000a00bb29..."} 
[2026-08-21 19:13:04] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:04] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763572608,"raw_latitude":97069000,"longitude_deg":76.3572608,"latitude_deg":9.7069,"altitude":10,"angle":187,"satellites":41,"speed":20,"hex_longitude":"2d833180","hex_latitude":"05c927c8","is_valid_coordinates":true} 
[2026-08-21 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553825536001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121932291877371904,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991647737425801216,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787319650000,"timestamp_ms":1787319650000,"timestamp_seconds":1787319650,"priority":1,"record_length":96,"hex_timestamp":"000001a0248d86d0"} 
[2026-08-21 19:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553825536001,"66":12135,"157":206,"85":15104,"24":20,"16":121932291877371904,"45":-8991647737425801216},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553825536001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121932291877371904,"km_value":121932291877371.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991647737425801216,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553825536001,"power":12135,"unknown_157":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-8991647737425801216}} 
[2026-08-21 19:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677410,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:04] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:04] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:06] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:06] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:13:06] local.INFO: IMEI packet received {"connection_id":161848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":161848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:13:07] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248d57f0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248d57f0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:13:07] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248d57f0012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:13:07] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:07] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553821952001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319638000,"timestamp_ms":1787319638000,"timestamp_seconds":1787319638,"priority":1,"record_length":96,"hex_timestamp":"000001a0248d57f0"} 
[2026-08-21 19:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249418599523258656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2344470529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2581594189,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":107,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3626041344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304409157634,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,216,160,179,45,64,153,77,42,10,66,97,43,15,1,240,145,227,36,33,4,113,205,107,224,239,49,2,50,7,6,106,76,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 19:13:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548750485441216512,"timestamp_seconds":5548750485441217.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553821952001,"66":12548,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553821952001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553821952001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:07] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:07] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:11] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248da9f8012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248da9f8012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:13:11] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248da9f8012d182b40072199e0004d011f2a..."} 
[2026-08-21 19:13:11] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:11] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":42,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553827328001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787319659000,"timestamp_ms":1787319659000,"timestamp_seconds":1787319659,"priority":1,"record_length":96,"hex_timestamp":"000001a0248da9f8"} 
[2026-08-21 19:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2349846529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2581594189,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":189,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3626041344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,216,160,5,45,64,153,77,43,10,66,179,42,97,1,240,101,227,36,33,4,113,205,189,224,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 19:13:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548750485441216512,"timestamp_seconds":5548750485441217.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553827328001,"66":12548,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553827328001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:11] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553827328001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:11] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:11] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:34] local.INFO: TCP Data received {"connection_id":159267,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248e6d48012d9ed44005547fc0000601432d..."} 
[2026-08-21 19:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248e6d48012d9ed44005547fc0000601432d..."} 
[2026-08-21 19:13:34] local.INFO: Processing buffer {"connection_id":159267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248e6d48012d9ed44005547fc0000601432d..."} 
[2026-08-21 19:13:34] local.INFO: Packet analysis {"connection_id":159267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:13:34] local.INFO: Extracted packet for processing {"connection_id":159267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":765383744,"raw_latitude":89423808,"longitude_deg":76.5383744,"latitude_deg":8.9423808,"altitude":6,"angle":323,"satellites":45,"speed":40,"hex_longitude":"2d9ed440","hex_latitude":"05547fc0","is_valid_coordinates":true} 
[2026-08-21 19:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553845504001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388580130949169152,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7001901129017606144,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319709000,"timestamp_ms":1787319709000,"timestamp_seconds":1787319709,"priority":1,"record_length":96,"hex_timestamp":"000001a0248e6d48"} 
[2026-08-21 19:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553845504001,"66":26908,"196":206,"84":7168,"24":40,"16":388580130949169152,"45":-7001901129017606144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 19:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553845504001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 19:13:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388580130949169152,"km_value":388580130949169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7001901129017606144,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553845504001,"power":26908,"unknown_196":206,"unknown_84":7168,"ignition":40,"odometer":null,"unknown_45":-7001901129017606144}} 
[2026-08-21 19:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":159267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:34] local.INFO: GPS data processed {"connection_id":159267,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:34] local.INFO: Acknowledgment sent {"connection_id":159267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:35] local.INFO: TCP Data received {"connection_id":161847,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0248dcd20012d832b8005c90430000c00bc28..."} 
[2026-08-21 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248dcd20012d832b8005c90430000c00bc28..."} 
[2026-08-21 19:13:35] local.INFO: Processing buffer {"connection_id":161847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248dcd20012d832b8005c90430000c00bc28..."} 
[2026-08-21 19:13:35] local.INFO: Packet analysis {"connection_id":161847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:35] local.INFO: Extracted packet for processing {"connection_id":161847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763571072,"raw_latitude":97059888,"longitude_deg":76.3571072,"latitude_deg":9.7059888,"altitude":12,"angle":188,"satellites":40,"speed":26,"hex_longitude":"2d832b80","hex_latitude":"05c90430","is_valid_coordinates":true} 
[2026-08-21 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553830400001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121932738553970688,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8993266218544150528,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787319668000,"timestamp_ms":1787319668000,"timestamp_seconds":1787319668,"priority":1,"record_length":96,"hex_timestamp":"000001a0248dcd20"} 
[2026-08-21 19:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553830400001,"66":12298,"157":206,"85":15104,"24":26,"16":121932738553970688,"45":-8993266218544150528},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-08-21 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553830400001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-08-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121932738553970688,"km_value":121932738553970.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8993266218544150528,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553830400001,"power":12298,"unknown_157":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-8993266218544150528}} 
[2026-08-21 19:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":161847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677414,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:35] local.INFO: GPS data processed {"connection_id":161847,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:35] local.INFO: Acknowledgment sent {"connection_id":161847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:42] local.INFO: TCP Data received {"connection_id":161848,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248dfc00012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248dfc00012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:13:42] local.INFO: Processing buffer {"connection_id":161848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248dfc00012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:13:42] local.INFO: Packet analysis {"connection_id":161848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:42] local.INFO: Extracted packet for processing {"connection_id":161848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248d"} 
[2026-08-21 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553832704001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787319680000,"timestamp_ms":1787319680000,"timestamp_seconds":1787319680,"priority":1,"record_length":96,"hex_timestamp":"000001a0248dfc00"} 
[2026-08-21 19:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184208433357,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2355222529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2581594189,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":15,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3626041344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:42] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,216,160,87,45,64,153,77,43,10,66,5,179,1,240,69,227,36,33,4,113,205,15,224,239,49,2,50,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 19:13:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548750481146249216,"timestamp_seconds":5548750481146249.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553832704001,"66":12504,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553832704001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:42] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:13:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553832704001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":161848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:42] local.INFO: GPS data processed {"connection_id":161848,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:42] local.INFO: Acknowledgment sent {"connection_id":161848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:13:53] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:13:53] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:13:53] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:13:58] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:13:58] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:13:58] local.INFO: IMEI packet received {"connection_id":160452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":160452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:13:59] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024900b58012d82f84005c797f00007008a27..."} 
[2026-08-21 19:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024900b58012d82f84005c797f00007008a27..."} 
[2026-08-21 19:13:59] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024900b58012d82f84005c797f00007008a27..."} 
[2026-08-21 19:13:59] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:13:59] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763557952,"raw_latitude":96966640,"longitude_deg":76.3557952,"latitude_deg":9.696664,"altitude":7,"angle":138,"satellites":39,"speed":13,"hex_longitude":"2d82f840","hex_latitude":"05c797f0","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553872384001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121937334168977408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9009591767219503104,"note":"Value kept but may cause issues"} 
[2026-08-21 19:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319815000,"timestamp_ms":1787319815000,"timestamp_seconds":1787319815,"priority":1,"record_length":96,"hex_timestamp":"000001a024900b58"} 
[2026-08-21 19:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553872384001,"66":12156,"151":206,"85":12288,"24":13,"16":121937334168977408,"45":-9009591767219503104},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-21 19:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553872384001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121937334168977408,"km_value":121937334168977.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9009591767219503104,"description":"Unknown IO ID 45"} 
[2026-08-21 19:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553872384001,"power":12156,"unknown_151":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-9009591767219503104}} 
[2026-08-21 19:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:13:59] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:13:59] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:14:01] local.INFO: TCP Data received {"connection_id":159268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:14:01] local.INFO: Processing buffer {"connection_id":159268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:14:01] local.INFO: IMEI packet received {"connection_id":159268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":159268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:14:02] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:02] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:02] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:14:03] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:03] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:03] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:14:04] local.INFO: TCP Data received {"connection_id":159268,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:14:04] local.INFO: Processing buffer {"connection_id":159268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:14:04] local.INFO: IMEI packet received {"connection_id":159268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":159268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:14:05] local.INFO: TCP Data received {"connection_id":159268,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248e4e08012d182b40072199e0004d011f29..."} 
[2026-08-21 19:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248e4e08012d182b40072199e0004d011f29..."} 
[2026-08-21 19:14:05] local.INFO: Processing buffer {"connection_id":159268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248e4e08012d182b40072199e0004d011f29..."} 
[2026-08-21 19:14:05] local.INFO: Packet analysis {"connection_id":159268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:05] local.INFO: Extracted packet for processing {"connection_id":159268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553838080001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787319701000,"timestamp_ms":1787319701000,"timestamp_seconds":1787319701,"priority":1,"record_length":96,"hex_timestamp":"000001a0248e4e08"} 
[2026-08-21 19:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 19:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553838080001,"66":12504,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553838080001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:14:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:14:05] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553838080001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":159268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:14:05] local.INFO: GPS data processed {"connection_id":159268,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:14:05] local.INFO: Acknowledgment sent {"connection_id":159268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:14:07] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:07] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:07] local.INFO: IMEI packet received {"connection_id":160453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":160453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:14:08] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248e9070012d9ebfc005549eb8000601492d..."} 
[2026-08-21 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248e9070012d9ebfc005549eb8000601492d..."} 
[2026-08-21 19:14:08] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248e9070012d9ebfc005549eb8000601492d..."} 
[2026-08-21 19:14:08] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:08] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":765378496,"raw_latitude":89431736,"longitude_deg":76.5378496,"latitude_deg":8.9431736,"altitude":6,"angle":329,"satellites":45,"speed":44,"hex_longitude":"2d9ebfc0","hex_latitude":"05549eb8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553845504001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388580594805637120,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7001901129017606144,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787319718000,"timestamp_ms":1787319718000,"timestamp_seconds":1787319718,"priority":1,"record_length":96,"hex_timestamp":"000001a0248e9070"} 
[2026-08-21 19:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-08-21 19:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553845504001,"66":27104,"196":206,"84":7168,"24":44,"16":388580594805637120,"45":-7001901129017606144},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 19:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553845504001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:14:08] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 19:14:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388580594805637120,"km_value":388580594805637.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7001901129017606144,"description":"Unknown IO ID 45"} 
[2026-08-21 19:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553845504001,"power":27104,"unknown_196":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7001901129017606144}} 
[2026-08-21 19:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:14:08] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:14:08] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:14:10] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248eafb0012d9eb0400554c058000601522d..."} 
[2026-08-21 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248eafb0012d9eb0400554c058000601522d..."} 
[2026-08-21 19:14:10] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248eafb0012d9eb0400554c058000601522d..."} 
[2026-08-21 19:14:10] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:10] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":765374528,"raw_latitude":89440344,"longitude_deg":76.5374528,"latitude_deg":8.9440344,"altitude":6,"angle":338,"satellites":45,"speed":49,"hex_longitude":"2d9eb040","hex_latitude":"0554c058","is_valid_coordinates":true} 
[2026-08-21 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553847808001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388581050072170496,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7007671366038145024,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787319726000,"timestamp_ms":1787319726000,"timestamp_seconds":1787319726,"priority":1,"record_length":96,"hex_timestamp":"000001a0248eafb0"} 
[2026-08-21 19:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 19:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553847808001,"66":27180,"196":206,"84":7168,"24":49,"16":388581050072170496,"45":-7007671366038145024},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,84,24,16,45]} 
[2026-08-21 19:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553847808001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:14:10] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-08-21 19:14:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388581050072170496,"km_value":388581050072170.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7007671366038145024,"description":"Unknown IO ID 45"} 
[2026-08-21 19:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553847808001,"power":27180,"unknown_196":206,"unknown_84":7168,"ignition":49,"odometer":null,"unknown_45":-7007671366038145024}} 
[2026-08-21 19:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:14:10] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:14:10] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:14:30] local.INFO: TCP Data received {"connection_id":160452,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024900f40012d82f9c005c797380008007627..."} 
[2026-08-21 19:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024900f40012d82f9c005c797380008007627..."} 
[2026-08-21 19:14:30] local.INFO: Processing buffer {"connection_id":160452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024900f40012d82f9c005c797380008007627..."} 
[2026-08-21 19:14:30] local.INFO: Packet analysis {"connection_id":160452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:14:30] local.INFO: Extracted packet for processing {"connection_id":160452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763558336,"raw_latitude":96966456,"longitude_deg":76.3558336,"latitude_deg":9.6966456,"altitude":8,"angle":118,"satellites":39,"speed":14,"hex_longitude":"2d82f9c0","hex_latitude":"05c79738","is_valid_coordinates":true} 
[2026-08-21 19:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553872640001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121937355643813888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9009380660987039744,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787319816000,"timestamp_ms":1787319816000,"timestamp_seconds":1787319816,"priority":1,"record_length":96,"hex_timestamp":"000001a024900f40"} 
[2026-08-21 19:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:14: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-08-21 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553872640001,"66":12232,"151":206,"85":12288,"24":14,"16":121937355643813888,"45":-9009380660987039744},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-21 19:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553872640001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:14:30] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-21 19:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121937355643813888,"km_value":121937355643813.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9009380660987039744,"description":"Unknown IO ID 45"} 
[2026-08-21 19:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553872640001,"power":12232,"unknown_151":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9009380660987039744}} 
[2026-08-21 19:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":160452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:14:30] local.INFO: GPS data processed {"connection_id":160452,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:14:30] local.INFO: Acknowledgment sent {"connection_id":160452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:14:36] local.INFO: TCP Data received {"connection_id":159268,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248ea010012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248ea010012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:14:36] local.INFO: Processing buffer {"connection_id":159268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248ea010012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:14:36] local.INFO: Packet analysis {"connection_id":159268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:36] local.INFO: Extracted packet for processing {"connection_id":159268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553843456001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787319722000,"timestamp_ms":1787319722000,"timestamp_seconds":1787319722,"priority":1,"record_length":96,"hex_timestamp":"000001a0248ea010"} 
[2026-08-21 19:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 19:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553843456001,"66":12504,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553843456001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:14:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:14:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553843456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":159268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:14:36] local.INFO: GPS data processed {"connection_id":159268,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:14:36] local.INFO: Acknowledgment sent {"connection_id":159268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:14:42] local.INFO: TCP Data received {"connection_id":160453,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249022c8012d9e4b0005562520000701562c..."} 
[2026-08-21 19:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249022c8012d9e4b0005562520000701562c..."} 
[2026-08-21 19:14:42] local.INFO: Processing buffer {"connection_id":160453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249022c8012d9e4b0005562520000701562c..."} 
[2026-08-21 19:14:42] local.INFO: Packet analysis {"connection_id":160453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:14:42] local.INFO: Extracted packet for processing {"connection_id":160453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":765348608,"raw_latitude":89531680,"longitude_deg":76.5348608,"latitude_deg":8.953168,"altitude":7,"angle":342,"satellites":44,"speed":46,"hex_longitude":"2d9e4b00","hex_latitude":"05562520","is_valid_coordinates":true} 
[2026-08-21 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553871872001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388585667162013696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7037789188523079680,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787319821000,"timestamp_ms":1787319821000,"timestamp_seconds":1787319821,"priority":1,"record_length":96,"hex_timestamp":"000001a0249022c8"} 
[2026-08-21 19:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 19:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553871872001,"66":27267,"178":206,"84":7168,"24":46,"16":388585667162013696,"45":-7037789188523079680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,84,24,16,45]} 
[2026-08-21 19:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553871872001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:14:42] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 19:14:42] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388585667162013696,"km_value":388585667162013.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7037789188523079680,"description":"Unknown IO ID 45"} 
[2026-08-21 19:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553871872001,"power":27267,"unknown_178":206,"unknown_84":7168,"ignition":46,"odometer":null,"unknown_45":-7037789188523079680}} 
[2026-08-21 19:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":160453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:14:42] local.INFO: GPS data processed {"connection_id":160453,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:14:42] local.INFO: Acknowledgment sent {"connection_id":160453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:14:54] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:14:54] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:14:54] local.INFO: IMEI packet received {"connection_id":161849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":161849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:14:57] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:57] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:14:57] local.INFO: IMEI packet received {"connection_id":159269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":159269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:14:57] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:14:57] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:14:57] local.INFO: IMEI packet received {"connection_id":161849,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":161849,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:14:58] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024901328012d82fb0005c796d00008006627..."} 
[2026-08-21 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024901328012d82fb0005c796d00008006627..."} 
[2026-08-21 19:14:58] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024901328012d82fb0005c796d00008006627..."} 
[2026-08-21 19:14:58] local.INFO: Packet analysis {"connection_id":161849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:14:58] local.INFO: Extracted packet for processing {"connection_id":161849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763558656,"raw_latitude":96966352,"longitude_deg":76.3558656,"latitude_deg":9.6966352,"altitude":8,"angle":102,"satellites":39,"speed":16,"hex_longitude":"2d82fb00","hex_latitude":"05c796d0","is_valid_coordinates":true} 
[2026-08-21 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553872896001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121937372823683072,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9008958448522020864,"note":"Value kept but may cause issues"} 
[2026-08-21 19:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787319817000,"timestamp_ms":1787319817000,"timestamp_seconds":1787319817,"priority":1,"record_length":96,"hex_timestamp":"000001a024901328"} 
[2026-08-21 19:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553872896001,"66":12330,"151":206,"85":12288,"24":16,"16":121937372823683072,"45":-9008958448522020864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-21 19:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553872896001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:14:58] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-21 19:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121937372823683072,"km_value":121937372823683.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9008958448522020864,"description":"Unknown IO ID 45"} 
[2026-08-21 19:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553872896001,"power":12330,"unknown_151":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9008958448522020864}} 
[2026-08-21 19:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":161849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677423,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:14:58] local.INFO: GPS data processed {"connection_id":161849,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:14:58] local.INFO: Acknowledgment sent {"connection_id":161849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:15:01] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:15:01] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:15:01] local.INFO: IMEI packet received {"connection_id":159270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":159270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:15:02] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:15:02] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:15:02] local.INFO: IMEI packet received {"connection_id":159269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":159269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:15:03] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024904208012d9e3ec0055646a0000701522d..."} 
[2026-08-21 19:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024904208012d9e3ec0055646a0000701522d..."} 
[2026-08-21 19:15:03] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024904208012d9e3ec0055646a0000701522d..."} 
[2026-08-21 19:15:03] local.INFO: Packet analysis {"connection_id":159269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:15:03] local.INFO: Extracted packet for processing {"connection_id":159269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:15:03] local.INFO: GPS Element Parsed {"raw_longitude":765345472,"raw_latitude":89540256,"longitude_deg":76.5345472,"latitude_deg":8.9540256,"altitude":7,"angle":338,"satellites":45,"speed":45,"hex_longitude":"2d9e3ec0","hex_latitude":"055646a0","is_valid_coordinates":true} 
[2026-08-21 19:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553874176001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388586109543645184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040533569543528448,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319829000,"timestamp_ms":1787319829000,"timestamp_seconds":1787319829,"priority":1,"record_length":96,"hex_timestamp":"000001a024904208"} 
[2026-08-21 19:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19: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-08-21 19:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 19:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553874176001,"66":27332,"178":206,"84":7168,"24":45,"16":388586109543645184,"45":-7040533569543528448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,84,24,16,45]} 
[2026-08-21 19:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553874176001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:15:03] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 19:15:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388586109543645184,"km_value":388586109543645.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040533569543528448,"description":"Unknown IO ID 45"} 
[2026-08-21 19:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553874176001,"power":27332,"unknown_178":206,"unknown_84":7168,"ignition":45,"odometer":null,"unknown_45":-7040533569543528448}} 
[2026-08-21 19:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":159269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:15:03] local.INFO: GPS data processed {"connection_id":159269,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:15:03] local.INFO: Acknowledgment sent {"connection_id":159269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:15:04] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024906148012d9e320005566738000701522d..."} 
[2026-08-21 19:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024906148012d9e320005566738000701522d..."} 
[2026-08-21 19:15:04] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024906148012d9e320005566738000701522d..."} 
[2026-08-21 19:15:04] local.INFO: Packet analysis {"connection_id":159269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:15:04] local.INFO: Extracted packet for processing {"connection_id":159269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:15:04] local.INFO: GPS Element Parsed {"raw_longitude":765342208,"raw_latitude":89548600,"longitude_deg":76.5342208,"latitude_deg":8.95486,"altitude":7,"angle":338,"satellites":45,"speed":43,"hex_longitude":"2d9e3200","hex_latitude":"05566738","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553876224001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388586543335342080,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043981638006038528,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787319837000,"timestamp_ms":1787319837000,"timestamp_seconds":1787319837,"priority":1,"record_length":96,"hex_timestamp":"000001a024906148"} 
[2026-08-21 19:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:15: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-08-21 19:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 19:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553876224001,"66":27343,"179":206,"84":7168,"24":43,"16":388586543335342080,"45":-7043981638006038528},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 19:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553876224001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:15:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:15:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388586543335342080,"km_value":388586543335342.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043981638006038528,"description":"Unknown IO ID 45"} 
[2026-08-21 19:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553876224001,"power":27343,"unknown_179":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-7043981638006038528}} 
[2026-08-21 19:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":159269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:15:04] local.INFO: GPS data processed {"connection_id":159269,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:15:04] local.INFO: Acknowledgment sent {"connection_id":159269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:15:06] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:15:06] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:15:06] local.INFO: IMEI packet received {"connection_id":159270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":159270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:15:07] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248ef218012d182b40072199e0004d011f29..."} 
[2026-08-21 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248ef218012d182b40072199e0004d011f29..."} 
[2026-08-21 19:15:07] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248ef218012d182b40072199e0004d011f29..."} 
[2026-08-21 19:15:07] local.INFO: Packet analysis {"connection_id":159270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:15:07] local.INFO: Extracted packet for processing {"connection_id":159270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248e"} 
[2026-08-21 19:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":41,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553848832001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319743000,"timestamp_ms":1787319743000,"timestamp_seconds":1787319743,"priority":1,"record_length":96,"hex_timestamp":"000001a0248ef218"} 
[2026-08-21 19:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 19:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553848832001,"66":12461,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553848832001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553848832001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":159270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:15:07] local.INFO: GPS data processed {"connection_id":159270,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:15:07] local.INFO: Acknowledgment sent {"connection_id":159270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:15:29] local.INFO: TCP Data received {"connection_id":161849,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024918a28012d83a90005c74bb00008006d27..."} 
[2026-08-21 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024918a28012d83a90005c74bb00008006d27..."} 
[2026-08-21 19:15:29] local.INFO: Processing buffer {"connection_id":161849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024918a28012d83a90005c74bb00008006d27..."} 
[2026-08-21 19:15:29] local.INFO: Packet analysis {"connection_id":161849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:15:29] local.INFO: Extracted packet for processing {"connection_id":161849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763603200,"raw_latitude":96947120,"longitude_deg":76.36032,"latitude_deg":9.694712,"altitude":8,"angle":109,"satellites":39,"speed":18,"hex_longitude":"2d83a900","hex_latitude":"05c74bb0","is_valid_coordinates":true} 
[2026-08-21 19:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553897472001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121940323466215424,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8960122540067620864,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787319913000,"timestamp_ms":1787319913000,"timestamp_seconds":1787319913,"priority":1,"record_length":96,"hex_timestamp":"000001a024918a28"} 
[2026-08-21 19:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 19:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161849,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553897472001,"66":12298,"150":206,"85":12288,"24":18,"16":121940323466215424,"45":-8960122540067620864},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 19:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553897472001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:15:29] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 19:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121940323466215424,"km_value":121940323466215.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8960122540067620864,"description":"Unknown IO ID 45"} 
[2026-08-21 19:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553897472001,"power":12298,"unknown_150":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-8960122540067620864}} 
[2026-08-21 19:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":161849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:15:29] local.INFO: GPS data processed {"connection_id":161849,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:15:29] local.INFO: Acknowledgment sent {"connection_id":161849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:15:36] local.INFO: TCP Data received {"connection_id":159269,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024908470012d9e248005568ac8000701552d..."} 
[2026-08-21 19:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024908470012d9e248005568ac8000701552d..."} 
[2026-08-21 19:15:36] local.INFO: Processing buffer {"connection_id":159269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024908470012d9e248005568ac8000701552d..."} 
[2026-08-21 19:15:36] local.INFO: Packet analysis {"connection_id":159269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:15:36] local.INFO: Extracted packet for processing {"connection_id":159269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:15:36] local.INFO: GPS Element Parsed {"raw_longitude":765338752,"raw_latitude":89557704,"longitude_deg":76.5338752,"latitude_deg":8.9557704,"altitude":7,"angle":341,"satellites":45,"speed":43,"hex_longitude":"2d9e2480","hex_latitude":"05568ac8","is_valid_coordinates":true} 
[2026-08-21 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553878272001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388587015781744640,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047570443956963328,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787319846000,"timestamp_ms":1787319846000,"timestamp_seconds":1787319846,"priority":1,"record_length":96,"hex_timestamp":"000001a024908470"} 
[2026-08-21 19:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:15: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-08-21 19:15:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:15:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553878272001,"66":27300,"179":206,"84":7168,"24":43,"16":388587015781744640,"45":-7047570443956963328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 19:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553878272001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:15:36] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:15:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388587015781744640,"km_value":388587015781744.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047570443956963328,"description":"Unknown IO ID 45"} 
[2026-08-21 19:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553878272001,"power":27300,"unknown_179":206,"unknown_84":7168,"ignition":43,"odometer":null,"unknown_45":-7047570443956963328}} 
[2026-08-21 19:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":159269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:15:36] local.INFO: GPS data processed {"connection_id":159269,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:15:36] local.INFO: Acknowledgment sent {"connection_id":159269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:15:37] local.INFO: TCP Data received {"connection_id":159270,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0248f4420012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0248f4420012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:15:37] local.INFO: Processing buffer {"connection_id":159270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0248f4420012d182b40072199e0004d011f2b..."} 
[2026-08-21 19:15:37] local.INFO: Packet analysis {"connection_id":159270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0248f"} 
[2026-08-21 19:15:37] local.INFO: Extracted packet for processing {"connection_id":159270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0248f"} 
[2026-08-21 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642592,"longitude_deg":75.6558656,"latitude_deg":11.9642592,"altitude":77,"angle":287,"satellites":43,"speed":0,"hex_longitude":"2d182b40","hex_latitude":"072199e0","is_valid_coordinates":true} 
[2026-08-21 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553854208001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311385081053184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741556080281509888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787319764000,"timestamp_ms":1787319764000,"timestamp_seconds":1787319764,"priority":1,"record_length":96,"hex_timestamp":"000001a0248f4420"} 
[2026-08-21 19:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 19:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553854208001,"66":12439,"105":206,"83":41984,"24":0,"16":14311385081053184,"45":1741556080281509888},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553854208001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:15:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311385081053184,"km_value":14311385081053.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741556080281509888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553854208001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741556080281509888}} 
[2026-08-21 19:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":159270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:15:37] local.INFO: GPS data processed {"connection_id":159270,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:15:37] local.INFO: Acknowledgment sent {"connection_id":159270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:15:53] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:15:53] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:15:53] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:15:57] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:15:57] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:15:57] local.INFO: IMEI packet received {"connection_id":159557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":159557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:15:57] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:15:57] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:15:57] local.INFO: IMEI packet received {"connection_id":161850,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":161850,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:15:58] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024918e10012d83ab4005c74b380008006127..."} 
[2026-08-21 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024918e10012d83ab4005c74b380008006127..."} 
[2026-08-21 19:15:58] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024918e10012d83ab4005c74b380008006127..."} 
[2026-08-21 19:15:58] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:15:58] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763603776,"raw_latitude":96947000,"longitude_deg":76.3603776,"latitude_deg":9.6947,"altitude":8,"angle":97,"satellites":39,"speed":23,"hex_longitude":"2d83ab40","hex_latitude":"05c74b38","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553897728001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121940349236019200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8959629958858428416,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787319914000,"timestamp_ms":1787319914000,"timestamp_seconds":1787319914,"priority":1,"record_length":96,"hex_timestamp":"000001a024918e10"} 
[2026-08-21 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-08-21 19:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902502261248,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2634923197294543780,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2208612357,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832606,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3510556792815288526,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":128,"raw_value":416456556054970529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2440726529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2811625678,"corrected_to":0} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3221302659,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":39,"raw_value":5910974511579140,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862887,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3347759104,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":6341068275337658369,"note":"Value kept but may cause issues"} 
[2026-08-21 19:15:58] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,150,85,24,241,157,16,56,160,134,45,64,76,8,41,10,66,130,77,126,128,1,240,227,36,199,4,113,205,19,71,165,136,39,239,48,151,2,177,5,55],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2811625678,"validated":0}]} 
[2026-08-21 19:15:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576580766575755264,"timestamp_seconds":576580766575755.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 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-08-21 19:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553897728001,"66":12298,"150":206,"85":12288,"24":23,"16":121940349236019200,"45":-8959629958858428416},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 19:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553897728001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:15:58] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 19:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121940349236019200,"km_value":121940349236019.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8959629958858428416,"description":"Unknown IO ID 45"} 
[2026-08-21 19:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553897728001,"power":12298,"unknown_150":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-8959629958858428416}} 
[2026-08-21 19:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:15:58] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:15:58] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:16:01] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:01] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:01] local.INFO: IMEI packet received {"connection_id":159558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":159558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:16:01] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:16:01] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:16:01] local.INFO: IMEI packet received {"connection_id":159557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":159557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:16:02] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:02] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:02] local.INFO: IMEI packet received {"connection_id":159558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":159558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:16:02] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02490a3b0012d9e18800556ac28000701532c..."} 
[2026-08-21 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02490a3b0012d9e18800556ac28000701532c..."} 
[2026-08-21 19:16:02] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02490a3b0012d9e18800556ac28000701532c..."} 
[2026-08-21 19:16:02] local.INFO: Packet analysis {"connection_id":159557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:16:02] local.INFO: Extracted packet for processing {"connection_id":159557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:16:02] local.INFO: GPS Element Parsed {"raw_longitude":765335680,"raw_latitude":89566248,"longitude_deg":76.533568,"latitude_deg":8.9566248,"altitude":7,"angle":339,"satellites":44,"speed":44,"hex_longitude":"2d9e1880","hex_latitude":"0556ac28","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553880576001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388587453868408832,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7051370356140226560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787319854000,"timestamp_ms":1787319854000,"timestamp_seconds":1787319854,"priority":1,"record_length":96,"hex_timestamp":"000001a02490a3b0"} 
[2026-08-21 19:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 19:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553880576001,"66":27223,"179":206,"84":7168,"24":44,"16":388587453868408832,"45":-7051370356140226560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 19:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553880576001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:16:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:16:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388587453868408832,"km_value":388587453868408.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7051370356140226560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553880576001,"power":27223,"unknown_179":206,"unknown_84":7168,"ignition":44,"odometer":null,"unknown_45":-7051370356140226560}} 
[2026-08-21 19:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":159557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:16:02] local.INFO: GPS data processed {"connection_id":159557,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:16:02] local.INFO: Acknowledgment sent {"connection_id":159557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:16:04] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:04] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:04] local.INFO: IMEI packet received {"connection_id":159558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":159558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:16:06] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:06] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:16:06] local.INFO: IMEI packet received {"connection_id":159558,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":159558,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:16:06] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02491a968012d181fc00721a530005001192a..."} 
[2026-08-21 19:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02491a968012d181fc00721a530005001192a..."} 
[2026-08-21 19:16:06] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02491a968012d181fc00721a530005001192a..."} 
[2026-08-21 19:16:06] local.INFO: Packet analysis {"connection_id":159558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:06] local.INFO: Extracted packet for processing {"connection_id":159558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645488,"longitude_deg":75.6555712,"latitude_deg":11.9645488,"altitude":80,"angle":281,"satellites":42,"speed":3,"hex_longitude":"2d181fc0","hex_latitude":"0721a530","is_valid_coordinates":true} 
[2026-08-21 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553899520001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311595534450688,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538421760,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787319921000,"timestamp_ms":1787319921000,"timestamp_seconds":1787319921,"priority":1,"record_length":96,"hex_timestamp":"000001a02491a968"} 
[2026-08-21 19:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:16: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-08-21 19:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3116498783037292621,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2245888839174324234,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2435862529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2581594189,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630726329920105,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3626041344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-8358455051487752621,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,216,160,134,45,128,159,82,38,10,66,118,64,39,79,1,240,230,227,36,33,4,113,205,222,43,224,239,54,2,50,7,77,48,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 19:16:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764937548321587200,"timestamp_seconds":5764937548321587.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553899520001,"66":13580,"105":206,"83":41984,"24":3,"16":14311595534450688,"45":1738459855538421760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553899520001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:16:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311595534450688,"km_value":14311595534450.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538421760,"description":"Unknown IO ID 45"} 
[2026-08-21 19:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553899520001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1738459855538421760}} 
[2026-08-21 19:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":159558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:16:06] local.INFO: GPS data processed {"connection_id":159558,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:16:06] local.INFO: Acknowledgment sent {"connection_id":159558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:16:07] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02491b520012d181e800721a578004f012728..."} 
[2026-08-21 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02491b520012d181e800721a578004f012728..."} 
[2026-08-21 19:16:07] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02491b520012d181e800721a578004f012728..."} 
[2026-08-21 19:16:07] local.INFO: Packet analysis {"connection_id":159558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:07] local.INFO: Extracted packet for processing {"connection_id":159558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645560,"longitude_deg":75.6555392,"latitude_deg":11.964556,"altitude":79,"angle":295,"satellites":40,"speed":2,"hex_longitude":"2d181e80","hex_latitude":"0721a578","is_valid_coordinates":true} 
[2026-08-21 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553899776001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311608419352576,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050078720,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319924000,"timestamp_ms":1787319924000,"timestamp_seconds":1787319924,"priority":1,"record_length":96,"hex_timestamp":"000001a02491b520"} 
[2026-08-21 19:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3116498783037292621,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2245044414244192266,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2437910529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2614624338,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637168780864105,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-8358455051487752621,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3626041344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,216,160,165,45,64,80,40,10,66,134,128,159,82,38,118,1,240,252,227,36,33,4,113,205,3,48,43,224,34,239,54,2,50,7,77,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 19:16:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764916666190462976,"timestamp_seconds":5764916666190463.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553899776001,"66":13580,"105":206,"83":41984,"24":2,"16":14311608419352576,"45":1738319118050078720},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553899776001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:16:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:16:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311608419352576,"km_value":14311608419352.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050078720,"description":"Unknown IO ID 45"} 
[2026-08-21 19:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553899776001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738319118050078720}} 
[2026-08-21 19:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":159558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:16:07] local.INFO: GPS data processed {"connection_id":159558,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:16:07] local.INFO: Acknowledgment sent {"connection_id":159558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:16:29] local.INFO: TCP Data received {"connection_id":161850,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02491c0d8012d83cac005c749100008007b29..."} 
[2026-08-21 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02491c0d8012d83cac005c749100008007b29..."} 
[2026-08-21 19:16:29] local.INFO: Processing buffer {"connection_id":161850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02491c0d8012d83cac005c749100008007b29..."} 
[2026-08-21 19:16:29] local.INFO: Packet analysis {"connection_id":161850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:29] local.INFO: Extracted packet for processing {"connection_id":161850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763611840,"raw_latitude":96946448,"longitude_deg":76.361184,"latitude_deg":9.6946448,"altitude":8,"angle":123,"satellites":41,"speed":17,"hex_longitude":"2d83cac0","hex_latitude":"05c74910","is_valid_coordinates":true} 
[2026-08-21 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553897984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121940740078043136,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958996640160860160,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787319927000,"timestamp_ms":1787319927000,"timestamp_seconds":1787319927,"priority":1,"record_length":96,"hex_timestamp":"000001a02491c0d8"} 
[2026-08-21 19:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902502261248,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2634927492261839780,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2208661509,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832607,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171893840019662,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2440982529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2811625678,"corrected_to":0} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":122,"raw_value":2281778563,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":164,"raw_value":3221604176,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":524459,"corrected_to":0} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3346171904,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":9,"raw_value":52115752047607808,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-7061644215716937727,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":192,"raw_value":416454047794069677,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441711108,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:29] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,150,85,24,241,157,16,56,160,138,45,75,8,39,10,66,134,64,76,41,130,1,240,103,227,36,199,4,113,205,17,122,164,200,239,48,2,177,5,9,55,192,40],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2811625678,"validated":0},{"io_id":200,"original":524459,"validated":0}]} 
[2026-08-21 19:16:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576567572436549632,"timestamp_seconds":576567572436549.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161850,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553897984001,"66":12385,"150":206,"85":12288,"24":17,"16":121940740078043136,"45":-8958996640160860160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 19:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553897984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:16:29] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 19:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121940740078043136,"km_value":121940740078043.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958996640160860160,"description":"Unknown IO ID 45"} 
[2026-08-21 19:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553897984001,"power":12385,"unknown_150":206,"unknown_85":12288,"ignition":17,"odometer":null,"unknown_45":-8958996640160860160}} 
[2026-08-21 19:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":161850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:16:29] local.INFO: GPS data processed {"connection_id":161850,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:16:29] local.INFO: Acknowledgment sent {"connection_id":161850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:16:33] local.INFO: TCP Data received {"connection_id":159557,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02490cac0012d9e0a800556cc00000701502d..."} 
[2026-08-21 19:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02490cac0012d9e0a800556cc00000701502d..."} 
[2026-08-21 19:16:33] local.INFO: Processing buffer {"connection_id":159557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02490cac0012d9e0a800556cc00000701502d..."} 
[2026-08-21 19:16:33] local.INFO: Packet analysis {"connection_id":159557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:16:33] local.INFO: Extracted packet for processing {"connection_id":159557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:16:33] local.INFO: GPS Element Parsed {"raw_longitude":765332096,"raw_latitude":89574400,"longitude_deg":76.5332096,"latitude_deg":8.95744,"altitude":7,"angle":336,"satellites":45,"speed":30,"hex_longitude":"2d9e0a80","hex_latitude":"0556cc00","is_valid_coordinates":true} 
[2026-08-21 19:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553882624001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388587883365138432,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7054748055858567168,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787319864000,"timestamp_ms":1787319864000,"timestamp_seconds":1787319864,"priority":1,"record_length":96,"hex_timestamp":"000001a02490cac0"} 
[2026-08-21 19:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 19:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553882624001,"66":27365,"179":206,"84":7168,"24":30,"16":388587883365138432,"45":-7054748055858567168},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 19:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553882624001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:16:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:16:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388587883365138432,"km_value":388587883365138.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7054748055858567168,"description":"Unknown IO ID 45"} 
[2026-08-21 19:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553882624001,"power":27365,"unknown_179":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7054748055858567168}} 
[2026-08-21 19:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":159557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:16:33] local.INFO: GPS data processed {"connection_id":159557,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:16:33] local.INFO: Acknowledgment sent {"connection_id":159557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:16:38] local.INFO: TCP Data received {"connection_id":159558,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02491bcf0012d181e400721a5c8004f013929..."} 
[2026-08-21 19:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02491bcf0012d181e400721a5c8004f013929..."} 
[2026-08-21 19:16:38] local.INFO: Processing buffer {"connection_id":159558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02491bcf0012d181e400721a5c8004f013929..."} 
[2026-08-21 19:16:38] local.INFO: Packet analysis {"connection_id":159558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:38] local.INFO: Extracted packet for processing {"connection_id":159558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:38] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645640,"longitude_deg":75.6555328,"latitude_deg":11.964564,"altitude":79,"angle":313,"satellites":41,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721a5c8","is_valid_coordinates":true} 
[2026-08-21 19:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553900544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311617009287168,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329208832,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787319926000,"timestamp_ms":1787319926000,"timestamp_seconds":1787319926,"priority":1,"record_length":96,"hex_timestamp":"000001a02491bcf0"} 
[2026-08-21 19:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3116498783037292621,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":2244481464290770954,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2440470529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2642935890,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636842363349609,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3858812266,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3626434560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":54,"raw_value":7494215636856393299,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:38] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,216,160,169,45,192,165,80,42,10,66,64,40,134,128,1,240,104,227,36,33,4,113,205,79,43,37,239,53,2,50,7,77,54,164],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-08-21 19:16:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692874456725323776,"timestamp_seconds":5692874456725324.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159558,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553900544001,"66":13537,"105":206,"83":41984,"24":2,"16":14311617009287168,"45":1737967274329208832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553900544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:16:38] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:16:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311617009287168,"km_value":14311617009287.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329208832,"description":"Unknown IO ID 45"} 
[2026-08-21 19:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553900544001,"power":13537,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737967274329208832}} 
[2026-08-21 19:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":159558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:16:38] local.INFO: GPS data processed {"connection_id":159558,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:16:38] local.INFO: Acknowledgment sent {"connection_id":159558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:16:53] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:16:53] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:16:53] local.INFO: IMEI packet received {"connection_id":159271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":159271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:16:57] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:16:57] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:16:57] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:16:58] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:16:58] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:16:58] local.INFO: IMEI packet received {"connection_id":159271,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":159271,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:16:59] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02491c4c0012d83cc4005c747e80009008729..."} 
[2026-08-21 19:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02491c4c0012d83cc4005c747e80009008729..."} 
[2026-08-21 19:16:59] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02491c4c0012d83cc4005c747e80009008729..."} 
[2026-08-21 19:16:59] local.INFO: Packet analysis {"connection_id":159271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:59] local.INFO: Extracted packet for processing {"connection_id":159271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:16:59] local.INFO: GPS Element Parsed {"raw_longitude":763612224,"raw_latitude":96946152,"longitude_deg":76.3612224,"latitude_deg":9.6946152,"altitude":9,"angle":135,"satellites":41,"speed":18,"hex_longitude":"2d83cc40","hex_latitude":"05c747e8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553901312001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121940761552879616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8950130178394615808,"note":"Value kept but may cause issues"} 
[2026-08-21 19:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787319928000,"timestamp_ms":1787319928000,"timestamp_seconds":1787319928,"priority":1,"record_length":96,"hex_timestamp":"000001a02491c4c0"} 
[2026-08-21 19:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553901312001,"66":12385,"150":206,"85":12288,"24":18,"16":121940761552879616,"45":-8950130178394615808},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 19:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553901312001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:16:59] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 19:16:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121940761552879616,"km_value":121940761552879.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8950130178394615808,"description":"Unknown IO ID 45"} 
[2026-08-21 19:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553901312001,"power":12385,"unknown_150":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-8950130178394615808}} 
[2026-08-21 19:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":159271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:16:59] local.INFO: GPS data processed {"connection_id":159271,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:16:59] local.INFO: Acknowledgment sent {"connection_id":159271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:17:01] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:17:01] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:17:01] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:17:02] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:17:02] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:17:02] local.INFO: IMEI packet received {"connection_id":160454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":160454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:17:03] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02490f9a0012d9dfbc00556eb38000701432c..."} 
[2026-08-21 19:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02490f9a0012d9dfbc00556eb38000701432c..."} 
[2026-08-21 19:17:03] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02490f9a0012d9dfbc00556eb38000701432c..."} 
[2026-08-21 19:17:03] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:17:03] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":765328320,"raw_latitude":89582392,"longitude_deg":76.532832,"latitude_deg":8.9582392,"altitude":7,"angle":323,"satellites":44,"speed":29,"hex_longitude":"2d9dfbc0","hex_latitude":"0556eb38","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553885184001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388588312861868032,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7058688705530429440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787319876000,"timestamp_ms":1787319876000,"timestamp_seconds":1787319876,"priority":1,"record_length":96,"hex_timestamp":"000001a02490f9a0"} 
[2026-08-21 19:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 19:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553885184001,"66":27332,"179":206,"84":7168,"24":29,"16":388588312861868032,"45":-7058688705530429440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 19:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553885184001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:17:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:17:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388588312861868032,"km_value":388588312861868.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7058688705530429440,"description":"Unknown IO ID 45"} 
[2026-08-21 19:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553885184001,"power":27332,"unknown_179":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-7058688705530429440}} 
[2026-08-21 19:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:17:03] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:17:03] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:17:06] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:17:06] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:17:06] local.INFO: IMEI packet received {"connection_id":161851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":161851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:17:07] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02491c4c0012d181e000721a670004f01512b..."} 
[2026-08-21 19:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02491c4c0012d181e000721a670004f01512b..."} 
[2026-08-21 19:17:07] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02491c4c0012d181e000721a670004f01512b..."} 
[2026-08-21 19:17:07] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:17:07] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02491"} 
[2026-08-21 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119645808,"longitude_deg":75.6555264,"latitude_deg":11.9645808,"altitude":79,"angle":337,"satellites":43,"speed":3,"hex_longitude":"2d181e00","hex_latitude":"0721a670","is_valid_coordinates":true} 
[2026-08-21 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553901056001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14311625599221760,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585051648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787319928000,"timestamp_ms":1787319928000,"timestamp_seconds":1787319928,"priority":1,"record_length":96,"hex_timestamp":"000001a02491c4c0"} 
[2026-08-21 19:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-21 19:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553901056001,"66":13580,"105":206,"83":41984,"24":3,"16":14311625599221760,"45":1737896905585051648},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-08-21 19:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553901056001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-08-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14311625599221760,"km_value":14311625599221.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585051648,"description":"Unknown IO ID 45"} 
[2026-08-21 19:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553901056001,"power":13580,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737896905585051648}} 
[2026-08-21 19:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:17:07] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:17:07] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:17:30] local.INFO: TCP Data received {"connection_id":159271,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024935ee8012d83b38005c5eee8000600b727..."} 
[2026-08-21 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024935ee8012d83b38005c5eee8000600b727..."} 
[2026-08-21 19:17:30] local.INFO: Processing buffer {"connection_id":159271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024935ee8012d83b38005c5eee8000600b727..."} 
[2026-08-21 19:17:30] local.INFO: Packet analysis {"connection_id":159271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:17:30] local.INFO: Extracted packet for processing {"connection_id":159271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763605888,"raw_latitude":96857832,"longitude_deg":76.3605888,"latitude_deg":9.6857832,"altitude":6,"angle":183,"satellites":39,"speed":32,"hex_longitude":"2d83b380","hex_latitude":"05c5eee8","is_valid_coordinates":true} 
[2026-08-21 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553925632001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121945086584946688,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8956463365391003648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787320033000,"timestamp_ms":1787320033000,"timestamp_seconds":1787320033,"priority":1,"record_length":96,"hex_timestamp":"000001a024935ee8"} 
[2026-08-21 19:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:17: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-08-21 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 19:17:30] 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-08-21 19:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159271,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553925632001,"66":12461,"149":206,"85":12288,"24":32,"16":121945086584946688,"45":-8956463365391003648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-21 19:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553925632001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:17:30] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 19:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121945086584946688,"km_value":121945086584946.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8956463365391003648,"description":"Unknown IO ID 45"} 
[2026-08-21 19:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553925632001,"power":12461,"unknown_149":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":-8956463365391003648}} 
[2026-08-21 19:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":159271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:17:30] local.INFO: GPS data processed {"connection_id":159271,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:17:30] local.INFO: Acknowledgment sent {"connection_id":159271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:17:34] local.INFO: TCP Data received {"connection_id":160454,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02490f9a0012d9dfbc00556eb38000701432c..."} 
[2026-08-21 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02490f9a0012d9dfbc00556eb38000701432c..."} 
[2026-08-21 19:17:34] local.INFO: Processing buffer {"connection_id":160454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02490f9a0012d9dfbc00556eb38000701432c..."} 
[2026-08-21 19:17:34] local.INFO: Packet analysis {"connection_id":160454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:17:34] local.INFO: Extracted packet for processing {"connection_id":160454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02490"} 
[2026-08-21 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":765328320,"raw_latitude":89582392,"longitude_deg":76.532832,"latitude_deg":8.9582392,"altitude":7,"angle":323,"satellites":44,"speed":29,"hex_longitude":"2d9dfbc0","hex_latitude":"0556eb38","is_valid_coordinates":true} 
[2026-08-21 19:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553888256001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388588312861868032,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7062840461434865664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787319876000,"timestamp_ms":1787319876000,"timestamp_seconds":1787319876,"priority":1,"record_length":96,"hex_timestamp":"000001a02490f9a0"} 
[2026-08-21 19:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 19:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553888256001,"66":27332,"179":206,"84":7168,"24":29,"16":388588312861868032,"45":-7062840461434865664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,84,24,16,45]} 
[2026-08-21 19:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553888256001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:17:34] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:17:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388588312861868032,"km_value":388588312861868.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7062840461434865664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553888256001,"power":27332,"unknown_179":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-7062840461434865664}} 
[2026-08-21 19:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":160454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:17:34] local.INFO: GPS data processed {"connection_id":160454,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:17:34] local.INFO: Acknowledgment sent {"connection_id":160454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:17:38] local.INFO: TCP Data received {"connection_id":161851,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024930128012d18520007218b50004d007428..."} 
[2026-08-21 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024930128012d18520007218b50004d007428..."} 
[2026-08-21 19:17:38] local.INFO: Processing buffer {"connection_id":161851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024930128012d18520007218b50004d007428..."} 
[2026-08-21 19:17:38] local.INFO: Packet analysis {"connection_id":161851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:17:38] local.INFO: Extracted packet for processing {"connection_id":161851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756568576,"raw_latitude":119638864,"longitude_deg":75.6568576,"latitude_deg":11.9638864,"altitude":77,"angle":116,"satellites":40,"speed":32,"hex_longitude":"2d185200","hex_latitude":"07218b50","is_valid_coordinates":true} 
[2026-08-21 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553918464001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14312381513465856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743033823909193728,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320009000,"timestamp_ms":1787320009000,"timestamp_seconds":1787320009,"priority":1,"record_length":96,"hex_timestamp":"000001a024930128"} 
[2026-08-21 19:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-08-21 19:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553918464001,"66":13820,"106":206,"83":41984,"24":32,"16":14312381513465856,"45":1743033823909193728},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 19:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553918464001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:17:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 19:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14312381513465856,"km_value":14312381513465.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743033823909193728,"description":"Unknown IO ID 45"} 
[2026-08-21 19:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553918464001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1743033823909193728}} 
[2026-08-21 19:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":161851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:17:38] local.INFO: GPS data processed {"connection_id":161851,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:17:38] local.INFO: Acknowledgment sent {"connection_id":161851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:17:59] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:17:59] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:17:59] local.INFO: IMEI packet received {"connection_id":160455,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":160455,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:17:59] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024938dc8012d83adc005c5cc08000700c327..."} 
[2026-08-21 19:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024938dc8012d83adc005c5cc08000700c327..."} 
[2026-08-21 19:17:59] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024938dc8012d83adc005c5cc08000700c327..."} 
[2026-08-21 19:17:59] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:17:59] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763604416,"raw_latitude":96848904,"longitude_deg":76.3604416,"latitude_deg":9.6848904,"altitude":7,"angle":195,"satellites":39,"speed":25,"hex_longitude":"2d83adc0","hex_latitude":"05c5cc08","is_valid_coordinates":true} 
[2026-08-21 19:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553928448001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121945528966578176,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8956674471625824256,"note":"Value kept but may cause issues"} 
[2026-08-21 19:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320045000,"timestamp_ms":1787320045000,"timestamp_seconds":1787320045,"priority":1,"record_length":96,"hex_timestamp":"000001a024938dc8"} 
[2026-08-21 19:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:17: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-08-21 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 19:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553928448001,"66":11754,"149":206,"85":12288,"24":25,"16":121945528966578176,"45":-8956674471625824256},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-21 19:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553928448001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:17:59] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 19:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121945528966578176,"km_value":121945528966578.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8956674471625824256,"description":"Unknown IO ID 45"} 
[2026-08-21 19:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553928448001,"power":11754,"unknown_149":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-8956674471625824256}} 
[2026-08-21 19:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:00] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:00] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:01] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:01] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:01] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:18:02] local.INFO: TCP Data received {"connection_id":159272,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:02] local.INFO: Processing buffer {"connection_id":159272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:02] local.INFO: IMEI packet received {"connection_id":159272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":159272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:18:05] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:05] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:05] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:18:05] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:05] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:18:05] local.INFO: IMEI packet received {"connection_id":160456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":160456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:18:06] local.INFO: TCP Data received {"connection_id":159272,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:06] local.INFO: Processing buffer {"connection_id":159272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:06] local.INFO: IMEI packet received {"connection_id":159272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":159272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:18:07] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024931898012d1863c007218328004d006929..."} 
[2026-08-21 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024931898012d1863c007218328004d006929..."} 
[2026-08-21 19:18:07] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024931898012d1863c007218328004d006929..."} 
[2026-08-21 19:18:07] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:07] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756573120,"raw_latitude":119636776,"longitude_deg":75.657312,"latitude_deg":11.9636776,"altitude":77,"angle":105,"satellites":41,"speed":30,"hex_longitude":"2d1863c0","hex_latitude":"07218328","is_valid_coordinates":true} 
[2026-08-21 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553922304001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14312617736667136,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752463235628093440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320015000,"timestamp_ms":1787320015000,"timestamp_seconds":1787320015,"priority":1,"record_length":96,"hex_timestamp":"000001a024931898"} 
[2026-08-21 19:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-21 19:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553922304001,"66":13406,"106":206,"83":41984,"24":30,"16":14312617736667136,"45":1752463235628093440},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553922304001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14312617736667136,"km_value":14312617736667.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752463235628093440,"description":"Unknown IO ID 45"} 
[2026-08-21 19:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553922304001,"power":13406,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1752463235628093440}} 
[2026-08-21 19:18:07] local.INFO: TCP Data received {"connection_id":159272,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249308f8012d9da34005580000000800022b..."} 
[2026-08-21 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249308f8012d9da34005580000000800022b..."} 
[2026-08-21 19:18:07] local.INFO: Processing buffer {"connection_id":159272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249308f8012d9da34005580000000800022b..."} 
[2026-08-21 19:18:07] local.INFO: Packet analysis {"connection_id":159272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:07] local.INFO: Extracted packet for processing {"connection_id":159272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":765305664,"raw_latitude":89653248,"longitude_deg":76.5305664,"latitude_deg":8.9653248,"altitude":8,"angle":2,"satellites":43,"speed":28,"hex_longitude":"2d9da340","hex_latitude":"05580000","is_valid_coordinates":true} 
[2026-08-21 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553918976001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388591950699167744,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7087399153136488448,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320011000,"timestamp_ms":1787320011000,"timestamp_seconds":1787320011,"priority":1,"record_length":96,"hex_timestamp":"000001a0249308f8"} 
[2026-08-21 19:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:18: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-08-21 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 19:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553918976001,"66":27463,"162":206,"84":7168,"24":28,"16":388591950699167744,"45":-7087399153136488448},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553918976001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388591950699167744,"km_value":388591950699167.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7087399153136488448,"description":"Unknown IO ID 45"} 
[2026-08-21 19:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553918976001,"power":27463,"unknown_162":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7087399153136488448}} 
[2026-08-21 19:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":159272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:07] local.INFO: GPS data processed {"connection_id":159272,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:07] local.INFO: Acknowledgment sent {"connection_id":159272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:07] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:07] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:07] local.INFO: TCP Data received {"connection_id":159272,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249333f0012d9da700055822580007000c2c..."} 
[2026-08-21 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249333f0012d9da700055822580007000c2c..."} 
[2026-08-21 19:18:07] local.INFO: Processing buffer {"connection_id":159272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249333f0012d9da700055822580007000c2c..."} 
[2026-08-21 19:18:07] local.INFO: Packet analysis {"connection_id":159272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:07] local.INFO: Extracted packet for processing {"connection_id":159272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":765306624,"raw_latitude":89662040,"longitude_deg":76.5306624,"latitude_deg":8.966204,"altitude":7,"angle":12,"satellites":44,"speed":33,"hex_longitude":"2d9da700","hex_latitude":"05582258","is_valid_coordinates":true} 
[2026-08-21 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553922816001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388592380195897344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7087750996855619584,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320022000,"timestamp_ms":1787320022000,"timestamp_seconds":1787320022,"priority":1,"record_length":96,"hex_timestamp":"000001a0249333f0"} 
[2026-08-21 19:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 19:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553922816001,"66":27300,"162":206,"84":7168,"24":33,"16":388592380195897344,"45":-7087750996855619584},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553922816001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388592380195897344,"km_value":388592380195897.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7087750996855619584,"description":"Unknown IO ID 45"} 
[2026-08-21 19:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553922816001,"power":27300,"unknown_162":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7087750996855619584}} 
[2026-08-21 19:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":159272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:07] local.INFO: GPS data processed {"connection_id":159272,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:07] local.INFO: Acknowledgment sent {"connection_id":159272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:30] local.INFO: TCP Data received {"connection_id":160455,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024938dc8012d83adc005c5cc08000700c327..."} 
[2026-08-21 19:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024938dc8012d83adc005c5cc08000700c327..."} 
[2026-08-21 19:18:30] local.INFO: Processing buffer {"connection_id":160455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024938dc8012d83adc005c5cc08000700c327..."} 
[2026-08-21 19:18:30] local.INFO: Packet analysis {"connection_id":160455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:30] local.INFO: Extracted packet for processing {"connection_id":160455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763604416,"raw_latitude":96848904,"longitude_deg":76.3604416,"latitude_deg":9.6848904,"altitude":7,"angle":195,"satellites":39,"speed":25,"hex_longitude":"2d83adc0","hex_latitude":"05c5cc08","is_valid_coordinates":true} 
[2026-08-21 19:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553931520001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121945528966578176,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958292952744196096,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787320045000,"timestamp_ms":1787320045000,"timestamp_seconds":1787320045,"priority":1,"record_length":96,"hex_timestamp":"000001a024938dc8"} 
[2026-08-21 19:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:18: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-08-21 19: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 19:18:30] 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-08-21 19:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160455,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553931520001,"66":11754,"149":206,"85":12288,"24":25,"16":121945528966578176,"45":-8958292952744196096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,85,24,16,45]} 
[2026-08-21 19:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553931520001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:18:30] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-08-21 19:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121945528966578176,"km_value":121945528966578.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958292952744196096,"description":"Unknown IO ID 45"} 
[2026-08-21 19:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553931520001,"power":11754,"unknown_149":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-8958292952744196096}} 
[2026-08-21 19:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":160455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:31] local.INFO: GPS data processed {"connection_id":160455,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:31] local.INFO: Acknowledgment sent {"connection_id":160455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:38] local.INFO: TCP Data received {"connection_id":160456,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024932450012d186c40072181f8004e005b29..."} 
[2026-08-21 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024932450012d186c40072181f8004e005b29..."} 
[2026-08-21 19:18:38] local.INFO: Processing buffer {"connection_id":160456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024932450012d186c40072181f8004e005b29..."} 
[2026-08-21 19:18:38] local.INFO: Packet analysis {"connection_id":160456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:38] local.INFO: Extracted packet for processing {"connection_id":160456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756575296,"raw_latitude":119636472,"longitude_deg":75.6575296,"latitude_deg":11.9636472,"altitude":78,"angle":91,"satellites":41,"speed":27,"hex_longitude":"2d186c40","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-08-21 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553923840001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14312720815882240,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416464173056,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320018000,"timestamp_ms":1787320018000,"timestamp_seconds":1787320018,"priority":1,"record_length":96,"hex_timestamp":"000001a024932450"} 
[2026-08-21 19:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-08-21 19:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553923840001,"66":13537,"106":206,"83":41984,"24":27,"16":14312720815882240,"45":1757459416464173056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-08-21 19:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553923840001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:18:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-08-21 19:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14312720815882240,"km_value":14312720815882.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416464173056,"description":"Unknown IO ID 45"} 
[2026-08-21 19:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553923840001,"power":13537,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1757459416464173056}} 
[2026-08-21 19:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":160456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:38] local.INFO: GPS data processed {"connection_id":160456,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:38] local.INFO: Acknowledgment sent {"connection_id":160456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:39] local.INFO: TCP Data received {"connection_id":159272,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024935330012d9dae80055839f0000600182d..."} 
[2026-08-21 19:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024935330012d9dae80055839f0000600182d..."} 
[2026-08-21 19:18:39] local.INFO: Processing buffer {"connection_id":159272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024935330012d9dae80055839f0000600182d..."} 
[2026-08-21 19:18:39] local.INFO: Packet analysis {"connection_id":159272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:39] local.INFO: Extracted packet for processing {"connection_id":159272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":765308544,"raw_latitude":89668080,"longitude_deg":76.5308544,"latitude_deg":8.966808,"altitude":6,"angle":24,"satellites":45,"speed":30,"hex_longitude":"2d9dae80","hex_latitude":"055839f0","is_valid_coordinates":true} 
[2026-08-21 19:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553925632001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388592689433542656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086695465690703872,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787320030000,"timestamp_ms":1787320030000,"timestamp_seconds":1787320030,"priority":1,"record_length":96,"hex_timestamp":"000001a024935330"} 
[2026-08-21 19:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 19:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553925632001,"66":27332,"162":206,"84":7168,"24":30,"16":388592689433542656,"45":-7086695465690703872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553925632001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:18:39] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:18:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388592689433542656,"km_value":388592689433542.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086695465690703872,"description":"Unknown IO ID 45"} 
[2026-08-21 19:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553925632001,"power":27332,"unknown_162":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7086695465690703872}} 
[2026-08-21 19:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":159272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:39] local.INFO: GPS data processed {"connection_id":159272,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:39] local.INFO: Acknowledgment sent {"connection_id":159272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:53] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:18:53] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:18:53] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:18:54] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:18:54] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:18:54] local.INFO: IMEI packet received {"connection_id":160457,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":160457,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:18:55] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02493d418012d83a28005c5ab58000600ca29..."} 
[2026-08-21 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02493d418012d83a28005c5ab58000600ca29..."} 
[2026-08-21 19:18:55] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02493d418012d83a28005c5ab58000600ca29..."} 
[2026-08-21 19:18:55] local.INFO: Packet analysis {"connection_id":160457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:55] local.INFO: Extracted packet for processing {"connection_id":160457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":763601536,"raw_latitude":96840536,"longitude_deg":76.3601536,"latitude_deg":9.6840536,"altitude":6,"angle":202,"satellites":41,"speed":26,"hex_longitude":"2d83a280","hex_latitude":"05c5ab58","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553931520001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121945958463307776,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8958292952744196096,"note":"Value kept but may cause issues"} 
[2026-08-21 19:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787320063000,"timestamp_ms":1787320063000,"timestamp_seconds":1787320063,"priority":1,"record_length":96,"hex_timestamp":"000001a02493d418"} 
[2026-08-21 19:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-08-21 19:18:55] 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-08-21 19: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-08-21 19:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":160457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":160457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":160457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553931520001,"66":12330,"123":206,"85":12288,"24":26,"16":121945958463307776,"45":-8958292952744196096},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-21 19:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553931520001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:18:55] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 19:18:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121945958463307776,"km_value":121945958463307.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8958292952744196096,"description":"Unknown IO ID 45"} 
[2026-08-21 19:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553931520001,"power":12330,"unknown_123":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-8958292952744196096}} 
[2026-08-21 19:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":160457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677450,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:18:55] local.INFO: GPS data processed {"connection_id":160457,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:18:55] local.INFO: Acknowledgment sent {"connection_id":160457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:18:56] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:56] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:56] local.INFO: IMEI packet received {"connection_id":159559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":159559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:18:59] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:59] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:18:59] local.INFO: IMEI packet received {"connection_id":159559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":159559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:19:02] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:02] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:02] local.INFO: IMEI packet received {"connection_id":159559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":159559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:19:03] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024938dc8012d9dc0c0055859900006001f2d..."} 
[2026-08-21 19:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024938dc8012d9dc0c0055859900006001f2d..."} 
[2026-08-21 19:19:03] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024938dc8012d9dc0c0055859900006001f2d..."} 
[2026-08-21 19:19:03] local.INFO: Packet analysis {"connection_id":159559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:19:03] local.INFO: Extracted packet for processing {"connection_id":159559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":765313216,"raw_latitude":89676176,"longitude_deg":76.5313216,"latitude_deg":8.9676176,"altitude":6,"angle":31,"satellites":45,"speed":20,"hex_longitude":"2d9dc0c0","hex_latitude":"05585990","is_valid_coordinates":true} 
[2026-08-21 19:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553927680001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388593140405108736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7084584403363827712,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320045000,"timestamp_ms":1787320045000,"timestamp_seconds":1787320045,"priority":1,"record_length":96,"hex_timestamp":"000001a024938dc8"} 
[2026-08-21 19:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 19:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553927680001,"66":27365,"162":206,"84":7168,"24":20,"16":388593140405108736,"45":-7084584403363827712},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553927680001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:19:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:19:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388593140405108736,"km_value":388593140405108.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7084584403363827712,"description":"Unknown IO ID 45"} 
[2026-08-21 19:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553927680001,"power":27365,"unknown_162":206,"unknown_84":7168,"ignition":20,"odometer":null,"unknown_45":-7084584403363827712}} 
[2026-08-21 19:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":159559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:19:03] local.INFO: GPS data processed {"connection_id":159559,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:19:03] local.INFO: Acknowledgment sent {"connection_id":159559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:19:04] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:04] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:04] local.INFO: IMEI packet received {"connection_id":161852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":161852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:19:06] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:06] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:06] local.INFO: IMEI packet received {"connection_id":161852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":161852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:19:07] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02493dbe8012d9dd400055877380007001d2b..."} 
[2026-08-21 19:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02493dbe8012d9dd400055877380007001d2b..."} 
[2026-08-21 19:19:07] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02493dbe8012d9dd400055877380007001d2b..."} 
[2026-08-21 19:19:07] local.INFO: Packet analysis {"connection_id":159559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:19:07] local.INFO: Extracted packet for processing {"connection_id":159559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02493"} 
[2026-08-21 19:19:07] local.INFO: GPS Element Parsed {"raw_longitude":765318144,"raw_latitude":89683768,"longitude_deg":76.5318144,"latitude_deg":8.9683768,"altitude":7,"angle":29,"satellites":43,"speed":18,"hex_longitude":"2d9dd400","hex_latitude":"05587738","is_valid_coordinates":true} 
[2026-08-21 19:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553931520001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388593578491772928,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7079447485036785664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320065000,"timestamp_ms":1787320065000,"timestamp_seconds":1787320065,"priority":1,"record_length":96,"hex_timestamp":"000001a02493dbe8"} 
[2026-08-21 19:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 19:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553931520001,"66":27376,"162":206,"84":7168,"24":18,"16":388593578491772928,"45":-7079447485036785664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553931520001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:19:07] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:19:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388593578491772928,"km_value":388593578491772.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7079447485036785664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553931520001,"power":27376,"unknown_162":206,"unknown_84":7168,"ignition":18,"odometer":null,"unknown_45":-7079447485036785664}} 
[2026-08-21 19:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":159559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:19:07] local.INFO: GPS data processed {"connection_id":159559,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:19:07] local.INFO: Acknowledgment sent {"connection_id":159559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:19:09] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:09] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:09] local.INFO: IMEI packet received {"connection_id":161852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":161852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:19:10] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024941a68012d18d28007211070003f00ab29..."} 
[2026-08-21 19:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024941a68012d18d28007211070003f00ab29..."} 
[2026-08-21 19:19:10] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024941a68012d18d28007211070003f00ab29..."} 
[2026-08-21 19:19:10] local.INFO: Packet analysis {"connection_id":161852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:10] local.INFO: Extracted packet for processing {"connection_id":161852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:10] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119607408,"longitude_deg":75.6601472,"latitude_deg":11.9607408,"altitude":63,"angle":171,"satellites":41,"speed":28,"hex_longitude":"2d18d280","hex_latitude":"07211070","is_valid_coordinates":true} 
[2026-08-21 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553938944001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14314894069334016,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401384437760,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787320081000,"timestamp_ms":1787320081000,"timestamp_seconds":1787320081,"priority":1,"record_length":96,"hex_timestamp":"000001a024941a68"} 
[2026-08-21 19:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-08-21 19:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553938944001,"66":13417,"103":206,"83":41984,"24":28,"16":14314894069334016,"45":1788562401384437760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553938944001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:19:10] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:19:10] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14314894069334016,"km_value":14314894069334.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401384437760,"description":"Unknown IO ID 45"} 
[2026-08-21 19:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553938944001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1788562401384437760}} 
[2026-08-21 19:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":161852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:19:10] local.INFO: GPS data processed {"connection_id":161852,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:19:10] local.INFO: Acknowledgment sent {"connection_id":161852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:19:26] local.INFO: TCP Data received {"connection_id":160457,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024940ac8012d83928005c58a40000400ce29..."} 
[2026-08-21 19:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024940ac8012d83928005c58a40000400ce29..."} 
[2026-08-21 19:19:26] local.INFO: Processing buffer {"connection_id":160457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024940ac8012d83928005c58a40000400ce29..."} 
[2026-08-21 19:19:26] local.INFO: Packet analysis {"connection_id":160457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:26] local.INFO: Extracted packet for processing {"connection_id":160457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":763597440,"raw_latitude":96832064,"longitude_deg":76.359744,"latitude_deg":9.6832064,"altitude":4,"angle":206,"satellites":41,"speed":25,"hex_longitude":"2d839280","hex_latitude":"05c58a40","is_valid_coordinates":true} 
[2026-08-21 19:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553936128001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121946413729841152,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8961459546234333184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787320077000,"timestamp_ms":1787320077000,"timestamp_seconds":1787320077,"priority":1,"record_length":96,"hex_timestamp":"000001a024940ac8"} 
[2026-08-21 19:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:19:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 19:19:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":160457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":160457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":160457,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553936128001,"66":12374,"123":206,"85":12288,"24":25,"16":121946413729841152,"45":-8961459546234333184},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-21 19:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553936128001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:19:26] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 19:19:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121946413729841152,"km_value":121946413729841.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8961459546234333184,"description":"Unknown IO ID 45"} 
[2026-08-21 19:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553936128001,"power":12374,"unknown_123":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-8961459546234333184}} 
[2026-08-21 19:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":160457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677454,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:19:26] local.INFO: GPS data processed {"connection_id":160457,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:19:26] local.INFO: Acknowledgment sent {"connection_id":160457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:19:38] local.INFO: TCP Data received {"connection_id":159559,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024941a68012d9de580055898100007001a2b..."} 
[2026-08-21 19:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024941a68012d9de580055898100007001a2b..."} 
[2026-08-21 19:19:38] local.INFO: Processing buffer {"connection_id":159559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024941a68012d9de580055898100007001a2b..."} 
[2026-08-21 19:19:38] local.INFO: Packet analysis {"connection_id":159559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:38] local.INFO: Extracted packet for processing {"connection_id":159559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:38] local.INFO: GPS Element Parsed {"raw_longitude":765322624,"raw_latitude":89692176,"longitude_deg":76.5322624,"latitude_deg":8.9692176,"altitude":7,"angle":26,"satellites":43,"speed":34,"hex_longitude":"2d9de580","hex_latitude":"05589810","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553936640001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388594042348240896,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7074029091733161984,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320081000,"timestamp_ms":1787320081000,"timestamp_seconds":1787320081,"priority":1,"record_length":96,"hex_timestamp":"000001a024941a68"} 
[2026-08-21 19:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 19:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553936640001,"66":27365,"162":206,"84":7168,"24":34,"16":388594042348240896,"45":-7074029091733161984},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553936640001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:19:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:19:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388594042348240896,"km_value":388594042348240.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7074029091733161984,"description":"Unknown IO ID 45"} 
[2026-08-21 19:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553936640001,"power":27365,"unknown_162":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7074029091733161984}} 
[2026-08-21 19:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":159559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:19:38] local.INFO: GPS data processed {"connection_id":159559,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:19:38] local.INFO: Acknowledgment sent {"connection_id":159559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:19:41] local.INFO: TCP Data received {"connection_id":161852,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249435c0012d18d6c0072100e8003d009a28..."} 
[2026-08-21 19:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249435c0012d18d6c0072100e8003d009a28..."} 
[2026-08-21 19:19:41] local.INFO: Processing buffer {"connection_id":161852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249435c0012d18d6c0072100e8003d009a28..."} 
[2026-08-21 19:19:41] local.INFO: Packet analysis {"connection_id":161852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:41] local.INFO: Extracted packet for processing {"connection_id":161852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:19:41] local.INFO: GPS Element Parsed {"raw_longitude":756602560,"raw_latitude":119603432,"longitude_deg":75.660256,"latitude_deg":11.9603432,"altitude":61,"angle":154,"satellites":40,"speed":23,"hex_longitude":"2d18d6c0","hex_latitude":"072100e8","is_valid_coordinates":true} 
[2026-08-21 19:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553940736001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14315095932796928,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127360000,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787320088000,"timestamp_ms":1787320088000,"timestamp_seconds":1787320088,"priority":1,"record_length":96,"hex_timestamp":"000001a0249435c0"} 
[2026-08-21 19:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-08-21 19:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553940736001,"66":13613,"103":206,"83":41984,"24":23,"16":14315095932796928,"45":1788632770127360000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553940736001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14315095932796928,"km_value":14315095932796.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127360000,"description":"Unknown IO ID 45"} 
[2026-08-21 19:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553940736001,"power":13613,"unknown_103":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1788632770127360000}} 
[2026-08-21 19:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":161852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:19:41] local.INFO: GPS data processed {"connection_id":161852,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:19:41] local.INFO: Acknowledgment sent {"connection_id":161852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:19:53] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:53] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:53] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:19:54] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:54] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:54] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:19:57] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:57] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:57] local.INFO: IMEI packet received {"connection_id":159560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":159560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:19:57] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:57] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:19:57] local.INFO: IMEI packet received {"connection_id":161853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":161853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:19:58] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:58] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:19:58] local.INFO: IMEI packet received {"connection_id":159561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":159561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:19:58] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:58] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:19:58] local.INFO: IMEI packet received {"connection_id":159560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":159560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:19:58] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024959d20012d84468005c54cb0000a005128..."} 
[2026-08-21 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024959d20012d84468005c54cb0000a005128..."} 
[2026-08-21 19:19:58] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024959d20012d84468005c54cb0000a005128..."} 
[2026-08-21 19:19:58] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:19:58] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763643520,"raw_latitude":96816304,"longitude_deg":76.364352,"latitude_deg":9.6816304,"altitude":10,"angle":81,"satellites":40,"speed":26,"hex_longitude":"2d844680","hex_latitude":"05c54cb0","is_valid_coordinates":true} 
[2026-08-21 19:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553964032001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121949020774989824,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8921278993315078144,"note":"Value kept but may cause issues"} 
[2026-08-21 19:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787320180000,"timestamp_ms":1787320180000,"timestamp_seconds":1787320180,"priority":1,"record_length":96,"hex_timestamp":"000001a024959d20"} 
[2026-08-21 19:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:19: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-08-21 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553964032001,"66":12287,"123":206,"85":12288,"24":26,"16":121949020774989824,"45":-8921278993315078144},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-21 19:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553964032001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:19:58] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 19:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121949020774989824,"km_value":121949020774989.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8921278993315078144,"description":"Unknown IO ID 45"} 
[2026-08-21 19:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553964032001,"power":12287,"unknown_123":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-8921278993315078144}} 
[2026-08-21 19:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:19:58] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:19:58] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:20:01] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:20:01] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:20:01] local.INFO: IMEI packet received {"connection_id":159561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":159561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:20:04] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:20:04] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:20:04] local.INFO: IMEI packet received {"connection_id":159560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":159560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:20:05] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249439a8012d9df1000558adb80007002a2d..."} 
[2026-08-21 19:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249439a8012d9df1000558adb80007002a2d..."} 
[2026-08-21 19:20:05] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249439a8012d9df1000558adb80007002a2d..."} 
[2026-08-21 19:20:05] local.INFO: Packet analysis {"connection_id":159560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:20:05] local.INFO: Extracted packet for processing {"connection_id":159560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":765325568,"raw_latitude":89697720,"longitude_deg":76.5325568,"latitude_deg":8.969772,"altitude":7,"angle":42,"satellites":45,"speed":19,"hex_longitude":"2d9df100","hex_latitude":"0558adb8","is_valid_coordinates":true} 
[2026-08-21 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553940736001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388594342995951616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7069103279638573056,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787320089000,"timestamp_ms":1787320089000,"timestamp_seconds":1787320089,"priority":1,"record_length":96,"hex_timestamp":"000001a0249439a8"} 
[2026-08-21 19:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 19:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553940736001,"66":27332,"162":206,"84":7168,"24":19,"16":388594342995951616,"45":-7069103279638573056},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553940736001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:20:05] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:20:05] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388594342995951616,"km_value":388594342995951.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7069103279638573056,"description":"Unknown IO ID 45"} 
[2026-08-21 19:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553940736001,"power":27332,"unknown_162":206,"unknown_84":7168,"ignition":19,"odometer":null,"unknown_45":-7069103279638573056}} 
[2026-08-21 19:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":159560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:20:05] local.INFO: GPS data processed {"connection_id":159560,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:20:05] local.INFO: Acknowledgment sent {"connection_id":159560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:20:06] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:20:06] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:20:06] local.INFO: IMEI packet received {"connection_id":159561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":159561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:20:07] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024943d90012d18d9800720fd00003c008a28..."} 
[2026-08-21 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024943d90012d18d9800720fd00003c008a28..."} 
[2026-08-21 19:20:07] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024943d90012d18d9800720fd00003c008a28..."} 
[2026-08-21 19:20:07] local.INFO: Packet analysis {"connection_id":159561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:20:07] local.INFO: Extracted packet for processing {"connection_id":159561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":756603264,"raw_latitude":119602432,"longitude_deg":75.6603264,"latitude_deg":11.9602432,"altitude":60,"angle":138,"satellites":40,"speed":25,"hex_longitude":"2d18d980","hex_latitude":"0720fd00","is_valid_coordinates":true} 
[2026-08-21 19:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553942528001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14315151767371776,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777362432,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320090000,"timestamp_ms":1787320090000,"timestamp_seconds":1787320090,"priority":1,"record_length":96,"hex_timestamp":"000001a024943d90"} 
[2026-08-21 19:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-08-21 19:20: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-08-21 19:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553942528001,"66":13580,"103":206,"83":41984,"24":25,"16":14315151767371776,"45":1789829038777362432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553942528001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:20:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:20:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14315151767371776,"km_value":14315151767371.775,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777362432,"description":"Unknown IO ID 45"} 
[2026-08-21 19:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553942528001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1789829038777362432}} 
[2026-08-21 19:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":159561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:20:07] local.INFO: GPS data processed {"connection_id":159561,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:20:07] local.INFO: Acknowledgment sent {"connection_id":159561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:20:29] local.INFO: TCP Data received {"connection_id":161853,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02495a8d8012d844e4005c54ee0000b004428..."} 
[2026-08-21 19:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02495a8d8012d844e4005c54ee0000b004428..."} 
[2026-08-21 19:20:29] local.INFO: Processing buffer {"connection_id":161853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02495a8d8012d844e4005c54ee0000b004428..."} 
[2026-08-21 19:20:29] local.INFO: Packet analysis {"connection_id":161853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:20:29] local.INFO: Extracted packet for processing {"connection_id":161853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763645504,"raw_latitude":96816864,"longitude_deg":76.3645504,"latitude_deg":9.6816864,"altitude":11,"angle":68,"satellites":40,"speed":29,"hex_longitude":"2d844e40","hex_latitude":"05c54ee0","is_valid_coordinates":true} 
[2026-08-21 19:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553966080001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121949119559237632,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8915297650059988992,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787320183000,"timestamp_ms":1787320183000,"timestamp_seconds":1787320183,"priority":1,"record_length":96,"hex_timestamp":"000001a02495a8d8"} 
[2026-08-21 19:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19: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-08-21 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553966080001,"66":12232,"123":206,"85":12288,"24":29,"16":121949119559237632,"45":-8915297650059988992},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-21 19:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553966080001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:20:29] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 19:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121949119559237632,"km_value":121949119559237.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8915297650059988992,"description":"Unknown IO ID 45"} 
[2026-08-21 19:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553966080001,"power":12232,"unknown_123":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-8915297650059988992}} 
[2026-08-21 19:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":161853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:20:29] local.INFO: GPS data processed {"connection_id":161853,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:20:29] local.INFO: Acknowledgment sent {"connection_id":161853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:20:36] local.INFO: TCP Data received {"connection_id":159560,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024944178012d9df4000558b0180007003b2d..."} 
[2026-08-21 19:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024944178012d9df4000558b0180007003b2d..."} 
[2026-08-21 19:20:36] local.INFO: Processing buffer {"connection_id":159560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024944178012d9df4000558b0180007003b2d..."} 
[2026-08-21 19:20:36] local.INFO: Packet analysis {"connection_id":159560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:20:36] local.INFO: Extracted packet for processing {"connection_id":159560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:20:36] local.INFO: GPS Element Parsed {"raw_longitude":765326336,"raw_latitude":89698328,"longitude_deg":76.5326336,"latitude_deg":8.9698328,"altitude":7,"angle":59,"satellites":45,"speed":19,"hex_longitude":"2d9df400","hex_latitude":"0558b018","is_valid_coordinates":true} 
[2026-08-21 19:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553942784001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388594390240591872,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7065866317404981248,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787320091000,"timestamp_ms":1787320091000,"timestamp_seconds":1787320091,"priority":1,"record_length":96,"hex_timestamp":"000001a024944178"} 
[2026-08-21 19:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:20: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-08-21 19:20:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 19:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:20:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553942784001,"66":27310,"162":206,"84":7168,"24":19,"16":388594390240591872,"45":-7065866317404981248},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553942784001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388594390240591872,"km_value":388594390240591.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7065866317404981248,"description":"Unknown IO ID 45"} 
[2026-08-21 19:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553942784001,"power":27310,"unknown_162":206,"unknown_84":7168,"ignition":19,"odometer":null,"unknown_45":-7065866317404981248}} 
[2026-08-21 19:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":159560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:20:36] local.INFO: GPS data processed {"connection_id":159560,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:20:36] local.INFO: Acknowledgment sent {"connection_id":159560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:20:38] local.INFO: TCP Data received {"connection_id":159561,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02495a8d8012d19bc800720a778003400a92b..."} 
[2026-08-21 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02495a8d8012d19bc800720a778003400a92b..."} 
[2026-08-21 19:20:38] local.INFO: Processing buffer {"connection_id":159561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02495a8d8012d19bc800720a778003400a92b..."} 
[2026-08-21 19:20:38] local.INFO: Packet analysis {"connection_id":159561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:20:38] local.INFO: Extracted packet for processing {"connection_id":159561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119580536,"longitude_deg":75.6661376,"latitude_deg":11.9580536,"altitude":52,"angle":169,"satellites":43,"speed":8,"hex_longitude":"2d19bc80","hex_latitude":"0720a778","is_valid_coordinates":true} 
[2026-08-21 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553966592001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14318325748203520,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854427545926647808,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320183000,"timestamp_ms":1787320183000,"timestamp_seconds":1787320183,"priority":1,"record_length":96,"hex_timestamp":"000001a02495a8d8"} 
[2026-08-21 19:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-21 19:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553966592001,"66":13559,"103":206,"83":41984,"24":8,"16":14318325748203520,"45":1854427545926647808},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553966592001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:20:38] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14318325748203520,"km_value":14318325748203.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854427545926647808,"description":"Unknown IO ID 45"} 
[2026-08-21 19:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553966592001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1854427545926647808}} 
[2026-08-21 19:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":159561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:20:38] local.INFO: GPS data processed {"connection_id":159561,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:20:38] local.INFO: Acknowledgment sent {"connection_id":159561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:20:53] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:20:53] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:20:53] local.INFO: IMEI packet received {"connection_id":159273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":159273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:20:57] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:20:57] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:20:57] local.INFO: IMEI packet received {"connection_id":161854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":161854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:20:57] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:20:57] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:20:57] local.INFO: IMEI packet received {"connection_id":159273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":159273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:20:58] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02495cfe8012d84694005c55d480009004f28..."} 
[2026-08-21 19:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02495cfe8012d84694005c55d480009004f28..."} 
[2026-08-21 19:20:58] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02495cfe8012d84694005c55d480009004f28..."} 
[2026-08-21 19:20:58] local.INFO: Packet analysis {"connection_id":159273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:20:58] local.INFO: Extracted packet for processing {"connection_id":159273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763652416,"raw_latitude":96820552,"longitude_deg":76.3652416,"latitude_deg":9.6820552,"altitude":9,"angle":79,"satellites":40,"speed":30,"hex_longitude":"2d846940","hex_latitude":"05c55d48","is_valid_coordinates":true} 
[2026-08-21 19:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553966848001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121949501811326976,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8913116218990338048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787320193000,"timestamp_ms":1787320193000,"timestamp_seconds":1787320193,"priority":1,"record_length":96,"hex_timestamp":"000001a02495cfe8"} 
[2026-08-21 19:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553966848001,"66":12298,"123":206,"85":12288,"24":30,"16":121949501811326976,"45":-8913116218990338048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-21 19:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553966848001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:20:58] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 19:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121949501811326976,"km_value":121949501811326.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8913116218990338048,"description":"Unknown IO ID 45"} 
[2026-08-21 19:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553966848001,"power":12298,"unknown_123":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-8913116218990338048}} 
[2026-08-21 19:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":159273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:20:58] local.INFO: GPS data processed {"connection_id":159273,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:20:58] local.INFO: Acknowledgment sent {"connection_id":159273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:21:01] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:01] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:01] local.INFO: IMEI packet received {"connection_id":159274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":159274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:21:02] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:21:02] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:21:02] local.INFO: IMEI packet received {"connection_id":161854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":161854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:21:03] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024944d30012d9df9400558b3800007002c2c..."} 
[2026-08-21 19:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024944d30012d9df9400558b3800007002c2c..."} 
[2026-08-21 19:21:03] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024944d30012d9df9400558b3800007002c2c..."} 
[2026-08-21 19:21:03] local.INFO: Packet analysis {"connection_id":161854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:21:03] local.INFO: Extracted packet for processing {"connection_id":161854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02494"} 
[2026-08-21 19:21:03] local.INFO: GPS Element Parsed {"raw_longitude":765327680,"raw_latitude":89699200,"longitude_deg":76.532768,"latitude_deg":8.96992,"altitude":7,"angle":44,"satellites":44,"speed":23,"hex_longitude":"2d9df940","hex_latitude":"0558b380","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553943296001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388594471844970496,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7065021892474693632,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320094000,"timestamp_ms":1787320094000,"timestamp_seconds":1787320094,"priority":1,"record_length":96,"hex_timestamp":"000001a024944d30"} 
[2026-08-21 19:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 19:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553943296001,"66":27343,"162":206,"84":7168,"24":23,"16":388594471844970496,"45":-7065021892474693632},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,84,24,16,45]} 
[2026-08-21 19:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553943296001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:21:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 19:21:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388594471844970496,"km_value":388594471844970.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7065021892474693632,"description":"Unknown IO ID 45"} 
[2026-08-21 19:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553943296001,"power":27343,"unknown_162":206,"unknown_84":7168,"ignition":23,"odometer":null,"unknown_45":-7065021892474693632}} 
[2026-08-21 19:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":161854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:21:03] local.INFO: GPS data processed {"connection_id":161854,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:21:03] local.INFO: Acknowledgment sent {"connection_id":161854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:21:06] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:06] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:06] local.INFO: IMEI packet received {"connection_id":159274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":159274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:21:07] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02495df88012d19bb800720a5b8003500cb2d..."} 
[2026-08-21 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02495df88012d19bb800720a5b8003500cb2d..."} 
[2026-08-21 19:21:07] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02495df88012d19bb800720a5b8003500cb2d..."} 
[2026-08-21 19:21:07] local.INFO: Packet analysis {"connection_id":159274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:21:07] local.INFO: Extracted packet for processing {"connection_id":159274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119580088,"longitude_deg":75.666112,"latitude_deg":11.9580088,"altitude":53,"angle":203,"satellites":45,"speed":4,"hex_longitude":"2d19bb80","hex_latitude":"0720a5b8","is_valid_coordinates":true} 
[2026-08-21 19:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553966848001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14318355812974592,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914670774272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320197000,"timestamp_ms":1787320197000,"timestamp_seconds":1787320197,"priority":1,"record_length":96,"hex_timestamp":"000001a02495df88"} 
[2026-08-21 19:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-08-21 19:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553966848001,"66":13526,"103":206,"83":41984,"24":4,"16":14318355812974592,"45":1854497914670774272},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553966848001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:21:07] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14318355812974592,"km_value":14318355812974.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914670774272,"description":"Unknown IO ID 45"} 
[2026-08-21 19:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553966848001,"power":13526,"unknown_103":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1854497914670774272}} 
[2026-08-21 19:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":159274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:21:07] local.INFO: GPS data processed {"connection_id":159274,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:21:07] local.INFO: Acknowledgment sent {"connection_id":159274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:21:29] local.INFO: TCP Data received {"connection_id":159273,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02495dba0012d84728005c55dd00009005e27..."} 
[2026-08-21 19:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02495dba0012d84728005c55dd00009005e27..."} 
[2026-08-21 19:21:29] local.INFO: Processing buffer {"connection_id":159273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02495dba0012d84728005c55dd00009005e27..."} 
[2026-08-21 19:21:29] local.INFO: Packet analysis {"connection_id":159273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:21:29] local.INFO: Extracted packet for processing {"connection_id":159273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763654784,"raw_latitude":96820688,"longitude_deg":76.3654784,"latitude_deg":9.6820688,"altitude":9,"angle":94,"satellites":39,"speed":30,"hex_longitude":"2d847280","hex_latitude":"05c55dd0","is_valid_coordinates":true} 
[2026-08-21 19:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553969408001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121949613480476672,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8905516394618206208,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787320196000,"timestamp_ms":1787320196000,"timestamp_seconds":1787320196,"priority":1,"record_length":96,"hex_timestamp":"000001a02495dba0"} 
[2026-08-21 19:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:21: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-08-21 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902535815680,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2636057068660687871,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2217099269,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002798419673294,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":63,"raw_value":8718968878589280257,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13478011,"corrected_to":0} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2507030529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2826633422,"corrected_to":0} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3087084932,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3221603669,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495848,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3310704640,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":192,"raw_value":415860070996902024,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.WARNING: Large IO value detected {"io_id":37,"raw_value":8162774325264388,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:29] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,123,85,24,241,157,16,64,160,168,45,78,11,40,10,66,128,76,63,125,1,240,200,227,36,197,4,113,205,28,90,25,88,39,239,47,2,177,5,192,37],"length":534,"final_offset":664,"validated_count":41,"validation_warnings":[{"io_id":200,"original":13478011,"validated":0},{"io_id":205,"original":2826633422,"validated":0}]} 
[2026-08-21 19:21:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648605379560603648,"timestamp_seconds":648605379560603.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553969408001,"66":12048,"123":206,"85":12288,"24":30,"16":121949613480476672,"45":-8905516394618206208},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-21 19:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553969408001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:21:29] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 19:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121949613480476672,"km_value":121949613480476.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8905516394618206208,"description":"Unknown IO ID 45"} 
[2026-08-21 19:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553969408001,"power":12048,"unknown_123":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-8905516394618206208}} 
[2026-08-21 19:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":159273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:21:29] local.INFO: GPS data processed {"connection_id":159273,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:21:29] local.INFO: Acknowledgment sent {"connection_id":159273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:21:34] local.INFO: TCP Data received {"connection_id":161854,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024961250012d9e4a800559a8580006015a2c..."} 
[2026-08-21 19:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024961250012d9e4a800559a8580006015a2c..."} 
[2026-08-21 19:21:34] local.INFO: Processing buffer {"connection_id":161854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024961250012d9e4a800559a8580006015a2c..."} 
[2026-08-21 19:21:34] local.INFO: Packet analysis {"connection_id":161854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:21:34] local.INFO: Extracted packet for processing {"connection_id":161854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":765348480,"raw_latitude":89761880,"longitude_deg":76.534848,"latitude_deg":8.976188,"altitude":6,"angle":346,"satellites":44,"speed":18,"hex_longitude":"2d9e4a80","hex_latitude":"0559a858","is_valid_coordinates":true} 
[2026-08-21 19:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553972992001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388597783264755712,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7039970619531491328,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320210000,"timestamp_ms":1787320210000,"timestamp_seconds":1787320210,"priority":1,"record_length":96,"hex_timestamp":"000001a024961250"} 
[2026-08-21 19:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 19:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553972992001,"66":27463,"119":206,"84":7168,"24":18,"16":388597783264755712,"45":-7039970619531491328},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 19:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553972992001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:21:34] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 19:21:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388597783264755712,"km_value":388597783264755.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7039970619531491328,"description":"Unknown IO ID 45"} 
[2026-08-21 19:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553972992001,"power":27463,"unknown_119":206,"unknown_84":7168,"ignition":18,"odometer":null,"unknown_45":-7039970619531491328}} 
[2026-08-21 19:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":161854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:21:34] local.INFO: GPS data processed {"connection_id":161854,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:21:34] local.INFO: Acknowledgment sent {"connection_id":161854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:21:37] local.INFO: TCP Data received {"connection_id":159274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02495e758012d19bac00720a440003400d62c..."} 
[2026-08-21 19:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02495e758012d19bac00720a440003400d62c..."} 
[2026-08-21 19:21:37] local.INFO: Processing buffer {"connection_id":159274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02495e758012d19bac00720a440003400d62c..."} 
[2026-08-21 19:21:37] local.INFO: Packet analysis {"connection_id":159274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:21:37] local.INFO: Extracted packet for processing {"connection_id":159274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02495"} 
[2026-08-21 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119579712,"longitude_deg":75.6660928,"latitude_deg":11.9579712,"altitude":52,"angle":214,"satellites":44,"speed":10,"hex_longitude":"2d19bac0","hex_latitude":"0720a440","is_valid_coordinates":true} 
[2026-08-21 19:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553970432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14318377287811072,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439693948928,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787320199000,"timestamp_ms":1787320199000,"timestamp_seconds":1787320199,"priority":1,"record_length":96,"hex_timestamp":"000001a02495e758"} 
[2026-08-21 19:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-08-21 19:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553970432001,"66":13580,"103":206,"83":41984,"24":10,"16":14318377287811072,"45":1854216439693948928},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553970432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:21:37] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14318377287811072,"km_value":14318377287811.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439693948928,"description":"Unknown IO ID 45"} 
[2026-08-21 19:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553970432001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1854216439693948928}} 
[2026-08-21 19:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":159274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677468,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:21:37] local.INFO: GPS data processed {"connection_id":159274,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:21:37] local.INFO: Acknowledgment sent {"connection_id":159274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:21:53] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:21:53] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:21:53] local.INFO: IMEI packet received {"connection_id":159562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":159562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:21:57] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:21:57] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:21:57] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:21:58] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:21:58] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:21:58] local.INFO: IMEI packet received {"connection_id":159562,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159562,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:21:59] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:59] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:21:59] local.INFO: IMEI packet received {"connection_id":159563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":159563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:21:59] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024960e68012d8497c005c55b380008005f24..."} 
[2026-08-21 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024960e68012d8497c005c55b380008005f24..."} 
[2026-08-21 19:21:59] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024960e68012d8497c005c55b380008005f24..."} 
[2026-08-21 19:21:59] local.INFO: Packet analysis {"connection_id":159562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:21:59] local.INFO: Extracted packet for processing {"connection_id":159562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763664320,"raw_latitude":96820024,"longitude_deg":76.366432,"latitude_deg":9.6820024,"altitude":8,"angle":95,"satellites":36,"speed":26,"hex_longitude":"2d8497c0","hex_latitude":"05c55b38","is_valid_coordinates":true} 
[2026-08-21 19:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553970176001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121950068747010048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8902912751083597824,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,123,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320209000,"timestamp_ms":1787320209000,"timestamp_seconds":1787320209,"priority":1,"record_length":96,"hex_timestamp":"000001a024960e68"} 
[2026-08-21 19:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:21: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-08-21 19: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578901551915197952,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2217820165,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-5674683964556574720,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505460413104128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":63,"raw_value":4244635648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2508054529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629884516345979,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6917792914731237632,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6306445967009775592,"corrected_to":0} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182251184455936,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4227375918026294489,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194866688,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84869214120559957,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2815278702402048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:21:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,123,85,24,241,157,16,64,160,207,45,93,9,40,10,66,168,78,11,128,1,240,255,227,63,36,197,4,113,205,28,110,38,80,41,239,47,2,177,5,69,184,88],"length":583,"final_offset":713,"validated_count":43,"validation_warnings":[{"io_id":205,"original":-6306445967009775592,"validated":0}]} 
[2026-08-21 19:21:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648621867940052992,"timestamp_seconds":648621867940053.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553970176001,"66":12341,"123":206,"85":12288,"24":26,"16":121950068747010048,"45":-8902912751083597824},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,123,85,24,16,45]} 
[2026-08-21 19:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553970176001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:21:59] local.INFO: Unknown IO ID detected {"io_id":123,"value":206,"description":"Unknown IO ID 123"} 
[2026-08-21 19:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121950068747010048,"km_value":121950068747010.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8902912751083597824,"description":"Unknown IO ID 45"} 
[2026-08-21 19:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553970176001,"power":12341,"unknown_123":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-8902912751083597824}} 
[2026-08-21 19:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":159562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:21:59] local.INFO: GPS data processed {"connection_id":159562,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:21:59] local.INFO: Acknowledgment sent {"connection_id":159562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:01] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:01] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:01] local.INFO: IMEI packet received {"connection_id":159563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":159563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:22:01] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:01] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:01] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:22:02] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:02] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:02] local.INFO: IMEI packet received {"connection_id":161855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":161855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:22:02] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024964900012d9e47400559cd48000601622c..."} 
[2026-08-21 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024964900012d9e47400559cd48000601622c..."} 
[2026-08-21 19:22:02] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024964900012d9e47400559cd48000601622c..."} 
[2026-08-21 19:22:02] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:02] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:02] local.INFO: GPS Element Parsed {"raw_longitude":765347648,"raw_latitude":89771336,"longitude_deg":76.5347648,"latitude_deg":8.9771336,"altitude":6,"angle":354,"satellites":44,"speed":28,"hex_longitude":"2d9e4740","hex_latitude":"0559cd48","is_valid_coordinates":true} 
[2026-08-21 19:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553973760001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388598242826256384,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7040674306972952576,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787320224000,"timestamp_ms":1787320224000,"timestamp_seconds":1787320224,"priority":1,"record_length":96,"hex_timestamp":"000001a024964900"} 
[2026-08-21 19:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553973760001,"66":27397,"118":206,"84":7168,"24":28,"16":388598242826256384,"45":-7040674306972952576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-21 19:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553973760001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:02] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-21 19:22:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388598242826256384,"km_value":388598242826256.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7040674306972952576,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553973760001,"power":27397,"unknown_118":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7040674306972952576}} 
[2026-08-21 19:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:02] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:02] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:04] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:04] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:04] local.INFO: IMEI packet received {"connection_id":159563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":159563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:22:05] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:05] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:22:05] local.INFO: IMEI packet received {"connection_id":159563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":159563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:22:06] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02496d1b8012d19ce0007201f68002d00262b..."} 
[2026-08-21 19:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02496d1b8012d19ce0007201f68002d00262b..."} 
[2026-08-21 19:22:06] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02496d1b8012d19ce0007201f68002d00262b..."} 
[2026-08-21 19:22:06] local.INFO: Packet analysis {"connection_id":159563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:06] local.INFO: Extracted packet for processing {"connection_id":159563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:06] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119545704,"longitude_deg":75.6665856,"latitude_deg":11.9545704,"altitude":45,"angle":38,"satellites":43,"speed":7,"hex_longitude":"2d19ce00","hex_latitude":"07201f68","is_valid_coordinates":true} 
[2026-08-21 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553986048001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14320189764009984,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989265905664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787320259000,"timestamp_ms":1787320259000,"timestamp_seconds":1787320259,"priority":1,"record_length":96,"hex_timestamp":"000001a02496d1b8"} 
[2026-08-21 19:22:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22: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-08-21 19:22:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:22:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:22:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:22:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:22:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:22:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:22:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553986048001,"66":13493,"103":206,"83":41984,"24":7,"16":14320189764009984,"45":1859282989265905664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:22:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:22:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:22:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553986048001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:22:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:22:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14320189764009984,"km_value":14320189764009.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989265905664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553986048001,"power":13493,"unknown_103":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1859282989265905664}} 
[2026-08-21 19:22:06] local.INFO: DEBUG: GPS processor result {"connection_id":159563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:06] local.INFO: GPS data processed {"connection_id":159563,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:06] local.INFO: Acknowledgment sent {"connection_id":159563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:07] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024968b68012d9e44000559efb8000701622c..."} 
[2026-08-21 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024968b68012d9e44000559efb8000701622c..."} 
[2026-08-21 19:22:07] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024968b68012d9e44000559efb8000701622c..."} 
[2026-08-21 19:22:07] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:07] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:07] local.INFO: GPS Element Parsed {"raw_longitude":765346816,"raw_latitude":89780152,"longitude_deg":76.5346816,"latitude_deg":8.9780152,"altitude":7,"angle":354,"satellites":44,"speed":17,"hex_longitude":"2d9e4400","hex_latitude":"0559efb8","is_valid_coordinates":true} 
[2026-08-21 19:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553977344001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388598676617953280,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041589100644841472,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320241000,"timestamp_ms":1787320241000,"timestamp_seconds":1787320241,"priority":1,"record_length":96,"hex_timestamp":"000001a024968b68"} 
[2026-08-21 19:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22: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-08-21 19:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553977344001,"66":27397,"118":206,"84":7168,"24":17,"16":388598676617953280,"45":-7041589100644841472},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,84,24,16,45]} 
[2026-08-21 19:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553977344001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-08-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388598676617953280,"km_value":388598676617953.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041589100644841472,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553977344001,"power":27397,"unknown_118":206,"unknown_84":7168,"ignition":17,"odometer":null,"unknown_45":-7041589100644841472}} 
[2026-08-21 19:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:07] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:07] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:11] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02496f4e0012d19d44007202620003000402a..."} 
[2026-08-21 19:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02496f4e0012d19d44007202620003000402a..."} 
[2026-08-21 19:22:11] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02496f4e0012d19d44007202620003000402a..."} 
[2026-08-21 19:22:11] local.INFO: Packet analysis {"connection_id":159563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:11] local.INFO: Extracted packet for processing {"connection_id":159563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:11] local.INFO: GPS Element Parsed {"raw_longitude":756667456,"raw_latitude":119547424,"longitude_deg":75.6667456,"latitude_deg":11.9547424,"altitude":48,"angle":64,"satellites":42,"speed":14,"hex_longitude":"2d19d440","hex_latitude":"07202620","is_valid_coordinates":true} 
[2026-08-21 19:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553986304001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14320301433159680,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726754293760,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787320268000,"timestamp_ms":1787320268000,"timestamp_seconds":1787320268,"priority":1,"record_length":96,"hex_timestamp":"000001a02496f4e0"} 
[2026-08-21 19:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:22:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:22:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553986304001,"66":13580,"103":206,"83":41984,"24":14,"16":14320301433159680,"45":1859423726754293760},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553986304001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:11] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:22:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14320301433159680,"km_value":14320301433159.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726754293760,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553986304001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1859423726754293760}} 
[2026-08-21 19:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":159563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:11] local.INFO: GPS data processed {"connection_id":159563,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:11] local.INFO: Acknowledgment sent {"connection_id":159563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:30] local.INFO: TCP Data received {"connection_id":159562,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02497bc18012d857ac005c518f80009005a27..."} 
[2026-08-21 19:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02497bc18012d857ac005c518f80009005a27..."} 
[2026-08-21 19:22:30] local.INFO: Processing buffer {"connection_id":159562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02497bc18012d857ac005c518f80009005a27..."} 
[2026-08-21 19:22:30] local.INFO: Packet analysis {"connection_id":159562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:22:30] local.INFO: Extracted packet for processing {"connection_id":159562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763722432,"raw_latitude":96803064,"longitude_deg":76.3722432,"latitude_deg":9.6803064,"altitude":9,"angle":90,"satellites":39,"speed":5,"hex_longitude":"2d857ac0","hex_latitude":"05c518f8","is_valid_coordinates":true} 
[2026-08-21 19:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553998592001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121952997914705920,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8832614375654481920,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787320319000,"timestamp_ms":1787320319000,"timestamp_seconds":1787320319,"priority":1,"record_length":96,"hex_timestamp":"000001a02497bc18"} 
[2026-08-21 19:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22: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-08-21 19:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2230779909,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2531606529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6424665457228251112,"corrected_to":0} 
[2026-08-21 19:22:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":458878,"corrected_to":0} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182251184455936,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242726,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4231035092790644183,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194905856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:30] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,215,85,24,241,157,16,67,160,98,45,192,39,10,40,66,59,44,38,8,1,240,227,36,197,4,113,205,27,198,229,200,239,47,2,177,5,69],"length":484,"final_offset":614,"validated_count":38,"validation_warnings":[{"io_id":205,"original":-6424665457228251112,"validated":0},{"io_id":200,"original":458878,"validated":0}]} 
[2026-08-21 19:22:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648630668328108032,"timestamp_seconds":648630668328108.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":159562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":159562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":159562,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553998592001,"66":11711,"215":206,"85":12288,"24":5,"16":121952997914705920,"45":-8832614375654481920},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,85,24,16,45]} 
[2026-08-21 19:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553998592001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-08-21 19:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121952997914705920,"km_value":121952997914705.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8832614375654481920,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553998592001,"power":11711,"unknown_215":206,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":-8832614375654481920}} 
[2026-08-21 19:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":159562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677474,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:30] local.INFO: GPS data processed {"connection_id":159562,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:30] local.INFO: Acknowledgment sent {"connection_id":159562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:38] local.INFO: TCP Data received {"connection_id":161855,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02496dd70012d9e42000559fd78000901602b..."} 
[2026-08-21 19:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02496dd70012d9e42000559fd78000901602b..."} 
[2026-08-21 19:22:38] local.INFO: Processing buffer {"connection_id":161855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02496dd70012d9e42000559fd78000901602b..."} 
[2026-08-21 19:22:38] local.INFO: Packet analysis {"connection_id":161855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:38] local.INFO: Extracted packet for processing {"connection_id":161855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89783672,"longitude_deg":76.5346304,"latitude_deg":8.9783672,"altitude":9,"angle":352,"satellites":43,"speed":1,"hex_longitude":"2d9e4200","hex_latitude":"0559fd78","is_valid_coordinates":true} 
[2026-08-21 19:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553981696001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388598852711612416,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042503894316894208,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320262000,"timestamp_ms":1787320262000,"timestamp_seconds":1787320262,"priority":1,"record_length":96,"hex_timestamp":"000001a02496dd70"} 
[2026-08-21 19:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553981696001,"66":27332,"117":206,"84":7168,"24":1,"16":388598852711612416,"45":-7042503894316894208},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553981696001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:38] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:22:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388598852711612416,"km_value":388598852711612.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042503894316894208,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553981696001,"power":27332,"unknown_117":206,"unknown_84":7168,"ignition":1,"odometer":null,"unknown_45":-7042503894316894208}} 
[2026-08-21 19:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":161855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:38] local.INFO: GPS data processed {"connection_id":161855,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:38] local.INFO: Acknowledgment sent {"connection_id":161855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:42] local.INFO: TCP Data received {"connection_id":159563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02496f8c8012d19d580072026800030004b2d..."} 
[2026-08-21 19:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02496f8c8012d19d580072026800030004b2d..."} 
[2026-08-21 19:22:42] local.INFO: Processing buffer {"connection_id":159563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02496f8c8012d19d580072026800030004b2d..."} 
[2026-08-21 19:22:42] local.INFO: Packet analysis {"connection_id":159563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:42] local.INFO: Extracted packet for processing {"connection_id":159563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02496"} 
[2026-08-21 19:22:42] local.INFO: GPS Element Parsed {"raw_longitude":756667776,"raw_latitude":119547520,"longitude_deg":75.6667776,"latitude_deg":11.954752,"altitude":48,"angle":75,"satellites":45,"speed":14,"hex_longitude":"2d19d580","hex_latitude":"07202680","is_valid_coordinates":true} 
[2026-08-21 19:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553988608001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14320318613028864,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861182945359175680,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787320269000,"timestamp_ms":1787320269000,"timestamp_seconds":1787320269,"priority":1,"record_length":96,"hex_timestamp":"000001a02496f8c8"} 
[2026-08-21 19:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526623,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2529302529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132248679,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":466974,"corrected_to":0} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407160,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3759734784,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4557634987984158677,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917045463010899,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755502520402161,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:42] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,103,83,24,241,157,16,224,160,209,45,31,43,10,66,205,128,30,198,64,1,240,41,227,36,32,4,113,6,190,203,104,40,239,52,2,50,7,44,12,25,53,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":203,"original":466974,"validated":0}]} 
[2026-08-21 19:22:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458835062954262528,"timestamp_seconds":3458835062954262.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553988608001,"66":13580,"103":206,"83":41984,"24":14,"16":14320318613028864,"45":1861182945359175680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553988608001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:42] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:22:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14320318613028864,"km_value":14320318613028.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861182945359175680,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553988608001,"power":13580,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1861182945359175680}} 
[2026-08-21 19:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":159563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:42] local.INFO: GPS data processed {"connection_id":159563,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:42] local.INFO: Acknowledgment sent {"connection_id":159563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:22:53] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:22:53] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:22:53] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:22:57] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:57] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:22:57] local.INFO: IMEI packet received {"connection_id":159564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":159564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:22:58] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:22:58] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:22:58] local.INFO: IMEI packet received {"connection_id":160458,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160458,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:22:59] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02497fe80012d85980005c51778000c006724..."} 
[2026-08-21 19:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02497fe80012d85980005c51778000c006724..."} 
[2026-08-21 19:22:59] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02497fe80012d85980005c51778000c006724..."} 
[2026-08-21 19:22:59] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:22:59] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763729920,"raw_latitude":96802680,"longitude_deg":76.372992,"latitude_deg":9.680268,"altitude":12,"angle":103,"satellites":36,"speed":30,"hex_longitude":"2d859800","hex_latitude":"05c51778","is_valid_coordinates":true} 
[2026-08-21 19:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554001664001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121953354396991488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8828532988492318720,"note":"Value kept but may cause issues"} 
[2026-08-21 19:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320336000,"timestamp_ms":1787320336000,"timestamp_seconds":1787320336,"priority":1,"record_length":96,"hex_timestamp":"000001a02497fe80"} 
[2026-08-21 19:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:22: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-08-21 19:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 19:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2142,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554001664001,"66":12287,"216":206,"85":12288,"24":30,"16":121953354396991488,"45":-8828532988492318720},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554001664001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:22:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121953354396991488,"km_value":121953354396991.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8828532988492318720,"description":"Unknown IO ID 45"} 
[2026-08-21 19:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554001664001,"power":12287,"unknown_216":206,"unknown_85":12288,"ignition":30,"odometer":null,"unknown_45":-8828532988492318720}} 
[2026-08-21 19:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:22:59] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:22:59] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:23:01] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:23:01] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:23:01] local.INFO: IMEI packet received {"connection_id":161856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":161856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:23:02] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:23:02] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:23:02] local.INFO: IMEI packet received {"connection_id":159564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":159564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:23:03] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024972f78012d9e4100055a04c0000901602a..."} 
[2026-08-21 19:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024972f78012d9e4100055a04c0000901602a..."} 
[2026-08-21 19:23:03] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024972f78012d9e4100055a04c0000901602a..."} 
[2026-08-21 19:23:03] local.INFO: Packet analysis {"connection_id":159564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:23:03] local.INFO: Extracted packet for processing {"connection_id":159564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:23:03] local.INFO: GPS Element Parsed {"raw_longitude":765346048,"raw_latitude":89785536,"longitude_deg":76.5346048,"latitude_deg":8.9785536,"altitude":9,"angle":352,"satellites":42,"speed":4,"hex_longitude":"2d9e4100","hex_latitude":"055a04c0","is_valid_coordinates":true} 
[2026-08-21 19:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553987072001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388598947200892928,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844269414400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320283000,"timestamp_ms":1787320283000,"timestamp_seconds":1787320283,"priority":1,"record_length":96,"hex_timestamp":"000001a024972f78"} 
[2026-08-21 19:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 19:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553987072001,"66":27267,"117":206,"84":7168,"24":4,"16":388598947200892928,"45":-7043066844269414400},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553987072001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:23:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:23:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388598947200892928,"km_value":388598947200892.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844269414400,"description":"Unknown IO ID 45"} 
[2026-08-21 19:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553987072001,"power":27267,"unknown_117":206,"unknown_84":7168,"ignition":4,"odometer":null,"unknown_45":-7043066844269414400}} 
[2026-08-21 19:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":159564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:23:03] local.INFO: GPS data processed {"connection_id":159564,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:23:03] local.INFO: Acknowledgment sent {"connection_id":159564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:23:05] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:23:05] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:23:05] local.INFO: IMEI packet received {"connection_id":161856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":161856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:23:06] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024970098012d19d8c0072026c00030005b2c..."} 
[2026-08-21 19:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024970098012d19d8c0072026c00030005b2c..."} 
[2026-08-21 19:23:06] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024970098012d19d8c0072026c00030005b2c..."} 
[2026-08-21 19:23:06] local.INFO: Packet analysis {"connection_id":161856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:23:06] local.INFO: Extracted packet for processing {"connection_id":161856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756668608,"raw_latitude":119547584,"longitude_deg":75.6668608,"latitude_deg":11.9547584,"altitude":48,"angle":91,"satellites":44,"speed":17,"hex_longitude":"2d19d8c0","hex_latitude":"072026c0","is_valid_coordinates":true} 
[2026-08-21 19:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553988864001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14320357267734528,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861534789080088576,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787320271000,"timestamp_ms":1787320271000,"timestamp_seconds":1787320271,"priority":1,"record_length":96,"hex_timestamp":"000001a024970098"} 
[2026-08-21 19:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:23: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-08-21 19:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526624,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2529558529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275780711,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":466974,"corrected_to":0} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407160,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3759931392,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3873087844999233492,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917045463010899,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:06] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,224,160,244,45,64,38,48,42,10,66,209,31,43,205,128,1,240,181,227,36,32,4,113,5,194,204,56,40,239,52,2,50,7,44,9,25,53,164],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":204,"original":466974,"validated":0}]} 
[2026-08-21 19:23:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458847170467069952,"timestamp_seconds":3458847170467070.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553988864001,"66":12993,"103":206,"83":41984,"24":17,"16":14320357267734528,"45":1861534789080088576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-08-21 19:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553988864001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:23:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-08-21 19:23:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14320357267734528,"km_value":14320357267734.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861534789080088576,"description":"Unknown IO ID 45"} 
[2026-08-21 19:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553988864001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861534789080088576}} 
[2026-08-21 19:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":161856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:23:06] local.INFO: GPS data processed {"connection_id":161856,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:23:06] local.INFO: Acknowledgment sent {"connection_id":161856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:23:33] local.INFO: TCP Data received {"connection_id":160458,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024982978012d85b50005c50d28000e007326..."} 
[2026-08-21 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024982978012d85b50005c50d28000e007326..."} 
[2026-08-21 19:23:33] local.INFO: Processing buffer {"connection_id":160458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024982978012d85b50005c50d28000e007326..."} 
[2026-08-21 19:23:33] local.INFO: Packet analysis {"connection_id":160458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:23:33] local.INFO: Extracted packet for processing {"connection_id":160458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763737344,"raw_latitude":96800040,"longitude_deg":76.3737344,"latitude_deg":9.680004,"altitude":14,"angle":115,"satellites":38,"speed":23,"hex_longitude":"2d85b500","hex_latitude":"05c50d28","is_valid_coordinates":true} 
[2026-08-21 19:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554006016001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121953732354113536,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8820299845423630336,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787320347000,"timestamp_ms":1787320347000,"timestamp_seconds":1787320347,"priority":1,"record_length":96,"hex_timestamp":"000001a024982978"} 
[2026-08-21 19:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:23: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-08-21 19:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160458,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554006016001,"66":12200,"216":206,"85":12288,"24":23,"16":121953732354113536,"45":-8820299845423630336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554006016001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:23:33] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121953732354113536,"km_value":121953732354113.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8820299845423630336,"description":"Unknown IO ID 45"} 
[2026-08-21 19:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554006016001,"power":12200,"unknown_216":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-8820299845423630336}} 
[2026-08-21 19:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":160458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677480,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:23:33] local.INFO: GPS data processed {"connection_id":160458,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:23:33] local.INFO: Acknowledgment sent {"connection_id":160458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:23:35] local.INFO: TCP Data received {"connection_id":159564,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024978180012d9e4080055a1748000a01642d..."} 
[2026-08-21 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024978180012d9e4080055a1748000a01642d..."} 
[2026-08-21 19:23:35] local.INFO: Processing buffer {"connection_id":159564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024978180012d9e4080055a1748000a01642d..."} 
[2026-08-21 19:23:35] local.INFO: Packet analysis {"connection_id":159564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:23:35] local.INFO: Extracted packet for processing {"connection_id":159564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":765345920,"raw_latitude":89790280,"longitude_deg":76.534592,"latitude_deg":8.979028,"altitude":10,"angle":356,"satellites":45,"speed":10,"hex_longitude":"2d9e4080","hex_latitude":"055a1748","is_valid_coordinates":true} 
[2026-08-21 19:23:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553992448001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388599179129126912,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043348319245647872,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787320304000,"timestamp_ms":1787320304000,"timestamp_seconds":1787320304,"priority":1,"record_length":96,"hex_timestamp":"000001a024978180"} 
[2026-08-21 19:23:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:23: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-08-21 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 19:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:23:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:23:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:23:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553992448001,"66":27267,"117":206,"84":7168,"24":10,"16":388599179129126912,"45":-7043348319245647872},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553992448001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:23:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:23:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388599179129126912,"km_value":388599179129126.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:23:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043348319245647872,"description":"Unknown IO ID 45"} 
[2026-08-21 19:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553992448001,"power":27267,"unknown_117":206,"unknown_84":7168,"ignition":10,"odometer":null,"unknown_45":-7043348319245647872}} 
[2026-08-21 19:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":159564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:23:35] local.INFO: GPS data processed {"connection_id":159564,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:23:35] local.INFO: Acknowledgment sent {"connection_id":159564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:23:37] local.INFO: TCP Data received {"connection_id":161856,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024986fc8012d1a8280072032f8004400ac29..."} 
[2026-08-21 19:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024986fc8012d1a8280072032f8004400ac29..."} 
[2026-08-21 19:23:37] local.INFO: Processing buffer {"connection_id":161856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024986fc8012d1a8280072032f8004400ac29..."} 
[2026-08-21 19:23:37] local.INFO: Packet analysis {"connection_id":161856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:23:37] local.INFO: Extracted packet for processing {"connection_id":161856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756712064,"raw_latitude":119550712,"longitude_deg":75.6712064,"latitude_deg":11.9550712,"altitude":68,"angle":172,"satellites":41,"speed":17,"hex_longitude":"2d1a8280","hex_latitude":"072032f8","is_valid_coordinates":true} 
[2026-08-21 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554013184001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14322852643733504,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910089222563608576,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787320365000,"timestamp_ms":1787320365000,"timestamp_seconds":1787320365,"priority":1,"record_length":96,"hex_timestamp":"000001a024986fc8"} 
[2026-08-21 19:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 19:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554013184001,"66":13156,"101":206,"83":41984,"24":17,"16":14322852643733504,"45":1910089222563608576},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554013184001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:23:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:23:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14322852643733504,"km_value":14322852643733.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910089222563608576,"description":"Unknown IO ID 45"} 
[2026-08-21 19:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554013184001,"power":13156,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1910089222563608576}} 
[2026-08-21 19:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":161856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:23:37] local.INFO: GPS data processed {"connection_id":161856,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:23:37] local.INFO: Acknowledgment sent {"connection_id":161856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:23:53] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:53] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:53] local.INFO: IMEI packet received {"connection_id":159565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":159565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:23:56] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:56] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:56] local.INFO: IMEI packet received {"connection_id":159565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":159565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:23:58] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:58] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:23:58] local.INFO: IMEI packet received {"connection_id":159565,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":159565,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:23:59] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249873b0012d85d5c005c4fbf0000b007526..."} 
[2026-08-21 19:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249873b0012d85d5c005c4fbf0000b007526..."} 
[2026-08-21 19:23:59] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249873b0012d85d5c005c4fbf0000b007526..."} 
[2026-08-21 19:23:59] local.INFO: Packet analysis {"connection_id":159565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:23:59] local.INFO: Extracted packet for processing {"connection_id":159565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763745728,"raw_latitude":96795632,"longitude_deg":76.3745728,"latitude_deg":9.6795632,"altitude":11,"angle":117,"satellites":38,"speed":29,"hex_longitude":"2d85d5c0","hex_latitude":"05c4fbf0","is_valid_coordinates":true} 
[2026-08-21 19:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554008832001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121954187620646912,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8812137071099697152,"note":"Value kept but may cause issues"} 
[2026-08-21 19:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320366000,"timestamp_ms":1787320366000,"timestamp_seconds":1787320366,"priority":1,"record_length":96,"hex_timestamp":"000001a0249873b0"} 
[2026-08-21 19:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:23: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-08-21 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 19:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554008832001,"66":12298,"216":206,"85":12288,"24":29,"16":121954187620646912,"45":-8812137071099697152},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554008832001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:23:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:23:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121954187620646912,"km_value":121954187620646.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8812137071099697152,"description":"Unknown IO ID 45"} 
[2026-08-21 19:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554008832001,"power":12298,"unknown_216":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-8812137071099697152}} 
[2026-08-21 19:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":159565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:23:59] local.INFO: GPS data processed {"connection_id":159565,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:23:59] local.INFO: Acknowledgment sent {"connection_id":159565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:24:00] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:00] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:00] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:24:01] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:01] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:01] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:24:02] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:02] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:02] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:24:04] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:04] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:04] local.INFO: IMEI packet received {"connection_id":161857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":161857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:24:05] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:05] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:05] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:24:05] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:05] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:24:05] local.INFO: IMEI packet received {"connection_id":161858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":161858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:24:06] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024988350012d1a834007202b90004300bb2a..."} 
[2026-08-21 19:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024988350012d1a834007202b90004300bb2a..."} 
[2026-08-21 19:24:06] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024988350012d1a834007202b90004300bb2a..."} 
[2026-08-21 19:24:06] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:06] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756712256,"raw_latitude":119548816,"longitude_deg":75.6712256,"latitude_deg":11.9548816,"altitude":67,"angle":187,"satellites":42,"speed":11,"hex_longitude":"2d1a8340","hex_latitude":"07202b90","is_valid_coordinates":true} 
[2026-08-21 19:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554013440001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14322947133014016,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910229960051849216,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787320370000,"timestamp_ms":1787320370000,"timestamp_seconds":1787320370,"priority":1,"record_length":96,"hex_timestamp":"000001a024988350"} 
[2026-08-21 19:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:24: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-08-21 19: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-08-21 19:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554013440001,"66":13015,"101":206,"83":41984,"24":11,"16":14322947133014016,"45":1910229960051849216},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554013440001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:24:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14322947133014016,"km_value":14322947133014.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910229960051849216,"description":"Unknown IO ID 45"} 
[2026-08-21 19:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554013440001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1910229960051849216}} 
[2026-08-21 19:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:24:06] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:24:06] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:24:10] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02497d388012d9e4040055a2ae0000900012d..."} 
[2026-08-21 19:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02497d388012d9e4040055a2ae0000900012d..."} 
[2026-08-21 19:24:10] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02497d388012d9e4040055a2ae0000900012d..."} 
[2026-08-21 19:24:10] local.INFO: Packet analysis {"connection_id":161857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:24:10] local.INFO: Extracted packet for processing {"connection_id":161857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02497"} 
[2026-08-21 19:24:10] local.INFO: GPS Element Parsed {"raw_longitude":765345856,"raw_latitude":89795296,"longitude_deg":76.5345856,"latitude_deg":8.9795296,"altitude":9,"angle":1,"satellites":45,"speed":12,"hex_longitude":"2d9e4040","hex_latitude":"055a2ae0","is_valid_coordinates":true} 
[2026-08-21 19:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457553997824001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388599423942262784,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043489056732788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787320325000,"timestamp_ms":1787320325000,"timestamp_seconds":1787320325,"priority":1,"record_length":96,"hex_timestamp":"000001a02497d388"} 
[2026-08-21 19:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 19:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":161857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457553997824001,"66":27397,"117":206,"84":7168,"24":12,"16":388599423942262784,"45":-7043489056732788736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457553997824001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:24:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:24:10] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388599423942262784,"km_value":388599423942262.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043489056732788736,"description":"Unknown IO ID 45"} 
[2026-08-21 19:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457553997824001,"power":27397,"unknown_117":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-7043489056732788736}} 
[2026-08-21 19:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":161857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:24:10] local.INFO: GPS data processed {"connection_id":161857,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:24:10] local.INFO: Acknowledgment sent {"connection_id":161857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:24:11] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024988738012d1a830007202a98004300c62a..."} 
[2026-08-21 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024988738012d1a830007202a98004300c62a..."} 
[2026-08-21 19:24:11] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024988738012d1a830007202a98004300c62a..."} 
[2026-08-21 19:24:11] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:11] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756712192,"raw_latitude":119548568,"longitude_deg":75.6712192,"latitude_deg":11.9548568,"altitude":67,"angle":198,"satellites":42,"speed":9,"hex_longitude":"2d1a8300","hex_latitude":"07202a98","is_valid_coordinates":true} 
[2026-08-21 19:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554014720001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14322960017915904,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910441066283896832,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787320371000,"timestamp_ms":1787320371000,"timestamp_seconds":1787320371,"priority":1,"record_length":96,"hex_timestamp":"000001a024988738"} 
[2026-08-21 19:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 19:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554014720001,"66":13015,"101":206,"83":41984,"24":9,"16":14322960017915904,"45":1910441066283896832},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554014720001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:24:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:24:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14322960017915904,"km_value":14322960017915.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910441066283896832,"description":"Unknown IO ID 45"} 
[2026-08-21 19:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554014720001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1910441066283896832}} 
[2026-08-21 19:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:24:11] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:24:11] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:24:32] local.INFO: TCP Data received {"connection_id":159565,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02498a678012d85f6c005c4ea000009007f27..."} 
[2026-08-21 19:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02498a678012d85f6c005c4ea000009007f27..."} 
[2026-08-21 19:24:32] local.INFO: Processing buffer {"connection_id":159565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02498a678012d85f6c005c4ea000009007f27..."} 
[2026-08-21 19:24:32] local.INFO: Packet analysis {"connection_id":159565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:32] local.INFO: Extracted packet for processing {"connection_id":159565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763754176,"raw_latitude":96791040,"longitude_deg":76.3754176,"latitude_deg":9.679104,"altitude":9,"angle":127,"satellites":39,"speed":29,"hex_longitude":"2d85f6c0","hex_latitude":"05c4ea00","is_valid_coordinates":true} 
[2026-08-21 19:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554013696001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121954651477114880,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8802918765613551616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787320379000,"timestamp_ms":1787320379000,"timestamp_seconds":1787320379,"priority":1,"record_length":96,"hex_timestamp":"000001a02498a678"} 
[2026-08-21 19:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:24: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-08-21 19:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":415792622830420069,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902485484032,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2636585349638096143,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2238464005,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":38,"raw_value":8162774325264388,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":66,"raw_value":-4251398048237748223,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2542614529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2600468480,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2799108302,"corrected_to":0} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3221603623,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3308015616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,216,85,24,241,157,16,68,160,41,45,13,14,38,10,66,254,23,12,36,67,188,192,1,240,191,227,197,4,113,205,31,98,74,120,40,239,47,215,2,177,5],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2799108302,"validated":0}]} 
[2026-08-21 19:24:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792762340488314880,"timestamp_seconds":792762340488314.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159565,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554013696001,"66":12189,"216":206,"85":12288,"24":29,"16":121954651477114880,"45":-8802918765613551616},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554013696001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:24:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121954651477114880,"km_value":121954651477114.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8802918765613551616,"description":"Unknown IO ID 45"} 
[2026-08-21 19:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554013696001,"power":12189,"unknown_216":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-8802918765613551616}} 
[2026-08-21 19:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":159565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677487,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:24:32] local.INFO: GPS data processed {"connection_id":159565,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:24:32] local.INFO: Acknowledgment sent {"connection_id":159565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:24:41] local.INFO: TCP Data received {"connection_id":161857,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024982590012d9e4180055a3c60000700032a..."} 
[2026-08-21 19:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024982590012d9e4180055a3c60000700032a..."} 
[2026-08-21 19:24:41] local.INFO: Processing buffer {"connection_id":161857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024982590012d9e4180055a3c60000700032a..."} 
[2026-08-21 19:24:41] local.INFO: Packet analysis {"connection_id":161857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:41] local.INFO: Extracted packet for processing {"connection_id":161857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:24:41] local.INFO: GPS Element Parsed {"raw_longitude":765346176,"raw_latitude":89799776,"longitude_deg":76.5346176,"latitude_deg":8.9799776,"altitude":7,"angle":3,"satellites":42,"speed":11,"hex_longitude":"2d9e4180","hex_latitude":"055a3c60","is_valid_coordinates":true} 
[2026-08-21 19:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554003200001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388599642985594880,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043559425475682304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787320346000,"timestamp_ms":1787320346000,"timestamp_seconds":1787320346,"priority":1,"record_length":96,"hex_timestamp":"000001a024982590"} 
[2026-08-21 19:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 19:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:24:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554003200001,"66":27343,"117":206,"84":7168,"24":11,"16":388599642985594880,"45":-7043559425475682304},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554003200001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:24:41] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:24:41] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388599642985594880,"km_value":388599642985594.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043559425475682304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554003200001,"power":27343,"unknown_117":206,"unknown_84":7168,"ignition":11,"odometer":null,"unknown_45":-7043559425475682304}} 
[2026-08-21 19:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":161857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:24:41] local.INFO: GPS data processed {"connection_id":161857,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:24:41] local.INFO: Acknowledgment sent {"connection_id":161857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:24:42] local.INFO: TCP Data received {"connection_id":161858,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024998138012d1a8280072032e8004101602f..."} 
[2026-08-21 19:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024998138012d1a8280072032e8004101602f..."} 
[2026-08-21 19:24:42] local.INFO: Processing buffer {"connection_id":161858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024998138012d1a8280072032e8004101602f..."} 
[2026-08-21 19:24:42] local.INFO: Packet analysis {"connection_id":161858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:24:42] local.INFO: Extracted packet for processing {"connection_id":161858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756712064,"raw_latitude":119550696,"longitude_deg":75.6712064,"latitude_deg":11.9550696,"altitude":65,"angle":352,"satellites":47,"speed":2,"hex_longitude":"2d1a8280","hex_latitude":"072032e8","is_valid_coordinates":true} 
[2026-08-21 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554031104001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14323161881378816,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910229960051828736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787320435000,"timestamp_ms":1787320435000,"timestamp_seconds":1787320435,"priority":1,"record_length":96,"hex_timestamp":"000001a024998138"} 
[2026-08-21 19:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2571286529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2828260849464388608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":62,"raw_value":3489738010,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3803840512,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":57834745426236324,"corrected_to":0} 
[2026-08-21 19:24:42] local.WARNING: Large IO value detected {"io_id":153,"raw_value":22519291366817799,"note":"Value kept but may cause issues"} 
[2026-08-21 19:24:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,226,160,113,45,128,49,65,10,66,105,192,48,44,86,1,240,9,227,36,32,4,205,3,62,131,248,41,239,2,50,7,203,153],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":203,"original":57834745426236324,"validated":0}]} 
[2026-08-21 19:24:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684115449259032576,"timestamp_seconds":4684115449259033.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554031104001,"66":13319,"101":206,"83":41984,"24":2,"16":14323161881378816,"45":1910229960051828736},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554031104001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:24:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:24:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14323161881378816,"km_value":14323161881378.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910229960051828736,"description":"Unknown IO ID 45"} 
[2026-08-21 19:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554031104001,"power":13319,"unknown_101":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1910229960051828736}} 
[2026-08-21 19:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":161858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:24:42] local.INFO: GPS data processed {"connection_id":161858,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:24:42] local.INFO: Acknowledgment sent {"connection_id":161858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:24:57] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:57] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:24:57] local.INFO: IMEI packet received {"connection_id":159566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":159566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:24:58] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:24:58] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:24:58] local.INFO: IMEI packet received {"connection_id":159275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":159275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:24:59] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:24:59] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:24:59] local.INFO: IMEI packet received {"connection_id":159275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":159275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:25:00] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a02498ba00012d86030005c4e2700009007327..."} 
[2026-08-21 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02498ba00012d86030005c4e2700009007327..."} 
[2026-08-21 19:25:00] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02498ba00012d86030005c4e2700009007327..."} 
[2026-08-21 19:25:00] local.INFO: Packet analysis {"connection_id":159275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:25:00] local.INFO: Extracted packet for processing {"connection_id":159275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:25:00] local.INFO: GPS Element Parsed {"raw_longitude":763757312,"raw_latitude":96789104,"longitude_deg":76.3757312,"latitude_deg":9.6789104,"altitude":9,"angle":115,"satellites":39,"speed":28,"hex_longitude":"2d860300","hex_latitude":"05c4e270","is_valid_coordinates":true} 
[2026-08-21 19:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554017024001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121954827570774016,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8793630091383275520,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787320384000,"timestamp_ms":1787320384000,"timestamp_seconds":1787320384,"priority":1,"record_length":96,"hex_timestamp":"000001a02498ba00"} 
[2026-08-21 19:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25: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-08-21 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554017024001,"66":12058,"216":206,"85":12288,"24":28,"16":121954827570774016,"45":-8793630091383275520},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554017024001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121954827570774016,"km_value":121954827570774.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8793630091383275520,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554017024001,"power":12058,"unknown_216":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":-8793630091383275520}} 
[2026-08-21 19:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":159275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:00] local.INFO: GPS data processed {"connection_id":159275,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:00] local.INFO: Acknowledgment sent {"connection_id":159275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:02] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:25:02] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:25:02] local.INFO: IMEI packet received {"connection_id":159566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":159566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:25:03] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0249867f8012d9e4440055a5f88000700032d..."} 
[2026-08-21 19:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249867f8012d9e4440055a5f88000700032d..."} 
[2026-08-21 19:25:03] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249867f8012d9e4440055a5f88000700032d..."} 
[2026-08-21 19:25:03] local.INFO: Packet analysis {"connection_id":159566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:25:03] local.INFO: Extracted packet for processing {"connection_id":159566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":765346880,"raw_latitude":89808776,"longitude_deg":76.534688,"latitude_deg":8.9808776,"altitude":7,"angle":3,"satellites":45,"speed":25,"hex_longitude":"2d9e4440","hex_latitude":"055a5f88","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554008576001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388600081072259072,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043207581753647104,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320363000,"timestamp_ms":1787320363000,"timestamp_seconds":1787320363,"priority":1,"record_length":96,"hex_timestamp":"000001a0249867f8"} 
[2026-08-21 19:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554008576001,"66":27180,"117":206,"84":7168,"24":25,"16":388600081072259072,"45":-7043207581753647104},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554008576001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:25:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388600081072259072,"km_value":388600081072259.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043207581753647104,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554008576001,"power":27180,"unknown_117":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-7043207581753647104}} 
[2026-08-21 19:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":159566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:03] local.INFO: GPS data processed {"connection_id":159566,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:03] local.INFO: Acknowledgment sent {"connection_id":159566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:04] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024990c08012d861a8005c4d8800008007725..."} 
[2026-08-21 19:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024990c08012d861a8005c4d8800008007725..."} 
[2026-08-21 19:25:04] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024990c08012d861a8005c4d8800008007725..."} 
[2026-08-21 19:25:04] local.INFO: Packet analysis {"connection_id":159275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:04] local.INFO: Extracted packet for processing {"connection_id":159275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:04] local.INFO: GPS Element Parsed {"raw_longitude":763763328,"raw_latitude":96786560,"longitude_deg":76.3763328,"latitude_deg":9.678656,"altitude":8,"angle":119,"satellites":37,"speed":0,"hex_longitude":"2d861a80","hex_latitude":"05c4d880","is_valid_coordinates":true} 
[2026-08-21 19:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554018304001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121955141103386624,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8790182022919065600,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25: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-08-21 19:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787320405000,"timestamp_ms":1787320405000,"timestamp_seconds":1787320405,"priority":1,"record_length":96,"hex_timestamp":"000001a024990c08"} 
[2026-08-21 19:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:25:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:25:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554018304001,"66":12232,"216":206,"85":12288,"24":0,"16":121955141103386624,"45":-8790182022919065600},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554018304001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:04] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:25:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121955141103386624,"km_value":121955141103386.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8790182022919065600,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554018304001,"power":12232,"unknown_216":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-8790182022919065600}} 
[2026-08-21 19:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":159275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:04] local.INFO: GPS data processed {"connection_id":159275,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:04] local.INFO: Acknowledgment sent {"connection_id":159275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:06] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:06] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:06] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:25:10] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:10] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:10] local.INFO: IMEI packet received {"connection_id":160459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":160459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:25:11] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024998cf0012d1a8280072034c8004100042f..."} 
[2026-08-21 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024998cf0012d1a8280072034c8004100042f..."} 
[2026-08-21 19:25:11] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024998cf0012d1a8280072034c8004100042f..."} 
[2026-08-21 19:25:11] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:11] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756712064,"raw_latitude":119551176,"longitude_deg":75.6712064,"latitude_deg":11.9551176,"altitude":65,"angle":4,"satellites":47,"speed":9,"hex_longitude":"2d1a8280","hex_latitude":"072034c8","is_valid_coordinates":true} 
[2026-08-21 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554031360001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14323183356215296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910229960051845120,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787320438000,"timestamp_ms":1787320438000,"timestamp_seconds":1787320438,"priority":1,"record_length":96,"hex_timestamp":"000001a024998cf0"} 
[2026-08-21 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3803906048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2572566529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2877800445379685376,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":178,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":153,"raw_value":1429894174920081415,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,226,160,125,45,128,50,65,47,10,66,113,49,105,192,1,240,215,227,36,32,4,205,7,131,88,42,239,2,178,153],"length":527,"final_offset":657,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-21 19:25:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4684130842421886976,"timestamp_seconds":4684130842421887.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554031360001,"66":13363,"101":206,"83":41984,"24":9,"16":14323183356215296,"45":1910229960051845120},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554031360001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14323183356215296,"km_value":14323183356215.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910229960051845120,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554031360001,"power":13363,"unknown_101":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1910229960051845120}} 
[2026-08-21 19:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:11] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:11] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:11] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249990d8012d1a82c0072035a0004100122f..."} 
[2026-08-21 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249990d8012d1a82c0072035a0004100122f..."} 
[2026-08-21 19:25:11] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249990d8012d1a82c0072035a0004100122f..."} 
[2026-08-21 19:25:11] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:11] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":756712128,"raw_latitude":119551392,"longitude_deg":75.6712128,"latitude_deg":11.9551392,"altitude":65,"angle":18,"satellites":47,"speed":8,"hex_longitude":"2d1a82c0","hex_latitude":"072035a0","is_valid_coordinates":true} 
[2026-08-21 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554032128001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14323196241117184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910229960051968000,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787320439000,"timestamp_ms":1787320439000,"timestamp_seconds":1787320439,"priority":1,"record_length":96,"hex_timestamp":"000001a0249990d8"} 
[2026-08-21 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554032128001,"66":13363,"101":206,"83":41984,"24":8,"16":14323196241117184,"45":1910229960051968000},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554032128001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14323196241117184,"km_value":14323196241117.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910229960051968000,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554032128001,"power":13363,"unknown_101":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1910229960051968000}} 
[2026-08-21 19:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:12] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:12] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:33] local.INFO: TCP Data received {"connection_id":159566,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a02498a290012d9e4700055a82600007000b2e..."} 
[2026-08-21 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02498a290012d9e4700055a82600007000b2e..."} 
[2026-08-21 19:25:33] local.INFO: Processing buffer {"connection_id":159566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02498a290012d9e4700055a82600007000b2e..."} 
[2026-08-21 19:25:33] local.INFO: Packet analysis {"connection_id":159566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:25:33] local.INFO: Extracted packet for processing {"connection_id":159566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765347584,"raw_latitude":89817696,"longitude_deg":76.5347584,"latitude_deg":8.9817696,"altitude":7,"angle":11,"satellites":46,"speed":20,"hex_longitude":"2d9e4700","hex_latitude":"055a8260","is_valid_coordinates":true} 
[2026-08-21 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554012928001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388600514863955968,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042433525565388800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787320378000,"timestamp_ms":1787320378000,"timestamp_seconds":1787320378,"priority":1,"record_length":96,"hex_timestamp":"000001a02498a290"} 
[2026-08-21 19:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554012928001,"66":27300,"117":206,"84":7168,"24":20,"16":388600514863955968,"45":-7042433525565388800},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554012928001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:25:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388600514863955968,"km_value":388600514863955.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042433525565388800,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554012928001,"power":27300,"unknown_117":206,"unknown_84":7168,"ignition":20,"odometer":null,"unknown_45":-7042433525565388800}} 
[2026-08-21 19:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":159566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:33] local.INFO: GPS data processed {"connection_id":159566,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:33] local.INFO: Acknowledgment sent {"connection_id":159566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:35] local.INFO: TCP Data received {"connection_id":159275,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024995e10012d86364005c4c8680008007627..."} 
[2026-08-21 19:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024995e10012d86364005c4c8680008007627..."} 
[2026-08-21 19:25:35] local.INFO: Processing buffer {"connection_id":159275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024995e10012d86364005c4c8680008007627..."} 
[2026-08-21 19:25:35] local.INFO: Packet analysis {"connection_id":159275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:35] local.INFO: Extracted packet for processing {"connection_id":159275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":763770432,"raw_latitude":96782440,"longitude_deg":76.3770432,"latitude_deg":9.678244,"altitude":8,"angle":118,"satellites":39,"speed":24,"hex_longitude":"2d863640","hex_latitude":"05c4c868","is_valid_coordinates":true} 
[2026-08-21 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554023680001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121955536240377856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8783567360967016448,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25: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-08-21 19:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787320426000,"timestamp_ms":1787320426000,"timestamp_seconds":1787320426,"priority":1,"record_length":96,"hex_timestamp":"000001a024995e10"} 
[2026-08-21 19:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:25:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:25:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554023680001,"66":12156,"216":206,"85":12288,"24":24,"16":121955536240377856,"45":-8783567360967016448},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554023680001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:25:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121955536240377856,"km_value":121955536240377.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8783567360967016448,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554023680001,"power":12156,"unknown_216":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-8783567360967016448}} 
[2026-08-21 19:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":159275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:35] local.INFO: GPS data processed {"connection_id":159275,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:35] local.INFO: Acknowledgment sent {"connection_id":159275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:43] local.INFO: TCP Data received {"connection_id":160459,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a02499c788012d1a880007204460004100012e..."} 
[2026-08-21 19:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02499c788012d1a880007204460004100012e..."} 
[2026-08-21 19:25:43] local.INFO: Processing buffer {"connection_id":160459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02499c788012d1a880007204460004100012e..."} 
[2026-08-21 19:25:43] local.INFO: Packet analysis {"connection_id":160459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:43] local.INFO: Extracted packet for processing {"connection_id":160459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756713472,"raw_latitude":119555168,"longitude_deg":75.6713472,"latitude_deg":11.9555168,"altitude":65,"angle":1,"satellites":46,"speed":10,"hex_longitude":"2d1a8800","hex_latitude":"07204460","is_valid_coordinates":true} 
[2026-08-21 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554032384001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14323393809612800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910300328796200960,"note":"Value kept but may cause issues"} 
[2026-08-21 19:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787320453000,"timestamp_ms":1787320453000,"timestamp_seconds":1787320453,"priority":1,"record_length":96,"hex_timestamp":"000001a02499c788"} 
[2026-08-21 19:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-08-21 19:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554032384001,"66":12776,"101":206,"83":41984,"24":10,"16":14323393809612800,"45":1910300328796200960},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554032384001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:25:43] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:25:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14323393809612800,"km_value":14323393809612.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910300328796200960,"description":"Unknown IO ID 45"} 
[2026-08-21 19:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554032384001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1910300328796200960}} 
[2026-08-21 19:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":160459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:25:43] local.INFO: GPS data processed {"connection_id":160459,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:25:43] local.INFO: Acknowledgment sent {"connection_id":160459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:25:53] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:25:53] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:25:53] local.INFO: IMEI packet received {"connection_id":161859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":161859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:25:57] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:25:57] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:25:57] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:25:58] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:58] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:25:58] local.INFO: IMEI packet received {"connection_id":159567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":159567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:25:58] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:25:58] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:25:58] local.INFO: IMEI packet received {"connection_id":161859,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":161859,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:26:00] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249b2b00012d87280005c468e80009004b24..."} 
[2026-08-21 19:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249b2b00012d87280005c468e80009004b24..."} 
[2026-08-21 19:26:00] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249b2b00012d87280005c468e80009004b24..."} 
[2026-08-21 19:26:00] local.INFO: Packet analysis {"connection_id":161859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:26:00] local.INFO: Extracted packet for processing {"connection_id":161859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:26:00] local.INFO: GPS Element Parsed {"raw_longitude":763832320,"raw_latitude":96757992,"longitude_deg":76.383232,"latitude_deg":9.6757992,"altitude":9,"angle":75,"satellites":36,"speed":20,"hex_longitude":"2d872800","hex_latitude":"05c468e8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554059008001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121958753170882560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8708202435960074240,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787320544000,"timestamp_ms":1787320544000,"timestamp_seconds":1787320544,"priority":1,"record_length":96,"hex_timestamp":"000001a0249b2b00"} 
[2026-08-21 19:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:26: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-08-21 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554059008001,"66":12200,"216":206,"85":12288,"24":20,"16":121958753170882560,"45":-8708202435960074240},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554059008001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:26:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121958753170882560,"km_value":121958753170882.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8708202435960074240,"description":"Unknown IO ID 45"} 
[2026-08-21 19:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554059008001,"power":12200,"unknown_216":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-8708202435960074240}} 
[2026-08-21 19:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":161859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:26:00] local.INFO: GPS data processed {"connection_id":161859,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:26:00] local.INFO: Acknowledgment sent {"connection_id":161859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:26:01] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:01] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:01] local.INFO: IMEI packet received {"connection_id":159567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":159567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:26:02] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:26:02] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:26:02] local.INFO: IMEI packet received {"connection_id":161860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":161860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:26:03] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02498b618012d9e4840055a8d18000701672e..."} 
[2026-08-21 19:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02498b618012d9e4840055a8d18000701672e..."} 
[2026-08-21 19:26:03] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02498b618012d9e4840055a8d18000701672e..."} 
[2026-08-21 19:26:03] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:26:03] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02498"} 
[2026-08-21 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":765347904,"raw_latitude":89820440,"longitude_deg":76.5347904,"latitude_deg":8.982044,"altitude":7,"angle":359,"satellites":46,"speed":23,"hex_longitude":"2d9e4840","hex_latitude":"055a8d18","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554016768001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388600652302909440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041659469377150976,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320383000,"timestamp_ms":1787320383000,"timestamp_seconds":1787320383,"priority":1,"record_length":96,"hex_timestamp":"000001a02498b618"} 
[2026-08-21 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-08-21 19:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 19:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554016768001,"66":27484,"117":206,"84":7168,"24":23,"16":388600652302909440,"45":-7041659469377150976},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,84,24,16,45]} 
[2026-08-21 19:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554016768001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:26:03] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-08-21 19:26:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388600652302909440,"km_value":388600652302909.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041659469377150976,"description":"Unknown IO ID 45"} 
[2026-08-21 19:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554016768001,"power":27484,"unknown_117":206,"unknown_84":7168,"ignition":23,"odometer":null,"unknown_45":-7041659469377150976}} 
[2026-08-21 19:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:26:03] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:26:03] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:26:06] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:06] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:06] local.INFO: IMEI packet received {"connection_id":159567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":159567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:26:07] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249a5fe0012d1a5040072046b8003a01022d..."} 
[2026-08-21 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249a5fe0012d1a5040072046b8003a01022d..."} 
[2026-08-21 19:26:07] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249a5fe0012d1a5040072046b8003a01022d..."} 
[2026-08-21 19:26:07] local.INFO: Packet analysis {"connection_id":159567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249a"} 
[2026-08-21 19:26:07] local.INFO: Extracted packet for processing {"connection_id":159567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249a"} 
[2026-08-21 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":756699200,"raw_latitude":119555768,"longitude_deg":75.66992,"latitude_deg":11.9555768,"altitude":58,"angle":258,"satellites":45,"speed":15,"hex_longitude":"2d1a5040","hex_latitude":"072046b8","is_valid_coordinates":true} 
[2026-08-21 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554044416001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14324106774183936,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899182067217451008,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320492000,"timestamp_ms":1787320492000,"timestamp_seconds":1787320492,"priority":1,"record_length":96,"hex_timestamp":"000001a0249a5fe0"} 
[2026-08-21 19:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751526627,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3471430930722193418,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2584854529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18632220978542693,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4160826650,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3810525184,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-8736975441888804800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-1729156339935949229,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755442390860017,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,227,160,52,45,128,75,62,42,10,66,41,192,44,25,1,240,199,36,32,4,113,205,15,222,131,72,239,51,2,50,7,64,26,49,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-08-21 19:26:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323725211604025344,"timestamp_seconds":4323725211604025.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554044416001,"66":13493,"101":206,"83":41984,"24":15,"16":14324106774183936,"45":1899182067217451008},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554044416001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14324106774183936,"km_value":14324106774183.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899182067217451008,"description":"Unknown IO ID 45"} 
[2026-08-21 19:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554044416001,"power":13493,"unknown_101":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1899182067217451008}} 
[2026-08-21 19:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":159567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:26:07] local.INFO: GPS data processed {"connection_id":159567,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:26:07] local.INFO: Acknowledgment sent {"connection_id":159567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:26:32] local.INFO: TCP Data received {"connection_id":161859,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249b32d0012d872c4005c46ab00009003c26..."} 
[2026-08-21 19:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249b32d0012d872c4005c46ab00009003c26..."} 
[2026-08-21 19:26:32] local.INFO: Processing buffer {"connection_id":161859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249b32d0012d872c4005c46ab00009003c26..."} 
[2026-08-21 19:26:32] local.INFO: Packet analysis {"connection_id":161859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:26:32] local.INFO: Extracted packet for processing {"connection_id":161859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:26:32] local.INFO: GPS Element Parsed {"raw_longitude":763833408,"raw_latitude":96758448,"longitude_deg":76.3833408,"latitude_deg":9.6758448,"altitude":9,"angle":60,"satellites":38,"speed":23,"hex_longitude":"2d872c40","hex_latitude":"05c46ab0","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554059264001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121958809005457408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8707709854750808064,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787320546000,"timestamp_ms":1787320546000,"timestamp_seconds":1787320546,"priority":1,"record_length":96,"hex_timestamp":"000001a0249b32d0"} 
[2026-08-21 19:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 19:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":161859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":161859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":161859,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554059264001,"66":12287,"216":206,"85":12288,"24":23,"16":121958809005457408,"45":-8707709854750808064},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554059264001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:26:32] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:26:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121958809005457408,"km_value":121958809005457.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8707709854750808064,"description":"Unknown IO ID 45"} 
[2026-08-21 19:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554059264001,"power":12287,"unknown_216":206,"unknown_85":12288,"ignition":23,"odometer":null,"unknown_45":-8707709854750808064}} 
[2026-08-21 19:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":161859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:26:32] local.INFO: GPS data processed {"connection_id":161859,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:26:32] local.INFO: Acknowledgment sent {"connection_id":161859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:26:34] local.INFO: TCP Data received {"connection_id":161860,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024990438012d9e45c0055aae38000701512d..."} 
[2026-08-21 19:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024990438012d9e45c0055aae38000701512d..."} 
[2026-08-21 19:26:34] local.INFO: Processing buffer {"connection_id":161860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024990438012d9e45c0055aae38000701512d..."} 
[2026-08-21 19:26:34] local.INFO: Packet analysis {"connection_id":161860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:26:34] local.INFO: Extracted packet for processing {"connection_id":161860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:26:34] local.INFO: GPS Element Parsed {"raw_longitude":765347264,"raw_latitude":89828920,"longitude_deg":76.5347264,"latitude_deg":8.982892,"altitude":7,"angle":337,"satellites":45,"speed":7,"hex_longitude":"2d9e45c0","hex_latitude":"055aae38","is_valid_coordinates":true} 
[2026-08-21 19:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554018048001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601064619769856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041307625655560192,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320403000,"timestamp_ms":1787320403000,"timestamp_seconds":1787320403,"priority":1,"record_length":96,"hex_timestamp":"000001a024990438"} 
[2026-08-21 19:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 19:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554018048001,"66":27376,"248":206,"84":7168,"24":7,"16":388601064619769856,"45":-7041307625655560192},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554018048001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:26:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601064619769856,"km_value":388601064619769.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041307625655560192,"description":"Unknown IO ID 45"} 
[2026-08-21 19:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554018048001,"power":27376,"tamper_alert":206,"unknown_84":7168,"ignition":7,"odometer":null,"unknown_45":-7041307625655560192}} 
[2026-08-21 19:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":161860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:26:34] local.INFO: GPS data processed {"connection_id":161860,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:26:34] local.INFO: Acknowledgment sent {"connection_id":161860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:26:38] local.INFO: TCP Data received {"connection_id":159567,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249a9e60012d1a35c0072042180039010e2d..."} 
[2026-08-21 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249a9e60012d1a35c0072042180039010e2d..."} 
[2026-08-21 19:26:38] local.INFO: Processing buffer {"connection_id":159567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249a9e60012d1a35c0072042180039010e2d..."} 
[2026-08-21 19:26:38] local.INFO: Packet analysis {"connection_id":159567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249a"} 
[2026-08-21 19:26:38] local.INFO: Extracted packet for processing {"connection_id":159567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249a"} 
[2026-08-21 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":756692416,"raw_latitude":119554584,"longitude_deg":75.6692416,"latitude_deg":11.9554584,"altitude":57,"angle":270,"satellites":45,"speed":19,"hex_longitude":"2d1a35c0","hex_latitude":"07204218","is_valid_coordinates":true} 
[2026-08-21 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554045952001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14324437486665728,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896085842473433088,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320508000,"timestamp_ms":1787320508000,"timestamp_seconds":1787320508,"priority":1,"record_length":96,"hex_timestamp":"000001a0249a9e60"} 
[2026-08-21 19:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:26:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-08-21 19:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:26:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554045952001,"66":13472,"101":206,"83":41984,"24":19,"16":14324437486665728,"45":1896085842473433088},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-08-21 19:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554045952001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:26:38] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-08-21 19:26:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14324437486665728,"km_value":14324437486665.729,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896085842473433088,"description":"Unknown IO ID 45"} 
[2026-08-21 19:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554045952001,"power":13472,"unknown_101":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1896085842473433088}} 
[2026-08-21 19:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":159567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:26:38] local.INFO: GPS data processed {"connection_id":159567,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:26:38] local.INFO: Acknowledgment sent {"connection_id":159567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:26:53] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:26:53] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:26:53] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:26:57] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:26:57] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:26:57] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:26:58] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:58] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:58] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:26:58] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:26:58] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:26:58] local.INFO: IMEI packet received {"connection_id":160460,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":160460,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:26:59] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:59] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:26:59] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:26:59] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249b5dc8012d87410005c47a60000a002e24..."} 
[2026-08-21 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249b5dc8012d87410005c47a60000a002e24..."} 
[2026-08-21 19:26:59] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249b5dc8012d87410005c47a60000a002e24..."} 
[2026-08-21 19:26:59] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:26:59] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763838720,"raw_latitude":96762464,"longitude_deg":76.383872,"latitude_deg":9.6762464,"altitude":10,"angle":46,"satellites":36,"speed":10,"hex_longitude":"2d874100","hex_latitude":"05c47a60","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554059776001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121959131128004608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8706513586099671040,"note":"Value kept but may cause issues"} 
[2026-08-21 19:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320557000,"timestamp_ms":1787320557000,"timestamp_seconds":1787320557,"priority":1,"record_length":96,"hex_timestamp":"000001a0249b5dc8"} 
[2026-08-21 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-08-21 19:26: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-08-21 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554059776001,"66":11895,"216":206,"85":12288,"24":10,"16":121959131128004608,"45":-8706513586099671040},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554059776001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:26:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121959131128004608,"km_value":121959131128004.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8706513586099671040,"description":"Unknown IO ID 45"} 
[2026-08-21 19:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554059776001,"power":11895,"unknown_216":206,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":-8706513586099671040}} 
[2026-08-21 19:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:26:59] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:26:59] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:27:00] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:27:00] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:27:00] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:27:02] local.INFO: TCP Data received {"connection_id":160462,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:27:02] local.INFO: Processing buffer {"connection_id":160462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:27:02] local.INFO: IMEI packet received {"connection_id":160462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":160462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:27:02] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:27:02] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:27:02] local.INFO: IMEI packet received {"connection_id":160461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":160461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:27:03] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024990ff0012d9e4500055ab000000701432d..."} 
[2026-08-21 19:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024990ff0012d9e4500055ab000000701432d..."} 
[2026-08-21 19:27:03] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024990ff0012d9e4500055ab000000701432d..."} 
[2026-08-21 19:27:03] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:27:03] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:27:03] local.INFO: GPS Element Parsed {"raw_longitude":765347072,"raw_latitude":89829376,"longitude_deg":76.5347072,"latitude_deg":8.9829376,"altitude":7,"angle":323,"satellites":45,"speed":6,"hex_longitude":"2d9e4500","hex_latitude":"055ab000","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554023168001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601090389573632,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042011313095165952,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320406000,"timestamp_ms":1787320406000,"timestamp_seconds":1787320406,"priority":1,"record_length":96,"hex_timestamp":"000001a024990ff0"} 
[2026-08-21 19:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 19:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554023168001,"66":27115,"248":206,"84":7168,"24":6,"16":388601090389573632,"45":-7042011313095165952},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554023168001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:27:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601090389573632,"km_value":388601090389573.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042011313095165952,"description":"Unknown IO ID 45"} 
[2026-08-21 19:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554023168001,"power":27115,"tamper_alert":206,"unknown_84":7168,"ignition":6,"odometer":null,"unknown_45":-7042011313095165952}} 
[2026-08-21 19:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:27:03] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:27:03] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:27:30] local.INFO: TCP Data received {"connection_id":160460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249b6598012d87428005c47b80000a003a25..."} 
[2026-08-21 19:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249b6598012d87428005c47b80000a003a25..."} 
[2026-08-21 19:27:30] local.INFO: Processing buffer {"connection_id":160460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249b6598012d87428005c47b80000a003a25..."} 
[2026-08-21 19:27:30] local.INFO: Packet analysis {"connection_id":160460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:27:30] local.INFO: Extracted packet for processing {"connection_id":160460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763839104,"raw_latitude":96762752,"longitude_deg":76.3839104,"latitude_deg":9.6762752,"altitude":10,"angle":58,"satellites":37,"speed":7,"hex_longitude":"2d874280","hex_latitude":"05c47b80","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554062592001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121959152602841088,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8700672980331896832,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787320559000,"timestamp_ms":1787320559000,"timestamp_seconds":1787320559,"priority":1,"record_length":96,"hex_timestamp":"000001a0249b6598"} 
[2026-08-21 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-08-21 19:27: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-08-21 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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 19:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160460,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554062592001,"66":12156,"216":206,"85":12288,"24":7,"16":121959152602841088,"45":-8700672980331896832},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554062592001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:27:30] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121959152602841088,"km_value":121959152602841.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8700672980331896832,"description":"Unknown IO ID 45"} 
[2026-08-21 19:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554062592001,"power":12156,"unknown_216":206,"unknown_85":12288,"ignition":7,"odometer":null,"unknown_45":-8700672980331896832}} 
[2026-08-21 19:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":160460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:27:30] local.INFO: GPS data processed {"connection_id":160460,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:27:30] local.INFO: Acknowledgment sent {"connection_id":160460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:27:34] local.INFO: TCP Data received {"connection_id":160461,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024991ba8012d9e43c0055ab1c0000701522d..."} 
[2026-08-21 19:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024991ba8012d9e43c0055ab1c0000701522d..."} 
[2026-08-21 19:27:34] local.INFO: Processing buffer {"connection_id":160461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024991ba8012d9e43c0055ab1c0000701522d..."} 
[2026-08-21 19:27:34] local.INFO: Packet analysis {"connection_id":160461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:27:34] local.INFO: Extracted packet for processing {"connection_id":160461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:27:34] local.INFO: GPS Element Parsed {"raw_longitude":765346752,"raw_latitude":89829824,"longitude_deg":76.5346752,"latitude_deg":8.9829824,"altitude":7,"angle":338,"satellites":45,"speed":7,"hex_longitude":"2d9e43c0","hex_latitude":"055ab1c0","is_valid_coordinates":true} 
[2026-08-21 19:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554023936001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601116159377408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042222419327582208,"note":"Value kept but may cause issues"} 
[2026-08-21 19:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320409000,"timestamp_ms":1787320409000,"timestamp_seconds":1787320409,"priority":1,"record_length":96,"hex_timestamp":"000001a024991ba8"} 
[2026-08-21 19:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-21 19:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554023936001,"66":27767,"248":206,"84":7168,"24":7,"16":388601116159377408,"45":-7042222419327582208},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554023936001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:27:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601116159377408,"km_value":388601116159377.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042222419327582208,"description":"Unknown IO ID 45"} 
[2026-08-21 19:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554023936001,"power":27767,"tamper_alert":206,"unknown_84":7168,"ignition":7,"odometer":null,"unknown_45":-7042222419327582208}} 
[2026-08-21 19:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":160461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:27:34] local.INFO: GPS data processed {"connection_id":160461,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:27:34] local.INFO: Acknowledgment sent {"connection_id":160461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:27:54] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:27:54] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:27:54] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:27:57] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:27:57] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:27:57] local.INFO: IMEI packet received {"connection_id":159568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":159568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:28:00] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:00] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:00] local.INFO: IMEI packet received {"connection_id":161861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":161861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:28:01] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249b9478012d8754c005c489c80009002d25..."} 
[2026-08-21 19:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249b9478012d8754c005c489c80009002d25..."} 
[2026-08-21 19:28:01] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249b9478012d8754c005c489c80009002d25..."} 
[2026-08-21 19:28:01] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:28:01] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249b"} 
[2026-08-21 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":763843776,"raw_latitude":96766408,"longitude_deg":76.3843776,"latitude_deg":9.6766408,"altitude":9,"angle":45,"satellites":37,"speed":28,"hex_longitude":"2d8754c0","hex_latitude":"05c489c8","is_valid_coordinates":true} 
[2026-08-21 19:28:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554063104001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121959440365649920,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8700250767866757120,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787320571000,"timestamp_ms":1787320571000,"timestamp_seconds":1787320571,"priority":1,"record_length":96,"hex_timestamp":"000001a0249b9478"} 
[2026-08-21 19:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:28:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554063104001,"66":12189,"216":206,"85":12288,"24":28,"16":121959440365649920,"45":-8700250767866757120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,85,24,16,45]} 
[2026-08-21 19:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554063104001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:28:01] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-08-21 19:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121959440365649920,"km_value":121959440365649.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8700250767866757120,"description":"Unknown IO ID 45"} 
[2026-08-21 19:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554063104001,"power":12189,"unknown_216":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":-8700250767866757120}} 
[2026-08-21 19:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:28:01] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:28:01] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:28:02] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:28:02] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:28:02] local.INFO: IMEI packet received {"connection_id":159568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":159568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:28:04] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024992f30012d9e4280055ab690000701622d..."} 
[2026-08-21 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024992f30012d9e4280055ab690000701622d..."} 
[2026-08-21 19:28:04] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024992f30012d9e4280055ab690000701622d..."} 
[2026-08-21 19:28:04] local.INFO: Packet analysis {"connection_id":159568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:28:04] local.INFO: Extracted packet for processing {"connection_id":159568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:28:04] local.INFO: GPS Element Parsed {"raw_longitude":765346432,"raw_latitude":89831056,"longitude_deg":76.5346432,"latitude_deg":8.9831056,"altitude":7,"angle":354,"satellites":45,"speed":13,"hex_longitude":"2d9e4280","hex_latitude":"055ab690","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554024704001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601176288919552,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042574263048355840,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787320414000,"timestamp_ms":1787320414000,"timestamp_seconds":1787320414,"priority":1,"record_length":96,"hex_timestamp":"000001a024992f30"} 
[2026-08-21 19:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:28: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-08-21 19: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-08-21 19:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554024704001,"66":27745,"248":206,"84":7168,"24":13,"16":388601176288919552,"45":-7042574263048355840},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554024704001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:28:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601176288919552,"km_value":388601176288919.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042574263048355840,"description":"Unknown IO ID 45"} 
[2026-08-21 19:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554024704001,"power":27745,"tamper_alert":206,"unknown_84":7168,"ignition":13,"odometer":null,"unknown_45":-7042574263048355840}} 
[2026-08-21 19:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":159568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:28:04] local.INFO: GPS data processed {"connection_id":159568,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:28:04] local.INFO: Acknowledgment sent {"connection_id":159568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:28:33] local.INFO: TCP Data received {"connection_id":161861,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249d6d20012d88a28005c494f00005008526..."} 
[2026-08-21 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249d6d20012d88a28005c494f00005008526..."} 
[2026-08-21 19:28:33] local.INFO: Processing buffer {"connection_id":161861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249d6d20012d88a28005c494f00005008526..."} 
[2026-08-21 19:28:33] local.INFO: Packet analysis {"connection_id":161861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:28:33] local.INFO: Extracted packet for processing {"connection_id":161861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763929216,"raw_latitude":96769264,"longitude_deg":76.3929216,"latitude_deg":9.6769264,"altitude":5,"angle":133,"satellites":38,"speed":19,"hex_longitude":"2d88a280","hex_latitude":"05c494f0","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554093824001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121963980146081792,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8608982506665115648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787320692000,"timestamp_ms":1787320692000,"timestamp_seconds":1787320692,"priority":1,"record_length":96,"hex_timestamp":"000001a0249d6d20"} 
[2026-08-21 19:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:28: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-08-21 19: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":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-08-21 19:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2094,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554093824001,"66":12461,"189":206,"85":12288,"24":19,"16":121963980146081792,"45":-8608982506665115648},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554093824001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:28:33] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121963980146081792,"km_value":121963980146081.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8608982506665115648,"description":"Unknown IO ID 45"} 
[2026-08-21 19:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554093824001,"power":12461,"unknown_189":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":-8608982506665115648}} 
[2026-08-21 19:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":161861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:28:33] local.INFO: GPS data processed {"connection_id":161861,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:28:33] local.INFO: Acknowledgment sent {"connection_id":161861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:28:35] local.INFO: TCP Data received {"connection_id":159568,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024993318012d9e4240055ab7c8000701642c..."} 
[2026-08-21 19:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024993318012d9e4240055ab7c8000701642c..."} 
[2026-08-21 19:28:35] local.INFO: Processing buffer {"connection_id":159568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024993318012d9e4240055ab7c8000701642c..."} 
[2026-08-21 19:28:35] local.INFO: Packet analysis {"connection_id":159568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:28:35] local.INFO: Extracted packet for processing {"connection_id":159568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:28:35] local.INFO: GPS Element Parsed {"raw_longitude":765346368,"raw_latitude":89831368,"longitude_deg":76.5346368,"latitude_deg":8.9831368,"altitude":7,"angle":356,"satellites":44,"speed":12,"hex_longitude":"2d9e4240","hex_latitude":"055ab7c8","is_valid_coordinates":true} 
[2026-08-21 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554025984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042926106768928768,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787320415000,"timestamp_ms":1787320415000,"timestamp_seconds":1787320415,"priority":1,"record_length":96,"hex_timestamp":"000001a024993318"} 
[2026-08-21 19:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:28: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-08-21 19:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:28:35] 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-08-21 19:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554025984001,"66":27745,"248":206,"84":7168,"24":12,"16":388601193468788736,"45":-7042926106768928768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554025984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:28:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042926106768928768,"description":"Unknown IO ID 45"} 
[2026-08-21 19:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554025984001,"power":27745,"tamper_alert":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-7042926106768928768}} 
[2026-08-21 19:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":159568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:28:35] local.INFO: GPS data processed {"connection_id":159568,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:28:35] local.INFO: Acknowledgment sent {"connection_id":159568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:28:53] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:53] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:53] local.INFO: IMEI packet received {"connection_id":159276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":159276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:28:57] local.INFO: TCP Data received {"connection_id":159277,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:28:57] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:28:57] local.INFO: IMEI packet received {"connection_id":159277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":159277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:28:58] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:58] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:28:58] local.INFO: IMEI packet received {"connection_id":159276,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":159276,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:28:59] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249d80a8012d88abc005c48df80006007925..."} 
[2026-08-21 19:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249d80a8012d88abc005c48df80006007925..."} 
[2026-08-21 19:28:59] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249d80a8012d88abc005c48df80006007925..."} 
[2026-08-21 19:28:59] local.INFO: Packet analysis {"connection_id":159276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:28:59] local.INFO: Extracted packet for processing {"connection_id":159276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:28:59] local.INFO: GPS Element Parsed {"raw_longitude":763931584,"raw_latitude":96767480,"longitude_deg":76.3931584,"latitude_deg":9.676748,"altitude":6,"angle":121,"satellites":37,"speed":26,"hex_longitude":"2d88abc0","hex_latitude":"05c48df8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554097152001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121964121880002560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8601171576062939136,"note":"Value kept but may cause issues"} 
[2026-08-21 19:28:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320697000,"timestamp_ms":1787320697000,"timestamp_seconds":1787320697,"priority":1,"record_length":96,"hex_timestamp":"000001a0249d80a8"} 
[2026-08-21 19:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:28: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-08-21 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 19:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554097152001,"66":12287,"189":206,"85":12288,"24":26,"16":121964121880002560,"45":-8601171576062939136},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554097152001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:28:59] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:28:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121964121880002560,"km_value":121964121880002.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8601171576062939136,"description":"Unknown IO ID 45"} 
[2026-08-21 19:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554097152001,"power":12287,"unknown_189":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-8601171576062939136}} 
[2026-08-21 19:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":159276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:28:59] local.INFO: GPS data processed {"connection_id":159276,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:28:59] local.INFO: Acknowledgment sent {"connection_id":159276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:29:02] local.INFO: TCP Data received {"connection_id":159277,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:29:02] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:29:02] local.INFO: IMEI packet received {"connection_id":159277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":159277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:29:03] local.INFO: TCP Data received {"connection_id":159277,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024993318012d9e4240055ab7c8000701642c..."} 
[2026-08-21 19:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024993318012d9e4240055ab7c8000701642c..."} 
[2026-08-21 19:29:03] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024993318012d9e4240055ab7c8000701642c..."} 
[2026-08-21 19:29:03] local.INFO: Packet analysis {"connection_id":159277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:29:03] local.INFO: Extracted packet for processing {"connection_id":159277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02499"} 
[2026-08-21 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":765346368,"raw_latitude":89831368,"longitude_deg":76.5346368,"latitude_deg":8.9831368,"altitude":7,"angle":356,"satellites":44,"speed":12,"hex_longitude":"2d9e4240","hex_latitude":"055ab7c8","is_valid_coordinates":true} 
[2026-08-21 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554025984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042926106768928768,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320415000,"timestamp_ms":1787320415000,"timestamp_seconds":1787320415,"priority":1,"record_length":96,"hex_timestamp":"000001a024993318"} 
[2026-08-21 19:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:29: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-08-21 19:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554025984001,"66":27745,"248":206,"84":7168,"24":12,"16":388601193468788736,"45":-7042926106768928768},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554025984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:29:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042926106768928768,"description":"Unknown IO ID 45"} 
[2026-08-21 19:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554025984001,"power":27745,"tamper_alert":206,"unknown_84":7168,"ignition":12,"odometer":null,"unknown_45":-7042926106768928768}} 
[2026-08-21 19:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":159277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:29:03] local.INFO: GPS data processed {"connection_id":159277,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:29:03] local.INFO: Acknowledgment sent {"connection_id":159277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:29:34] local.INFO: TCP Data received {"connection_id":159277,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:29:34] local.INFO: Processing buffer {"connection_id":159277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:29:34] local.INFO: Packet analysis {"connection_id":159277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:29:34] local.INFO: Extracted packet for processing {"connection_id":159277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:29:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:29:34] 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-08-21 19:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:29:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":159277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:29:34] local.INFO: GPS data processed {"connection_id":159277,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:29:34] local.INFO: Acknowledgment sent {"connection_id":159277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:29:51] local.INFO: TCP Data received {"connection_id":159276,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249d9430012d88b70005c488f00005006d26..."} 
[2026-08-21 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249d9430012d88b70005c488f00005006d26..."} 
[2026-08-21 19:29:51] local.INFO: Processing buffer {"connection_id":159276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249d9430012d88b70005c488f00005006d26..."} 
[2026-08-21 19:29:51] local.INFO: Packet analysis {"connection_id":159276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:29:51] local.INFO: Extracted packet for processing {"connection_id":159276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":763934464,"raw_latitude":96766192,"longitude_deg":76.3934464,"latitude_deg":9.6766192,"altitude":5,"angle":109,"satellites":38,"speed":25,"hex_longitude":"2d88b700","hex_latitude":"05c488f0","is_valid_coordinates":true} 
[2026-08-21 19:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554098432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121964276498825216,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8598567932528822272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1787320702000,"timestamp_ms":1787320702000,"timestamp_seconds":1787320702,"priority":1,"record_length":96,"hex_timestamp":"000001a0249d9430"} 
[2026-08-21 19:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:29: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-08-21 19:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":159276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":159276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":159276,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554098432001,"66":12298,"189":206,"85":12288,"24":25,"16":121964276498825216,"45":-8598567932528822272},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554098432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:29:51] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:29:51] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121964276498825216,"km_value":121964276498825.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8598567932528822272,"description":"Unknown IO ID 45"} 
[2026-08-21 19:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554098432001,"power":12298,"unknown_189":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-8598567932528822272}} 
[2026-08-21 19:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":159276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677515,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:29:51] local.INFO: GPS data processed {"connection_id":159276,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:29:51] local.INFO: Acknowledgment sent {"connection_id":159276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:29:53] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:29:53] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:29:53] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:29:57] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:29:57] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:29:57] local.INFO: IMEI packet received {"connection_id":161863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":161863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:29:58] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:29:58] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:29:58] local.INFO: IMEI packet received {"connection_id":161862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":161862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:29:59] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249de638012d88ca4005c481880006007028..."} 
[2026-08-21 19:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249de638012d88ca4005c481880006007028..."} 
[2026-08-21 19:29:59] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249de638012d88ca4005c481880006007028..."} 
[2026-08-21 19:29:59] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:29:59] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763939392,"raw_latitude":96764296,"longitude_deg":76.3939392,"latitude_deg":9.6764296,"altitude":6,"angle":112,"satellites":40,"speed":4,"hex_longitude":"2d88ca40","hex_latitude":"05c48188","is_valid_coordinates":true} 
[2026-08-21 19:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554099712001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121964525606928384,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8595401339041157120,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320723000,"timestamp_ms":1787320723000,"timestamp_seconds":1787320723,"priority":1,"record_length":96,"hex_timestamp":"000001a0249de638"} 
[2026-08-21 19:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902602924544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2638165897603024917,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2289991685,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002798407352526,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3301318656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2972188680,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814312654,"corrected_to":0} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2818649480,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":90,"raw_value":3221603517,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075559,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":8,"raw_value":29030406011486208,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4755801206503243777,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":415686313799778413,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.WARNING: Large IO value detected {"io_id":39,"raw_value":8725724278685700,"note":"Value kept but may cause issues"} 
[2026-08-21 19:29:59] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,189,85,24,241,157,16,77,160,128,45,192,141,6,37,10,66,109,148,5,38,58,1,240,184,227,36,196,4,113,205,34,3,90,216,239,47,191,2,177,8,76,64,39],"length":534,"final_offset":664,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2814312654,"validated":0}]} 
[2026-08-21 19:29:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360407980167462912,"timestamp_seconds":360407980167462.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554099712001,"66":12287,"189":206,"85":12288,"24":4,"16":121964525606928384,"45":-8595401339041157120},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554099712001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:29:59] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121964525606928384,"km_value":121964525606928.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8595401339041157120,"description":"Unknown IO ID 45"} 
[2026-08-21 19:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554099712001,"power":12287,"unknown_189":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-8595401339041157120}} 
[2026-08-21 19:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:29:59] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:29:59] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:30:02] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:30:02] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:30:02] local.INFO: IMEI packet received {"connection_id":161863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":161863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:30:03] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:03] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:03] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:30:03] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:30:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:30: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-08-21 19:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:30:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:30:03] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:30:03] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:30:07] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:07] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:07] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:30:07] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:30:07] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:30:07] 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-08-21 19:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:30:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:30:07] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:30:07] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:30:30] local.INFO: TCP Data received {"connection_id":161862,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249e3840012d88eb0005c475c00009006d27..."} 
[2026-08-21 19:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249e3840012d88eb0005c475c00009006d27..."} 
[2026-08-21 19:30:30] local.INFO: Processing buffer {"connection_id":161862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249e3840012d88eb0005c475c00009006d27..."} 
[2026-08-21 19:30:30] local.INFO: Packet analysis {"connection_id":161862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:30:30] local.INFO: Extracted packet for processing {"connection_id":161862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763947776,"raw_latitude":96761280,"longitude_deg":76.3947776,"latitude_deg":9.676128,"altitude":9,"angle":109,"satellites":39,"speed":22,"hex_longitude":"2d88eb00","hex_latitude":"05c475c0","is_valid_coordinates":true} 
[2026-08-21 19:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554105088001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121964955103657984,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8589982945739962368,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787320744000,"timestamp_ms":1787320744000,"timestamp_seconds":1787320744,"priority":1,"record_length":96,"hex_timestamp":"000001a0249e3840"} 
[2026-08-21 19:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554105088001,"66":12298,"189":206,"85":12288,"24":22,"16":121964955103657984,"45":-8589982945739962368},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554105088001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:30:30] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121964955103657984,"km_value":121964955103657.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8589982945739962368,"description":"Unknown IO ID 45"} 
[2026-08-21 19:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554105088001,"power":12298,"unknown_189":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-8589982945739962368}} 
[2026-08-21 19:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":161862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:30:30] local.INFO: GPS data processed {"connection_id":161862,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:30:30] local.INFO: Acknowledgment sent {"connection_id":161862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:30:38] local.INFO: TCP Data received {"connection_id":161863,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:38] local.INFO: Processing buffer {"connection_id":161863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:30:38] local.INFO: Packet analysis {"connection_id":161863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:30:38] local.INFO: Extracted packet for processing {"connection_id":161863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:30:38] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:30:38] 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-08-21 19:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:30:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":161863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:30:38] local.INFO: GPS data processed {"connection_id":161863,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:30:38] local.INFO: Acknowledgment sent {"connection_id":161863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:30:57] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:30:57] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:30:57] local.INFO: IMEI packet received {"connection_id":159280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":159280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:30:58] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:30:58] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:30:58] local.INFO: IMEI packet received {"connection_id":159279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":159279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:31:01] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:01] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:01] local.INFO: IMEI packet received {"connection_id":159279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":159279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:31:02] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249e8a48012d89074005c46b60000a006f28..."} 
[2026-08-21 19:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249e8a48012d89074005c46b60000a006f28..."} 
[2026-08-21 19:31:02] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249e8a48012d89074005c46b60000a006f28..."} 
[2026-08-21 19:31:02] local.INFO: Packet analysis {"connection_id":159279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:31:02] local.INFO: Extracted packet for processing {"connection_id":159279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:31:02] local.INFO: GPS Element Parsed {"raw_longitude":763955008,"raw_latitude":96758624,"longitude_deg":76.3955008,"latitude_deg":9.6758624,"altitude":10,"angle":111,"satellites":40,"speed":15,"hex_longitude":"2d890740","hex_latitude":"05c46b60","is_valid_coordinates":true} 
[2026-08-21 19:31:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554110464001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121965324470845440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8580764640253460480,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:31:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787320765000,"timestamp_ms":1787320765000,"timestamp_seconds":1787320765,"priority":1,"record_length":96,"hex_timestamp":"000001a0249e8a48"} 
[2026-08-21 19:31:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:31:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902670033408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2638268976818128986,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2292350981,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469844082894,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3299944448,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":77,"raw_value":1441151880758558721,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":192,"raw_value":415665801035972715,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":36,"raw_value":9007199255396356,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2498756613,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814181582,"corrected_to":0} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3221603500,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3087060391,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.WARNING: Large IO value detected {"io_id":8,"raw_value":31005128962080768,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,189,85,24,241,157,16,78,160,230,45,64,129,6,40,10,66,148,136,5,38,77,128,192,1,240,255,227,36,196,4,113,205,19,58,134,239,48,191,2,177,8],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2814181582,"validated":0}]} 
[2026-08-21 19:31:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648638360613945344,"timestamp_seconds":648638360613945.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:31:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:31:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:31:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:31:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:31:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:31:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:31:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:31:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:31:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554110464001,"66":12298,"189":206,"85":12288,"24":15,"16":121965324470845440,"45":-8580764640253460480},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:31:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:31:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:31:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554110464001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:31:02] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:31:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:31:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121965324470845440,"km_value":121965324470845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:31:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8580764640253460480,"description":"Unknown IO ID 45"} 
[2026-08-21 19:31:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554110464001,"power":12298,"unknown_189":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-8580764640253460480}} 
[2026-08-21 19:31:02] local.INFO: DEBUG: GPS processor result {"connection_id":159279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:31:02] local.INFO: GPS data processed {"connection_id":159279,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:31:02] local.INFO: Acknowledgment sent {"connection_id":159279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:31:02] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:31:02] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:31:02] local.INFO: IMEI packet received {"connection_id":159280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":159280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:31:03] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:31:03] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:31:03] local.INFO: Packet analysis {"connection_id":159280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:31:03] local.INFO: Extracted packet for processing {"connection_id":159280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:31:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19: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-08-21 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:31: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-08-21 19: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-08-21 19:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:31:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":159280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:31:03] local.INFO: GPS data processed {"connection_id":159280,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:31:03] local.INFO: Acknowledgment sent {"connection_id":159280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:31:33] local.INFO: TCP Data received {"connection_id":159279,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0249edc50012d8923c005c461880009006e27..."} 
[2026-08-21 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249edc50012d8923c005c461880009006e27..."} 
[2026-08-21 19:31:33] local.INFO: Processing buffer {"connection_id":159279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249edc50012d8923c005c461880009006e27..."} 
[2026-08-21 19:31:33] local.INFO: Packet analysis {"connection_id":159279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:31:33] local.INFO: Extracted packet for processing {"connection_id":159279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763962304,"raw_latitude":96756104,"longitude_deg":76.3962304,"latitude_deg":9.6756104,"altitude":9,"angle":110,"satellites":39,"speed":14,"hex_longitude":"2d8923c0","hex_latitude":"05c46188","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554115840001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121965693838032896,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8572812972162064384,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787320786000,"timestamp_ms":1787320786000,"timestamp_seconds":1787320786,"priority":1,"record_length":96,"hex_timestamp":"000001a0249edc50"} 
[2026-08-21 19:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:31: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-08-21 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902636478976,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2638316221458385022,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2292957189,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":39,"raw_value":9570149208817668,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832608,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3510556792817909966,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3386706919782612993,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2642454529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2381840390,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814181582,"corrected_to":0} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2147861652,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511015,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3299639296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":8,"raw_value":34944679090847744,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.WARNING: Large IO value detected {"io_id":128,"raw_value":415651850982260846,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:33] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,189,85,24,241,157,16,78,160,56,45,117,9,39,10,66,230,64,129,6,40,148,1,240,227,77,36,196,4,113,205,26,109,162,38,239,48,2,177,5,8,128],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2814181582,"validated":0}]} 
[2026-08-21 19:31:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720698157969637376,"timestamp_seconds":720698157969637.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554115840001,"66":12156,"189":206,"85":12288,"24":14,"16":121965693838032896,"45":-8572812972162064384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554115840001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:31:33] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121965693838032896,"km_value":121965693838032.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8572812972162064384,"description":"Unknown IO ID 45"} 
[2026-08-21 19:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554115840001,"power":12156,"unknown_189":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-8572812972162064384}} 
[2026-08-21 19:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":159279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:31:33] local.INFO: GPS data processed {"connection_id":159279,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:31:33] local.INFO: Acknowledgment sent {"connection_id":159279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:31:34] local.INFO: TCP Data received {"connection_id":159280,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:31:34] local.INFO: Processing buffer {"connection_id":159280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:31:34] local.INFO: Packet analysis {"connection_id":159280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:31:34] local.INFO: Extracted packet for processing {"connection_id":159280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:31:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:31:34] 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-08-21 19:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:31:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":159280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:31:34] local.INFO: GPS data processed {"connection_id":159280,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:31:34] local.INFO: Acknowledgment sent {"connection_id":159280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:31:53] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:53] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:53] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:31:55] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:55] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:31:55] local.INFO: IMEI packet received {"connection_id":160466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":160466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:31:56] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024a02c40012d895c4005c44cb0000c006d24..."} 
[2026-08-21 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a02c40012d895c4005c44cb0000c006d24..."} 
[2026-08-21 19:31:56] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a02c40012d895c4005c44cb0000c006d24..."} 
[2026-08-21 19:31:56] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a0"} 
[2026-08-21 19:31:56] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a0"} 
[2026-08-21 19:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763976768,"raw_latitude":96750768,"longitude_deg":76.3976768,"latitude_deg":9.6750768,"altitude":12,"angle":109,"satellites":36,"speed":6,"hex_longitude":"2d895c40","hex_latitude":"05c44cb0","is_valid_coordinates":true} 
[2026-08-21 19:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554142976001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121966436867375104,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8549098705376184320,"note":"Value kept but may cause issues"} 
[2026-08-21 19:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787320872000,"timestamp_ms":1787320872000,"timestamp_seconds":1787320872,"priority":1,"record_length":96,"hex_timestamp":"000001a024a02c40"} 
[2026-08-21 19:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 19:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554142976001,"66":12341,"189":206,"85":12288,"24":6,"16":121966436867375104,"45":-8549098705376184320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554142976001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:31:56] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121966436867375104,"km_value":121966436867375.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8549098705376184320,"description":"Unknown IO ID 45"} 
[2026-08-21 19:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554142976001,"power":12341,"unknown_189":206,"unknown_85":12288,"ignition":6,"odometer":null,"unknown_45":-8549098705376184320}} 
[2026-08-21 19:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:31:56] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:31:56] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:31:57] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:31:57] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:31:57] local.INFO: IMEI packet received {"connection_id":159569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":159569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:32:02] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:32:02] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:32:02] local.INFO: IMEI packet received {"connection_id":159569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":159569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:32:03] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:32:03] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:32:03] local.INFO: Packet analysis {"connection_id":159569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:32:03] local.INFO: Extracted packet for processing {"connection_id":159569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:32:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:32: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-08-21 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:32: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-08-21 19: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-08-21 19:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:32:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":159569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:32:03] local.INFO: GPS data processed {"connection_id":159569,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:32:03] local.INFO: Acknowledgment sent {"connection_id":159569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:32:06] local.INFO: TCP Data received {"connection_id":159570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:32:06] local.INFO: Processing buffer {"connection_id":159570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:32:06] local.INFO: IMEI packet received {"connection_id":159570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":159570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:32:10] local.INFO: TCP Data received {"connection_id":159570,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:32:11] local.INFO: Processing buffer {"connection_id":159570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:32:11] local.INFO: IMEI packet received {"connection_id":159570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":159570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:32:11] local.INFO: TCP Data received {"connection_id":159570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249ebd10012d195200071ff408003d013a2c..."} 
[2026-08-21 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249ebd10012d195200071ff408003d013a2c..."} 
[2026-08-21 19:32:11] local.INFO: Processing buffer {"connection_id":159570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249ebd10012d195200071ff408003d013a2c..."} 
[2026-08-21 19:32:11] local.INFO: Packet analysis {"connection_id":159570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:32:11] local.INFO: Extracted packet for processing {"connection_id":159570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119534600,"longitude_deg":75.6634112,"latitude_deg":11.95346,"altitude":61,"angle":314,"satellites":44,"speed":13,"hex_longitude":"2d195200","hex_latitude":"071ff408","is_valid_coordinates":true} 
[2026-08-21 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554118656001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328109683703808,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825224517080995840,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787320778000,"timestamp_ms":1787320778000,"timestamp_seconds":1787320778,"priority":1,"record_length":96,"hex_timestamp":"000001a0249ebd10"} 
[2026-08-21 19:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 19:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554118656001,"66":12993,"102":206,"83":41984,"24":13,"16":14328109683703808,"45":1825224517080995840},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554118656001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:32:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:32:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328109683703808,"km_value":14328109683703.809,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825224517080995840,"description":"Unknown IO ID 45"} 
[2026-08-21 19:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554118656001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1825224517080995840}} 
[2026-08-21 19:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":159570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:32:11] local.INFO: GPS data processed {"connection_id":159570,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:32:11] local.INFO: Acknowledgment sent {"connection_id":159570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:32:14] local.INFO: TCP Data received {"connection_id":159570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249ec0f8012d195140071ff518003c01482c..."} 
[2026-08-21 19:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249ec0f8012d195140071ff518003c01482c..."} 
[2026-08-21 19:32:14] local.INFO: Processing buffer {"connection_id":159570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249ec0f8012d195140071ff518003c01482c..."} 
[2026-08-21 19:32:14] local.INFO: Packet analysis {"connection_id":159570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:32:14] local.INFO: Extracted packet for processing {"connection_id":159570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756633920,"raw_latitude":119534872,"longitude_deg":75.663392,"latitude_deg":11.9534872,"altitude":60,"angle":328,"satellites":44,"speed":12,"hex_longitude":"2d195140","hex_latitude":"071ff518","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554119168001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328126863572992,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824520829639329792,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787320779000,"timestamp_ms":1787320779000,"timestamp_seconds":1787320779,"priority":1,"record_length":96,"hex_timestamp":"000001a0249ec0f8"} 
[2026-08-21 19:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:32:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 19:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554119168001,"66":12993,"102":206,"83":41984,"24":12,"16":14328126863572992,"45":1824520829639329792},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554119168001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:32:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:32:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328126863572992,"km_value":14328126863572.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824520829639329792,"description":"Unknown IO ID 45"} 
[2026-08-21 19:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554119168001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1824520829639329792}} 
[2026-08-21 19:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":159570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:32:14] local.INFO: GPS data processed {"connection_id":159570,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:32:14] local.INFO: Acknowledgment sent {"connection_id":159570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:32:27] local.INFO: TCP Data received {"connection_id":160466,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024a07e48012d89708005c446380008006b23..."} 
[2026-08-21 19:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a07e48012d89708005c446380008006b23..."} 
[2026-08-21 19:32:27] local.INFO: Processing buffer {"connection_id":160466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a07e48012d89708005c446380008006b23..."} 
[2026-08-21 19:32:27] local.INFO: Packet analysis {"connection_id":160466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a0"} 
[2026-08-21 19:32:27] local.INFO: Extracted packet for processing {"connection_id":160466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a0"} 
[2026-08-21 19:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763981952,"raw_latitude":96749112,"longitude_deg":76.3981952,"latitude_deg":9.6749112,"altitude":8,"angle":107,"satellites":35,"speed":13,"hex_longitude":"2d897080","hex_latitude":"05c44638","is_valid_coordinates":true} 
[2026-08-21 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554143232001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121966698860380160,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8548887599143669760,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787320893000,"timestamp_ms":1787320893000,"timestamp_seconds":1787320893,"priority":1,"record_length":96,"hex_timestamp":"000001a024a07e48"} 
[2026-08-21 19:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:32: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-08-21 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 19:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554143232001,"66":12156,"189":206,"85":12288,"24":13,"16":121966698860380160,"45":-8548887599143669760},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554143232001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:32:27] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121966698860380160,"km_value":121966698860380.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8548887599143669760,"description":"Unknown IO ID 45"} 
[2026-08-21 19:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554143232001,"power":12156,"unknown_189":206,"unknown_85":12288,"ignition":13,"odometer":null,"unknown_45":-8548887599143669760}} 
[2026-08-21 19:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":160466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:32:27] local.INFO: GPS data processed {"connection_id":160466,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:32:27] local.INFO: Acknowledgment sent {"connection_id":160466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:32:33] local.INFO: TCP Data received {"connection_id":159569,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:32:34] local.INFO: Processing buffer {"connection_id":159569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:32:34] local.INFO: Packet analysis {"connection_id":159569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:32:34] local.INFO: Extracted packet for processing {"connection_id":159569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:32:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:32:34] 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-08-21 19:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:32:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":159569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:32:34] local.INFO: GPS data processed {"connection_id":159569,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:32:34] local.INFO: Acknowledgment sent {"connection_id":159569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:32:45] local.INFO: TCP Data received {"connection_id":159570,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249ed098012d194ec0071ff8e0003b01392d..."} 
[2026-08-21 19:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249ed098012d194ec0071ff8e0003b01392d..."} 
[2026-08-21 19:32:45] local.INFO: Processing buffer {"connection_id":159570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249ed098012d194ec0071ff8e0003b01392d..."} 
[2026-08-21 19:32:45] local.INFO: Packet analysis {"connection_id":159570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:32:45] local.INFO: Extracted packet for processing {"connection_id":159570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":756633280,"raw_latitude":119535840,"longitude_deg":75.663328,"latitude_deg":11.953584,"altitude":59,"angle":313,"satellites":45,"speed":9,"hex_longitude":"2d194ec0","hex_latitude":"071ff8e0","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:32:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554119424001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328182698147840,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824309723406866432,"note":"Value kept but may cause issues"} 
[2026-08-21 19:32:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787320783000,"timestamp_ms":1787320783000,"timestamp_seconds":1787320783,"priority":1,"record_length":96,"hex_timestamp":"000001a0249ed098"} 
[2026-08-21 19:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:32:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 19:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554119424001,"66":13015,"102":206,"83":41984,"24":9,"16":14328182698147840,"45":1824309723406866432},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554119424001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:32:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:32:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328182698147840,"km_value":14328182698147.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:32:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824309723406866432,"description":"Unknown IO ID 45"} 
[2026-08-21 19:32:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554119424001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1824309723406866432}} 
[2026-08-21 19:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":159570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:32:46] local.INFO: GPS data processed {"connection_id":159570,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:32:46] local.INFO: Acknowledgment sent {"connection_id":159570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:32:57] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:32:57] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:32:57] local.INFO: IMEI packet received {"connection_id":159281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":159281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:33:01] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:01] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:01] local.INFO: IMEI packet received {"connection_id":159282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":159282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:33:02] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:33:02] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:33:02] local.INFO: IMEI packet received {"connection_id":159281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":159281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:33:03] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:33:03] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:33:03] local.INFO: Packet analysis {"connection_id":159281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:33:03] local.INFO: Extracted packet for processing {"connection_id":159281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:33:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:33: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-08-21 19: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:33: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-08-21 19:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:33:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":159281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:33:03] local.INFO: GPS data processed {"connection_id":159281,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:33:03] local.INFO: Acknowledgment sent {"connection_id":159281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:33:06] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:06] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:06] local.INFO: IMEI packet received {"connection_id":159282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":159282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:33:07] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249ed868012d194d40071ff9d8003b01232d..."} 
[2026-08-21 19:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249ed868012d194d40071ff9d8003b01232d..."} 
[2026-08-21 19:33:07] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249ed868012d194d40071ff9d8003b01232d..."} 
[2026-08-21 19:33:07] local.INFO: Packet analysis {"connection_id":159282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:33:07] local.INFO: Extracted packet for processing {"connection_id":159282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":756632896,"raw_latitude":119536088,"longitude_deg":75.6632896,"latitude_deg":11.9536088,"altitude":59,"angle":291,"satellites":45,"speed":9,"hex_longitude":"2d194d40","hex_latitude":"071ff9d8","is_valid_coordinates":true} 
[2026-08-21 19:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554120448001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328204172984320,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823606035965337600,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320785000,"timestamp_ms":1787320785000,"timestamp_seconds":1787320785,"priority":1,"record_length":96,"hex_timestamp":"000001a0249ed868"} 
[2026-08-21 19:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 19:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554120448001,"66":12993,"102":206,"83":41984,"24":9,"16":14328204172984320,"45":1823606035965337600},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554120448001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328204172984320,"km_value":14328204172984.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823606035965337600,"description":"Unknown IO ID 45"} 
[2026-08-21 19:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554120448001,"power":12993,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1823606035965337600}} 
[2026-08-21 19:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":159282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:33:07] local.INFO: GPS data processed {"connection_id":159282,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:33:07] local.INFO: Acknowledgment sent {"connection_id":159282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:33:28] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:28] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:28] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:33:33] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:33] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:33] local.INFO: IMEI packet received {"connection_id":160467,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":160467,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:33:34] local.INFO: TCP Data received {"connection_id":159281,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:33:34] local.INFO: Processing buffer {"connection_id":159281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:33:34] local.INFO: Packet analysis {"connection_id":159281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:33:34] local.INFO: Extracted packet for processing {"connection_id":159281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:33:34] 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-08-21 19:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:33:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":159281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:33:34] local.INFO: GPS data processed {"connection_id":159281,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:33:34] local.INFO: Acknowledgment sent {"connection_id":159281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:33:34] local.INFO: TCP Data received {"connection_id":160467,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024a0d050012d898fc005c43b18000a006c23..."} 
[2026-08-21 19:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a0d050012d898fc005c43b18000a006c23..."} 
[2026-08-21 19:33:34] local.INFO: Processing buffer {"connection_id":160467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a0d050012d898fc005c43b18000a006c23..."} 
[2026-08-21 19:33:34] local.INFO: Packet analysis {"connection_id":160467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a0"} 
[2026-08-21 19:33:34] local.INFO: Extracted packet for processing {"connection_id":160467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a0"} 
[2026-08-21 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763989952,"raw_latitude":96746264,"longitude_deg":76.3989952,"latitude_deg":9.6746264,"altitude":10,"angle":108,"satellites":35,"speed":18,"hex_longitude":"2d898fc0","hex_latitude":"05c43b18","is_valid_coordinates":true} 
[2026-08-21 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554148608001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121967106882273280,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8543187730865702912,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787320914000,"timestamp_ms":1787320914000,"timestamp_seconds":1787320914,"priority":1,"record_length":96,"hex_timestamp":"000001a024a0d050"} 
[2026-08-21 19:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160467,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554148608001,"66":12004,"189":206,"85":12288,"24":18,"16":121967106882273280,"45":-8543187730865702912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554148608001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:33:34] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121967106882273280,"km_value":121967106882273.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8543187730865702912,"description":"Unknown IO ID 45"} 
[2026-08-21 19:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554148608001,"power":12004,"unknown_189":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-8543187730865702912}} 
[2026-08-21 19:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":160467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:33:34] local.INFO: GPS data processed {"connection_id":160467,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:33:34] local.INFO: Acknowledgment sent {"connection_id":160467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:33:39] local.INFO: TCP Data received {"connection_id":159282,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249ee038012d194b40071ffa58003b01162c..."} 
[2026-08-21 19:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249ee038012d194b40071ffa58003b01162c..."} 
[2026-08-21 19:33:39] local.INFO: Processing buffer {"connection_id":159282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249ee038012d194b40071ffa58003b01162c..."} 
[2026-08-21 19:33:39] local.INFO: Packet analysis {"connection_id":159282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:33:39] local.INFO: Extracted packet for processing {"connection_id":159282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756632384,"raw_latitude":119536216,"longitude_deg":75.6632384,"latitude_deg":11.9536216,"altitude":59,"angle":278,"satellites":44,"speed":10,"hex_longitude":"2d194b40","hex_latitude":"071ffa58","is_valid_coordinates":true} 
[2026-08-21 19:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554120960001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328229942788096,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823500335104,"note":"Value kept but may cause issues"} 
[2026-08-21 19:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787320787000,"timestamp_ms":1787320787000,"timestamp_seconds":1787320787,"priority":1,"record_length":96,"hex_timestamp":"000001a0249ee038"} 
[2026-08-21 19:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-08-21 19:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554120960001,"66":12504,"102":206,"83":41984,"24":10,"16":14328229942788096,"45":1823183823500335104},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554120960001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:33:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:33:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328229942788096,"km_value":14328229942788.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823500335104,"description":"Unknown IO ID 45"} 
[2026-08-21 19:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554120960001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1823183823500335104}} 
[2026-08-21 19:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":159282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:33:40] local.INFO: GPS data processed {"connection_id":159282,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:33:40] local.INFO: Acknowledgment sent {"connection_id":159282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:33:58] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:58] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:33:58] local.INFO: IMEI packet received {"connection_id":160468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":160468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:33:59] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:59] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:33:59] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:34:00] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:34:00] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:34:00] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:34:02] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:02] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:02] local.INFO: IMEI packet received {"connection_id":161865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":161865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:34:03] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:03] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:03] local.INFO: IMEI packet received {"connection_id":160468,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":160468,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:34:04] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024a116a0012d89b18005c42ea0000c006e24..."} 
[2026-08-21 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a116a0012d89b18005c42ea0000c006e24..."} 
[2026-08-21 19:34:04] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a116a0012d89b18005c42ea0000c006e24..."} 
[2026-08-21 19:34:04] local.INFO: Packet analysis {"connection_id":160468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:34:04] local.INFO: Extracted packet for processing {"connection_id":160468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:34:04] local.INFO: GPS Element Parsed {"raw_longitude":763998592,"raw_latitude":96743072,"longitude_deg":76.3998592,"latitude_deg":9.6743072,"altitude":12,"angle":110,"satellites":36,"speed":21,"hex_longitude":"2d89b180","hex_latitude":"05c42ea0","is_valid_coordinates":true} 
[2026-08-21 19:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554153984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121967544968937472,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8534391637844224000,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787320932000,"timestamp_ms":1787320932000,"timestamp_seconds":1787320932,"priority":1,"record_length":96,"hex_timestamp":"000001a024a116a0"} 
[2026-08-21 19:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:34: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-08-21 19: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-08-21 19:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554153984001,"66":12232,"189":206,"85":12288,"24":21,"16":121967544968937472,"45":-8534391637844224000},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554153984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:34:04] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:34:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121967544968937472,"km_value":121967544968937.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8534391637844224000,"description":"Unknown IO ID 45"} 
[2026-08-21 19:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554153984001,"power":12232,"unknown_189":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-8534391637844224000}} 
[2026-08-21 19:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":160468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:34:05] local.INFO: GPS data processed {"connection_id":160468,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:34:05] local.INFO: Acknowledgment sent {"connection_id":160468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:34:06] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:34:06] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:34:06] local.INFO: IMEI packet received {"connection_id":161864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":161864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:34:07] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249eefd8012d194700071ffab0003a010b2b..."} 
[2026-08-21 19:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249eefd8012d194700071ffab0003a010b2b..."} 
[2026-08-21 19:34:07] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249eefd8012d194700071ffab0003a010b2b..."} 
[2026-08-21 19:34:07] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:34:07] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249e"} 
[2026-08-21 19:34:07] local.INFO: GPS Element Parsed {"raw_longitude":756631296,"raw_latitude":119536304,"longitude_deg":75.6631296,"latitude_deg":11.9536304,"altitude":58,"angle":267,"satellites":43,"speed":11,"hex_longitude":"2d194700","hex_latitude":"071ffab0","is_valid_coordinates":true} 
[2026-08-21 19:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554121472001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328281482395648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822620873546946560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787320791000,"timestamp_ms":1787320791000,"timestamp_seconds":1787320791,"priority":1,"record_length":96,"hex_timestamp":"000001a0249eefd8"} 
[2026-08-21 19:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 19:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554121472001,"66":13015,"102":206,"83":41984,"24":11,"16":14328281482395648,"45":1822620873546946560},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554121472001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328281482395648,"km_value":14328281482395.648,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822620873546946560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554121472001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1822620873546946560}} 
[2026-08-21 19:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:34:07] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:34:07] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:34:07] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:07] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:07] local.INFO: IMEI packet received {"connection_id":161865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":161865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:34:08] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:34:08] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249dda80012d9e4200055ace48000800012e..."} 
[2026-08-21 19:34:08] local.INFO: Packet analysis {"connection_id":161865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:34:08] local.INFO: Extracted packet for processing {"connection_id":161865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249d"} 
[2026-08-21 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554026240001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042996475513026560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787320720000,"timestamp_ms":1787320720000,"timestamp_seconds":1787320720,"priority":1,"record_length":96,"hex_timestamp":"000001a0249dda80"} 
[2026-08-21 19:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554026240001,"66":25538,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7042996475513026560},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554026240001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:34:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042996475513026560,"description":"Unknown IO ID 45"} 
[2026-08-21 19:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554026240001,"power":25538,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7042996475513026560}} 
[2026-08-21 19:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":161865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:34:08] local.INFO: GPS data processed {"connection_id":161865,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:34:08] local.INFO: Acknowledgment sent {"connection_id":161865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:34:09] local.INFO: TCP Data received {"connection_id":160468,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024a15908012d89d34005c42240000b006e26..."} 
[2026-08-21 19:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a15908012d89d34005c42240000b006e26..."} 
[2026-08-21 19:34:09] local.INFO: Processing buffer {"connection_id":160468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a15908012d89d34005c42240000b006e26..."} 
[2026-08-21 19:34:09] local.INFO: Packet analysis {"connection_id":160468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:34:09] local.INFO: Extracted packet for processing {"connection_id":160468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":764007232,"raw_latitude":96739904,"longitude_deg":76.4007232,"latitude_deg":9.6739904,"altitude":11,"angle":110,"satellites":38,"speed":22,"hex_longitude":"2d89d340","hex_latitude":"05c42240","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554158592001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121967987350568960,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8524891857381056512,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787320949000,"timestamp_ms":1787320949000,"timestamp_seconds":1787320949,"priority":1,"record_length":96,"hex_timestamp":"000001a024a15908"} 
[2026-08-21 19:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160468,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554158592001,"66":12298,"189":206,"85":12288,"24":22,"16":121967987350568960,"45":-8524891857381056512},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,85,24,16,45]} 
[2026-08-21 19:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554158592001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:34:09] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-08-21 19:34:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-08-21 19:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121967987350568960,"km_value":121967987350568.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8524891857381056512,"description":"Unknown IO ID 45"} 
[2026-08-21 19:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554158592001,"power":12298,"unknown_189":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-8524891857381056512}} 
[2026-08-21 19:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":160468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:34:09] local.INFO: GPS data processed {"connection_id":160468,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:34:09] local.INFO: Acknowledgment sent {"connection_id":160468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:34:38] local.INFO: TCP Data received {"connection_id":161864,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249f41e0012d193f00071ffa080038010329..."} 
[2026-08-21 19:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249f41e0012d193f00071ffa080038010329..."} 
[2026-08-21 19:34:38] local.INFO: Processing buffer {"connection_id":161864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249f41e0012d193f00071ffa080038010329..."} 
[2026-08-21 19:34:38] local.INFO: Packet analysis {"connection_id":161864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249f"} 
[2026-08-21 19:34:38] local.INFO: Extracted packet for processing {"connection_id":161864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249f"} 
[2026-08-21 19:34:38] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554122496001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1821424604895948800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787320812000,"timestamp_ms":1787320812000,"timestamp_seconds":1787320812,"priority":1,"record_length":96,"hex_timestamp":"000001a0249f41e0"} 
[2026-08-21 19:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-08-21 19:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554122496001,"66":12950,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1821424604895948800},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554122496001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:34:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:34:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1821424604895948800,"description":"Unknown IO ID 45"} 
[2026-08-21 19:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554122496001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1821424604895948800}} 
[2026-08-21 19:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":161864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:34:38] local.INFO: GPS data processed {"connection_id":161864,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:34:38] local.INFO: Acknowledgment sent {"connection_id":161864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:34:38] local.INFO: TCP Data received {"connection_id":161865,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:34:39] local.INFO: Processing buffer {"connection_id":161865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:34:39] local.INFO: Packet analysis {"connection_id":161865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:34:39] local.INFO: Extracted packet for processing {"connection_id":161865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:34:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":161865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:34:39] local.INFO: GPS data processed {"connection_id":161865,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:34:39] local.INFO: Acknowledgment sent {"connection_id":161865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:34:51] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:51] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:51] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:34:53] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:53] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:53] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:34:57] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:57] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:34:57] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:34:58] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:58] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:34:58] local.INFO: IMEI packet received {"connection_id":161866,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":161866,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:34:59] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024a19788012d89f48005c416780006006c26..."} 
[2026-08-21 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a19788012d89f48005c416780006006c26..."} 
[2026-08-21 19:34:59] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a19788012d89f48005c416780006006c26..."} 
[2026-08-21 19:34:59] local.INFO: Packet analysis {"connection_id":161866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:34:59] local.INFO: Extracted packet for processing {"connection_id":161866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:34:59] local.INFO: GPS Element Parsed {"raw_longitude":764015744,"raw_latitude":96736888,"longitude_deg":76.4015744,"latitude_deg":9.6736888,"altitude":6,"angle":108,"satellites":38,"speed":17,"hex_longitude":"2d89f480","hex_latitude":"05c41678","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554162944001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121968416847298560,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8515392076917882880,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787320965000,"timestamp_ms":1787320965000,"timestamp_seconds":1787320965,"priority":1,"record_length":96,"hex_timestamp":"000001a024a19788"} 
[2026-08-21 19:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902166716928,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2639123675310033240,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2304524293,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":1407374884208644,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832609,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3430899374408663246,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2814181582,"corrected_to":0} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2147861580,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3293462528,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":11,"raw_value":30157404993748992,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-3963167672086036479,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":415543171129999443,"note":"Value kept but may cause issues"} 
[2026-08-21 19:34:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,189,85,24,241,157,16,81,160,22,45,128,46,12,36,10,66,80,208,192,59,35,126,1,240,124,227,196,4,113,205,6,40,91,248,239,48,2,177,5,11,79,64],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2814181582,"validated":0}]} 
[2026-08-21 19:34:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792754643906461696,"timestamp_seconds":792754643906461.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554162944001,"66":11917,"96":206,"85":13824,"24":17,"16":121968416847298560,"45":-8515392076917882880},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 19:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554162944001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:34:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 19:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 19:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121968416847298560,"km_value":121968416847298.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8515392076917882880,"description":"Unknown IO ID 45"} 
[2026-08-21 19:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554162944001,"power":11917,"unknown_96":206,"unknown_85":13824,"ignition":17,"odometer":null,"unknown_45":-8515392076917882880}} 
[2026-08-21 19:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":161866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:34:59] local.INFO: GPS data processed {"connection_id":161866,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:34:59] local.INFO: Acknowledgment sent {"connection_id":161866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:35:01] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:01] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:01] local.INFO: IMEI packet received {"connection_id":159571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":159571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:35:02] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:02] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:02] local.INFO: IMEI packet received {"connection_id":159571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":159571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:35:02] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:35:02] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:35:02] local.INFO: IMEI packet received {"connection_id":160469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":160469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:35:03] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:35:03] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:35:03] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:35:03] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:35:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:35:03] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:35:03] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:35:06] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:06] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:35:06] local.INFO: IMEI packet received {"connection_id":159571,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":159571,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:35:06] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249f93e8012d193f00071ffa080038010326..."} 
[2026-08-21 19:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249f93e8012d193f00071ffa080038010326..."} 
[2026-08-21 19:35:06] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249f93e8012d193f00071ffa080038010326..."} 
[2026-08-21 19:35:06] local.INFO: Packet analysis {"connection_id":159571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249f"} 
[2026-08-21 19:35:06] local.INFO: Extracted packet for processing {"connection_id":159571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249f"} 
[2026-08-21 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554127872001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787320833000,"timestamp_ms":1787320833000,"timestamp_seconds":1787320833,"priority":1,"record_length":96,"hex_timestamp":"000001a0249f93e8"} 
[2026-08-21 19:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 19:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554127872001,"66":12950,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554127872001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554127872001,"power":12950,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":159571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:35:06] local.INFO: GPS data processed {"connection_id":159571,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:35:06] local.INFO: Acknowledgment sent {"connection_id":159571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:35:06] local.INFO: TCP Data received {"connection_id":161866,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024a1e5a8012d8a158005c40a400006006c24..."} 
[2026-08-21 19:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a1e5a8012d8a158005c40a400006006c24..."} 
[2026-08-21 19:35:06] local.INFO: Processing buffer {"connection_id":161866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a1e5a8012d8a158005c40a400006006c24..."} 
[2026-08-21 19:35:06] local.INFO: Packet analysis {"connection_id":161866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:35:06] local.INFO: Extracted packet for processing {"connection_id":161866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a1"} 
[2026-08-21 19:35:06] local.INFO: GPS Element Parsed {"raw_longitude":764024192,"raw_latitude":96733760,"longitude_deg":76.4024192,"latitude_deg":9.673376,"altitude":6,"angle":108,"satellites":36,"speed":20,"hex_longitude":"2d8a1580","hex_latitude":"05c40a40","is_valid_coordinates":true} 
[2026-08-21 19:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554167040001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121968850638995456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8506033033943025664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787320985000,"timestamp_ms":1787320985000,"timestamp_seconds":1787320985,"priority":1,"record_length":96,"hex_timestamp":"000001a024a1e5a8"} 
[2026-08-21 19:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:35: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-08-21 19:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-08-21 19:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161866,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554167040001,"66":12156,"96":206,"85":13824,"24":20,"16":121968850638995456,"45":-8506033033943025664},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 19:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554167040001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 19:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121968850638995456,"km_value":121968850638995.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8506033033943025664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554167040001,"power":12156,"unknown_96":206,"unknown_85":13824,"ignition":20,"odometer":null,"unknown_45":-8506033033943025664}} 
[2026-08-21 19:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":161866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:35:06] local.INFO: GPS data processed {"connection_id":161866,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:35:06] local.INFO: Acknowledgment sent {"connection_id":161866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:35:34] local.INFO: TCP Data received {"connection_id":160469,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:35:34] local.INFO: Processing buffer {"connection_id":160469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:35:34] local.INFO: Packet analysis {"connection_id":160469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:35:34] local.INFO: Extracted packet for processing {"connection_id":160469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:35:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":160469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:35:34] local.INFO: GPS data processed {"connection_id":160469,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:35:34] local.INFO: Acknowledgment sent {"connection_id":160469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:35:37] local.INFO: TCP Data received {"connection_id":159571,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0249fe5f0012d193f00071ffa080038010329..."} 
[2026-08-21 19:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0249fe5f0012d193f00071ffa080038010329..."} 
[2026-08-21 19:35:37] local.INFO: Processing buffer {"connection_id":159571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0249fe5f0012d193f00071ffa080038010329..."} 
[2026-08-21 19:35:37] local.INFO: Packet analysis {"connection_id":159571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0249f"} 
[2026-08-21 19:35:37] local.INFO: Extracted packet for processing {"connection_id":159571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0249f"} 
[2026-08-21 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554133248001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787320854000,"timestamp_ms":1787320854000,"timestamp_seconds":1787320854,"priority":1,"record_length":96,"hex_timestamp":"000001a0249fe5f0"} 
[2026-08-21 19:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-08-21 19:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159571,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554133248001,"66":12885,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554133248001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:35:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554133248001,"power":12885,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":159571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:35:38] local.INFO: GPS data processed {"connection_id":159571,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:35:38] local.INFO: Acknowledgment sent {"connection_id":159571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:35:57] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:35:57] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:35:57] local.INFO: IMEI packet received {"connection_id":159283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":159283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:35:58] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:35:58] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:35:58] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:36:00] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:36:00] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:36:00] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:36:03] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:36:03] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:36:03] local.INFO: IMEI packet received {"connection_id":159283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":159283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:36:04] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:04] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:04] local.INFO: IMEI packet received {"connection_id":160470,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":160470,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:36:04] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:36:04] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:36:04] local.INFO: Packet analysis {"connection_id":159283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:36:04] local.INFO: Extracted packet for processing {"connection_id":159283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:36: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-08-21 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:36: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-08-21 19:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:36:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":159283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:36:04] local.INFO: GPS data processed {"connection_id":159283,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:36:04] local.INFO: Acknowledgment sent {"connection_id":159283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:36:04] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a45e78012d8b1d0005c3c0200005005e25..."} 
[2026-08-21 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a45e78012d8b1d0005c3c0200005005e25..."} 
[2026-08-21 19:36:04] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a45e78012d8b1d0005c3c0200005005e25..."} 
[2026-08-21 19:36:04] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:36:04] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:36:04] local.INFO: GPS Element Parsed {"raw_longitude":764091648,"raw_latitude":96714784,"longitude_deg":76.4091648,"latitude_deg":9.6714784,"altitude":5,"angle":94,"satellites":37,"speed":24,"hex_longitude":"2d8b1d00","hex_latitude":"05c3c020","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554210304001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121972230778257408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8432779171259570176,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787321147000,"timestamp_ms":1787321147000,"timestamp_seconds":1787321147,"priority":1,"record_length":96,"hex_timestamp":"000001a024a45e78"} 
[2026-08-21 19:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:36: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-08-21 19: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 19:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":715,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554210304001,"66":12298,"77":206,"83":16384,"24":24,"16":121972230778257408,"45":-8432779171259570176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,83,24,16,45]} 
[2026-08-21 19:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554210304001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:36:04] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-08-21 19:36:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121972230778257408,"km_value":121972230778257.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8432779171259570176,"description":"Unknown IO ID 45"} 
[2026-08-21 19:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554210304001,"power":12298,"unknown_77":206,"unknown_83":16384,"ignition":24,"odometer":null,"unknown_45":-8432779171259570176}} 
[2026-08-21 19:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:36:05] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:36:05] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:36:05] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:36:05] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:36:05] local.INFO: IMEI packet received {"connection_id":161867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":161867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:36:06] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a36c48012d193f00071ffa080038010327..."} 
[2026-08-21 19:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a36c48012d193f00071ffa080038010327..."} 
[2026-08-21 19:36:06] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a36c48012d193f00071ffa080038010327..."} 
[2026-08-21 19:36:06] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a3"} 
[2026-08-21 19:36:06] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a3"} 
[2026-08-21 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554192384001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787321085000,"timestamp_ms":1787321085000,"timestamp_seconds":1787321085,"priority":1,"record_length":96,"hex_timestamp":"000001a024a36c48"} 
[2026-08-21 19:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 19:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554192384001,"66":12743,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554192384001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554192384001,"power":12743,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:36:06] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:36:06] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:36:35] local.INFO: TCP Data received {"connection_id":159283,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:36:35] local.INFO: Processing buffer {"connection_id":159283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:36:35] local.INFO: Packet analysis {"connection_id":159283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:36:35] local.INFO: Extracted packet for processing {"connection_id":159283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:36:35] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:36:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:36:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:36:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":159283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:36:35] local.INFO: GPS data processed {"connection_id":159283,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:36:35] local.INFO: Acknowledgment sent {"connection_id":159283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:36:36] local.INFO: TCP Data received {"connection_id":160470,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a49910012d8b434005c3c0580004005126..."} 
[2026-08-21 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a49910012d8b434005c3c0580004005126..."} 
[2026-08-21 19:36:36] local.INFO: Processing buffer {"connection_id":160470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a49910012d8b434005c3c0580004005126..."} 
[2026-08-21 19:36:36] local.INFO: Packet analysis {"connection_id":160470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:36:36] local.INFO: Extracted packet for processing {"connection_id":160470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":764101440,"raw_latitude":96714840,"longitude_deg":76.410144,"latitude_deg":9.671484,"altitude":4,"angle":81,"satellites":38,"speed":31,"hex_longitude":"2d8b4340","hex_latitude":"05c3c058","is_valid_coordinates":true} 
[2026-08-21 19:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554213632001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121972698929692672,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8422575703353974784,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787321162000,"timestamp_ms":1787321162000,"timestamp_seconds":1787321162,"priority":1,"record_length":96,"hex_timestamp":"000001a024a49910"} 
[2026-08-21 19:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":792633534417207297,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3458790902233825792,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2639819460011985488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204500904,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":415445417673883758,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3286966272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832609,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002798417051854,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2742806529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2824011982,"corrected_to":0} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3673686026,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":41,"raw_value":5910974511579140,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.WARNING: Large IO value detected {"io_id":9,"raw_value":31570277502550016,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,77,83,24,241,157,16,85,160,43,45,192,194,5,37,10,66,189,84,252,64,197,3,36,205,1,240,227,195,4,113,11,41,127,40,239,2,177,9],"length":534,"final_offset":664,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2824011982,"validated":0}]} 
[2026-08-21 19:36:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360391483198013440,"timestamp_seconds":360391483198013.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":160470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":160470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":160470,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554213632001,"66":12341,"79":206,"83":16384,"24":31,"16":121972698929692672,"45":-8422575703353974784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-21 19:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554213632001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:36:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-21 19:36:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121972698929692672,"km_value":121972698929692.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8422575703353974784,"description":"Unknown IO ID 45"} 
[2026-08-21 19:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554213632001,"power":12341,"unknown_79":206,"unknown_83":16384,"ignition":31,"odometer":null,"unknown_45":-8422575703353974784}} 
[2026-08-21 19:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":160470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:36:36] local.INFO: GPS data processed {"connection_id":160470,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:36:36] local.INFO: Acknowledgment sent {"connection_id":160470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:36:37] local.INFO: TCP Data received {"connection_id":161867,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a3be50012d193f00071ffa080038010328..."} 
[2026-08-21 19:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a3be50012d193f00071ffa080038010328..."} 
[2026-08-21 19:36:37] local.INFO: Processing buffer {"connection_id":161867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a3be50012d193f00071ffa080038010328..."} 
[2026-08-21 19:36:37] local.INFO: Packet analysis {"connection_id":161867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a3"} 
[2026-08-21 19:36:37] local.INFO: Extracted packet for processing {"connection_id":161867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a3"} 
[2026-08-21 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554197760001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787321106000,"timestamp_ms":1787321106000,"timestamp_seconds":1787321106,"priority":1,"record_length":96,"hex_timestamp":"000001a024a3be50"} 
[2026-08-21 19:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-08-21 19:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554197760001,"66":12722,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554197760001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554197760001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":161867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:36:37] local.INFO: GPS data processed {"connection_id":161867,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:36:37] local.INFO: Acknowledgment sent {"connection_id":161867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:36:53] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:53] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:53] local.INFO: IMEI packet received {"connection_id":161868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":161868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:36:57] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:36:57] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:36:57] local.INFO: IMEI packet received {"connection_id":159572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":159572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:36:58] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:58] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:36:58] local.INFO: IMEI packet received {"connection_id":161868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":161868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:36:59] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a49910012d8b434005c3c0580004005126..."} 
[2026-08-21 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a49910012d8b434005c3c0580004005126..."} 
[2026-08-21 19:36:59] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a49910012d8b434005c3c0580004005126..."} 
[2026-08-21 19:36:59] local.INFO: Packet analysis {"connection_id":161868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:36:59] local.INFO: Extracted packet for processing {"connection_id":161868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:36:59] local.INFO: GPS Element Parsed {"raw_longitude":764101440,"raw_latitude":96714840,"longitude_deg":76.410144,"latitude_deg":9.671484,"altitude":4,"angle":81,"satellites":38,"speed":31,"hex_longitude":"2d8b4340","hex_latitude":"05c3c058","is_valid_coordinates":true} 
[2026-08-21 19:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554217472001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121972698929692672,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8411809285494777856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787321162000,"timestamp_ms":1787321162000,"timestamp_seconds":1787321162,"priority":1,"record_length":96,"hex_timestamp":"000001a024a49910"} 
[2026-08-21 19:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 19:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554217472001,"66":12341,"79":206,"83":16384,"24":31,"16":121972698929692672,"45":-8411809285494777856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-21 19:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554217472001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:36:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-21 19:36:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121972698929692672,"km_value":121972698929692.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8411809285494777856,"description":"Unknown IO ID 45"} 
[2026-08-21 19:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554217472001,"power":12341,"unknown_79":206,"unknown_83":16384,"ignition":31,"odometer":null,"unknown_45":-8411809285494777856}} 
[2026-08-21 19:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":161868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:36:59] local.INFO: GPS data processed {"connection_id":161868,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:36:59] local.INFO: Acknowledgment sent {"connection_id":161868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:37:00] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:37:00] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:37:00] local.INFO: IMEI packet received {"connection_id":160471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":160471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:37:02] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:37:02] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:37:02] local.INFO: IMEI packet received {"connection_id":159572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":159572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:37:03] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:37:03] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:37:03] local.INFO: Packet analysis {"connection_id":159572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:37:03] local.INFO: Extracted packet for processing {"connection_id":159572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:37:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:37:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":159572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:37:03] local.INFO: GPS data processed {"connection_id":159572,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:37:03] local.INFO: Acknowledgment sent {"connection_id":159572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:37:06] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:37:06] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:37:06] local.INFO: IMEI packet received {"connection_id":160471,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":160471,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:37:07] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a41058012d193f00071ffa080038010329..."} 
[2026-08-21 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a41058012d193f00071ffa080038010329..."} 
[2026-08-21 19:37:07] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a41058012d193f00071ffa080038010329..."} 
[2026-08-21 19:37:07] local.INFO: Packet analysis {"connection_id":160471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:37:07] local.INFO: Extracted packet for processing {"connection_id":160471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554203136001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321127000,"timestamp_ms":1787321127000,"timestamp_seconds":1787321127,"priority":1,"record_length":96,"hex_timestamp":"000001a024a41058"} 
[2026-08-21 19:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 19:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554203136001,"66":12722,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554203136001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:37:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554203136001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":160471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:37:07] local.INFO: GPS data processed {"connection_id":160471,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:37:07] local.INFO: Acknowledgment sent {"connection_id":160471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:37:30] local.INFO: TCP Data received {"connection_id":161868,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a4bc38012d8b648005c3c4180004005d26..."} 
[2026-08-21 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a4bc38012d8b648005c3c4180004005d26..."} 
[2026-08-21 19:37:30] local.INFO: Processing buffer {"connection_id":161868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a4bc38012d8b648005c3c4180004005d26..."} 
[2026-08-21 19:37:30] local.INFO: Packet analysis {"connection_id":161868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:37:30] local.INFO: Extracted packet for processing {"connection_id":161868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":764109952,"raw_latitude":96715800,"longitude_deg":76.4109952,"latitude_deg":9.67158,"altitude":4,"angle":93,"satellites":38,"speed":39,"hex_longitude":"2d8b6480","hex_latitude":"05c3c418","is_valid_coordinates":true} 
[2026-08-21 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554217472001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121973111246553088,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8411809285494777856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787321171000,"timestamp_ms":1787321171000,"timestamp_seconds":1787321171,"priority":1,"record_length":96,"hex_timestamp":"000001a024a4bc38"} 
[2026-08-21 19:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 19:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554217472001,"66":12037,"79":206,"83":16384,"24":39,"16":121973111246553088,"45":-8411809285494777856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-21 19:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554217472001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:37:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-21 19:37:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121973111246553088,"km_value":121973111246553.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8411809285494777856,"description":"Unknown IO ID 45"} 
[2026-08-21 19:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554217472001,"power":12037,"unknown_79":206,"unknown_83":16384,"ignition":39,"odometer":null,"unknown_45":-8411809285494777856}} 
[2026-08-21 19:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":161868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:37:30] local.INFO: GPS data processed {"connection_id":161868,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:37:30] local.INFO: Acknowledgment sent {"connection_id":161868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:37:34] local.INFO: TCP Data received {"connection_id":159572,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:37:34] local.INFO: Processing buffer {"connection_id":159572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:37:34] local.INFO: Packet analysis {"connection_id":159572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:37:34] local.INFO: Extracted packet for processing {"connection_id":159572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:37:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":159572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:37:34] local.INFO: GPS data processed {"connection_id":159572,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:37:34] local.INFO: Acknowledgment sent {"connection_id":159572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:37:38] local.INFO: TCP Data received {"connection_id":160471,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a46260012d193f00071ffa08003801032a..."} 
[2026-08-21 19:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a46260012d193f00071ffa08003801032a..."} 
[2026-08-21 19:37:38] local.INFO: Processing buffer {"connection_id":160471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a46260012d193f00071ffa08003801032a..."} 
[2026-08-21 19:37:38] local.INFO: Packet analysis {"connection_id":160471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:37:38] local.INFO: Extracted packet for processing {"connection_id":160471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554208512001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787321148000,"timestamp_ms":1787321148000,"timestamp_seconds":1787321148,"priority":1,"record_length":96,"hex_timestamp":"000001a024a46260"} 
[2026-08-21 19:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-08-21 19:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160471,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554208512001,"66":12689,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554208512001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:37:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554208512001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":160471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:37:38] local.INFO: GPS data processed {"connection_id":160471,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:37:38] local.INFO: Acknowledgment sent {"connection_id":160471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:37:53] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:53] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:53] local.INFO: IMEI packet received {"connection_id":159573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":159573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:37:56] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:56] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:56] local.INFO: IMEI packet received {"connection_id":159573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":159573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:37:59] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:59] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:37:59] local.INFO: IMEI packet received {"connection_id":159573,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":159573,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:38:00] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a4cbd8012d8b70c005c3c2880004006926..."} 
[2026-08-21 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a4cbd8012d8b70c005c3c2880004006926..."} 
[2026-08-21 19:38:00] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a4cbd8012d8b70c005c3c2880004006926..."} 
[2026-08-21 19:38:00] local.INFO: Packet analysis {"connection_id":159573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:38:00] local.INFO: Extracted packet for processing {"connection_id":159573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:38:00] local.INFO: GPS Element Parsed {"raw_longitude":764113088,"raw_latitude":96715400,"longitude_deg":76.4113088,"latitude_deg":9.67154,"altitude":4,"angle":105,"satellites":38,"speed":23,"hex_longitude":"2d8b70c0","hex_latitude":"05c3c288","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554219776001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121973261570408448,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8402450242518902784,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787321175000,"timestamp_ms":1787321175000,"timestamp_seconds":1787321175,"priority":1,"record_length":96,"hex_timestamp":"000001a024a4cbd8"} 
[2026-08-21 19:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1801439851115971584,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2331557893,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3265789957,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6359926212584800232,"corrected_to":0} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":252,"raw_value":3489738122,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182255479423232,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3355495847,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-4337159955120361944,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194855680,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:00] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,79,83,24,241,157,16,85,160,153,45,64,192,4,38,10,66,94,1,240,227,36,195,113,205,29,252,213,216,239,47,189,2,177,5,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-6359926212584800232,"validated":0}]} 
[2026-08-21 19:38:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288332793944408064,"timestamp_seconds":288332793944408.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554219776001,"66":12069,"79":206,"83":16384,"24":23,"16":121973261570408448,"45":-8402450242518902784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,83,24,16,45]} 
[2026-08-21 19:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554219776001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-08-21 19:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121973261570408448,"km_value":121973261570408.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8402450242518902784,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554219776001,"power":12069,"unknown_79":206,"unknown_83":16384,"ignition":23,"odometer":null,"unknown_45":-8402450242518902784}} 
[2026-08-21 19:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":159573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:00] local.INFO: GPS data processed {"connection_id":159573,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:00] local.INFO: Acknowledgment sent {"connection_id":159573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:38:02] local.INFO: TCP Data received {"connection_id":159574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:02] local.INFO: Processing buffer {"connection_id":159574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:02] local.INFO: IMEI packet received {"connection_id":159574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":159574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:38:06] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:38:06] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:38:06] local.INFO: IMEI packet received {"connection_id":159575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":159575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:38:07] local.INFO: TCP Data received {"connection_id":159574,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:07] local.INFO: Processing buffer {"connection_id":159574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:07] local.INFO: IMEI packet received {"connection_id":159574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":159574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:38:07] local.INFO: TCP Data received {"connection_id":159574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:38:07] local.INFO: Processing buffer {"connection_id":159574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:38:07] local.INFO: Packet analysis {"connection_id":159574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:38:07] local.INFO: Extracted packet for processing {"connection_id":159574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:38:07] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":159574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:07] local.INFO: GPS data processed {"connection_id":159574,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:07] local.INFO: Acknowledgment sent {"connection_id":159574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:38:11] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:38:11] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:38:11] local.INFO: IMEI packet received {"connection_id":159575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":159575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:38:11] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a4b468012d193f00071ffa080038010329..."} 
[2026-08-21 19:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a4b468012d193f00071ffa080038010329..."} 
[2026-08-21 19:38:11] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a4b468012d193f00071ffa080038010329..."} 
[2026-08-21 19:38:11] local.INFO: Packet analysis {"connection_id":159575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:38:11] local.INFO: Extracted packet for processing {"connection_id":159575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a4"} 
[2026-08-21 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554213888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787321169000,"timestamp_ms":1787321169000,"timestamp_seconds":1787321169,"priority":1,"record_length":96,"hex_timestamp":"000001a024a4b468"} 
[2026-08-21 19:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554213888001,"66":12689,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554213888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:38:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554213888001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":159575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:11] local.INFO: GPS data processed {"connection_id":159575,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:11] local.INFO: Acknowledgment sent {"connection_id":159575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:38:12] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a50670012d193f00071ffa080038010329..."} 
[2026-08-21 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a50670012d193f00071ffa080038010329..."} 
[2026-08-21 19:38:12] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a50670012d193f00071ffa080038010329..."} 
[2026-08-21 19:38:12] local.INFO: Packet analysis {"connection_id":159575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:38:12] local.INFO: Extracted packet for processing {"connection_id":159575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554219264001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787321190000,"timestamp_ms":1787321190000,"timestamp_seconds":1787321190,"priority":1,"record_length":96,"hex_timestamp":"000001a024a50670"} 
[2026-08-21 19:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554219264001,"66":12613,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554219264001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:38:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554219264001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":159575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:12] local.INFO: GPS data processed {"connection_id":159575,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:12] local.INFO: Acknowledgment sent {"connection_id":159575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:38:12] local.INFO: TCP Data received {"connection_id":159574,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:38:12] local.INFO: Processing buffer {"connection_id":159574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:38:12] local.INFO: Packet analysis {"connection_id":159574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:38:12] local.INFO: Extracted packet for processing {"connection_id":159574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":159574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:12] local.INFO: GPS data processed {"connection_id":159574,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:12] local.INFO: Acknowledgment sent {"connection_id":159574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:38:31] local.INFO: TCP Data received {"connection_id":159573,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a64e90012d8c460005c3e6a00002004829..."} 
[2026-08-21 19:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a64e90012d8c460005c3e6a00002004829..."} 
[2026-08-21 19:38:31] local.INFO: Processing buffer {"connection_id":159573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a64e90012d8c460005c3e6a00002004829..."} 
[2026-08-21 19:38:31] local.INFO: Packet analysis {"connection_id":159573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:38:31] local.INFO: Extracted packet for processing {"connection_id":159573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":764167680,"raw_latitude":96724640,"longitude_deg":76.416768,"latitude_deg":9.672464,"altitude":2,"angle":72,"satellites":41,"speed":26,"hex_longitude":"2d8c4600","hex_latitude":"05c3e6a0","is_valid_coordinates":true} 
[2026-08-21 19:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554241024001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121976001759543296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8348829259454056448,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787321274000,"timestamp_ms":1787321274000,"timestamp_seconds":1787321274,"priority":1,"record_length":96,"hex_timestamp":"000001a024a64e90"} 
[2026-08-21 19:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159573,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554241024001,"66":12058,"205":206,"83":16384,"24":26,"16":121976001759543296,"45":-8348829259454056448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,83,24,16,45]} 
[2026-08-21 19:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554241024001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121976001759543296,"km_value":121976001759543.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8348829259454056448,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554241024001,"power":12058,"cell_id":206,"unknown_83":16384,"ignition":26,"odometer":null,"unknown_45":-8348829259454056448}} 
[2026-08-21 19:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":159573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:31] local.INFO: GPS data processed {"connection_id":159573,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:31] local.INFO: Acknowledgment sent {"connection_id":159573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:38:43] local.INFO: TCP Data received {"connection_id":159575,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a55878012d193f00071ffa08003801032a..."} 
[2026-08-21 19:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a55878012d193f00071ffa08003801032a..."} 
[2026-08-21 19:38:43] local.INFO: Processing buffer {"connection_id":159575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a55878012d193f00071ffa08003801032a..."} 
[2026-08-21 19:38:43] local.INFO: Packet analysis {"connection_id":159575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:38:43] local.INFO: Extracted packet for processing {"connection_id":159575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554224640001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787321211000,"timestamp_ms":1787321211000,"timestamp_seconds":1787321211,"priority":1,"record_length":96,"hex_timestamp":"000001a024a55878"} 
[2026-08-21 19:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554224640001,"66":12689,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554224640001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:38:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554224640001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":159575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:43] local.INFO: GPS data processed {"connection_id":159575,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:43] local.INFO: Acknowledgment sent {"connection_id":159575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:38:53] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:53] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:53] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:38:54] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:54] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:54] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:38:57] local.INFO: TCP Data received {"connection_id":159284,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:57] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:38:57] local.INFO: IMEI packet received {"connection_id":159284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":159284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:38:58] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:58] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:38:58] local.INFO: IMEI packet received {"connection_id":160472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":160472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:38:59] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a68928012d8c698005c3f2f8000300482a..."} 
[2026-08-21 19:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a68928012d8c698005c3f2f8000300482a..."} 
[2026-08-21 19:38:59] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a68928012d8c698005c3f2f8000300482a..."} 
[2026-08-21 19:38:59] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:38:59] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:38:59] local.INFO: GPS Element Parsed {"raw_longitude":764176768,"raw_latitude":96727800,"longitude_deg":76.4176768,"latitude_deg":9.67278,"altitude":3,"angle":72,"satellites":42,"speed":24,"hex_longitude":"2d8c6980","hex_latitude":"05c3f2f8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554246144001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121976461321043968,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8338977635268386816,"note":"Value kept but may cause issues"} 
[2026-08-21 19:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787321289000,"timestamp_ms":1787321289000,"timestamp_seconds":1787321289,"priority":1,"record_length":96,"hex_timestamp":"000001a024a68928"} 
[2026-08-21 19:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554246144001,"66":12232,"205":206,"83":16384,"24":24,"16":121976461321043968,"45":-8338977635268386816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,83,24,16,45]} 
[2026-08-21 19:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554246144001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121976461321043968,"km_value":121976461321043.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8338977635268386816,"description":"Unknown IO ID 45"} 
[2026-08-21 19:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554246144001,"power":12232,"cell_id":206,"unknown_83":16384,"ignition":24,"odometer":null,"unknown_45":-8338977635268386816}} 
[2026-08-21 19:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:38:59] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:38:59] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:39:01] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:39:01] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:39:01] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:39:02] local.INFO: TCP Data received {"connection_id":159284,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:39:02] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:39:02] local.INFO: IMEI packet received {"connection_id":159284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":159284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:39:03] local.INFO: TCP Data received {"connection_id":159284,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:39:03] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a27248012d9e4200055ace48000800012d..."} 
[2026-08-21 19:39:03] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:39:03] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a2"} 
[2026-08-21 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554104320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321021000,"timestamp_ms":1787321021000,"timestamp_seconds":1787321021,"priority":1,"record_length":96,"hex_timestamp":"000001a024a27248"} 
[2026-08-21 19:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-08-21 19:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554104320001,"66":25343,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554104320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:39:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554104320001,"power":25343,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:39:03] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:39:03] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:39:06] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:39:06] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:39:06] local.INFO: IMEI packet received {"connection_id":160473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":160473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:39:07] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a5aa80012d193f00071ffa080038010325..."} 
[2026-08-21 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a5aa80012d193f00071ffa080038010325..."} 
[2026-08-21 19:39:07] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a5aa80012d193f00071ffa080038010325..."} 
[2026-08-21 19:39:07] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:39:07] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554230016001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321232000,"timestamp_ms":1787321232000,"timestamp_seconds":1787321232,"priority":1,"record_length":96,"hex_timestamp":"000001a024a5aa80"} 
[2026-08-21 19:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-08-21 19:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554230016001,"66":12558,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554230016001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:39:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:39:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554230016001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:39:07] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:39:07] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:39:30] local.INFO: TCP Data received {"connection_id":160472,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a6c3c0012d8c8b8005c3fe70000400472a..."} 
[2026-08-21 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a6c3c0012d8c8b8005c3fe70000400472a..."} 
[2026-08-21 19:39:30] local.INFO: Processing buffer {"connection_id":160472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a6c3c0012d8c8b8005c3fe70000400472a..."} 
[2026-08-21 19:39:30] local.INFO: Packet analysis {"connection_id":160472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:39:30] local.INFO: Extracted packet for processing {"connection_id":160472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:39:30] local.INFO: GPS Element Parsed {"raw_longitude":764185472,"raw_latitude":96730736,"longitude_deg":76.4185472,"latitude_deg":9.6730736,"altitude":4,"angle":71,"satellites":42,"speed":24,"hex_longitude":"2d8c8b80","hex_latitude":"05c3fe70","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554249984001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121976903702675456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8328985273594349568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787321304000,"timestamp_ms":1787321304000,"timestamp_seconds":1787321304,"priority":1,"record_length":96,"hex_timestamp":"000001a024a6c3c0"} 
[2026-08-21 19:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554249984001,"66":12232,"205":206,"83":16384,"24":24,"16":121976903702675456,"45":-8328985273594349568},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,83,24,16,45]} 
[2026-08-21 19:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554249984001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:39:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121976903702675456,"km_value":121976903702675.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8328985273594349568,"description":"Unknown IO ID 45"} 
[2026-08-21 19:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554249984001,"power":12232,"cell_id":206,"unknown_83":16384,"ignition":24,"odometer":null,"unknown_45":-8328985273594349568}} 
[2026-08-21 19:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":160472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:39:30] local.INFO: GPS data processed {"connection_id":160472,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:39:30] local.INFO: Acknowledgment sent {"connection_id":160472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:39:35] local.INFO: TCP Data received {"connection_id":159284,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:39:35] local.INFO: Processing buffer {"connection_id":159284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:39:35] local.INFO: Packet analysis {"connection_id":159284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:39:35] local.INFO: Extracted packet for processing {"connection_id":159284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:39:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:39:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":159284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:39:35] local.INFO: GPS data processed {"connection_id":159284,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:39:35] local.INFO: Acknowledgment sent {"connection_id":159284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:39:38] local.INFO: TCP Data received {"connection_id":160473,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a5fc88012d193f00071ffa080038010326..."} 
[2026-08-21 19:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a5fc88012d193f00071ffa080038010326..."} 
[2026-08-21 19:39:38] local.INFO: Processing buffer {"connection_id":160473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a5fc88012d193f00071ffa080038010326..."} 
[2026-08-21 19:39:38] local.INFO: Packet analysis {"connection_id":160473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:39:38] local.INFO: Extracted packet for processing {"connection_id":160473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a5"} 
[2026-08-21 19:39:38] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554235392001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787321253000,"timestamp_ms":1787321253000,"timestamp_seconds":1787321253,"priority":1,"record_length":96,"hex_timestamp":"000001a024a5fc88"} 
[2026-08-21 19:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:39:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249697875476609544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2757910529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4194828344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3885367296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:38] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,231,160,88,45,250,56,42,10,66,6,41,180,1,240,145,227,36,31,4,113,205,63,8,239,49,2,50,7,120,77,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 19:39:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035510198549348352,"timestamp_seconds":4035510198549348.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:39:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554235392001,"66":12591,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554235392001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:39:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:39:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554235392001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":160473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:39:38] local.INFO: GPS data processed {"connection_id":160473,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:39:38] local.INFO: Acknowledgment sent {"connection_id":160473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:39:53] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:39:53] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:39:53] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:39:57] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:39:57] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:39:57] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:39:58] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:39:58] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:39:58] local.INFO: IMEI packet received {"connection_id":161869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":161869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:39:59] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a6fe58012d8cadc005c40a080005004528..."} 
[2026-08-21 19:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a6fe58012d8cadc005c40a080005004528..."} 
[2026-08-21 19:39:59] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a6fe58012d8cadc005c40a080005004528..."} 
[2026-08-21 19:39:59] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:39:59] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:39:59] local.INFO: GPS Element Parsed {"raw_longitude":764194240,"raw_latitude":96733704,"longitude_deg":76.419424,"latitude_deg":9.6733704,"altitude":5,"angle":69,"satellites":40,"speed":25,"hex_longitude":"2d8cadc0","hex_latitude":"05c40a08","is_valid_coordinates":true} 
[2026-08-21 19:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554253824001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121977346084306944,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8319415124385435648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787321319000,"timestamp_ms":1787321319000,"timestamp_seconds":1787321319,"priority":1,"record_length":96,"hex_timestamp":"000001a024a6fe58"} 
[2026-08-21 19:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554253824001,"66":12189,"205":206,"83":16384,"24":25,"16":121977346084306944,"45":-8319415124385435648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,83,24,16,45]} 
[2026-08-21 19:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554253824001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:39:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121977346084306944,"km_value":121977346084306.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8319415124385435648,"description":"Unknown IO ID 45"} 
[2026-08-21 19:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554253824001,"power":12189,"cell_id":206,"unknown_83":16384,"ignition":25,"odometer":null,"unknown_45":-8319415124385435648}} 
[2026-08-21 19:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:39:59] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:39:59] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:40:01] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:01] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:01] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:40:02] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:40:02] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:40:02] local.INFO: IMEI packet received {"connection_id":161870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":161870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:40:03] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:40:03] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:40:03] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:40:03] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:40:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:40:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:40:03] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:40:03] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:40:06] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:06] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:06] local.INFO: IMEI packet received {"connection_id":161871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":161871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:40:07] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a64e90012d193f00071ffa080038010329..."} 
[2026-08-21 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a64e90012d193f00071ffa080038010329..."} 
[2026-08-21 19:40:07] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a64e90012d193f00071ffa080038010329..."} 
[2026-08-21 19:40:07] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:40:07] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554240768001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321274000,"timestamp_ms":1787321274000,"timestamp_seconds":1787321274,"priority":1,"record_length":96,"hex_timestamp":"000001a024a64e90"} 
[2026-08-21 19:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 19:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554240768001,"66":12591,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554240768001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:40:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:40:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554240768001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:40:07] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:40:07] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:40:30] local.INFO: TCP Data received {"connection_id":161869,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a84a60012d8ced0005c48438000a01662a..."} 
[2026-08-21 19:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a84a60012d8ced0005c48438000a01662a..."} 
[2026-08-21 19:40:30] local.INFO: Processing buffer {"connection_id":161869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a84a60012d8ced0005c48438000a01662a..."} 
[2026-08-21 19:40:30] local.INFO: Packet analysis {"connection_id":161869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:40:30] local.INFO: Extracted packet for processing {"connection_id":161869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:40:30] local.INFO: GPS Element Parsed {"raw_longitude":764210432,"raw_latitude":96764984,"longitude_deg":76.4210432,"latitude_deg":9.6764984,"altitude":10,"angle":358,"satellites":42,"speed":32,"hex_longitude":"2d8ced00","hex_latitude":"05c48438","is_valid_coordinates":true} 
[2026-08-21 19:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554276096001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121979661071679488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8291267626708013056,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787321404000,"timestamp_ms":1787321404000,"timestamp_seconds":1787321404,"priority":1,"record_length":96,"hex_timestamp":"000001a024a84a60"} 
[2026-08-21 19:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:40: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-08-21 19:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-21 19:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554276096001,"66":12178,"207":206,"83":16384,"24":32,"16":121979661071679488,"45":-8291267626708013056},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-21 19:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554276096001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:40:30] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 19:40:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121979661071679488,"km_value":121979661071679.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8291267626708013056,"description":"Unknown IO ID 45"} 
[2026-08-21 19:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554276096001,"power":12178,"unknown_207":206,"unknown_83":16384,"ignition":32,"odometer":null,"unknown_45":-8291267626708013056}} 
[2026-08-21 19:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":161869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:40:30] local.INFO: GPS data processed {"connection_id":161869,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:40:30] local.INFO: Acknowledgment sent {"connection_id":161869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:40:34] local.INFO: TCP Data received {"connection_id":161870,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:40:34] local.INFO: Processing buffer {"connection_id":161870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:40:34] local.INFO: Packet analysis {"connection_id":161870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:40:34] local.INFO: Extracted packet for processing {"connection_id":161870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:40:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:40:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":161870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:40:34] local.INFO: GPS data processed {"connection_id":161870,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:40:34] local.INFO: Acknowledgment sent {"connection_id":161870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:40:38] local.INFO: TCP Data received {"connection_id":161871,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a6a098012d193f00071ffa080038010329..."} 
[2026-08-21 19:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a6a098012d193f00071ffa080038010329..."} 
[2026-08-21 19:40:38] local.INFO: Processing buffer {"connection_id":161871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a6a098012d193f00071ffa080038010329..."} 
[2026-08-21 19:40:38] local.INFO: Packet analysis {"connection_id":161871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:40:38] local.INFO: Extracted packet for processing {"connection_id":161871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554246144001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787321295000,"timestamp_ms":1787321295000,"timestamp_seconds":1787321295,"priority":1,"record_length":96,"hex_timestamp":"000001a024a6a098"} 
[2026-08-21 19:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-08-21 19:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554246144001,"66":12602,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554246144001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:40:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554246144001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":161871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:40:38] local.INFO: GPS data processed {"connection_id":161871,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:40:38] local.INFO: Acknowledgment sent {"connection_id":161871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:40:55] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:40:55] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:40:55] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:40:57] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:40:57] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:40:57] local.INFO: IMEI packet received {"connection_id":159576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":159576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:40:58] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:40:58] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:40:58] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:40:59] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:59] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:40:59] local.INFO: IMEI packet received {"connection_id":160474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":160474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:41:00] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:41:00] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:41:00] local.INFO: IMEI packet received {"connection_id":160474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":160474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:41:02] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:41:02] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:41:02] local.INFO: IMEI packet received {"connection_id":159576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":159576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:41:03] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:41:03] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:41:03] local.INFO: Packet analysis {"connection_id":159576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:41:03] local.INFO: Extracted packet for processing {"connection_id":159576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:41:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:41:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":159576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:41:03] local.INFO: GPS data processed {"connection_id":159576,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:41:03] local.INFO: Acknowledgment sent {"connection_id":159576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:41:03] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:03] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:03] local.INFO: IMEI packet received {"connection_id":161872,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":161872,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:41:04] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a865b8012d8ceb4005c49b88000a015b2a..."} 
[2026-08-21 19:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a865b8012d8ceb4005c49b88000a015b2a..."} 
[2026-08-21 19:41:04] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a865b8012d8ceb4005c49b88000a015b2a..."} 
[2026-08-21 19:41:04] local.INFO: Packet analysis {"connection_id":161872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:41:04] local.INFO: Extracted packet for processing {"connection_id":161872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":764209984,"raw_latitude":96770952,"longitude_deg":76.4209984,"latitude_deg":9.6770952,"altitude":10,"angle":347,"satellites":42,"speed":35,"hex_longitude":"2d8ceb40","hex_latitude":"05c49b88","is_valid_coordinates":true} 
[2026-08-21 19:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554279424001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121979953129455616,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8291971314147379200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787321411000,"timestamp_ms":1787321411000,"timestamp_seconds":1787321411,"priority":1,"record_length":96,"hex_timestamp":"000001a024a865b8"} 
[2026-08-21 19:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 19:41:04] 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-08-21 19:41:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554279424001,"66":12200,"207":206,"83":16384,"24":35,"16":121979953129455616,"45":-8291971314147379200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-21 19:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554279424001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:41:04] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 19:41:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121979953129455616,"km_value":121979953129455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8291971314147379200,"description":"Unknown IO ID 45"} 
[2026-08-21 19:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554279424001,"power":12200,"unknown_207":206,"unknown_83":16384,"ignition":35,"odometer":null,"unknown_45":-8291971314147379200}} 
[2026-08-21 19:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":161872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:41:04] local.INFO: GPS data processed {"connection_id":161872,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:41:04] local.INFO: Acknowledgment sent {"connection_id":161872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:41:06] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:41:06] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:41:06] local.INFO: IMEI packet received {"connection_id":160474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":160474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:41:07] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a6f2a0012d193f00071ffa080038010326..."} 
[2026-08-21 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a6f2a0012d193f00071ffa080038010326..."} 
[2026-08-21 19:41:07] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a6f2a0012d193f00071ffa080038010326..."} 
[2026-08-21 19:41:07] local.INFO: Packet analysis {"connection_id":160474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:41:07] local.INFO: Extracted packet for processing {"connection_id":160474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a6"} 
[2026-08-21 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:41:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554251520001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321316000,"timestamp_ms":1787321316000,"timestamp_seconds":1787321316,"priority":1,"record_length":96,"hex_timestamp":"000001a024a6f2a0"} 
[2026-08-21 19:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-08-21 19:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:41:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554251520001,"66":12613,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554251520001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:41:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:41:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554251520001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":160474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:41:07] local.INFO: GPS data processed {"connection_id":160474,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:41:07] local.INFO: Acknowledgment sent {"connection_id":160474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:41:09] local.INFO: TCP Data received {"connection_id":161872,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a89880012d8ce24005c4bfc0000801632a..."} 
[2026-08-21 19:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a89880012d8ce24005c4bfc0000801632a..."} 
[2026-08-21 19:41:09] local.INFO: Processing buffer {"connection_id":161872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a89880012d8ce24005c4bfc0000801632a..."} 
[2026-08-21 19:41:09] local.INFO: Packet analysis {"connection_id":161872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:41:09] local.INFO: Extracted packet for processing {"connection_id":161872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":764207680,"raw_latitude":96780224,"longitude_deg":76.420768,"latitude_deg":9.6780224,"altitude":8,"angle":355,"satellites":42,"speed":29,"hex_longitude":"2d8ce240","hex_latitude":"05c4bfc0","is_valid_coordinates":true} 
[2026-08-21 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554281216001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121980416985923584,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8292463895355095040,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787321424000,"timestamp_ms":1787321424000,"timestamp_seconds":1787321424,"priority":1,"record_length":96,"hex_timestamp":"000001a024a89880"} 
[2026-08-21 19:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 19:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161872,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554281216001,"66":12232,"207":206,"83":16384,"24":29,"16":121980416985923584,"45":-8292463895355095040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-21 19:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554281216001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121980416985923584,"km_value":121980416985923.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8292463895355095040,"description":"Unknown IO ID 45"} 
[2026-08-21 19:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554281216001,"power":12232,"unknown_207":206,"unknown_83":16384,"ignition":29,"odometer":null,"unknown_45":-8292463895355095040}} 
[2026-08-21 19:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":161872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:41:09] local.INFO: GPS data processed {"connection_id":161872,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:41:09] local.INFO: Acknowledgment sent {"connection_id":161872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:41:34] local.INFO: TCP Data received {"connection_id":159576,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:41:34] local.INFO: Processing buffer {"connection_id":159576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:41:34] local.INFO: Packet analysis {"connection_id":159576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:41:34] local.INFO: Extracted packet for processing {"connection_id":159576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:41:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:41:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":159576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:41:34] local.INFO: GPS data processed {"connection_id":159576,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:41:34] local.INFO: Acknowledgment sent {"connection_id":159576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:41:38] local.INFO: TCP Data received {"connection_id":160474,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a744a8012d193f00071ffa080038010325..."} 
[2026-08-21 19:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a744a8012d193f00071ffa080038010325..."} 
[2026-08-21 19:41:38] local.INFO: Processing buffer {"connection_id":160474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a744a8012d193f00071ffa080038010325..."} 
[2026-08-21 19:41:38] local.INFO: Packet analysis {"connection_id":160474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:41:38] local.INFO: Extracted packet for processing {"connection_id":160474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:41:38] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554256896001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787321337000,"timestamp_ms":1787321337000,"timestamp_seconds":1787321337,"priority":1,"record_length":96,"hex_timestamp":"000001a024a744a8"} 
[2026-08-21 19:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-08-21 19:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554256896001,"66":12580,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554256896001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:41:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:41:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554256896001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":160474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:41:38] local.INFO: GPS data processed {"connection_id":160474,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:41:38] local.INFO: Acknowledgment sent {"connection_id":160474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:41:53] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:53] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:53] local.INFO: IMEI packet received {"connection_id":159577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":159577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:41:54] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:54] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:54] local.INFO: IMEI packet received {"connection_id":159577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":159577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:41:57] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:41:57] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:41:57] local.INFO: IMEI packet received {"connection_id":159285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":159285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:41:58] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:58] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:41:58] local.INFO: IMEI packet received {"connection_id":159577,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":159577,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:42:00] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a8cb48012d8cdf8005c4e4a80008016425..."} 
[2026-08-21 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a8cb48012d8cdf8005c4e4a80008016425..."} 
[2026-08-21 19:42:00] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a8cb48012d8cdf8005c4e4a80008016425..."} 
[2026-08-21 19:42:00] local.INFO: Packet analysis {"connection_id":159577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:42:00] local.INFO: Extracted packet for processing {"connection_id":159577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:42:00] local.INFO: GPS Element Parsed {"raw_longitude":764206976,"raw_latitude":96789672,"longitude_deg":76.4206976,"latitude_deg":9.6789672,"altitude":8,"angle":356,"satellites":37,"speed":25,"hex_longitude":"2d8cdf80","hex_latitude":"05c4e4a8","is_valid_coordinates":true} 
[2026-08-21 19:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554284544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121980876547424256,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8294997170143117312,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787321437000,"timestamp_ms":1787321437000,"timestamp_seconds":1787321437,"priority":1,"record_length":96,"hex_timestamp":"000001a024a8cb48"} 
[2026-08-21 19:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:42: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-08-21 19:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554284544001,"66":12178,"207":206,"83":16384,"24":25,"16":121980876547424256,"45":-8294997170143117312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-21 19:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554284544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:42:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 19:42:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121980876547424256,"km_value":121980876547424.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8294997170143117312,"description":"Unknown IO ID 45"} 
[2026-08-21 19:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554284544001,"power":12178,"unknown_207":206,"unknown_83":16384,"ignition":25,"odometer":null,"unknown_45":-8294997170143117312}} 
[2026-08-21 19:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":159577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:42:00] local.INFO: GPS data processed {"connection_id":159577,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:42:00] local.INFO: Acknowledgment sent {"connection_id":159577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:42:01] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:01] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:01] local.INFO: IMEI packet received {"connection_id":159578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":159578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:42:02] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:42:02] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:42:02] local.INFO: IMEI packet received {"connection_id":159285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":159285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:42:02] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:02] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:02] local.INFO: IMEI packet received {"connection_id":159578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":159578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:42:03] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:42:03] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:42:03] local.INFO: Packet analysis {"connection_id":159285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:03] local.INFO: Extracted packet for processing {"connection_id":159285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:42:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":159285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:42:03] local.INFO: GPS data processed {"connection_id":159285,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:42:03] local.INFO: Acknowledgment sent {"connection_id":159285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:42:06] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:06] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:42:06] local.INFO: IMEI packet received {"connection_id":159578,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":159578,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:42:07] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a796b0012d193f00071ffa080038010329..."} 
[2026-08-21 19:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a796b0012d193f00071ffa080038010329..."} 
[2026-08-21 19:42:07] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a796b0012d193f00071ffa080038010329..."} 
[2026-08-21 19:42:07] local.INFO: Packet analysis {"connection_id":159578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:07] local.INFO: Extracted packet for processing {"connection_id":159578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:07] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554262272001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321358000,"timestamp_ms":1787321358000,"timestamp_seconds":1787321358,"priority":1,"record_length":96,"hex_timestamp":"000001a024a796b0"} 
[2026-08-21 19:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-08-21 19:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:42:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554262272001,"66":12558,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554262272001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:42:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:42:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554262272001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":159578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:42:07] local.INFO: GPS data processed {"connection_id":159578,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:42:07] local.INFO: Acknowledgment sent {"connection_id":159578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:42:32] local.INFO: TCP Data received {"connection_id":159577,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a90db0012d8cdc4005c508100009016329..."} 
[2026-08-21 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a90db0012d8cdc4005c508100009016329..."} 
[2026-08-21 19:42:32] local.INFO: Processing buffer {"connection_id":159577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a90db0012d8cdc4005c508100009016329..."} 
[2026-08-21 19:42:32] local.INFO: Packet analysis {"connection_id":159577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:42:32] local.INFO: Extracted packet for processing {"connection_id":159577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:42:32] local.INFO: GPS Element Parsed {"raw_longitude":764206144,"raw_latitude":96798736,"longitude_deg":76.4206144,"latitude_deg":9.6798736,"altitude":9,"angle":355,"satellites":41,"speed":23,"hex_longitude":"2d8cdc40","hex_latitude":"05c50810","is_valid_coordinates":true} 
[2026-08-21 19:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554287872001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121981318929055744,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8295771226326652928,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787321454000,"timestamp_ms":1787321454000,"timestamp_seconds":1787321454,"priority":1,"record_length":96,"hex_timestamp":"000001a024a90db0"} 
[2026-08-21 19:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:42: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-08-21 19:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 19:42:32] 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-08-21 19:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159577,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554287872001,"66":12189,"207":206,"83":16384,"24":23,"16":121981318929055744,"45":-8295771226326652928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-21 19:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554287872001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:42:32] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 19:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121981318929055744,"km_value":121981318929055.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8295771226326652928,"description":"Unknown IO ID 45"} 
[2026-08-21 19:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554287872001,"power":12189,"unknown_207":206,"unknown_83":16384,"ignition":23,"odometer":null,"unknown_45":-8295771226326652928}} 
[2026-08-21 19:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":159577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677589,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:42:32] local.INFO: GPS data processed {"connection_id":159577,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:42:32] local.INFO: Acknowledgment sent {"connection_id":159577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:42:34] local.INFO: TCP Data received {"connection_id":159285,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:42:34] local.INFO: Processing buffer {"connection_id":159285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:42:34] local.INFO: Packet analysis {"connection_id":159285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:34] local.INFO: Extracted packet for processing {"connection_id":159285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:42:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":159285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:42:34] local.INFO: GPS data processed {"connection_id":159285,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:42:34] local.INFO: Acknowledgment sent {"connection_id":159285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:42:37] local.INFO: TCP Data received {"connection_id":159578,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a7e8b8012d193f00071ffa080038010329..."} 
[2026-08-21 19:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a7e8b8012d193f00071ffa080038010329..."} 
[2026-08-21 19:42:37] local.INFO: Processing buffer {"connection_id":159578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a7e8b8012d193f00071ffa080038010329..."} 
[2026-08-21 19:42:37] local.INFO: Packet analysis {"connection_id":159578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:37] local.INFO: Extracted packet for processing {"connection_id":159578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554267648001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787321379000,"timestamp_ms":1787321379000,"timestamp_seconds":1787321379,"priority":1,"record_length":96,"hex_timestamp":"000001a024a7e8b8"} 
[2026-08-21 19:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249697875476609544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2790166529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4194828344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":252,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3885367296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 19:42:37] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,231,160,68,45,250,56,37,10,66,242,38,1,240,58,227,36,31,4,113,205,252,63,8,239,49,2,50,7,120,77,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 19:42:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035510215729217536,"timestamp_seconds":4035510215729217.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159578,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554267648001,"66":12558,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554267648001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554267648001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":159578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:42:37] local.INFO: GPS data processed {"connection_id":159578,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:42:37] local.INFO: Acknowledgment sent {"connection_id":159578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:42:53] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:53] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:53] local.INFO: IMEI packet received {"connection_id":159286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":159286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:42:53] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:53] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:53] local.INFO: IMEI packet received {"connection_id":159286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":159286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:42:58] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:58] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:42:58] local.INFO: IMEI packet received {"connection_id":159286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":159286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:43:00] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a94c30012d8cdac005c521b80005000827..."} 
[2026-08-21 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a94c30012d8cdac005c521b80005000827..."} 
[2026-08-21 19:43:00] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a94c30012d8cdac005c521b80005000827..."} 
[2026-08-21 19:43:00] local.INFO: Packet analysis {"connection_id":159286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:43:00] local.INFO: Extracted packet for processing {"connection_id":159286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:43:00] local.INFO: GPS Element Parsed {"raw_longitude":764205760,"raw_latitude":96805304,"longitude_deg":76.420576,"latitude_deg":9.6805304,"altitude":5,"angle":8,"satellites":39,"speed":9,"hex_longitude":"2d8cdac0","hex_latitude":"05c521b8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554292224001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121981636756635648,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8296686019998642176,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787321470000,"timestamp_ms":1787321470000,"timestamp_seconds":1787321470,"priority":1,"record_length":96,"hex_timestamp":"000001a024a94c30"} 
[2026-08-21 19:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43: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-08-21 19: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":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554292224001,"66":12156,"207":206,"83":16384,"24":9,"16":121981636756635648,"45":-8296686019998642176},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-21 19:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554292224001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:00] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 19:43:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121981636756635648,"km_value":121981636756635.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8296686019998642176,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554292224001,"power":12156,"unknown_207":206,"unknown_83":16384,"ignition":9,"odometer":null,"unknown_45":-8296686019998642176}} 
[2026-08-21 19:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":159286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677592,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:00] local.INFO: GPS data processed {"connection_id":159286,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:00] local.INFO: Acknowledgment sent {"connection_id":159286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:43:00] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:00] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:00] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:43:02] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:02] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:02] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:43:05] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:05] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:05] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:43:05] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:05] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:43:05] local.INFO: IMEI packet received {"connection_id":161874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":161874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:43:06] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a83ac0012d193f00071ffa080038010327..."} 
[2026-08-21 19:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a83ac0012d193f00071ffa080038010327..."} 
[2026-08-21 19:43:06] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a83ac0012d193f00071ffa080038010327..."} 
[2026-08-21 19:43:06] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:43:06] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554273024001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787321400000,"timestamp_ms":1787321400000,"timestamp_seconds":1787321400,"priority":1,"record_length":96,"hex_timestamp":"000001a024a83ac0"} 
[2026-08-21 19:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249697875476609544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2795542529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4194828344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3885367296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,231,160,150,45,250,56,41,10,66,68,37,242,1,240,69,227,36,31,4,113,205,78,63,8,239,49,2,50,7,120,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 19:43:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035510215729217536,"timestamp_seconds":4035510215729217.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554273024001,"66":12548,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554273024001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554273024001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:06] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:06] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:43:07] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:07] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:07] local.INFO: IMEI packet received {"connection_id":161873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":161873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:43:08] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:43:08] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:43:08] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:43:08] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:08] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:08] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:43:11] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a88cc8012d193f00071ffa080038010329..."} 
[2026-08-21 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a88cc8012d193f00071ffa080038010329..."} 
[2026-08-21 19:43:11] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a88cc8012d193f00071ffa080038010329..."} 
[2026-08-21 19:43:11] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:43:11] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554278400001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787321421000,"timestamp_ms":1787321421000,"timestamp_seconds":1787321421,"priority":1,"record_length":96,"hex_timestamp":"000001a024a88cc8"} 
[2026-08-21 19:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2800918529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4194828344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3885367296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:11] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,102,83,24,241,157,16,231,160,232,45,250,56,41,10,66,150,68,1,240,36,227,31,4,113,205,63,8,239,49,2,50,7,120],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 19:43:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035510207139282944,"timestamp_seconds":4035510207139283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554278400001,"66":12558,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554278400001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:43:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554278400001,"power":12558,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:11] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:11] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:43:12] local.INFO: TCP Data received {"connection_id":161873,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:43:12] local.INFO: Processing buffer {"connection_id":161873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:43:12] local.INFO: Packet analysis {"connection_id":161873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:43:12] local.INFO: Extracted packet for processing {"connection_id":161873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":161873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:12] local.INFO: GPS data processed {"connection_id":161873,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:12] local.INFO: Acknowledgment sent {"connection_id":161873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:43:31] local.INFO: TCP Data received {"connection_id":159286,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a95fb8012d8cdb4005c52a980006016528..."} 
[2026-08-21 19:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a95fb8012d8cdb4005c52a980006016528..."} 
[2026-08-21 19:43:31] local.INFO: Processing buffer {"connection_id":159286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a95fb8012d8cdb4005c52a980006016528..."} 
[2026-08-21 19:43:31] local.INFO: Packet analysis {"connection_id":159286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:43:31] local.INFO: Extracted packet for processing {"connection_id":159286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":764205888,"raw_latitude":96807576,"longitude_deg":76.4205888,"latitude_deg":9.6807576,"altitude":6,"angle":357,"satellites":40,"speed":21,"hex_longitude":"2d8cdb40","hex_latitude":"05c52a98","is_valid_coordinates":true} 
[2026-08-21 19:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554296320001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121981748425785344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8297108232462026752,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787321475000,"timestamp_ms":1787321475000,"timestamp_seconds":1787321475,"priority":1,"record_length":96,"hex_timestamp":"000001a024a95fb8"} 
[2026-08-21 19:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554296320001,"66":12135,"207":206,"83":16384,"24":21,"16":121981748425785344,"45":-8297108232462026752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,83,24,16,45]} 
[2026-08-21 19:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554296320001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:31] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-08-21 19:43:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121981748425785344,"km_value":121981748425785.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8297108232462026752,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554296320001,"power":12135,"unknown_207":206,"unknown_83":16384,"ignition":21,"odometer":null,"unknown_45":-8297108232462026752}} 
[2026-08-21 19:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":159286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677597,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:32] local.INFO: GPS data processed {"connection_id":159286,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:32] local.INFO: Acknowledgment sent {"connection_id":159286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:43:42] local.INFO: TCP Data received {"connection_id":161874,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a8ded0012d193f00071ffa080038010329..."} 
[2026-08-21 19:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a8ded0012d193f00071ffa080038010329..."} 
[2026-08-21 19:43:42] local.INFO: Processing buffer {"connection_id":161874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a8ded0012d193f00071ffa080038010329..."} 
[2026-08-21 19:43:42] local.INFO: Packet analysis {"connection_id":161874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:43:42] local.INFO: Extracted packet for processing {"connection_id":161874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a8"} 
[2026-08-21 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554283776001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787321442000,"timestamp_ms":1787321442000,"timestamp_seconds":1787321442,"priority":1,"record_length":96,"hex_timestamp":"000001a024a8ded0"} 
[2026-08-21 19:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249697875476609544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2806294529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4194828344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":242,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3885367296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:42] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,102,83,24,241,157,16,231,160,58,45,250,56,39,10,66,232,41,150,1,240,14,227,36,31,4,113,205,242,63,8,38,239,49,2,50,7,120,77,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 19:43:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035510215729217536,"timestamp_seconds":4035510215729217.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554283776001,"66":12548,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554283776001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:43:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554283776001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":161874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:43] local.INFO: GPS data processed {"connection_id":161874,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:43] local.INFO: Acknowledgment sent {"connection_id":161874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:43:53] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:53] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:53] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:43:55] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:55] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:55] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:43:57] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:57] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:43:57] local.INFO: IMEI packet received {"connection_id":159579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":159579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:43:58] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:58] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:43:58] local.INFO: IMEI packet received {"connection_id":160475,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":160475,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:43:59] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024a99280012d8cda8005c54f580002016128..."} 
[2026-08-21 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a99280012d8cda8005c54f580002016128..."} 
[2026-08-21 19:43:59] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a99280012d8cda8005c54f580002016128..."} 
[2026-08-21 19:43:59] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:43:59] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:43:59] local.INFO: GPS Element Parsed {"raw_longitude":764205696,"raw_latitude":96816984,"longitude_deg":76.4205696,"latitude_deg":9.6816984,"altitude":2,"angle":353,"satellites":40,"speed":27,"hex_longitude":"2d8cda80","hex_latitude":"05c54f58","is_valid_coordinates":true} 
[2026-08-21 19:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554297600001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121982207987286016,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8296967494973089792,"note":"Value kept but may cause issues"} 
[2026-08-21 19:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787321488000,"timestamp_ms":1787321488000,"timestamp_seconds":1787321488,"priority":1,"record_length":96,"hex_timestamp":"000001a024a99280"} 
[2026-08-21 19:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-08-21 19:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554297600001,"66":12298,"210":206,"83":16384,"24":27,"16":121982207987286016,"45":-8296967494973089792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,83,24,16,45]} 
[2026-08-21 19:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554297600001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:43:59] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-08-21 19:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121982207987286016,"km_value":121982207987286.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8296967494973089792,"description":"Unknown IO ID 45"} 
[2026-08-21 19:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554297600001,"power":12298,"unknown_210":206,"unknown_83":16384,"ignition":27,"odometer":null,"unknown_45":-8296967494973089792}} 
[2026-08-21 19:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:43:59] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:43:59] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:44:00] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:44:00] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:44:00] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:44:02] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:44:02] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:44:02] local.INFO: IMEI packet received {"connection_id":159579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":159579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:44:03] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:44:03] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a70a10012d9e4200055ace48000800012e..."} 
[2026-08-21 19:44:03] local.INFO: Packet analysis {"connection_id":159579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:44:03] local.INFO: Extracted packet for processing {"connection_id":159579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a7"} 
[2026-08-21 19:44:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554181376001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321322000,"timestamp_ms":1787321322000,"timestamp_seconds":1787321322,"priority":1,"record_length":96,"hex_timestamp":"000001a024a70a10"} 
[2026-08-21 19:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554181376001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554181376001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:44:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554181376001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":159579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:44:03] local.INFO: GPS data processed {"connection_id":159579,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:44:03] local.INFO: Acknowledgment sent {"connection_id":159579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:44:06] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:44:06] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:44:06] local.INFO: IMEI packet received {"connection_id":160476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":160476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:44:07] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a930d8012d193f00071ffa080038010328..."} 
[2026-08-21 19:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a930d8012d193f00071ffa080038010328..."} 
[2026-08-21 19:44:07] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a930d8012d193f00071ffa080038010328..."} 
[2026-08-21 19:44:07] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:44:07] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554289152001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321463000,"timestamp_ms":1787321463000,"timestamp_seconds":1787321463,"priority":1,"record_length":96,"hex_timestamp":"000001a024a930d8"} 
[2026-08-21 19:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2811670529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4194828344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":68,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3885367296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:07] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,102,83,24,241,157,16,231,160,140,45,250,56,41,10,66,58,39,232,1,240,14,227,36,31,4,113,205,68,63,8,37,239,49,2,50,7,120],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 19:44:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035510215729217536,"timestamp_seconds":4035510215729217.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554289152001,"66":12504,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554289152001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:44:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:44:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554289152001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:44:07] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:44:07] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:44:31] local.INFO: TCP Data received {"connection_id":160475,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024abec10012d8cc08005c6b1a8000800012a..."} 
[2026-08-21 19:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024abec10012d8cc08005c6b1a8000800012a..."} 
[2026-08-21 19:44:31] local.INFO: Processing buffer {"connection_id":160475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024abec10012d8cc08005c6b1a8000800012a..."} 
[2026-08-21 19:44:31] local.INFO: Packet analysis {"connection_id":160475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:44:31] local.INFO: Extracted packet for processing {"connection_id":160475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":764199040,"raw_latitude":96907688,"longitude_deg":76.419904,"latitude_deg":9.6907688,"altitude":8,"angle":1,"satellites":42,"speed":29,"hex_longitude":"2d8cc080","hex_latitude":"05c6b1a8","is_valid_coordinates":true} 
[2026-08-21 19:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554337792001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121986640393535488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8304215475600166912,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787321642000,"timestamp_ms":1787321642000,"timestamp_seconds":1787321642,"priority":1,"record_length":96,"hex_timestamp":"000001a024abec10"} 
[2026-08-21 19:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-21 19:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160475,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554337792001,"66":12156,"211":206,"83":16384,"24":29,"16":121986640393535488,"45":-8304215475600166912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-21 19:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554337792001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:44:31] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-21 19:44:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121986640393535488,"km_value":121986640393535.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8304215475600166912,"description":"Unknown IO ID 45"} 
[2026-08-21 19:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554337792001,"power":12156,"unknown_211":206,"unknown_83":16384,"ignition":29,"odometer":null,"unknown_45":-8304215475600166912}} 
[2026-08-21 19:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":160475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:44:31] local.INFO: GPS data processed {"connection_id":160475,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:44:31] local.INFO: Acknowledgment sent {"connection_id":160475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:44:34] local.INFO: TCP Data received {"connection_id":159579,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:44:34] local.INFO: Processing buffer {"connection_id":159579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:44:34] local.INFO: Packet analysis {"connection_id":159579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:44:34] local.INFO: Extracted packet for processing {"connection_id":159579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:44:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:44:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":159579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:44:34] local.INFO: GPS data processed {"connection_id":159579,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:44:34] local.INFO: Acknowledgment sent {"connection_id":159579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:44:38] local.INFO: TCP Data received {"connection_id":160476,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a982e0012d193f00071ffa08003801032a..."} 
[2026-08-21 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a982e0012d193f00071ffa08003801032a..."} 
[2026-08-21 19:44:38] local.INFO: Processing buffer {"connection_id":160476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a982e0012d193f00071ffa08003801032a..."} 
[2026-08-21 19:44:38] local.INFO: Packet analysis {"connection_id":160476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:44:38] local.INFO: Extracted packet for processing {"connection_id":160476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554294528001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787321484000,"timestamp_ms":1787321484000,"timestamp_seconds":1787321484,"priority":1,"record_length":96,"hex_timestamp":"000001a024a982e0"} 
[2026-08-21 19:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 19:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554294528001,"66":12515,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554294528001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:44:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:44:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554294528001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":160476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:44:38] local.INFO: GPS data processed {"connection_id":160476,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:44:38] local.INFO: Acknowledgment sent {"connection_id":160476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:44:57] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:44:57] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:44:57] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:44:58] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:44:58] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:44:58] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:45:02] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:45:02] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:45:02] local.INFO: IMEI packet received {"connection_id":161876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":161876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:45:02] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:02] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:02] local.INFO: IMEI packet received {"connection_id":161875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":161875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:45:03] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:45:03] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:45:03] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:45:03] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:03] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:03] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:03] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ac1af0012d8cbf8005c6d720000801642a..."} 
[2026-08-21 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ac1af0012d8cbf8005c6d720000801642a..."} 
[2026-08-21 19:45:03] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ac1af0012d8cbf8005c6d720000801642a..."} 
[2026-08-21 19:45:03] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:45:03] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":764198784,"raw_latitude":96917280,"longitude_deg":76.4198784,"latitude_deg":9.691728,"altitude":8,"angle":356,"satellites":42,"speed":32,"hex_longitude":"2d8cbf80","hex_latitude":"05c6d720","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554340352001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121987104250003456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8304496950574471168,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321654000,"timestamp_ms":1787321654000,"timestamp_seconds":1787321654,"priority":1,"record_length":96,"hex_timestamp":"000001a024ac1af0"} 
[2026-08-21 19:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554340352001,"66":12200,"211":206,"83":16384,"24":32,"16":121987104250003456,"45":-8304496950574471168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-21 19:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554340352001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:03] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-21 19:45:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121987104250003456,"km_value":121987104250003.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8304496950574471168,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554340352001,"power":12200,"unknown_211":206,"unknown_83":16384,"ignition":32,"odometer":null,"unknown_45":-8304496950574471168}} 
[2026-08-21 19:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677606,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:03] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:03] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:04] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ac49d0012d8cba0005c6faa00008016028..."} 
[2026-08-21 19:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ac49d0012d8cba0005c6faa00008016028..."} 
[2026-08-21 19:45:04] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ac49d0012d8cba0005c6faa00008016028..."} 
[2026-08-21 19:45:04] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:45:04] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":764197376,"raw_latitude":96926368,"longitude_deg":76.4197376,"latitude_deg":9.6926368,"altitude":8,"angle":352,"satellites":40,"speed":25,"hex_longitude":"2d8cba00","hex_latitude":"05c6faa0","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554343424001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121987550926602240,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8304778425548726272,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787321666000,"timestamp_ms":1787321666000,"timestamp_seconds":1787321666,"priority":1,"record_length":96,"hex_timestamp":"000001a024ac49d0"} 
[2026-08-21 19:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554343424001,"66":12341,"211":206,"83":16384,"24":25,"16":121987550926602240,"45":-8304778425548726272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-21 19:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554343424001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:04] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-21 19:45:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121987550926602240,"km_value":121987550926602.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8304778425548726272,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554343424001,"power":12341,"unknown_211":206,"unknown_83":16384,"ignition":25,"odometer":null,"unknown_45":-8304778425548726272}} 
[2026-08-21 19:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:04] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:04] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:06] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:45:06] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:45:06] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:45:11] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:45:11] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:45:11] local.INFO: IMEI packet received {"connection_id":161877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":161877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:45:11] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024a9d4e8012d193f00071ffa080038010329..."} 
[2026-08-21 19:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024a9d4e8012d193f00071ffa080038010329..."} 
[2026-08-21 19:45:11] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024a9d4e8012d193f00071ffa080038010329..."} 
[2026-08-21 19:45:11] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:45:11] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024a9"} 
[2026-08-21 19:45:11] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554299904001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787321505000,"timestamp_ms":1787321505000,"timestamp_seconds":1787321505,"priority":1,"record_length":96,"hex_timestamp":"000001a024a9d4e8"} 
[2026-08-21 19:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554299904001,"66":12537,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554299904001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:45:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554299904001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:11] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:11] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:12] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024aa26f0012d193f00071ffa080038010327..."} 
[2026-08-21 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aa26f0012d193f00071ffa080038010327..."} 
[2026-08-21 19:45:12] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aa26f0012d193f00071ffa080038010327..."} 
[2026-08-21 19:45:12] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024aa"} 
[2026-08-21 19:45:12] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024aa"} 
[2026-08-21 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554305280001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787321526000,"timestamp_ms":1787321526000,"timestamp_seconds":1787321526,"priority":1,"record_length":96,"hex_timestamp":"000001a024aa26f0"} 
[2026-08-21 19:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554305280001,"66":12548,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554305280001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:45:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554305280001,"power":12548,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:12] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:12] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:34] local.INFO: TCP Data received {"connection_id":161876,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:45:34] local.INFO: Processing buffer {"connection_id":161876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:45:34] local.INFO: Packet analysis {"connection_id":161876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:45:34] local.INFO: Extracted packet for processing {"connection_id":161876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:45:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":161876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:34] local.INFO: GPS data processed {"connection_id":161876,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:34] local.INFO: Acknowledgment sent {"connection_id":161876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:35] local.INFO: TCP Data received {"connection_id":161875,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ac74c8012d8cb84005c71ef00007016527..."} 
[2026-08-21 19:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ac74c8012d8cb84005c71ef00007016527..."} 
[2026-08-21 19:45:35] local.INFO: Processing buffer {"connection_id":161875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ac74c8012d8cb84005c71ef00007016527..."} 
[2026-08-21 19:45:35] local.INFO: Packet analysis {"connection_id":161875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:45:35] local.INFO: Extracted packet for processing {"connection_id":161875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":764196928,"raw_latitude":96935664,"longitude_deg":76.4196928,"latitude_deg":9.6935664,"altitude":7,"angle":357,"satellites":39,"speed":36,"hex_longitude":"2d8cb840","hex_latitude":"05c71ef0","is_valid_coordinates":true} 
[2026-08-21 19:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554346496001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121988001898168320,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8306326537918308352,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787321677000,"timestamp_ms":1787321677000,"timestamp_seconds":1787321677,"priority":1,"record_length":96,"hex_timestamp":"000001a024ac74c8"} 
[2026-08-21 19:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:45:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:45:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554346496001,"66":12298,"211":206,"83":16384,"24":36,"16":121988001898168320,"45":-8306326537918308352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,83,24,16,45]} 
[2026-08-21 19:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554346496001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:35] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-08-21 19:45:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121988001898168320,"km_value":121988001898168.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8306326537918308352,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554346496001,"power":12298,"unknown_211":206,"unknown_83":16384,"ignition":36,"odometer":null,"unknown_45":-8306326537918308352}} 
[2026-08-21 19:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":161875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:35] local.INFO: GPS data processed {"connection_id":161875,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:35] local.INFO: Acknowledgment sent {"connection_id":161875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:43] local.INFO: TCP Data received {"connection_id":161877,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024aa78f8012d193f00071ffa080038010328..."} 
[2026-08-21 19:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aa78f8012d193f00071ffa080038010328..."} 
[2026-08-21 19:45:43] local.INFO: Processing buffer {"connection_id":161877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aa78f8012d193f00071ffa080038010328..."} 
[2026-08-21 19:45:43] local.INFO: Packet analysis {"connection_id":161877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024aa"} 
[2026-08-21 19:45:43] local.INFO: Extracted packet for processing {"connection_id":161877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024aa"} 
[2026-08-21 19:45:43] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554310656001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787321547000,"timestamp_ms":1787321547000,"timestamp_seconds":1787321547,"priority":1,"record_length":96,"hex_timestamp":"000001a024aa78f8"} 
[2026-08-21 19:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":2516582400,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2833174529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4194828344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":140,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3885367296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7350101450497726464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:43] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,231,160,212,45,250,56,41,10,66,130,42,48,1,240,216,227,36,31,4,113,205,140,63,8,239,49,2,50,7,120],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-08-21 19:45:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035510207139282944,"timestamp_seconds":4035510207139283.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":161877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":161877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554310656001,"66":12526,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554310656001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:45:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554310656001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":161877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:43] local.INFO: GPS data processed {"connection_id":161877,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:43] local.INFO: Acknowledgment sent {"connection_id":161877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:45:49] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:49] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:49] local.INFO: IMEI packet received {"connection_id":159287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":159287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:45:54] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:54] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:54] local.INFO: IMEI packet received {"connection_id":159287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":159287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:45:57] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:45:57] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:45:57] local.INFO: IMEI packet received {"connection_id":159288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":159288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:45:58] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:58] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:45:58] local.INFO: IMEI packet received {"connection_id":159287,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":159287,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:45:59] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ad8250012d8ca94005c7e4080006013826..."} 
[2026-08-21 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ad8250012d8ca94005c7e4080006013826..."} 
[2026-08-21 19:45:59] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ad8250012d8ca94005c7e4080006013826..."} 
[2026-08-21 19:45:59] local.INFO: Packet analysis {"connection_id":159287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ad"} 
[2026-08-21 19:45:59] local.INFO: Extracted packet for processing {"connection_id":159287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ad"} 
[2026-08-21 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":764193088,"raw_latitude":96986120,"longitude_deg":76.4193088,"latitude_deg":9.698612,"altitude":6,"angle":312,"satellites":38,"speed":7,"hex_longitude":"2d8ca940","hex_latitude":"05c7e408","is_valid_coordinates":true} 
[2026-08-21 19:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554366720001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121990471504363520,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8310830137530425344,"note":"Value kept but may cause issues"} 
[2026-08-21 19:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787321746000,"timestamp_ms":1787321746000,"timestamp_seconds":1787321746,"priority":1,"record_length":96,"hex_timestamp":"000001a024ad8250"} 
[2026-08-21 19:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 19:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554366720001,"66":12374,"179":206,"83":16384,"24":7,"16":121990471504363520,"45":-8310830137530425344},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554366720001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:45:59] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121990471504363520,"km_value":121990471504363.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8310830137530425344,"description":"Unknown IO ID 45"} 
[2026-08-21 19:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554366720001,"power":12374,"unknown_179":206,"unknown_83":16384,"ignition":7,"odometer":null,"unknown_45":-8310830137530425344}} 
[2026-08-21 19:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":159287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:45:59] local.INFO: GPS data processed {"connection_id":159287,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:45:59] local.INFO: Acknowledgment sent {"connection_id":159287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:46:01] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:46:01] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:46:01] local.INFO: IMEI packet received {"connection_id":159289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":159289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:46:02] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:46:02] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:46:02] local.INFO: IMEI packet received {"connection_id":159288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:46:03] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:46:03] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:46:03] local.INFO: Packet analysis {"connection_id":159288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:46:03] local.INFO: Extracted packet for processing {"connection_id":159288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:46:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:46:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":159288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:46:03] local.INFO: GPS data processed {"connection_id":159288,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:46:03] local.INFO: Acknowledgment sent {"connection_id":159288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:46:04] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ad8638012d8ca8c005c7e4800006012926..."} 
[2026-08-21 19:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ad8638012d8ca8c005c7e4800006012926..."} 
[2026-08-21 19:46:04] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ad8638012d8ca8c005c7e4800006012926..."} 
[2026-08-21 19:46:04] local.INFO: Packet analysis {"connection_id":159287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ad"} 
[2026-08-21 19:46:04] local.INFO: Extracted packet for processing {"connection_id":159287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ad"} 
[2026-08-21 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":764192960,"raw_latitude":96986240,"longitude_deg":76.419296,"latitude_deg":9.698624,"altitude":6,"angle":297,"satellites":38,"speed":8,"hex_longitude":"2d8ca8c0","hex_latitude":"05c7e480","is_valid_coordinates":true} 
[2026-08-21 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554366976001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121990484389265408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8311041243762915328,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787321747000,"timestamp_ms":1787321747000,"timestamp_seconds":1787321747,"priority":1,"record_length":96,"hex_timestamp":"000001a024ad8638"} 
[2026-08-21 19:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:46:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 19:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:46:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554366976001,"66":12374,"179":206,"83":16384,"24":8,"16":121990484389265408,"45":-8311041243762915328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554366976001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:46:04] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:46:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121990484389265408,"km_value":121990484389265.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8311041243762915328,"description":"Unknown IO ID 45"} 
[2026-08-21 19:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554366976001,"power":12374,"unknown_179":206,"unknown_83":16384,"ignition":8,"odometer":null,"unknown_45":-8311041243762915328}} 
[2026-08-21 19:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":159287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:46:04] local.INFO: GPS data processed {"connection_id":159287,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:46:04] local.INFO: Acknowledgment sent {"connection_id":159287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:46:06] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:46:06] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:46:06] local.INFO: IMEI packet received {"connection_id":159289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":159289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:46:07] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024aacb00012d193f00071ffa08003801032b..."} 
[2026-08-21 19:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aacb00012d193f00071ffa08003801032b..."} 
[2026-08-21 19:46:07] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aacb00012d193f00071ffa08003801032b..."} 
[2026-08-21 19:46:07] local.INFO: Packet analysis {"connection_id":159289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024aa"} 
[2026-08-21 19:46:07] local.INFO: Extracted packet for processing {"connection_id":159289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024aa"} 
[2026-08-21 19:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":43,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554316032001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787321568000,"timestamp_ms":1787321568000,"timestamp_seconds":1787321568,"priority":1,"record_length":96,"hex_timestamp":"000001a024aacb00"} 
[2026-08-21 19:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 19:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554316032001,"66":12526,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554316032001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:46:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:46:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554316032001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":159289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:46:07] local.INFO: GPS data processed {"connection_id":159289,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:46:07] local.INFO: Acknowledgment sent {"connection_id":159289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:46:34] local.INFO: TCP Data received {"connection_id":159288,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:46:34] local.INFO: Processing buffer {"connection_id":159288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:46:34] local.INFO: Packet analysis {"connection_id":159288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:46:34] local.INFO: Extracted packet for processing {"connection_id":159288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:46:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":159288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:46:34] local.INFO: GPS data processed {"connection_id":159288,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:46:34] local.INFO: Acknowledgment sent {"connection_id":159288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:46:35] local.INFO: TCP Data received {"connection_id":159287,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ad8a20012d8ca7c005c7e4980006010826..."} 
[2026-08-21 19:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ad8a20012d8ca7c005c7e4980006010826..."} 
[2026-08-21 19:46:35] local.INFO: Processing buffer {"connection_id":159287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ad8a20012d8ca7c005c7e4980006010826..."} 
[2026-08-21 19:46:35] local.INFO: Packet analysis {"connection_id":159287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ad"} 
[2026-08-21 19:46:35] local.INFO: Extracted packet for processing {"connection_id":159287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ad"} 
[2026-08-21 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":764192704,"raw_latitude":96986264,"longitude_deg":76.4192704,"latitude_deg":9.6986264,"altitude":6,"angle":264,"satellites":38,"speed":9,"hex_longitude":"2d8ca7c0","hex_latitude":"05c7e498","is_valid_coordinates":true} 
[2026-08-21 19:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554367232001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121990492979200000,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8311181981251239936,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787321748000,"timestamp_ms":1787321748000,"timestamp_seconds":1787321748,"priority":1,"record_length":96,"hex_timestamp":"000001a024ad8a20"} 
[2026-08-21 19:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 19:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159287,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554367232001,"66":12385,"179":206,"83":16384,"24":9,"16":121990492979200000,"45":-8311181981251239936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554367232001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:46:35] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121990492979200000,"km_value":121990492979200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8311181981251239936,"description":"Unknown IO ID 45"} 
[2026-08-21 19:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554367232001,"power":12385,"unknown_179":206,"unknown_83":16384,"ignition":9,"odometer":null,"unknown_45":-8311181981251239936}} 
[2026-08-21 19:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":159287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:46:35] local.INFO: GPS data processed {"connection_id":159287,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:46:35] local.INFO: Acknowledgment sent {"connection_id":159287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:46:38] local.INFO: TCP Data received {"connection_id":159289,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024ab1d08012d193f00071ffa080038010329..."} 
[2026-08-21 19:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ab1d08012d193f00071ffa080038010329..."} 
[2026-08-21 19:46:38] local.INFO: Processing buffer {"connection_id":159289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ab1d08012d193f00071ffa080038010329..."} 
[2026-08-21 19:46:38] local.INFO: Packet analysis {"connection_id":159289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:46:38] local.INFO: Extracted packet for processing {"connection_id":159289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:46:38] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":41,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554321408001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787321589000,"timestamp_ms":1787321589000,"timestamp_seconds":1787321589,"priority":1,"record_length":96,"hex_timestamp":"000001a024ab1d08"} 
[2026-08-21 19:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 19:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554321408001,"66":12526,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554321408001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:46:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:46:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554321408001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":159289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:46:38] local.INFO: GPS data processed {"connection_id":159289,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:46:38] local.INFO: Acknowledgment sent {"connection_id":159289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:46:53] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:46:53] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:46:53] local.INFO: IMEI packet received {"connection_id":161878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":161878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:46:56] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:46:56] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:46:56] local.INFO: IMEI packet received {"connection_id":161878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":161878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:46:57] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ae3dd0012d8c76c005c7d9880003011028..."} 
[2026-08-21 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ae3dd0012d8c76c005c7d9880003011028..."} 
[2026-08-21 19:46:57] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ae3dd0012d8c76c005c7d9880003011028..."} 
[2026-08-21 19:46:57] local.INFO: Packet analysis {"connection_id":161878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:46:57] local.INFO: Extracted packet for processing {"connection_id":161878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":764180160,"raw_latitude":96983432,"longitude_deg":76.418016,"latitude_deg":9.6983432,"altitude":3,"angle":272,"satellites":40,"speed":9,"hex_longitude":"2d8c76c0","hex_latitude":"05c7d988","is_valid_coordinates":true} 
[2026-08-21 19:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554378752001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121991193058869248,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8324833517622411264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787321794000,"timestamp_ms":1787321794000,"timestamp_seconds":1787321794,"priority":1,"record_length":96,"hex_timestamp":"000001a024ae3dd0"} 
[2026-08-21 19:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 19:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554378752001,"66":12156,"179":206,"83":16384,"24":9,"16":121991193058869248,"45":-8324833517622411264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554378752001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:46:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:46:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121991193058869248,"km_value":121991193058869.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8324833517622411264,"description":"Unknown IO ID 45"} 
[2026-08-21 19:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554378752001,"power":12156,"unknown_179":206,"unknown_83":16384,"ignition":9,"odometer":null,"unknown_45":-8324833517622411264}} 
[2026-08-21 19:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":161878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:46:57] local.INFO: GPS data processed {"connection_id":161878,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:46:57] local.INFO: Acknowledgment sent {"connection_id":161878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:47:01] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:47:01] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:47:01] local.INFO: IMEI packet received {"connection_id":159581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":159581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:47:02] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:02] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:02] local.INFO: IMEI packet received {"connection_id":159580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":159580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:47:06] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:47:06] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:47:06] local.INFO: IMEI packet received {"connection_id":159581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":159581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:47:06] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024ab6f10012d193f00071ffa080038010327..."} 
[2026-08-21 19:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ab6f10012d193f00071ffa080038010327..."} 
[2026-08-21 19:47:06] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ab6f10012d193f00071ffa080038010327..."} 
[2026-08-21 19:47:06] local.INFO: Packet analysis {"connection_id":159581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:06] local.INFO: Extracted packet for processing {"connection_id":159581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554326784001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787321610000,"timestamp_ms":1787321610000,"timestamp_seconds":1787321610,"priority":1,"record_length":96,"hex_timestamp":"000001a024ab6f10"} 
[2026-08-21 19:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-08-21 19:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554326784001,"66":12254,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554326784001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554326784001,"power":12254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":159581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:47:06] local.INFO: GPS data processed {"connection_id":159581,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:47:06] local.INFO: Acknowledgment sent {"connection_id":159581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:47:07] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:07] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:07] local.INFO: IMEI packet received {"connection_id":159580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":159580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:47:08] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:47:08] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:47:08] local.INFO: Packet analysis {"connection_id":159580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:08] local.INFO: Extracted packet for processing {"connection_id":159580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:47:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":159580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:47:08] local.INFO: GPS data processed {"connection_id":159580,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:47:08] local.INFO: Acknowledgment sent {"connection_id":159580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:47:28] local.INFO: TCP Data received {"connection_id":161878,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ae5158012d8c71c005c7d9c00003011c28..."} 
[2026-08-21 19:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161878,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ae5158012d8c71c005c7d9c00003011c28..."} 
[2026-08-21 19:47:28] local.INFO: Processing buffer {"connection_id":161878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ae5158012d8c71c005c7d9c00003011c28..."} 
[2026-08-21 19:47:28] local.INFO: Packet analysis {"connection_id":161878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:47:28] local.INFO: Extracted packet for processing {"connection_id":161878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:47:28] local.INFO: GPS Element Parsed {"raw_longitude":764178880,"raw_latitude":96983488,"longitude_deg":76.417888,"latitude_deg":9.6983488,"altitude":3,"angle":284,"satellites":40,"speed":10,"hex_longitude":"2d8c71c0","hex_latitude":"05c7d9c0","is_valid_coordinates":true} 
[2026-08-21 19:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554379264001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121991253188411392,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8325255730087491584,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787321799000,"timestamp_ms":1787321799000,"timestamp_seconds":1787321799,"priority":1,"record_length":96,"hex_timestamp":"000001a024ae5158"} 
[2026-08-21 19:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":161878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":161878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":161878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554379264001,"66":12287,"179":206,"83":16384,"24":10,"16":121991253188411392,"45":-8325255730087491584},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554379264001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:47:28] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:47:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121991253188411392,"km_value":121991253188411.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8325255730087491584,"description":"Unknown IO ID 45"} 
[2026-08-21 19:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554379264001,"power":12287,"unknown_179":206,"unknown_83":16384,"ignition":10,"odometer":null,"unknown_45":-8325255730087491584}} 
[2026-08-21 19:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":161878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:47:28] local.INFO: GPS data processed {"connection_id":161878,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:47:28] local.INFO: Acknowledgment sent {"connection_id":161878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:47:37] local.INFO: TCP Data received {"connection_id":159581,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024abc118012d193f00071ffa08003801032a..."} 
[2026-08-21 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024abc118012d193f00071ffa08003801032a..."} 
[2026-08-21 19:47:37] local.INFO: Processing buffer {"connection_id":159581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024abc118012d193f00071ffa08003801032a..."} 
[2026-08-21 19:47:37] local.INFO: Packet analysis {"connection_id":159581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:37] local.INFO: Extracted packet for processing {"connection_id":159581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554332160001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787321631000,"timestamp_ms":1787321631000,"timestamp_seconds":1787321631,"priority":1,"record_length":96,"hex_timestamp":"000001a024abc118"} 
[2026-08-21 19:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-08-21 19:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554332160001,"66":12504,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554332160001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:47:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554332160001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":159581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:47:38] local.INFO: GPS data processed {"connection_id":159581,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:47:38] local.INFO: Acknowledgment sent {"connection_id":159581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:47:39] local.INFO: TCP Data received {"connection_id":159580,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:47:39] local.INFO: Processing buffer {"connection_id":159580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:47:39] local.INFO: Packet analysis {"connection_id":159580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:39] local.INFO: Extracted packet for processing {"connection_id":159580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:47:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":159580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:47:39] local.INFO: GPS data processed {"connection_id":159580,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:47:39] local.INFO: Acknowledgment sent {"connection_id":159580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:47:53] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:47:53] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:47:53] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:47:57] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:57] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:47:57] local.INFO: IMEI packet received {"connection_id":159290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":159290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:47:59] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:47:59] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:47:59] local.INFO: IMEI packet received {"connection_id":161879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":161879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:47:59] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ae8fd8012d8c554005c7dba8000101102b..."} 
[2026-08-21 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ae8fd8012d8c554005c7dba8000101102b..."} 
[2026-08-21 19:47:59] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ae8fd8012d8c554005c7dba8000101102b..."} 
[2026-08-21 19:47:59] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:47:59] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":764171584,"raw_latitude":96983976,"longitude_deg":76.4171584,"latitude_deg":9.6983976,"altitude":1,"angle":272,"satellites":43,"speed":24,"hex_longitude":"2d8c5540","hex_latitude":"05c7dba8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554380544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121991601080762368,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8326663104971030528,"note":"Value kept but may cause issues"} 
[2026-08-21 19:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787321815000,"timestamp_ms":1787321815000,"timestamp_seconds":1787321815,"priority":1,"record_length":96,"hex_timestamp":"000001a024ae8fd8"} 
[2026-08-21 19:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 19:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554380544001,"66":12385,"179":206,"83":16384,"24":24,"16":121991601080762368,"45":-8326663104971030528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554380544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:47:59] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121991601080762368,"km_value":121991601080762.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8326663104971030528,"description":"Unknown IO ID 45"} 
[2026-08-21 19:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554380544001,"power":12385,"unknown_179":206,"unknown_83":16384,"ignition":24,"odometer":null,"unknown_45":-8326663104971030528}} 
[2026-08-21 19:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:48:00] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:48:00] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:48:01] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:48:01] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:48:01] local.INFO: IMEI packet received {"connection_id":159291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:48:02] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:48:02] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:48:02] local.INFO: IMEI packet received {"connection_id":159290,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159290,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:48:03] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:48:03] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:48:03] local.INFO: Packet analysis {"connection_id":159290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:48:03] local.INFO: Extracted packet for processing {"connection_id":159290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:48:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":159290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:48:03] local.INFO: GPS data processed {"connection_id":159290,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:48:03] local.INFO: Acknowledgment sent {"connection_id":159290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:48:05] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:48:05] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:48:05] local.INFO: IMEI packet received {"connection_id":159291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":159291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:48:06] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024ac1320012d193f00071ffa08003801032a..."} 
[2026-08-21 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ac1320012d193f00071ffa08003801032a..."} 
[2026-08-21 19:48:06] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ac1320012d193f00071ffa08003801032a..."} 
[2026-08-21 19:48:06] local.INFO: Packet analysis {"connection_id":159291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:48:06] local.INFO: Extracted packet for processing {"connection_id":159291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ac"} 
[2026-08-21 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536136,"longitude_deg":75.6629248,"latitude_deg":11.9536136,"altitude":56,"angle":259,"satellites":42,"speed":0,"hex_longitude":"2d193f00","hex_latitude":"071ffa08","is_valid_coordinates":true} 
[2026-08-21 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554337536001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328380266643456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082220544,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787321652000,"timestamp_ms":1787321652000,"timestamp_seconds":1787321652,"priority":1,"record_length":96,"hex_timestamp":"000001a024ac1320"} 
[2026-08-21 19:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 19:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554337536001,"66":12461,"102":206,"83":41984,"24":0,"16":14328380266643456,"45":1819172805082220544},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554337536001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328380266643456,"km_value":14328380266643.455,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082220544,"description":"Unknown IO ID 45"} 
[2026-08-21 19:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554337536001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819172805082220544}} 
[2026-08-21 19:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":159291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:48:06] local.INFO: GPS data processed {"connection_id":159291,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:48:06] local.INFO: Acknowledgment sent {"connection_id":159291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:48:30] local.INFO: TCP Data received {"connection_id":161879,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024aee1e0012d8c40c005c7dcd80000011b2b..."} 
[2026-08-21 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aee1e0012d8c40c005c7dcd80000011b2b..."} 
[2026-08-21 19:48:30] local.INFO: Processing buffer {"connection_id":161879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aee1e0012d8c40c005c7dcd80000011b2b..."} 
[2026-08-21 19:48:30] local.INFO: Packet analysis {"connection_id":161879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:48:30] local.INFO: Extracted packet for processing {"connection_id":161879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":764166336,"raw_latitude":96984280,"longitude_deg":76.4166336,"latitude_deg":9.698428,"altitude":0,"angle":283,"satellites":43,"speed":9,"hex_longitude":"2d8c40c0","hex_latitude":"05c7dcd8","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554384640001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121991854483832832,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8334685141807159296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787321836000,"timestamp_ms":1787321836000,"timestamp_seconds":1787321836,"priority":1,"record_length":96,"hex_timestamp":"000001a024aee1e0"} 
[2026-08-21 19:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554384640001,"66":12058,"179":206,"83":16384,"24":9,"16":121991854483832832,"45":-8334685141807159296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554384640001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:48:30] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:48:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121991854483832832,"km_value":121991854483832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8334685141807159296,"description":"Unknown IO ID 45"} 
[2026-08-21 19:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554384640001,"power":12058,"unknown_179":206,"unknown_83":16384,"ignition":9,"odometer":null,"unknown_45":-8334685141807159296}} 
[2026-08-21 19:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":161879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:48:30] local.INFO: GPS data processed {"connection_id":161879,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:48:30] local.INFO: Acknowledgment sent {"connection_id":161879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:48:34] local.INFO: TCP Data received {"connection_id":159290,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159290,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:48:34] local.INFO: Processing buffer {"connection_id":159290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:48:34] local.INFO: Packet analysis {"connection_id":159290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:48:34] local.INFO: Extracted packet for processing {"connection_id":159290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159290,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:48:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":159290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:48:34] local.INFO: GPS data processed {"connection_id":159290,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:48:34] local.INFO: Acknowledgment sent {"connection_id":159290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:48:37] local.INFO: TCP Data received {"connection_id":159291,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024aeca70012d193e80071ffa80003d010a28..."} 
[2026-08-21 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aeca70012d193e80071ffa80003d010a28..."} 
[2026-08-21 19:48:37] local.INFO: Processing buffer {"connection_id":159291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aeca70012d193e80071ffa80003d010a28..."} 
[2026-08-21 19:48:37] local.INFO: Packet analysis {"connection_id":159291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:48:37] local.INFO: Extracted packet for processing {"connection_id":159291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536256,"longitude_deg":75.662912,"latitude_deg":11.9536256,"altitude":61,"angle":266,"satellites":40,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa80","is_valid_coordinates":true} 
[2026-08-21 19:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554383104001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328436101218304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593895936,"note":"Value kept but may cause issues"} 
[2026-08-21 19:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787321830000,"timestamp_ms":1787321830000,"timestamp_seconds":1787321830,"priority":1,"record_length":96,"hex_timestamp":"000001a024aeca70"} 
[2026-08-21 19:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 19:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554383104001,"66":12515,"102":206,"83":41984,"24":0,"16":14328436101218304,"45":1819032067593895936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554383104001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:48:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328436101218304,"km_value":14328436101218.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593895936,"description":"Unknown IO ID 45"} 
[2026-08-21 19:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554383104001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819032067593895936}} 
[2026-08-21 19:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":159291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677631,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:48:37] local.INFO: GPS data processed {"connection_id":159291,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:48:37] local.INFO: Acknowledgment sent {"connection_id":159291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:48:53] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:48:53] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:48:53] local.INFO: IMEI packet received {"connection_id":159582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":159582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:48:57] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:48:57] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:48:57] local.INFO: IMEI packet received {"connection_id":160477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":160477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:49:00] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:00] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:00] local.INFO: IMEI packet received {"connection_id":159582,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":159582,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:49:00] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:49:00] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:49:00] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:49:01] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024aee1e0012d8c40c005c7dcd80000011b2b..."} 
[2026-08-21 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aee1e0012d8c40c005c7dcd80000011b2b..."} 
[2026-08-21 19:49:01] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aee1e0012d8c40c005c7dcd80000011b2b..."} 
[2026-08-21 19:49:01] local.INFO: Packet analysis {"connection_id":159582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:49:01] local.INFO: Extracted packet for processing {"connection_id":159582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":764166336,"raw_latitude":96984280,"longitude_deg":76.4166336,"latitude_deg":9.698428,"altitude":0,"angle":283,"satellites":43,"speed":9,"hex_longitude":"2d8c40c0","hex_latitude":"05c7dcd8","is_valid_coordinates":true} 
[2026-08-21 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554390016001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121991854483832832,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8340455378829649920,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787321836000,"timestamp_ms":1787321836000,"timestamp_seconds":1787321836,"priority":1,"record_length":96,"hex_timestamp":"000001a024aee1e0"} 
[2026-08-21 19:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554390016001,"66":12058,"179":206,"83":16384,"24":9,"16":121991854483832832,"45":-8340455378829649920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554390016001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:49:01] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:49:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121991854483832832,"km_value":121991854483832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8340455378829649920,"description":"Unknown IO ID 45"} 
[2026-08-21 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554390016001,"power":12058,"unknown_179":206,"unknown_83":16384,"ignition":9,"odometer":null,"unknown_45":-8340455378829649920}} 
[2026-08-21 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":159582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:49:01] local.INFO: GPS data processed {"connection_id":159582,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:49:01] local.INFO: Acknowledgment sent {"connection_id":159582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:49:02] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:49:02] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:49:02] local.INFO: IMEI packet received {"connection_id":160477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":160477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:49:03] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:49:03] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aba1d8012d9e4200055ace48000800012f..."} 
[2026-08-21 19:49:03] local.INFO: Packet analysis {"connection_id":160477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:49:03] local.INFO: Extracted packet for processing {"connection_id":160477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ab"} 
[2026-08-21 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:49:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554258432001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:49:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321623000,"timestamp_ms":1787321623000,"timestamp_seconds":1787321623,"priority":1,"record_length":96,"hex_timestamp":"000001a024aba1d8"} 
[2026-08-21 19:49:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:49:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:49:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:49:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:49:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:49:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:49:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:49:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:49:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:49:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:49:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:49:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:49:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:49:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554258432001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:49:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:49:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:49:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554258432001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:49:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:49:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:49:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:49:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554258432001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:49:03] local.INFO: DEBUG: GPS processor result {"connection_id":160477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:49:03] local.INFO: GPS data processed {"connection_id":160477,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:49:03] local.INFO: Acknowledgment sent {"connection_id":160477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:49:05] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:49:05] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:49:05] local.INFO: IMEI packet received {"connection_id":160478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":160478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:49:06] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024af1c78012d193e80071ffa80003d010a29..."} 
[2026-08-21 19:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024af1c78012d193e80071ffa80003d010a29..."} 
[2026-08-21 19:49:06] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024af1c78012d193e80071ffa80003d010a29..."} 
[2026-08-21 19:49:06] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024af"} 
[2026-08-21 19:49:06] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024af"} 
[2026-08-21 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536256,"longitude_deg":75.662912,"latitude_deg":11.9536256,"altitude":61,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa80","is_valid_coordinates":true} 
[2026-08-21 19:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554388480001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328436101218304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593895936,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787321851000,"timestamp_ms":1787321851000,"timestamp_seconds":1787321851,"priority":1,"record_length":96,"hex_timestamp":"000001a024af1c78"} 
[2026-08-21 19:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-08-21 19:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554388480001,"66":12461,"102":206,"83":41984,"24":0,"16":14328436101218304,"45":1819032067593895936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554388480001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:49:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:49:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328436101218304,"km_value":14328436101218.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593895936,"description":"Unknown IO ID 45"} 
[2026-08-21 19:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554388480001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819032067593895936}} 
[2026-08-21 19:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:49:06] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:49:06] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:49:32] local.INFO: TCP Data received {"connection_id":159582,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024aef180012d8c3d0005c7dd700001010e2b..."} 
[2026-08-21 19:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024aef180012d8c3d0005c7dd700001010e2b..."} 
[2026-08-21 19:49:32] local.INFO: Processing buffer {"connection_id":159582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024aef180012d8c3d0005c7dd700001010e2b..."} 
[2026-08-21 19:49:32] local.INFO: Packet analysis {"connection_id":159582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:49:32] local.INFO: Extracted packet for processing {"connection_id":159582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ae"} 
[2026-08-21 19:49:32] local.INFO: GPS Element Parsed {"raw_longitude":764165376,"raw_latitude":96984432,"longitude_deg":76.4165376,"latitude_deg":9.6984432,"altitude":1,"angle":270,"satellites":43,"speed":9,"hex_longitude":"2d8c3d00","hex_latitude":"05c7dd70","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554390016001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121991906023440384,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8340455378829649920,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787321840000,"timestamp_ms":1787321840000,"timestamp_seconds":1787321840,"priority":1,"record_length":96,"hex_timestamp":"000001a024aef180"} 
[2026-08-21 19:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":159582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":159582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":159582,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554390016001,"66":12287,"179":206,"83":16384,"24":9,"16":121991906023440384,"45":-8340455378829649920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,83,24,16,45]} 
[2026-08-21 19:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554390016001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:49:32] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 19:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121991906023440384,"km_value":121991906023440.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8340455378829649920,"description":"Unknown IO ID 45"} 
[2026-08-21 19:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554390016001,"power":12287,"unknown_179":206,"unknown_83":16384,"ignition":9,"odometer":null,"unknown_45":-8340455378829649920}} 
[2026-08-21 19:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":159582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:49:32] local.INFO: GPS data processed {"connection_id":159582,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:49:32] local.INFO: Acknowledgment sent {"connection_id":159582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:49:33] local.INFO: TCP Data received {"connection_id":160477,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:49:33] local.INFO: Processing buffer {"connection_id":160477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:49:33] local.INFO: Packet analysis {"connection_id":160477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:49:33] local.INFO: Extracted packet for processing {"connection_id":160477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:49:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":160477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:49:33] local.INFO: GPS data processed {"connection_id":160477,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:49:33] local.INFO: Acknowledgment sent {"connection_id":160477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:49:37] local.INFO: TCP Data received {"connection_id":160478,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024af6e80012d193e80071ffa80003d010a29..."} 
[2026-08-21 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024af6e80012d193e80071ffa80003d010a29..."} 
[2026-08-21 19:49:37] local.INFO: Processing buffer {"connection_id":160478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024af6e80012d193e80071ffa80003d010a29..."} 
[2026-08-21 19:49:37] local.INFO: Packet analysis {"connection_id":160478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024af"} 
[2026-08-21 19:49:37] local.INFO: Extracted packet for processing {"connection_id":160478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024af"} 
[2026-08-21 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756629120,"raw_latitude":119536256,"longitude_deg":75.662912,"latitude_deg":11.9536256,"altitude":61,"angle":266,"satellites":41,"speed":0,"hex_longitude":"2d193e80","hex_latitude":"071ffa80","is_valid_coordinates":true} 
[2026-08-21 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554393856001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14328436101218304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819032067593895936,"note":"Value kept but may cause issues"} 
[2026-08-21 19:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787321872000,"timestamp_ms":1787321872000,"timestamp_seconds":1787321872,"priority":1,"record_length":96,"hex_timestamp":"000001a024af6e80"} 
[2026-08-21 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 19:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554393856001,"66":12461,"102":206,"83":41984,"24":0,"16":14328436101218304,"45":1819032067593895936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554393856001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:49:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14328436101218304,"km_value":14328436101218.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819032067593895936,"description":"Unknown IO ID 45"} 
[2026-08-21 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554393856001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1819032067593895936}} 
[2026-08-21 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":160478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:49:37] local.INFO: GPS data processed {"connection_id":160478,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:49:37] local.INFO: Acknowledgment sent {"connection_id":160478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:49:53] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:53] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:53] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:49:53] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:53] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:53] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:49:54] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:54] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:54] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:49:56] local.INFO: TCP Data received {"connection_id":161880,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:56] local.INFO: Processing buffer {"connection_id":161880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:49:56] local.INFO: IMEI packet received {"connection_id":161880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":161880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:50:02] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:02] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:02] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:50:07] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:07] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:07] local.INFO: IMEI packet received {"connection_id":160479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":160479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:50:08] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:50:08] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:50:08] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:50:08] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:50:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:50:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:50:08] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:50:08] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:50:12] local.INFO: TCP Data received {"connection_id":160479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:50:12] local.INFO: Processing buffer {"connection_id":160479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:50:12] local.INFO: Packet analysis {"connection_id":160479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:50:12] local.INFO: Extracted packet for processing {"connection_id":160479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:50:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":160479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:50:12] local.INFO: GPS data processed {"connection_id":160479,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:50:12] local.INFO: Acknowledgment sent {"connection_id":160479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:50:57] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:57] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:50:57] local.INFO: IMEI packet received {"connection_id":159583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":159583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:51:02] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:51:02] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:51:02] local.INFO: IMEI packet received {"connection_id":159583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":159583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:51:03] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:51:03] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:51:03] local.INFO: Packet analysis {"connection_id":159583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:51:03] local.INFO: Extracted packet for processing {"connection_id":159583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:51:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:51:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":159583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:51:03] local.INFO: GPS data processed {"connection_id":159583,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:51:03] local.INFO: Acknowledgment sent {"connection_id":159583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:51:34] local.INFO: TCP Data received {"connection_id":159583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:51:34] local.INFO: Processing buffer {"connection_id":159583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:51:34] local.INFO: Packet analysis {"connection_id":159583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:51:34] local.INFO: Extracted packet for processing {"connection_id":159583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:51:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":159583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:51:34] local.INFO: GPS data processed {"connection_id":159583,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:51:34] local.INFO: Acknowledgment sent {"connection_id":159583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:51:57] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:51:57] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:51:57] local.INFO: IMEI packet received {"connection_id":159294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":159294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:52:02] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:52:02] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:52:02] local.INFO: IMEI packet received {"connection_id":159294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":159294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:52:03] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:52:03] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:52:03] local.INFO: Packet analysis {"connection_id":159294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:52:03] local.INFO: Extracted packet for processing {"connection_id":159294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:52:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":159294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:52:03] local.INFO: GPS data processed {"connection_id":159294,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:52:03] local.INFO: Acknowledgment sent {"connection_id":159294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:52:34] local.INFO: TCP Data received {"connection_id":159294,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:52:34] local.INFO: Processing buffer {"connection_id":159294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:52:34] local.INFO: Packet analysis {"connection_id":159294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:52:34] local.INFO: Extracted packet for processing {"connection_id":159294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:52:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":159294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:52:34] local.INFO: GPS data processed {"connection_id":159294,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:52:34] local.INFO: Acknowledgment sent {"connection_id":159294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:52:57] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:52:57] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:52:57] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:53:02] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:53:02] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:53:02] local.INFO: IMEI packet received {"connection_id":161883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":161883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:53:03] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:53:03] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:53:03] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:53:03] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:53:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19: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-08-21 19: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:53:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:53:03] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:53:03] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:53:34] local.INFO: TCP Data received {"connection_id":161883,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161883,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:53:34] local.INFO: Processing buffer {"connection_id":161883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:53:34] local.INFO: Packet analysis {"connection_id":161883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:53:34] local.INFO: Extracted packet for processing {"connection_id":161883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:53:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":161883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:53:34] local.INFO: GPS data processed {"connection_id":161883,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:53:34] local.INFO: Acknowledgment sent {"connection_id":161883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:53:57] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:53:57] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:53:57] local.INFO: IMEI packet received {"connection_id":159585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":159585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:54:02] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:54:02] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:54:02] local.INFO: IMEI packet received {"connection_id":159585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":159585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:54:03] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:54:03] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b039a0012d9e4200055ace48000800012c..."} 
[2026-08-21 19:54:03] local.INFO: Packet analysis {"connection_id":159585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:54:03] local.INFO: Extracted packet for processing {"connection_id":159585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b0"} 
[2026-08-21 19:54:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554335488001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787321924000,"timestamp_ms":1787321924000,"timestamp_seconds":1787321924,"priority":1,"record_length":96,"hex_timestamp":"000001a024b039a0"} 
[2026-08-21 19:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554335488001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554335488001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:54:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554335488001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":159585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:54:03] local.INFO: GPS data processed {"connection_id":159585,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:54:03] local.INFO: Acknowledgment sent {"connection_id":159585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:54:34] local.INFO: TCP Data received {"connection_id":159585,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:54:34] local.INFO: Processing buffer {"connection_id":159585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:54:34] local.INFO: Packet analysis {"connection_id":159585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:54:34] local.INFO: Extracted packet for processing {"connection_id":159585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:54:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":159585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:54:34] local.INFO: GPS data processed {"connection_id":159585,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:54:34] local.INFO: Acknowledgment sent {"connection_id":159585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:54:58] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:54:58] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:54:58] local.INFO: IMEI packet received {"connection_id":161884,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":161884,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:54:59] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4c5b0012d8a5e0005c83f10000801092a..."} 
[2026-08-21 19:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4c5b0012d8a5e0005c83f10000801092a..."} 
[2026-08-21 19:54:59] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4c5b0012d8a5e0005c83f10000801092a..."} 
[2026-08-21 19:54:59] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:54:59] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:54:59] local.INFO: GPS Element Parsed {"raw_longitude":764042752,"raw_latitude":97009424,"longitude_deg":76.4042752,"latitude_deg":9.7009424,"altitude":8,"angle":265,"satellites":42,"speed":20,"hex_longitude":"2d8a5e00","hex_latitude":"05c83f10","is_valid_coordinates":true} 
[2026-08-21 19:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554488576001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121999559655161856,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8475844842621009920,"note":"Value kept but may cause issues"} 
[2026-08-21 19:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787322222000,"timestamp_ms":1787322222000,"timestamp_seconds":1787322222,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4c5b0"} 
[2026-08-21 19:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 19:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554488576001,"66":12385,"94":206,"83":16384,"24":20,"16":121999559655161856,"45":-8475844842621009920},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554488576001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:54:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121999559655161856,"km_value":121999559655161.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8475844842621009920,"description":"Unknown IO ID 45"} 
[2026-08-21 19:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554488576001,"power":12385,"unknown_94":206,"unknown_83":16384,"ignition":20,"odometer":null,"unknown_45":-8475844842621009920}} 
[2026-08-21 19:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:54:59] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:54:59] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:55:02] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:02] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:02] local.INFO: IMEI packet received {"connection_id":159586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":159586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:55:07] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:07] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:07] local.INFO: IMEI packet received {"connection_id":159586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":159586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:55:08] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:55:08] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:55:08] local.INFO: Packet analysis {"connection_id":159586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:55:08] local.INFO: Extracted packet for processing {"connection_id":159586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:55:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":159586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:55:08] local.INFO: GPS data processed {"connection_id":159586,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:55:08] local.INFO: Acknowledgment sent {"connection_id":159586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:55:11] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:55:11] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:55:11] local.INFO: IMEI packet received {"connection_id":160482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":160482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:55:11] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:55:11] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:55:11] local.INFO: Packet analysis {"connection_id":160482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b1"} 
[2026-08-21 19:55:11] local.INFO: Extracted packet for processing {"connection_id":160482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b1"} 
[2026-08-21 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533056,"longitude_deg":75.6639488,"latitude_deg":11.9533056,"altitude":63,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-21 19:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437120001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787322023000,"timestamp_ms":1787322023000,"timestamp_seconds":1787322023,"priority":1,"record_length":96,"hex_timestamp":"000001a024b1bc58"} 
[2026-08-21 19:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-08-21 19:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437120001,"66":12841,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437120001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:55:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:55:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437120001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":160482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:55:12] local.INFO: GPS data processed {"connection_id":160482,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:55:12] local.INFO: Acknowledgment sent {"connection_id":160482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:55:12] local.INFO: TCP Data received {"connection_id":159586,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:55:12] local.INFO: Processing buffer {"connection_id":159586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:55:12] local.INFO: Packet analysis {"connection_id":159586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:55:12] local.INFO: Extracted packet for processing {"connection_id":159586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:55:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:55:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":159586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:55:12] local.INFO: GPS data processed {"connection_id":159586,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:55:12] local.INFO: Acknowledgment sent {"connection_id":159586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:55:30] local.INFO: TCP Data received {"connection_id":161884,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4cd80012d8a594005c83f68000801162a..."} 
[2026-08-21 19:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4cd80012d8a594005c83f68000801162a..."} 
[2026-08-21 19:55:30] local.INFO: Processing buffer {"connection_id":161884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4cd80012d8a594005c83f68000801162a..."} 
[2026-08-21 19:55:30] local.INFO: Packet analysis {"connection_id":161884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:55:30] local.INFO: Extracted packet for processing {"connection_id":161884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:55:30] local.INFO: GPS Element Parsed {"raw_longitude":764041536,"raw_latitude":97009512,"longitude_deg":76.4041536,"latitude_deg":9.7009512,"altitude":8,"angle":278,"satellites":42,"speed":23,"hex_longitude":"2d8a5940","hex_latitude":"05c83f68","is_valid_coordinates":true} 
[2026-08-21 19:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554488832001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":121999615489736704,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8476337423830282240,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787322224000,"timestamp_ms":1787322224000,"timestamp_seconds":1787322224,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4cd80"} 
[2026-08-21 19:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 19:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161884,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554488832001,"66":12232,"94":206,"83":16384,"24":23,"16":121999615489736704,"45":-8476337423830282240},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554488832001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:55:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:55:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":121999615489736704,"km_value":121999615489736.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8476337423830282240,"description":"Unknown IO ID 45"} 
[2026-08-21 19:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554488832001,"power":12232,"unknown_94":206,"unknown_83":16384,"ignition":23,"odometer":null,"unknown_45":-8476337423830282240}} 
[2026-08-21 19:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":161884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:55:30] local.INFO: GPS data processed {"connection_id":161884,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:55:30] local.INFO: Acknowledgment sent {"connection_id":161884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:55:43] local.INFO: TCP Data received {"connection_id":160482,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:55:43] local.INFO: Processing buffer {"connection_id":160482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:55:43] local.INFO: Packet analysis {"connection_id":160482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b1"} 
[2026-08-21 19:55:43] local.INFO: Extracted packet for processing {"connection_id":160482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b1"} 
[2026-08-21 19:55:43] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533056,"longitude_deg":75.6639488,"latitude_deg":11.9533056,"altitude":63,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-21 19:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787322023000,"timestamp_ms":1787322023000,"timestamp_seconds":1787322023,"priority":1,"record_length":96,"hex_timestamp":"000001a024b1bc58"} 
[2026-08-21 19:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":160482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":160482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":12841,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:55:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:55:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":160482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:55:43] local.INFO: GPS data processed {"connection_id":160482,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:55:43] local.INFO: Acknowledgment sent {"connection_id":160482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:55:52] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:52] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:52] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:55:53] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:53] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:53] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:55:57] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:57] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:55:57] local.INFO: IMEI packet received {"connection_id":159587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":159587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:55:58] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:58] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:55:58] local.INFO: IMEI packet received {"connection_id":161885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":161885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:55:59] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b67f18012d89e7c005c8b0400009016028..."} 
[2026-08-21 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b67f18012d89e7c005c8b0400009016028..."} 
[2026-08-21 19:55:59] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b67f18012d89e7c005c8b0400009016028..."} 
[2026-08-21 19:55:59] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:55:59] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":764012480,"raw_latitude":97038400,"longitude_deg":76.401248,"latitude_deg":9.70384,"altitude":9,"angle":352,"satellites":40,"speed":28,"hex_longitude":"2d89e7c0","hex_latitude":"05c8b040","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554515712001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122002209649983488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8509410733587877888,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787322335000,"timestamp_ms":1787322335000,"timestamp_seconds":1787322335,"priority":1,"record_length":96,"hex_timestamp":"000001a024b67f18"} 
[2026-08-21 19:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":416668315122401548,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4611712406807118336,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2645179579197393393,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2313781253,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":40,"raw_value":4503599628025860,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3433995599330803918,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":111,"raw_value":4323455642275676161,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3048470529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":459060,"corrected_to":0} 
[2026-08-21 19:55:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2992505038,"corrected_to":0} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4194356658,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3360544768,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.WARNING: Large IO value detected {"io_id":8,"raw_value":79421023509807104,"note":"Value kept but may cause issues"} 
[2026-08-21 19:55:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,94,83,24,241,157,16,112,160,52,45,192,117,9,40,10,66,111,238,128,82,7,42,183,64,1,240,119,227,36,200,4,113,205,176,234,239,46,2,177,5,8],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":200,"original":459060,"validated":0},{"io_id":205,"original":2992505038,"validated":0}]} 
[2026-08-21 19:55:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648520721460297728,"timestamp_seconds":648520721460297.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554515712001,"66":12298,"94":206,"83":16384,"24":28,"16":122002209649983488,"45":-8509410733587877888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554515712001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:55:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122002209649983488,"km_value":122002209649983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8509410733587877888,"description":"Unknown IO ID 45"} 
[2026-08-21 19:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554515712001,"power":12298,"unknown_94":206,"unknown_83":16384,"ignition":28,"odometer":null,"unknown_45":-8509410733587877888}} 
[2026-08-21 19:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677654,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:55:59] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:55:59] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:56:02] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:56:02] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:56:02] local.INFO: IMEI packet received {"connection_id":159587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":159587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:56:03] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:56:03] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:56:03] local.INFO: Packet analysis {"connection_id":159587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:56:03] local.INFO: Extracted packet for processing {"connection_id":159587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:56:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":159587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:56:03] local.INFO: GPS data processed {"connection_id":159587,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:56:03] local.INFO: Acknowledgment sent {"connection_id":159587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:56:06] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:56:06] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:56:06] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:56:06] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:56:06] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:56:06] local.INFO: IMEI packet received {"connection_id":160483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":160483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:56:07] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:56:07] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b1bc58012d196700071fee00003f00112a..."} 
[2026-08-21 19:56:07] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b1"} 
[2026-08-21 19:56:07] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b1"} 
[2026-08-21 19:56:07] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533056,"longitude_deg":75.6639488,"latitude_deg":11.9533056,"altitude":63,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196700","hex_latitude":"071fee00","is_valid_coordinates":true} 
[2026-08-21 19:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787322023000,"timestamp_ms":1787322023000,"timestamp_seconds":1787322023,"priority":1,"record_length":96,"hex_timestamp":"000001a024b1bc58"} 
[2026-08-21 19:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":12841,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:56:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:56:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":12841,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:56:07] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:56:07] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:56:11] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:56:11] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:56:11] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:56:11] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:56:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:56:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:56:11] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:56:11] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:56:30] local.INFO: TCP Data received {"connection_id":161885,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b692a0012d89e40005c8bed00008015528..."} 
[2026-08-21 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161885,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b692a0012d89e40005c8bed00008015528..."} 
[2026-08-21 19:56:30] local.INFO: Processing buffer {"connection_id":161885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b692a0012d89e40005c8bed00008015528..."} 
[2026-08-21 19:56:30] local.INFO: Packet analysis {"connection_id":161885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:56:30] local.INFO: Extracted packet for processing {"connection_id":161885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":764011520,"raw_latitude":97042128,"longitude_deg":76.401152,"latitude_deg":9.7042128,"altitude":8,"angle":341,"satellites":40,"speed":31,"hex_longitude":"2d89e400","hex_latitude":"05c8bed0","is_valid_coordinates":true} 
[2026-08-21 19:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554517760001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122002398628544512,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8509621839818899456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787322340000,"timestamp_ms":1787322340000,"timestamp_seconds":1787322340,"priority":1,"record_length":96,"hex_timestamp":"000001a024b692a0"} 
[2026-08-21 19:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4611712406874227200,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2645205349001169387,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2313764869,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":41,"raw_value":1688849860919300,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3385018953383149774,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":192,"raw_value":416668555640570138,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":111,"raw_value":4755801206503243777,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3048726529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1345323015,"corrected_to":0} 
[2026-08-21 19:56:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2992505038,"corrected_to":0} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":7,"raw_value":86740472483020800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":179,"raw_value":4160826761,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2147862607,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4194356658,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3360606208,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,94,83,24,241,157,16,112,160,95,45,128,153,9,41,10,66,52,192,117,40,111,238,1,240,140,227,36,200,4,113,205,7,179,233,239,46,2,177,5],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":200,"original":1345323015,"validated":0},{"io_id":205,"original":2992505038,"validated":0}]} 
[2026-08-21 19:56:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648905546234855424,"timestamp_seconds":648905546234855.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554517760001,"66":12178,"94":206,"83":16384,"24":31,"16":122002398628544512,"45":-8509621839818899456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554517760001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:56:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:56:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122002398628544512,"km_value":122002398628544.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8509621839818899456,"description":"Unknown IO ID 45"} 
[2026-08-21 19:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554517760001,"power":12178,"unknown_94":206,"unknown_83":16384,"ignition":31,"odometer":null,"unknown_45":-8509621839818899456}} 
[2026-08-21 19:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":161885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:56:30] local.INFO: GPS data processed {"connection_id":161885,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:56:30] local.INFO: Acknowledgment sent {"connection_id":161885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:56:34] local.INFO: TCP Data received {"connection_id":159587,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:56:34] local.INFO: Processing buffer {"connection_id":159587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:56:34] local.INFO: Packet analysis {"connection_id":159587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:56:34] local.INFO: Extracted packet for processing {"connection_id":159587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:56:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":159587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:56:34] local.INFO: GPS data processed {"connection_id":159587,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:56:34] local.INFO: Acknowledgment sent {"connection_id":159587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:56:42] local.INFO: TCP Data received {"connection_id":160483,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:56:42] local.INFO: Processing buffer {"connection_id":160483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:56:42] local.INFO: Packet analysis {"connection_id":160483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:56:42] local.INFO: Extracted packet for processing {"connection_id":160483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":160483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:56:42] local.INFO: GPS data processed {"connection_id":160483,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:56:42] local.INFO: Acknowledgment sent {"connection_id":160483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:56:57] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:56:57] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:56:57] local.INFO: IMEI packet received {"connection_id":159298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":159298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:56:58] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:56:58] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:56:58] local.INFO: IMEI packet received {"connection_id":159299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":159299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:57:01] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:57:01] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:57:01] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:57:02] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:57:02] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:57:02] local.INFO: IMEI packet received {"connection_id":159298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":159298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:57:02] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:02] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:02] local.INFO: IMEI packet received {"connection_id":159299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":159299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:57:03] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:57:03] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:57:03] local.INFO: Packet analysis {"connection_id":159298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:57:03] local.INFO: Extracted packet for processing {"connection_id":159298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:57:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19: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-08-21 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:57:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":159298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:57:03] local.INFO: GPS data processed {"connection_id":159298,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:57:03] local.INFO: Acknowledgment sent {"connection_id":159298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:57:03] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b6bd98012d89d90005c8e130000701572b..."} 
[2026-08-21 19:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b6bd98012d89d90005c8e130000701572b..."} 
[2026-08-21 19:57:03] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b6bd98012d89d90005c8e130000701572b..."} 
[2026-08-21 19:57:03] local.INFO: Packet analysis {"connection_id":159299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:03] local.INFO: Extracted packet for processing {"connection_id":159299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:03] local.INFO: GPS Element Parsed {"raw_longitude":764008704,"raw_latitude":97050928,"longitude_deg":76.4008704,"latitude_deg":9.7050928,"altitude":7,"angle":343,"satellites":43,"speed":32,"hex_longitude":"2d89d900","hex_latitude":"05c8e130","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554519040001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122002845305143296,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8510677370980610048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322351000,"timestamp_ms":1787322351000,"timestamp_seconds":1787322351,"priority":1,"record_length":96,"hex_timestamp":"000001a024b6bd98"} 
[2026-08-21 19:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-08-21 19:57:03] 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-08-21 19:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554519040001,"66":12298,"94":206,"83":16384,"24":32,"16":122002845305143296,"45":-8510677370980610048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554519040001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:57:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122002845305143296,"km_value":122002845305143.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8510677370980610048,"description":"Unknown IO ID 45"} 
[2026-08-21 19:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554519040001,"power":12298,"unknown_94":206,"unknown_83":16384,"ignition":32,"odometer":null,"unknown_45":-8510677370980610048}} 
[2026-08-21 19:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":159299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677662,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:57:03] local.INFO: GPS data processed {"connection_id":159299,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:57:03] local.INFO: Acknowledgment sent {"connection_id":159299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:57:06] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:57:06] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:57:06] local.INFO: IMEI packet received {"connection_id":160484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":160484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:57:07] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:57:07] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:57:07] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:07] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:57:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:57:07] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:57:07] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:57:34] local.INFO: TCP Data received {"connection_id":159298,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:57:34] local.INFO: Processing buffer {"connection_id":159298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:57:34] local.INFO: Packet analysis {"connection_id":159298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:57:34] local.INFO: Extracted packet for processing {"connection_id":159298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:57:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":159298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:57:34] local.INFO: GPS data processed {"connection_id":159298,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:57:34] local.INFO: Acknowledgment sent {"connection_id":159298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:57:38] local.INFO: TCP Data received {"connection_id":160484,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:57:38] local.INFO: Processing buffer {"connection_id":160484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:57:38] local.INFO: Packet analysis {"connection_id":160484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:38] local.INFO: Extracted packet for processing {"connection_id":160484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:57: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":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:57:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":160484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:57:38] local.INFO: GPS data processed {"connection_id":160484,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:57:38] local.INFO: Acknowledgment sent {"connection_id":160484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:57:39] local.INFO: TCP Data received {"connection_id":159299,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b6e890012d89cd0005c90240000701512b..."} 
[2026-08-21 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b6e890012d89cd0005c90240000701512b..."} 
[2026-08-21 19:57:39] local.INFO: Processing buffer {"connection_id":159299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b6e890012d89cd0005c90240000701512b..."} 
[2026-08-21 19:57:39] local.INFO: Packet analysis {"connection_id":159299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:39] local.INFO: Extracted packet for processing {"connection_id":159299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":764005632,"raw_latitude":97059392,"longitude_deg":76.4005632,"latitude_deg":9.7059392,"altitude":7,"angle":337,"satellites":43,"speed":32,"hex_longitude":"2d89cd00","hex_latitude":"05c90240","is_valid_coordinates":true} 
[2026-08-21 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554521856001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122003283391807488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8513773595722174464,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787322362000,"timestamp_ms":1787322362000,"timestamp_seconds":1787322362,"priority":1,"record_length":96,"hex_timestamp":"000001a024b6e890"} 
[2026-08-21 19:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":83,"raw_value":4611712406823895552,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2645218233903057385,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2313601029,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3348145731434053838,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":128,"raw_value":416670307987161408,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3056918529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1969750025,"corrected_to":0} 
[2026-08-21 19:57:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2992505038,"corrected_to":0} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2415996297,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":232,"raw_value":2147862610,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862898,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3360698368,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":95466196710719488,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":111,"raw_value":5116089176692883457,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.WARNING: Large IO value detected {"io_id":41,"raw_value":2533274791051268,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:39] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,94,83,24,241,157,16,112,160,146,45,190,8,40,10,66,127,192,176,9,95,128,1,240,227,36,200,4,113,205,31,238,232,184,42,239,48,2,177,5,7,111,41],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":200,"original":1969750025,"validated":0},{"io_id":205,"original":2992505038,"validated":0}]} 
[2026-08-21 19:57:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504780475439513600,"timestamp_seconds":504780475439513.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554521856001,"66":12319,"94":206,"83":16384,"24":32,"16":122003283391807488,"45":-8513773595722174464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554521856001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:57:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:57:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122003283391807488,"km_value":122003283391807.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8513773595722174464,"description":"Unknown IO ID 45"} 
[2026-08-21 19:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554521856001,"power":12319,"unknown_94":206,"unknown_83":16384,"ignition":32,"odometer":null,"unknown_45":-8513773595722174464}} 
[2026-08-21 19:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":159299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:57:39] local.INFO: GPS data processed {"connection_id":159299,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:57:39] local.INFO: Acknowledgment sent {"connection_id":159299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:57:53] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:53] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:53] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:57:57] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:57:57] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:57:57] local.INFO: IMEI packet received {"connection_id":159300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":159300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:57:58] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:58] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:57:58] local.INFO: IMEI packet received {"connection_id":160485,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":160485,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:57:59] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b71b58012d89c14005c923e8000601532a..."} 
[2026-08-21 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b71b58012d89c14005c923e8000601532a..."} 
[2026-08-21 19:57:59] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b71b58012d89c14005c923e8000601532a..."} 
[2026-08-21 19:57:59] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b7"} 
[2026-08-21 19:57:59] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b7"} 
[2026-08-21 19:57:59] local.INFO: GPS Element Parsed {"raw_longitude":764002624,"raw_latitude":97068008,"longitude_deg":76.4002624,"latitude_deg":9.7068008,"altitude":6,"angle":339,"satellites":42,"speed":20,"hex_longitude":"2d89c140","hex_latitude":"05c923e8","is_valid_coordinates":true} 
[2026-08-21 19:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554524672001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122003725773438976,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8517151295440535552,"note":"Value kept but may cause issues"} 
[2026-08-21 19:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787322375000,"timestamp_ms":1787322375000,"timestamp_seconds":1787322375,"priority":1,"record_length":96,"hex_timestamp":"000001a024b71b58"} 
[2026-08-21 19:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-08-21 19:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554524672001,"66":11852,"94":206,"83":16384,"24":20,"16":122003725773438976,"45":-8517151295440535552},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554524672001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:57:59] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122003725773438976,"km_value":122003725773438.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8517151295440535552,"description":"Unknown IO ID 45"} 
[2026-08-21 19:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554524672001,"power":11852,"unknown_94":206,"unknown_83":16384,"ignition":20,"odometer":null,"unknown_45":-8517151295440535552}} 
[2026-08-21 19:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677667,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:57:59] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:57:59] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:58:01] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:58:01] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:58:01] local.INFO: IMEI packet received {"connection_id":161886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":161886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:58:02] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:58:02] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:58:02] local.INFO: IMEI packet received {"connection_id":159300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":159300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:58:03] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:58:03] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:58:03] local.INFO: Packet analysis {"connection_id":159300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:58:03] local.INFO: Extracted packet for processing {"connection_id":159300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:58: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-08-21 19:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:58:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":159300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:58:03] local.INFO: GPS data processed {"connection_id":159300,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:58:03] local.INFO: Acknowledgment sent {"connection_id":159300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:58:06] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:58:06] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:58:06] local.INFO: IMEI packet received {"connection_id":161886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":161886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:58:06] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:58:06] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:58:06] local.INFO: Packet analysis {"connection_id":161886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:58:06] local.INFO: Extracted packet for processing {"connection_id":161886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:58:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:58:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":161886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:58:07] local.INFO: GPS data processed {"connection_id":161886,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:58:07] local.INFO: Acknowledgment sent {"connection_id":161886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:58:30] local.INFO: TCP Data received {"connection_id":160485,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b72ee0012d89be0005c929580006013c2b..."} 
[2026-08-21 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b72ee0012d89be0005c929580006013c2b..."} 
[2026-08-21 19:58:30] local.INFO: Processing buffer {"connection_id":160485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b72ee0012d89be0005c929580006013c2b..."} 
[2026-08-21 19:58:30] local.INFO: Packet analysis {"connection_id":160485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b7"} 
[2026-08-21 19:58:30] local.INFO: Extracted packet for processing {"connection_id":160485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b7"} 
[2026-08-21 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":764001792,"raw_latitude":97069400,"longitude_deg":76.4001792,"latitude_deg":9.70694,"altitude":6,"angle":316,"satellites":43,"speed":6,"hex_longitude":"2d89be00","hex_latitude":"05c92958","is_valid_coordinates":true} 
[2026-08-21 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-08-21 19:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554528000001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122003803082850304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8520458626414680064,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787322380000,"timestamp_ms":1787322380000,"timestamp_seconds":1787322380,"priority":1,"record_length":96,"hex_timestamp":"000001a024b72ee0"} 
[2026-08-21 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-08-21 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-08-21 19:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 19:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160485,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554528000001,"66":11700,"94":206,"83":16384,"24":6,"16":122003803082850304,"45":-8520458626414680064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,83,24,16,45]} 
[2026-08-21 19:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554528000001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:58:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 19:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":16384,"description":"Unknown IO ID 83"} 
[2026-08-21 19:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122003803082850304,"km_value":122003803082850.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8520458626414680064,"description":"Unknown IO ID 45"} 
[2026-08-21 19:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554528000001,"power":11700,"unknown_94":206,"unknown_83":16384,"ignition":6,"odometer":null,"unknown_45":-8520458626414680064}} 
[2026-08-21 19:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":160485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:58:30] local.INFO: GPS data processed {"connection_id":160485,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:58:30] local.INFO: Acknowledgment sent {"connection_id":160485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:58:34] local.INFO: TCP Data received {"connection_id":159300,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:58:34] local.INFO: Processing buffer {"connection_id":159300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:58:34] local.INFO: Packet analysis {"connection_id":159300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:58:34] local.INFO: Extracted packet for processing {"connection_id":159300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:58:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":159300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:58:34] local.INFO: GPS data processed {"connection_id":159300,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:58:34] local.INFO: Acknowledgment sent {"connection_id":159300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:58:38] local.INFO: TCP Data received {"connection_id":161886,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:58:38] local.INFO: Processing buffer {"connection_id":161886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:58:38] local.INFO: Packet analysis {"connection_id":161886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:58:38] local.INFO: Extracted packet for processing {"connection_id":161886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:58:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:58: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":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:58:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:58:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:58:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":161886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:58:38] local.INFO: GPS data processed {"connection_id":161886,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:58:38] local.INFO: Acknowledgment sent {"connection_id":161886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:58:53] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:53] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:53] local.INFO: IMEI packet received {"connection_id":159588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":159588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:58:56] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:56] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:56] local.INFO: IMEI packet received {"connection_id":159588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":159588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:58:57] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:58:57] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:58:57] local.INFO: IMEI packet received {"connection_id":160486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":160486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:58:58] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:58] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:58:58] local.INFO: IMEI packet received {"connection_id":159588,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":159588,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:58:59] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b93280012d89480005c8ef30000700f427..."} 
[2026-08-21 19:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b93280012d89480005c8ef30000700f427..."} 
[2026-08-21 19:58:59] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b93280012d89480005c8ef30000700f427..."} 
[2026-08-21 19:58:59] local.INFO: Packet analysis {"connection_id":159588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:58:59] local.INFO: Extracted packet for processing {"connection_id":159588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:58:59] local.INFO: GPS Element Parsed {"raw_longitude":763971584,"raw_latitude":97054512,"longitude_deg":76.3971584,"latitude_deg":9.7054512,"altitude":7,"angle":244,"satellites":39,"speed":22,"hex_longitude":"2d894800","hex_latitude":"05c8ef30","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554558464001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122005448055324672,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8545369161855961088,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787322512000,"timestamp_ms":1787322512000,"timestamp_seconds":1787322512,"priority":1,"record_length":96,"hex_timestamp":"000001a024b93280"} 
[2026-08-21 19:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2310127621,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3951847100232174805,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3083542529,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-5594032800987611112,"corrected_to":0} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":167,"raw_value":4160826761,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3221604647,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194880768,"note":"Value kept but may cause issues"} 
[2026-08-21 19:58:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,96,85,24,241,157,16,114,160,193,45,64,5,7,43,10,66,111,8,29,1,240,53,227,36,201,4,113,205,83,9,167,180,239,47,94,2,177,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-5594032800987611112,"validated":0}]} 
[2026-08-21 19:58:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504663927205986304,"timestamp_seconds":504663927205986.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 19:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554558464001,"66":12058,"96":206,"85":13824,"24":22,"16":122005448055324672,"45":-8545369161855961088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 19:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554558464001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:58:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 19:58:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 19:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122005448055324672,"km_value":122005448055324.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8545369161855961088,"description":"Unknown IO ID 45"} 
[2026-08-21 19:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554558464001,"power":12058,"unknown_96":206,"unknown_85":13824,"ignition":22,"odometer":null,"unknown_45":-8545369161855961088}} 
[2026-08-21 19:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":159588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677673,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:58:59] local.INFO: GPS data processed {"connection_id":159588,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:58:59] local.INFO: Acknowledgment sent {"connection_id":159588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:59:00] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:59:00] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:59:00] local.INFO: IMEI packet received {"connection_id":159301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 19:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":159301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:59:02] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:59:02] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:59:02] local.INFO: IMEI packet received {"connection_id":160486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 19:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":160486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:59:03] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b978d0012d8932c005c8e3d8000700e82a..."} 
[2026-08-21 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b978d0012d8932c005c8e3d8000700e82a..."} 
[2026-08-21 19:59:03] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b978d0012d8932c005c8e3d8000700e82a..."} 
[2026-08-21 19:59:03] local.INFO: Packet analysis {"connection_id":159588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:03] local.INFO: Extracted packet for processing {"connection_id":159588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763966144,"raw_latitude":97051608,"longitude_deg":76.3966144,"latitude_deg":9.7051608,"altitude":7,"angle":232,"satellites":42,"speed":13,"hex_longitude":"2d8932c0","hex_latitude":"05c8e3d8","is_valid_coordinates":true} 
[2026-08-21 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554563072001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122005740113100800,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8554587467344302080,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322530000,"timestamp_ms":1787322530000,"timestamp_seconds":1787322530,"priority":1,"record_length":96,"hex_timestamp":"000001a024b978d0"} 
[2026-08-21 19:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-08-21 19:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554563072001,"66":12461,"96":206,"85":13824,"24":13,"16":122005740113100800,"45":-8554587467344302080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554563072001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:59:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 19:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 19:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122005740113100800,"km_value":122005740113100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8554587467344302080,"description":"Unknown IO ID 45"} 
[2026-08-21 19:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554563072001,"power":12461,"unknown_96":206,"unknown_85":13824,"ignition":13,"odometer":null,"unknown_45":-8554587467344302080}} 
[2026-08-21 19:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":159588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677674,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:59:03] local.INFO: GPS data processed {"connection_id":159588,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:59:03] local.INFO: Acknowledgment sent {"connection_id":159588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:59:03] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:59:03] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b4d168012d9e4200055ace48000800012e..."} 
[2026-08-21 19:59:03] local.INFO: Packet analysis {"connection_id":160486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:59:03] local.INFO: Extracted packet for processing {"connection_id":160486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b4"} 
[2026-08-21 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554412544001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322225000,"timestamp_ms":1787322225000,"timestamp_seconds":1787322225,"priority":1,"record_length":96,"hex_timestamp":"000001a024b4d168"} 
[2026-08-21 19:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 19:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554412544001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554412544001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:59:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554412544001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":160486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:59:03] local.INFO: GPS data processed {"connection_id":160486,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:59:03] local.INFO: Acknowledgment sent {"connection_id":160486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:59:06] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:59:06] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 19:59:06] local.INFO: IMEI packet received {"connection_id":159301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 19:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":159301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:59:06] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:59:06] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:59:06] local.INFO: Packet analysis {"connection_id":159301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:59:06] local.INFO: Extracted packet for processing {"connection_id":159301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":159301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:59:07] local.INFO: GPS data processed {"connection_id":159301,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:59:07] local.INFO: Acknowledgment sent {"connection_id":159301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:59:34] local.INFO: TCP Data received {"connection_id":159588,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b98c58012d892e0005c8e120000600fa29..."} 
[2026-08-21 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b98c58012d892e0005c8e120000600fa29..."} 
[2026-08-21 19:59:34] local.INFO: Processing buffer {"connection_id":159588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b98c58012d892e0005c8e120000600fa29..."} 
[2026-08-21 19:59:34] local.INFO: Packet analysis {"connection_id":159588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:34] local.INFO: Extracted packet for processing {"connection_id":159588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763964928,"raw_latitude":97050912,"longitude_deg":76.3964928,"latitude_deg":9.7050912,"altitude":6,"angle":250,"satellites":41,"speed":9,"hex_longitude":"2d892e00","hex_latitude":"05c8e120","is_valid_coordinates":true} 
[2026-08-21 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554567680001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122005808832577536,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8560568810600146944,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322535000,"timestamp_ms":1787322535000,"timestamp_seconds":1787322535,"priority":1,"record_length":96,"hex_timestamp":"000001a024b98c58"} 
[2026-08-21 19:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 19:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159588,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554567680001,"66":12156,"96":206,"85":13824,"24":9,"16":122005808832577536,"45":-8560568810600146944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554567680001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:59:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 19:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 19:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122005808832577536,"km_value":122005808832577.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8560568810600146944,"description":"Unknown IO ID 45"} 
[2026-08-21 19:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554567680001,"power":12156,"unknown_96":206,"unknown_85":13824,"ignition":9,"odometer":null,"unknown_45":-8560568810600146944}} 
[2026-08-21 19:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":159588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:59:34] local.INFO: GPS data processed {"connection_id":159588,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:59:34] local.INFO: Acknowledgment sent {"connection_id":159588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:59:34] local.INFO: TCP Data received {"connection_id":160486,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 19:59:34] local.INFO: Processing buffer {"connection_id":160486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 19:59:34] local.INFO: Packet analysis {"connection_id":160486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:34] local.INFO: Extracted packet for processing {"connection_id":160486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 19:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 19:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 19:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 19:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 19:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 19:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:59:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 19:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 19:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 19:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":160486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:59:34] local.INFO: GPS data processed {"connection_id":160486,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:59:34] local.INFO: Acknowledgment sent {"connection_id":160486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:59:38] local.INFO: TCP Data received {"connection_id":159301,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:59:38] local.INFO: Processing buffer {"connection_id":159301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 19:59:38] local.INFO: Packet analysis {"connection_id":159301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:59:38] local.INFO: Extracted packet for processing {"connection_id":159301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 19:59:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 19:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 19:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 19:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 19:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 19:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 19:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 19:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 19:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 19:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 19:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 19:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:59:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 19:59:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 19:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 19:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 19:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":159301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:59:38] local.INFO: GPS data processed {"connection_id":159301,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:59:38] local.INFO: Acknowledgment sent {"connection_id":159301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 19:59:53] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:53] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:53] local.INFO: IMEI packet received {"connection_id":159302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 19:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":159302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:59:57] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:59:57] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 19:59:57] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 19:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 19:59:57] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:57] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:57] local.INFO: IMEI packet received {"connection_id":159302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":159302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:59:58] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:58] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:58] local.INFO: IMEI packet received {"connection_id":159302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:59:58] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:58] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 19:59:58] local.INFO: IMEI packet received {"connection_id":159302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 19:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":159302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 19:59:59] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b9a3c8012d89268005c8df98000701072a..."} 
[2026-08-21 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b9a3c8012d89268005c8df98000701072a..."} 
[2026-08-21 19:59:59] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b9a3c8012d89268005c8df98000701072a..."} 
[2026-08-21 19:59:59] local.INFO: Packet analysis {"connection_id":159302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:59] local.INFO: Extracted packet for processing {"connection_id":159302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 19:59:59] local.INFO: GPS Element Parsed {"raw_longitude":763963008,"raw_latitude":97050520,"longitude_deg":76.3963008,"latitude_deg":9.705052,"altitude":7,"angle":263,"satellites":42,"speed":10,"hex_longitude":"2d892680","hex_latitude":"05c8df98","is_valid_coordinates":true} 
[2026-08-21 19: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-08-21 19:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554568960001,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122005903321858048,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8561905816739700736,"note":"Value kept but may cause issues"} 
[2026-08-21 19:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 19:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787322541000,"timestamp_ms":1787322541000,"timestamp_seconds":1787322541,"priority":1,"record_length":96,"hex_timestamp":"000001a024b9a3c8"} 
[2026-08-21 19:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 19:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 19:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 19: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-08-21 19:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 19:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 19:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 19:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 19:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 19:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 19:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 19:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554568960001,"66":12298,"96":206,"85":13824,"24":10,"16":122005903321858048,"45":-8561905816739700736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 19:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 19:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 19:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554568960001,"description":"Unknown IO ID 0"} 
[2026-08-21 19:59:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 19:59:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 19:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122005903321858048,"km_value":122005903321858.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 19:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8561905816739700736,"description":"Unknown IO ID 45"} 
[2026-08-21 19:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554568960001,"power":12298,"unknown_96":206,"unknown_85":13824,"ignition":10,"odometer":null,"unknown_45":-8561905816739700736}} 
[2026-08-21 19:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":159302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677680,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 19:59:59] local.INFO: GPS data processed {"connection_id":159302,"processed":1,"errors":0,"total":1} 
[2026-08-21 19:59:59] local.INFO: Acknowledgment sent {"connection_id":159302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:00] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:00:00] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:00:00] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:00:02] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:00:02] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:00:02] local.INFO: IMEI packet received {"connection_id":161887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":161887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:00:03] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:03] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:03] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:03] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:03] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:03] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:03] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024b9f5d0012d89138005c8de180004010c28..."} 
[2026-08-21 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b9f5d0012d89138005c8de180004010c28..."} 
[2026-08-21 20:00:03] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b9f5d0012d89138005c8de180004010c28..."} 
[2026-08-21 20:00:03] local.INFO: Packet analysis {"connection_id":159302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:03] local.INFO: Extracted packet for processing {"connection_id":159302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:03] local.INFO: GPS Element Parsed {"raw_longitude":763958144,"raw_latitude":97050136,"longitude_deg":76.3958144,"latitude_deg":9.7050136,"altitude":4,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d891380","hex_latitude":"05c8de18","is_valid_coordinates":true} 
[2026-08-21 20:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554570496001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122006139545059328,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8564016879065131008,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322562000,"timestamp_ms":1787322562000,"timestamp_seconds":1787322562,"priority":1,"record_length":96,"hex_timestamp":"000001a024b9f5d0"} 
[2026-08-21 20:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":416890725708923124,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3891136466444616192,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2645896838735825300,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2305343493,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832603,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3397122377264398542,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3102486529,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4286054407,"corrected_to":0} 
[2026-08-21 20:00:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2875195598,"corrected_to":0} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":43,"raw_value":3940649674604548,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511019,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3372756992,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":8,"raw_value":67038323574571008,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.WARNING: Large IO value detected {"io_id":114,"raw_value":-5836665117072162815,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:03] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,96,85,24,241,157,16,115,160,140,45,225,6,41,10,66,120,192,227,7,42,50,1,240,26,36,200,4,113,205,17,193,117,232,43,239,48,2,177,5,8,114],"length":534,"final_offset":664,"validated_count":42,"validation_warnings":[{"io_id":200,"original":4286054407,"validated":0},{"io_id":205,"original":2875195598,"validated":0}]} 
[2026-08-21 20:00:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504692510212882432,"timestamp_seconds":504692510212882.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 20:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554570496001,"66":12015,"96":206,"85":13824,"24":0,"16":122006139545059328,"45":-8564016879065131008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 20:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554570496001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 20:00:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122006139545059328,"km_value":122006139545059.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8564016879065131008,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554570496001,"power":12015,"unknown_96":206,"unknown_85":13824,"ignition":0,"odometer":null,"unknown_45":-8564016879065131008}} 
[2026-08-21 20:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":159302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677682,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:03] local.INFO: GPS data processed {"connection_id":159302,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:03] local.INFO: Acknowledgment sent {"connection_id":159302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:06] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:00:06] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:00:06] local.INFO: IMEI packet received {"connection_id":160487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":160487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:00:07] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 20:00:07] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 20:00:07] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 20:00:07] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 20:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:00:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 20:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:07] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:07] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:07] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:07] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:07] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:07] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:07] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:07] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:34] local.INFO: TCP Data received {"connection_id":159302,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ba4008012d88ff8005c8dc08000601002a..."} 
[2026-08-21 20:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ba4008012d88ff8005c8dc08000601002a..."} 
[2026-08-21 20:00:34] local.INFO: Processing buffer {"connection_id":159302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ba4008012d88ff8005c8dc08000601002a..."} 
[2026-08-21 20:00:34] local.INFO: Packet analysis {"connection_id":159302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:00:34] local.INFO: Extracted packet for processing {"connection_id":159302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763953024,"raw_latitude":97049608,"longitude_deg":76.3953024,"latitude_deg":9.7049608,"altitude":6,"angle":256,"satellites":42,"speed":15,"hex_longitude":"2d88ff80","hex_latitude":"05c8dc08","is_valid_coordinates":true} 
[2026-08-21 20:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554575872001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122006384358195200,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8569364903622731776,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322581000,"timestamp_ms":1787322581000,"timestamp_seconds":1787322581,"priority":1,"record_length":96,"hex_timestamp":"000001a024ba4008"} 
[2026-08-21 20:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554575872001,"66":12113,"96":206,"85":13824,"24":15,"16":122006384358195200,"45":-8569364903622731776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 20:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554575872001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 20:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122006384358195200,"km_value":122006384358195.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8569364903622731776,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554575872001,"power":12113,"unknown_96":206,"unknown_85":13824,"ignition":15,"odometer":null,"unknown_45":-8569364903622731776}} 
[2026-08-21 20:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":159302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677685,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:34] local.INFO: GPS data processed {"connection_id":159302,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:34] local.INFO: Acknowledgment sent {"connection_id":159302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:38] local.INFO: TCP Data received {"connection_id":160487,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 20:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 20:00:38] local.INFO: Processing buffer {"connection_id":160487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b667a8012d196540071feff8004400112d..."} 
[2026-08-21 20:00:38] local.INFO: Packet analysis {"connection_id":160487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 20:00:38] local.INFO: Extracted packet for processing {"connection_id":160487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b6"} 
[2026-08-21 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554437888001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149858304,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322329000,"timestamp_ms":1787322329000,"timestamp_seconds":1787322329,"priority":1,"record_length":96,"hex_timestamp":"000001a024b667a8"} 
[2026-08-21 20:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:00: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":41,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554437888001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1830431804149858304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554437888001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:00:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149858304,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554437888001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1830431804149858304}} 
[2026-08-21 20:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":160487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:38] local.INFO: GPS data processed {"connection_id":160487,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:38] local.INFO: Acknowledgment sent {"connection_id":160487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:38] local.INFO: TCP Data received {"connection_id":161887,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:38] local.INFO: Processing buffer {"connection_id":161887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:00:38] local.INFO: Packet analysis {"connection_id":161887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:38] local.INFO: Extracted packet for processing {"connection_id":161887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:00:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:00:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":161887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:38] local.INFO: GPS data processed {"connection_id":161887,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:38] local.INFO: Acknowledgment sent {"connection_id":161887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:00:53] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:00:53] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:00:53] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:00:57] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:00:57] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:00:57] local.INFO: IMEI packet received {"connection_id":159303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":159303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:00:58] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:00:58] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:00:58] local.INFO: IMEI packet received {"connection_id":160488,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":160488,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:00:59] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ba72d0012d88eec005c8d668000600f228..."} 
[2026-08-21 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ba72d0012d88eec005c8d668000600f228..."} 
[2026-08-21 20:00:59] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ba72d0012d88eec005c8d668000600f228..."} 
[2026-08-21 20:00:59] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:00:59] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":763948736,"raw_latitude":97048168,"longitude_deg":76.3948736,"latitude_deg":9.7048168,"altitude":6,"angle":242,"satellites":40,"speed":10,"hex_longitude":"2d88eec0","hex_latitude":"05c8d668","is_valid_coordinates":true} 
[2026-08-21 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554580736001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122006599106560000,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8574994403157080064,"note":"Value kept but may cause issues"} 
[2026-08-21 20:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787322594000,"timestamp_ms":1787322594000,"timestamp_seconds":1787322594,"priority":1,"record_length":96,"hex_timestamp":"000001a024ba72d0"} 
[2026-08-21 20:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-08-21 20:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554580736001,"66":12102,"96":206,"85":13824,"24":10,"16":122006599106560000,"45":-8574994403157080064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-08-21 20:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554580736001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:00:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-08-21 20:00:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122006599106560000,"km_value":122006599106560,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8574994403157080064,"description":"Unknown IO ID 45"} 
[2026-08-21 20:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554580736001,"power":12102,"unknown_96":206,"unknown_85":13824,"ignition":10,"odometer":null,"unknown_45":-8574994403157080064}} 
[2026-08-21 20:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677688,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:00:59] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:00:59] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:01:02] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:01:02] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:01:02] local.INFO: IMEI packet received {"connection_id":159303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":159303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:01:03] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:01:03] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:01:03] local.INFO: Packet analysis {"connection_id":159303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:01:03] local.INFO: Extracted packet for processing {"connection_id":159303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:01:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":159303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:01:03] local.INFO: GPS data processed {"connection_id":159303,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:01:03] local.INFO: Acknowledgment sent {"connection_id":159303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:01:06] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:01:06] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:01:06] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:01:08] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:01:08] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:01:08] local.INFO: IMEI packet received {"connection_id":160489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":160489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:01:09] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:09] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:09] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:01:09] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:01:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:01:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:01:09] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:01:09] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:01:11] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:11] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:11] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:01:11] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:01:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:01:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:01:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:01:11] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:01:11] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:01:31] local.INFO: TCP Data received {"connection_id":160488,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bba380012d88620005c8c7b00008014f2a..."} 
[2026-08-21 20:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bba380012d88620005c8c7b00008014f2a..."} 
[2026-08-21 20:01:31] local.INFO: Processing buffer {"connection_id":160488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bba380012d88620005c8c7b00008014f2a..."} 
[2026-08-21 20:01:31] local.INFO: Packet analysis {"connection_id":160488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bb"} 
[2026-08-21 20:01:31] local.INFO: Extracted packet for processing {"connection_id":160488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bb"} 
[2026-08-21 20:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763912704,"raw_latitude":97044400,"longitude_deg":76.3912704,"latitude_deg":9.70444,"altitude":8,"angle":335,"satellites":42,"speed":11,"hex_longitude":"2d886200","hex_latitude":"05c8c7b0","is_valid_coordinates":true} 
[2026-08-21 20:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554603776001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122008360043151360,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8619115605757861888,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787322672000,"timestamp_ms":1787322672000,"timestamp_seconds":1787322672,"priority":1,"record_length":96,"hex_timestamp":"000001a024bba380"} 
[2026-08-21 20:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-08-21 20:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":160488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":160488,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554603776001,"66":12287,"97":206,"85":13824,"24":11,"16":122008360043151360,"45":-8619115605757861888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554603776001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:01:31] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122008360043151360,"km_value":122008360043151.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8619115605757861888,"description":"Unknown IO ID 45"} 
[2026-08-21 20:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554603776001,"power":12287,"unknown_97":206,"unknown_85":13824,"ignition":11,"odometer":null,"unknown_45":-8619115605757861888}} 
[2026-08-21 20:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":160488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:01:31] local.INFO: GPS data processed {"connection_id":160488,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:01:31] local.INFO: Acknowledgment sent {"connection_id":160488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:01:34] local.INFO: TCP Data received {"connection_id":159303,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:01:34] local.INFO: Processing buffer {"connection_id":159303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:01:34] local.INFO: Packet analysis {"connection_id":159303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:01:34] local.INFO: Extracted packet for processing {"connection_id":159303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:01:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":159303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:01:34] local.INFO: GPS data processed {"connection_id":159303,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:01:34] local.INFO: Acknowledgment sent {"connection_id":159303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:01:42] local.INFO: TCP Data received {"connection_id":160489,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:42] local.INFO: Processing buffer {"connection_id":160489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:01:42] local.INFO: Packet analysis {"connection_id":160489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:01:42] local.INFO: Extracted packet for processing {"connection_id":160489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":160489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":160489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":160489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:01:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:01:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":160489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:01:42] local.INFO: GPS data processed {"connection_id":160489,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:01:42] local.INFO: Acknowledgment sent {"connection_id":160489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:01:57] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:01:57] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:01:57] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:01:58] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:01:58] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:01:58] local.INFO: IMEI packet received {"connection_id":159304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":159304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:01:59] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:01:59] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:01:59] local.INFO: IMEI packet received {"connection_id":159304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":159304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:02:00] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bbc2c0012d885e0005c8d3180007015b2b..."} 
[2026-08-21 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bbc2c0012d885e0005c8d3180007015b2b..."} 
[2026-08-21 20:02:00] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bbc2c0012d885e0005c8d3180007015b2b..."} 
[2026-08-21 20:02:00] local.INFO: Packet analysis {"connection_id":159304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bb"} 
[2026-08-21 20:02:00] local.INFO: Extracted packet for processing {"connection_id":159304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bb"} 
[2026-08-21 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":763911680,"raw_latitude":97047320,"longitude_deg":76.391168,"latitude_deg":9.704732,"altitude":7,"angle":347,"satellites":43,"speed":19,"hex_longitude":"2d885e00","hex_latitude":"05c8d318","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554604032001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122008510367006720,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8619326711990341632,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787322680000,"timestamp_ms":1787322680000,"timestamp_seconds":1787322680,"priority":1,"record_length":96,"hex_timestamp":"000001a024bbc2c0"} 
[2026-08-21 20:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554604032001,"66":12232,"97":206,"85":13824,"24":19,"16":122008510367006720,"45":-8619326711990341632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554604032001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122008510367006720,"km_value":122008510367006.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8619326711990341632,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554604032001,"power":12232,"unknown_97":206,"unknown_85":13824,"ignition":19,"odometer":null,"unknown_45":-8619326711990341632}} 
[2026-08-21 20:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":159304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677695,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:00] local.INFO: GPS data processed {"connection_id":159304,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:00] local.INFO: Acknowledgment sent {"connection_id":159304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:01] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:02:01] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:02:01] local.INFO: IMEI packet received {"connection_id":159305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":159305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:02:02] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:02:02] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:02:02] local.INFO: IMEI packet received {"connection_id":161888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":161888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:02:03] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:02:03] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:02:03] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:02:03] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 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-08-21 20:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:03] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:03] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:04] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bbda30012d885c8005c8dca8000801662b..."} 
[2026-08-21 20:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bbda30012d885c8005c8dca8000801662b..."} 
[2026-08-21 20:02:04] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bbda30012d885c8005c8dca8000801662b..."} 
[2026-08-21 20:02:04] local.INFO: Packet analysis {"connection_id":159304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bb"} 
[2026-08-21 20:02:04] local.INFO: Extracted packet for processing {"connection_id":159304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bb"} 
[2026-08-21 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":763911296,"raw_latitude":97049768,"longitude_deg":76.3911296,"latitude_deg":9.7049768,"altitude":8,"angle":358,"satellites":43,"speed":8,"hex_longitude":"2d885c80","hex_latitude":"05c8dca8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554606080001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122008630626091008,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8620452611896436736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787322686000,"timestamp_ms":1787322686000,"timestamp_seconds":1787322686,"priority":1,"record_length":96,"hex_timestamp":"000001a024bbda30"} 
[2026-08-21 20:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554606080001,"66":12058,"97":206,"85":13824,"24":8,"16":122008630626091008,"45":-8620452611896436736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554606080001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:02:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122008630626091008,"km_value":122008630626091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8620452611896436736,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554606080001,"power":12058,"unknown_97":206,"unknown_85":13824,"ignition":8,"odometer":null,"unknown_45":-8620452611896436736}} 
[2026-08-21 20:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":159304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:04] local.INFO: GPS data processed {"connection_id":159304,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:04] local.INFO: Acknowledgment sent {"connection_id":159304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:06] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:02:06] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:02:06] local.INFO: IMEI packet received {"connection_id":159305,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":159305,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:02:07] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:02:07] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:02:07] local.INFO: Packet analysis {"connection_id":159305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:02:07] local.INFO: Extracted packet for processing {"connection_id":159305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:02:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":159305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:07] local.INFO: GPS data processed {"connection_id":159305,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:07] local.INFO: Acknowledgment sent {"connection_id":159305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:34] local.INFO: TCP Data received {"connection_id":161888,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:02:34] local.INFO: Processing buffer {"connection_id":161888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:02:34] local.INFO: Packet analysis {"connection_id":161888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:02:34] local.INFO: Extracted packet for processing {"connection_id":161888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":161888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:34] local.INFO: GPS data processed {"connection_id":161888,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:34] local.INFO: Acknowledgment sent {"connection_id":161888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:34] local.INFO: TCP Data received {"connection_id":159304,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bccc60012d88770005c93a080007001127..."} 
[2026-08-21 20:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bccc60012d88770005c93a080007001127..."} 
[2026-08-21 20:02:34] local.INFO: Processing buffer {"connection_id":159304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bccc60012d88770005c93a080007001127..."} 
[2026-08-21 20:02:34] local.INFO: Packet analysis {"connection_id":159304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:02:34] local.INFO: Extracted packet for processing {"connection_id":159304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763918080,"raw_latitude":97073672,"longitude_deg":76.391808,"latitude_deg":9.7073672,"altitude":7,"angle":17,"satellites":39,"speed":21,"hex_longitude":"2d887700","hex_latitude":"05c93a08","is_valid_coordinates":true} 
[2026-08-21 20:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554623232001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122010030785429504,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613697212448761856,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322748000,"timestamp_ms":1787322748000,"timestamp_seconds":1787322748,"priority":1,"record_length":96,"hex_timestamp":"000001a024bccc60"} 
[2026-08-21 20:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554623232001,"66":12287,"97":206,"85":13824,"24":21,"16":122010030785429504,"45":-8613697212448761856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554623232001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:02:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122010030785429504,"km_value":122010030785429.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613697212448761856,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554623232001,"power":12287,"unknown_97":206,"unknown_85":13824,"ignition":21,"odometer":null,"unknown_45":-8613697212448761856}} 
[2026-08-21 20:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":159304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:34] local.INFO: GPS data processed {"connection_id":159304,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:34] local.INFO: Acknowledgment sent {"connection_id":159304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:38] local.INFO: TCP Data received {"connection_id":159305,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:02:38] local.INFO: Processing buffer {"connection_id":159305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:02:38] local.INFO: Packet analysis {"connection_id":159305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:02:38] local.INFO: Extracted packet for processing {"connection_id":159305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:02:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159305,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:02:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":159305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:38] local.INFO: GPS data processed {"connection_id":159305,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:38] local.INFO: Acknowledgment sent {"connection_id":159305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:53] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:02:53] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:02:53] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:02:54] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:02:54] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:02:54] local.INFO: IMEI packet received {"connection_id":161889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":161889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:02:55] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bcd048012d88774005c93c580007000328..."} 
[2026-08-21 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bcd048012d88774005c93c580007000328..."} 
[2026-08-21 20:02:55] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bcd048012d88774005c93c580007000328..."} 
[2026-08-21 20:02:55] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:02:55] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:02:55] local.INFO: GPS Element Parsed {"raw_longitude":763918144,"raw_latitude":97074264,"longitude_deg":76.3918144,"latitude_deg":9.7074264,"altitude":7,"angle":3,"satellites":40,"speed":24,"hex_longitude":"2d887740","hex_latitude":"05c93c58","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554623488001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122010056555233280,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613415737471924224,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787322749000,"timestamp_ms":1787322749000,"timestamp_seconds":1787322749,"priority":1,"record_length":96,"hex_timestamp":"000001a024bcd048"} 
[2026-08-21 20:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02: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-08-21 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554623488001,"66":12287,"97":206,"85":13824,"24":24,"16":122010056555233280,"45":-8613415737471924224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554623488001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:02:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122010056555233280,"km_value":122010056555233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613415737471924224,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554623488001,"power":12287,"unknown_97":206,"unknown_85":13824,"ignition":24,"odometer":null,"unknown_45":-8613415737471924224}} 
[2026-08-21 20:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:55] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:55] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:02:57] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:02:57] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:02:57] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:02:59] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bcdc00012d8876c005c943e80008016127..."} 
[2026-08-21 20:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bcdc00012d8876c005c943e80008016127..."} 
[2026-08-21 20:02:59] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bcdc00012d8876c005c943e80008016127..."} 
[2026-08-21 20:02:59] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:02:59] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:02:59] local.INFO: GPS Element Parsed {"raw_longitude":763918016,"raw_latitude":97076200,"longitude_deg":76.3918016,"latitude_deg":9.70762,"altitude":8,"angle":353,"satellites":39,"speed":26,"hex_longitude":"2d8876c0","hex_latitude":"05c943e8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554623744001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122010151044513792,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613345368727595008,"note":"Value kept but may cause issues"} 
[2026-08-21 20:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787322752000,"timestamp_ms":1787322752000,"timestamp_seconds":1787322752,"priority":1,"record_length":96,"hex_timestamp":"000001a024bcdc00"} 
[2026-08-21 20:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-08-21 20:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554623744001,"66":12341,"97":206,"85":13824,"24":26,"16":122010151044513792,"45":-8613345368727595008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554623744001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:02:59] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:02:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122010151044513792,"km_value":122010151044513.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613345368727595008,"description":"Unknown IO ID 45"} 
[2026-08-21 20:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554623744001,"power":12341,"unknown_97":206,"unknown_85":13824,"ignition":26,"odometer":null,"unknown_45":-8613345368727595008}} 
[2026-08-21 20:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677703,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:02:59] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:02:59] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:03:01] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:03:01] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:03:01] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:03:02] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:03:02] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:03:02] local.INFO: IMEI packet received {"connection_id":160490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":160490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:03:03] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:03:03] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:03:03] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:03:03] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:03: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-08-21 20:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:03:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:03:03] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:03:03] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:03:06] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:03:06] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:03:06] local.INFO: IMEI packet received {"connection_id":161890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":161890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:03:19] local.INFO: TCP Data received {"connection_id":161890,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:03:19] local.INFO: Processing buffer {"connection_id":161890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:03:19] local.INFO: Packet analysis {"connection_id":161890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:03:19] local.INFO: Extracted packet for processing {"connection_id":161890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:03: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-08-21 20:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:03:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":161890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:03:19] local.INFO: GPS data processed {"connection_id":161890,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:03:19] local.INFO: Acknowledgment sent {"connection_id":161890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:03:30] local.INFO: TCP Data received {"connection_id":161889,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bcef88012d88768005c94f700008000928..."} 
[2026-08-21 20:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bcef88012d88768005c94f700008000928..."} 
[2026-08-21 20:03:30] local.INFO: Processing buffer {"connection_id":161889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bcef88012d88768005c94f700008000928..."} 
[2026-08-21 20:03:30] local.INFO: Packet analysis {"connection_id":161889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:03:30] local.INFO: Extracted packet for processing {"connection_id":161889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:03:30] local.INFO: GPS Element Parsed {"raw_longitude":763917952,"raw_latitude":97079152,"longitude_deg":76.3917952,"latitude_deg":9.7079152,"altitude":8,"angle":9,"satellites":40,"speed":20,"hex_longitude":"2d887680","hex_latitude":"05c94f70","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554624512001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122010297073401856,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613486106215454720,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787322757000,"timestamp_ms":1787322757000,"timestamp_seconds":1787322757,"priority":1,"record_length":96,"hex_timestamp":"000001a024bcef88"} 
[2026-08-21 20:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:03: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-08-21 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 20:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554624512001,"66":12330,"97":206,"85":13824,"24":20,"16":122010297073401856,"45":-8613486106215454720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554624512001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:03:30] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122010297073401856,"km_value":122010297073401.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613486106215454720,"description":"Unknown IO ID 45"} 
[2026-08-21 20:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554624512001,"power":12330,"unknown_97":206,"unknown_85":13824,"ignition":20,"odometer":null,"unknown_45":-8613486106215454720}} 
[2026-08-21 20:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":161889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:03:30] local.INFO: GPS data processed {"connection_id":161889,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:03:30] local.INFO: Acknowledgment sent {"connection_id":161889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:03:34] local.INFO: TCP Data received {"connection_id":160490,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:03:34] local.INFO: Processing buffer {"connection_id":160490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:03:34] local.INFO: Packet analysis {"connection_id":160490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:03:34] local.INFO: Extracted packet for processing {"connection_id":160490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:03:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:03:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":160490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:03:34] local.INFO: GPS data processed {"connection_id":160490,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:03:34] local.INFO: Acknowledgment sent {"connection_id":160490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:03:53] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:03:53] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:03:53] local.INFO: IMEI packet received {"connection_id":159306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":159306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:03:57] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:03:57] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:03:57] local.INFO: IMEI packet received {"connection_id":161891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":161891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:03:57] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:03:57] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:03:57] local.INFO: IMEI packet received {"connection_id":159306,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":159306,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:03:58] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bcf758012d88774005c953a8000800142a..."} 
[2026-08-21 20:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bcf758012d88774005c953a8000800142a..."} 
[2026-08-21 20:03:58] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bcf758012d88774005c953a8000800142a..."} 
[2026-08-21 20:03:58] local.INFO: Packet analysis {"connection_id":159306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:03:58] local.INFO: Extracted packet for processing {"connection_id":159306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bc"} 
[2026-08-21 20:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763918144,"raw_latitude":97080232,"longitude_deg":76.3918144,"latitude_deg":9.7080232,"altitude":8,"angle":20,"satellites":42,"speed":22,"hex_longitude":"2d887740","hex_latitude":"05c953a8","is_valid_coordinates":true} 
[2026-08-21 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554625792001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122010348613009408,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613556474958876672,"note":"Value kept but may cause issues"} 
[2026-08-21 20:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787322759000,"timestamp_ms":1787322759000,"timestamp_seconds":1787322759,"priority":1,"record_length":96,"hex_timestamp":"000001a024bcf758"} 
[2026-08-21 20:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:03: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-08-21 20:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 20:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":159306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":159306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":159306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554625792001,"66":12232,"97":206,"85":13824,"24":22,"16":122010348613009408,"45":-8613556474958876672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554625792001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122010348613009408,"km_value":122010348613009.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613556474958876672,"description":"Unknown IO ID 45"} 
[2026-08-21 20:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554625792001,"power":12232,"unknown_97":206,"unknown_85":13824,"ignition":22,"odometer":null,"unknown_45":-8613556474958876672}} 
[2026-08-21 20:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":159306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:03:58] local.INFO: GPS data processed {"connection_id":159306,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:03:58] local.INFO: Acknowledgment sent {"connection_id":159306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:04:00] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:04:00] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:04:00] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:04:02] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:04:02] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:04:02] local.INFO: IMEI packet received {"connection_id":161891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":161891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:04:03] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:04:03] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024b96930012d9e4200055ace48000800012d..."} 
[2026-08-21 20:04:03] local.INFO: Packet analysis {"connection_id":161891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:04:03] local.INFO: Extracted packet for processing {"connection_id":161891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024b9"} 
[2026-08-21 20:04:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554489600001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322526000,"timestamp_ms":1787322526000,"timestamp_seconds":1787322526,"priority":1,"record_length":96,"hex_timestamp":"000001a024b96930"} 
[2026-08-21 20:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:04:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554489600001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554489600001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:04:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554489600001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":161891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:04:03] local.INFO: GPS data processed {"connection_id":161891,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:04:03] local.INFO: Acknowledgment sent {"connection_id":161891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:04:06] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:04:06] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:04:06] local.INFO: IMEI packet received {"connection_id":160491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":160491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:04:07] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:04:07] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:04:07] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:04:07] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:04:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:04:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:04:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:04:07] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:04:07] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:04:29] local.INFO: TCP Data received {"connection_id":159306,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bd0310012d887a8005c959f8000800202a..."} 
[2026-08-21 20:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bd0310012d887a8005c959f8000800202a..."} 
[2026-08-21 20:04:29] local.INFO: Processing buffer {"connection_id":159306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bd0310012d887a8005c959f8000800202a..."} 
[2026-08-21 20:04:29] local.INFO: Packet analysis {"connection_id":159306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bd"} 
[2026-08-21 20:04:29] local.INFO: Extracted packet for processing {"connection_id":159306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bd"} 
[2026-08-21 20:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763918976,"raw_latitude":97081848,"longitude_deg":76.3918976,"latitude_deg":9.7081848,"altitude":8,"angle":32,"satellites":42,"speed":24,"hex_longitude":"2d887a80","hex_latitude":"05c959f8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554626304001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122010438807322624,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613345368726067200,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787322762000,"timestamp_ms":1787322762000,"timestamp_seconds":1787322762,"priority":1,"record_length":96,"hex_timestamp":"000001a024bd0310"} 
[2026-08-21 20:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 20:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":159306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":159306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":159306,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554626304001,"66":12189,"97":206,"85":13824,"24":24,"16":122010438807322624,"45":-8613345368726067200},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-08-21 20:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554626304001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:04:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-08-21 20:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122010438807322624,"km_value":122010438807322.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613345368726067200,"description":"Unknown IO ID 45"} 
[2026-08-21 20:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554626304001,"power":12189,"unknown_97":206,"unknown_85":13824,"ignition":24,"odometer":null,"unknown_45":-8613345368726067200}} 
[2026-08-21 20:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":159306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:04:29] local.INFO: GPS data processed {"connection_id":159306,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:04:29] local.INFO: Acknowledgment sent {"connection_id":159306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:04:34] local.INFO: TCP Data received {"connection_id":161891,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:04:34] local.INFO: Processing buffer {"connection_id":161891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:04:34] local.INFO: Packet analysis {"connection_id":161891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:04:34] local.INFO: Extracted packet for processing {"connection_id":161891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:04:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":161891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:04:34] local.INFO: GPS data processed {"connection_id":161891,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:04:34] local.INFO: Acknowledgment sent {"connection_id":161891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:04:38] local.INFO: TCP Data received {"connection_id":160491,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:04:38] local.INFO: Processing buffer {"connection_id":160491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:04:38] local.INFO: Packet analysis {"connection_id":160491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:04:38] local.INFO: Extracted packet for processing {"connection_id":160491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:04:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:04:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":160491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677713,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:04:38] local.INFO: GPS data processed {"connection_id":160491,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:04:38] local.INFO: Acknowledgment sent {"connection_id":160491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:04:53] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:04:53] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:04:53] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:04:57] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:04:57] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:04:57] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:05:00] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:05:00] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:05:00] local.INFO: IMEI packet received {"connection_id":161892,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":161892,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:05:02] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:05:02] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:05:02] local.INFO: IMEI packet received {"connection_id":160492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":160492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:05:03] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:05:03] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:05:03] local.INFO: Packet analysis {"connection_id":160492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:03] local.INFO: Extracted packet for processing {"connection_id":160492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:05:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:05:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":160492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:05:03] local.INFO: GPS data processed {"connection_id":160492,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:05:03] local.INFO: Acknowledgment sent {"connection_id":160492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:05:04] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024be9568012d88758005ca7b10000900072a..."} 
[2026-08-21 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be9568012d88758005ca7b10000900072a..."} 
[2026-08-21 20:05:04] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be9568012d88758005ca7b10000900072a..."} 
[2026-08-21 20:05:04] local.INFO: Packet analysis {"connection_id":161892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:04] local.INFO: Extracted packet for processing {"connection_id":161892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:04] local.INFO: GPS Element Parsed {"raw_longitude":763917696,"raw_latitude":97155856,"longitude_deg":76.3917696,"latitude_deg":9.7155856,"altitude":9,"angle":7,"satellites":42,"speed":32,"hex_longitude":"2d887580","hex_latitude":"05ca7b10","is_valid_coordinates":true} 
[2026-08-21 20:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554650368001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122014128184229888,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8616019380987697152,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787322865000,"timestamp_ms":1787322865000,"timestamp_seconds":1787322865,"priority":1,"record_length":96,"hex_timestamp":"000001a024be9568"} 
[2026-08-21 20:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-08-21 20:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1846,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:05:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554650368001,"66":12461,"95":206,"85":13824,"24":32,"16":122014128184229888,"45":-8616019380987697152},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-21 20:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554650368001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:05:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 20:05:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122014128184229888,"km_value":122014128184229.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8616019380987697152,"description":"Unknown IO ID 45"} 
[2026-08-21 20:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554650368001,"power":12461,"unknown_95":206,"unknown_85":13824,"ignition":32,"odometer":null,"unknown_45":-8616019380987697152}} 
[2026-08-21 20:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":161892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677715,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:05:04] local.INFO: GPS data processed {"connection_id":161892,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:05:04] local.INFO: Acknowledgment sent {"connection_id":161892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:05:06] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:05:06] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:05:06] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:05:11] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:05:11] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:05:11] local.INFO: IMEI packet received {"connection_id":161893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":161893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:05:12] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:05:12] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:05:12] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:05:12] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:05:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:05:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:05:12] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:05:12] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:05:16] local.INFO: TCP Data received {"connection_id":161893,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:05:16] local.INFO: Processing buffer {"connection_id":161893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:05:16] local.INFO: Packet analysis {"connection_id":161893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:05:16] local.INFO: Extracted packet for processing {"connection_id":161893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 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-08-21 20:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:05:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:05:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:05:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":161893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:05:16] local.INFO: GPS data processed {"connection_id":161893,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:05:16] local.INFO: Acknowledgment sent {"connection_id":161893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:05:34] local.INFO: TCP Data received {"connection_id":160492,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:05:34] local.INFO: Processing buffer {"connection_id":160492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:05:34] local.INFO: Packet analysis {"connection_id":160492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:34] local.INFO: Extracted packet for processing {"connection_id":160492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:05:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":160492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:05:34] local.INFO: GPS data processed {"connection_id":160492,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:05:34] local.INFO: Acknowledgment sent {"connection_id":160492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:05:35] local.INFO: TCP Data received {"connection_id":161892,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bec060012d887ac005ca9b800008001429..."} 
[2026-08-21 20:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bec060012d887ac005ca9b800008001429..."} 
[2026-08-21 20:05:35] local.INFO: Processing buffer {"connection_id":161892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bec060012d887ac005ca9b800008001429..."} 
[2026-08-21 20:05:35] local.INFO: Packet analysis {"connection_id":161892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:35] local.INFO: Extracted packet for processing {"connection_id":161892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":763919040,"raw_latitude":97164160,"longitude_deg":76.391904,"latitude_deg":9.716416,"altitude":8,"angle":20,"satellites":41,"speed":28,"hex_longitude":"2d887ac0","hex_latitude":"05ca9b80","is_valid_coordinates":true} 
[2026-08-21 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554653440001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122014540501090304,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8613837949915951104,"note":"Value kept but may cause issues"} 
[2026-08-21 20:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787322876000,"timestamp_ms":1787322876000,"timestamp_seconds":1787322876,"priority":1,"record_length":96,"hex_timestamp":"000001a024bec060"} 
[2026-08-21 20:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 20:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161892,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554653440001,"66":12341,"95":206,"85":13824,"24":28,"16":122014540501090304,"45":-8613837949915951104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-21 20:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554653440001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:05:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 20:05:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122014540501090304,"km_value":122014540501090.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8613837949915951104,"description":"Unknown IO ID 45"} 
[2026-08-21 20:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554653440001,"power":12341,"unknown_95":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8613837949915951104}} 
[2026-08-21 20:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":161892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:05:35] local.INFO: GPS data processed {"connection_id":161892,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:05:35] local.INFO: Acknowledgment sent {"connection_id":161892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:05:56] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:05:56] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:05:56] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:05:57] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:05:57] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:05:57] local.INFO: IMEI packet received {"connection_id":160494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":160494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:06:01] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:06:01] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:06:01] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:06:02] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:06:02] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:06:02] local.INFO: IMEI packet received {"connection_id":160494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":160494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:06:03] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:06:03] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:06:03] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:06:03] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:06:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:06:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:06:03] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:06:03] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:06:04] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:04] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:04] local.INFO: IMEI packet received {"connection_id":160493,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":160493,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:06:06] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:06:06] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:06:06] local.INFO: IMEI packet received {"connection_id":161894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":161894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:06:06] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:06:06] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024baff70012d196540071feff8004400112d..."} 
[2026-08-21 20:06:06] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:06:06] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ba"} 
[2026-08-21 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":45,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554516224001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787322630000,"timestamp_ms":1787322630000,"timestamp_seconds":1787322630,"priority":1,"record_length":96,"hex_timestamp":"000001a024baff70"} 
[2026-08-21 20:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554516224001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554516224001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:06:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:06:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554516224001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:06:07] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:06:07] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:06:34] local.INFO: TCP Data received {"connection_id":160494,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:06:34] local.INFO: Processing buffer {"connection_id":160494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:06:34] local.INFO: Packet analysis {"connection_id":160494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:06:34] local.INFO: Extracted packet for processing {"connection_id":160494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:06:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:06:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":160494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:06:34] local.INFO: GPS data processed {"connection_id":160494,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:06:34] local.INFO: Acknowledgment sent {"connection_id":160494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:06:38] local.INFO: TCP Data received {"connection_id":161894,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:06:38] local.INFO: Processing buffer {"connection_id":161894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:06:38] local.INFO: Packet analysis {"connection_id":161894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:06:38] local.INFO: Extracted packet for processing {"connection_id":161894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:06:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":161894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:06:38] local.INFO: GPS data processed {"connection_id":161894,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:06:38] local.INFO: Acknowledgment sent {"connection_id":161894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:06:47] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bed7d0012d8880c005caaa500008000628..."} 
[2026-08-21 20:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bed7d0012d8880c005caaa500008000628..."} 
[2026-08-21 20:06:47] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bed7d0012d8880c005caaa500008000628..."} 
[2026-08-21 20:06:47] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:06:47] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763920576,"raw_latitude":97167952,"longitude_deg":76.3920576,"latitude_deg":9.7167952,"altitude":8,"angle":6,"satellites":40,"speed":28,"hex_longitude":"2d8880c0","hex_latitude":"05caaa50","is_valid_coordinates":true} 
[2026-08-21 20:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554656256001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122014738069585920,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8612360206286094336,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787322882000,"timestamp_ms":1787322882000,"timestamp_seconds":1787322882,"priority":1,"record_length":96,"hex_timestamp":"000001a024bed7d0"} 
[2026-08-21 20:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 20:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554656256001,"66":12330,"95":206,"85":13824,"24":28,"16":122014738069585920,"45":-8612360206286094336},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554656256001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122014738069585920,"km_value":122014738069585.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8612360206286094336,"description":"Unknown IO ID 45"} 
[2026-08-21 20:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554656256001,"power":12330,"unknown_95":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8612360206286094336}} 
[2026-08-21 20:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677724,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:06:47] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:06:47] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:06:47] local.INFO: TCP Data received {"connection_id":160493,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf0a98012d88848005cace080009000426..."} 
[2026-08-21 20:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf0a98012d88848005cace080009000426..."} 
[2026-08-21 20:06:47] local.INFO: Processing buffer {"connection_id":160493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf0a98012d88848005cace080009000426..."} 
[2026-08-21 20:06:47] local.INFO: Packet analysis {"connection_id":160493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:06:47] local.INFO: Extracted packet for processing {"connection_id":160493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":763921536,"raw_latitude":97177096,"longitude_deg":76.3921536,"latitude_deg":9.7177096,"altitude":9,"angle":4,"satellites":38,"speed":31,"hex_longitude":"2d888480","hex_latitude":"05cace08","is_valid_coordinates":true} 
[2026-08-21 20:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554657792001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122015184746184704,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8610671356424859648,"note":"Value kept but may cause issues"} 
[2026-08-21 20:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787322895000,"timestamp_ms":1787322895000,"timestamp_seconds":1787322895,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf0a98"} 
[2026-08-21 20:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 20:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160493,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554657792001,"66":12363,"95":206,"85":13824,"24":31,"16":122015184746184704,"45":-8610671356424859648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-21 20:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554657792001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122015184746184704,"km_value":122015184746184.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8610671356424859648,"description":"Unknown IO ID 45"} 
[2026-08-21 20:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554657792001,"power":12363,"unknown_95":206,"unknown_85":13824,"ignition":31,"odometer":null,"unknown_45":-8610671356424859648}} 
[2026-08-21 20:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":160493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677725,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:06:48] local.INFO: GPS data processed {"connection_id":160493,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:06:48] local.ERROR: TCP Connection error {"connection_id":160493,"code":2,"message":"client closed"} 
[2026-08-21 20:06:48] local.INFO: Acknowledgment sent {"connection_id":160493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:06:53] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:53] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:53] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:06:54] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:54] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:54] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:06:57] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:06:57] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:06:57] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:06:59] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:59] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:06:59] local.INFO: IMEI packet received {"connection_id":161895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":161895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:07:00] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf3d60012d88868005caf1480007016328..."} 
[2026-08-21 20:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf3d60012d88868005caf1480007016328..."} 
[2026-08-21 20:07:00] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf3d60012d88868005caf1480007016328..."} 
[2026-08-21 20:07:00] local.INFO: Packet analysis {"connection_id":161895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:07:00] local.INFO: Extracted packet for processing {"connection_id":161895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:07:00] local.INFO: GPS Element Parsed {"raw_longitude":763922048,"raw_latitude":97186120,"longitude_deg":76.3922048,"latitude_deg":9.718612,"altitude":7,"angle":355,"satellites":40,"speed":26,"hex_longitude":"2d888680","hex_latitude":"05caf148","is_valid_coordinates":true} 
[2026-08-21 20:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554661120001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122015622832848896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8609615825259853824,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787322908000,"timestamp_ms":1787322908000,"timestamp_seconds":1787322908,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf3d60"} 
[2026-08-21 20:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-08-21 20:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":161895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":161895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":161895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554661120001,"66":12374,"95":206,"85":13824,"24":26,"16":122015622832848896,"45":-8609615825259853824},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-08-21 20:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554661120001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:07:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 20:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122015622832848896,"km_value":122015622832848.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8609615825259853824,"description":"Unknown IO ID 45"} 
[2026-08-21 20:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554661120001,"power":12374,"unknown_95":206,"unknown_85":13824,"ignition":26,"odometer":null,"unknown_45":-8609615825259853824}} 
[2026-08-21 20:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":161895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:07:00] local.INFO: GPS data processed {"connection_id":161895,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:07:00] local.INFO: Acknowledgment sent {"connection_id":161895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:07:01] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:07:01] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:07:01] local.INFO: IMEI packet received {"connection_id":159307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":159307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:07:02] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:07:02] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:07:02] local.INFO: IMEI packet received {"connection_id":161896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":161896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:07:03] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:07:03] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:07:03] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:07:03] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:07: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-08-21 20:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:07:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:07:03] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:07:03] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:07:06] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:07:06] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:07:06] local.INFO: IMEI packet received {"connection_id":159307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":159307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:07:06] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:07:06] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:07:06] local.INFO: Packet analysis {"connection_id":159307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:07:06] local.INFO: Extracted packet for processing {"connection_id":159307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":159307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:07:07] local.INFO: GPS data processed {"connection_id":159307,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:07:07] local.INFO: Acknowledgment sent {"connection_id":159307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:07:31] local.INFO: TCP Data received {"connection_id":161895,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c144e8012d88900005cc6a900009001f2a..."} 
[2026-08-21 20:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c144e8012d88900005cc6a900009001f2a..."} 
[2026-08-21 20:07:31] local.INFO: Processing buffer {"connection_id":161895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c144e8012d88900005cc6a900009001f2a..."} 
[2026-08-21 20:07:31] local.INFO: Packet analysis {"connection_id":161895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c1"} 
[2026-08-21 20:07:31] local.INFO: Extracted packet for processing {"connection_id":161895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c1"} 
[2026-08-21 20:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763924480,"raw_latitude":97282704,"longitude_deg":76.392448,"latitude_deg":9.7282704,"altitude":9,"angle":31,"satellites":42,"speed":28,"hex_longitude":"2d889000","hex_latitude":"05cc6a90","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554697728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122020330117005312,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8607223287931283456,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787323041000,"timestamp_ms":1787323041000,"timestamp_seconds":1787323041,"priority":1,"record_length":96,"hex_timestamp":"000001a024c144e8"} 
[2026-08-21 20:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 20:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":161895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":161895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":161895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554697728001,"66":12298,"144":206,"85":13824,"24":28,"16":122020330117005312,"45":-8607223287931283456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,85,24,16,45]} 
[2026-08-21 20:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554697728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:07:31] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 20:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122020330117005312,"km_value":122020330117005.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8607223287931283456,"description":"Unknown IO ID 45"} 
[2026-08-21 20:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554697728001,"power":12298,"unknown_144":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8607223287931283456}} 
[2026-08-21 20:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":161895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:07:31] local.INFO: GPS data processed {"connection_id":161895,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:07:31] local.INFO: Acknowledgment sent {"connection_id":161895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:07:34] local.INFO: TCP Data received {"connection_id":161896,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:07:34] local.INFO: Processing buffer {"connection_id":161896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:07:34] local.INFO: Packet analysis {"connection_id":161896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:07:34] local.INFO: Extracted packet for processing {"connection_id":161896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:07:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:07:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":161896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:07:34] local.INFO: GPS data processed {"connection_id":161896,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:07:34] local.INFO: Acknowledgment sent {"connection_id":161896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:07:38] local.INFO: TCP Data received {"connection_id":159307,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:07:38] local.INFO: Processing buffer {"connection_id":159307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:07:38] local.INFO: Packet analysis {"connection_id":159307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:07:38] local.INFO: Extracted packet for processing {"connection_id":159307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:07:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:07:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:07:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":159307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:07:38] local.INFO: GPS data processed {"connection_id":159307,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:07:38] local.INFO: Acknowledgment sent {"connection_id":159307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:07:53] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:07:53] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:07:53] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:07:57] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:07:57] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:07:57] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:07:58] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:07:58] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:07:58] local.INFO: IMEI packet received {"connection_id":160495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":160495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:07:59] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c15c58012d8898c005cc79680009000d2a..."} 
[2026-08-21 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c15c58012d8898c005cc79680009000d2a..."} 
[2026-08-21 20:07:59] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c15c58012d8898c005cc79680009000d2a..."} 
[2026-08-21 20:07:59] local.INFO: Packet analysis {"connection_id":160495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c1"} 
[2026-08-21 20:07:59] local.INFO: Extracted packet for processing {"connection_id":160495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c1"} 
[2026-08-21 20:07:59] local.INFO: GPS Element Parsed {"raw_longitude":763926720,"raw_latitude":97286504,"longitude_deg":76.392672,"latitude_deg":9.7286504,"altitude":9,"angle":13,"satellites":42,"speed":29,"hex_longitude":"2d8898c0","hex_latitude":"05cc7968","is_valid_coordinates":true} 
[2026-08-21 20:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554698496001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122020540570402816,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8606378863000645632,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787323047000,"timestamp_ms":1787323047000,"timestamp_seconds":1787323047,"priority":1,"record_length":96,"hex_timestamp":"000001a024c15c58"} 
[2026-08-21 20:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":417595718820757854,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3891136466713051648,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2648151696566225034,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2290696197,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580146800066766,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":42,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":127,"raw_value":4110417920,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3232278529,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":4148690951,"corrected_to":0} 
[2026-08-21 20:07:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2744123598,"corrected_to":0} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":121,"raw_value":3355520392,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3417208832,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":46179874242560,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-5404319552844595199,"note":"Value kept but may cause issues"} 
[2026-08-21 20:07:59] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,144,85,24,241,157,16,128,160,57,45,98,9,43,10,66,65,8,42,215,1,240,179,227,127,36,203,4,113,205,30,121,135,239,47,2,177,5,7,126],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":203,"original":4148690951,"validated":0},{"io_id":205,"original":2744123598,"validated":0}]} 
[2026-08-21 20:07:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648552611592273920,"timestamp_seconds":648552611592273.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 20:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554698496001,"66":12385,"144":206,"85":13824,"24":29,"16":122020540570402816,"45":-8606378863000645632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,85,24,16,45]} 
[2026-08-21 20:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554698496001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:07:59] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 20:07:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122020540570402816,"km_value":122020540570402.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8606378863000645632,"description":"Unknown IO ID 45"} 
[2026-08-21 20:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554698496001,"power":12385,"unknown_144":206,"unknown_85":13824,"ignition":29,"odometer":null,"unknown_45":-8606378863000645632}} 
[2026-08-21 20:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":160495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677732,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:07:59] local.INFO: GPS data processed {"connection_id":160495,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:07:59] local.INFO: Acknowledgment sent {"connection_id":160495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:08:00] local.INFO: TCP Data received {"connection_id":159308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:08:00] local.INFO: Processing buffer {"connection_id":159308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:08:00] local.INFO: IMEI packet received {"connection_id":159308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":159308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:08:02] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:08:02] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:08:02] local.INFO: IMEI packet received {"connection_id":160496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":160496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:08:03] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:08:03] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:08:03] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:08:03] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:08:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:08:03] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:08:03] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:08:06] local.INFO: TCP Data received {"connection_id":159308,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:08:06] local.INFO: Processing buffer {"connection_id":159308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:08:06] local.INFO: IMEI packet received {"connection_id":159308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":159308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:08:07] local.INFO: TCP Data received {"connection_id":159308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:08:07] local.INFO: Processing buffer {"connection_id":159308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:08:07] local.INFO: Packet analysis {"connection_id":159308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:08:07] local.INFO: Extracted packet for processing {"connection_id":159308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":159308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:08:07] local.INFO: GPS data processed {"connection_id":159308,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:08:07] local.INFO: Acknowledgment sent {"connection_id":159308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:08:30] local.INFO: TCP Data received {"connection_id":160495,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c16428012d88990005cc7f58000901652a..."} 
[2026-08-21 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c16428012d88990005cc7f58000901652a..."} 
[2026-08-21 20:08:30] local.INFO: Processing buffer {"connection_id":160495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c16428012d88990005cc7f58000901652a..."} 
[2026-08-21 20:08:30] local.INFO: Packet analysis {"connection_id":160495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c1"} 
[2026-08-21 20:08:30] local.INFO: Extracted packet for processing {"connection_id":160495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c1"} 
[2026-08-21 20:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763926784,"raw_latitude":97288024,"longitude_deg":76.3926784,"latitude_deg":9.7288024,"altitude":9,"angle":357,"satellites":42,"speed":31,"hex_longitude":"2d889900","hex_latitude":"05cc7f58","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554700032001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122020617879814144,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603915956953454592,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787323049000,"timestamp_ms":1787323049000,"timestamp_seconds":1787323049,"priority":1,"record_length":96,"hex_timestamp":"000001a024c16428"} 
[2026-08-21 20:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:08: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-08-21 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-08-21 20:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":160495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":160495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":160495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554700032001,"66":12385,"144":206,"85":13824,"24":31,"16":122020617879814144,"45":-8603915956953454592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,85,24,16,45]} 
[2026-08-21 20:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554700032001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:08:30] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-08-21 20:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122020617879814144,"km_value":122020617879814.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603915956953454592,"description":"Unknown IO ID 45"} 
[2026-08-21 20:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554700032001,"power":12385,"unknown_144":206,"unknown_85":13824,"ignition":31,"odometer":null,"unknown_45":-8603915956953454592}} 
[2026-08-21 20:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":160495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677735,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:08:30] local.INFO: GPS data processed {"connection_id":160495,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:08:30] local.INFO: Acknowledgment sent {"connection_id":160495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:08:34] local.INFO: TCP Data received {"connection_id":160496,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:08:34] local.INFO: Processing buffer {"connection_id":160496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:08:34] local.INFO: Packet analysis {"connection_id":160496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:08:34] local.INFO: Extracted packet for processing {"connection_id":160496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:08:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:08:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:08:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":160496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:08:34] local.INFO: GPS data processed {"connection_id":160496,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:08:34] local.INFO: Acknowledgment sent {"connection_id":160496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:08:38] local.INFO: TCP Data received {"connection_id":159308,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:08:38] local.INFO: Processing buffer {"connection_id":159308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:08:38] local.INFO: Packet analysis {"connection_id":159308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:08:38] local.INFO: Extracted packet for processing {"connection_id":159308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:08:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:08:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:08:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":159308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:08:38] local.INFO: GPS data processed {"connection_id":159308,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:08:38] local.INFO: Acknowledgment sent {"connection_id":159308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:08:57] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:08:57] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:08:57] local.INFO: IMEI packet received {"connection_id":159309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":159309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:08:58] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:08:58] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:08:58] local.INFO: IMEI packet received {"connection_id":159589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":159589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:09:00] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:09:00] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:09:00] local.INFO: IMEI packet received {"connection_id":159310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":159310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:09:01] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:09:01] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:09:01] local.INFO: IMEI packet received {"connection_id":159589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":159589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:09:02] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c26210012d889e0005cd31500002015a29..."} 
[2026-08-21 20:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c26210012d889e0005cd31500002015a29..."} 
[2026-08-21 20:09:02] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c26210012d889e0005cd31500002015a29..."} 
[2026-08-21 20:09:02] local.INFO: Packet analysis {"connection_id":159589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:02] local.INFO: Extracted packet for processing {"connection_id":159589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763928064,"raw_latitude":97333584,"longitude_deg":76.3928064,"latitude_deg":9.7333584,"altitude":2,"angle":346,"satellites":41,"speed":28,"hex_longitude":"2d889e00","hex_latitude":"05cd3150","is_valid_coordinates":true} 
[2026-08-21 20:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554715392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122022919982284800,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8601875263361681408,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787323114000,"timestamp_ms":1787323114000,"timestamp_seconds":1787323114,"priority":1,"record_length":96,"hex_timestamp":"000001a024c26210"} 
[2026-08-21 20:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 20:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:09:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554715392001,"66":12200,"1":206,"85":13824,"24":28,"16":122022919982284800,"45":-8601875263361681408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":206,"io_data_keys":[0,66,1,85,24,16,45]} 
[2026-08-21 20:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554715392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122022919982284800,"km_value":122022919982284.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8601875263361681408,"description":"Unknown IO ID 45"} 
[2026-08-21 20:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554715392001,"power":12200,"imei":206,"unknown_85":13824,"ignition":28,"odometer":null,"unknown_45":-8601875263361681408}} 
[2026-08-21 20:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":159589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:09:02] local.INFO: GPS data processed {"connection_id":159589,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:09:02] local.INFO: Acknowledgment sent {"connection_id":159589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:09:02] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:09:02] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:09:02] local.INFO: IMEI packet received {"connection_id":159309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":159309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:09:03] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:09:03] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024be00f8012d9e4200055ace48000800012f..."} 
[2026-08-21 20:09:03] local.INFO: Packet analysis {"connection_id":159309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:09:03] local.INFO: Extracted packet for processing {"connection_id":159309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024be"} 
[2026-08-21 20:09:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554566656001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787322827000,"timestamp_ms":1787322827000,"timestamp_seconds":1787322827,"priority":1,"record_length":96,"hex_timestamp":"000001a024be00f8"} 
[2026-08-21 20:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554566656001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554566656001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:09:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554566656001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":159309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:09:03] local.INFO: GPS data processed {"connection_id":159309,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:09:03] local.INFO: Acknowledgment sent {"connection_id":159309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:09:03] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d88990005cd54180004016627..."} 
[2026-08-21 20:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d88990005cd54180004016627..."} 
[2026-08-21 20:09:03] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d88990005cd54180004016627..."} 
[2026-08-21 20:09:03] local.INFO: Packet analysis {"connection_id":159589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:03] local.INFO: Extracted packet for processing {"connection_id":159589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763926784,"raw_latitude":97342488,"longitude_deg":76.3926784,"latitude_deg":9.7342488,"altitude":4,"angle":358,"satellites":39,"speed":33,"hex_longitude":"2d889900","hex_latitude":"05cd5418","is_valid_coordinates":true} 
[2026-08-21 20:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554717184001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122023358068948992,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8602438213313671168,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-08-21 20:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554717184001,"66":12330,"1":206,"85":13824,"24":33,"16":122023358068948992,"45":-8602438213313671168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":206,"io_data_keys":[0,66,1,85,24,16,45]} 
[2026-08-21 20:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554717184001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122023358068948992,"km_value":122023358068948.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8602438213313671168,"description":"Unknown IO ID 45"} 
[2026-08-21 20:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554717184001,"power":12330,"imei":206,"unknown_85":13824,"ignition":33,"odometer":null,"unknown_45":-8602438213313671168}} 
[2026-08-21 20:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":159589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:09:03] local.INFO: GPS data processed {"connection_id":159589,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:09:03] local.INFO: Acknowledgment sent {"connection_id":159589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:09:06] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:09:06] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:09:06] local.INFO: IMEI packet received {"connection_id":159310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":159310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:09:06] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:09:06] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:09:06] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:09:06] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:09:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:09:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:09:06] local.INFO: GPS data processed {"connection_id":159310,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:09:06] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:09:34] local.INFO: TCP Data received {"connection_id":159589,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d88990005cd54180004016627..."} 
[2026-08-21 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d88990005cd54180004016627..."} 
[2026-08-21 20:09:34] local.INFO: Processing buffer {"connection_id":159589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d88990005cd54180004016627..."} 
[2026-08-21 20:09:34] local.INFO: Packet analysis {"connection_id":159589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:34] local.INFO: Extracted packet for processing {"connection_id":159589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":763926784,"raw_latitude":97342488,"longitude_deg":76.3926784,"latitude_deg":9.7342488,"altitude":4,"angle":358,"satellites":39,"speed":33,"hex_longitude":"2d889900","hex_latitude":"05cd5418","is_valid_coordinates":true} 
[2026-08-21 20:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122023358068948992,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603845588194945024,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 20:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":12330,"1":206,"85":13824,"24":33,"16":122023358068948992,"45":-8603845588194945024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":206,"io_data_keys":[0,66,1,85,24,16,45]} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122023358068948992,"km_value":122023358068948.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603845588194945024,"description":"Unknown IO ID 45"} 
[2026-08-21 20:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":12330,"imei":206,"unknown_85":13824,"ignition":33,"odometer":null,"unknown_45":-8603845588194945024}} 
[2026-08-21 20:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":159589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:09:34] local.INFO: GPS data processed {"connection_id":159589,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:09:34] local.INFO: Acknowledgment sent {"connection_id":159589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:09:34] local.INFO: TCP Data received {"connection_id":159309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:09:34] local.INFO: Processing buffer {"connection_id":159309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:09:34] local.INFO: Packet analysis {"connection_id":159309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:34] local.INFO: Extracted packet for processing {"connection_id":159309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:09:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":159309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:09:34] local.INFO: GPS data processed {"connection_id":159309,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:09:34] local.INFO: Acknowledgment sent {"connection_id":159309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:09:37] local.INFO: TCP Data received {"connection_id":159310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:09:37] local.INFO: Processing buffer {"connection_id":159310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:09:37] local.INFO: Packet analysis {"connection_id":159310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:09:37] local.INFO: Extracted packet for processing {"connection_id":159310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159310,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":159310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:09:38] local.INFO: GPS data processed {"connection_id":159310,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:09:38] local.INFO: Acknowledgment sent {"connection_id":159310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:09:57] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:09:57] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:09:57] local.INFO: IMEI packet received {"connection_id":159311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":159311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:10:02] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:10:02] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:10:02] local.INFO: IMEI packet received {"connection_id":159311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":159311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:10:03] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:10:03] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:10:03] local.INFO: Packet analysis {"connection_id":159311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:03] local.INFO: Extracted packet for processing {"connection_id":159311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:10:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":159311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:10:03] local.INFO: GPS data processed {"connection_id":159311,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:10:03] local.INFO: Acknowledgment sent {"connection_id":159311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:10:06] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:10:06] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:10:06] local.INFO: IMEI packet received {"connection_id":161897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":161897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:10:07] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:07] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:07] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:10:09] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:09] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:09] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:10:09] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:09] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:09] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:10:10] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:10] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:10] local.INFO: IMEI packet received {"connection_id":160497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":160497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:10:11] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:10:11] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:10:11] local.INFO: IMEI packet received {"connection_id":161897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":161897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:10:11] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c2c3b8012d88984005cd7838000801672a..."} 
[2026-08-21 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c2c3b8012d88984005cd7838000801672a..."} 
[2026-08-21 20:10:11] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c2c3b8012d88984005cd7838000801672a..."} 
[2026-08-21 20:10:11] local.INFO: Packet analysis {"connection_id":160497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:11] local.INFO: Extracted packet for processing {"connection_id":160497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":763926592,"raw_latitude":97351736,"longitude_deg":76.3926592,"latitude_deg":9.7351736,"altitude":8,"angle":359,"satellites":42,"speed":34,"hex_longitude":"2d889840","hex_latitude":"05cd7838","is_valid_coordinates":true} 
[2026-08-21 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122023809040515072,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603845588194945024,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,85,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 20:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787323139000,"timestamp_ms":1787323139000,"timestamp_seconds":1787323139,"priority":1,"record_length":96,"hex_timestamp":"000001a024c2c3b8"} 
[2026-08-21 20:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 20:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":12461,"85":13824,"24":34,"16":122023809040515072,"45":-8603845588194945024},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,24,16,45]} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:10:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122023809040515072,"km_value":122023809040515.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603845588194945024,"description":"Unknown IO ID 45"} 
[2026-08-21 20:10:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457554720768001,"power":12461,"unknown_85":13824,"ignition":34,"odometer":null,"unknown_45":-8603845588194945024}} 
[2026-08-21 20:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":160497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:10:11] local.INFO: GPS data processed {"connection_id":160497,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:10:11] local.INFO: Acknowledgment sent {"connection_id":160497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:10:11] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:10:11] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:10:11] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:10:11] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:10:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:10:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:10:11] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:10:11] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:10:13] local.INFO: TCP Data received {"connection_id":160497,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c2eeb0012d889b4005cd9b08000b000a2b..."} 
[2026-08-21 20:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c2eeb0012d889b4005cd9b08000b000a2b..."} 
[2026-08-21 20:10:13] local.INFO: Processing buffer {"connection_id":160497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c2eeb0012d889b4005cd9b08000b000a2b..."} 
[2026-08-21 20:10:13] local.INFO: Packet analysis {"connection_id":160497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:13] local.INFO: Extracted packet for processing {"connection_id":160497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:13] local.INFO: GPS Element Parsed {"raw_longitude":763927360,"raw_latitude":97360648,"longitude_deg":76.392736,"latitude_deg":9.7360648,"altitude":11,"angle":10,"satellites":43,"speed":35,"hex_longitude":"2d889b40","hex_latitude":"05cd9b08","is_valid_coordinates":true} 
[2026-08-21 20:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554723584001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122024242832211968,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8604056694425110528,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,85,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 20:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787323150000,"timestamp_ms":1787323150000,"timestamp_seconds":1787323150,"priority":1,"record_length":96,"hex_timestamp":"000001a024c2eeb0"} 
[2026-08-21 20:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 20:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554723584001,"66":12504,"85":13824,"24":35,"16":122024242832211968,"45":-8604056694425110528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,24,16,45]} 
[2026-08-21 20:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554723584001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:10:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122024242832211968,"km_value":122024242832211.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8604056694425110528,"description":"Unknown IO ID 45"} 
[2026-08-21 20:10:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457554723584001,"power":12504,"unknown_85":13824,"ignition":35,"odometer":null,"unknown_45":-8604056694425110528}} 
[2026-08-21 20:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":160497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:10:13] local.INFO: GPS data processed {"connection_id":160497,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:10:13] local.INFO: Acknowledgment sent {"connection_id":160497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:10:16] local.INFO: TCP Data received {"connection_id":161897,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:10:16] local.INFO: Processing buffer {"connection_id":161897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:10:16] local.INFO: Packet analysis {"connection_id":161897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:10:16] local.INFO: Extracted packet for processing {"connection_id":161897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:10:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:10:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:10:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:10:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:10:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:10:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:10:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:10:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:10:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:10:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:10:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:10:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:10:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:10:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:10:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:10:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:10:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:10:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:10:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:10:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:10:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:10:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:10:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:10:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:10:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:10:16] local.INFO: DEBUG: GPS processor result {"connection_id":161897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:10:16] local.INFO: GPS data processed {"connection_id":161897,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:10:16] local.INFO: Acknowledgment sent {"connection_id":161897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:10:34] local.INFO: TCP Data received {"connection_id":159311,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:10:34] local.INFO: Processing buffer {"connection_id":159311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:10:34] local.INFO: Packet analysis {"connection_id":159311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:34] local.INFO: Extracted packet for processing {"connection_id":159311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:10:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":159311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:10:34] local.INFO: GPS data processed {"connection_id":159311,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:10:34] local.INFO: Acknowledgment sent {"connection_id":159311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:10:53] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:53] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:53] local.INFO: IMEI packet received {"connection_id":159312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":159312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:10:53] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:53] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:53] local.INFO: IMEI packet received {"connection_id":159312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":159312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:10:55] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:55] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:10:55] local.INFO: IMEI packet received {"connection_id":159312,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":159312,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:10:56] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c2eeb0012d889b4005cd9b08000b000a2b..."} 
[2026-08-21 20:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c2eeb0012d889b4005cd9b08000b000a2b..."} 
[2026-08-21 20:10:56] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c2eeb0012d889b4005cd9b08000b000a2b..."} 
[2026-08-21 20:10:56] local.INFO: Packet analysis {"connection_id":159312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:56] local.INFO: Extracted packet for processing {"connection_id":159312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763927360,"raw_latitude":97360648,"longitude_deg":76.392736,"latitude_deg":9.7360648,"altitude":11,"angle":10,"satellites":43,"speed":35,"hex_longitude":"2d889b40","hex_latitude":"05cd9b08","is_valid_coordinates":true} 
[2026-08-21 20:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554726400001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122024242832211968,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603212269492697088,"note":"Value kept but may cause issues"} 
[2026-08-21 20:10:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,85,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 20:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787323150000,"timestamp_ms":1787323150000,"timestamp_seconds":1787323150,"priority":1,"record_length":96,"hex_timestamp":"000001a024c2eeb0"} 
[2026-08-21 20:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:10: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-08-21 20:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-08-21 20:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554726400001,"66":12504,"85":13824,"24":35,"16":122024242832211968,"45":-8603212269492697088},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,24,16,45]} 
[2026-08-21 20:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554726400001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122024242832211968,"km_value":122024242832211.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603212269492697088,"description":"Unknown IO ID 45"} 
[2026-08-21 20:10:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457554726400001,"power":12504,"unknown_85":13824,"ignition":35,"odometer":null,"unknown_45":-8603212269492697088}} 
[2026-08-21 20:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":159312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:10:56] local.INFO: GPS data processed {"connection_id":159312,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:10:56] local.INFO: Acknowledgment sent {"connection_id":159312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:10:57] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:10:57] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:10:57] local.INFO: IMEI packet received {"connection_id":159590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":159590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:11:01] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:11:01] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:11:01] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:11:02] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:11:02] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:11:02] local.INFO: IMEI packet received {"connection_id":159590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":159590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:11:03] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:11:03] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:11:03] local.INFO: Packet analysis {"connection_id":159590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:11:03] local.INFO: Extracted packet for processing {"connection_id":159590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:11: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-08-21 20:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:11:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":159590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:11:03] local.INFO: GPS data processed {"connection_id":159590,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:11:03] local.INFO: Acknowledgment sent {"connection_id":159590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:11:06] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:11:06] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:11:06] local.INFO: IMEI packet received {"connection_id":161898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":161898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:11:06] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:11:06] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024bf9738012d196540071feff80044001125..."} 
[2026-08-21 20:11:06] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:11:06] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024bf"} 
[2026-08-21 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554593280001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787322931000,"timestamp_ms":1787322931000,"timestamp_seconds":1787322931,"priority":1,"record_length":96,"hex_timestamp":"000001a024bf9738"} 
[2026-08-21 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554593280001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554593280001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554593280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:11:07] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:11:07] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:11:27] local.INFO: TCP Data received {"connection_id":159312,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c490a8012d889a4005ceba180007016529..."} 
[2026-08-21 20:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c490a8012d889a4005ceba180007016529..."} 
[2026-08-21 20:11:27] local.INFO: Processing buffer {"connection_id":159312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c490a8012d889a4005ceba180007016529..."} 
[2026-08-21 20:11:27] local.INFO: Packet analysis {"connection_id":159312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:11:27] local.INFO: Extracted packet for processing {"connection_id":159312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763927104,"raw_latitude":97434136,"longitude_deg":76.3927104,"latitude_deg":9.7434136,"altitude":7,"angle":357,"satellites":41,"speed":14,"hex_longitude":"2d889a40","hex_latitude":"05ceba18","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554753024001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122027833424871424,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603353006962436096,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787323257000,"timestamp_ms":1787323257000,"timestamp_seconds":1787323257,"priority":1,"record_length":96,"hex_timestamp":"000001a024c490a8"} 
[2026-08-21 20:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:11: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-08-21 20: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3891136466763383296,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186033,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":160,"raw_value":2649122359175121053,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2291875845,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":41,"raw_value":12103423999213572,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002798478655694,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":13477232,"corrected_to":0} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3288854529,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2214592523,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2775580878,"corrected_to":0} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":150,"raw_value":3221605987,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2902511013,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2259550208,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3461515264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":12,"raw_value":97999471819882496,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":134,"raw_value":8935141660703064065,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.WARNING: Large IO value detected {"io_id":64,"raw_value":418323183201747300,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:27] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,112,85,24,241,157,16,135,160,121,45,192,180,7,41,10,66,101,175,9,43,1,240,200,227,36,206,4,113,205,14,213,150,128,40,239,48,2,177,5,12,134,64],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":200,"original":13477232,"validated":0},{"io_id":205,"original":2775580878,"validated":0}]} 
[2026-08-21 20:11:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504782665871261696,"timestamp_seconds":504782665871261.7,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 20:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159312,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554753024001,"66":12232,"112":206,"85":13824,"24":14,"16":122027833424871424,"45":-8603353006962436096},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,45]} 
[2026-08-21 20:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554753024001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:11:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 20:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122027833424871424,"km_value":122027833424871.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603353006962436096,"description":"Unknown IO ID 45"} 
[2026-08-21 20:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554753024001,"power":12232,"unknown_112":206,"unknown_85":13824,"ignition":14,"odometer":null,"unknown_45":-8603353006962436096}} 
[2026-08-21 20:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":159312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677754,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:11:27] local.INFO: GPS data processed {"connection_id":159312,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:11:27] local.INFO: Acknowledgment sent {"connection_id":159312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:11:34] local.INFO: TCP Data received {"connection_id":159590,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:11:34] local.INFO: Processing buffer {"connection_id":159590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:11:34] local.INFO: Packet analysis {"connection_id":159590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:11:34] local.INFO: Extracted packet for processing {"connection_id":159590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:11:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:11:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":159590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:11:34] local.INFO: GPS data processed {"connection_id":159590,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:11:34] local.INFO: Acknowledgment sent {"connection_id":159590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:11:37] local.INFO: TCP Data received {"connection_id":161898,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:11:37] local.INFO: Processing buffer {"connection_id":161898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:11:37] local.INFO: Packet analysis {"connection_id":161898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:11:37] local.INFO: Extracted packet for processing {"connection_id":161898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:11:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:11:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":161898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:11:37] local.INFO: GPS data processed {"connection_id":161898,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:11:37] local.INFO: Acknowledgment sent {"connection_id":161898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:11:53] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:11:53] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:11:53] local.INFO: IMEI packet received {"connection_id":159591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":159591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:11:56] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:11:57] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:11:57] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:11:59] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:11:59] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:11:59] local.INFO: IMEI packet received {"connection_id":159591,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":159591,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:12:00] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c4b7b8012d889ac005cecce80007000829..."} 
[2026-08-21 20:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c4b7b8012d889ac005cecce80007000829..."} 
[2026-08-21 20:12:00] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c4b7b8012d889ac005cecce80007000829..."} 
[2026-08-21 20:12:00] local.INFO: Packet analysis {"connection_id":159591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:00] local.INFO: Extracted packet for processing {"connection_id":159591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:00] local.INFO: GPS Element Parsed {"raw_longitude":763927232,"raw_latitude":97438952,"longitude_deg":76.3927232,"latitude_deg":9.7438952,"altitude":7,"angle":8,"satellites":41,"speed":24,"hex_longitude":"2d889ac0","hex_latitude":"05cecce8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554753792001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122028065353105408,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603493744450594816,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787323267000,"timestamp_ms":1787323267000,"timestamp_seconds":1787323267,"priority":1,"record_length":96,"hex_timestamp":"000001a024c4b7b8"} 
[2026-08-21 20:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 20:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554753792001,"66":12461,"112":206,"85":13824,"24":24,"16":122028065353105408,"45":-8603493744450594816},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,45]} 
[2026-08-21 20:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554753792001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:12:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 20:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122028065353105408,"km_value":122028065353105.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603493744450594816,"description":"Unknown IO ID 45"} 
[2026-08-21 20:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554753792001,"power":12461,"unknown_112":206,"unknown_85":13824,"ignition":24,"odometer":null,"unknown_45":-8603493744450594816}} 
[2026-08-21 20:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":159591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677757,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:12:00] local.INFO: GPS data processed {"connection_id":159591,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:12:00] local.INFO: Acknowledgment sent {"connection_id":159591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:12:01] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:12:01] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:12:01] local.INFO: IMEI packet received {"connection_id":159313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":159313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:12:02] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:12:02] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:12:02] local.INFO: IMEI packet received {"connection_id":161899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":161899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:12:03] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:12:03] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:12:03] local.INFO: Packet analysis {"connection_id":161899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:12:03] local.INFO: Extracted packet for processing {"connection_id":161899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:12:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:12:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":161899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:12:03] local.INFO: GPS data processed {"connection_id":161899,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:12:03] local.INFO: Acknowledgment sent {"connection_id":161899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:12:06] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:12:06] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:12:06] local.INFO: IMEI packet received {"connection_id":159313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":159313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:12:06] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:12:06] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:12:06] local.INFO: Packet analysis {"connection_id":159313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:06] local.INFO: Extracted packet for processing {"connection_id":159313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:12: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-08-21 20:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":159313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:12:06] local.INFO: GPS data processed {"connection_id":159313,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:12:06] local.INFO: Acknowledgment sent {"connection_id":159313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:12:31] local.INFO: TCP Data received {"connection_id":159591,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c4ea80012d889d8005cef1800007000429..."} 
[2026-08-21 20:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c4ea80012d889d8005cef1800007000429..."} 
[2026-08-21 20:12:31] local.INFO: Processing buffer {"connection_id":159591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c4ea80012d889d8005cef1800007000429..."} 
[2026-08-21 20:12:31] local.INFO: Packet analysis {"connection_id":159591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:31] local.INFO: Extracted packet for processing {"connection_id":159591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:31] local.INFO: GPS Element Parsed {"raw_longitude":763927936,"raw_latitude":97448320,"longitude_deg":76.3927936,"latitude_deg":9.744832,"altitude":7,"angle":4,"satellites":41,"speed":30,"hex_longitude":"2d889d80","hex_latitude":"05cef180","is_valid_coordinates":true} 
[2026-08-21 20:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554756352001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122028520619638784,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8603353006961006592,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787323280000,"timestamp_ms":1787323280000,"timestamp_seconds":1787323280,"priority":1,"record_length":96,"hex_timestamp":"000001a024c4ea80"} 
[2026-08-21 20:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-08-21 20:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159591,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554756352001,"66":12493,"112":206,"85":13824,"24":30,"16":122028520619638784,"45":-8603353006961006592},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,45]} 
[2026-08-21 20:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554756352001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:12:31] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 20:12:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122028520619638784,"km_value":122028520619638.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8603353006961006592,"description":"Unknown IO ID 45"} 
[2026-08-21 20:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554756352001,"power":12493,"unknown_112":206,"unknown_85":13824,"ignition":30,"odometer":null,"unknown_45":-8603353006961006592}} 
[2026-08-21 20:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":159591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:12:31] local.INFO: GPS data processed {"connection_id":159591,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:12:31] local.INFO: Acknowledgment sent {"connection_id":159591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:12:34] local.INFO: TCP Data received {"connection_id":161899,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:12:34] local.INFO: Processing buffer {"connection_id":161899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:12:34] local.INFO: Packet analysis {"connection_id":161899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:12:34] local.INFO: Extracted packet for processing {"connection_id":161899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:12:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:12:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":161899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:12:34] local.INFO: GPS data processed {"connection_id":161899,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:12:34] local.INFO: Acknowledgment sent {"connection_id":161899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:12:37] local.INFO: TCP Data received {"connection_id":159313,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:12:37] local.INFO: Processing buffer {"connection_id":159313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:12:37] local.INFO: Packet analysis {"connection_id":159313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:37] local.INFO: Extracted packet for processing {"connection_id":159313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":159313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:12:37] local.INFO: GPS data processed {"connection_id":159313,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:12:37] local.INFO: Acknowledgment sent {"connection_id":159313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:12:57] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:12:57] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:12:57] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:13:01] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:13:01] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:13:01] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:13:02] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:13:02] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:13:02] local.INFO: IMEI packet received {"connection_id":160498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":160498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:13:03] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:13:03] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:13:03] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:13:03] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:13:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:13:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:13:03] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:13:03] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:13:06] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:13:06] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:13:06] local.INFO: IMEI packet received {"connection_id":160499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":160499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:13:06] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:13:06] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:13:06] local.INFO: Packet analysis {"connection_id":160499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:13:06] local.INFO: Extracted packet for processing {"connection_id":160499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:13: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-08-21 20:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:13:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":160499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:13:06] local.INFO: GPS data processed {"connection_id":160499,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:13:06] local.INFO: Acknowledgment sent {"connection_id":160499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:13:34] local.INFO: TCP Data received {"connection_id":160498,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:13:34] local.INFO: Processing buffer {"connection_id":160498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:13:34] local.INFO: Packet analysis {"connection_id":160498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:13:34] local.INFO: Extracted packet for processing {"connection_id":160498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:13:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:13:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":160498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:13:34] local.INFO: GPS data processed {"connection_id":160498,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:13:34] local.INFO: Acknowledgment sent {"connection_id":160498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:13:37] local.INFO: TCP Data received {"connection_id":160499,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:13:37] local.INFO: Processing buffer {"connection_id":160499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:13:37] local.INFO: Packet analysis {"connection_id":160499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:13:37] local.INFO: Extracted packet for processing {"connection_id":160499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:13:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:13:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":160499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:13:37] local.INFO: GPS data processed {"connection_id":160499,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:13:37] local.INFO: Acknowledgment sent {"connection_id":160499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:13:53] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:13:53] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:13:53] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:13:57] local.INFO: TCP Data received {"connection_id":159592,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:13:57] local.INFO: Processing buffer {"connection_id":159592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:13:57] local.INFO: IMEI packet received {"connection_id":159592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":159592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:13:58] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:13:58] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:13:58] local.INFO: IMEI packet received {"connection_id":161900,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":161900,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:13:59] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c68890012d8892c005cfaf90000c012227..."} 
[2026-08-21 20:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c68890012d8892c005cfaf90000c012227..."} 
[2026-08-21 20:13:59] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c68890012d8892c005cfaf90000c012227..."} 
[2026-08-21 20:13:59] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c6"} 
[2026-08-21 20:13:59] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c6"} 
[2026-08-21 20:13:59] local.INFO: GPS Element Parsed {"raw_longitude":763925184,"raw_latitude":97496976,"longitude_deg":76.3925184,"latitude_deg":9.7496976,"altitude":12,"angle":290,"satellites":39,"speed":7,"hex_longitude":"2d8892c0","hex_latitude":"05cfaf90","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554786304001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122030904326488064,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8605252963038992384,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787323386000,"timestamp_ms":1787323386000,"timestamp_seconds":1787323386,"priority":1,"record_length":96,"hex_timestamp":"000001a024c68890"} 
[2026-08-21 20:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2291712005,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":137,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3319062529,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6525714973866983400,"corrected_to":0} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":208,"raw_value":4160826760,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":152,"raw_value":3221606247,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182225414652160,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2309160960,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3501821389080359894,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194841856,"note":"Value kept but may cause issues"} 
[2026-08-21 20:13:59] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,112,85,24,241,157,16,138,160,124,45,64,174,11,40,10,66,93,192,165,9,39,35,1,240,168,227,137,36,207,4,113,205,6,208,152,184,42,239,47,2,177,5,69],"length":484,"final_offset":614,"validated_count":44,"validation_warnings":[{"io_id":205,"original":-6525714973866983400,"validated":0}]} 
[2026-08-21 20:13:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792981151890669568,"timestamp_seconds":792981151890669.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-08-21 20:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554786304001,"66":12341,"112":206,"85":13824,"24":7,"16":122030904326488064,"45":-8605252963038992384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,45]} 
[2026-08-21 20:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554786304001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:13:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 20:13:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122030904326488064,"km_value":122030904326488.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8605252963038992384,"description":"Unknown IO ID 45"} 
[2026-08-21 20:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554786304001,"power":12341,"unknown_112":206,"unknown_85":13824,"ignition":7,"odometer":null,"unknown_45":-8605252963038992384}} 
[2026-08-21 20:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:13:59] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:13:59] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:14:00] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:14:00] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:14:00] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:14:02] local.INFO: TCP Data received {"connection_id":159592,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:14:02] local.INFO: Processing buffer {"connection_id":159592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:14:02] local.INFO: IMEI packet received {"connection_id":159592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":159592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:14:03] local.INFO: TCP Data received {"connection_id":159592,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:14:03] local.INFO: Processing buffer {"connection_id":159592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c298c0012d9e4200055ace48000800012c..."} 
[2026-08-21 20:14:03] local.INFO: Packet analysis {"connection_id":159592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:14:03] local.INFO: Extracted packet for processing {"connection_id":159592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c2"} 
[2026-08-21 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554643712001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323128000,"timestamp_ms":1787323128000,"timestamp_seconds":1787323128,"priority":1,"record_length":96,"hex_timestamp":"000001a024c298c0"} 
[2026-08-21 20:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:14:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554643712001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554643712001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:14:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554643712001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":159592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:14:03] local.INFO: GPS data processed {"connection_id":159592,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:14:03] local.INFO: Acknowledgment sent {"connection_id":159592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:14:06] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:14:06] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:14:06] local.INFO: IMEI packet received {"connection_id":161901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":161901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:14:06] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:14:06] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:14:06] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:14:06] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:14: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-08-21 20:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:14:06] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:14:06] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:14:30] local.INFO: TCP Data received {"connection_id":161900,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c69060012d88908005cfb000000c010d29..."} 
[2026-08-21 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c69060012d88908005cfb000000c010d29..."} 
[2026-08-21 20:14:30] local.INFO: Processing buffer {"connection_id":161900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c69060012d88908005cfb000000c010d29..."} 
[2026-08-21 20:14:30] local.INFO: Packet analysis {"connection_id":161900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c6"} 
[2026-08-21 20:14:30] local.INFO: Extracted packet for processing {"connection_id":161900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c6"} 
[2026-08-21 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763924608,"raw_latitude":97497088,"longitude_deg":76.3924608,"latitude_deg":9.7497088,"altitude":12,"angle":269,"satellites":41,"speed":13,"hex_longitude":"2d889080","hex_latitude":"05cfb000","is_valid_coordinates":true} 
[2026-08-21 20:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554786816001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122030930096291840,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8605604806759837696,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787323388000,"timestamp_ms":1787323388000,"timestamp_seconds":1787323388,"priority":1,"record_length":96,"hex_timestamp":"000001a024c69060"} 
[2026-08-21 20:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:14: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-08-21 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-08-21 20:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161900,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554786816001,"66":12374,"112":206,"85":13824,"24":13,"16":122030930096291840,"45":-8605604806759837696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,45]} 
[2026-08-21 20:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554786816001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:14:30] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 20:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122030930096291840,"km_value":122030930096291.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8605604806759837696,"description":"Unknown IO ID 45"} 
[2026-08-21 20:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554786816001,"power":12374,"unknown_112":206,"unknown_85":13824,"ignition":13,"odometer":null,"unknown_45":-8605604806759837696}} 
[2026-08-21 20:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":161900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:14:30] local.INFO: GPS data processed {"connection_id":161900,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:14:30] local.INFO: Acknowledgment sent {"connection_id":161900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:14:34] local.INFO: TCP Data received {"connection_id":159592,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:14:34] local.INFO: Processing buffer {"connection_id":159592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:14:34] local.INFO: Packet analysis {"connection_id":159592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:14:34] local.INFO: Extracted packet for processing {"connection_id":159592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:14:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":159592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:14:34] local.INFO: GPS data processed {"connection_id":159592,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:14:34] local.INFO: Acknowledgment sent {"connection_id":159592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:14:37] local.INFO: TCP Data received {"connection_id":161901,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:14:37] local.INFO: Processing buffer {"connection_id":161901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:14:37] local.INFO: Packet analysis {"connection_id":161901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:14:37] local.INFO: Extracted packet for processing {"connection_id":161901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":161901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:14:38] local.INFO: GPS data processed {"connection_id":161901,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:14:38] local.INFO: Acknowledgment sent {"connection_id":161901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:15:00] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:15:00] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:15:00] local.INFO: IMEI packet received {"connection_id":160501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":160501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:15:02] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:02] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:02] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:15:03] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:03] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:03] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:15:06] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:15:06] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:15:06] local.INFO: IMEI packet received {"connection_id":160501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":160501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:15:07] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:15:07] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:15:07] local.INFO: Packet analysis {"connection_id":160501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:15:07] local.INFO: Extracted packet for processing {"connection_id":160501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:15:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:15:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":160501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:15:07] local.INFO: GPS data processed {"connection_id":160501,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:15:07] local.INFO: Acknowledgment sent {"connection_id":160501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:15:07] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:07] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:07] local.INFO: IMEI packet received {"connection_id":161902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":161902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:15:08] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:15:08] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:15:08] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:15:08] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:15:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:15:08] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:15:08] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:15:08] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:08] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:08] local.INFO: IMEI packet received {"connection_id":160500,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":160500,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:15:09] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c6de80012d88710005cfaca0000e010b2a..."} 
[2026-08-21 20:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c6de80012d88710005cfaca0000e010b2a..."} 
[2026-08-21 20:15:09] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c6de80012d88710005cfaca0000e010b2a..."} 
[2026-08-21 20:15:09] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c6"} 
[2026-08-21 20:15:09] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c6"} 
[2026-08-21 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":763916544,"raw_latitude":97496224,"longitude_deg":76.3916544,"latitude_deg":9.7496224,"altitude":14,"angle":267,"satellites":42,"speed":11,"hex_longitude":"2d887100","hex_latitude":"05cfaca0","is_valid_coordinates":true} 
[2026-08-21 20:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554787328001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122031320938315776,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8606238125457408000,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787323408000,"timestamp_ms":1787323408000,"timestamp_seconds":1787323408,"priority":1,"record_length":96,"hex_timestamp":"000001a024c6de80"} 
[2026-08-21 20:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-08-21 20:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554787328001,"66":12330,"112":206,"85":13824,"24":11,"16":122031320938315776,"45":-8606238125457408000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,85,24,16,45]} 
[2026-08-21 20:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554787328001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:15:09] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 20:15:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122031320938315776,"km_value":122031320938315.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8606238125457408000,"description":"Unknown IO ID 45"} 
[2026-08-21 20:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554787328001,"power":12330,"unknown_112":206,"unknown_85":13824,"ignition":11,"odometer":null,"unknown_45":-8606238125457408000}} 
[2026-08-21 20:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677775,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:15:09] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:15:09] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:15:13] local.INFO: TCP Data received {"connection_id":160500,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d884f4005cfa9d80012010528..."} 
[2026-08-21 20:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d884f4005cfa9d80012010528..."} 
[2026-08-21 20:15:13] local.INFO: Processing buffer {"connection_id":160500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d884f4005cfa9d80012010528..."} 
[2026-08-21 20:15:13] local.INFO: Packet analysis {"connection_id":160500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:15:13] local.INFO: Extracted packet for processing {"connection_id":160500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763907904,"raw_latitude":97495512,"longitude_deg":76.3907904,"latitude_deg":9.7495512,"altitude":18,"angle":261,"satellites":40,"speed":18,"hex_longitude":"2d884f40","hex_latitude":"05cfa9d8","is_valid_coordinates":true} 
[2026-08-21 20:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554792448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122031733255176192,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8615104587224014848,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 20:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-08-21 20:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":816,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":160500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":160500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":160500,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554792448001,"66":12200,"47":206,"85":13824,"24":18,"16":122031733255176192,"45":-8615104587224014848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-08-21 20:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554792448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:15:13] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-08-21 20:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":13824,"description":"Unknown IO ID 85"} 
[2026-08-21 20:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122031733255176192,"km_value":122031733255176.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8615104587224014848,"description":"Unknown IO ID 45"} 
[2026-08-21 20:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554792448001,"power":12200,"unknown_47":206,"unknown_85":13824,"ignition":18,"odometer":null,"unknown_45":-8615104587224014848}} 
[2026-08-21 20:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":160500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:15:13] local.INFO: GPS data processed {"connection_id":160500,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:15:13] local.INFO: Acknowledgment sent {"connection_id":160500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:15:38] local.INFO: TCP Data received {"connection_id":160501,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:15:38] local.INFO: Processing buffer {"connection_id":160501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c42f00012d196540071feff8004400112b..."} 
[2026-08-21 20:15:38] local.INFO: Packet analysis {"connection_id":160501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:15:38] local.INFO: Extracted packet for processing {"connection_id":160501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c4"} 
[2026-08-21 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554670336001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323232000,"timestamp_ms":1787323232000,"timestamp_seconds":1787323232,"priority":1,"record_length":96,"hex_timestamp":"000001a024c42f00"} 
[2026-08-21 20:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554670336001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554670336001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:15:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:15:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554670336001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":160501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:15:38] local.INFO: GPS data processed {"connection_id":160501,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:15:38] local.INFO: Acknowledgment sent {"connection_id":160501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:15:39] local.INFO: TCP Data received {"connection_id":161902,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:15:39] local.INFO: Processing buffer {"connection_id":161902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:15:39] local.INFO: Packet analysis {"connection_id":161902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:15:39] local.INFO: Extracted packet for processing {"connection_id":161902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:15:39] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:15:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":161902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:15:39] local.INFO: GPS data processed {"connection_id":161902,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:15:39] local.INFO: Acknowledgment sent {"connection_id":161902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:15:53] local.INFO: TCP Data received {"connection_id":161903,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161903,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:53] local.INFO: Processing buffer {"connection_id":161903,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:15:53] local.INFO: IMEI packet received {"connection_id":161903,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":161903,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:15:56] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:57] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:15:57] local.INFO: IMEI packet received {"connection_id":160502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":160502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:16:02] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:16:02] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:16:02] local.INFO: IMEI packet received {"connection_id":160502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":160502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:16:03] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:16:03] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:16:03] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:16:03] local.INFO: Extracted packet for processing {"connection_id":160502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:16:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:16: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-08-21 20:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:16:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":160502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:16:03] local.INFO: GPS data processed {"connection_id":160502,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:16:03] local.INFO: Acknowledgment sent {"connection_id":160502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:16:06] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:16:06] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:16:06] local.INFO: IMEI packet received {"connection_id":159593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":159593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:16:11] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:16:11] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:16:11] local.INFO: IMEI packet received {"connection_id":159593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":159593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:16:11] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:11] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:11] local.INFO: Packet analysis {"connection_id":159593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:16:11] local.INFO: Extracted packet for processing {"connection_id":159593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:16:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:16:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":159593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:16:12] local.INFO: GPS data processed {"connection_id":159593,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:16:12] local.INFO: Acknowledgment sent {"connection_id":159593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:16:12] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:12] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:12] local.INFO: Packet analysis {"connection_id":159593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:16:12] local.INFO: Extracted packet for processing {"connection_id":159593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:16:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:16:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":159593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:16:12] local.INFO: GPS data processed {"connection_id":159593,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:16:12] local.INFO: Acknowledgment sent {"connection_id":159593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:16:34] local.INFO: TCP Data received {"connection_id":160502,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:16:34] local.INFO: Processing buffer {"connection_id":160502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:16:34] local.INFO: Packet analysis {"connection_id":160502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:16:34] local.INFO: Extracted packet for processing {"connection_id":160502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:16:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":160502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:16:34] local.INFO: GPS data processed {"connection_id":160502,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:16:34] local.INFO: Acknowledgment sent {"connection_id":160502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:16:43] local.INFO: TCP Data received {"connection_id":159593,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159593,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:43] local.INFO: Processing buffer {"connection_id":159593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:16:43] local.INFO: Packet analysis {"connection_id":159593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:16:43] local.INFO: Extracted packet for processing {"connection_id":159593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:16:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:16:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":159593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:16:43] local.INFO: GPS data processed {"connection_id":159593,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:16:43] local.INFO: Acknowledgment sent {"connection_id":159593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:16:56] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:16:57] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:16:57] local.INFO: IMEI packet received {"connection_id":159314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":159314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:17:01] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:17:01] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:17:01] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:17:02] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:17:02] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:17:02] local.INFO: IMEI packet received {"connection_id":159314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":159314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:17:03] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:17:03] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:17:03] local.INFO: Packet analysis {"connection_id":159314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:17:03] local.INFO: Extracted packet for processing {"connection_id":159314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:17:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:17: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-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:17:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":159314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:17:03] local.INFO: GPS data processed {"connection_id":159314,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:17:03] local.INFO: Acknowledgment sent {"connection_id":159314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:17:06] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:17:06] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:17:06] local.INFO: IMEI packet received {"connection_id":161904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":161904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:17:06] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:17:06] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:17:06] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:17:06] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:17:07] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:17:07] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:17:34] local.INFO: TCP Data received {"connection_id":159314,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:17:34] local.INFO: Processing buffer {"connection_id":159314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:17:34] local.INFO: Packet analysis {"connection_id":159314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:17:34] local.INFO: Extracted packet for processing {"connection_id":159314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:17:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:17:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":159314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:17:34] local.INFO: GPS data processed {"connection_id":159314,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:17:34] local.INFO: Acknowledgment sent {"connection_id":159314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:17:38] local.INFO: TCP Data received {"connection_id":161904,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:17:38] local.INFO: Processing buffer {"connection_id":161904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:17:38] local.INFO: Packet analysis {"connection_id":161904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:17:38] local.INFO: Extracted packet for processing {"connection_id":161904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:17:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":161904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:17:38] local.INFO: GPS data processed {"connection_id":161904,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:17:38] local.INFO: Acknowledgment sent {"connection_id":161904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:17:57] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:17:57] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:17:57] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:18:01] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:18:01] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:18:01] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:18:02] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:18:02] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:18:02] local.INFO: IMEI packet received {"connection_id":160503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":160503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:18:03] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:18:03] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:18:03] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:18:03] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:18:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20: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-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:18: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-08-21 20:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:18:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:18:03] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:18:03] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:18:06] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:18:06] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:18:06] local.INFO: IMEI packet received {"connection_id":160504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":160504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:18:07] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:18:07] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:18:07] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:18:07] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677789,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:18:07] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:18:07] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:18:34] local.INFO: TCP Data received {"connection_id":160503,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:18:34] local.INFO: Processing buffer {"connection_id":160503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:18:34] local.INFO: Packet analysis {"connection_id":160503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:18:34] local.INFO: Extracted packet for processing {"connection_id":160503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:18:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":160503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:18:34] local.INFO: GPS data processed {"connection_id":160503,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:18:34] local.INFO: Acknowledgment sent {"connection_id":160503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:18:38] local.INFO: TCP Data received {"connection_id":160504,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:18:38] local.INFO: Processing buffer {"connection_id":160504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:18:38] local.INFO: Packet analysis {"connection_id":160504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:18:38] local.INFO: Extracted packet for processing {"connection_id":160504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:18:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:18:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:18:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:18:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:18:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":160504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:18:38] local.INFO: GPS data processed {"connection_id":160504,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:18:38] local.INFO: Acknowledgment sent {"connection_id":160504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:18:57] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:18:57] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:18:57] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:19:00] local.INFO: TCP Data received {"connection_id":159594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:19:00] local.INFO: Processing buffer {"connection_id":159594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:19:00] local.INFO: IMEI packet received {"connection_id":159594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":159594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:19:02] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:19:02] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:19:02] local.INFO: IMEI packet received {"connection_id":161905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":161905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:19:03] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:19:03] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c73088012d9e4200055ace480008000131..."} 
[2026-08-21 20:19:03] local.INFO: Packet analysis {"connection_id":161905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:19:03] local.INFO: Extracted packet for processing {"connection_id":161905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c7"} 
[2026-08-21 20:19:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":49,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554720768001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323429000,"timestamp_ms":1787323429000,"timestamp_seconds":1787323429,"priority":1,"record_length":96,"hex_timestamp":"000001a024c73088"} 
[2026-08-21 20:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:19: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-08-21 20:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554720768001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554720768001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:19:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554720768001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":161905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:19:03] local.INFO: GPS data processed {"connection_id":161905,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:19:03] local.INFO: Acknowledgment sent {"connection_id":161905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:19:06] local.INFO: TCP Data received {"connection_id":159594,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159594,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:19:06] local.INFO: Processing buffer {"connection_id":159594,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:19:06] local.INFO: IMEI packet received {"connection_id":159594,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":159594,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:19:06] local.INFO: TCP Data received {"connection_id":159594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:19:06] local.INFO: Processing buffer {"connection_id":159594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:19:06] local.INFO: Packet analysis {"connection_id":159594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:19:06] local.INFO: Extracted packet for processing {"connection_id":159594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":159594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:19:07] local.INFO: GPS data processed {"connection_id":159594,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:19:07] local.INFO: Acknowledgment sent {"connection_id":159594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:19:34] local.INFO: TCP Data received {"connection_id":161905,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:19:34] local.INFO: Processing buffer {"connection_id":161905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:19:34] local.INFO: Packet analysis {"connection_id":161905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:19:34] local.INFO: Extracted packet for processing {"connection_id":161905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:19:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":161905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:19:34] local.INFO: GPS data processed {"connection_id":161905,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:19:34] local.INFO: Acknowledgment sent {"connection_id":161905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:19:38] local.INFO: TCP Data received {"connection_id":159594,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:19:38] local.INFO: Processing buffer {"connection_id":159594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:19:38] local.INFO: Packet analysis {"connection_id":159594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:19:38] local.INFO: Extracted packet for processing {"connection_id":159594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159594,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:19:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":159594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:19:38] local.INFO: GPS data processed {"connection_id":159594,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:19:38] local.INFO: Acknowledgment sent {"connection_id":159594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:20:00] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:20:00] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:20:00] local.INFO: IMEI packet received {"connection_id":159595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":159595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:20:02] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:02] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:02] local.INFO: IMEI packet received {"connection_id":159315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":159315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:20:06] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:20:06] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:20:06] local.INFO: IMEI packet received {"connection_id":159595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":159595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:20:06] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:20:06] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:20:06] local.INFO: Packet analysis {"connection_id":159595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:20:06] local.INFO: Extracted packet for processing {"connection_id":159595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":159595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:20:07] local.INFO: GPS data processed {"connection_id":159595,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:20:07] local.INFO: Acknowledgment sent {"connection_id":159595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:20:07] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:07] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:07] local.INFO: IMEI packet received {"connection_id":159315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":159315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:20:08] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:20:08] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:20:08] local.INFO: Packet analysis {"connection_id":159315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:20:08] local.INFO: Extracted packet for processing {"connection_id":159315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:20:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":159315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:20:08] local.INFO: GPS data processed {"connection_id":159315,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:20:08] local.INFO: Acknowledgment sent {"connection_id":159315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:20:38] local.INFO: TCP Data received {"connection_id":159595,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:20:38] local.INFO: Processing buffer {"connection_id":159595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:20:38] local.INFO: Packet analysis {"connection_id":159595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:20:38] local.INFO: Extracted packet for processing {"connection_id":159595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:20:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:20:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:20:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:20:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:20:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:20:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:20:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:20:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:20:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:20:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:20:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:20:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:20:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:20:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:20:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:20:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:20:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:20:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:20:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:20:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:20:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:20:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:20:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:20:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:20:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":159595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:20:38] local.INFO: GPS data processed {"connection_id":159595,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:20:38] local.INFO: Acknowledgment sent {"connection_id":159595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:20:39] local.INFO: TCP Data received {"connection_id":159315,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:20:39] local.INFO: Processing buffer {"connection_id":159315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:20:39] local.INFO: Packet analysis {"connection_id":159315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:20:39] local.INFO: Extracted packet for processing {"connection_id":159315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:20:39] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:20:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":159315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:20:39] local.INFO: GPS data processed {"connection_id":159315,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:20:39] local.INFO: Acknowledgment sent {"connection_id":159315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:20:56] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:56] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:20:56] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:21:02] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:21:02] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:21:02] local.INFO: IMEI packet received {"connection_id":161907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":161907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:21:03] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:21:03] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:21:03] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:21:03] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:21:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20: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-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:21:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:21:03] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:21:03] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:21:06] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:21:06] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:21:06] local.INFO: IMEI packet received {"connection_id":159316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":159316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:21:11] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:21:11] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:21:11] local.INFO: IMEI packet received {"connection_id":159316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":159316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:21:11] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:21:11] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8c6c8012d196540071feff8004400112c..."} 
[2026-08-21 20:21:11] local.INFO: Packet analysis {"connection_id":159316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:21:11] local.INFO: Extracted packet for processing {"connection_id":159316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554747392001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787323533000,"timestamp_ms":1787323533000,"timestamp_seconds":1787323533,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8c6c8"} 
[2026-08-21 20:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554747392001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554747392001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:21:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:21:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554747392001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":159316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:21:12] local.INFO: GPS data processed {"connection_id":159316,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:21:12] local.INFO: Acknowledgment sent {"connection_id":159316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:21:12] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:21:12] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:21:12] local.INFO: Packet analysis {"connection_id":159316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:21:12] local.INFO: Extracted packet for processing {"connection_id":159316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:21:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:21:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":159316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:21:12] local.INFO: GPS data processed {"connection_id":159316,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:21:12] local.INFO: Acknowledgment sent {"connection_id":159316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:21:28] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:28] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:28] local.INFO: IMEI packet received {"connection_id":161906,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":161906,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:21:29] local.INFO: TCP Data received {"connection_id":161906,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024c89400012d882c0005cf9e08000900a623..."} 
[2026-08-21 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c89400012d882c0005cf9e08000900a623..."} 
[2026-08-21 20:21:29] local.INFO: Processing buffer {"connection_id":161906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c89400012d882c0005cf9e08000900a623..."} 
[2026-08-21 20:21:29] local.INFO: Packet analysis {"connection_id":161906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:21:29] local.INFO: Extracted packet for processing {"connection_id":161906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763898880,"raw_latitude":97492488,"longitude_deg":76.389888,"latitude_deg":9.7492488,"altitude":9,"angle":166,"satellites":35,"speed":0,"hex_longitude":"2d882c00","hex_latitude":"05cf9e08","is_valid_coordinates":true} 
[2026-08-21 20:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554821120001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634526360618006528,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787323520000,"timestamp_ms":1787323520000,"timestamp_seconds":1787323520,"priority":1,"record_length":96,"hex_timestamp":"000001a024c89400"} 
[2026-08-21 20:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20: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-08-21 20: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 20:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":161906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":161906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":161906,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:21:29] 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-08-21 20:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554821120001,"66":13254,"139":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634526360618006528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-21 20:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554821120001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:21:29] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-21 20:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634526360618006528,"description":"Unknown IO ID 45"} 
[2026-08-21 20:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554821120001,"power":13254,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634526360618006528}} 
[2026-08-21 20:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":161906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:21:29] local.INFO: GPS data processed {"connection_id":161906,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:21:29] local.INFO: Acknowledgment sent {"connection_id":161906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:21:34] local.INFO: TCP Data received {"connection_id":161907,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:21:34] local.INFO: Processing buffer {"connection_id":161907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:21:34] local.INFO: Packet analysis {"connection_id":161907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:21:34] local.INFO: Extracted packet for processing {"connection_id":161907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:21:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":161907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:21:34] local.INFO: GPS data processed {"connection_id":161907,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:21:34] local.INFO: Acknowledgment sent {"connection_id":161907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:21:43] local.INFO: TCP Data received {"connection_id":159316,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:21:43] local.INFO: Processing buffer {"connection_id":159316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:21:43] local.INFO: Packet analysis {"connection_id":159316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:21:43] local.INFO: Extracted packet for processing {"connection_id":159316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:21:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:21:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":159316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:21:43] local.INFO: GPS data processed {"connection_id":159316,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:21:43] local.INFO: Acknowledgment sent {"connection_id":159316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:21:53] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:53] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:53] local.INFO: IMEI packet received {"connection_id":159596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":159596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:21:56] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:21:56] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:21:56] local.INFO: IMEI packet received {"connection_id":160505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":160505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:21:58] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:58] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:21:58] local.INFO: IMEI packet received {"connection_id":159596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":159596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:21:59] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8e220012d882b4005cf9df0000900a625..."} 
[2026-08-21 20:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8e220012d882b4005cf9df0000900a625..."} 
[2026-08-21 20:21:59] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8e220012d882b4005cf9df0000900a625..."} 
[2026-08-21 20:21:59] local.INFO: Packet analysis {"connection_id":159596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:21:59] local.INFO: Extracted packet for processing {"connection_id":159596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:21:59] local.INFO: GPS Element Parsed {"raw_longitude":763898688,"raw_latitude":97492464,"longitude_deg":76.3898688,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d882b40","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554821120001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634526360618006528,"note":"Value kept but may cause issues"} 
[2026-08-21 20:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787323540000,"timestamp_ms":1787323540000,"timestamp_seconds":1787323540,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8e220"} 
[2026-08-21 20:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:21: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-08-21 20:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-08-21 20:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":159596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:21:59] 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-08-21 20:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554821120001,"66":12863,"139":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634526360618006528},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-21 20:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554821120001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:21:59] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-21 20:21:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634526360618006528,"description":"Unknown IO ID 45"} 
[2026-08-21 20:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554821120001,"power":12863,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634526360618006528}} 
[2026-08-21 20:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":159596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677806,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:21:59] local.INFO: GPS data processed {"connection_id":159596,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:21:59] local.INFO: Acknowledgment sent {"connection_id":159596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:22:01] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:22:01] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:22:01] local.INFO: IMEI packet received {"connection_id":159317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":159317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:22:02] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:22:02] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:22:02] local.INFO: IMEI packet received {"connection_id":160505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":160505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:22:03] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:22:03] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:22:03] local.INFO: Packet analysis {"connection_id":160505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:22:03] local.INFO: Extracted packet for processing {"connection_id":160505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:22:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:22: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-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:22:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":160505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:22:03] local.INFO: GPS data processed {"connection_id":160505,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:22:03] local.INFO: Acknowledgment sent {"connection_id":160505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:22:06] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:22:06] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:22:06] local.INFO: IMEI packet received {"connection_id":159317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":159317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:22:07] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:22:07] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:22:07] local.INFO: Packet analysis {"connection_id":159317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:22:07] local.INFO: Extracted packet for processing {"connection_id":159317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":159317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:22:07] local.INFO: GPS data processed {"connection_id":159317,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:22:07] local.INFO: Acknowledgment sent {"connection_id":159317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:22:31] local.INFO: TCP Data received {"connection_id":159596,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8e220012d882b4005cf9df0000900a625..."} 
[2026-08-21 20:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8e220012d882b4005cf9df0000900a625..."} 
[2026-08-21 20:22:31] local.INFO: Processing buffer {"connection_id":159596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8e220012d882b4005cf9df0000900a625..."} 
[2026-08-21 20:22:31] local.INFO: Packet analysis {"connection_id":159596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:22:31] local.INFO: Extracted packet for processing {"connection_id":159596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:22:31] local.INFO: GPS Element Parsed {"raw_longitude":763898688,"raw_latitude":97492464,"longitude_deg":76.3898688,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d882b40","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554826240001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634737466850545664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1787323540000,"timestamp_ms":1787323540000,"timestamp_seconds":1787323540,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8e220"} 
[2026-08-21 20:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:22: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-08-21 20:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 20:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":159596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":159596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:22:31] 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-08-21 20:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554826240001,"66":12863,"139":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634737466850545664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-21 20:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554826240001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:22:31] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-21 20:22:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634737466850545664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554826240001,"power":12863,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634737466850545664}} 
[2026-08-21 20:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":159596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677809,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:22:31] local.INFO: GPS data processed {"connection_id":159596,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:22:31] local.INFO: Acknowledgment sent {"connection_id":159596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:22:34] local.INFO: TCP Data received {"connection_id":160505,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:22:34] local.INFO: Processing buffer {"connection_id":160505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:22:34] local.INFO: Packet analysis {"connection_id":160505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:22:34] local.INFO: Extracted packet for processing {"connection_id":160505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:22:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":160505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:22:34] local.INFO: GPS data processed {"connection_id":160505,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:22:34] local.INFO: Acknowledgment sent {"connection_id":160505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:22:38] local.INFO: TCP Data received {"connection_id":159317,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159317,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:22:38] local.INFO: Processing buffer {"connection_id":159317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:22:38] local.INFO: Packet analysis {"connection_id":159317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:22:38] local.INFO: Extracted packet for processing {"connection_id":159317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:22:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":159317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:22:38] local.INFO: GPS data processed {"connection_id":159317,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:22:38] local.INFO: Acknowledgment sent {"connection_id":159317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:22:53] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:22:53] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:22:53] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:22:56] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:22:57] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:22:57] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:22:58] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:22:58] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:22:58] local.INFO: IMEI packet received {"connection_id":160506,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":160506,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:22:59] local.INFO: TCP Data received {"connection_id":160506,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024c8e9f0012d882b4005cf9df0000900a627..."} 
[2026-08-21 20:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c8e9f0012d882b4005cf9df0000900a627..."} 
[2026-08-21 20:22:59] local.INFO: Processing buffer {"connection_id":160506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c8e9f0012d882b4005cf9df0000900a627..."} 
[2026-08-21 20:22:59] local.INFO: Packet analysis {"connection_id":160506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:22:59] local.INFO: Extracted packet for processing {"connection_id":160506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c8"} 
[2026-08-21 20:22:59] local.INFO: GPS Element Parsed {"raw_longitude":763898688,"raw_latitude":97492464,"longitude_deg":76.3898688,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":39,"speed":0,"hex_longitude":"2d882b40","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554826240001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634737466850545664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787323542000,"timestamp_ms":1787323542000,"timestamp_seconds":1787323542,"priority":1,"record_length":96,"hex_timestamp":"000001a024c8e9f0"} 
[2026-08-21 20:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-08-21 20:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":160506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":160506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":160506,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:22:59] 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-08-21 20:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554826240001,"66":12841,"139":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634737466850545664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-21 20:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554826240001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:22:59] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-21 20:22:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634737466850545664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554826240001,"power":12841,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634737466850545664}} 
[2026-08-21 20:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":160506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:22:59] local.INFO: GPS data processed {"connection_id":160506,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:22:59] local.INFO: Acknowledgment sent {"connection_id":160506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:23:00] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:23:00] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:23:00] local.INFO: IMEI packet received {"connection_id":159318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":159318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:23:02] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:23:02] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:23:02] local.INFO: IMEI packet received {"connection_id":160507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":160507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:23:03] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:23:03] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:23:03] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:23:03] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:23:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:23: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-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:23:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:23:03] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:23:03] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:23:06] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:23:06] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:23:06] local.INFO: IMEI packet received {"connection_id":159318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":159318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:23:07] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:23:07] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:23:07] local.INFO: Packet analysis {"connection_id":159318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:23:07] local.INFO: Extracted packet for processing {"connection_id":159318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":159318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:23:07] local.INFO: GPS data processed {"connection_id":159318,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:23:07] local.INFO: Acknowledgment sent {"connection_id":159318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:23:34] local.INFO: TCP Data received {"connection_id":160507,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:23:34] local.INFO: Processing buffer {"connection_id":160507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:23:34] local.INFO: Packet analysis {"connection_id":160507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:23:34] local.INFO: Extracted packet for processing {"connection_id":160507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:23:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:23:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":160507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:23:34] local.INFO: GPS data processed {"connection_id":160507,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:23:34] local.INFO: Acknowledgment sent {"connection_id":160507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:23:38] local.INFO: TCP Data received {"connection_id":159318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:23:38] local.INFO: Processing buffer {"connection_id":159318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:23:38] local.INFO: Packet analysis {"connection_id":159318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:23:38] local.INFO: Extracted packet for processing {"connection_id":159318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:23:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:23:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:23:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":159318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:23:38] local.INFO: GPS data processed {"connection_id":159318,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:23:38] local.INFO: Acknowledgment sent {"connection_id":159318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:23:53] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:23:53] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:23:53] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:23:59] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:23:59] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:23:59] local.INFO: IMEI packet received {"connection_id":160508,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":160508,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:24:00] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:24:00] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:24:00] local.INFO: IMEI packet received {"connection_id":159319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":159319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:24:02] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:02] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:02] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:24:02] local.INFO: TCP Data received {"connection_id":160508,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024c91100012d882b8005cf9de8000900a625..."} 
[2026-08-21 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024c91100012d882b8005cf9de8000900a625..."} 
[2026-08-21 20:24:02] local.INFO: Processing buffer {"connection_id":160508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024c91100012d882b8005cf9de8000900a625..."} 
[2026-08-21 20:24:02] local.INFO: Packet analysis {"connection_id":160508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024c9"} 
[2026-08-21 20:24:02] local.INFO: Extracted packet for processing {"connection_id":160508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024c9"} 
[2026-08-21 20:24:02] local.INFO: GPS Element Parsed {"raw_longitude":763898752,"raw_latitude":97492456,"longitude_deg":76.3898752,"latitude_deg":9.7492456,"altitude":9,"angle":166,"satellites":37,"speed":0,"hex_longitude":"2d882b80","hex_latitude":"05cf9de8","is_valid_coordinates":true} 
[2026-08-21 20:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554826752001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634737466850545664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,139,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787323552000,"timestamp_ms":1787323552000,"timestamp_seconds":1787323552,"priority":1,"record_length":96,"hex_timestamp":"000001a024c91100"} 
[2026-08-21 20:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-08-21 20:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160508,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:24:02] 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-08-21 20:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554826752001,"66":12906,"139":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634737466850545664},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,139,85,24,16,45]} 
[2026-08-21 20:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554826752001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:24:02] local.INFO: Unknown IO ID detected {"io_id":139,"value":206,"description":"Unknown IO ID 139"} 
[2026-08-21 20:24:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634737466850545664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554826752001,"power":12906,"unknown_139":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634737466850545664}} 
[2026-08-21 20:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":160508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:24:02] local.INFO: GPS data processed {"connection_id":160508,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:24:02] local.INFO: Acknowledgment sent {"connection_id":160508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:24:06] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:24:06] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:24:06] local.INFO: IMEI packet received {"connection_id":159319,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":159319,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:24:06] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:24:06] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:24:06] local.INFO: Packet analysis {"connection_id":159319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:24:06] local.INFO: Extracted packet for processing {"connection_id":159319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":159319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:24:06] local.INFO: GPS data processed {"connection_id":159319,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:24:06] local.INFO: Acknowledgment sent {"connection_id":159319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:24:07] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:07] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:07] local.INFO: IMEI packet received {"connection_id":160509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":160509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:24:08] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:24:08] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:24:08] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:24:08] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:24:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:24:08] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:24:08] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:24:12] local.INFO: TCP Data received {"connection_id":160509,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:24:12] local.INFO: Processing buffer {"connection_id":160509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cbc850012d9e4200055ace48000800012f..."} 
[2026-08-21 20:24:12] local.INFO: Packet analysis {"connection_id":160509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:24:12] local.INFO: Extracted packet for processing {"connection_id":160509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cb"} 
[2026-08-21 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554797824001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787323730000,"timestamp_ms":1787323730000,"timestamp_seconds":1787323730,"priority":1,"record_length":96,"hex_timestamp":"000001a024cbc850"} 
[2026-08-21 20:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554797824001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554797824001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:24:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554797824001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":160509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:24:12] local.INFO: GPS data processed {"connection_id":160509,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:24:12] local.INFO: Acknowledgment sent {"connection_id":160509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:24:38] local.INFO: TCP Data received {"connection_id":159319,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:24:38] local.INFO: Processing buffer {"connection_id":159319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:24:38] local.INFO: Packet analysis {"connection_id":159319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:24:38] local.INFO: Extracted packet for processing {"connection_id":159319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159319,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:24:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":159319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:24:38] local.INFO: GPS data processed {"connection_id":159319,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:24:38] local.INFO: Acknowledgment sent {"connection_id":159319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:24:56] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:56] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:24:56] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:25:02] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:25:02] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:25:02] local.INFO: IMEI packet received {"connection_id":161908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":161908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:25:03] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:25:03] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:25:03] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:25:03] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:25:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20: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-08-21 20:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:25: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-08-21 20:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:25:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:25:03] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:25:03] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:25:06] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:25:06] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:25:06] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:25:11] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:25:11] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:25:11] local.INFO: IMEI packet received {"connection_id":161909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":161909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:25:15] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:25:15] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:25:15] local.INFO: Packet analysis {"connection_id":161909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:25:15] local.INFO: Extracted packet for processing {"connection_id":161909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:25:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25: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-08-21 20:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:25: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-08-21 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:25: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-08-21 20:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":161909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:25:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:25:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":161909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:25:15] local.INFO: GPS data processed {"connection_id":161909,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:25:15] local.INFO: Acknowledgment sent {"connection_id":161909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:25:16] local.INFO: TCP Data received {"connection_id":161909,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:25:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:25:16] local.INFO: Processing buffer {"connection_id":161909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:25:16] local.INFO: Packet analysis {"connection_id":161909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:25:16] local.INFO: Extracted packet for processing {"connection_id":161909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:25:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:25:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:25:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:25:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:25:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:25:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:25:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:25:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:25:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:25:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:25:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:25:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:25:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:25:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:25:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:25:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:25:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:25:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:25:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:25:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:25:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:25:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:25:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:25:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:25:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:25:16] local.INFO: DEBUG: GPS processor result {"connection_id":161909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:25:16] local.INFO: GPS data processed {"connection_id":161909,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:25:16] local.INFO: Acknowledgment sent {"connection_id":161909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:25:34] local.INFO: TCP Data received {"connection_id":161908,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:25:34] local.INFO: Processing buffer {"connection_id":161908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:25:34] local.INFO: Packet analysis {"connection_id":161908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:25:34] local.INFO: Extracted packet for processing {"connection_id":161908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:25:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:25:34] local.INFO: GPS data processed {"connection_id":161908,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:25:34] local.INFO: Acknowledgment sent {"connection_id":161908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:25:57] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:25:57] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:25:57] local.INFO: IMEI packet received {"connection_id":159597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":159597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:26:01] local.INFO: TCP Data received {"connection_id":159320,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:26:01] local.INFO: Processing buffer {"connection_id":159320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:26:01] local.INFO: IMEI packet received {"connection_id":159320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":159320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:26:02] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:26:02] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:26:02] local.INFO: IMEI packet received {"connection_id":159597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":159597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:26:03] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:26:03] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:26:03] local.INFO: Packet analysis {"connection_id":159597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:26:03] local.INFO: Extracted packet for processing {"connection_id":159597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:26:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:26:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":159597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:26:03] local.INFO: GPS data processed {"connection_id":159597,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:26:03] local.INFO: Acknowledgment sent {"connection_id":159597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:26:06] local.INFO: TCP Data received {"connection_id":159320,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159320,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:26:06] local.INFO: Processing buffer {"connection_id":159320,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:26:06] local.INFO: IMEI packet received {"connection_id":159320,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":159320,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:26:17] local.INFO: TCP Data received {"connection_id":159320,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159320,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:26:17] local.INFO: Processing buffer {"connection_id":159320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024cd5e90012d196540071feff8004400112a..."} 
[2026-08-21 20:26:17] local.INFO: Packet analysis {"connection_id":159320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:26:17] local.INFO: Extracted packet for processing {"connection_id":159320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024cd"} 
[2026-08-21 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554824448001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787323834000,"timestamp_ms":1787323834000,"timestamp_seconds":1787323834,"priority":1,"record_length":96,"hex_timestamp":"000001a024cd5e90"} 
[2026-08-21 20:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159320,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554824448001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554824448001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554824448001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":159320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:26:17] local.INFO: GPS data processed {"connection_id":159320,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:26:17] local.INFO: Acknowledgment sent {"connection_id":159320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:26:34] local.INFO: TCP Data received {"connection_id":159597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:26:34] local.INFO: Processing buffer {"connection_id":159597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:26:34] local.INFO: Packet analysis {"connection_id":159597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:26:34] local.INFO: Extracted packet for processing {"connection_id":159597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:26:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:26:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:26:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:26:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:26:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":159597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:26:34] local.INFO: GPS data processed {"connection_id":159597,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:26:34] local.INFO: Acknowledgment sent {"connection_id":159597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:26:57] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:26:57] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:26:57] local.INFO: IMEI packet received {"connection_id":159321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":159321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:27:00] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:27:00] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:27:00] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:27:02] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:27:02] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:27:02] local.INFO: IMEI packet received {"connection_id":159321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":159321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:27:03] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:27:03] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:27:03] local.INFO: Packet analysis {"connection_id":159321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:27:03] local.INFO: Extracted packet for processing {"connection_id":159321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:27:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:27:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":159321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:27:03] local.INFO: GPS data processed {"connection_id":159321,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:27:03] local.INFO: Acknowledgment sent {"connection_id":159321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:27:06] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:27:06] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:27:06] local.INFO: IMEI packet received {"connection_id":161910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":161910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:27:06] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:27:06] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:27:06] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:27:06] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:27:06] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:27:06] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:27:34] local.INFO: TCP Data received {"connection_id":159321,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:27:34] local.INFO: Processing buffer {"connection_id":159321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:27:34] local.INFO: Packet analysis {"connection_id":159321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:27:34] local.INFO: Extracted packet for processing {"connection_id":159321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:27:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":159321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:27:34] local.INFO: GPS data processed {"connection_id":159321,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:27:34] local.INFO: Acknowledgment sent {"connection_id":159321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:27:37] local.INFO: TCP Data received {"connection_id":161910,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:27:37] local.INFO: Processing buffer {"connection_id":161910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:27:37] local.INFO: Packet analysis {"connection_id":161910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:27:37] local.INFO: Extracted packet for processing {"connection_id":161910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:27:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":161910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:27:38] local.INFO: GPS data processed {"connection_id":161910,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:27:38] local.INFO: Acknowledgment sent {"connection_id":161910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:27:56] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:27:56] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:27:56] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:28:00] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:28:00] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:28:00] local.INFO: IMEI packet received {"connection_id":159598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":159598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:28:02] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:28:02] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:28:02] local.INFO: IMEI packet received {"connection_id":160510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":160510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:28:03] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:28:03] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:28:03] local.INFO: Packet analysis {"connection_id":160510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:28:03] local.INFO: Extracted packet for processing {"connection_id":160510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:28:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:28:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":160510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:28:03] local.INFO: GPS data processed {"connection_id":160510,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:28:03] local.INFO: Acknowledgment sent {"connection_id":160510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:28:06] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:28:06] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:28:06] local.INFO: IMEI packet received {"connection_id":159598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":159598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:28:06] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:28:06] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:28:06] local.INFO: Packet analysis {"connection_id":159598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:28:06] local.INFO: Extracted packet for processing {"connection_id":159598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":159598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:28:07] local.INFO: GPS data processed {"connection_id":159598,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:28:07] local.INFO: Acknowledgment sent {"connection_id":159598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:28:34] local.INFO: TCP Data received {"connection_id":160510,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:28:34] local.INFO: Processing buffer {"connection_id":160510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:28:34] local.INFO: Packet analysis {"connection_id":160510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:28:34] local.INFO: Extracted packet for processing {"connection_id":160510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:28:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:28:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:28:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":160510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:28:34] local.INFO: GPS data processed {"connection_id":160510,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:28:34] local.INFO: Acknowledgment sent {"connection_id":160510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:28:38] local.INFO: TCP Data received {"connection_id":159598,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:28:38] local.INFO: Processing buffer {"connection_id":159598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:28:38] local.INFO: Packet analysis {"connection_id":159598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:28:38] local.INFO: Extracted packet for processing {"connection_id":159598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:28:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:28:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":159598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:28:38] local.INFO: GPS data processed {"connection_id":159598,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:28:38] local.INFO: Acknowledgment sent {"connection_id":159598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:28:58] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:28:58] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:28:58] local.INFO: IMEI packet received {"connection_id":160511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":160511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:29:02] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:02] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:02] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:29:03] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:03] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:03] local.INFO: IMEI packet received {"connection_id":160511,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":160511,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:29:04] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:04] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:04] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:04] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:04] local.INFO: GPS Element Parsed {"raw_longitude":763898624,"raw_latitude":97492464,"longitude_deg":76.3898624,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d882b00","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554829312001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634667098106370048,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787324117000,"timestamp_ms":1787324117000,"timestamp_seconds":1787324117,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1b008"} 
[2026-08-21 20:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20: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-08-21 20: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 20:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554829312001,"66":2253,"39":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634667098106370048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-21 20:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554829312001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:29:04] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 20:29:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634667098106370048,"description":"Unknown IO ID 45"} 
[2026-08-21 20:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554829312001,"power":2253,"unknown_39":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634667098106370048}} 
[2026-08-21 20:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677837,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:29:04] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:29:04] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:29:06] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:29:06] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:29:06] local.INFO: IMEI packet received {"connection_id":159599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":159599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:29:07] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:07] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:07] local.INFO: IMEI packet received {"connection_id":161911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":161911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:29:08] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:29:08] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:29:08] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:29:08] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:29:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:29:08] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:29:08] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:29:11] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:29:11] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:29:11] local.INFO: IMEI packet received {"connection_id":159599,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":159599,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:29:11] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:29:11] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:29:11] local.INFO: Packet analysis {"connection_id":159599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:11] local.INFO: Extracted packet for processing {"connection_id":159599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:29:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":159599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:29:12] local.INFO: GPS data processed {"connection_id":159599,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:29:12] local.INFO: Acknowledgment sent {"connection_id":159599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:29:12] local.INFO: TCP Data received {"connection_id":161911,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:29:12] local.INFO: Processing buffer {"connection_id":161911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d06018012d9e4200055ace48000800012f..."} 
[2026-08-21 20:29:12] local.INFO: Packet analysis {"connection_id":161911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:29:12] local.INFO: Extracted packet for processing {"connection_id":161911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d0"} 
[2026-08-21 20:29:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":47,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554874880001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787324031000,"timestamp_ms":1787324031000,"timestamp_seconds":1787324031,"priority":1,"record_length":96,"hex_timestamp":"000001a024d06018"} 
[2026-08-21 20:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554874880001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554874880001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:29:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554874880001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":161911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:29:12] local.INFO: GPS data processed {"connection_id":161911,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:29:12] local.INFO: Acknowledgment sent {"connection_id":161911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:29:16] local.INFO: TCP Data received {"connection_id":159599,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:29:16] local.INFO: Processing buffer {"connection_id":159599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:29:16] local.INFO: Packet analysis {"connection_id":159599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:16] local.INFO: Extracted packet for processing {"connection_id":159599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159599,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:29:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:29:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":159599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:29:16] local.INFO: GPS data processed {"connection_id":159599,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:29:16] local.INFO: Acknowledgment sent {"connection_id":159599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:29:35] local.INFO: TCP Data received {"connection_id":160511,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:35] local.INFO: Processing buffer {"connection_id":160511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:35] local.INFO: Packet analysis {"connection_id":160511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:35] local.INFO: Extracted packet for processing {"connection_id":160511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763898624,"raw_latitude":97492464,"longitude_deg":76.3898624,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d882b00","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554829312001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634667098106370048,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787324117000,"timestamp_ms":1787324117000,"timestamp_seconds":1787324117,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1b008"} 
[2026-08-21 20:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 20:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160511,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:29: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-08-21 20:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554829312001,"66":2253,"39":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634667098106370048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-21 20:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554829312001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:29:35] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 20:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634667098106370048,"description":"Unknown IO ID 45"} 
[2026-08-21 20:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554829312001,"power":2253,"unknown_39":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634667098106370048}} 
[2026-08-21 20:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":160511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:29:35] local.INFO: GPS data processed {"connection_id":160511,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:29:35] local.INFO: Acknowledgment sent {"connection_id":160511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:29:53] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:53] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:53] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:29:56] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:56] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:29:56] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:29:58] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:58] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:29:58] local.INFO: IMEI packet received {"connection_id":161912,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":161912,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:29:59] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:59] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:29:59] local.INFO: Packet analysis {"connection_id":161912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:59] local.INFO: Extracted packet for processing {"connection_id":161912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:29:59] local.INFO: GPS Element Parsed {"raw_longitude":763898624,"raw_latitude":97492464,"longitude_deg":76.3898624,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d882b00","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554829312001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634667098106370048,"note":"Value kept but may cause issues"} 
[2026-08-21 20:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1787324117000,"timestamp_ms":1787324117000,"timestamp_seconds":1787324117,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1b008"} 
[2026-08-21 20:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 20:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":161912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":161912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":161912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:29: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-08-21 20:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554829312001,"66":2253,"39":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634667098106370048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-21 20:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554829312001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:29:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 20:29:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634667098106370048,"description":"Unknown IO ID 45"} 
[2026-08-21 20:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554829312001,"power":2253,"unknown_39":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634667098106370048}} 
[2026-08-21 20:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":161912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:29:59] local.INFO: GPS data processed {"connection_id":161912,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:29:59] local.INFO: Acknowledgment sent {"connection_id":161912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:30:01] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:30:01] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:30:01] local.INFO: IMEI packet received {"connection_id":159322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":159322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:30:02] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:30:02] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:30:02] local.INFO: IMEI packet received {"connection_id":161913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":161913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:30:03] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:30:03] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:30:03] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:30:03] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:30:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:30:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:30:03] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:30:03] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:30:06] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:30:06] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:30:06] local.INFO: IMEI packet received {"connection_id":159322,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":159322,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:30:06] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:30:06] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:30:06] local.INFO: Packet analysis {"connection_id":159322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:30:06] local.INFO: Extracted packet for processing {"connection_id":159322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:30:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:30:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":159322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:30:06] local.INFO: GPS data processed {"connection_id":159322,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:30:06] local.INFO: Acknowledgment sent {"connection_id":159322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:30:30] local.INFO: TCP Data received {"connection_id":161912,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:30:30] local.INFO: Processing buffer {"connection_id":161912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:30:30] local.INFO: Packet analysis {"connection_id":161912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:30:30] local.INFO: Extracted packet for processing {"connection_id":161912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:30:30] local.INFO: GPS Element Parsed {"raw_longitude":763898624,"raw_latitude":97492464,"longitude_deg":76.3898624,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d882b00","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554829312001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634667098106370048,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787324117000,"timestamp_ms":1787324117000,"timestamp_seconds":1787324117,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1b008"} 
[2026-08-21 20:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:30: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-08-21 20:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 20:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161912,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:30: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-08-21 20:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554829312001,"66":2253,"39":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634667098106370048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-21 20:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554829312001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:30:30] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 20:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634667098106370048,"description":"Unknown IO ID 45"} 
[2026-08-21 20:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554829312001,"power":2253,"unknown_39":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634667098106370048}} 
[2026-08-21 20:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":161912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677846,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:30:30] local.INFO: GPS data processed {"connection_id":161912,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:30:30] local.INFO: Acknowledgment sent {"connection_id":161912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:30:35] local.INFO: TCP Data received {"connection_id":161913,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:30:35] local.INFO: Processing buffer {"connection_id":161913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:30:35] local.INFO: Packet analysis {"connection_id":161913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:30:35] local.INFO: Extracted packet for processing {"connection_id":161913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:30:35] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:30:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":161913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:30:35] local.INFO: GPS data processed {"connection_id":161913,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:30:35] local.INFO: Acknowledgment sent {"connection_id":161913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:30:37] local.INFO: TCP Data received {"connection_id":159322,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:30:37] local.INFO: Processing buffer {"connection_id":159322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:30:37] local.INFO: Packet analysis {"connection_id":159322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:30:37] local.INFO: Extracted packet for processing {"connection_id":159322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:30:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159322,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:30:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:30:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":159322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:30:37] local.INFO: GPS data processed {"connection_id":159322,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:30:37] local.INFO: Acknowledgment sent {"connection_id":159322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:30:53] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:30:53] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:30:53] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:30:56] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:30:56] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:30:56] local.INFO: IMEI packet received {"connection_id":160512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":160512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:31:01] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:31:01] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:31:01] local.INFO: IMEI packet received {"connection_id":159600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":159600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:31:01] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:31:01] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:31:01] local.INFO: IMEI packet received {"connection_id":161914,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-08-21 20:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":161914,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:31:02] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:31:02] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:31:02] local.INFO: IMEI packet received {"connection_id":160512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":160512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:31:03] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:31:03] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:31:03] local.INFO: Packet analysis {"connection_id":161914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:31:03] local.INFO: Extracted packet for processing {"connection_id":161914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763898624,"raw_latitude":97492464,"longitude_deg":76.3898624,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d882b00","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554829312001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634667098106370048,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324117000,"timestamp_ms":1787324117000,"timestamp_seconds":1787324117,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1b008"} 
[2026-08-21 20:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:31: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-08-21 20: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 20:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554829312001,"66":2253,"39":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634667098106370048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-21 20:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554829312001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:31:03] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 20:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634667098106370048,"description":"Unknown IO ID 45"} 
[2026-08-21 20:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554829312001,"power":2253,"unknown_39":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634667098106370048}} 
[2026-08-21 20:31:03] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:31:03] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:31:03] local.INFO: Packet analysis {"connection_id":160512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:31:03] local.INFO: Extracted packet for processing {"connection_id":160512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:31: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-08-21 20:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:31:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":161914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:31:03] local.INFO: GPS data processed {"connection_id":161914,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:31:03] local.INFO: Acknowledgment sent {"connection_id":161914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":160512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:31:03] local.INFO: GPS data processed {"connection_id":160512,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:31:03] local.INFO: Acknowledgment sent {"connection_id":160512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:31:06] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:31:06] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:31:06] local.INFO: IMEI packet received {"connection_id":159600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":159600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:31:06] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:31:06] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1f658012d196540071feff8004400112c..."} 
[2026-08-21 20:31:06] local.INFO: Packet analysis {"connection_id":159600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:31:06] local.INFO: Extracted packet for processing {"connection_id":159600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":44,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554901504001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324135000,"timestamp_ms":1787324135000,"timestamp_seconds":1787324135,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1f658"} 
[2026-08-21 20:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 20:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554901504001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554901504001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:31:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554901504001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":159600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:31:06] local.INFO: GPS data processed {"connection_id":159600,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:31:06] local.INFO: Acknowledgment sent {"connection_id":159600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:31:34] local.INFO: TCP Data received {"connection_id":161914,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:31:34] local.INFO: Processing buffer {"connection_id":161914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d1b008012d882b0005cf9df0000900a62a..."} 
[2026-08-21 20:31:34] local.INFO: Packet analysis {"connection_id":161914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:31:34] local.INFO: Extracted packet for processing {"connection_id":161914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d1"} 
[2026-08-21 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763898624,"raw_latitude":97492464,"longitude_deg":76.3898624,"latitude_deg":9.7492464,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d882b00","hex_latitude":"05cf9df0","is_valid_coordinates":true} 
[2026-08-21 20:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554829312001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":122032265831120896,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8634667098106370048,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324117000,"timestamp_ms":1787324117000,"timestamp_seconds":1787324117,"priority":1,"record_length":96,"hex_timestamp":"000001a024d1b008"} 
[2026-08-21 20:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-08-21 20:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161914,"device_imei":"862567072406932","avl_records_count":1} 
[2026-08-21 20:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554829312001,"66":2253,"39":206,"85":15104,"24":0,"16":122032265831120896,"45":-8634667098106370048},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,85,24,16,45]} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-08-21 20:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-08-21 20:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554829312001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:31:34] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-08-21 20:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-08-21 20:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":122032265831120896,"km_value":122032265831120.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8634667098106370048,"description":"Unknown IO ID 45"} 
[2026-08-21 20:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554829312001,"power":2253,"unknown_39":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8634667098106370048}} 
[2026-08-21 20:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":161914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:31:34] local.INFO: GPS data processed {"connection_id":161914,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:31:34] local.INFO: Acknowledgment sent {"connection_id":161914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:31:34] local.INFO: TCP Data received {"connection_id":160512,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:31:34] local.INFO: Processing buffer {"connection_id":160512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:31:34] local.INFO: Packet analysis {"connection_id":160512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:31:34] local.INFO: Extracted packet for processing {"connection_id":160512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:31:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":160512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:31:34] local.INFO: GPS data processed {"connection_id":160512,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:31:34] local.INFO: Acknowledgment sent {"connection_id":160512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:31:37] local.INFO: TCP Data received {"connection_id":159600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:31:37] local.INFO: Processing buffer {"connection_id":159600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:31:37] local.INFO: Packet analysis {"connection_id":159600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:31:37] local.INFO: Extracted packet for processing {"connection_id":159600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:31:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:31:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:31: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-08-21 20:31:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:31:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:31:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:31:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:31:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:31:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":159600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:31:37] local.INFO: GPS data processed {"connection_id":159600,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:31:37] local.INFO: Acknowledgment sent {"connection_id":159600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:31:56] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:31:56] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:31:56] local.INFO: IMEI packet received {"connection_id":159601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:32:01] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:32:01] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:32:01] local.INFO: IMEI packet received {"connection_id":159323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":159323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:32:02] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:32:02] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:32:02] local.INFO: IMEI packet received {"connection_id":159601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":159601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:32:03] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:32:03] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:32:03] local.INFO: Packet analysis {"connection_id":159601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:32:03] local.INFO: Extracted packet for processing {"connection_id":159601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:32:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:32:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":159601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:32:03] local.INFO: GPS data processed {"connection_id":159601,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:32:03] local.INFO: Acknowledgment sent {"connection_id":159601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:32:06] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:32:06] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:32:06] local.INFO: IMEI packet received {"connection_id":159323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":159323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:32:06] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:32:06] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:32:06] local.INFO: Packet analysis {"connection_id":159323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:32:06] local.INFO: Extracted packet for processing {"connection_id":159323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:32: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-08-21 20:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:32:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":159323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:32:06] local.INFO: GPS data processed {"connection_id":159323,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:32:06] local.INFO: Acknowledgment sent {"connection_id":159323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:32:34] local.INFO: TCP Data received {"connection_id":159601,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:32:34] local.INFO: Processing buffer {"connection_id":159601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:32:34] local.INFO: Packet analysis {"connection_id":159601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:32:34] local.INFO: Extracted packet for processing {"connection_id":159601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:32:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:32:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":159601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:32:34] local.INFO: GPS data processed {"connection_id":159601,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:32:34] local.INFO: Acknowledgment sent {"connection_id":159601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:32:37] local.INFO: TCP Data received {"connection_id":159323,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:32:37] local.INFO: Processing buffer {"connection_id":159323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:32:37] local.INFO: Packet analysis {"connection_id":159323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:32:37] local.INFO: Extracted packet for processing {"connection_id":159323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:32:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:32: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-08-21 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:32:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:32:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":159323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:32:37] local.INFO: GPS data processed {"connection_id":159323,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:32:37] local.INFO: Acknowledgment sent {"connection_id":159323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:32:56] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:32:56] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:32:56] local.INFO: IMEI packet received {"connection_id":160513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":160513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:33:00] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:33:00] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:33:00] local.INFO: IMEI packet received {"connection_id":159324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":159324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:33:02] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:33:02] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:33:02] local.INFO: IMEI packet received {"connection_id":160513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":160513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:33:03] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:33:03] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:33:03] local.INFO: Packet analysis {"connection_id":160513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:33:03] local.INFO: Extracted packet for processing {"connection_id":160513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 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-08-21 20:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:33:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":160513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:33:03] local.INFO: GPS data processed {"connection_id":160513,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:33:03] local.INFO: Acknowledgment sent {"connection_id":160513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:33:06] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:33:06] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:33:06] local.INFO: IMEI packet received {"connection_id":159324,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":159324,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:33:06] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:33:06] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:33:06] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:33:06] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:33: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-08-21 20:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:33:07] local.INFO: GPS data processed {"connection_id":159324,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:33:07] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:33:34] local.INFO: TCP Data received {"connection_id":160513,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:33:34] local.INFO: Processing buffer {"connection_id":160513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:33:34] local.INFO: Packet analysis {"connection_id":160513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:33:34] local.INFO: Extracted packet for processing {"connection_id":160513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:33:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":160513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:33:34] local.INFO: GPS data processed {"connection_id":160513,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:33:34] local.INFO: Acknowledgment sent {"connection_id":160513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:33:38] local.INFO: TCP Data received {"connection_id":159324,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:33:38] local.INFO: Processing buffer {"connection_id":159324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:33:38] local.INFO: Packet analysis {"connection_id":159324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:33:38] local.INFO: Extracted packet for processing {"connection_id":159324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159324,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:33:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":159324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:33:38] local.INFO: GPS data processed {"connection_id":159324,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:33:38] local.INFO: Acknowledgment sent {"connection_id":159324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:34:02] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:02] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:02] local.INFO: IMEI packet received {"connection_id":159602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":159602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:34:06] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:34:06] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:34:06] local.INFO: IMEI packet received {"connection_id":159603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":159603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:34:07] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:07] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:07] local.INFO: IMEI packet received {"connection_id":159602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":159602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:34:08] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:34:08] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:34:08] local.INFO: Packet analysis {"connection_id":159602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:34:08] local.INFO: Extracted packet for processing {"connection_id":159602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:34:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":159602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:34:08] local.INFO: GPS data processed {"connection_id":159602,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:34:08] local.INFO: Acknowledgment sent {"connection_id":159602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:34:11] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:34:11] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:34:11] local.INFO: IMEI packet received {"connection_id":159603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":159603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:34:11] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:34:11] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:34:11] local.INFO: Packet analysis {"connection_id":159603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:34:11] local.INFO: Extracted packet for processing {"connection_id":159603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:34:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:34:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:34:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":159603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:34:11] local.INFO: GPS data processed {"connection_id":159603,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:34:11] local.INFO: Acknowledgment sent {"connection_id":159603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:34:12] local.INFO: TCP Data received {"connection_id":159602,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:34:12] local.INFO: Processing buffer {"connection_id":159602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d4f7e0012d9e4200055ace48000800012e..."} 
[2026-08-21 20:34:12] local.INFO: Packet analysis {"connection_id":159602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:34:12] local.INFO: Extracted packet for processing {"connection_id":159602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d4"} 
[2026-08-21 20:34:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554951936001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787324332000,"timestamp_ms":1787324332000,"timestamp_seconds":1787324332,"priority":1,"record_length":96,"hex_timestamp":"000001a024d4f7e0"} 
[2026-08-21 20:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:34:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554951936001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554951936001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:34:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554951936001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":159602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:34:12] local.INFO: GPS data processed {"connection_id":159602,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:34:12] local.INFO: Acknowledgment sent {"connection_id":159602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:34:16] local.INFO: TCP Data received {"connection_id":159603,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:34:16] local.INFO: Processing buffer {"connection_id":159603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:34:16] local.INFO: Packet analysis {"connection_id":159603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:34:16] local.INFO: Extracted packet for processing {"connection_id":159603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:34:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:34:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:34:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":159603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:34:16] local.INFO: GPS data processed {"connection_id":159603,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:34:16] local.INFO: Acknowledgment sent {"connection_id":159603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:34:56] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:56] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:34:56] local.INFO: IMEI packet received {"connection_id":160514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":160514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:35:01] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:35:01] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:35:01] local.INFO: IMEI packet received {"connection_id":159604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":159604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:35:02] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:35:02] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:35:02] local.INFO: IMEI packet received {"connection_id":160514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":160514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:35:03] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:35:03] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:35:03] local.INFO: Packet analysis {"connection_id":160514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:35:03] local.INFO: Extracted packet for processing {"connection_id":160514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:35:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":160514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:35:03] local.INFO: GPS data processed {"connection_id":160514,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:35:03] local.INFO: Acknowledgment sent {"connection_id":160514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:35:06] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:35:06] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:35:06] local.INFO: IMEI packet received {"connection_id":159604,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":159604,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:35:06] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:35:06] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:35:06] local.INFO: Packet analysis {"connection_id":159604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:35:06] local.INFO: Extracted packet for processing {"connection_id":159604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:35:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:35: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-08-21 20:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:35:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:35:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":159604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:35:06] local.INFO: GPS data processed {"connection_id":159604,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:35:06] local.INFO: Acknowledgment sent {"connection_id":159604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:35:34] local.INFO: TCP Data received {"connection_id":160514,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:35:34] local.INFO: Processing buffer {"connection_id":160514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:35:34] local.INFO: Packet analysis {"connection_id":160514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:35:34] local.INFO: Extracted packet for processing {"connection_id":160514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:35:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":160514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:35:34] local.INFO: GPS data processed {"connection_id":160514,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:35:34] local.INFO: Acknowledgment sent {"connection_id":160514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:35:40] local.INFO: TCP Data received {"connection_id":159604,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:35:40] local.INFO: Processing buffer {"connection_id":159604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:35:40] local.INFO: Packet analysis {"connection_id":159604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:35:40] local.INFO: Extracted packet for processing {"connection_id":159604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159604,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:35:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:35:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":159604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:35:40] local.INFO: GPS data processed {"connection_id":159604,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:35:40] local.INFO: Acknowledgment sent {"connection_id":159604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:35:57] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:35:57] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:35:57] local.INFO: IMEI packet received {"connection_id":160515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":160515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:36:01] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:36:01] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:36:01] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:36:02] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:36:02] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:36:02] local.INFO: IMEI packet received {"connection_id":160515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":160515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:36:03] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:36:03] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:36:03] local.INFO: Packet analysis {"connection_id":160515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:36:03] local.INFO: Extracted packet for processing {"connection_id":160515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:36:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:36: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-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:36:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":160515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:36:03] local.INFO: GPS data processed {"connection_id":160515,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:36:03] local.INFO: Acknowledgment sent {"connection_id":160515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:36:06] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:36:06] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:36:06] local.INFO: IMEI packet received {"connection_id":161915,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":161915,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:36:06] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:36:06] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d68e20012d196540071feff8004400112b..."} 
[2026-08-21 20:36:06] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:36:06] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d6"} 
[2026-08-21 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457554978560001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324436000,"timestamp_ms":1787324436000,"timestamp_seconds":1787324436,"priority":1,"record_length":96,"hex_timestamp":"000001a024d68e20"} 
[2026-08-21 20:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:36: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-08-21 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:36:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457554978560001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457554978560001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:36:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:36:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457554978560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:36:06] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:36:06] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:36:34] local.INFO: TCP Data received {"connection_id":160515,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:36:34] local.INFO: Processing buffer {"connection_id":160515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:36:34] local.INFO: Packet analysis {"connection_id":160515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:36:34] local.INFO: Extracted packet for processing {"connection_id":160515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:36:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:36:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:36:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":160515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:36:34] local.INFO: GPS data processed {"connection_id":160515,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:36:34] local.INFO: Acknowledgment sent {"connection_id":160515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:36:37] local.INFO: TCP Data received {"connection_id":161915,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:36:37] local.INFO: Processing buffer {"connection_id":161915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:36:37] local.INFO: Packet analysis {"connection_id":161915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:36:37] local.INFO: Extracted packet for processing {"connection_id":161915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161915,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:36:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:36:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":161915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:36:37] local.INFO: GPS data processed {"connection_id":161915,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:36:37] local.INFO: Acknowledgment sent {"connection_id":161915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:36:56] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:36:56] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:36:56] local.INFO: IMEI packet received {"connection_id":159325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":159325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:37:00] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:37:00] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:37:00] local.INFO: IMEI packet received {"connection_id":159605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":159605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:37:02] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:37:02] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:37:02] local.INFO: IMEI packet received {"connection_id":159325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":159325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:37:03] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:37:03] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:37:03] local.INFO: Packet analysis {"connection_id":159325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:37:03] local.INFO: Extracted packet for processing {"connection_id":159325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:37:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 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-08-21 20: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-08-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:37:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":159325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:37:03] local.INFO: GPS data processed {"connection_id":159325,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:37:03] local.INFO: Acknowledgment sent {"connection_id":159325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:37:06] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:37:06] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:37:06] local.INFO: IMEI packet received {"connection_id":159605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":159605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:37:07] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:37:07] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:37:07] local.INFO: Packet analysis {"connection_id":159605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:37:07] local.INFO: Extracted packet for processing {"connection_id":159605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:37:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":159605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:37:07] local.INFO: GPS data processed {"connection_id":159605,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:37:07] local.INFO: Acknowledgment sent {"connection_id":159605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:37:34] local.INFO: TCP Data received {"connection_id":159325,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:37:34] local.INFO: Processing buffer {"connection_id":159325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:37:34] local.INFO: Packet analysis {"connection_id":159325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:37:34] local.INFO: Extracted packet for processing {"connection_id":159325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:37:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:37:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":159325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:37:34] local.INFO: GPS data processed {"connection_id":159325,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:37:34] local.INFO: Acknowledgment sent {"connection_id":159325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:37:38] local.INFO: TCP Data received {"connection_id":159605,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:37:38] local.INFO: Processing buffer {"connection_id":159605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:37:38] local.INFO: Packet analysis {"connection_id":159605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:37:38] local.INFO: Extracted packet for processing {"connection_id":159605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:37:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:37:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:37:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":159605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:37:38] local.INFO: GPS data processed {"connection_id":159605,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:37:38] local.INFO: Acknowledgment sent {"connection_id":159605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:37:56] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:37:56] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:37:56] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:38:00] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:38:00] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:38:00] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:38:02] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:38:02] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:38:02] local.INFO: IMEI packet received {"connection_id":161916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":161916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:38:03] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:38:03] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:38:03] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:38:03] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:38:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:38:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:38:03] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:38:03] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:38:06] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:38:06] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:38:06] local.INFO: IMEI packet received {"connection_id":161917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":161917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:38:06] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:38:06] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:38:06] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:38:06] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:38:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:38:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:38:06] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:38:06] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:38:34] local.INFO: TCP Data received {"connection_id":161916,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:38:34] local.INFO: Processing buffer {"connection_id":161916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:38:34] local.INFO: Packet analysis {"connection_id":161916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:38:34] local.INFO: Extracted packet for processing {"connection_id":161916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:38:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":161916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:38:34] local.INFO: GPS data processed {"connection_id":161916,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:38:34] local.INFO: Acknowledgment sent {"connection_id":161916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:38:37] local.INFO: TCP Data received {"connection_id":161917,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:38:37] local.INFO: Processing buffer {"connection_id":161917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:38:37] local.INFO: Packet analysis {"connection_id":161917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:38:37] local.INFO: Extracted packet for processing {"connection_id":161917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:38:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:38:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":161917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:38:38] local.INFO: GPS data processed {"connection_id":161917,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:38:38] local.INFO: Acknowledgment sent {"connection_id":161917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:39:02] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:02] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:02] local.INFO: IMEI packet received {"connection_id":160516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":160516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:39:06] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:39:06] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:39:06] local.INFO: IMEI packet received {"connection_id":159326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":159326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:39:07] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:07] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:07] local.INFO: IMEI packet received {"connection_id":160516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":160516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:39:08] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:39:08] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:39:08] local.INFO: Packet analysis {"connection_id":160516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:39:08] local.INFO: Extracted packet for processing {"connection_id":160516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:39:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:39:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":160516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:39:08] local.INFO: GPS data processed {"connection_id":160516,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:39:08] local.INFO: Acknowledgment sent {"connection_id":160516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:39:11] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:39:11] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:39:11] local.INFO: IMEI packet received {"connection_id":159326,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":159326,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:39:11] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:39:11] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:39:11] local.INFO: Packet analysis {"connection_id":159326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:39:11] local.INFO: Extracted packet for processing {"connection_id":159326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:39:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:39:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":159326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:39:11] local.INFO: GPS data processed {"connection_id":159326,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:39:11] local.INFO: Acknowledgment sent {"connection_id":159326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:39:12] local.INFO: TCP Data received {"connection_id":160516,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:39:12] local.INFO: Processing buffer {"connection_id":160516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024d98fa8012d9e4200055ace48000800012d..."} 
[2026-08-21 20:39:12] local.INFO: Packet analysis {"connection_id":160516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:39:12] local.INFO: Extracted packet for processing {"connection_id":160516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024d9"} 
[2026-08-21 20:39:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555028992001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787324633000,"timestamp_ms":1787324633000,"timestamp_seconds":1787324633,"priority":1,"record_length":96,"hex_timestamp":"000001a024d98fa8"} 
[2026-08-21 20:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555028992001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555028992001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:39:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555028992001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":160516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:39:12] local.INFO: GPS data processed {"connection_id":160516,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:39:12] local.INFO: Acknowledgment sent {"connection_id":160516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:39:16] local.INFO: TCP Data received {"connection_id":159326,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159326,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:39:16] local.INFO: Processing buffer {"connection_id":159326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:39:16] local.INFO: Packet analysis {"connection_id":159326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:39:16] local.INFO: Extracted packet for processing {"connection_id":159326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159326,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:39:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:39:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":159326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:39:16] local.INFO: GPS data processed {"connection_id":159326,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:39:16] local.INFO: Acknowledgment sent {"connection_id":159326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:39:57] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:57] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:39:57] local.INFO: IMEI packet received {"connection_id":159606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":159606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:40:01] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:40:01] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:40:01] local.INFO: IMEI packet received {"connection_id":160517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":160517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:40:02] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:40:02] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:40:02] local.INFO: IMEI packet received {"connection_id":159606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":159606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:40:03] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:40:03] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:40:03] local.INFO: Packet analysis {"connection_id":159606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:40:03] local.INFO: Extracted packet for processing {"connection_id":159606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:40:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:40:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":159606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:40:03] local.INFO: GPS data processed {"connection_id":159606,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:40:03] local.INFO: Acknowledgment sent {"connection_id":159606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:40:06] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:40:06] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:40:06] local.INFO: IMEI packet received {"connection_id":160517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":160517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:40:06] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:40:06] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:40:06] local.INFO: Packet analysis {"connection_id":160517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:40:06] local.INFO: Extracted packet for processing {"connection_id":160517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:40:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:40:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":160517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:40:07] local.INFO: GPS data processed {"connection_id":160517,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:40:07] local.INFO: Acknowledgment sent {"connection_id":160517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:40:34] local.INFO: TCP Data received {"connection_id":159606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:40:34] local.INFO: Processing buffer {"connection_id":159606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:40:34] local.INFO: Packet analysis {"connection_id":159606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:40:34] local.INFO: Extracted packet for processing {"connection_id":159606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:40:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:40:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":159606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:40:34] local.INFO: GPS data processed {"connection_id":159606,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:40:34] local.INFO: Acknowledgment sent {"connection_id":159606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:40:38] local.INFO: TCP Data received {"connection_id":160517,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:40:38] local.INFO: Processing buffer {"connection_id":160517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:40:38] local.INFO: Packet analysis {"connection_id":160517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:40:38] local.INFO: Extracted packet for processing {"connection_id":160517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:40:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:40:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:40:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:40:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:40:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:40:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:40:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:40:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:40:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:40:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:40:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:40:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:40:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:40:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:40:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:40:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:40:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:40:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:40:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:40:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:40:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:40:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:40:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:40:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:40:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:40:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:40:38] local.INFO: DEBUG: GPS processor result {"connection_id":160517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:40:38] local.INFO: GPS data processed {"connection_id":160517,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:40:38] local.INFO: Acknowledgment sent {"connection_id":160517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:40:56] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:40:56] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:40:56] local.INFO: IMEI packet received {"connection_id":159607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":159607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:40:58] local.INFO: TCP Data received {"connection_id":159327,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:40:58] local.INFO: Processing buffer {"connection_id":159327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:40:58] local.INFO: IMEI packet received {"connection_id":159327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":159327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:41:01] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:41:01] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:41:01] local.INFO: IMEI packet received {"connection_id":159608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":159608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:41:02] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:41:02] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:41:02] local.INFO: IMEI packet received {"connection_id":159607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":159607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:41:03] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:41:03] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:41:03] local.INFO: Packet analysis {"connection_id":159607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:41:03] local.INFO: Extracted packet for processing {"connection_id":159607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:41:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:41:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:41:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":159607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:41:03] local.INFO: GPS data processed {"connection_id":159607,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:41:03] local.INFO: Acknowledgment sent {"connection_id":159607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:41:06] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:41:06] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:41:06] local.INFO: IMEI packet received {"connection_id":159608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":159608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:41:06] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:41:06] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024db25e8012d196540071feff8004400112b..."} 
[2026-08-21 20:41:06] local.INFO: Packet analysis {"connection_id":159608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:41:06] local.INFO: Extracted packet for processing {"connection_id":159608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024db"} 
[2026-08-21 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555055616001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787324737000,"timestamp_ms":1787324737000,"timestamp_seconds":1787324737,"priority":1,"record_length":96,"hex_timestamp":"000001a024db25e8"} 
[2026-08-21 20:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555055616001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555055616001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555055616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":159608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:41:06] local.INFO: GPS data processed {"connection_id":159608,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:41:06] local.INFO: Acknowledgment sent {"connection_id":159608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:41:34] local.INFO: TCP Data received {"connection_id":159607,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:41:34] local.INFO: Processing buffer {"connection_id":159607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:41:34] local.INFO: Packet analysis {"connection_id":159607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:41:34] local.INFO: Extracted packet for processing {"connection_id":159607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:41:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:41:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":159607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:41:34] local.INFO: GPS data processed {"connection_id":159607,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:41:34] local.INFO: Acknowledgment sent {"connection_id":159607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:41:37] local.INFO: TCP Data received {"connection_id":159608,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:41:37] local.INFO: Processing buffer {"connection_id":159608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:41:37] local.INFO: Packet analysis {"connection_id":159608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:41:37] local.INFO: Extracted packet for processing {"connection_id":159608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:41:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:41:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:41:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":159608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:41:37] local.INFO: GPS data processed {"connection_id":159608,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:41:37] local.INFO: Acknowledgment sent {"connection_id":159608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:41:56] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:41:56] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:41:56] local.INFO: IMEI packet received {"connection_id":159328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":159328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:42:00] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:42:00] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:42:00] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:42:02] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:42:02] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:42:02] local.INFO: IMEI packet received {"connection_id":159328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":159328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:42:03] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:42:03] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:42:03] local.INFO: Packet analysis {"connection_id":159328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:42:03] local.INFO: Extracted packet for processing {"connection_id":159328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:42: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-08-21 20:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:42:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":159328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:42:03] local.INFO: GPS data processed {"connection_id":159328,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:42:03] local.INFO: Acknowledgment sent {"connection_id":159328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:42:06] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:42:06] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:42:06] local.INFO: IMEI packet received {"connection_id":161918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":161918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:42:06] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:42:06] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:42:06] local.INFO: Packet analysis {"connection_id":161918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:42:06] local.INFO: Extracted packet for processing {"connection_id":161918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:42:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:42:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":161918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:42:07] local.INFO: GPS data processed {"connection_id":161918,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:42:07] local.INFO: Acknowledgment sent {"connection_id":161918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:42:34] local.INFO: TCP Data received {"connection_id":159328,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:42:34] local.INFO: Processing buffer {"connection_id":159328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:42:34] local.INFO: Packet analysis {"connection_id":159328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:42:34] local.INFO: Extracted packet for processing {"connection_id":159328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:42:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:42:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":159328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:42:34] local.INFO: GPS data processed {"connection_id":159328,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:42:34] local.INFO: Acknowledgment sent {"connection_id":159328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:42:37] local.INFO: TCP Data received {"connection_id":161918,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:42:37] local.INFO: Processing buffer {"connection_id":161918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:42:37] local.INFO: Packet analysis {"connection_id":161918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:42:37] local.INFO: Extracted packet for processing {"connection_id":161918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:42:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:42:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":161918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:42:38] local.INFO: GPS data processed {"connection_id":161918,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:42:38] local.INFO: Acknowledgment sent {"connection_id":161918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:42:56] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:42:56] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:42:56] local.INFO: IMEI packet received {"connection_id":160518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":160518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:43:00] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:43:00] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:43:00] local.INFO: IMEI packet received {"connection_id":159609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":159609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:43:01] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:43:01] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:43:01] local.INFO: IMEI packet received {"connection_id":160518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":160518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:43:02] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:43:02] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:43:02] local.INFO: Packet analysis {"connection_id":160518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:43:02] local.INFO: Extracted packet for processing {"connection_id":160518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:43:02] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:43:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:43:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":160518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:43:02] local.INFO: GPS data processed {"connection_id":160518,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:43:02] local.INFO: Acknowledgment sent {"connection_id":160518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:43:06] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:43:06] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:43:06] local.INFO: IMEI packet received {"connection_id":159609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":159609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:43:06] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:43:06] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:43:06] local.INFO: Packet analysis {"connection_id":159609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:43:06] local.INFO: Extracted packet for processing {"connection_id":159609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:43:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:43:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:43:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":159609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:43:06] local.INFO: GPS data processed {"connection_id":159609,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:43:06] local.INFO: Acknowledgment sent {"connection_id":159609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:43:34] local.INFO: TCP Data received {"connection_id":160518,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160518,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:43:34] local.INFO: Processing buffer {"connection_id":160518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:43:34] local.INFO: Packet analysis {"connection_id":160518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:43:34] local.INFO: Extracted packet for processing {"connection_id":160518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:43:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":160518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:43:34] local.INFO: GPS data processed {"connection_id":160518,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:43:34] local.INFO: Acknowledgment sent {"connection_id":160518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:43:37] local.INFO: TCP Data received {"connection_id":159609,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:43:38] local.INFO: Processing buffer {"connection_id":159609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:43:38] local.INFO: Packet analysis {"connection_id":159609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:43:38] local.INFO: Extracted packet for processing {"connection_id":159609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:43:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:43:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:43:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":159609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:43:38] local.INFO: GPS data processed {"connection_id":159609,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:43:38] local.INFO: Acknowledgment sent {"connection_id":159609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:44:02] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:02] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:02] local.INFO: IMEI packet received {"connection_id":159329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":159329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:44:06] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:44:06] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:44:06] local.INFO: IMEI packet received {"connection_id":160519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":160519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:44:07] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:07] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:07] local.INFO: IMEI packet received {"connection_id":159329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":159329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:44:08] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:44:08] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:44:08] local.INFO: Packet analysis {"connection_id":159329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:44:08] local.INFO: Extracted packet for processing {"connection_id":159329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:44:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":159329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:44:08] local.INFO: GPS data processed {"connection_id":159329,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:44:08] local.INFO: Acknowledgment sent {"connection_id":159329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:44:11] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:44:11] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:44:11] local.INFO: IMEI packet received {"connection_id":160519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":160519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:44:11] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:44:11] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:44:11] local.INFO: Packet analysis {"connection_id":160519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:44:11] local.INFO: Extracted packet for processing {"connection_id":160519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:44:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:44:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:44:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":160519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:44:11] local.INFO: GPS data processed {"connection_id":160519,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:44:11] local.INFO: Acknowledgment sent {"connection_id":160519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:44:12] local.INFO: TCP Data received {"connection_id":159329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:44:12] local.INFO: Processing buffer {"connection_id":159329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024de2770012d9e4200055ace48000800012b..."} 
[2026-08-21 20:44:12] local.INFO: Packet analysis {"connection_id":159329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:44:12] local.INFO: Extracted packet for processing {"connection_id":159329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024de"} 
[2026-08-21 20:44:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555106048001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787324934000,"timestamp_ms":1787324934000,"timestamp_seconds":1787324934,"priority":1,"record_length":96,"hex_timestamp":"000001a024de2770"} 
[2026-08-21 20:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555106048001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555106048001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:44:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555106048001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":159329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:44:12] local.INFO: GPS data processed {"connection_id":159329,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:44:12] local.INFO: Acknowledgment sent {"connection_id":159329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:44:16] local.INFO: TCP Data received {"connection_id":160519,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:44:16] local.INFO: Processing buffer {"connection_id":160519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:44:16] local.INFO: Packet analysis {"connection_id":160519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:44:16] local.INFO: Extracted packet for processing {"connection_id":160519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:44:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:44:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:44:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:44:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:44:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:44:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":160519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:44:16] local.INFO: GPS data processed {"connection_id":160519,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:44:16] local.INFO: Acknowledgment sent {"connection_id":160519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:44:57] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:57] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:44:57] local.INFO: IMEI packet received {"connection_id":159610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":159610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:45:01] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:45:01] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:45:01] local.INFO: IMEI packet received {"connection_id":161919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":161919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:45:02] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:45:02] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:45:02] local.INFO: IMEI packet received {"connection_id":159610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":159610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:45:03] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:45:03] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:45:03] local.INFO: Packet analysis {"connection_id":159610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:45:03] local.INFO: Extracted packet for processing {"connection_id":159610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:45:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:45: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-08-21 20:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:45:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":159610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:45:03] local.INFO: GPS data processed {"connection_id":159610,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:45:03] local.INFO: Acknowledgment sent {"connection_id":159610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:45:06] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:45:06] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:45:06] local.INFO: IMEI packet received {"connection_id":161919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":161919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:45:06] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:45:06] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:45:06] local.INFO: Packet analysis {"connection_id":161919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:45:06] local.INFO: Extracted packet for processing {"connection_id":161919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:45:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:45:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":161919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:45:06] local.INFO: GPS data processed {"connection_id":161919,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:45:06] local.INFO: Acknowledgment sent {"connection_id":161919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:45:34] local.INFO: TCP Data received {"connection_id":159610,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:45:34] local.INFO: Processing buffer {"connection_id":159610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:45:34] local.INFO: Packet analysis {"connection_id":159610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:45:34] local.INFO: Extracted packet for processing {"connection_id":159610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:45:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:45:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":159610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:45:34] local.INFO: GPS data processed {"connection_id":159610,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:45:34] local.INFO: Acknowledgment sent {"connection_id":159610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:45:37] local.INFO: TCP Data received {"connection_id":161919,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:45:37] local.INFO: Processing buffer {"connection_id":161919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:45:37] local.INFO: Packet analysis {"connection_id":161919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:45:37] local.INFO: Extracted packet for processing {"connection_id":161919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:45:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:45:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":161919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:45:37] local.INFO: GPS data processed {"connection_id":161919,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:45:37] local.INFO: Acknowledgment sent {"connection_id":161919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:45:48] local.INFO: TCP Data received {"connection_id":159611,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159611,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:45:48] local.INFO: Processing buffer {"connection_id":159611,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-08-21 20:45:48] local.INFO: IMEI packet received {"connection_id":159611,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-08-21 20:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":159611,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:45:57] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:45:57] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:45:57] local.INFO: IMEI packet received {"connection_id":159330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":159330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:46:01] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:46:01] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:46:01] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:46:02] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:46:02] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:46:02] local.INFO: IMEI packet received {"connection_id":159330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":159330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:46:03] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:46:03] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:46:03] local.INFO: Packet analysis {"connection_id":159330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:46:03] local.INFO: Extracted packet for processing {"connection_id":159330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:46:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:46: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-08-21 20:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:46:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":159330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:46:03] local.INFO: GPS data processed {"connection_id":159330,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:46:03] local.INFO: Acknowledgment sent {"connection_id":159330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:46:06] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:46:06] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:46:06] local.INFO: IMEI packet received {"connection_id":161920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":161920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:46:06] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:46:06] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024dfbdb0012d196540071feff8004400112a..."} 
[2026-08-21 20:46:06] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:46:06] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024df"} 
[2026-08-21 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555132672001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325038000,"timestamp_ms":1787325038000,"timestamp_seconds":1787325038,"priority":1,"record_length":96,"hex_timestamp":"000001a024dfbdb0"} 
[2026-08-21 20:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555132672001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555132672001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555132672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:46:06] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:46:06] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:46:34] local.INFO: TCP Data received {"connection_id":159330,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:46:34] local.INFO: Processing buffer {"connection_id":159330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:46:34] local.INFO: Packet analysis {"connection_id":159330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:46:34] local.INFO: Extracted packet for processing {"connection_id":159330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:46:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:46:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":159330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:46:34] local.INFO: GPS data processed {"connection_id":159330,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:46:34] local.INFO: Acknowledgment sent {"connection_id":159330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:46:37] local.INFO: TCP Data received {"connection_id":161920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:46:37] local.INFO: Processing buffer {"connection_id":161920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:46:37] local.INFO: Packet analysis {"connection_id":161920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:46:37] local.INFO: Extracted packet for processing {"connection_id":161920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:46:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:46:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:46:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":161920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:46:37] local.INFO: GPS data processed {"connection_id":161920,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:46:37] local.INFO: Acknowledgment sent {"connection_id":161920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:46:56] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:46:56] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:46:56] local.INFO: IMEI packet received {"connection_id":160520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":160520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:47:00] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:47:00] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:47:00] local.INFO: IMEI packet received {"connection_id":160521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":160521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:47:02] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:47:02] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:47:02] local.INFO: IMEI packet received {"connection_id":160520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":160520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:47:03] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:47:03] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:47:03] local.INFO: Packet analysis {"connection_id":160520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:47:03] local.INFO: Extracted packet for processing {"connection_id":160520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:47:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:47:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":160520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:47:03] local.INFO: GPS data processed {"connection_id":160520,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:47:03] local.INFO: Acknowledgment sent {"connection_id":160520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:47:06] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:47:06] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:47:06] local.INFO: IMEI packet received {"connection_id":160521,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":160521,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:47:06] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:47:06] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:47:06] local.INFO: Packet analysis {"connection_id":160521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:47:06] local.INFO: Extracted packet for processing {"connection_id":160521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":160521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:47:06] local.INFO: GPS data processed {"connection_id":160521,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:47:06] local.INFO: Acknowledgment sent {"connection_id":160521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:47:34] local.INFO: TCP Data received {"connection_id":160520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:47:34] local.INFO: Processing buffer {"connection_id":160520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:47:34] local.INFO: Packet analysis {"connection_id":160520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:47:34] local.INFO: Extracted packet for processing {"connection_id":160520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:47:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:47:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":160520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:47:34] local.INFO: GPS data processed {"connection_id":160520,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:47:34] local.INFO: Acknowledgment sent {"connection_id":160520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:47:37] local.INFO: TCP Data received {"connection_id":160521,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:47:37] local.INFO: Processing buffer {"connection_id":160521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:47:37] local.INFO: Packet analysis {"connection_id":160521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:47:37] local.INFO: Extracted packet for processing {"connection_id":160521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160521,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:47:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:47:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":160521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:47:38] local.INFO: GPS data processed {"connection_id":160521,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:47:38] local.INFO: Acknowledgment sent {"connection_id":160521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:47:56] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:47:56] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:47:56] local.INFO: IMEI packet received {"connection_id":159331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":159331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:48:00] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:48:00] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:48:00] local.INFO: IMEI packet received {"connection_id":159612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":159612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:48:02] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:48:02] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:48:02] local.INFO: IMEI packet received {"connection_id":159331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":159331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:48:03] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:48:03] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:48:03] local.INFO: Packet analysis {"connection_id":159331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:48:03] local.INFO: Extracted packet for processing {"connection_id":159331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:48:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:48:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":159331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:48:03] local.INFO: GPS data processed {"connection_id":159331,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:48:03] local.INFO: Acknowledgment sent {"connection_id":159331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:48:06] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:48:06] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:48:06] local.INFO: IMEI packet received {"connection_id":159612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":159612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:48:06] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:48:06] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:48:06] local.INFO: Packet analysis {"connection_id":159612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:48:06] local.INFO: Extracted packet for processing {"connection_id":159612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:48:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:48:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":159612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:48:06] local.INFO: GPS data processed {"connection_id":159612,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:48:06] local.INFO: Acknowledgment sent {"connection_id":159612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:48:34] local.INFO: TCP Data received {"connection_id":159331,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:48:34] local.INFO: Processing buffer {"connection_id":159331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:48:34] local.INFO: Packet analysis {"connection_id":159331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:48:34] local.INFO: Extracted packet for processing {"connection_id":159331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:48:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":159331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:48:34] local.INFO: GPS data processed {"connection_id":159331,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:48:34] local.INFO: Acknowledgment sent {"connection_id":159331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:48:37] local.INFO: TCP Data received {"connection_id":159612,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:48:37] local.INFO: Processing buffer {"connection_id":159612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:48:37] local.INFO: Packet analysis {"connection_id":159612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:48:37] local.INFO: Extracted packet for processing {"connection_id":159612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:48:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:48:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:48:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":159612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:48:37] local.INFO: GPS data processed {"connection_id":159612,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:48:37] local.INFO: Acknowledgment sent {"connection_id":159612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:49:02] local.INFO: TCP Data received {"connection_id":159613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:02] local.INFO: Processing buffer {"connection_id":159613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:02] local.INFO: IMEI packet received {"connection_id":159613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":159613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:49:06] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:49:06] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:49:06] local.INFO: IMEI packet received {"connection_id":159614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":159614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:49:07] local.INFO: TCP Data received {"connection_id":159613,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:07] local.INFO: Processing buffer {"connection_id":159613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:07] local.INFO: IMEI packet received {"connection_id":159613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":159613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:49:08] local.INFO: TCP Data received {"connection_id":159613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:49:08] local.INFO: Processing buffer {"connection_id":159613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:49:08] local.INFO: Packet analysis {"connection_id":159613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:49:08] local.INFO: Extracted packet for processing {"connection_id":159613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:49:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":159613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:49:08] local.INFO: GPS data processed {"connection_id":159613,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:49:08] local.INFO: Acknowledgment sent {"connection_id":159613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:49:11] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:49:11] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:49:11] local.INFO: IMEI packet received {"connection_id":159614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":159614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:49:11] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:49:11] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:49:11] local.INFO: Packet analysis {"connection_id":159614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:49:11] local.INFO: Extracted packet for processing {"connection_id":159614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:49:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:49:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:49:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":159614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:49:11] local.INFO: GPS data processed {"connection_id":159614,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:49:11] local.INFO: Acknowledgment sent {"connection_id":159614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:49:12] local.INFO: TCP Data received {"connection_id":159613,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159613,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:49:12] local.INFO: Processing buffer {"connection_id":159613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e2bf38012d9e4200055ace480008000129..."} 
[2026-08-21 20:49:12] local.INFO: Packet analysis {"connection_id":159613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:49:12] local.INFO: Extracted packet for processing {"connection_id":159613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e2"} 
[2026-08-21 20:49:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":41,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555183104001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787325235000,"timestamp_ms":1787325235000,"timestamp_seconds":1787325235,"priority":1,"record_length":96,"hex_timestamp":"000001a024e2bf38"} 
[2026-08-21 20:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555183104001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555183104001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:49:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555183104001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":159613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:49:12] local.INFO: GPS data processed {"connection_id":159613,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:49:12] local.INFO: Acknowledgment sent {"connection_id":159613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:49:16] local.INFO: TCP Data received {"connection_id":159614,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:49:16] local.INFO: Processing buffer {"connection_id":159614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:49:16] local.INFO: Packet analysis {"connection_id":159614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:49:16] local.INFO: Extracted packet for processing {"connection_id":159614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:49:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:49:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":159614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:49:16] local.INFO: GPS data processed {"connection_id":159614,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:49:16] local.INFO: Acknowledgment sent {"connection_id":159614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:49:56] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:56] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:49:56] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:50:01] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:50:01] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:50:01] local.INFO: IMEI packet received {"connection_id":159615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":159615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:50:02] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:50:02] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:50:02] local.INFO: IMEI packet received {"connection_id":161921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":161921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:50:03] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:50:03] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:50:03] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:50:03] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:50:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:50: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-08-21 20:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:50:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:50:03] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:50:03] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:50:06] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:50:06] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:50:06] local.INFO: IMEI packet received {"connection_id":159615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":159615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:50:06] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:50:06] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:50:06] local.INFO: Packet analysis {"connection_id":159615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:50:06] local.INFO: Extracted packet for processing {"connection_id":159615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:50:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:50:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":159615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:50:06] local.INFO: GPS data processed {"connection_id":159615,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:50:06] local.INFO: Acknowledgment sent {"connection_id":159615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:50:34] local.INFO: TCP Data received {"connection_id":161921,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:50:34] local.INFO: Processing buffer {"connection_id":161921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:50:34] local.INFO: Packet analysis {"connection_id":161921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:50:34] local.INFO: Extracted packet for processing {"connection_id":161921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:50:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:50:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":161921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:50:34] local.INFO: GPS data processed {"connection_id":161921,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:50:34] local.INFO: Acknowledgment sent {"connection_id":161921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:50:37] local.INFO: TCP Data received {"connection_id":159615,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:50:37] local.INFO: Processing buffer {"connection_id":159615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:50:37] local.INFO: Packet analysis {"connection_id":159615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:50:37] local.INFO: Extracted packet for processing {"connection_id":159615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:50:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:50:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":159615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:50:37] local.INFO: GPS data processed {"connection_id":159615,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:50:37] local.INFO: Acknowledgment sent {"connection_id":159615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:50:56] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:50:56] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:50:56] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:51:01] local.INFO: TCP Data received {"connection_id":159332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:51:01] local.INFO: Processing buffer {"connection_id":159332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:51:01] local.INFO: IMEI packet received {"connection_id":159332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":159332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:51:01] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:51:01] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:51:01] local.INFO: IMEI packet received {"connection_id":161922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":161922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:51:02] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:51:02] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:51:02] local.INFO: Packet analysis {"connection_id":161922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:51:02] local.INFO: Extracted packet for processing {"connection_id":161922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 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-08-21 20:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:51:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":161922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:51:02] local.INFO: GPS data processed {"connection_id":161922,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:51:02] local.INFO: Acknowledgment sent {"connection_id":161922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:51:06] local.INFO: TCP Data received {"connection_id":159332,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159332,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:51:06] local.INFO: Processing buffer {"connection_id":159332,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:51:06] local.INFO: IMEI packet received {"connection_id":159332,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":159332,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:51:06] local.INFO: TCP Data received {"connection_id":159332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:51:06] local.INFO: Processing buffer {"connection_id":159332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e45578012d196540071feff80044001128..."} 
[2026-08-21 20:51:06] local.INFO: Packet analysis {"connection_id":159332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:51:06] local.INFO: Extracted packet for processing {"connection_id":159332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e4"} 
[2026-08-21 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555209728001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325339000,"timestamp_ms":1787325339000,"timestamp_seconds":1787325339,"priority":1,"record_length":96,"hex_timestamp":"000001a024e45578"} 
[2026-08-21 20:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555209728001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555209728001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555209728001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":159332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:51:07] local.INFO: GPS data processed {"connection_id":159332,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:51:07] local.INFO: Acknowledgment sent {"connection_id":159332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:51:33] local.INFO: TCP Data received {"connection_id":161922,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:51:33] local.INFO: Processing buffer {"connection_id":161922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:51:33] local.INFO: Packet analysis {"connection_id":161922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:51:33] local.INFO: Extracted packet for processing {"connection_id":161922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:51:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":161922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:51:33] local.INFO: GPS data processed {"connection_id":161922,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:51:33] local.INFO: Acknowledgment sent {"connection_id":161922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:51:37] local.INFO: TCP Data received {"connection_id":159332,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:51:37] local.INFO: Processing buffer {"connection_id":159332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:51:37] local.INFO: Packet analysis {"connection_id":159332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:51:37] local.INFO: Extracted packet for processing {"connection_id":159332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159332,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:51:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:51:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":159332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:51:37] local.INFO: GPS data processed {"connection_id":159332,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:51:37] local.INFO: Acknowledgment sent {"connection_id":159332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:51:56] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:51:56] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:51:56] local.INFO: IMEI packet received {"connection_id":160522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":160522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:52:00] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:52:00] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:52:00] local.INFO: IMEI packet received {"connection_id":159616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":159616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:52:02] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:52:02] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:52:02] local.INFO: IMEI packet received {"connection_id":160522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":160522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:52:03] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:52:03] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:52:03] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:52:03] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:52:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:52: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-08-21 20:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:52:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:52:03] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:52:03] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:52:06] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:52:06] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:52:06] local.INFO: IMEI packet received {"connection_id":159616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":159616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:52:06] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:52:06] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:52:06] local.INFO: Packet analysis {"connection_id":159616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:52:06] local.INFO: Extracted packet for processing {"connection_id":159616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:52:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:52:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":159616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:52:06] local.INFO: GPS data processed {"connection_id":159616,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:52:06] local.INFO: Acknowledgment sent {"connection_id":159616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:52:34] local.INFO: TCP Data received {"connection_id":160522,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:52:34] local.INFO: Processing buffer {"connection_id":160522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:52:34] local.INFO: Packet analysis {"connection_id":160522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:52:34] local.INFO: Extracted packet for processing {"connection_id":160522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:52:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:52:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:52:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":160522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:52:34] local.INFO: GPS data processed {"connection_id":160522,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:52:34] local.INFO: Acknowledgment sent {"connection_id":160522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:52:37] local.INFO: TCP Data received {"connection_id":159616,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:52:37] local.INFO: Processing buffer {"connection_id":159616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:52:37] local.INFO: Packet analysis {"connection_id":159616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:52:37] local.INFO: Extracted packet for processing {"connection_id":159616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:52:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:52:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:52:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:52:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":159616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:52:38] local.INFO: GPS data processed {"connection_id":159616,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:52:38] local.INFO: Acknowledgment sent {"connection_id":159616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:53:02] local.INFO: TCP Data received {"connection_id":159617,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:53:02] local.INFO: Processing buffer {"connection_id":159617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:53:02] local.INFO: IMEI packet received {"connection_id":159617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":159617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:53:03] local.INFO: TCP Data received {"connection_id":159617,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:53:03] local.INFO: Processing buffer {"connection_id":159617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:53:03] local.INFO: Packet analysis {"connection_id":159617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:53:03] local.INFO: Extracted packet for processing {"connection_id":159617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:53:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:53:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":159617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:53:03] local.INFO: GPS data processed {"connection_id":159617,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:53:03] local.INFO: Acknowledgment sent {"connection_id":159617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:53:06] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:53:06] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:53:06] local.INFO: IMEI packet received {"connection_id":159333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":159333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:53:11] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:53:11] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:53:11] local.INFO: IMEI packet received {"connection_id":159333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":159333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:53:11] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:53:11] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:53:11] local.INFO: Packet analysis {"connection_id":159333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:53:11] local.INFO: Extracted packet for processing {"connection_id":159333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:53:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":159333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:53:11] local.INFO: GPS data processed {"connection_id":159333,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:53:11] local.INFO: Acknowledgment sent {"connection_id":159333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:53:16] local.INFO: TCP Data received {"connection_id":159333,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:53:16] local.INFO: Processing buffer {"connection_id":159333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:53:16] local.INFO: Packet analysis {"connection_id":159333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:53:16] local.INFO: Extracted packet for processing {"connection_id":159333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:53:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:53:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:53:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:53:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":159333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:53:16] local.INFO: GPS data processed {"connection_id":159333,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:53:16] local.INFO: Acknowledgment sent {"connection_id":159333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:53:34] local.INFO: TCP Data received {"connection_id":159617,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:53:34] local.INFO: Processing buffer {"connection_id":159617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:53:34] local.INFO: Packet analysis {"connection_id":159617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:53:34] local.INFO: Extracted packet for processing {"connection_id":159617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:53:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:53:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":159617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:53:34] local.INFO: GPS data processed {"connection_id":159617,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:53:34] local.INFO: Acknowledgment sent {"connection_id":159617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:53:57] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:53:57] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:53:57] local.INFO: IMEI packet received {"connection_id":161923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":161923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:54:01] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:54:01] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:54:01] local.INFO: IMEI packet received {"connection_id":160523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":160523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:54:02] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:54:02] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:54:02] local.INFO: IMEI packet received {"connection_id":161923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":161923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:54:03] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:54:03] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:54:03] local.INFO: Packet analysis {"connection_id":161923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:54:03] local.INFO: Extracted packet for processing {"connection_id":161923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:54:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 20:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:54:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":161923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:54:03] local.INFO: GPS data processed {"connection_id":161923,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:54:03] local.INFO: Acknowledgment sent {"connection_id":161923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:54:06] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:54:06] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:54:06] local.INFO: IMEI packet received {"connection_id":160523,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":160523,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:54:06] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:54:06] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:54:06] local.INFO: Packet analysis {"connection_id":160523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:54:06] local.INFO: Extracted packet for processing {"connection_id":160523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:54:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:54:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":160523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:54:06] local.INFO: GPS data processed {"connection_id":160523,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:54:06] local.INFO: Acknowledgment sent {"connection_id":160523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:54:07] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:54:07] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e75700012d9e4200055ace48000800012c..."} 
[2026-08-21 20:54:07] local.INFO: Packet analysis {"connection_id":161923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:54:07] local.INFO: Extracted packet for processing {"connection_id":161923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e7"} 
[2026-08-21 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555260160001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787325536000,"timestamp_ms":1787325536000,"timestamp_seconds":1787325536,"priority":1,"record_length":96,"hex_timestamp":"000001a024e75700"} 
[2026-08-21 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-08-21 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555260160001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555260160001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:54:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555260160001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":161923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:54:07] local.INFO: GPS data processed {"connection_id":161923,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:54:07] local.INFO: Acknowledgment sent {"connection_id":161923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:54:37] local.INFO: TCP Data received {"connection_id":160523,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:54:37] local.INFO: Processing buffer {"connection_id":160523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:54:37] local.INFO: Packet analysis {"connection_id":160523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:54:37] local.INFO: Extracted packet for processing {"connection_id":160523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160523,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:54:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:54:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":160523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:54:38] local.INFO: GPS data processed {"connection_id":160523,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:54:38] local.INFO: Acknowledgment sent {"connection_id":160523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:54:38] local.INFO: TCP Data received {"connection_id":161923,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:54:38] local.INFO: Processing buffer {"connection_id":161923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:54:38] local.INFO: Packet analysis {"connection_id":161923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:54:38] local.INFO: Extracted packet for processing {"connection_id":161923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:54:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":161923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:54:38] local.INFO: GPS data processed {"connection_id":161923,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:54:38] local.INFO: Acknowledgment sent {"connection_id":161923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:54:57] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:54:57] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:54:57] local.INFO: IMEI packet received {"connection_id":160524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":160524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:55:01] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:55:01] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:55:01] local.INFO: IMEI packet received {"connection_id":160525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":160525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:55:02] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:55:02] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:55:02] local.INFO: IMEI packet received {"connection_id":160524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":160524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:55:03] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:55:03] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:55:03] local.INFO: Packet analysis {"connection_id":160524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:55:03] local.INFO: Extracted packet for processing {"connection_id":160524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:55:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:55:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":160524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:55:03] local.INFO: GPS data processed {"connection_id":160524,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:55:03] local.INFO: Acknowledgment sent {"connection_id":160524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:55:06] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:55:06] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:55:06] local.INFO: IMEI packet received {"connection_id":160525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":160525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:55:07] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:55:07] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:55:07] local.INFO: Packet analysis {"connection_id":160525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:55:07] local.INFO: Extracted packet for processing {"connection_id":160525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 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-08-21 20:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":160525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:55:07] local.INFO: GPS data processed {"connection_id":160525,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:55:07] local.INFO: Acknowledgment sent {"connection_id":160525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:55:34] local.INFO: TCP Data received {"connection_id":160524,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:55:34] local.INFO: Processing buffer {"connection_id":160524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:55:34] local.INFO: Packet analysis {"connection_id":160524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:55:34] local.INFO: Extracted packet for processing {"connection_id":160524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:55:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:55:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":160524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:55:34] local.INFO: GPS data processed {"connection_id":160524,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:55:34] local.INFO: Acknowledgment sent {"connection_id":160524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:55:38] local.INFO: TCP Data received {"connection_id":160525,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:55:38] local.INFO: Processing buffer {"connection_id":160525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:55:38] local.INFO: Packet analysis {"connection_id":160525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:55:38] local.INFO: Extracted packet for processing {"connection_id":160525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:55:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:55:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:55:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":160525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:55:38] local.INFO: GPS data processed {"connection_id":160525,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:55:38] local.INFO: Acknowledgment sent {"connection_id":160525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:55:56] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:55:56] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:55:56] local.INFO: IMEI packet received {"connection_id":160526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":160526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:56:01] local.INFO: TCP Data received {"connection_id":159334,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:56:01] local.INFO: Processing buffer {"connection_id":159334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:56:01] local.INFO: IMEI packet received {"connection_id":159334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":159334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:56:02] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:56:02] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:56:02] local.INFO: IMEI packet received {"connection_id":160526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":160526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:56:03] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:56:03] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:56:03] local.INFO: Packet analysis {"connection_id":160526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:56:03] local.INFO: Extracted packet for processing {"connection_id":160526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:56:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":160526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:56:03] local.INFO: GPS data processed {"connection_id":160526,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:56:03] local.INFO: Acknowledgment sent {"connection_id":160526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:56:06] local.INFO: TCP Data received {"connection_id":159334,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159334,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:56:06] local.INFO: Processing buffer {"connection_id":159334,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:56:06] local.INFO: IMEI packet received {"connection_id":159334,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":159334,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:56:06] local.INFO: TCP Data received {"connection_id":159334,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:56:06] local.INFO: Processing buffer {"connection_id":159334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024e8ed40012d196540071feff8004400112b..."} 
[2026-08-21 20:56:06] local.INFO: Packet analysis {"connection_id":159334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:56:06] local.INFO: Extracted packet for processing {"connection_id":159334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024e8"} 
[2026-08-21 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":43,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555286784001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325640000,"timestamp_ms":1787325640000,"timestamp_seconds":1787325640,"priority":1,"record_length":96,"hex_timestamp":"000001a024e8ed40"} 
[2026-08-21 20:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 20:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555286784001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555286784001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:56:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:56:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555286784001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":159334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:56:06] local.INFO: GPS data processed {"connection_id":159334,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:56:06] local.INFO: Acknowledgment sent {"connection_id":159334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:56:34] local.INFO: TCP Data received {"connection_id":160526,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:56:34] local.INFO: Processing buffer {"connection_id":160526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:56:34] local.INFO: Packet analysis {"connection_id":160526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:56:34] local.INFO: Extracted packet for processing {"connection_id":160526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:56:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:56:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":160526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:56:34] local.INFO: GPS data processed {"connection_id":160526,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:56:34] local.INFO: Acknowledgment sent {"connection_id":160526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:56:37] local.INFO: TCP Data received {"connection_id":159334,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:56:37] local.INFO: Processing buffer {"connection_id":159334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:56:37] local.INFO: Packet analysis {"connection_id":159334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:56:37] local.INFO: Extracted packet for processing {"connection_id":159334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 20:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:56:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:56:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159334,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:56:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":159334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:56:37] local.INFO: GPS data processed {"connection_id":159334,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:56:37] local.INFO: Acknowledgment sent {"connection_id":159334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:56:56] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:56:56] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:56:56] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:57:00] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:57:00] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:57:00] local.INFO: IMEI packet received {"connection_id":159618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":159618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:57:02] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:57:02] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:57:02] local.INFO: IMEI packet received {"connection_id":160527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":160527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:57:03] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:57:03] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:57:03] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:57:03] local.INFO: Extracted packet for processing {"connection_id":160527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:57:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 20:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 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-08-21 20: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-08-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 20:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20: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-08-21 20:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:57:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":160527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:57:03] local.INFO: GPS data processed {"connection_id":160527,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:57:03] local.INFO: Acknowledgment sent {"connection_id":160527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:57:06] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:57:06] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:57:06] local.INFO: IMEI packet received {"connection_id":159618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":159618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:57:06] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:57:06] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:57:06] local.INFO: Packet analysis {"connection_id":159618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:57:06] local.INFO: Extracted packet for processing {"connection_id":159618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:57:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 20:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:57:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:57:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":159618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:57:06] local.INFO: GPS data processed {"connection_id":159618,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:57:06] local.INFO: Acknowledgment sent {"connection_id":159618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:57:34] local.INFO: TCP Data received {"connection_id":160527,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:57:34] local.INFO: Processing buffer {"connection_id":160527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:57:34] local.INFO: Packet analysis {"connection_id":160527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:57:34] local.INFO: Extracted packet for processing {"connection_id":160527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:57:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":160527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:57:34] local.INFO: GPS data processed {"connection_id":160527,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:57:34] local.INFO: Acknowledgment sent {"connection_id":160527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:57:38] local.INFO: TCP Data received {"connection_id":159618,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159618,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:57:38] local.INFO: Processing buffer {"connection_id":159618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:57:38] local.INFO: Packet analysis {"connection_id":159618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:57:38] local.INFO: Extracted packet for processing {"connection_id":159618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 20:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:57:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:57:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:57:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":159618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:57:38] local.INFO: GPS data processed {"connection_id":159618,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:57:38] local.INFO: Acknowledgment sent {"connection_id":159618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:57:56] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:57:56] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:57:56] local.INFO: IMEI packet received {"connection_id":160528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":160528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:58:02] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:58:02] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:58:02] local.INFO: IMEI packet received {"connection_id":160528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":160528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:58:03] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:58:03] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:58:03] local.INFO: Packet analysis {"connection_id":160528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:58:03] local.INFO: Extracted packet for processing {"connection_id":160528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:58:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:58:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":160528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:58:03] local.INFO: GPS data processed {"connection_id":160528,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:58:03] local.INFO: Acknowledgment sent {"connection_id":160528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:58:06] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:58:06] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:58:06] local.INFO: IMEI packet received {"connection_id":161924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":161924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:58:11] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:58:11] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:58:11] local.INFO: IMEI packet received {"connection_id":161924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":161924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:58:11] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:58:11] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:58:11] local.INFO: Packet analysis {"connection_id":161924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:58:11] local.INFO: Extracted packet for processing {"connection_id":161924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 20:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:58: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-08-21 20:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"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-08-21 20:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:58:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:58:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":161924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:58:11] local.INFO: GPS data processed {"connection_id":161924,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:58:11] local.INFO: Acknowledgment sent {"connection_id":161924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:58:16] local.INFO: TCP Data received {"connection_id":161924,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:58:16] local.INFO: Processing buffer {"connection_id":161924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:58:16] local.INFO: Packet analysis {"connection_id":161924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:58:16] local.INFO: Extracted packet for processing {"connection_id":161924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20: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-08-21 20:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 20:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:58:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20: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-08-21 20:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:58: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-08-21 20:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"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-08-21 20:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:58:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:58:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":161924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:58:16] local.INFO: GPS data processed {"connection_id":161924,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:58:16] local.INFO: Acknowledgment sent {"connection_id":161924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:58:34] local.INFO: TCP Data received {"connection_id":160528,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:58:34] local.INFO: Processing buffer {"connection_id":160528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:58:34] local.INFO: Packet analysis {"connection_id":160528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:58:34] local.INFO: Extracted packet for processing {"connection_id":160528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:58:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":160528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:58:34] local.INFO: GPS data processed {"connection_id":160528,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:58:34] local.INFO: Acknowledgment sent {"connection_id":160528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:59:01] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:59:01] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:59:01] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 20:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:59:02] local.INFO: TCP Data received {"connection_id":159335,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:02] local.INFO: Processing buffer {"connection_id":159335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:02] local.INFO: IMEI packet received {"connection_id":159335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":159335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 20:59:06] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:59:06] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 20:59:06] local.INFO: IMEI packet received {"connection_id":161925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 20:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":161925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:59:06] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:59:06] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:59:06] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:59:06] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 20:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:59:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:59:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:59:06] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:59:06] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:59:07] local.INFO: TCP Data received {"connection_id":159335,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:07] local.INFO: Processing buffer {"connection_id":159335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:07] local.INFO: IMEI packet received {"connection_id":159335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 20:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":159335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 20:59:08] local.INFO: TCP Data received {"connection_id":159335,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:59:08] local.INFO: Processing buffer {"connection_id":159335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:59:08] local.INFO: Packet analysis {"connection_id":159335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:59:08] local.INFO: Extracted packet for processing {"connection_id":159335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:59:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:59:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":159335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:59:08] local.INFO: GPS data processed {"connection_id":159335,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:59:08] local.INFO: Acknowledgment sent {"connection_id":159335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:59:12] local.INFO: TCP Data received {"connection_id":159335,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:59:12] local.INFO: Processing buffer {"connection_id":159335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ebeec8012d9e4200055ace48000800012a..."} 
[2026-08-21 20:59:12] local.INFO: Packet analysis {"connection_id":159335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:59:12] local.INFO: Extracted packet for processing {"connection_id":159335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024eb"} 
[2026-08-21 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":42,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 20:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555337216001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787325837000,"timestamp_ms":1787325837000,"timestamp_seconds":1787325837,"priority":1,"record_length":96,"hex_timestamp":"000001a024ebeec8"} 
[2026-08-21 20:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 20:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 20:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 20:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 20:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555337216001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 20:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 20:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 20:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555337216001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:59:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 20:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 20:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555337216001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 20:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":159335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:59:12] local.INFO: GPS data processed {"connection_id":159335,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:59:12] local.INFO: Acknowledgment sent {"connection_id":159335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:59:37] local.INFO: TCP Data received {"connection_id":161925,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:59:37] local.INFO: Processing buffer {"connection_id":161925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 20:59:37] local.INFO: Packet analysis {"connection_id":161925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:59:37] local.INFO: Extracted packet for processing {"connection_id":161925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 20:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 20:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 20:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 20:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 20:59:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 20:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 20:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 20:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 20:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 20:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 20:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 20:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 20:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 20:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 20:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 20:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 20:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 20:59:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 20:59:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 20:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 20:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 20:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 20:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":161925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 20:59:38] local.INFO: GPS data processed {"connection_id":161925,"processed":1,"errors":0,"total":1} 
[2026-08-21 20:59:38] local.INFO: Acknowledgment sent {"connection_id":161925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 20:59:57] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:57] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 20:59:57] local.INFO: IMEI packet received {"connection_id":160529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 20:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":160529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:00:01] local.INFO: TCP Data received {"connection_id":159336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:00:01] local.INFO: Processing buffer {"connection_id":159336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:00:01] local.INFO: IMEI packet received {"connection_id":159336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":159336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:00:02] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:00:02] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:00:02] local.INFO: IMEI packet received {"connection_id":160529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":160529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:00:03] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:00:03] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:00:03] local.INFO: Packet analysis {"connection_id":160529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:00:03] local.INFO: Extracted packet for processing {"connection_id":160529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 21:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 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-08-21 21:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 21:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:00:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":160529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:00:03] local.INFO: GPS data processed {"connection_id":160529,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:00:03] local.INFO: Acknowledgment sent {"connection_id":160529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:00:06] local.INFO: TCP Data received {"connection_id":159336,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:00:06] local.INFO: Processing buffer {"connection_id":159336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:00:06] local.INFO: IMEI packet received {"connection_id":159336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":159336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:00:06] local.INFO: TCP Data received {"connection_id":159336,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:00:06] local.INFO: Processing buffer {"connection_id":159336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:00:06] local.INFO: Packet analysis {"connection_id":159336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 21:00:06] local.INFO: Extracted packet for processing {"connection_id":159336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 21:00:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 21:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:00:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:00:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":159336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:00:06] local.INFO: GPS data processed {"connection_id":159336,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:00:06] local.INFO: Acknowledgment sent {"connection_id":159336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:00:34] local.INFO: TCP Data received {"connection_id":160529,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:00:34] local.INFO: Processing buffer {"connection_id":160529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:00:34] local.INFO: Packet analysis {"connection_id":160529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:00:34] local.INFO: Extracted packet for processing {"connection_id":160529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:00:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":160529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:00:34] local.INFO: GPS data processed {"connection_id":160529,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:00:34] local.INFO: Acknowledgment sent {"connection_id":160529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:00:37] local.INFO: TCP Data received {"connection_id":159336,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:00:37] local.INFO: Processing buffer {"connection_id":159336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:00:37] local.INFO: Packet analysis {"connection_id":159336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 21:00:37] local.INFO: Extracted packet for processing {"connection_id":159336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 21:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:00:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:00:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":159336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:00:37] local.INFO: GPS data processed {"connection_id":159336,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:00:37] local.INFO: Acknowledgment sent {"connection_id":159336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:00:56] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:00:56] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:00:56] local.INFO: IMEI packet received {"connection_id":159619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":159619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:01:01] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:01:01] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:01:01] local.INFO: IMEI packet received {"connection_id":159337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":159337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:01:02] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:01:02] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:01:02] local.INFO: IMEI packet received {"connection_id":159619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":159619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:01:03] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:01:03] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:01:03] local.INFO: Packet analysis {"connection_id":159619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:01:03] local.INFO: Extracted packet for processing {"connection_id":159619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:01: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-08-21 21:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:01:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":159619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:01:03] local.INFO: GPS data processed {"connection_id":159619,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:01:03] local.INFO: Acknowledgment sent {"connection_id":159619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:01:06] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:01:06] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:01:06] local.INFO: IMEI packet received {"connection_id":159337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":159337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:01:06] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:01:06] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ed8508012d196540071feff8004400112a..."} 
[2026-08-21 21:01:06] local.INFO: Packet analysis {"connection_id":159337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 21:01:06] local.INFO: Extracted packet for processing {"connection_id":159337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ed"} 
[2026-08-21 21:01:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":42,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555363840001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787325941000,"timestamp_ms":1787325941000,"timestamp_seconds":1787325941,"priority":1,"record_length":96,"hex_timestamp":"000001a024ed8508"} 
[2026-08-21 21:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555363840001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555363840001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:01:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:01:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555363840001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":159337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:01:06] local.INFO: GPS data processed {"connection_id":159337,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:01:06] local.INFO: Acknowledgment sent {"connection_id":159337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:01:34] local.INFO: TCP Data received {"connection_id":159619,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:01:34] local.INFO: Processing buffer {"connection_id":159619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:01:34] local.INFO: Packet analysis {"connection_id":159619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:01:34] local.INFO: Extracted packet for processing {"connection_id":159619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:01:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:01:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":159619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:01:34] local.INFO: GPS data processed {"connection_id":159619,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:01:34] local.INFO: Acknowledgment sent {"connection_id":159619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:01:37] local.INFO: TCP Data received {"connection_id":159337,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:01:37] local.INFO: Processing buffer {"connection_id":159337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:01:37] local.INFO: Packet analysis {"connection_id":159337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:01:37] local.INFO: Extracted packet for processing {"connection_id":159337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:01:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:01:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":159337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:01:37] local.INFO: GPS data processed {"connection_id":159337,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:01:37] local.INFO: Acknowledgment sent {"connection_id":159337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:01:56] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:01:56] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:01:56] local.INFO: IMEI packet received {"connection_id":161926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":161926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:02:00] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:02:00] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:02:00] local.INFO: IMEI packet received {"connection_id":161927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":161927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:02:02] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:02:02] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:02:02] local.INFO: IMEI packet received {"connection_id":161926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":161926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:02:03] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:02:03] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:02:03] local.INFO: Packet analysis {"connection_id":161926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:02:03] local.INFO: Extracted packet for processing {"connection_id":161926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:02:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:02:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":161926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:02:03] local.INFO: GPS data processed {"connection_id":161926,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:02:03] local.INFO: Acknowledgment sent {"connection_id":161926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:02:06] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:02:06] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:02:06] local.INFO: IMEI packet received {"connection_id":161927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":161927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:02:06] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:02:06] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:02:06] local.INFO: Packet analysis {"connection_id":161927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:02:06] local.INFO: Extracted packet for processing {"connection_id":161927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:02:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:02:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":161927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:02:06] local.INFO: GPS data processed {"connection_id":161927,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:02:06] local.INFO: Acknowledgment sent {"connection_id":161927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:02:34] local.INFO: TCP Data received {"connection_id":161926,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:02:34] local.INFO: Processing buffer {"connection_id":161926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:02:34] local.INFO: Packet analysis {"connection_id":161926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:02:34] local.INFO: Extracted packet for processing {"connection_id":161926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:02:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":161926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:02:34] local.INFO: GPS data processed {"connection_id":161926,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:02:34] local.INFO: Acknowledgment sent {"connection_id":161926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:02:37] local.INFO: TCP Data received {"connection_id":161927,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:02:37] local.INFO: Processing buffer {"connection_id":161927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:02:37] local.INFO: Packet analysis {"connection_id":161927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:02:37] local.INFO: Extracted packet for processing {"connection_id":161927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:02:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:02:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":161927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:02:38] local.INFO: GPS data processed {"connection_id":161927,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:02:38] local.INFO: Acknowledgment sent {"connection_id":161927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:02:56] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:02:56] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:02:56] local.INFO: IMEI packet received {"connection_id":160530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":160530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:03:02] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:03:02] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:03:02] local.INFO: IMEI packet received {"connection_id":160530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":160530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:03:02] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:03:03] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:03:03] local.INFO: Packet analysis {"connection_id":160530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:03:03] local.INFO: Extracted packet for processing {"connection_id":160530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:03: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-08-21 21:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:03:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":160530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:03:03] local.INFO: GPS data processed {"connection_id":160530,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:03:03] local.INFO: Acknowledgment sent {"connection_id":160530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:03:06] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:03:06] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:03:06] local.INFO: IMEI packet received {"connection_id":161928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":161928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:03:11] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:03:11] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:03:11] local.INFO: IMEI packet received {"connection_id":161928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":161928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:03:11] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:03:11] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:03:11] local.INFO: Packet analysis {"connection_id":161928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:03:11] local.INFO: Extracted packet for processing {"connection_id":161928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:03:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:03:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":161928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:03:11] local.INFO: GPS data processed {"connection_id":161928,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:03:11] local.INFO: Acknowledgment sent {"connection_id":161928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:03:16] local.INFO: TCP Data received {"connection_id":161928,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:03:16] local.INFO: Processing buffer {"connection_id":161928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:03:16] local.INFO: Packet analysis {"connection_id":161928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:03:16] local.INFO: Extracted packet for processing {"connection_id":161928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:03:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:03:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:03:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":161928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:03:16] local.INFO: GPS data processed {"connection_id":161928,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:03:16] local.INFO: Acknowledgment sent {"connection_id":161928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:03:34] local.INFO: TCP Data received {"connection_id":160530,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:03:34] local.INFO: Processing buffer {"connection_id":160530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:03:34] local.INFO: Packet analysis {"connection_id":160530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:03:34] local.INFO: Extracted packet for processing {"connection_id":160530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:03:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:03:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":160530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:03:34] local.INFO: GPS data processed {"connection_id":160530,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:03:34] local.INFO: Acknowledgment sent {"connection_id":160530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:04:01] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:04:01] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:04:01] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:04:02] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:02] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:02] local.INFO: IMEI packet received {"connection_id":159620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":159620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:04:06] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:04:06] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:04:06] local.INFO: IMEI packet received {"connection_id":160531,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":160531,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:04:06] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:04:06] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:04:06] local.INFO: Packet analysis {"connection_id":160531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:04:06] local.INFO: Extracted packet for processing {"connection_id":160531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:04:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:04:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:04:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:04:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:04:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":160531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:04:06] local.INFO: GPS data processed {"connection_id":160531,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:04:06] local.INFO: Acknowledgment sent {"connection_id":160531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:04:07] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:07] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:07] local.INFO: IMEI packet received {"connection_id":159620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":159620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:04:07] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:04:07] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:04:07] local.INFO: Packet analysis {"connection_id":159620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:04:07] local.INFO: Extracted packet for processing {"connection_id":159620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:04:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":159620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:04:08] local.INFO: GPS data processed {"connection_id":159620,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:04:08] local.INFO: Acknowledgment sent {"connection_id":159620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:04:12] local.INFO: TCP Data received {"connection_id":159620,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:04:12] local.INFO: Processing buffer {"connection_id":159620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f08690012d9e4200055ace48000800012c..."} 
[2026-08-21 21:04:12] local.INFO: Packet analysis {"connection_id":159620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:04:12] local.INFO: Extracted packet for processing {"connection_id":159620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f0"} 
[2026-08-21 21:04:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555414272001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787326138000,"timestamp_ms":1787326138000,"timestamp_seconds":1787326138,"priority":1,"record_length":96,"hex_timestamp":"000001a024f08690"} 
[2026-08-21 21:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555414272001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555414272001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:04:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555414272001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":159620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:04:12] local.INFO: GPS data processed {"connection_id":159620,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:04:12] local.INFO: Acknowledgment sent {"connection_id":159620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:04:37] local.INFO: TCP Data received {"connection_id":160531,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160531,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:04:37] local.INFO: Processing buffer {"connection_id":160531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:04:37] local.INFO: Packet analysis {"connection_id":160531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:04:37] local.INFO: Extracted packet for processing {"connection_id":160531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160531,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:04:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:04:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":160531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:04:38] local.INFO: GPS data processed {"connection_id":160531,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:04:38] local.INFO: Acknowledgment sent {"connection_id":160531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:04:57] local.INFO: TCP Data received {"connection_id":159621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:57] local.INFO: Processing buffer {"connection_id":159621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:04:57] local.INFO: IMEI packet received {"connection_id":159621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":159621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:05:01] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:05:01] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:05:01] local.INFO: IMEI packet received {"connection_id":160532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":160532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:05:02] local.INFO: TCP Data received {"connection_id":159621,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:05:02] local.INFO: Processing buffer {"connection_id":159621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:05:02] local.INFO: IMEI packet received {"connection_id":159621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":159621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:05:02] local.INFO: TCP Data received {"connection_id":159621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:05:02] local.INFO: Processing buffer {"connection_id":159621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:05:02] local.INFO: Packet analysis {"connection_id":159621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:05:02] local.INFO: Extracted packet for processing {"connection_id":159621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:05:02] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:05:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:05:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":159621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:05:03] local.INFO: GPS data processed {"connection_id":159621,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:05:03] local.INFO: Acknowledgment sent {"connection_id":159621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:05:06] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:05:06] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:05:06] local.INFO: IMEI packet received {"connection_id":160532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":160532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:05:07] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:05:07] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:05:07] local.INFO: Packet analysis {"connection_id":160532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:05:07] local.INFO: Extracted packet for processing {"connection_id":160532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 21:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 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-08-21 21:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 21:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":160532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:05:07] local.INFO: GPS data processed {"connection_id":160532,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:05:07] local.INFO: Acknowledgment sent {"connection_id":160532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:05:34] local.INFO: TCP Data received {"connection_id":159621,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:05:34] local.INFO: Processing buffer {"connection_id":159621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:05:34] local.INFO: Packet analysis {"connection_id":159621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:05:34] local.INFO: Extracted packet for processing {"connection_id":159621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:05:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":159621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:05:34] local.INFO: GPS data processed {"connection_id":159621,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:05:34] local.INFO: Acknowledgment sent {"connection_id":159621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:05:38] local.INFO: TCP Data received {"connection_id":160532,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:05:38] local.INFO: Processing buffer {"connection_id":160532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:05:38] local.INFO: Packet analysis {"connection_id":160532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:05:38] local.INFO: Extracted packet for processing {"connection_id":160532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:05:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:05:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:05:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:05:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:05:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":160532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:05:38] local.INFO: GPS data processed {"connection_id":160532,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:05:38] local.INFO: Acknowledgment sent {"connection_id":160532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:05:56] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:05:56] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:05:56] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:06:01] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:06:01] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:06:01] local.INFO: IMEI packet received {"connection_id":160533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":160533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:06:02] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:06:02] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:06:02] local.INFO: IMEI packet received {"connection_id":161929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":161929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:06:02] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:06:02] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:06:02] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:06:02] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:06:02] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 21:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 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-08-21 21:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 21:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:06:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:06:03] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:06:03] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:06:06] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:06:06] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:06:06] local.INFO: IMEI packet received {"connection_id":160533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":160533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:06:07] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:06:07] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f21cd0012d196540071feff80044001129..."} 
[2026-08-21 21:06:07] local.INFO: Packet analysis {"connection_id":160533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:06:07] local.INFO: Extracted packet for processing {"connection_id":160533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f2"} 
[2026-08-21 21:06:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555440896001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787326242000,"timestamp_ms":1787326242000,"timestamp_seconds":1787326242,"priority":1,"record_length":96,"hex_timestamp":"000001a024f21cd0"} 
[2026-08-21 21:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13312,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555440896001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555440896001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555440896001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":160533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:06:07] local.INFO: GPS data processed {"connection_id":160533,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:06:07] local.INFO: Acknowledgment sent {"connection_id":160533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:06:34] local.INFO: TCP Data received {"connection_id":161929,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:06:34] local.INFO: Processing buffer {"connection_id":161929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:06:34] local.INFO: Packet analysis {"connection_id":161929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:06:34] local.INFO: Extracted packet for processing {"connection_id":161929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:06:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":161929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:06:34] local.INFO: GPS data processed {"connection_id":161929,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:06:34] local.INFO: Acknowledgment sent {"connection_id":161929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:06:38] local.INFO: TCP Data received {"connection_id":160533,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:06:38] local.INFO: Processing buffer {"connection_id":160533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:06:38] local.INFO: Packet analysis {"connection_id":160533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:06:38] local.INFO: Extracted packet for processing {"connection_id":160533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:06:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:06:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:06:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":160533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:06:38] local.INFO: GPS data processed {"connection_id":160533,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:06:38] local.INFO: Acknowledgment sent {"connection_id":160533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:06:56] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:06:56] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:06:56] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:07:00] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:07:00] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:07:00] local.INFO: IMEI packet received {"connection_id":160534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":160534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:07:02] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:07:02] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:07:02] local.INFO: IMEI packet received {"connection_id":161930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":161930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:07:03] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:07:03] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:07:03] local.INFO: Packet analysis {"connection_id":161930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:07:03] local.INFO: Extracted packet for processing {"connection_id":161930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:07:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":161930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:07:03] local.INFO: GPS data processed {"connection_id":161930,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:07:03] local.INFO: Acknowledgment sent {"connection_id":161930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:07:06] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:07:06] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:07:06] local.INFO: IMEI packet received {"connection_id":160534,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":160534,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:07:06] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:07:06] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:07:06] local.INFO: Packet analysis {"connection_id":160534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:07:06] local.INFO: Extracted packet for processing {"connection_id":160534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:07:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:07:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":160534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:07:06] local.INFO: GPS data processed {"connection_id":160534,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:07:06] local.INFO: Acknowledgment sent {"connection_id":160534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:07:34] local.INFO: TCP Data received {"connection_id":161930,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:07:34] local.INFO: Processing buffer {"connection_id":161930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:07:34] local.INFO: Packet analysis {"connection_id":161930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:07:34] local.INFO: Extracted packet for processing {"connection_id":161930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:07:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":161930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:07:34] local.INFO: GPS data processed {"connection_id":161930,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:07:34] local.INFO: Acknowledgment sent {"connection_id":161930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:07:37] local.INFO: TCP Data received {"connection_id":160534,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:07:37] local.INFO: Processing buffer {"connection_id":160534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:07:37] local.INFO: Packet analysis {"connection_id":160534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:07:37] local.INFO: Extracted packet for processing {"connection_id":160534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160534,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:07:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:07:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":160534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":677999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:07:38] local.INFO: GPS data processed {"connection_id":160534,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:07:38] local.INFO: Acknowledgment sent {"connection_id":160534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:08:02] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:02] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:02] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:08:06] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:08:06] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:08:06] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:08:07] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:07] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:07] local.INFO: IMEI packet received {"connection_id":161931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":161931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:08:07] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:08:07] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:08:07] local.INFO: Packet analysis {"connection_id":161931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:08:07] local.INFO: Extracted packet for processing {"connection_id":161931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:08:07] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:08:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":161931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:08:07] local.INFO: GPS data processed {"connection_id":161931,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:08:07] local.INFO: Acknowledgment sent {"connection_id":161931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:08:11] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:08:11] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:08:11] local.INFO: IMEI packet received {"connection_id":161932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":161932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:08:11] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:08:11] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:08:11] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:08:11] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:08:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:08:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:08:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:08:11] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:08:11] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:08:12] local.INFO: TCP Data received {"connection_id":161931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:08:12] local.INFO: Processing buffer {"connection_id":161931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:08:12] local.INFO: Packet analysis {"connection_id":161931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:08:12] local.INFO: Extracted packet for processing {"connection_id":161931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:08:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":161931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:08:12] local.INFO: GPS data processed {"connection_id":161931,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:08:12] local.INFO: Acknowledgment sent {"connection_id":161931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:08:16] local.INFO: TCP Data received {"connection_id":161932,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:08:16] local.INFO: Processing buffer {"connection_id":161932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:08:16] local.INFO: Packet analysis {"connection_id":161932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:08:16] local.INFO: Extracted packet for processing {"connection_id":161932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:08:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:08:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:08:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:08:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":161932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:08:16] local.INFO: GPS data processed {"connection_id":161932,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:08:16] local.INFO: Acknowledgment sent {"connection_id":161932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:08:57] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:57] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:08:57] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:09:01] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:09:01] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:09:01] local.INFO: IMEI packet received {"connection_id":161934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":161934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:09:02] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:09:02] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:09:02] local.INFO: IMEI packet received {"connection_id":161933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":161933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:09:02] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:09:03] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:09:03] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:09:03] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:09:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:09:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:09:03] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:09:03] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:09:06] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:09:06] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:09:06] local.INFO: IMEI packet received {"connection_id":161934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":161934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:09:07] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:09:07] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:09:07] local.INFO: Packet analysis {"connection_id":161934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:09:07] local.INFO: Extracted packet for processing {"connection_id":161934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:09:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:09:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":161934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:09:07] local.INFO: GPS data processed {"connection_id":161934,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:09:07] local.INFO: Acknowledgment sent {"connection_id":161934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:09:34] local.INFO: TCP Data received {"connection_id":161933,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:09:34] local.INFO: Processing buffer {"connection_id":161933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f51e58012d9e4200055ace48000800012c..."} 
[2026-08-21 21:09:34] local.INFO: Packet analysis {"connection_id":161933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:09:34] local.INFO: Extracted packet for processing {"connection_id":161933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f5"} 
[2026-08-21 21:09:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555491328001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326439000,"timestamp_ms":1787326439000,"timestamp_seconds":1787326439,"priority":1,"record_length":96,"hex_timestamp":"000001a024f51e58"} 
[2026-08-21 21:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555491328001,"66":25212,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555491328001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:09:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555491328001,"power":25212,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":161933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:09:34] local.INFO: GPS data processed {"connection_id":161933,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:09:34] local.INFO: Acknowledgment sent {"connection_id":161933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:09:38] local.INFO: TCP Data received {"connection_id":161934,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:09:38] local.INFO: Processing buffer {"connection_id":161934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:09:38] local.INFO: Packet analysis {"connection_id":161934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:09:38] local.INFO: Extracted packet for processing {"connection_id":161934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:09:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:09:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:09:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:09:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":161934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:09:38] local.INFO: GPS data processed {"connection_id":161934,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:09:38] local.INFO: Acknowledgment sent {"connection_id":161934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:09:57] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:09:57] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:09:57] local.INFO: IMEI packet received {"connection_id":160535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":160535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:10:01] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:10:01] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:10:01] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:10:02] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:10:02] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:10:02] local.INFO: IMEI packet received {"connection_id":160535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":160535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:10:02] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:10:03] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:10:03] local.INFO: Packet analysis {"connection_id":160535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:10:03] local.INFO: Extracted packet for processing {"connection_id":160535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:10:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:10:03] 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-08-21 21: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-08-21 21:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:10:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":160535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:10:03] local.INFO: GPS data processed {"connection_id":160535,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:10:03] local.INFO: Acknowledgment sent {"connection_id":160535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:10:06] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:10:06] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:10:06] local.INFO: IMEI packet received {"connection_id":160536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":160536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:10:06] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:10:06] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:10:06] local.INFO: Packet analysis {"connection_id":160536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:10:06] local.INFO: Extracted packet for processing {"connection_id":160536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:10:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:10:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":160536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:10:06] local.INFO: GPS data processed {"connection_id":160536,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:10:06] local.INFO: Acknowledgment sent {"connection_id":160536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:10:34] local.INFO: TCP Data received {"connection_id":160535,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:10:34] local.INFO: Processing buffer {"connection_id":160535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:10:34] local.INFO: Packet analysis {"connection_id":160535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:10:34] local.INFO: Extracted packet for processing {"connection_id":160535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:10:34] 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-08-21 21:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:10:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":160535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:10:34] local.INFO: GPS data processed {"connection_id":160535,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:10:34] local.INFO: Acknowledgment sent {"connection_id":160535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:10:37] local.INFO: TCP Data received {"connection_id":160536,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:10:37] local.INFO: Processing buffer {"connection_id":160536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:10:37] local.INFO: Packet analysis {"connection_id":160536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:10:37] local.INFO: Extracted packet for processing {"connection_id":160536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:10:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:10:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":160536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:10:37] local.INFO: GPS data processed {"connection_id":160536,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:10:37] local.INFO: Acknowledgment sent {"connection_id":160536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:10:56] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:10:56] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:10:56] local.INFO: IMEI packet received {"connection_id":160537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":160537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:11:01] local.INFO: TCP Data received {"connection_id":159622,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:11:01] local.INFO: Processing buffer {"connection_id":159622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:11:01] local.INFO: IMEI packet received {"connection_id":159622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":159622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:11:02] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:11:02] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:11:02] local.INFO: IMEI packet received {"connection_id":160537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":160537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:11:03] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:11:03] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:11:03] local.INFO: Packet analysis {"connection_id":160537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:11:03] local.INFO: Extracted packet for processing {"connection_id":160537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:11:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:11:03] 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-08-21 21: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-08-21 21:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:11:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":160537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:11:03] local.INFO: GPS data processed {"connection_id":160537,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:11:03] local.INFO: Acknowledgment sent {"connection_id":160537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:11:06] local.INFO: TCP Data received {"connection_id":159622,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159622,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:11:06] local.INFO: Processing buffer {"connection_id":159622,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:11:06] local.INFO: IMEI packet received {"connection_id":159622,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":159622,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:11:06] local.INFO: TCP Data received {"connection_id":159622,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:11:06] local.INFO: Processing buffer {"connection_id":159622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f6b498012d196540071feff80044001128..."} 
[2026-08-21 21:11:06] local.INFO: Packet analysis {"connection_id":159622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:11:06] local.INFO: Extracted packet for processing {"connection_id":159622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f6"} 
[2026-08-21 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555517952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326543000,"timestamp_ms":1787326543000,"timestamp_seconds":1787326543,"priority":1,"record_length":96,"hex_timestamp":"000001a024f6b498"} 
[2026-08-21 21:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555517952001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555517952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555517952001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":159622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:11:06] local.INFO: GPS data processed {"connection_id":159622,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:11:06] local.INFO: Acknowledgment sent {"connection_id":159622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:11:34] local.INFO: TCP Data received {"connection_id":160537,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:11:34] local.INFO: Processing buffer {"connection_id":160537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:11:34] local.INFO: Packet analysis {"connection_id":160537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:11:34] local.INFO: Extracted packet for processing {"connection_id":160537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:11:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:11:34] 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-08-21 21:11:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:11:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":160537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:11:34] local.INFO: GPS data processed {"connection_id":160537,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:11:34] local.INFO: Acknowledgment sent {"connection_id":160537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:11:38] local.INFO: TCP Data received {"connection_id":159622,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:11:38] local.INFO: Processing buffer {"connection_id":159622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:11:38] local.INFO: Packet analysis {"connection_id":159622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:11:38] local.INFO: Extracted packet for processing {"connection_id":159622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:11:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:11:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:11:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:11:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159622,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:11:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:11:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":159622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:11:38] local.INFO: GPS data processed {"connection_id":159622,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:11:38] local.INFO: Acknowledgment sent {"connection_id":159622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:11:56] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:11:56] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:11:56] local.INFO: IMEI packet received {"connection_id":159338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":159338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:12:00] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:12:00] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:12:00] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:12:02] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:12:02] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:12:02] local.INFO: IMEI packet received {"connection_id":159338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":159338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:12:03] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:12:03] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:12:03] local.INFO: Packet analysis {"connection_id":159338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:12:03] local.INFO: Extracted packet for processing {"connection_id":159338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:12:03] 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-08-21 21:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:12:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":159338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:12:03] local.INFO: GPS data processed {"connection_id":159338,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:12:03] local.INFO: Acknowledgment sent {"connection_id":159338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:12:06] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:12:06] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:12:06] local.INFO: IMEI packet received {"connection_id":161935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":161935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:12:06] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:12:06] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:12:06] local.INFO: Packet analysis {"connection_id":161935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:12:06] local.INFO: Extracted packet for processing {"connection_id":161935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":161935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:12:06] local.INFO: GPS data processed {"connection_id":161935,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:12:06] local.INFO: Acknowledgment sent {"connection_id":161935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:12:34] local.INFO: TCP Data received {"connection_id":159338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:12:34] local.INFO: Processing buffer {"connection_id":159338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:12:34] local.INFO: Packet analysis {"connection_id":159338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:12:34] local.INFO: Extracted packet for processing {"connection_id":159338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:12:34] 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-08-21 21:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:12:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":159338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:12:34] local.INFO: GPS data processed {"connection_id":159338,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:12:34] local.INFO: Acknowledgment sent {"connection_id":159338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:12:37] local.INFO: TCP Data received {"connection_id":161935,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:12:37] local.INFO: Processing buffer {"connection_id":161935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:12:37] local.INFO: Packet analysis {"connection_id":161935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:12:37] local.INFO: Extracted packet for processing {"connection_id":161935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:12:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:12:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":161935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:12:38] local.INFO: GPS data processed {"connection_id":161935,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:12:38] local.INFO: Acknowledgment sent {"connection_id":161935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:13:02] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:02] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:02] local.INFO: IMEI packet received {"connection_id":160538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":160538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:13:06] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:13:06] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:13:06] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:13:07] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:07] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:07] local.INFO: IMEI packet received {"connection_id":160538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":160538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:13:07] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:13:07] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:13:07] local.INFO: Packet analysis {"connection_id":160538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:13:07] local.INFO: Extracted packet for processing {"connection_id":160538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:13:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":160538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:13:07] local.INFO: GPS data processed {"connection_id":160538,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:13:07] local.INFO: Acknowledgment sent {"connection_id":160538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:13:11] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:13:11] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:13:11] local.INFO: IMEI packet received {"connection_id":161936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":161936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:13:11] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:13:11] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:13:11] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:13:11] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:13:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:13:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:13:12] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:13:12] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:13:12] local.INFO: TCP Data received {"connection_id":160538,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:13:12] local.INFO: Processing buffer {"connection_id":160538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:13:12] local.INFO: Packet analysis {"connection_id":160538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:13:12] local.INFO: Extracted packet for processing {"connection_id":160538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:13:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:13:12] 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-08-21 21:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:13:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":160538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:13:12] local.INFO: GPS data processed {"connection_id":160538,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:13:12] local.INFO: Acknowledgment sent {"connection_id":160538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:13:16] local.INFO: TCP Data received {"connection_id":161936,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:13:16] local.INFO: Processing buffer {"connection_id":161936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:13:16] local.INFO: Packet analysis {"connection_id":161936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:13:16] local.INFO: Extracted packet for processing {"connection_id":161936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:13:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":161936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:13:16] local.INFO: GPS data processed {"connection_id":161936,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:13:16] local.INFO: Acknowledgment sent {"connection_id":161936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:13:57] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:57] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:13:57] local.INFO: IMEI packet received {"connection_id":160539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":160539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:14:01] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:14:01] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:14:01] local.INFO: IMEI packet received {"connection_id":160540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":160540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:14:02] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:14:02] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:14:02] local.INFO: IMEI packet received {"connection_id":160539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":160539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:14:03] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:14:03] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:14:03] local.INFO: Packet analysis {"connection_id":160539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:14:03] local.INFO: Extracted packet for processing {"connection_id":160539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:14:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:14:03] 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-08-21 21: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-08-21 21:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:14:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":160539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:14:03] local.INFO: GPS data processed {"connection_id":160539,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:14:03] local.INFO: Acknowledgment sent {"connection_id":160539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:14:06] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:14:06] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:14:06] local.INFO: IMEI packet received {"connection_id":160540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":160540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:14:06] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:14:06] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:14:06] local.INFO: Packet analysis {"connection_id":160540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:14:06] local.INFO: Extracted packet for processing {"connection_id":160540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:14:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:14:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":160540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:14:06] local.INFO: GPS data processed {"connection_id":160540,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:14:06] local.INFO: Acknowledgment sent {"connection_id":160540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:14:34] local.INFO: TCP Data received {"connection_id":160539,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:14:34] local.INFO: Processing buffer {"connection_id":160539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024f9b620012d9e4200055ace48000800012c..."} 
[2026-08-21 21:14:34] local.INFO: Packet analysis {"connection_id":160539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:14:34] local.INFO: Extracted packet for processing {"connection_id":160539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024f9"} 
[2026-08-21 21:14:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":44,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555568384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787326740000,"timestamp_ms":1787326740000,"timestamp_seconds":1787326740,"priority":1,"record_length":96,"hex_timestamp":"000001a024f9b620"} 
[2026-08-21 21:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-08-21 21:14:34] 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-08-21 21:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555568384001,"66":25321,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555568384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:14:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555568384001,"power":25321,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":160539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:14:34] local.INFO: GPS data processed {"connection_id":160539,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:14:34] local.INFO: Acknowledgment sent {"connection_id":160539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:14:37] local.INFO: TCP Data received {"connection_id":160540,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:14:37] local.INFO: Processing buffer {"connection_id":160540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:14:37] local.INFO: Packet analysis {"connection_id":160540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:14:37] local.INFO: Extracted packet for processing {"connection_id":160540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:14:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:14:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:14:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:14:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":160540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:14:38] local.INFO: GPS data processed {"connection_id":160540,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:14:38] local.INFO: Acknowledgment sent {"connection_id":160540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:14:56] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:14:56] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:14:56] local.INFO: IMEI packet received {"connection_id":159623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":159623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:15:01] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:15:01] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:15:01] local.INFO: IMEI packet received {"connection_id":159339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":159339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:15:02] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:15:02] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:15:02] local.INFO: IMEI packet received {"connection_id":159623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":159623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:15:03] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:15:03] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:15:03] local.INFO: Packet analysis {"connection_id":159623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:15:03] local.INFO: Extracted packet for processing {"connection_id":159623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:15:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":159623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:15:03] local.INFO: GPS data processed {"connection_id":159623,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:15:03] local.INFO: Acknowledgment sent {"connection_id":159623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:15:06] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:15:06] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:15:06] local.INFO: IMEI packet received {"connection_id":159339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":159339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:15:06] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:15:06] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:15:06] local.INFO: Packet analysis {"connection_id":159339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:15:06] local.INFO: Extracted packet for processing {"connection_id":159339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:15:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:15:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":159339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:15:06] local.INFO: GPS data processed {"connection_id":159339,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:15:06] local.INFO: Acknowledgment sent {"connection_id":159339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:15:34] local.INFO: TCP Data received {"connection_id":159623,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:15:34] local.INFO: Processing buffer {"connection_id":159623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:15:34] local.INFO: Packet analysis {"connection_id":159623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:15:34] local.INFO: Extracted packet for processing {"connection_id":159623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:15:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:15:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":159623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:15:34] local.INFO: GPS data processed {"connection_id":159623,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:15:34] local.INFO: Acknowledgment sent {"connection_id":159623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:15:37] local.INFO: TCP Data received {"connection_id":159339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:15:37] local.INFO: Processing buffer {"connection_id":159339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:15:37] local.INFO: Packet analysis {"connection_id":159339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:15:37] local.INFO: Extracted packet for processing {"connection_id":159339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:15:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:15:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:15:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:15:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:15:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:15:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":159339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:15:38] local.INFO: GPS data processed {"connection_id":159339,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:15:38] local.INFO: Acknowledgment sent {"connection_id":159339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:15:56] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:15:56] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:15:56] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:16:01] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:16:01] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:16:01] local.INFO: IMEI packet received {"connection_id":160541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":160541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:16:02] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:16:02] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:16:02] local.INFO: IMEI packet received {"connection_id":161937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":161937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:16:03] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:16:03] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:16:03] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:16:03] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:16:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:16:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:16:03] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:16:03] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:16:06] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:16:06] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:16:06] local.INFO: IMEI packet received {"connection_id":160541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":160541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:16:06] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:16:06] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fb4878012d196540071feff80044001129..."} 
[2026-08-21 21:16:06] local.INFO: Packet analysis {"connection_id":160541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:16:06] local.INFO: Extracted packet for processing {"connection_id":160541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fb"} 
[2026-08-21 21:16:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555595008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787326843000,"timestamp_ms":1787326843000,"timestamp_seconds":1787326843,"priority":1,"record_length":96,"hex_timestamp":"000001a024fb4878"} 
[2026-08-21 21:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555595008001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555595008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:16:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:16:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555595008001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":160541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:16:06] local.INFO: GPS data processed {"connection_id":160541,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:16:06] local.INFO: Acknowledgment sent {"connection_id":160541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:16:34] local.INFO: TCP Data received {"connection_id":161937,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:16:34] local.INFO: Processing buffer {"connection_id":161937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:16:34] local.INFO: Packet analysis {"connection_id":161937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:16:34] local.INFO: Extracted packet for processing {"connection_id":161937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:16:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:16:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":161937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:16:34] local.INFO: GPS data processed {"connection_id":161937,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:16:34] local.INFO: Acknowledgment sent {"connection_id":161937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:16:37] local.INFO: TCP Data received {"connection_id":160541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:16:37] local.INFO: Processing buffer {"connection_id":160541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:16:37] local.INFO: Packet analysis {"connection_id":160541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:16:37] local.INFO: Extracted packet for processing {"connection_id":160541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:16:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:16:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:16:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:16:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":160541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:16:37] local.INFO: GPS data processed {"connection_id":160541,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:16:37] local.INFO: Acknowledgment sent {"connection_id":160541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:16:56] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:16:56] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:16:56] local.INFO: IMEI packet received {"connection_id":159624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":159624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:17:00] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:17:00] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:17:00] local.INFO: IMEI packet received {"connection_id":160542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":160542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:17:02] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:17:02] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:17:02] local.INFO: IMEI packet received {"connection_id":159624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":159624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:17:03] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:17:03] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:17:03] local.INFO: Packet analysis {"connection_id":159624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:17:03] local.INFO: Extracted packet for processing {"connection_id":159624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:17:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:17:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":159624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:17:03] local.INFO: GPS data processed {"connection_id":159624,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:17:03] local.INFO: Acknowledgment sent {"connection_id":159624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:17:06] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:17:06] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:17:06] local.INFO: IMEI packet received {"connection_id":160542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":160542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:17:06] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:17:06] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:17:06] local.INFO: Packet analysis {"connection_id":160542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:17:06] local.INFO: Extracted packet for processing {"connection_id":160542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":160542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:17:06] local.INFO: GPS data processed {"connection_id":160542,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:17:06] local.INFO: Acknowledgment sent {"connection_id":160542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:17:34] local.INFO: TCP Data received {"connection_id":159624,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:17:34] local.INFO: Processing buffer {"connection_id":159624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:17:34] local.INFO: Packet analysis {"connection_id":159624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:17:34] local.INFO: Extracted packet for processing {"connection_id":159624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:17:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":159624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:17:34] local.INFO: GPS data processed {"connection_id":159624,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:17:34] local.INFO: Acknowledgment sent {"connection_id":159624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:17:38] local.INFO: TCP Data received {"connection_id":160542,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160542,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:17:38] local.INFO: Processing buffer {"connection_id":160542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:17:38] local.INFO: Packet analysis {"connection_id":160542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:17:38] local.INFO: Extracted packet for processing {"connection_id":160542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:17:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":160542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":160542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":160542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:17:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:17:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":160542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:17:38] local.INFO: GPS data processed {"connection_id":160542,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:17:38] local.INFO: Acknowledgment sent {"connection_id":160542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:18:02] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:02] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:02] local.INFO: IMEI packet received {"connection_id":159340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":159340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:18:07] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:07] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:07] local.INFO: IMEI packet received {"connection_id":159340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":159340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:18:08] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:18:08] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:18:08] local.INFO: Packet analysis {"connection_id":159340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:18:08] local.INFO: Extracted packet for processing {"connection_id":159340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:18:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":159340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:18:08] local.INFO: GPS data processed {"connection_id":159340,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:18:08] local.INFO: Acknowledgment sent {"connection_id":159340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:18:08] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:18:08] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:18:08] local.INFO: IMEI packet received {"connection_id":159341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":159341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:18:11] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:18:11] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:18:11] local.INFO: IMEI packet received {"connection_id":159341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":159341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:18:12] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:18:12] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:18:12] local.INFO: Packet analysis {"connection_id":159341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:18:12] local.INFO: Extracted packet for processing {"connection_id":159341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:18: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-08-21 21:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:18:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:18:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":159341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:18:12] local.INFO: GPS data processed {"connection_id":159341,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:18:12] local.INFO: Acknowledgment sent {"connection_id":159341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:18:12] local.INFO: TCP Data received {"connection_id":159340,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:18:12] local.INFO: Processing buffer {"connection_id":159340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:18:12] local.INFO: Packet analysis {"connection_id":159340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:18:12] local.INFO: Extracted packet for processing {"connection_id":159340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:18:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":159340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:18:12] local.INFO: GPS data processed {"connection_id":159340,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:18:12] local.INFO: Acknowledgment sent {"connection_id":159340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:18:16] local.INFO: TCP Data received {"connection_id":159341,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:18:16] local.INFO: Processing buffer {"connection_id":159341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:18:16] local.INFO: Packet analysis {"connection_id":159341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:18:16] local.INFO: Extracted packet for processing {"connection_id":159341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":159341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":159341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":159341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:18: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-08-21 21:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:18:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:18:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":159341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:18:16] local.INFO: GPS data processed {"connection_id":159341,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:18:16] local.INFO: Acknowledgment sent {"connection_id":159341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:18:57] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:57] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:18:57] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:19:01] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:19:01] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:19:01] local.INFO: IMEI packet received {"connection_id":159342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":159342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:19:02] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:19:02] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:19:02] local.INFO: IMEI packet received {"connection_id":161938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":161938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:19:03] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:19:03] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:19:03] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:19:03] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:19:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:19: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-08-21 21:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:19:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:19:03] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:19:03] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:19:06] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:19:06] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:19:06] local.INFO: IMEI packet received {"connection_id":159342,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":159342,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:19:06] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:19:06] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:19:06] local.INFO: Packet analysis {"connection_id":159342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:19:06] local.INFO: Extracted packet for processing {"connection_id":159342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":159342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:19:06] local.INFO: GPS data processed {"connection_id":159342,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:19:06] local.INFO: Acknowledgment sent {"connection_id":159342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:19:34] local.INFO: TCP Data received {"connection_id":161938,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:19:34] local.INFO: Processing buffer {"connection_id":161938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024fe4de8012d9e4200055ace48000800012b..."} 
[2026-08-21 21:19:34] local.INFO: Packet analysis {"connection_id":161938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:19:34] local.INFO: Extracted packet for processing {"connection_id":161938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024fe"} 
[2026-08-21 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":43,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555645440001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327041000,"timestamp_ms":1787327041000,"timestamp_seconds":1787327041,"priority":1,"record_length":96,"hex_timestamp":"000001a024fe4de8"} 
[2026-08-21 21:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-08-21 21:19:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555645440001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555645440001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:19:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555645440001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":161938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:19:34] local.INFO: GPS data processed {"connection_id":161938,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:19:34] local.INFO: Acknowledgment sent {"connection_id":161938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:19:38] local.INFO: TCP Data received {"connection_id":159342,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:19:38] local.INFO: Processing buffer {"connection_id":159342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:19:38] local.INFO: Packet analysis {"connection_id":159342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:19:38] local.INFO: Extracted packet for processing {"connection_id":159342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159342,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:19:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:19:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":159342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:19:38] local.INFO: GPS data processed {"connection_id":159342,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:19:38] local.INFO: Acknowledgment sent {"connection_id":159342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:19:56] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:19:56] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:19:56] local.INFO: IMEI packet received {"connection_id":159343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":159343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:20:01] local.INFO: TCP Data received {"connection_id":159625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:20:01] local.INFO: Processing buffer {"connection_id":159625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:20:01] local.INFO: IMEI packet received {"connection_id":159625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":159625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:20:01] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:20:01] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:20:01] local.INFO: IMEI packet received {"connection_id":159343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":159343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:20:03] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:20:03] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:20:03] local.INFO: Packet analysis {"connection_id":159343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:20:03] local.INFO: Extracted packet for processing {"connection_id":159343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:20:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:20: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-08-21 21:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:20:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":159343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:20:03] local.INFO: GPS data processed {"connection_id":159343,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:20:03] local.INFO: Acknowledgment sent {"connection_id":159343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:20:06] local.INFO: TCP Data received {"connection_id":159625,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:20:06] local.INFO: Processing buffer {"connection_id":159625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:20:06] local.INFO: IMEI packet received {"connection_id":159625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":159625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:20:06] local.INFO: TCP Data received {"connection_id":159625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:20:06] local.INFO: Processing buffer {"connection_id":159625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:20:06] local.INFO: Packet analysis {"connection_id":159625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:20:06] local.INFO: Extracted packet for processing {"connection_id":159625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:20:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:20:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:20:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":159625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:20:06] local.INFO: GPS data processed {"connection_id":159625,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:20:06] local.INFO: Acknowledgment sent {"connection_id":159625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:20:34] local.INFO: TCP Data received {"connection_id":159343,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:20:34] local.INFO: Processing buffer {"connection_id":159343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:20:34] local.INFO: Packet analysis {"connection_id":159343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:20:34] local.INFO: Extracted packet for processing {"connection_id":159343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:20:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:20:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":159343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:20:34] local.INFO: GPS data processed {"connection_id":159343,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:20:34] local.INFO: Acknowledgment sent {"connection_id":159343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:20:37] local.INFO: TCP Data received {"connection_id":159625,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:20:37] local.INFO: Processing buffer {"connection_id":159625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:20:37] local.INFO: Packet analysis {"connection_id":159625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:20:37] local.INFO: Extracted packet for processing {"connection_id":159625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:20:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:20:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:20:38] local.INFO: DEBUG: GPS processor result {"connection_id":159625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:20:38] local.INFO: GPS data processed {"connection_id":159625,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:20:38] local.INFO: Acknowledgment sent {"connection_id":159625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:20:56] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:20:56] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:20:56] local.INFO: IMEI packet received {"connection_id":159344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":159344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:21:01] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:21:01] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:21:01] local.INFO: IMEI packet received {"connection_id":159345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":159345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:21:02] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:21:02] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:21:02] local.INFO: IMEI packet received {"connection_id":159344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":159344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:21:02] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:21:02] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:21:02] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:21:02] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:21:02] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:21:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:21:02] local.INFO: GPS data processed {"connection_id":159344,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:21:02] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:21:06] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:21:06] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:21:06] local.INFO: IMEI packet received {"connection_id":159345,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":159345,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:21:07] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:21:07] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a024ffe040012d196540071feff80044001128..."} 
[2026-08-21 21:21:07] local.INFO: Packet analysis {"connection_id":159345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:21:07] local.INFO: Extracted packet for processing {"connection_id":159345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a024ff"} 
[2026-08-21 21:21:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555671808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787327144000,"timestamp_ms":1787327144000,"timestamp_seconds":1787327144,"priority":1,"record_length":96,"hex_timestamp":"000001a024ffe040"} 
[2026-08-21 21:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555671808001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555671808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555671808001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":159345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:21:07] local.INFO: GPS data processed {"connection_id":159345,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:21:07] local.INFO: Acknowledgment sent {"connection_id":159345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:21:33] local.INFO: TCP Data received {"connection_id":159344,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:21:34] local.INFO: Processing buffer {"connection_id":159344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:21:34] local.INFO: Packet analysis {"connection_id":159344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:21:34] local.INFO: Extracted packet for processing {"connection_id":159344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:21:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:21:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":159344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:21:34] local.INFO: GPS data processed {"connection_id":159344,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:21:34] local.INFO: Acknowledgment sent {"connection_id":159344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:21:38] local.INFO: TCP Data received {"connection_id":159345,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:21:38] local.INFO: Processing buffer {"connection_id":159345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:21:38] local.INFO: Packet analysis {"connection_id":159345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:21:38] local.INFO: Extracted packet for processing {"connection_id":159345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:21:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159345,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:21:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:21:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":159345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:21:38] local.INFO: GPS data processed {"connection_id":159345,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:21:38] local.INFO: Acknowledgment sent {"connection_id":159345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:21:56] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:21:56] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:21:56] local.INFO: IMEI packet received {"connection_id":159346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":159346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:22:00] local.INFO: TCP Data received {"connection_id":159626,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:22:00] local.INFO: Processing buffer {"connection_id":159626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:22:00] local.INFO: IMEI packet received {"connection_id":159626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:22:00] local.INFO: IMEI acknowledgment sent {"connection_id":159626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:22:02] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:22:02] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:22:02] local.INFO: IMEI packet received {"connection_id":159346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":159346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:22:02] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:22:02] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:22:02] local.INFO: Packet analysis {"connection_id":159346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:22:02] local.INFO: Extracted packet for processing {"connection_id":159346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:22:02] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:22:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":159346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:22:03] local.INFO: GPS data processed {"connection_id":159346,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:22:03] local.INFO: Acknowledgment sent {"connection_id":159346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:22:06] local.INFO: TCP Data received {"connection_id":159626,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:22:06] local.INFO: Processing buffer {"connection_id":159626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:22:06] local.INFO: IMEI packet received {"connection_id":159626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":159626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:22:06] local.INFO: TCP Data received {"connection_id":159626,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:22:07] local.INFO: Processing buffer {"connection_id":159626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:22:07] local.INFO: Packet analysis {"connection_id":159626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:22:07] local.INFO: Extracted packet for processing {"connection_id":159626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:22:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"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-08-21 21:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":159626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:22:07] local.INFO: GPS data processed {"connection_id":159626,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:22:07] local.INFO: Acknowledgment sent {"connection_id":159626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:22:33] local.INFO: TCP Data received {"connection_id":159346,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:22:34] local.INFO: Processing buffer {"connection_id":159346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:22:34] local.INFO: Packet analysis {"connection_id":159346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:22:34] local.INFO: Extracted packet for processing {"connection_id":159346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:22:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:22:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":159346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:22:34] local.INFO: GPS data processed {"connection_id":159346,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:22:34] local.INFO: Acknowledgment sent {"connection_id":159346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:22:38] local.INFO: TCP Data received {"connection_id":159626,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:22:38] local.INFO: Processing buffer {"connection_id":159626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:22:38] local.INFO: Packet analysis {"connection_id":159626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:22:38] local.INFO: Extracted packet for processing {"connection_id":159626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:22:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:22:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:22:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:22:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:22:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:22:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:22:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:22:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:22:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:22:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:22:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:22:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:22:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:22:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:22:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:22:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:22:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:22:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"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-08-21 21:22:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:22:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:22:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:22:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:22:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:22:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:22:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:22:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:22:38] local.INFO: DEBUG: GPS processor result {"connection_id":159626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:22:38] local.INFO: GPS data processed {"connection_id":159626,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:22:38] local.INFO: Acknowledgment sent {"connection_id":159626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:23:02] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:02] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:02] local.INFO: IMEI packet received {"connection_id":159627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":159627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:23:06] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:23:06] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:23:06] local.INFO: IMEI packet received {"connection_id":160543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":160543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:23:07] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:07] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:07] local.INFO: IMEI packet received {"connection_id":159627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":159627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:23:08] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:23:08] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:23:08] local.INFO: Packet analysis {"connection_id":159627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:23:08] local.INFO: Extracted packet for processing {"connection_id":159627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:23:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":159627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:23:08] local.INFO: GPS data processed {"connection_id":159627,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:23:08] local.INFO: Acknowledgment sent {"connection_id":159627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:23:11] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:23:11] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:23:11] local.INFO: IMEI packet received {"connection_id":160543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":160543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:23:11] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:23:11] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:23:11] local.INFO: Packet analysis {"connection_id":160543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:23:11] local.INFO: Extracted packet for processing {"connection_id":160543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:23:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:23:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":160543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:23:12] local.INFO: GPS data processed {"connection_id":160543,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:23:12] local.INFO: Acknowledgment sent {"connection_id":160543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:23:12] local.INFO: TCP Data received {"connection_id":159627,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:23:12] local.INFO: Processing buffer {"connection_id":159627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:23:12] local.INFO: Packet analysis {"connection_id":159627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:23:12] local.INFO: Extracted packet for processing {"connection_id":159627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:23:12] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":159627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:23:12] local.INFO: GPS data processed {"connection_id":159627,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:23:12] local.INFO: Acknowledgment sent {"connection_id":159627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:23:16] local.INFO: TCP Data received {"connection_id":160543,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:23:16] local.INFO: Processing buffer {"connection_id":160543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:23:16] local.INFO: Packet analysis {"connection_id":160543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:23:16] local.INFO: Extracted packet for processing {"connection_id":160543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:23:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:23:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:23:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:23:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:23:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:23:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:23:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:23:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:23:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:23:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:23:16] local.INFO: Teltonika packet parsed successfully {"connection_id":160543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:23:16] local.INFO: Passing IMEI to GPS processor {"connection_id":160543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:23:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":160543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:23:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:23:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:23:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:23:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:23:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:23:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:23:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:23:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:23:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:23:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:23:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:23:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:23:16] local.INFO: DEBUG: GPS processor result {"connection_id":160543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:23:16] local.INFO: GPS data processed {"connection_id":160543,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:23:16] local.INFO: Acknowledgment sent {"connection_id":160543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:23:57] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:57] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:23:57] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:24:01] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:24:01] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:24:01] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:24:02] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:24:02] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:24:02] local.INFO: IMEI packet received {"connection_id":161939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":161939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:24:02] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:24:02] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:24:02] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:24:02] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:24:02] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:24:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:24:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:24:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:24:02] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:24:02] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:24:06] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:24:06] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:24:06] local.INFO: IMEI packet received {"connection_id":161940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":161940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:24:06] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:24:06] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:24:06] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:24:06] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:24:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"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-08-21 21:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:24:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:24:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:24:06] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:24:06] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:24:34] local.INFO: TCP Data received {"connection_id":161939,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:24:34] local.INFO: Processing buffer {"connection_id":161939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02502e5b0012d9e4200055ace48000800012d..."} 
[2026-08-21 21:24:34] local.INFO: Packet analysis {"connection_id":161939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:24:34] local.INFO: Extracted packet for processing {"connection_id":161939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02502"} 
[2026-08-21 21:24:34] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":45,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555722496001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327342000,"timestamp_ms":1787327342000,"timestamp_seconds":1787327342,"priority":1,"record_length":96,"hex_timestamp":"000001a02502e5b0"} 
[2026-08-21 21:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555722496001,"66":25299,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555722496001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:24:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555722496001,"power":25299,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":161939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:24:34] local.INFO: GPS data processed {"connection_id":161939,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:24:34] local.INFO: Acknowledgment sent {"connection_id":161939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:24:38] local.INFO: TCP Data received {"connection_id":161940,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:24:38] local.INFO: Processing buffer {"connection_id":161940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:24:38] local.INFO: Packet analysis {"connection_id":161940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:24:38] local.INFO: Extracted packet for processing {"connection_id":161940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:24:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"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-08-21 21:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:24:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:24:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":161940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:24:38] local.INFO: GPS data processed {"connection_id":161940,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:24:38] local.INFO: Acknowledgment sent {"connection_id":161940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:24:56] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:24:56] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:24:56] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:25:01] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:25:01] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:25:01] local.INFO: IMEI packet received {"connection_id":159628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":159628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:25:02] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:25:02] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:25:02] local.INFO: IMEI packet received {"connection_id":161941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":161941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:25:03] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025077d78012d9e4200055ace48000800012e..."} 
[2026-08-21 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025077d78012d9e4200055ace48000800012e..."} 
[2026-08-21 21:25:03] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025077d78012d9e4200055ace48000800012e..."} 
[2026-08-21 21:25:03] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02507"} 
[2026-08-21 21:25:03] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02507"} 
[2026-08-21 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555799552001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327643000,"timestamp_ms":1787327643000,"timestamp_seconds":1787327643,"priority":1,"record_length":96,"hex_timestamp":"000001a025077d78"} 
[2026-08-21 21:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-08-21 21:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:25: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-08-21 21:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555799552001,"66":25288,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555799552001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:25:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555799552001,"power":25288,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:25:03] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:25:03] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:25:06] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:25:06] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:25:06] local.INFO: IMEI packet received {"connection_id":159628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":159628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:25:06] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:25:06] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:25:06] local.INFO: Packet analysis {"connection_id":159628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:25:06] local.INFO: Extracted packet for processing {"connection_id":159628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:25:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":159628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:25:06] local.INFO: GPS data processed {"connection_id":159628,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:25:06] local.INFO: Acknowledgment sent {"connection_id":159628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:25:33] local.INFO: TCP Data received {"connection_id":161941,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02507df20012d9e4200055ace48000800012e..."} 
[2026-08-21 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02507df20012d9e4200055ace48000800012e..."} 
[2026-08-21 21:25:33] local.INFO: Processing buffer {"connection_id":161941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02507df20012d9e4200055ace48000800012e..."} 
[2026-08-21 21:25:33] local.INFO: Packet analysis {"connection_id":161941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02507"} 
[2026-08-21 21:25:33] local.INFO: Extracted packet for processing {"connection_id":161941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02507"} 
[2026-08-21 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":765346304,"raw_latitude":89837128,"longitude_deg":76.5346304,"latitude_deg":8.9837128,"altitude":8,"angle":1,"satellites":46,"speed":0,"hex_longitude":"2d9e4200","hex_latitude":"055ace48","is_valid_coordinates":true} 
[2026-08-21 21:25: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-08-21 21:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555876608001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787327668000,"timestamp_ms":1787327668000,"timestamp_seconds":1787327668,"priority":1,"record_length":96,"hex_timestamp":"000001a02507df20"} 
[2026-08-21 21:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-08-21 21:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555876608001,"66":25223,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555876608001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:25:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555876608001,"power":25223,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":161941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:25:34] local.INFO: GPS data processed {"connection_id":161941,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:25:34] local.INFO: Acknowledgment sent {"connection_id":161941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:25:37] local.INFO: TCP Data received {"connection_id":159628,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:25:37] local.INFO: Processing buffer {"connection_id":159628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:25:37] local.INFO: Packet analysis {"connection_id":159628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:25:37] local.INFO: Extracted packet for processing {"connection_id":159628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:25:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:25:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":159628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:25:38] local.INFO: GPS data processed {"connection_id":159628,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:25:38] local.INFO: Acknowledgment sent {"connection_id":159628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:25:56] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:25:56] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:25:56] local.INFO: IMEI packet received {"connection_id":160544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":160544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:26:00] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:26:00] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:26:00] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:26:02] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:26:02] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:26:02] local.INFO: IMEI packet received {"connection_id":160544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":160544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:26:02] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025083510012d9e4040055ad0f8000801602e..."} 
[2026-08-21 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025083510012d9e4040055ad0f8000801602e..."} 
[2026-08-21 21:26:02] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025083510012d9e4040055ad0f8000801602e..."} 
[2026-08-21 21:26:02] local.INFO: Packet analysis {"connection_id":160544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:26:02] local.INFO: Extracted packet for processing {"connection_id":160544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":765345856,"raw_latitude":89837816,"longitude_deg":76.5345856,"latitude_deg":8.9837816,"altitude":8,"angle":352,"satellites":46,"speed":0,"hex_longitude":"2d9e4040","hex_latitude":"055ad0f8","is_valid_coordinates":true} 
[2026-08-21 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555883008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043066844255729664,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787327690000,"timestamp_ms":1787327690000,"timestamp_seconds":1787327690,"priority":1,"record_length":96,"hex_timestamp":"000001a025083510"} 
[2026-08-21 21:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-08-21 21:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555883008001,"66":27300,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043066844255729664},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555883008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:26:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043066844255729664,"description":"Unknown IO ID 45"} 
[2026-08-21 21:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555883008001,"power":27300,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043066844255729664}} 
[2026-08-21 21:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":160544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:26:02] local.INFO: GPS data processed {"connection_id":160544,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:26:02] local.INFO: Acknowledgment sent {"connection_id":160544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:26:06] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:26:06] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:26:06] local.INFO: IMEI packet received {"connection_id":161942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":161942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:26:06] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:26:06] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025047808012d196540071feff80044001125..."} 
[2026-08-21 21:26:06] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:26:06] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02504"} 
[2026-08-21 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":37,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555748864001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327445000,"timestamp_ms":1787327445000,"timestamp_seconds":1787327445,"priority":1,"record_length":96,"hex_timestamp":"000001a025047808"} 
[2026-08-21 21:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555748864001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555748864001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:26:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:26:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555748864001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:26:06] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:26:06] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:26:33] local.INFO: TCP Data received {"connection_id":160544,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025088718012d9e4040055ad0f8000801602d..."} 
[2026-08-21 21:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025088718012d9e4040055ad0f8000801602d..."} 
[2026-08-21 21:26:33] local.INFO: Processing buffer {"connection_id":160544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025088718012d9e4040055ad0f8000801602d..."} 
[2026-08-21 21:26:33] local.INFO: Packet analysis {"connection_id":160544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:26:33] local.INFO: Extracted packet for processing {"connection_id":160544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:26:33] local.INFO: GPS Element Parsed {"raw_longitude":765345856,"raw_latitude":89837816,"longitude_deg":76.5345856,"latitude_deg":8.9837816,"altitude":8,"angle":352,"satellites":45,"speed":0,"hex_longitude":"2d9e4040","hex_latitude":"055ad0f8","is_valid_coordinates":true} 
[2026-08-21 21:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555888640001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601193468788736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043559425464797184,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787327711000,"timestamp_ms":1787327711000,"timestamp_seconds":1787327711,"priority":1,"record_length":96,"hex_timestamp":"000001a025088718"} 
[2026-08-21 21:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:26:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555888640001,"66":27180,"248":206,"84":7168,"24":0,"16":388601193468788736,"45":-7043559425464797184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555888640001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:26:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601193468788736,"km_value":388601193468788.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043559425464797184,"description":"Unknown IO ID 45"} 
[2026-08-21 21:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555888640001,"power":27180,"tamper_alert":206,"unknown_84":7168,"ignition":0,"odometer":null,"unknown_45":-7043559425464797184}} 
[2026-08-21 21:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":160544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:26:33] local.INFO: GPS data processed {"connection_id":160544,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:26:33] local.INFO: Acknowledgment sent {"connection_id":160544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:26:37] local.INFO: TCP Data received {"connection_id":161942,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:26:37] local.INFO: Processing buffer {"connection_id":161942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:26:37] local.INFO: Packet analysis {"connection_id":161942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:26:37] local.INFO: Extracted packet for processing {"connection_id":161942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:26:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:26:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":161942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:26:37] local.INFO: GPS data processed {"connection_id":161942,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:26:37] local.INFO: Acknowledgment sent {"connection_id":161942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:26:56] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:26:56] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:26:56] local.INFO: IMEI packet received {"connection_id":159347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":159347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:27:00] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:27:00] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:27:00] local.INFO: IMEI packet received {"connection_id":160545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":160545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:27:02] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:27:02] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:27:02] local.INFO: IMEI packet received {"connection_id":159347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":159347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:27:02] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025089aa0012d9e4040055ad270000800082d..."} 
[2026-08-21 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025089aa0012d9e4040055ad270000800082d..."} 
[2026-08-21 21:27:02] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025089aa0012d9e4040055ad270000800082d..."} 
[2026-08-21 21:27:02] local.INFO: Packet analysis {"connection_id":159347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:27:02] local.INFO: Extracted packet for processing {"connection_id":159347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":765345856,"raw_latitude":89838192,"longitude_deg":76.5345856,"latitude_deg":8.9838192,"altitude":8,"angle":8,"satellites":45,"speed":3,"hex_longitude":"2d9e4040","hex_latitude":"055ad270","is_valid_coordinates":true} 
[2026-08-21 21:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555894016001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601210648657920,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043559425464797184,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787327716000,"timestamp_ms":1787327716000,"timestamp_seconds":1787327716,"priority":1,"record_length":96,"hex_timestamp":"000001a025089aa0"} 
[2026-08-21 21:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:27:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 21:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555894016001,"66":27343,"248":206,"84":7168,"24":3,"16":388601210648657920,"45":-7043559425464797184},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555894016001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:27:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601210648657920,"km_value":388601210648657.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043559425464797184,"description":"Unknown IO ID 45"} 
[2026-08-21 21:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555894016001,"power":27343,"tamper_alert":206,"unknown_84":7168,"ignition":3,"odometer":null,"unknown_45":-7043559425464797184}} 
[2026-08-21 21:27:02] local.INFO: DEBUG: GPS processor result {"connection_id":159347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:27:02] local.INFO: GPS data processed {"connection_id":159347,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:27:02] local.INFO: Acknowledgment sent {"connection_id":159347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:27:05] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:27:05] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:27:05] local.INFO: IMEI packet received {"connection_id":160545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":160545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:27:06] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:27:06] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:27:06] local.INFO: Packet analysis {"connection_id":160545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:27:06] local.INFO: Extracted packet for processing {"connection_id":160545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:27:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:27:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":160545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:27:06] local.INFO: GPS data processed {"connection_id":160545,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:27:06] local.INFO: Acknowledgment sent {"connection_id":160545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:27:34] local.INFO: TCP Data received {"connection_id":159347,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02508c598012d9e4180055adf70000801652d..."} 
[2026-08-21 21:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02508c598012d9e4180055adf70000801652d..."} 
[2026-08-21 21:27:34] local.INFO: Processing buffer {"connection_id":159347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02508c598012d9e4180055adf70000801652d..."} 
[2026-08-21 21:27:34] local.INFO: Packet analysis {"connection_id":159347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:27:34] local.INFO: Extracted packet for processing {"connection_id":159347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02508"} 
[2026-08-21 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":765346176,"raw_latitude":89841520,"longitude_deg":76.5346176,"latitude_deg":8.984152,"altitude":8,"angle":357,"satellites":45,"speed":15,"hex_longitude":"2d9e4180","hex_latitude":"055adf70","is_valid_coordinates":true} 
[2026-08-21 21:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555895296001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601373857415168,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043559425464700928,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327727000,"timestamp_ms":1787327727000,"timestamp_seconds":1787327727,"priority":1,"record_length":96,"hex_timestamp":"000001a02508c598"} 
[2026-08-21 21:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 21:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555895296001,"66":27267,"248":206,"84":7168,"24":15,"16":388601373857415168,"45":-7043559425464700928},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555895296001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:27:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601373857415168,"km_value":388601373857415.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043559425464700928,"description":"Unknown IO ID 45"} 
[2026-08-21 21:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555895296001,"power":27267,"tamper_alert":206,"unknown_84":7168,"ignition":15,"odometer":null,"unknown_45":-7043559425464700928}} 
[2026-08-21 21:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":159347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:27:34] local.INFO: GPS data processed {"connection_id":159347,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:27:34] local.INFO: Acknowledgment sent {"connection_id":159347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:27:37] local.INFO: TCP Data received {"connection_id":160545,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:27:37] local.INFO: Processing buffer {"connection_id":160545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:27:37] local.INFO: Packet analysis {"connection_id":160545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:27:37] local.INFO: Extracted packet for processing {"connection_id":160545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:27:37] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":160545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:27:37] local.INFO: GPS data processed {"connection_id":160545,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:27:37] local.INFO: Acknowledgment sent {"connection_id":160545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:28:00] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:28:00] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:28:00] local.INFO: IMEI packet received {"connection_id":159349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":159349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:28:02] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:02] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:02] local.INFO: IMEI packet received {"connection_id":159348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":159348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:28:06] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:28:06] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:28:06] local.INFO: IMEI packet received {"connection_id":159349,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":159349,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:28:06] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:28:06] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:28:06] local.INFO: Packet analysis {"connection_id":159349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:06] local.INFO: Extracted packet for processing {"connection_id":159349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:28:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":159349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:28:07] local.INFO: GPS data processed {"connection_id":159349,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:28:07] local.INFO: Acknowledgment sent {"connection_id":159349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:28:07] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:07] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:07] local.INFO: IMEI packet received {"connection_id":159348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":159348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:28:08] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025090030012d9e40c0055b0410000700012d..."} 
[2026-08-21 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090030012d9e40c0055b0410000700012d..."} 
[2026-08-21 21:28:08] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090030012d9e40c0055b0410000700012d..."} 
[2026-08-21 21:28:08] local.INFO: Packet analysis {"connection_id":159348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:08] local.INFO: Extracted packet for processing {"connection_id":159348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":765345984,"raw_latitude":89850896,"longitude_deg":76.5345984,"latitude_deg":8.9850896,"altitude":7,"angle":1,"satellites":45,"speed":30,"hex_longitude":"2d9e40c0","hex_latitude":"055b0410","is_valid_coordinates":true} 
[2026-08-21 21:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555898112001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388601829123948544,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043207581742960640,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787327742000,"timestamp_ms":1787327742000,"timestamp_seconds":1787327742,"priority":1,"record_length":96,"hex_timestamp":"000001a025090030"} 
[2026-08-21 21:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 21:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555898112001,"66":27376,"248":206,"84":7168,"24":30,"16":388601829123948544,"45":-7043207581742960640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555898112001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:28:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388601829123948544,"km_value":388601829123948.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043207581742960640,"description":"Unknown IO ID 45"} 
[2026-08-21 21:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555898112001,"power":27376,"tamper_alert":206,"unknown_84":7168,"ignition":30,"odometer":null,"unknown_45":-7043207581742960640}} 
[2026-08-21 21:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":159348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:28:08] local.INFO: GPS data processed {"connection_id":159348,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:28:08] local.INFO: Acknowledgment sent {"connection_id":159348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:28:09] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025092b28012d9e3f40055b2788000601622c..."} 
[2026-08-21 21:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025092b28012d9e3f40055b2788000601622c..."} 
[2026-08-21 21:28:09] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025092b28012d9e3f40055b2788000601622c..."} 
[2026-08-21 21:28:09] local.INFO: Packet analysis {"connection_id":159348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:09] local.INFO: Extracted packet for processing {"connection_id":159348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:09] local.INFO: GPS Element Parsed {"raw_longitude":765345600,"raw_latitude":89859976,"longitude_deg":76.53456,"latitude_deg":8.9859976,"altitude":6,"angle":354,"satellites":44,"speed":34,"hex_longitude":"2d9e3f40","hex_latitude":"055b2788","is_valid_coordinates":true} 
[2026-08-21 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555901952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388602271505580032,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043418687973093376,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787327753000,"timestamp_ms":1787327753000,"timestamp_seconds":1787327753,"priority":1,"record_length":96,"hex_timestamp":"000001a025092b28"} 
[2026-08-21 21:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555901952001,"66":27365,"248":206,"84":7168,"24":34,"16":388602271505580032,"45":-7043418687973093376},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,84,24,16,45]} 
[2026-08-21 21:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555901952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:28:09] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388602271505580032,"km_value":388602271505580.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043418687973093376,"description":"Unknown IO ID 45"} 
[2026-08-21 21:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555901952001,"power":27365,"tamper_alert":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7043418687973093376}} 
[2026-08-21 21:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":159348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:28:09] local.INFO: GPS data processed {"connection_id":159348,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:28:09] local.INFO: Acknowledgment sent {"connection_id":159348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:28:39] local.INFO: TCP Data received {"connection_id":159349,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:28:39] local.INFO: Processing buffer {"connection_id":159349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:28:39] local.INFO: Packet analysis {"connection_id":159349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:39] local.INFO: Extracted packet for processing {"connection_id":159349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159349,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:28:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:28:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":159349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:28:40] local.INFO: GPS data processed {"connection_id":159349,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:28:40] local.INFO: Acknowledgment sent {"connection_id":159349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:28:46] local.INFO: TCP Data received {"connection_id":159348,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025095620012d9e3940055b4b400007015b2c..."} 
[2026-08-21 21:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025095620012d9e3940055b4b400007015b2c..."} 
[2026-08-21 21:28:46] local.INFO: Processing buffer {"connection_id":159348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025095620012d9e3940055b4b400007015b2c..."} 
[2026-08-21 21:28:46] local.INFO: Packet analysis {"connection_id":159348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:46] local.INFO: Extracted packet for processing {"connection_id":159348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:28:46] local.INFO: GPS Element Parsed {"raw_longitude":765344064,"raw_latitude":89869120,"longitude_deg":76.5344064,"latitude_deg":8.986912,"altitude":7,"angle":347,"satellites":44,"speed":33,"hex_longitude":"2d9e3940","hex_latitude":"055b4b40","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555904768001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388602722477146112,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7043840900435834880,"note":"Value kept but may cause issues"} 
[2026-08-21 21:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787327764000,"timestamp_ms":1787327764000,"timestamp_seconds":1787327764,"priority":1,"record_length":96,"hex_timestamp":"000001a025095620"} 
[2026-08-21 21:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 21:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":159348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":159348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555904768001,"66":27484,"247":206,"84":7168,"24":33,"16":388602722477146112,"45":-7043840900435834880},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-21 21:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555904768001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:28:46] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388602722477146112,"km_value":388602722477146.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7043840900435834880,"description":"Unknown IO ID 45"} 
[2026-08-21 21:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555904768001,"power":27484,"internal_battery_voltage":206,"unknown_84":7168,"ignition":33,"odometer":null,"unknown_45":-7043840900435834880}} 
[2026-08-21 21:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":159348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:28:46] local.INFO: GPS data processed {"connection_id":159348,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:28:46] local.INFO: Acknowledgment sent {"connection_id":159348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:28:53] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:53] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:53] local.INFO: IMEI packet received {"connection_id":160546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":160546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:28:56] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:56] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:28:56] local.INFO: IMEI packet received {"connection_id":160546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":160546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:29:02] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:29:02] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:29:02] local.INFO: IMEI packet received {"connection_id":160546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":160546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:29:02] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025098118012d9e3100055b70600007015a2d..."} 
[2026-08-21 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025098118012d9e3100055b70600007015a2d..."} 
[2026-08-21 21:29:02] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025098118012d9e3100055b70600007015a2d..."} 
[2026-08-21 21:29:02] local.INFO: Packet analysis {"connection_id":160546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:29:02] local.INFO: Extracted packet for processing {"connection_id":160546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:29:02] local.INFO: GPS Element Parsed {"raw_longitude":765341952,"raw_latitude":89878624,"longitude_deg":76.5341952,"latitude_deg":8.9878624,"altitude":7,"angle":346,"satellites":45,"speed":36,"hex_longitude":"2d9e3100","hex_latitude":"055b7060","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555907584001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388603194923548672,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045529750293757952,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787327775000,"timestamp_ms":1787327775000,"timestamp_seconds":1787327775,"priority":1,"record_length":96,"hex_timestamp":"000001a025098118"} 
[2026-08-21 21:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 21:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555907584001,"66":27267,"247":206,"84":7168,"24":36,"16":388603194923548672,"45":-7045529750293757952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,84,24,16,45]} 
[2026-08-21 21:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555907584001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:29:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388603194923548672,"km_value":388603194923548.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045529750293757952,"description":"Unknown IO ID 45"} 
[2026-08-21 21:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555907584001,"power":27267,"internal_battery_voltage":206,"unknown_84":7168,"ignition":36,"odometer":null,"unknown_45":-7045529750293757952}} 
[2026-08-21 21:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":160546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:29:03] local.INFO: GPS data processed {"connection_id":160546,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:29:03] local.INFO: Acknowledgment sent {"connection_id":160546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:29:05] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:29:05] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:29:05] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:29:10] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:29:10] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:29:10] local.INFO: IMEI packet received {"connection_id":161943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":161943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:29:11] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:29:11] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:29:11] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:29:11] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:29:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:29:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:29:11] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:29:11] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:29:34] local.INFO: TCP Data received {"connection_id":160546,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250b88a0012d9dfc80055cd2880005000b2e..."} 
[2026-08-21 21:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250b88a0012d9dfc80055cd2880005000b2e..."} 
[2026-08-21 21:29:34] local.INFO: Processing buffer {"connection_id":160546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250b88a0012d9dfc80055cd2880005000b2e..."} 
[2026-08-21 21:29:34] local.INFO: Packet analysis {"connection_id":160546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250b"} 
[2026-08-21 21:29:34] local.INFO: Extracted packet for processing {"connection_id":160546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250b"} 
[2026-08-21 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":765328512,"raw_latitude":89969288,"longitude_deg":76.5328512,"latitude_deg":8.9969288,"altitude":5,"angle":11,"satellites":46,"speed":34,"hex_longitude":"2d9dfc80","hex_latitude":"055cd288","is_valid_coordinates":true} 
[2026-08-21 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555941376001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388607696049274880,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7063966361245020160,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327908000,"timestamp_ms":1787327908000,"timestamp_seconds":1787327908,"priority":1,"record_length":96,"hex_timestamp":"000001a0250b88a0"} 
[2026-08-21 21:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 21:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:29:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555941376001,"66":27245,"145":206,"84":7168,"24":34,"16":388607696049274880,"45":-7063966361245020160},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-21 21:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555941376001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:29:34] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 21:29:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388607696049274880,"km_value":388607696049274.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7063966361245020160,"description":"Unknown IO ID 45"} 
[2026-08-21 21:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555941376001,"power":27245,"unknown_145":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7063966361245020160}} 
[2026-08-21 21:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":160546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:29:34] local.INFO: GPS data processed {"connection_id":160546,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:29:34] local.INFO: Acknowledgment sent {"connection_id":160546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:29:44] local.INFO: TCP Data received {"connection_id":161943,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:29:44] local.INFO: Processing buffer {"connection_id":161943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:29:44] local.INFO: Packet analysis {"connection_id":161943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:29:44] local.INFO: Extracted packet for processing {"connection_id":161943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:29:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:29:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":161943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:29:44] local.INFO: GPS data processed {"connection_id":161943,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:29:44] local.INFO: Acknowledgment sent {"connection_id":161943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:29:57] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:29:57] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:29:57] local.INFO: IMEI packet received {"connection_id":159350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":159350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:30:01] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:30:01] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:30:01] local.INFO: IMEI packet received {"connection_id":159351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":159351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:30:02] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:30:02] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:30:02] local.INFO: IMEI packet received {"connection_id":159350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":159350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:30:03] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250bafb0012d9e0600055cf5f8000500122d..."} 
[2026-08-21 21:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250bafb0012d9e0600055cf5f8000500122d..."} 
[2026-08-21 21:30:03] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250bafb0012d9e0600055cf5f8000500122d..."} 
[2026-08-21 21:30:03] local.INFO: Packet analysis {"connection_id":159350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250b"} 
[2026-08-21 21:30:03] local.INFO: Extracted packet for processing {"connection_id":159350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250b"} 
[2026-08-21 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":765330944,"raw_latitude":89978360,"longitude_deg":76.5330944,"latitude_deg":8.997836,"altitude":5,"angle":18,"satellites":45,"speed":36,"hex_longitude":"2d9e0600","hex_latitude":"055cf5f8","is_valid_coordinates":true} 
[2026-08-21 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555944448001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388608151315808256,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7062629355103287296,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327918000,"timestamp_ms":1787327918000,"timestamp_seconds":1787327918,"priority":1,"record_length":96,"hex_timestamp":"000001a0250bafb0"} 
[2026-08-21 21:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 21:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:30: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-08-21 21:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555944448001,"66":27376,"145":206,"84":7168,"24":36,"16":388608151315808256,"45":-7062629355103287296},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-21 21:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555944448001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:30:03] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 21:30:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388608151315808256,"km_value":388608151315808.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7062629355103287296,"description":"Unknown IO ID 45"} 
[2026-08-21 21:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555944448001,"power":27376,"unknown_145":206,"unknown_84":7168,"ignition":36,"odometer":null,"unknown_45":-7062629355103287296}} 
[2026-08-21 21:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":159350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:30:03] local.INFO: GPS data processed {"connection_id":159350,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:30:03] local.INFO: Acknowledgment sent {"connection_id":159350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:30:08] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:30:08] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:30:08] local.INFO: IMEI packet received {"connection_id":159351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":159351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:30:09] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:30:09] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:30:09] local.INFO: Packet analysis {"connection_id":159351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:30:09] local.INFO: Extracted packet for processing {"connection_id":159351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:30:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:30:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:30:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":159351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:30:09] local.INFO: GPS data processed {"connection_id":159351,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:30:09] local.INFO: Acknowledgment sent {"connection_id":159351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:30:34] local.INFO: TCP Data received {"connection_id":159350,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250bdaa8012d9e14c0055d1900000500182d..."} 
[2026-08-21 21:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250bdaa8012d9e14c0055d1900000500182d..."} 
[2026-08-21 21:30:34] local.INFO: Processing buffer {"connection_id":159350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250bdaa8012d9e14c0055d1900000500182d..."} 
[2026-08-21 21:30:34] local.INFO: Packet analysis {"connection_id":159350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250b"} 
[2026-08-21 21:30:34] local.INFO: Extracted packet for processing {"connection_id":159350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250b"} 
[2026-08-21 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":765334720,"raw_latitude":89987328,"longitude_deg":76.533472,"latitude_deg":8.9987328,"altitude":5,"angle":24,"satellites":45,"speed":34,"hex_longitude":"2d9e14c0","hex_latitude":"055d1900","is_valid_coordinates":true} 
[2026-08-21 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555947008001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388608619467243520,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7059955342822213632,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327929000,"timestamp_ms":1787327929000,"timestamp_seconds":1787327929,"priority":1,"record_length":96,"hex_timestamp":"000001a0250bdaa8"} 
[2026-08-21 21:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:30:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555947008001,"66":27343,"145":206,"84":7168,"24":34,"16":388608619467243520,"45":-7059955342822213632},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-21 21:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555947008001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:30:34] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 21:30:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388608619467243520,"km_value":388608619467243.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7059955342822213632,"description":"Unknown IO ID 45"} 
[2026-08-21 21:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555947008001,"power":27343,"unknown_145":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-7059955342822213632}} 
[2026-08-21 21:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":159350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:30:34] local.INFO: GPS data processed {"connection_id":159350,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:30:34] local.INFO: Acknowledgment sent {"connection_id":159350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:30:40] local.INFO: TCP Data received {"connection_id":159351,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:30:40] local.INFO: Processing buffer {"connection_id":159351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:30:40] local.INFO: Packet analysis {"connection_id":159351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:30:40] local.INFO: Extracted packet for processing {"connection_id":159351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:30:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:30:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:30:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":159351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:30:40] local.INFO: GPS data processed {"connection_id":159351,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:30:40] local.INFO: Acknowledgment sent {"connection_id":159351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:30:57] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:30:57] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:30:57] local.INFO: IMEI packet received {"connection_id":160547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":160547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:31:01] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:31:01] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:31:01] local.INFO: IMEI packet received {"connection_id":159352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":159352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:31:02] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:02] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:02] local.INFO: IMEI packet received {"connection_id":160547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":160547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:31:03] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250c05a0012d9e2780055d3a18000600212e..."} 
[2026-08-21 21:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250c05a0012d9e2780055d3a18000600212e..."} 
[2026-08-21 21:31:03] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250c05a0012d9e2780055d3a18000600212e..."} 
[2026-08-21 21:31:03] local.INFO: Packet analysis {"connection_id":160547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250c"} 
[2026-08-21 21:31:03] local.INFO: Extracted packet for processing {"connection_id":160547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250c"} 
[2026-08-21 21:31:03] local.INFO: GPS Element Parsed {"raw_longitude":765339520,"raw_latitude":89995800,"longitude_deg":76.533952,"latitude_deg":8.99958,"altitude":6,"angle":33,"satellites":46,"speed":35,"hex_longitude":"2d9e2780","hex_latitude":"055d3a18","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555949824001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388609091913646080,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7055803586913435648,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787327940000,"timestamp_ms":1787327940000,"timestamp_seconds":1787327940,"priority":1,"record_length":96,"hex_timestamp":"000001a0250c05a0"} 
[2026-08-21 21:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 21:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:31: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-08-21 21:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555949824001,"66":27267,"145":206,"84":7168,"24":35,"16":388609091913646080,"45":-7055803586913435648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-21 21:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555949824001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:31:03] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 21:31:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388609091913646080,"km_value":388609091913646.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7055803586913435648,"description":"Unknown IO ID 45"} 
[2026-08-21 21:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555949824001,"power":27267,"unknown_145":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-7055803586913435648}} 
[2026-08-21 21:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":160547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:31:03] local.INFO: GPS data processed {"connection_id":160547,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:31:03] local.INFO: Acknowledgment sent {"connection_id":160547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:31:06] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:31:06] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:31:06] local.INFO: IMEI packet received {"connection_id":159352,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":159352,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:31:08] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:31:08] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:31:08] local.INFO: Packet analysis {"connection_id":159352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:31:08] local.INFO: Extracted packet for processing {"connection_id":159352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:31:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":159352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:31:08] local.INFO: GPS data processed {"connection_id":159352,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:31:08] local.INFO: Acknowledgment sent {"connection_id":159352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:31:25] local.INFO: TCP Data received {"connection_id":159352,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:31:25] local.INFO: Processing buffer {"connection_id":159352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025090fd0012d196540071feff80044001126..."} 
[2026-08-21 21:31:25] local.INFO: Packet analysis {"connection_id":159352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:31:25] local.INFO: Extracted packet for processing {"connection_id":159352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02509"} 
[2026-08-21 21:31:25] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555825920001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31: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-08-21 21:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1787327746000,"timestamp_ms":1787327746000,"timestamp_seconds":1787327746,"priority":1,"record_length":96,"hex_timestamp":"000001a025090fd0"} 
[2026-08-21 21:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:31:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:31: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-08-21 21:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":159352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":159352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":159352,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555825920001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555825920001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:31:25] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:31:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555825920001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:31:25] local.INFO: DEBUG: GPS processor result {"connection_id":159352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:31:25] local.INFO: GPS data processed {"connection_id":159352,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:31:25] local.INFO: Acknowledgment sent {"connection_id":159352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:31:34] local.INFO: TCP Data received {"connection_id":160547,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250c3098012d9e3ac0055d58e8000500202e..."} 
[2026-08-21 21:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250c3098012d9e3ac0055d58e8000500202e..."} 
[2026-08-21 21:31:34] local.INFO: Processing buffer {"connection_id":160547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250c3098012d9e3ac0055d58e8000500202e..."} 
[2026-08-21 21:31:34] local.INFO: Packet analysis {"connection_id":160547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250c"} 
[2026-08-21 21:31:34] local.INFO: Extracted packet for processing {"connection_id":160547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250c"} 
[2026-08-21 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":765344448,"raw_latitude":90003688,"longitude_deg":76.5344448,"latitude_deg":9.0003688,"altitude":5,"angle":32,"satellites":46,"speed":29,"hex_longitude":"2d9e3ac0","hex_latitude":"055d58e8","is_valid_coordinates":true} 
[2026-08-21 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555952640001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388609542885212160,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7050525931097942016,"note":"Value kept but may cause issues"} 
[2026-08-21 21:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787327951000,"timestamp_ms":1787327951000,"timestamp_seconds":1787327951,"priority":1,"record_length":96,"hex_timestamp":"000001a0250c3098"} 
[2026-08-21 21:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 21:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555952640001,"66":27376,"145":206,"84":7168,"24":29,"16":388609542885212160,"45":-7050525931097942016},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,84,24,16,45]} 
[2026-08-21 21:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555952640001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:31:34] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-08-21 21:31:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388609542885212160,"km_value":388609542885212.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7050525931097942016,"description":"Unknown IO ID 45"} 
[2026-08-21 21:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555952640001,"power":27376,"unknown_145":206,"unknown_84":7168,"ignition":29,"odometer":null,"unknown_45":-7050525931097942016}} 
[2026-08-21 21:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":160547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:31:34] local.INFO: GPS data processed {"connection_id":160547,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:31:34] local.INFO: Acknowledgment sent {"connection_id":160547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:31:55] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:55] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:55] local.INFO: IMEI packet received {"connection_id":159629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":159629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:31:56] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:56] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:31:56] local.INFO: IMEI packet received {"connection_id":159629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":159629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:32:02] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:32:02] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:32:02] local.INFO: IMEI packet received {"connection_id":159629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":159629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:32:02] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250c7300012d9e4d80055d76200005001e2d..."} 
[2026-08-21 21:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250c7300012d9e4d80055d76200005001e2d..."} 
[2026-08-21 21:32:02] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250c7300012d9e4d80055d76200005001e2d..."} 
[2026-08-21 21:32:02] local.INFO: Packet analysis {"connection_id":159629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250c"} 
[2026-08-21 21:32:02] local.INFO: Extracted packet for processing {"connection_id":159629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250c"} 
[2026-08-21 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":765349248,"raw_latitude":90011168,"longitude_deg":76.5349248,"latitude_deg":9.0011168,"altitude":5,"angle":30,"satellites":45,"speed":18,"hex_longitude":"2d9e4d80","hex_latitude":"055d7620","is_valid_coordinates":true} 
[2026-08-21 21:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555955456001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388609972381941760,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045107537794242560,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787327968000,"timestamp_ms":1787327968000,"timestamp_seconds":1787327968,"priority":1,"record_length":96,"hex_timestamp":"000001a0250c7300"} 
[2026-08-21 21:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555955456001,"66":27234,"143":206,"84":7168,"24":18,"16":388609972381941760,"45":-7045107537794242560},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,84,24,16,45]} 
[2026-08-21 21:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555955456001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:32:02] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-08-21 21:32:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388609972381941760,"km_value":388609972381941.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045107537794242560,"description":"Unknown IO ID 45"} 
[2026-08-21 21:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555955456001,"power":27234,"unknown_143":206,"unknown_84":7168,"ignition":18,"odometer":null,"unknown_45":-7045107537794242560}} 
[2026-08-21 21:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":159629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:32:02] local.INFO: GPS data processed {"connection_id":159629,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:32:02] local.INFO: Acknowledgment sent {"connection_id":159629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:32:06] local.INFO: TCP Data received {"connection_id":159630,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:32:06] local.INFO: Processing buffer {"connection_id":159630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:32:06] local.INFO: IMEI packet received {"connection_id":159630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":159630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:32:11] local.INFO: TCP Data received {"connection_id":159630,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:32:11] local.INFO: Processing buffer {"connection_id":159630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:32:11] local.INFO: IMEI packet received {"connection_id":159630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":159630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:32:12] local.INFO: TCP Data received {"connection_id":159630,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:32:12] local.INFO: Processing buffer {"connection_id":159630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:32:12] local.INFO: Packet analysis {"connection_id":159630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:32:12] local.INFO: Extracted packet for processing {"connection_id":159630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555902976001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787328047000,"timestamp_ms":1787328047000,"timestamp_seconds":1787328047,"priority":1,"record_length":96,"hex_timestamp":"000001a0250da798"} 
[2026-08-21 21:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555902976001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555902976001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:32:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:32:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555902976001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":159630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:32:12] local.INFO: GPS data processed {"connection_id":159630,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:32:12] local.INFO: Acknowledgment sent {"connection_id":159630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:32:34] local.INFO: TCP Data received {"connection_id":159629,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250e6ed0012d9ea600055ed1080006015c2e..."} 
[2026-08-21 21:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250e6ed0012d9ea600055ed1080006015c2e..."} 
[2026-08-21 21:32:34] local.INFO: Processing buffer {"connection_id":159629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250e6ed0012d9ea600055ed1080006015c2e..."} 
[2026-08-21 21:32:34] local.INFO: Packet analysis {"connection_id":159629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:32:34] local.INFO: Extracted packet for processing {"connection_id":159629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:32:34] local.INFO: GPS Element Parsed {"raw_longitude":765371904,"raw_latitude":90099976,"longitude_deg":76.5371904,"latitude_deg":9.0099976,"altitude":6,"angle":348,"satellites":46,"speed":23,"hex_longitude":"2d9ea600","hex_latitude":"055ed108","is_valid_coordinates":true} 
[2026-08-21 21:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555990784001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388614456327798784,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014637871542157312,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787328098000,"timestamp_ms":1787328098000,"timestamp_seconds":1787328098,"priority":1,"record_length":96,"hex_timestamp":"000001a0250e6ed0"} 
[2026-08-21 21:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 21:32:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555990784001,"66":27332,"129":206,"84":7168,"24":23,"16":388614456327798784,"45":-7014637871542157312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,84,24,16,45]} 
[2026-08-21 21:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555990784001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:32:34] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 21:32:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388614456327798784,"km_value":388614456327798.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014637871542157312,"description":"Unknown IO ID 45"} 
[2026-08-21 21:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555990784001,"power":27332,"unknown_129":206,"unknown_84":7168,"ignition":23,"odometer":null,"unknown_45":-7014637871542157312}} 
[2026-08-21 21:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":159629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:32:34] local.INFO: GPS data processed {"connection_id":159629,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:32:34] local.INFO: Acknowledgment sent {"connection_id":159629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:32:44] local.INFO: TCP Data received {"connection_id":159630,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:32:44] local.INFO: Processing buffer {"connection_id":159630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:32:44] local.INFO: Packet analysis {"connection_id":159630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:32:44] local.INFO: Extracted packet for processing {"connection_id":159630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555902976001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787328047000,"timestamp_ms":1787328047000,"timestamp_seconds":1787328047,"priority":1,"record_length":96,"hex_timestamp":"000001a0250da798"} 
[2026-08-21 21:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555902976001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555902976001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:32:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:32:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555902976001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":159630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:32:44] local.INFO: GPS data processed {"connection_id":159630,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:32:44] local.INFO: Acknowledgment sent {"connection_id":159630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:32:56] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:32:56] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:32:56] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:33:01] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:33:01] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:33:01] local.INFO: IMEI packet received {"connection_id":159353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":159353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:33:04] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:33:04] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:33:04] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:33:05] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:33:06] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:33:06] local.INFO: IMEI packet received {"connection_id":159353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":159353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:33:06] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:06] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:06] local.INFO: Packet analysis {"connection_id":159353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:33:06] local.INFO: Extracted packet for processing {"connection_id":159353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:33:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555902976001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328047000,"timestamp_ms":1787328047000,"timestamp_seconds":1787328047,"priority":1,"record_length":96,"hex_timestamp":"000001a0250da798"} 
[2026-08-21 21:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555902976001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555902976001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555902976001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":159353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:33:06] local.INFO: GPS data processed {"connection_id":159353,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:33:06] local.INFO: Acknowledgment sent {"connection_id":159353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:33:07] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:33:07] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:33:07] local.INFO: IMEI packet received {"connection_id":161944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":161944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:33:08] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250e72b8012d9ea540055ed338000601512d..."} 
[2026-08-21 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250e72b8012d9ea540055ed338000601512d..."} 
[2026-08-21 21:33:08] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250e72b8012d9ea540055ed338000601512d..."} 
[2026-08-21 21:33:08] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:33:08] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":765371712,"raw_latitude":90100536,"longitude_deg":76.5371712,"latitude_deg":9.0100536,"altitude":6,"angle":337,"satellites":45,"speed":22,"hex_longitude":"2d9ea540","hex_latitude":"055ed338","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555993088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388614482097602560,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7014919346517374976,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787328099000,"timestamp_ms":1787328099000,"timestamp_seconds":1787328099,"priority":1,"record_length":96,"hex_timestamp":"000001a0250e72b8"} 
[2026-08-21 21:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 21:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555993088001,"66":27332,"129":206,"84":7168,"24":22,"16":388614482097602560,"45":-7014919346517374976},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,84,24,16,45]} 
[2026-08-21 21:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555993088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-08-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388614482097602560,"km_value":388614482097602.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7014919346517374976,"description":"Unknown IO ID 45"} 
[2026-08-21 21:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555993088001,"power":27332,"unknown_129":206,"unknown_84":7168,"ignition":22,"odometer":null,"unknown_45":-7014919346517374976}} 
[2026-08-21 21:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:33:08] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:33:08] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:33:11] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:11] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:11] local.INFO: Packet analysis {"connection_id":159353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:33:11] local.INFO: Extracted packet for processing {"connection_id":159353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:33:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555902976001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787328047000,"timestamp_ms":1787328047000,"timestamp_seconds":1787328047,"priority":1,"record_length":96,"hex_timestamp":"000001a0250da798"} 
[2026-08-21 21:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555902976001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555902976001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:33:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:33:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555902976001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":159353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:33:11] local.INFO: GPS data processed {"connection_id":159353,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:33:11] local.INFO: Acknowledgment sent {"connection_id":159353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:33:38] local.INFO: TCP Data received {"connection_id":161944,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250e8640012d9ea0c0055ede200006015e2b..."} 
[2026-08-21 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250e8640012d9ea0c0055ede200006015e2b..."} 
[2026-08-21 21:33:38] local.INFO: Processing buffer {"connection_id":161944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250e8640012d9ea0c0055ede200006015e2b..."} 
[2026-08-21 21:33:38] local.INFO: Packet analysis {"connection_id":161944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:33:38] local.INFO: Extracted packet for processing {"connection_id":161944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":765370560,"raw_latitude":90103328,"longitude_deg":76.537056,"latitude_deg":9.0103328,"altitude":6,"angle":350,"satellites":43,"speed":27,"hex_longitude":"2d9ea0c0","hex_latitude":"055ede20","is_valid_coordinates":true} 
[2026-08-21 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555993344001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388614632421457920,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7015130452749764608,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787328104000,"timestamp_ms":1787328104000,"timestamp_seconds":1787328104,"priority":1,"record_length":96,"hex_timestamp":"000001a0250e8640"} 
[2026-08-21 21:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 21:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555993344001,"66":27365,"128":206,"84":7168,"24":27,"16":388614632421457920,"45":-7015130452749764608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-21 21:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555993344001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:33:38] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-21 21:33:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388614632421457920,"km_value":388614632421457.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7015130452749764608,"description":"Unknown IO ID 45"} 
[2026-08-21 21:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555993344001,"power":27365,"unknown_128":206,"unknown_84":7168,"ignition":27,"odometer":null,"unknown_45":-7015130452749764608}} 
[2026-08-21 21:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":161944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:33:38] local.INFO: GPS data processed {"connection_id":161944,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:33:38] local.INFO: Acknowledgment sent {"connection_id":161944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:33:45] local.INFO: TCP Data received {"connection_id":159353,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:45] local.INFO: Processing buffer {"connection_id":159353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250da798012d196540071feff80044001126..."} 
[2026-08-21 21:33:45] local.INFO: Packet analysis {"connection_id":159353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:33:45] local.INFO: Extracted packet for processing {"connection_id":159353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250d"} 
[2026-08-21 21:33:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":38,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555902976001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787328047000,"timestamp_ms":1787328047000,"timestamp_seconds":1787328047,"priority":1,"record_length":96,"hex_timestamp":"000001a0250da798"} 
[2026-08-21 21:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:33: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-08-21 21:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555902976001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555902976001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:33:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:33:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555902976001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":159353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:33:45] local.INFO: GPS data processed {"connection_id":159353,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:33:45] local.INFO: Acknowledgment sent {"connection_id":159353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:34:02] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:02] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:02] local.INFO: IMEI packet received {"connection_id":159631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":159631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:34:05] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:05] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:05] local.INFO: IMEI packet received {"connection_id":159631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":159631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:34:06] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:06] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:06] local.INFO: IMEI packet received {"connection_id":159632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":159632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:34:06] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250ebcf0012d9e97c0055eff980005015829..."} 
[2026-08-21 21:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250ebcf0012d9e97c0055eff980005015829..."} 
[2026-08-21 21:34:06] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250ebcf0012d9e97c0055eff980005015829..."} 
[2026-08-21 21:34:06] local.INFO: Packet analysis {"connection_id":159631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:34:06] local.INFO: Extracted packet for processing {"connection_id":159631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250e"} 
[2026-08-21 21:34:06] local.INFO: GPS Element Parsed {"raw_longitude":765368256,"raw_latitude":90111896,"longitude_deg":76.5368256,"latitude_deg":9.0111896,"altitude":5,"angle":344,"satellites":41,"speed":28,"hex_longitude":"2d9e97c0","hex_latitude":"055eff98","is_valid_coordinates":true} 
[2026-08-21 21:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555994624001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388615061918187520,"note":"Value kept but may cause issues"} 
[2026-08-21 21:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7016397090144247808,"note":"Value kept but may cause issues"} 
[2026-08-21 21:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328118000,"timestamp_ms":1787328118000,"timestamp_seconds":1787328118,"priority":1,"record_length":96,"hex_timestamp":"000001a0250ebcf0"} 
[2026-08-21 21:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:34: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-08-21 21:34:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 21:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:34:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555994624001,"66":27267,"128":206,"84":7168,"24":28,"16":388615061918187520,"45":-7016397090144247808},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-21 21:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555994624001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:34:06] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-21 21:34:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388615061918187520,"km_value":388615061918187.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7016397090144247808,"description":"Unknown IO ID 45"} 
[2026-08-21 21:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555994624001,"power":27267,"unknown_128":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-7016397090144247808}} 
[2026-08-21 21:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":159631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:34:06] local.INFO: GPS data processed {"connection_id":159631,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:34:06] local.INFO: Acknowledgment sent {"connection_id":159631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:34:36] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:36] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:36] local.INFO: IMEI packet received {"connection_id":159632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:34:36] local.INFO: IMEI acknowledgment sent {"connection_id":159632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:34:37] local.INFO: TCP Data received {"connection_id":159631,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0250f0b10012d9e8e80055f2210000701582c..."} 
[2026-08-21 21:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0250f0b10012d9e8e80055f2210000701582c..."} 
[2026-08-21 21:34:37] local.INFO: Processing buffer {"connection_id":159631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0250f0b10012d9e8e80055f2210000701582c..."} 
[2026-08-21 21:34:37] local.INFO: Packet analysis {"connection_id":159631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0250f"} 
[2026-08-21 21:34:37] local.INFO: Extracted packet for processing {"connection_id":159631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0250f"} 
[2026-08-21 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":765365888,"raw_latitude":90120720,"longitude_deg":76.5365888,"latitude_deg":9.012072,"altitude":7,"angle":344,"satellites":44,"speed":20,"hex_longitude":"2d9e8e80","hex_latitude":"055f2210","is_valid_coordinates":true} 
[2026-08-21 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555998208001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388615504299819008,"note":"Value kept but may cause issues"} 
[2026-08-21 21:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7018930364932450304,"note":"Value kept but may cause issues"} 
[2026-08-21 21:34:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787328138000,"timestamp_ms":1787328138000,"timestamp_seconds":1787328138,"priority":1,"record_length":96,"hex_timestamp":"000001a0250f0b10"} 
[2026-08-21 21:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:34: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-08-21 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 21:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555998208001,"66":27365,"128":206,"84":7168,"24":20,"16":388615504299819008,"45":-7018930364932450304},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,84,24,16,45]} 
[2026-08-21 21:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555998208001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:34:37] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-08-21 21:34:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388615504299819008,"km_value":388615504299819.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7018930364932450304,"description":"Unknown IO ID 45"} 
[2026-08-21 21:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555998208001,"power":27365,"unknown_128":206,"unknown_84":7168,"ignition":20,"odometer":null,"unknown_45":-7018930364932450304}} 
[2026-08-21 21:34:37] local.INFO: DEBUG: GPS processor result {"connection_id":159631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:34:37] local.INFO: GPS data processed {"connection_id":159631,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:34:37] local.INFO: Acknowledgment sent {"connection_id":159631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:34:43] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:43] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:43] local.INFO: IMEI packet received {"connection_id":159632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":159632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:34:46] local.INFO: TCP Data received {"connection_id":159632,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:46] local.INFO: Processing buffer {"connection_id":159632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:34:46] local.INFO: IMEI packet received {"connection_id":159632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:34:46] local.INFO: IMEI acknowledgment sent {"connection_id":159632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:34:57] local.INFO: TCP Data received {"connection_id":159354,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:57] local.INFO: Processing buffer {"connection_id":159354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:34:57] local.INFO: IMEI packet received {"connection_id":159354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":159354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:35:05] local.INFO: TCP Data received {"connection_id":159354,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:05] local.INFO: Processing buffer {"connection_id":159354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:05] local.INFO: IMEI packet received {"connection_id":159354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":159354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:35:06] local.INFO: TCP Data received {"connection_id":159354,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025108210012d9ef68005606470000a002a2e..."} 
[2026-08-21 21:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025108210012d9ef68005606470000a002a2e..."} 
[2026-08-21 21:35:06] local.INFO: Processing buffer {"connection_id":159354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025108210012d9ef68005606470000a002a2e..."} 
[2026-08-21 21:35:06] local.INFO: Packet analysis {"connection_id":159354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02510"} 
[2026-08-21 21:35:06] local.INFO: Extracted packet for processing {"connection_id":159354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02510"} 
[2026-08-21 21:35:06] local.INFO: GPS Element Parsed {"raw_longitude":765392512,"raw_latitude":90203248,"longitude_deg":76.5392512,"latitude_deg":9.0203248,"altitude":10,"angle":42,"satellites":46,"speed":41,"hex_longitude":"2d9ef680","hex_latitude":"05606470","is_valid_coordinates":true} 
[2026-08-21 21:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556025600001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388619949590970368,"note":"Value kept but may cause issues"} 
[2026-08-21 21:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6999649329006192640,"note":"Value kept but may cause issues"} 
[2026-08-21 21:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328234000,"timestamp_ms":1787328234000,"timestamp_seconds":1787328234,"priority":1,"record_length":96,"hex_timestamp":"000001a025108210"} 
[2026-08-21 21:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:35: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-08-21 21:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:35:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556025600001,"66":27267,"175":206,"84":7168,"24":41,"16":388619949590970368,"45":-6999649329006192640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 21:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556025600001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388619949590970368,"km_value":388619949590970.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6999649329006192640,"description":"Unknown IO ID 45"} 
[2026-08-21 21:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556025600001,"power":27267,"unknown_175":206,"unknown_84":7168,"ignition":41,"odometer":null,"unknown_45":-6999649329006192640}} 
[2026-08-21 21:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":159354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:35:06] local.INFO: GPS data processed {"connection_id":159354,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:35:06] local.INFO: Acknowledgment sent {"connection_id":159354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:35:39] local.INFO: TCP Data received {"connection_id":159354,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02510a920012d9f0f8005607e70000a002b2d..."} 
[2026-08-21 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02510a920012d9f0f8005607e70000a002b2d..."} 
[2026-08-21 21:35:39] local.INFO: Processing buffer {"connection_id":159354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02510a920012d9f0f8005607e70000a002b2d..."} 
[2026-08-21 21:35:39] local.INFO: Packet analysis {"connection_id":159354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02510"} 
[2026-08-21 21:35:39] local.INFO: Extracted packet for processing {"connection_id":159354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02510"} 
[2026-08-21 21:35:39] local.INFO: GPS Element Parsed {"raw_longitude":765398912,"raw_latitude":90209904,"longitude_deg":76.5398912,"latitude_deg":9.0209904,"altitude":10,"angle":43,"satellites":45,"speed":34,"hex_longitude":"2d9f0f80","hex_latitude":"05607e70","is_valid_coordinates":true} 
[2026-08-21 21:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556027904001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388620396267569152,"note":"Value kept but may cause issues"} 
[2026-08-21 21:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6992260610865729536,"note":"Value kept but may cause issues"} 
[2026-08-21 21:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787328244000,"timestamp_ms":1787328244000,"timestamp_seconds":1787328244,"priority":1,"record_length":96,"hex_timestamp":"000001a02510a920"} 
[2026-08-21 21:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 21:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556027904001,"66":27332,"175":206,"84":7168,"24":34,"16":388620396267569152,"45":-6992260610865729536},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 21:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556027904001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:35:39] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 21:35:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388620396267569152,"km_value":388620396267569.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6992260610865729536,"description":"Unknown IO ID 45"} 
[2026-08-21 21:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556027904001,"power":27332,"unknown_175":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-6992260610865729536}} 
[2026-08-21 21:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":159354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:35:39] local.INFO: GPS data processed {"connection_id":159354,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:35:39] local.INFO: Acknowledgment sent {"connection_id":159354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:35:55] local.INFO: TCP Data received {"connection_id":159633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:55] local.INFO: Processing buffer {"connection_id":159633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:55] local.INFO: IMEI packet received {"connection_id":159633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":159633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:35:56] local.INFO: TCP Data received {"connection_id":159633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:56] local.INFO: Processing buffer {"connection_id":159633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:35:56] local.INFO: IMEI packet received {"connection_id":159633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":159633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:36:02] local.INFO: TCP Data received {"connection_id":159633,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:36:02] local.INFO: Processing buffer {"connection_id":159633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:36:02] local.INFO: IMEI packet received {"connection_id":159633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":159633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:36:03] local.INFO: TCP Data received {"connection_id":159633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02510ef70012d9f2780056098c0000d002b2a..."} 
[2026-08-21 21:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02510ef70012d9f2780056098c0000d002b2a..."} 
[2026-08-21 21:36:03] local.INFO: Processing buffer {"connection_id":159633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02510ef70012d9f2780056098c0000d002b2a..."} 
[2026-08-21 21:36:03] local.INFO: Packet analysis {"connection_id":159633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02510"} 
[2026-08-21 21:36:03] local.INFO: Extracted packet for processing {"connection_id":159633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02510"} 
[2026-08-21 21:36:03] local.INFO: GPS Element Parsed {"raw_longitude":765405056,"raw_latitude":90216640,"longitude_deg":76.5405056,"latitude_deg":9.021664,"altitude":13,"angle":43,"satellites":42,"speed":24,"hex_longitude":"2d9f2780","hex_latitude":"056098c0","is_valid_coordinates":true} 
[2026-08-21 21:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556030464001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388620834354233344,"note":"Value kept but may cause issues"} 
[2026-08-21 21:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6985223736446259200,"note":"Value kept but may cause issues"} 
[2026-08-21 21:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787328262000,"timestamp_ms":1787328262000,"timestamp_seconds":1787328262,"priority":1,"record_length":96,"hex_timestamp":"000001a02510ef70"} 
[2026-08-21 21:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 21:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:36: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-08-21 21:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556030464001,"66":27267,"175":206,"84":7168,"24":24,"16":388620834354233344,"45":-6985223736446259200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 21:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556030464001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:36:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 21:36:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388620834354233344,"km_value":388620834354233.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6985223736446259200,"description":"Unknown IO ID 45"} 
[2026-08-21 21:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556030464001,"power":27267,"unknown_175":206,"unknown_84":7168,"ignition":24,"odometer":null,"unknown_45":-6985223736446259200}} 
[2026-08-21 21:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":159633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:36:03] local.INFO: GPS data processed {"connection_id":159633,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:36:03] local.INFO: Acknowledgment sent {"connection_id":159633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:36:36] local.INFO: TCP Data received {"connection_id":159633,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025111e50012d9f40400560b240000d002a2c..."} 
[2026-08-21 21:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025111e50012d9f40400560b240000d002a2c..."} 
[2026-08-21 21:36:36] local.INFO: Processing buffer {"connection_id":159633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025111e50012d9f40400560b240000d002a2c..."} 
[2026-08-21 21:36:36] local.INFO: Packet analysis {"connection_id":159633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02511"} 
[2026-08-21 21:36:36] local.INFO: Extracted packet for processing {"connection_id":159633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02511"} 
[2026-08-21 21:36:36] local.INFO: GPS Element Parsed {"raw_longitude":765411392,"raw_latitude":90223168,"longitude_deg":76.5411392,"latitude_deg":9.0223168,"altitude":13,"angle":42,"satellites":44,"speed":35,"hex_longitude":"2d9f4040","hex_latitude":"0560b240","is_valid_coordinates":true} 
[2026-08-21 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556035072001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388621272440897536,"note":"Value kept but may cause issues"} 
[2026-08-21 21:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6978468337003479040,"note":"Value kept but may cause issues"} 
[2026-08-21 21:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787328274000,"timestamp_ms":1787328274000,"timestamp_seconds":1787328274,"priority":1,"record_length":96,"hex_timestamp":"000001a025111e50"} 
[2026-08-21 21:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:36: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-08-21 21:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 21:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556035072001,"66":27310,"175":206,"84":7168,"24":35,"16":388621272440897536,"45":-6978468337003479040},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,84,24,16,45]} 
[2026-08-21 21:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556035072001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:36:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-08-21 21:36:36] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388621272440897536,"km_value":388621272440897.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6978468337003479040,"description":"Unknown IO ID 45"} 
[2026-08-21 21:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556035072001,"power":27310,"unknown_175":206,"unknown_84":7168,"ignition":35,"odometer":null,"unknown_45":-6978468337003479040}} 
[2026-08-21 21:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":159633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:36:36] local.INFO: GPS data processed {"connection_id":159633,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:36:36] local.INFO: Acknowledgment sent {"connection_id":159633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:36:56] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:36:56] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:36:56] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:37:02] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:37:02] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:37:02] local.INFO: IMEI packet received {"connection_id":161945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":161945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:37:03] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025114948012d9f57c00560cdf8000b00222d..."} 
[2026-08-21 21:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025114948012d9f57c00560cdf8000b00222d..."} 
[2026-08-21 21:37:03] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025114948012d9f57c00560cdf8000b00222d..."} 
[2026-08-21 21:37:03] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02511"} 
[2026-08-21 21:37:03] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02511"} 
[2026-08-21 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":765417408,"raw_latitude":90230264,"longitude_deg":76.5417408,"latitude_deg":9.0230264,"altitude":11,"angle":34,"satellites":45,"speed":31,"hex_longitude":"2d9f57c0","hex_latitude":"0560cdf8","is_valid_coordinates":true} 
[2026-08-21 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556038144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388621723412463616,"note":"Value kept but may cause issues"} 
[2026-08-21 21:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6971501831328219136,"note":"Value kept but may cause issues"} 
[2026-08-21 21:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787328285000,"timestamp_ms":1787328285000,"timestamp_seconds":1787328285,"priority":1,"record_length":96,"hex_timestamp":"000001a025114948"} 
[2026-08-21 21:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 21:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:37: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-08-21 21:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556038144001,"66":27300,"181":206,"84":7168,"24":31,"16":388621723412463616,"45":-6971501831328219136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,84,24,16,45]} 
[2026-08-21 21:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556038144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:37:03] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-21 21:37:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388621723412463616,"km_value":388621723412463.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6971501831328219136,"description":"Unknown IO ID 45"} 
[2026-08-21 21:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556038144001,"power":27300,"unknown_181":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-6971501831328219136}} 
[2026-08-21 21:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:37:03] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:37:03] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:37:34] local.INFO: TCP Data received {"connection_id":161945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025117828012d9f66c00560e878000c00172e..."} 
[2026-08-21 21:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025117828012d9f66c00560e878000c00172e..."} 
[2026-08-21 21:37:34] local.INFO: Processing buffer {"connection_id":161945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025117828012d9f66c00560e878000c00172e..."} 
[2026-08-21 21:37:34] local.INFO: Packet analysis {"connection_id":161945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02511"} 
[2026-08-21 21:37:34] local.INFO: Extracted packet for processing {"connection_id":161945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02511"} 
[2026-08-21 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":765421248,"raw_latitude":90237048,"longitude_deg":76.5421248,"latitude_deg":9.0237048,"altitude":12,"angle":23,"satellites":46,"speed":28,"hex_longitude":"2d9f66c0","hex_latitude":"0560e878","is_valid_coordinates":true} 
[2026-08-21 21:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556040960001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388622097074618368,"note":"Value kept but may cause issues"} 
[2026-08-21 21:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964887169373702144,"note":"Value kept but may cause issues"} 
[2026-08-21 21:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787328297000,"timestamp_ms":1787328297000,"timestamp_seconds":1787328297,"priority":1,"record_length":96,"hex_timestamp":"000001a025117828"} 
[2026-08-21 21:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556040960001,"66":27332,"181":206,"84":7168,"24":28,"16":388622097074618368,"45":-6964887169373702144},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,84,24,16,45]} 
[2026-08-21 21:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556040960001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:37:34] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-08-21 21:37:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388622097074618368,"km_value":388622097074618.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964887169373702144,"description":"Unknown IO ID 45"} 
[2026-08-21 21:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556040960001,"power":27332,"unknown_181":206,"unknown_84":7168,"ignition":28,"odometer":null,"unknown_45":-6964887169373702144}} 
[2026-08-21 21:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":161945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:37:34] local.INFO: GPS data processed {"connection_id":161945,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:37:34] local.INFO: Acknowledgment sent {"connection_id":161945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:38:02] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:02] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:02] local.INFO: IMEI packet received {"connection_id":159634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":159634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:38:05] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:05] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:05] local.INFO: IMEI packet received {"connection_id":159634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":159634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:38:06] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025132da8012d9f888005622a700008015b2f..."} 
[2026-08-21 21:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025132da8012d9f888005622a700008015b2f..."} 
[2026-08-21 21:38:06] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025132da8012d9f888005622a700008015b2f..."} 
[2026-08-21 21:38:06] local.INFO: Packet analysis {"connection_id":159634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:38:06] local.INFO: Extracted packet for processing {"connection_id":159634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:38:06] local.INFO: GPS Element Parsed {"raw_longitude":765429888,"raw_latitude":90319472,"longitude_deg":76.5429888,"latitude_deg":9.0319472,"altitude":8,"angle":347,"satellites":47,"speed":25,"hex_longitude":"2d9f8880","hex_latitude":"05622a70","is_valid_coordinates":true} 
[2026-08-21 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556072704001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388626142933811200,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6951165264236220416,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328409000,"timestamp_ms":1787328409000,"timestamp_seconds":1787328409,"priority":1,"record_length":96,"hex_timestamp":"000001a025132da8"} 
[2026-08-21 21:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:38: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-08-21 21:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 21:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556072704001,"66":27397,"245":206,"84":7168,"24":25,"16":388626142933811200,"45":-6951165264236220416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 21:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556072704001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:38:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388626142933811200,"km_value":388626142933811.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6951165264236220416,"description":"Unknown IO ID 45"} 
[2026-08-21 21:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556072704001,"power":27397,"geofence_id":206,"unknown_84":7168,"ignition":25,"odometer":null,"unknown_45":-6951165264236220416}} 
[2026-08-21 21:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":159634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:38:06] local.INFO: GPS data processed {"connection_id":159634,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:38:06] local.INFO: Acknowledgment sent {"connection_id":159634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:38:07] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025136070012d9f7d8005624d60000a01512d..."} 
[2026-08-21 21:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025136070012d9f7d8005624d60000a01512d..."} 
[2026-08-21 21:38:07] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025136070012d9f7d8005624d60000a01512d..."} 
[2026-08-21 21:38:07] local.INFO: Packet analysis {"connection_id":159634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:38:07] local.INFO: Extracted packet for processing {"connection_id":159634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:38:07] local.INFO: GPS Element Parsed {"raw_longitude":765427072,"raw_latitude":90328416,"longitude_deg":76.5427072,"latitude_deg":9.0328416,"altitude":10,"angle":337,"satellites":45,"speed":26,"hex_longitude":"2d9f7d80","hex_latitude":"05624d60","is_valid_coordinates":true} 
[2026-08-21 21:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556072704001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388626598200344576,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6951165264236220416,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787328422000,"timestamp_ms":1787328422000,"timestamp_seconds":1787328422,"priority":1,"record_length":96,"hex_timestamp":"000001a025136070"} 
[2026-08-21 21:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:38: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-08-21 21:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 21:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556072704001,"66":27376,"245":206,"84":7168,"24":26,"16":388626598200344576,"45":-6951165264236220416},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 21:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556072704001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:38:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388626598200344576,"km_value":388626598200344.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6951165264236220416,"description":"Unknown IO ID 45"} 
[2026-08-21 21:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556072704001,"power":27376,"geofence_id":206,"unknown_84":7168,"ignition":26,"odometer":null,"unknown_45":-6951165264236220416}} 
[2026-08-21 21:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":159634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:38:07] local.INFO: GPS data processed {"connection_id":159634,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:38:07] local.INFO: Acknowledgment sent {"connection_id":159634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:38:38] local.INFO: TCP Data received {"connection_id":159634,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025138f50012d9f6f0005626da00009014e2e..."} 
[2026-08-21 21:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025138f50012d9f6f0005626da00009014e2e..."} 
[2026-08-21 21:38:38] local.INFO: Processing buffer {"connection_id":159634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025138f50012d9f6f0005626da00009014e2e..."} 
[2026-08-21 21:38:38] local.INFO: Packet analysis {"connection_id":159634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:38:38] local.INFO: Extracted packet for processing {"connection_id":159634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":765423360,"raw_latitude":90336672,"longitude_deg":76.542336,"latitude_deg":9.0336672,"altitude":9,"angle":334,"satellites":46,"speed":31,"hex_longitude":"2d9f6f00","hex_latitude":"05626da0","is_valid_coordinates":true} 
[2026-08-21 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556076032001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388627036287008768,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6954261488977747968,"note":"Value kept but may cause issues"} 
[2026-08-21 21:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787328434000,"timestamp_ms":1787328434000,"timestamp_seconds":1787328434,"priority":1,"record_length":96,"hex_timestamp":"000001a025138f50"} 
[2026-08-21 21:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:38:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:38:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:38:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556076032001,"66":27376,"245":206,"84":7168,"24":31,"16":388627036287008768,"45":-6954261488977747968},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 21:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556076032001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:38:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388627036287008768,"km_value":388627036287008.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:38:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6954261488977747968,"description":"Unknown IO ID 45"} 
[2026-08-21 21:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556076032001,"power":27376,"geofence_id":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-6954261488977747968}} 
[2026-08-21 21:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":159634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:38:38] local.INFO: GPS data processed {"connection_id":159634,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:38:38] local.INFO: Acknowledgment sent {"connection_id":159634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:38:57] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:57] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:38:57] local.INFO: IMEI packet received {"connection_id":161946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":161946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:39:00] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:39:00] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:39:00] local.INFO: IMEI packet received {"connection_id":161946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":161946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:39:01] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02513be30012d9f60c005628f48000801552d..."} 
[2026-08-21 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02513be30012d9f60c005628f48000801552d..."} 
[2026-08-21 21:39:01] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02513be30012d9f60c005628f48000801552d..."} 
[2026-08-21 21:39:01] local.INFO: Packet analysis {"connection_id":161946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:39:01] local.INFO: Extracted packet for processing {"connection_id":161946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:39:01] local.INFO: GPS Element Parsed {"raw_longitude":765419712,"raw_latitude":90345288,"longitude_deg":76.5419712,"latitude_deg":9.0345288,"altitude":8,"angle":341,"satellites":45,"speed":31,"hex_longitude":"2d9f60c0","hex_latitude":"05628f48","is_valid_coordinates":true} 
[2026-08-21 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-08-21 21:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556079104001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388627491553542144,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6958342876137938944,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787328446000,"timestamp_ms":1787328446000,"timestamp_seconds":1787328446,"priority":1,"record_length":96,"hex_timestamp":"000001a02513be30"} 
[2026-08-21 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-08-21 21:39: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-08-21 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 21:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556079104001,"66":27365,"245":206,"84":7168,"24":31,"16":388627491553542144,"45":-6958342876137938944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 21:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556079104001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:39:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388627491553542144,"km_value":388627491553542.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6958342876137938944,"description":"Unknown IO ID 45"} 
[2026-08-21 21:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556079104001,"power":27365,"geofence_id":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-6958342876137938944}} 
[2026-08-21 21:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":161946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:39:01] local.INFO: GPS data processed {"connection_id":161946,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:39:01] local.INFO: Acknowledgment sent {"connection_id":161946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:39:02] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02513ed10012d9f55c00562b328000901552c..."} 
[2026-08-21 21:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02513ed10012d9f55c00562b328000901552c..."} 
[2026-08-21 21:39:02] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02513ed10012d9f55c00562b328000901552c..."} 
[2026-08-21 21:39:02] local.INFO: Packet analysis {"connection_id":161946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:39:02] local.INFO: Extracted packet for processing {"connection_id":161946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02513"} 
[2026-08-21 21:39:02] local.INFO: GPS Element Parsed {"raw_longitude":765416896,"raw_latitude":90354472,"longitude_deg":76.5416896,"latitude_deg":9.0354472,"altitude":9,"angle":341,"satellites":44,"speed":32,"hex_longitude":"2d9f55c0","hex_latitude":"0562b328","is_valid_coordinates":true} 
[2026-08-21 21:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556082176001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388627955410010112,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6962353894553860096,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787328458000,"timestamp_ms":1787328458000,"timestamp_seconds":1787328458,"priority":1,"record_length":96,"hex_timestamp":"000001a02513ed10"} 
[2026-08-21 21:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:39:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 21:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:39:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556082176001,"66":27463,"245":206,"84":7168,"24":32,"16":388627955410010112,"45":-6962353894553860096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 21:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556082176001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:39:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388627955410010112,"km_value":388627955410010.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6962353894553860096,"description":"Unknown IO ID 45"} 
[2026-08-21 21:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556082176001,"power":27463,"geofence_id":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-6962353894553860096}} 
[2026-08-21 21:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":161946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:39:02] local.INFO: GPS data processed {"connection_id":161946,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:39:02] local.INFO: Acknowledgment sent {"connection_id":161946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:39:34] local.INFO: TCP Data received {"connection_id":161946,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025141808012d9f4a800562d6700009015630..."} 
[2026-08-21 21:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025141808012d9f4a800562d6700009015630..."} 
[2026-08-21 21:39:34] local.INFO: Processing buffer {"connection_id":161946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025141808012d9f4a800562d6700009015630..."} 
[2026-08-21 21:39:34] local.INFO: Packet analysis {"connection_id":161946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02514"} 
[2026-08-21 21:39:34] local.INFO: Extracted packet for processing {"connection_id":161946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02514"} 
[2026-08-21 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":765414016,"raw_latitude":90363504,"longitude_deg":76.5414016,"latitude_deg":9.0363504,"altitude":9,"angle":342,"satellites":48,"speed":34,"hex_longitude":"2d9f4a80","hex_latitude":"0562d670","is_valid_coordinates":true} 
[2026-08-21 21:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556085248001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388628414971510784,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6965450119295326208,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787328469000,"timestamp_ms":1787328469000,"timestamp_seconds":1787328469,"priority":1,"record_length":96,"hex_timestamp":"000001a025141808"} 
[2026-08-21 21:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 21:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556085248001,"66":27365,"245":206,"84":7168,"24":34,"16":388628414971510784,"45":-6965450119295326208},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 21:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556085248001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:39:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388628414971510784,"km_value":388628414971510.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6965450119295326208,"description":"Unknown IO ID 45"} 
[2026-08-21 21:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556085248001,"power":27365,"geofence_id":206,"unknown_84":7168,"ignition":34,"odometer":null,"unknown_45":-6965450119295326208}} 
[2026-08-21 21:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":161946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:39:34] local.INFO: GPS data processed {"connection_id":161946,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:39:34] local.INFO: Acknowledgment sent {"connection_id":161946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:39:41] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:39:41] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:39:41] local.INFO: IMEI packet received {"connection_id":160552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":160552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:39:41] local.INFO: TCP Data received {"connection_id":160552,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160552,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:39:41] local.INFO: Processing buffer {"connection_id":160552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:39:41] local.INFO: Packet analysis {"connection_id":160552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:39:41] local.INFO: Extracted packet for processing {"connection_id":160552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:39:41] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555980032001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787328348000,"timestamp_ms":1787328348000,"timestamp_seconds":1787328348,"priority":1,"record_length":96,"hex_timestamp":"000001a025123f60"} 
[2026-08-21 21:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:39:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555980032001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555980032001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:39:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:39:41] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555980032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":160552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:39:42] local.INFO: GPS data processed {"connection_id":160552,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:39:42] local.INFO: Acknowledgment sent {"connection_id":160552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:39:56] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:39:56] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:39:56] local.INFO: IMEI packet received {"connection_id":159355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":159355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:40:02] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:02] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:02] local.INFO: IMEI packet received {"connection_id":159355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":159355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:40:03] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025143f18012d9f3e800562f900000801532f..."} 
[2026-08-21 21:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025143f18012d9f3e800562f900000801532f..."} 
[2026-08-21 21:40:03] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025143f18012d9f3e800562f900000801532f..."} 
[2026-08-21 21:40:03] local.INFO: Packet analysis {"connection_id":159355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02514"} 
[2026-08-21 21:40:03] local.INFO: Extracted packet for processing {"connection_id":159355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02514"} 
[2026-08-21 21:40:03] local.INFO: GPS Element Parsed {"raw_longitude":765410944,"raw_latitude":90372352,"longitude_deg":76.5410944,"latitude_deg":9.0372352,"altitude":8,"angle":339,"satellites":47,"speed":37,"hex_longitude":"2d9f3e80","hex_latitude":"0562f900","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556088064001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388628870238044160,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6968616712781008896,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,245,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787328479000,"timestamp_ms":1787328479000,"timestamp_seconds":1787328479,"priority":1,"record_length":96,"hex_timestamp":"000001a025143f18"} 
[2026-08-21 21:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 21:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:40: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-08-21 21:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556088064001,"66":27245,"245":206,"84":7168,"24":37,"16":388628870238044160,"45":-6968616712781008896},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,84,24,16,45]} 
[2026-08-21 21:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556088064001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:40:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388628870238044160,"km_value":388628870238044.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6968616712781008896,"description":"Unknown IO ID 45"} 
[2026-08-21 21:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556088064001,"power":27245,"geofence_id":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-6968616712781008896}} 
[2026-08-21 21:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":159355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:40:03] local.INFO: GPS data processed {"connection_id":159355,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:40:03] local.INFO: Acknowledgment sent {"connection_id":159355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:40:06] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:40:06] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:40:06] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:40:11] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:40:11] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:40:11] local.INFO: IMEI packet received {"connection_id":161947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":161947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:40:11] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:40:11] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:40:11] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:40:11] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555980032001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787328348000,"timestamp_ms":1787328348000,"timestamp_seconds":1787328348,"priority":1,"record_length":96,"hex_timestamp":"000001a025123f60"} 
[2026-08-21 21:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555980032001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555980032001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:40:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:40:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555980032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:40:11] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:40:11] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:40:16] local.INFO: TCP Data received {"connection_id":161947,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:40:16] local.INFO: Processing buffer {"connection_id":161947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:40:16] local.INFO: Packet analysis {"connection_id":161947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:40:16] local.INFO: Extracted packet for processing {"connection_id":161947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555980032001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1787328348000,"timestamp_ms":1787328348000,"timestamp_seconds":1787328348,"priority":1,"record_length":96,"hex_timestamp":"000001a025123f60"} 
[2026-08-21 21:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:40:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:40:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":161947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":161947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555980032001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555980032001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:40:16] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:40:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555980032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":161947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:40:16] local.INFO: GPS data processed {"connection_id":161947,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:40:16] local.INFO: Acknowledgment sent {"connection_id":161947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:40:34] local.INFO: TCP Data received {"connection_id":159355,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02515ba00012d9e8e800563cfa8000a013730..."} 
[2026-08-21 21:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02515ba00012d9e8e800563cfa8000a013730..."} 
[2026-08-21 21:40:34] local.INFO: Processing buffer {"connection_id":159355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02515ba00012d9e8e800563cfa8000a013730..."} 
[2026-08-21 21:40:34] local.INFO: Packet analysis {"connection_id":159355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02515"} 
[2026-08-21 21:40:34] local.INFO: Extracted packet for processing {"connection_id":159355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02515"} 
[2026-08-21 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":765365888,"raw_latitude":90427304,"longitude_deg":76.5365888,"latitude_deg":9.0427304,"altitude":10,"angle":311,"satellites":48,"speed":31,"hex_longitude":"2d9e8e80","hex_latitude":"0563cfa8","is_valid_coordinates":true} 
[2026-08-21 21:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556113408001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388632447945801728,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7016115615085486080,"note":"Value kept but may cause issues"} 
[2026-08-21 21:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787328576000,"timestamp_ms":1787328576000,"timestamp_seconds":1787328576,"priority":1,"record_length":96,"hex_timestamp":"000001a02515ba00"} 
[2026-08-21 21:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 21:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556113408001,"66":27397,"108":206,"84":7168,"24":31,"16":388632447945801728,"45":-7016115615085486080},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-21 21:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556113408001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:40:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-21 21:40:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388632447945801728,"km_value":388632447945801.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7016115615085486080,"description":"Unknown IO ID 45"} 
[2026-08-21 21:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556113408001,"power":27397,"unknown_108":206,"unknown_84":7168,"ignition":31,"odometer":null,"unknown_45":-7016115615085486080}} 
[2026-08-21 21:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":159355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:40:34] local.INFO: GPS data processed {"connection_id":159355,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:40:34] local.INFO: Acknowledgment sent {"connection_id":159355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:40:57] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:57] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:57] local.INFO: IMEI packet received {"connection_id":159356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":159356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:40:57] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:57] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:40:57] local.INFO: IMEI packet received {"connection_id":159356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":159356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:41:00] local.INFO: TCP Data received {"connection_id":159357,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:41:01] local.INFO: Processing buffer {"connection_id":159357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:41:01] local.INFO: IMEI packet received {"connection_id":159357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":159357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:41:01] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:41:01] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:41:01] local.INFO: IMEI packet received {"connection_id":159356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":159356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:41:02] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02515d558012d9e80800563dfe8000a01452f..."} 
[2026-08-21 21:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02515d558012d9e80800563dfe8000a01452f..."} 
[2026-08-21 21:41:02] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02515d558012d9e80800563dfe8000a01452f..."} 
[2026-08-21 21:41:02] local.INFO: Packet analysis {"connection_id":159356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02515"} 
[2026-08-21 21:41:02] local.INFO: Extracted packet for processing {"connection_id":159356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02515"} 
[2026-08-21 21:41:02] local.INFO: GPS Element Parsed {"raw_longitude":765362304,"raw_latitude":90431464,"longitude_deg":76.5362304,"latitude_deg":9.0431464,"altitude":10,"angle":325,"satellites":47,"speed":32,"hex_longitude":"2d9e8080","hex_latitude":"0563dfe8","is_valid_coordinates":true} 
[2026-08-21 21:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556115456001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388632709938806784,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7021534008386279424,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787328583000,"timestamp_ms":1787328583000,"timestamp_seconds":1787328583,"priority":1,"record_length":96,"hex_timestamp":"000001a02515d558"} 
[2026-08-21 21:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:41:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 21:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556115456001,"66":27321,"108":206,"84":7168,"24":32,"16":388632709938806784,"45":-7021534008386279424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-21 21:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556115456001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:41:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-21 21:41:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388632709938806784,"km_value":388632709938806.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7021534008386279424,"description":"Unknown IO ID 45"} 
[2026-08-21 21:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556115456001,"power":27321,"unknown_108":206,"unknown_84":7168,"ignition":32,"odometer":null,"unknown_45":-7021534008386279424}} 
[2026-08-21 21:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":159356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:41:02] local.INFO: GPS data processed {"connection_id":159356,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:41:02] local.INFO: Acknowledgment sent {"connection_id":159356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:41:06] local.INFO: TCP Data received {"connection_id":159357,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:41:06] local.INFO: Processing buffer {"connection_id":159357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:41:06] local.INFO: IMEI packet received {"connection_id":159357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":159357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:41:06] local.INFO: TCP Data received {"connection_id":159357,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:41:06] local.INFO: Processing buffer {"connection_id":159357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:41:06] local.INFO: Packet analysis {"connection_id":159357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:41:06] local.INFO: Extracted packet for processing {"connection_id":159357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:41:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555980032001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328348000,"timestamp_ms":1787328348000,"timestamp_seconds":1787328348,"priority":1,"record_length":96,"hex_timestamp":"000001a025123f60"} 
[2026-08-21 21:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555980032001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555980032001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:41:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:41:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555980032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":159357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:41:06] local.INFO: GPS data processed {"connection_id":159357,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:41:06] local.INFO: Acknowledgment sent {"connection_id":159357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:41:11] local.INFO: TCP Data received {"connection_id":159357,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:41:11] local.INFO: Processing buffer {"connection_id":159357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025123f60012d196540071feff80044001128..."} 
[2026-08-21 21:41:11] local.INFO: Packet analysis {"connection_id":159357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:41:11] local.INFO: Extracted packet for processing {"connection_id":159357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02512"} 
[2026-08-21 21:41:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":40,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457555980032001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787328348000,"timestamp_ms":1787328348000,"timestamp_seconds":1787328348,"priority":1,"record_length":96,"hex_timestamp":"000001a025123f60"} 
[2026-08-21 21:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-08-21 21:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457555980032001,"66":2144,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457555980032001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:41:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:41:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457555980032001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":159357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:41:11] local.INFO: GPS data processed {"connection_id":159357,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:41:11] local.INFO: Acknowledgment sent {"connection_id":159357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:41:34] local.INFO: TCP Data received {"connection_id":159356,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02515f498012d9e73400563f838000a01522e..."} 
[2026-08-21 21:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02515f498012d9e73400563f838000a01522e..."} 
[2026-08-21 21:41:34] local.INFO: Processing buffer {"connection_id":159356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02515f498012d9e73400563f838000a01522e..."} 
[2026-08-21 21:41:34] local.INFO: Packet analysis {"connection_id":159356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02515"} 
[2026-08-21 21:41:34] local.INFO: Extracted packet for processing {"connection_id":159356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02515"} 
[2026-08-21 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":765358912,"raw_latitude":90437688,"longitude_deg":76.5358912,"latitude_deg":9.0437688,"altitude":10,"angle":338,"satellites":46,"speed":37,"hex_longitude":"2d9e7340","hex_latitude":"0563f838","is_valid_coordinates":true} 
[2026-08-21 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556117248001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388633057831157760,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7025474658059163648,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787328591000,"timestamp_ms":1787328591000,"timestamp_seconds":1787328591,"priority":1,"record_length":96,"hex_timestamp":"000001a02515f498"} 
[2026-08-21 21:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 21:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556117248001,"66":27343,"108":206,"84":7168,"24":37,"16":388633057831157760,"45":-7025474658059163648},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-21 21:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556117248001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388633057831157760,"km_value":388633057831157.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7025474658059163648,"description":"Unknown IO ID 45"} 
[2026-08-21 21:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556117248001,"power":27343,"unknown_108":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-7025474658059163648}} 
[2026-08-21 21:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":159356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:41:34] local.INFO: GPS data processed {"connection_id":159356,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:41:34] local.INFO: Acknowledgment sent {"connection_id":159356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:41:42] local.INFO: TCP Data received {"connection_id":159357,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:41:42] local.INFO: Processing buffer {"connection_id":159357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:41:42] local.INFO: Packet analysis {"connection_id":159357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:41:42] local.INFO: Extracted packet for processing {"connection_id":159357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:41:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:41:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:41:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:41:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:41:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:41:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":159357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:41:42] local.INFO: GPS data processed {"connection_id":159357,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:41:42] local.INFO: Acknowledgment sent {"connection_id":159357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:41:56] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:41:56] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:41:56] local.INFO: IMEI packet received {"connection_id":159635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":159635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:42:00] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:42:00] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:42:00] local.INFO: IMEI packet received {"connection_id":159636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":159636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:42:01] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:42:01] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:42:01] local.INFO: IMEI packet received {"connection_id":159635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":159635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:42:02] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025160820012d9e6e0005640a600009015d2e..."} 
[2026-08-21 21:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025160820012d9e6e0005640a600009015d2e..."} 
[2026-08-21 21:42:02] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025160820012d9e6e0005640a600009015d2e..."} 
[2026-08-21 21:42:02] local.INFO: Packet analysis {"connection_id":159635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:42:02] local.INFO: Extracted packet for processing {"connection_id":159635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:42:02] local.INFO: GPS Element Parsed {"raw_longitude":765357568,"raw_latitude":90442336,"longitude_deg":76.5357568,"latitude_deg":9.0442336,"altitude":9,"angle":349,"satellites":46,"speed":37,"hex_longitude":"2d9e6e00","hex_latitude":"05640a60","is_valid_coordinates":true} 
[2026-08-21 21:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556119296001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388633289759391744,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029204201498986496,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787328596000,"timestamp_ms":1787328596000,"timestamp_seconds":1787328596,"priority":1,"record_length":96,"hex_timestamp":"000001a025160820"} 
[2026-08-21 21:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 21:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556119296001,"66":27365,"108":206,"84":7168,"24":37,"16":388633289759391744,"45":-7029204201498986496},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,84,24,16,45]} 
[2026-08-21 21:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556119296001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:42:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-08-21 21:42:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":7168,"description":"Unknown IO ID 84"} 
[2026-08-21 21:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388633289759391744,"km_value":388633289759391.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029204201498986496,"description":"Unknown IO ID 45"} 
[2026-08-21 21:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556119296001,"power":27365,"unknown_108":206,"unknown_84":7168,"ignition":37,"odometer":null,"unknown_45":-7029204201498986496}} 
[2026-08-21 21:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":159635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:42:02] local.INFO: GPS data processed {"connection_id":159635,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:42:02] local.INFO: Acknowledgment sent {"connection_id":159635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:42:05] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:42:05] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:42:05] local.INFO: IMEI packet received {"connection_id":159636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":159636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:42:11] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:42:11] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:42:11] local.INFO: Packet analysis {"connection_id":159636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:42:11] local.INFO: Extracted packet for processing {"connection_id":159636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:42:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:42:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:42:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":159636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:42:11] local.INFO: GPS data processed {"connection_id":159636,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:42:11] local.INFO: Acknowledgment sent {"connection_id":159636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:42:33] local.INFO: TCP Data received {"connection_id":159635,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025172d18012d9e72c00564b810000801652f..."} 
[2026-08-21 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025172d18012d9e72c00564b810000801652f..."} 
[2026-08-21 21:42:33] local.INFO: Processing buffer {"connection_id":159635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025172d18012d9e72c00564b810000801652f..."} 
[2026-08-21 21:42:33] local.INFO: Packet analysis {"connection_id":159635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:42:33] local.INFO: Extracted packet for processing {"connection_id":159635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:42:33] local.INFO: GPS Element Parsed {"raw_longitude":765358784,"raw_latitude":90486800,"longitude_deg":76.5358784,"latitude_deg":9.04868,"altitude":8,"angle":357,"satellites":47,"speed":14,"hex_longitude":"2d9e72c0","hex_latitude":"0564b810","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556139264001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388635493077614592,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029133832742404096,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787328671000,"timestamp_ms":1787328671000,"timestamp_seconds":1787328671,"priority":1,"record_length":96,"hex_timestamp":"000001a025172d18"} 
[2026-08-21 21:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 21:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556139264001,"66":27300,"199":206,"84":8448,"24":14,"16":388635493077614592,"45":-7029133832742404096},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,84,24,16,45]} 
[2026-08-21 21:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556139264001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:42:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-08-21 21:42:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388635493077614592,"km_value":388635493077614.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029133832742404096,"description":"Unknown IO ID 45"} 
[2026-08-21 21:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556139264001,"power":27300,"trip_odometer":0.206,"unknown_84":8448,"ignition":14,"odometer":null,"unknown_45":-7029133832742404096}} 
[2026-08-21 21:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":159635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:42:33] local.INFO: GPS data processed {"connection_id":159635,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:42:33] local.INFO: Acknowledgment sent {"connection_id":159635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:42:42] local.INFO: TCP Data received {"connection_id":159636,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159636,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:42:42] local.INFO: Processing buffer {"connection_id":159636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:42:42] local.INFO: Packet analysis {"connection_id":159636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:42:42] local.INFO: Extracted packet for processing {"connection_id":159636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:42:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:42:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":159636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:42:42] local.INFO: GPS data processed {"connection_id":159636,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:42:42] local.INFO: Acknowledgment sent {"connection_id":159636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:43:02] local.INFO: TCP Data received {"connection_id":159638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:43:02] local.INFO: Processing buffer {"connection_id":159638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:43:02] local.INFO: IMEI packet received {"connection_id":159638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":159638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:43:06] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:43:06] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:43:06] local.INFO: IMEI packet received {"connection_id":159637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":159637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:43:06] local.INFO: TCP Data received {"connection_id":159638,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:43:06] local.INFO: Processing buffer {"connection_id":159638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:43:06] local.INFO: IMEI packet received {"connection_id":159638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":159638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:43:07] local.INFO: TCP Data received {"connection_id":159638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025177f20012d9e71400564d388000901642d..."} 
[2026-08-21 21:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025177f20012d9e71400564d388000901642d..."} 
[2026-08-21 21:43:07] local.INFO: Processing buffer {"connection_id":159638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025177f20012d9e71400564d388000901642d..."} 
[2026-08-21 21:43:07] local.INFO: Packet analysis {"connection_id":159638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:43:07] local.INFO: Extracted packet for processing {"connection_id":159638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:43:07] local.INFO: GPS Element Parsed {"raw_longitude":765358400,"raw_latitude":90493832,"longitude_deg":76.53584,"latitude_deg":9.0493832,"altitude":9,"angle":356,"satellites":45,"speed":18,"hex_longitude":"2d9e7140","hex_latitude":"0564d388","is_valid_coordinates":true} 
[2026-08-21 21:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556139776001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388635836674998272,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029344938974769152,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787328692000,"timestamp_ms":1787328692000,"timestamp_seconds":1787328692,"priority":1,"record_length":96,"hex_timestamp":"000001a025177f20"} 
[2026-08-21 21:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:43: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-08-21 21:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:43:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556139776001,"66":27365,"95":206,"84":8448,"24":18,"16":388635836674998272,"45":-7029344938974769152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-21 21:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556139776001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:43:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 21:43:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388635836674998272,"km_value":388635836674998.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029344938974769152,"description":"Unknown IO ID 45"} 
[2026-08-21 21:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556139776001,"power":27365,"unknown_95":206,"unknown_84":8448,"ignition":18,"odometer":null,"unknown_45":-7029344938974769152}} 
[2026-08-21 21:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":159638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:43:07] local.INFO: GPS data processed {"connection_id":159638,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:43:07] local.INFO: Acknowledgment sent {"connection_id":159638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:43:11] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:43:11] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:43:11] local.INFO: IMEI packet received {"connection_id":159637,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":159637,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:43:14] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:43:14] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:43:14] local.INFO: Packet analysis {"connection_id":159637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:43:14] local.INFO: Extracted packet for processing {"connection_id":159637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":159637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":159637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":159637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:43:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:43:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":159637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:43:14] local.INFO: GPS data processed {"connection_id":159637,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:43:14] local.INFO: Acknowledgment sent {"connection_id":159637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:43:15] local.INFO: TCP Data received {"connection_id":159637,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:43:15] local.INFO: Processing buffer {"connection_id":159637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:43:15] local.INFO: Packet analysis {"connection_id":159637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:43:15] local.INFO: Extracted packet for processing {"connection_id":159637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21: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-08-21 21:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":159637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":159637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":159637,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:43:15] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:43:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":159637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:43:16] local.INFO: GPS data processed {"connection_id":159637,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:43:16] local.INFO: Acknowledgment sent {"connection_id":159637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:43:39] local.INFO: TCP Data received {"connection_id":159638,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02517b9b8012d9e6d000564f610000c016128..."} 
[2026-08-21 21:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02517b9b8012d9e6d000564f610000c016128..."} 
[2026-08-21 21:43:39] local.INFO: Processing buffer {"connection_id":159638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02517b9b8012d9e6d000564f610000c016128..."} 
[2026-08-21 21:43:39] local.INFO: Packet analysis {"connection_id":159638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:43:39] local.INFO: Extracted packet for processing {"connection_id":159638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":765357312,"raw_latitude":90502672,"longitude_deg":76.5357312,"latitude_deg":9.0502672,"altitude":12,"angle":353,"satellites":40,"speed":30,"hex_longitude":"2d9e6d00","hex_latitude":"0564f610","is_valid_coordinates":true} 
[2026-08-21 21:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556145152001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388636270466695168,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7029767151438034944,"note":"Value kept but may cause issues"} 
[2026-08-21 21:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787328707000,"timestamp_ms":1787328707000,"timestamp_seconds":1787328707,"priority":1,"record_length":96,"hex_timestamp":"000001a02517b9b8"} 
[2026-08-21 21:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 21:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556145152001,"66":27310,"95":206,"84":8448,"24":30,"16":388636270466695168,"45":-7029767151438034944},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-21 21:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556145152001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:43:39] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 21:43:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388636270466695168,"km_value":388636270466695.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7029767151438034944,"description":"Unknown IO ID 45"} 
[2026-08-21 21:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556145152001,"power":27310,"unknown_95":206,"unknown_84":8448,"ignition":30,"odometer":null,"unknown_45":-7029767151438034944}} 
[2026-08-21 21:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":159638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:43:39] local.INFO: GPS data processed {"connection_id":159638,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:43:39] local.INFO: Acknowledgment sent {"connection_id":159638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:44:00] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:44:00] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:44:00] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:44:01] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:01] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:01] local.INFO: IMEI packet received {"connection_id":159358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":159358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:44:02] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:02] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:02] local.INFO: IMEI packet received {"connection_id":159358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":159358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:44:03] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02517e4b0012d9e670005651850000d01622a..."} 
[2026-08-21 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02517e4b0012d9e670005651850000d01622a..."} 
[2026-08-21 21:44:03] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02517e4b0012d9e670005651850000d01622a..."} 
[2026-08-21 21:44:03] local.INFO: Packet analysis {"connection_id":159358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:44:03] local.INFO: Extracted packet for processing {"connection_id":159358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02517"} 
[2026-08-21 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":765355776,"raw_latitude":90511440,"longitude_deg":76.5355776,"latitude_deg":9.051144,"altitude":13,"angle":354,"satellites":42,"speed":32,"hex_longitude":"2d9e6700","hex_latitude":"05651850","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556148992001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388636699963424768,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7030963420086792192,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787328718000,"timestamp_ms":1787328718000,"timestamp_seconds":1787328718,"priority":1,"record_length":96,"hex_timestamp":"000001a02517e4b0"} 
[2026-08-21 21:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 21:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:44: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-08-21 21:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556148992001,"66":27300,"95":206,"84":8448,"24":32,"16":388636699963424768,"45":-7030963420086792192},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-21 21:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556148992001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:44:03] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 21:44:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388636699963424768,"km_value":388636699963424.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7030963420086792192,"description":"Unknown IO ID 45"} 
[2026-08-21 21:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556148992001,"power":27300,"unknown_95":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7030963420086792192}} 
[2026-08-21 21:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":159358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:44:03] local.INFO: GPS data processed {"connection_id":159358,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:44:03] local.INFO: Acknowledgment sent {"connection_id":159358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:44:05] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:44:06] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:44:06] local.INFO: IMEI packet received {"connection_id":161948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":161948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:44:18] local.INFO: TCP Data received {"connection_id":161948,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:44:18] local.INFO: Processing buffer {"connection_id":161948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:44:18] local.INFO: Packet analysis {"connection_id":161948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:44:18] local.INFO: Extracted packet for processing {"connection_id":161948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":161948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":161948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":161948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":161948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:44:18] local.INFO: GPS data processed {"connection_id":161948,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:44:18] local.INFO: Acknowledgment sent {"connection_id":161948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:44:35] local.INFO: TCP Data received {"connection_id":159358,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025180fa8012d9e62c005653b68000e016321..."} 
[2026-08-21 21:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025180fa8012d9e62c005653b68000e016321..."} 
[2026-08-21 21:44:35] local.INFO: Processing buffer {"connection_id":159358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025180fa8012d9e62c005653b68000e016321..."} 
[2026-08-21 21:44:35] local.INFO: Packet analysis {"connection_id":159358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02518"} 
[2026-08-21 21:44:35] local.INFO: Extracted packet for processing {"connection_id":159358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02518"} 
[2026-08-21 21:44:35] local.INFO: GPS Element Parsed {"raw_longitude":765354688,"raw_latitude":90520424,"longitude_deg":76.5354688,"latitude_deg":9.0520424,"altitude":14,"angle":355,"satellites":33,"speed":30,"hex_longitude":"2d9e62c0","hex_latitude":"05653b68","is_valid_coordinates":true} 
[2026-08-21 21:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556151808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388637138050088960,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7032652269944811520,"note":"Value kept but may cause issues"} 
[2026-08-21 21:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787328729000,"timestamp_ms":1787328729000,"timestamp_seconds":1787328729,"priority":1,"record_length":96,"hex_timestamp":"000001a025180fa8"} 
[2026-08-21 21:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:44: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-08-21 21:44:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:44:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556151808001,"66":27343,"95":206,"84":8448,"24":30,"16":388637138050088960,"45":-7032652269944811520},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-21 21:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556151808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:44:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 21:44:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388637138050088960,"km_value":388637138050088.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7032652269944811520,"description":"Unknown IO ID 45"} 
[2026-08-21 21:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556151808001,"power":27343,"unknown_95":206,"unknown_84":8448,"ignition":30,"odometer":null,"unknown_45":-7032652269944811520}} 
[2026-08-21 21:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":159358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:44:35] local.INFO: GPS data processed {"connection_id":159358,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:44:35] local.INFO: Acknowledgment sent {"connection_id":159358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:44:56] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:56] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:56] local.INFO: IMEI packet received {"connection_id":160553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":160553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:44:56] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:56] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:44:56] local.INFO: IMEI packet received {"connection_id":160553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":160553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:45:00] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:45:00] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:45:00] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:45:01] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:45:01] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:45:01] local.INFO: IMEI packet received {"connection_id":160553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":160553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:45:02] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025184270012d9e5f8005655f20000b016028..."} 
[2026-08-21 21:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025184270012d9e5f8005655f20000b016028..."} 
[2026-08-21 21:45:02] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025184270012d9e5f8005655f20000b016028..."} 
[2026-08-21 21:45:02] local.INFO: Packet analysis {"connection_id":160553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02518"} 
[2026-08-21 21:45:02] local.INFO: Extracted packet for processing {"connection_id":160553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02518"} 
[2026-08-21 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":765353856,"raw_latitude":90529568,"longitude_deg":76.5353856,"latitude_deg":9.0529568,"altitude":11,"angle":352,"satellites":40,"speed":27,"hex_longitude":"2d9e5f80","hex_latitude":"05655f20","is_valid_coordinates":true} 
[2026-08-21 21:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556154624001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388637584726687744,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7033848538593531904,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787328742000,"timestamp_ms":1787328742000,"timestamp_seconds":1787328742,"priority":1,"record_length":96,"hex_timestamp":"000001a025184270"} 
[2026-08-21 21:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 21:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556154624001,"66":27376,"95":206,"84":8448,"24":27,"16":388637584726687744,"45":-7033848538593531904},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,84,24,16,45]} 
[2026-08-21 21:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556154624001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:45:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-08-21 21:45:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388637584726687744,"km_value":388637584726687.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7033848538593531904,"description":"Unknown IO ID 45"} 
[2026-08-21 21:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556154624001,"power":27376,"unknown_95":206,"unknown_84":8448,"ignition":27,"odometer":null,"unknown_45":-7033848538593531904}} 
[2026-08-21 21:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":160553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:45:02] local.INFO: GPS data processed {"connection_id":160553,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:45:02] local.INFO: Acknowledgment sent {"connection_id":160553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:45:05] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:45:05] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:45:05] local.INFO: IMEI packet received {"connection_id":161949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":161949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:45:07] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:45:07] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:45:07] local.INFO: Packet analysis {"connection_id":161949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:45:07] local.INFO: Extracted packet for processing {"connection_id":161949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:45:07] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:45:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:45:07] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:45:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":161949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:45:07] local.INFO: GPS data processed {"connection_id":161949,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:45:07] local.INFO: Acknowledgment sent {"connection_id":161949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:45:34] local.INFO: TCP Data received {"connection_id":160553,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025187538012d9e58c0056582c8000e015f2a..."} 
[2026-08-21 21:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025187538012d9e58c0056582c8000e015f2a..."} 
[2026-08-21 21:45:34] local.INFO: Processing buffer {"connection_id":160553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025187538012d9e58c0056582c8000e015f2a..."} 
[2026-08-21 21:45:34] local.INFO: Packet analysis {"connection_id":160553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02518"} 
[2026-08-21 21:45:34] local.INFO: Extracted packet for processing {"connection_id":160553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02518"} 
[2026-08-21 21:45:34] local.INFO: GPS Element Parsed {"raw_longitude":765352128,"raw_latitude":90538696,"longitude_deg":76.5352128,"latitude_deg":9.0538696,"altitude":14,"angle":351,"satellites":42,"speed":29,"hex_longitude":"2d9e58c0","hex_latitude":"056582c8","is_valid_coordinates":true} 
[2026-08-21 21:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556157952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388638035698253824,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7034763332265500672,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787328755000,"timestamp_ms":1787328755000,"timestamp_seconds":1787328755,"priority":1,"record_length":96,"hex_timestamp":"000001a025187538"} 
[2026-08-21 21:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556157952001,"66":27300,"94":206,"84":8448,"24":29,"16":388638035698253824,"45":-7034763332265500672},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,84,24,16,45]} 
[2026-08-21 21:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556157952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:45:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-08-21 21:45:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388638035698253824,"km_value":388638035698253.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7034763332265500672,"description":"Unknown IO ID 45"} 
[2026-08-21 21:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556157952001,"power":27300,"unknown_94":206,"unknown_84":8448,"ignition":29,"odometer":null,"unknown_45":-7034763332265500672}} 
[2026-08-21 21:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":160553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:45:34] local.INFO: GPS data processed {"connection_id":160553,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:45:34] local.INFO: Acknowledgment sent {"connection_id":160553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:45:38] local.INFO: TCP Data received {"connection_id":161949,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:45:38] local.INFO: Processing buffer {"connection_id":161949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:45:38] local.INFO: Packet analysis {"connection_id":161949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:45:38] local.INFO: Extracted packet for processing {"connection_id":161949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:45:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:45:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:45:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":161949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:45:38] local.INFO: GPS data processed {"connection_id":161949,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:45:38] local.INFO: Acknowledgment sent {"connection_id":161949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:45:59] local.INFO: TCP Data received {"connection_id":159639,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:45:59] local.INFO: Processing buffer {"connection_id":159639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:45:59] local.INFO: IMEI packet received {"connection_id":159639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":159639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:46:00] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:46:00] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:46:00] local.INFO: IMEI packet received {"connection_id":160554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":160554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:46:00] local.INFO: TCP Data received {"connection_id":159639,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:00] local.INFO: Processing buffer {"connection_id":159639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:00] local.INFO: IMEI packet received {"connection_id":159639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":159639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:46:01] local.INFO: TCP Data received {"connection_id":159639,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:01] local.INFO: Processing buffer {"connection_id":159639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:01] local.INFO: IMEI packet received {"connection_id":159639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":159639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:46:02] local.INFO: TCP Data received {"connection_id":159639,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251aa3d0012d9e434005670bf0000d01602a..."} 
[2026-08-21 21:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251aa3d0012d9e434005670bf0000d01602a..."} 
[2026-08-21 21:46:02] local.INFO: Processing buffer {"connection_id":159639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251aa3d0012d9e434005670bf0000d01602a..."} 
[2026-08-21 21:46:02] local.INFO: Packet analysis {"connection_id":159639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251a"} 
[2026-08-21 21:46:02] local.INFO: Extracted packet for processing {"connection_id":159639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251a"} 
[2026-08-21 21:46:02] local.INFO: GPS Element Parsed {"raw_longitude":765346624,"raw_latitude":90639344,"longitude_deg":76.5346624,"latitude_deg":9.0639344,"altitude":13,"angle":352,"satellites":42,"speed":26,"hex_longitude":"2d9e4340","hex_latitude":"05670bf0","is_valid_coordinates":true} 
[2026-08-21 21:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556192768001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388642957730775040,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7041448362936672256,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787328898000,"timestamp_ms":1787328898000,"timestamp_seconds":1787328898,"priority":1,"record_length":96,"hex_timestamp":"000001a0251aa3d0"} 
[2026-08-21 21:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 21:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556192768001,"66":27300,"112":206,"84":8448,"24":26,"16":388642957730775040,"45":-7041448362936672256},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,84,24,16,45]} 
[2026-08-21 21:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556192768001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:46:02] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-08-21 21:46:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388642957730775040,"km_value":388642957730775.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7041448362936672256,"description":"Unknown IO ID 45"} 
[2026-08-21 21:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556192768001,"power":27300,"unknown_112":206,"unknown_84":8448,"ignition":26,"odometer":null,"unknown_45":-7041448362936672256}} 
[2026-08-21 21:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":159639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:46:02] local.INFO: GPS data processed {"connection_id":159639,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:46:02] local.INFO: Acknowledgment sent {"connection_id":159639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:46:05] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:46:06] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:46:06] local.INFO: IMEI packet received {"connection_id":160554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":160554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:46:06] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:46:06] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02516d728012d196540071feff80044001129..."} 
[2026-08-21 21:46:06] local.INFO: Packet analysis {"connection_id":160554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:46:06] local.INFO: Extracted packet for processing {"connection_id":160554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02516"} 
[2026-08-21 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556057088001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328649000,"timestamp_ms":1787328649000,"timestamp_seconds":1787328649,"priority":1,"record_length":96,"hex_timestamp":"000001a02516d728"} 
[2026-08-21 21:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-08-21 21:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556057088001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556057088001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:46:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:46:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556057088001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":160554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:46:06] local.INFO: GPS data processed {"connection_id":160554,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:46:06] local.INFO: Acknowledgment sent {"connection_id":160554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:46:07] local.INFO: TCP Data received {"connection_id":159639,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251ad2b0012d9e3e00056730a0000d01602b..."} 
[2026-08-21 21:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251ad2b0012d9e3e00056730a0000d01602b..."} 
[2026-08-21 21:46:07] local.INFO: Processing buffer {"connection_id":159639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251ad2b0012d9e3e00056730a0000d01602b..."} 
[2026-08-21 21:46:07] local.INFO: Packet analysis {"connection_id":159639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251a"} 
[2026-08-21 21:46:07] local.INFO: Extracted packet for processing {"connection_id":159639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251a"} 
[2026-08-21 21:46:07] local.INFO: GPS Element Parsed {"raw_longitude":765345280,"raw_latitude":90648736,"longitude_deg":76.534528,"latitude_deg":9.0648736,"altitude":13,"angle":352,"satellites":43,"speed":34,"hex_longitude":"2d9e3e00","hex_latitude":"056730a0","is_valid_coordinates":true} 
[2026-08-21 21:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556197888001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388643417292275712,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7042715000329474048,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787328910000,"timestamp_ms":1787328910000,"timestamp_seconds":1787328910,"priority":1,"record_length":96,"hex_timestamp":"000001a0251ad2b0"} 
[2026-08-21 21:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:46: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-08-21 21:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556197888001,"66":27300,"119":206,"84":8448,"24":34,"16":388643417292275712,"45":-7042715000329474048},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 21:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556197888001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388643417292275712,"km_value":388643417292275.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7042715000329474048,"description":"Unknown IO ID 45"} 
[2026-08-21 21:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556197888001,"power":27300,"unknown_119":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7042715000329474048}} 
[2026-08-21 21:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":159639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:46:07] local.INFO: GPS data processed {"connection_id":159639,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:46:07] local.INFO: Acknowledgment sent {"connection_id":159639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:46:38] local.INFO: TCP Data received {"connection_id":159639,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251af9c0012d9e3a00056753a8000c01612d..."} 
[2026-08-21 21:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251af9c0012d9e3a00056753a8000c01612d..."} 
[2026-08-21 21:46:38] local.INFO: Processing buffer {"connection_id":159639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251af9c0012d9e3a00056753a8000c01612d..."} 
[2026-08-21 21:46:38] local.INFO: Packet analysis {"connection_id":159639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251a"} 
[2026-08-21 21:46:38] local.INFO: Extracted packet for processing {"connection_id":159639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251a"} 
[2026-08-21 21:46:38] local.INFO: GPS Element Parsed {"raw_longitude":765344256,"raw_latitude":90657704,"longitude_deg":76.5344256,"latitude_deg":9.0657704,"altitude":12,"angle":353,"satellites":45,"speed":34,"hex_longitude":"2d9e3a00","hex_latitude":"056753a8","is_valid_coordinates":true} 
[2026-08-21 21:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556200960001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388643855378939904,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7044192743954800640,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787328920000,"timestamp_ms":1787328920000,"timestamp_seconds":1787328920,"priority":1,"record_length":96,"hex_timestamp":"000001a0251af9c0"} 
[2026-08-21 21:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:46:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556200960001,"66":27234,"119":206,"84":8448,"24":34,"16":388643855378939904,"45":-7044192743954800640},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 21:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556200960001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:46:38] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 21:46:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388643855378939904,"km_value":388643855378939.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7044192743954800640,"description":"Unknown IO ID 45"} 
[2026-08-21 21:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556200960001,"power":27234,"unknown_119":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7044192743954800640}} 
[2026-08-21 21:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":159639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:46:38] local.INFO: GPS data processed {"connection_id":159639,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:46:38] local.INFO: Acknowledgment sent {"connection_id":159639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:46:39] local.INFO: TCP Data received {"connection_id":160554,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:46:39] local.INFO: Processing buffer {"connection_id":160554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:46:39] local.INFO: Packet analysis {"connection_id":160554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:46:39] local.INFO: Extracted packet for processing {"connection_id":160554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:46:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:46:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":160554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:46:39] local.INFO: GPS data processed {"connection_id":160554,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:46:39] local.INFO: Acknowledgment sent {"connection_id":160554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:46:56] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:56] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:56] local.INFO: IMEI packet received {"connection_id":159359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":159359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:46:56] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:56] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:46:56] local.INFO: IMEI packet received {"connection_id":159359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":159359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:47:01] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:47:01] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:47:01] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:47:01] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:01] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:01] local.INFO: IMEI packet received {"connection_id":159359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":159359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:47:02] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b20d0012d9e354005677848000c01612c..."} 
[2026-08-21 21:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b20d0012d9e354005677848000c01612c..."} 
[2026-08-21 21:47:02] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b20d0012d9e354005677848000c01612c..."} 
[2026-08-21 21:47:02] local.INFO: Packet analysis {"connection_id":159359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:02] local.INFO: Extracted packet for processing {"connection_id":159359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:02] local.INFO: GPS Element Parsed {"raw_longitude":765343040,"raw_latitude":90667080,"longitude_deg":76.534304,"latitude_deg":9.066708,"altitude":12,"angle":353,"satellites":44,"speed":39,"hex_longitude":"2d9e3540","hex_latitude":"05677848","is_valid_coordinates":true} 
[2026-08-21 21:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556203520001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388644314940440576,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7045318643859347456,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787328930000,"timestamp_ms":1787328930000,"timestamp_seconds":1787328930,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b20d0"} 
[2026-08-21 21:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:47:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556203520001,"66":27234,"119":206,"84":8448,"24":39,"16":388644314940440576,"45":-7045318643859347456},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 21:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556203520001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:47:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 21:47:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388644314940440576,"km_value":388644314940440.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7045318643859347456,"description":"Unknown IO ID 45"} 
[2026-08-21 21:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556203520001,"power":27234,"unknown_119":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7045318643859347456}} 
[2026-08-21 21:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":159359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:47:02] local.INFO: GPS data processed {"connection_id":159359,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:47:02] local.INFO: Acknowledgment sent {"connection_id":159359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:47:06] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:47:06] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:47:06] local.INFO: IMEI packet received {"connection_id":161950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":161950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:47:06] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:06] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:06] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:06] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:47:06] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:47:06] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:47:11] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:11] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:11] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:11] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:47:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:47:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:47:11] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:47:11] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:47:34] local.INFO: TCP Data received {"connection_id":159359,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b43f8012d9e324005679ba8000d01662a..."} 
[2026-08-21 21:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b43f8012d9e324005679ba8000d01662a..."} 
[2026-08-21 21:47:34] local.INFO: Processing buffer {"connection_id":159359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b43f8012d9e324005679ba8000d01662a..."} 
[2026-08-21 21:47:34] local.INFO: Packet analysis {"connection_id":159359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:34] local.INFO: Extracted packet for processing {"connection_id":159359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:34] local.INFO: GPS Element Parsed {"raw_longitude":765342272,"raw_latitude":90676136,"longitude_deg":76.5342272,"latitude_deg":9.0676136,"altitude":13,"angle":358,"satellites":42,"speed":41,"hex_longitude":"2d9e3240","hex_latitude":"05679ba8","is_valid_coordinates":true} 
[2026-08-21 21:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556206080001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388644757322072064,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7046655649996322816,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787328939000,"timestamp_ms":1787328939000,"timestamp_seconds":1787328939,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b43f8"} 
[2026-08-21 21:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:47: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-08-21 21:47:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:47:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556206080001,"66":27310,"119":206,"84":8448,"24":41,"16":388644757322072064,"45":-7046655649996322816},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 21:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556206080001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:47:34] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 21:47:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388644757322072064,"km_value":388644757322072.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7046655649996322816,"description":"Unknown IO ID 45"} 
[2026-08-21 21:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556206080001,"power":27310,"unknown_119":206,"unknown_84":8448,"ignition":41,"odometer":null,"unknown_45":-7046655649996322816}} 
[2026-08-21 21:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":159359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:47:34] local.INFO: GPS data processed {"connection_id":159359,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:47:34] local.INFO: Acknowledgment sent {"connection_id":159359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:47:42] local.INFO: TCP Data received {"connection_id":161950,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:42] local.INFO: Processing buffer {"connection_id":161950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:47:42] local.INFO: Packet analysis {"connection_id":161950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:42] local.INFO: Extracted packet for processing {"connection_id":161950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:47:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:47:42] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:47:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":161950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:47:42] local.INFO: GPS data processed {"connection_id":161950,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:47:42] local.INFO: Acknowledgment sent {"connection_id":161950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:47:55] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:55] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:55] local.INFO: IMEI packet received {"connection_id":159360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":159360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:47:56] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:56] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:47:56] local.INFO: IMEI packet received {"connection_id":159360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":159360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:48:01] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:48:01] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:48:01] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:48:01] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:48:01] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:48:01] local.INFO: IMEI packet received {"connection_id":159360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":159360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:48:03] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6720012d9e30c00567c0b8000c01662c..."} 
[2026-08-21 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6720012d9e30c00567c0b8000c01662c..."} 
[2026-08-21 21:48:03] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6720012d9e30c00567c0b8000c01662c..."} 
[2026-08-21 21:48:03] local.INFO: Packet analysis {"connection_id":159360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:03] local.INFO: Extracted packet for processing {"connection_id":159360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":765341888,"raw_latitude":90685624,"longitude_deg":76.5341888,"latitude_deg":9.0685624,"altitude":12,"angle":358,"satellites":44,"speed":39,"hex_longitude":"2d9e30c0","hex_latitude":"0567c0b8","is_valid_coordinates":true} 
[2026-08-21 21:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556208384001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388645216883572736,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047500074924136448,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787328948000,"timestamp_ms":1787328948000,"timestamp_seconds":1787328948,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6720"} 
[2026-08-21 21:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 21:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":159360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:48: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-08-21 21:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556208384001,"66":27300,"119":206,"84":8448,"24":39,"16":388645216883572736,"45":-7047500074924136448},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 21:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556208384001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:48:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 21:48:03] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388645216883572736,"km_value":388645216883572.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047500074924136448,"description":"Unknown IO ID 45"} 
[2026-08-21 21:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556208384001,"power":27300,"unknown_119":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7047500074924136448}} 
[2026-08-21 21:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":159360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:48:03] local.INFO: GPS data processed {"connection_id":159360,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:48:03] local.INFO: Acknowledgment sent {"connection_id":159360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:48:05] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:48:06] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:48:06] local.INFO: IMEI packet received {"connection_id":161951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":161951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:48:14] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:48:14] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:48:14] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:14] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:48:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:48:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:48:14] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:48:14] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:48:35] local.INFO: TCP Data received {"connection_id":159360,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b8e30012d9e2fc00567e6b0000c01662d..."} 
[2026-08-21 21:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b8e30012d9e2fc00567e6b0000c01662d..."} 
[2026-08-21 21:48:35] local.INFO: Processing buffer {"connection_id":159360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b8e30012d9e2fc00567e6b0000c01662d..."} 
[2026-08-21 21:48:35] local.INFO: Packet analysis {"connection_id":159360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:35] local.INFO: Extracted packet for processing {"connection_id":159360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":765341632,"raw_latitude":90695344,"longitude_deg":76.5341632,"latitude_deg":9.0695344,"altitude":12,"angle":358,"satellites":45,"speed":38,"hex_longitude":"2d9e2fc0","hex_latitude":"0567e6b0","is_valid_coordinates":true} 
[2026-08-21 21:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556210688001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388645689329975296,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7047922287386773504,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787328958000,"timestamp_ms":1787328958000,"timestamp_seconds":1787328958,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b8e30"} 
[2026-08-21 21:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:48:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:48:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556210688001,"66":27234,"119":206,"84":8448,"24":38,"16":388645689329975296,"45":-7047922287386773504},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,84,24,16,45]} 
[2026-08-21 21:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556210688001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-08-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388645689329975296,"km_value":388645689329975.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7047922287386773504,"description":"Unknown IO ID 45"} 
[2026-08-21 21:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556210688001,"power":27234,"unknown_119":206,"unknown_84":8448,"ignition":38,"odometer":null,"unknown_45":-7047922287386773504}} 
[2026-08-21 21:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":159360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:48:35] local.INFO: GPS data processed {"connection_id":159360,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:48:35] local.INFO: Acknowledgment sent {"connection_id":159360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:48:45] local.INFO: TCP Data received {"connection_id":161951,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:48:45] local.INFO: Processing buffer {"connection_id":161951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:48:45] local.INFO: Packet analysis {"connection_id":161951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:45] local.INFO: Extracted packet for processing {"connection_id":161951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21: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-08-21 21:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":161951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":161951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:48:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:48:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":161951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:48:45] local.INFO: GPS data processed {"connection_id":161951,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:48:45] local.INFO: Acknowledgment sent {"connection_id":161951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:48:56] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:48:56] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:48:56] local.INFO: IMEI packet received {"connection_id":159361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":159361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:49:00] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:49:00] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:49:00] local.INFO: IMEI packet received {"connection_id":159361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":159361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:49:01] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:49:01] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:49:01] local.INFO: IMEI packet received {"connection_id":159361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":159361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:49:02] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251bb540012d9e2f0005680c10000c01662d..."} 
[2026-08-21 21:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251bb540012d9e2f0005680c10000c01662d..."} 
[2026-08-21 21:49:02] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251bb540012d9e2f0005680c10000c01662d..."} 
[2026-08-21 21:49:02] local.INFO: Packet analysis {"connection_id":159361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:02] local.INFO: Extracted packet for processing {"connection_id":159361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:02] local.INFO: GPS Element Parsed {"raw_longitude":765341440,"raw_latitude":90704912,"longitude_deg":76.534144,"latitude_deg":9.0704912,"altitude":12,"angle":358,"satellites":45,"speed":37,"hex_longitude":"2d9e2f00","hex_latitude":"05680c10","is_valid_coordinates":true} 
[2026-08-21 21:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556213248001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388646153186443264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7048203762360995840,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787328968000,"timestamp_ms":1787328968000,"timestamp_seconds":1787328968,"priority":1,"record_length":96,"hex_timestamp":"000001a0251bb540"} 
[2026-08-21 21:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:49:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556213248001,"66":27234,"71":206,"84":8448,"24":37,"16":388646153186443264,"45":-7048203762360995840},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,84,24,16,45]} 
[2026-08-21 21:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556213248001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:49:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 21:49:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388646153186443264,"km_value":388646153186443.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7048203762360995840,"description":"Unknown IO ID 45"} 
[2026-08-21 21:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556213248001,"power":27234,"unknown_71":206,"unknown_84":8448,"ignition":37,"odometer":null,"unknown_45":-7048203762360995840}} 
[2026-08-21 21:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":159361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:49:02] local.INFO: GPS data processed {"connection_id":159361,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:49:02] local.INFO: Acknowledgment sent {"connection_id":159361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:49:06] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:49:06] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:49:06] local.INFO: IMEI packet received {"connection_id":159362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":159362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:49:11] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:49:11] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:49:11] local.INFO: IMEI packet received {"connection_id":159362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":159362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:49:12] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:49:12] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:49:12] local.INFO: Packet analysis {"connection_id":159362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:12] local.INFO: Extracted packet for processing {"connection_id":159362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:49:12] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:49:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":159362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:49:12] local.INFO: GPS data processed {"connection_id":159362,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:49:12] local.INFO: Acknowledgment sent {"connection_id":159362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:49:33] local.INFO: TCP Data received {"connection_id":159361,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251bdc50012d9e2d8005683140000c01632e..."} 
[2026-08-21 21:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251bdc50012d9e2d8005683140000c01632e..."} 
[2026-08-21 21:49:33] local.INFO: Processing buffer {"connection_id":159361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251bdc50012d9e2d8005683140000c01632e..."} 
[2026-08-21 21:49:33] local.INFO: Packet analysis {"connection_id":159361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:33] local.INFO: Extracted packet for processing {"connection_id":159361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:33] local.INFO: GPS Element Parsed {"raw_longitude":765341056,"raw_latitude":90714432,"longitude_deg":76.5341056,"latitude_deg":9.0714432,"altitude":12,"angle":355,"satellites":46,"speed":35,"hex_longitude":"2d9e2d80","hex_latitude":"05683140","is_valid_coordinates":true} 
[2026-08-21 21:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556215808001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388646612747943936,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7048414868591079424,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787328978000,"timestamp_ms":1787328978000,"timestamp_seconds":1787328978,"priority":1,"record_length":96,"hex_timestamp":"000001a0251bdc50"} 
[2026-08-21 21:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556215808001,"66":27267,"71":206,"84":8448,"24":35,"16":388646612747943936,"45":-7048414868591079424},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,84,24,16,45]} 
[2026-08-21 21:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556215808001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:49:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-08-21 21:49:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388646612747943936,"km_value":388646612747943.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7048414868591079424,"description":"Unknown IO ID 45"} 
[2026-08-21 21:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556215808001,"power":27267,"unknown_71":206,"unknown_84":8448,"ignition":35,"odometer":null,"unknown_45":-7048414868591079424}} 
[2026-08-21 21:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":159361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:49:33] local.INFO: GPS data processed {"connection_id":159361,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:49:33] local.INFO: Acknowledgment sent {"connection_id":159361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:49:43] local.INFO: TCP Data received {"connection_id":159362,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:49:43] local.INFO: Processing buffer {"connection_id":159362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:49:43] local.INFO: Packet analysis {"connection_id":159362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:43] local.INFO: Extracted packet for processing {"connection_id":159362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:49:43] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:49:43] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":159362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:49:43] local.INFO: GPS data processed {"connection_id":159362,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:49:43] local.INFO: Acknowledgment sent {"connection_id":159362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:50:00] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:50:00] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:50:00] local.INFO: IMEI packet received {"connection_id":161952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":161952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:50:01] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:01] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:01] local.INFO: IMEI packet received {"connection_id":159640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":159640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:50:02] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:02] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:02] local.INFO: IMEI packet received {"connection_id":159640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":159640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:50:03] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:03] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:03] local.INFO: IMEI packet received {"connection_id":159640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":159640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:50:04] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251e2a28012d9db18005697ba00014015428..."} 
[2026-08-21 21:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251e2a28012d9db18005697ba00014015428..."} 
[2026-08-21 21:50:04] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251e2a28012d9db18005697ba00014015428..."} 
[2026-08-21 21:50:04] local.INFO: Packet analysis {"connection_id":159640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:50:04] local.INFO: Extracted packet for processing {"connection_id":159640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":765309312,"raw_latitude":90799008,"longitude_deg":76.5309312,"latitude_deg":9.0799008,"altitude":20,"angle":340,"satellites":40,"speed":25,"hex_longitude":"2d9db180","hex_latitude":"05697ba0","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556253696001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388651027974324224,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7080432647170129920,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787329129000,"timestamp_ms":1787329129000,"timestamp_seconds":1787329129,"priority":1,"record_length":96,"hex_timestamp":"000001a0251e2a28"} 
[2026-08-21 21:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 21:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:50: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-08-21 21:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556253696001,"66":27463,"195":206,"84":8448,"24":25,"16":388651027974324224,"45":-7080432647170129920},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-21 21:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556253696001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:50:04] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 21:50:04] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388651027974324224,"km_value":388651027974324.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7080432647170129920,"description":"Unknown IO ID 45"} 
[2026-08-21 21:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556253696001,"power":27463,"unknown_195":206,"unknown_84":8448,"ignition":25,"odometer":null,"unknown_45":-7080432647170129920}} 
[2026-08-21 21:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":159640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:50:04] local.INFO: GPS data processed {"connection_id":159640,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:50:04] local.INFO: Acknowledgment sent {"connection_id":159640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:50:06] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251e60d8012d9da70005699d380011015427..."} 
[2026-08-21 21:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251e60d8012d9da70005699d380011015427..."} 
[2026-08-21 21:50:06] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251e60d8012d9da70005699d380011015427..."} 
[2026-08-21 21:50:06] local.INFO: Packet analysis {"connection_id":159640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:50:06] local.INFO: Extracted packet for processing {"connection_id":159640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":765306624,"raw_latitude":90807608,"longitude_deg":76.5306624,"latitude_deg":9.0807608,"altitude":17,"angle":340,"satellites":39,"speed":31,"hex_longitude":"2d9da700","hex_latitude":"05699d38","is_valid_coordinates":true} 
[2026-08-21 21:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556257024001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388651461766021120,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7083739978144178176,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787329143000,"timestamp_ms":1787329143000,"timestamp_seconds":1787329143,"priority":1,"record_length":96,"hex_timestamp":"000001a0251e60d8"} 
[2026-08-21 21:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 21:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556257024001,"66":27376,"195":206,"84":8448,"24":31,"16":388651461766021120,"45":-7083739978144178176},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-21 21:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556257024001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:50:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 21:50:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388651461766021120,"km_value":388651461766021.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7083739978144178176,"description":"Unknown IO ID 45"} 
[2026-08-21 21:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556257024001,"power":27376,"unknown_195":206,"unknown_84":8448,"ignition":31,"odometer":null,"unknown_45":-7083739978144178176}} 
[2026-08-21 21:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":159640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:50:06] local.INFO: GPS data processed {"connection_id":159640,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:50:06] local.INFO: Acknowledgment sent {"connection_id":159640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:50:08] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:50:08] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:50:08] local.INFO: IMEI packet received {"connection_id":161952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":161952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:50:09] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:50:09] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:50:09] local.INFO: Packet analysis {"connection_id":161952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:50:09] local.INFO: Extracted packet for processing {"connection_id":161952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:50:09] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":161952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":161952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":161952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:50:09] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:50:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":161952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:50:09] local.INFO: GPS data processed {"connection_id":161952,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:50:09] local.INFO: Acknowledgment sent {"connection_id":161952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:50:37] local.INFO: TCP Data received {"connection_id":159640,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251e9788012d9d9e000569bf10000e015b2a..."} 
[2026-08-21 21:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251e9788012d9d9e000569bf10000e015b2a..."} 
[2026-08-21 21:50:37] local.INFO: Processing buffer {"connection_id":159640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251e9788012d9d9e000569bf10000e015b2a..."} 
[2026-08-21 21:50:37] local.INFO: Packet analysis {"connection_id":159640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:50:37] local.INFO: Extracted packet for processing {"connection_id":159640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":765304320,"raw_latitude":90816272,"longitude_deg":76.530432,"latitude_deg":9.0816272,"altitude":14,"angle":347,"satellites":42,"speed":16,"hex_longitude":"2d9d9e00","hex_latitude":"0569bf10","is_valid_coordinates":true} 
[2026-08-21 21:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556260608001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388651895557718016,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7086695465397438464,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787329157000,"timestamp_ms":1787329157000,"timestamp_seconds":1787329157,"priority":1,"record_length":96,"hex_timestamp":"000001a0251e9788"} 
[2026-08-21 21:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556260608001,"66":27376,"195":206,"84":8448,"24":16,"16":388651895557718016,"45":-7086695465397438464},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,84,24,16,45]} 
[2026-08-21 21:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556260608001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:50:37] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 21:50:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388651895557718016,"km_value":388651895557718.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7086695465397438464,"description":"Unknown IO ID 45"} 
[2026-08-21 21:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556260608001,"power":27376,"unknown_195":206,"unknown_84":8448,"ignition":16,"odometer":null,"unknown_45":-7086695465397438464}} 
[2026-08-21 21:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":159640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:50:37] local.INFO: GPS data processed {"connection_id":159640,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:50:37] local.INFO: Acknowledgment sent {"connection_id":159640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:50:40] local.INFO: TCP Data received {"connection_id":161952,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:50:40] local.INFO: Processing buffer {"connection_id":161952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:50:40] local.INFO: Packet analysis {"connection_id":161952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:50:40] local.INFO: Extracted packet for processing {"connection_id":161952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:50:40] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:50:40] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:50:40] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":161952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:50:41] local.INFO: GPS data processed {"connection_id":161952,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:50:41] local.INFO: Acknowledgment sent {"connection_id":161952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:50:56] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:56] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:56] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:50:56] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:56] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:50:56] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:51:00] local.INFO: TCP Data received {"connection_id":159641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:51:00] local.INFO: Processing buffer {"connection_id":159641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:51:00] local.INFO: IMEI packet received {"connection_id":159641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":159641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:51:02] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:51:02] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:51:02] local.INFO: IMEI packet received {"connection_id":161953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":161953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:51:02] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251eb2e0012d9d9c000569c9a0000d00042c..."} 
[2026-08-21 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251eb2e0012d9d9c000569c9a0000d00042c..."} 
[2026-08-21 21:51:02] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251eb2e0012d9d9c000569c9a0000d00042c..."} 
[2026-08-21 21:51:02] local.INFO: Packet analysis {"connection_id":161953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:51:02] local.INFO: Extracted packet for processing {"connection_id":161953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":765303808,"raw_latitude":90818976,"longitude_deg":76.5303808,"latitude_deg":9.0818976,"altitude":13,"angle":4,"satellites":44,"speed":15,"hex_longitude":"2d9d9c00","hex_latitude":"0569c9a0","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556264192001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388652032996671488,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7089228740185616384,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787329164000,"timestamp_ms":1787329164000,"timestamp_seconds":1787329164,"priority":1,"record_length":96,"hex_timestamp":"000001a0251eb2e0"} 
[2026-08-21 21:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 21:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":161953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556264192001,"66":27213,"12":206,"84":8448,"24":15,"16":388652032996671488,"45":-7089228740185616384},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,84,24,16,45]} 
[2026-08-21 21:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556264192001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:51:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-21 21:51:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388652032996671488,"km_value":388652032996671.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7089228740185616384,"description":"Unknown IO ID 45"} 
[2026-08-21 21:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556264192001,"power":27213,"unknown_12":206,"unknown_84":8448,"ignition":15,"odometer":null,"unknown_45":-7089228740185616384}} 
[2026-08-21 21:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":161953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:51:02] local.INFO: GPS data processed {"connection_id":161953,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:51:02] local.INFO: Acknowledgment sent {"connection_id":161953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:51:05] local.INFO: TCP Data received {"connection_id":159641,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:51:05] local.INFO: Processing buffer {"connection_id":159641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:51:05] local.INFO: IMEI packet received {"connection_id":159641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":159641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:51:06] local.INFO: TCP Data received {"connection_id":159641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:51:06] local.INFO: Processing buffer {"connection_id":159641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251b6ef0012d196540071feff80044001127..."} 
[2026-08-21 21:51:06] local.INFO: Packet analysis {"connection_id":159641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:51:06] local.INFO: Extracted packet for processing {"connection_id":159641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251b"} 
[2026-08-21 21:51:06] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":39,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556134144001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787328950000,"timestamp_ms":1787328950000,"timestamp_seconds":1787328950,"priority":1,"record_length":96,"hex_timestamp":"000001a0251b6ef0"} 
[2026-08-21 21:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:51:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556134144001,"66":2166,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556134144001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556134144001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":159641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:51:06] local.INFO: GPS data processed {"connection_id":159641,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:51:06] local.INFO: Acknowledgment sent {"connection_id":159641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:51:38] local.INFO: TCP Data received {"connection_id":159641,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:51:38] local.INFO: Processing buffer {"connection_id":159641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:51:38] local.INFO: Packet analysis {"connection_id":159641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:51:38] local.INFO: Extracted packet for processing {"connection_id":159641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:51:38] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556211200001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787329251000,"timestamp_ms":1787329251000,"timestamp_seconds":1787329251,"priority":1,"record_length":96,"hex_timestamp":"000001a0252006b8"} 
[2026-08-21 21:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556211200001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556211200001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556211200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":159641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:51:38] local.INFO: GPS data processed {"connection_id":159641,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:51:38] local.INFO: Acknowledgment sent {"connection_id":159641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:51:38] local.INFO: TCP Data received {"connection_id":161953,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0251ebab0012d9d9cc00569ccc0000e00142c..."} 
[2026-08-21 21:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0251ebab0012d9d9cc00569ccc0000e00142c..."} 
[2026-08-21 21:51:38] local.INFO: Processing buffer {"connection_id":161953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0251ebab0012d9d9cc00569ccc0000e00142c..."} 
[2026-08-21 21:51:38] local.INFO: Packet analysis {"connection_id":161953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:51:38] local.INFO: Extracted packet for processing {"connection_id":161953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0251e"} 
[2026-08-21 21:51:38] local.INFO: GPS Element Parsed {"raw_longitude":765304000,"raw_latitude":90819776,"longitude_deg":76.5304,"latitude_deg":9.0819776,"altitude":14,"angle":20,"satellites":44,"speed":17,"hex_longitude":"2d9d9cc0","hex_latitude":"0569ccc0","is_valid_coordinates":true} 
[2026-08-21 21:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556265984001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388652071651377152,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7089791690138345472,"note":"Value kept but may cause issues"} 
[2026-08-21 21:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787329166000,"timestamp_ms":1787329166000,"timestamp_seconds":1787329166,"priority":1,"record_length":96,"hex_timestamp":"000001a0251ebab0"} 
[2026-08-21 21:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 21:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:51:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556265984001,"66":27300,"12":206,"84":8448,"24":17,"16":388652071651377152,"45":-7089791690138345472},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,84,24,16,45]} 
[2026-08-21 21:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556265984001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388652071651377152,"km_value":388652071651377.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7089791690138345472,"description":"Unknown IO ID 45"} 
[2026-08-21 21:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556265984001,"power":27300,"unknown_12":206,"unknown_84":8448,"ignition":17,"odometer":null,"unknown_45":-7089791690138345472}} 
[2026-08-21 21:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":161953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:51:38] local.INFO: GPS data processed {"connection_id":161953,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:51:38] local.INFO: Acknowledgment sent {"connection_id":161953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:51:57] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:51:57] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:51:57] local.INFO: IMEI packet received {"connection_id":160555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":160555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:52:01] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:52:01] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:52:01] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:52:01] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:01] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:01] local.INFO: IMEI packet received {"connection_id":160555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":160555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:52:02] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0252002d0012d9d2780056b0230000c01522a..."} 
[2026-08-21 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252002d0012d9d2780056b0230000c01522a..."} 
[2026-08-21 21:52:02] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252002d0012d9d2780056b0230000c01522a..."} 
[2026-08-21 21:52:02] local.INFO: Packet analysis {"connection_id":160555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:02] local.INFO: Extracted packet for processing {"connection_id":160555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:02] local.INFO: GPS Element Parsed {"raw_longitude":765273984,"raw_latitude":90898992,"longitude_deg":76.5273984,"latitude_deg":9.0898992,"altitude":12,"angle":338,"satellites":42,"speed":47,"hex_longitude":"2d9d2780","hex_latitude":"056b0230","is_valid_coordinates":true} 
[2026-08-21 21:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556285952001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388656190525014016,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7118642875233005568,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787329250000,"timestamp_ms":1787329250000,"timestamp_seconds":1787329250,"priority":1,"record_length":96,"hex_timestamp":"000001a0252002d0"} 
[2026-08-21 21:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556285952001,"66":27365,"12":206,"84":8448,"24":47,"16":388656190525014016,"45":-7118642875233005568},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,84,24,16,45]} 
[2026-08-21 21:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556285952001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:52:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-21 21:52:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388656190525014016,"km_value":388656190525014.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7118642875233005568,"description":"Unknown IO ID 45"} 
[2026-08-21 21:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556285952001,"power":27365,"unknown_12":206,"unknown_84":8448,"ignition":47,"odometer":null,"unknown_45":-7118642875233005568}} 
[2026-08-21 21:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":160555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:52:02] local.INFO: GPS data processed {"connection_id":160555,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:52:02] local.INFO: Acknowledgment sent {"connection_id":160555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:52:05] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:52:05] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:52:05] local.INFO: IMEI packet received {"connection_id":161954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":161954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:52:08] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:52:08] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:52:08] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:08] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556211200001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787329251000,"timestamp_ms":1787329251000,"timestamp_seconds":1787329251,"priority":1,"record_length":96,"hex_timestamp":"000001a0252006b8"} 
[2026-08-21 21:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:52:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556211200001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556211200001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556211200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:52:08] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:52:08] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:52:33] local.INFO: TCP Data received {"connection_id":160555,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025202210012d9d1940056b24b8000b01522b..."} 
[2026-08-21 21:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025202210012d9d1940056b24b8000b01522b..."} 
[2026-08-21 21:52:33] local.INFO: Processing buffer {"connection_id":160555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025202210012d9d1940056b24b8000b01522b..."} 
[2026-08-21 21:52:33] local.INFO: Packet analysis {"connection_id":160555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:33] local.INFO: Extracted packet for processing {"connection_id":160555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:33] local.INFO: GPS Element Parsed {"raw_longitude":765270336,"raw_latitude":90907832,"longitude_deg":76.5270336,"latitude_deg":9.0907832,"altitude":11,"angle":338,"satellites":43,"speed":46,"hex_longitude":"2d9d1940","hex_latitude":"056b24b8","is_valid_coordinates":true} 
[2026-08-21 21:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556288000001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388656654381481984,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7122583524904652800,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787329258000,"timestamp_ms":1787329258000,"timestamp_seconds":1787329258,"priority":1,"record_length":96,"hex_timestamp":"000001a025202210"} 
[2026-08-21 21:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 21:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556288000001,"66":27332,"12":206,"84":8448,"24":46,"16":388656654381481984,"45":-7122583524904652800},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,84,24,16,45]} 
[2026-08-21 21:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556288000001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:52:33] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-21 21:52:33] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388656654381481984,"km_value":388656654381482.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7122583524904652800,"description":"Unknown IO ID 45"} 
[2026-08-21 21:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556288000001,"power":27332,"unknown_12":206,"unknown_84":8448,"ignition":46,"odometer":null,"unknown_45":-7122583524904652800}} 
[2026-08-21 21:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":160555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:52:33] local.INFO: GPS data processed {"connection_id":160555,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:52:33] local.INFO: Acknowledgment sent {"connection_id":160555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:52:39] local.INFO: TCP Data received {"connection_id":161954,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161954,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:52:39] local.INFO: Processing buffer {"connection_id":161954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:52:39] local.INFO: Packet analysis {"connection_id":161954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:39] local.INFO: Extracted packet for processing {"connection_id":161954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:52:39] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556211200001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787329251000,"timestamp_ms":1787329251000,"timestamp_seconds":1787329251,"priority":1,"record_length":96,"hex_timestamp":"000001a0252006b8"} 
[2026-08-21 21:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556211200001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556211200001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:52:39] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:52:39] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556211200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":161954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:52:39] local.INFO: GPS data processed {"connection_id":161954,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:52:39] local.INFO: Acknowledgment sent {"connection_id":161954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:52:55] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:55] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:55] local.INFO: IMEI packet received {"connection_id":160556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":160556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:52:56] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:56] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:52:56] local.INFO: IMEI packet received {"connection_id":160556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":160556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:53:00] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:00] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:00] local.INFO: IMEI packet received {"connection_id":159642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-08-21 21:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":159642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:53:02] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:53:02] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:53:02] local.INFO: IMEI packet received {"connection_id":160556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":160556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:53:02] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025204538012d9d0b80056b4900000c01522d..."} 
[2026-08-21 21:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025204538012d9d0b80056b4900000c01522d..."} 
[2026-08-21 21:53:02] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025204538012d9d0b80056b4900000c01522d..."} 
[2026-08-21 21:53:02] local.INFO: Packet analysis {"connection_id":160556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:53:02] local.INFO: Extracted packet for processing {"connection_id":160556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:53:02] local.INFO: GPS Element Parsed {"raw_longitude":765266816,"raw_latitude":90917120,"longitude_deg":76.5266816,"latitude_deg":9.091712,"altitude":12,"angle":338,"satellites":45,"speed":44,"hex_longitude":"2d9d0b80","hex_latitude":"056b4900","is_valid_coordinates":true} 
[2026-08-21 21:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556290048001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388657135417819136,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7126594543320516608,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787329267000,"timestamp_ms":1787329267000,"timestamp_seconds":1787329267,"priority":1,"record_length":96,"hex_timestamp":"000001a025204538"} 
[2026-08-21 21:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 21:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556290048001,"66":27267,"12":206,"84":8448,"24":44,"16":388657135417819136,"45":-7126594543320516608},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,84,24,16,45]} 
[2026-08-21 21:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556290048001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:53:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-08-21 21:53:02] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388657135417819136,"km_value":388657135417819.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7126594543320516608,"description":"Unknown IO ID 45"} 
[2026-08-21 21:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556290048001,"power":27267,"unknown_12":206,"unknown_84":8448,"ignition":44,"odometer":null,"unknown_45":-7126594543320516608}} 
[2026-08-21 21:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":160556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:53:02] local.INFO: GPS data processed {"connection_id":160556,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:53:02] local.INFO: Acknowledgment sent {"connection_id":160556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:53:06] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:06] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:06] local.INFO: IMEI packet received {"connection_id":159642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":159642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:53:10] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:10] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-08-21 21:53:10] local.INFO: IMEI packet received {"connection_id":159642,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-08-21 21:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":159642,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:53:11] local.INFO: TCP Data received {"connection_id":159642,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:53:11] local.INFO: Processing buffer {"connection_id":159642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252006b8012d196540071feff80044001129..."} 
[2026-08-21 21:53:11] local.INFO: Packet analysis {"connection_id":159642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:53:11] local.INFO: Extracted packet for processing {"connection_id":159642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":756639040,"raw_latitude":119533560,"longitude_deg":75.663904,"latitude_deg":11.953356,"altitude":68,"angle":17,"satellites":41,"speed":0,"hex_longitude":"2d196540","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-08-21 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556211200001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":14329015921803264,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829939222940743680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787329251000,"timestamp_ms":1787329251000,"timestamp_seconds":1787329251,"priority":1,"record_length":96,"hex_timestamp":"000001a0252006b8"} 
[2026-08-21 21:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 21:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-08-21 21:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159642,"device_imei":"862567074811360","avl_records_count":1} 
[2026-08-21 21:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-08-21 21:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-08-21 21:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556211200001,"66":2155,"102":206,"83":41984,"24":0,"16":14329015921803264,"45":1829939222940743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-08-21 21:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-08-21 21:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-08-21 21:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556211200001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:53:11] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-08-21 21:53:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-08-21 21:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":14329015921803264,"km_value":14329015921803.264,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829939222940743680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556211200001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1829939222940743680}} 
[2026-08-21 21:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":159642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:53:11] local.INFO: GPS data processed {"connection_id":159642,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:53:11] local.INFO: Acknowledgment sent {"connection_id":159642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:53:34] local.INFO: TCP Data received {"connection_id":160556,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025206478012d9cfe40056b6b28000c01522c..."} 
[2026-08-21 21:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025206478012d9cfe40056b6b28000c01522c..."} 
[2026-08-21 21:53:34] local.INFO: Processing buffer {"connection_id":160556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025206478012d9cfe40056b6b28000c01522c..."} 
[2026-08-21 21:53:34] local.INFO: Packet analysis {"connection_id":160556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:53:34] local.INFO: Extracted packet for processing {"connection_id":160556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02520"} 
[2026-08-21 21:53:34] local.INFO: GPS Element Parsed {"raw_longitude":765263424,"raw_latitude":90925864,"longitude_deg":76.5263424,"latitude_deg":9.0925864,"altitude":12,"angle":338,"satellites":44,"speed":48,"hex_longitude":"2d9cfe40","hex_latitude":"056b6b28","is_valid_coordinates":true} 
[2026-08-21 21:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556292352001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388657586389385216,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7130464824247910400,"note":"Value kept but may cause issues"} 
[2026-08-21 21:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787329275000,"timestamp_ms":1787329275000,"timestamp_seconds":1787329275,"priority":1,"record_length":96,"hex_timestamp":"000001a025206478"} 
[2026-08-21 21:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:53: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-08-21 21:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 21:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556292352001,"66":27289,"51":206,"84":8448,"24":48,"16":388657586389385216,"45":-7130464824247910400},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 21:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556292352001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:53:34] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 21:53:34] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388657586389385216,"km_value":388657586389385.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7130464824247910400,"description":"Unknown IO ID 45"} 
[2026-08-21 21:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556292352001,"power":27289,"unknown_51":206,"unknown_84":8448,"ignition":48,"odometer":null,"unknown_45":-7130464824247910400}} 
[2026-08-21 21:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":160556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:53:34] local.INFO: GPS data processed {"connection_id":160556,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:53:34] local.INFO: Acknowledgment sent {"connection_id":160556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:54:31] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:31] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:31] local.INFO: IMEI packet received {"connection_id":160557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":160557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:54:32] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:32] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:32] local.INFO: IMEI packet received {"connection_id":160557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":160557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:54:37] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:37] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:54:37] local.INFO: IMEI packet received {"connection_id":160557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":160557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:54:37] local.INFO: TCP Data received {"connection_id":160557,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0252250a8012d9c6140056c8a60000a01452c..."} 
[2026-08-21 21:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252250a8012d9c6140056c8a60000a01452c..."} 
[2026-08-21 21:54:37] local.INFO: Processing buffer {"connection_id":160557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252250a8012d9c6140056c8a60000a01452c..."} 
[2026-08-21 21:54:37] local.INFO: Packet analysis {"connection_id":160557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:54:37] local.INFO: Extracted packet for processing {"connection_id":160557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:54:37] local.INFO: GPS Element Parsed {"raw_longitude":765223232,"raw_latitude":90999392,"longitude_deg":76.5223232,"latitude_deg":9.0999392,"altitude":10,"angle":325,"satellites":44,"speed":19,"hex_longitude":"2d9c6140","hex_latitude":"056c8a60","is_valid_coordinates":true} 
[2026-08-21 21:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556321280001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388661683788185600,"note":"Value kept but may cause issues"} 
[2026-08-21 21:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7173178651944230912,"note":"Value kept but may cause issues"} 
[2026-08-21 21:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787329401000,"timestamp_ms":1787329401000,"timestamp_seconds":1787329401,"priority":1,"record_length":96,"hex_timestamp":"000001a0252250a8"} 
[2026-08-21 21:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 21:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556321280001,"66":27300,"51":206,"84":8448,"24":19,"16":388661683788185600,"45":-7173178651944230912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 21:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556321280001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:54:37] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 21:54:37] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388661683788185600,"km_value":388661683788185.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7173178651944230912,"description":"Unknown IO ID 45"} 
[2026-08-21 21:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556321280001,"power":27300,"unknown_51":206,"unknown_84":8448,"ignition":19,"odometer":null,"unknown_45":-7173178651944230912}} 
[2026-08-21 21:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":160557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:54:37] local.INFO: GPS data processed {"connection_id":160557,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:54:37] local.INFO: Acknowledgment sent {"connection_id":160557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:55:01] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:01] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:01] local.INFO: IMEI packet received {"connection_id":159643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:55:01] local.INFO: IMEI acknowledgment sent {"connection_id":159643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:55:06] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:06] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:06] local.INFO: IMEI packet received {"connection_id":159643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":159643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:55:06] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:06] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:06] local.INFO: IMEI packet received {"connection_id":159643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":159643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:55:07] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a025227f88012d9c5240056ca528000a01512c..."} 
[2026-08-21 21:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025227f88012d9c5240056ca528000a01512c..."} 
[2026-08-21 21:55:07] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025227f88012d9c5240056ca528000a01512c..."} 
[2026-08-21 21:55:07] local.INFO: Packet analysis {"connection_id":159643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:55:07] local.INFO: Extracted packet for processing {"connection_id":159643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:55:07] local.INFO: GPS Element Parsed {"raw_longitude":765219392,"raw_latitude":91006248,"longitude_deg":76.5219392,"latitude_deg":9.1006248,"altitude":10,"angle":337,"satellites":44,"speed":32,"hex_longitude":"2d9c5240","hex_latitude":"056ca528","is_valid_coordinates":true} 
[2026-08-21 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556326656001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388662061745307648,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7178385939011837952,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787329413000,"timestamp_ms":1787329413000,"timestamp_seconds":1787329413,"priority":1,"record_length":96,"hex_timestamp":"000001a025227f88"} 
[2026-08-21 21:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556326656001,"66":27321,"51":206,"84":8448,"24":32,"16":388662061745307648,"45":-7178385939011837952},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 21:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556326656001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388662061745307648,"km_value":388662061745307.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7178385939011837952,"description":"Unknown IO ID 45"} 
[2026-08-21 21:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556326656001,"power":27321,"unknown_51":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7178385939011837952}} 
[2026-08-21 21:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":159643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:55:07] local.INFO: GPS data processed {"connection_id":159643,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:55:07] local.INFO: Acknowledgment sent {"connection_id":159643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:55:08] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02522aa80012d9c4540056cc700000901542c..."} 
[2026-08-21 21:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02522aa80012d9c4540056cc700000901542c..."} 
[2026-08-21 21:55:08] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02522aa80012d9c4540056cc700000901542c..."} 
[2026-08-21 21:55:08] local.INFO: Packet analysis {"connection_id":159643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:55:08] local.INFO: Extracted packet for processing {"connection_id":159643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":765216064,"raw_latitude":91014912,"longitude_deg":76.5216064,"latitude_deg":9.1014912,"altitude":9,"angle":340,"satellites":44,"speed":34,"hex_longitude":"2d9c4540","hex_latitude":"056cc700","is_valid_coordinates":true} 
[2026-08-21 21:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556329728001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388662512716873728,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7182608063660742656,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787329424000,"timestamp_ms":1787329424000,"timestamp_seconds":1787329424,"priority":1,"record_length":96,"hex_timestamp":"000001a02522aa80"} 
[2026-08-21 21:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 21:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556329728001,"66":27234,"51":206,"84":8448,"24":34,"16":388662512716873728,"45":-7182608063660742656},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,84,24,16,45]} 
[2026-08-21 21:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556329728001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:55:08] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-08-21 21:55:08] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388662512716873728,"km_value":388662512716873.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7182608063660742656,"description":"Unknown IO ID 45"} 
[2026-08-21 21:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556329728001,"power":27234,"unknown_51":206,"unknown_84":8448,"ignition":34,"odometer":null,"unknown_45":-7182608063660742656}} 
[2026-08-21 21:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":159643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:55:08] local.INFO: GPS data processed {"connection_id":159643,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:55:08] local.INFO: Acknowledgment sent {"connection_id":159643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:55:39] local.INFO: TCP Data received {"connection_id":159643,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a02522d190012d9c38c0056ce9b0000a01552d..."} 
[2026-08-21 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02522d190012d9c38c0056ce9b0000a01552d..."} 
[2026-08-21 21:55:39] local.INFO: Processing buffer {"connection_id":159643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02522d190012d9c38c0056ce9b0000a01552d..."} 
[2026-08-21 21:55:39] local.INFO: Packet analysis {"connection_id":159643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:55:39] local.INFO: Extracted packet for processing {"connection_id":159643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02522"} 
[2026-08-21 21:55:39] local.INFO: GPS Element Parsed {"raw_longitude":765212864,"raw_latitude":91023792,"longitude_deg":76.5212864,"latitude_deg":9.1023792,"altitude":10,"angle":341,"satellites":45,"speed":39,"hex_longitude":"2d9c38c0","hex_latitude":"056ce9b0","is_valid_coordinates":true} 
[2026-08-21 21:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556332544001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388662967983407104,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7186267238355763200,"note":"Value kept but may cause issues"} 
[2026-08-21 21:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787329434000,"timestamp_ms":1787329434000,"timestamp_seconds":1787329434,"priority":1,"record_length":96,"hex_timestamp":"000001a02522d190"} 
[2026-08-21 21:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556332544001,"66":27397,"53":206,"84":8448,"24":39,"16":388662967983407104,"45":-7186267238355763200},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,84,24,16,45]} 
[2026-08-21 21:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556332544001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:55:39] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 21:55:39] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388662967983407104,"km_value":388662967983407.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7186267238355763200,"description":"Unknown IO ID 45"} 
[2026-08-21 21:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556332544001,"power":27397,"unknown_53":206,"unknown_84":8448,"ignition":39,"odometer":null,"unknown_45":-7186267238355763200}} 
[2026-08-21 21:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":159643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:55:39] local.INFO: GPS data processed {"connection_id":159643,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:55:39] local.INFO: Acknowledgment sent {"connection_id":159643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:55:56] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:56] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:55:56] local.INFO: IMEI packet received {"connection_id":160558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":160558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:56:02] local.INFO: TCP Data received {"connection_id":160558,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:02] local.INFO: Processing buffer {"connection_id":160558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:02] local.INFO: IMEI packet received {"connection_id":160558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":160558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:56:49] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:49] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:49] local.INFO: IMEI packet received {"connection_id":159363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 21:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":159363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 21:56:50] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:50] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:50] local.INFO: IMEI packet received {"connection_id":159363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":159363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:56:54] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:54] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 21:56:54] local.INFO: IMEI packet received {"connection_id":159363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 21:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":159363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 21:56:55] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02524e8b8012d9be640056e44c0000b01662e..."} 
[2026-08-21 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02524e8b8012d9be640056e44c0000b01662e..."} 
[2026-08-21 21:56:55] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02524e8b8012d9be640056e44c0000b01662e..."} 
[2026-08-21 21:56:55] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02524"} 
[2026-08-21 21:56:55] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02524"} 
[2026-08-21 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":765191744,"raw_latitude":91112640,"longitude_deg":76.5191744,"latitude_deg":9.111264,"altitude":11,"angle":358,"satellites":46,"speed":30,"hex_longitude":"2d9be640","hex_latitude":"056e44c0","is_valid_coordinates":true} 
[2026-08-21 21: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-08-21 21:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556366592001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388667086857043968,"note":"Value kept but may cause issues"} 
[2026-08-21 21:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212725886144002048,"note":"Value kept but may cause issues"} 
[2026-08-21 21:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787329571000,"timestamp_ms":1787329571000,"timestamp_seconds":1787329571,"priority":1,"record_length":96,"hex_timestamp":"000001a02524e8b8"} 
[2026-08-21 21:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 21:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21: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-08-21 21:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21: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-08-21 21:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556366592001,"66":27245,"231":206,"84":8448,"24":30,"16":388667086857043968,"45":-7212725886144002048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-08-21 21:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556366592001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:56:55] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-21 21:56:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388667086857043968,"km_value":388667086857043.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212725886144002048,"description":"Unknown IO ID 45"} 
[2026-08-21 21:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556366592001,"power":27245,"unknown_231":206,"unknown_84":8448,"ignition":30,"odometer":null,"unknown_45":-7212725886144002048}} 
[2026-08-21 21:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:56:55] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:56:55] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:57:26] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025251f68012d9be500056e6760000b00022e..."} 
[2026-08-21 21:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025251f68012d9be500056e6760000b00022e..."} 
[2026-08-21 21:57:26] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025251f68012d9be500056e6760000b00022e..."} 
[2026-08-21 21:57:26] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02525"} 
[2026-08-21 21:57:26] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02525"} 
[2026-08-21 21:57:26] local.INFO: GPS Element Parsed {"raw_longitude":765191424,"raw_latitude":91121504,"longitude_deg":76.5191424,"latitude_deg":9.1121504,"altitude":11,"angle":2,"satellites":46,"speed":25,"hex_longitude":"2d9be500","hex_latitude":"056e6760","is_valid_coordinates":true} 
[2026-08-21 21:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556370176001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388667516353773568,"note":"Value kept but may cause issues"} 
[2026-08-21 21:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7213007361118257152,"note":"Value kept but may cause issues"} 
[2026-08-21 21:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787329585000,"timestamp_ms":1787329585000,"timestamp_seconds":1787329585,"priority":1,"record_length":96,"hex_timestamp":"000001a025251f68"} 
[2026-08-21 21:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:57:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 21:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21: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-08-21 21:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556370176001,"66":27332,"231":206,"84":8448,"24":25,"16":388667516353773568,"45":-7213007361118257152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-08-21 21:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556370176001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:57:26] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-21 21:57:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388667516353773568,"km_value":388667516353773.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7213007361118257152,"description":"Unknown IO ID 45"} 
[2026-08-21 21:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556370176001,"power":27332,"unknown_231":206,"unknown_84":8448,"ignition":25,"odometer":null,"unknown_45":-7213007361118257152}} 
[2026-08-21 21:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:57:26] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:57:26] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:57:56] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025252b20012d9be680056e6f38000b000e2d..."} 
[2026-08-21 21:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025252b20012d9be680056e6f38000b000e2d..."} 
[2026-08-21 21:57:56] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025252b20012d9be680056e6f38000b000e2d..."} 
[2026-08-21 21:57:56] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02525"} 
[2026-08-21 21:57:56] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02525"} 
[2026-08-21 21:57:56] local.INFO: GPS Element Parsed {"raw_longitude":765191808,"raw_latitude":91123512,"longitude_deg":76.5191808,"latitude_deg":9.1123512,"altitude":11,"angle":14,"satellites":45,"speed":29,"hex_longitude":"2d9be680","hex_latitude":"056e6f38","is_valid_coordinates":true} 
[2026-08-21 21:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556373760001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388667615138021376,"note":"Value kept but may cause issues"} 
[2026-08-21 21:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7213359204836876288,"note":"Value kept but may cause issues"} 
[2026-08-21 21:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787329588000,"timestamp_ms":1787329588000,"timestamp_seconds":1787329588,"priority":1,"record_length":96,"hex_timestamp":"000001a025252b20"} 
[2026-08-21 21:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 21:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556373760001,"66":27234,"231":206,"84":8448,"24":29,"16":388667615138021376,"45":-7213359204836876288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-08-21 21:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556373760001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:57:56] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-21 21:57:56] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388667615138021376,"km_value":388667615138021.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7213359204836876288,"description":"Unknown IO ID 45"} 
[2026-08-21 21:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556373760001,"power":27234,"unknown_231":206,"unknown_84":8448,"ignition":29,"odometer":null,"unknown_45":-7213359204836876288}} 
[2026-08-21 21:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:57:56] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:57:56] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:58:28] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252532f0012d9be740056e7530000b00022e..."} 
[2026-08-21 21:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252532f0012d9be740056e7530000b00022e..."} 
[2026-08-21 21:58:28] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252532f0012d9be740056e7530000b00022e..."} 
[2026-08-21 21:58:28] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02525"} 
[2026-08-21 21:58:28] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02525"} 
[2026-08-21 21:58:28] local.INFO: GPS Element Parsed {"raw_longitude":765192000,"raw_latitude":91125040,"longitude_deg":76.5192,"latitude_deg":9.112504,"altitude":11,"angle":2,"satellites":46,"speed":32,"hex_longitude":"2d9be740","hex_latitude":"056e7530","is_valid_coordinates":true} 
[2026-08-21 21:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556374528001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388667688152465408,"note":"Value kept but may cause issues"} 
[2026-08-21 21:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7212936992371296256,"note":"Value kept but may cause issues"} 
[2026-08-21 21:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787329590000,"timestamp_ms":1787329590000,"timestamp_seconds":1787329590,"priority":1,"record_length":96,"hex_timestamp":"000001a0252532f0"} 
[2026-08-21 21:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21: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-08-21 21:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556374528001,"66":27180,"231":206,"84":8448,"24":32,"16":388667688152465408,"45":-7212936992371296256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,84,24,16,45]} 
[2026-08-21 21:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556374528001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:58:28] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-08-21 21:58:28] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388667688152465408,"km_value":388667688152465.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7212936992371296256,"description":"Unknown IO ID 45"} 
[2026-08-21 21:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556374528001,"power":27180,"unknown_231":206,"unknown_84":8448,"ignition":32,"odometer":null,"unknown_45":-7212936992371296256}} 
[2026-08-21 21:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:58:28] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:58:28] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:59:24] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025268ab0012d9bad80056ff468000c015a2e..."} 
[2026-08-21 21:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025268ab0012d9bad80056ff468000c015a2e..."} 
[2026-08-21 21:59:24] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025268ab0012d9bad80056ff468000c015a2e..."} 
[2026-08-21 21:59:24] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02526"} 
[2026-08-21 21:59:24] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02526"} 
[2026-08-21 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":765177216,"raw_latitude":91223144,"longitude_deg":76.5177216,"latitude_deg":9.1223144,"altitude":12,"angle":346,"satellites":46,"speed":43,"hex_longitude":"2d9bad80","hex_latitude":"056ff468","is_valid_coordinates":true} 
[2026-08-21 21:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556395520001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388672511400738816,"note":"Value kept but may cause issues"} 
[2026-08-21 21:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7227151478671943680,"note":"Value kept but may cause issues"} 
[2026-08-21 21:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787329678000,"timestamp_ms":1787329678000,"timestamp_seconds":1787329678,"priority":1,"record_length":96,"hex_timestamp":"000001a025268ab0"} 
[2026-08-21 21:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 21:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 21:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556395520001,"66":27234,"91":206,"84":8448,"24":43,"16":388672511400738816,"45":-7227151478671943680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,84,24,16,45]} 
[2026-08-21 21:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556395520001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:59:24] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-21 21:59:24] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388672511400738816,"km_value":388672511400738.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7227151478671943680,"description":"Unknown IO ID 45"} 
[2026-08-21 21:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556395520001,"power":27234,"unknown_91":206,"unknown_84":8448,"ignition":43,"odometer":null,"unknown_45":-7227151478671943680}} 
[2026-08-21 21:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:59:24] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:59:24] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 21:59:55] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02526b1c0012d9ba58005701780000e01602d..."} 
[2026-08-21 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02526b1c0012d9ba58005701780000e01602d..."} 
[2026-08-21 21:59:55] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02526b1c0012d9ba58005701780000e01602d..."} 
[2026-08-21 21:59:55] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02526"} 
[2026-08-21 21:59:55] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02526"} 
[2026-08-21 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":765175168,"raw_latitude":91232128,"longitude_deg":76.5175168,"latitude_deg":9.1232128,"altitude":14,"angle":352,"satellites":45,"speed":35,"hex_longitude":"2d9ba580","hex_latitude":"05701780","is_valid_coordinates":true} 
[2026-08-21 21:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 21:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556397568001,"note":"Value kept but may cause issues"} 
[2026-08-21 21:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388672958077337600,"note":"Value kept but may cause issues"} 
[2026-08-21 21:59:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7228981066018297856,"note":"Value kept but may cause issues"} 
[2026-08-21 21:59:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 21:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1787329688000,"timestamp_ms":1787329688000,"timestamp_seconds":1787329688,"priority":1,"record_length":96,"hex_timestamp":"000001a02526b1c0"} 
[2026-08-21 21:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 21:59:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 21:59:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 21:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 21:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 21:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 21:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 21:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 21:59: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-08-21 21:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 21:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 21:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556397568001,"66":27321,"91":206,"84":8448,"24":35,"16":388672958077337600,"45":-7228981066018297856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,84,24,16,45]} 
[2026-08-21 21:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 21:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 21:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556397568001,"description":"Unknown IO ID 0"} 
[2026-08-21 21:59:55] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-21 21:59:55] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 21:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388672958077337600,"km_value":388672958077337.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 21:59:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7228981066018297856,"description":"Unknown IO ID 45"} 
[2026-08-21 21:59:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556397568001,"power":27321,"unknown_91":206,"unknown_84":8448,"ignition":35,"odometer":null,"unknown_45":-7228981066018297856}} 
[2026-08-21 21:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 21:59:55] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 21:59:55] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:00:26] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02526d8d0012d9b9f4005703a98000f015a2d..."} 
[2026-08-21 22:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02526d8d0012d9b9f4005703a98000f015a2d..."} 
[2026-08-21 22:00:26] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02526d8d0012d9b9f4005703a98000f015a2d..."} 
[2026-08-21 22:00:26] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02526"} 
[2026-08-21 22:00:26] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02526"} 
[2026-08-21 22:00:26] local.INFO: GPS Element Parsed {"raw_longitude":765173568,"raw_latitude":91241112,"longitude_deg":76.5173568,"latitude_deg":9.1241112,"altitude":15,"angle":346,"satellites":45,"speed":29,"hex_longitude":"2d9b9f40","hex_latitude":"05703a98","is_valid_coordinates":true} 
[2026-08-21 22:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556400128001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388673400458969088,"note":"Value kept but may cause issues"} 
[2026-08-21 22:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7231232865829683200,"note":"Value kept but may cause issues"} 
[2026-08-21 22:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787329698000,"timestamp_ms":1787329698000,"timestamp_seconds":1787329698,"priority":1,"record_length":96,"hex_timestamp":"000001a02526d8d0"} 
[2026-08-21 22:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:00:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:00: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-08-21 22:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556400128001,"66":27310,"91":206,"84":8448,"24":29,"16":388673400458969088,"45":-7231232865829683200},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,84,24,16,45]} 
[2026-08-21 22:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556400128001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:00:26] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-08-21 22:00:26] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 22:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388673400458969088,"km_value":388673400458969.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7231232865829683200,"description":"Unknown IO ID 45"} 
[2026-08-21 22:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556400128001,"power":27310,"unknown_91":206,"unknown_84":8448,"ignition":29,"odometer":null,"unknown_45":-7231232865829683200}} 
[2026-08-21 22:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:00:27] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:00:27] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:00:57] local.INFO: TCP Data received {"connection_id":159363,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025289df0012d9b418005712280000a01122e..."} 
[2026-08-21 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159363,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025289df0012d9b418005712280000a01122e..."} 
[2026-08-21 22:00:57] local.INFO: Processing buffer {"connection_id":159363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025289df0012d9b418005712280000a01122e..."} 
[2026-08-21 22:00:57] local.INFO: Packet analysis {"connection_id":159363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:00:57] local.INFO: Extracted packet for processing {"connection_id":159363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:00:57] local.INFO: GPS Element Parsed {"raw_longitude":765149568,"raw_latitude":91300480,"longitude_deg":76.5149568,"latitude_deg":9.130048,"altitude":10,"angle":274,"satellites":46,"speed":6,"hex_longitude":"2d9b4180","hex_latitude":"05712280","is_valid_coordinates":true} 
[2026-08-21 22:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556431360001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388676595914637312,"note":"Value kept but may cause issues"} 
[2026-08-21 22:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7258676676041521152,"note":"Value kept but may cause issues"} 
[2026-08-21 22:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787329814000,"timestamp_ms":1787329814000,"timestamp_seconds":1787329814,"priority":1,"record_length":96,"hex_timestamp":"000001a025289df0"} 
[2026-08-21 22:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556431360001,"66":27310,"93":206,"84":8448,"24":6,"16":388676595914637312,"45":-7258676676041521152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-21 22:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556431360001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:00:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 22:00:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 22:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388676595914637312,"km_value":388676595914637.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7258676676041521152,"description":"Unknown IO ID 45"} 
[2026-08-21 22:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556431360001,"power":27310,"unknown_93":206,"unknown_84":8448,"ignition":6,"odometer":null,"unknown_45":-7258676676041521152}} 
[2026-08-21 22:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":159363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:00:58] local.INFO: GPS data processed {"connection_id":159363,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:00:58] local.INFO: Acknowledgment sent {"connection_id":159363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:01:29] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:01:29] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:01:29] local.INFO: IMEI packet received {"connection_id":159644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":159644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:01:34] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:01:34] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:01:34] local.INFO: IMEI packet received {"connection_id":159644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":159644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:01:35] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02528a5c0012d9b404005712238000a00f62e..."} 
[2026-08-21 22:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02528a5c0012d9b404005712238000a00f62e..."} 
[2026-08-21 22:01:35] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02528a5c0012d9b404005712238000a00f62e..."} 
[2026-08-21 22:01:35] local.INFO: Packet analysis {"connection_id":159644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:01:35] local.INFO: Extracted packet for processing {"connection_id":159644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:01:35] local.INFO: GPS Element Parsed {"raw_longitude":765149248,"raw_latitude":91300408,"longitude_deg":76.5149248,"latitude_deg":9.1300408,"altitude":10,"angle":246,"satellites":46,"speed":5,"hex_longitude":"2d9b4040","hex_latitude":"05712238","is_valid_coordinates":true} 
[2026-08-21 22:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556432384001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388676608799539200,"note":"Value kept but may cause issues"} 
[2026-08-21 22:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7259380363483250688,"note":"Value kept but may cause issues"} 
[2026-08-21 22:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787329816000,"timestamp_ms":1787329816000,"timestamp_seconds":1787329816,"priority":1,"record_length":96,"hex_timestamp":"000001a02528a5c0"} 
[2026-08-21 22:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 22:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556432384001,"66":27332,"93":206,"84":8448,"24":5,"16":388676608799539200,"45":-7259380363483250688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-21 22:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556432384001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 22:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388676608799539200,"km_value":388676608799539.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7259380363483250688,"description":"Unknown IO ID 45"} 
[2026-08-21 22:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556432384001,"power":27332,"unknown_93":206,"unknown_84":8448,"ignition":5,"odometer":null,"unknown_45":-7259380363483250688}} 
[2026-08-21 22:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":159644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:01:35] local.INFO: GPS data processed {"connection_id":159644,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:01:35] local.INFO: Acknowledgment sent {"connection_id":159644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:02:06] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02528ad90012d9b3f0005712208000a01122d..."} 
[2026-08-21 22:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02528ad90012d9b3f0005712208000a01122d..."} 
[2026-08-21 22:02:06] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02528ad90012d9b3f0005712208000a01122d..."} 
[2026-08-21 22:02:06] local.INFO: Packet analysis {"connection_id":159644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:02:06] local.INFO: Extracted packet for processing {"connection_id":159644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":765148928,"raw_latitude":91300360,"longitude_deg":76.5148928,"latitude_deg":9.130036,"altitude":10,"angle":274,"satellites":45,"speed":6,"hex_longitude":"2d9b3f00","hex_latitude":"05712208","is_valid_coordinates":true} 
[2026-08-21 22:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556432896001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388676625979408384,"note":"Value kept but may cause issues"} 
[2026-08-21 22:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7259732207204157440,"note":"Value kept but may cause issues"} 
[2026-08-21 22:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787329818000,"timestamp_ms":1787329818000,"timestamp_seconds":1787329818,"priority":1,"record_length":96,"hex_timestamp":"000001a02528ad90"} 
[2026-08-21 22:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22: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-08-21 22:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556432896001,"66":27310,"93":206,"84":8448,"24":6,"16":388676625979408384,"45":-7259732207204157440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-21 22:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556432896001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 22:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388676625979408384,"km_value":388676625979408.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7259732207204157440,"description":"Unknown IO ID 45"} 
[2026-08-21 22:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556432896001,"power":27310,"unknown_93":206,"unknown_84":8448,"ignition":6,"odometer":null,"unknown_45":-7259732207204157440}} 
[2026-08-21 22:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":159644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:02:06] local.INFO: GPS data processed {"connection_id":159644,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:02:06] local.INFO: Acknowledgment sent {"connection_id":159644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:02:38] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02528b560012d9b3d4005712278000901222e..."} 
[2026-08-21 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02528b560012d9b3d4005712278000901222e..."} 
[2026-08-21 22:02:38] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02528b560012d9b3d4005712278000901222e..."} 
[2026-08-21 22:02:38] local.INFO: Packet analysis {"connection_id":159644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:02:38] local.INFO: Extracted packet for processing {"connection_id":159644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:02:38] local.INFO: GPS Element Parsed {"raw_longitude":765148480,"raw_latitude":91300472,"longitude_deg":76.514848,"latitude_deg":9.1300472,"altitude":9,"angle":290,"satellites":46,"speed":10,"hex_longitude":"2d9b3d40","hex_latitude":"05712278","is_valid_coordinates":true} 
[2026-08-21 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556433408001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388676647454244864,"note":"Value kept but may cause issues"} 
[2026-08-21 22:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7260084050925058048,"note":"Value kept but may cause issues"} 
[2026-08-21 22:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787329820000,"timestamp_ms":1787329820000,"timestamp_seconds":1787329820,"priority":1,"record_length":96,"hex_timestamp":"000001a02528b560"} 
[2026-08-21 22:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 22:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556433408001,"66":27104,"93":206,"84":8448,"24":10,"16":388676647454244864,"45":-7260084050925058048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-21 22:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556433408001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:02:38] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 22:02:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 22:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388676647454244864,"km_value":388676647454244.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7260084050925058048,"description":"Unknown IO ID 45"} 
[2026-08-21 22:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556433408001,"power":27104,"unknown_93":206,"unknown_84":8448,"ignition":10,"odometer":null,"unknown_45":-7260084050925058048}} 
[2026-08-21 22:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":159644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:02:38] local.INFO: GPS data processed {"connection_id":159644,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:02:38] local.INFO: Acknowledgment sent {"connection_id":159644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:03:23] local.INFO: TCP Data received {"connection_id":159644,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02528bd30012d9b3ac0057123b80009012f2d..."} 
[2026-08-21 22:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02528bd30012d9b3ac0057123b80009012f2d..."} 
[2026-08-21 22:03:23] local.INFO: Processing buffer {"connection_id":159644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02528bd30012d9b3ac0057123b80009012f2d..."} 
[2026-08-21 22:03:23] local.INFO: Packet analysis {"connection_id":159644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:03:23] local.INFO: Extracted packet for processing {"connection_id":159644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:03:23] local.INFO: GPS Element Parsed {"raw_longitude":765147840,"raw_latitude":91300792,"longitude_deg":76.514784,"latitude_deg":9.1300792,"altitude":9,"angle":303,"satellites":45,"speed":15,"hex_longitude":"2d9b3ac0","hex_latitude":"057123b8","is_valid_coordinates":true} 
[2026-08-21 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-08-21 22:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556433920001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388676681813983232,"note":"Value kept but may cause issues"} 
[2026-08-21 22:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7260576632134273024,"note":"Value kept but may cause issues"} 
[2026-08-21 22:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1787329822000,"timestamp_ms":1787329822000,"timestamp_seconds":1787329822,"priority":1,"record_length":96,"hex_timestamp":"000001a02528bd30"} 
[2026-08-21 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-08-21 22:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-08-21 22:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 22:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":159644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":159644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556433920001,"66":27234,"93":206,"84":8448,"24":15,"16":388676681813983232,"45":-7260576632134273024},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-21 22:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556433920001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:03:23] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 22:03:23] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 22:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388676681813983232,"km_value":388676681813983.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7260576632134273024,"description":"Unknown IO ID 45"} 
[2026-08-21 22:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556433920001,"power":27234,"unknown_93":206,"unknown_84":8448,"ignition":15,"odometer":null,"unknown_45":-7260576632134273024}} 
[2026-08-21 22:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":159644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:03:23] local.INFO: GPS data processed {"connection_id":159644,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:03:23] local.INFO: Acknowledgment sent {"connection_id":159644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:03:34] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:03:34] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:03:34] local.INFO: IMEI packet received {"connection_id":159645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":159645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:03:37] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:03:37] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:03:37] local.INFO: IMEI packet received {"connection_id":159645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":159645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:03:38] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02528e058012d9b2b80057130d00009013e2b..."} 
[2026-08-21 22:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02528e058012d9b2b80057130d00009013e2b..."} 
[2026-08-21 22:03:38] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02528e058012d9b2b80057130d00009013e2b..."} 
[2026-08-21 22:03:38] local.INFO: Packet analysis {"connection_id":159645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:03:38] local.INFO: Extracted packet for processing {"connection_id":159645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02528"} 
[2026-08-21 22:03:38] local.INFO: GPS Element Parsed {"raw_longitude":765143936,"raw_latitude":91304144,"longitude_deg":76.5143936,"latitude_deg":9.1304144,"altitude":9,"angle":318,"satellites":43,"speed":25,"hex_longitude":"2d9b2b80","hex_latitude":"057130d0","is_valid_coordinates":true} 
[2026-08-21 22:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556434432001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388676926627119104,"note":"Value kept but may cause issues"} 
[2026-08-21 22:03:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7261280319575967744,"note":"Value kept but may cause issues"} 
[2026-08-21 22:03:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,84,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787329831000,"timestamp_ms":1787329831000,"timestamp_seconds":1787329831,"priority":1,"record_length":96,"hex_timestamp":"000001a02528e058"} 
[2026-08-21 22:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 22:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":159645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556434432001,"66":27343,"93":206,"84":8448,"24":25,"16":388676926627119104,"45":-7261280319575967744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,84,24,16,45]} 
[2026-08-21 22:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556434432001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:03:38] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-08-21 22:03:38] local.INFO: Unknown IO ID detected {"io_id":84,"value":8448,"description":"Unknown IO ID 84"} 
[2026-08-21 22:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388676926627119104,"km_value":388676926627119.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:03:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7261280319575967744,"description":"Unknown IO ID 45"} 
[2026-08-21 22:03:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556434432001,"power":27343,"unknown_93":206,"unknown_84":8448,"ignition":25,"odometer":null,"unknown_45":-7261280319575967744}} 
[2026-08-21 22:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":159645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:03:38] local.INFO: GPS data processed {"connection_id":159645,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:03:38] local.INFO: Acknowledgment sent {"connection_id":159645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:04:09] local.INFO: TCP Data received {"connection_id":159645,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252b2278012d9acf0005724cf8001200002f..."} 
[2026-08-21 22:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252b2278012d9acf0005724cf8001200002f..."} 
[2026-08-21 22:04:09] local.INFO: Processing buffer {"connection_id":159645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252b2278012d9acf0005724cf8001200002f..."} 
[2026-08-21 22:04:09] local.INFO: Packet analysis {"connection_id":159645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:04:09] local.INFO: Extracted packet for processing {"connection_id":159645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:04:09] local.INFO: GPS Element Parsed {"raw_longitude":765120256,"raw_latitude":91376888,"longitude_deg":76.5120256,"latitude_deg":9.1376888,"altitude":18,"angle":0,"satellites":47,"speed":19,"hex_longitude":"2d9acf00","hex_latitude":"05724cf8","is_valid_coordinates":true} 
[2026-08-21 22:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556470272001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388680676133568512,"note":"Value kept but may cause issues"} 
[2026-08-21 22:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291187035833300992,"note":"Value kept but may cause issues"} 
[2026-08-21 22:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1787329979000,"timestamp_ms":1787329979000,"timestamp_seconds":1787329979,"priority":1,"record_length":96,"hex_timestamp":"000001a0252b2278"} 
[2026-08-21 22:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:04: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-08-21 22:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":159645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":159645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556470272001,"66":27213,"162":206,"85":15872,"24":19,"16":388680676133568512,"45":-7291187035833300992},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 22:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556470272001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:04:09] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 22:04:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388680676133568512,"km_value":388680676133568.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291187035833300992,"description":"Unknown IO ID 45"} 
[2026-08-21 22:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556470272001,"power":27213,"unknown_162":206,"unknown_85":15872,"ignition":19,"odometer":null,"unknown_45":-7291187035833300992}} 
[2026-08-21 22:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":159645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:04:09] local.INFO: GPS data processed {"connection_id":159645,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:04:09] local.INFO: Acknowledgment sent {"connection_id":159645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:04:28] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:28] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:28] local.INFO: IMEI packet received {"connection_id":159364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":159364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:04:29] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:29] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:29] local.INFO: IMEI packet received {"connection_id":159364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":159364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:04:34] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:34] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:04:34] local.INFO: IMEI packet received {"connection_id":159364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":159364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:04:35] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252b68c8012d9acf40057271d8000e00012f..."} 
[2026-08-21 22:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252b68c8012d9acf40057271d8000e00012f..."} 
[2026-08-21 22:04:35] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252b68c8012d9acf40057271d8000e00012f..."} 
[2026-08-21 22:04:35] local.INFO: Packet analysis {"connection_id":159364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:04:35] local.INFO: Extracted packet for processing {"connection_id":159364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:04:35] local.INFO: GPS Element Parsed {"raw_longitude":765120320,"raw_latitude":91386328,"longitude_deg":76.512032,"latitude_deg":9.1386328,"altitude":14,"angle":1,"satellites":47,"speed":25,"hex_longitude":"2d9acf40","hex_latitude":"057271d8","is_valid_coordinates":true} 
[2026-08-21 22:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556474624001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388681135695069184,"note":"Value kept but may cause issues"} 
[2026-08-21 22:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291609248297060352,"note":"Value kept but may cause issues"} 
[2026-08-21 22:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787329997000,"timestamp_ms":1787329997000,"timestamp_seconds":1787329997,"priority":1,"record_length":96,"hex_timestamp":"000001a0252b68c8"} 
[2026-08-21 22:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 22:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556474624001,"66":27376,"162":206,"85":15872,"24":25,"16":388681135695069184,"45":-7291609248297060352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 22:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556474624001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:04:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 22:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388681135695069184,"km_value":388681135695069.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291609248297060352,"description":"Unknown IO ID 45"} 
[2026-08-21 22:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556474624001,"power":27376,"unknown_162":206,"unknown_85":15872,"ignition":25,"odometer":null,"unknown_45":-7291609248297060352}} 
[2026-08-21 22:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":159364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:04:35] local.INFO: GPS data processed {"connection_id":159364,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:04:35] local.INFO: Acknowledgment sent {"connection_id":159364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:05:06] local.INFO: TCP Data received {"connection_id":159364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252b9b90012d9ad10005729150000c000e2e..."} 
[2026-08-21 22:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252b9b90012d9ad10005729150000c000e2e..."} 
[2026-08-21 22:05:06] local.INFO: Processing buffer {"connection_id":159364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252b9b90012d9ad10005729150000c000e2e..."} 
[2026-08-21 22:05:06] local.INFO: Packet analysis {"connection_id":159364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:05:06] local.INFO: Extracted packet for processing {"connection_id":159364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:05:06] local.INFO: GPS Element Parsed {"raw_longitude":765120768,"raw_latitude":91394384,"longitude_deg":76.5120768,"latitude_deg":9.1394384,"altitude":12,"angle":14,"satellites":46,"speed":22,"hex_longitude":"2d9ad100","hex_latitude":"05729150","is_valid_coordinates":true} 
[2026-08-21 22:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556479232001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388681526537093120,"note":"Value kept but may cause issues"} 
[2026-08-21 22:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291538879550466048,"note":"Value kept but may cause issues"} 
[2026-08-21 22:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787330010000,"timestamp_ms":1787330010000,"timestamp_seconds":1787330010,"priority":1,"record_length":96,"hex_timestamp":"000001a0252b9b90"} 
[2026-08-21 22:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556479232001,"66":27343,"162":206,"85":15872,"24":22,"16":388681526537093120,"45":-7291538879550466048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 22:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556479232001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:05:06] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 22:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388681526537093120,"km_value":388681526537093.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291538879550466048,"description":"Unknown IO ID 45"} 
[2026-08-21 22:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556479232001,"power":27343,"unknown_162":206,"unknown_85":15872,"ignition":22,"odometer":null,"unknown_45":-7291538879550466048}} 
[2026-08-21 22:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":159364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:05:06] local.INFO: GPS data processed {"connection_id":159364,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:05:06] local.INFO: Acknowledgment sent {"connection_id":159364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:05:29] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:05:29] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:05:29] local.INFO: IMEI packet received {"connection_id":160559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":160559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:05:31] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:05:31] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:05:31] local.INFO: IMEI packet received {"connection_id":160559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":160559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:05:32] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252bb6e8012d9ad4800572a0e8000c00022f..."} 
[2026-08-21 22:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252bb6e8012d9ad4800572a0e8000c00022f..."} 
[2026-08-21 22:05:32] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252bb6e8012d9ad4800572a0e8000c00022f..."} 
[2026-08-21 22:05:32] local.INFO: Packet analysis {"connection_id":160559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:05:32] local.INFO: Extracted packet for processing {"connection_id":160559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":765121664,"raw_latitude":91398376,"longitude_deg":76.5121664,"latitude_deg":9.1398376,"altitude":12,"angle":2,"satellites":47,"speed":24,"hex_longitude":"2d9ad480","hex_latitude":"0572a0e8","is_valid_coordinates":true} 
[2026-08-21 22:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556482560001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388681724105588736,"note":"Value kept but may cause issues"} 
[2026-08-21 22:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7291046298339160064,"note":"Value kept but may cause issues"} 
[2026-08-21 22:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787330017000,"timestamp_ms":1787330017000,"timestamp_seconds":1787330017,"priority":1,"record_length":96,"hex_timestamp":"000001a0252bb6e8"} 
[2026-08-21 22:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556482560001,"66":27343,"162":206,"85":15872,"24":24,"16":388681724105588736,"45":-7291046298339160064},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 22:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556482560001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:05:32] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 22:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388681724105588736,"km_value":388681724105588.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7291046298339160064,"description":"Unknown IO ID 45"} 
[2026-08-21 22:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556482560001,"power":27343,"unknown_162":206,"unknown_85":15872,"ignition":24,"odometer":null,"unknown_45":-7291046298339160064}} 
[2026-08-21 22:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":160559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:05:32] local.INFO: GPS data processed {"connection_id":160559,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:05:32] local.INFO: Acknowledgment sent {"connection_id":160559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:06:03] local.INFO: TCP Data received {"connection_id":160559,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252be9b0012d9ad5000572c3a0000b00012f..."} 
[2026-08-21 22:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252be9b0012d9ad5000572c3a0000b00012f..."} 
[2026-08-21 22:06:03] local.INFO: Processing buffer {"connection_id":160559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252be9b0012d9ad5000572c3a0000b00012f..."} 
[2026-08-21 22:06:03] local.INFO: Packet analysis {"connection_id":160559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:06:03] local.INFO: Extracted packet for processing {"connection_id":160559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252b"} 
[2026-08-21 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":765121792,"raw_latitude":91407264,"longitude_deg":76.5121792,"latitude_deg":9.1407264,"altitude":11,"angle":1,"satellites":47,"speed":30,"hex_longitude":"2d9ad500","hex_latitude":"0572c3a0","is_valid_coordinates":true} 
[2026-08-21 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556484352001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388682157897285632,"note":"Value kept but may cause issues"} 
[2026-08-21 22:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7290061135919650816,"note":"Value kept but may cause issues"} 
[2026-08-21 22:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787330030000,"timestamp_ms":1787330030000,"timestamp_seconds":1787330030,"priority":1,"record_length":96,"hex_timestamp":"000001a0252be9b0"} 
[2026-08-21 22:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:06:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:06: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-08-21 22:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556484352001,"66":27343,"162":206,"85":15872,"24":30,"16":388682157897285632,"45":-7290061135919650816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 22:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556484352001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:06:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 22:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388682157897285632,"km_value":388682157897285.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7290061135919650816,"description":"Unknown IO ID 45"} 
[2026-08-21 22:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556484352001,"power":27343,"unknown_162":206,"unknown_85":15872,"ignition":30,"odometer":null,"unknown_45":-7290061135919650816}} 
[2026-08-21 22:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":160559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:06:03] local.INFO: GPS data processed {"connection_id":160559,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:06:03] local.INFO: Acknowledgment sent {"connection_id":160559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:06:29] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:06:29] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:06:29] local.INFO: IMEI packet received {"connection_id":159646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":159646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:06:34] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:06:34] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:06:34] local.INFO: IMEI packet received {"connection_id":159646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":159646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:06:35] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252c1890012d9ad4400572e800000b01652f..."} 
[2026-08-21 22:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252c1890012d9ad4400572e800000b01652f..."} 
[2026-08-21 22:06:35] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252c1890012d9ad4400572e800000b01652f..."} 
[2026-08-21 22:06:35] local.INFO: Packet analysis {"connection_id":159646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252c"} 
[2026-08-21 22:06:35] local.INFO: Extracted packet for processing {"connection_id":159646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252c"} 
[2026-08-21 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":765121600,"raw_latitude":91416576,"longitude_deg":76.51216,"latitude_deg":9.1416576,"altitude":11,"angle":357,"satellites":47,"speed":31,"hex_longitude":"2d9ad440","hex_latitude":"0572e800","is_valid_coordinates":true} 
[2026-08-21 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556487680001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388682608868851712,"note":"Value kept but may cause issues"} 
[2026-08-21 22:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7289920398429020160,"note":"Value kept but may cause issues"} 
[2026-08-21 22:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330042000,"timestamp_ms":1787330042000,"timestamp_seconds":1787330042,"priority":1,"record_length":96,"hex_timestamp":"000001a0252c1890"} 
[2026-08-21 22:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556487680001,"66":27365,"162":206,"85":15872,"24":31,"16":388682608868851712,"45":-7289920398429020160},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 22:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556487680001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388682608868851712,"km_value":388682608868851.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7289920398429020160,"description":"Unknown IO ID 45"} 
[2026-08-21 22:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556487680001,"power":27365,"unknown_162":206,"unknown_85":15872,"ignition":31,"odometer":null,"unknown_45":-7289920398429020160}} 
[2026-08-21 22:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":159646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:06:35] local.INFO: GPS data processed {"connection_id":159646,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:06:35] local.INFO: Acknowledgment sent {"connection_id":159646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:07:06] local.INFO: TCP Data received {"connection_id":159646,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252c5328012d9ad48005730bd0000a01642f..."} 
[2026-08-21 22:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252c5328012d9ad48005730bd0000a01642f..."} 
[2026-08-21 22:07:06] local.INFO: Processing buffer {"connection_id":159646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252c5328012d9ad48005730bd0000a01642f..."} 
[2026-08-21 22:07:06] local.INFO: Packet analysis {"connection_id":159646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252c"} 
[2026-08-21 22:07:06] local.INFO: Extracted packet for processing {"connection_id":159646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252c"} 
[2026-08-21 22:07:06] local.INFO: GPS Element Parsed {"raw_longitude":765121664,"raw_latitude":91425744,"longitude_deg":76.5121664,"latitude_deg":9.1425744,"altitude":10,"angle":356,"satellites":47,"speed":18,"hex_longitude":"2d9ad480","hex_latitude":"05730bd0","is_valid_coordinates":true} 
[2026-08-21 22:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556490752001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388683055545450496,"note":"Value kept but may cause issues"} 
[2026-08-21 22:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7290131504659169280,"note":"Value kept but may cause issues"} 
[2026-08-21 22:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787330057000,"timestamp_ms":1787330057000,"timestamp_seconds":1787330057,"priority":1,"record_length":96,"hex_timestamp":"000001a0252c5328"} 
[2026-08-21 22:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556490752001,"66":27343,"162":206,"85":15872,"24":18,"16":388683055545450496,"45":-7290131504659169280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,85,24,16,45]} 
[2026-08-21 22:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556490752001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:07:06] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-08-21 22:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388683055545450496,"km_value":388683055545450.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7290131504659169280,"description":"Unknown IO ID 45"} 
[2026-08-21 22:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556490752001,"power":27343,"unknown_162":206,"unknown_85":15872,"ignition":18,"odometer":null,"unknown_45":-7290131504659169280}} 
[2026-08-21 22:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":159646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:07:06] local.INFO: GPS data processed {"connection_id":159646,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:07:06] local.INFO: Acknowledgment sent {"connection_id":159646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:07:29] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:29] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:29] local.INFO: IMEI packet received {"connection_id":161955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":161955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:07:29] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:29] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:29] local.INFO: IMEI packet received {"connection_id":161955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":161955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:07:34] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:34] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:07:34] local.INFO: IMEI packet received {"connection_id":161955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":161955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:07:35] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.42","data_length":93,"data_hex":"00000000000000518e01000001a0252e7608012d9af7c0057417e8000e000028..."} 
[2026-08-21 22:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":93,"packet_hex":"00000000000000518e01000001a0252e7608012d9af7c0057417e8000e000028..."} 
[2026-08-21 22:07:35] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0252e7608012d9af7c0057417e8000e000028..."} 
[2026-08-21 22:07:35] local.INFO: Packet analysis {"connection_id":161955,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0252e"} 
[2026-08-21 22:07:35] local.INFO: Extracted packet for processing {"connection_id":161955,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0252e"} 
[2026-08-21 22:07:35] local.INFO: GPS Element Parsed {"raw_longitude":765130688,"raw_latitude":91494376,"longitude_deg":76.5130688,"latitude_deg":9.1494376,"altitude":14,"angle":0,"satellites":40,"speed":9,"hex_longitude":"2d9af7c0","hex_latitude":"057417e8","is_valid_coordinates":true} 
[2026-08-21 22:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-08-21 22:07: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-08-21 22:07: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-08-21 22:07:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:07:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-08-21 22:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161955,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-08-21 22:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-21 22:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":0} 
[2026-08-21 22:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":0,"parser_version":"unknown"} 
[2026-08-21 22:07:35] local.WARNING: DEBUG: No valid data to process  
[2026-08-21 22:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":161955,"result":{"success":false,"message":"No valid data to process"}} 
[2026-08-21 22:07:35] local.ERROR: GPS data processing failed {"connection_id":161955,"error":"No valid data to process"} 
[2026-08-21 22:07:35] local.INFO: Acknowledgment sent {"connection_id":161955,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-08-21 22:08:06] local.INFO: TCP Data received {"connection_id":161955,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252e7dd8012d9af78005741a30000e015d29..."} 
[2026-08-21 22:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252e7dd8012d9af78005741a30000e015d29..."} 
[2026-08-21 22:08:06] local.INFO: Processing buffer {"connection_id":161955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252e7dd8012d9af78005741a30000e015d29..."} 
[2026-08-21 22:08:06] local.INFO: Packet analysis {"connection_id":161955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252e"} 
[2026-08-21 22:08:06] local.INFO: Extracted packet for processing {"connection_id":161955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252e"} 
[2026-08-21 22:08:06] local.INFO: GPS Element Parsed {"raw_longitude":765130624,"raw_latitude":91494960,"longitude_deg":76.5130624,"latitude_deg":9.149496,"altitude":14,"angle":349,"satellites":41,"speed":13,"hex_longitude":"2d9af780","hex_latitude":"05741a30","is_valid_coordinates":true} 
[2026-08-21 22:08:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556530432001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388686474339418112,"note":"Value kept but may cause issues"} 
[2026-08-21 22:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280139142966024192,"note":"Value kept but may cause issues"} 
[2026-08-21 22:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787330199000,"timestamp_ms":1787330199000,"timestamp_seconds":1787330199,"priority":1,"record_length":96,"hex_timestamp":"000001a0252e7dd8"} 
[2026-08-21 22:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22: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-08-21 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 22:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:08:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556530432001,"66":27397,"161":206,"85":15872,"24":13,"16":388686474339418112,"45":-7280139142966024192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-21 22:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556530432001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 22:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388686474339418112,"km_value":388686474339418.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280139142966024192,"description":"Unknown IO ID 45"} 
[2026-08-21 22:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556530432001,"power":27397,"unknown_161":206,"unknown_85":15872,"ignition":13,"odometer":null,"unknown_45":-7280139142966024192}} 
[2026-08-21 22:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":161955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:08:06] local.INFO: GPS data processed {"connection_id":161955,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:08:06] local.INFO: Acknowledgment sent {"connection_id":161955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:08:29] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:29] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:29] local.INFO: IMEI packet received {"connection_id":159365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":159365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:08:35] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:35] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:35] local.INFO: IMEI packet received {"connection_id":159365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":159365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:08:36] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:36] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:08:36] local.INFO: IMEI packet received {"connection_id":159365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":159365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:08:40] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252eacb8012d9af440057429a8000f00032d..."} 
[2026-08-21 22:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252eacb8012d9af440057429a8000f00032d..."} 
[2026-08-21 22:08:40] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252eacb8012d9af440057429a8000f00032d..."} 
[2026-08-21 22:08:40] local.INFO: Packet analysis {"connection_id":159365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252e"} 
[2026-08-21 22:08:40] local.INFO: Extracted packet for processing {"connection_id":159365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252e"} 
[2026-08-21 22:08:40] local.INFO: GPS Element Parsed {"raw_longitude":765129792,"raw_latitude":91498920,"longitude_deg":76.5129792,"latitude_deg":9.149892,"altitude":15,"angle":3,"satellites":45,"speed":18,"hex_longitude":"2d9af440","hex_latitude":"057429a8","is_valid_coordinates":true} 
[2026-08-21 22:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556530944001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388686671907913728,"note":"Value kept but may cause issues"} 
[2026-08-21 22:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7280209511710052352,"note":"Value kept but may cause issues"} 
[2026-08-21 22:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787330211000,"timestamp_ms":1787330211000,"timestamp_seconds":1787330211,"priority":1,"record_length":96,"hex_timestamp":"000001a0252eacb8"} 
[2026-08-21 22:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 22:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556530944001,"66":27332,"161":206,"85":15872,"24":18,"16":388686671907913728,"45":-7280209511710052352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-21 22:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556530944001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388686671907913728,"km_value":388686671907913.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7280209511710052352,"description":"Unknown IO ID 45"} 
[2026-08-21 22:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556530944001,"power":27332,"unknown_161":206,"unknown_85":15872,"ignition":18,"odometer":null,"unknown_45":-7280209511710052352}} 
[2026-08-21 22:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":159365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:08:40] local.INFO: GPS data processed {"connection_id":159365,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:08:40] local.INFO: Acknowledgment sent {"connection_id":159365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:09:12] local.INFO: TCP Data received {"connection_id":159365,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252eef20012d9af48005743970000d01612f..."} 
[2026-08-21 22:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252eef20012d9af48005743970000d01612f..."} 
[2026-08-21 22:09:12] local.INFO: Processing buffer {"connection_id":159365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252eef20012d9af48005743970000d01612f..."} 
[2026-08-21 22:09:12] local.INFO: Packet analysis {"connection_id":159365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252e"} 
[2026-08-21 22:09:12] local.INFO: Extracted packet for processing {"connection_id":159365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252e"} 
[2026-08-21 22:09:12] local.INFO: GPS Element Parsed {"raw_longitude":765129856,"raw_latitude":91502960,"longitude_deg":76.5129856,"latitude_deg":9.150296,"altitude":13,"angle":353,"satellites":47,"speed":6,"hex_longitude":"2d9af480","hex_latitude":"05743970","is_valid_coordinates":true} 
[2026-08-21 22:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556534016001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388686869476409344,"note":"Value kept but may cause issues"} 
[2026-08-21 22:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281124305383348224,"note":"Value kept but may cause issues"} 
[2026-08-21 22:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787330228000,"timestamp_ms":1787330228000,"timestamp_seconds":1787330228,"priority":1,"record_length":96,"hex_timestamp":"000001a0252eef20"} 
[2026-08-21 22:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":159365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":159365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":159365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556534016001,"66":27376,"161":206,"85":15872,"24":6,"16":388686869476409344,"45":-7281124305383348224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-21 22:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556534016001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:09:12] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 22:09:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388686869476409344,"km_value":388686869476409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281124305383348224,"description":"Unknown IO ID 45"} 
[2026-08-21 22:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556534016001,"power":27376,"unknown_161":206,"unknown_85":15872,"ignition":6,"odometer":null,"unknown_45":-7281124305383348224}} 
[2026-08-21 22:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":159365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:09:12] local.INFO: GPS data processed {"connection_id":159365,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:09:12] local.INFO: Acknowledgment sent {"connection_id":159365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:09:34] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:09:34] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:09:34] local.INFO: IMEI packet received {"connection_id":160560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":160560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:09:36] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:09:36] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:09:36] local.INFO: IMEI packet received {"connection_id":160560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":160560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:09:37] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0252f29b8012d9af44005744328000c000a2e..."} 
[2026-08-21 22:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0252f29b8012d9af44005744328000c000a2e..."} 
[2026-08-21 22:09:37] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0252f29b8012d9af44005744328000c000a2e..."} 
[2026-08-21 22:09:37] local.INFO: Packet analysis {"connection_id":160560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0252f"} 
[2026-08-21 22:09:37] local.INFO: Extracted packet for processing {"connection_id":160560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0252f"} 
[2026-08-21 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":765129792,"raw_latitude":91505448,"longitude_deg":76.5129792,"latitude_deg":9.1505448,"altitude":12,"angle":10,"satellites":46,"speed":5,"hex_longitude":"2d9af440","hex_latitude":"05744328","is_valid_coordinates":true} 
[2026-08-21 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556538368001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388686994030460928,"note":"Value kept but may cause issues"} 
[2026-08-21 22:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7281053936638136320,"note":"Value kept but may cause issues"} 
[2026-08-21 22:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787330243000,"timestamp_ms":1787330243000,"timestamp_seconds":1787330243,"priority":1,"record_length":96,"hex_timestamp":"000001a0252f29b8"} 
[2026-08-21 22:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":160560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556538368001,"66":27463,"161":206,"85":15872,"24":5,"16":388686994030460928,"45":-7281053936638136320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,85,24,16,45]} 
[2026-08-21 22:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556538368001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:09:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-08-21 22:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388686994030460928,"km_value":388686994030460.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7281053936638136320,"description":"Unknown IO ID 45"} 
[2026-08-21 22:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556538368001,"power":27463,"unknown_161":206,"unknown_85":15872,"ignition":5,"odometer":null,"unknown_45":-7281053936638136320}} 
[2026-08-21 22:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":160560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:09:37] local.INFO: GPS data processed {"connection_id":160560,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:09:37] local.INFO: Acknowledgment sent {"connection_id":160560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:10:08] local.INFO: TCP Data received {"connection_id":160560,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02530eed8012d9aa7000574af900007011b2f..."} 
[2026-08-21 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02530eed8012d9aa7000574af900007011b2f..."} 
[2026-08-21 22:10:08] local.INFO: Processing buffer {"connection_id":160560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02530eed8012d9aa7000574af900007011b2f..."} 
[2026-08-21 22:10:08] local.INFO: Packet analysis {"connection_id":160560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02530"} 
[2026-08-21 22:10:08] local.INFO: Extracted packet for processing {"connection_id":160560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02530"} 
[2026-08-21 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":765110016,"raw_latitude":91533200,"longitude_deg":76.5110016,"latitude_deg":9.15332,"altitude":7,"angle":283,"satellites":47,"speed":5,"hex_longitude":"2d9aa700","hex_latitude":"0574af90","is_valid_coordinates":true} 
[2026-08-21 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556570880001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388688759262019584,"note":"Value kept but may cause issues"} 
[2026-08-21 22:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302094191139592192,"note":"Value kept but may cause issues"} 
[2026-08-21 22:10:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787330359000,"timestamp_ms":1787330359000,"timestamp_seconds":1787330359,"priority":1,"record_length":96,"hex_timestamp":"000001a02530eed8"} 
[2026-08-21 22:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:10:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556570880001,"66":27376,"150":206,"85":15872,"24":5,"16":388688759262019584,"45":-7302094191139592192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556570880001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388688759262019584,"km_value":388688759262019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302094191139592192,"description":"Unknown IO ID 45"} 
[2026-08-21 22:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556570880001,"power":27376,"unknown_150":206,"unknown_85":15872,"ignition":5,"odometer":null,"unknown_45":-7302094191139592192}} 
[2026-08-21 22:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":160560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:10:08] local.INFO: GPS data processed {"connection_id":160560,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:10:08] local.INFO: Acknowledgment sent {"connection_id":160560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:10:30] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:10:30] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:10:30] local.INFO: IMEI packet received {"connection_id":159647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":159647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:10:34] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:10:34] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:10:34] local.INFO: IMEI packet received {"connection_id":159647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":159647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:10:35] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025310648012d9aa0800574b1a00007012b2d..."} 
[2026-08-21 22:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025310648012d9aa0800574b1a00007012b2d..."} 
[2026-08-21 22:10:35] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025310648012d9aa0800574b1a00007012b2d..."} 
[2026-08-21 22:10:35] local.INFO: Packet analysis {"connection_id":159647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:10:35] local.INFO: Extracted packet for processing {"connection_id":159647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:10:35] local.INFO: GPS Element Parsed {"raw_longitude":765108352,"raw_latitude":91533728,"longitude_deg":76.5108352,"latitude_deg":9.1533728,"altitude":7,"angle":299,"satellites":45,"speed":16,"hex_longitude":"2d9aa080","hex_latitude":"0574b1a0","is_valid_coordinates":true} 
[2026-08-21 22:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556571904001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388688845161365504,"note":"Value kept but may cause issues"} 
[2026-08-21 22:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7302868247325470720,"note":"Value kept but may cause issues"} 
[2026-08-21 22:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330365000,"timestamp_ms":1787330365000,"timestamp_seconds":1787330365,"priority":1,"record_length":96,"hex_timestamp":"000001a025310648"} 
[2026-08-21 22:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:10: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-08-21 22:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556571904001,"66":27397,"150":206,"85":15872,"24":16,"16":388688845161365504,"45":-7302868247325470720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556571904001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:10:35] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:10:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388688845161365504,"km_value":388688845161365.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7302868247325470720,"description":"Unknown IO ID 45"} 
[2026-08-21 22:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556571904001,"power":27397,"unknown_150":206,"unknown_85":15872,"ignition":16,"odometer":null,"unknown_45":-7302868247325470720}} 
[2026-08-21 22:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":159647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:10:35] local.INFO: GPS data processed {"connection_id":159647,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:10:35] local.INFO: Acknowledgment sent {"connection_id":159647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:11:06] local.INFO: TCP Data received {"connection_id":159647,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025310e18012d9a9dc00574b4080007013b2f..."} 
[2026-08-21 22:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025310e18012d9a9dc00574b4080007013b2f..."} 
[2026-08-21 22:11:06] local.INFO: Processing buffer {"connection_id":159647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025310e18012d9a9dc00574b4080007013b2f..."} 
[2026-08-21 22:11:06] local.INFO: Packet analysis {"connection_id":159647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:11:06] local.INFO: Extracted packet for processing {"connection_id":159647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:11:06] local.INFO: GPS Element Parsed {"raw_longitude":765107648,"raw_latitude":91534344,"longitude_deg":76.5107648,"latitude_deg":9.1534344,"altitude":7,"angle":315,"satellites":47,"speed":21,"hex_longitude":"2d9a9dc0","hex_latitude":"0574b408","is_valid_coordinates":true} 
[2026-08-21 22:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556573440001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388688888111038464,"note":"Value kept but may cause issues"} 
[2026-08-21 22:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7304697834673954816,"note":"Value kept but may cause issues"} 
[2026-08-21 22:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787330367000,"timestamp_ms":1787330367000,"timestamp_seconds":1787330367,"priority":1,"record_length":96,"hex_timestamp":"000001a025310e18"} 
[2026-08-21 22:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:11: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-08-21 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 22:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556573440001,"66":27343,"150":206,"85":15872,"24":21,"16":388688888111038464,"45":-7304697834673954816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556573440001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:11:06] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388688888111038464,"km_value":388688888111038.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7304697834673954816,"description":"Unknown IO ID 45"} 
[2026-08-21 22:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556573440001,"power":27343,"unknown_150":206,"unknown_85":15872,"ignition":21,"odometer":null,"unknown_45":-7304697834673954816}} 
[2026-08-21 22:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":159647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:11:06] local.INFO: GPS data processed {"connection_id":159647,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:11:06] local.INFO: Acknowledgment sent {"connection_id":159647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:11:29] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:11:29] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:11:29] local.INFO: IMEI packet received {"connection_id":161956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":161956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:11:34] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:11:34] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:11:34] local.INFO: IMEI packet received {"connection_id":161956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":161956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:11:35] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025315c38012d9a84400574cd38000a01432e..."} 
[2026-08-21 22:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025315c38012d9a84400574cd38000a01432e..."} 
[2026-08-21 22:11:35] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025315c38012d9a84400574cd38000a01432e..."} 
[2026-08-21 22:11:35] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:11:35] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:11:35] local.INFO: GPS Element Parsed {"raw_longitude":765101120,"raw_latitude":91540792,"longitude_deg":76.510112,"latitude_deg":9.1540792,"altitude":10,"angle":323,"satellites":46,"speed":15,"hex_longitude":"2d9a8440","hex_latitude":"0574cd38","is_valid_coordinates":true} 
[2026-08-21 22:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556573952001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388689330492669952,"note":"Value kept but may cause issues"} 
[2026-08-21 22:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7305471890859751424,"note":"Value kept but may cause issues"} 
[2026-08-21 22:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330387000,"timestamp_ms":1787330387000,"timestamp_seconds":1787330387,"priority":1,"record_length":96,"hex_timestamp":"000001a025315c38"} 
[2026-08-21 22:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:11: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-08-21 22:11:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:11:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:11:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556573952001,"66":27332,"150":206,"85":15872,"24":15,"16":388689330492669952,"45":-7305471890859751424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556573952001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388689330492669952,"km_value":388689330492669.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7305471890859751424,"description":"Unknown IO ID 45"} 
[2026-08-21 22:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556573952001,"power":27332,"unknown_150":206,"unknown_85":15872,"ignition":15,"odometer":null,"unknown_45":-7305471890859751424}} 
[2026-08-21 22:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:11:35] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:11:35] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:12:06] local.INFO: TCP Data received {"connection_id":161956,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025318730012d9a77800574e2f8000a014f2c..."} 
[2026-08-21 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025318730012d9a77800574e2f8000a014f2c..."} 
[2026-08-21 22:12:06] local.INFO: Processing buffer {"connection_id":161956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025318730012d9a77800574e2f8000a014f2c..."} 
[2026-08-21 22:12:06] local.INFO: Packet analysis {"connection_id":161956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:12:06] local.INFO: Extracted packet for processing {"connection_id":161956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:12:06] local.INFO: GPS Element Parsed {"raw_longitude":765097856,"raw_latitude":91546360,"longitude_deg":76.5097856,"latitude_deg":9.154636,"altitude":10,"angle":335,"satellites":44,"speed":29,"hex_longitude":"2d9a7780","hex_latitude":"0574e2f8","is_valid_coordinates":true} 
[2026-08-21 22:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556579072001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388689644025282560,"note":"Value kept but may cause issues"} 
[2026-08-21 22:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7312649502764222464,"note":"Value kept but may cause issues"} 
[2026-08-21 22:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787330398000,"timestamp_ms":1787330398000,"timestamp_seconds":1787330398,"priority":1,"record_length":96,"hex_timestamp":"000001a025318730"} 
[2026-08-21 22:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:12: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-08-21 22:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556579072001,"66":27267,"150":206,"85":15872,"24":29,"16":388689644025282560,"45":-7312649502764222464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556579072001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:12:06] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388689644025282560,"km_value":388689644025282.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7312649502764222464,"description":"Unknown IO ID 45"} 
[2026-08-21 22:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556579072001,"power":27267,"unknown_150":206,"unknown_85":15872,"ignition":29,"odometer":null,"unknown_45":-7312649502764222464}} 
[2026-08-21 22:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":161956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:12:06] local.INFO: GPS data processed {"connection_id":161956,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:12:06] local.INFO: Acknowledgment sent {"connection_id":161956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:12:29] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:12:29] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:12:29] local.INFO: IMEI packet received {"connection_id":159366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":159366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:12:32] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:12:32] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:12:32] local.INFO: IMEI packet received {"connection_id":159366,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":159366,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:12:33] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02531c1c8012d9a6bc005750430000a01562d..."} 
[2026-08-21 22:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02531c1c8012d9a6bc005750430000a01562d..."} 
[2026-08-21 22:12:33] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02531c1c8012d9a6bc005750430000a01562d..."} 
[2026-08-21 22:12:33] local.INFO: Packet analysis {"connection_id":159366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:12:33] local.INFO: Extracted packet for processing {"connection_id":159366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:12:33] local.INFO: GPS Element Parsed {"raw_longitude":765094848,"raw_latitude":91554864,"longitude_deg":76.5094848,"latitude_deg":9.1554864,"altitude":10,"angle":342,"satellites":45,"speed":15,"hex_longitude":"2d9a6bc0","hex_latitude":"05750430","is_valid_coordinates":true} 
[2026-08-21 22: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-08-21 22:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556581888001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388690082111946752,"note":"Value kept but may cause issues"} 
[2026-08-21 22:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7316238308715857920,"note":"Value kept but may cause issues"} 
[2026-08-21 22:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787330413000,"timestamp_ms":1787330413000,"timestamp_seconds":1787330413,"priority":1,"record_length":96,"hex_timestamp":"000001a02531c1c8"} 
[2026-08-21 22:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 22:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22: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-08-21 22:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556581888001,"66":27484,"150":206,"85":15872,"24":15,"16":388690082111946752,"45":-7316238308715857920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556581888001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:12:33] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:12:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388690082111946752,"km_value":388690082111946.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7316238308715857920,"description":"Unknown IO ID 45"} 
[2026-08-21 22:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556581888001,"power":27484,"unknown_150":206,"unknown_85":15872,"ignition":15,"odometer":null,"unknown_45":-7316238308715857920}} 
[2026-08-21 22:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":159366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:12:33] local.INFO: GPS data processed {"connection_id":159366,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:12:33] local.INFO: Acknowledgment sent {"connection_id":159366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:13:04] local.INFO: TCP Data received {"connection_id":159366,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02531fc60012d9a604005752730000901562c..."} 
[2026-08-21 22:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02531fc60012d9a604005752730000901562c..."} 
[2026-08-21 22:13:04] local.INFO: Processing buffer {"connection_id":159366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02531fc60012d9a604005752730000901562c..."} 
[2026-08-21 22:13:04] local.INFO: Packet analysis {"connection_id":159366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:13:04] local.INFO: Extracted packet for processing {"connection_id":159366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02531"} 
[2026-08-21 22:13:04] local.INFO: GPS Element Parsed {"raw_longitude":765091904,"raw_latitude":91563824,"longitude_deg":76.5091904,"latitude_deg":9.1563824,"altitude":9,"angle":342,"satellites":44,"speed":27,"hex_longitude":"2d9a6040","hex_latitude":"05752730","is_valid_coordinates":true} 
[2026-08-21 22:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556585728001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388690537378480128,"note":"Value kept but may cause issues"} 
[2026-08-21 22:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7319545639690031104,"note":"Value kept but may cause issues"} 
[2026-08-21 22:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787330428000,"timestamp_ms":1787330428000,"timestamp_seconds":1787330428,"priority":1,"record_length":96,"hex_timestamp":"000001a02531fc60"} 
[2026-08-21 22:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:13: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-08-21 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 22:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159366,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556585728001,"66":27463,"150":206,"85":15872,"24":27,"16":388690537378480128,"45":-7319545639690031104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556585728001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:13:04] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388690537378480128,"km_value":388690537378480.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7319545639690031104,"description":"Unknown IO ID 45"} 
[2026-08-21 22:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556585728001,"power":27463,"unknown_150":206,"unknown_85":15872,"ignition":27,"odometer":null,"unknown_45":-7319545639690031104}} 
[2026-08-21 22:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":159366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:13:04] local.INFO: GPS data processed {"connection_id":159366,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:13:04] local.INFO: Acknowledgment sent {"connection_id":159366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:13:28] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:28] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:28] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:13:29] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:29] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:29] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:13:34] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:34] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:13:34] local.INFO: IMEI packet received {"connection_id":161957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":161957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:13:35] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025322b40012d9a554005754858000901542d..."} 
[2026-08-21 22:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025322b40012d9a554005754858000901542d..."} 
[2026-08-21 22:13:35] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025322b40012d9a554005754858000901542d..."} 
[2026-08-21 22:13:35] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02532"} 
[2026-08-21 22:13:35] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02532"} 
[2026-08-21 22:13:35] local.INFO: GPS Element Parsed {"raw_longitude":765089088,"raw_latitude":91572312,"longitude_deg":76.5089088,"latitude_deg":9.1572312,"altitude":9,"angle":340,"satellites":45,"speed":29,"hex_longitude":"2d9a5540","hex_latitude":"05754858","is_valid_coordinates":true} 
[2026-08-21 22:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556589568001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388690971170177024,"note":"Value kept but may cause issues"} 
[2026-08-21 22:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7322782601919909888,"note":"Value kept but may cause issues"} 
[2026-08-21 22:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,150,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330440000,"timestamp_ms":1787330440000,"timestamp_seconds":1787330440,"priority":1,"record_length":96,"hex_timestamp":"000001a025322b40"} 
[2026-08-21 22:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 22:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556589568001,"66":27332,"150":206,"85":15872,"24":29,"16":388690971170177024,"45":-7322782601919909888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,150,85,24,16,45]} 
[2026-08-21 22:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556589568001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":150,"value":206,"description":"Unknown IO ID 150"} 
[2026-08-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388690971170177024,"km_value":388690971170177.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7322782601919909888,"description":"Unknown IO ID 45"} 
[2026-08-21 22:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556589568001,"power":27332,"unknown_150":206,"unknown_85":15872,"ignition":29,"odometer":null,"unknown_45":-7322782601919909888}} 
[2026-08-21 22:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:13:35] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:13:35] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:14:06] local.INFO: TCP Data received {"connection_id":161957,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025327d48012d9a4f8005755980000801512d..."} 
[2026-08-21 22:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025327d48012d9a4f8005755980000801512d..."} 
[2026-08-21 22:14:06] local.INFO: Processing buffer {"connection_id":161957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025327d48012d9a4f8005755980000801512d..."} 
[2026-08-21 22:14:06] local.INFO: Packet analysis {"connection_id":161957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02532"} 
[2026-08-21 22:14:06] local.INFO: Extracted packet for processing {"connection_id":161957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02532"} 
[2026-08-21 22:14:06] local.INFO: GPS Element Parsed {"raw_longitude":765087616,"raw_latitude":91576704,"longitude_deg":76.5087616,"latitude_deg":9.1576704,"altitude":8,"angle":337,"satellites":45,"speed":7,"hex_longitude":"2d9a4f80","hex_latitude":"05755980","is_valid_coordinates":true} 
[2026-08-21 22:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556592640001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388691198803443712,"note":"Value kept but may cause issues"} 
[2026-08-21 22:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7325878826661554176,"note":"Value kept but may cause issues"} 
[2026-08-21 22:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,151,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787330461000,"timestamp_ms":1787330461000,"timestamp_seconds":1787330461,"priority":1,"record_length":96,"hex_timestamp":"000001a025327d48"} 
[2026-08-21 22:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:14: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-08-21 22:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556592640001,"66":27267,"151":206,"85":15872,"24":7,"16":388691198803443712,"45":-7325878826661554176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,151,85,24,16,45]} 
[2026-08-21 22:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556592640001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:14:06] local.INFO: Unknown IO ID detected {"io_id":151,"value":206,"description":"Unknown IO ID 151"} 
[2026-08-21 22:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388691198803443712,"km_value":388691198803443.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7325878826661554176,"description":"Unknown IO ID 45"} 
[2026-08-21 22:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556592640001,"power":27267,"unknown_151":206,"unknown_85":15872,"ignition":7,"odometer":null,"unknown_45":-7325878826661554176}} 
[2026-08-21 22:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":161957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:14:06] local.INFO: GPS data processed {"connection_id":161957,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:14:06] local.INFO: Acknowledgment sent {"connection_id":161957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:14:29] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:14:29] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:14:29] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:14:34] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:14:34] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:14:34] local.INFO: IMEI packet received {"connection_id":161958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":161958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:14:35] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025348ca0012d9967c005765790000701432d..."} 
[2026-08-21 22:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025348ca0012d9967c005765790000701432d..."} 
[2026-08-21 22:14:35] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025348ca0012d9967c005765790000701432d..."} 
[2026-08-21 22:14:35] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02534"} 
[2026-08-21 22:14:35] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02534"} 
[2026-08-21 22:14:35] local.INFO: GPS Element Parsed {"raw_longitude":765028288,"raw_latitude":91641744,"longitude_deg":76.5028288,"latitude_deg":9.1641744,"altitude":7,"angle":323,"satellites":45,"speed":24,"hex_longitude":"2d9967c0","hex_latitude":"05765790","is_valid_coordinates":true} 
[2026-08-21 22:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556628992001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388695545310347264,"note":"Value kept but may cause issues"} 
[2026-08-21 22:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7386607052870895616,"note":"Value kept but may cause issues"} 
[2026-08-21 22:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330596000,"timestamp_ms":1787330596000,"timestamp_seconds":1787330596,"priority":1,"record_length":96,"hex_timestamp":"000001a025348ca0"} 
[2026-08-21 22:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:14: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-08-21 22:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 22:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556628992001,"66":27397,"109":206,"85":15872,"24":24,"16":388695545310347264,"45":-7386607052870895616},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 22:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556628992001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388695545310347264,"km_value":388695545310347.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7386607052870895616,"description":"Unknown IO ID 45"} 
[2026-08-21 22:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556628992001,"power":27397,"unknown_109":206,"unknown_85":15872,"ignition":24,"odometer":null,"unknown_45":-7386607052870895616}} 
[2026-08-21 22:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:14:35] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:14:35] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:15:07] local.INFO: TCP Data received {"connection_id":161958,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02534bf68012d99514005767570000701412b..."} 
[2026-08-21 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02534bf68012d99514005767570000701412b..."} 
[2026-08-21 22:15:07] local.INFO: Processing buffer {"connection_id":161958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02534bf68012d99514005767570000701412b..."} 
[2026-08-21 22:15:07] local.INFO: Packet analysis {"connection_id":161958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02534"} 
[2026-08-21 22:15:07] local.INFO: Extracted packet for processing {"connection_id":161958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02534"} 
[2026-08-21 22:15:07] local.INFO: GPS Element Parsed {"raw_longitude":765022528,"raw_latitude":91649392,"longitude_deg":76.5022528,"latitude_deg":9.1649392,"altitude":7,"angle":321,"satellites":43,"speed":33,"hex_longitude":"2d995140","hex_latitude":"05767570","is_valid_coordinates":true} 
[2026-08-21 22:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556632576001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388696009166815232,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7392729133612560384,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15: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-08-21 22:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787330609000,"timestamp_ms":1787330609000,"timestamp_seconds":1787330609,"priority":1,"record_length":96,"hex_timestamp":"000001a02534bf68"} 
[2026-08-21 22:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22: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-08-21 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 22:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556632576001,"66":26778,"109":206,"85":15872,"24":33,"16":388696009166815232,"45":-7392729133612560384},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-08-21 22:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556632576001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-08-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388696009166815232,"km_value":388696009166815.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7392729133612560384,"description":"Unknown IO ID 45"} 
[2026-08-21 22:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556632576001,"power":26778,"unknown_109":206,"unknown_85":15872,"ignition":33,"odometer":null,"unknown_45":-7392729133612560384}} 
[2026-08-21 22:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":161958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:15:07] local.INFO: GPS data processed {"connection_id":161958,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:15:07] local.INFO: Acknowledgment sent {"connection_id":161958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:15:33] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:33] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:33] local.INFO: IMEI packet received {"connection_id":160561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":160561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:15:34] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:34] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:34] local.INFO: IMEI packet received {"connection_id":160561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":160561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:15:39] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:39] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:15:39] local.INFO: IMEI packet received {"connection_id":160561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":160561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:15:40] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02534ee48012d993bc005769210000801442c..."} 
[2026-08-21 22:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02534ee48012d993bc005769210000801442c..."} 
[2026-08-21 22:15:40] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02534ee48012d993bc005769210000801442c..."} 
[2026-08-21 22:15:40] local.INFO: Packet analysis {"connection_id":160561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02534"} 
[2026-08-21 22:15:40] local.INFO: Extracted packet for processing {"connection_id":160561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02534"} 
[2026-08-21 22:15:40] local.INFO: GPS Element Parsed {"raw_longitude":765017024,"raw_latitude":91656720,"longitude_deg":76.5017024,"latitude_deg":9.165672,"altitude":8,"angle":324,"satellites":44,"speed":22,"hex_longitude":"2d993bc0","hex_latitude":"05769210","is_valid_coordinates":true} 
[2026-08-21 22:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556635904001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388696451548446720,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7399062320586592256,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787330621000,"timestamp_ms":1787330621000,"timestamp_seconds":1787330621,"priority":1,"record_length":96,"hex_timestamp":"000001a02534ee48"} 
[2026-08-21 22:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-08-21 22:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556635904001,"66":27376,"201":206,"85":15872,"24":22,"16":388696451548446720,"45":-7399062320586592256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556635904001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:15:40] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:15:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388696451548446720,"km_value":388696451548446.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7399062320586592256,"description":"Unknown IO ID 45"} 
[2026-08-21 22:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556635904001,"power":27376,"unknown_201":206,"unknown_85":15872,"ignition":22,"odometer":null,"unknown_45":-7399062320586592256}} 
[2026-08-21 22:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":160561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:15:40] local.INFO: GPS data processed {"connection_id":160561,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:15:40] local.INFO: Acknowledgment sent {"connection_id":160561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:15:45] local.INFO: TCP Data received {"connection_id":160561,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253528e0012d9927400576afc0000801442b..."} 
[2026-08-21 22:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160561,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253528e0012d9927400576afc0000801442b..."} 
[2026-08-21 22:15:45] local.INFO: Processing buffer {"connection_id":160561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253528e0012d9927400576afc0000801442b..."} 
[2026-08-21 22:15:45] local.INFO: Packet analysis {"connection_id":160561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:15:45] local.INFO: Extracted packet for processing {"connection_id":160561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:15:45] local.INFO: GPS Element Parsed {"raw_longitude":765011776,"raw_latitude":91664320,"longitude_deg":76.5011776,"latitude_deg":9.166432,"altitude":8,"angle":324,"satellites":43,"speed":26,"hex_longitude":"2d992740","hex_latitude":"0576afc0","is_valid_coordinates":true} 
[2026-08-21 22:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556638976001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388696898225045504,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7405114032583995392,"note":"Value kept but may cause issues"} 
[2026-08-21 22:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787330636000,"timestamp_ms":1787330636000,"timestamp_seconds":1787330636,"priority":1,"record_length":96,"hex_timestamp":"000001a0253528e0"} 
[2026-08-21 22:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556638976001,"66":27300,"201":206,"85":15872,"24":26,"16":388696898225045504,"45":-7405114032583995392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556638976001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:15:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:15:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388696898225045504,"km_value":388696898225045.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7405114032583995392,"description":"Unknown IO ID 45"} 
[2026-08-21 22:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556638976001,"power":27300,"unknown_201":206,"unknown_85":15872,"ignition":26,"odometer":null,"unknown_45":-7405114032583995392}} 
[2026-08-21 22:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":160561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:15:45] local.INFO: GPS data processed {"connection_id":160561,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:15:45] local.INFO: Acknowledgment sent {"connection_id":160561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:16:31] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:16:31] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:16:31] local.INFO: IMEI packet received {"connection_id":159648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":159648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:16:41] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:16:41] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:16:41] local.INFO: IMEI packet received {"connection_id":159648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":159648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:16:42] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025355f90012d9912800576cdc8000801442c..."} 
[2026-08-21 22:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025355f90012d9912800576cdc8000801442c..."} 
[2026-08-21 22:16:42] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025355f90012d9912800576cdc8000801442c..."} 
[2026-08-21 22:16:42] local.INFO: Packet analysis {"connection_id":159648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:16:42] local.INFO: Extracted packet for processing {"connection_id":159648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:16:42] local.INFO: GPS Element Parsed {"raw_longitude":765006464,"raw_latitude":91672008,"longitude_deg":76.5006464,"latitude_deg":9.1672008,"altitude":8,"angle":324,"satellites":44,"speed":27,"hex_longitude":"2d991280","hex_latitude":"0576cdc8","is_valid_coordinates":true} 
[2026-08-21 22:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556642816001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388697349196611584,"note":"Value kept but may cause issues"} 
[2026-08-21 22:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7410884269604618240,"note":"Value kept but may cause issues"} 
[2026-08-21 22:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787330650000,"timestamp_ms":1787330650000,"timestamp_seconds":1787330650,"priority":1,"record_length":96,"hex_timestamp":"000001a025355f90"} 
[2026-08-21 22:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 22:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556642816001,"66":27397,"201":206,"85":15872,"24":27,"16":388697349196611584,"45":-7410884269604618240},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556642816001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:16:42] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:16:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388697349196611584,"km_value":388697349196611.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7410884269604618240,"description":"Unknown IO ID 45"} 
[2026-08-21 22:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556642816001,"power":27397,"unknown_201":206,"unknown_85":15872,"ignition":27,"odometer":null,"unknown_45":-7410884269604618240}} 
[2026-08-21 22:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":159648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:16:42] local.INFO: GPS data processed {"connection_id":159648,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:16:42] local.INFO: Acknowledgment sent {"connection_id":159648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:16:45] local.INFO: TCP Data received {"connection_id":159648,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025359640012d98ff000576ea70000701442b..."} 
[2026-08-21 22:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025359640012d98ff000576ea70000701442b..."} 
[2026-08-21 22:16:45] local.INFO: Processing buffer {"connection_id":159648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025359640012d98ff000576ea70000701442b..."} 
[2026-08-21 22:16:45] local.INFO: Packet analysis {"connection_id":159648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:16:45] local.INFO: Extracted packet for processing {"connection_id":159648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:16:45] local.INFO: GPS Element Parsed {"raw_longitude":765001472,"raw_latitude":91679344,"longitude_deg":76.5001472,"latitude_deg":9.1679344,"altitude":7,"angle":324,"satellites":43,"speed":22,"hex_longitude":"2d98ff00","hex_latitude":"0576ea70","is_valid_coordinates":true} 
[2026-08-21 22:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556646400001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388697778693341184,"note":"Value kept but may cause issues"} 
[2026-08-21 22:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7416724875369396224,"note":"Value kept but may cause issues"} 
[2026-08-21 22:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787330664000,"timestamp_ms":1787330664000,"timestamp_seconds":1787330664,"priority":1,"record_length":96,"hex_timestamp":"000001a025359640"} 
[2026-08-21 22:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 22:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556646400001,"66":27397,"201":206,"85":15872,"24":22,"16":388697778693341184,"45":-7416724875369396224},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556646400001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:16:45] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:16:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388697778693341184,"km_value":388697778693341.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7416724875369396224,"description":"Unknown IO ID 45"} 
[2026-08-21 22:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556646400001,"power":27397,"unknown_201":206,"unknown_85":15872,"ignition":22,"odometer":null,"unknown_45":-7416724875369396224}} 
[2026-08-21 22:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":159648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:16:45] local.INFO: GPS data processed {"connection_id":159648,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:16:45] local.INFO: Acknowledgment sent {"connection_id":159648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:17:29] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:29] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:29] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:17:31] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:31] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:31] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:17:35] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:35] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:17:35] local.INFO: IMEI packet received {"connection_id":160562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":160562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:17:35] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02535ccf0012d98e9c0057708e0000801442a..."} 
[2026-08-21 22:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02535ccf0012d98e9c0057708e0000801442a..."} 
[2026-08-21 22:17:35] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02535ccf0012d98e9c0057708e0000801442a..."} 
[2026-08-21 22:17:35] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:17:35] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02535"} 
[2026-08-21 22:17:35] local.INFO: GPS Element Parsed {"raw_longitude":764996032,"raw_latitude":91687136,"longitude_deg":76.4996032,"latitude_deg":9.1687136,"altitude":8,"angle":324,"satellites":42,"speed":25,"hex_longitude":"2d98e9c0","hex_latitude":"057708e0","is_valid_coordinates":true} 
[2026-08-21 22:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556649984001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388698238254841856,"note":"Value kept but may cause issues"} 
[2026-08-21 22:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7422213637413376000,"note":"Value kept but may cause issues"} 
[2026-08-21 22:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330678000,"timestamp_ms":1787330678000,"timestamp_seconds":1787330678,"priority":1,"record_length":96,"hex_timestamp":"000001a02535ccf0"} 
[2026-08-21 22:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:17: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-08-21 22:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 22:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556649984001,"66":27365,"201":206,"85":15872,"24":25,"16":388698238254841856,"45":-7422213637413376000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556649984001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388698238254841856,"km_value":388698238254841.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7422213637413376000,"description":"Unknown IO ID 45"} 
[2026-08-21 22:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556649984001,"power":27365,"unknown_201":206,"unknown_85":15872,"ignition":25,"odometer":null,"unknown_45":-7422213637413376000}} 
[2026-08-21 22:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:17:35] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:17:35] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:17:40] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025360f58012d98d48005772670000801452b..."} 
[2026-08-21 22:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025360f58012d98d48005772670000801452b..."} 
[2026-08-21 22:17:40] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025360f58012d98d48005772670000801452b..."} 
[2026-08-21 22:17:40] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02536"} 
[2026-08-21 22:17:40] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02536"} 
[2026-08-21 22:17:40] local.INFO: GPS Element Parsed {"raw_longitude":764990592,"raw_latitude":91694704,"longitude_deg":76.4990592,"latitude_deg":9.1694704,"altitude":8,"angle":325,"satellites":43,"speed":22,"hex_longitude":"2d98d480","hex_latitude":"05772670","is_valid_coordinates":true} 
[2026-08-21 22:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556653568001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388698684931440640,"note":"Value kept but may cause issues"} 
[2026-08-21 22:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7428194980666482688,"note":"Value kept but may cause issues"} 
[2026-08-21 22:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787330695000,"timestamp_ms":1787330695000,"timestamp_seconds":1787330695,"priority":1,"record_length":96,"hex_timestamp":"000001a025360f58"} 
[2026-08-21 22:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556653568001,"66":27267,"201":206,"85":15872,"24":22,"16":388698684931440640,"45":-7428194980666482688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556653568001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:17:40] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388698684931440640,"km_value":388698684931440.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7428194980666482688,"description":"Unknown IO ID 45"} 
[2026-08-21 22:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556653568001,"power":27267,"unknown_201":206,"unknown_85":15872,"ignition":22,"odometer":null,"unknown_45":-7428194980666482688}} 
[2026-08-21 22:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:17:40] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:17:40] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:18:11] local.INFO: TCP Data received {"connection_id":160562,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025366160012d98c74005773868000901452b..."} 
[2026-08-21 22:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025366160012d98c74005773868000901452b..."} 
[2026-08-21 22:18:11] local.INFO: Processing buffer {"connection_id":160562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025366160012d98c74005773868000901452b..."} 
[2026-08-21 22:18:11] local.INFO: Packet analysis {"connection_id":160562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02536"} 
[2026-08-21 22:18:11] local.INFO: Extracted packet for processing {"connection_id":160562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02536"} 
[2026-08-21 22:18:11] local.INFO: GPS Element Parsed {"raw_longitude":764987200,"raw_latitude":91699304,"longitude_deg":76.49872,"latitude_deg":9.1699304,"altitude":9,"angle":325,"satellites":43,"speed":0,"hex_longitude":"2d98c740","hex_latitude":"05773868","is_valid_coordinates":true} 
[2026-08-21 22:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556657920001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388698964104314880,"note":"Value kept but may cause issues"} 
[2026-08-21 22:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7434176323919646720,"note":"Value kept but may cause issues"} 
[2026-08-21 22:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787330716000,"timestamp_ms":1787330716000,"timestamp_seconds":1787330716,"priority":1,"record_length":96,"hex_timestamp":"000001a025366160"} 
[2026-08-21 22:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 22:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556657920001,"66":27332,"201":206,"85":15872,"24":0,"16":388698964104314880,"45":-7434176323919646720},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556657920001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:18:11] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:18:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388698964104314880,"km_value":388698964104314.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7434176323919646720,"description":"Unknown IO ID 45"} 
[2026-08-21 22:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556657920001,"power":27332,"unknown_201":206,"unknown_85":15872,"ignition":0,"odometer":null,"unknown_45":-7434176323919646720}} 
[2026-08-21 22:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":160562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:18:11] local.INFO: GPS data processed {"connection_id":160562,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:18:11] local.INFO: Acknowledgment sent {"connection_id":160562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:18:29] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:29] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:29] local.INFO: IMEI packet received {"connection_id":160563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":160563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:18:30] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:30] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:30] local.INFO: IMEI packet received {"connection_id":160563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":160563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:18:32] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:32] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:18:32] local.INFO: IMEI packet received {"connection_id":160563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":160563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:18:33] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02536b368012d98c180057740f0000901442d..."} 
[2026-08-21 22:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02536b368012d98c180057740f0000901442d..."} 
[2026-08-21 22:18:33] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02536b368012d98c180057740f0000901442d..."} 
[2026-08-21 22:18:33] local.INFO: Packet analysis {"connection_id":160563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02536"} 
[2026-08-21 22:18:33] local.INFO: Extracted packet for processing {"connection_id":160563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02536"} 
[2026-08-21 22:18:33] local.INFO: GPS Element Parsed {"raw_longitude":764985728,"raw_latitude":91701488,"longitude_deg":76.4985728,"latitude_deg":9.1701488,"altitude":9,"angle":324,"satellites":45,"speed":6,"hex_longitude":"2d98c180","hex_latitude":"057740f0","is_valid_coordinates":true} 
[2026-08-21 22:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556663296001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388699092953333760,"note":"Value kept but may cause issues"} 
[2026-08-21 22:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7437905867359885312,"note":"Value kept but may cause issues"} 
[2026-08-21 22:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787330737000,"timestamp_ms":1787330737000,"timestamp_seconds":1787330737,"priority":1,"record_length":96,"hex_timestamp":"000001a02536b368"} 
[2026-08-21 22:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":160563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":160563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":160563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556663296001,"66":27343,"201":206,"85":15872,"24":6,"16":388699092953333760,"45":-7437905867359885312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556663296001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:18:33] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388699092953333760,"km_value":388699092953333.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7437905867359885312,"description":"Unknown IO ID 45"} 
[2026-08-21 22:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556663296001,"power":27343,"unknown_201":206,"unknown_85":15872,"ignition":6,"odometer":null,"unknown_45":-7437905867359885312}} 
[2026-08-21 22:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":160563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:18:33] local.INFO: GPS data processed {"connection_id":160563,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:18:33] local.INFO: Acknowledgment sent {"connection_id":160563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:19:04] local.INFO: TCP Data received {"connection_id":160563,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025370570012d98b68005774ef8000801462a..."} 
[2026-08-21 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025370570012d98b68005774ef8000801462a..."} 
[2026-08-21 22:19:04] local.INFO: Processing buffer {"connection_id":160563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025370570012d98b68005774ef8000801462a..."} 
[2026-08-21 22:19:04] local.INFO: Packet analysis {"connection_id":160563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02537"} 
[2026-08-21 22:19:04] local.INFO: Extracted packet for processing {"connection_id":160563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02537"} 
[2026-08-21 22:19:04] local.INFO: GPS Element Parsed {"raw_longitude":764982912,"raw_latitude":91705080,"longitude_deg":76.4982912,"latitude_deg":9.170508,"altitude":8,"angle":326,"satellites":42,"speed":7,"hex_longitude":"2d98b680","hex_latitude":"05774ef8","is_valid_coordinates":true} 
[2026-08-21 22:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556668672001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388699316291633152,"note":"Value kept but may cause issues"} 
[2026-08-21 22:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7439524348475412480,"note":"Value kept but may cause issues"} 
[2026-08-21 22:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787330758000,"timestamp_ms":1787330758000,"timestamp_seconds":1787330758,"priority":1,"record_length":96,"hex_timestamp":"000001a025370570"} 
[2026-08-21 22:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:19: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-08-21 22:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":160563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":160563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":160563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556668672001,"66":27376,"201":206,"85":15872,"24":7,"16":388699316291633152,"45":-7439524348475412480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,85,24,16,45]} 
[2026-08-21 22:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556668672001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:19:04] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-08-21 22:19:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388699316291633152,"km_value":388699316291633.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7439524348475412480,"description":"Unknown IO ID 45"} 
[2026-08-21 22:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556668672001,"power":27376,"unknown_201":206,"unknown_85":15872,"ignition":7,"odometer":null,"unknown_45":-7439524348475412480}} 
[2026-08-21 22:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":160563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:19:04] local.INFO: GPS data processed {"connection_id":160563,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:19:04] local.INFO: Acknowledgment sent {"connection_id":160563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:19:29] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:29] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:29] local.INFO: IMEI packet received {"connection_id":159367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":159367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:19:30] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:30] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:30] local.INFO: IMEI packet received {"connection_id":159367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":159367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:19:34] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:34] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:19:34] local.INFO: IMEI packet received {"connection_id":159367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":159367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:19:35] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02538fd58012d98250005782700000501472e..."} 
[2026-08-21 22:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02538fd58012d98250005782700000501472e..."} 
[2026-08-21 22:19:35] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02538fd58012d98250005782700000501472e..."} 
[2026-08-21 22:19:35] local.INFO: Packet analysis {"connection_id":159367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02538"} 
[2026-08-21 22:19:35] local.INFO: Extracted packet for processing {"connection_id":159367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02538"} 
[2026-08-21 22:19:35] local.INFO: GPS Element Parsed {"raw_longitude":764945664,"raw_latitude":91760384,"longitude_deg":76.4945664,"latitude_deg":9.1760384,"altitude":5,"angle":327,"satellites":46,"speed":10,"hex_longitude":"2d982500","hex_latitude":"05782700","is_valid_coordinates":true} 
[2026-08-21 22:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556705280001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388702567581876224,"note":"Value kept but may cause issues"} 
[2026-08-21 22:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7482449282409007104,"note":"Value kept but may cause issues"} 
[2026-08-21 22:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330887000,"timestamp_ms":1787330887000,"timestamp_seconds":1787330887,"priority":1,"record_length":96,"hex_timestamp":"000001a02538fd58"} 
[2026-08-21 22:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:19: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-08-21 22:19:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556705280001,"66":27332,"190":206,"85":15872,"24":10,"16":388702567581876224,"45":-7482449282409007104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 22:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556705280001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388702567581876224,"km_value":388702567581876.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7482449282409007104,"description":"Unknown IO ID 45"} 
[2026-08-21 22:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556705280001,"power":27332,"unknown_190":206,"unknown_85":15872,"ignition":10,"odometer":null,"unknown_45":-7482449282409007104}} 
[2026-08-21 22:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":159367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:19:35] local.INFO: GPS data processed {"connection_id":159367,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:19:35] local.INFO: Acknowledgment sent {"connection_id":159367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:20:06] local.INFO: TCP Data received {"connection_id":159367,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025394790012d9811c005784678000501482a..."} 
[2026-08-21 22:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025394790012d9811c005784678000501482a..."} 
[2026-08-21 22:20:06] local.INFO: Processing buffer {"connection_id":159367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025394790012d9811c005784678000501482a..."} 
[2026-08-21 22:20:06] local.INFO: Packet analysis {"connection_id":159367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:20:06] local.INFO: Extracted packet for processing {"connection_id":159367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:20:06] local.INFO: GPS Element Parsed {"raw_longitude":764940736,"raw_latitude":91768440,"longitude_deg":76.4940736,"latitude_deg":9.176844,"altitude":5,"angle":328,"satellites":42,"speed":24,"hex_longitude":"2d9811c0","hex_latitude":"05784678","is_valid_coordinates":true} 
[2026-08-21 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556707072001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388703027143376896,"note":"Value kept but may cause issues"} 
[2026-08-21 22:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7483575182315552768,"note":"Value kept but may cause issues"} 
[2026-08-21 22:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787330906000,"timestamp_ms":1787330906000,"timestamp_seconds":1787330906,"priority":1,"record_length":96,"hex_timestamp":"000001a025394790"} 
[2026-08-21 22:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:20: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-08-21 22:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:20:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556707072001,"66":27321,"190":206,"85":15872,"24":24,"16":388703027143376896,"45":-7483575182315552768},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 22:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556707072001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388703027143376896,"km_value":388703027143376.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7483575182315552768,"description":"Unknown IO ID 45"} 
[2026-08-21 22:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556707072001,"power":27321,"unknown_190":206,"unknown_85":15872,"ignition":24,"odometer":null,"unknown_45":-7483575182315552768}} 
[2026-08-21 22:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":159367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:20:06] local.INFO: GPS data processed {"connection_id":159367,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:20:06] local.INFO: Acknowledgment sent {"connection_id":159367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:20:29] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:20:29] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:20:29] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:20:34] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:20:34] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:20:34] local.INFO: IMEI packet received {"connection_id":160564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":160564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:20:35] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025397a58012d97fe8005786508000501472b..."} 
[2026-08-21 22:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025397a58012d97fe8005786508000501472b..."} 
[2026-08-21 22:20:35] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025397a58012d97fe8005786508000501472b..."} 
[2026-08-21 22:20:35] local.INFO: Packet analysis {"connection_id":160564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:20:35] local.INFO: Extracted packet for processing {"connection_id":160564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:20:35] local.INFO: GPS Element Parsed {"raw_longitude":764935808,"raw_latitude":91776264,"longitude_deg":76.4935808,"latitude_deg":9.1776264,"altitude":5,"angle":327,"satellites":43,"speed":28,"hex_longitude":"2d97fe80","hex_latitude":"05786508","is_valid_coordinates":true} 
[2026-08-21 22:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556711936001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388703473819975680,"note":"Value kept but may cause issues"} 
[2026-08-21 22:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7488993575615170560,"note":"Value kept but may cause issues"} 
[2026-08-21 22:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787330919000,"timestamp_ms":1787330919000,"timestamp_seconds":1787330919,"priority":1,"record_length":96,"hex_timestamp":"000001a025397a58"} 
[2026-08-21 22:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:20: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-08-21 22:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556711936001,"66":27343,"190":206,"85":15872,"24":28,"16":388703473819975680,"45":-7488993575615170560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 22:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556711936001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:20:35] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 22:20:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388703473819975680,"km_value":388703473819975.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7488993575615170560,"description":"Unknown IO ID 45"} 
[2026-08-21 22:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556711936001,"power":27343,"unknown_190":206,"unknown_85":15872,"ignition":28,"odometer":null,"unknown_45":-7488993575615170560}} 
[2026-08-21 22:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":160564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:20:35] local.INFO: GPS data processed {"connection_id":160564,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:20:35] local.INFO: Acknowledgment sent {"connection_id":160564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:21:07] local.INFO: TCP Data received {"connection_id":160564,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02539ad20012d97eb0005788418000601462c..."} 
[2026-08-21 22:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02539ad20012d97eb0005788418000601462c..."} 
[2026-08-21 22:21:07] local.INFO: Processing buffer {"connection_id":160564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02539ad20012d97eb0005788418000601462c..."} 
[2026-08-21 22:21:07] local.INFO: Packet analysis {"connection_id":160564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:21:07] local.INFO: Extracted packet for processing {"connection_id":160564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:21:07] local.INFO: GPS Element Parsed {"raw_longitude":764930816,"raw_latitude":91784216,"longitude_deg":76.4930816,"latitude_deg":9.1784216,"altitude":6,"angle":326,"satellites":44,"speed":29,"hex_longitude":"2d97eb00","hex_latitude":"05788418","is_valid_coordinates":true} 
[2026-08-21 22:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556715264001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388703924791541760,"note":"Value kept but may cause issues"} 
[2026-08-21 22:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7494411968914847744,"note":"Value kept but may cause issues"} 
[2026-08-21 22:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787330932000,"timestamp_ms":1787330932000,"timestamp_seconds":1787330932,"priority":1,"record_length":96,"hex_timestamp":"000001a02539ad20"} 
[2026-08-21 22:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:21: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-08-21 22:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:21:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556715264001,"66":27310,"190":206,"85":15872,"24":29,"16":388703924791541760,"45":-7494411968914847744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 22:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556715264001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:21:07] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 22:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388703924791541760,"km_value":388703924791541.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7494411968914847744,"description":"Unknown IO ID 45"} 
[2026-08-21 22:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556715264001,"power":27310,"unknown_190":206,"unknown_85":15872,"ignition":29,"odometer":null,"unknown_45":-7494411968914847744}} 
[2026-08-21 22:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":160564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:21:07] local.INFO: GPS data processed {"connection_id":160564,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:21:07] local.INFO: Acknowledgment sent {"connection_id":160564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:21:34] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:34] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:34] local.INFO: IMEI packet received {"connection_id":160565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":160565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:21:35] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:35] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:35] local.INFO: IMEI packet received {"connection_id":160565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":160565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:21:42] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:42] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:21:42] local.INFO: IMEI packet received {"connection_id":160565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":160565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:21:44] local.INFO: TCP Data received {"connection_id":160565,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02539dc00012d97d7800578a308000601472d..."} 
[2026-08-21 22:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02539dc00012d97d7800578a308000601472d..."} 
[2026-08-21 22:21:44] local.INFO: Processing buffer {"connection_id":160565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02539dc00012d97d7800578a308000601472d..."} 
[2026-08-21 22:21:44] local.INFO: Packet analysis {"connection_id":160565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:21:44] local.INFO: Extracted packet for processing {"connection_id":160565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02539"} 
[2026-08-21 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":764925824,"raw_latitude":91792136,"longitude_deg":76.4925824,"latitude_deg":9.1792136,"altitude":6,"angle":327,"satellites":45,"speed":33,"hex_longitude":"2d97d780","hex_latitude":"0578a308","is_valid_coordinates":true} 
[2026-08-21 22:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556718592001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388704380058075136,"note":"Value kept but may cause issues"} 
[2026-08-21 22:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7499900730958669824,"note":"Value kept but may cause issues"} 
[2026-08-21 22:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787330944000,"timestamp_ms":1787330944000,"timestamp_seconds":1787330944,"priority":1,"record_length":96,"hex_timestamp":"000001a02539dc00"} 
[2026-08-21 22:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 22:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556718592001,"66":27267,"190":206,"85":15872,"24":33,"16":388704380058075136,"45":-7499900730958669824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,85,24,16,45]} 
[2026-08-21 22:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556718592001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:21:44] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-08-21 22:21:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15872,"description":"Unknown IO ID 85"} 
[2026-08-21 22:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388704380058075136,"km_value":388704380058075.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7499900730958669824,"description":"Unknown IO ID 45"} 
[2026-08-21 22:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556718592001,"power":27267,"unknown_190":206,"unknown_85":15872,"ignition":33,"odometer":null,"unknown_45":-7499900730958669824}} 
[2026-08-21 22:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":160565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:21:44] local.INFO: GPS data processed {"connection_id":160565,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:21:44] local.INFO: Acknowledgment sent {"connection_id":160565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:22:31] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:31] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:31] local.INFO: IMEI packet received {"connection_id":160566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":160566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:22:34] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:34] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:34] local.INFO: IMEI packet received {"connection_id":160566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":160566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:22:39] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:39] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:22:39] local.INFO: IMEI packet received {"connection_id":160566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:22:39] local.INFO: IMEI acknowledgment sent {"connection_id":160566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:22:40] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253bdbb8012d971200057a2600000a01532c..."} 
[2026-08-21 22:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253bdbb8012d971200057a2600000a01532c..."} 
[2026-08-21 22:22:40] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253bdbb8012d971200057a2600000a01532c..."} 
[2026-08-21 22:22:40] local.INFO: Packet analysis {"connection_id":160566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253b"} 
[2026-08-21 22:22:40] local.INFO: Extracted packet for processing {"connection_id":160566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253b"} 
[2026-08-21 22:22:40] local.INFO: GPS Element Parsed {"raw_longitude":764875264,"raw_latitude":91891200,"longitude_deg":76.4875264,"latitude_deg":9.18912,"altitude":10,"angle":339,"satellites":44,"speed":43,"hex_longitude":"2d971200","hex_latitude":"057a2600","is_valid_coordinates":true} 
[2026-08-21 22:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556752896001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388709765947064320,"note":"Value kept but may cause issues"} 
[2026-08-21 22:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7556899413717379072,"note":"Value kept but may cause issues"} 
[2026-08-21 22:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787331075000,"timestamp_ms":1787331075000,"timestamp_seconds":1787331075,"priority":1,"record_length":96,"hex_timestamp":"000001a0253bdbb8"} 
[2026-08-21 22:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556752896001,"66":27321,"120":206,"85":15360,"24":43,"16":388709765947064320,"45":-7556899413717379072},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556752896001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388709765947064320,"km_value":388709765947064.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7556899413717379072,"description":"Unknown IO ID 45"} 
[2026-08-21 22:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556752896001,"power":27321,"unknown_120":206,"unknown_85":15360,"ignition":43,"odometer":null,"unknown_45":-7556899413717379072}} 
[2026-08-21 22:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":160566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:22:40] local.INFO: GPS data processed {"connection_id":160566,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:22:40] local.INFO: Acknowledgment sent {"connection_id":160566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:22:41] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253bfee0012d970740057a4b08000a015b2c..."} 
[2026-08-21 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253bfee0012d970740057a4b08000a015b2c..."} 
[2026-08-21 22:22:41] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253bfee0012d970740057a4b08000a015b2c..."} 
[2026-08-21 22:22:41] local.INFO: Packet analysis {"connection_id":160566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253b"} 
[2026-08-21 22:22:41] local.INFO: Extracted packet for processing {"connection_id":160566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253b"} 
[2026-08-21 22:22:41] local.INFO: GPS Element Parsed {"raw_longitude":764872512,"raw_latitude":91900680,"longitude_deg":76.4872512,"latitude_deg":9.190068,"altitude":10,"angle":347,"satellites":44,"speed":43,"hex_longitude":"2d970740","hex_latitude":"057a4b08","is_valid_coordinates":true} 
[2026-08-21 22:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556755200001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388710246983401472,"note":"Value kept but may cause issues"} 
[2026-08-21 22:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7560980800877494272,"note":"Value kept but may cause issues"} 
[2026-08-21 22:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787331084000,"timestamp_ms":1787331084000,"timestamp_seconds":1787331084,"priority":1,"record_length":96,"hex_timestamp":"000001a0253bfee0"} 
[2026-08-21 22:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:22: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-08-21 22:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":160566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556755200001,"66":27213,"120":206,"85":15360,"24":43,"16":388710246983401472,"45":-7560980800877494272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556755200001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:22:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:22:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388710246983401472,"km_value":388710246983401.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7560980800877494272,"description":"Unknown IO ID 45"} 
[2026-08-21 22:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556755200001,"power":27213,"unknown_120":206,"unknown_85":15360,"ignition":43,"odometer":null,"unknown_45":-7560980800877494272}} 
[2026-08-21 22:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":160566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:22:41] local.INFO: GPS data processed {"connection_id":160566,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:22:41] local.INFO: Acknowledgment sent {"connection_id":160566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:23:12] local.INFO: TCP Data received {"connection_id":160566,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253c2208012d96ff40057a6d180009015a2b..."} 
[2026-08-21 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253c2208012d96ff40057a6d180009015a2b..."} 
[2026-08-21 22:23:12] local.INFO: Processing buffer {"connection_id":160566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253c2208012d96ff40057a6d180009015a2b..."} 
[2026-08-21 22:23:12] local.INFO: Packet analysis {"connection_id":160566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:23:12] local.INFO: Extracted packet for processing {"connection_id":160566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":764870464,"raw_latitude":91909400,"longitude_deg":76.4870464,"latitude_deg":9.19094,"altitude":9,"angle":346,"satellites":43,"speed":33,"hex_longitude":"2d96ff40","hex_latitude":"057a6d18","is_valid_coordinates":true} 
[2026-08-21 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556757504001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388710680775098368,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7564006656874706944,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787331093000,"timestamp_ms":1787331093000,"timestamp_seconds":1787331093,"priority":1,"record_length":96,"hex_timestamp":"000001a0253c2208"} 
[2026-08-21 22:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 22:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":160566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":160566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556757504001,"66":27213,"120":206,"85":15360,"24":33,"16":388710680775098368,"45":-7564006656874706944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556757504001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:23:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:23:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388710680775098368,"km_value":388710680775098.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7564006656874706944,"description":"Unknown IO ID 45"} 
[2026-08-21 22:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556757504001,"power":27213,"unknown_120":206,"unknown_85":15360,"ignition":33,"odometer":null,"unknown_45":-7564006656874706944}} 
[2026-08-21 22:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":160566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:23:12] local.INFO: GPS data processed {"connection_id":160566,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:23:12] local.INFO: Acknowledgment sent {"connection_id":160566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:23:29] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:23:29] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:23:29] local.INFO: IMEI packet received {"connection_id":159368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":159368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:23:33] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:23:33] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:23:33] local.INFO: IMEI packet received {"connection_id":159368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":159368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:23:36] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253c4918012d96f540057a8e70000a01562b..."} 
[2026-08-21 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253c4918012d96f540057a8e70000a01562b..."} 
[2026-08-21 22:23:36] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253c4918012d96f540057a8e70000a01562b..."} 
[2026-08-21 22:23:36] local.INFO: Packet analysis {"connection_id":159368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:23:36] local.INFO: Extracted packet for processing {"connection_id":159368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":764867904,"raw_latitude":91917936,"longitude_deg":76.4867904,"latitude_deg":9.1917936,"altitude":10,"angle":342,"satellites":43,"speed":35,"hex_longitude":"2d96f540","hex_latitude":"057a8e70","is_valid_coordinates":true} 
[2026-08-21 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556759808001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388711110271827968,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7566258456686159872,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787331103000,"timestamp_ms":1787331103000,"timestamp_seconds":1787331103,"priority":1,"record_length":96,"hex_timestamp":"000001a0253c4918"} 
[2026-08-21 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:23:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 22:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:23:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556759808001,"66":27484,"120":206,"85":15360,"24":35,"16":388711110271827968,"45":-7566258456686159872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556759808001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:23:36] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388711110271827968,"km_value":388711110271827.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7566258456686159872,"description":"Unknown IO ID 45"} 
[2026-08-21 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556759808001,"power":27484,"unknown_120":206,"unknown_85":15360,"ignition":35,"odometer":null,"unknown_45":-7566258456686159872}} 
[2026-08-21 22:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":159368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:23:36] local.INFO: GPS data processed {"connection_id":159368,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:23:36] local.INFO: Acknowledgment sent {"connection_id":159368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:23:37] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253c7028012d96ec80057ab150000901572c..."} 
[2026-08-21 22:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253c7028012d96ec80057ab150000901572c..."} 
[2026-08-21 22:23:37] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253c7028012d96ec80057ab150000901572c..."} 
[2026-08-21 22:23:37] local.INFO: Packet analysis {"connection_id":159368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:23:37] local.INFO: Extracted packet for processing {"connection_id":159368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":764865664,"raw_latitude":91926864,"longitude_deg":76.4865664,"latitude_deg":9.1926864,"altitude":9,"angle":343,"satellites":44,"speed":38,"hex_longitude":"2d96ec80","hex_latitude":"057ab150","is_valid_coordinates":true} 
[2026-08-21 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556762368001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388711556948426752,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7569073206451081216,"note":"Value kept but may cause issues"} 
[2026-08-21 22:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787331113000,"timestamp_ms":1787331113000,"timestamp_seconds":1787331113,"priority":1,"record_length":96,"hex_timestamp":"000001a0253c7028"} 
[2026-08-21 22:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-08-21 22:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:23:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556762368001,"66":27321,"120":206,"85":15360,"24":38,"16":388711556948426752,"45":-7569073206451081216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556762368001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:23:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388711556948426752,"km_value":388711556948426.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7569073206451081216,"description":"Unknown IO ID 45"} 
[2026-08-21 22:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556762368001,"power":27321,"unknown_120":206,"unknown_85":15360,"ignition":38,"odometer":null,"unknown_45":-7569073206451081216}} 
[2026-08-21 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":159368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:23:37] local.INFO: GPS data processed {"connection_id":159368,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:23:37] local.INFO: Acknowledgment sent {"connection_id":159368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:24:08] local.INFO: TCP Data received {"connection_id":159368,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253c9738012d96e200057ad4280009015527..."} 
[2026-08-21 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159368,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253c9738012d96e200057ad4280009015527..."} 
[2026-08-21 22:24:08] local.INFO: Processing buffer {"connection_id":159368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253c9738012d96e200057ad4280009015527..."} 
[2026-08-21 22:24:08] local.INFO: Packet analysis {"connection_id":159368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:24:08] local.INFO: Extracted packet for processing {"connection_id":159368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":764862976,"raw_latitude":91935784,"longitude_deg":76.4862976,"latitude_deg":9.1935784,"altitude":9,"angle":341,"satellites":39,"speed":36,"hex_longitude":"2d96e200","hex_latitude":"057ad428","is_valid_coordinates":true} 
[2026-08-21 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556764928001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388712007919992832,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7571536112495013888,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787331123000,"timestamp_ms":1787331123000,"timestamp_seconds":1787331123,"priority":1,"record_length":96,"hex_timestamp":"000001a0253c9738"} 
[2026-08-21 22:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556764928001,"66":27267,"120":206,"85":15360,"24":36,"16":388712007919992832,"45":-7571536112495013888},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556764928001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388712007919992832,"km_value":388712007919992.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7571536112495013888,"description":"Unknown IO ID 45"} 
[2026-08-21 22:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556764928001,"power":27267,"unknown_120":206,"unknown_85":15360,"ignition":36,"odometer":null,"unknown_45":-7571536112495013888}} 
[2026-08-21 22:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":159368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:24:08] local.INFO: GPS data processed {"connection_id":159368,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:24:08] local.INFO: Acknowledgment sent {"connection_id":159368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:24:29] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:29] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:29] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:24:30] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:30] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:30] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:24:34] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:34] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:24:34] local.INFO: IMEI packet received {"connection_id":161959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":161959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:24:35] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253cc618012d96d6c0057af5d80008015628..."} 
[2026-08-21 22:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253cc618012d96d6c0057af5d80008015628..."} 
[2026-08-21 22:24:35] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253cc618012d96d6c0057af5d80008015628..."} 
[2026-08-21 22:24:35] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:24:35] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253c"} 
[2026-08-21 22:24:35] local.INFO: GPS Element Parsed {"raw_longitude":764860096,"raw_latitude":91944408,"longitude_deg":76.4860096,"latitude_deg":9.1944408,"altitude":8,"angle":342,"satellites":40,"speed":18,"hex_longitude":"2d96d6c0","hex_latitude":"057af5d8","is_valid_coordinates":true} 
[2026-08-21 22:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556767488001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388712450301624320,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7574491599748192256,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787331135000,"timestamp_ms":1787331135000,"timestamp_seconds":1787331135,"priority":1,"record_length":96,"hex_timestamp":"000001a0253cc618"} 
[2026-08-21 22:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:24: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-08-21 22:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 22:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556767488001,"66":27300,"120":206,"85":15360,"24":18,"16":388712450301624320,"45":-7574491599748192256},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556767488001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388712450301624320,"km_value":388712450301624.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7574491599748192256,"description":"Unknown IO ID 45"} 
[2026-08-21 22:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556767488001,"power":27300,"unknown_120":206,"unknown_85":15360,"ignition":18,"odometer":null,"unknown_45":-7574491599748192256}} 
[2026-08-21 22:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:24:35] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:24:35] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:24:37] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253d0498012d96cbc0057b1798000901552c..."} 
[2026-08-21 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253d0498012d96cbc0057b1798000901552c..."} 
[2026-08-21 22:24:37] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253d0498012d96cbc0057b1798000901552c..."} 
[2026-08-21 22:24:37] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253d"} 
[2026-08-21 22:24:37] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253d"} 
[2026-08-21 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":764857280,"raw_latitude":91953048,"longitude_deg":76.485728,"latitude_deg":9.1953048,"altitude":9,"angle":341,"satellites":44,"speed":29,"hex_longitude":"2d96cbc0","hex_latitude":"057b1798","is_valid_coordinates":true} 
[2026-08-21 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556770560001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388712888388288512,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7577658193233979392,"note":"Value kept but may cause issues"} 
[2026-08-21 22:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787331151000,"timestamp_ms":1787331151000,"timestamp_seconds":1787331151,"priority":1,"record_length":96,"hex_timestamp":"000001a0253d0498"} 
[2026-08-21 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:24: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-08-21 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 22:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556770560001,"66":27365,"120":206,"85":15360,"24":29,"16":388712888388288512,"45":-7577658193233979392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-08-21 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556770560001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:24:37] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-08-21 22:24:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388712888388288512,"km_value":388712888388288.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7577658193233979392,"description":"Unknown IO ID 45"} 
[2026-08-21 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556770560001,"power":27365,"unknown_120":206,"unknown_85":15360,"ignition":29,"odometer":null,"unknown_45":-7577658193233979392}} 
[2026-08-21 22:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:24:38] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:24:38] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:25:08] local.INFO: TCP Data received {"connection_id":161959,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253e9308012d9651c0057cb720000a01532d..."} 
[2026-08-21 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253e9308012d9651c0057cb720000a01532d..."} 
[2026-08-21 22:25:08] local.INFO: Processing buffer {"connection_id":161959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253e9308012d9651c0057cb720000a01532d..."} 
[2026-08-21 22:25:08] local.INFO: Packet analysis {"connection_id":161959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:25:08] local.INFO: Extracted packet for processing {"connection_id":161959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":764826048,"raw_latitude":92059424,"longitude_deg":76.4826048,"latitude_deg":9.2059424,"altitude":10,"angle":339,"satellites":45,"speed":50,"hex_longitude":"2d9651c0","hex_latitude":"057cb720","is_valid_coordinates":true} 
[2026-08-21 22:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556798976001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388718274277277696,"note":"Value kept but may cause issues"} 
[2026-08-21 22:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7611716665388660736,"note":"Value kept but may cause issues"} 
[2026-08-21 22:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787331253000,"timestamp_ms":1787331253000,"timestamp_seconds":1787331253,"priority":1,"record_length":96,"hex_timestamp":"000001a0253e9308"} 
[2026-08-21 22:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":161959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":161959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556798976001,"66":27376,"19":206,"85":15360,"24":50,"16":388718274277277696,"45":-7611716665388660736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556798976001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388718274277277696,"km_value":388718274277277.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7611716665388660736,"description":"Unknown IO ID 45"} 
[2026-08-21 22:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556798976001,"power":27376,"unknown_19":206,"unknown_85":15360,"ignition":50,"odometer":null,"unknown_45":-7611716665388660736}} 
[2026-08-21 22:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":161959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:25:08] local.INFO: GPS data processed {"connection_id":161959,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:25:08] local.INFO: Acknowledgment sent {"connection_id":161959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:25:29] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:25:29] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:25:29] local.INFO: IMEI packet received {"connection_id":160567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":160567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:25:31] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:25:31] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:25:31] local.INFO: IMEI packet received {"connection_id":160567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":160567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:25:32] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253eb248012d9643c0057cdb38000b01522c..."} 
[2026-08-21 22:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253eb248012d9643c0057cdb38000b01522c..."} 
[2026-08-21 22:25:32] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253eb248012d9643c0057cdb38000b01522c..."} 
[2026-08-21 22:25:32] local.INFO: Packet analysis {"connection_id":160567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:25:32] local.INFO: Extracted packet for processing {"connection_id":160567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:25:32] local.INFO: GPS Element Parsed {"raw_longitude":764822464,"raw_latitude":92068664,"longitude_deg":76.4822464,"latitude_deg":9.2068664,"altitude":11,"angle":338,"satellites":44,"speed":46,"hex_longitude":"2d9643c0","hex_latitude":"057cdb38","is_valid_coordinates":true} 
[2026-08-21 22:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556800768001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388718751018647552,"note":"Value kept but may cause issues"} 
[2026-08-21 22:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7615094365107052544,"note":"Value kept but may cause issues"} 
[2026-08-21 22:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1787331261000,"timestamp_ms":1787331261000,"timestamp_seconds":1787331261,"priority":1,"record_length":96,"hex_timestamp":"000001a0253eb248"} 
[2026-08-21 22:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:25: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-08-21 22:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":160567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556800768001,"66":27332,"19":206,"85":15360,"24":46,"16":388718751018647552,"45":-7615094365107052544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556800768001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:25:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:25:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388718751018647552,"km_value":388718751018647.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7615094365107052544,"description":"Unknown IO ID 45"} 
[2026-08-21 22:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556800768001,"power":27332,"unknown_19":206,"unknown_85":15360,"ignition":46,"odometer":null,"unknown_45":-7615094365107052544}} 
[2026-08-21 22:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":160567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:25:32] local.INFO: GPS data processed {"connection_id":160567,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:25:32] local.INFO: Acknowledgment sent {"connection_id":160567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:26:03] local.INFO: TCP Data received {"connection_id":160567,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253ed188012d963740057cfe68000b01552b..."} 
[2026-08-21 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253ed188012d963740057cfe68000b01552b..."} 
[2026-08-21 22:26:03] local.INFO: Processing buffer {"connection_id":160567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253ed188012d963740057cfe68000b01552b..."} 
[2026-08-21 22:26:03] local.INFO: Packet analysis {"connection_id":160567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:26:03] local.INFO: Extracted packet for processing {"connection_id":160567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":764819264,"raw_latitude":92077672,"longitude_deg":76.4819264,"latitude_deg":9.2077672,"altitude":11,"angle":341,"satellites":43,"speed":48,"hex_longitude":"2d963740","hex_latitude":"057cfe68","is_valid_coordinates":true} 
[2026-08-21 22:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556802816001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388719214875115520,"note":"Value kept but may cause issues"} 
[2026-08-21 22:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7619035014778636288,"note":"Value kept but may cause issues"} 
[2026-08-21 22:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1787331269000,"timestamp_ms":1787331269000,"timestamp_seconds":1787331269,"priority":1,"record_length":96,"hex_timestamp":"000001a0253ed188"} 
[2026-08-21 22:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":160567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":160567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:26: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-08-21 22:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556802816001,"66":27343,"19":206,"85":15360,"24":48,"16":388719214875115520,"45":-7619035014778636288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556802816001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:26:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:26:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388719214875115520,"km_value":388719214875115.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7619035014778636288,"description":"Unknown IO ID 45"} 
[2026-08-21 22:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556802816001,"power":27343,"unknown_19":206,"unknown_85":15360,"ignition":48,"odometer":null,"unknown_45":-7619035014778636288}} 
[2026-08-21 22:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":160567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:26:03] local.INFO: GPS data processed {"connection_id":160567,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:26:03] local.INFO: Acknowledgment sent {"connection_id":160567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:26:29] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:29] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:29] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:26:30] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:30] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:30] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:26:34] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:34] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:26:34] local.INFO: IMEI packet received {"connection_id":161960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":161960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:26:35] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253ef0c8012d962b80057d21a0000c01562a..."} 
[2026-08-21 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253ef0c8012d962b80057d21a0000c01562a..."} 
[2026-08-21 22:26:35] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253ef0c8012d962b80057d21a0000c01562a..."} 
[2026-08-21 22:26:35] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:26:35] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253e"} 
[2026-08-21 22:26:35] local.INFO: GPS Element Parsed {"raw_longitude":764816256,"raw_latitude":92086688,"longitude_deg":76.4816256,"latitude_deg":9.2086688,"altitude":12,"angle":342,"satellites":42,"speed":45,"hex_longitude":"2d962b80","hex_latitude":"057d21a0","is_valid_coordinates":true} 
[2026-08-21 22:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556804864001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388719674436616192,"note":"Value kept but may cause issues"} 
[2026-08-21 22:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7622553451985213440,"note":"Value kept but may cause issues"} 
[2026-08-21 22:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787331277000,"timestamp_ms":1787331277000,"timestamp_seconds":1787331277,"priority":1,"record_length":96,"hex_timestamp":"000001a0253ef0c8"} 
[2026-08-21 22:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:26: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-08-21 22:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:26:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556804864001,"66":27267,"19":206,"85":15360,"24":45,"16":388719674436616192,"45":-7622553451985213440},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556804864001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388719674436616192,"km_value":388719674436616.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7622553451985213440,"description":"Unknown IO ID 45"} 
[2026-08-21 22:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556804864001,"power":27267,"unknown_19":206,"unknown_85":15360,"ignition":45,"odometer":null,"unknown_45":-7622553451985213440}} 
[2026-08-21 22:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:26:35] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:26:35] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:27:06] local.INFO: TCP Data received {"connection_id":161960,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0253f1008012d962080057d4370000c01552a..."} 
[2026-08-21 22:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0253f1008012d962080057d4370000c01552a..."} 
[2026-08-21 22:27:06] local.INFO: Processing buffer {"connection_id":161960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0253f1008012d962080057d4370000c01552a..."} 
[2026-08-21 22:27:06] local.INFO: Packet analysis {"connection_id":161960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0253f"} 
[2026-08-21 22:27:06] local.INFO: Extracted packet for processing {"connection_id":161960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0253f"} 
[2026-08-21 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":764813440,"raw_latitude":92095344,"longitude_deg":76.481344,"latitude_deg":9.2095344,"altitude":12,"angle":341,"satellites":42,"speed":44,"hex_longitude":"2d962080","hex_latitude":"057d4370","is_valid_coordinates":true} 
[2026-08-21 22:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556806912001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388720116818247680,"note":"Value kept but may cause issues"} 
[2026-08-21 22:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7625860782959255552,"note":"Value kept but may cause issues"} 
[2026-08-21 22:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787331285000,"timestamp_ms":1787331285000,"timestamp_seconds":1787331285,"priority":1,"record_length":96,"hex_timestamp":"000001a0253f1008"} 
[2026-08-21 22:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:27: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-08-21 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 22:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556806912001,"66":27332,"19":206,"85":15360,"24":44,"16":388720116818247680,"45":-7625860782959255552},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556806912001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388720116818247680,"km_value":388720116818247.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7625860782959255552,"description":"Unknown IO ID 45"} 
[2026-08-21 22:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556806912001,"power":27332,"unknown_19":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7625860782959255552}} 
[2026-08-21 22:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":161960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:27:06] local.INFO: GPS data processed {"connection_id":161960,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:27:06] local.INFO: Acknowledgment sent {"connection_id":161960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:27:29] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:27:29] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:27:29] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:27:34] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:27:34] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:27:34] local.INFO: IMEI packet received {"connection_id":161961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":161961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:27:35] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254096a8012d95a240057ebae0000c01552a..."} 
[2026-08-21 22:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254096a8012d95a240057ebae0000c01552a..."} 
[2026-08-21 22:27:35] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254096a8012d95a240057ebae0000c01552a..."} 
[2026-08-21 22:27:35] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02540"} 
[2026-08-21 22:27:35] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02540"} 
[2026-08-21 22:27:35] local.INFO: GPS Element Parsed {"raw_longitude":764781120,"raw_latitude":92191456,"longitude_deg":76.478112,"latitude_deg":9.2191456,"altitude":12,"angle":341,"satellites":42,"speed":28,"hex_longitude":"2d95a240","hex_latitude":"057ebae0","is_valid_coordinates":true} 
[2026-08-21 22:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556831488001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388725030260834304,"note":"Value kept but may cause issues"} 
[2026-08-21 22:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7661396998744457216,"note":"Value kept but may cause issues"} 
[2026-08-21 22:27:35] 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-08-21 22:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787331385000,"timestamp_ms":1787331385000,"timestamp_seconds":1787331385,"priority":1,"record_length":96,"hex_timestamp":"000001a0254096a8"} 
[2026-08-21 22:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:27: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-08-21 22:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556831488001,"66":27376,"236":206,"85":15360,"24":28,"16":388725030260834304,"45":-7661396998744457216},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-21 22:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556831488001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388725030260834304,"km_value":388725030260834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7661396998744457216,"description":"Unknown IO ID 45"} 
[2026-08-21 22:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556831488001,"power":27376,"unknown_236":206,"unknown_85":15360,"ignition":28,"odometer":null,"unknown_45":-7661396998744457216}} 
[2026-08-21 22:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:27:35] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:27:35] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:28:06] local.INFO: TCP Data received {"connection_id":161961,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02540c588012d959740057edd18000c01562a..."} 
[2026-08-21 22:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02540c588012d959740057edd18000c01562a..."} 
[2026-08-21 22:28:06] local.INFO: Processing buffer {"connection_id":161961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02540c588012d959740057edd18000c01562a..."} 
[2026-08-21 22:28:06] local.INFO: Packet analysis {"connection_id":161961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02540"} 
[2026-08-21 22:28:06] local.INFO: Extracted packet for processing {"connection_id":161961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02540"} 
[2026-08-21 22:28:06] local.INFO: GPS Element Parsed {"raw_longitude":764778304,"raw_latitude":92200216,"longitude_deg":76.4778304,"latitude_deg":9.2200216,"altitude":12,"angle":342,"satellites":42,"speed":32,"hex_longitude":"2d959740","hex_latitude":"057edd18","is_valid_coordinates":true} 
[2026-08-21 22:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556834560001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388725476937433088,"note":"Value kept but may cause issues"} 
[2026-08-21 22:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7664493223485972480,"note":"Value kept but may cause issues"} 
[2026-08-21 22:28:06] 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-08-21 22:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787331397000,"timestamp_ms":1787331397000,"timestamp_seconds":1787331397,"priority":1,"record_length":96,"hex_timestamp":"000001a02540c588"} 
[2026-08-21 22:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:28: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-08-21 22:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:28:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556834560001,"66":27463,"236":206,"85":15360,"24":32,"16":388725476937433088,"45":-7664493223485972480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-21 22:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556834560001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388725476937433088,"km_value":388725476937433.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7664493223485972480,"description":"Unknown IO ID 45"} 
[2026-08-21 22:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556834560001,"power":27463,"unknown_236":206,"unknown_85":15360,"ignition":32,"odometer":null,"unknown_45":-7664493223485972480}} 
[2026-08-21 22:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":161961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:28:06] local.INFO: GPS data processed {"connection_id":161961,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:28:06] local.INFO: Acknowledgment sent {"connection_id":161961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:28:29] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:28:29] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:28:29] local.INFO: IMEI packet received {"connection_id":159369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":159369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:28:34] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:28:34] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:28:34] local.INFO: IMEI packet received {"connection_id":159369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":159369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:28:35] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02540f468012d958d00057eff20000b015727..."} 
[2026-08-21 22:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02540f468012d958d00057eff20000b015727..."} 
[2026-08-21 22:28:35] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02540f468012d958d00057eff20000b015727..."} 
[2026-08-21 22:28:35] local.INFO: Packet analysis {"connection_id":159369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02540"} 
[2026-08-21 22:28:35] local.INFO: Extracted packet for processing {"connection_id":159369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02540"} 
[2026-08-21 22:28:35] local.INFO: GPS Element Parsed {"raw_longitude":764775680,"raw_latitude":92208928,"longitude_deg":76.477568,"latitude_deg":9.2208928,"altitude":11,"angle":343,"satellites":39,"speed":29,"hex_longitude":"2d958d00","hex_latitude":"057eff20","is_valid_coordinates":true} 
[2026-08-21 22:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556837632001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388725919319064576,"note":"Value kept but may cause issues"} 
[2026-08-21 22:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7667589448227547136,"note":"Value kept but may cause issues"} 
[2026-08-21 22:28:35] 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-08-21 22:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787331409000,"timestamp_ms":1787331409000,"timestamp_seconds":1787331409,"priority":1,"record_length":96,"hex_timestamp":"000001a02540f468"} 
[2026-08-21 22:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:28: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-08-21 22:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 22:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556837632001,"66":27343,"236":206,"85":15360,"24":29,"16":388725919319064576,"45":-7667589448227547136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-21 22:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556837632001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388725919319064576,"km_value":388725919319064.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7667589448227547136,"description":"Unknown IO ID 45"} 
[2026-08-21 22:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556837632001,"power":27343,"unknown_236":206,"unknown_85":15360,"ignition":29,"odometer":null,"unknown_45":-7667589448227547136}} 
[2026-08-21 22:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":159369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:28:35] local.INFO: GPS data processed {"connection_id":159369,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:28:35] local.INFO: Acknowledgment sent {"connection_id":159369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:29:06] local.INFO: TCP Data received {"connection_id":159369,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025412348012d958300057f2268000a015827..."} 
[2026-08-21 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025412348012d958300057f2268000a015827..."} 
[2026-08-21 22:29:06] local.INFO: Processing buffer {"connection_id":159369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025412348012d958300057f2268000a015827..."} 
[2026-08-21 22:29:06] local.INFO: Packet analysis {"connection_id":159369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02541"} 
[2026-08-21 22:29:06] local.INFO: Extracted packet for processing {"connection_id":159369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02541"} 
[2026-08-21 22:29:06] local.INFO: GPS Element Parsed {"raw_longitude":764773120,"raw_latitude":92217960,"longitude_deg":76.477312,"latitude_deg":9.221796,"altitude":10,"angle":344,"satellites":39,"speed":30,"hex_longitude":"2d958300","hex_latitude":"057f2268","is_valid_coordinates":true} 
[2026-08-21 22:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556840704001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388726374585597952,"note":"Value kept but may cause issues"} 
[2026-08-21 22:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7670474566736601088,"note":"Value kept but may cause issues"} 
[2026-08-21 22:29:06] 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-08-21 22:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787331421000,"timestamp_ms":1787331421000,"timestamp_seconds":1787331421,"priority":1,"record_length":96,"hex_timestamp":"000001a025412348"} 
[2026-08-21 22:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:29: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-08-21 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:29: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-08-21 22:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556840704001,"66":27321,"236":206,"85":15360,"24":30,"16":388726374585597952,"45":-7670474566736601088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,85,24,16,45]} 
[2026-08-21 22:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556840704001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-08-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388726374585597952,"km_value":388726374585597.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7670474566736601088,"description":"Unknown IO ID 45"} 
[2026-08-21 22:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556840704001,"power":27321,"unknown_236":206,"unknown_85":15360,"ignition":30,"odometer":null,"unknown_45":-7670474566736601088}} 
[2026-08-21 22:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":159369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:29:06] local.INFO: GPS data processed {"connection_id":159369,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:29:06] local.INFO: Acknowledgment sent {"connection_id":159369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:29:29] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:29] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:29] local.INFO: IMEI packet received {"connection_id":159649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":159649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:29:29] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:29] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:29] local.INFO: IMEI packet received {"connection_id":159649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":159649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:29:34] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:34] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:29:34] local.INFO: IMEI packet received {"connection_id":159649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":159649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:29:35] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025429278012d94ed0005809af0000a01552a..."} 
[2026-08-21 22:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025429278012d94ed0005809af0000a01552a..."} 
[2026-08-21 22:29:35] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025429278012d94ed0005809af0000a01552a..."} 
[2026-08-21 22:29:35] local.INFO: Packet analysis {"connection_id":159649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:29:35] local.INFO: Extracted packet for processing {"connection_id":159649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:29:35] local.INFO: GPS Element Parsed {"raw_longitude":764734720,"raw_latitude":92314352,"longitude_deg":76.473472,"latitude_deg":9.2314352,"altitude":10,"angle":341,"satellites":42,"speed":44,"hex_longitude":"2d94ed00","hex_latitude":"05809af0","is_valid_coordinates":true} 
[2026-08-21 22:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556865792001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388731408287268864,"note":"Value kept but may cause issues"} 
[2026-08-21 22:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7712203232009170944,"note":"Value kept but may cause issues"} 
[2026-08-21 22:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787331515000,"timestamp_ms":1787331515000,"timestamp_seconds":1787331515,"priority":1,"record_length":96,"hex_timestamp":"000001a025429278"} 
[2026-08-21 22:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:29: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-08-21 22:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556865792001,"66":27376,"19":206,"85":15360,"24":44,"16":388731408287268864,"45":-7712203232009170944},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556865792001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:29:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:29:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388731408287268864,"km_value":388731408287268.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7712203232009170944,"description":"Unknown IO ID 45"} 
[2026-08-21 22:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556865792001,"power":27376,"unknown_19":206,"unknown_85":15360,"ignition":44,"odometer":null,"unknown_45":-7712203232009170944}} 
[2026-08-21 22:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":159649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:29:35] local.INFO: GPS data processed {"connection_id":159649,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:29:35] local.INFO: Acknowledgment sent {"connection_id":159649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:30:06] local.INFO: TCP Data received {"connection_id":159649,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02542b1b8012d94e1000580bc280009015429..."} 
[2026-08-21 22:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02542b1b8012d94e1000580bc280009015429..."} 
[2026-08-21 22:30:06] local.INFO: Processing buffer {"connection_id":159649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02542b1b8012d94e1000580bc280009015429..."} 
[2026-08-21 22:30:06] local.INFO: Packet analysis {"connection_id":159649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:30:06] local.INFO: Extracted packet for processing {"connection_id":159649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:30:06] local.INFO: GPS Element Parsed {"raw_longitude":764731648,"raw_latitude":92322856,"longitude_deg":76.4731648,"latitude_deg":9.2322856,"altitude":9,"angle":340,"satellites":41,"speed":45,"hex_longitude":"2d94e100","hex_latitude":"0580bc28","is_valid_coordinates":true} 
[2026-08-21 22:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556867840001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388731846373933056,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7715510562983317504,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787331523000,"timestamp_ms":1787331523000,"timestamp_seconds":1787331523,"priority":1,"record_length":96,"hex_timestamp":"000001a02542b1b8"} 
[2026-08-21 22:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:30: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-08-21 22:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:30:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556867840001,"66":27343,"19":206,"85":15360,"24":45,"16":388731846373933056,"45":-7715510562983317504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556867840001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:30:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:30:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388731846373933056,"km_value":388731846373933.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7715510562983317504,"description":"Unknown IO ID 45"} 
[2026-08-21 22:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556867840001,"power":27343,"unknown_19":206,"unknown_85":15360,"ignition":45,"odometer":null,"unknown_45":-7715510562983317504}} 
[2026-08-21 22:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":159649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:30:06] local.INFO: GPS data processed {"connection_id":159649,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:30:06] local.INFO: Acknowledgment sent {"connection_id":159649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:30:34] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:30:34] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:30:34] local.INFO: IMEI packet received {"connection_id":161962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":161962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:30:39] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:30:39] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:30:39] local.INFO: IMEI packet received {"connection_id":161962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":161962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:30:40] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02542d0f8012d94d5000580ddc8000901512b..."} 
[2026-08-21 22:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02542d0f8012d94d5000580ddc8000901512b..."} 
[2026-08-21 22:30:40] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02542d0f8012d94d5000580ddc8000901512b..."} 
[2026-08-21 22:30:40] local.INFO: Packet analysis {"connection_id":161962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:30:40] local.INFO: Extracted packet for processing {"connection_id":161962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:30:40] local.INFO: GPS Element Parsed {"raw_longitude":764728576,"raw_latitude":92331464,"longitude_deg":76.4728576,"latitude_deg":9.2331464,"altitude":9,"angle":337,"satellites":43,"speed":45,"hex_longitude":"2d94d500","hex_latitude":"0580ddc8","is_valid_coordinates":true} 
[2026-08-21 22:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556869888001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388732288755564544,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7718888262701668352,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787331531000,"timestamp_ms":1787331531000,"timestamp_seconds":1787331531,"priority":1,"record_length":96,"hex_timestamp":"000001a02542d0f8"} 
[2026-08-21 22:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556869888001,"66":27376,"19":206,"85":15360,"24":45,"16":388732288755564544,"45":-7718888262701668352},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556869888001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:30:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:30:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388732288755564544,"km_value":388732288755564.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7718888262701668352,"description":"Unknown IO ID 45"} 
[2026-08-21 22:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556869888001,"power":27376,"unknown_19":206,"unknown_85":15360,"ignition":45,"odometer":null,"unknown_45":-7718888262701668352}} 
[2026-08-21 22:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":161962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:30:40] local.INFO: GPS data processed {"connection_id":161962,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:30:40] local.INFO: Acknowledgment sent {"connection_id":161962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:30:41] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02542f808012d94c80005810000000801602b..."} 
[2026-08-21 22:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02542f808012d94c80005810000000801602b..."} 
[2026-08-21 22:30:41] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02542f808012d94c80005810000000801602b..."} 
[2026-08-21 22:30:41] local.INFO: Packet analysis {"connection_id":161962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:30:41] local.INFO: Extracted packet for processing {"connection_id":161962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02542"} 
[2026-08-21 22:30:41] local.INFO: GPS Element Parsed {"raw_longitude":764725248,"raw_latitude":92340224,"longitude_deg":76.4725248,"latitude_deg":9.2340224,"altitude":8,"angle":352,"satellites":43,"speed":20,"hex_longitude":"2d94c800","hex_latitude":"05810000","is_valid_coordinates":true} 
[2026-08-21 22:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556871936001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388732744022097920,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7722265962419992576,"note":"Value kept but may cause issues"} 
[2026-08-21 22:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787331541000,"timestamp_ms":1787331541000,"timestamp_seconds":1787331541,"priority":1,"record_length":96,"hex_timestamp":"000001a02542f808"} 
[2026-08-21 22:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":161962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556871936001,"66":27463,"19":206,"85":15360,"24":20,"16":388732744022097920,"45":-7722265962419992576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 22:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556871936001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:30:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 22:30:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388732744022097920,"km_value":388732744022097.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7722265962419992576,"description":"Unknown IO ID 45"} 
[2026-08-21 22:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556871936001,"power":27463,"unknown_19":206,"unknown_85":15360,"ignition":20,"odometer":null,"unknown_45":-7722265962419992576}} 
[2026-08-21 22:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":161962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:30:41] local.INFO: GPS data processed {"connection_id":161962,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:30:41] local.INFO: Acknowledgment sent {"connection_id":161962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:31:12] local.INFO: TCP Data received {"connection_id":161962,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025442ca0012d9484000581afa0000a01642a..."} 
[2026-08-21 22:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025442ca0012d9484000581afa0000a01642a..."} 
[2026-08-21 22:31:12] local.INFO: Processing buffer {"connection_id":161962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025442ca0012d9484000581afa0000a01642a..."} 
[2026-08-21 22:31:12] local.INFO: Packet analysis {"connection_id":161962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:31:12] local.INFO: Extracted packet for processing {"connection_id":161962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":764707840,"raw_latitude":92385184,"longitude_deg":76.470784,"latitude_deg":9.2385184,"altitude":10,"angle":356,"satellites":42,"speed":37,"hex_longitude":"2d948400","hex_latitude":"0581afa0","is_valid_coordinates":true} 
[2026-08-21 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556893952001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388735106254110720,"note":"Value kept but may cause issues"} 
[2026-08-21 22:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7744432116822898688,"note":"Value kept but may cause issues"} 
[2026-08-21 22:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1787331620000,"timestamp_ms":1787331620000,"timestamp_seconds":1787331620,"priority":1,"record_length":96,"hex_timestamp":"000001a025442ca0"} 
[2026-08-21 22:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 22:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":161962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":161962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556893952001,"66":27365,"17":206,"85":15360,"24":37,"16":388735106254110720,"45":-7744432116822898688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 22:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556893952001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:31:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388735106254110720,"km_value":388735106254110.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7744432116822898688,"description":"Unknown IO ID 45"} 
[2026-08-21 22:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556893952001,"power":27365,"axis_x":206,"unknown_85":15360,"ignition":37,"odometer":null,"unknown_45":-7744432116822898688}} 
[2026-08-21 22:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":161962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:31:12] local.INFO: GPS data processed {"connection_id":161962,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:31:12] local.INFO: Acknowledgment sent {"connection_id":161962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:31:29] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:31:29] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:31:29] local.INFO: IMEI packet received {"connection_id":159650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":159650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:31:34] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:31:34] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:31:34] local.INFO: IMEI packet received {"connection_id":159650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":159650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:31:35] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025443c40012d9483400581bf10000a01582b..."} 
[2026-08-21 22:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025443c40012d9483400581bf10000a01582b..."} 
[2026-08-21 22:31:35] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025443c40012d9483400581bf10000a01582b..."} 
[2026-08-21 22:31:35] local.INFO: Packet analysis {"connection_id":159650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:31:35] local.INFO: Extracted packet for processing {"connection_id":159650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:31:35] local.INFO: GPS Element Parsed {"raw_longitude":764707648,"raw_latitude":92389136,"longitude_deg":76.4707648,"latitude_deg":9.2389136,"altitude":10,"angle":344,"satellites":43,"speed":40,"hex_longitude":"2d948340","hex_latitude":"0581bf10","is_valid_coordinates":true} 
[2026-08-21 22:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556894720001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388735299527639040,"note":"Value kept but may cause issues"} 
[2026-08-21 22:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745065435519803392,"note":"Value kept but may cause issues"} 
[2026-08-21 22:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787331624000,"timestamp_ms":1787331624000,"timestamp_seconds":1787331624,"priority":1,"record_length":96,"hex_timestamp":"000001a025443c40"} 
[2026-08-21 22:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:31: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-08-21 22:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556894720001,"66":27245,"17":206,"85":15360,"24":40,"16":388735299527639040,"45":-7745065435519803392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 22:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556894720001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388735299527639040,"km_value":388735299527639.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745065435519803392,"description":"Unknown IO ID 45"} 
[2026-08-21 22:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556894720001,"power":27245,"axis_x":206,"unknown_85":15360,"ignition":40,"odometer":null,"unknown_45":-7745065435519803392}} 
[2026-08-21 22:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":159650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:31:35] local.INFO: GPS data processed {"connection_id":159650,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:31:35] local.INFO: Acknowledgment sent {"connection_id":159650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:32:06] local.INFO: TCP Data received {"connection_id":159650,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025445f68012d9475000581e2f0000a01522b..."} 
[2026-08-21 22:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025445f68012d9475000581e2f0000a01522b..."} 
[2026-08-21 22:32:06] local.INFO: Processing buffer {"connection_id":159650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025445f68012d9475000581e2f0000a01522b..."} 
[2026-08-21 22:32:06] local.INFO: Packet analysis {"connection_id":159650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:32:06] local.INFO: Extracted packet for processing {"connection_id":159650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:32:06] local.INFO: GPS Element Parsed {"raw_longitude":764704000,"raw_latitude":92398320,"longitude_deg":76.4704,"latitude_deg":9.239832,"altitude":10,"angle":338,"satellites":43,"speed":45,"hex_longitude":"2d947500","hex_latitude":"0581e2f0","is_valid_coordinates":true} 
[2026-08-21 22:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556895744001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388735780563976192,"note":"Value kept but may cause issues"} 
[2026-08-21 22:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7745276541751324672,"note":"Value kept but may cause issues"} 
[2026-08-21 22:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787331633000,"timestamp_ms":1787331633000,"timestamp_seconds":1787331633,"priority":1,"record_length":96,"hex_timestamp":"000001a025445f68"} 
[2026-08-21 22:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:32: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-08-21 22:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 22:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556895744001,"66":27376,"17":206,"85":15360,"24":45,"16":388735780563976192,"45":-7745276541751324672},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 22:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556895744001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388735780563976192,"km_value":388735780563976.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7745276541751324672,"description":"Unknown IO ID 45"} 
[2026-08-21 22:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556895744001,"power":27376,"axis_x":206,"unknown_85":15360,"ignition":45,"odometer":null,"unknown_45":-7745276541751324672}} 
[2026-08-21 22:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":159650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:32:06] local.INFO: GPS data processed {"connection_id":159650,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:32:06] local.INFO: Acknowledgment sent {"connection_id":159650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:32:28] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:28] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:28] local.INFO: IMEI packet received {"connection_id":159370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":159370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:32:29] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:29] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:29] local.INFO: IMEI packet received {"connection_id":159370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":159370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:32:34] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:34] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:32:34] local.INFO: IMEI packet received {"connection_id":159370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":159370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:32:35] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025447ea8012d946700058201f8000901472b..."} 
[2026-08-21 22:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025447ea8012d946700058201f8000901472b..."} 
[2026-08-21 22:32:35] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025447ea8012d946700058201f8000901472b..."} 
[2026-08-21 22:32:35] local.INFO: Packet analysis {"connection_id":159370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:32:35] local.INFO: Extracted packet for processing {"connection_id":159370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:32:35] local.INFO: GPS Element Parsed {"raw_longitude":764700416,"raw_latitude":92406264,"longitude_deg":76.4700416,"latitude_deg":9.2406264,"altitude":9,"angle":327,"satellites":43,"speed":27,"hex_longitude":"2d946700","hex_latitude":"058201f8","is_valid_coordinates":true} 
[2026-08-21 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556898048001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388736201470771200,"note":"Value kept but may cause issues"} 
[2026-08-21 22:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7749287560167100416,"note":"Value kept but may cause issues"} 
[2026-08-21 22:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787331641000,"timestamp_ms":1787331641000,"timestamp_seconds":1787331641,"priority":1,"record_length":96,"hex_timestamp":"000001a025447ea8"} 
[2026-08-21 22:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:32: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-08-21 22:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556898048001,"66":26876,"17":206,"85":15360,"24":27,"16":388736201470771200,"45":-7749287560167100416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 22:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556898048001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:32:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388736201470771200,"km_value":388736201470771.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7749287560167100416,"description":"Unknown IO ID 45"} 
[2026-08-21 22:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556898048001,"power":26876,"axis_x":206,"unknown_85":15360,"ignition":27,"odometer":null,"unknown_45":-7749287560167100416}} 
[2026-08-21 22:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":159370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:32:35] local.INFO: GPS data processed {"connection_id":159370,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:32:35] local.INFO: Acknowledgment sent {"connection_id":159370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:33:06] local.INFO: TCP Data received {"connection_id":159370,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02544bd28012d9457c0058215e8000801522e..."} 
[2026-08-21 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02544bd28012d9457c0058215e8000801522e..."} 
[2026-08-21 22:33:06] local.INFO: Processing buffer {"connection_id":159370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02544bd28012d9457c0058215e8000801522e..."} 
[2026-08-21 22:33:06] local.INFO: Packet analysis {"connection_id":159370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:33:06] local.INFO: Extracted packet for processing {"connection_id":159370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02544"} 
[2026-08-21 22:33:06] local.INFO: GPS Element Parsed {"raw_longitude":764696512,"raw_latitude":92411368,"longitude_deg":76.4696512,"latitude_deg":9.2411368,"altitude":8,"angle":338,"satellites":46,"speed":21,"hex_longitude":"2d9457c0","hex_latitude":"058215e8","is_valid_coordinates":true} 
[2026-08-21 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457556900096001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388736510708416512,"note":"Value kept but may cause issues"} 
[2026-08-21 22:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7753228209839015936,"note":"Value kept but may cause issues"} 
[2026-08-21 22:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787331657000,"timestamp_ms":1787331657000,"timestamp_seconds":1787331657,"priority":1,"record_length":96,"hex_timestamp":"000001a02544bd28"} 
[2026-08-21 22:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:33: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-08-21 22:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-08-21 22:33:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:33:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457556900096001,"66":27343,"17":206,"85":15360,"24":21,"16":388736510708416512,"45":-7753228209839015936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,85,24,16,45]} 
[2026-08-21 22:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457556900096001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15360,"description":"Unknown IO ID 85"} 
[2026-08-21 22:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388736510708416512,"km_value":388736510708416.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7753228209839015936,"description":"Unknown IO ID 45"} 
[2026-08-21 22:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457556900096001,"power":27343,"axis_x":206,"unknown_85":15360,"ignition":21,"odometer":null,"unknown_45":-7753228209839015936}} 
[2026-08-21 22:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":159370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:33:06] local.INFO: GPS data processed {"connection_id":159370,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:33:06] local.INFO: Acknowledgment sent {"connection_id":159370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:33:55] local.INFO: TCP Data received {"connection_id":159651,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:33:55] local.INFO: Processing buffer {"connection_id":159651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:33:55] local.INFO: IMEI packet received {"connection_id":159651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":159651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:33:57] local.INFO: TCP Data received {"connection_id":159651,"ip":"42.106.6.42","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 22:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159651,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 22:33:57] local.INFO: Processing buffer {"connection_id":159651,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-08-21 22:33:57] local.INFO: IMEI packet received {"connection_id":159651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":159651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:38:59] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:38:59] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:38:59] local.INFO: IMEI packet received {"connection_id":160569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":160569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:39:08] local.INFO: TCP Data received {"connection_id":160569,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254aeb30012d92ab8005880f400007013d2a..."} 
[2026-08-21 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254aeb30012d92ab8005880f400007013d2a..."} 
[2026-08-21 22:39:08] local.INFO: Processing buffer {"connection_id":160569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254aeb30012d92ab8005880f400007013d2a..."} 
[2026-08-21 22:39:08] local.INFO: Packet analysis {"connection_id":160569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254a"} 
[2026-08-21 22:39:08] local.INFO: Extracted packet for processing {"connection_id":160569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254a"} 
[2026-08-21 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":764586880,"raw_latitude":92802880,"longitude_deg":76.458688,"latitude_deg":9.280288,"altitude":7,"angle":317,"satellites":42,"speed":20,"hex_longitude":"2d92ab80","hex_latitude":"05880f40","is_valid_coordinates":true} 
[2026-08-21 22:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557005056001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388756456536539136,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7873347656050210816,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787332062000,"timestamp_ms":1787332062000,"timestamp_seconds":1787332062,"priority":1,"record_length":96,"hex_timestamp":"000001a0254aeb30"} 
[2026-08-21 22:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 22:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":160569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":160569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":160569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557005056001,"66":27267,"183":206,"85":14080,"24":20,"16":388756456536539136,"45":-7873347656050210816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-21 22:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557005056001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388756456536539136,"km_value":388756456536539.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7873347656050210816,"description":"Unknown IO ID 45"} 
[2026-08-21 22:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557005056001,"power":27267,"unknown_183":206,"unknown_85":14080,"ignition":20,"odometer":null,"unknown_45":-7873347656050210816}} 
[2026-08-21 22:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":160569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:39:08] local.INFO: GPS data processed {"connection_id":160569,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:39:08] local.INFO: Acknowledgment sent {"connection_id":160569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:39:34] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:39:34] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:39:34] local.INFO: IMEI packet received {"connection_id":159653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":159653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:39:35] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:39:35] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:39:35] local.INFO: IMEI packet received {"connection_id":159653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":159653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:39:36] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254b1df8012d929b4005881f000006013229..."} 
[2026-08-21 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254b1df8012d929b4005881f000006013229..."} 
[2026-08-21 22:39:36] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254b1df8012d929b4005881f000006013229..."} 
[2026-08-21 22:39:36] local.INFO: Packet analysis {"connection_id":159653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:39:36] local.INFO: Extracted packet for processing {"connection_id":159653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":764582720,"raw_latitude":92806912,"longitude_deg":76.458272,"latitude_deg":9.2806912,"altitude":6,"angle":306,"satellites":41,"speed":17,"hex_longitude":"2d929b40","hex_latitude":"05881f00","is_valid_coordinates":true} 
[2026-08-21 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557007872001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388756731414446080,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7878062361908658176,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787332075000,"timestamp_ms":1787332075000,"timestamp_seconds":1787332075,"priority":1,"record_length":96,"hex_timestamp":"000001a0254b1df8"} 
[2026-08-21 22:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:39: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-08-21 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 22:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557007872001,"66":27300,"183":206,"85":14080,"24":17,"16":388756731414446080,"45":-7878062361908658176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-21 22:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557007872001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:39:36] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 22:39:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388756731414446080,"km_value":388756731414446.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7878062361908658176,"description":"Unknown IO ID 45"} 
[2026-08-21 22:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557007872001,"power":27300,"unknown_183":206,"unknown_85":14080,"ignition":17,"odometer":null,"unknown_45":-7878062361908658176}} 
[2026-08-21 22:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":159653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:39:36] local.INFO: GPS data processed {"connection_id":159653,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:39:36] local.INFO: Acknowledgment sent {"connection_id":159653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:39:57] local.INFO: TCP Data received {"connection_id":159653,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254b7000012d92830005882e980009012a2d..."} 
[2026-08-21 22:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254b7000012d92830005882e980009012a2d..."} 
[2026-08-21 22:39:57] local.INFO: Processing buffer {"connection_id":159653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254b7000012d92830005882e980009012a2d..."} 
[2026-08-21 22:39:57] local.INFO: Packet analysis {"connection_id":159653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:39:57] local.INFO: Extracted packet for processing {"connection_id":159653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:39:57] local.INFO: GPS Element Parsed {"raw_longitude":764576512,"raw_latitude":92810904,"longitude_deg":76.4576512,"latitude_deg":9.2810904,"altitude":9,"angle":298,"satellites":45,"speed":19,"hex_longitude":"2d928300","hex_latitude":"05882e98","is_valid_coordinates":true} 
[2026-08-21 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-08-21 22:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557011200001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388757092191698944,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7882636330279174144,"note":"Value kept but may cause issues"} 
[2026-08-21 22:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787332096000,"timestamp_ms":1787332096000,"timestamp_seconds":1787332096,"priority":1,"record_length":96,"hex_timestamp":"000001a0254b7000"} 
[2026-08-21 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-08-21 22:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 22:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 22:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557011200001,"66":27332,"183":206,"85":14080,"24":19,"16":388757092191698944,"45":-7882636330279174144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-21 22:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557011200001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:39:57] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 22:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388757092191698944,"km_value":388757092191698.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7882636330279174144,"description":"Unknown IO ID 45"} 
[2026-08-21 22:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557011200001,"power":27332,"unknown_183":206,"unknown_85":14080,"ignition":19,"odometer":null,"unknown_45":-7882636330279174144}} 
[2026-08-21 22:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":159653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:39:57] local.INFO: GPS data processed {"connection_id":159653,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:39:57] local.INFO: Acknowledgment sent {"connection_id":159653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:40:28] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:28] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:28] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:40:29] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:29] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:29] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:40:34] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:34] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:40:34] local.INFO: IMEI packet received {"connection_id":160570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":160570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:40:35] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254b9710012d926dc0058836b80008011d2b..."} 
[2026-08-21 22:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254b9710012d926dc0058836b80008011d2b..."} 
[2026-08-21 22:40:35] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254b9710012d926dc0058836b80008011d2b..."} 
[2026-08-21 22:40:35] local.INFO: Packet analysis {"connection_id":160570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:40:35] local.INFO: Extracted packet for processing {"connection_id":160570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:40:35] local.INFO: GPS Element Parsed {"raw_longitude":764571072,"raw_latitude":92812984,"longitude_deg":76.4571072,"latitude_deg":9.2812984,"altitude":8,"angle":285,"satellites":43,"speed":14,"hex_longitude":"2d926dc0","hex_latitude":"058836b8","is_valid_coordinates":true} 
[2026-08-21 22:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557016576001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388757367069605888,"note":"Value kept but may cause issues"} 
[2026-08-21 22:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7889462098463385600,"note":"Value kept but may cause issues"} 
[2026-08-21 22:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332106000,"timestamp_ms":1787332106000,"timestamp_seconds":1787332106,"priority":1,"record_length":96,"hex_timestamp":"000001a0254b9710"} 
[2026-08-21 22:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:40: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-08-21 22:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557016576001,"66":27245,"183":206,"85":14080,"24":14,"16":388757367069605888,"45":-7889462098463385600},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-21 22:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557016576001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388757367069605888,"km_value":388757367069605.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7889462098463385600,"description":"Unknown IO ID 45"} 
[2026-08-21 22:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557016576001,"power":27245,"unknown_183":206,"unknown_85":14080,"ignition":14,"odometer":null,"unknown_45":-7889462098463385600}} 
[2026-08-21 22:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":160570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:40:35] local.INFO: GPS data processed {"connection_id":160570,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:40:35] local.INFO: Acknowledgment sent {"connection_id":160570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:41:06] local.INFO: TCP Data received {"connection_id":160570,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254be918012d926280058839880006011b2c..."} 
[2026-08-21 22:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254be918012d926280058839880006011b2c..."} 
[2026-08-21 22:41:06] local.INFO: Processing buffer {"connection_id":160570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254be918012d926280058839880006011b2c..."} 
[2026-08-21 22:41:06] local.INFO: Packet analysis {"connection_id":160570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:41:06] local.INFO: Extracted packet for processing {"connection_id":160570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254b"} 
[2026-08-21 22:41:06] local.INFO: GPS Element Parsed {"raw_longitude":764568192,"raw_latitude":92813704,"longitude_deg":76.4568192,"latitude_deg":9.2813704,"altitude":6,"angle":283,"satellites":44,"speed":9,"hex_longitude":"2d926280","hex_latitude":"05883988","is_valid_coordinates":true} 
[2026-08-21 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557019136001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388757513098493952,"note":"Value kept but may cause issues"} 
[2026-08-21 22:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7895443441717954560,"note":"Value kept but may cause issues"} 
[2026-08-21 22:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787332127000,"timestamp_ms":1787332127000,"timestamp_seconds":1787332127,"priority":1,"record_length":96,"hex_timestamp":"000001a0254be918"} 
[2026-08-21 22:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:41: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-08-21 22:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 22:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557019136001,"66":27332,"183":206,"85":14080,"24":9,"16":388757513098493952,"45":-7895443441717954560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-21 22:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557019136001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:41:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 22:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388757513098493952,"km_value":388757513098493.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7895443441717954560,"description":"Unknown IO ID 45"} 
[2026-08-21 22:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557019136001,"power":27332,"unknown_183":206,"unknown_85":14080,"ignition":9,"odometer":null,"unknown_45":-7895443441717954560}} 
[2026-08-21 22:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":160570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:41:06] local.INFO: GPS data processed {"connection_id":160570,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:41:06] local.INFO: Acknowledgment sent {"connection_id":160570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:41:29] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:41:29] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:41:29] local.INFO: IMEI packet received {"connection_id":159373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":159373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:41:32] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:41:32] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:41:32] local.INFO: IMEI packet received {"connection_id":159373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":159373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:42:18] local.INFO: TCP Data received {"connection_id":159373,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254c1028012d92504005883c20000601102c..."} 
[2026-08-21 22:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254c1028012d92504005883c20000601102c..."} 
[2026-08-21 22:42:18] local.INFO: Processing buffer {"connection_id":159373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254c1028012d92504005883c20000601102c..."} 
[2026-08-21 22:42:18] local.INFO: Packet analysis {"connection_id":159373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254c"} 
[2026-08-21 22:42:18] local.INFO: Extracted packet for processing {"connection_id":159373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254c"} 
[2026-08-21 22:42:18] local.INFO: GPS Element Parsed {"raw_longitude":764563520,"raw_latitude":92814368,"longitude_deg":76.456352,"latitude_deg":9.2814368,"altitude":6,"angle":272,"satellites":44,"speed":25,"hex_longitude":"2d925040","hex_latitude":"05883c20","is_valid_coordinates":true} 
[2026-08-21 22:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557024512001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388757736436793344,"note":"Value kept but may cause issues"} 
[2026-08-21 22:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7898610035205765120,"note":"Value kept but may cause issues"} 
[2026-08-21 22:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1787332137000,"timestamp_ms":1787332137000,"timestamp_seconds":1787332137,"priority":1,"record_length":96,"hex_timestamp":"000001a0254c1028"} 
[2026-08-21 22:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:42: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-08-21 22:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":159373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":159373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":159373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557024512001,"66":27300,"183":206,"85":14080,"24":25,"16":388757736436793344,"45":-7898610035205765120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,85,24,16,45]} 
[2026-08-21 22:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557024512001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:42:18] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-08-21 22:42:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388757736436793344,"km_value":388757736436793.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7898610035205765120,"description":"Unknown IO ID 45"} 
[2026-08-21 22:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557024512001,"power":27300,"unknown_183":206,"unknown_85":14080,"ignition":25,"odometer":null,"unknown_45":-7898610035205765120}} 
[2026-08-21 22:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":159373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:42:18] local.INFO: GPS data processed {"connection_id":159373,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:42:18] local.INFO: Acknowledgment sent {"connection_id":159373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:42:29] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:42:29] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:42:29] local.INFO: IMEI packet received {"connection_id":160571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":160571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:42:34] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:42:34] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:42:34] local.INFO: IMEI packet received {"connection_id":160571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":160571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:42:35] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254e7d40012d90d700058833b0000601152b..."} 
[2026-08-21 22:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254e7d40012d90d700058833b0000601152b..."} 
[2026-08-21 22:42:35] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254e7d40012d90d700058833b0000601152b..."} 
[2026-08-21 22:42:35] local.INFO: Packet analysis {"connection_id":160571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:42:35] local.INFO: Extracted packet for processing {"connection_id":160571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:42:35] local.INFO: GPS Element Parsed {"raw_longitude":764466944,"raw_latitude":92812208,"longitude_deg":76.4466944,"latitude_deg":9.2812208,"altitude":6,"angle":277,"satellites":43,"speed":32,"hex_longitude":"2d90d700","hex_latitude":"058833b0","is_valid_coordinates":true} 
[2026-08-21 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557063168001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388762392181342208,"note":"Value kept but may cause issues"} 
[2026-08-21 22:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7999378076868775936,"note":"Value kept but may cause issues"} 
[2026-08-21 22:42:35] 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-08-21 22:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332296000,"timestamp_ms":1787332296000,"timestamp_seconds":1787332296,"priority":1,"record_length":96,"hex_timestamp":"000001a0254e7d40"} 
[2026-08-21 22:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:42: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-08-21 22:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-08-21 22:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557063168001,"66":27365,"195":206,"85":14080,"24":32,"16":388762392181342208,"45":-7999378076868775936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-21 22:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557063168001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388762392181342208,"km_value":388762392181342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7999378076868775936,"description":"Unknown IO ID 45"} 
[2026-08-21 22:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557063168001,"power":27365,"unknown_195":206,"unknown_85":14080,"ignition":32,"odometer":null,"unknown_45":-7999378076868775936}} 
[2026-08-21 22:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":160571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:42:35] local.INFO: GPS data processed {"connection_id":160571,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:42:35] local.INFO: Acknowledgment sent {"connection_id":160571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:43:06] local.INFO: TCP Data received {"connection_id":160571,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254e90c8012d90c80005883618000601202c..."} 
[2026-08-21 22:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254e90c8012d90c80005883618000601202c..."} 
[2026-08-21 22:43:06] local.INFO: Processing buffer {"connection_id":160571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254e90c8012d90c80005883618000601202c..."} 
[2026-08-21 22:43:06] local.INFO: Packet analysis {"connection_id":160571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:43:06] local.INFO: Extracted packet for processing {"connection_id":160571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:43:06] local.INFO: GPS Element Parsed {"raw_longitude":764463104,"raw_latitude":92812824,"longitude_deg":76.4463104,"latitude_deg":9.2812824,"altitude":6,"angle":288,"satellites":44,"speed":29,"hex_longitude":"2d90c800","hex_latitude":"05883618","is_valid_coordinates":true} 
[2026-08-21 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557067776001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388762576864935936,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8009933388495212544,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:06] 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-08-21 22:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787332301000,"timestamp_ms":1787332301000,"timestamp_seconds":1787332301,"priority":1,"record_length":96,"hex_timestamp":"000001a0254e90c8"} 
[2026-08-21 22:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:43: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-08-21 22:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557067776001,"66":27343,"195":206,"85":14080,"24":29,"16":388762576864935936,"45":-8009933388495212544},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-21 22:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557067776001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388762576864935936,"km_value":388762576864935.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8009933388495212544,"description":"Unknown IO ID 45"} 
[2026-08-21 22:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557067776001,"power":27343,"unknown_195":206,"unknown_85":14080,"ignition":29,"odometer":null,"unknown_45":-8009933388495212544}} 
[2026-08-21 22:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":160571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:43:06] local.INFO: GPS data processed {"connection_id":160571,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:43:06] local.INFO: Acknowledgment sent {"connection_id":160571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:43:29] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:29] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:29] local.INFO: IMEI packet received {"connection_id":160572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":160572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:43:33] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:33] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:33] local.INFO: IMEI packet received {"connection_id":160572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":160572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:43:34] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:34] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:43:34] local.INFO: IMEI packet received {"connection_id":160572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":160572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:43:34] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254e9898012d90c340058838a0000501312e..."} 
[2026-08-21 22:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254e9898012d90c340058838a0000501312e..."} 
[2026-08-21 22:43:34] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254e9898012d90c340058838a0000501312e..."} 
[2026-08-21 22:43:34] local.INFO: Packet analysis {"connection_id":160572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:43:34] local.INFO: Extracted packet for processing {"connection_id":160572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:43:34] local.INFO: GPS Element Parsed {"raw_longitude":764461888,"raw_latitude":92813472,"longitude_deg":76.4461888,"latitude_deg":9.2813472,"altitude":5,"angle":305,"satellites":46,"speed":27,"hex_longitude":"2d90c340","hex_latitude":"058838a0","is_valid_coordinates":true} 
[2026-08-21 22:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557069056001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388762645584412672,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8014155513145714688,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:34] 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-08-21 22:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787332303000,"timestamp_ms":1787332303000,"timestamp_seconds":1787332303,"priority":1,"record_length":96,"hex_timestamp":"000001a0254e9898"} 
[2026-08-21 22:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:43:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:43:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557069056001,"66":27289,"195":206,"85":14080,"24":27,"16":388762645584412672,"45":-8014155513145714688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-21 22:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557069056001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:43:34] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 22:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388762645584412672,"km_value":388762645584412.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8014155513145714688,"description":"Unknown IO ID 45"} 
[2026-08-21 22:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557069056001,"power":27289,"unknown_195":206,"unknown_85":14080,"ignition":27,"odometer":null,"unknown_45":-8014155513145714688}} 
[2026-08-21 22:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":160572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:43:34] local.INFO: GPS data processed {"connection_id":160572,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:43:34] local.INFO: Acknowledgment sent {"connection_id":160572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:43:39] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254ea450012d90bc4005883d10000501252f..."} 
[2026-08-21 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254ea450012d90bc4005883d10000501252f..."} 
[2026-08-21 22:43:39] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254ea450012d90bc4005883d10000501252f..."} 
[2026-08-21 22:43:39] local.INFO: Packet analysis {"connection_id":160572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:43:39] local.INFO: Extracted packet for processing {"connection_id":160572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":764460096,"raw_latitude":92814608,"longitude_deg":76.4460096,"latitude_deg":9.2814608,"altitude":5,"angle":293,"satellites":47,"speed":28,"hex_longitude":"2d90bc40","hex_latitude":"05883d10","is_valid_coordinates":true} 
[2026-08-21 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557069568001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388762748663627776,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8015492519284924416,"note":"Value kept but may cause issues"} 
[2026-08-21 22:43:39] 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-08-21 22:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787332306000,"timestamp_ms":1787332306000,"timestamp_seconds":1787332306,"priority":1,"record_length":96,"hex_timestamp":"000001a0254ea450"} 
[2026-08-21 22:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-08-21 22:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":160572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":160572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":160572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557069568001,"66":27343,"195":206,"85":14080,"24":28,"16":388762748663627776,"45":-8015492519284924416},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-21 22:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557069568001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388762748663627776,"km_value":388762748663627.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8015492519284924416,"description":"Unknown IO ID 45"} 
[2026-08-21 22:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557069568001,"power":27343,"unknown_195":206,"unknown_85":14080,"ignition":28,"odometer":null,"unknown_45":-8015492519284924416}} 
[2026-08-21 22:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":160572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:43:39] local.INFO: GPS data processed {"connection_id":160572,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:43:39] local.INFO: Acknowledgment sent {"connection_id":160572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:44:11] local.INFO: TCP Data received {"connection_id":160572,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0254ed330012d9098c005884718000701232c..."} 
[2026-08-21 22:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0254ed330012d9098c005884718000701232c..."} 
[2026-08-21 22:44:11] local.INFO: Processing buffer {"connection_id":160572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0254ed330012d9098c005884718000701232c..."} 
[2026-08-21 22:44:11] local.INFO: Packet analysis {"connection_id":160572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:44:11] local.INFO: Extracted packet for processing {"connection_id":160572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0254e"} 
[2026-08-21 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":764451008,"raw_latitude":92817176,"longitude_deg":76.4451008,"latitude_deg":9.2817176,"altitude":7,"angle":291,"satellites":44,"speed":35,"hex_longitude":"2d9098c0","hex_latitude":"05884718","is_valid_coordinates":true} 
[2026-08-21 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557070336001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388763199635193856,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8017462844121608192,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:11] 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-08-21 22:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787332318000,"timestamp_ms":1787332318000,"timestamp_seconds":1787332318,"priority":1,"record_length":96,"hex_timestamp":"000001a0254ed330"} 
[2026-08-21 22:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557070336001,"66":27321,"195":206,"85":14080,"24":35,"16":388763199635193856,"45":-8017462844121608192},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-08-21 22:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557070336001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:44:11] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-08-21 22:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388763199635193856,"km_value":388763199635193.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8017462844121608192,"description":"Unknown IO ID 45"} 
[2026-08-21 22:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557070336001,"power":27321,"unknown_195":206,"unknown_85":14080,"ignition":35,"odometer":null,"unknown_45":-8017462844121608192}} 
[2026-08-21 22:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":160572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:44:11] local.INFO: GPS data processed {"connection_id":160572,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:44:11] local.INFO: Acknowledgment sent {"connection_id":160572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:44:29] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:29] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:29] local.INFO: IMEI packet received {"connection_id":159374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":159374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:44:33] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:33] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:33] local.INFO: IMEI packet received {"connection_id":159374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":159374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:44:34] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:34] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:44:34] local.INFO: IMEI packet received {"connection_id":159374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":159374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:44:34] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025503a90012d8f9c8005892c68000501492e..."} 
[2026-08-21 22:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025503a90012d8f9c8005892c68000501492e..."} 
[2026-08-21 22:44:34] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025503a90012d8f9c8005892c68000501492e..."} 
[2026-08-21 22:44:34] local.INFO: Packet analysis {"connection_id":159374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02550"} 
[2026-08-21 22:44:34] local.INFO: Extracted packet for processing {"connection_id":159374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02550"} 
[2026-08-21 22:44:34] local.INFO: GPS Element Parsed {"raw_longitude":764386432,"raw_latitude":92875880,"longitude_deg":76.4386432,"latitude_deg":9.287588,"altitude":5,"angle":329,"satellites":46,"speed":56,"hex_longitude":"2d8f9c80","hex_latitude":"05892c68","is_valid_coordinates":true} 
[2026-08-21 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557095168001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388767610566606848,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8093249981587398656,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787332410000,"timestamp_ms":1787332410000,"timestamp_seconds":1787332410,"priority":1,"record_length":96,"hex_timestamp":"000001a025503a90"} 
[2026-08-21 22:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557095168001,"66":27343,"209":206,"85":14080,"24":56,"16":388767610566606848,"45":-8093249981587398656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 22:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557095168001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:44:34] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 22:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388767610566606848,"km_value":388767610566606.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8093249981587398656,"description":"Unknown IO ID 45"} 
[2026-08-21 22:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557095168001,"power":27343,"unknown_209":206,"unknown_85":14080,"ignition":56,"odometer":null,"unknown_45":-8093249981587398656}} 
[2026-08-21 22:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":159374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:44:34] local.INFO: GPS data processed {"connection_id":159374,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:44:34] local.INFO: Acknowledgment sent {"connection_id":159374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:44:39] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255055e8012d8f868005894db8000701422e..."} 
[2026-08-21 22:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255055e8012d8f868005894db8000701422e..."} 
[2026-08-21 22:44:39] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255055e8012d8f868005894db8000701422e..."} 
[2026-08-21 22:44:39] local.INFO: Packet analysis {"connection_id":159374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02550"} 
[2026-08-21 22:44:39] local.INFO: Extracted packet for processing {"connection_id":159374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02550"} 
[2026-08-21 22:44:39] local.INFO: GPS Element Parsed {"raw_longitude":764380800,"raw_latitude":92884408,"longitude_deg":76.43808,"latitude_deg":9.2884408,"altitude":7,"angle":322,"satellites":46,"speed":59,"hex_longitude":"2d8f8680","hex_latitude":"05894db8","is_valid_coordinates":true} 
[2026-08-21 22:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557096960001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388768104487845888,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8098457268654413824,"note":"Value kept but may cause issues"} 
[2026-08-21 22:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787332417000,"timestamp_ms":1787332417000,"timestamp_seconds":1787332417,"priority":1,"record_length":96,"hex_timestamp":"000001a0255055e8"} 
[2026-08-21 22:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":159374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":159374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":159374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557096960001,"66":27180,"209":206,"85":14080,"24":59,"16":388768104487845888,"45":-8098457268654413824},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 22:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557096960001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:44:39] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 22:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388768104487845888,"km_value":388768104487845.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8098457268654413824,"description":"Unknown IO ID 45"} 
[2026-08-21 22:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557096960001,"power":27180,"unknown_209":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8098457268654413824}} 
[2026-08-21 22:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":159374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:44:39] local.INFO: GPS data processed {"connection_id":159374,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:44:39] local.INFO: Acknowledgment sent {"connection_id":159374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:45:11] local.INFO: TCP Data received {"connection_id":159374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025506d58012d8f7040058968d0000701402e..."} 
[2026-08-21 22:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025506d58012d8f7040058968d0000701402e..."} 
[2026-08-21 22:45:11] local.INFO: Processing buffer {"connection_id":159374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025506d58012d8f7040058968d0000701402e..."} 
[2026-08-21 22:45:11] local.INFO: Packet analysis {"connection_id":159374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02550"} 
[2026-08-21 22:45:11] local.INFO: Extracted packet for processing {"connection_id":159374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02550"} 
[2026-08-21 22:45:11] local.INFO: GPS Element Parsed {"raw_longitude":764375104,"raw_latitude":92891344,"longitude_deg":76.4375104,"latitude_deg":9.2891344,"altitude":7,"angle":320,"satellites":46,"speed":59,"hex_longitude":"2d8f7040","hex_latitude":"058968d0","is_valid_coordinates":true} 
[2026-08-21 22:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557098752001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388768538279542784,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8104649718139865088,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787332423000,"timestamp_ms":1787332423000,"timestamp_seconds":1787332423,"priority":1,"record_length":96,"hex_timestamp":"000001a025506d58"} 
[2026-08-21 22:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 22:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":159374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":159374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":159374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557098752001,"66":27332,"209":206,"85":14080,"24":59,"16":388768538279542784,"45":-8104649718139865088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 22:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557098752001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:45:11] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 22:45:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388768538279542784,"km_value":388768538279542.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8104649718139865088,"description":"Unknown IO ID 45"} 
[2026-08-21 22:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557098752001,"power":27332,"unknown_209":206,"unknown_85":14080,"ignition":59,"odometer":null,"unknown_45":-8104649718139865088}} 
[2026-08-21 22:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":159374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:45:11] local.INFO: GPS data processed {"connection_id":159374,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:45:11] local.INFO: Acknowledgment sent {"connection_id":159374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:45:39] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:39] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:39] local.INFO: IMEI packet received {"connection_id":159654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":159654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:45:39] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:39] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:39] local.INFO: IMEI packet received {"connection_id":159654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:45:39] local.INFO: IMEI acknowledgment sent {"connection_id":159654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:45:44] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:44] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:45:44] local.INFO: IMEI packet received {"connection_id":159654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":159654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:45:44] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255153d0012d8ee980058a4c000002016228..."} 
[2026-08-21 22:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255153d0012d8ee980058a4c000002016228..."} 
[2026-08-21 22:45:44] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255153d0012d8ee980058a4c000002016228..."} 
[2026-08-21 22:45:44] local.INFO: Packet analysis {"connection_id":159654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:45:44] local.INFO: Extracted packet for processing {"connection_id":159654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:45:44] local.INFO: GPS Element Parsed {"raw_longitude":764340608,"raw_latitude":92949504,"longitude_deg":76.4340608,"latitude_deg":9.2949504,"altitude":2,"angle":354,"satellites":40,"speed":31,"hex_longitude":"2d8ee980","hex_latitude":"058a4c00","is_valid_coordinates":true} 
[2026-08-21 22:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557114624001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388771875469131776,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8148278339513935872,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787332482000,"timestamp_ms":1787332482000,"timestamp_seconds":1787332482,"priority":1,"record_length":96,"hex_timestamp":"000001a0255153d0"} 
[2026-08-21 22:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":159654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":159654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":159654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557114624001,"66":27267,"209":206,"85":14080,"24":31,"16":388771875469131776,"45":-8148278339513935872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,45]} 
[2026-08-21 22:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557114624001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:45:44] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-08-21 22:45:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388771875469131776,"km_value":388771875469131.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8148278339513935872,"description":"Unknown IO ID 45"} 
[2026-08-21 22:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557114624001,"power":27267,"unknown_209":206,"unknown_85":14080,"ignition":31,"odometer":null,"unknown_45":-8148278339513935872}} 
[2026-08-21 22:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":159654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:45:44] local.INFO: GPS data processed {"connection_id":159654,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:45:44] local.INFO: Acknowledgment sent {"connection_id":159654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:45:48] local.INFO: TCP Data received {"connection_id":159654,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025517ae0012d8ee700058a7108000301642c..."} 
[2026-08-21 22:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025517ae0012d8ee700058a7108000301642c..."} 
[2026-08-21 22:45:48] local.INFO: Processing buffer {"connection_id":159654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025517ae0012d8ee700058a7108000301642c..."} 
[2026-08-21 22:45:48] local.INFO: Packet analysis {"connection_id":159654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:45:48] local.INFO: Extracted packet for processing {"connection_id":159654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:45:48] local.INFO: GPS Element Parsed {"raw_longitude":764339968,"raw_latitude":92958984,"longitude_deg":76.4339968,"latitude_deg":9.2958984,"altitude":3,"angle":356,"satellites":44,"speed":41,"hex_longitude":"2d8ee700","hex_latitude":"058a7108","is_valid_coordinates":true} 
[2026-08-21 22:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557115392001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388772335030632448,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8148841289466773504,"note":"Value kept but may cause issues"} 
[2026-08-21 22:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787332492000,"timestamp_ms":1787332492000,"timestamp_seconds":1787332492,"priority":1,"record_length":96,"hex_timestamp":"000001a025517ae0"} 
[2026-08-21 22:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:45: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-08-21 22:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 22:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":159654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":159654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":159654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557115392001,"66":27223,"251":206,"85":14080,"24":41,"16":388772335030632448,"45":-8148841289466773504},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 22:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557115392001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:45:48] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 22:45:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388772335030632448,"km_value":388772335030632.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8148841289466773504,"description":"Unknown IO ID 45"} 
[2026-08-21 22:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557115392001,"power":27223,"unknown_251":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8148841289466773504}} 
[2026-08-21 22:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":159654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:45:48] local.INFO: GPS data processed {"connection_id":159654,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:45:48] local.INFO: Acknowledgment sent {"connection_id":159654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:46:27] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:27] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:27] local.INFO: IMEI packet received {"connection_id":159375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":159375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:46:29] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:29] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:29] local.INFO: IMEI packet received {"connection_id":159375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":159375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:46:34] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:34] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:46:34] local.INFO: IMEI packet received {"connection_id":159375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:46:34] local.INFO: IMEI acknowledgment sent {"connection_id":159375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:46:35] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025519e08012d8ee500058a96b0000301622d..."} 
[2026-08-21 22:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025519e08012d8ee500058a96b0000301622d..."} 
[2026-08-21 22:46:35] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025519e08012d8ee500058a96b0000301622d..."} 
[2026-08-21 22:46:35] local.INFO: Packet analysis {"connection_id":159375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:46:35] local.INFO: Extracted packet for processing {"connection_id":159375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:46:35] local.INFO: GPS Element Parsed {"raw_longitude":764339456,"raw_latitude":92968624,"longitude_deg":76.4339456,"latitude_deg":9.2968624,"altitude":3,"angle":354,"satellites":45,"speed":43,"hex_longitude":"2d8ee500","hex_latitude":"058a96b0","is_valid_coordinates":true} 
[2026-08-21 22:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557117952001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388772803182067712,"note":"Value kept but may cause issues"} 
[2026-08-21 22:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8149544976906123264,"note":"Value kept but may cause issues"} 
[2026-08-21 22:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332501000,"timestamp_ms":1787332501000,"timestamp_seconds":1787332501,"priority":1,"record_length":96,"hex_timestamp":"000001a025519e08"} 
[2026-08-21 22:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:46: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-08-21 22:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 22:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557117952001,"66":27300,"251":206,"85":14080,"24":43,"16":388772803182067712,"45":-8149544976906123264},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 22:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557117952001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:46:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 22:46:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388772803182067712,"km_value":388772803182067.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8149544976906123264,"description":"Unknown IO ID 45"} 
[2026-08-21 22:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557117952001,"power":27300,"unknown_251":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8149544976906123264}} 
[2026-08-21 22:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":159375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:46:35] local.INFO: GPS data processed {"connection_id":159375,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:46:35] local.INFO: Acknowledgment sent {"connection_id":159375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:47:06] local.INFO: TCP Data received {"connection_id":159375,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02551bd48012d8ee1c0058ab9c8000501602e..."} 
[2026-08-21 22:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02551bd48012d8ee1c0058ab9c8000501602e..."} 
[2026-08-21 22:47:06] local.INFO: Processing buffer {"connection_id":159375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02551bd48012d8ee1c0058ab9c8000501602e..."} 
[2026-08-21 22:47:06] local.INFO: Packet analysis {"connection_id":159375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:47:06] local.INFO: Extracted packet for processing {"connection_id":159375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:47:06] local.INFO: GPS Element Parsed {"raw_longitude":764338624,"raw_latitude":92977608,"longitude_deg":76.4338624,"latitude_deg":9.2977608,"altitude":5,"angle":352,"satellites":46,"speed":46,"hex_longitude":"2d8ee1c0","hex_latitude":"058ab9c8","is_valid_coordinates":true} 
[2026-08-21 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557120256001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388773241268731904,"note":"Value kept but may cause issues"} 
[2026-08-21 22:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8150107926857076736,"note":"Value kept but may cause issues"} 
[2026-08-21 22:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787332509000,"timestamp_ms":1787332509000,"timestamp_seconds":1787332509,"priority":1,"record_length":96,"hex_timestamp":"000001a02551bd48"} 
[2026-08-21 22:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:47: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-08-21 22:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 22:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557120256001,"66":27300,"251":206,"85":14080,"24":46,"16":388773241268731904,"45":-8150107926857076736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 22:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557120256001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:47:06] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 22:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388773241268731904,"km_value":388773241268731.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8150107926857076736,"description":"Unknown IO ID 45"} 
[2026-08-21 22:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557120256001,"power":27300,"unknown_251":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-8150107926857076736}} 
[2026-08-21 22:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":159375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:47:06] local.INFO: GPS data processed {"connection_id":159375,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:47:06] local.INFO: Acknowledgment sent {"connection_id":159375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:47:29] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:47:29] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:47:29] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:47:34] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:47:34] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:47:34] local.INFO: IMEI packet received {"connection_id":161963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":161963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:47:35] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02551dc88012d8edb40058addc00005015a2d..."} 
[2026-08-21 22:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02551dc88012d8edb40058addc00005015a2d..."} 
[2026-08-21 22:47:35] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02551dc88012d8edb40058addc00005015a2d..."} 
[2026-08-21 22:47:35] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:47:35] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02551"} 
[2026-08-21 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":764336960,"raw_latitude":92986816,"longitude_deg":76.433696,"latitude_deg":9.2986816,"altitude":5,"angle":346,"satellites":45,"speed":46,"hex_longitude":"2d8edb40","hex_latitude":"058addc0","is_valid_coordinates":true} 
[2026-08-21 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557122304001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388773692240297984,"note":"Value kept but may cause issues"} 
[2026-08-21 22:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8151022720529086464,"note":"Value kept but may cause issues"} 
[2026-08-21 22:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332517000,"timestamp_ms":1787332517000,"timestamp_seconds":1787332517,"priority":1,"record_length":96,"hex_timestamp":"000001a02551dc88"} 
[2026-08-21 22:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 22:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:47:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557122304001,"66":27332,"251":206,"85":14080,"24":46,"16":388773692240297984,"45":-8151022720529086464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-08-21 22:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557122304001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-08-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388773692240297984,"km_value":388773692240298.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8151022720529086464,"description":"Unknown IO ID 45"} 
[2026-08-21 22:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557122304001,"power":27332,"unknown_251":206,"unknown_85":14080,"ignition":46,"odometer":null,"unknown_45":-8151022720529086464}} 
[2026-08-21 22:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:47:35] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:47:35] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:48:27] local.INFO: TCP Data received {"connection_id":161963,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025539208012d8e6780058ca7100006014e2a..."} 
[2026-08-21 22:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025539208012d8e6780058ca7100006014e2a..."} 
[2026-08-21 22:48:27] local.INFO: Processing buffer {"connection_id":161963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025539208012d8e6780058ca7100006014e2a..."} 
[2026-08-21 22:48:27] local.INFO: Packet analysis {"connection_id":161963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02553"} 
[2026-08-21 22:48:27] local.INFO: Extracted packet for processing {"connection_id":161963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02553"} 
[2026-08-21 22:48:27] local.INFO: GPS Element Parsed {"raw_longitude":764307328,"raw_latitude":93103888,"longitude_deg":76.4307328,"latitude_deg":9.3103888,"altitude":6,"angle":334,"satellites":42,"speed":36,"hex_longitude":"2d8e6780","hex_latitude":"058ca710","is_valid_coordinates":true} 
[2026-08-21 22:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557151488001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388779559165624320,"note":"Value kept but may cause issues"} 
[2026-08-21 22:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8183603449052219392,"note":"Value kept but may cause issues"} 
[2026-08-21 22:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787332629000,"timestamp_ms":1787332629000,"timestamp_seconds":1787332629,"priority":1,"record_length":96,"hex_timestamp":"000001a025539208"} 
[2026-08-21 22:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 22:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557151488001,"66":27376,"18":206,"85":14080,"24":36,"16":388779559165624320,"45":-8183603449052219392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 22:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557151488001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:48:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 22:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388779559165624320,"km_value":388779559165624.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8183603449052219392,"description":"Unknown IO ID 45"} 
[2026-08-21 22:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557151488001,"power":27376,"unknown_18":206,"unknown_85":14080,"ignition":36,"odometer":null,"unknown_45":-8183603449052219392}} 
[2026-08-21 22:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":161963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:48:27] local.INFO: GPS data processed {"connection_id":161963,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:48:27] local.INFO: Acknowledgment sent {"connection_id":161963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:48:29] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:48:29] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:48:29] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:48:33] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:48:33] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:48:33] local.INFO: IMEI packet received {"connection_id":161964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":161964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:48:34] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02553b530012d8e5600058cc6d8000701492e..."} 
[2026-08-21 22:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02553b530012d8e5600058cc6d8000701492e..."} 
[2026-08-21 22:48:34] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02553b530012d8e5600058cc6d8000701492e..."} 
[2026-08-21 22:48:34] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02553"} 
[2026-08-21 22:48:34] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02553"} 
[2026-08-21 22:48:34] local.INFO: GPS Element Parsed {"raw_longitude":764302848,"raw_latitude":93112024,"longitude_deg":76.4302848,"latitude_deg":9.3112024,"altitude":7,"angle":329,"satellites":46,"speed":42,"hex_longitude":"2d8e5600","hex_latitude":"058cc6d8","is_valid_coordinates":true} 
[2026-08-21 22:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557153024001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780010137190400,"note":"Value kept but may cause issues"} 
[2026-08-21 22:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8185433036399636480,"note":"Value kept but may cause issues"} 
[2026-08-21 22:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787332638000,"timestamp_ms":1787332638000,"timestamp_seconds":1787332638,"priority":1,"record_length":96,"hex_timestamp":"000001a02553b530"} 
[2026-08-21 22:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:48:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557153024001,"66":27365,"18":206,"85":14080,"24":42,"16":388780010137190400,"45":-8185433036399636480},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 22:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557153024001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:48:34] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 22:48:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780010137190400,"km_value":388780010137190.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8185433036399636480,"description":"Unknown IO ID 45"} 
[2026-08-21 22:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557153024001,"power":27365,"unknown_18":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8185433036399636480}} 
[2026-08-21 22:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:48:34] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:48:34] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:49:05] local.INFO: TCP Data received {"connection_id":161964,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02553d470012d8e44c0058ce5f80009014b2d..."} 
[2026-08-21 22:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02553d470012d8e44c0058ce5f80009014b2d..."} 
[2026-08-21 22:49:05] local.INFO: Processing buffer {"connection_id":161964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02553d470012d8e44c0058ce5f80009014b2d..."} 
[2026-08-21 22:49:05] local.INFO: Packet analysis {"connection_id":161964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02553"} 
[2026-08-21 22:49:05] local.INFO: Extracted packet for processing {"connection_id":161964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02553"} 
[2026-08-21 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":764298432,"raw_latitude":93119992,"longitude_deg":76.4298432,"latitude_deg":9.3119992,"altitude":9,"angle":331,"satellites":45,"speed":47,"hex_longitude":"2d8e44c0","hex_latitude":"058ce5f8","is_valid_coordinates":true} 
[2026-08-21 22:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557155328001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388780448223854592,"note":"Value kept but may cause issues"} 
[2026-08-21 22:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8190358848489990144,"note":"Value kept but may cause issues"} 
[2026-08-21 22:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787332646000,"timestamp_ms":1787332646000,"timestamp_seconds":1787332646,"priority":1,"record_length":96,"hex_timestamp":"000001a02553d470"} 
[2026-08-21 22:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557155328001,"66":27234,"18":206,"85":14080,"24":47,"16":388780448223854592,"45":-8190358848489990144},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 22:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557155328001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:49:05] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 22:49:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388780448223854592,"km_value":388780448223854.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8190358848489990144,"description":"Unknown IO ID 45"} 
[2026-08-21 22:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557155328001,"power":27234,"unknown_18":206,"unknown_85":14080,"ignition":47,"odometer":null,"unknown_45":-8190358848489990144}} 
[2026-08-21 22:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":161964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:49:05] local.INFO: GPS data processed {"connection_id":161964,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:49:05] local.INFO: Acknowledgment sent {"connection_id":161964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:49:30] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:30] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:30] local.INFO: IMEI packet received {"connection_id":160573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":160573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:49:31] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:31] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:31] local.INFO: IMEI packet received {"connection_id":160573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":160573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:49:34] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:34] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:49:34] local.INFO: IMEI packet received {"connection_id":160573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":160573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:49:35] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02554f580012d8d6940058df170000b01112c..."} 
[2026-08-21 22:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02554f580012d8d6940058df170000b01112c..."} 
[2026-08-21 22:49:35] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02554f580012d8d6940058df170000b01112c..."} 
[2026-08-21 22:49:35] local.INFO: Packet analysis {"connection_id":160573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02554"} 
[2026-08-21 22:49:35] local.INFO: Extracted packet for processing {"connection_id":160573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02554"} 
[2026-08-21 22:49:35] local.INFO: GPS Element Parsed {"raw_longitude":764242240,"raw_latitude":93188464,"longitude_deg":76.424224,"latitude_deg":9.3188464,"altitude":11,"angle":273,"satellites":44,"speed":43,"hex_longitude":"2d8d6940","hex_latitude":"058df170","is_valid_coordinates":true} 
[2026-08-21 22:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557174528001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388784923579777024,"note":"Value kept but may cause issues"} 
[2026-08-21 22:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8248694537394001920,"note":"Value kept but may cause issues"} 
[2026-08-21 22:49:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332720000,"timestamp_ms":1787332720000,"timestamp_seconds":1787332720,"priority":1,"record_length":96,"hex_timestamp":"000001a02554f580"} 
[2026-08-21 22:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:49: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-08-21 22:49:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:49:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:49:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557174528001,"66":27376,"213":206,"85":14080,"24":43,"16":388784923579777024,"45":-8248694537394001920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 22:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557174528001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388784923579777024,"km_value":388784923579777.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8248694537394001920,"description":"Unknown IO ID 45"} 
[2026-08-21 22:49:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557174528001,"power":27376,"unknown_213":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8248694537394001920}} 
[2026-08-21 22:49:35] local.INFO: DEBUG: GPS processor result {"connection_id":160573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:49:35] local.INFO: GPS data processed {"connection_id":160573,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:49:35] local.INFO: Acknowledgment sent {"connection_id":160573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:50:06] local.INFO: TCP Data received {"connection_id":160573,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025550908012d8d52c0058df018000a01042c..."} 
[2026-08-21 22:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025550908012d8d52c0058df018000a01042c..."} 
[2026-08-21 22:50:06] local.INFO: Processing buffer {"connection_id":160573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025550908012d8d52c0058df018000a01042c..."} 
[2026-08-21 22:50:06] local.INFO: Packet analysis {"connection_id":160573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02555"} 
[2026-08-21 22:50:06] local.INFO: Extracted packet for processing {"connection_id":160573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02555"} 
[2026-08-21 22:50:06] local.INFO: GPS Element Parsed {"raw_longitude":764236480,"raw_latitude":93188120,"longitude_deg":76.423648,"latitude_deg":9.318812,"altitude":10,"angle":260,"satellites":44,"speed":47,"hex_longitude":"2d8d52c0","hex_latitude":"058df018","is_valid_coordinates":true} 
[2026-08-21 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557176320001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388785198457683968,"note":"Value kept but may cause issues"} 
[2026-08-21 22:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8256998049206669312,"note":"Value kept but may cause issues"} 
[2026-08-21 22:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787332725000,"timestamp_ms":1787332725000,"timestamp_seconds":1787332725,"priority":1,"record_length":96,"hex_timestamp":"000001a025550908"} 
[2026-08-21 22:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:50: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-08-21 22:50:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:50:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557176320001,"66":27332,"213":206,"85":14080,"24":47,"16":388785198457683968,"45":-8256998049206669312},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 22:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557176320001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388785198457683968,"km_value":388785198457683.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8256998049206669312,"description":"Unknown IO ID 45"} 
[2026-08-21 22:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557176320001,"power":27332,"unknown_213":206,"unknown_85":14080,"ignition":47,"odometer":null,"unknown_45":-8256998049206669312}} 
[2026-08-21 22:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":160573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:50:06] local.INFO: GPS data processed {"connection_id":160573,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:50:06] local.INFO: Acknowledgment sent {"connection_id":160573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:50:29] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:29] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:29] local.INFO: IMEI packet received {"connection_id":159376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":159376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:50:31] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:31] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:31] local.INFO: IMEI packet received {"connection_id":159376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":159376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:50:34] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:34] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:50:34] local.INFO: IMEI packet received {"connection_id":159376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":159376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:50:35] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025552848012d8d2d80058de748000800fc2c..."} 
[2026-08-21 22:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025552848012d8d2d80058de748000800fc2c..."} 
[2026-08-21 22:50:35] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025552848012d8d2d80058de748000800fc2c..."} 
[2026-08-21 22:50:35] local.INFO: Packet analysis {"connection_id":159376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02555"} 
[2026-08-21 22:50:35] local.INFO: Extracted packet for processing {"connection_id":159376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02555"} 
[2026-08-21 22:50:35] local.INFO: GPS Element Parsed {"raw_longitude":764226944,"raw_latitude":93185864,"longitude_deg":76.4226944,"latitude_deg":9.3185864,"altitude":8,"angle":252,"satellites":44,"speed":48,"hex_longitude":"2d8d2d80","hex_latitude":"058de748","is_valid_coordinates":true} 
[2026-08-21 22:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557177600001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388785670904086528,"note":"Value kept but may cause issues"} 
[2026-08-21 22:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8263331236182747136,"note":"Value kept but may cause issues"} 
[2026-08-21 22:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332733000,"timestamp_ms":1787332733000,"timestamp_seconds":1787332733,"priority":1,"record_length":96,"hex_timestamp":"000001a025552848"} 
[2026-08-21 22:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:50: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-08-21 22:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 22:50:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557177600001,"66":27245,"213":206,"85":14080,"24":48,"16":388785670904086528,"45":-8263331236182747136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 22:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557177600001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:50:35] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 22:50:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388785670904086528,"km_value":388785670904086.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8263331236182747136,"description":"Unknown IO ID 45"} 
[2026-08-21 22:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557177600001,"power":27245,"unknown_213":206,"unknown_85":14080,"ignition":48,"odometer":null,"unknown_45":-8263331236182747136}} 
[2026-08-21 22:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":159376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:50:35] local.INFO: GPS data processed {"connection_id":159376,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:50:35] local.INFO: Acknowledgment sent {"connection_id":159376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:51:06] local.INFO: TCP Data received {"connection_id":159376,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025554788012d8d0900058ddcf8000600fe2c..."} 
[2026-08-21 22:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025554788012d8d0900058ddcf8000600fe2c..."} 
[2026-08-21 22:51:06] local.INFO: Processing buffer {"connection_id":159376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025554788012d8d0900058ddcf8000600fe2c..."} 
[2026-08-21 22:51:06] local.INFO: Packet analysis {"connection_id":159376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02555"} 
[2026-08-21 22:51:06] local.INFO: Extracted packet for processing {"connection_id":159376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02555"} 
[2026-08-21 22:51:06] local.INFO: GPS Element Parsed {"raw_longitude":764217600,"raw_latitude":93183224,"longitude_deg":76.42176,"latitude_deg":9.3183224,"altitude":6,"angle":254,"satellites":44,"speed":49,"hex_longitude":"2d8d0900","hex_latitude":"058ddcf8","is_valid_coordinates":true} 
[2026-08-21 22:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557179648001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388786134760554496,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8273816179065796608,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787332741000,"timestamp_ms":1787332741000,"timestamp_seconds":1787332741,"priority":1,"record_length":96,"hex_timestamp":"000001a025554788"} 
[2026-08-21 22:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:51: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-08-21 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 22:51:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557179648001,"66":27213,"213":206,"85":14080,"24":49,"16":388786134760554496,"45":-8273816179065796608},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,85,24,16,45]} 
[2026-08-21 22:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557179648001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:51:06] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-08-21 22:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388786134760554496,"km_value":388786134760554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8273816179065796608,"description":"Unknown IO ID 45"} 
[2026-08-21 22:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557179648001,"power":27213,"unknown_213":206,"unknown_85":14080,"ignition":49,"odometer":null,"unknown_45":-8273816179065796608}} 
[2026-08-21 22:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":159376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:51:06] local.INFO: GPS data processed {"connection_id":159376,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:51:06] local.INFO: Acknowledgment sent {"connection_id":159376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:51:31] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:31] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:31] local.INFO: IMEI packet received {"connection_id":159377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":159377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:51:34] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:34] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:34] local.INFO: IMEI packet received {"connection_id":159377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":159377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:51:39] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:39] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:51:39] local.INFO: IMEI packet received {"connection_id":159377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":159377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:51:40] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02556b6b8012d8b7e80058d8910000501152b..."} 
[2026-08-21 22:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02556b6b8012d8b7e80058d8910000501152b..."} 
[2026-08-21 22:51:40] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02556b6b8012d8b7e80058d8910000501152b..."} 
[2026-08-21 22:51:40] local.INFO: Packet analysis {"connection_id":159377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02556"} 
[2026-08-21 22:51:40] local.INFO: Extracted packet for processing {"connection_id":159377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02556"} 
[2026-08-21 22:51:40] local.INFO: GPS Element Parsed {"raw_longitude":764116608,"raw_latitude":93161744,"longitude_deg":76.4116608,"latitude_deg":9.3161744,"altitude":5,"angle":277,"satellites":43,"speed":41,"hex_longitude":"2d8b7e80","hex_latitude":"058d8910","is_valid_coordinates":true} 
[2026-08-21 22:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557203712001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388791142692421632,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8385069163616927744,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787332835000,"timestamp_ms":1787332835000,"timestamp_seconds":1787332835,"priority":1,"record_length":96,"hex_timestamp":"000001a02556b6b8"} 
[2026-08-21 22:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557203712001,"66":27300,"15":206,"85":14080,"24":41,"16":388791142692421632,"45":-8385069163616927744},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557203712001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388791142692421632,"km_value":388791142692421.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8385069163616927744,"description":"Unknown IO ID 45"} 
[2026-08-21 22:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557203712001,"power":27300,"unknown_15":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8385069163616927744}} 
[2026-08-21 22:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":159377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:51:40] local.INFO: GPS data processed {"connection_id":159377,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:51:40] local.INFO: Acknowledgment sent {"connection_id":159377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:51:45] local.INFO: TCP Data received {"connection_id":159377,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02556d9e0012d8b5b80058d8b600004010c2b..."} 
[2026-08-21 22:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02556d9e0012d8b5b80058d8b600004010c2b..."} 
[2026-08-21 22:51:45] local.INFO: Processing buffer {"connection_id":159377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02556d9e0012d8b5b80058d8b600004010c2b..."} 
[2026-08-21 22:51:45] local.INFO: Packet analysis {"connection_id":159377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02556"} 
[2026-08-21 22:51:45] local.INFO: Extracted packet for processing {"connection_id":159377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02556"} 
[2026-08-21 22:51:45] local.INFO: GPS Element Parsed {"raw_longitude":764107648,"raw_latitude":93162336,"longitude_deg":76.4107648,"latitude_deg":9.3162336,"altitude":4,"angle":268,"satellites":43,"speed":41,"hex_longitude":"2d8b5b80","hex_latitude":"058d8b60","is_valid_coordinates":true} 
[2026-08-21 22:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557205760001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388791572189151232,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8395131894034264064,"note":"Value kept but may cause issues"} 
[2026-08-21 22:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787332844000,"timestamp_ms":1787332844000,"timestamp_seconds":1787332844,"priority":1,"record_length":96,"hex_timestamp":"000001a02556d9e0"} 
[2026-08-21 22:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 22:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":159377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":159377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":159377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557205760001,"66":27234,"15":206,"85":14080,"24":41,"16":388791572189151232,"45":-8395131894034264064},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557205760001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:51:45] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388791572189151232,"km_value":388791572189151.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8395131894034264064,"description":"Unknown IO ID 45"} 
[2026-08-21 22:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557205760001,"power":27234,"unknown_15":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8395131894034264064}} 
[2026-08-21 22:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":159377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:51:45] local.INFO: GPS data processed {"connection_id":159377,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:51:45] local.INFO: Acknowledgment sent {"connection_id":159377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:52:28] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:28] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:28] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:52:29] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:29] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:29] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:52:34] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:34] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:52:34] local.INFO: IMEI packet received {"connection_id":160574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":160574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:52:35] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02556fd08012d8b3600058d8d00000801122a..."} 
[2026-08-21 22:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02556fd08012d8b3600058d8d00000801122a..."} 
[2026-08-21 22:52:35] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02556fd08012d8b3600058d8d00000801122a..."} 
[2026-08-21 22:52:35] local.INFO: Packet analysis {"connection_id":160574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02556"} 
[2026-08-21 22:52:35] local.INFO: Extracted packet for processing {"connection_id":160574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02556"} 
[2026-08-21 22:52:35] local.INFO: GPS Element Parsed {"raw_longitude":764098048,"raw_latitude":93162752,"longitude_deg":76.4098048,"latitude_deg":9.3162752,"altitude":8,"angle":274,"satellites":42,"speed":43,"hex_longitude":"2d8b3600","hex_latitude":"058d8d00","is_valid_coordinates":true} 
[2026-08-21 22:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557208064001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388792031750651904,"note":"Value kept but may cause issues"} 
[2026-08-21 22:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8404983518218985472,"note":"Value kept but may cause issues"} 
[2026-08-21 22:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332853000,"timestamp_ms":1787332853000,"timestamp_seconds":1787332853,"priority":1,"record_length":96,"hex_timestamp":"000001a02556fd08"} 
[2026-08-21 22:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:52: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-08-21 22:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 22:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557208064001,"66":27397,"15":206,"85":14080,"24":43,"16":388792031750651904,"45":-8404983518218985472},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557208064001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388792031750651904,"km_value":388792031750651.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8404983518218985472,"description":"Unknown IO ID 45"} 
[2026-08-21 22:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557208064001,"power":27397,"unknown_15":206,"unknown_85":14080,"ignition":43,"odometer":null,"unknown_45":-8404983518218985472}} 
[2026-08-21 22:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":160574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:52:35] local.INFO: GPS data processed {"connection_id":160574,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:52:35] local.INFO: Acknowledgment sent {"connection_id":160574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:53:07] local.INFO: TCP Data received {"connection_id":160574,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025572030012d8b10c0058d9160000901152b..."} 
[2026-08-21 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025572030012d8b10c0058d9160000901152b..."} 
[2026-08-21 22:53:07] local.INFO: Processing buffer {"connection_id":160574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025572030012d8b10c0058d9160000901152b..."} 
[2026-08-21 22:53:07] local.INFO: Packet analysis {"connection_id":160574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02557"} 
[2026-08-21 22:53:07] local.INFO: Extracted packet for processing {"connection_id":160574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02557"} 
[2026-08-21 22:53:07] local.INFO: GPS Element Parsed {"raw_longitude":764088512,"raw_latitude":93163872,"longitude_deg":76.4088512,"latitude_deg":9.3163872,"altitude":9,"angle":277,"satellites":43,"speed":38,"hex_longitude":"2d8b10c0","hex_latitude":"058d9160","is_valid_coordinates":true} 
[2026-08-21 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557210368001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388792491312152576,"note":"Value kept but may cause issues"} 
[2026-08-21 22:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8415538829845528576,"note":"Value kept but may cause issues"} 
[2026-08-21 22:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787332862000,"timestamp_ms":1787332862000,"timestamp_seconds":1787332862,"priority":1,"record_length":96,"hex_timestamp":"000001a025572030"} 
[2026-08-21 22:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:53: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-08-21 22:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 22:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557210368001,"66":27321,"15":206,"85":14080,"24":38,"16":388792491312152576,"45":-8415538829845528576},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557210368001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:53:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388792491312152576,"km_value":388792491312152.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8415538829845528576,"description":"Unknown IO ID 45"} 
[2026-08-21 22:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557210368001,"power":27321,"unknown_15":206,"unknown_85":14080,"ignition":38,"odometer":null,"unknown_45":-8415538829845528576}} 
[2026-08-21 22:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":160574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:53:07] local.INFO: GPS data processed {"connection_id":160574,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:53:07] local.INFO: Acknowledgment sent {"connection_id":160574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:53:29] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:53:29] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:53:29] local.INFO: IMEI packet received {"connection_id":159655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":159655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:53:34] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:53:34] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:53:34] local.INFO: IMEI packet received {"connection_id":159655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":159655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:53:35] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025574740012d8aeb80058d9630000801152b..."} 
[2026-08-21 22:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025574740012d8aeb80058d9630000801152b..."} 
[2026-08-21 22:53:35] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025574740012d8aeb80058d9630000801152b..."} 
[2026-08-21 22:53:35] local.INFO: Packet analysis {"connection_id":159655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02557"} 
[2026-08-21 22:53:35] local.INFO: Extracted packet for processing {"connection_id":159655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02557"} 
[2026-08-21 22:53:35] local.INFO: GPS Element Parsed {"raw_longitude":764078976,"raw_latitude":93165104,"longitude_deg":76.4078976,"latitude_deg":9.3165104,"altitude":8,"angle":277,"satellites":43,"speed":42,"hex_longitude":"2d8aeb80","hex_latitude":"058d9630","is_valid_coordinates":true} 
[2026-08-21 22:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557212672001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388792950873653248,"note":"Value kept but may cause issues"} 
[2026-08-21 22:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8426023772727713792,"note":"Value kept but may cause issues"} 
[2026-08-21 22:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787332872000,"timestamp_ms":1787332872000,"timestamp_seconds":1787332872,"priority":1,"record_length":96,"hex_timestamp":"000001a025574740"} 
[2026-08-21 22:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:53: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-08-21 22:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557212672001,"66":27289,"15":206,"85":14080,"24":42,"16":388792950873653248,"45":-8426023772727713792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557212672001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388792950873653248,"km_value":388792950873653.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8426023772727713792,"description":"Unknown IO ID 45"} 
[2026-08-21 22:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557212672001,"power":27289,"unknown_15":206,"unknown_85":14080,"ignition":42,"odometer":null,"unknown_45":-8426023772727713792}} 
[2026-08-21 22:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":159655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:53:35] local.INFO: GPS data processed {"connection_id":159655,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:53:35] local.INFO: Acknowledgment sent {"connection_id":159655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:54:07] local.INFO: TCP Data received {"connection_id":159655,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025590c60012d89a6c0058d8bf80009011c2c..."} 
[2026-08-21 22:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025590c60012d89a6c0058d8bf80009011c2c..."} 
[2026-08-21 22:54:07] local.INFO: Processing buffer {"connection_id":159655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025590c60012d89a6c0058d8bf80009011c2c..."} 
[2026-08-21 22:54:07] local.INFO: Packet analysis {"connection_id":159655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:54:07] local.INFO: Extracted packet for processing {"connection_id":159655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763995840,"raw_latitude":93162488,"longitude_deg":76.399584,"latitude_deg":9.3162488,"altitude":9,"angle":284,"satellites":44,"speed":11,"hex_longitude":"2d89a6c0","hex_latitude":"058d8bf8","is_valid_coordinates":true} 
[2026-08-21 22:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557243136001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388796983847944192,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8526088126948919296,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787332988000,"timestamp_ms":1787332988000,"timestamp_seconds":1787332988,"priority":1,"record_length":96,"hex_timestamp":"000001a025590c60"} 
[2026-08-21 22:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:54: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-08-21 22: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 22:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557243136001,"66":27321,"15":206,"85":14080,"24":11,"16":388796983847944192,"45":-8526088126948919296},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557243136001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:54:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388796983847944192,"km_value":388796983847944.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8526088126948919296,"description":"Unknown IO ID 45"} 
[2026-08-21 22:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557243136001,"power":27321,"unknown_15":206,"unknown_85":14080,"ignition":11,"odometer":null,"unknown_45":-8526088126948919296}} 
[2026-08-21 22:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":159655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:54:07] local.INFO: GPS data processed {"connection_id":159655,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:54:07] local.INFO: Acknowledgment sent {"connection_id":159655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:54:34] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:34] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:34] local.INFO: IMEI packet received {"connection_id":159378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":159378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:54:34] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:34] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:34] local.INFO: IMEI packet received {"connection_id":159378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":159378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:54:42] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:42] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:54:42] local.INFO: IMEI packet received {"connection_id":159378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":159378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:54:43] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025591818012d89a2c0058d8cb00009010e2c..."} 
[2026-08-21 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025591818012d89a2c0058d8cb00009010e2c..."} 
[2026-08-21 22:54:43] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025591818012d89a2c0058d8cb00009010e2c..."} 
[2026-08-21 22:54:43] local.INFO: Packet analysis {"connection_id":159378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:54:43] local.INFO: Extracted packet for processing {"connection_id":159378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763994816,"raw_latitude":93162672,"longitude_deg":76.3994816,"latitude_deg":9.3162672,"altitude":9,"angle":270,"satellites":44,"speed":15,"hex_longitude":"2d89a2c0","hex_latitude":"058d8cb0","is_valid_coordinates":true} 
[2026-08-21 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557244928001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388797031092584448,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8527917714297325568,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787332991000,"timestamp_ms":1787332991000,"timestamp_seconds":1787332991,"priority":1,"record_length":96,"hex_timestamp":"000001a025591818"} 
[2026-08-21 22:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557244928001,"66":27321,"15":206,"85":14080,"24":15,"16":388797031092584448,"45":-8527917714297325568},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557244928001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388797031092584448,"km_value":388797031092584.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8527917714297325568,"description":"Unknown IO ID 45"} 
[2026-08-21 22:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557244928001,"power":27321,"unknown_15":206,"unknown_85":14080,"ignition":15,"odometer":null,"unknown_45":-8527917714297325568}} 
[2026-08-21 22:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":159378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:54:43] local.INFO: GPS data processed {"connection_id":159378,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:54:43] local.INFO: Acknowledgment sent {"connection_id":159378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:54:43] local.INFO: TCP Data received {"connection_id":159378,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025594ec8012d897f00058d8898000901062a..."} 
[2026-08-21 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025594ec8012d897f00058d8898000901062a..."} 
[2026-08-21 22:54:43] local.INFO: Processing buffer {"connection_id":159378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025594ec8012d897f00058d8898000901062a..."} 
[2026-08-21 22:54:43] local.INFO: Packet analysis {"connection_id":159378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:54:43] local.INFO: Extracted packet for processing {"connection_id":159378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":763985664,"raw_latitude":93161624,"longitude_deg":76.3985664,"latitude_deg":9.3161624,"altitude":9,"angle":262,"satellites":42,"speed":32,"hex_longitude":"2d897f00","hex_latitude":"058d8898","is_valid_coordinates":true} 
[2026-08-21 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557245696001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388797473474215936,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8529043614204121088,"note":"Value kept but may cause issues"} 
[2026-08-21 22:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1787333005000,"timestamp_ms":1787333005000,"timestamp_seconds":1787333005,"priority":1,"record_length":96,"hex_timestamp":"000001a025594ec8"} 
[2026-08-21 22:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":159378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":159378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":159378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557245696001,"66":27245,"15":206,"85":14080,"24":32,"16":388797473474215936,"45":-8529043614204121088},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557245696001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388797473474215936,"km_value":388797473474215.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8529043614204121088,"description":"Unknown IO ID 45"} 
[2026-08-21 22:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557245696001,"power":27245,"unknown_15":206,"unknown_85":14080,"ignition":32,"odometer":null,"unknown_45":-8529043614204121088}} 
[2026-08-21 22:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":159378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:54:43] local.INFO: GPS data processed {"connection_id":159378,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:54:43] local.INFO: Acknowledgment sent {"connection_id":159378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:55:29] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:55:29] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:55:29] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:55:32] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:55:32] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:55:32] local.INFO: IMEI packet received {"connection_id":161965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":161965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:55:33] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025597da8012d8959c0058d8518000801042b..."} 
[2026-08-21 22:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025597da8012d8959c0058d8518000801042b..."} 
[2026-08-21 22:55:33] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025597da8012d8959c0058d8518000801042b..."} 
[2026-08-21 22:55:33] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:55:33] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:55:33] local.INFO: GPS Element Parsed {"raw_longitude":763976128,"raw_latitude":93160728,"longitude_deg":76.3976128,"latitude_deg":9.3160728,"altitude":8,"angle":260,"satellites":43,"speed":26,"hex_longitude":"2d8959c0","hex_latitude":"058d8518","is_valid_coordinates":true} 
[2026-08-21 22:55:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557249280001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388797933035716608,"note":"Value kept but may cause issues"} 
[2026-08-21 22:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8539106344621795328,"note":"Value kept but may cause issues"} 
[2026-08-21 22:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787333017000,"timestamp_ms":1787333017000,"timestamp_seconds":1787333017,"priority":1,"record_length":96,"hex_timestamp":"000001a025597da8"} 
[2026-08-21 22:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 22:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22: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-08-21 22:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557249280001,"66":27376,"15":206,"85":14080,"24":26,"16":388797933035716608,"45":-8539106344621795328},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557249280001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:55:33] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:55:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388797933035716608,"km_value":388797933035716.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8539106344621795328,"description":"Unknown IO ID 45"} 
[2026-08-21 22:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557249280001,"power":27376,"unknown_15":206,"unknown_85":14080,"ignition":26,"odometer":null,"unknown_45":-8539106344621795328}} 
[2026-08-21 22:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:55:33] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:55:33] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:56:04] local.INFO: TCP Data received {"connection_id":161965,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02559a8a0012d893600058d81500009010829..."} 
[2026-08-21 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02559a8a0012d893600058d81500009010829..."} 
[2026-08-21 22:56:04] local.INFO: Processing buffer {"connection_id":161965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02559a8a0012d893600058d81500009010829..."} 
[2026-08-21 22:56:04] local.INFO: Packet analysis {"connection_id":161965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:56:04] local.INFO: Extracted packet for processing {"connection_id":161965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02559"} 
[2026-08-21 22:56:04] local.INFO: GPS Element Parsed {"raw_longitude":763966976,"raw_latitude":93159760,"longitude_deg":76.3966976,"latitude_deg":9.315976,"altitude":9,"angle":264,"satellites":41,"speed":41,"hex_longitude":"2d893600","hex_latitude":"058d8150","is_valid_coordinates":true} 
[2026-08-21 22:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557252352001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388798371122380800,"note":"Value kept but may cause issues"} 
[2026-08-21 22:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8549591287504496640,"note":"Value kept but may cause issues"} 
[2026-08-21 22:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787333028000,"timestamp_ms":1787333028000,"timestamp_seconds":1787333028,"priority":1,"record_length":96,"hex_timestamp":"000001a02559a8a0"} 
[2026-08-21 22:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 22:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":161965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":161965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557252352001,"66":27245,"15":206,"85":14080,"24":41,"16":388798371122380800,"45":-8549591287504496640},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,85,24,16,45]} 
[2026-08-21 22:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557252352001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:56:04] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-08-21 22:56:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":14080,"description":"Unknown IO ID 85"} 
[2026-08-21 22:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388798371122380800,"km_value":388798371122380.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8549591287504496640,"description":"Unknown IO ID 45"} 
[2026-08-21 22:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557252352001,"power":27245,"unknown_15":206,"unknown_85":14080,"ignition":41,"odometer":null,"unknown_45":-8549591287504496640}} 
[2026-08-21 22:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":161965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:56:04] local.INFO: GPS data processed {"connection_id":161965,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:56:04] local.INFO: Acknowledgment sent {"connection_id":161965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:56:28] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:28] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:28] local.INFO: IMEI packet received {"connection_id":159656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":159656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:56:29] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:29] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:29] local.INFO: IMEI packet received {"connection_id":159656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":159656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:56:34] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:34] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:56:34] local.INFO: IMEI packet received {"connection_id":159656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":159656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:56:35] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255b0c18012d87c680058d9e40000901342d..."} 
[2026-08-21 22:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255b0c18012d87c680058d9e40000901342d..."} 
[2026-08-21 22:56:35] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255b0c18012d87c680058d9e40000901342d..."} 
[2026-08-21 22:56:35] local.INFO: Packet analysis {"connection_id":159656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:56:35] local.INFO: Extracted packet for processing {"connection_id":159656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:56:35] local.INFO: GPS Element Parsed {"raw_longitude":763872896,"raw_latitude":93167168,"longitude_deg":76.3872896,"latitude_deg":9.3167168,"altitude":9,"angle":308,"satellites":45,"speed":29,"hex_longitude":"2d87c680","hex_latitude":"058d9e40","is_valid_coordinates":true} 
[2026-08-21 22:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557275392001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388803082701504512,"note":"Value kept but may cause issues"} 
[2026-08-21 22:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8654933297538338816,"note":"Value kept but may cause issues"} 
[2026-08-21 22:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787333119000,"timestamp_ms":1787333119000,"timestamp_seconds":1787333119,"priority":1,"record_length":96,"hex_timestamp":"000001a0255b0c18"} 
[2026-08-21 22:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:56: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-08-21 22:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-08-21 22:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557275392001,"66":27321,"135":206,"85":14592,"24":29,"16":388803082701504512,"45":-8654933297538338816},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-21 22:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557275392001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388803082701504512,"km_value":388803082701504.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8654933297538338816,"description":"Unknown IO ID 45"} 
[2026-08-21 22:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557275392001,"power":27321,"unknown_135":206,"unknown_85":14592,"ignition":29,"odometer":null,"unknown_45":-8654933297538338816}} 
[2026-08-21 22:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":159656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:56:35] local.INFO: GPS data processed {"connection_id":159656,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:56:35] local.INFO: Acknowledgment sent {"connection_id":159656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:57:06] local.INFO: TCP Data received {"connection_id":159656,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255b3710012d87aa80058db478000801352c..."} 
[2026-08-21 22:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255b3710012d87aa80058db478000801352c..."} 
[2026-08-21 22:57:06] local.INFO: Processing buffer {"connection_id":159656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255b3710012d87aa80058db478000801352c..."} 
[2026-08-21 22:57:06] local.INFO: Packet analysis {"connection_id":159656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:57:06] local.INFO: Extracted packet for processing {"connection_id":159656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763865728,"raw_latitude":93172856,"longitude_deg":76.3865728,"latitude_deg":9.3172856,"altitude":8,"angle":309,"satellites":44,"speed":34,"hex_longitude":"2d87aa80","hex_latitude":"058db478","is_valid_coordinates":true} 
[2026-08-21 22:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557278464001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388803525083136000,"note":"Value kept but may cause issues"} 
[2026-08-21 22:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8663096071861420032,"note":"Value kept but may cause issues"} 
[2026-08-21 22:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787333130000,"timestamp_ms":1787333130000,"timestamp_seconds":1787333130,"priority":1,"record_length":96,"hex_timestamp":"000001a0255b3710"} 
[2026-08-21 22:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 22:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557278464001,"66":26267,"135":206,"85":14592,"24":34,"16":388803525083136000,"45":-8663096071861420032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,85,24,16,45]} 
[2026-08-21 22:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557278464001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:57:06] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-08-21 22:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388803525083136000,"km_value":388803525083136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8663096071861420032,"description":"Unknown IO ID 45"} 
[2026-08-21 22:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557278464001,"power":26267,"unknown_135":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-8663096071861420032}} 
[2026-08-21 22:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":159656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:57:06] local.INFO: GPS data processed {"connection_id":159656,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:57:06] local.INFO: Acknowledgment sent {"connection_id":159656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:57:29] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:29] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:29] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:57:29] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:29] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:29] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:57:33] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:33] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:57:33] local.INFO: IMEI packet received {"connection_id":161966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":161966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:57:34] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255b5e20012d878c80058dccc0000701342c..."} 
[2026-08-21 22:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255b5e20012d878c80058dccc0000701342c..."} 
[2026-08-21 22:57:34] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255b5e20012d878c80058dccc0000701342c..."} 
[2026-08-21 22:57:34] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:57:34] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763858048,"raw_latitude":93179072,"longitude_deg":76.3858048,"latitude_deg":9.3179072,"altitude":7,"angle":308,"satellites":44,"speed":42,"hex_longitude":"2d878c80","hex_latitude":"058dccc0","is_valid_coordinates":true} 
[2026-08-21 22:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557281280001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388804001824505856,"note":"Value kept but may cause issues"} 
[2026-08-21 22:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8670977371207862272,"note":"Value kept but may cause issues"} 
[2026-08-21 22:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787333140000,"timestamp_ms":1787333140000,"timestamp_seconds":1787333140,"priority":1,"record_length":96,"hex_timestamp":"000001a0255b5e20"} 
[2026-08-21 22:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-08-21 22:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557281280001,"66":26984,"137":206,"85":14592,"24":42,"16":388804001824505856,"45":-8670977371207862272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,85,24,16,45]} 
[2026-08-21 22:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557281280001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:57:34] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-08-21 22:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388804001824505856,"km_value":388804001824505.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8670977371207862272,"description":"Unknown IO ID 45"} 
[2026-08-21 22:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557281280001,"power":26984,"unknown_137":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-8670977371207862272}} 
[2026-08-21 22:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:57:34] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:57:34] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:58:05] local.INFO: TCP Data received {"connection_id":161966,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255b8530012d877040058de328000701342d..."} 
[2026-08-21 22:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255b8530012d877040058de328000701342d..."} 
[2026-08-21 22:58:05] local.INFO: Processing buffer {"connection_id":161966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255b8530012d877040058de328000701342d..."} 
[2026-08-21 22:58:05] local.INFO: Packet analysis {"connection_id":161966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:58:05] local.INFO: Extracted packet for processing {"connection_id":161966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":763850816,"raw_latitude":93184808,"longitude_deg":76.3850816,"latitude_deg":9.3184808,"altitude":7,"angle":308,"satellites":45,"speed":27,"hex_longitude":"2d877040","hex_latitude":"058de328","is_valid_coordinates":true} 
[2026-08-21 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557283840001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388804444206137344,"note":"Value kept but may cause issues"} 
[2026-08-21 22:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8679421620507590656,"note":"Value kept but may cause issues"} 
[2026-08-21 22:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787333150000,"timestamp_ms":1787333150000,"timestamp_seconds":1787333150,"priority":1,"record_length":96,"hex_timestamp":"000001a0255b8530"} 
[2026-08-21 22:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-08-21 22:58:05] 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-08-21 22:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":161966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":161966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557283840001,"66":27343,"87":206,"85":14592,"24":27,"16":388804444206137344,"45":-8679421620507590656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-21 22:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557283840001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:58:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-21 22:58:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388804444206137344,"km_value":388804444206137.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8679421620507590656,"description":"Unknown IO ID 45"} 
[2026-08-21 22:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557283840001,"power":27343,"unknown_87":206,"unknown_85":14592,"ignition":27,"odometer":null,"unknown_45":-8679421620507590656}} 
[2026-08-21 22:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":161966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:58:05] local.INFO: GPS data processed {"connection_id":161966,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:58:05] local.INFO: Acknowledgment sent {"connection_id":161966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:58:29] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:58:29] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:58:29] local.INFO: IMEI packet received {"connection_id":159657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":159657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:58:34] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:58:34] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:58:34] local.INFO: IMEI packet received {"connection_id":159657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":159657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:58:35] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255bb410012d875300058df8b0000501312b..."} 
[2026-08-21 22:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255bb410012d875300058df8b0000501312b..."} 
[2026-08-21 22:58:35] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255bb410012d875300058df8b0000501312b..."} 
[2026-08-21 22:58:35] local.INFO: Packet analysis {"connection_id":159657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:58:35] local.INFO: Extracted packet for processing {"connection_id":159657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255b"} 
[2026-08-21 22:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763843328,"raw_latitude":93190320,"longitude_deg":76.3843328,"latitude_deg":9.319032,"altitude":5,"angle":305,"satellites":43,"speed":34,"hex_longitude":"2d875300","hex_latitude":"058df8b0","is_valid_coordinates":true} 
[2026-08-21 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557286400001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388804890882736128,"note":"Value kept but may cause issues"} 
[2026-08-21 22:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8687373288598198272,"note":"Value kept but may cause issues"} 
[2026-08-21 22:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787333162000,"timestamp_ms":1787333162000,"timestamp_seconds":1787333162,"priority":1,"record_length":96,"hex_timestamp":"000001a0255bb410"} 
[2026-08-21 22:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:58: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-08-21 22:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557286400001,"66":27365,"87":206,"85":14592,"24":34,"16":388804890882736128,"45":-8687373288598198272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,45]} 
[2026-08-21 22:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557286400001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-08-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388804890882736128,"km_value":388804890882736.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8687373288598198272,"description":"Unknown IO ID 45"} 
[2026-08-21 22:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557286400001,"power":27365,"unknown_87":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-8687373288598198272}} 
[2026-08-21 22:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":159657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:58:35] local.INFO: GPS data processed {"connection_id":159657,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:58:35] local.INFO: Acknowledgment sent {"connection_id":159657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:59:10] local.INFO: TCP Data received {"connection_id":159657,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255d7160012d866ec0058e88480008014629..."} 
[2026-08-21 22:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255d7160012d866ec0058e88480008014629..."} 
[2026-08-21 22:59:10] local.INFO: Processing buffer {"connection_id":159657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255d7160012d866ec0058e88480008014629..."} 
[2026-08-21 22:59:10] local.INFO: Packet analysis {"connection_id":159657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 22:59:10] local.INFO: Extracted packet for processing {"connection_id":159657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 22:59:10] local.INFO: GPS Element Parsed {"raw_longitude":763784896,"raw_latitude":93227080,"longitude_deg":76.3784896,"latitude_deg":9.322708,"altitude":8,"angle":326,"satellites":41,"speed":31,"hex_longitude":"2d866ec0","hex_latitude":"058e8848","is_valid_coordinates":true} 
[2026-08-21 22:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557315584001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388808279611932672,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8753731014348759040,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787333276000,"timestamp_ms":1787333276000,"timestamp_seconds":1787333276,"priority":1,"record_length":96,"hex_timestamp":"000001a0255d7160"} 
[2026-08-21 22:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 22:59: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-08-21 22:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":159657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":159657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":159657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557315584001,"66":27365,"89":206,"85":14592,"24":31,"16":388808279611932672,"45":-8753731014348759040},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 22:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557315584001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:59:10] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 22:59:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388808279611932672,"km_value":388808279611932.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8753731014348759040,"description":"Unknown IO ID 45"} 
[2026-08-21 22:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557315584001,"power":27365,"unknown_89":206,"unknown_85":14592,"ignition":31,"odometer":null,"unknown_45":-8753731014348759040}} 
[2026-08-21 22:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":159657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:59:10] local.INFO: GPS data processed {"connection_id":159657,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:59:10] local.INFO: Acknowledgment sent {"connection_id":159657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:59:34] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:59:34] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:59:34] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 22:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 22:59:36] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:59:36] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 22:59:36] local.INFO: IMEI packet received {"connection_id":161967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 22:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":161967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 22:59:36] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255d9c58012d865b80058ea780000a01482a..."} 
[2026-08-21 22:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255d9c58012d865b80058ea780000a01482a..."} 
[2026-08-21 22:59:36] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255d9c58012d865b80058ea780000a01482a..."} 
[2026-08-21 22:59:36] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 22:59:36] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 22:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763779968,"raw_latitude":93235072,"longitude_deg":76.3779968,"latitude_deg":9.3235072,"altitude":10,"angle":328,"satellites":42,"speed":36,"hex_longitude":"2d865b80","hex_latitude":"058ea780","is_valid_coordinates":true} 
[2026-08-21 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557318656001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388808730583498752,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8759853095090370560,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787333287000,"timestamp_ms":1787333287000,"timestamp_seconds":1787333287,"priority":1,"record_length":96,"hex_timestamp":"000001a0255d9c58"} 
[2026-08-21 22:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:59: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-08-21 22:59:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:59:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557318656001,"66":27365,"89":206,"85":14592,"24":36,"16":388808730583498752,"45":-8759853095090370560},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 22:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557318656001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:59:36] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 22:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388808730583498752,"km_value":388808730583498.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8759853095090370560,"description":"Unknown IO ID 45"} 
[2026-08-21 22:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557318656001,"power":27365,"unknown_89":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-8759853095090370560}} 
[2026-08-21 22:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:59:36] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:59:36] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 22:59:39] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255dc750012d864980058ec7b8000c014d2a..."} 
[2026-08-21 22:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255dc750012d864980058ec7b8000c014d2a..."} 
[2026-08-21 22:59:39] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255dc750012d864980058ec7b8000c014d2a..."} 
[2026-08-21 22:59:39] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 22:59:39] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":763775360,"raw_latitude":93243320,"longitude_deg":76.377536,"latitude_deg":9.324332,"altitude":12,"angle":333,"satellites":42,"speed":36,"hex_longitude":"2d864980","hex_latitude":"058ec7b8","is_valid_coordinates":true} 
[2026-08-21 22:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 22:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557321472001,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388809190144999424,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8765271488390004736,"note":"Value kept but may cause issues"} 
[2026-08-21 22:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 22:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1787333298000,"timestamp_ms":1787333298000,"timestamp_seconds":1787333298,"priority":1,"record_length":96,"hex_timestamp":"000001a0255dc750"} 
[2026-08-21 22:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 22:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 22:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 22:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 22:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 22:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 22:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 22:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 22:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 22:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 22:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 22:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 22:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557321472001,"66":27321,"89":206,"85":14592,"24":36,"16":388809190144999424,"45":-8765271488390004736},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,45]} 
[2026-08-21 22:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 22:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 22:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557321472001,"description":"Unknown IO ID 0"} 
[2026-08-21 22:59:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-08-21 22:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 22:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388809190144999424,"km_value":388809190144999.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 22:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8765271488390004736,"description":"Unknown IO ID 45"} 
[2026-08-21 22:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557321472001,"power":27321,"unknown_89":206,"unknown_85":14592,"ignition":36,"odometer":null,"unknown_45":-8765271488390004736}} 
[2026-08-21 22:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 22:59:39] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-21 22:59:39] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:00:10] local.INFO: TCP Data received {"connection_id":161967,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255dee60012d863a00058ee9b0000b01522a..."} 
[2026-08-21 23:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255dee60012d863a00058ee9b0000b01522a..."} 
[2026-08-21 23:00:11] local.INFO: Processing buffer {"connection_id":161967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255dee60012d863a00058ee9b0000b01522a..."} 
[2026-08-21 23:00:11] local.INFO: Packet analysis {"connection_id":161967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 23:00:11] local.INFO: Extracted packet for processing {"connection_id":161967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255d"} 
[2026-08-21 23:00:11] local.INFO: GPS Element Parsed {"raw_longitude":763771392,"raw_latitude":93252016,"longitude_deg":76.3771392,"latitude_deg":9.3252016,"altitude":11,"angle":338,"satellites":42,"speed":38,"hex_longitude":"2d863a00","hex_latitude":"058ee9b0","is_valid_coordinates":true} 
[2026-08-21 23:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557324288001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388809649706500096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8770338037968685056,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787333308000,"timestamp_ms":1787333308000,"timestamp_seconds":1787333308,"priority":1,"record_length":96,"hex_timestamp":"000001a0255dee60"} 
[2026-08-21 23:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 23:00: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-08-21 23:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557324288001,"66":27180,"172":206,"85":14592,"24":38,"16":388809649706500096,"45":-8770338037968685056},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-21 23:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557324288001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:00:11] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-21 23:00:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388809649706500096,"km_value":388809649706500.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8770338037968685056,"description":"Unknown IO ID 45"} 
[2026-08-21 23:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557324288001,"power":27180,"unknown_172":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8770338037968685056}} 
[2026-08-21 23:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":161967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:00:11] local.INFO: GPS data processed {"connection_id":161967,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:00:11] local.INFO: Acknowledgment sent {"connection_id":161967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:00:29] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:00:29] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:00:29] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:00:33] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:00:33] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:00:33] local.INFO: IMEI packet received {"connection_id":160575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":160575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:00:34] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255e1570012d862d40058f0c90000c01552b..."} 
[2026-08-21 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255e1570012d862d40058f0c90000c01552b..."} 
[2026-08-21 23:00:34] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255e1570012d862d40058f0c90000c01552b..."} 
[2026-08-21 23:00:34] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255e"} 
[2026-08-21 23:00:34] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255e"} 
[2026-08-21 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763768128,"raw_latitude":93260944,"longitude_deg":76.3768128,"latitude_deg":9.3260944,"altitude":12,"angle":341,"satellites":43,"speed":38,"hex_longitude":"2d862d40","hex_latitude":"058f0c90","is_valid_coordinates":true} 
[2026-08-21 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557326848001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388810109268000768,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8774700900105474048,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787333318000,"timestamp_ms":1787333318000,"timestamp_seconds":1787333318,"priority":1,"record_length":96,"hex_timestamp":"000001a0255e1570"} 
[2026-08-21 23:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-08-21 23:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557326848001,"66":27376,"172":206,"85":14592,"24":38,"16":388810109268000768,"45":-8774700900105474048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557326848001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388810109268000768,"km_value":388810109268000.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8774700900105474048,"description":"Unknown IO ID 45"} 
[2026-08-21 23:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557326848001,"power":27376,"unknown_172":206,"unknown_85":14592,"ignition":38,"odometer":null,"unknown_45":-8774700900105474048}} 
[2026-08-21 23:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:00:34] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:00:34] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:00:34] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255e3c80012d862300058f2ea0000c01582b..."} 
[2026-08-21 23:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255e3c80012d862300058f2ea0000c01582b..."} 
[2026-08-21 23:00:34] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255e3c80012d862300058f2ea0000c01582b..."} 
[2026-08-21 23:00:34] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255e"} 
[2026-08-21 23:00:34] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255e"} 
[2026-08-21 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":763765504,"raw_latitude":93269664,"longitude_deg":76.3765504,"latitude_deg":9.3269664,"altitude":12,"angle":344,"satellites":43,"speed":34,"hex_longitude":"2d862300","hex_latitude":"058f2ea0","is_valid_coordinates":true} 
[2026-08-21 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557329408001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388810551649632256,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8778289706056249344,"note":"Value kept but may cause issues"} 
[2026-08-21 23:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787333328000,"timestamp_ms":1787333328000,"timestamp_seconds":1787333328,"priority":1,"record_length":96,"hex_timestamp":"000001a0255e3c80"} 
[2026-08-21 23:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 23:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557329408001,"66":27267,"172":206,"85":14592,"24":34,"16":388810551649632256,"45":-8778289706056249344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-21 23:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557329408001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388810551649632256,"km_value":388810551649632.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8778289706056249344,"description":"Unknown IO ID 45"} 
[2026-08-21 23:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557329408001,"power":27267,"unknown_172":206,"unknown_85":14592,"ignition":34,"odometer":null,"unknown_45":-8778289706056249344}} 
[2026-08-21 23:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:00:34] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:00:34] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:01:06] local.INFO: TCP Data received {"connection_id":160575,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255e6390012d861840058f4fd8001001572a..."} 
[2026-08-21 23:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255e6390012d861840058f4fd8001001572a..."} 
[2026-08-21 23:01:06] local.INFO: Processing buffer {"connection_id":160575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255e6390012d861840058f4fd8001001572a..."} 
[2026-08-21 23:01:06] local.INFO: Packet analysis {"connection_id":160575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255e"} 
[2026-08-21 23:01:06] local.INFO: Extracted packet for processing {"connection_id":160575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255e"} 
[2026-08-21 23:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763762752,"raw_latitude":93278168,"longitude_deg":76.3762752,"latitude_deg":9.3278168,"altitude":16,"angle":343,"satellites":42,"speed":35,"hex_longitude":"2d861840","hex_latitude":"058f4fd8","is_valid_coordinates":true} 
[2026-08-21 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557331968001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388810985441329152,"note":"Value kept but may cause issues"} 
[2026-08-21 23:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8781174824565301248,"note":"Value kept but may cause issues"} 
[2026-08-21 23:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787333338000,"timestamp_ms":1787333338000,"timestamp_seconds":1787333338,"priority":1,"record_length":96,"hex_timestamp":"000001a0255e6390"} 
[2026-08-21 23:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:01: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-08-21 23:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557331968001,"66":27180,"172":206,"85":14592,"24":35,"16":388810985441329152,"45":-8781174824565301248},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,85,24,16,45]} 
[2026-08-21 23:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557331968001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:01:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-08-21 23:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388810985441329152,"km_value":388810985441329.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8781174824565301248,"description":"Unknown IO ID 45"} 
[2026-08-21 23:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557331968001,"power":27180,"unknown_172":206,"unknown_85":14592,"ignition":35,"odometer":null,"unknown_45":-8781174824565301248}} 
[2026-08-21 23:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":160575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:01:06] local.INFO: GPS data processed {"connection_id":160575,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:01:06] local.INFO: Acknowledgment sent {"connection_id":160575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:01:37] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:37] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:37] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:01:39] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:39] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:39] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:01:43] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:43] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:01:43] local.INFO: IMEI packet received {"connection_id":161968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":161968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:01:44] local.INFO: TCP Data received {"connection_id":161968,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0255fcaf0012d857b800590b630000d01542a..."} 
[2026-08-21 23:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0255fcaf0012d857b800590b630000d01542a..."} 
[2026-08-21 23:01:44] local.INFO: Processing buffer {"connection_id":161968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0255fcaf0012d857b800590b630000d01542a..."} 
[2026-08-21 23:01:44] local.INFO: Packet analysis {"connection_id":161968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0255f"} 
[2026-08-21 23:01:44] local.INFO: Extracted packet for processing {"connection_id":161968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0255f"} 
[2026-08-21 23:01:44] local.INFO: GPS Element Parsed {"raw_longitude":763722624,"raw_latitude":93369904,"longitude_deg":76.3722624,"latitude_deg":9.3369904,"altitude":13,"angle":340,"satellites":42,"speed":55,"hex_longitude":"2d857b80","hex_latitude":"0590b630","is_valid_coordinates":true} 
[2026-08-21 23:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557356288001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388815838754373632,"note":"Value kept but may cause issues"} 
[2026-08-21 23:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8824592339699712000,"note":"Value kept but may cause issues"} 
[2026-08-21 23:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787333430000,"timestamp_ms":1787333430000,"timestamp_seconds":1787333430,"priority":1,"record_length":96,"hex_timestamp":"000001a0255fcaf0"} 
[2026-08-21 23:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557356288001,"66":27300,"173":206,"85":14592,"24":55,"16":388815838754373632,"45":-8824592339699712000},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,85,24,16,45]} 
[2026-08-21 23:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557356288001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:01:44] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-08-21 23:01:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388815838754373632,"km_value":388815838754373.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8824592339699712000,"description":"Unknown IO ID 45"} 
[2026-08-21 23:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557356288001,"power":27300,"unknown_173":206,"unknown_85":14592,"ignition":55,"odometer":null,"unknown_45":-8824592339699712000}} 
[2026-08-21 23:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":161968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:01:44] local.INFO: GPS data processed {"connection_id":161968,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:01:44] local.INFO: Acknowledgment sent {"connection_id":161968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:02:29] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:29] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:29] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:02:32] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:32] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:32] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:02:34] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:34] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:02:34] local.INFO: IMEI packet received {"connection_id":161969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":161969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:02:35] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02560e048012d84e24005922408000c01522a..."} 
[2026-08-21 23:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02560e048012d84e24005922408000c01522a..."} 
[2026-08-21 23:02:35] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02560e048012d84e24005922408000c01522a..."} 
[2026-08-21 23:02:35] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02560"} 
[2026-08-21 23:02:35] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02560"} 
[2026-08-21 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":763683392,"raw_latitude":93463560,"longitude_deg":76.3683392,"latitude_deg":9.346356,"altitude":12,"angle":338,"satellites":42,"speed":59,"hex_longitude":"2d84e240","hex_latitude":"05922408","is_valid_coordinates":true} 
[2026-08-21 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557374720001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388820756491927552,"note":"Value kept but may cause issues"} 
[2026-08-21 23:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8867658011112140800,"note":"Value kept but may cause issues"} 
[2026-08-21 23:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787333501000,"timestamp_ms":1787333501000,"timestamp_seconds":1787333501,"priority":1,"record_length":96,"hex_timestamp":"000001a02560e048"} 
[2026-08-21 23:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557374720001,"66":27376,"148":206,"85":14592,"24":59,"16":388820756491927552,"45":-8867658011112140800},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 23:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557374720001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388820756491927552,"km_value":388820756491927.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8867658011112140800,"description":"Unknown IO ID 45"} 
[2026-08-21 23:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557374720001,"power":27376,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8867658011112140800}} 
[2026-08-21 23:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:02:35] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:02:35] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:02:38] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02560f7b8012d84d600059244c0000c01542a..."} 
[2026-08-21 23:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02560f7b8012d84d600059244c0000c01542a..."} 
[2026-08-21 23:02:38] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02560f7b8012d84d600059244c0000c01542a..."} 
[2026-08-21 23:02:38] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02560"} 
[2026-08-21 23:02:38] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02560"} 
[2026-08-21 23:02:38] local.INFO: GPS Element Parsed {"raw_longitude":763680256,"raw_latitude":93471936,"longitude_deg":76.3680256,"latitude_deg":9.3471936,"altitude":12,"angle":340,"satellites":42,"speed":59,"hex_longitude":"2d84d600","hex_latitude":"059244c0","is_valid_coordinates":true} 
[2026-08-21 23:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557376256001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388821185988657152,"note":"Value kept but may cause issues"} 
[2026-08-21 23:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8871457923295606784,"note":"Value kept but may cause issues"} 
[2026-08-21 23:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1787333507000,"timestamp_ms":1787333507000,"timestamp_seconds":1787333507,"priority":1,"record_length":96,"hex_timestamp":"000001a02560f7b8"} 
[2026-08-21 23:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:02:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 23:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:02:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557376256001,"66":27332,"148":206,"85":14592,"24":59,"16":388821185988657152,"45":-8871457923295606784},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 23:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557376256001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:02:38] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 23:02:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388821185988657152,"km_value":388821185988657.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8871457923295606784,"description":"Unknown IO ID 45"} 
[2026-08-21 23:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557376256001,"power":27332,"unknown_148":206,"unknown_85":14592,"ignition":59,"odometer":null,"unknown_45":-8871457923295606784}} 
[2026-08-21 23:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:02:38] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:02:38] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:03:11] local.INFO: TCP Data received {"connection_id":161969,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025610f28012d84c9c005926540000b015229..."} 
[2026-08-21 23:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025610f28012d84c9c005926540000b015229..."} 
[2026-08-21 23:03:11] local.INFO: Processing buffer {"connection_id":161969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025610f28012d84c9c005926540000b015229..."} 
[2026-08-21 23:03:11] local.INFO: Packet analysis {"connection_id":161969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:03:11] local.INFO: Extracted packet for processing {"connection_id":161969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:03:11] local.INFO: GPS Element Parsed {"raw_longitude":763677120,"raw_latitude":93480256,"longitude_deg":76.367712,"latitude_deg":9.3480256,"altitude":11,"angle":338,"satellites":41,"speed":60,"hex_longitude":"2d84c9c0","hex_latitude":"05926540","is_valid_coordinates":true} 
[2026-08-21 23:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557377792001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388821619780354048,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8874905991758168064,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787333513000,"timestamp_ms":1787333513000,"timestamp_seconds":1787333513,"priority":1,"record_length":96,"hex_timestamp":"000001a025610f28"} 
[2026-08-21 23:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557377792001,"66":27267,"148":206,"85":14592,"24":60,"16":388821619780354048,"45":-8874905991758168064},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 23:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557377792001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:03:11] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 23:03:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388821619780354048,"km_value":388821619780354.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8874905991758168064,"description":"Unknown IO ID 45"} 
[2026-08-21 23:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557377792001,"power":27267,"unknown_148":206,"unknown_85":14592,"ignition":60,"odometer":null,"unknown_45":-8874905991758168064}} 
[2026-08-21 23:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":161969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:03:11] local.INFO: GPS data processed {"connection_id":161969,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:03:11] local.INFO: Acknowledgment sent {"connection_id":161969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:03:29] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:29] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:29] local.INFO: IMEI packet received {"connection_id":160576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":160576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:03:32] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:32] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:32] local.INFO: IMEI packet received {"connection_id":160576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":160576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:03:34] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:34] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:03:34] local.INFO: IMEI packet received {"connection_id":160576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":160576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:03:35] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025612a80012d84bac005928ac0000b01512a..."} 
[2026-08-21 23:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025612a80012d84bac005928ac0000b01512a..."} 
[2026-08-21 23:03:35] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025612a80012d84bac005928ac0000b01512a..."} 
[2026-08-21 23:03:35] local.INFO: Packet analysis {"connection_id":160576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:03:35] local.INFO: Extracted packet for processing {"connection_id":160576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:03:35] local.INFO: GPS Element Parsed {"raw_longitude":763673280,"raw_latitude":93489856,"longitude_deg":76.367328,"latitude_deg":9.3489856,"altitude":11,"angle":337,"satellites":42,"speed":58,"hex_longitude":"2d84bac0","hex_latitude":"05928ac0","is_valid_coordinates":true} 
[2026-08-21 23:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557379328001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388822117996560384,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8878354060220743680,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787333520000,"timestamp_ms":1787333520000,"timestamp_seconds":1787333520,"priority":1,"record_length":96,"hex_timestamp":"000001a025612a80"} 
[2026-08-21 23:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:03:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:03:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557379328001,"66":27376,"148":206,"85":14592,"24":58,"16":388822117996560384,"45":-8878354060220743680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 23:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557379328001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388822117996560384,"km_value":388822117996560.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8878354060220743680,"description":"Unknown IO ID 45"} 
[2026-08-21 23:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557379328001,"power":27376,"unknown_148":206,"unknown_85":14592,"ignition":58,"odometer":null,"unknown_45":-8878354060220743680}} 
[2026-08-21 23:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":160576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:03:35] local.INFO: GPS data processed {"connection_id":160576,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:03:35] local.INFO: Acknowledgment sent {"connection_id":160576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:03:47] local.INFO: TCP Data received {"connection_id":160576,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256145d8012d84ab400592ae90000c014e2b..."} 
[2026-08-21 23:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256145d8012d84ab400592ae90000c014e2b..."} 
[2026-08-21 23:03:47] local.INFO: Processing buffer {"connection_id":160576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256145d8012d84ab400592ae90000c014e2b..."} 
[2026-08-21 23:03:47] local.INFO: Packet analysis {"connection_id":160576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:03:47] local.INFO: Extracted packet for processing {"connection_id":160576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:03:47] local.INFO: GPS Element Parsed {"raw_longitude":763669312,"raw_latitude":93499024,"longitude_deg":76.3669312,"latitude_deg":9.3499024,"altitude":12,"angle":334,"satellites":43,"speed":54,"hex_longitude":"2d84ab40","hex_latitude":"0592ae90","is_valid_coordinates":true} 
[2026-08-21 23:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557381120001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388822603327864832,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8882576184868945920,"note":"Value kept but may cause issues"} 
[2026-08-21 23:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1787333527000,"timestamp_ms":1787333527000,"timestamp_seconds":1787333527,"priority":1,"record_length":96,"hex_timestamp":"000001a0256145d8"} 
[2026-08-21 23:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 23:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":160576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":160576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557381120001,"66":27343,"148":206,"85":14592,"24":54,"16":388822603327864832,"45":-8882576184868945920},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 23:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557381120001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:03:47] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 23:03:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388822603327864832,"km_value":388822603327864.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8882576184868945920,"description":"Unknown IO ID 45"} 
[2026-08-21 23:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557381120001,"power":27343,"unknown_148":206,"unknown_85":14592,"ignition":54,"odometer":null,"unknown_45":-8882576184868945920}} 
[2026-08-21 23:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":160576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:03:47] local.INFO: GPS data processed {"connection_id":160576,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:03:47] local.INFO: Acknowledgment sent {"connection_id":160576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:04:29] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:04:29] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:04:29] local.INFO: IMEI packet received {"connection_id":159379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":159379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:04:34] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:04:34] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:04:34] local.INFO: IMEI packet received {"connection_id":159379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":159379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:04:35] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025616ce8012d849a400592ce90000e01452d..."} 
[2026-08-21 23:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025616ce8012d849a400592ce90000e01452d..."} 
[2026-08-21 23:04:35] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025616ce8012d849a400592ce90000e01452d..."} 
[2026-08-21 23:04:35] local.INFO: Packet analysis {"connection_id":159379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:04:35] local.INFO: Extracted packet for processing {"connection_id":159379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02561"} 
[2026-08-21 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":763664960,"raw_latitude":93507216,"longitude_deg":76.366496,"latitude_deg":9.3507216,"altitude":14,"angle":325,"satellites":45,"speed":26,"hex_longitude":"2d849a40","hex_latitude":"0592ce90","is_valid_coordinates":true} 
[2026-08-21 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557382912001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388823050004463616,"note":"Value kept but may cause issues"} 
[2026-08-21 23:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8886939047005614080,"note":"Value kept but may cause issues"} 
[2026-08-21 23:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,148,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787333537000,"timestamp_ms":1787333537000,"timestamp_seconds":1787333537,"priority":1,"record_length":96,"hex_timestamp":"000001a025616ce8"} 
[2026-08-21 23:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:04:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557382912001,"66":27310,"148":206,"85":14592,"24":26,"16":388823050004463616,"45":-8886939047005614080},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,148,85,24,16,45]} 
[2026-08-21 23:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557382912001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":148,"value":206,"description":"Unknown IO ID 148"} 
[2026-08-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388823050004463616,"km_value":388823050004463.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8886939047005614080,"description":"Unknown IO ID 45"} 
[2026-08-21 23:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557382912001,"power":27310,"unknown_148":206,"unknown_85":14592,"ignition":26,"odometer":null,"unknown_45":-8886939047005614080}} 
[2026-08-21 23:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":159379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:04:35] local.INFO: GPS data processed {"connection_id":159379,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:04:35] local.INFO: Acknowledgment sent {"connection_id":159379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:05:06] local.INFO: TCP Data received {"connection_id":159379,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256312c8012d842380059445d00008015c2c..."} 
[2026-08-21 23:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256312c8012d842380059445d00008015c2c..."} 
[2026-08-21 23:05:06] local.INFO: Processing buffer {"connection_id":159379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256312c8012d842380059445d00008015c2c..."} 
[2026-08-21 23:05:06] local.INFO: Packet analysis {"connection_id":159379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:05:06] local.INFO: Extracted packet for processing {"connection_id":159379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:05:06] local.INFO: GPS Element Parsed {"raw_longitude":763634560,"raw_latitude":93603280,"longitude_deg":76.363456,"latitude_deg":9.360328,"altitude":8,"angle":348,"satellites":44,"speed":43,"hex_longitude":"2d842380","hex_latitude":"059445d0","is_valid_coordinates":true} 
[2026-08-21 23:05:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557410816001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388827972036984832,"note":"Value kept but may cause issues"} 
[2026-08-21 23:05:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8923319687721132032,"note":"Value kept but may cause issues"} 
[2026-08-21 23:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787333645000,"timestamp_ms":1787333645000,"timestamp_seconds":1787333645,"priority":1,"record_length":96,"hex_timestamp":"000001a0256312c8"} 
[2026-08-21 23:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:05:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:05:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:05:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557410816001,"66":27321,"217":206,"85":14592,"24":43,"16":388827972036984832,"45":-8923319687721132032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-21 23:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557410816001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388827972036984832,"km_value":388827972036984.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:05:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8923319687721132032,"description":"Unknown IO ID 45"} 
[2026-08-21 23:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557410816001,"power":27321,"unknown_217":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8923319687721132032}} 
[2026-08-21 23:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":159379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:05:06] local.INFO: GPS data processed {"connection_id":159379,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:05:06] local.INFO: Acknowledgment sent {"connection_id":159379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:05:34] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:34] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:34] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:05:35] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:35] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:35] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:05:39] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:39] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:05:39] local.INFO: IMEI packet received {"connection_id":161970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:05:39] local.INFO: IMEI acknowledgment sent {"connection_id":161970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:05:40] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256335f0012d841a4005946b90000901582b..."} 
[2026-08-21 23:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256335f0012d841a4005946b90000901582b..."} 
[2026-08-21 23:05:40] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256335f0012d841a4005946b90000901582b..."} 
[2026-08-21 23:05:40] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:05:40] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:05:40] local.INFO: GPS Element Parsed {"raw_longitude":763632192,"raw_latitude":93612944,"longitude_deg":76.3632192,"latitude_deg":9.3612944,"altitude":9,"angle":344,"satellites":43,"speed":44,"hex_longitude":"2d841a40","hex_latitude":"05946b90","is_valid_coordinates":true} 
[2026-08-21 23:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557413120001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388828457368289280,"note":"Value kept but may cause issues"} 
[2026-08-21 23:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8925149275067396096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787333654000,"timestamp_ms":1787333654000,"timestamp_seconds":1787333654,"priority":1,"record_length":96,"hex_timestamp":"000001a0256335f0"} 
[2026-08-21 23:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 23:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557413120001,"66":27050,"217":206,"85":14592,"24":44,"16":388828457368289280,"45":-8925149275067396096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,85,24,16,45]} 
[2026-08-21 23:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557413120001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:05:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-08-21 23:05:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388828457368289280,"km_value":388828457368289.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8925149275067396096,"description":"Unknown IO ID 45"} 
[2026-08-21 23:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557413120001,"power":27050,"unknown_217":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8925149275067396096}} 
[2026-08-21 23:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:05:40] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:05:40] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:06:11] local.INFO: TCP Data received {"connection_id":161970,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025635918012d840f4005949100000901562b..."} 
[2026-08-21 23:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025635918012d840f4005949100000901562b..."} 
[2026-08-21 23:06:11] local.INFO: Processing buffer {"connection_id":161970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025635918012d840f4005949100000901562b..."} 
[2026-08-21 23:06:11] local.INFO: Packet analysis {"connection_id":161970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:06:11] local.INFO: Extracted packet for processing {"connection_id":161970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763629376,"raw_latitude":93622528,"longitude_deg":76.3629376,"latitude_deg":9.3622528,"altitude":9,"angle":342,"satellites":43,"speed":44,"hex_longitude":"2d840f40","hex_latitude":"05949100","is_valid_coordinates":true} 
[2026-08-21 23:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557415424001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388828938404626432,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8927752918599495680,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787333663000,"timestamp_ms":1787333663000,"timestamp_seconds":1787333663,"priority":1,"record_length":96,"hex_timestamp":"000001a025635918"} 
[2026-08-21 23:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-21 23:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":161970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":161970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557415424001,"66":27267,"142":206,"85":14592,"24":44,"16":388828938404626432,"45":-8927752918599495680},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-21 23:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557415424001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:06:11] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-21 23:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388828938404626432,"km_value":388828938404626.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8927752918599495680,"description":"Unknown IO ID 45"} 
[2026-08-21 23:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557415424001,"power":27267,"unknown_142":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8927752918599495680}} 
[2026-08-21 23:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":161970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:06:11] local.INFO: GPS data processed {"connection_id":161970,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:06:11] local.INFO: Acknowledgment sent {"connection_id":161970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:06:27] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:27] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:27] local.INFO: IMEI packet received {"connection_id":159380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":159380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:06:34] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:34] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:34] local.INFO: IMEI packet received {"connection_id":159380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":159380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:06:35] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:35] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:06:35] local.INFO: IMEI packet received {"connection_id":159380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":159380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:06:36] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025637858012d8403400594b250000901522c..."} 
[2026-08-21 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025637858012d8403400594b250000901522c..."} 
[2026-08-21 23:06:36] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025637858012d8403400594b250000901522c..."} 
[2026-08-21 23:06:36] local.INFO: Packet analysis {"connection_id":159380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:06:36] local.INFO: Extracted packet for processing {"connection_id":159380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763626304,"raw_latitude":93631056,"longitude_deg":76.3626304,"latitude_deg":9.3631056,"altitude":9,"angle":338,"satellites":44,"speed":44,"hex_longitude":"2d840340","hex_latitude":"0594b250","is_valid_coordinates":true} 
[2026-08-21 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557417728001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388829380786257920,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8930849143340859392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787333671000,"timestamp_ms":1787333671000,"timestamp_seconds":1787333671,"priority":1,"record_length":96,"hex_timestamp":"000001a025637858"} 
[2026-08-21 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557417728001,"66":27234,"142":206,"85":14592,"24":44,"16":388829380786257920,"45":-8930849143340859392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557417728001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388829380786257920,"km_value":388829380786257.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8930849143340859392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557417728001,"power":27234,"unknown_142":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8930849143340859392}} 
[2026-08-21 23:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":159380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:06:36] local.INFO: GPS data processed {"connection_id":159380,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:06:36] local.INFO: Acknowledgment sent {"connection_id":159380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:06:36] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025639798012d83f6000594d2d8000901512a..."} 
[2026-08-21 23:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025639798012d83f6000594d2d8000901512a..."} 
[2026-08-21 23:06:36] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025639798012d83f6000594d2d8000901512a..."} 
[2026-08-21 23:06:36] local.INFO: Packet analysis {"connection_id":159380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:06:36] local.INFO: Extracted packet for processing {"connection_id":159380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":763622912,"raw_latitude":93639384,"longitude_deg":76.3622912,"latitude_deg":9.3639384,"altitude":9,"angle":337,"satellites":42,"speed":44,"hex_longitude":"2d83f600","hex_latitude":"0594d2d8","is_valid_coordinates":true} 
[2026-08-21 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557419776001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388829814577954816,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8934226843059204096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:06:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1787333679000,"timestamp_ms":1787333679000,"timestamp_seconds":1787333679,"priority":1,"record_length":96,"hex_timestamp":"000001a025639798"} 
[2026-08-21 23:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:06:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:06:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":159380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":159380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":159380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557419776001,"66":27082,"142":206,"85":14592,"24":44,"16":388829814577954816,"45":-8934226843059204096},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-21 23:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557419776001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388829814577954816,"km_value":388829814577954.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8934226843059204096,"description":"Unknown IO ID 45"} 
[2026-08-21 23:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557419776001,"power":27082,"unknown_142":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-8934226843059204096}} 
[2026-08-21 23:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":159380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:06:37] local.INFO: GPS data processed {"connection_id":159380,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:06:37] local.INFO: Acknowledgment sent {"connection_id":159380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:07:08] local.INFO: TCP Data received {"connection_id":159380,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02563b6d8012d83e9000594f398000a01552a..."} 
[2026-08-21 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02563b6d8012d83e9000594f398000a01552a..."} 
[2026-08-21 23:07:08] local.INFO: Processing buffer {"connection_id":159380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02563b6d8012d83e9000594f398000a01552a..."} 
[2026-08-21 23:07:08] local.INFO: Packet analysis {"connection_id":159380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:07:08] local.INFO: Extracted packet for processing {"connection_id":159380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02563"} 
[2026-08-21 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":763619584,"raw_latitude":93647768,"longitude_deg":76.3619584,"latitude_deg":9.3647768,"altitude":10,"angle":341,"satellites":42,"speed":43,"hex_longitude":"2d83e900","hex_latitude":"0594f398","is_valid_coordinates":true} 
[2026-08-21 23:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557421824001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388830248369651712,"note":"Value kept but may cause issues"} 
[2026-08-21 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8937956386498488320,"note":"Value kept but may cause issues"} 
[2026-08-21 23:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787333687000,"timestamp_ms":1787333687000,"timestamp_seconds":1787333687,"priority":1,"record_length":96,"hex_timestamp":"000001a02563b6d8"} 
[2026-08-21 23:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 23:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557421824001,"66":27321,"142":206,"85":14592,"24":43,"16":388830248369651712,"45":-8937956386498488320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,45]} 
[2026-08-21 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557421824001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-08-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388830248369651712,"km_value":388830248369651.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8937956386498488320,"description":"Unknown IO ID 45"} 
[2026-08-21 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557421824001,"power":27321,"unknown_142":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8937956386498488320}} 
[2026-08-21 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":159380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:07:08] local.INFO: GPS data processed {"connection_id":159380,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:07:08] local.INFO: Acknowledgment sent {"connection_id":159380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:07:29] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:29] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:29] local.INFO: IMEI packet received {"connection_id":159658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":159658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:07:29] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:29] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:29] local.INFO: IMEI packet received {"connection_id":159658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":159658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:07:34] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:34] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:07:34] local.INFO: IMEI packet received {"connection_id":159658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":159658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:07:35] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256531c0012d836cc0059675e8000901572b..."} 
[2026-08-21 23:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256531c0012d836cc0059675e8000901572b..."} 
[2026-08-21 23:07:35] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256531c0012d836cc0059675e8000901572b..."} 
[2026-08-21 23:07:35] local.INFO: Packet analysis {"connection_id":159658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:07:35] local.INFO: Extracted packet for processing {"connection_id":159658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":763587776,"raw_latitude":93746664,"longitude_deg":76.3587776,"latitude_deg":9.3746664,"altitude":9,"angle":343,"satellites":43,"speed":43,"hex_longitude":"2d836cc0","hex_latitude":"059675e8","is_valid_coordinates":true} 
[2026-08-21 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:07:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557446400001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:07:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388835290661257216,"note":"Value kept but may cause issues"} 
[2026-08-21 23:07:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8973703708515698688,"note":"Value kept but may cause issues"} 
[2026-08-21 23:07:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:07:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787333784000,"timestamp_ms":1787333784000,"timestamp_seconds":1787333784,"priority":1,"record_length":96,"hex_timestamp":"000001a0256531c0"} 
[2026-08-21 23:07:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:07:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:07:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:07:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:07:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:07:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:07:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:07:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:07:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:07:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:07:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:07:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:07:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:07:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557446400001,"66":27332,"21":206,"85":14592,"24":43,"16":388835290661257216,"45":-8973703708515698688},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,85,24,16,45]} 
[2026-08-21 23:07:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:07:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557446400001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-08-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:07:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388835290661257216,"km_value":388835290661257.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:07:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8973703708515698688,"description":"Unknown IO ID 45"} 
[2026-08-21 23:07:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557446400001,"power":27332,"unknown_21":206,"unknown_85":14592,"ignition":43,"odometer":null,"unknown_45":-8973703708515698688}} 
[2026-08-21 23:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":159658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:07:35] local.INFO: GPS data processed {"connection_id":159658,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:07:35] local.INFO: Acknowledgment sent {"connection_id":159658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:08:07] local.INFO: TCP Data received {"connection_id":159658,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256554e8012d835fc005969990000701522b..."} 
[2026-08-21 23:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256554e8012d835fc005969990000701522b..."} 
[2026-08-21 23:08:07] local.INFO: Processing buffer {"connection_id":159658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256554e8012d835fc005969990000701522b..."} 
[2026-08-21 23:08:07] local.INFO: Packet analysis {"connection_id":159658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:08:07] local.INFO: Extracted packet for processing {"connection_id":159658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763584448,"raw_latitude":93755792,"longitude_deg":76.3584448,"latitude_deg":9.3755792,"altitude":7,"angle":338,"satellites":43,"speed":41,"hex_longitude":"2d835fc0","hex_latitude":"05969990","is_valid_coordinates":true} 
[2026-08-21 23:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557448704001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388835758812692480,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8976588827024562176,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787333793000,"timestamp_ms":1787333793000,"timestamp_seconds":1787333793,"priority":1,"record_length":96,"hex_timestamp":"000001a0256554e8"} 
[2026-08-21 23:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":159658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":159658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":159658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557448704001,"66":27343,"18":206,"85":14592,"24":41,"16":388835758812692480,"45":-8976588827024562176},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 23:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557448704001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:08:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 23:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388835758812692480,"km_value":388835758812692.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8976588827024562176,"description":"Unknown IO ID 45"} 
[2026-08-21 23:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557448704001,"power":27343,"unknown_18":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8976588827024562176}} 
[2026-08-21 23:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":159658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:08:07] local.INFO: GPS data processed {"connection_id":159658,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:08:07] local.INFO: Acknowledgment sent {"connection_id":159658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:08:34] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:34] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:34] local.INFO: IMEI packet received {"connection_id":160577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":160577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:08:35] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:35] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:35] local.INFO: IMEI packet received {"connection_id":160577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":160577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:08:39] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:39] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:08:39] local.INFO: IMEI packet received {"connection_id":160577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":160577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:08:40] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025657810012d8350400596baf80009014e2c..."} 
[2026-08-21 23:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025657810012d8350400596baf80009014e2c..."} 
[2026-08-21 23:08:40] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025657810012d8350400596baf80009014e2c..."} 
[2026-08-21 23:08:40] local.INFO: Packet analysis {"connection_id":160577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:08:40] local.INFO: Extracted packet for processing {"connection_id":160577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:08:40] local.INFO: GPS Element Parsed {"raw_longitude":763580480,"raw_latitude":93764344,"longitude_deg":76.358048,"latitude_deg":9.3764344,"altitude":9,"angle":334,"satellites":44,"speed":40,"hex_longitude":"2d835040","hex_latitude":"0596baf8","is_valid_coordinates":true} 
[2026-08-21 23:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557451008001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388836214079225856,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8980248001719463936,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787333802000,"timestamp_ms":1787333802000,"timestamp_seconds":1787333802,"priority":1,"record_length":96,"hex_timestamp":"000001a025657810"} 
[2026-08-21 23:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557451008001,"66":27310,"18":206,"85":14592,"24":40,"16":388836214079225856,"45":-8980248001719463936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 23:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557451008001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:08:40] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 23:08:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388836214079225856,"km_value":388836214079225.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8980248001719463936,"description":"Unknown IO ID 45"} 
[2026-08-21 23:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557451008001,"power":27310,"unknown_18":206,"unknown_85":14592,"ignition":40,"odometer":null,"unknown_45":-8980248001719463936}} 
[2026-08-21 23:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":160577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:08:40] local.INFO: GPS data processed {"connection_id":160577,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:08:40] local.INFO: Acknowledgment sent {"connection_id":160577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:08:44] local.INFO: TCP Data received {"connection_id":160577,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025659b38012d8340c00596dc20000a014e2b..."} 
[2026-08-21 23:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025659b38012d8340c00596dc20000a014e2b..."} 
[2026-08-21 23:08:44] local.INFO: Processing buffer {"connection_id":160577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025659b38012d8340c00596dc20000a014e2b..."} 
[2026-08-21 23:08:44] local.INFO: Packet analysis {"connection_id":160577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:08:44] local.INFO: Extracted packet for processing {"connection_id":160577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:08:44] local.INFO: GPS Element Parsed {"raw_longitude":763576512,"raw_latitude":93772832,"longitude_deg":76.3576512,"latitude_deg":9.3772832,"altitude":10,"angle":334,"satellites":43,"speed":41,"hex_longitude":"2d8340c0","hex_latitude":"0596dc20","is_valid_coordinates":true} 
[2026-08-21 23:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557453312001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388836669345759232,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8984610863856289792,"note":"Value kept but may cause issues"} 
[2026-08-21 23:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787333811000,"timestamp_ms":1787333811000,"timestamp_seconds":1787333811,"priority":1,"record_length":96,"hex_timestamp":"000001a025659b38"} 
[2026-08-21 23:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 23:08:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":160577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":160577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":160577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557453312001,"66":27463,"18":206,"85":14592,"24":41,"16":388836669345759232,"45":-8984610863856289792},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 23:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557453312001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:08:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 23:08:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388836669345759232,"km_value":388836669345759.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8984610863856289792,"description":"Unknown IO ID 45"} 
[2026-08-21 23:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557453312001,"power":27463,"unknown_18":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8984610863856289792}} 
[2026-08-21 23:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":160577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:08:44] local.INFO: GPS data processed {"connection_id":160577,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:08:44] local.INFO: Acknowledgment sent {"connection_id":160577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:09:25] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:25] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:25] local.INFO: IMEI packet received {"connection_id":160578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":160578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:09:29] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:29] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:29] local.INFO: IMEI packet received {"connection_id":160578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":160578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:09:34] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:34] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:09:34] local.INFO: IMEI packet received {"connection_id":160578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":160578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:09:35] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02565be60012d8331000596fe18000b014e2a..."} 
[2026-08-21 23:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02565be60012d8331000596fe18000b014e2a..."} 
[2026-08-21 23:09:35] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02565be60012d8331000596fe18000b014e2a..."} 
[2026-08-21 23:09:35] local.INFO: Packet analysis {"connection_id":160578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:09:35] local.INFO: Extracted packet for processing {"connection_id":160578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02565"} 
[2026-08-21 23:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763572480,"raw_latitude":93781528,"longitude_deg":76.357248,"latitude_deg":9.3781528,"altitude":11,"angle":334,"satellites":42,"speed":41,"hex_longitude":"2d833100","hex_latitude":"0596fe18","is_valid_coordinates":true} 
[2026-08-21 23:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557455616001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388837133202227200,"note":"Value kept but may cause issues"} 
[2026-08-21 23:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8988973725993132032,"note":"Value kept but may cause issues"} 
[2026-08-21 23:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787333820000,"timestamp_ms":1787333820000,"timestamp_seconds":1787333820,"priority":1,"record_length":96,"hex_timestamp":"000001a02565be60"} 
[2026-08-21 23:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 23:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557455616001,"66":27343,"18":206,"85":14592,"24":41,"16":388837133202227200,"45":-8988973725993132032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 23:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557455616001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:09:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 23:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388837133202227200,"km_value":388837133202227.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8988973725993132032,"description":"Unknown IO ID 45"} 
[2026-08-21 23:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557455616001,"power":27343,"unknown_18":206,"unknown_85":14592,"ignition":41,"odometer":null,"unknown_45":-8988973725993132032}} 
[2026-08-21 23:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":160578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:09:35] local.INFO: GPS data processed {"connection_id":160578,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:09:35] local.INFO: Acknowledgment sent {"connection_id":160578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:10:07] local.INFO: TCP Data received {"connection_id":160578,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025678380012d829fc005984aa8000e015629..."} 
[2026-08-21 23:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025678380012d829fc005984aa8000e015629..."} 
[2026-08-21 23:10:07] local.INFO: Processing buffer {"connection_id":160578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025678380012d829fc005984aa8000e015629..."} 
[2026-08-21 23:10:07] local.INFO: Packet analysis {"connection_id":160578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02567"} 
[2026-08-21 23:10:07] local.INFO: Extracted packet for processing {"connection_id":160578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02567"} 
[2026-08-21 23:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763535296,"raw_latitude":93866664,"longitude_deg":76.3535296,"latitude_deg":9.3866664,"altitude":14,"angle":342,"satellites":41,"speed":42,"hex_longitude":"2d829fc0","hex_latitude":"05984aa8","is_valid_coordinates":true} 
[2026-08-21 23:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557485312001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388841638622920704,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9029928335082811392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787333936000,"timestamp_ms":1787333936000,"timestamp_seconds":1787333936,"priority":1,"record_length":96,"hex_timestamp":"000001a025678380"} 
[2026-08-21 23:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557485312001,"66":27376,"19":206,"85":14592,"24":42,"16":388841638622920704,"45":-9029928335082811392},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 23:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557485312001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:10:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 23:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388841638622920704,"km_value":388841638622920.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9029928335082811392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557485312001,"power":27376,"unknown_19":206,"unknown_85":14592,"ignition":42,"odometer":null,"unknown_45":-9029928335082811392}} 
[2026-08-21 23:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":160578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:10:07] local.INFO: GPS data processed {"connection_id":160578,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:10:07] local.INFO: Acknowledgment sent {"connection_id":160578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:10:37] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:37] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:37] local.INFO: IMEI packet received {"connection_id":161971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":161971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:10:40] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:40] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:40] local.INFO: IMEI packet received {"connection_id":161971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":161971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:10:44] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:44] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:10:44] local.INFO: IMEI packet received {"connection_id":161971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":161971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:10:44] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025679708012d829b4005985e58000d01612a..."} 
[2026-08-21 23:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025679708012d829b4005985e58000d01612a..."} 
[2026-08-21 23:10:44] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025679708012d829b4005985e58000d01612a..."} 
[2026-08-21 23:10:44] local.INFO: Packet analysis {"connection_id":161971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02567"} 
[2026-08-21 23:10:44] local.INFO: Extracted packet for processing {"connection_id":161971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02567"} 
[2026-08-21 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":763534144,"raw_latitude":93871704,"longitude_deg":76.3534144,"latitude_deg":9.3871704,"altitude":13,"angle":353,"satellites":42,"speed":39,"hex_longitude":"2d829b40","hex_latitude":"05985e58","is_valid_coordinates":true} 
[2026-08-21 23:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557487616001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388841887731023872,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034291197219526656,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1787333941000,"timestamp_ms":1787333941000,"timestamp_seconds":1787333941,"priority":1,"record_length":96,"hex_timestamp":"000001a025679708"} 
[2026-08-21 23:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 23:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":161971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":161971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":161971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557487616001,"66":27267,"19":206,"85":14592,"24":39,"16":388841887731023872,"45":-9034291197219526656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,85,24,16,45]} 
[2026-08-21 23:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557487616001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:10:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-08-21 23:10:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388841887731023872,"km_value":388841887731023.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034291197219526656,"description":"Unknown IO ID 45"} 
[2026-08-21 23:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557487616001,"power":27267,"unknown_19":206,"unknown_85":14592,"ignition":39,"odometer":null,"unknown_45":-9034291197219526656}} 
[2026-08-21 23:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":161971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:10:44] local.INFO: GPS data processed {"connection_id":161971,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:10:44] local.INFO: Acknowledgment sent {"connection_id":161971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:10:46] local.INFO: TCP Data received {"connection_id":161971,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02567cdb8012d82994005988188000c01622e..."} 
[2026-08-21 23:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02567cdb8012d82994005988188000c01622e..."} 
[2026-08-21 23:10:46] local.INFO: Processing buffer {"connection_id":161971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02567cdb8012d82994005988188000c01622e..."} 
[2026-08-21 23:10:46] local.INFO: Packet analysis {"connection_id":161971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02567"} 
[2026-08-21 23:10:46] local.INFO: Extracted packet for processing {"connection_id":161971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02567"} 
[2026-08-21 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":763533632,"raw_latitude":93880712,"longitude_deg":76.3533632,"latitude_deg":9.3880712,"altitude":12,"angle":354,"satellites":46,"speed":17,"hex_longitude":"2d829940","hex_latitude":"05988188","is_valid_coordinates":true} 
[2026-08-21 23:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557488896001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388842325817688064,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035557834613434368,"note":"Value kept but may cause issues"} 
[2026-08-21 23:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1787333955000,"timestamp_ms":1787333955000,"timestamp_seconds":1787333955,"priority":1,"record_length":96,"hex_timestamp":"000001a02567cdb8"} 
[2026-08-21 23:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:10:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":161971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":161971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":161971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557488896001,"66":27332,"18":206,"85":14592,"24":17,"16":388842325817688064,"45":-9035557834613434368},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 23:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557488896001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:10:46] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 23:10:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388842325817688064,"km_value":388842325817688.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:10:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035557834613434368,"description":"Unknown IO ID 45"} 
[2026-08-21 23:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557488896001,"power":27332,"unknown_18":206,"unknown_85":14592,"ignition":17,"odometer":null,"unknown_45":-9035557834613434368}} 
[2026-08-21 23:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":161971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:10:46] local.INFO: GPS data processed {"connection_id":161971,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:10:46] local.INFO: Acknowledgment sent {"connection_id":161971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:11:29] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:29] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:29] local.INFO: IMEI packet received {"connection_id":159381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":159381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:11:34] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:34] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:34] local.INFO: IMEI packet received {"connection_id":159381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:11:34] local.INFO: IMEI acknowledgment sent {"connection_id":159381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:11:36] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:36] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:11:36] local.INFO: IMEI packet received {"connection_id":159381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":159381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:11:37] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025680468012d8295000598a590000d015b2e..."} 
[2026-08-21 23:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025680468012d8295000598a590000d015b2e..."} 
[2026-08-21 23:11:37] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025680468012d8295000598a590000d015b2e..."} 
[2026-08-21 23:11:37] local.INFO: Packet analysis {"connection_id":159381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02568"} 
[2026-08-21 23:11:37] local.INFO: Extracted packet for processing {"connection_id":159381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02568"} 
[2026-08-21 23:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763532544,"raw_latitude":93889936,"longitude_deg":76.3532544,"latitude_deg":9.3889936,"altitude":13,"angle":347,"satellites":46,"speed":32,"hex_longitude":"2d829500","hex_latitude":"0598a590","is_valid_coordinates":true} 
[2026-08-21 23:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557492480001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388842776789254144,"note":"Value kept but may cause issues"} 
[2026-08-21 23:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036120784564549632,"note":"Value kept but may cause issues"} 
[2026-08-21 23:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787333969000,"timestamp_ms":1787333969000,"timestamp_seconds":1787333969,"priority":1,"record_length":96,"hex_timestamp":"000001a025680468"} 
[2026-08-21 23:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:11: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-08-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557492480001,"66":27321,"18":206,"85":14592,"24":32,"16":388842776789254144,"45":-9036120784564549632},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,85,24,16,45]} 
[2026-08-21 23:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557492480001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:11:37] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-08-21 23:11:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388842776789254144,"km_value":388842776789254.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036120784564549632,"description":"Unknown IO ID 45"} 
[2026-08-21 23:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557492480001,"power":27321,"unknown_18":206,"unknown_85":14592,"ignition":32,"odometer":null,"unknown_45":-9036120784564549632}} 
[2026-08-21 23:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":159381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:11:37] local.INFO: GPS data processed {"connection_id":159381,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:11:37] local.INFO: Acknowledgment sent {"connection_id":159381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:12:08] local.INFO: TCP Data received {"connection_id":159381,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025698338012d8285000599f930000901572b..."} 
[2026-08-21 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025698338012d8285000599f930000901572b..."} 
[2026-08-21 23:12:08] local.INFO: Processing buffer {"connection_id":159381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025698338012d8285000599f930000901572b..."} 
[2026-08-21 23:12:08] local.INFO: Packet analysis {"connection_id":159381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02569"} 
[2026-08-21 23:12:08] local.INFO: Extracted packet for processing {"connection_id":159381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02569"} 
[2026-08-21 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":763528448,"raw_latitude":93976880,"longitude_deg":76.3528448,"latitude_deg":9.397688,"altitude":9,"angle":343,"satellites":43,"speed":44,"hex_longitude":"2d828500","hex_latitude":"0599f930","is_valid_coordinates":true} 
[2026-08-21 23:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557518848001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388847106116288512,"note":"Value kept but may cause issues"} 
[2026-08-21 23:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038654059332710400,"note":"Value kept but may cause issues"} 
[2026-08-21 23:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1787334067000,"timestamp_ms":1787334067000,"timestamp_seconds":1787334067,"priority":1,"record_length":96,"hex_timestamp":"000001a025698338"} 
[2026-08-21 23:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":159381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":159381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557518848001,"66":27376,"177":206,"85":14592,"24":44,"16":388847106116288512,"45":-9038654059332710400},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 23:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557518848001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388847106116288512,"km_value":388847106116288.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038654059332710400,"description":"Unknown IO ID 45"} 
[2026-08-21 23:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557518848001,"power":27376,"unknown_177":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-9038654059332710400}} 
[2026-08-21 23:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":159381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:12:08] local.INFO: GPS data processed {"connection_id":159381,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:12:08] local.INFO: Acknowledgment sent {"connection_id":159381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:12:29] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:29] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:29] local.INFO: IMEI packet received {"connection_id":160579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":160579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:12:30] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:30] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:30] local.INFO: IMEI packet received {"connection_id":160579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":160579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:12:34] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:34] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:12:34] local.INFO: IMEI packet received {"connection_id":160579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":160579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:12:45] local.INFO: TCP Data received {"connection_id":160579,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02569a278012d827b80059a1ab8000a01592d..."} 
[2026-08-21 23:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02569a278012d827b80059a1ab8000a01592d..."} 
[2026-08-21 23:12:45] local.INFO: Processing buffer {"connection_id":160579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02569a278012d827b80059a1ab8000a01592d..."} 
[2026-08-21 23:12:45] local.INFO: Packet analysis {"connection_id":160579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02569"} 
[2026-08-21 23:12:45] local.INFO: Extracted packet for processing {"connection_id":160579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02569"} 
[2026-08-21 23:12:45] local.INFO: GPS Element Parsed {"raw_longitude":763526016,"raw_latitude":93985464,"longitude_deg":76.3526016,"latitude_deg":9.3985464,"altitude":10,"angle":345,"satellites":45,"speed":44,"hex_longitude":"2d827b80","hex_latitude":"059a1ab8","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557521152001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388847539907985408,"note":"Value kept but may cause issues"} 
[2026-08-21 23:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041820652818321408,"note":"Value kept but may cause issues"} 
[2026-08-21 23:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787334075000,"timestamp_ms":1787334075000,"timestamp_seconds":1787334075,"priority":1,"record_length":96,"hex_timestamp":"000001a02569a278"} 
[2026-08-21 23:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:12:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 23:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557521152001,"66":27082,"177":206,"85":14592,"24":44,"16":388847539907985408,"45":-9041820652818321408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 23:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557521152001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:12:45] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 23:12:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388847539907985408,"km_value":388847539907985.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041820652818321408,"description":"Unknown IO ID 45"} 
[2026-08-21 23:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557521152001,"power":27082,"unknown_177":206,"unknown_85":14592,"ignition":44,"odometer":null,"unknown_45":-9041820652818321408}} 
[2026-08-21 23:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":160579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:12:45] local.INFO: GPS data processed {"connection_id":160579,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:12:45] local.INFO: Acknowledgment sent {"connection_id":160579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:13:29] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:13:29] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:13:29] local.INFO: IMEI packet received {"connection_id":159382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":159382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:13:34] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:13:34] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:13:34] local.INFO: IMEI packet received {"connection_id":159382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":159382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:13:35] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a02569c1b8012d827180059a3cd8000b01572c..."} 
[2026-08-21 23:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02569c1b8012d827180059a3cd8000b01572c..."} 
[2026-08-21 23:13:35] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02569c1b8012d827180059a3cd8000b01572c..."} 
[2026-08-21 23:13:35] local.INFO: Packet analysis {"connection_id":159382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02569"} 
[2026-08-21 23:13:35] local.INFO: Extracted packet for processing {"connection_id":159382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02569"} 
[2026-08-21 23:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763523456,"raw_latitude":93994200,"longitude_deg":76.3523456,"latitude_deg":9.39942,"altitude":11,"angle":343,"satellites":44,"speed":46,"hex_longitude":"2d827180","hex_latitude":"059a3cd8","is_valid_coordinates":true} 
[2026-08-21 23:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557523200001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388847977994649600,"note":"Value kept but may cause issues"} 
[2026-08-21 23:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044494665094875136,"note":"Value kept but may cause issues"} 
[2026-08-21 23:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787334083000,"timestamp_ms":1787334083000,"timestamp_seconds":1787334083,"priority":1,"record_length":96,"hex_timestamp":"000001a02569c1b8"} 
[2026-08-21 23:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-08-21 23:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2541,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557523200001,"66":27343,"177":206,"85":14592,"24":46,"16":388847977994649600,"45":-9044494665094875136},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 23:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557523200001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:13:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 23:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388847977994649600,"km_value":388847977994649.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044494665094875136,"description":"Unknown IO ID 45"} 
[2026-08-21 23:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557523200001,"power":27343,"unknown_177":206,"unknown_85":14592,"ignition":46,"odometer":null,"unknown_45":-9044494665094875136}} 
[2026-08-21 23:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":159382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:13:35] local.INFO: GPS data processed {"connection_id":159382,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:13:35] local.INFO: Acknowledgment sent {"connection_id":159382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:14:06] local.INFO: TCP Data received {"connection_id":159382,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256b3ca0012d823400059b9ae8000b01612b..."} 
[2026-08-21 23:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256b3ca0012d823400059b9ae8000b01612b..."} 
[2026-08-21 23:14:06] local.INFO: Processing buffer {"connection_id":159382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256b3ca0012d823400059b9ae8000b01612b..."} 
[2026-08-21 23:14:06] local.INFO: Packet analysis {"connection_id":159382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:14:06] local.INFO: Extracted packet for processing {"connection_id":159382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763507712,"raw_latitude":94083816,"longitude_deg":76.3507712,"latitude_deg":9.4083816,"altitude":11,"angle":353,"satellites":43,"speed":25,"hex_longitude":"2d823400","hex_latitude":"059b9ae8","is_valid_coordinates":true} 
[2026-08-21 23:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557546752001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388852401810964480,"note":"Value kept but may cause issues"} 
[2026-08-21 23:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064057175953491968,"note":"Value kept but may cause issues"} 
[2026-08-21 23:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787334180000,"timestamp_ms":1787334180000,"timestamp_seconds":1787334180,"priority":1,"record_length":96,"hex_timestamp":"000001a0256b3ca0"} 
[2026-08-21 23:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557546752001,"66":27365,"179":206,"85":14592,"24":25,"16":388852401810964480,"45":-9064057175953491968},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-21 23:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557546752001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:14:06] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 23:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388852401810964480,"km_value":388852401810964.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064057175953491968,"description":"Unknown IO ID 45"} 
[2026-08-21 23:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557546752001,"power":27365,"unknown_179":206,"unknown_85":14592,"ignition":25,"odometer":null,"unknown_45":-9064057175953491968}} 
[2026-08-21 23:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":159382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:14:06] local.INFO: GPS data processed {"connection_id":159382,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:14:06] local.INFO: Acknowledgment sent {"connection_id":159382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:14:34] local.INFO: TCP Data received {"connection_id":159383,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:14:34] local.INFO: Processing buffer {"connection_id":159383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:14:34] local.INFO: IMEI packet received {"connection_id":159383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":159383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:14:39] local.INFO: TCP Data received {"connection_id":159383,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:14:39] local.INFO: Processing buffer {"connection_id":159383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:14:39] local.INFO: IMEI packet received {"connection_id":159383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:14:39] local.INFO: IMEI acknowledgment sent {"connection_id":159383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:14:42] local.INFO: TCP Data received {"connection_id":159383,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256b7350012d823000059bbfa8000c01612c..."} 
[2026-08-21 23:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256b7350012d823000059bbfa8000c01612c..."} 
[2026-08-21 23:14:42] local.INFO: Processing buffer {"connection_id":159383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256b7350012d823000059bbfa8000c01612c..."} 
[2026-08-21 23:14:42] local.INFO: Packet analysis {"connection_id":159383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:14:42] local.INFO: Extracted packet for processing {"connection_id":159383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:14:42] local.INFO: GPS Element Parsed {"raw_longitude":763506688,"raw_latitude":94093224,"longitude_deg":76.3506688,"latitude_deg":9.4093224,"altitude":12,"angle":353,"satellites":44,"speed":28,"hex_longitude":"2d823000","hex_latitude":"059bbfa8","is_valid_coordinates":true} 
[2026-08-21 23:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557550080001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388852861372465152,"note":"Value kept but may cause issues"} 
[2026-08-21 23:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064620125904508928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787334194000,"timestamp_ms":1787334194000,"timestamp_seconds":1787334194,"priority":1,"record_length":96,"hex_timestamp":"000001a0256b7350"} 
[2026-08-21 23:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":159383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":159383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":159383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557550080001,"66":27267,"179":206,"85":14592,"24":28,"16":388852861372465152,"45":-9064620125904508928},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-08-21 23:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557550080001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:14:42] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-08-21 23:14:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14592,"description":"Unknown IO ID 85"} 
[2026-08-21 23:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388852861372465152,"km_value":388852861372465.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064620125904508928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557550080001,"power":27267,"unknown_179":206,"unknown_85":14592,"ignition":28,"odometer":null,"unknown_45":-9064620125904508928}} 
[2026-08-21 23:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":159383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:14:42] local.INFO: GPS data processed {"connection_id":159383,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:14:42] local.INFO: Acknowledgment sent {"connection_id":159383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:15:13] local.INFO: TCP Data received {"connection_id":159383,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256baa00012d822840059bdfa0000b01552d..."} 
[2026-08-21 23:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256baa00012d822840059bdfa0000b01552d..."} 
[2026-08-21 23:15:13] local.INFO: Processing buffer {"connection_id":159383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256baa00012d822840059bdfa0000b01552d..."} 
[2026-08-21 23:15:13] local.INFO: Packet analysis {"connection_id":159383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:15:13] local.INFO: Extracted packet for processing {"connection_id":159383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:15:13] local.INFO: GPS Element Parsed {"raw_longitude":763504704,"raw_latitude":94101408,"longitude_deg":76.3504704,"latitude_deg":9.4101408,"altitude":11,"angle":341,"satellites":45,"speed":26,"hex_longitude":"2d822840","hex_latitude":"059bdfa0","is_valid_coordinates":true} 
[2026-08-21 23:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557553664001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388853273689325568,"note":"Value kept but may cause issues"} 
[2026-08-21 23:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9065746025808943104,"note":"Value kept but may cause issues"} 
[2026-08-21 23:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1787334208000,"timestamp_ms":1787334208000,"timestamp_seconds":1787334208,"priority":1,"record_length":96,"hex_timestamp":"000001a0256baa00"} 
[2026-08-21 23:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:15:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":159383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":159383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":159383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557553664001,"66":27267,"192":206,"85":14336,"24":26,"16":388853273689325568,"45":-9065746025808943104},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-21 23:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557553664001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:15:13] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 23:15:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388853273689325568,"km_value":388853273689325.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9065746025808943104,"description":"Unknown IO ID 45"} 
[2026-08-21 23:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557553664001,"power":27267,"unknown_192":206,"unknown_85":14336,"ignition":26,"odometer":null,"unknown_45":-9065746025808943104}} 
[2026-08-21 23:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":159383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:15:13] local.INFO: GPS data processed {"connection_id":159383,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:15:13] local.INFO: Acknowledgment sent {"connection_id":159383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:15:28] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:28] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:28] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:15:29] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:29] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:29] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:15:34] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:34] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:15:34] local.INFO: IMEI packet received {"connection_id":161972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":161972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:15:35] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256bd8e0012d821c40059c0168000b01542a..."} 
[2026-08-21 23:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256bd8e0012d821c40059c0168000b01542a..."} 
[2026-08-21 23:15:35] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256bd8e0012d821c40059c0168000b01542a..."} 
[2026-08-21 23:15:35] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:15:35] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256b"} 
[2026-08-21 23:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763501632,"raw_latitude":94110056,"longitude_deg":76.3501632,"latitude_deg":9.4110056,"altitude":11,"angle":340,"satellites":42,"speed":33,"hex_longitude":"2d821c40","hex_latitude":"059c0168","is_valid_coordinates":true} 
[2026-08-21 23:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557557248001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388853716070957056,"note":"Value kept but may cause issues"} 
[2026-08-21 23:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9067927456876355584,"note":"Value kept but may cause issues"} 
[2026-08-21 23:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787334220000,"timestamp_ms":1787334220000,"timestamp_seconds":1787334220,"priority":1,"record_length":96,"hex_timestamp":"000001a0256bd8e0"} 
[2026-08-21 23:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:15: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-08-21 23:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557557248001,"66":27300,"192":206,"85":14336,"24":33,"16":388853716070957056,"45":-9067927456876355584},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,85,24,16,45]} 
[2026-08-21 23:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557557248001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:15:35] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-08-21 23:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388853716070957056,"km_value":388853716070957.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9067927456876355584,"description":"Unknown IO ID 45"} 
[2026-08-21 23:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557557248001,"power":27300,"unknown_192":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":-9067927456876355584}} 
[2026-08-21 23:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:15:35] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:15:35] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:16:06] local.INFO: TCP Data received {"connection_id":161972,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256d2cb8012d81cd00059d2408000c015b2b..."} 
[2026-08-21 23:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256d2cb8012d81cd00059d2408000c015b2b..."} 
[2026-08-21 23:16:06] local.INFO: Processing buffer {"connection_id":161972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256d2cb8012d81cd00059d2408000c015b2b..."} 
[2026-08-21 23:16:06] local.INFO: Packet analysis {"connection_id":161972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:16:06] local.INFO: Extracted packet for processing {"connection_id":161972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763481344,"raw_latitude":94184456,"longitude_deg":76.3481344,"latitude_deg":9.4184456,"altitude":12,"angle":347,"satellites":43,"speed":42,"hex_longitude":"2d81cd00","hex_latitude":"059d2408","is_valid_coordinates":true} 
[2026-08-21 23:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557580288001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388857461282439168,"note":"Value kept but may cause issues"} 
[2026-08-21 23:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9091149142436134912,"note":"Value kept but may cause issues"} 
[2026-08-21 23:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787334307000,"timestamp_ms":1787334307000,"timestamp_seconds":1787334307,"priority":1,"record_length":96,"hex_timestamp":"000001a0256d2cb8"} 
[2026-08-21 23:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:16:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 23:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:16:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557580288001,"66":27267,"193":206,"85":14336,"24":42,"16":388857461282439168,"45":-9091149142436134912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-21 23:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557580288001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:16:06] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 23:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388857461282439168,"km_value":388857461282439.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9091149142436134912,"description":"Unknown IO ID 45"} 
[2026-08-21 23:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557580288001,"power":27267,"unknown_193":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9091149142436134912}} 
[2026-08-21 23:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":161972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:16:06] local.INFO: GPS data processed {"connection_id":161972,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:16:06] local.INFO: Acknowledgment sent {"connection_id":161972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:16:29] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:29] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:29] local.INFO: IMEI packet received {"connection_id":159659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":159659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:16:33] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:33] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:33] local.INFO: IMEI packet received {"connection_id":159659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":159659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:16:34] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:34] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:16:34] local.INFO: IMEI packet received {"connection_id":159659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":159659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:16:34] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256d4fe0012d81c500059d4870000c015c29..."} 
[2026-08-21 23:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256d4fe0012d81c500059d4870000c015c29..."} 
[2026-08-21 23:16:35] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256d4fe0012d81c500059d4870000c015c29..."} 
[2026-08-21 23:16:35] local.INFO: Packet analysis {"connection_id":159659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:16:35] local.INFO: Extracted packet for processing {"connection_id":159659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":763479296,"raw_latitude":94193776,"longitude_deg":76.3479296,"latitude_deg":9.4193776,"altitude":12,"angle":348,"satellites":41,"speed":43,"hex_longitude":"2d81c500","hex_latitude":"059d4870","is_valid_coordinates":true} 
[2026-08-21 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557582592001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388857925138907136,"note":"Value kept but may cause issues"} 
[2026-08-21 23:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9093612048479942656,"note":"Value kept but may cause issues"} 
[2026-08-21 23:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787334316000,"timestamp_ms":1787334316000,"timestamp_seconds":1787334316,"priority":1,"record_length":96,"hex_timestamp":"000001a0256d4fe0"} 
[2026-08-21 23:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557582592001,"66":27332,"193":206,"85":14336,"24":43,"16":388857925138907136,"45":-9093612048479942656},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-21 23:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557582592001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388857925138907136,"km_value":388857925138907.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9093612048479942656,"description":"Unknown IO ID 45"} 
[2026-08-21 23:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557582592001,"power":27332,"unknown_193":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":-9093612048479942656}} 
[2026-08-21 23:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":159659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:16:35] local.INFO: GPS data processed {"connection_id":159659,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:16:35] local.INFO: Acknowledgment sent {"connection_id":159659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:17:05] local.INFO: TCP Data received {"connection_id":159659,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256d7308012d81be00059d6c08000c015a2b..."} 
[2026-08-21 23:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256d7308012d81be00059d6c08000c015a2b..."} 
[2026-08-21 23:17:05] local.INFO: Processing buffer {"connection_id":159659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256d7308012d81be00059d6c08000c015a2b..."} 
[2026-08-21 23:17:05] local.INFO: Packet analysis {"connection_id":159659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:17:05] local.INFO: Extracted packet for processing {"connection_id":159659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:17:05] local.INFO: GPS Element Parsed {"raw_longitude":763477504,"raw_latitude":94202888,"longitude_deg":76.3477504,"latitude_deg":9.4202888,"altitude":12,"angle":346,"satellites":43,"speed":30,"hex_longitude":"2d81be00","hex_latitude":"059d6c08","is_valid_coordinates":true} 
[2026-08-21 23:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557584896001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388858376110473216,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9095863848291241984,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787334325000,"timestamp_ms":1787334325000,"timestamp_seconds":1787334325,"priority":1,"record_length":96,"hex_timestamp":"000001a0256d7308"} 
[2026-08-21 23:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:17: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-08-21 23:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:17: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-08-21 23:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557584896001,"66":27332,"193":206,"85":14336,"24":30,"16":388858376110473216,"45":-9095863848291241984},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-21 23:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557584896001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:17:05] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 23:17:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388858376110473216,"km_value":388858376110473.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9095863848291241984,"description":"Unknown IO ID 45"} 
[2026-08-21 23:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557584896001,"power":27332,"unknown_193":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9095863848291241984}} 
[2026-08-21 23:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":159659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:17:05] local.INFO: GPS data processed {"connection_id":159659,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:17:05] local.INFO: Acknowledgment sent {"connection_id":159659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:17:33] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:33] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:33] local.INFO: IMEI packet received {"connection_id":159384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":159384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:17:34] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:34] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:34] local.INFO: IMEI packet received {"connection_id":159384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":159384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:17:39] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:39] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:17:39] local.INFO: IMEI packet received {"connection_id":159384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":159384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:17:40] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256db958012d81b640059d90a0000b015d2c..."} 
[2026-08-21 23:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256db958012d81b640059d90a0000b015d2c..."} 
[2026-08-21 23:17:40] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256db958012d81b640059d90a0000b015d2c..."} 
[2026-08-21 23:17:40] local.INFO: Packet analysis {"connection_id":159384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:17:40] local.INFO: Extracted packet for processing {"connection_id":159384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763475520,"raw_latitude":94212256,"longitude_deg":76.347552,"latitude_deg":9.4212256,"altitude":11,"angle":349,"satellites":44,"speed":30,"hex_longitude":"2d81b640","hex_latitude":"059d90a0","is_valid_coordinates":true} 
[2026-08-21 23:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557587200001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388858839966941184,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097834173125883904,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787334343000,"timestamp_ms":1787334343000,"timestamp_seconds":1787334343,"priority":1,"record_length":96,"hex_timestamp":"000001a0256db958"} 
[2026-08-21 23:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":159384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557587200001,"66":27234,"193":206,"85":14336,"24":30,"16":388858839966941184,"45":-9097834173125883904},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,85,24,16,45]} 
[2026-08-21 23:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557587200001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:17:40] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-08-21 23:17:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388858839966941184,"km_value":388858839966941.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097834173125883904,"description":"Unknown IO ID 45"} 
[2026-08-21 23:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557587200001,"power":27234,"unknown_193":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9097834173125883904}} 
[2026-08-21 23:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":159384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:17:40] local.INFO: GPS data processed {"connection_id":159384,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:17:40] local.INFO: Acknowledgment sent {"connection_id":159384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:17:41] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256de450012d81aec0059db620000b015c29..."} 
[2026-08-21 23:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256de450012d81aec0059db620000b015c29..."} 
[2026-08-21 23:17:41] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256de450012d81aec0059db620000b015c29..."} 
[2026-08-21 23:17:41] local.INFO: Packet analysis {"connection_id":159384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:17:41] local.INFO: Extracted packet for processing {"connection_id":159384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256d"} 
[2026-08-21 23:17:41] local.INFO: GPS Element Parsed {"raw_longitude":763473600,"raw_latitude":94221856,"longitude_deg":76.34736,"latitude_deg":9.4221856,"altitude":11,"angle":348,"satellites":41,"speed":38,"hex_longitude":"2d81aec0","hex_latitude":"059db620","is_valid_coordinates":true} 
[2026-08-21 23:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557591808001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388859316708311040,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100015604192993280,"note":"Value kept but may cause issues"} 
[2026-08-21 23:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1787334354000,"timestamp_ms":1787334354000,"timestamp_seconds":1787334354,"priority":1,"record_length":96,"hex_timestamp":"000001a0256de450"} 
[2026-08-21 23:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":159384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557591808001,"66":27343,"41":206,"85":14336,"24":38,"16":388859316708311040,"45":-9100015604192993280},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,85,24,16,45]} 
[2026-08-21 23:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557591808001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:17:41] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-08-21 23:17:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388859316708311040,"km_value":388859316708311.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100015604192993280,"description":"Unknown IO ID 45"} 
[2026-08-21 23:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557591808001,"power":27343,"unknown_41":206,"unknown_85":14336,"ignition":38,"odometer":null,"unknown_45":-9100015604192993280}} 
[2026-08-21 23:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":159384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:17:41] local.INFO: GPS data processed {"connection_id":159384,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:17:41] local.INFO: Acknowledgment sent {"connection_id":159384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:18:17] local.INFO: TCP Data received {"connection_id":159384,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256f4f98012d8173c0059f0b90000a014c2a..."} 
[2026-08-21 23:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256f4f98012d8173c0059f0b90000a014c2a..."} 
[2026-08-21 23:18:17] local.INFO: Processing buffer {"connection_id":159384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256f4f98012d8173c0059f0b90000a014c2a..."} 
[2026-08-21 23:18:17] local.INFO: Packet analysis {"connection_id":159384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:18:17] local.INFO: Extracted packet for processing {"connection_id":159384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":763458496,"raw_latitude":94309264,"longitude_deg":76.3458496,"latitude_deg":9.4309264,"altitude":10,"angle":332,"satellites":42,"speed":29,"hex_longitude":"2d8173c0","hex_latitude":"059f0b90","is_valid_coordinates":true} 
[2026-08-21 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557616384001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388863641740378112,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116833734028478464,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787334447000,"timestamp_ms":1787334447000,"timestamp_seconds":1787334447,"priority":1,"record_length":96,"hex_timestamp":"000001a0256f4f98"} 
[2026-08-21 23:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":159384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":159384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557616384001,"66":27376,"178":206,"85":14336,"24":29,"16":388863641740378112,"45":-9116833734028478464},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,45]} 
[2026-08-21 23:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557616384001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-08-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388863641740378112,"km_value":388863641740378.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116833734028478464,"description":"Unknown IO ID 45"} 
[2026-08-21 23:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557616384001,"power":27376,"unknown_178":206,"unknown_85":14336,"ignition":29,"odometer":null,"unknown_45":-9116833734028478464}} 
[2026-08-21 23:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":159384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:18:17] local.INFO: GPS data processed {"connection_id":159384,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:18:17] local.INFO: Acknowledgment sent {"connection_id":159384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:18:29] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:18:29] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:18:29] local.INFO: IMEI packet received {"connection_id":160580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":160580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:18:33] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:18:33] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:18:33] local.INFO: IMEI packet received {"connection_id":160580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":160580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:18:34] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256f5380012d817240059f0de0000a013e2a..."} 
[2026-08-21 23:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256f5380012d817240059f0de0000a013e2a..."} 
[2026-08-21 23:18:34] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256f5380012d817240059f0de0000a013e2a..."} 
[2026-08-21 23:18:34] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:18:34] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:18:34] local.INFO: GPS Element Parsed {"raw_longitude":763458112,"raw_latitude":94309856,"longitude_deg":76.3458112,"latitude_deg":9.4309856,"altitude":10,"angle":318,"satellites":42,"speed":28,"hex_longitude":"2d817240","hex_latitude":"059f0de0","is_valid_coordinates":true} 
[2026-08-21 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557618432001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388863676100116480,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118733690119417856,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787334448000,"timestamp_ms":1787334448000,"timestamp_seconds":1787334448,"priority":1,"record_length":96,"hex_timestamp":"000001a0256f5380"} 
[2026-08-21 23:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:18: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-08-21 23:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-08-21 23:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:18:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557618432001,"66":27267,"177":206,"85":14336,"24":28,"16":388863676100116480,"45":-9118733690119417856},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 23:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557618432001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388863676100116480,"km_value":388863676100116.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118733690119417856,"description":"Unknown IO ID 45"} 
[2026-08-21 23:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557618432001,"power":27267,"unknown_177":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":-9118733690119417856}} 
[2026-08-21 23:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:18:34] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:18:34] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:18:35] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256f6708012d8169c0059f16a0000c01502d..."} 
[2026-08-21 23:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256f6708012d8169c0059f16a0000c01502d..."} 
[2026-08-21 23:18:35] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256f6708012d8169c0059f16a0000c01502d..."} 
[2026-08-21 23:18:35] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:18:35] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:18:35] local.INFO: GPS Element Parsed {"raw_longitude":763455936,"raw_latitude":94312096,"longitude_deg":76.3455936,"latitude_deg":9.4312096,"altitude":12,"angle":336,"satellites":45,"speed":22,"hex_longitude":"2d8169c0","hex_latitude":"059f16a0","is_valid_coordinates":true} 
[2026-08-21 23:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:18:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557618688001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388863826423971840,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119155902584332288,"note":"Value kept but may cause issues"} 
[2026-08-21 23:18:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:18:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787334453000,"timestamp_ms":1787334453000,"timestamp_seconds":1787334453,"priority":1,"record_length":96,"hex_timestamp":"000001a0256f6708"} 
[2026-08-21 23:18:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:18:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:18:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:18:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:18:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:18:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:18:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:18:35] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:18:35] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:18:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:18:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:18:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:18:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:18:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557618688001,"66":27267,"177":206,"85":14336,"24":22,"16":388863826423971840,"45":-9119155902584332288},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 23:18:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:18:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:18:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557618688001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:18:35] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 23:18:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:18:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388863826423971840,"km_value":388863826423971.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:18:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119155902584332288,"description":"Unknown IO ID 45"} 
[2026-08-21 23:18:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557618688001,"power":27267,"unknown_177":206,"unknown_85":14336,"ignition":22,"odometer":null,"unknown_45":-9119155902584332288}} 
[2026-08-21 23:18:35] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:18:35] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:18:35] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:19:06] local.INFO: TCP Data received {"connection_id":160580,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256f6ed8012d8168c0059f1b28000c015f2d..."} 
[2026-08-21 23:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256f6ed8012d8168c0059f1b28000c015f2d..."} 
[2026-08-21 23:19:06] local.INFO: Processing buffer {"connection_id":160580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256f6ed8012d8168c0059f1b28000c015f2d..."} 
[2026-08-21 23:19:06] local.INFO: Packet analysis {"connection_id":160580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:19:06] local.INFO: Extracted packet for processing {"connection_id":160580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763455680,"raw_latitude":94313256,"longitude_deg":76.345568,"latitude_deg":9.4313256,"altitude":12,"angle":351,"satellites":45,"speed":25,"hex_longitude":"2d8168c0","hex_latitude":"059f1b28","is_valid_coordinates":true} 
[2026-08-21 23:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557619968001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388863886553513984,"note":"Value kept but may cause issues"} 
[2026-08-21 23:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121548439885799424,"note":"Value kept but may cause issues"} 
[2026-08-21 23:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787334455000,"timestamp_ms":1787334455000,"timestamp_seconds":1787334455,"priority":1,"record_length":96,"hex_timestamp":"000001a0256f6ed8"} 
[2026-08-21 23:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":160580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":160580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557619968001,"66":27310,"177":206,"85":14336,"24":25,"16":388863886553513984,"45":-9121548439885799424},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 23:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557619968001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388863886553513984,"km_value":388863886553514.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121548439885799424,"description":"Unknown IO ID 45"} 
[2026-08-21 23:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557619968001,"power":27310,"unknown_177":206,"unknown_85":14336,"ignition":25,"odometer":null,"unknown_45":-9121548439885799424}} 
[2026-08-21 23:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":160580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:19:06] local.INFO: GPS data processed {"connection_id":160580,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:19:06] local.INFO: Acknowledgment sent {"connection_id":160580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:19:34] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:34] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:34] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:19:34] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:34] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:34] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:19:34] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:19:39] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:39] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:19:39] local.INFO: IMEI packet received {"connection_id":160581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:19:39] local.INFO: IMEI acknowledgment sent {"connection_id":160581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:19:40] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256f99d0012d8161c0059f3ef8000b015c2b..."} 
[2026-08-21 23:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256f99d0012d8161c0059f3ef8000b015c2b..."} 
[2026-08-21 23:19:40] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256f99d0012d8161c0059f3ef8000b015c2b..."} 
[2026-08-21 23:19:40] local.INFO: Packet analysis {"connection_id":160581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:19:40] local.INFO: Extracted packet for processing {"connection_id":160581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763453888,"raw_latitude":94322424,"longitude_deg":76.3453888,"latitude_deg":9.4322424,"altitude":11,"angle":348,"satellites":43,"speed":40,"hex_longitude":"2d8161c0","hex_latitude":"059f3ef8","is_valid_coordinates":true} 
[2026-08-21 23:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557620480001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388864337525080064,"note":"Value kept but may cause issues"} 
[2026-08-21 23:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9121829914862213120,"note":"Value kept but may cause issues"} 
[2026-08-21 23:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1787334466000,"timestamp_ms":1787334466000,"timestamp_seconds":1787334466,"priority":1,"record_length":96,"hex_timestamp":"000001a0256f99d0"} 
[2026-08-21 23:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 23:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":160581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":160581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":160581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557620480001,"66":27245,"177":206,"85":14336,"24":40,"16":388864337525080064,"45":-9121829914862213120},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,85,24,16,45]} 
[2026-08-21 23:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557620480001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:19:40] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-08-21 23:19:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388864337525080064,"km_value":388864337525080.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9121829914862213120,"description":"Unknown IO ID 45"} 
[2026-08-21 23:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557620480001,"power":27245,"unknown_177":206,"unknown_85":14336,"ignition":40,"odometer":null,"unknown_45":-9121829914862213120}} 
[2026-08-21 23:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":160581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:19:40] local.INFO: GPS data processed {"connection_id":160581,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:19:40] local.INFO: Acknowledgment sent {"connection_id":160581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:20:11] local.INFO: TCP Data received {"connection_id":160581,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0256fbcf8012d815ac0059f6238000b015c2d..."} 
[2026-08-21 23:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0256fbcf8012d815ac0059f6238000b015c2d..."} 
[2026-08-21 23:20:11] local.INFO: Processing buffer {"connection_id":160581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0256fbcf8012d815ac0059f6238000b015c2d..."} 
[2026-08-21 23:20:11] local.INFO: Packet analysis {"connection_id":160581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:20:11] local.INFO: Extracted packet for processing {"connection_id":160581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0256f"} 
[2026-08-21 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":763452096,"raw_latitude":94331448,"longitude_deg":76.3452096,"latitude_deg":9.4331448,"altitude":11,"angle":348,"satellites":45,"speed":42,"hex_longitude":"2d815ac0","hex_latitude":"059f6238","is_valid_coordinates":true} 
[2026-08-21 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557623296001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388864784201678848,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9123800239696840704,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1787334475000,"timestamp_ms":1787334475000,"timestamp_seconds":1787334475,"priority":1,"record_length":96,"hex_timestamp":"000001a0256fbcf8"} 
[2026-08-21 23:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 23:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":160581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":160581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":160581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557623296001,"66":27321,"5":206,"85":14336,"24":42,"16":388864784201678848,"45":-9123800239696840704},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,45]} 
[2026-08-21 23:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557623296001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:20:11] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-08-21 23:20:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388864784201678848,"km_value":388864784201678.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9123800239696840704,"description":"Unknown IO ID 45"} 
[2026-08-21 23:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557623296001,"power":27321,"unknown_5":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9123800239696840704}} 
[2026-08-21 23:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":160581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:20:11] local.INFO: GPS data processed {"connection_id":160581,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:20:11] local.INFO: Acknowledgment sent {"connection_id":160581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:20:29] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:29] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:29] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:20:32] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:32] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:32] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:20:34] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:34] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:20:34] local.INFO: IMEI packet received {"connection_id":161973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":161973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:20:35] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025712840012d81070005a0f120000c015d2c..."} 
[2026-08-21 23:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025712840012d81070005a0f120000c015d2c..."} 
[2026-08-21 23:20:35] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025712840012d81070005a0f120000c015d2c..."} 
[2026-08-21 23:20:35] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02571"} 
[2026-08-21 23:20:35] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02571"} 
[2026-08-21 23:20:35] local.INFO: GPS Element Parsed {"raw_longitude":763430656,"raw_latitude":94433568,"longitude_deg":76.3430656,"latitude_deg":9.4433568,"altitude":12,"angle":349,"satellites":44,"speed":44,"hex_longitude":"2d810700","hex_latitude":"05a0f120","is_valid_coordinates":true} 
[2026-08-21 23:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557647360001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388869843673153536,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9147303400225976320,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787334568000,"timestamp_ms":1787334568000,"timestamp_seconds":1787334568,"priority":1,"record_length":96,"hex_timestamp":"000001a025712840"} 
[2026-08-21 23:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:20: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-08-21 23:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:20:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557647360001,"66":27213,"82":206,"85":14336,"24":44,"16":388869843673153536,"45":-9147303400225976320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-21 23:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557647360001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:20:35] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 23:20:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388869843673153536,"km_value":388869843673153.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9147303400225976320,"description":"Unknown IO ID 45"} 
[2026-08-21 23:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557647360001,"power":27213,"unknown_82":206,"unknown_85":14336,"ignition":44,"odometer":null,"unknown_45":-9147303400225976320}} 
[2026-08-21 23:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:20:35] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:20:35] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:20:42] local.INFO: TCP Data received {"connection_id":161973,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025714780012d81000005a11350000c015d29..."} 
[2026-08-21 23:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025714780012d81000005a11350000c015d29..."} 
[2026-08-21 23:20:42] local.INFO: Processing buffer {"connection_id":161973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025714780012d81000005a11350000c015d29..."} 
[2026-08-21 23:20:42] local.INFO: Packet analysis {"connection_id":161973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02571"} 
[2026-08-21 23:20:42] local.INFO: Extracted packet for processing {"connection_id":161973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02571"} 
[2026-08-21 23:20:42] local.INFO: GPS Element Parsed {"raw_longitude":763428864,"raw_latitude":94442320,"longitude_deg":76.3428864,"latitude_deg":9.444232,"altitude":12,"angle":349,"satellites":41,"speed":43,"hex_longitude":"2d810000","hex_latitude":"05a11350","is_valid_coordinates":true} 
[2026-08-21 23:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557649408001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388870273169883136,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149344093804879872,"note":"Value kept but may cause issues"} 
[2026-08-21 23:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1787334576000,"timestamp_ms":1787334576000,"timestamp_seconds":1787334576,"priority":1,"record_length":96,"hex_timestamp":"000001a025714780"} 
[2026-08-21 23:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":161973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":161973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557649408001,"66":27234,"82":206,"85":14336,"24":43,"16":388870273169883136,"45":-9149344093804879872},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-21 23:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557649408001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:20:42] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 23:20:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388870273169883136,"km_value":388870273169883.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149344093804879872,"description":"Unknown IO ID 45"} 
[2026-08-21 23:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557649408001,"power":27234,"unknown_82":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":-9149344093804879872}} 
[2026-08-21 23:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":161973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:20:42] local.INFO: GPS data processed {"connection_id":161973,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:20:42] local.INFO: Acknowledgment sent {"connection_id":161973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:21:39] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:39] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:39] local.INFO: IMEI packet received {"connection_id":160582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":160582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:21:42] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:42] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:42] local.INFO: IMEI packet received {"connection_id":160582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":160582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:21:44] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:44] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:21:44] local.INFO: IMEI packet received {"connection_id":160582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":160582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:21:45] local.INFO: TCP Data received {"connection_id":160582,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a025716aa8012d80f84005a13868000c015c29..."} 
[2026-08-21 23:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025716aa8012d80f84005a13868000c015c29..."} 
[2026-08-21 23:21:45] local.INFO: Processing buffer {"connection_id":160582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025716aa8012d80f84005a13868000c015c29..."} 
[2026-08-21 23:21:45] local.INFO: Packet analysis {"connection_id":160582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02571"} 
[2026-08-21 23:21:45] local.INFO: Extracted packet for processing {"connection_id":160582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02571"} 
[2026-08-21 23:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763426880,"raw_latitude":94451816,"longitude_deg":76.342688,"latitude_deg":9.4451816,"altitude":12,"angle":348,"satellites":41,"speed":42,"hex_longitude":"2d80f840","hex_latitude":"05a13868","is_valid_coordinates":true} 
[2026-08-21 23:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557651456001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388870745616285696,"note":"Value kept but may cause issues"} 
[2026-08-21 23:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9151314418639613952,"note":"Value kept but may cause issues"} 
[2026-08-21 23:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1787334585000,"timestamp_ms":1787334585000,"timestamp_seconds":1787334585,"priority":1,"record_length":96,"hex_timestamp":"000001a025716aa8"} 
[2026-08-21 23:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:21:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":160582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":160582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":160582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:21:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557651456001,"66":27300,"82":206,"85":14336,"24":42,"16":388870745616285696,"45":-9151314418639613952},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,85,24,16,45]} 
[2026-08-21 23:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557651456001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:21:45] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-08-21 23:21:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388870745616285696,"km_value":388870745616285.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9151314418639613952,"description":"Unknown IO ID 45"} 
[2026-08-21 23:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557651456001,"power":27300,"unknown_82":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":-9151314418639613952}} 
[2026-08-21 23:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":160582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:21:45] local.INFO: GPS data processed {"connection_id":160582,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:21:45] local.INFO: Acknowledgment sent {"connection_id":160582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:23:11] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:23:11] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:23:11] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:23:16] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:23:16] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:23:16] local.INFO: IMEI packet received {"connection_id":161974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":161974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:23:17] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025740e70012d806d4005a449a00008015e2d..."} 
[2026-08-21 23:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025740e70012d806d4005a449a00008015e2d..."} 
[2026-08-21 23:23:17] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025740e70012d806d4005a449a00008015e2d..."} 
[2026-08-21 23:23:17] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:23:17] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763391296,"raw_latitude":94652832,"longitude_deg":76.3391296,"latitude_deg":9.4652832,"altitude":8,"angle":350,"satellites":45,"speed":34,"hex_longitude":"2d806d40","hex_latitude":"05a449a0","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557695744001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388879103622643712,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190861652815824896,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787334758000,"timestamp_ms":1787334758000,"timestamp_seconds":1787334758,"priority":1,"record_length":96,"hex_timestamp":"000001a025740e70"} 
[2026-08-21 23:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557695744001,"66":27321,"53":206,"85":14336,"24":34,"16":388879103622643712,"45":-9190861652815824896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557695744001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388879103622643712,"km_value":388879103622643.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190861652815824896,"description":"Unknown IO ID 45"} 
[2026-08-21 23:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557695744001,"power":27321,"unknown_53":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":-9190861652815824896}} 
[2026-08-21 23:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:23:17] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:23:17] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:23:17] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025740e70012d806d4005a449a00008015e2d..."} 
[2026-08-21 23:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025740e70012d806d4005a449a00008015e2d..."} 
[2026-08-21 23:23:17] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025740e70012d806d4005a449a00008015e2d..."} 
[2026-08-21 23:23:17] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:23:17] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:23:17] local.INFO: GPS Element Parsed {"raw_longitude":763391296,"raw_latitude":94652832,"longitude_deg":76.3391296,"latitude_deg":9.4652832,"altitude":8,"angle":350,"satellites":45,"speed":34,"hex_longitude":"2d806d40","hex_latitude":"05a449a0","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557695744001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388879103622643712,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190861652815824896,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1787334758000,"timestamp_ms":1787334758000,"timestamp_seconds":1787334758,"priority":1,"record_length":96,"hex_timestamp":"000001a025740e70"} 
[2026-08-21 23:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557695744001,"66":27321,"53":206,"85":14336,"24":34,"16":388879103622643712,"45":-9190861652815824896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 23:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557695744001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388879103622643712,"km_value":388879103622643.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190861652815824896,"description":"Unknown IO ID 45"} 
[2026-08-21 23:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557695744001,"power":27321,"unknown_53":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":-9190861652815824896}} 
[2026-08-21 23:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:23:17] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:23:17] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:23:48] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025741a28012d806c8005a45338000800002c..."} 
[2026-08-21 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025741a28012d806c8005a45338000800002c..."} 
[2026-08-21 23:23:48] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025741a28012d806c8005a45338000800002c..."} 
[2026-08-21 23:23:48] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:23:48] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:23:48] local.INFO: GPS Element Parsed {"raw_longitude":763391104,"raw_latitude":94655288,"longitude_deg":76.3391104,"latitude_deg":9.4655288,"altitude":8,"angle":0,"satellites":44,"speed":32,"hex_longitude":"2d806c80","hex_latitude":"05a45338","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557698048001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388879219586760704,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192620871418011648,"note":"Value kept but may cause issues"} 
[2026-08-21 23:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1787334761000,"timestamp_ms":1787334761000,"timestamp_seconds":1787334761,"priority":1,"record_length":96,"hex_timestamp":"000001a025741a28"} 
[2026-08-21 23:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:23: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-08-21 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 23:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:23:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:23:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557698048001,"66":27213,"53":206,"85":14336,"24":32,"16":388879219586760704,"45":-9192620871418011648},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 23:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557698048001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:23:48] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 23:23:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388879219586760704,"km_value":388879219586760.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192620871418011648,"description":"Unknown IO ID 45"} 
[2026-08-21 23:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557698048001,"power":27213,"unknown_53":206,"unknown_85":14336,"ignition":32,"odometer":null,"unknown_45":-9192620871418011648}} 
[2026-08-21 23:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:23:48] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:23:48] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:24:19] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257429c8012d806b4005a460580007015c2d..."} 
[2026-08-21 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257429c8012d806b4005a460580007015c2d..."} 
[2026-08-21 23:24:19] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257429c8012d806b4005a460580007015c2d..."} 
[2026-08-21 23:24:19] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:24:19] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":763390784,"raw_latitude":94658648,"longitude_deg":76.3390784,"latitude_deg":9.4658648,"altitude":7,"angle":348,"satellites":45,"speed":34,"hex_longitude":"2d806b40","hex_latitude":"05a46058","is_valid_coordinates":true} 
[2026-08-21 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557698816001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388879387090485248,"note":"Value kept but may cause issues"} 
[2026-08-21 23:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192831977649915904,"note":"Value kept but may cause issues"} 
[2026-08-21 23:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1787334765000,"timestamp_ms":1787334765000,"timestamp_seconds":1787334765,"priority":1,"record_length":96,"hex_timestamp":"000001a0257429c8"} 
[2026-08-21 23:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557698816001,"66":27213,"53":206,"85":14336,"24":34,"16":388879387090485248,"45":-9192831977649915904},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 23:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557698816001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:24:19] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 23:24:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388879387090485248,"km_value":388879387090485.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192831977649915904,"description":"Unknown IO ID 45"} 
[2026-08-21 23:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557698816001,"power":27213,"unknown_53":206,"unknown_85":14336,"ignition":34,"odometer":null,"unknown_45":-9192831977649915904}} 
[2026-08-21 23:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:24:19] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:24:19] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:24:50] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025746460012d80640005a484c0000801572c..."} 
[2026-08-21 23:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025746460012d80640005a484c0000801572c..."} 
[2026-08-21 23:24:50] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025746460012d80640005a484c0000801572c..."} 
[2026-08-21 23:24:50] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:24:50] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:24:50] local.INFO: GPS Element Parsed {"raw_longitude":763388928,"raw_latitude":94667968,"longitude_deg":76.3388928,"latitude_deg":9.4667968,"altitude":8,"angle":343,"satellites":44,"speed":28,"hex_longitude":"2d806400","hex_latitude":"05a484c0","is_valid_coordinates":true} 
[2026-08-21 23:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557699840001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388879846651985920,"note":"Value kept but may cause issues"} 
[2026-08-21 23:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9193183821369944064,"note":"Value kept but may cause issues"} 
[2026-08-21 23:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1787334780000,"timestamp_ms":1787334780000,"timestamp_seconds":1787334780,"priority":1,"record_length":96,"hex_timestamp":"000001a025746460"} 
[2026-08-21 23:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557699840001,"66":27343,"53":206,"85":14336,"24":28,"16":388879846651985920,"45":-9193183821369944064},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 23:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557699840001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:24:50] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 23:24:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388879846651985920,"km_value":388879846651985.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9193183821369944064,"description":"Unknown IO ID 45"} 
[2026-08-21 23:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557699840001,"power":27343,"unknown_53":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":-9193183821369944064}} 
[2026-08-21 23:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:24:50] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:24:50] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:25:22] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257483a0012d805cc005a49b78000701492c..."} 
[2026-08-21 23:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257483a0012d805cc005a49b78000701492c..."} 
[2026-08-21 23:25:22] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257483a0012d805cc005a49b78000701492c..."} 
[2026-08-21 23:25:22] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:25:22] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02574"} 
[2026-08-21 23:25:22] local.INFO: GPS Element Parsed {"raw_longitude":763387072,"raw_latitude":94673784,"longitude_deg":76.3387072,"latitude_deg":9.4673784,"altitude":7,"angle":329,"satellites":44,"speed":30,"hex_longitude":"2d805cc0","hex_latitude":"05a49b78","is_valid_coordinates":true} 
[2026-08-21 23:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557703680001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388880143004729344,"note":"Value kept but may cause issues"} 
[2026-08-21 23:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195224514948710400,"note":"Value kept but may cause issues"} 
[2026-08-21 23:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1787334788000,"timestamp_ms":1787334788000,"timestamp_seconds":1787334788,"priority":1,"record_length":96,"hex_timestamp":"000001a0257483a0"} 
[2026-08-21 23:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557703680001,"66":27332,"53":206,"85":14336,"24":30,"16":388880143004729344,"45":-9195224514948710400},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-08-21 23:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557703680001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:25:22] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-08-21 23:25:22] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388880143004729344,"km_value":388880143004729.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195224514948710400,"description":"Unknown IO ID 45"} 
[2026-08-21 23:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557703680001,"power":27332,"unknown_53":206,"unknown_85":14336,"ignition":30,"odometer":null,"unknown_45":-9195224514948710400}} 
[2026-08-21 23:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:25:22] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:25:22] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:25:53] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257621b0012d7f300005a58d80000901262a..."} 
[2026-08-21 23:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257621b0012d7f300005a58d80000901262a..."} 
[2026-08-21 23:25:53] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257621b0012d7f300005a58d80000901262a..."} 
[2026-08-21 23:25:53] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:25:53] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:25:53] local.INFO: GPS Element Parsed {"raw_longitude":763310080,"raw_latitude":94735744,"longitude_deg":76.331008,"latitude_deg":9.4735744,"altitude":9,"angle":294,"satellites":42,"speed":39,"hex_longitude":"2d7f3000","hex_latitude":"05a58d80","is_valid_coordinates":true} 
[2026-08-21 23:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557730304001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388885034972479488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9174817627623493632,"note":"Value kept but may cause issues"} 
[2026-08-21 23:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1787334894000,"timestamp_ms":1787334894000,"timestamp_seconds":1787334894,"priority":1,"record_length":96,"hex_timestamp":"000001a0257621b0"} 
[2026-08-21 23:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 23:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557730304001,"66":27343,"32":206,"85":14336,"24":39,"16":388885034972479488,"45":9174817627623493632},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-21 23:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557730304001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:25:53] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 23:25:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388885034972479488,"km_value":388885034972479.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9174817627623493632,"description":"Unknown IO ID 45"} 
[2026-08-21 23:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557730304001,"power":27343,"unknown_32":206,"unknown_85":14336,"ignition":39,"odometer":null,"unknown_45":9174817627623493632}} 
[2026-08-21 23:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:25:53] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:25:53] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:26:24] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257644d8012d7f0f4005a59cc0000a01272a..."} 
[2026-08-21 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257644d8012d7f0f4005a59cc0000a01272a..."} 
[2026-08-21 23:26:24] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257644d8012d7f0f4005a59cc0000a01272a..."} 
[2026-08-21 23:26:24] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:26:24] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763301696,"raw_latitude":94739648,"longitude_deg":76.3301696,"latitude_deg":9.4739648,"altitude":10,"angle":295,"satellites":42,"speed":42,"hex_longitude":"2d7f0f40","hex_latitude":"05a59cc0","is_valid_coordinates":true} 
[2026-08-21 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-08-21 23:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557732864001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388885477354110976,"note":"Value kept but may cause issues"} 
[2026-08-21 23:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164825265951309824,"note":"Value kept but may cause issues"} 
[2026-08-21 23:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1787334903000,"timestamp_ms":1787334903000,"timestamp_seconds":1787334903,"priority":1,"record_length":96,"hex_timestamp":"000001a0257644d8"} 
[2026-08-21 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-08-21 23:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 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-08-21 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-08-21 23:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557732864001,"66":27267,"32":206,"85":14336,"24":42,"16":388885477354110976,"45":9164825265951309824},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-21 23:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557732864001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:26:24] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 23:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388885477354110976,"km_value":388885477354111.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164825265951309824,"description":"Unknown IO ID 45"} 
[2026-08-21 23:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557732864001,"power":27267,"unknown_32":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9164825265951309824}} 
[2026-08-21 23:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:26:24] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:26:24] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:26:56] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025766800012d7eec8005a5add0000a01292b..."} 
[2026-08-21 23:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025766800012d7eec8005a5add0000a01292b..."} 
[2026-08-21 23:26:56] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025766800012d7eec8005a5add0000a01292b..."} 
[2026-08-21 23:26:56] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:26:56] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763292800,"raw_latitude":94744016,"longitude_deg":76.32928,"latitude_deg":9.4744016,"altitude":10,"angle":297,"satellites":43,"speed":45,"hex_longitude":"2d7eec80","hex_latitude":"05a5add0","is_valid_coordinates":true} 
[2026-08-21 23:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557735168001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388885954095480832,"note":"Value kept but may cause issues"} 
[2026-08-21 23:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155606960465035264,"note":"Value kept but may cause issues"} 
[2026-08-21 23:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787334912000,"timestamp_ms":1787334912000,"timestamp_seconds":1787334912,"priority":1,"record_length":96,"hex_timestamp":"000001a025766800"} 
[2026-08-21 23:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557735168001,"66":27234,"32":206,"85":14336,"24":45,"16":388885954095480832,"45":9155606960465035264},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-21 23:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557735168001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:26:56] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 23:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388885954095480832,"km_value":388885954095480.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155606960465035264,"description":"Unknown IO ID 45"} 
[2026-08-21 23:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557735168001,"power":27234,"unknown_32":206,"unknown_85":14336,"ignition":45,"odometer":null,"unknown_45":9155606960465035264}} 
[2026-08-21 23:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:26:56] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:26:56] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:27:27] local.INFO: TCP Data received {"connection_id":161974,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025768740012d7ecb4005a5be50000901292c..."} 
[2026-08-21 23:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025768740012d7ecb4005a5be50000901292c..."} 
[2026-08-21 23:27:27] local.INFO: Processing buffer {"connection_id":161974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025768740012d7ecb4005a5be50000901292c..."} 
[2026-08-21 23:27:27] local.INFO: Packet analysis {"connection_id":161974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:27:27] local.INFO: Extracted packet for processing {"connection_id":161974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02576"} 
[2026-08-21 23:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763284288,"raw_latitude":94748240,"longitude_deg":76.3284288,"latitude_deg":9.474824,"altitude":9,"angle":297,"satellites":44,"speed":48,"hex_longitude":"2d7ecb40","hex_latitude":"05a5be50","is_valid_coordinates":true} 
[2026-08-21 23:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557737472001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388886409362014208,"note":"Value kept but may cause issues"} 
[2026-08-21 23:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9145825705025458176,"note":"Value kept but may cause issues"} 
[2026-08-21 23:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787334920000,"timestamp_ms":1787334920000,"timestamp_seconds":1787334920,"priority":1,"record_length":96,"hex_timestamp":"000001a025768740"} 
[2026-08-21 23:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":161974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":161974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557737472001,"66":27376,"32":206,"85":14336,"24":48,"16":388886409362014208,"45":9145825705025458176},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,85,24,16,45]} 
[2026-08-21 23:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557737472001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:27:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-08-21 23:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388886409362014208,"km_value":388886409362014.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9145825705025458176,"description":"Unknown IO ID 45"} 
[2026-08-21 23:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557737472001,"power":27376,"unknown_32":206,"unknown_85":14336,"ignition":48,"odometer":null,"unknown_45":9145825705025458176}} 
[2026-08-21 23:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":161974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:27:27] local.INFO: GPS data processed {"connection_id":161974,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:27:27] local.INFO: Acknowledgment sent {"connection_id":161974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:27:50] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:50] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:50] local.INFO: IMEI packet received {"connection_id":159385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":159385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:27:56] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:56] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:56] local.INFO: IMEI packet received {"connection_id":159385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":159385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:27:56] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:56] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:27:56] local.INFO: IMEI packet received {"connection_id":159385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":159385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:28:01] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:28:01] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:28:01] local.INFO: IMEI packet received {"connection_id":159385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":159385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:28:02] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02577df00012d7dc30005a6a170000e01592b..."} 
[2026-08-21 23:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02577df00012d7dc30005a6a170000e01592b..."} 
[2026-08-21 23:28:02] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02577df00012d7dc30005a6a170000e01592b..."} 
[2026-08-21 23:28:02] local.INFO: Packet analysis {"connection_id":159385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02577"} 
[2026-08-21 23:28:02] local.INFO: Extracted packet for processing {"connection_id":159385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02577"} 
[2026-08-21 23:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763216640,"raw_latitude":94806384,"longitude_deg":76.321664,"latitude_deg":9.4806384,"altitude":14,"angle":345,"satellites":43,"speed":42,"hex_longitude":"2d7dc300","hex_latitude":"05a6a170","is_valid_coordinates":true} 
[2026-08-21 23:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557759744001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388890854653165568,"note":"Value kept but may cause issues"} 
[2026-08-21 23:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065112755467290624,"note":"Value kept but may cause issues"} 
[2026-08-21 23:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787335008000,"timestamp_ms":1787335008000,"timestamp_seconds":1787335008,"priority":1,"record_length":96,"hex_timestamp":"000001a02577df00"} 
[2026-08-21 23:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-08-21 23:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":159385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:28: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-08-21 23:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557759744001,"66":27213,"166":206,"85":14336,"24":42,"16":388890854653165568,"45":9065112755467290624},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-21 23:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557759744001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:28:02] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 23:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388890854653165568,"km_value":388890854653165.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065112755467290624,"description":"Unknown IO ID 45"} 
[2026-08-21 23:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557759744001,"power":27213,"unknown_166":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9065112755467290624}} 
[2026-08-21 23:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":159385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:28:02] local.INFO: GPS data processed {"connection_id":159385,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:28:02] local.INFO: Acknowledgment sent {"connection_id":159385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:28:33] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025780228012d7db88005a6c658000d01592c..."} 
[2026-08-21 23:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025780228012d7db88005a6c658000d01592c..."} 
[2026-08-21 23:28:33] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025780228012d7db88005a6c658000d01592c..."} 
[2026-08-21 23:28:33] local.INFO: Packet analysis {"connection_id":159385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02578"} 
[2026-08-21 23:28:33] local.INFO: Extracted packet for processing {"connection_id":159385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02578"} 
[2026-08-21 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763213952,"raw_latitude":94815832,"longitude_deg":76.3213952,"latitude_deg":9.4815832,"altitude":13,"angle":345,"satellites":44,"speed":43,"hex_longitude":"2d7db880","hex_latitude":"05a6c658","is_valid_coordinates":true} 
[2026-08-21 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557762048001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388891331394535424,"note":"Value kept but may cause issues"} 
[2026-08-21 23:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062086899470004224,"note":"Value kept but may cause issues"} 
[2026-08-21 23:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787335017000,"timestamp_ms":1787335017000,"timestamp_seconds":1787335017,"priority":1,"record_length":96,"hex_timestamp":"000001a025780228"} 
[2026-08-21 23:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557762048001,"66":27365,"166":206,"85":14336,"24":43,"16":388891331394535424,"45":9062086899470004224},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-08-21 23:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557762048001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-08-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388891331394535424,"km_value":388891331394535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062086899470004224,"description":"Unknown IO ID 45"} 
[2026-08-21 23:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557762048001,"power":27365,"unknown_166":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9062086899470004224}} 
[2026-08-21 23:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":159385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:28:33] local.INFO: GPS data processed {"connection_id":159385,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:28:33] local.INFO: Acknowledgment sent {"connection_id":159385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:29:05] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025782550012d7dae8005a6eab0000d01592c..."} 
[2026-08-21 23:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025782550012d7dae8005a6eab0000d01592c..."} 
[2026-08-21 23:29:05] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025782550012d7dae8005a6eab0000d01592c..."} 
[2026-08-21 23:29:05] local.INFO: Packet analysis {"connection_id":159385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02578"} 
[2026-08-21 23:29:05] local.INFO: Extracted packet for processing {"connection_id":159385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02578"} 
[2026-08-21 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763211392,"raw_latitude":94825136,"longitude_deg":76.3211392,"latitude_deg":9.4825136,"altitude":13,"angle":345,"satellites":44,"speed":41,"hex_longitude":"2d7dae80","hex_latitude":"05a6eab0","is_valid_coordinates":true} 
[2026-08-21 23:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557764352001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388891799545970688,"note":"Value kept but may cause issues"} 
[2026-08-21 23:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9059131412216961024,"note":"Value kept but may cause issues"} 
[2026-08-21 23:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1787335026000,"timestamp_ms":1787335026000,"timestamp_seconds":1787335026,"priority":1,"record_length":96,"hex_timestamp":"000001a025782550"} 
[2026-08-21 23:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":159385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557764352001,"66":27343,"63":206,"85":14336,"24":41,"16":388891799545970688,"45":9059131412216961024},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 23:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557764352001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:29:05] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 23:29:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388891799545970688,"km_value":388891799545970.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9059131412216961024,"description":"Unknown IO ID 45"} 
[2026-08-21 23:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557764352001,"power":27343,"unknown_63":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":9059131412216961024}} 
[2026-08-21 23:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":159385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:29:05] local.INFO: GPS data processed {"connection_id":159385,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:29:05] local.INFO: Acknowledgment sent {"connection_id":159385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:29:37] local.INFO: TCP Data received {"connection_id":159385,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025784878012d7da48005a70e98000d01592c..."} 
[2026-08-21 23:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025784878012d7da48005a70e98000d01592c..."} 
[2026-08-21 23:29:37] local.INFO: Processing buffer {"connection_id":159385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025784878012d7da48005a70e98000d01592c..."} 
[2026-08-21 23:29:37] local.INFO: Packet analysis {"connection_id":159385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02578"} 
[2026-08-21 23:29:37] local.INFO: Extracted packet for processing {"connection_id":159385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02578"} 
[2026-08-21 23:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763208832,"raw_latitude":94834328,"longitude_deg":76.3208832,"latitude_deg":9.4834328,"altitude":13,"angle":345,"satellites":44,"speed":42,"hex_longitude":"2d7da480","hex_latitude":"05a70e98","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557766656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388892259107471360,"note":"Value kept but may cause issues"} 
[2026-08-21 23:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056316662452236288,"note":"Value kept but may cause issues"} 
[2026-08-21 23:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1787335035000,"timestamp_ms":1787335035000,"timestamp_seconds":1787335035,"priority":1,"record_length":96,"hex_timestamp":"000001a025784878"} 
[2026-08-21 23:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:29: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-08-21 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":159385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":159385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557766656001,"66":27321,"63":206,"85":14336,"24":42,"16":388892259107471360,"45":9056316662452236288},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,85,24,16,45]} 
[2026-08-21 23:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557766656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:29:37] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-08-21 23:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388892259107471360,"km_value":388892259107471.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056316662452236288,"description":"Unknown IO ID 45"} 
[2026-08-21 23:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557766656001,"power":27321,"unknown_63":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9056316662452236288}} 
[2026-08-21 23:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":159385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:29:37] local.INFO: GPS data processed {"connection_id":159385,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:29:37] local.INFO: Acknowledgment sent {"connection_id":159385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:29:59] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:29:59] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:29:59] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:30:00] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:30:00] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:30:00] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:30:06] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:30:06] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:30:06] local.INFO: IMEI packet received {"connection_id":161975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":161975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:30:07] local.INFO: TCP Data received {"connection_id":161975,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02579cb30012d7d484005a8a030000e015d2c..."} 
[2026-08-21 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02579cb30012d7d484005a8a030000e015d2c..."} 
[2026-08-21 23:30:07] local.INFO: Processing buffer {"connection_id":161975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02579cb30012d7d484005a8a030000e015d2c..."} 
[2026-08-21 23:30:07] local.INFO: Packet analysis {"connection_id":161975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02579"} 
[2026-08-21 23:30:07] local.INFO: Extracted packet for processing {"connection_id":161975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02579"} 
[2026-08-21 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":94937136,"longitude_deg":76.3185216,"latitude_deg":9.4937136,"altitude":14,"angle":349,"satellites":44,"speed":41,"hex_longitude":"2d7d4840","hex_latitude":"05a8a030","is_valid_coordinates":true} 
[2026-08-21 23:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557792000001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388897374413520896,"note":"Value kept but may cause issues"} 
[2026-08-21 23:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576539691055104,"note":"Value kept but may cause issues"} 
[2026-08-21 23:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787335134000,"timestamp_ms":1787335134000,"timestamp_seconds":1787335134,"priority":1,"record_length":96,"hex_timestamp":"000001a02579cb30"} 
[2026-08-21 23:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:30:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557792000001,"66":27332,"62":206,"85":14336,"24":41,"16":388897374413520896,"45":9029576539691055104},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-08-21 23:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557792000001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388897374413520896,"km_value":388897374413520.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576539691055104,"description":"Unknown IO ID 45"} 
[2026-08-21 23:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557792000001,"power":27332,"unknown_62":206,"unknown_85":14336,"ignition":41,"odometer":null,"unknown_45":9029576539691055104}} 
[2026-08-21 23:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":161975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:30:07] local.INFO: GPS data processed {"connection_id":161975,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:30:07] local.INFO: Acknowledgment sent {"connection_id":161975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:31:00] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:31:00] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:31:00] local.INFO: IMEI packet received {"connection_id":160583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":160583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:31:06] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:31:06] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:31:06] local.INFO: IMEI packet received {"connection_id":160583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":160583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:31:07] local.INFO: TCP Data received {"connection_id":160583,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02579ee58012d7d410005a8c4d0000e015c2b..."} 
[2026-08-21 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02579ee58012d7d410005a8c4d0000e015c2b..."} 
[2026-08-21 23:31:07] local.INFO: Processing buffer {"connection_id":160583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02579ee58012d7d410005a8c4d0000e015c2b..."} 
[2026-08-21 23:31:07] local.INFO: Packet analysis {"connection_id":160583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02579"} 
[2026-08-21 23:31:07] local.INFO: Extracted packet for processing {"connection_id":160583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02579"} 
[2026-08-21 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":763183360,"raw_latitude":94946512,"longitude_deg":76.318336,"latitude_deg":9.4946512,"altitude":14,"angle":348,"satellites":43,"speed":43,"hex_longitude":"2d7d4100","hex_latitude":"05a8c4d0","is_valid_coordinates":true} 
[2026-08-21 23:31:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557794304001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388897838269988864,"note":"Value kept but may cause issues"} 
[2026-08-21 23:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535846112243712,"note":"Value kept but may cause issues"} 
[2026-08-21 23:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787335143000,"timestamp_ms":1787335143000,"timestamp_seconds":1787335143,"priority":1,"record_length":96,"hex_timestamp":"000001a02579ee58"} 
[2026-08-21 23:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:31:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":160583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":160583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":160583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557794304001,"66":27267,"62":206,"85":14336,"24":43,"16":388897838269988864,"45":9027535846112243712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,85,24,16,45]} 
[2026-08-21 23:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557794304001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-08-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388897838269988864,"km_value":388897838269988.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535846112243712,"description":"Unknown IO ID 45"} 
[2026-08-21 23:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557794304001,"power":27267,"unknown_62":206,"unknown_85":14336,"ignition":43,"odometer":null,"unknown_45":9027535846112243712}} 
[2026-08-21 23:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":160583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:31:07] local.INFO: GPS data processed {"connection_id":160583,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:31:07] local.INFO: Acknowledgment sent {"connection_id":160583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:32:01] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:01] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:01] local.INFO: IMEI packet received {"connection_id":159386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":159386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:32:03] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:03] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:03] local.INFO: IMEI packet received {"connection_id":159386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":159386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:32:05] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:05] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:05] local.INFO: IMEI packet received {"connection_id":159386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":159386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:32:06] local.INFO: TCP Data received {"connection_id":159386,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257b6170012d7dad8005aa26d8000a00212c..."} 
[2026-08-21 23:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257b6170012d7dad8005aa26d8000a00212c..."} 
[2026-08-21 23:32:06] local.INFO: Processing buffer {"connection_id":159386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257b6170012d7dad8005aa26d8000a00212c..."} 
[2026-08-21 23:32:06] local.INFO: Packet analysis {"connection_id":159386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257b"} 
[2026-08-21 23:32:06] local.INFO: Extracted packet for processing {"connection_id":159386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257b"} 
[2026-08-21 23:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763211136,"raw_latitude":95037144,"longitude_deg":76.3211136,"latitude_deg":9.5037144,"altitude":10,"angle":33,"satellites":44,"speed":30,"hex_longitude":"2d7dad80","hex_latitude":"05aa26d8","is_valid_coordinates":true} 
[2026-08-21 23:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557818368001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388902687288066048,"note":"Value kept but may cause issues"} 
[2026-08-21 23:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9050687162970304512,"note":"Value kept but may cause issues"} 
[2026-08-21 23:32:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,85,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-08-21 23:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787335238000,"timestamp_ms":1787335238000,"timestamp_seconds":1787335238,"priority":1,"record_length":96,"hex_timestamp":"000001a0257b6170"} 
[2026-08-21 23:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:32: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-08-21 23:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 23:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557818368001,"66":27267,"16":388902687288066048,"85":14336,"24":30,"45":9050687162970304512},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,85,24,45]} 
[2026-08-21 23:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557818368001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388902687288066048,"km_value":388902687288066.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9050687162970304512,"description":"Unknown IO ID 45"} 
[2026-08-21 23:32:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":457557818368001,"power":27267,"odometer":null,"unknown_85":14336,"ignition":30,"unknown_45":9050687162970304512}} 
[2026-08-21 23:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":159386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:32:06] local.INFO: GPS data processed {"connection_id":159386,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:32:06] local.INFO: Acknowledgment sent {"connection_id":159386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:32:55] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:55] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:55] local.INFO: IMEI packet received {"connection_id":160584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":160584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:32:55] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:55] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:32:55] local.INFO: IMEI packet received {"connection_id":160584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":160584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:33:01] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:01] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:01] local.INFO: IMEI packet received {"connection_id":160584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":160584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:33:02] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257b8c68012d7dc0c005aa44f0000a00202c..."} 
[2026-08-21 23:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257b8c68012d7dc0c005aa44f0000a00202c..."} 
[2026-08-21 23:33:02] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257b8c68012d7dc0c005aa44f0000a00202c..."} 
[2026-08-21 23:33:02] local.INFO: Packet analysis {"connection_id":160584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257b"} 
[2026-08-21 23:33:02] local.INFO: Extracted packet for processing {"connection_id":160584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257b"} 
[2026-08-21 23:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763216064,"raw_latitude":95044848,"longitude_deg":76.3216064,"latitude_deg":9.5044848,"altitude":10,"angle":32,"satellites":44,"speed":36,"hex_longitude":"2d7dc0c0","hex_latitude":"05aa44f0","is_valid_coordinates":true} 
[2026-08-21 23:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557820928001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388903129669697536,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056035187529799680,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787335249000,"timestamp_ms":1787335249000,"timestamp_seconds":1787335249,"priority":1,"record_length":96,"hex_timestamp":"000001a0257b8c68"} 
[2026-08-21 23:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:33: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-08-21 23:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557820928001,"66":27343,"127":206,"85":14336,"24":36,"16":388903129669697536,"45":9056035187529799680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 23:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557820928001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:33:02] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 23:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388903129669697536,"km_value":388903129669697.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056035187529799680,"description":"Unknown IO ID 45"} 
[2026-08-21 23:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557820928001,"power":27343,"unknown_127":206,"unknown_85":14336,"ignition":36,"odometer":null,"unknown_45":9056035187529799680}} 
[2026-08-21 23:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":160584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:33:02] local.INFO: GPS data processed {"connection_id":160584,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:33:02] local.INFO: Acknowledgment sent {"connection_id":160584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:33:10] local.INFO: TCP Data received {"connection_id":160584,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257bb378012d7dd3c005aa6258000b00212c..."} 
[2026-08-21 23:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257bb378012d7dd3c005aa6258000b00212c..."} 
[2026-08-21 23:33:10] local.INFO: Processing buffer {"connection_id":160584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257bb378012d7dd3c005aa6258000b00212c..."} 
[2026-08-21 23:33:10] local.INFO: Packet analysis {"connection_id":160584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257b"} 
[2026-08-21 23:33:10] local.INFO: Extracted packet for processing {"connection_id":160584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257b"} 
[2026-08-21 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":763220928,"raw_latitude":95052376,"longitude_deg":76.3220928,"latitude_deg":9.5052376,"altitude":11,"angle":33,"satellites":44,"speed":35,"hex_longitude":"2d7dd3c0","hex_latitude":"05aa6258","is_valid_coordinates":true} 
[2026-08-21 23:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557823744001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388903559166427136,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9061453580833452032,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1787335259000,"timestamp_ms":1787335259000,"timestamp_seconds":1787335259,"priority":1,"record_length":96,"hex_timestamp":"000001a0257bb378"} 
[2026-08-21 23:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:33: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-08-21 23:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":160584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":160584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557823744001,"66":27289,"127":206,"85":14336,"24":35,"16":388903559166427136,"45":9061453580833452032},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-08-21 23:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557823744001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:33:10] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-08-21 23:33:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388903559166427136,"km_value":388903559166427.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9061453580833452032,"description":"Unknown IO ID 45"} 
[2026-08-21 23:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557823744001,"power":27289,"unknown_127":206,"unknown_85":14336,"ignition":35,"odometer":null,"unknown_45":9061453580833452032}} 
[2026-08-21 23:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":160584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:33:10] local.INFO: GPS data processed {"connection_id":160584,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:33:10] local.INFO: Acknowledgment sent {"connection_id":160584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:33:49] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:49] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:49] local.INFO: IMEI packet received {"connection_id":159660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":159660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:33:50] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:50] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:50] local.INFO: IMEI packet received {"connection_id":159660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":159660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:33:56] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:56] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:33:56] local.INFO: IMEI packet received {"connection_id":159660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":159660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:33:57] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257d2e60012d7e9d0005abbfc8000500112d..."} 
[2026-08-21 23:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257d2e60012d7e9d0005abbfc8000500112d..."} 
[2026-08-21 23:33:57] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257d2e60012d7e9d0005abbfc8000500112d..."} 
[2026-08-21 23:33:57] local.INFO: Packet analysis {"connection_id":159660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:33:57] local.INFO: Extracted packet for processing {"connection_id":159660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763272448,"raw_latitude":95141832,"longitude_deg":76.3272448,"latitude_deg":9.5141832,"altitude":5,"angle":17,"satellites":45,"speed":42,"hex_longitude":"2d7e9d00","hex_latitude":"05abbfc8","is_valid_coordinates":true} 
[2026-08-21 23:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557848832001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388908571393261568,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120281850988531712,"note":"Value kept but may cause issues"} 
[2026-08-21 23:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335356000,"timestamp_ms":1787335356000,"timestamp_seconds":1787335356,"priority":1,"record_length":96,"hex_timestamp":"000001a0257d2e60"} 
[2026-08-21 23:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557848832001,"66":27332,"40":206,"85":14336,"24":42,"16":388908571393261568,"45":9120281850988531712},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-21 23:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557848832001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:33:57] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-21 23:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388908571393261568,"km_value":388908571393261.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120281850988531712,"description":"Unknown IO ID 45"} 
[2026-08-21 23:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557848832001,"power":27332,"unknown_40":206,"unknown_85":14336,"ignition":42,"odometer":null,"unknown_45":9120281850988531712}} 
[2026-08-21 23:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":159660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:33:57] local.INFO: GPS data processed {"connection_id":159660,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:33:57] local.INFO: Acknowledgment sent {"connection_id":159660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:34:33] local.INFO: TCP Data received {"connection_id":159660,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257d5188012d7ea54005abde68000600042b..."} 
[2026-08-21 23:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257d5188012d7ea54005abde68000600042b..."} 
[2026-08-21 23:34:33] local.INFO: Processing buffer {"connection_id":159660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257d5188012d7ea54005abde68000600042b..."} 
[2026-08-21 23:34:33] local.INFO: Packet analysis {"connection_id":159660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:34:33] local.INFO: Extracted packet for processing {"connection_id":159660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95149672,"longitude_deg":76.327456,"latitude_deg":9.5149672,"altitude":6,"angle":4,"satellites":43,"speed":16,"hex_longitude":"2d7ea540","hex_latitude":"05abde68","is_valid_coordinates":true} 
[2026-08-21 23:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557851136001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388908962235285504,"note":"Value kept but may cause issues"} 
[2026-08-21 23:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123448444478801920,"note":"Value kept but may cause issues"} 
[2026-08-21 23:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1787335365000,"timestamp_ms":1787335365000,"timestamp_seconds":1787335365,"priority":1,"record_length":96,"hex_timestamp":"000001a0257d5188"} 
[2026-08-21 23:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":159660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":159660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557851136001,"66":27234,"40":206,"85":14336,"24":16,"16":388908962235285504,"45":9123448444478801920},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-21 23:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557851136001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:34:33] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-21 23:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388908962235285504,"km_value":388908962235285.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123448444478801920,"description":"Unknown IO ID 45"} 
[2026-08-21 23:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557851136001,"power":27234,"unknown_40":206,"unknown_85":14336,"ignition":16,"odometer":null,"unknown_45":9123448444478801920}} 
[2026-08-21 23:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":159660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:34:33] local.INFO: GPS data processed {"connection_id":159660,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:34:33] local.INFO: Acknowledgment sent {"connection_id":159660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:34:51] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:51] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:51] local.INFO: IMEI packet received {"connection_id":159661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":159661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:34:51] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:51] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:51] local.INFO: IMEI packet received {"connection_id":159661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":159661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:34:56] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:56] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:34:56] local.INFO: IMEI packet received {"connection_id":159661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":159661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:34:57] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257d9fa8012d7ea8c005ac0278000901672b..."} 
[2026-08-21 23:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257d9fa8012d7ea8c005ac0278000901672b..."} 
[2026-08-21 23:34:57] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257d9fa8012d7ea8c005ac0278000901672b..."} 
[2026-08-21 23:34:57] local.INFO: Packet analysis {"connection_id":159661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:34:57] local.INFO: Extracted packet for processing {"connection_id":159661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95158904,"longitude_deg":76.3275456,"latitude_deg":9.5158904,"altitude":9,"angle":359,"satellites":43,"speed":29,"hex_longitude":"2d7ea8c0","hex_latitude":"05ac0278","is_valid_coordinates":true} 
[2026-08-21 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557853440001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388909417501818880,"note":"Value kept but may cause issues"} 
[2026-08-21 23:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613038671872,"note":"Value kept but may cause issues"} 
[2026-08-21 23:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335385000,"timestamp_ms":1787335385000,"timestamp_seconds":1787335385,"priority":1,"record_length":96,"hex_timestamp":"000001a0257d9fa8"} 
[2026-08-21 23:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557853440001,"66":27310,"40":206,"85":14336,"24":29,"16":388909417501818880,"45":9125770613038671872},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-21 23:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557853440001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:34:57] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-21 23:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388909417501818880,"km_value":388909417501818.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613038671872,"description":"Unknown IO ID 45"} 
[2026-08-21 23:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557853440001,"power":27310,"unknown_40":206,"unknown_85":14336,"ignition":29,"odometer":null,"unknown_45":9125770613038671872}} 
[2026-08-21 23:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":159661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:34:57] local.INFO: GPS data processed {"connection_id":159661,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:34:57] local.INFO: Acknowledgment sent {"connection_id":159661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:35:00] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257db718012d7eaa0005ac14380009000b2c..."} 
[2026-08-21 23:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257db718012d7eaa0005ac14380009000b2c..."} 
[2026-08-21 23:35:00] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257db718012d7eaa0005ac14380009000b2c..."} 
[2026-08-21 23:35:00] local.INFO: Packet analysis {"connection_id":159661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:35:00] local.INFO: Extracted packet for processing {"connection_id":159661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763275776,"raw_latitude":95163448,"longitude_deg":76.3275776,"latitude_deg":9.5163448,"altitude":9,"angle":11,"satellites":44,"speed":28,"hex_longitude":"2d7eaa00","hex_latitude":"05ac1438","is_valid_coordinates":true} 
[2026-08-21 23:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557858560001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388909636545150976,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775459522560,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1787335391000,"timestamp_ms":1787335391000,"timestamp_seconds":1787335391,"priority":1,"record_length":96,"hex_timestamp":"000001a0257db718"} 
[2026-08-21 23:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 23:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":159661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":159661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":159661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557858560001,"66":27245,"40":206,"85":14336,"24":28,"16":388909636545150976,"45":9126755775459522560},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,85,24,16,45]} 
[2026-08-21 23:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557858560001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:35:00] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-08-21 23:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388909636545150976,"km_value":388909636545151.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775459522560,"description":"Unknown IO ID 45"} 
[2026-08-21 23:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557858560001,"power":27245,"unknown_40":206,"unknown_85":14336,"ignition":28,"odometer":null,"unknown_45":9126755775459522560}} 
[2026-08-21 23:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":159661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:35:00] local.INFO: GPS data processed {"connection_id":159661,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:35:00] local.INFO: Acknowledgment sent {"connection_id":159661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:35:34] local.INFO: TCP Data received {"connection_id":159661,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257dda40012d7eaac005ac2f60000401672b..."} 
[2026-08-21 23:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257dda40012d7eaac005ac2f60000401672b..."} 
[2026-08-21 23:35:34] local.INFO: Processing buffer {"connection_id":159661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257dda40012d7eaac005ac2f60000401672b..."} 
[2026-08-21 23:35:34] local.INFO: Packet analysis {"connection_id":159661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:35:34] local.INFO: Extracted packet for processing {"connection_id":159661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257d"} 
[2026-08-21 23:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95170400,"longitude_deg":76.3275968,"latitude_deg":9.51704,"altitude":4,"angle":359,"satellites":43,"speed":33,"hex_longitude":"2d7eaac0","hex_latitude":"05ac2f60","is_valid_coordinates":true} 
[2026-08-21 23:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557860096001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388909975847567360,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127107619181574144,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787335400000,"timestamp_ms":1787335400000,"timestamp_seconds":1787335400,"priority":1,"record_length":96,"hex_timestamp":"000001a0257dda40"} 
[2026-08-21 23:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-08-21 23:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":159661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":159661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":159661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557860096001,"66":27332,"170":206,"85":14336,"24":33,"16":388909975847567360,"45":9127107619181574144},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-08-21 23:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557860096001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:35:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-08-21 23:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388909975847567360,"km_value":388909975847567.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127107619181574144,"description":"Unknown IO ID 45"} 
[2026-08-21 23:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557860096001,"power":27332,"unknown_170":206,"unknown_85":14336,"ignition":33,"odometer":null,"unknown_45":9127107619181574144}} 
[2026-08-21 23:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":159661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:35:34] local.INFO: GPS data processed {"connection_id":159661,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:35:34] local.INFO: Acknowledgment sent {"connection_id":159661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:35:49] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:49] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:49] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:35:51] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:51] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:51] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:35:56] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:56] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:35:56] local.INFO: IMEI packet received {"connection_id":160585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":160585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:35:57] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257f4d58012d7ea34005ad9bf0000b00002c..."} 
[2026-08-21 23:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257f4d58012d7ea34005ad9bf0000b00002c..."} 
[2026-08-21 23:35:57] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257f4d58012d7ea34005ad9bf0000b00002c..."} 
[2026-08-21 23:35:57] local.INFO: Packet analysis {"connection_id":160585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:35:57] local.INFO: Extracted packet for processing {"connection_id":160585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763274048,"raw_latitude":95263728,"longitude_deg":76.3274048,"latitude_deg":9.5263728,"altitude":11,"angle":0,"satellites":44,"speed":49,"hex_longitude":"2d7ea340","hex_latitude":"05ad9bf0","is_valid_coordinates":true} 
[2026-08-21 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557884672001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388914507038064640,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125418769344473088,"note":"Value kept but may cause issues"} 
[2026-08-21 23:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335495000,"timestamp_ms":1787335495000,"timestamp_seconds":1787335495,"priority":1,"record_length":96,"hex_timestamp":"000001a0257f4d58"} 
[2026-08-21 23:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557884672001,"66":27332,"225":206,"85":14336,"24":49,"16":388914507038064640,"45":9125418769344473088},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-21 23:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557884672001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:35:57] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 23:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388914507038064640,"km_value":388914507038064.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125418769344473088,"description":"Unknown IO ID 45"} 
[2026-08-21 23:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557884672001,"power":27332,"unknown_225":206,"unknown_85":14336,"ignition":49,"odometer":null,"unknown_45":9125418769344473088}} 
[2026-08-21 23:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":160585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:35:57] local.INFO: GPS data processed {"connection_id":160585,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:35:57] local.INFO: Acknowledgment sent {"connection_id":160585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:36:27] local.INFO: TCP Data received {"connection_id":160585,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257f6c98012d7ea28005adc2f8000b01662d..."} 
[2026-08-21 23:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257f6c98012d7ea28005adc2f8000b01662d..."} 
[2026-08-21 23:36:27] local.INFO: Processing buffer {"connection_id":160585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257f6c98012d7ea28005adc2f8000b01662d..."} 
[2026-08-21 23:36:27] local.INFO: Packet analysis {"connection_id":160585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:36:27] local.INFO: Extracted packet for processing {"connection_id":160585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763273856,"raw_latitude":95273720,"longitude_deg":76.3273856,"latitude_deg":9.527372,"altitude":11,"angle":358,"satellites":45,"speed":50,"hex_longitude":"2d7ea280","hex_latitude":"05adc2f8","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557886720001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388914992369369088,"note":"Value kept but may cause issues"} 
[2026-08-21 23:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125207663114448896,"note":"Value kept but may cause issues"} 
[2026-08-21 23:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787335503000,"timestamp_ms":1787335503000,"timestamp_seconds":1787335503,"priority":1,"record_length":96,"hex_timestamp":"000001a0257f6c98"} 
[2026-08-21 23:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557886720001,"66":27223,"225":206,"85":14336,"24":50,"16":388914992369369088,"45":9125207663114448896},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-08-21 23:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557886720001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:36:27] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-08-21 23:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":14336,"description":"Unknown IO ID 85"} 
[2026-08-21 23:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388914992369369088,"km_value":388914992369369.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125207663114448896,"description":"Unknown IO ID 45"} 
[2026-08-21 23:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557886720001,"power":27223,"unknown_225":206,"unknown_85":14336,"ignition":50,"odometer":null,"unknown_45":9125207663114448896}} 
[2026-08-21 23:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":160585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:36:27] local.INFO: GPS data processed {"connection_id":160585,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:36:27] local.INFO: Acknowledgment sent {"connection_id":160585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:36:56] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:36:56] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:36:56] local.INFO: IMEI packet received {"connection_id":159387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":159387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:36:57] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:36:57] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:36:57] local.INFO: IMEI packet received {"connection_id":159387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":159387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:37:03] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:03] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:03] local.INFO: IMEI packet received {"connection_id":159387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":159387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:37:04] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257f8bd8012d7ea2c005ade880000d00032d..."} 
[2026-08-21 23:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257f8bd8012d7ea2c005ade880000d00032d..."} 
[2026-08-21 23:37:04] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257f8bd8012d7ea2c005ade880000d00032d..."} 
[2026-08-21 23:37:04] local.INFO: Packet analysis {"connection_id":159387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:37:04] local.INFO: Extracted packet for processing {"connection_id":159387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:37:04] local.INFO: GPS Element Parsed {"raw_longitude":763273920,"raw_latitude":95283328,"longitude_deg":76.327392,"latitude_deg":9.5283328,"altitude":13,"angle":3,"satellites":45,"speed":45,"hex_longitude":"2d7ea2c0","hex_latitude":"05ade880","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557888768001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388915456225837056,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124996556884473856,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1787335511000,"timestamp_ms":1787335511000,"timestamp_seconds":1787335511,"priority":1,"record_length":96,"hex_timestamp":"000001a0257f8bd8"} 
[2026-08-21 23:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-08-21 23:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":159387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557888768001,"66":27115,"29":206,"85":12544,"24":45,"16":388915456225837056,"45":9124996556884473856},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-21 23:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557888768001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:37:04] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 23:37:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388915456225837056,"km_value":388915456225837.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124996556884473856,"description":"Unknown IO ID 45"} 
[2026-08-21 23:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557888768001,"power":27115,"unknown_29":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9124996556884473856}} 
[2026-08-21 23:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":159387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:37:04] local.INFO: GPS data processed {"connection_id":159387,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:37:04] local.INFO: Acknowledgment sent {"connection_id":159387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:37:35] local.INFO: TCP Data received {"connection_id":159387,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0257faf00012d7ea20005ae0ef8000f01652d..."} 
[2026-08-21 23:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0257faf00012d7ea20005ae0ef8000f01652d..."} 
[2026-08-21 23:37:35] local.INFO: Processing buffer {"connection_id":159387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0257faf00012d7ea20005ae0ef8000f01652d..."} 
[2026-08-21 23:37:35] local.INFO: Packet analysis {"connection_id":159387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:37:35] local.INFO: Extracted packet for processing {"connection_id":159387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0257f"} 
[2026-08-21 23:37:35] local.INFO: GPS Element Parsed {"raw_longitude":763273728,"raw_latitude":95293176,"longitude_deg":76.3273728,"latitude_deg":9.5293176,"altitude":15,"angle":357,"satellites":45,"speed":41,"hex_longitude":"2d7ea200","hex_latitude":"05ae0ef8","is_valid_coordinates":true} 
[2026-08-21 23:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557890816001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388915937262174208,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125066925631111168,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1787335520000,"timestamp_ms":1787335520000,"timestamp_seconds":1787335520,"priority":1,"record_length":96,"hex_timestamp":"000001a0257faf00"} 
[2026-08-21 23:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:37: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-08-21 23:37:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-08-21 23:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:37:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":159387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":159387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557890816001,"66":27213,"29":206,"85":12544,"24":41,"16":388915937262174208,"45":9125066925631111168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-08-21 23:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557890816001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:37:35] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-08-21 23:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388915937262174208,"km_value":388915937262174.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:37:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125066925631111168,"description":"Unknown IO ID 45"} 
[2026-08-21 23:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557890816001,"power":27213,"unknown_29":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9125066925631111168}} 
[2026-08-21 23:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":159387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:37:35] local.INFO: GPS data processed {"connection_id":159387,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:37:35] local.INFO: Acknowledgment sent {"connection_id":159387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:37:51] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:51] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:51] local.INFO: IMEI packet received {"connection_id":159388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":159388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:37:55] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:55] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:37:55] local.INFO: IMEI packet received {"connection_id":159388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":159388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:37:57] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025813d70012d7e93c005af7448000900172a..."} 
[2026-08-21 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025813d70012d7e93c005af7448000900172a..."} 
[2026-08-21 23:37:57] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025813d70012d7e93c005af7448000900172a..."} 
[2026-08-21 23:37:57] local.INFO: Packet analysis {"connection_id":159388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02581"} 
[2026-08-21 23:37:57] local.INFO: Extracted packet for processing {"connection_id":159388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02581"} 
[2026-08-21 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763270080,"raw_latitude":95384648,"longitude_deg":76.327008,"latitude_deg":9.5384648,"altitude":9,"angle":23,"satellites":42,"speed":11,"hex_longitude":"2d7e93c0","hex_latitude":"05af7448","is_valid_coordinates":true} 
[2026-08-21 23:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557916160001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388920378258358272,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121548488445882368,"note":"Value kept but may cause issues"} 
[2026-08-21 23:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335622000,"timestamp_ms":1787335622000,"timestamp_seconds":1787335622,"priority":1,"record_length":96,"hex_timestamp":"000001a025813d70"} 
[2026-08-21 23:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557916160001,"66":27332,"27":206,"85":12544,"24":11,"16":388920378258358272,"45":9121548488445882368},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-21 23:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557916160001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:37:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 23:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388920378258358272,"km_value":388920378258358.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121548488445882368,"description":"Unknown IO ID 45"} 
[2026-08-21 23:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557916160001,"power":27332,"unknown_27":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9121548488445882368}} 
[2026-08-21 23:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":159388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:37:57] local.INFO: GPS data processed {"connection_id":159388,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:37:57] local.INFO: Acknowledgment sent {"connection_id":159388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:38:28] local.INFO: TCP Data received {"connection_id":159388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025813d70012d7e93c005af7448000900172a..."} 
[2026-08-21 23:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025813d70012d7e93c005af7448000900172a..."} 
[2026-08-21 23:38:28] local.INFO: Processing buffer {"connection_id":159388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025813d70012d7e93c005af7448000900172a..."} 
[2026-08-21 23:38:28] local.INFO: Packet analysis {"connection_id":159388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02581"} 
[2026-08-21 23:38:28] local.INFO: Extracted packet for processing {"connection_id":159388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02581"} 
[2026-08-21 23:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763270080,"raw_latitude":95384648,"longitude_deg":76.327008,"latitude_deg":9.5384648,"altitude":9,"angle":23,"satellites":42,"speed":11,"hex_longitude":"2d7e93c0","hex_latitude":"05af7448","is_valid_coordinates":true} 
[2026-08-21 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557919232001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388920378258358272,"note":"Value kept but may cause issues"} 
[2026-08-21 23:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9120844801006389248,"note":"Value kept but may cause issues"} 
[2026-08-21 23:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787335622000,"timestamp_ms":1787335622000,"timestamp_seconds":1787335622,"priority":1,"record_length":96,"hex_timestamp":"000001a025813d70"} 
[2026-08-21 23:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-08-21 23:38: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-08-21 23:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557919232001,"66":27332,"27":206,"85":12544,"24":11,"16":388920378258358272,"45":9120844801006389248},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-21 23:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557919232001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:38:28] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 23:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388920378258358272,"km_value":388920378258358.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9120844801006389248,"description":"Unknown IO ID 45"} 
[2026-08-21 23:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557919232001,"power":27332,"unknown_27":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9120844801006389248}} 
[2026-08-21 23:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":159388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:38:28] local.INFO: GPS data processed {"connection_id":159388,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:38:28] local.INFO: Acknowledgment sent {"connection_id":159388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:38:50] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:50] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:50] local.INFO: IMEI packet received {"connection_id":159662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":159662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:38:50] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:50] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:50] local.INFO: IMEI packet received {"connection_id":159662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":159662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:38:52] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:52] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:52] local.INFO: IMEI packet received {"connection_id":159662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":159662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:38:54] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:54] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:38:54] local.INFO: IMEI packet received {"connection_id":159662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":159662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:38:54] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0258200c0012d7ee28005af7be8000600602d..."} 
[2026-08-21 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258200c0012d7ee28005af7be8000600602d..."} 
[2026-08-21 23:38:54] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258200c0012d7ee28005af7be8000600602d..."} 
[2026-08-21 23:38:54] local.INFO: Packet analysis {"connection_id":159662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02582"} 
[2026-08-21 23:38:54] local.INFO: Extracted packet for processing {"connection_id":159662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02582"} 
[2026-08-21 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":763290240,"raw_latitude":95386600,"longitude_deg":76.329024,"latitude_deg":9.53866,"altitude":6,"angle":96,"satellites":45,"speed":35,"hex_longitude":"2d7ee280","hex_latitude":"05af7be8","is_valid_coordinates":true} 
[2026-08-21 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557932032001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388921366100836352,"note":"Value kept but may cause issues"} 
[2026-08-21 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9143010955422853120,"note":"Value kept but may cause issues"} 
[2026-08-21 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1787335672000,"timestamp_ms":1787335672000,"timestamp_seconds":1787335672,"priority":1,"record_length":96,"hex_timestamp":"000001a0258200c0"} 
[2026-08-21 23:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-08-21 23:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":159662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557932032001,"66":27234,"27":206,"85":12544,"24":35,"16":388921366100836352,"45":9143010955422853120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-21 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557932032001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:38:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 23:38:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388921366100836352,"km_value":388921366100836.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9143010955422853120,"description":"Unknown IO ID 45"} 
[2026-08-21 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557932032001,"power":27234,"unknown_27":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9143010955422853120}} 
[2026-08-21 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":159662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:38:54] local.INFO: GPS data processed {"connection_id":159662,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:38:54] local.INFO: Acknowledgment sent {"connection_id":159662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:39:26] local.INFO: TCP Data received {"connection_id":159662,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025829530012d7f318005af57900007002b2d..."} 
[2026-08-21 23:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025829530012d7f318005af57900007002b2d..."} 
[2026-08-21 23:39:26] local.INFO: Processing buffer {"connection_id":159662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025829530012d7f318005af57900007002b2d..."} 
[2026-08-21 23:39:26] local.INFO: Packet analysis {"connection_id":159662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02582"} 
[2026-08-21 23:39:26] local.INFO: Extracted packet for processing {"connection_id":159662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02582"} 
[2026-08-21 23:39:26] local.INFO: GPS Element Parsed {"raw_longitude":763310464,"raw_latitude":95377296,"longitude_deg":76.3310464,"latitude_deg":9.5377296,"altitude":7,"angle":43,"satellites":45,"speed":14,"hex_longitude":"2d7f3180","hex_latitude":"05af5790","is_valid_coordinates":true} 
[2026-08-21 23:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557941504001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388922598756450304,"note":"Value kept but may cause issues"} 
[2026-08-21 23:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164895634859673600,"note":"Value kept but may cause issues"} 
[2026-08-21 23:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1787335710000,"timestamp_ms":1787335710000,"timestamp_seconds":1787335710,"priority":1,"record_length":96,"hex_timestamp":"000001a025829530"} 
[2026-08-21 23:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":159662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":159662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557941504001,"66":27071,"27":206,"85":12544,"24":14,"16":388922598756450304,"45":9164895634859673600},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-21 23:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557941504001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:39:26] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 23:39:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388922598756450304,"km_value":388922598756450.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164895634859673600,"description":"Unknown IO ID 45"} 
[2026-08-21 23:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557941504001,"power":27071,"unknown_27":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9164895634859673600}} 
[2026-08-21 23:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":159662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:39:26] local.INFO: GPS data processed {"connection_id":159662,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:39:26] local.INFO: Acknowledgment sent {"connection_id":159662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:39:50] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:50] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:50] local.INFO: IMEI packet received {"connection_id":159663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":159663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:39:53] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:53] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:53] local.INFO: IMEI packet received {"connection_id":159663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":159663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:39:56] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:56] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:39:56] local.INFO: IMEI packet received {"connection_id":159663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":159663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:39:57] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025829918012d7f320005af58d0000700142d..."} 
[2026-08-21 23:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025829918012d7f320005af58d0000700142d..."} 
[2026-08-21 23:39:57] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025829918012d7f320005af58d0000700142d..."} 
[2026-08-21 23:39:57] local.INFO: Packet analysis {"connection_id":159663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02582"} 
[2026-08-21 23:39:57] local.INFO: Extracted packet for processing {"connection_id":159663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02582"} 
[2026-08-21 23:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763310592,"raw_latitude":95377616,"longitude_deg":76.3310592,"latitude_deg":9.5377616,"altitude":7,"angle":20,"satellites":45,"speed":15,"hex_longitude":"2d7f3200","hex_latitude":"05af58d0","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557941760001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388922615936319488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165247478580613120,"note":"Value kept but may cause issues"} 
[2026-08-21 23:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335711000,"timestamp_ms":1787335711000,"timestamp_seconds":1787335711,"priority":1,"record_length":96,"hex_timestamp":"000001a025829918"} 
[2026-08-21 23:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 23:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557941760001,"66":27071,"27":206,"85":12544,"24":15,"16":388922615936319488,"45":9165247478580613120},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-08-21 23:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557941760001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:39:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-08-21 23:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388922615936319488,"km_value":388922615936319.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165247478580613120,"description":"Unknown IO ID 45"} 
[2026-08-21 23:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557941760001,"power":27071,"unknown_27":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9165247478580613120}} 
[2026-08-21 23:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":159663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:39:57] local.INFO: GPS data processed {"connection_id":159663,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:39:57] local.INFO: Acknowledgment sent {"connection_id":159663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:40:27] local.INFO: TCP Data received {"connection_id":159663,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02583c1f8012d7f9dc005afb8f0000400442c..."} 
[2026-08-21 23:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02583c1f8012d7f9dc005afb8f0000400442c..."} 
[2026-08-21 23:40:27] local.INFO: Processing buffer {"connection_id":159663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02583c1f8012d7f9dc005afb8f0000400442c..."} 
[2026-08-21 23:40:27] local.INFO: Packet analysis {"connection_id":159663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:40:27] local.INFO: Extracted packet for processing {"connection_id":159663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95402224,"longitude_deg":76.3338176,"latitude_deg":9.5402224,"altitude":4,"angle":68,"satellites":44,"speed":14,"hex_longitude":"2d7f9dc0","hex_latitude":"05afb8f0","is_valid_coordinates":true} 
[2026-08-21 23:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557959424001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925025412972544,"note":"Value kept but may cause issues"} 
[2026-08-21 23:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9190087645281671168,"note":"Value kept but may cause issues"} 
[2026-08-21 23:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787335787000,"timestamp_ms":1787335787000,"timestamp_seconds":1787335787,"priority":1,"record_length":96,"hex_timestamp":"000001a02583c1f8"} 
[2026-08-21 23:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-08-21 23:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557959424001,"66":27365,"250":206,"85":12544,"24":14,"16":388925025412972544,"45":9190087645281671168},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557959424001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:40:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925025412972544,"km_value":388925025412972.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9190087645281671168,"description":"Unknown IO ID 45"} 
[2026-08-21 23:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557959424001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9190087645281671168}} 
[2026-08-21 23:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":159663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:40:27] local.INFO: GPS data processed {"connection_id":159663,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:40:27] local.INFO: Acknowledgment sent {"connection_id":159663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:40:50] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:40:50] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:40:50] local.INFO: IMEI packet received {"connection_id":159389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":159389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:40:56] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:40:56] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:40:56] local.INFO: IMEI packet received {"connection_id":159389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":159389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:40:57] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02583c5e0012d7f9f0005afb998000400302c..."} 
[2026-08-21 23:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02583c5e0012d7f9f0005afb998000400302c..."} 
[2026-08-21 23:40:57] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02583c5e0012d7f9f0005afb998000400302c..."} 
[2026-08-21 23:40:57] local.INFO: Packet analysis {"connection_id":159389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:40:57] local.INFO: Extracted packet for processing {"connection_id":159389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763338496,"raw_latitude":95402392,"longitude_deg":76.3338496,"latitude_deg":9.5402392,"altitude":4,"angle":48,"satellites":44,"speed":12,"hex_longitude":"2d7f9f00","hex_latitude":"05afb998","is_valid_coordinates":true} 
[2026-08-21 23:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557961472001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925042592841728,"note":"Value kept but may cause issues"} 
[2026-08-21 23:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144815923200,"note":"Value kept but may cause issues"} 
[2026-08-21 23:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335788000,"timestamp_ms":1787335788000,"timestamp_seconds":1787335788,"priority":1,"record_length":96,"hex_timestamp":"000001a02583c5e0"} 
[2026-08-21 23:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557961472001,"66":27310,"250":206,"85":12544,"24":12,"16":388925042592841728,"45":9195717144815923200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557961472001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:40:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925042592841728,"km_value":388925042592841.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144815923200,"description":"Unknown IO ID 45"} 
[2026-08-21 23:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557961472001,"power":27310,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9195717144815923200}} 
[2026-08-21 23:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":159389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:40:57] local.INFO: GPS data processed {"connection_id":159389,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:40:57] local.INFO: Acknowledgment sent {"connection_id":159389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:41:27] local.INFO: TCP Data received {"connection_id":159389,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02583c9c8012d7f9f8005afba780004001d2c..."} 
[2026-08-21 23:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02583c9c8012d7f9f8005afba780004001d2c..."} 
[2026-08-21 23:41:27] local.INFO: Processing buffer {"connection_id":159389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02583c9c8012d7f9f8005afba780004001d2c..."} 
[2026-08-21 23:41:27] local.INFO: Packet analysis {"connection_id":159389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:41:27] local.INFO: Extracted packet for processing {"connection_id":159389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":95402616,"longitude_deg":76.3338624,"latitude_deg":9.5402616,"altitude":4,"angle":29,"satellites":44,"speed":10,"hex_longitude":"2d7f9f80","hex_latitude":"05afba78","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557961728001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925055477743616,"note":"Value kept but may cause issues"} 
[2026-08-21 23:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196068988536854528,"note":"Value kept but may cause issues"} 
[2026-08-21 23:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787335789000,"timestamp_ms":1787335789000,"timestamp_seconds":1787335789,"priority":1,"record_length":96,"hex_timestamp":"000001a02583c9c8"} 
[2026-08-21 23:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 23:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557961728001,"66":27310,"250":206,"85":12544,"24":10,"16":388925055477743616,"45":9196068988536854528},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557961728001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925055477743616,"km_value":388925055477743.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196068988536854528,"description":"Unknown IO ID 45"} 
[2026-08-21 23:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557961728001,"power":27310,"unknown_250":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9196068988536854528}} 
[2026-08-21 23:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":159389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:41:27] local.INFO: GPS data processed {"connection_id":159389,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:41:27] local.INFO: Acknowledgment sent {"connection_id":159389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:41:50] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:50] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:50] local.INFO: IMEI packet received {"connection_id":159390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":159390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:41:52] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:52] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:52] local.INFO: IMEI packet received {"connection_id":159390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":159390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:41:56] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:56] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:41:56] local.INFO: IMEI packet received {"connection_id":159390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":159390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:41:57] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02583cdb0012d7fa00005afbb480004000f2c..."} 
[2026-08-21 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02583cdb0012d7fa00005afbb480004000f2c..."} 
[2026-08-21 23:41:57] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02583cdb0012d7fa00005afbb480004000f2c..."} 
[2026-08-21 23:41:57] local.INFO: Packet analysis {"connection_id":159390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:41:57] local.INFO: Extracted packet for processing {"connection_id":159390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02583"} 
[2026-08-21 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95402824,"longitude_deg":76.3338752,"latitude_deg":9.5402824,"altitude":4,"angle":15,"satellites":44,"speed":8,"hex_longitude":"2d7fa000","hex_latitude":"05afbb48","is_valid_coordinates":true} 
[2026-08-21 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557961984001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925068362645504,"note":"Value kept but may cause issues"} 
[2026-08-21 23:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726025267200,"note":"Value kept but may cause issues"} 
[2026-08-21 23:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335790000,"timestamp_ms":1787335790000,"timestamp_seconds":1787335790,"priority":1,"record_length":96,"hex_timestamp":"000001a02583cdb0"} 
[2026-08-21 23:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-08-21 23:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:41:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557961984001,"66":27267,"250":206,"85":12544,"24":8,"16":388925068362645504,"45":9196209726025267200},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557961984001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925068362645504,"km_value":388925068362645.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726025267200,"description":"Unknown IO ID 45"} 
[2026-08-21 23:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557961984001,"power":27267,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9196209726025267200}} 
[2026-08-21 23:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":159390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:41:57] local.INFO: GPS data processed {"connection_id":159390,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:41:57] local.INFO: Acknowledgment sent {"connection_id":159390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:42:27] local.INFO: TCP Data received {"connection_id":159390,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a025841fb8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025841fb8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:42:27] local.INFO: Processing buffer {"connection_id":159390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025841fb8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:42:27] local.INFO: Packet analysis {"connection_id":159390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02584"} 
[2026-08-21 23:42:27] local.INFO: Extracted packet for processing {"connection_id":159390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02584"} 
[2026-08-21 23:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557962240001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513675776,"note":"Value kept but may cause issues"} 
[2026-08-21 23:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787335811000,"timestamp_ms":1787335811000,"timestamp_seconds":1787335811,"priority":1,"record_length":96,"hex_timestamp":"000001a025841fb8"} 
[2026-08-21 23:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-08-21 23:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":159390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":159390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":159390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557962240001,"66":27071,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513675776},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557962240001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:42:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513675776,"description":"Unknown IO ID 45"} 
[2026-08-21 23:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557962240001,"power":27071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513675776}} 
[2026-08-21 23:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":159390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:42:27] local.INFO: GPS data processed {"connection_id":159390,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:42:27] local.INFO: Acknowledgment sent {"connection_id":159390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:42:55] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:42:55] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:42:55] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:42:55] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:42:55] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:42:55] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:43:01] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:01] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:01] local.INFO: IMEI packet received {"connection_id":161978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":161978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:43:01] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0258471c0012d7fa00005afbc080004000f24..."} 
[2026-08-21 23:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258471c0012d7fa00005afbc080004000f24..."} 
[2026-08-21 23:43:01] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258471c0012d7fa00005afbc080004000f24..."} 
[2026-08-21 23:43:01] local.INFO: Packet analysis {"connection_id":161978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02584"} 
[2026-08-21 23:43:01] local.INFO: Extracted packet for processing {"connection_id":161978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02584"} 
[2026-08-21 23:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":36,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557967616001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787335832000,"timestamp_ms":1787335832000,"timestamp_seconds":1787335832,"priority":1,"record_length":96,"hex_timestamp":"000001a0258471c0"} 
[2026-08-21 23:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:43: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-08-21 23: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 23:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557967616001,"66":27071,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557967616001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:43:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557967616001,"power":27071,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":161978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:43:01] local.INFO: GPS data processed {"connection_id":161978,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:43:01] local.INFO: Acknowledgment sent {"connection_id":161978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:43:06] local.INFO: TCP Data received {"connection_id":161978,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a02584c3c8012d7fa00005afbc080004000f2b..."} 
[2026-08-21 23:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02584c3c8012d7fa00005afbc080004000f2b..."} 
[2026-08-21 23:43:06] local.INFO: Processing buffer {"connection_id":161978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02584c3c8012d7fa00005afbc080004000f2b..."} 
[2026-08-21 23:43:06] local.INFO: Packet analysis {"connection_id":161978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02584"} 
[2026-08-21 23:43:06] local.INFO: Extracted packet for processing {"connection_id":161978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02584"} 
[2026-08-21 23:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":43,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557972992001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787335853000,"timestamp_ms":1787335853000,"timestamp_seconds":1787335853,"priority":1,"record_length":96,"hex_timestamp":"000001a02584c3c8"} 
[2026-08-21 23:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-08-21 23:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557972992001,"66":27050,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557972992001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:43:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557972992001,"power":27050,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":161978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:43:06] local.INFO: GPS data processed {"connection_id":161978,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:43:06] local.INFO: Acknowledgment sent {"connection_id":161978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:43:51] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:51] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:51] local.INFO: IMEI packet received {"connection_id":160586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":160586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:43:56] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:56] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:43:56] local.INFO: IMEI packet received {"connection_id":160586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":160586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:43:57] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0258515d0012d7fa00005afbc080004000f2c..."} 
[2026-08-21 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258515d0012d7fa00005afbc080004000f2c..."} 
[2026-08-21 23:43:57] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258515d0012d7fa00005afbc080004000f2c..."} 
[2026-08-21 23:43:57] local.INFO: Packet analysis {"connection_id":160586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02585"} 
[2026-08-21 23:43:57] local.INFO: Extracted packet for processing {"connection_id":160586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02585"} 
[2026-08-21 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":44,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557978368001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335874000,"timestamp_ms":1787335874000,"timestamp_seconds":1787335874,"priority":1,"record_length":96,"hex_timestamp":"000001a0258515d0"} 
[2026-08-21 23:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-08-21 23:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:43:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557978368001,"66":27213,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557978368001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:43:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557978368001,"power":27213,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":160586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:43:57] local.INFO: GPS data processed {"connection_id":160586,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:43:57] local.INFO: Acknowledgment sent {"connection_id":160586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:44:27] local.INFO: TCP Data received {"connection_id":160586,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0258567d8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160586,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258567d8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:44:27] local.INFO: Processing buffer {"connection_id":160586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258567d8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:44:27] local.INFO: Packet analysis {"connection_id":160586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02585"} 
[2026-08-21 23:44:27] local.INFO: Extracted packet for processing {"connection_id":160586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02585"} 
[2026-08-21 23:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557983744001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787335895000,"timestamp_ms":1787335895000,"timestamp_seconds":1787335895,"priority":1,"record_length":96,"hex_timestamp":"000001a0258567d8"} 
[2026-08-21 23:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557983744001,"66":27213,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557983744001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:44:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557983744001,"power":27213,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":160586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:44:27] local.INFO: GPS data processed {"connection_id":160586,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:44:27] local.INFO: Acknowledgment sent {"connection_id":160586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:44:52] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:44:52] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:44:52] local.INFO: IMEI packet received {"connection_id":159391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":159391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:44:56] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:44:56] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:44:56] local.INFO: IMEI packet received {"connection_id":159391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":159391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:44:57] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a02585b9e0012d7fa00005afbc080004000f28..."} 
[2026-08-21 23:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02585b9e0012d7fa00005afbc080004000f28..."} 
[2026-08-21 23:44:57] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02585b9e0012d7fa00005afbc080004000f28..."} 
[2026-08-21 23:44:57] local.INFO: Packet analysis {"connection_id":159391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02585"} 
[2026-08-21 23:44:57] local.INFO: Extracted packet for processing {"connection_id":159391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02585"} 
[2026-08-21 23:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":40,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557989120001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787335916000,"timestamp_ms":1787335916000,"timestamp_seconds":1787335916,"priority":1,"record_length":96,"hex_timestamp":"000001a02585b9e0"} 
[2026-08-21 23:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23: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-08-21 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-08-21 23:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557989120001,"66":27321,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557989120001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:44:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557989120001,"power":27321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":159391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:44:57] local.INFO: GPS data processed {"connection_id":159391,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:44:57] local.INFO: Acknowledgment sent {"connection_id":159391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:45:27] local.INFO: TCP Data received {"connection_id":159391,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025860be8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025860be8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:45:28] local.INFO: Processing buffer {"connection_id":159391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025860be8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:45:28] local.INFO: Packet analysis {"connection_id":159391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02586"} 
[2026-08-21 23:45:28] local.INFO: Extracted packet for processing {"connection_id":159391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02586"} 
[2026-08-21 23:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557994496001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787335937000,"timestamp_ms":1787335937000,"timestamp_seconds":1787335937,"priority":1,"record_length":96,"hex_timestamp":"000001a025860be8"} 
[2026-08-21 23:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:45: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-08-21 23:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-08-21 23:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557994496001,"66":27343,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557994496001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:45:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557994496001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":159391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:45:28] local.INFO: GPS data processed {"connection_id":159391,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:45:28] local.INFO: Acknowledgment sent {"connection_id":159391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:45:51] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:45:51] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:45:51] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:45:57] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:45:57] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:45:57] local.INFO: IMEI packet received {"connection_id":161979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":161979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:45:58] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025865df0012d7fa00005afbc080004000f2a..."} 
[2026-08-21 23:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025865df0012d7fa00005afbc080004000f2a..."} 
[2026-08-21 23:45:58] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025865df0012d7fa00005afbc080004000f2a..."} 
[2026-08-21 23:45:58] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02586"} 
[2026-08-21 23:45:58] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02586"} 
[2026-08-21 23:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":42,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457557999872001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787335958000,"timestamp_ms":1787335958000,"timestamp_seconds":1787335958,"priority":1,"record_length":96,"hex_timestamp":"000001a025865df0"} 
[2026-08-21 23:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457557999872001,"66":27365,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457557999872001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:45:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457557999872001,"power":27365,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:45:58] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:45:58] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:46:30] local.INFO: TCP Data received {"connection_id":161979,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a02586aff8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a02586aff8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:46:30] local.INFO: Processing buffer {"connection_id":161979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a02586aff8012d7fa00005afbc080004000f29..."} 
[2026-08-21 23:46:30] local.INFO: Packet analysis {"connection_id":161979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02586"} 
[2026-08-21 23:46:30] local.INFO: Extracted packet for processing {"connection_id":161979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02586"} 
[2026-08-21 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":41,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558005248001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787335979000,"timestamp_ms":1787335979000,"timestamp_seconds":1787335979,"priority":1,"record_length":96,"hex_timestamp":"000001a02586aff8"} 
[2026-08-21 23:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-08-21 23:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558005248001,"66":27343,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558005248001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:46:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558005248001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":161979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:46:30] local.INFO: GPS data processed {"connection_id":161979,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:46:30] local.INFO: Acknowledgment sent {"connection_id":161979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:46:50] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:46:50] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:46:50] local.INFO: IMEI packet received {"connection_id":159392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":159392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:46:56] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:46:56] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:46:56] local.INFO: IMEI packet received {"connection_id":159392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":159392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:46:57] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025870200012d7fa00005afbc080004000f2c..."} 
[2026-08-21 23:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025870200012d7fa00005afbc080004000f2c..."} 
[2026-08-21 23:46:57] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025870200012d7fa00005afbc080004000f2c..."} 
[2026-08-21 23:46:57] local.INFO: Packet analysis {"connection_id":159392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:46:57] local.INFO: Extracted packet for processing {"connection_id":159392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95403016,"longitude_deg":76.3338752,"latitude_deg":9.5403016,"altitude":4,"angle":15,"satellites":44,"speed":0,"hex_longitude":"2d7fa000","hex_latitude":"05afbc08","is_valid_coordinates":true} 
[2026-08-21 23:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558010624001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925076952580096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336000000,"timestamp_ms":1787336000000,"timestamp_seconds":1787336000,"priority":1,"record_length":96,"hex_timestamp":"000001a025870200"} 
[2026-08-21 23:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558010624001,"66":27343,"250":206,"85":12544,"24":0,"16":388925076952580096,"45":9196350463513724928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558010624001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:46:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925076952580096,"km_value":388925076952580.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558010624001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":159392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:46:57] local.INFO: GPS data processed {"connection_id":159392,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:46:57] local.INFO: Acknowledgment sent {"connection_id":159392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:47:28] local.INFO: TCP Data received {"connection_id":159392,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025874850012d7fa20005afbfd8000b00032c..."} 
[2026-08-21 23:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025874850012d7fa20005afbfd8000b00032c..."} 
[2026-08-21 23:47:28] local.INFO: Processing buffer {"connection_id":159392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025874850012d7fa20005afbfd8000b00032c..."} 
[2026-08-21 23:47:28] local.INFO: Packet analysis {"connection_id":159392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:47:28] local.INFO: Extracted packet for processing {"connection_id":159392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95403992,"longitude_deg":76.3339264,"latitude_deg":9.5403992,"altitude":11,"angle":3,"satellites":44,"speed":12,"hex_longitude":"2d7fa200","hex_latitude":"05afbfd8","is_valid_coordinates":true} 
[2026-08-21 23:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558016000001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925132787154944,"note":"Value kept but may cause issues"} 
[2026-08-21 23:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513724928,"note":"Value kept but may cause issues"} 
[2026-08-21 23:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336018000,"timestamp_ms":1787336018000,"timestamp_seconds":1787336018,"priority":1,"record_length":96,"hex_timestamp":"000001a025874850"} 
[2026-08-21 23:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:47: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-08-21 23:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-08-21 23:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558016000001,"66":28006,"250":206,"85":12544,"24":12,"16":388925132787154944,"45":9196350463513724928},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558016000001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:47:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925132787154944,"km_value":388925132787154.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513724928,"description":"Unknown IO ID 45"} 
[2026-08-21 23:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558016000001,"power":28006,"unknown_250":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9196350463513724928}} 
[2026-08-21 23:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":159392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:47:28] local.INFO: GPS data processed {"connection_id":159392,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:47:28] local.INFO: Acknowledgment sent {"connection_id":159392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:47:50] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:47:50] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:47:50] local.INFO: IMEI packet received {"connection_id":160587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":160587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:47:56] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:47:56] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:47:56] local.INFO: IMEI packet received {"connection_id":160587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":160587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:47:57] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:47:57] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:47:57] local.INFO: Packet analysis {"connection_id":160587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:47:57] local.INFO: Extracted packet for processing {"connection_id":160587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95407432,"longitude_deg":76.333952,"latitude_deg":9.5407432,"altitude":10,"angle":8,"satellites":43,"speed":19,"hex_longitude":"2d7fa300","hex_latitude":"05afcd48","is_valid_coordinates":true} 
[2026-08-21 23:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558020608001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467396096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336026000,"timestamp_ms":1787336026000,"timestamp_seconds":1787336026,"priority":1,"record_length":96,"hex_timestamp":"000001a025876790"} 
[2026-08-21 23:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23: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-08-21 23: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-08-21 23: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-08-21 23:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558020608001,"66":27908,"250":206,"85":12544,"24":19,"16":388925300290879488,"45":9196913413467396096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558020608001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:47:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467396096,"description":"Unknown IO ID 45"} 
[2026-08-21 23:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558020608001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9196913413467396096}} 
[2026-08-21 23:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":160587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:47:57] local.INFO: GPS data processed {"connection_id":160587,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:47:57] local.INFO: Acknowledgment sent {"connection_id":160587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:48:28] local.INFO: TCP Data received {"connection_id":160587,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:48:28] local.INFO: Processing buffer {"connection_id":160587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:48:28] local.INFO: Packet analysis {"connection_id":160587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:48:28] local.INFO: Extracted packet for processing {"connection_id":160587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95407432,"longitude_deg":76.333952,"latitude_deg":9.5407432,"altitude":10,"angle":8,"satellites":43,"speed":19,"hex_longitude":"2d7fa300","hex_latitude":"05afcd48","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558020608001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467396096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336026000,"timestamp_ms":1787336026000,"timestamp_seconds":1787336026,"priority":1,"record_length":96,"hex_timestamp":"000001a025876790"} 
[2026-08-21 23:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23: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-08-21 23: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":102,"data_length":795,"current_offset":136} 
[2026-08-21 23:48:28] 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-08-21 23:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558020608001,"66":27908,"250":206,"85":12544,"24":19,"16":388925300290879488,"45":9196913413467396096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558020608001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:48:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467396096,"description":"Unknown IO ID 45"} 
[2026-08-21 23:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558020608001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9196913413467396096}} 
[2026-08-21 23:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":160587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:48:28] local.INFO: GPS data processed {"connection_id":160587,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:48:28] local.INFO: Acknowledgment sent {"connection_id":160587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:48:56] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:48:56] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:48:56] local.INFO: IMEI packet received {"connection_id":159393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":159393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:49:00] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:00] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:00] local.INFO: IMEI packet received {"connection_id":159393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":159393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:49:01] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:49:01] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:49:01] local.INFO: Packet analysis {"connection_id":159393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:49:01] local.INFO: Extracted packet for processing {"connection_id":159393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95407432,"longitude_deg":76.333952,"latitude_deg":9.5407432,"altitude":10,"angle":8,"satellites":43,"speed":19,"hex_longitude":"2d7fa300","hex_latitude":"05afcd48","is_valid_coordinates":true} 
[2026-08-21 23:49: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-08-21 23:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558020608001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467396096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787336026000,"timestamp_ms":1787336026000,"timestamp_seconds":1787336026,"priority":1,"record_length":96,"hex_timestamp":"000001a025876790"} 
[2026-08-21 23:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 23:49:01] 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-08-21 23:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":159393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558020608001,"66":27908,"250":206,"85":12544,"24":19,"16":388925300290879488,"45":9196913413467396096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558020608001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467396096,"description":"Unknown IO ID 45"} 
[2026-08-21 23:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558020608001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9196913413467396096}} 
[2026-08-21 23:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":159393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:49:01] local.INFO: GPS data processed {"connection_id":159393,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:49:01] local.INFO: Acknowledgment sent {"connection_id":159393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:49:06] local.INFO: TCP Data received {"connection_id":159393,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:49:06] local.INFO: Processing buffer {"connection_id":159393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025876790012d7fa30005afcd48000a00082b..."} 
[2026-08-21 23:49:06] local.INFO: Packet analysis {"connection_id":159393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:49:06] local.INFO: Extracted packet for processing {"connection_id":159393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02587"} 
[2026-08-21 23:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763339520,"raw_latitude":95407432,"longitude_deg":76.333952,"latitude_deg":9.5407432,"altitude":10,"angle":8,"satellites":43,"speed":19,"hex_longitude":"2d7fa300","hex_latitude":"05afcd48","is_valid_coordinates":true} 
[2026-08-21 23:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558020608001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467396096,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787336026000,"timestamp_ms":1787336026000,"timestamp_seconds":1787336026,"priority":1,"record_length":96,"hex_timestamp":"000001a025876790"} 
[2026-08-21 23:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-08-21 23: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-08-21 23:49:06] 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-08-21 23:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":159393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":159393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:49: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-08-21 23:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558020608001,"66":27908,"250":206,"85":12544,"24":19,"16":388925300290879488,"45":9196913413467396096},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-08-21 23:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558020608001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:49:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-08-21 23:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467396096,"description":"Unknown IO ID 45"} 
[2026-08-21 23:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558020608001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":19,"odometer":null,"unknown_45":9196913413467396096}} 
[2026-08-21 23:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":159393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:49:06] local.INFO: GPS data processed {"connection_id":159393,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:49:06] local.INFO: Acknowledgment sent {"connection_id":159393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:49:51] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:51] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:51] local.INFO: IMEI packet received {"connection_id":159394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":159394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:49:56] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:56] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:49:56] local.INFO: IMEI packet received {"connection_id":159394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":159394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:49:57] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:49:57] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:49:57] local.INFO: Packet analysis {"connection_id":159394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:49:57] local.INFO: Extracted packet for processing {"connection_id":159394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:49:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":159394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:49:57] local.INFO: GPS data processed {"connection_id":159394,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:49:57] local.INFO: Acknowledgment sent {"connection_id":159394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:50:28] local.INFO: TCP Data received {"connection_id":159394,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:50:28] local.INFO: Processing buffer {"connection_id":159394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:50:28] local.INFO: Packet analysis {"connection_id":159394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:50:28] local.INFO: Extracted packet for processing {"connection_id":159394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:50:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":159394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:50:28] local.INFO: GPS data processed {"connection_id":159394,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:50:28] local.INFO: Acknowledgment sent {"connection_id":159394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:50:53] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:50:53] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:50:53] local.INFO: IMEI packet received {"connection_id":160588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":160588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:50:56] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:50:56] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:50:56] local.INFO: IMEI packet received {"connection_id":160588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":160588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:50:56] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:50:56] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:50:56] local.INFO: Packet analysis {"connection_id":160588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:50:56] local.INFO: Extracted packet for processing {"connection_id":160588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:50: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-08-21 23:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:50:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":160588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:50:56] local.INFO: GPS data processed {"connection_id":160588,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:50:56] local.INFO: Acknowledgment sent {"connection_id":160588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:51:02] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:02] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:02] local.INFO: Packet analysis {"connection_id":160588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:51:02] local.INFO: Extracted packet for processing {"connection_id":160588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":160588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:51:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":160588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:51:02] local.INFO: GPS data processed {"connection_id":160588,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:51:02] local.INFO: Acknowledgment sent {"connection_id":160588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:51:34] local.INFO: TCP Data received {"connection_id":160588,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:34] local.INFO: Processing buffer {"connection_id":160588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:34] local.INFO: Packet analysis {"connection_id":160588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:51:34] local.INFO: Extracted packet for processing {"connection_id":160588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:51:34] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:51:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:51:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":160588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":160588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:51:34] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":160588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:51:34] local.INFO: GPS data processed {"connection_id":160588,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:51:34] local.INFO: Acknowledgment sent {"connection_id":160588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:51:52] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:51:52] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:51:52] local.INFO: IMEI packet received {"connection_id":160589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":160589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:51:56] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:51:56] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:51:56] local.INFO: IMEI packet received {"connection_id":160589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":160589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:51:58] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:58] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:51:58] local.INFO: Packet analysis {"connection_id":160589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:51:58] local.INFO: Extracted packet for processing {"connection_id":160589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:51:58] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:51: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-08-21 23:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":160589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:51:58] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:51:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":160589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:51:58] local.INFO: GPS data processed {"connection_id":160589,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:51:58] local.INFO: Acknowledgment sent {"connection_id":160589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:52:29] local.INFO: TCP Data received {"connection_id":160589,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:52:29] local.INFO: Processing buffer {"connection_id":160589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:52:29] local.INFO: Packet analysis {"connection_id":160589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:52:29] local.INFO: Extracted packet for processing {"connection_id":160589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":160589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":160589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:52:29] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":160589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:52:29] local.INFO: GPS data processed {"connection_id":160589,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:52:29] local.INFO: Acknowledgment sent {"connection_id":160589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:52:50] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:52:50] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:52:50] local.INFO: IMEI packet received {"connection_id":161980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":161980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:52:56] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:52:56] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:52:56] local.INFO: IMEI packet received {"connection_id":161980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":161980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:52:57] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:52:57] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:52:57] local.INFO: Packet analysis {"connection_id":161980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:52:57] local.INFO: Extracted packet for processing {"connection_id":161980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:52:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":161980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:52:57] local.INFO: GPS data processed {"connection_id":161980,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:52:57] local.INFO: Acknowledgment sent {"connection_id":161980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:53:30] local.INFO: TCP Data received {"connection_id":161980,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:53:30] local.INFO: Processing buffer {"connection_id":161980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:53:30] local.INFO: Packet analysis {"connection_id":161980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:53:30] local.INFO: Extracted packet for processing {"connection_id":161980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":161980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":161980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":161980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:53:30] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":161980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:53:30] local.INFO: GPS data processed {"connection_id":161980,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:53:30] local.INFO: Acknowledgment sent {"connection_id":161980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:53:56] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:53:56] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:53:56] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:54:01] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:01] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:01] local.INFO: IMEI packet received {"connection_id":161981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":161981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:54:01] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:54:01] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:54:01] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:54:01] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:54: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-08-21 23:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:54:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:54:01] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:54:01] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:54:07] local.INFO: TCP Data received {"connection_id":161981,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:54:07] local.INFO: Processing buffer {"connection_id":161981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0258c0728012d7fadc005afe0780010000827..."} 
[2026-08-21 23:54:07] local.INFO: Packet analysis {"connection_id":161981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:54:07] local.INFO: Extracted packet for processing {"connection_id":161981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0258c"} 
[2026-08-21 23:54:07] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":16,"angle":8,"satellites":39,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558022656001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197194888444987392,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1787336329000,"timestamp_ms":1787336329000,"timestamp_seconds":1787336329,"priority":1,"record_length":96,"hex_timestamp":"000001a0258c0728"} 
[2026-08-21 23:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-08-21 23:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":161981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":161981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558022656001,"66":26321,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9197194888444987392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558022656001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:54:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:54:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197194888444987392,"description":"Unknown IO ID 45"} 
[2026-08-21 23:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558022656001,"power":26321,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197194888444987392}} 
[2026-08-21 23:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":161981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:54:07] local.INFO: GPS data processed {"connection_id":161981,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:54:07] local.INFO: Acknowledgment sent {"connection_id":161981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:54:51] local.INFO: TCP Data received {"connection_id":160590,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:51] local.INFO: Processing buffer {"connection_id":160590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:51] local.INFO: IMEI packet received {"connection_id":160590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":160590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:54:56] local.INFO: TCP Data received {"connection_id":160590,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:56] local.INFO: Processing buffer {"connection_id":160590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:54:56] local.INFO: IMEI packet received {"connection_id":160590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":160590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:54:57] local.INFO: TCP Data received {"connection_id":160590,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:54:57] local.INFO: Processing buffer {"connection_id":160590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:54:57] local.INFO: Packet analysis {"connection_id":160590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:54:57] local.INFO: Extracted packet for processing {"connection_id":160590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":160590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":160590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":160590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:54:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":160590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:54:57] local.INFO: GPS data processed {"connection_id":160590,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:54:57] local.INFO: Acknowledgment sent {"connection_id":160590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:55:28] local.INFO: TCP Data received {"connection_id":160590,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:55:28] local.INFO: Processing buffer {"connection_id":160590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:55:28] local.INFO: Packet analysis {"connection_id":160590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:55:28] local.INFO: Extracted packet for processing {"connection_id":160590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":160590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":160590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":160590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:55:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":160590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:55:28] local.INFO: GPS data processed {"connection_id":160590,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:55:28] local.INFO: Acknowledgment sent {"connection_id":160590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:55:52] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:55:52] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:55:52] local.INFO: IMEI packet received {"connection_id":159395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":159395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:55:56] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:55:56] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:55:56] local.INFO: IMEI packet received {"connection_id":159395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":159395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:55:57] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:55:57] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:55:57] local.INFO: Packet analysis {"connection_id":159395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:55:57] local.INFO: Extracted packet for processing {"connection_id":159395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:55:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":159395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":159395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":159395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:55:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":159395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:55:57] local.INFO: GPS data processed {"connection_id":159395,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:55:57] local.INFO: Acknowledgment sent {"connection_id":159395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:56:28] local.INFO: TCP Data received {"connection_id":159395,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:56:28] local.INFO: Processing buffer {"connection_id":159395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:56:28] local.INFO: Packet analysis {"connection_id":159395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:56:28] local.INFO: Extracted packet for processing {"connection_id":159395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:56:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":159395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:56:28] local.INFO: GPS data processed {"connection_id":159395,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:56:28] local.INFO: Acknowledgment sent {"connection_id":159395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:56:51] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:56:51] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:56:51] local.INFO: IMEI packet received {"connection_id":160591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":160591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:56:56] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:56:56] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:56:56] local.INFO: IMEI packet received {"connection_id":160591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":160591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:56:56] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:56:56] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:56:56] local.INFO: Packet analysis {"connection_id":160591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:56:56] local.INFO: Extracted packet for processing {"connection_id":160591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23: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-08-21 23:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23: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-08-21 23:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":160591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":160591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":160591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:56:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":160591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:56:56] local.INFO: GPS data processed {"connection_id":160591,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:56:56] local.INFO: Acknowledgment sent {"connection_id":160591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:57:27] local.INFO: TCP Data received {"connection_id":160591,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":160591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:57:27] local.INFO: Processing buffer {"connection_id":160591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:57:27] local.INFO: Packet analysis {"connection_id":160591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:57:27] local.INFO: Extracted packet for processing {"connection_id":160591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:57: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-08-21 23:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":160591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":160591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":160591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:57:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":160591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:57:28] local.INFO: GPS data processed {"connection_id":160591,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:57:28] local.INFO: Acknowledgment sent {"connection_id":160591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:57:50] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:57:50] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:57:50] local.INFO: IMEI packet received {"connection_id":159664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":159664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:57:56] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:57:56] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:57:56] local.INFO: IMEI packet received {"connection_id":159664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":159664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:57:56] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:57:56] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:57:56] local.INFO: Packet analysis {"connection_id":159664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:57:56] local.INFO: Extracted packet for processing {"connection_id":159664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":159664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:57:56] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":159664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:57:57] local.INFO: GPS data processed {"connection_id":159664,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:57:57] local.INFO: Acknowledgment sent {"connection_id":159664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:58:28] local.INFO: TCP Data received {"connection_id":159664,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":159664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:58:28] local.INFO: Processing buffer {"connection_id":159664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:58:28] local.INFO: Packet analysis {"connection_id":159664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:58:28] local.INFO: Extracted packet for processing {"connection_id":159664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":159664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":159664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:58:28] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":159664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:58:28] local.INFO: GPS data processed {"connection_id":159664,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:58:28] local.INFO: Acknowledgment sent {"connection_id":159664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:58:56] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:58:56] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:58:56] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:59:01] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:01] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:01] local.INFO: IMEI packet received {"connection_id":161982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":161982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:59:01] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:59:01] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:59:01] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:59:01] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:59:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:59:01] local.INFO: GPS data processed {"connection_id":161982,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:59:01] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:59:06] local.INFO: TCP Data received {"connection_id":161982,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:59:06] local.INFO: Processing buffer {"connection_id":161982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a025909ef0012d7fadc005afe0780013000824..."} 
[2026-08-21 23:59:06] local.INFO: Packet analysis {"connection_id":161982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:59:06] local.INFO: Extracted packet for processing {"connection_id":161982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02590"} 
[2026-08-21 23:59:06] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":36,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558100224001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1787336630000,"timestamp_ms":1787336630000,"timestamp_seconds":1787336630,"priority":1,"record_length":96,"hex_timestamp":"000001a025909ef0"} 
[2026-08-21 23:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24064,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-08-21 23:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2589,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":161982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":161982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":161982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:59: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-08-21 23:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558100224001,"66":26082,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558100224001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:59:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:59:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558100224001,"power":26082,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":161982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:59:06] local.INFO: GPS data processed {"connection_id":161982,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:59:06] local.INFO: Acknowledgment sent {"connection_id":161982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-08-21 23:59:50] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:50] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:50] local.INFO: IMEI packet received {"connection_id":161983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-08-21 23:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":161983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-08-21 23:59:56] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:56] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-08-21 23:59:56] local.INFO: IMEI packet received {"connection_id":161983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-08-21 23:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":161983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-08-21 23:59:57] local.INFO: TCP Data received {"connection_id":161983,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-21 23:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":161983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-21 23:59:57] local.INFO: Processing buffer {"connection_id":161983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0259536b8012d7fadc005afe0780013000825..."} 
[2026-08-21 23:59:57] local.INFO: Packet analysis {"connection_id":161983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-21 23:59:57] local.INFO: Extracted packet for processing {"connection_id":161983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a02595"} 
[2026-08-21 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763342272,"raw_latitude":95412344,"longitude_deg":76.3342272,"latitude_deg":9.5412344,"altitude":19,"angle":8,"satellites":37,"speed":0,"hex_longitude":"2d7fadc0","hex_latitude":"05afe078","is_valid_coordinates":true} 
[2026-08-21 23:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-08-21 23:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":457558177280001,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":388925300290879488,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200220744445884416,"note":"Value kept but may cause issues"} 
[2026-08-21 23:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-08-21 23:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1787336931000,"timestamp_ms":1787336931000,"timestamp_seconds":1787336931,"priority":1,"record_length":96,"hex_timestamp":"000001a0259536b8"} 
[2026-08-21 23:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-08-21 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-08-21 23:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-08-21 23:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-08-21 23:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-08-21 23:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-08-21 23:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-08-21 23:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":161983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-08-21 23:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":161983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-08-21 23:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-08-21 23:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-08-21 23:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-08-21 23:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":457558177280001,"66":25973,"33":206,"85":12544,"24":0,"16":388925300290879488,"45":9200220744445884416},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-08-21 23:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-08-21 23:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-08-21 23:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":457558177280001,"description":"Unknown IO ID 0"} 
[2026-08-21 23:59:57] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-08-21 23:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-08-21 23:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":388925300290879488,"km_value":388925300290879.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-08-21 23:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200220744445884416,"description":"Unknown IO ID 45"} 
[2026-08-21 23:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":457558177280001,"power":25973,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200220744445884416}} 
[2026-08-21 23:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":161983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":678422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-08-21 23:59:57] local.INFO: GPS data processed {"connection_id":161983,"processed":1,"errors":0,"total":1} 
[2026-08-21 23:59:57] local.INFO: Acknowledgment sent {"connection_id":161983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
